/third_party/flutter/skia/third_party/externals/sdl/src/joystick/dummy/ |
D | SDL_sysjoystick.c | 51 SDL_SYS_JoystickNameForDeviceIndex(int device_index) in SDL_SYS_JoystickNameForDeviceIndex() argument 58 SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index) in SDL_SYS_GetInstanceIdOfDeviceIndex() argument 60 return device_index; in SDL_SYS_GetInstanceIdOfDeviceIndex() 69 SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index) in SDL_SYS_JoystickOpen() argument 102 SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID( int device_index ) in SDL_SYS_JoystickGetDeviceGUID() argument 106 const char *name = SDL_SYS_JoystickNameForDeviceIndex( device_index ); in SDL_SYS_JoystickGetDeviceGUID()
|
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/ |
D | SDL_haptic.c | 93 SDL_HapticName(int device_index) in SDL_HapticName() argument 95 if ((device_index < 0) || (device_index >= SDL_NumHaptics())) { in SDL_HapticName() 100 return SDL_SYS_HapticName(device_index); in SDL_HapticName() 108 SDL_HapticOpen(int device_index) in SDL_HapticOpen() argument 113 if ((device_index < 0) || (device_index >= SDL_NumHaptics())) { in SDL_HapticOpen() 125 if (device_index == hapticlist->index) { in SDL_HapticOpen() 143 haptic->index = device_index; in SDL_HapticOpen() 169 SDL_HapticOpened(int device_index) in SDL_HapticOpened() argument 175 if ((device_index < 0) || (device_index >= SDL_NumHaptics())) { in SDL_HapticOpened() 186 if (hapticlist->index == (Uint8) device_index) { in SDL_HapticOpened() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/ |
D | SDL_sysjoystick.h | 76 extern const char *SDL_SYS_JoystickNameForDeviceIndex(int device_index); 79 extern SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index); 86 extern int SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index); 107 extern SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID(int device_index); 114 extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index);
|
D | SDL_joystick.c | 84 SDL_JoystickNameForIndex(int device_index) in SDL_JoystickNameForIndex() argument 86 if ((device_index < 0) || (device_index >= SDL_NumJoysticks())) { in SDL_JoystickNameForIndex() 90 return (SDL_SYS_JoystickNameForDeviceIndex(device_index)); in SDL_JoystickNameForIndex() 101 SDL_JoystickOpen(int device_index) in SDL_JoystickOpen() argument 107 if ((device_index < 0) || (device_index >= SDL_NumJoysticks())) { in SDL_JoystickOpen() 117 if (SDL_SYS_GetInstanceIdOfDeviceIndex(device_index) == joysticklist->instance_id) { in SDL_JoystickOpen() 133 if (SDL_SYS_JoystickOpen(joystick, device_index) < 0) { in SDL_JoystickOpen() 138 joystickname = SDL_SYS_JoystickNameForDeviceIndex(device_index); in SDL_JoystickOpen() 501 void SDL_PrivateJoystickAdded(int device_index) in SDL_PrivateJoystickAdded() argument 509 event.jdevice.which = device_index; in SDL_PrivateJoystickAdded() [all …]
|
D | SDL_gamecontroller.c | 670 ControllerMapping_t *SDL_PrivateGetControllerMapping(int device_index) in SDL_PrivateGetControllerMapping() argument 672 SDL_JoystickGUID jGUID = SDL_JoystickGetDeviceGUID(device_index); in SDL_PrivateGetControllerMapping() 677 if (!mapping && SDL_SYS_IsXInputGamepad_DeviceIndex(device_index)) { in SDL_PrivateGetControllerMapping() 688 const char *name = SDL_JoystickNameForIndex(device_index); in SDL_PrivateGetControllerMapping() 702 const char *name = SDL_JoystickNameForIndex(device_index); in SDL_PrivateGetControllerMapping() 937 SDL_GameControllerNameForIndex(int device_index) in SDL_GameControllerNameForIndex() argument 939 ControllerMapping_t *pSupportedController = SDL_PrivateGetControllerMapping(device_index); in SDL_GameControllerNameForIndex() 951 SDL_IsGameController(int device_index) in SDL_IsGameController() argument 953 ControllerMapping_t *pSupportedController = SDL_PrivateGetControllerMapping(device_index); in SDL_IsGameController() 969 SDL_GameControllerOpen(int device_index) in SDL_GameControllerOpen() argument [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/android/ |
D | SDL_sysjoystick.c | 385 JoystickByDevIndex(int device_index) in JoystickByDevIndex() argument 389 if ((device_index < 0) || (device_index >= numjoysticks)) { in JoystickByDevIndex() 393 while (device_index > 0) { in JoystickByDevIndex() 395 device_index--; in JoystickByDevIndex() 429 SDL_SYS_JoystickNameForDeviceIndex(int device_index) in SDL_SYS_JoystickNameForDeviceIndex() argument 431 return JoystickByDevIndex(device_index)->name; in SDL_SYS_JoystickNameForDeviceIndex() 435 SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index) in SDL_SYS_GetInstanceIdOfDeviceIndex() argument 437 return JoystickByDevIndex(device_index)->device_instance; in SDL_SYS_GetInstanceIdOfDeviceIndex() 446 SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index) in SDL_SYS_JoystickOpen() argument 448 SDL_joylist_item *item = JoystickByDevIndex(device_index); in SDL_SYS_JoystickOpen() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/windows/ |
D | SDL_windowsjoystick.c | 368 int device_index = 0; in SDL_SYS_JoystickDetect() local 379 SDL_PrivateJoystickAdded(device_index); in SDL_SYS_JoystickDetect() 383 device_index++; in SDL_SYS_JoystickDetect() 391 SDL_SYS_JoystickNameForDeviceIndex(int device_index) in SDL_SYS_JoystickNameForDeviceIndex() argument 395 for (; device_index > 0; device_index--) in SDL_SYS_JoystickNameForDeviceIndex() 403 SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index) in SDL_SYS_GetInstanceIdOfDeviceIndex() argument 408 for (index = device_index; index > 0; index--) in SDL_SYS_GetInstanceIdOfDeviceIndex() 420 SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index) in SDL_SYS_JoystickOpen() argument 424 for (; device_index > 0; device_index--) in SDL_SYS_JoystickOpen() 519 SDL_SYS_JoystickGetDeviceGUID(int device_index) in SDL_SYS_JoystickGetDeviceGUID() argument [all …]
|
D | SDL_mmjoystick.c | 197 SDL_SYS_JoystickNameForDeviceIndex(int device_index) in SDL_SYS_JoystickNameForDeviceIndex() argument 199 if (SYS_JoystickName[device_index] != NULL) { in SDL_SYS_JoystickNameForDeviceIndex() 200 return (SYS_JoystickName[device_index]); in SDL_SYS_JoystickNameForDeviceIndex() 202 return (SYS_Joystick[device_index].szPname); in SDL_SYS_JoystickNameForDeviceIndex() 207 SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index) in SDL_SYS_GetInstanceIdOfDeviceIndex() argument 209 return device_index; in SDL_SYS_GetInstanceIdOfDeviceIndex() 218 SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index) in SDL_SYS_JoystickOpen() argument 227 index = device_index; in SDL_SYS_JoystickOpen() 242 joystick->instance_id = device_index; in SDL_SYS_JoystickOpen() 400 SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID( int device_index ) in SDL_SYS_JoystickGetDeviceGUID() argument [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/haiku/ |
D | SDL_haikujoystick.cc | 97 const char *SDL_SYS_JoystickNameForDeviceIndex(int device_index) in SDL_SYS_JoystickNameForDeviceIndex() argument 99 return SDL_joyname[device_index]; in SDL_SYS_JoystickNameForDeviceIndex() 103 SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index) in SDL_SYS_GetInstanceIdOfDeviceIndex() argument 105 return device_index; in SDL_SYS_GetInstanceIdOfDeviceIndex() 113 int SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index) in SDL_SYS_JoystickOpen() argument 118 joystick->instance_id = device_index; in SDL_SYS_JoystickOpen() 129 if (stick->Open(SDL_joyport[device_index]) == B_ERROR) { in SDL_SYS_JoystickOpen() 250 SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID( int device_index ) in SDL_SYS_JoystickGetDeviceGUID() argument 254 const char *name = SDL_SYS_JoystickNameForDeviceIndex( device_index ); in SDL_SYS_JoystickGetDeviceGUID()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/emscripten/ |
D | SDL_sysjoystick.c | 211 JoystickByDeviceIndex(int device_index) in JoystickByDeviceIndex() argument 215 while (0 < device_index) { in JoystickByDeviceIndex() 216 --device_index; in JoystickByDeviceIndex() 254 SDL_SYS_JoystickNameForDeviceIndex(int device_index) in SDL_SYS_JoystickNameForDeviceIndex() argument 256 return JoystickByDeviceIndex(device_index)->name; in SDL_SYS_JoystickNameForDeviceIndex() 260 SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index) in SDL_SYS_GetInstanceIdOfDeviceIndex() argument 262 return JoystickByDeviceIndex(device_index)->device_instance; in SDL_SYS_GetInstanceIdOfDeviceIndex() 271 SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index) in SDL_SYS_JoystickOpen() argument 273 SDL_joylist_item *item = JoystickByDeviceIndex(device_index); in SDL_SYS_JoystickOpen() 381 SDL_SYS_JoystickGetDeviceGUID(int device_index) in SDL_SYS_JoystickGetDeviceGUID() argument [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/darwin/ |
D | SDL_sysjoystick.c | 49 static recDevice *GetDeviceForIndex(int device_index) in GetDeviceForIndex() argument 54 if (device_index == 0) in GetDeviceForIndex() 57 --device_index; in GetDeviceForIndex() 408 int device_index = 0; in JoystickDeviceWasAddedCallback() local 455 ++device_index; in JoystickDeviceWasAddedCallback() 459 ++device_index; /* bump by one since we counted by pNext. */ in JoystickDeviceWasAddedCallback() 462 SDL_PrivateJoystickAdded(device_index); in JoystickDeviceWasAddedCallback() 606 SDL_SYS_JoystickNameForDeviceIndex(int device_index) in SDL_SYS_JoystickNameForDeviceIndex() argument 608 recDevice *device = GetDeviceForIndex(device_index); in SDL_SYS_JoystickNameForDeviceIndex() 615 SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index) in SDL_SYS_GetInstanceIdOfDeviceIndex() argument [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/psp/ |
D | SDL_sysjoystick.c | 145 const char * SDL_SYS_JoystickNameForDeviceIndex(int device_index) in SDL_SYS_JoystickNameForDeviceIndex() argument 151 SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index) in SDL_SYS_GetInstanceIdOfDeviceIndex() argument 153 return device_index; in SDL_SYS_GetInstanceIdOfDeviceIndex() 171 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick, int device_index) in SDL_SYS_JoystickOpen() argument 247 SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID( int device_index ) in SDL_SYS_JoystickGetDeviceGUID() argument 251 const char *name = SDL_SYS_JoystickNameForDeviceIndex( device_index ); in SDL_SYS_JoystickGetDeviceGUID()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/bsd/ |
D | SDL_sysjoystick.c | 217 SDL_SYS_JoystickNameForDeviceIndex(int device_index) in SDL_SYS_JoystickNameForDeviceIndex() argument 219 if (joydevnames[device_index] != NULL) { in SDL_SYS_JoystickNameForDeviceIndex() 220 return (joydevnames[device_index]); in SDL_SYS_JoystickNameForDeviceIndex() 222 return (joynames[device_index]); in SDL_SYS_JoystickNameForDeviceIndex() 226 SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index) in SDL_SYS_GetInstanceIdOfDeviceIndex() argument 228 return device_index; in SDL_SYS_GetInstanceIdOfDeviceIndex() 283 SDL_SYS_JoystickOpen(SDL_Joystick * joy, int device_index) argument 285 char *path = joynames[device_index]; 298 joy->instance_id = device_index; 314 joydevnames[device_index] = SDL_strdup("Gameport joystick"); [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | avfdeviceprovider.m | 34 static GstDevice *gst_avf_device_new (const gchar * device_name, int device_index, 132 g_object_set (elem, "device-index", avf_dev->device_index, NULL); 143 g_object_set (element, "device-index", avf_dev->device_index, NULL); 160 g_value_set_int (value, device->device_index); 178 device->device_index = g_value_get_int (value); 187 gst_avf_device_new (const gchar * device_name, int device_index, GstCaps * caps, GstAvfDeviceType t… 210 "device-index", device_index, NULL);
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/ |
D | SDL_sysjoystick.c | 364 JoystickByDevIndex(int device_index) in JoystickByDevIndex() argument 368 if ((device_index < 0) || (device_index >= numjoysticks)) { in JoystickByDevIndex() 372 while (device_index > 0) { in JoystickByDevIndex() 374 device_index--; in JoystickByDevIndex() 383 SDL_SYS_JoystickNameForDeviceIndex(int device_index) in SDL_SYS_JoystickNameForDeviceIndex() argument 385 return JoystickByDevIndex(device_index)->name; in SDL_SYS_JoystickNameForDeviceIndex() 389 SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index) in SDL_SYS_GetInstanceIdOfDeviceIndex() argument 391 return JoystickByDevIndex(device_index)->device_instance; in SDL_SYS_GetInstanceIdOfDeviceIndex() 541 SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index) in SDL_SYS_JoystickOpen() argument 543 SDL_joylist_item *item = JoystickByDevIndex(device_index); in SDL_SYS_JoystickOpen() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/ |
D | gstdshow.h | 41 gint device_index; member 98 gchar ** device_name, gint * device_index); 122 const gchar *device, const gchar *device_name, const gint device_index);
|
D | gstdshow.cpp | 397 entry->device_index = devidx; in gst_dshow_enumerate_devices() 428 const gchar * device, const gchar * device_name, const gint device_index) in gst_dshow_select_device() argument 435 device_index, device_name, device); in gst_dshow_select_device() 449 } else if (!device && !deviceName && device_index == entry->device_index) { in gst_dshow_select_device() 458 selected->device_index, selected->device_name, selected->device); in gst_dshow_select_device() 489 gchar ** device_name, gint * device_index) in gst_dshow_getdevice_from_devicename() argument 534 if ((!*device_name || !**device_name) && devidx == *device_index) { in gst_dshow_getdevice_from_devicename() 544 *device_index = devidx; in gst_dshow_getdevice_from_devicename()
|
/third_party/flutter/skia/third_party/externals/sdl/include/ |
D | SDL_joystick.h | 96 extern DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index); 107 extern DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickOpen(int device_index); 123 extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetDeviceGUID(int device_index);
|
D | SDL_haptic.h | 817 extern DECLSPEC const char *SDLCALL SDL_HapticName(int device_index); 841 extern DECLSPEC SDL_Haptic *SDLCALL SDL_HapticOpen(int device_index); 852 extern DECLSPEC int SDLCALL SDL_HapticOpened(int device_index);
|
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/windows/ |
D | SDL_windowshaptic.c | 107 HapticByDevIndex(int device_index) in HapticByDevIndex() argument 111 if ((device_index < 0) || (device_index >= numhaptics)) { in HapticByDevIndex() 115 while (device_index > 0) { in HapticByDevIndex() 117 --device_index; in HapticByDevIndex()
|
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/linux/ |
D | SDL_syshaptic.c | 196 HapticByDevIndex(int device_index) in HapticByDevIndex() argument 200 if ((device_index < 0) || (device_index >= numhaptics)) { in HapticByDevIndex() 204 while (device_index > 0) { in HapticByDevIndex() 206 --device_index; in HapticByDevIndex() 480 int device_index = 0; in SDL_SYS_HapticMouse() local 494 return device_index; in SDL_SYS_HapticMouse() 499 ++device_index; in SDL_SYS_HapticMouse() 537 int device_index = 0; in SDL_SYS_HapticOpenFromJoystick() local 547 ++device_index; in SDL_SYS_HapticOpenFromJoystick() 549 haptic->index = device_index; in SDL_SYS_HapticOpenFromJoystick() [all …]
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_hub.h | 38 uint8_t device_index; /* zero means not valid */ member 71 struct usb_device *udev, uint8_t device_index);
|
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/darwin/ |
D | SDL_syshaptic.c | 198 HapticByDevIndex(int device_index) in HapticByDevIndex() argument 202 if ((device_index < 0) || (device_index >= numhaptics)) { in HapticByDevIndex() 206 while (device_index > 0) { in HapticByDevIndex() 208 --device_index; in HapticByDevIndex() 581 int device_index = 0; in SDL_SYS_HapticMouse() local 587 return device_index; in SDL_SYS_HapticMouse() 589 ++device_index; in SDL_SYS_HapticMouse() 629 int device_index = 0; in SDL_SYS_HapticOpenFromJoystick() local 635 haptic->index = device_index; in SDL_SYS_HapticOpenFromJoystick() 638 ++device_index; in SDL_SYS_HapticOpenFromJoystick()
|
/third_party/pulseaudio/src/modules/ |
D | module-device-manager.c | 652 uint32_t role_index, device_index; in route_sink_input() local 685 device_index = u->preferred_sinks[role_index]; in route_sink_input() 686 if (PA_INVALID_INDEX == device_index) in route_sink_input() 689 if (!(sink = pa_idxset_get_by_index(u->core->sinks, device_index))) in route_sink_input() 724 uint32_t role_index, device_index; in route_source_output() local 760 device_index = u->preferred_sources[role_index]; in route_source_output() 761 if (PA_INVALID_INDEX == device_index) in route_source_output() 764 if (!(source = pa_idxset_get_by_index(u->core->sources, device_index))) in route_source_output() 992 uint32_t device_index; in sink_input_new_hook_callback() local 994 device_index = u->preferred_sinks[role_index]; in sink_input_new_hook_callback() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/iphoneos/ |
D | SDL_sysjoystick.m | 62 GetDeviceForIndex(int device_index) 67 while (i < device_index) { 340 SDL_SYS_JoystickNameForDeviceIndex(int device_index) 342 SDL_JoystickDeviceItem *device = GetDeviceForIndex(device_index); 347 SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index) 349 SDL_JoystickDeviceItem *device = GetDeviceForIndex(device_index); 359 SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index) 361 SDL_JoystickDeviceItem *device = GetDeviceForIndex(device_index); 701 SDL_SYS_JoystickGetDeviceGUID( int device_index ) 703 SDL_JoystickDeviceItem *device = GetDeviceForIndex(device_index);
|