Home
last modified time | relevance | path

Searched refs:SDL_strlen (Results 1 – 25 of 61) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_stdlib.c28 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", SDL_s… in stdlib_strlcpy()
54 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", SDL_s… in stdlib_snprintf()
69 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", SDL_s… in stdlib_snprintf()
75 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", SDL_s… in stdlib_snprintf()
81 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", SDL_s… in stdlib_snprintf()
87 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", SDL_s… in stdlib_snprintf()
93 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", SDL_s… in stdlib_snprintf()
99 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", SDL_s… in stdlib_snprintf()
105 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", SDL_s… in stdlib_snprintf()
111 …SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", SDL_s… in stdlib_snprintf()
[all …]
Dtestautomation_platform.c121 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 SDL_strlen(testError), in platform_testGetSetClearError()
347 len = SDL_strlen(lastError); in platform_testSetErrorEmptyInput()
348 SDLTest_AssertCheck(len == SDL_strlen(testError), in platform_testSetErrorEmptyInput()
350 SDL_strlen(testError), in platform_testSetErrorEmptyInput()
391 len = SDL_strlen(lastError); in platform_testSetErrorInvalidInput()
411 len = SDL_strlen(lastError); in platform_testSetErrorInvalidInput()
[all …]
Dtesticonv.c69 SDL_strlen(buffer) + 1); in main()
Dtestime.c544 p = &markedText[SDL_strlen(markedText)]; in _Redraw()
712 size_t textlen = SDL_strlen(text); in main()
762 if (SDL_strlen(text) + SDL_strlen(event.text.text) < sizeof(text)) in main()
Dtestgamecontroller.c169 const size_t titlelen = SDL_strlen(basetitle) + SDL_strlen(name) + 1; in WatchGameController()
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_getenv.c47 if (!name || SDL_strlen(name) == 0 || SDL_strchr(name, '=') != NULL || !value) { in SDL_setenv()
58 if (!name || SDL_strlen(name) == 0 || SDL_strchr(name, '=') != NULL || !value) { in SDL_setenv()
83 if (!name || SDL_strlen(name) == 0 || SDL_strchr(name, '=') != NULL || !value) { in SDL_setenv()
96 len = SDL_strlen(name) + SDL_strlen(value) + 2; in SDL_setenv()
116 if (!name || SDL_strlen(name) == 0 || SDL_strchr(name, '=') != NULL || !value) { in SDL_setenv()
126 len = SDL_strlen(name) + SDL_strlen(value) + 2; in SDL_setenv()
133 value = new_variable + SDL_strlen(name) + 1; in SDL_setenv()
177 if (!name || SDL_strlen(name)==0) { in SDL_getenv()
190 if (!name || SDL_strlen(name)==0) { in SDL_getenv()
218 if (!name || SDL_strlen(name)==0) { in SDL_getenv()
[all …]
DSDL_string.c410 SDL_strlen(const char *string) in SDL_strlen() function
474 size_t srclen = SDL_strlen(src); in SDL_strlcpy()
486 size_t src_bytes = SDL_strlen(src); in SDL_utf8strlcpy()
522 size_t dstlen = SDL_strlen(dst); in SDL_strlcat()
523 size_t srclen = SDL_strlen(src); in SDL_strlcat()
537 size_t len = SDL_strlen(string) + 1; in SDL_strdup()
552 size_t len = SDL_strlen(string); in SDL_strrev()
621 const char *bufp = string + SDL_strlen(string) - 1; in SDL_strrchr()
638 size_t length = SDL_strlen(needle); in SDL_strstr()
795 if ((SDL_strlen(string) > 2) && (SDL_strncmp(string, "0x", 2) == 0)) { in SDL_strtol()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/haiku/
DSDL_sysfilesystem.cc59 const size_t len = SDL_strlen(str); in SDL_GetBasePath()
79 … const size_t len = SDL_strlen(home) + SDL_strlen(append) + SDL_strlen(org) + SDL_strlen(app) + 3; in SDL_GetPrefPath()
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/emscripten/
DSDL_sysfilesystem.c49 len = SDL_strlen(append) + SDL_strlen(org) + SDL_strlen(app) + 3; in SDL_GetPrefPath()
/third_party/flutter/skia/third_party/externals/sdl/src/core/windows/
DSDL_windows.h42 #define WIN_UTF8ToString(S) (WCHAR *)SDL_iconv_string("UTF-16LE", "UTF-8", (char *)(S), SDL_strlen(…
45 #define WIN_StringToUTF8(S) SDL_iconv_string("UTF-8", "ASCII", (char *)(S), (SDL_strlen(S)+1))
46 #define WIN_UTF8ToString(S) SDL_iconv_string("ASCII", "UTF-8", (char *)(S), SDL_strlen(S)+1)
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/unix/
DSDL_sysfilesystem.c196 len = SDL_strlen(envr); in SDL_GetPrefPath()
200 len += SDL_strlen(append) + SDL_strlen(org) + SDL_strlen(app) + 3; in SDL_GetPrefPath()
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/cocoa/
DSDL_sysfilesystem.m58 const size_t len = SDL_strlen(base) + 2;
82 const size_t len = SDL_strlen(base) + SDL_strlen(org) + SDL_strlen(app) + 4;
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/dummy/
DSDL_sysjoystick.c108 SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) ); in SDL_SYS_JoystickGetDeviceGUID()
119 SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) ); in SDL_SYS_JoystickGetGUID()
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/windows/
Dwindows_process.c54 path_length = SDL_strlen(file); in SDL_LaunchProcess()
70 if(SDL_strlen(working_directory) == 0) in SDL_LaunchProcess()
79 args_length = SDL_strlen(args); in SDL_LaunchProcess()
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/
Dscreenshot.c47 verify_len = SDL_strlen(verify_dir) + 32 + 10; in SDLVisualTest_VerifyScreenshots()
77 test_len = SDL_strlen(test_dir) + 32 + 10; in SDLVisualTest_VerifyScreenshots()
Dmischelper.c22 SDLTest_Md5Update(&md5c, (unsigned char*)str, SDL_strlen(str)); in SDLVisualTest_HashString()
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_harness.c138 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()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_stdinc.h401 extern DECLSPEC size_t SDLCALL SDL_strlen(const char *str);
486 #define SDL_iconv_utf8_locale(S) SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1)
487 …L_iconv_utf8_ucs2(S) (Uint16 *)SDL_iconv_string("UCS-2-INTERNAL", "UTF-8", S, SDL_strlen(S)+1)
488 …L_iconv_utf8_ucs4(S) (Uint32 *)SDL_iconv_string("UCS-4-INTERNAL", "UTF-8", S, SDL_strlen(S)+1)
501 #define SDL_strlen strlen macro
/third_party/flutter/skia/third_party/externals/sdl/src/
DSDL_log.c295 len = SDL_strlen(message); in SDL_LogMessageV()
361 length = SDL_strlen(SDL_priority_prefixes[priority]) + 2 + SDL_strlen(message) + 1 + 1 + 1; in SDL_LogOutput()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/psp/
DSDL_sysjoystick.c253 SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) ); in SDL_SYS_JoystickGetDeviceGUID()
263 SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) ); in SDL_SYS_JoystickGetGUID()
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/android/
DSDL_sysfilesystem.c48 size_t pathlen = SDL_strlen(path)+2; in SDL_GetPrefPath()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/haiku/
DSDL_haikujoystick.cc256 SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) ); in SDL_SYS_JoystickGetDeviceGUID()
266 SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) ); in SDL_SYS_JoystickGetGUID()
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_keyboard.c977 if (SDL_strlen(name) == 4) { in SDL_GetKeyFromName()
987 if (SDL_strlen(name) == 3) { in SDL_GetKeyFromName()
996 if (SDL_strlen(name) == 2) { in SDL_GetKeyFromName()
1004 if (SDL_strlen(name) == 1) { in SDL_GetKeyFromName()
/third_party/flutter/skia/third_party/externals/sdl/src/loadso/dlopen/
DSDL_sysloadso.c64 size_t len = 1 + SDL_strlen(name) + 1; in SDL_LoadFunction()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/bsd/
DSDL_sysjoystick.c408 sp = SDL_malloc(SDL_strlen(s) + 5);
409 SDL_snprintf(sp, SDL_strlen(s) + 5, "%s (%d)",
626 SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) );
636 SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) );

123