Home
last modified time | relevance | path

Searched refs:i (Results 1 – 10 of 10) sorted by relevance

/kernel/tests/net/test/
Dall_tests.sh56 i=0
58 i=$((i + 1))
60 echo "$PREFIX $test ($i/$count)"
Dcstruct.py113 for i in xrange(len(fmt)):
114 if fmt[i] == "S":
116 index = CalcNumElements(fmt[:i])
120 elif fmt[i] == "A":
122 index = CalcNumElements(fmt[:i])
127 _format += fmt[i]
203 FieldDesc(i, n, v) for i, (n, v) in
Dcstruct_test.py54 for i in [a1, a2, a3, b]:
55 self.CheckEquals(i, i)
Dsock_diag.py253 for i, (op, yes, no, arg) in enumerate(instructions):
254 yes = positions[i + yes] - positions[i]
255 no = positions[i + no] - positions[i]
256 instruction = InetDiagBcOp((op, yes, no)).Pack() + args[i]
Dnet_test.py235 for i in xrange(0, len(unformatted), 4):
236 groups.append(unformatted[i:i+4])
250 for i in xrange(0, len(binary), 4):
251 out += "%08X" % struct.unpack("=L", binary[i:i+4])
Dcsocket.py85 version = tuple(int(i) for i in version.split("."))
139 for i, opt in enumerate(optlist):
144 raise TypeError("unknown data type for opt %i: %s" % (i, type(data)))
Dmultinetwork_test.py694 for i in xrange(0, COUNT):
695 prefix = "2001:db8:%x:1100::" % i
699 for i in xrange(0, COUNT):
700 prefix = "2001:db8:%x:1100::" % i
781 for i in xrange(10, 20):
783 self.tuns[i] = self.CreateTunInterface(i)
784 self.SendRA(i)
785 self.tuns[i].close()
787 del self.tuns[i]
Dsock_diag_test.py661 for i in xrange(20):
807 for i in infos:
808 if i not in matches.values():
809 self.fail("Too many sockets in dump, first unexpected: %s" % str(i))
Dbpf_test.py143 for i in xrange(packet_count):
Dping6_test.py223 for i in xrange(0, _ATTEMPTS):