Home
last modified time | relevance | path

Searched refs:new_device (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavdevice/
Dpulse_audio_common.c139 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()
Dalsa.c367 AVDeviceInfo *new_device = NULL; in ff_alsa_get_device_list() local
378 new_device = av_mallocz(sizeof(AVDeviceInfo)); in ff_alsa_get_device_list()
379 if (!new_device) { in ff_alsa_get_device_list()
383 new_device->device_name = av_strdup(name); in ff_alsa_get_device_list()
385 new_device->device_description = av_strdup(&tmp[1]); in ff_alsa_get_device_list()
387 new_device->device_description = av_strdup(descr); in ff_alsa_get_device_list()
388 if (!new_device->device_description || !new_device->device_name) { in ff_alsa_get_device_list()
393 &device_list->nb_devices, new_device)) < 0) { in ff_alsa_get_device_list()
396 if (!strcmp(new_device->device_name, "default")) in ff_alsa_get_device_list()
398 new_device = NULL; in ff_alsa_get_device_list()
[all …]
Ddecklink_common.cpp409 AVDeviceInfo *new_device = NULL; in ff_decklink_list_devices() local
434 new_device = (AVDeviceInfo *) av_mallocz(sizeof(AVDeviceInfo)); in ff_decklink_list_devices()
435 if (!new_device) { in ff_decklink_list_devices()
440 new_device->device_name = av_strdup(unique_name ? unique_name : display_name); in ff_decklink_list_devices()
441 new_device->device_description = av_strdup(display_name); in ff_decklink_list_devices()
443 if (!new_device->device_name || in ff_decklink_list_devices()
444 !new_device->device_description || in ff_decklink_list_devices()
445 … av_dynarray_add_nofree(&device_list->devices, &device_list->nb_devices, new_device) < 0) { in ff_decklink_list_devices()
447 av_freep(&new_device->device_name); in ff_decklink_list_devices()
448 av_freep(&new_device->device_description); in ff_decklink_list_devices()
[all …]
/third_party/libevdev/libevdev/
Dlibevdev-uinput.c344 struct libevdev_uinput *new_device) in uinput_create_DEV_SETUP() argument
373 struct libevdev_uinput *new_device; in libevdev_uinput_create_from_device() local
377 new_device = alloc_uinput_device(libevdev_get_name(dev)); in libevdev_uinput_create_from_device()
378 if (!new_device) in libevdev_uinput_create_from_device()
386 new_device->fd_is_managed = 1; in libevdev_uinput_create_from_device()
395 rc = uinput_create_DEV_SETUP(dev, fd, new_device); in libevdev_uinput_create_from_device()
409 new_device->ctime[0] = time(NULL); in libevdev_uinput_create_from_device()
415 new_device->ctime[1] = time(NULL); in libevdev_uinput_create_from_device()
416 new_device->fd = fd; in libevdev_uinput_create_from_device()
418 if (fetch_syspath_and_devnode(new_device) == -1) { in libevdev_uinput_create_from_device()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dnotify.c621 const u8 *dev_addr, int new_device) in wpas_notify_p2p_device_found() argument
623 if (new_device) { in wpas_notify_p2p_device_found()
Dnotify.h97 const u8 *dev_addr, int new_device);
Dp2p_supplicant.c2365 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/
Dnotify.h148 const u8 *dev_addr, int new_device);
Dnotify.c851 const u8 *dev_addr, int new_device) in wpas_notify_p2p_device_found() argument
853 if (new_device) { in wpas_notify_p2p_device_found()
Dp2p_supplicant.c2732 int new_device) in wpas_dev_found() argument
2831 new_device); in wpas_dev_found()
2844 new_device); in wpas_dev_found()
2865 wpas_notify_p2p_device_found(ctx, info->p2p_device_addr, new_device); in wpas_dev_found()
/third_party/alsa-lib/src/ucm/
Dmain.c2481 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/
Dp2p.h755 int new_device);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p.h764 int new_device);