/third_party/gstreamer/gstplugins_good/sys/osxaudio/ |
D | gstosxcoreaudiohal.c | 56 AudioDeviceID device_id = kAudioDeviceUnknown; in _audio_system_get_default_device() local 69 &defaultDeviceAddress, 0, NULL, &propertySize, &device_id); in _audio_system_get_default_device() 74 GST_DEBUG ("Default device id: %u", (unsigned) device_id); in _audio_system_get_default_device() 76 return device_id; in _audio_system_get_default_device() 116 _audio_device_is_alive (AudioDeviceID device_id, gboolean output) in _audio_device_is_alive() argument 132 status = AudioObjectGetPropertyData (device_id, in _audio_device_is_alive() 142 _audio_device_get_latency (AudioDeviceID device_id) in _audio_device_get_latency() argument 154 status = AudioObjectGetPropertyData (device_id, in _audio_device_get_latency() 165 _audio_device_get_hog (AudioDeviceID device_id) in _audio_device_get_hog() argument 177 status = AudioObjectGetPropertyData (device_id, in _audio_device_get_hog() [all …]
|
D | gstosxaudiodeviceprovider.c | 44 static GstOsxAudioDevice *gst_osx_audio_device_new (AudioDeviceID device_id, 75 provider, AudioDeviceID device_id, const gchar * device_name, in gst_osx_audio_device_provider_probe_device() argument 83 core_audio->device_id = device_id; in gst_osx_audio_device_provider_probe_device() 90 device = gst_osx_audio_device_new (device_id, device_name, type, core_audio); in gst_osx_audio_device_provider_probe_device() 101 _audio_device_get_name (AudioDeviceID device_id, gboolean output) in _audio_device_get_name() argument 120 status = AudioObjectGetPropertyDataSize (device_id, in _audio_device_get_name() 128 status = AudioObjectGetPropertyData (device_id, in _audio_device_get_name() 140 _audio_device_has_output (AudioDeviceID device_id) in _audio_device_has_output() argument 151 status = AudioObjectGetPropertyDataSize (device_id, in _audio_device_has_output() 294 g_object_set (elem, "device", osxdev->device_id, NULL); in gst_osx_audio_device_create_element() [all …]
|
D | gstosxaudiosrc.c | 168 src->device_id = kAudioDeviceUnknown; in gst_osx_audio_src_init() 179 src->device_id = g_value_get_int (value); in gst_osx_audio_src_set_property() 195 g_value_set_int (value, src->device_id); in gst_osx_audio_src_get_property() 224 if (ringbuffer->core_audio->device_id != osxsrc->device_id) { in gst_osx_audio_src_change_state() 225 osxsrc->device_id = ringbuffer->core_audio->device_id; in gst_osx_audio_src_change_state() 323 if (ringbuffer->core_audio->device_id != osxsrc->device_id) in gst_osx_audio_src_create_ringbuffer() 324 ringbuffer->core_audio->device_id = osxsrc->device_id; in gst_osx_audio_src_create_ringbuffer()
|
D | gstosxaudiosink.c | 205 sink->device_id = kAudioDeviceUnknown; in gst_osx_audio_sink_init() 218 sink->device_id = g_value_get_int (value); in gst_osx_audio_sink_set_property() 256 if (ringbuffer->core_audio->device_id != osxsink->device_id) { in gst_osx_audio_sink_change_state() 257 osxsink->device_id = ringbuffer->core_audio->device_id; in gst_osx_audio_sink_change_state() 278 g_value_set_int (value, sink->device_id); in gst_osx_audio_sink_get_property() 502 if (ringbuffer->core_audio->device_id != osxsink->device_id) in gst_osx_audio_sink_create_ringbuffer() 503 ringbuffer->core_audio->device_id = osxsink->device_id; in gst_osx_audio_sink_create_ringbuffer()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/android/ |
D | SDL_sysjoystick.c | 65 static SDL_joylist_item * JoystickByDeviceId(int device_id); 182 Android_OnPadDown(int device_id, int keycode) in Android_OnPadDown() argument 187 item = JoystickByDeviceId(device_id); in Android_OnPadDown() 198 Android_OnPadUp(int device_id, int keycode) in Android_OnPadUp() argument 203 item = JoystickByDeviceId(device_id); in Android_OnPadUp() 214 Android_OnJoy(int device_id, int axis, float value) in Android_OnJoy() argument 217 SDL_joylist_item *item = JoystickByDeviceId(device_id); in Android_OnJoy() 226 Android_OnHat(int device_id, int hat_id, int x, int y) in Android_OnHat() argument 235 SDL_joylist_item *item = JoystickByDeviceId(device_id); in Android_OnHat() 247 Android_AddJoystick(int device_id, const char *name, SDL_bool is_accelerometer, int nbuttons, int n… in Android_AddJoystick() argument [all …]
|
D | SDL_sysjoystick_c.h | 27 extern int Android_OnPadDown(int device_id, int keycode); 28 extern int Android_OnPadUp(int device_id, int keycode); 29 extern int Android_OnJoy(int device_id, int axisnum, float value); 30 extern int Android_OnHat(int device_id, int hat_id, int x, int y); 31 extern int Android_AddJoystick(int device_id, const char *name, SDL_bool is_accelerometer, int nbut… 32 extern int Android_RemoveJoystick(int device_id); 38 int device_id; /* Android's device id */ member
|
/third_party/weston/libweston/backend-hdi/ |
D | hdi_head.cpp | 47 uint32_t device_id; member 60 return to_hdi_head(base)->device_id; in hdi_head_get_device_id() 72 hdi_head_create(struct weston_compositor *compositor, uint32_t device_id) in hdi_head_create() argument 83 head->device_id = device_id; in hdi_head_create() 86 if (device_id == 0) { in hdi_head_create() 87 b->device_funcs->RegDisplayVBlankCallback(device_id, hdi_vblank_callback, NULL); in hdi_head_create() 88 b->device_funcs->SetDisplayVsyncEnabled(device_id, true); in hdi_head_create() 92 int ret = b->device_funcs->GetDisplayCapability(head->device_id, &head->displayCapability); in hdi_head_create()
|
D | hdi_renderer.cpp | 98 void hdi_renderer_layer_operation(struct hdi_backend *b, int32_t device_id, int32_t layer_id, in hdi_renderer_layer_operation() argument 117 b->layer_dump_info_pending[device_id][layer_id] = dump_info; in hdi_renderer_layer_operation() 119 LOG_CORE("LayerOperation device_id=%d layer_id=%d", device_id, layer_id); in hdi_renderer_layer_operation() 121 auto ret = b->layer_funcs->SetLayerBuffer(device_id, layer_id, buffer, fence); in hdi_renderer_layer_operation() 125 auto ret = b->layer_funcs->SetLayerAlpha(device_id, layer_id, alpha); in hdi_renderer_layer_operation() 128 ret = b->layer_funcs->SetLayerSize(device_id, layer_id, dst); in hdi_renderer_layer_operation() 131 ret = b->layer_funcs->SetLayerCrop(device_id, layer_id, src); in hdi_renderer_layer_operation() 134 ret = b->layer_funcs->SetLayerZorder(device_id, layer_id, zorder); in hdi_renderer_layer_operation() 137 ret = b->layer_funcs->SetLayerBlendType(device_id, layer_id, blend_type); in hdi_renderer_layer_operation() 140 ret = b->layer_funcs->SetLayerCompositionType(device_id, layer_id, comp_type); in hdi_renderer_layer_operation() [all …]
|
D | hdi_backend.cpp | 66 hdi_backend_plug_event(uint32_t device_id, bool connected, void *data) in hdi_backend_plug_event() argument 73 hdi_head_create(b->compositor, device_id); in hdi_backend_plug_event() 78 if (hdi_head_get_device_id(base) == device_id) { in hdi_backend_plug_event() 166 for (auto &[device_id, framebuffer] : hps->framebuffers) { in hdi_backend_repaint_flush() 169 int ret = b->device_funcs->PrepareDisplayLayers(device_id, &needFlushFramebuffer); in hdi_backend_repaint_flush() 170 LOG_CORE("[ret=%d] DeviceFuncs.PrepareDisplayLayers device_id: %d", ret, device_id); in hdi_backend_repaint_flush() 191 ret = b->device_funcs->SetDisplayClientBuffer(device_id, framebuffer, -1); in hdi_backend_repaint_flush() 198 ret = b->device_funcs->Commit(device_id, &fence); in hdi_backend_repaint_flush() 227 for (auto &[device_id, res] : b->view_dump_info) { in OnDumpView() 228 dumper->SendInfo(dumper_view_tag, "device_id: %d", device_id); in OnDumpView() [all …]
|
D | hdi_output.cpp | 213 auto device_id = hdi_head_get_device_id(h); in hdi_output_repaint() local 253 b->view_dump_info_pending[device_id].push_back(dump_info); in hdi_output_repaint() 266 LOG_IMPORTANT("device_id: %d", device_id); in hdi_output_repaint() 282 hps->framebuffers[device_id] = hdi_framebuffer; in hdi_output_repaint() 284 hps->framebuffers[device_id] = gl_framebuffer; in hdi_output_repaint() 288 output->framebuffer = hps->framebuffers[device_id]; in hdi_output_repaint() 321 uint32_t device_id = hdi_head_get_device_id(whead); in hdi_output_set_mode() local 324 int ret = b->device_funcs->GetDisplaySupportedModes(device_id, &mode_number, NULL); in hdi_output_set_mode() 329 ret = b->device_funcs->GetDisplaySupportedModes(device_id, &mode_number, modes); in hdi_output_set_mode() 334 ret = b->device_funcs->GetDisplayMode(device_id, &active_mode_id); in hdi_output_set_mode()
|
/third_party/libxkbcommon/src/x11/ |
D | state.c | 30 uint16_t device_id) in update_initial_state() argument 33 xcb_xkb_get_state(conn, device_id); in update_initial_state() 54 xcb_connection_t *conn, int32_t device_id) in xkb_x11_state_new_from_device() argument 58 if (device_id < 0 || device_id > 255) { in xkb_x11_state_new_from_device() 59 log_err_func(keymap->ctx, "illegal device ID: %d", device_id); in xkb_x11_state_new_from_device() 67 if (!update_initial_state(state, conn, device_id)) { in xkb_x11_state_new_from_device()
|
D | keymap.c | 648 get_map(struct xkb_keymap *keymap, xcb_connection_t *conn, uint16_t device_id) in get_map() argument 660 xcb_xkb_get_map(conn, device_id, required_components, in get_map() 752 uint16_t device_id) in get_indicator_map() argument 755 xcb_xkb_get_indicator_map(conn, device_id, ALL_INDICATORS_MASK); in get_indicator_map() 834 uint16_t device_id) in get_compat_map() argument 837 xcb_xkb_get_compat_map(conn, device_id, 0, true, 0, 0); in get_compat_map() 1055 uint16_t device_id) in get_names() argument 1076 xcb_xkb_get_names(conn, device_id, wanted); in get_names() 1123 uint16_t device_id) in get_controls() argument 1126 xcb_xkb_get_controls(conn, device_id); in get_controls() [all …]
|
/third_party/weston/compositor/ |
D | cms-colord.c | 107 GString *device_id; in get_output_id() local 121 device_id = g_string_new("xrandr"); in get_output_id() 126 g_string_append_printf(device_id, "-%s", tmp); in get_output_id() 129 g_string_append_printf(device_id, "-%s", head->model); in get_output_id() 131 g_string_append_printf(device_id, "-%s", head->serial_number); in get_output_id() 134 if (strcmp(device_id->str, "xrandr") == 0) in get_output_id() 135 g_string_append_printf(device_id, "-drm-%i", o->id); in get_output_id() 137 return g_string_free(device_id, FALSE); in get_output_id() 234 gchar *device_id; in colord_notifier_output_destroy() local 236 device_id = get_output_id(cms, o); in colord_notifier_output_destroy() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/ |
D | SDL_mirevents.c | 132 HandleTouchPress(int device_id, int source_id, SDL_bool down, float x, float y, float pressure) in HandleTouchPress() argument 134 SDL_SendTouch(device_id, source_id, down, x, y, pressure); in HandleTouchPress() 138 HandleTouchMotion(int device_id, int source_id, float x, float y, float pressure) in HandleTouchMotion() argument 140 SDL_SendTouchMotion(device_id, source_id, x, y, pressure); in HandleTouchMotion() 150 AddTouchDevice(int device_id) in AddTouchDevice() argument 152 if (SDL_AddTouch(device_id, "") < 0) in AddTouchDevice() 157 HandleTouchEvent(MirTouchEvent const* touch, int device_id, SDL_Window* sdl_window) in HandleTouchEvent() argument 162 AddTouchDevice(device_id); in HandleTouchEvent() 180 HandleTouchPress(device_id, id, SDL_FALSE, n_x, n_y, pressure); in HandleTouchEvent() 183 HandleTouchPress(device_id, id, SDL_TRUE, n_x, n_y, pressure); in HandleTouchEvent() [all …]
|
/third_party/libxkbcommon/test/ |
D | x11.c | 35 int32_t device_id; in main() local 62 device_id = xkb_x11_get_core_keyboard_device_id(conn); in main() 63 assert(device_id != -1); in main() 65 keymap = xkb_x11_keymap_new_from_device(ctx, conn, device_id, in main() 69 state = xkb_x11_state_new_from_device(keymap, conn, device_id); in main()
|
D | x11comp.c | 43 int32_t device_id; in main() local 117 device_id = xkb_x11_get_core_keyboard_device_id(conn); in main() 118 assert(device_id != -1); in main() 135 keymap = xkb_x11_keymap_new_from_device(ctx, conn, device_id, in main()
|
/third_party/libxkbcommon/bench/ |
D | x11.c | 43 int32_t device_id; in main() local 66 device_id = xkb_x11_get_core_keyboard_device_id(conn); in main() 67 if (device_id == -1) { in main() 85 keymap = xkb_x11_keymap_new_from_device(ctx, conn, device_id, in main() 89 state = xkb_x11_state_new_from_device(keymap, conn, device_id); in main()
|
/third_party/libxkbcommon/tools/ |
D | interactive-x11.c | 61 int32_t device_id; member 67 select_xkb_events_for_device(xcb_connection_t *conn, int32_t device_id) in select_xkb_events_for_device() argument 105 device_id, in select_xkb_events_for_device() 129 kbd->device_id, in update_keymap() 135 kbd->device_id); in update_keymap() 156 int32_t device_id, struct xkb_context *ctx) in init_kbd() argument 165 kbd->device_id = device_id; in init_kbd() 171 ret = select_xkb_events_for_device(conn, device_id); in init_kbd() 207 if (event->any.deviceID != kbd->device_id) in process_xkb_event()
|
/third_party/libdrm/radeon/ |
D | radeon_cs_gem.c | 57 uint32_t device_id; member 341 bof_t *bcs, *blob, *array, *bo, *size, *handle, *device_id, *root; in cs_gem_dump_bof() local 346 root = device_id = bcs = blob = array = bo = size = handle = NULL; in cs_gem_dump_bof() 350 device_id = bof_int32(csm->device_id); in cs_gem_dump_bof() 351 if (device_id == NULL) in cs_gem_dump_bof() 353 if (bof_object_set(root, "device_id", device_id)) in cs_gem_dump_bof() 355 bof_decref(device_id); in cs_gem_dump_bof() 356 device_id = NULL; in cs_gem_dump_bof() 411 sprintf(tmp, "d-0x%04X-%08d.bof", csm->device_id, csm->nbof++); in cs_gem_dump_bof() 419 bof_decref(device_id); in cs_gem_dump_bof() [all …]
|
/third_party/libusb/examples/ |
D | fxload.c | 85 const char *device_id = NULL; in main() local 103 device_id = optarg; in main() 104 if (sscanf(device_id, "%x:%x" , &vid, &pid) != 2 ) { in main() 155 if ((device_id != NULL) && (device_path != NULL)) { in main() 183 if ((type == NULL) || (device_id == NULL) || (device_path != NULL)) { in main() 206 ((type == NULL) && (device_id == NULL) && (device_path == NULL)) || in main() 208 … ((type == NULL) && (device_id != NULL) && (vid == desc.idVendor) && (pid == desc.idProduct)) || in main() 212 …((type != NULL) && (device_id == NULL) && (device_path == NULL) && (fx_type == known_device[j].typ… in main() 243 } else if (device_id != NULL) { in main()
|
/third_party/pulseaudio/src/modules/macosx/ |
D | module-coreaudio-detect.c | 121 AudioDeviceID *device_id; in ca_update_device_list() local 140 device_id = pa_xnew(AudioDeviceID, num_devices); in ca_update_device_list() 142 …AudioObjectGetPropertyData(kAudioObjectSystemObject, &property_address, 0, NULL, &size, device_id); in ca_update_device_list() 145 pa_xfree(device_id); in ca_update_device_list() 154 if (dev->id == device_id[i]) { in ca_update_device_list() 160 ca_device_added(m, device_id[i]); in ca_update_device_list() 170 if (dev->id == device_id[i]) { in ca_update_device_list() 185 pa_xfree(device_id); in ca_update_device_list()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/ |
D | SDL_DirectFB_events.c | 320 SDL_SendMouseMotion_ex(devdata->grabbed_window, ievt->device_id, 1, in ProcessInputEvent() 323 SDL_SendMouseMotion_ex(devdata->grabbed_window, ievt->device_id, 1, 0, in ProcessInputEvent() 339 SDL_Mouse *mouse = SDL_GetMouse(ievt->device_id); in ProcessInputEvent() 350 SDL_SendMouseMotion_ex(window, ievt->device_id, 0, in ProcessInputEvent() 356 SDL_SendMouseMotion_ex(window, ievt->device_id, 0, last_x, in ProcessInputEvent() 362 SDL_SendMouseMotion_ex(devdata->grabbed_window, ievt->device_id, 1, in ProcessInputEvent() 365 SDL_SendMouseMotion_ex(devdata->grabbed_window, ievt->device_id, 1, 0, in ProcessInputEvent() 370 kbd_idx = KbdIndex(_this, ievt->device_id); in ProcessInputEvent() 383 kbd_idx = KbdIndex(_this, ievt->device_id); in ProcessInputEvent() 389 SDL_SendMouseButton_ex(devdata->grabbed_window, ievt->device_id, SDL_PRESSED, 1); in ProcessInputEvent() [all …]
|
/third_party/uboot/u-boot-2020.01/include/ |
D | zynqmp_tap_delay.h | 13 void arasan_zynqmp_set_tapdelay(u8 device_id, u8 uhsmode, u8 bank); 16 inline void arasan_zynqmp_set_tapdelay(u8 device_id, u8 uhsmode, u8 bank) {} in arasan_zynqmp_set_tapdelay() argument
|
/third_party/flutter/skia/third_party/externals/sdl/android-project/src/org/libsdl/app/ |
D | SDLActivity.java | 420 public static native int onNativePadDown(int device_id, int keycode); in onNativePadDown() argument 421 public static native int onNativePadUp(int device_id, int keycode); in onNativePadUp() argument 422 public static native void onNativeJoy(int device_id, int axis, in onNativeJoy() argument 424 public static native void onNativeHat(int device_id, int hat_id, in onNativeHat() argument 436 public static native int nativeAddJoystick(int device_id, String name, in nativeAddJoystick() argument 439 public static native int nativeRemoveJoystick(int device_id); in nativeRemoveJoystick() argument 1578 public int device_id; field in SDLJoystickHandler_API12.SDLJoystick 1611 joystick.device_id = deviceIds[i]; in pollInputDevices() 1631 SDLActivity.nativeAddJoystick(joystick.device_id, joystick.name, 0, -1, in pollInputDevices() 1640 int device_id = mJoysticks.get(i).device_id; in pollInputDevices() local [all …]
|
/third_party/libxkbcommon/xkbcommon/ |
D | xkbcommon-x11.h | 212 int32_t device_id, 236 int32_t device_id);
|