/AliOS-Things-master/components/SDL2/src/cpuinfo/ |
A D | SDL_cpuinfo.c | 732 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures() 736 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 8); in SDL_GetCPUFeatures() 740 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 8); in SDL_GetCPUFeatures() 744 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures() 748 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures() 752 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures() 756 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures() 760 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures() 764 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 32); in SDL_GetCPUFeatures() 768 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 32); in SDL_GetCPUFeatures() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/wayland/ |
A D | SDL_waylandwindow.c | 76 width = SDL_max(width, window->min_w); in handle_configure_wl_shell_surface() 81 height = SDL_max(height, window->min_h); in handle_configure_wl_shell_surface() 183 width = SDL_max(width, window->min_w); in handle_configure_zxdg_toplevel() 188 height = SDL_max(height, window->min_h); in handle_configure_zxdg_toplevel() 293 width = SDL_max(width, window->min_w); in handle_configure_xdg_toplevel() 298 height = SDL_max(height, window->min_h); in handle_configure_xdg_toplevel()
|
/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_render_sw.c | 254 verts->w = SDL_max((int)rects->w, 1); in SW_QueueFillRects() 255 verts->h = SDL_max((int)rects->h, 1); in SW_QueueFillRects() 261 verts->w = SDL_max((int)rects->w, 1); in SW_QueueFillRects() 262 verts->h = SDL_max((int)rects->h, 1); in SW_QueueFillRects()
|
/AliOS-Things-master/components/SDL2/src/joystick/windows/ |
A D | SDL_xinputjoystick.c | 428 … SDL_PrivateJoystickAxis(joystick, 1, (Sint16)(-SDL_max(-32767, pXInputState->Gamepad.sThumbLY))); in UpdateXInputJoystickState_OLD() 430 … SDL_PrivateJoystickAxis(joystick, 3, (Sint16)(-SDL_max(-32767, pXInputState->Gamepad.sThumbRY))); in UpdateXInputJoystickState_OLD()
|
/AliOS-Things-master/components/SDL2/src/audio/alsa/ |
A D | SDL_alsa_audio.c | 266 const Uint32 delay = ((needed - (SDL_max(rc, 0))) * 1000) / this->spec.freq; in ALSA_WaitDevice() 267 SDL_Delay(SDL_max(delay, 10)); in ALSA_WaitDevice()
|
/AliOS-Things-master/components/SDL2/test/ |
A D | controllermap.c | 251 int maxA = SDL_max(pBindingA->value.axis.axis_min, pBindingA->value.axis.axis_max); in BBindingContainsBinding() 253 int maxB = SDL_max(pBindingB->value.axis.axis_min, pBindingB->value.axis.axis_max); in BBindingContainsBinding()
|
A D | testgesture.c | 97 for (t = 0; t < 1; t += (float) (1.0f / SDL_max(SDL_fabs(x0 - x1), SDL_fabs(y0 - y1)))) { in drawLine()
|
/AliOS-Things-master/components/SDL2/src/joystick/iphoneos/ |
A D | SDL_sysjoystick.m | 591 accel.x = SDL_min(SDL_max(accel.x, -maxgforce), maxgforce); category 592 accel.y = SDL_min(SDL_max(accel.y, -maxgforce), maxgforce); category 593 accel.z = SDL_min(SDL_max(accel.z, -maxgforce), maxgforce); category
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_stdinc.h | 408 #define SDL_max(x, y) (((x) > (y)) ? (x) : (y)) macro
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowskeyboard.c | 1448 maxcandsize.cx = SDL_max(maxcandsize.cx, candsizes[i].cx); in IME_RenderCandidateList() 1449 maxcandsize.cy = SDL_max(maxcandsize.cy, candsizes[i].cy); in IME_RenderCandidateList()
|
/AliOS-Things-master/components/SDL2/src/render/ |
A D | SDL_render.c | 2467 const int maxY = SDL_max(points[i].y, points[i+1].y); in RenderDrawLinesWithRects() 2476 const int maxX = SDL_max(points[i].x, points[i+1].x); in RenderDrawLinesWithRects() 2522 const int maxY = (int)SDL_max(points[i].y, points[i+1].y); in RenderDrawLinesWithRectsF() 2531 const int maxX = (int)SDL_max(points[i].x, points[i+1].x); in RenderDrawLinesWithRectsF()
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_egl.c | 885 attribs[attr++] = SDL_max(major_version, 1); in SDL_EGL_CreateContext()
|
A D | SDL_video.c | 2153 … SDL_SetWindowSize(window, SDL_max(window->w, window->min_w), SDL_max(window->h, window->min_h)); in SDL_SetWindowMinimumSize()
|
/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_mouse.c | 589 clicks = SDL_max(clicks, 0);
|
A D | SDL_events.c | 101 SDL_DoEventLogging = (hint && *hint) ? SDL_max(SDL_min(SDL_atoi(hint), 2), 0) : 0; in SDL_EventLoggingChanged()
|