Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 45) sorted by relevance

12

/kernel/tests/net/test/
Dgenetlink.py98 name = self._GetConstantName(__name__, nla_type, "CTRL_ATTR_")
100 if name == "CTRL_ATTR_FAMILY_ID":
102 elif name == "CTRL_ATTR_FAMILY_NAME":
104 elif name in ["CTRL_ATTR_VERSION", "CTRL_ATTR_HDRSIZE", "CTRL_ATTR_MAXATTR"]:
106 elif name == "CTRL_ATTR_OPS":
111 return name, data
113 def GetFamily(self, name): argument
115 data = self._NlAttrStr(CTRL_ATTR_FAMILY_NAME, name)
Dall_tests.py51 for name in test_modules:
52 import_module(name)
53 if hasattr(sys.modules[name], "InjectTests"):
54 sys.modules[name].InjectTests()
Dbuild_rootfs.sh63 name=$OPTARG
76 if [[ -z "${name}" ]]; then
77 name=net_test.rootfs.${arch}.${suite}.`date +%Y%m%d`
130 truncate -s 1G $name
131 mke2fs -F -t ext3 -L ROOT $name
134 sudo mount -o loop -t ext3 $name $mount
148 echo "Debian $suite for $arch filesystem generated at '$name'."
Dtcp_metrics.py67 name = self._GetConstantName(__name__, nla_type, "TCP_METRICS_ATTR_")
69 if name in ["TCP_METRICS_ATTR_ADDR_IPV4", "TCP_METRICS_ATTR_SADDR_IPV4"]:
71 elif name in ["TCP_METRICS_ATTR_ADDR_IPV6", "TCP_METRICS_ATTR_SADDR_IPV6"]:
73 elif name in ["TCP_METRICS_ATTR_AGE"]:
75 elif name in ["TCP_METRICS_ATTR_TW_TSVAL", "TCP_METRICS_ATTR_TW_TS_STAMP"]:
77 elif name == "TCP_METRICS_ATTR_FOPEN_MSS":
79 elif name == "TCP_METRICS_ATTR_FOPEN_COOKIE":
84 return name, data
Dcstruct.py89 def Struct(name, fmt, fieldnames, substructs={}): argument
107 _name = name
208 def __getattr__(self, name): argument
209 return self._values[self._FieldIndex(name)]
211 def __setattr__(self, name, value): argument
214 self._values[self._FieldIndex(name)] = value
216 def offset(self, name): argument
217 if "." in name:
219 return self._offsets[name]
246 def FieldDesc(index, name, value): argument
[all …]
Diproute.py287 name = self._GetConstantName(nla_type, "RTAX_")
289 name = self._GetConstantName(nla_type, "IFLA_INFO_")
291 name = self._GetConstantName(nla_type, "IFLA_VTI_")
293 name = self._GetConstantName(nla_type, "IFA_")
295 name = self._GetConstantName(nla_type, "IFLA_")
297 name = self._GetConstantName(nla_type, "FRA_")
299 name = self._GetConstantName(nla_type, "RTA_")
301 name = self._GetConstantName(nla_type, "NDA_")
304 name = nla_type
306 if name in ["FRA_PRIORITY", "FRA_FWMARK", "FRA_TABLE", "FRA_FWMASK",
[all …]
Dutil.py33 param_test_names = [name for name in dir(cls) if name.startswith("ParamTest")]
Dxfrm_algorithm_test.py100 param_string += "%s_%d_" % (crypt.name, crypt.key_len)
103 param_string += "%s_%d_%d_" % (auth.name, auth.key_len,
107 param_string += "%s_%d_%d_" % (aead.name, aead.key_len,
134 auth_left = (xfrm.XfrmAlgoAuth((auth.name, auth.key_len, auth.trunc_len)),
136 auth_right = (xfrm.XfrmAlgoAuth((auth.name, auth.key_len, auth.trunc_len)),
138 crypt_left = (xfrm.XfrmAlgo((crypt.name, crypt.key_len)),
140 crypt_right = (xfrm.XfrmAlgo((crypt.name, crypt.key_len)),
142 aead_left = (xfrm.XfrmAlgoAead((aead.name, aead.key_len, aead.icv_len)),
144 aead_right = (xfrm.XfrmAlgoAead((aead.name, aead.key_len, aead.icv_len)),
275 name="SocketServer")
Dsock_diag.py124 name = self._GetConstantName(__name__, nla_type, prefix)
127 name = nla_type
129 if name in ["INET_DIAG_SHUTDOWN", "INET_DIAG_TOS", "INET_DIAG_TCLASS",
132 elif name == "INET_DIAG_CONG":
134 elif name == "INET_DIAG_MEMINFO":
136 elif name == "INET_DIAG_INFO":
139 elif name == "INET_DIAG_SKMEMINFO":
141 elif name == "INET_DIAG_MARK":
143 elif name == "INET_DIAG_REQ_BYTECODE":
145 elif name in ["INET_DIAG_LOCALS", "INET_DIAG_PEERS"]:
[all …]
Dparameterization_test.py64 actual = [name for name in dir(self) if name.startswith("testDummyFunc")]
Dpf_key.py149 for name in sorted(dir(thismodule), key=len):
150 if (name.startswith(prefix) and
151 name.isupper() and getattr(thismodule, name) == value):
152 return name
158 name = _GetConstantName(value, prefix)
160 int(name)
163 return name
Dnetlink.py91 for name in dir(thismodule):
92 if name.startswith("INET_DIAG_BC"):
94 if (name.startswith(prefix) and
95 not name.startswith(prefix + "F_") and
96 name.isupper() and getattr(thismodule, name) == value):
97 return name
Dpf_key_test.py77 self.assertTrue(attrs4["XFRMA_ALG_CRYPT"].name.startswith(aes_name))
78 self.assertTrue(attrs6["XFRMA_ALG_CRYPT"].name.startswith(aes_name))
79 self.assertTrue(attrs4["XFRMA_ALG_AUTH"].name.startswith(sha256_name))
80 self.assertTrue(attrs6["XFRMA_ALG_AUTH"].name.startswith(sha256_name))
Dxfrm.py365 name = self._GetConstantName(nla_type, "XFRMA_")
367 if name in ["XFRMA_ALG_CRYPT", "XFRMA_ALG_AUTH"]:
369 elif name == "XFRMA_ALG_AUTH_TRUNC":
371 elif name == "XFRMA_ENCAP":
373 elif name == "XFRMA_MARK":
375 elif name == "XFRMA_OUTPUT_MARK":
377 elif name == "XFRMA_TMPL":
379 elif name == "XFRMA_IF_ID":
384 return name, data
DAndroid.bp2 name: "kernel_net_tests",
Dneighbour_test.py105 def assertNeighbourAttr(self, addr, name, value): argument
106 self.assertEquals(value, self.GetNdEntry(addr)[1][name])
114 for name in attrs:
115 self.assertEquals(attrs[name], actual_attrs[name])
/kernel/build/
Dbuild.sh258 OVERLAYS=$(find ${OVERLAY_OUT_DIR} -name "*.dtbo")
282 MODULES=$(find ${MODULES_STAGING_DIR} -type f -name "*.ko")
299 find ${MODULES_PRIVATE_DIR} -name ${MODULE} -exec cp {} ${UNSTRIPPED_DIR} \;
310 find ${KERNEL_UAPI_HEADERS_DIR} \( -name ..install.cmd -o -name .install \) -exec rm '{}' +
325 cd $ROOT_DIR/$KERNEL_DIR; find arch -name *.h -exec cp --parents {} $TMP_KERNEL_HEADERS_DIR \;
326 cd $ROOT_DIR/$KERNEL_DIR; find include -name *.h -exec cp --parents {} $TMP_KERNEL_HEADERS_DIR \;
327 cd $OUT_DIR; find -name *.h -exec cp --parents {} $TMP_KERNEL_HEADERS_DIR \;
DMETADATA1 name: "kernel/build"
/kernel/tests/
DAndroid.bp2 name: "kernel_tests_defaults",
/kernel/configs/tools/
DAndroid.bp2 name: "kconfig_xml_fixup",
/kernel/build/abi/
Dabitool.py31 def name(self): member in AbiTool
/kernel/tests/devicetree/early_mount/
DAndroid.bp16 name: "dt_early_mount_test",
/kernel/configs/q/android-4.9/
DAndroid.bp16 name: "kernel_config_q_4.9",
/kernel/configs/q/android-4.14/
DAndroid.bp16 name: "kernel_config_q_4.14",
/kernel/configs/q/android-4.19/
DAndroid.bp16 name: "kernel_config_q_4.19",

12