/AliOS-Things-master/components/SDL2/src/ |
A D | SDL_assert.c | 279 if (SDL_strncmp(buf, "a", 1) == 0) { in SDL_PromptAssertion() 282 } else if (SDL_strncmp(buf, "b", 1) == 0) { in SDL_PromptAssertion() 285 } else if (SDL_strncmp(buf, "r", 1) == 0) { in SDL_PromptAssertion() 288 } else if (SDL_strncmp(buf, "i", 1) == 0) { in SDL_PromptAssertion() 291 } else if (SDL_strncmp(buf, "A", 1) == 0) { in SDL_PromptAssertion()
|
/AliOS-Things-master/components/SDL2/src/stdlib/ |
A D | SDL_string.c | 63 if (radix == 16 && SDL_strncmp(text, "0x", 2) == 0) { in SDL_ScanLong() 99 if (radix == 16 && SDL_strncmp(text, "0x", 2) == 0) { in SDL_ScanUnsignedLong() 131 if (radix == 16 && SDL_strncmp(text, "0x", 2) == 0) { in SDL_ScanUintPtrT() 168 if (radix == 16 && SDL_strncmp(text, "0x", 2) == 0) { in SDL_ScanLongLong() 204 if (radix == 16 && SDL_strncmp(text, "0x", 2) == 0) { in SDL_ScanUnsignedLongLong() 715 if (SDL_strncmp(haystack, needle, length) == 0) { in SDL_strstr() 870 if ((SDL_strlen(string) > 2) && (SDL_strncmp(string, "0x", 2) == 0)) { in SDL_strtol() 895 if ((SDL_strlen(string) > 2) && (SDL_strncmp(string, "0x", 2) == 0)) { in SDL_strtoul() 994 SDL_strncmp(const char *str1, const char *str2, size_t maxlen) in SDL_strncmp() function 1169 if (SDL_strncmp(fmt, "I64", 3) == 0) { in SDL_vsscanf() [all …]
|
A D | SDL_getenv.c | 145 if (SDL_strncmp(SDL_env[i], name, len) == 0) { in SDL_setenv() 233 if ((SDL_strncmp(SDL_env[i], name, len) == 0) && in SDL_getenv()
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testdropfile.c | 48 if (SDL_strncmp(argv[i], "-psn", 4)==0) { in main()
|
A D | testautomation_rwops.c | 567 SDL_strncmp(buffer_mem, RWopsAlphabetString, slen) == 0, in rwops_testCompareRWFromMemWithRWFromFile() 570 SDL_strncmp(buffer_file, RWopsAlphabetString, slen) == 0, in rwops_testCompareRWFromMemWithRWFromFile()
|
A D | testyuv.c | 385 if (SDL_strncmp(yuv_name, "SDL_PIXELFORMAT_", 16) == 0) { in main()
|
A D | testautomation_video.c | 1060 …SDLTest_AssertCheck(SDL_strncmp(lastError, invalidParameterError, SDL_strlen(invalidParameterError… in _checkInvalidParameterError()
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_svg.c | 57 #define strncmp SDL_strncmp
|
A D | IMG_gif.c | 42 if ( (SDL_strncmp(magic, "GIF", 3) == 0) && in IMG_isGIF() 192 if (SDL_strncmp((char *) buf, "GIF", 3) != 0) { in IMG_LoadGIF_RW()
|
A D | IMG_bmp.c | 49 if ( SDL_strncmp(magic, "BM", 2) == 0 ) { in IMG_isBMP() 274 if ( SDL_strncmp(magic, "BM", 2) != 0 ) { in LoadBMP_RW()
|
A D | IMG_xcf.c | 217 if (SDL_strncmp(magic, "gimp xcf ", 9) == 0) { in IMG_isXCF()
|
/AliOS-Things-master/components/SDL2/src/core/linux/ |
A D | SDL_ibus.c | 94 if (!struct_id || SDL_strncmp(struct_id, "IBusText", sizeof("IBusText")) != 0) { in IBus_GetVariantText() 186 if (SDL_strncmp(addr_buf, "IBUS_ADDRESS=", sizeof("IBUS_ADDRESS=")-1) == 0) { in IBus_ReadAddressFromFile()
|
/AliOS-Things-master/components/SDL2/src/video/emscripten/ |
A D | SDL_emscriptenevents.c | 490 if (SDL_strncmp(keyEvent->key, "SoftLeft", 9) == 0) { in Emscripten_HandleKey() 493 if (SDL_strncmp(keyEvent->key, "SoftRight", 10) == 0) { in Emscripten_HandleKey()
|
/AliOS-Things-master/components/SDL2/src/joystick/bsd/ |
A D | SDL_sysjoystick.c | 372 if (!SDL_strncmp(path, "/dev/joy", 8)) { 671 if (SDL_strncmp(joy->hwdata->path, "/dev/joy", 8)) {
|
/AliOS-Things-master/components/SDL2/src/audio/alsa/ |
A D | SDL_alsa_audio.c | 829 if (SDL_strncmp(name, prefix, prefixlen) == 0) { in ALSA_HotplugThread() 856 if (!match || (SDL_strncmp(name, match, match_len) == 0)) { in ALSA_HotplugThread()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_stdinc.h | 498 extern DECLSPEC int SDLCALL SDL_strncmp(const char *str1, const char *str2, size_t maxlen); 615 #define SDL_strncmp strncmp macro
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_bmp.c | 229 if (SDL_strncmp(magic, "BM", 2) != 0) { in SDL_LoadBMP_RW()
|
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmvideo.c | 106 if (len > 4 && SDL_strncmp(res->d_name, "card", 4) == 0) { in get_dricount()
|
/AliOS-Things-master/components/SDL2/src/dynapi/ |
A D | SDL_dynapi_overrides.h | 418 #define SDL_strncmp SDL_strncmp_REAL macro
|
A D | SDL_dynapi_procs.h | 449 SDL_DYNAPI_PROC(int,SDL_strncmp,(const char *a, const char *b, size_t c),(a,b,c),return)
|
/AliOS-Things-master/components/SDL2/src/joystick/ |
A D | controller_type.h | 575 if (SDL_strncmp(spot, "k_eControllerType_", 18) == 0) { in GetControllerTypeOverride()
|
/AliOS-Things-master/components/SDL2/src/joystick/linux/ |
A D | SDL_sysjoystick.c | 506 if (len > 5 && SDL_strncmp(dent->d_name, "event", 5) == 0) { in LINUX_JoystickDetect()
|