/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_stdlib.c | 28 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", (int)… in stdlib_strlcpy() 54 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", (int)… in stdlib_snprintf() 69 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", (int)… in stdlib_snprintf() 75 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", (int)… in stdlib_snprintf() 81 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", (int)… in stdlib_snprintf() 87 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", (int)… in stdlib_snprintf() 93 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", (int)… in stdlib_snprintf() 99 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", (int)… in stdlib_snprintf() 105 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", (int)… in stdlib_snprintf() 111 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", (int)… in stdlib_snprintf() [all …]
|
A D | testautomation_platform.c | 121 len = SDL_strlen(platform); in platform_testGetFunctions() 296 len = SDL_strlen(lastError); in platform_testGetSetClearError() 309 len = SDL_strlen(lastError); in platform_testGetSetClearError() 310 SDLTest_AssertCheck(len == SDL_strlen(testError), in platform_testGetSetClearError() 312 (int) SDL_strlen(testError), in platform_testGetSetClearError() 347 len = SDL_strlen(lastError); in platform_testSetErrorEmptyInput() 350 (int) SDL_strlen(testError), in platform_testSetErrorEmptyInput() 391 len = SDL_strlen(lastError); in platform_testSetErrorInvalidInput() 411 len = SDL_strlen(lastError); in platform_testSetErrorInvalidInput() 430 len = SDL_strlen(lastError); in platform_testSetErrorInvalidInput() [all …]
|
A D | testiconv.c | 69 SDL_strlen(buffer) + 1); in main()
|
A D | testrumble.c | 67 l = SDL_strlen(name); in main()
|
A D | testime.c | 549 p = &markedText[SDL_strlen(markedText)]; in _Redraw() 720 size_t textlen = SDL_strlen(text); in main() 770 if (SDL_strlen(text) + SDL_strlen(event.text.text) < sizeof(text)) in main()
|
A D | testgamecontroller.c | 104 const size_t titlelen = SDL_strlen(basetitle) + SDL_strlen(name) + 1; in UpdateWindowTitle()
|
/AliOS-Things-master/components/SDL2/src/stdlib/ |
A D | SDL_getenv.c | 51 if (!name || SDL_strlen(name) == 0 || SDL_strchr(name, '=') != NULL || !value) { in SDL_setenv() 62 if (!name || SDL_strlen(name) == 0 || SDL_strchr(name, '=') != NULL || !value) { in SDL_setenv() 85 if (!name || SDL_strlen(name) == 0 || SDL_strchr(name, '=') != NULL || !value) { in SDL_setenv() 98 len = SDL_strlen(name) + SDL_strlen(value) + 2; in SDL_setenv() 118 if (!name || SDL_strlen(name) == 0 || SDL_strchr(name, '=') != NULL || !value) { in SDL_setenv() 128 len = SDL_strlen(name) + SDL_strlen(value) + 2; in SDL_setenv() 135 value = new_variable + SDL_strlen(name) + 1; in SDL_setenv() 197 if (!name || SDL_strlen(name)==0) { in SDL_getenv() 225 if (!name || SDL_strlen(name)==0) { in SDL_getenv() 231 len = SDL_strlen(name); in SDL_getenv()
|
A D | SDL_string.c | 411 SDL_strlen(const char *string) in SDL_strlen() function 535 size_t srclen = SDL_strlen(src); in SDL_strlcpy() 548 size_t src_bytes = SDL_strlen(src); in SDL_utf8strlcpy() 601 size_t dstlen = SDL_strlen(dst); in SDL_strlcat() 602 size_t srclen = SDL_strlen(src); in SDL_strlcat() 613 size_t len = SDL_strlen(string) + 1; in SDL_strdup() 627 size_t len = SDL_strlen(string); in SDL_strrev() 696 const char *bufp = string + SDL_strlen(string) - 1; in SDL_strrchr() 713 size_t length = SDL_strlen(needle); in SDL_strstr() 1421 sz = SDL_strlen(string); in SDL_PrintString() [all …]
|
/AliOS-Things-master/components/SDL2/src/filesystem/haiku/ |
A D | SDL_sysfilesystem.cc | 59 const size_t len = SDL_strlen(str); in SDL_GetBasePath() 79 size_t len = SDL_strlen(home); in SDL_GetPrefPath() 92 len += SDL_strlen(append) + SDL_strlen(org) + SDL_strlen(app) + 3; in SDL_GetPrefPath()
|
/AliOS-Things-master/components/SDL2/src/filesystem/emscripten/ |
A D | SDL_sysfilesystem.c | 57 len = SDL_strlen(append) + SDL_strlen(org) + SDL_strlen(app) + 3; in SDL_GetPrefPath()
|
/AliOS-Things-master/components/SDL2/src/core/windows/ |
A D | SDL_windows.h | 43 #define WIN_UTF8ToString(S) (WCHAR *)SDL_iconv_string("UTF-16LE", "UTF-8", (char *)(S), SDL_strlen(… 46 #define WIN_StringToUTF8(S) SDL_iconv_string("UTF-8", "ASCII", (char *)(S), (SDL_strlen(S)+1)) 47 #define WIN_UTF8ToString(S) SDL_iconv_string("ASCII", "UTF-8", (char *)(S), SDL_strlen(S)+1)
|
/AliOS-Things-master/components/SDL2/src/filesystem/unix/ |
A D | SDL_sysfilesystem.c | 213 len = SDL_strlen(envr); in SDL_GetPrefPath() 217 len += SDL_strlen(append) + SDL_strlen(org) + SDL_strlen(app) + 3; in SDL_GetPrefPath()
|
/AliOS-Things-master/components/SDL2/src/filesystem/cocoa/ |
A D | SDL_sysfilesystem.m | 58 const size_t len = SDL_strlen(base) + 2; 109 const size_t len = SDL_strlen(base) + SDL_strlen(org) + SDL_strlen(app) + 4;
|
/AliOS-Things-master/components/SDL2/src/joystick/ |
A D | SDL_gamecontroller.c | 770 if (SDL_strlen(pchGUID) == 32 && in SDL_PrivateGetControllerGUIDFromMappingString() 778 if (SDL_strlen(pchGUID) == 32 && in SDL_PrivateGetControllerGUIDFromMappingString() 1042 int pos = (int)SDL_strlen(mapping_string) - 1; in SDL_CreateMappingForAndroidController() 1165 int pos = (int)SDL_strlen(mapping) - 1; in SDL_PrivateGenerateAutomaticControllerMapping() 1305 tmp += SDL_strlen(SDL_CONTROLLER_HINT_FIELD); in SDL_PrivateGameControllerAddMapping() 1343 tmp += SDL_strlen(SDL_CONTROLLER_SDKGE_FIELD); in SDL_PrivateGameControllerAddMapping() 1350 tmp += SDL_strlen(SDL_CONTROLLER_SDKLE_FIELD); in SDL_PrivateGameControllerAddMapping() 1437 …needed = SDL_strlen(pchGUID) + 1 + SDL_strlen(mapping->name) + 1 + SDL_strlen(mapping->mapping) + … in SDL_GameControllerMappingForIndex() 1464 …needed = SDL_strlen(pchGUID) + 1 + SDL_strlen(mapping->name) + 1 + SDL_strlen(mapping->mapping) + … in SDL_GameControllerMappingForGUID() 1493 size_t nchHints = SDL_strlen(hint); in SDL_GameControllerLoadHints() [all …]
|
/AliOS-Things-master/components/SDL2/src/filesystem/android/ |
A D | SDL_sysfilesystem.c | 48 size_t pathlen = SDL_strlen(path)+2; in SDL_GetPrefPath()
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_harness.c | 138 runSeedLength = SDL_strlen(runSeed); in SDLTest_GenerateExecKey() 139 suiteNameLength = SDL_strlen(suiteName); in SDLTest_GenerateExecKey() 140 testNameLength = SDL_strlen(testName); in SDLTest_GenerateExecKey() 141 iterationStringLength = SDL_strlen(iterationString); in SDLTest_GenerateExecKey()
|
/AliOS-Things-master/components/SDL2/src/ |
A D | SDL_log.c | 294 len = SDL_strlen(message); in SDL_LogMessageV() 368 length = SDL_strlen(SDL_priority_prefixes[priority]) + 2 + SDL_strlen(message) + 1 + 1 + 1; in SDL_LogOutput()
|
/AliOS-Things-master/components/SDL2/src/joystick/psp/ |
A D | SDL_sysjoystick.c | 247 SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) ); in SDL_SYS_JoystickGetDeviceGUID() 257 SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) ); in SDL_SYS_JoystickGetGUID()
|
/AliOS-Things-master/components/SDL2/src/loadso/dlopen/ |
A D | SDL_sysloadso.c | 65 size_t len = 1 + SDL_strlen(name) + 1; in SDL_LoadFunction()
|
/AliOS-Things-master/components/SDL2/src/locale/haiku/ |
A D | SDL_syslocale.cc | 55 const size_t len = SDL_strlen(str); in SDL_SYS_GetPreferredLocales()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_stdinc.h | 468 extern DECLSPEC size_t SDLCALL SDL_strlen(const char *str); 574 #define SDL_iconv_utf8_locale(S) SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1) 575 …L_iconv_utf8_ucs2(S) (Uint16 *)SDL_iconv_string("UCS-2-INTERNAL", "UTF-8", S, SDL_strlen(S)+1) 576 …L_iconv_utf8_ucs4(S) (Uint32 *)SDL_iconv_string("UCS-4-INTERNAL", "UTF-8", S, SDL_strlen(S)+1) 602 #define SDL_strlen strlen macro
|
/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_keyboard.c | 1054 if (SDL_strlen(name) == 4) { in SDL_GetKeyFromName() 1064 if (SDL_strlen(name) == 3) { in SDL_GetKeyFromName() 1073 if (SDL_strlen(name) == 2) { in SDL_GetKeyFromName() 1081 if (SDL_strlen(name) == 1) { in SDL_GetKeyFromName()
|
/AliOS-Things-master/components/SDL2/src/audio/ |
A D | SDL_audiodev.c | 104 if (SDL_strlen(audiodev) < (sizeof(audiopath) - 3)) { in SDL_EnumUnixAudioDevices_Internal()
|
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/ |
A D | SDL_hidapi_xboxone.c | 137 size_t length = SDL_strlen(prefix) + 11*(USB_PACKET_LENGTH/8) + (5*USB_PACKET_LENGTH) + 1 + 1; in DumpPacket() 143 … SDL_snprintf(&buffer[SDL_strlen(buffer)], length - SDL_strlen(buffer), "\n%.2d: ", i); in DumpPacket() 145 SDL_snprintf(&buffer[SDL_strlen(buffer)], length - SDL_strlen(buffer), " 0x%.2x", data[i]); in DumpPacket()
|
/AliOS-Things-master/components/SDL2/src/core/linux/ |
A D | SDL_ibus.c | 124 size_t text_bytes = SDL_strlen(text), i = 0; in IBus_MessageHandler() 146 size_t text_bytes = SDL_strlen(text), i = 0; in IBus_MessageHandler() 187 size_t sz = SDL_strlen(addr_buf); in IBus_ReadAddressFromFile()
|