Home
last modified time | relevance | path

Searched refs:SDL_strncmp (Results 1 – 22 of 22) sorted by relevance

/AliOS-Things-master/components/SDL2/src/
A DSDL_assert.c279 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 DSDL_string.c63 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 DSDL_getenv.c145 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 Dtestdropfile.c48 if (SDL_strncmp(argv[i], "-psn", 4)==0) { in main()
A Dtestautomation_rwops.c567 SDL_strncmp(buffer_mem, RWopsAlphabetString, slen) == 0, in rwops_testCompareRWFromMemWithRWFromFile()
570 SDL_strncmp(buffer_file, RWopsAlphabetString, slen) == 0, in rwops_testCompareRWFromMemWithRWFromFile()
A Dtestyuv.c385 if (SDL_strncmp(yuv_name, "SDL_PIXELFORMAT_", 16) == 0) { in main()
A Dtestautomation_video.c1060 …SDLTest_AssertCheck(SDL_strncmp(lastError, invalidParameterError, SDL_strlen(invalidParameterError… in _checkInvalidParameterError()
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_svg.c57 #define strncmp SDL_strncmp
A DIMG_gif.c42 if ( (SDL_strncmp(magic, "GIF", 3) == 0) && in IMG_isGIF()
192 if (SDL_strncmp((char *) buf, "GIF", 3) != 0) { in IMG_LoadGIF_RW()
A DIMG_bmp.c49 if ( SDL_strncmp(magic, "BM", 2) == 0 ) { in IMG_isBMP()
274 if ( SDL_strncmp(magic, "BM", 2) != 0 ) { in LoadBMP_RW()
A DIMG_xcf.c217 if (SDL_strncmp(magic, "gimp xcf ", 9) == 0) { in IMG_isXCF()
/AliOS-Things-master/components/SDL2/src/core/linux/
A DSDL_ibus.c94 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 DSDL_emscriptenevents.c490 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 DSDL_sysjoystick.c372 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 DSDL_alsa_audio.c829 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 DSDL_stdinc.h498 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 DSDL_bmp.c229 if (SDL_strncmp(magic, "BM", 2) != 0) { in SDL_LoadBMP_RW()
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/
A DSDL_kmsdrmvideo.c106 if (len > 4 && SDL_strncmp(res->d_name, "card", 4) == 0) { in get_dricount()
/AliOS-Things-master/components/SDL2/src/dynapi/
A DSDL_dynapi_overrides.h418 #define SDL_strncmp SDL_strncmp_REAL macro
A DSDL_dynapi_procs.h449 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 Dcontroller_type.h575 if (SDL_strncmp(spot, "k_eControllerType_", 18) == 0) { in GetControllerTypeOverride()
/AliOS-Things-master/components/SDL2/src/joystick/linux/
A DSDL_sysjoystick.c506 if (len > 5 && SDL_strncmp(dent->d_name, "event", 5) == 0) { in LINUX_JoystickDetect()

Completed in 39 milliseconds