Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dcstruct.py127 index = CalcNumElements(fmt[:i]) variable in Struct.CStruct
128 _nested[index] = substructs[laststructindex]
130 _format += "%ds" % len(_nested[index])
133 index = CalcNumElements(fmt[:i]) variable in Struct.CStruct
134 _asciiz.add(index)
167 for index, value in enumerate(values):
168 if isinstance(value, str) and index in self._nested:
169 values[index] = self._nested[index](value)
206 return self._fieldnames.index(attr)
249 def FieldDesc(index, name, value): argument
[all …]
Dgenetlink.py80 datalen, index, data = data[:2], data[2:4], data[4:]
Dping6_test.py651 othernetid = self.NETIDS[(self.NETIDS.index(netid) + 1)