/third_party/ffmpeg/libavdevice/ |
D | pulse_audio_common.c | 139 AVDeviceInfo *new_device = NULL; in pulse_add_detected_device() local 144 new_device = av_mallocz(sizeof(AVDeviceInfo)); in pulse_add_detected_device() 145 if (!new_device) { in pulse_add_detected_device() 150 new_device->device_description = av_strdup(description); in pulse_add_detected_device() 151 new_device->device_name = av_strdup(name); in pulse_add_detected_device() 153 if (!new_device->device_description || !new_device->device_name) { in pulse_add_detected_device() 159 &info->devices->nb_devices, new_device)) < 0) { in pulse_add_detected_device() 166 av_freep(&new_device->device_description); in pulse_add_detected_device() 167 av_freep(&new_device->device_name); in pulse_add_detected_device() 168 av_free(new_device); in pulse_add_detected_device()
|
D | alsa.c | 362 AVDeviceInfo *new_device = NULL; in ff_alsa_get_device_list() local 373 new_device = av_mallocz(sizeof(AVDeviceInfo)); in ff_alsa_get_device_list() 374 if (!new_device) { in ff_alsa_get_device_list() 378 new_device->device_name = av_strdup(name); in ff_alsa_get_device_list() 380 new_device->device_description = av_strdup(&tmp[1]); in ff_alsa_get_device_list() 382 new_device->device_description = av_strdup(descr); in ff_alsa_get_device_list() 383 if (!new_device->device_description || !new_device->device_name) { in ff_alsa_get_device_list() 388 &device_list->nb_devices, new_device)) < 0) { in ff_alsa_get_device_list() 391 if (!strcmp(new_device->device_name, "default")) in ff_alsa_get_device_list() 393 new_device = NULL; in ff_alsa_get_device_list() [all …]
|
D | decklink_common.cpp | 372 AVDeviceInfo *new_device = NULL; in ff_decklink_list_devices() local 397 new_device = (AVDeviceInfo *) av_mallocz(sizeof(AVDeviceInfo)); in ff_decklink_list_devices() 398 if (!new_device) { in ff_decklink_list_devices() 403 new_device->device_name = av_strdup(unique_name ? unique_name : display_name); in ff_decklink_list_devices() 404 new_device->device_description = av_strdup(display_name); in ff_decklink_list_devices() 406 if (!new_device->device_name || in ff_decklink_list_devices() 407 !new_device->device_description || in ff_decklink_list_devices() 408 … av_dynarray_add_nofree(&device_list->devices, &device_list->nb_devices, new_device) < 0) { in ff_decklink_list_devices() 410 av_freep(&new_device->device_name); in ff_decklink_list_devices() 411 av_freep(&new_device->device_description); in ff_decklink_list_devices() [all …]
|
/third_party/libevdev/libevdev/ |
D | libevdev-uinput.c | 361 struct libevdev_uinput *new_device) in uinput_create_DEV_SETUP() argument 390 struct libevdev_uinput *new_device; in libevdev_uinput_create_from_device() local 394 new_device = alloc_uinput_device(libevdev_get_name(dev)); in libevdev_uinput_create_from_device() 395 if (!new_device) in libevdev_uinput_create_from_device() 403 new_device->fd_is_managed = 1; in libevdev_uinput_create_from_device() 412 rc = uinput_create_DEV_SETUP(dev, fd, new_device); in libevdev_uinput_create_from_device() 426 new_device->ctime[0] = time(NULL); in libevdev_uinput_create_from_device() 432 new_device->ctime[1] = time(NULL); in libevdev_uinput_create_from_device() 433 new_device->fd = fd; in libevdev_uinput_create_from_device() 435 if (fetch_syspath_and_devnode(new_device) == -1) { in libevdev_uinput_create_from_device() [all …]
|
/third_party/libusb/libusb/os/ |
D | darwin_usb.c | 984 struct darwin_cached_device *new_device; in darwin_get_cached_device() local 1010 list_for_each_entry(new_device, &darwin_cached_devices, list, struct darwin_cached_device) { in darwin_get_cached_device() 1012 sessionID, locationID, new_device->session, new_device->location); in darwin_get_cached_device() 1013 if (new_device->location == locationID && new_device->in_reenumerate) { in darwin_get_cached_device() 1015 *old_session_id = new_device->session; in darwin_get_cached_device() 1019 if (new_device->session == sessionID) { in darwin_get_cached_device() 1021 *cached_out = new_device; in darwin_get_cached_device() 1038 new_device = calloc (1, sizeof (*new_device)); in darwin_get_cached_device() 1039 if (!new_device) { in darwin_get_cached_device() 1045 list_add(&new_device->list, &darwin_cached_devices); in darwin_get_cached_device() [all …]
|
/third_party/e2fsprogs/ext2ed/ |
D | general_com.c | 152 char *ptr,new_device [80]; in set_device() local 154 ptr=parse_word (command_line,new_device); in set_device() 159 parse_word (ptr,new_device); in set_device() 160 check_mounted (new_device); in set_device() 175 if ( (device_handle=fopen (new_device,"rb"))==NULL) { in set_device() 176 wprintw (command_win,"Error - Can not open device %s\n",new_device);refresh_command_win (); in set_device() 180 strcpy (device_name,new_device); in set_device()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | notify.h | 97 const u8 *dev_addr, int new_device);
|
D | notify.c | 621 const u8 *dev_addr, int new_device) in wpas_notify_p2p_device_found() argument 623 if (new_device) { in wpas_notify_p2p_device_found()
|
D | p2p_supplicant.c | 2365 int new_device) in wpas_dev_found() argument 2435 new_device); in wpas_dev_found() 2441 wpas_notify_p2p_device_found(ctx, info->p2p_device_addr, new_device); in wpas_dev_found()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | notify.h | 98 const u8 *dev_addr, int new_device);
|
D | notify.c | 633 const u8 *dev_addr, int new_device) in wpas_notify_p2p_device_found() argument 635 if (new_device) { in wpas_notify_p2p_device_found()
|
D | p2p_supplicant.c | 2532 int new_device) in wpas_dev_found() argument 2602 new_device); in wpas_dev_found() 2608 wpas_notify_p2p_device_found(ctx, info->p2p_device_addr, new_device); in wpas_dev_found()
|
/third_party/alsa-lib/src/ucm/ |
D | main.c | 2481 const char *new_device) in switch_device() argument 2494 if (device_status(uc_mgr, new_device) != 0) { in switch_device() 2495 uc_error("error: device %s already enabled", new_device); in switch_device() 2502 xnew = find_device(uc_mgr, uc_mgr->active_verb, new_device, 1); in switch_device() 2509 if (strcmp(trans->name, new_device) == 0) { in switch_device()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
D | p2p.h | 755 int new_device);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
D | p2p.h | 764 int new_device);
|