Searched refs:index (Results 1 – 3 of 3) sorted by relevance
116 index = CalcNumElements(fmt[:i]) variable in Struct.CStruct117 _nested[index] = substructs[laststructindex]119 _format += "%ds" % len(_nested[index])122 index = CalcNumElements(fmt[:i]) variable in Struct.CStruct123 _asciiz.add(index)137 for index, value in enumerate(values):138 if isinstance(value, str) and index in self._nested:139 values[index] = self._nested[index](value)158 return self._fieldnames.index(attr)194 def FieldDesc(index, name, value): argument[all …]
94 self.assertEquals(expected_ifindex, ifa_msg.index)
634 othernetid = self.NETIDS[(self.NETIDS.index(netid) + 1)