Home
last modified time | relevance | path

Searched refs:value (Results 1 – 16 of 16) sorted by relevance

/kernel/tests/net/test/
Dcstruct.py164 for index, value in enumerate(values):
165 if isinstance(value, str) and index in self._nested:
166 values[index] = self._nested[index](value)
211 def __setattr__(self, name, value): argument
214 self._values[self._FieldIndex(name)] = value
235 def _MaybePackStruct(value): argument
236 if hasattr(value, "__metaclass__"):# and value.__metaclass__ == Meta:
237 return value.Pack()
239 return value
246 def FieldDesc(index, name, value): argument
[all …]
Dbpf_test.py50 nextKey = GetNextKey(map_fd, key).value
51 value = LookupMap(map_fd, nextKey)
52 print repr(nextKey) + " : " + repr(value.value)
169 key, value = 1, 1
172 UpdateMap(self.map_fd, key, value)
173 self.assertEquals(value, LookupMap(self.map_fd, key).value)
177 def CheckAllMapEntry(self, nonexistent_key, totalEntries, value): argument
186 key = result.value
188 self.assertEquals(value, LookupMap(self.map_fd, key).value)
194 value = 1024
[all …]
Dnetlink.py82 def _NlAttrStr(self, nla_type, value): argument
83 value = value + "\x00"
84 return self._NlAttr(nla_type, value.encode("UTF-8"))
86 def _NlAttrU32(self, nla_type, value): argument
87 return self._NlAttr(nla_type, struct.pack("=I", value))
89 def _GetConstantName(self, module, value, prefix): argument
96 name.isupper() and getattr(thismodule, name) == value):
98 return value
Dsrcaddr_selection_test.py59 def SetIPv6Sysctl(self, ifname, sysctl, value): argument
60 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/%s" % (ifname, sysctl), value)
62 def SetDAD(self, ifname, value): argument
63 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/accept_dad" % ifname, value)
64 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/dad_transmits" % ifname, value)
66 def SetOptimisticDAD(self, ifname, value): argument
67 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/optimistic_dad" % ifname, value)
69 def SetUseTempaddrs(self, ifname, value): argument
70 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/use_tempaddr" % ifname, value)
72 def SetUseOptimistic(self, ifname, value): argument
[all …]
Dpf_key.py142 def _GetConstantName(value, prefix): argument
151 name.isupper() and getattr(thismodule, name) == value):
153 return value
156 def _GetMultiConstantName(value, prefixes): argument
158 name = _GetConstantName(value, prefix)
Dresilient_rs_test.py129 for tunable, value in PROC_SETTINGS:
130 self.SetSysctl(self._PROC_NET_TUNABLE % (iface, tunable), value)
Dmultinetwork_base.py315 def SetMarkReflectSysctls(cls, value): argument
317 cls.SetSysctl(IPV4_MARK_REFLECT_SYSCTL, value)
318 cls.SetSysctl(IPV6_MARK_REFLECT_SYSCTL, value)
352 def SetSysctl(cls, sysctl, value): argument
358 open(sysctl, "w").write(str(value) + "\n")
361 def SetIPv6SysctlOnAllIfaces(cls, sysctl, value): argument
365 cls.SetSysctl(name, value)
369 for sysctl, value in cls.saved_sysctls.iteritems():
371 open(sysctl, "w").write(value)
Dtcp_repair_test.py270 self.assertEquals(buf.value, 0)
275 self.assertEquals(buf.value, len(TEST_RECV_PAYLOAD))
284 self.assertEquals(buf.value, 0)
291 self.assertEquals(buf.value, len(TEST_SEND_PAYLOAD))
300 self.assertEquals(buf.value, len(TEST_SEND_PAYLOAD))
307 self.assertEquals(buf.value, 0)
Dbpf.py193 def UpdateMap(map_fd, key, value, flags=0): argument
194 c_value = ctypes.c_uint32(value)
Dneighbour_test.py105 def assertNeighbourAttr(self, addr, name, value): argument
106 self.assertEquals(value, self.GetNdEntry(addr)[1][name])
Dcsocket.py157 data = struct.pack("=I", data.value)
348 alen = alen.value
Dxfrm.py336 def _GetConstantName(self, value, prefix): argument
337 return super(Xfrm, self)._GetConstantName(__name__, value, prefix)
Diproute.py252 def _GetConstantName(self, value, prefix): argument
253 return super(IPRoute, self)._GetConstantName(__name__, value, prefix)
Dmultinetwork_test.py419 def _SetTCPMarkAcceptSysctl(self, value): argument
420 self.SetSysctl(TCP_MARK_ACCEPT_SYSCTL, value)
/kernel/build/
DMETADATA8 value: "https://source.android.com/setup/build/building-kernels"
12 value: "https://android.googlesource.com/kernel/build"
/kernel/configs/
DREADME.md34 value. The platform owner may also have a choice between several config
101 configuration value, either that kernel configuration value must already be