Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/test/
A Dcheckkeys.c95 char *spot; in PrintModifierState() local
98 spot = message; in PrintModifierState()
101 print_modifiers(&spot, &left); in PrintModifierState()
109 char *spot; in PrintKey() local
112 spot = message; in PrintKey()
117 print_string(&spot, &left, in PrintKey()
124 print_string(&spot, &left, in PrintKey()
130 print_modifiers(&spot, &left); in PrintKey()
132 print_string(&spot, &left, " (repeat)"); in PrintKey()
140 char *spot, expanded[1024]; in PrintText() local
[all …]
A Dcontrollermap.c572 char *spot; in WatchJoystick() local
583 while ((spot = SDL_strchr(trimmed_name, ',')) != NULL) { in WatchJoystick()
584 SDL_memmove(spot, spot + 1, SDL_strlen(spot)); in WatchJoystick()
A Dutf8.txt202 to spot problems more quickly. (2) Overlong sequences provide |
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandvideo.c78 char *spot; in get_classname() local
86 spot = SDL_getenv("SDL_VIDEO_WAYLAND_WMCLASS"); in get_classname()
87 if (spot) { in get_classname()
88 return SDL_strdup(spot); in get_classname()
91 spot = SDL_getenv("SDL_VIDEO_X11_WMCLASS"); in get_classname()
92 if (spot) { in get_classname()
93 return SDL_strdup(spot); in get_classname()
110 spot = SDL_strrchr(linkfile, '/'); in get_classname()
111 if (spot) { in get_classname()
112 return SDL_strdup(spot + 1); in get_classname()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11video.c54 char *spot; in get_classname() local
62 spot = SDL_getenv("SDL_VIDEO_X11_WMCLASS"); in get_classname()
63 if (spot) { in get_classname()
64 return SDL_strdup(spot); in get_classname()
80 spot = SDL_strrchr(linkfile, '/'); in get_classname()
81 if (spot) { in get_classname()
82 return SDL_strdup(spot + 1); in get_classname()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_surface.c334 Uint16 *row, *spot; in SDL_ConvertColorkeyToAlpha() local
343 spot = row; in SDL_ConvertColorkeyToAlpha()
346 *spot &= mask; in SDL_ConvertColorkeyToAlpha()
348 ++spot; in SDL_ConvertColorkeyToAlpha()
355 spot = row; in SDL_ConvertColorkeyToAlpha()
360 ++spot; in SDL_ConvertColorkeyToAlpha()
372 Uint32 *row, *spot; in SDL_ConvertColorkeyToAlpha() local
381 spot = row; in SDL_ConvertColorkeyToAlpha()
386 ++spot; in SDL_ConvertColorkeyToAlpha()
393 spot = row; in SDL_ConvertColorkeyToAlpha()
[all …]
A DSDL_bmp.c66 Uint8 *bits = end-pitch, *spot; in readRlePixels() local
71 #define COPY_PIXEL(x) spot = &bits[ofs++]; if(spot >= start && spot < end) *spot = (x) in readRlePixels()
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_gamecontroller.c142 char *spot; in SDL_LoadVIDPIDListFromHint() local
153 if (!spot) { in SDL_LoadVIDPIDListFromHint()
157 while ((spot = SDL_strstr(spot, "0x")) != NULL) { in SDL_LoadVIDPIDListFromHint()
158 entry = (Uint16)SDL_strtol(spot, &spot, 0); in SDL_LoadVIDPIDListFromHint()
160 spot = SDL_strstr(spot, "0x"); in SDL_LoadVIDPIDListFromHint()
161 if (!spot) { in SDL_LoadVIDPIDListFromHint()
164 entry |= (Uint16)SDL_strtol(spot, &spot, 0); in SDL_LoadVIDPIDListFromHint()
954 char *spot; in SDL_CreateMappingForAndroidController() local
955 for (spot = name_string; *spot; ++spot) { in SDL_CreateMappingForAndroidController()
1133 char *spot; in SDL_PrivateGenerateAutomaticControllerMapping() local
[all …]
A Dcontroller_type.h565 const char *spot = NULL; in GetControllerTypeOverride() local
568 spot = SDL_strstr(hint, key); in GetControllerTypeOverride()
569 if (!spot) { in GetControllerTypeOverride()
571 spot = SDL_strstr(hint, key); in GetControllerTypeOverride()
573 if (spot) { in GetControllerTypeOverride()
574 spot += SDL_strlen(key); in GetControllerTypeOverride()
575 if (SDL_strncmp(spot, "k_eControllerType_", 18) == 0) { in GetControllerTypeOverride()
576 spot += 18; in GetControllerTypeOverride()
578 return spot; in GetControllerTypeOverride()
/AliOS-Things-master/components/SDL2/src/ttf/
A DSDL_ttf.c2007 ++spot; in TTF_RenderUTF8_Blended_Wrapped()
2010 ++spot; in TTF_RenderUTF8_Blended_Wrapped()
2013 spot = end; in TTF_RenderUTF8_Blended_Wrapped()
2015 next_tok = spot; in TTF_RenderUTF8_Blended_Wrapped()
2022 --spot; in TTF_RenderUTF8_Blended_Wrapped()
2024 if (spot == tok) { in TTF_RenderUTF8_Blended_Wrapped()
2030 delim = *spot; in TTF_RenderUTF8_Blended_Wrapped()
2031 *spot = '\0'; in TTF_RenderUTF8_Blended_Wrapped()
2038 *spot = delim; in TTF_RenderUTF8_Blended_Wrapped()
2043 --spot; in TTF_RenderUTF8_Blended_Wrapped()
[all …]
/AliOS-Things-master/components/SDL2/src/core/linux/
A DSDL_fcitx.c62 char *spot; in GetAppName() local
75 spot = SDL_strrchr(linkfile, '/'); in GetAppName()
76 if (spot) { in GetAppName()
77 return SDL_strdup(spot + 1); in GetAppName()
/AliOS-Things-master/components/SDL2/src/audio/directsound/
A DSDL_directsound.c276 DWORD spot = cursor; in DSOUND_GetDeviceBuf() local
277 if (spot < this->hidden->lastchunk) { in DSOUND_GetDeviceBuf()
278 spot += this->hidden->num_buffers; in DSOUND_GetDeviceBuf()
280 if (spot > this->hidden->lastchunk + 1) { in DSOUND_GetDeviceBuf()
282 (spot - (this->hidden->lastchunk + 1))); in DSOUND_GetDeviceBuf()
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_bmp.c112 Uint8 *bits = end-pitch, *spot; in readRlePixels() local
117 #define COPY_PIXEL(x) spot = &bits[ofs++]; if(spot >= start && spot < end) *spot = (x) in readRlePixels()

Completed in 30 milliseconds