Home
last modified time | relevance | path

Searched refs:device_str (Results 1 – 7 of 7) sorted by relevance

/external/libpcap/
Dpcap.c1970 char *device_str;
1980 device_str = strdup("any");
1994 device_str = (char *)malloc(length + 1);
1995 if (device_str == NULL) {
2002 pcap_snprintf(device_str, length + 1, "%ws",
2006 device_str = strdup(device);
2008 if (device_str == NULL) {
2021 p = capture_source_types[i].create_op(device_str, errbuf,
2037 free(device_str);
2040 p->opt.device = device_str;
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dutils.h59 DeviceProperties GetDeviceInfo(const string& device_str);
Dutils.cc236 DeviceProperties GetDeviceInfo(const string& device_str) { in GetDeviceInfo() argument
241 if (DeviceNameUtils::ParseFullName(device_str, &parsed)) { in GetDeviceInfo()
/external/tensorflow/tensorflow/python/client/
Dsession_clusterspec_prop_test.py202 device_str = '/job:worker/task:0/device:GPU:0'
204 device_str = '/job:worker/task:0/cpu:1'
205 with ops.device(device_str):
/external/selinux/libsepol/src/
Dkernel_to_cil.c3036 char device_str[20]; /* 2^64-1 <= 16 digits (hex) so (low high) < 19 chars */ in write_xen_pcidevice_rules_to_cil() local
3041 rc = snprintf(device_str, 20, "0x%lx", (unsigned long)pcid->u.device); in write_xen_pcidevice_rules_to_cil()
3053 sepol_printf(out, "(pcidevicecon %s %s)\n", device_str, ctx); in write_xen_pcidevice_rules_to_cil()
Dkernel_to_conf.c2900 char device_str[20]; /* 2^64-1 <= 16 digits (hex) so < 19 chars */ in write_xen_pcidevice_rules_to_conf() local
2905 rc = snprintf(device_str, 20, "0x%lx", (unsigned long)pcid->u.device); in write_xen_pcidevice_rules_to_conf()
2917 sepol_printf(out, "pcidevicecon %s %s\n", device_str, ctx); in write_xen_pcidevice_rules_to_conf()
/external/tensorflow/tensorflow/python/kernel_tests/
Dcontrol_flow_ops_py_test.py679 def _count_matching_switch_nodes_on_device(self, run_metadata, device_str): argument
684 if device_str in g.node[0].device