/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_lbm.c | 70 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 D | IMG_xv.c | 57 (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 D | IMG_xpm.c | 61 if ( SDL_memcmp(magic, "/* XPM */", sizeof(magic)) == 0 ) { in IMG_isXPM() 164 if (SDL_memcmp(key, entry->key, cpp) == 0) in get_colorhash()
|
A D | IMG_gif.c | 43 ((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 D | testfile.c | 155 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 D | testiconv.c | 74 if (!test[1] || SDL_memcmp(test[1], ucs4, len) != 0) { in main()
|
A D | testautomation_rwops.c | 139 SDL_memcmp(buf, RWopsHelloWorldTestString, sizeof(RWopsHelloWorldTestString)-1 ) == 0, in _testGenericRWopsValidations()
|
A D | controllermap.c | 258 return SDL_memcmp(pBindingA, pBindingB, sizeof(*pBindingA)) == 0; in BBindingContainsBinding()
|
/AliOS-Things-master/components/SDL2/src/core/windows/ |
A D | SDL_windows.c | 222 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 D | SDL_dinputjoystick.c | 389 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 D | SDL_coremotionsensor.m | 164 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 D | SDL_wasapi.c | 552 …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 D | SDL_gamecontroller.c | 460 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 D | SDL_windowswindow.c | 951 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 D | SDL_stdinc.h | 457 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 D | SDL_jackaudio.c | 331 if (len >= 5 && !SDL_memcmp(type+len-5, "audio", 5)) { in JACK_OpenDevice()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11video.c | 141 if (SDL_memcmp(&display->current_mode, &display->desktop_mode, in X11_SafetyNetErrHandler()
|
/AliOS-Things-master/components/SDL2/src/render/psp/ |
A D | SDL_render_psp.c | 719 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 D | SDL_dinputhaptic.c | 134 …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 D | SDL_render_gles.c | 847 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 D | SDL_render_gles2.c | 1030 …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 D | SDL_hidapi_xboxone.c | 425 paddles_mapped = (SDL_memcmp(&data[4], &data[18], 14) != 0); in HIDAPI_DriverXboxOne_HandleStatePacket()
|
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmvideo.c | 608 …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 D | SDL_render_d3d11.c | 2105 …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 D | SDL_dynapi_overrides.h | 389 #define SDL_memcmp SDL_memcmp_REAL macro
|