/third_party/e2fsprogs/lib/blkid/ |
D | devno.c | 98 char **devname) in blkid__scan_dir() argument 123 *devname = blkid_strdup(path); in blkid__scan_dir() 126 path, *devname)); in blkid__scan_dir() 148 char *devname = NULL; in blkid_devno_to_devname() local 163 blkid__scan_dir(current->name, devno, &new_list, &devname); in blkid_devno_to_devname() 166 if (devname) in blkid_devno_to_devname() 180 if (!devname) { in blkid_devno_to_devname() 186 printf("found devno 0x%04llx as %s\n", (long long)devno, devname)); in blkid_devno_to_devname() 190 return devname; in blkid_devno_to_devname() 196 char *devname, *tmp; in main() local [all …]
|
D | devname.c | 52 blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, int flags) in blkid_get_dev() argument 57 if (!cache || !devname) in blkid_get_dev() 62 if (strcmp(tmp->bid_name, devname)) in blkid_get_dev() 72 if (access(devname, F_OK) < 0) in blkid_get_dev() 78 dev->bid_name = blkid_strdup(devname); in blkid_get_dev() 125 static int is_dm_leaf(const char *devname) in is_dm_leaf() argument 136 !strcmp(de->d_name, devname) || in is_dm_leaf() 144 if (!strcmp(d_de->d_name, devname)) { in is_dm_leaf() 190 char *devname = NULL; in probe_one() local 212 devname = get_dm_name(ptname); in probe_one() [all …]
|
D | resolve.c | 29 const char *devname) in blkid_get_tag_value() argument 36 DBG(DEBUG_RESOLVE, printf("looking for %s on %s\n", tagname, devname)); in blkid_get_tag_value() 38 if (!devname) in blkid_get_tag_value() 46 if ((dev = blkid_get_dev(c, devname, BLKID_DEV_NORMAL)) && in blkid_get_tag_value()
|
D | tag.c | 411 char *devname = NULL; in main() local 433 devname = argv[optind++]; in main() 438 if (!devname || (argc != optind)) in main() 447 dev = blkid_get_dev(cache, devname, flags); in main() 450 devname); in main()
|
D | Makefile.in | 22 OBJS= cache.o dev.o devname.o devno.o getsize.o llseek.o probe.o \ 25 SRCS= $(srcdir)/cache.c $(srcdir)/dev.c $(srcdir)/devname.c $(srcdir)/devno.c \ 87 tst_devname: $(srcdir)/devname.c $(DEPLIBS_BLKID) 89 $(Q) $(CC) -o tst_devname -DTEST_PROGRAM $(srcdir)/devname.c $(LIBS_BLKID) $(ALL_CFLAGS) 204 devname.o: $(srcdir)/devname.c $(top_builddir)/lib/config.h \
|
D | blkid.h | 70 extern blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, 84 const char *devname);
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/disk/ |
D | SDL_diskaudio.c | 117 get_filename(const int iscapture, const char *devname) in get_filename() argument 119 if (devname == NULL) { in get_filename() 120 devname = SDL_getenv(iscapture ? DISKENVR_INFILE : DISKENVR_OUTFILE); in get_filename() 121 if (devname == NULL) { in get_filename() 122 devname = iscapture ? DISKDEFAULT_INFILE : DISKDEFAULT_OUTFILE; in get_filename() 125 return devname; in get_filename() 129 DISKAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture) in DISKAUDIO_OpenDevice() argument 132 const char *fname = get_filename(iscapture, handle ? NULL : devname); in DISKAUDIO_OpenDevice()
|
/third_party/NuttX/drivers/pipes/ |
D | pipe.c | 245 char devname[16]; in pipe() local 273 snprintf_s(devname, sizeof(devname), sizeof(devname) - 1, "/dev/pipe%d", pipeno); in pipe() 277 dev = pipecommon_allocdev(bufsize, devname); in pipe() 293 ret = register_driver(devname, &pipe_fops, 0660, (void *)dev); in pipe() 313 fd[1] = open(devname, O_WRONLY); in pipe() 322 fd[0] = open(devname, O_RDONLY); in pipe() 341 unregister_driver(devname); in pipe()
|
/third_party/ffmpeg/libavcodec/ |
D | v4l2_m2m.c | 105 s->fd = open(s->devname, O_RDWR | O_NONBLOCK, 0); in v4l2_probe_driver() 128 …av_log(log_ctx, AV_LOG_ERROR, "failure closing %s (%s)\n", s->devname, av_err2str(AVERROR(errno))); in v4l2_probe_driver() 142 s->fd = open(s->devname, O_RDWR | O_NONBLOCK, 0); in v4l2_configure_contexts() 193 s->devname, av_err2str(AVERROR(errno))); in v4l2_configure_contexts() 253 av_log(log_ctx, AV_LOG_DEBUG, "%s full reinit\n", s->devname); in ff_v4l2_m2m_codec_full_reinit() 382 snprintf(s->devname, sizeof(s->devname), "/dev/%s", entry->d_name); in ff_v4l2_m2m_codec_init() 383 av_log(s->avctx, AV_LOG_DEBUG, "probing device %s\n", s->devname); in ff_v4l2_m2m_codec_init() 393 memset(s->devname, 0, sizeof(s->devname)); in ff_v4l2_m2m_codec_init() 398 av_log(s->avctx, AV_LOG_INFO, "Using device %s\n", s->devname); in ff_v4l2_m2m_codec_init()
|
/third_party/gstreamer/gstplugins_good/tests/icles/ |
D | test-oss4.c | 83 gchar *devname = NULL; in probe_element() local 90 g_object_get (element, "device-name", &devname, NULL); in probe_element() 91 GST_LOG ("devname: '%s'", GST_STR_NULL (devname)); in probe_element() 92 g_assert (devname == NULL || *devname == '\0'); in probe_element()
|
/third_party/FreeBSD/sys/dev/usb/implementation/ |
D | usb_btree.c | 146 usbd_pre_order_hub_node(usbd_bt_node *node, char *devname, uint8_t *port_num) in usbd_pre_order_hub_node() argument 159 if (!strncmp(node->lbt_node->info.nameunit, devname, strlen(devname))) { in usbd_pre_order_hub_node() 170 l_node = usbd_pre_order_hub_node(node->lbt_node, devname, port_num); in usbd_pre_order_hub_node() 174 r_node = usbd_pre_order_hub_node(node->rbt_node, devname, port_num); in usbd_pre_order_hub_node() 213 usbd_per_order_probe(usbd_bt_tree tree, char *devname, uint8_t *port_num) in usbd_per_order_probe() argument 215 usbd_bt_node *node = usbd_pre_order_hub_node(tree, devname, port_num); in usbd_per_order_probe()
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testaudiocapture.c | 93 const char *devname = argv[1]; in main() local 144 devname ? "'" : "", in main() 145 devname ? devname : "[[default]]", in main() 146 devname ? "'" : ""); in main()
|
D | testmultiaudio.c | 89 const char *devname = SDL_GetAudioDeviceName(i, 0); in test_multi_audio() local 90 SDL_Log("playing on device #%d: ('%s')...", i, devname); in test_multi_audio() 95 cbd[0].dev = SDL_OpenAudioDevice(devname, 0, &spec, NULL, 0); in test_multi_audio() 121 const char *devname = SDL_GetAudioDeviceName(i, 0); in test_multi_audio() local 123 cbd[i].dev = SDL_OpenAudioDevice(devname, 0, &spec, NULL, 0); in test_multi_audio()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | finddev.c | 177 char *devname, *tmp; in main() local 208 devname = ext2fs_find_block_device(device); in main() 209 if (devname) { in main() 210 printf("Found device! %s\n", devname); in main() 211 free(devname); in main()
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/dsp/ |
D | SDL_dspaudio.c | 71 DSP_OpenDevice(_THIS, void *handle, const char *devname, int iscapture) in DSP_OpenDevice() argument 81 if (devname == NULL) { in DSP_OpenDevice() 82 devname = SDL_GetAudioDeviceName(0, iscapture); in DSP_OpenDevice() 83 if (devname == NULL) { in DSP_OpenDevice() 106 this->hidden->audio_fd = open(devname, flags, 0); in DSP_OpenDevice() 108 return SDL_SetError("Couldn't open %s: %s", devname, strerror(errno)); in DSP_OpenDevice()
|
/third_party/libusb/libusb/os/ |
D | openbsd_usb.c | 36 char *devname; /* name of the ugen(4) node */ member 180 dpriv->devname = udevname; in obsd_get_device_list() 228 if (dpriv->devname) { in obsd_open() 235 dpriv->devname); in obsd_open() 252 if (dpriv->devname) { in obsd_close() 320 if (dpriv->devname == NULL) in obsd_set_configuration() 367 if (dpriv->devname == NULL) in obsd_set_interface_altsetting() 419 free(dpriv->devname); in obsd_destroy_device() 586 if (dpriv->devname == NULL) { in _sync_control_transfer() 638 dpriv->devname, endpt); in _access_endpoint() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/bsd/ |
D | SDL_bsdaudio.c | 278 BSDAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture) in BSDAUDIO_OpenDevice() argument 287 if (devname == NULL) { in BSDAUDIO_OpenDevice() 288 devname = SDL_GetAudioDeviceName(0, iscapture); in BSDAUDIO_OpenDevice() 289 if (devname == NULL) { in BSDAUDIO_OpenDevice() 303 this->hidden->audio_fd = open(devname, flags, 0); in BSDAUDIO_OpenDevice() 305 return SDL_SetError("Couldn't open %s: %s", devname, strerror(errno)); in BSDAUDIO_OpenDevice()
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/sun/ |
D | SDL_sunaudio.c | 194 SUNAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture) in SUNAUDIO_OpenDevice() argument 202 if (devname == NULL) { in SUNAUDIO_OpenDevice() 203 devname = SDL_GetAudioDeviceName(0, iscapture); in SUNAUDIO_OpenDevice() 204 if (devname == NULL) { in SUNAUDIO_OpenDevice() 218 this->hidden->audio_fd = open(devname, flags, 0); in SUNAUDIO_OpenDevice() 220 return SDL_SetError("Couldn't open %s: %s", devname, strerror(errno)); in SUNAUDIO_OpenDevice()
|
/third_party/alsa-lib/test/ |
D | pcm-multi-thread.c | 40 static const char *devname = "default"; variable 130 devname = optarg; in parse_options() 216 err = snd_pcm_open(&pcm, devname, stream, 0); in main() 218 fprintf(stderr, "cannot open pcm %s\n", devname); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl02.c | 97 static char *devname; variable 100 {"D:", &Devflag, &devname}, 127 parenttty = devname; in main() 128 childtty = devname; in main() 429 fd = SAFE_OPEN(NULL, devname, O_RDWR, 0777); in setup()
|
/third_party/f2fs-tools/tools/ |
D | fibmap.c | 99 char devname[32] = { 0, }; in stat_bdev() local 103 sprintf(devname, "/dev/block/%d:%d", major(st->st_dev), minor(st->st_dev)); in stat_bdev() 105 fd = open(devname, O_RDONLY); in stat_bdev() 123 if (readlink(devname, linkname, sizeof(linkname)) < 0) in stat_bdev()
|
/third_party/eudev/src/scsi_id/ |
D | scsi_id.h | 63 int scsi_std_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, const char *devname); 64 int scsi_get_serial(struct udev *udev, struct scsi_id_device *dev_scsi, const char *devname,
|
/third_party/ltp/testcases/misc/lvm/ |
D | cleanup_lvm.sh | 27 for devname in $DEVLIST; do 28 ROD tst_device release $devname
|
/third_party/gstreamer/gstplugins_bad/sys/uvch264/ |
D | gstuvch264deviceprovider.c | 157 const gchar *devname = gst_structure_get_string (props, "device.path"); in create_device() local 161 if (!xu_get_id (GST_OBJECT (self), devname, &self->usb_ctx)) { in create_device() 162 GST_INFO_OBJECT (self, "%s is not a uvch264 device", devname); in create_device() 173 dev = g_object_new (gst_uvc_h264_device_get_type (), "device-path", devname, in create_device()
|
/third_party/e2fsprogs/misc/ |
D | blkid.c | 187 const char *type, *value, *devname; in pretty_print_dev() local 202 devname = blkid_dev_devname(dev); in pretty_print_dev() 203 if (access(devname, F_OK)) in pretty_print_dev() 220 retval = ext2fs_check_mount_point(devname, &mount_flags, in pretty_print_dev() 232 pretty_print_line(devname, fs_type, label, mtpt, uuid); in pretty_print_dev()
|