Home
last modified time | relevance | path

Searched refs:SDL_snprintf (Results 1 – 25 of 60) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_stdlib.c42 #undef SDL_snprintf
50 result = SDL_snprintf(text, sizeof(text), "%s", "foo"); in stdlib_snprintf()
56 result = SDL_snprintf(text, 2, "%s", "foo"); in stdlib_snprintf()
62 result = SDL_snprintf(NULL, 0, "%s", "foo"); in stdlib_snprintf()
65 result = SDL_snprintf(text, sizeof(text), "%f", 1.0); in stdlib_snprintf()
71 result = SDL_snprintf(text, sizeof(text), "%.f", 1.0); in stdlib_snprintf()
77 result = SDL_snprintf(text, sizeof(text), "%#.f", 1.0); in stdlib_snprintf()
83 result = SDL_snprintf(text, sizeof(text), "%f", 1.0 + 1.0 / 3.0); in stdlib_snprintf()
89 result = SDL_snprintf(text, sizeof(text), "%+f", 1.0 + 1.0 / 3.0); in stdlib_snprintf()
95 result = SDL_snprintf(text, sizeof(text), "%.2f", 1.0 + 1.0 / 3.0); in stdlib_snprintf()
[all …]
Dtorturethread.c55 SDL_snprintf(name, sizeof (name), "Child%d_%d", tid, i); in ThreadFunc()
94 SDL_snprintf(name, sizeof (name), "Parent%d", i); in main()
Dcontrollermap.c179 SDL_snprintf(mapping, SDL_arraysize(mapping), "%s,%s,platform:%s,", in WatchJoystick()
241 SDL_snprintf(temp, SDL_arraysize(temp), ":a%u,", event.jaxis.axis); in WatchJoystick()
262SDL_snprintf(temp, SDL_arraysize(temp), ":h%u.%u,", event.jhat.hat, event.jhat.value ); in WatchJoystick()
279 SDL_snprintf(temp, SDL_arraysize(temp), ":b%u,", event.jbutton.button); in WatchJoystick()
Dtestatomic.c630 SDL_snprintf(name, sizeof (name), "FIFOReader%d", i); in RunFIFOTest()
642 SDL_snprintf(name, sizeof (name), "FIFOWriter%d", i); in RunFIFOTest()
689 SDL_snprintf(textBuffer, sizeof(textBuffer), " { "); in RunFIFOTest()
693 SDL_snprintf(textBuffer + len, sizeof(textBuffer) - len, ", "); in RunFIFOTest()
696SDL_snprintf(textBuffer + len, sizeof(textBuffer) - len, "%d", readerData[i].counters[j]); in RunFIFOTest()
699 SDL_snprintf(textBuffer + len, sizeof(textBuffer) - len, " }\n"); in RunFIFOTest()
Dtestdisplayinfo.c83 SDL_snprintf(prefix, sizeof (prefix), " MODE %d", m); in main()
Dtestsem.c109 SDL_snprintf(name, sizeof (name), "Thread%u", (unsigned int) i); in main()
Dtestlock.c120 SDL_snprintf(name, sizeof (name), "Worker%d", i); in main()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/windows/
DSDL_xinputjoystick.c70 SDL_snprintf(name, sizeof(name), "X360 Controller #%u", 1 + userid); in GetXInputName()
74 SDL_snprintf(name, sizeof(name), "XInput Controller #%u", 1 + userid); in GetXInputName()
77 SDL_snprintf(name, sizeof(name), "XInput Wheel #%u", 1 + userid); in GetXInputName()
80 SDL_snprintf(name, sizeof(name), "XInput ArcadeStick #%u", 1 + userid); in GetXInputName()
83 SDL_snprintf(name, sizeof(name), "XInput FlightStick #%u", 1 + userid); in GetXInputName()
86 SDL_snprintf(name, sizeof(name), "XInput DancePad #%u", 1 + userid); in GetXInputName()
91 SDL_snprintf(name, sizeof(name), "XInput Guitar #%u", 1 + userid); in GetXInputName()
94 SDL_snprintf(name, sizeof(name), "XInput DrumKit #%u", 1 + userid); in GetXInputName()
97 SDL_snprintf(name, sizeof(name), "XInput ArcadePad #%u", 1 + userid); in GetXInputName()
100 SDL_snprintf(name, sizeof(name), "XInput Device #%u", 1 + userid); in GetXInputName()
DSDL_mmjoystick.c92 SDL_snprintf(regkey, SDL_arraysize(regkey), "%s\\%s\\%s", in GetJoystickName()
106 SDL_snprintf(regvalue, SDL_arraysize(regvalue), "Joystick%d%s", index + 1, in GetJoystickName()
117 SDL_snprintf(regkey, SDL_arraysize(regkey), "%s\\%s", REGSTR_PATH_JOYOEM, in GetJoystickName()
452 SDL_snprintf(errbuf, SDL_arraysize(errbuf), in SetMMerror()
459 SDL_snprintf(errbuf, SDL_arraysize(errbuf), "%s: %s", function, in SetMMerror()
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/
Dscreenshot.c55 SDL_snprintf(verify_path, verify_len - 1, in SDLVisualTest_VerifyScreenshots()
92 SDL_snprintf(test_path, test_len - 1, "%s/%s.bmp", test_dir, hash); in SDLVisualTest_VerifyScreenshots()
94 SDL_snprintf(test_path, test_len - 1, "%s/%s_%d.bmp", test_dir, hash, i); in SDLVisualTest_VerifyScreenshots()
Dvariator_common.c121 n = SDL_snprintf(buffer + index, size - index, "%s ", in SDLVisualTest_MakeStrFromVariation()
136 n = SDL_snprintf(buffer + index, size - index, "%s %s ", in SDLVisualTest_MakeStrFromVariation()
145 n = SDL_snprintf(buffer + index, size - index, "%s %d ", in SDLVisualTest_MakeStrFromVariation()
154 n = SDL_snprintf(buffer + index, size - index, "%s %s ", in SDLVisualTest_MakeStrFromVariation()
Dmischelper.c27 SDL_snprintf(hash + 2 * i, 33 - 2 * i, "%02x", (int)md5c.digest[i]); in SDLVisualTest_HashString()
/third_party/flutter/skia/third_party/externals/sdl/src/
DSDL_error.c168 SDL_snprintf(msg, maxlen, tmp, in SDL_GetErrorMsg()
178 SDL_snprintf(msg, maxlen, tmp, in SDL_GetErrorMsg()
188 SDL_snprintf(msg, maxlen, tmp, in SDL_GetErrorMsg()
198 SDL_snprintf(msg, maxlen, tmp, in SDL_GetErrorMsg()
DSDL_log.c363 SDL_snprintf(output, length, "%s: %s\r\n", SDL_priority_prefixes[priority], message); in SDL_LogOutput()
388 SDL_snprintf(tag, SDL_arraysize(tag), "SDL/%s", GetCategoryPrefix(category)); in SDL_LogOutput()
400SDL_snprintf(text, SDL_MAX_LOG_MESSAGE, "%s: %s", SDL_priority_prefixes[priority], message); in SDL_LogOutput()
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_compare.c107 SDL_snprintf(imageFilename, 127, "CompareSurfaces%04d_TestOutput.bmp", _CompareSurfaceCount); in SDLTest_CompareSurfaces()
109SDL_snprintf(referenceFilename, 127, "CompareSurfaces%04d_Reference.bmp", _CompareSurfaceCount); in SDLTest_CompareSurfaces()
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/unix/
DSDL_sysfilesystem.c135 const int rc = (int) SDL_snprintf(path, sizeof(path), in SDL_GetBasePath()
207 SDL_snprintf(retval, len, "%s%s%s/%s/", envr, append, org, app); in SDL_GetPrefPath()
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_fcitx.c102 SDL_snprintf(procfile, sizeof(procfile), "/proc/%d/exe", getpid()); in GetAppName()
104 SDL_snprintf(procfile, sizeof(procfile), "/proc/%d/file", getpid()); in GetAppName()
342 SDL_snprintf(client->icname, IC_NAME_MAX, in FcitxClientCreateIC()
390 SDL_snprintf(fcitx_client.servicename, IC_NAME_MAX, in SDL_Fcitx_Init()
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/android/
DSDL_sysfilesystem.c54 SDL_snprintf(fullpath, pathlen, "%s/", path); in SDL_GetPrefPath()
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_getenv.c102 SDL_snprintf(new_variable, len, "%s=%s", name, value); in SDL_setenv()
132 SDL_snprintf(new_variable, len, "%s=%s", name, value); in SDL_setenv()
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/emscripten/
DSDL_sysfilesystem.c56 SDL_snprintf(retval, len, "%s%s/%s/", append, org, app); in SDL_GetPrefPath()
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/cocoa/
DSDL_sysfilesystem.m63 SDL_snprintf(retval, len, "%s/", base);
88 SDL_snprintf(retval, len, "%s/%s/%s/", base, org, app);
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/windows/
Dwindows_screenshot.c311 SDL_snprintf(filename, len, "%s.bmp", prefix); in ScreenshotHwnd()
313 SDL_snprintf(filename, len, "%s_%d.bmp", prefix, img_num); in ScreenshotHwnd()
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/haiku/
DSDL_sysfilesystem.cc84 SDL_snprintf(retval, len, "%s%s%s/%s/", home, append, org, app); in SDL_GetPrefPath()
/third_party/flutter/skia/third_party/externals/sdl/src/video/dummy/
DSDL_nullframebuffer.c72 SDL_snprintf(file, sizeof(file), "SDL_window%d-%8.8d.bmp", in SDL_DUMMY_UpdateWindowFramebuffer()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/
DSDL_audiodev.c107 SDL_snprintf(audiopath, SDL_arraysize(audiopath), in SDL_EnumUnixAudioDevices_Internal()

123