/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_stdlib.c | 42 #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 …]
|
A D | torturethread.c | 55 SDL_snprintf(name, sizeof (name), "Child%d_%d", tid, i); in ThreadFunc() 94 SDL_snprintf(name, sizeof (name), "Parent%d", i); in main()
|
A D | testatomic.c | 633 SDL_snprintf(name, sizeof (name), "FIFOReader%d", i); in RunFIFOTest() 645 SDL_snprintf(name, sizeof (name), "FIFOWriter%d", i); in RunFIFOTest() 692 SDL_snprintf(textBuffer, sizeof(textBuffer), " { "); in RunFIFOTest() 696 SDL_snprintf(textBuffer + len, sizeof(textBuffer) - len, ", "); in RunFIFOTest() 699 … SDL_snprintf(textBuffer + len, sizeof(textBuffer) - len, "%d", readerData[i].counters[j]); in RunFIFOTest() 702 SDL_snprintf(textBuffer + len, sizeof(textBuffer) - len, " }\n"); in RunFIFOTest()
|
A D | controllermap.c | 662 SDL_snprintf(pszElement, sizeof(pszElement), "b%d", pBinding->value.button); in WatchJoystick() 667 SDL_snprintf(pszElement, sizeof(pszElement), "-a%d", pBinding->value.axis.axis); in WatchJoystick() 670 SDL_snprintf(pszElement, sizeof(pszElement), "+a%d", pBinding->value.axis.axis); in WatchJoystick() 672 SDL_snprintf(pszElement, sizeof(pszElement), "a%d", pBinding->value.axis.axis); in WatchJoystick() 680 …SDL_snprintf(pszElement, sizeof(pszElement), "h%d.%d", pBinding->value.hat.hat, pBinding->value.ha… in WatchJoystick()
|
A D | testdisplayinfo.c | 83 SDL_snprintf(prefix, sizeof (prefix), " MODE %d", m); in main()
|
A D | testsensor.c | 32 SDL_snprintf(unknown_type, sizeof(unknown_type), "UNKNOWN (%d)", type); in GetSensorTypeString()
|
A D | testsem.c | 109 SDL_snprintf(name, sizeof (name), "Thread%u", (unsigned int) i); in main()
|
A D | testlock.c | 120 SDL_snprintf(name, sizeof (name), "Worker%d", i); in main()
|
/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_events.c | 129 SDL_snprintf(plusstr, sizeof (plusstr), "+%u", ((uint) event->type) - SDL_USEREVENT); in SDL_LogEvent() 133 … SDL_snprintf(details, sizeof (details), "%s (timestamp=%u windowid=%u code=%d data1=%p data2=%p)", in SDL_LogEvent() 177 … SDL_snprintf(details, sizeof (details), " (timestamp=%u windowid=%u event=%s data1=%d data2=%d)", in SDL_LogEvent() 184 … SDL_snprintf(details, sizeof (details), " (timestamp=%u)", (uint) event->syswm.timestamp); in SDL_LogEvent() 237 SDL_snprintf(details, sizeof (details), " (timestamp=%u which=%d axis=%u value=%d)", in SDL_LogEvent() 243 … SDL_snprintf(details, sizeof (details), " (timestamp=%u which=%d ball=%u xrel=%d yrel=%d)", in SDL_LogEvent() 249 SDL_snprintf(details, sizeof (details), " (timestamp=%u which=%d hat=%u value=%u)", in SDL_LogEvent() 255 SDL_snprintf(details, sizeof (details), " (timestamp=%u which=%d button=%u state=%s)", \ in SDL_LogEvent() 268 SDL_snprintf(details, sizeof (details), " (timestamp=%u which=%d axis=%u value=%d)", in SDL_LogEvent() 274 SDL_snprintf(details, sizeof (details), " (timestamp=%u which=%d button=%u state=%s)", \ in SDL_LogEvent() [all …]
|
/AliOS-Things-master/components/SDL2/src/joystick/windows/ |
A D | SDL_xinputjoystick.c | 80 SDL_snprintf(name, sizeof(name), "X360 Controller #%u", 1 + userid); in GetXInputName() 84 SDL_snprintf(name, sizeof(name), "XInput Controller #%u", 1 + userid); in GetXInputName() 87 SDL_snprintf(name, sizeof(name), "XInput Wheel #%u", 1 + userid); in GetXInputName() 90 SDL_snprintf(name, sizeof(name), "XInput ArcadeStick #%u", 1 + userid); in GetXInputName() 93 SDL_snprintf(name, sizeof(name), "XInput FlightStick #%u", 1 + userid); in GetXInputName() 96 SDL_snprintf(name, sizeof(name), "XInput DancePad #%u", 1 + userid); in GetXInputName() 101 SDL_snprintf(name, sizeof(name), "XInput Guitar #%u", 1 + userid); in GetXInputName() 104 SDL_snprintf(name, sizeof(name), "XInput DrumKit #%u", 1 + userid); in GetXInputName() 107 SDL_snprintf(name, sizeof(name), "XInput ArcadePad #%u", 1 + userid); in GetXInputName() 110 SDL_snprintf(name, sizeof(name), "XInput Device #%u", 1 + userid); in GetXInputName()
|
A D | SDL_mmjoystick.c | 88 SDL_snprintf(regkey, SDL_arraysize(regkey), in GetJoystickName() 107 SDL_snprintf(regvalue, SDL_arraysize(regvalue), "Joystick%d%s", index + 1, in GetJoystickName() 118 SDL_snprintf(regkey, SDL_arraysize(regkey), in GetJoystickName() 437 SDL_snprintf(errbuf, SDL_arraysize(errbuf), in SetMMerror() 444 SDL_snprintf(errbuf, SDL_arraysize(errbuf), "%s: %s", function, in SetMMerror()
|
/AliOS-Things-master/components/SDL2/src/filesystem/emscripten/ |
A D | SDL_sysfilesystem.c | 65 SDL_snprintf(retval, len, "%s%s/%s/", append, org, app); in SDL_GetPrefPath() 67 SDL_snprintf(retval, len, "%s%s/", append, app); in SDL_GetPrefPath()
|
/AliOS-Things-master/components/SDL2/src/filesystem/unix/ |
A D | SDL_sysfilesystem.c | 143 const int rc = SDL_snprintf(path, sizeof(path), in SDL_GetBasePath() 225 SDL_snprintf(retval, len, "%s%s%s/%s/", envr, append, org, app); in SDL_GetPrefPath() 227 SDL_snprintf(retval, len, "%s%s%s/", envr, append, app); in SDL_GetPrefPath()
|
/AliOS-Things-master/components/SDL2/src/filesystem/haiku/ |
A D | SDL_sysfilesystem.cc | 98 SDL_snprintf(retval, len, "%s%s%s/%s/", home, append, org, app); in SDL_GetPrefPath() 100 SDL_snprintf(retval, len, "%s%s%s/", home, append, app); in SDL_GetPrefPath()
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_compare.c | 107 SDL_snprintf(imageFilename, 127, "CompareSurfaces%04d_TestOutput.bmp", _CompareSurfaceCount); in SDLTest_CompareSurfaces() 109 … SDL_snprintf(referenceFilename, 127, "CompareSurfaces%04d_Reference.bmp", _CompareSurfaceCount); in SDLTest_CompareSurfaces()
|
A D | SDL_test_memory.c | 253 SDL_snprintf(line, sizeof(line), "Allocation %d: %d bytes\n", count, (int)entry->size); in SDLTest_LogAllocations() 260 …SDL_snprintf(line, sizeof(line), "\t0x%"SDL_PRIx64": %s\n", entry->stack[stack_index], entry->stac… in SDLTest_LogAllocations() 267 …SDL_snprintf(line, sizeof(line), "Total: %.2f Kb in %d allocations\n", (float)total_allocated / 10… in SDLTest_LogAllocations()
|
/AliOS-Things-master/components/SDL2/src/filesystem/android/ |
A D | SDL_sysfilesystem.c | 54 SDL_snprintf(fullpath, pathlen, "%s/", path); in SDL_GetPrefPath()
|
/AliOS-Things-master/components/SDL2/src/filesystem/cocoa/ |
A D | SDL_sysfilesystem.m | 63 SDL_snprintf(retval, len, "%s/", base); 116 SDL_snprintf(retval, len, "%s/%s/%s/", base, org, app); 118 SDL_snprintf(retval, len, "%s/%s/", base, app);
|
/AliOS-Things-master/components/SDL2/src/ |
A D | SDL_log.c | 370 SDL_snprintf(output, length, "%s: %s\r\n", SDL_priority_prefixes[priority], message); in SDL_LogOutput() 400 SDL_snprintf(tag, SDL_arraysize(tag), "SDL/%s", GetCategoryPrefix(category)); in SDL_LogOutput() 412 … SDL_snprintf(text, SDL_MAX_LOG_MESSAGE, "%s: %s", SDL_priority_prefixes[priority], message); in SDL_LogOutput()
|
/AliOS-Things-master/components/SDL2/src/stdlib/ |
A D | SDL_getenv.c | 104 SDL_snprintf(new_variable, len, "%s=%s", name, value); in SDL_setenv() 134 SDL_snprintf(new_variable, len, "%s=%s", name, value); in SDL_setenv()
|
/AliOS-Things-master/components/SDL2/src/video/dummy/ |
A D | SDL_nullframebuffer.c | 72 SDL_snprintf(file, sizeof(file), "SDL_window%d-%8.8d.bmp", in SDL_DUMMY_UpdateWindowFramebuffer()
|
/AliOS-Things-master/components/SDL2/src/video/offscreen/ |
A D | SDL_offscreenframebuffer.c | 73 SDL_snprintf(file, sizeof(file), "SDL_window%d-%8.8d.bmp", in SDL_OFFSCREEN_UpdateWindowFramebuffer()
|
/AliOS-Things-master/components/SDL2/src/audio/ |
A D | SDL_audiodev.c | 107 SDL_snprintf(audiopath, SDL_arraysize(audiopath), in SDL_EnumUnixAudioDevices_Internal()
|
A D | SDL_wave.c | 201 … if (SDL_snprintf(channelstr, sizeof(channelstr), "%u channels", format->channels) >= 0) { in WaveDebugLogFormat() 268 …res = SDL_snprintf(dumpstr, bufsize, fmtstr1, rifflen, fmtlen, format->formattag, format->channels… in WaveDebugDumpFormat() 271 res = SDL_snprintf(dumpstr + dumppos, bufsize - dumppos, fmtstr2, format->bitspersample); in WaveDebugDumpFormat() 275 res = SDL_snprintf(dumpstr + dumppos, bufsize - dumppos, fmtstr3, format->extsize); in WaveDebugDumpFormat() 286 … res = SDL_snprintf(dumpstr + dumppos, bufsize - dumppos, fmtstr4a, format->validsamplebits); in WaveDebugDumpFormat() 291 … res = SDL_snprintf(dumpstr + dumppos, bufsize - dumppos, fmtstr4b, format->samplesperblock); in WaveDebugDumpFormat() 295 …res = SDL_snprintf(dumpstr + dumppos, bufsize - dumppos, fmtstr5, format->channelmask, g1, g2, g3,… in WaveDebugDumpFormat() 302 … res = SDL_snprintf(dumpstr + dumppos, bufsize - dumppos, fmtstr4b, format->samplesperblock); in WaveDebugDumpFormat() 309 res = SDL_snprintf(dumpstr + dumppos, bufsize - dumppos, fmtstr6, file->fact.samplelength); in WaveDebugDumpFormat() 312 res = SDL_snprintf(dumpstr + dumppos, bufsize - dumppos, fmtstr7, datalen); in WaveDebugDumpFormat()
|
/AliOS-Things-master/components/SDL2/src/locale/windows/ |
A D | SDL_syslocale.c | 55 SDL_snprintf(buf, buflen, "%s%s%s", lang, ctryrc ? "_" : "", ctryrc ? country : ""); in SDL_SYS_GetPreferredLocales_winxp()
|