/external/autotest/client/site_tests/camera_V4L2/src/ |
D | media_v4l2_unittest.cc | 32 void TestMultipleOpen(const char* dev_name) { in TestMultipleOpen() argument 33 V4L2Device v4l2_dev1(dev_name, 4); in TestMultipleOpen() 34 V4L2Device v4l2_dev2(dev_name, 4); in TestMultipleOpen() 36 printf("[Error] Can not open device '%s' for the first time\n", dev_name); in TestMultipleOpen() 40 printf("[Error] Can not open device '%s' for the second time\n", dev_name); in TestMultipleOpen() 48 void TestMultipleInit(const char* dev_name, V4L2Device::IOMethod io) { in TestMultipleInit() argument 51 V4L2Device v4l2_dev1(dev_name, 4); in TestMultipleInit() 52 V4L2Device v4l2_dev2(dev_name, 4); in TestMultipleInit() 54 printf("[Error] Can not open device '%s' for the first time\n", dev_name); in TestMultipleInit() 58 printf("[Error] Can not open device '%s' for the second time\n", dev_name); in TestMultipleInit() [all …]
|
D | media_v4l2_test.cc | 33 std::string dev_name; member 248 bool TestIO(const std::string& dev_name) { in TestIO() argument 260 new V4L2Device(dev_name.c_str(), buffers)); in TestIO() 293 bool TestResolutions(const std::string& dev_name, in TestResolutions() argument 306 new V4L2Device(dev_name.c_str(), buffers)); in TestResolutions() 323 printf("[Error] Get supported formats failed in %s.\n", dev_name.c_str()); in TestResolutions() 364 test_resolution.height, dev_name.c_str()); in TestResolutions() 380 dev_name.c_str()); in TestResolutions() 398 dev_name.c_str()); in TestResolutions() 416 kFrameRate, dev_name.c_str()); in TestResolutions() [all …]
|
/external/iproute2/rdma/ |
D | utils.c | 62 static struct dev_map *dev_map_alloc(const char *dev_name) in dev_map_alloc() argument 69 dev_map->dev_name = strdup(dev_name); in dev_map_alloc() 79 free(dev_map->dev_name); in dev_map_free() 132 const char *dev_name; in rd_dev_init_cb() local 142 dev_name = mnl_attr_get_str(tb[RDMA_NLDEV_ATTR_DEV_NAME]); in rd_dev_init_cb() 144 dev_map = dev_map_alloc(dev_name); in rd_dev_init_cb() 239 struct dev_map *_dev_map_lookup(struct rd *rd, const char *dev_name) in _dev_map_lookup() argument 244 if (strcmp(dev_name, dev_map->dev_name) == 0) in _dev_map_lookup() 253 char *dev_name; in dev_map_lookup() local 256 dev_name = strdup(rd_argv(rd)); in dev_map_lookup() [all …]
|
/external/u-boot/arch/arm/mach-orion5x/ |
D | cpu.c | 181 char *dev_name = NULL; in print_cpuinfo() local 188 dev_name = "MV88F5181"; in print_cpuinfo() 192 dev_name = "MV88F5181L"; in print_cpuinfo() 195 dev_name = "MV88F5181L"; in print_cpuinfo() 199 dev_name = "MV88F5182"; in print_cpuinfo() 203 dev_name = "MV88F5281"; in print_cpuinfo() 211 dev_name = "MV88F6183"; in print_cpuinfo() 215 if (dev_name == NULL) { in print_cpuinfo() 217 dev_name = dev_str; in print_cpuinfo() 224 printf("SoC: Orion5x %s-%s\n", dev_name, rev_name); in print_cpuinfo()
|
/external/fsck_msdos/ |
D | fsutil.c | 165 char *dev_name; in getmntpt() local 178 dev_name = statfsp->f_mntfromname; in getmntpt() 179 if (*dev_name != '/') { in getmntpt() 180 if (strlen(_PATH_DEV) + strlen(dev_name) + 1 > in getmntpt() 184 strcat(device, dev_name); in getmntpt() 192 if (stat(dev_name, &mntdevstat) == 0 && in getmntpt()
|
/external/iproute2/devlink/ |
D | devlink.c | 127 char *dev_name; member 133 const char *dev_name, in ifname_map_alloc() argument 143 ifname_map->dev_name = strdup(dev_name); in ifname_map_alloc() 146 if (!ifname_map->bus_name || !ifname_map->dev_name || in ifname_map_alloc() 149 free(ifname_map->dev_name); in ifname_map_alloc() 160 free(ifname_map->dev_name); in ifname_map_free() 185 char *dev_name; member 217 char *dev_name; member 363 const char *dev_name; in ifname_map_cb() local 376 dev_name = mnl_attr_get_str(tb[DEVLINK_ATTR_DEV_NAME]); in ifname_map_cb() [all …]
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | collective_rma_distributed_test.cc | 274 string dev_name = "CPU:0"; in TEST_F() local 275 TF_EXPECT_OK(device_mgrs_[0]->LookupDevice(dev_name, &dst_device)); in TEST_F() 278 "/job:worker/replica:0/task:1/device:" + dev_name, // peer_dev in TEST_F() 302 string dev_name = "CPU:0"; in TEST_F() local 303 TF_EXPECT_OK(device_mgrs_[0]->LookupDevice(dev_name, &dst_device)); in TEST_F() 306 "/job:worker/replica:0/task:1/device:" + dev_name, // peer_dev in TEST_F() 334 string dev_name = "CPU:0"; in TEST_F() local 335 TF_EXPECT_OK(device_mgrs_[0]->LookupDevice(dev_name, &dst_device)); in TEST_F() 338 "/job:worker/replica:0/task:1/device:" + dev_name, // peer_dev in TEST_F()
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aiocp.c | 77 char dev_name[1024]; in dev_block_size_by_path() local 99 strncpy(dev_name, mnt->mnt_fsname, sizeof(dev_name)); in dev_block_size_by_path() 100 dev_name[sizeof(dev_name)-1] = '\0'; in dev_block_size_by_path() 111 printf("Path '%s' is on device '%s'\n", path, dev_name); in dev_block_size_by_path() 113 fd = open(dev_name, O_RDONLY); in dev_block_size_by_path() 115 fprintf(stderr, "open('%s'): %s\n", dev_name, strerror(errno)); in dev_block_size_by_path() 126 printf("'%s' has block size %i\n", dev_name, size); in dev_block_size_by_path()
|
/external/ltp/testscripts/ |
D | ltp-scsi_debug.sh | 51 dev_name=$(ls /proc/scsi/scsi_debug) 53 rm_dev=$dev_name:0:0:0 63 echo "The device $dev_name was removed successfully" 67 echo "0 0 0" > /sys/class/scsi_host/host$dev_name/scan 73 echo "The device $dev_name was added back successfully"
|
/external/adhd/cras/src/server/ |
D | cras_alsa_jack.c | 454 const char *dev_name, in create_jack_for_gpio() argument 479 jack->gpio.device_name = strdup(dev_name); in create_jack_for_gpio() 551 const char *dev_name, in open_and_monitor_gpio() argument 560 r = create_jack_for_gpio(jack_list, pathname, dev_name, in open_and_monitor_gpio() 645 const char *dev_name) in gpio_switches_monitor_device() argument 676 data, dev_path, dev_name, switches[sw]); in gpio_switches_monitor_device() 687 const char *dev_name, in gpio_switch_list_with_section() argument 693 if (strcmp(dev_name, data->section->jack_name)) { in gpio_switch_list_with_section() 698 data->rc = gpio_switches_monitor_device(data, dev_path, dev_name); in gpio_switch_list_with_section() 728 const char *dev_name, in gpio_switch_list_by_matching() argument [all …]
|
D | cras_alsa_ucm.c | 820 const char *dev_name; in ucm_get_sections() local 831 dev_name = strdup(list[i]); in ucm_get_sections() 832 if (!dev_name) in ucm_get_sections() 836 ucm_get_playback_device_name_for_dev(mgr, dev_name); in ucm_get_sections() 842 mgr, dev_name); in ucm_get_sections() 856 dev_name); in ucm_get_sections() 863 " the form 'hw:<card>,<number>'", dev_name); in ucm_get_sections() 867 jack_name = ucm_get_jack_name_for_dev(mgr, dev_name); in ucm_get_sections() 868 jack_type = ucm_get_jack_type_for_dev(mgr, dev_name); in ucm_get_sections() 869 mixer_name = ucm_get_mixer_name_for_dev(mgr, dev_name); in ucm_get_sections() [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/swiotlb/swiotlb_bounced/ |
D | format | 9 field:__data_loc char[] dev_name; offset:8; size:4; signed:0; 15 print fmt: "dev_name: %s dma_mask=%llx dev_addr=%llx size=%zu %s", __get_str(dev_name), REC->dma_ma…
|
/external/adhd/cras/src/tests/ |
D | alsa_helpers_unittest.cc | 172 const char *dev_name = "dev_name"; in TEST() local 203 dev_name, &used, &tstamp); in TEST() 216 const char *dev_name = "dev_name"; in TEST() local 221 severe_underrun_frames, dev_name, in TEST() 229 severe_underrun_frames, dev_name, in TEST() 239 severe_underrun_frames, dev_name, in TEST()
|
/external/selinux/libsepol/src/ |
D | ibendports.c | 29 &tmp_ibendport->u.ibendport.dev_name) < 0) in ibendport_from_record() 37 strncpy(tmp_ibendport->u.ibendport.dev_name, ibdev_name, IB_DEVICE_NAME_MAX); in ibendport_from_record() 86 ibendport->u.ibendport.dev_name) < 0) in ibendport_to_record() 139 const char *ibdev_name2 = c->u.ibendport.dev_name; in sepol_ibendport_exists() 167 const char *ibdev_name2 = c->u.ibendport.dev_name; in sepol_ibendport_query()
|
/external/u-boot/drivers/core/ |
D | lists.c | 74 const char *dev_name, struct udevice **devp) in device_bind_driver() argument 76 return device_bind_driver_to_node(parent, drv_name, dev_name, in device_bind_driver() 81 const char *dev_name, ofnode node, in device_bind_driver_to_node() argument 92 ret = device_bind_with_driver_data(parent, drv, dev_name, 0 /* data */, in device_bind_driver_to_node()
|
/external/autotest/client/cros/faft/utils/ |
D | cgpt_handler.py | 50 def read_device_info(self, dev_name): argument 58 'cgpt show %s' % dev_name) 84 self.devices[dev_name] = device_data
|
/external/toybox/toys/pending/ |
D | route.c | 322 …ext_params_inet6(char **argv, struct sockaddr_in6 *sock_in6, struct in6_rtmsg *rt, char **dev_name) in get_next_params_inet6() argument 341 if (!*dev_name) *dev_name = argv[1]; in get_next_params_inet6() 353 char *targetip, *dev_name = 0; in setroute_inet6() local 372 get_next_params_inet6(argv, &sock_in6, &rt, (char **)&dev_name); in setroute_inet6() 375 if (dev_name) { in setroute_inet6() 378 xstrncpy(ifre->ifr_name, dev_name, IFNAMSIZ); in setroute_inet6()
|
/external/u-boot/drivers/mtd/nand/ |
D | nand.c | 26 static char dev_name[CONFIG_SYS_MAX_NAND_DEVICE][8]; variable 59 sprintf(dev_name[devnum], "nand%d", devnum); in nand_register() 60 mtd->name = dev_name[devnum]; in nand_register()
|
/external/autotest/client/site_tests/usbpd_GFU/ |
D | usbpd_GFU.py | 221 for dev_name in fw_dict.keys(): 222 if flash_info['dev_major'] == self.DEV_MAJOR[dev_name]: 223 for old_rw in sorted(fw_dict[dev_name], reverse=True)[1:]: 225 port.index, dev_name, old_rw)
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | hierarchical_tree_broadcaster_test.cc | 229 string dev_name = strings::StrCat("/job:worker/replica:0/task:", wi, in Init() local 232 sess_opts, dev_name, mem_limit, dev_locality, cpu_allocator())); in Init() 319 string dev_name; in Init() local 321 dev_name = strings::StrCat(task_name, "/device:GPU:0"); in Init() 323 dev_name = strings::StrCat(task_name, "/device:CPU:", di); in Init() 325 VLOG(2) << "dev=" << dev_name; in Init() 326 col_params_.instance.device_names.push_back(dev_name); in Init() 544 string dev_name = strings::StrCat(task_name, "/device:GPU:", di); in PrepColParamsForSubdivPermsTest() local 546 cp->instance.device_names.push_back(dev_name); in PrepColParamsForSubdivPermsTest() 553 DeviceInstance(int rank, const string& dev_name, in DeviceInstance() argument [all …]
|
/external/u-boot/drivers/block/ |
D | sandbox.c | 94 char dev_name[20], *str, *fname; local 113 snprintf(dev_name, sizeof(dev_name), "host%d", devnum); 114 str = strdup(dev_name);
|
/external/u-boot/include/dm/ |
D | lists.h | 72 const char *dev_name, struct udevice **devp); 87 const char *dev_name, ofnode node,
|
/external/u-boot/drivers/mtd/onenand/ |
D | onenand_uboot.c | 23 static __attribute__((unused)) char dev_name[] = "onenand0"; variable 51 onenand_mtd.name = dev_name; in onenand_init()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/ufs/ufshcd_auto_bkops_state/ |
D | format | 9 field:__data_loc char[] dev_name; offset:8; size:4; signed:0; 12 print fmt: "%s: state changed to %s", __get_str(dev_name), REC->state ? "ON" : "OFF"
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/napi/napi_poll/ |
D | format | 10 field:__data_loc char[] dev_name; offset:16; size:4; signed:0; 12 print fmt: "napi poll on napi struct %p for device %s", REC->napi, __get_str(dev_name)
|