Home
last modified time | relevance | path

Searched refs:SDL_memcmp (Results 1 – 25 of 35) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/image/
A DIMG_lbm.c70 if ( !SDL_memcmp( magic, "FORM", 4 ) && in IMG_isLBM()
71 ( !SDL_memcmp( magic + 8, "PBM ", 4 ) || in IMG_isLBM()
72 !SDL_memcmp( magic + 8, "ILBM", 4 ) ) ) in IMG_isLBM()
119 if ( SDL_memcmp( id, "FORM", 4 ) != 0 ) in IMG_LoadLBM_RW()
134 if ( !SDL_memcmp( id, "PBM ", 4 ) ) pbm = 1; in IMG_LoadLBM_RW()
135 else if ( SDL_memcmp( id, "ILBM", 4 ) ) in IMG_LoadLBM_RW()
147 while ( SDL_memcmp( id, "BODY", 4 ) != 0 ) in IMG_LoadLBM_RW()
165 if ( !SDL_memcmp( id, "BMHD", 4 ) ) /* Bitmap header */ in IMG_LoadLBM_RW()
184 if ( !SDL_memcmp( id, "CMAP", 4 ) ) /* palette ( Color Map ) */ in IMG_LoadLBM_RW()
201 if ( !SDL_memcmp( id, "CAMG", 4 ) ) /* Amiga ViewMode */ in IMG_LoadLBM_RW()
[all …]
A DIMG_xv.c57 (SDL_memcmp(line, "P7 332", 6) != 0) ) { in get_header()
63 if ( SDL_memcmp(line, "#BUILTIN:", 9) == 0 ) { in get_header()
67 if ( SDL_memcmp(line, "#END_OF_COMMENTS", 16) == 0 ) { in get_header()
A DIMG_xpm.c61 if ( SDL_memcmp(magic, "/* XPM */", sizeof(magic)) == 0 ) { in IMG_isXPM()
164 if (SDL_memcmp(key, entry->key, cpp) == 0) in get_colorhash()
A DIMG_gif.c43 ((SDL_memcmp(magic + 3, "87a", 3) == 0) || in IMG_isGIF()
44 (SDL_memcmp(magic + 3, "89a", 3) == 0)) ) { in IMG_isGIF()
/AliOS-Things-master/components/SDL2/test/
A Dtestfile.c155 if (SDL_memcmp(test_buf, "1234567", 7)) in main()
165 if (SDL_memcmp(test_buf, "12345678901234567890", 20)) in main()
191 if (SDL_memcmp(test_buf, "1234567", 7)) in main()
201 if (SDL_memcmp(test_buf, "12345678901234567890", 20)) in main()
226 if (SDL_memcmp(test_buf, "1234567", 7)) in main()
236 if (SDL_memcmp(test_buf, "12345678901234567890", 20)) in main()
263 if (SDL_memcmp(test_buf, "1234567", 7)) in main()
277 if (SDL_memcmp(test_buf, "123456789012345678901234567123", 30)) in main()
A Dtesticonv.c74 if (!test[1] || SDL_memcmp(test[1], ucs4, len) != 0) { in main()
A Dtestautomation_rwops.c139 SDL_memcmp(buf, RWopsHelloWorldTestString, sizeof(RWopsHelloWorldTestString)-1 ) == 0, in _testGenericRWopsValidations()
A Dcontrollermap.c258 return SDL_memcmp(pBindingA, pBindingB, sizeof(*pBindingA)) == 0; in BBindingContainsBinding()
/AliOS-Things-master/components/SDL2/src/core/windows/
A DSDL_windows.c222 return (SDL_memcmp(a, b, sizeof (*a)) == 0); in WIN_IsEqualGUID()
228 return (SDL_memcmp(a, b, sizeof (*a)) == 0); in WIN_IsEqualIID()
/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_dinputjoystick.c389 if (SDL_memcmp(&pGuidProductFromDirectInput->Data4[2], "PIDVID", 6) == 0) { in SDL_IsXInputDevice()
627 if (SDL_memcmp(&pdidInstance->guidProduct.Data4[2], "PIDVID", 6) == 0) { in EnumJoysticksCallback()
642 if (SDL_memcmp(&pdidInstance->guidProduct.Data4[2], "PIDVID", 6) == 0) { in EnumJoysticksCallback()
713 if (SDL_memcmp(&pdidInstance->guidProduct.Data4[2], "PIDVID", 6) == 0) { in EnumJoystickPresentCallback()
761 if (!SDL_memcmp(&dev->guidType, &GUID_XAxis, sizeof(dev->guidType))) in EnumDevObjectsCallback()
763 else if (!SDL_memcmp(&dev->guidType, &GUID_YAxis, sizeof(dev->guidType))) in EnumDevObjectsCallback()
765 else if (!SDL_memcmp(&dev->guidType, &GUID_ZAxis, sizeof(dev->guidType))) in EnumDevObjectsCallback()
767 else if (!SDL_memcmp(&dev->guidType, &GUID_RxAxis, sizeof(dev->guidType))) in EnumDevObjectsCallback()
769 else if (!SDL_memcmp(&dev->guidType, &GUID_RyAxis, sizeof(dev->guidType))) in EnumDevObjectsCallback()
771 else if (!SDL_memcmp(&dev->guidType, &GUID_RzAxis, sizeof(dev->guidType))) in EnumDevObjectsCallback()
[all …]
/AliOS-Things-master/components/SDL2/src/sensor/coremotion/
A DSDL_coremotionsensor.m164 if (SDL_memcmp(data, sensor->hwdata->data, sizeof(data)) != 0) {
180 if (SDL_memcmp(data, sensor->hwdata->data, sizeof(data)) != 0) {
/AliOS-Things-master/components/SDL2/src/audio/wasapi/
A DSDL_wasapi.c552 …if ((SDL_memcmp(&ext->SubFormat, &SDL_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, sizeof (GUID)) == 0) && (wa… in WASAPI_PrepDevice()
554 …} else if ((SDL_memcmp(&ext->SubFormat, &SDL_KSDATAFORMAT_SUBTYPE_PCM, sizeof (GUID)) == 0) && (wa… in WASAPI_PrepDevice()
556 …} else if ((SDL_memcmp(&ext->SubFormat, &SDL_KSDATAFORMAT_SUBTYPE_PCM, sizeof (GUID)) == 0) && (wa… in WASAPI_PrepDevice()
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_gamecontroller.c460 if (SDL_memcmp(guid, &pSupportedController->guid, sizeof(*guid)) == 0) { in SDL_PrivateGetControllerMappingForGUID()
771 SDL_memcmp(&pchGUID[20], "504944564944", 12) == 0) { in SDL_PrivateGetControllerGUIDFromMappingString()
779 SDL_memcmp(&pchGUID[4], "000000000000", 12) == 0 && in SDL_PrivateGetControllerGUIDFromMappingString()
780 SDL_memcmp(&pchGUID[20], "000000000000", 12) == 0) { in SDL_PrivateGetControllerGUIDFromMappingString()
844 …if (!SDL_memcmp(&gamecontrollerlist->joystick->guid, &pControllerMapping->guid, sizeof(pController… in SDL_PrivateGameControllerRefreshMapping()
1410 if (SDL_memcmp(&mapping->guid, &s_zeroGUID, sizeof(mapping->guid)) == 0) { in SDL_GameControllerNumMappings()
1427 if (SDL_memcmp(&mapping->guid, &s_zeroGUID, sizeof(mapping->guid)) == 0) { in SDL_GameControllerMappingForIndex()
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowswindow.c951 if (SDL_memcmp(&rect, &clipped_rect, sizeof(rect)) != 0) { in WIN_UpdateClipCursor()
961 if (SDL_memcmp(&rect, &clipped_rect, sizeof(rect)) != 0) { in WIN_UpdateClipCursor()
968 } else if (SDL_memcmp(&clipped_rect, &data->cursor_clipped_rect, sizeof(clipped_rect)) == 0) { in WIN_UpdateClipCursor()
/AliOS-Things-master/components/SDL2/include/
A DSDL_stdinc.h457 extern DECLSPEC int SDLCALL SDL_memcmp(const void *s1, const void *s2, size_t len);
599 #define SDL_memcmp memcmp macro
/AliOS-Things-master/components/SDL2/src/audio/jack/
A DSDL_jackaudio.c331 if (len >= 5 && !SDL_memcmp(type+len-5, "audio", 5)) { in JACK_OpenDevice()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11video.c141 if (SDL_memcmp(&display->current_mode, &display->desktop_mode, in X11_SafetyNetErrHandler()
/AliOS-Things-master/components/SDL2/src/render/psp/
A DSDL_render_psp.c719 if (SDL_memcmp(viewport, &cmd->data.viewport.rect, sizeof (SDL_Rect)) != 0) { in PSP_RunCommandQueue()
732 if (SDL_memcmp(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)) != 0) { in PSP_RunCommandQueue()
/AliOS-Things-master/components/SDL2/src/haptic/windows/
A DSDL_dinputhaptic.c134 …if ((!item->bXInputHaptic) && (SDL_memcmp(&item->instance, pdidInstance, sizeof(*pdidInstance)) ==… in SDL_DINPUT_MaybeAddDevice()
189 …if (!item->bXInputHaptic && SDL_memcmp(&item->instance, pdidInstance, sizeof(*pdidInstance)) == 0)… in SDL_DINPUT_MaybeRemoveDevice()
/AliOS-Things-master/components/SDL2/src/render/opengles/
A DSDL_render_gles.c847 if (SDL_memcmp(viewport, &cmd->data.viewport.rect, sizeof (SDL_Rect)) != 0) { in GLES_RunCommandQueue()
860 if (SDL_memcmp(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)) != 0) { in GLES_RunCommandQueue()
/AliOS-Things-master/components/SDL2/src/render/opengles2/
A DSDL_render_gles2.c1030 …if (SDL_memcmp(program->projection, data->drawstate.projection, sizeof (data->drawstate.projection… in SetDrawState()
1244 if (SDL_memcmp(viewport, &cmd->data.viewport.rect, sizeof (SDL_Rect)) != 0) { in GLES2_RunCommandQueue()
1258 if (SDL_memcmp(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)) != 0) { in GLES2_RunCommandQueue()
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapi_xboxone.c425 paddles_mapped = (SDL_memcmp(&data[4], &data[18], 14) != 0); in HIDAPI_DriverXboxOne_HandleStatePacket()
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/
A DSDL_kmsdrmvideo.c608 …if (!SDL_memcmp(dispdata->conn->modes + i, &dispdata->saved_crtc->mode, sizeof(drmModeModeInfo))) { in KMSDRM_VideoInit()
/AliOS-Things-master/components/SDL2/src/render/direct3d11/
A DSDL_render_d3d11.c2105 …if (updateSubresource == SDL_TRUE || SDL_memcmp(&rendererData->vertexShaderConstantsData.model, ne… in D3D11_SetDrawState()
2226 if (SDL_memcmp(viewport, &cmd->data.viewport.rect, sizeof (SDL_Rect)) != 0) { in D3D11_RunCommandQueue()
2239 if (SDL_memcmp(&rendererData->currentCliprect, rect, sizeof (SDL_Rect)) != 0) { in D3D11_RunCommandQueue()
/AliOS-Things-master/components/SDL2/src/dynapi/
A DSDL_dynapi_overrides.h389 #define SDL_memcmp SDL_memcmp_REAL macro

Completed in 51 milliseconds

12