Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavdevice/
H A 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 in pulse_add_detected_device()
[all...]
H A 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 in ff_alsa_get_device_list()
[all...]
H A 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 in ff_decklink_list_devices()
[all...]
/third_party/libevdev/libevdev/
H A Dlibevdev-uinput.c344 struct libevdev_uinput *new_device) in uinput_create_DEV_SETUP()
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) in libevdev_uinput_create_from_device()
343 uinput_create_DEV_SETUP(const struct libevdev *dev, int fd, struct libevdev_uinput *new_device) uinput_create_DEV_SETUP() argument
[all...]
/third_party/libinput/src/
H A Devdev-tablet.c2201 struct evdev_device *new_device) in tablet_setup_touch_arbitration()
2211 struct libinput_device_group *group2 = libinput_device_get_device_group(&new_device->base); in tablet_setup_touch_arbitration()
2232 new_device->devname); in tablet_setup_touch_arbitration()
2233 tablet->touch_device = new_device; in tablet_setup_touch_arbitration()
2238 struct evdev_device *new_device) in tablet_setup_rotation()
2242 struct libinput_device_group *group2 = libinput_device_get_device_group(&new_device->base); in tablet_setup_rotation()
2248 new_device->devname); in tablet_setup_rotation()
2249 tablet->rotation.touch_device = new_device; in tablet_setup_rotation()
2251 if (libinput_device_config_left_handed_get(&new_device->base)) { in tablet_setup_rotation()
2200 tablet_setup_touch_arbitration(struct evdev_device *device, struct evdev_device *new_device) tablet_setup_touch_arbitration() argument
2237 tablet_setup_rotation(struct evdev_device *device, struct evdev_device *new_device) tablet_setup_rotation() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dnotify.h97 const u8 *dev_addr, int new_device);
H A Dnotify.c621 const u8 *dev_addr, int new_device) in wpas_notify_p2p_device_found()
623 if (new_device) { in wpas_notify_p2p_device_found()
620 wpas_notify_p2p_device_found(struct wpa_supplicant *wpa_s, const u8 *dev_addr, int new_device) wpas_notify_p2p_device_found() argument
H A Dp2p_supplicant.c2365 int new_device) in wpas_dev_found()
2435 new_device); in wpas_dev_found()
2441 wpas_notify_p2p_device_found(ctx, info->p2p_device_addr, new_device); in wpas_dev_found()
2363 wpas_dev_found(void *ctx, const u8 *addr, const struct p2p_peer_info *info, int new_device) wpas_dev_found() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dnotify.h151 const u8 *dev_addr, int new_device);
H A Dnotify.c893 const u8 *dev_addr, int new_device) in wpas_notify_p2p_device_found()
895 if (new_device) { in wpas_notify_p2p_device_found()
892 wpas_notify_p2p_device_found(struct wpa_supplicant *wpa_s, const u8 *dev_addr, int new_device) wpas_notify_p2p_device_found() argument
H A Dp2p_supplicant.c2851 int new_device) in wpas_dev_found()
2966 new_device); in wpas_dev_found()
2979 new_device); in wpas_dev_found()
3008 wpas_notify_p2p_device_found(ctx, info->p2p_device_addr, new_device); in wpas_dev_found()
2849 wpas_dev_found(void *ctx, const u8 *addr, const struct p2p_peer_info *info, int new_device) wpas_dev_found() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
H A Dp2p.h746 * @new_device: Inform if the peer is newly found
755 int new_device);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
H A Dp2p.h768 * @new_device: Inform if the peer is newly found
777 int new_device);

Completed in 42 milliseconds