Searched refs:device_str (Results 1 – 7 of 7) sorted by relevance
/external/libpcap/ |
D | pcap.c | 1970 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/ |
D | utils.h | 59 DeviceProperties GetDeviceInfo(const string& device_str);
|
D | utils.cc | 236 DeviceProperties GetDeviceInfo(const string& device_str) { in GetDeviceInfo() argument 241 if (DeviceNameUtils::ParseFullName(device_str, &parsed)) { in GetDeviceInfo()
|
/external/tensorflow/tensorflow/python/client/ |
D | session_clusterspec_prop_test.py | 202 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/ |
D | kernel_to_conf.c | 2900 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()
|
D | kernel_to_cil.c | 3036 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()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | control_flow_ops_py_test.py | 679 def _count_matching_switch_nodes_on_device(self, run_metadata, device_str): argument 684 if device_str in g.node[0].device
|