Home
last modified time | relevance | path

Searched refs:index (Results 1 – 3 of 3) sorted by relevance

/kernel/tests/net/test/
Dcstruct.py116 index = CalcNumElements(fmt[:i]) variable in Struct.CStruct
117 _nested[index] = substructs[laststructindex]
119 _format += "%ds" % len(_nested[index])
122 index = CalcNumElements(fmt[:i]) variable in Struct.CStruct
123 _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 …]
Dsrcaddr_selection_test.py94 self.assertEquals(expected_ifindex, ifa_msg.index)
Dping6_test.py634 othernetid = self.NETIDS[(self.NETIDS.index(netid) + 1)