Home
last modified time | relevance | path

Searched refs:pchGUID (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/joystick/
DSDL_gamecontroller.c537 char *pchGUID = SDL_malloc(pFirstComma - pMapping + 1); in SDL_PrivateGetControllerGUIDFromMappingString() local
538 if (!pchGUID) { in SDL_PrivateGetControllerGUIDFromMappingString()
542 SDL_memcpy(pchGUID, pMapping, pFirstComma - pMapping); in SDL_PrivateGetControllerGUIDFromMappingString()
543 pchGUID[ pFirstComma - pMapping ] = 0; in SDL_PrivateGetControllerGUIDFromMappingString()
544 return pchGUID; in SDL_PrivateGetControllerGUIDFromMappingString()
789 char *pchGUID; in SDL_GameControllerAddMapping() local
800 pchGUID = SDL_PrivateGetControllerGUIDFromMappingString(mappingString); in SDL_GameControllerAddMapping()
801 if (!pchGUID) { in SDL_GameControllerAddMapping()
804 if (!SDL_strcasecmp(pchGUID, "xinput")) { in SDL_GameControllerAddMapping()
807 if (!SDL_strcasecmp(pchGUID, "emscripten")) { in SDL_GameControllerAddMapping()
[all …]
DSDL_joystick.c890 SDL_JoystickGUID SDL_JoystickGetGUIDFromString(const char *pchGUID) in SDL_JoystickGetGUIDFromString() argument
894 size_t len = SDL_strlen(pchGUID); in SDL_JoystickGetGUIDFromString()
905 *p = (nibble(pchGUID[i]) << 4) | nibble(pchGUID[i+1]); in SDL_JoystickGetGUIDFromString()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_joystick.h139 extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUIDFromString(const char *pchGUID);