Home
last modified time | relevance | path

Searched refs:tstr (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsclipboard.c58 LPTSTR tstr; in WIN_SetClipboardText() local
62 tstr = WIN_UTF8ToString(text); in WIN_SetClipboardText()
63 if (!tstr) { in WIN_SetClipboardText()
69 if (tstr[i] == '\n' && (i == 0 || tstr[i-1] != '\r')) { in WIN_SetClipboardText()
74 size = (size+1)*sizeof(*tstr); in WIN_SetClipboardText()
82 for (i = 0; tstr[i]; ++i) { in WIN_SetClipboardText()
83 if (tstr[i] == '\n' && (i == 0 || tstr[i-1] != '\r')) { in WIN_SetClipboardText()
86 *dst++ = tstr[i]; in WIN_SetClipboardText()
98 SDL_free(tstr); in WIN_SetClipboardText()
116 LPTSTR tstr; in WIN_GetClipboardText() local
[all …]
/AliOS-Things-master/components/SDL2/src/loadso/windows/
A DSDL_sysloadso.c35 LPTSTR tstr = WIN_UTF8ToString(sofile); in SDL_LoadObject() local
41 void *handle = (void *) LoadPackagedLibrary(tstr, 0); in SDL_LoadObject()
43 void *handle = (void *) LoadLibrary(tstr); in SDL_LoadObject()
45 SDL_free(tstr); in SDL_LoadObject()
/AliOS-Things-master/components/SDL2/src/
A DSDL_log.c324 LPTSTR tstr; in SDL_LogOutput() local
371 tstr = WIN_UTF8ToString(output); in SDL_LogOutput()
374 OutputDebugString(tstr); in SDL_LogOutput()
379 if (!WriteConsole(stderrHandle, tstr, lstrlen(tstr), &charsWritten, NULL)) { in SDL_LogOutput()
393 SDL_free(tstr); in SDL_LogOutput()
/AliOS-Things-master/components/SDL2/src/file/
A DSDL_rwops.c122 LPTSTR tstr = WIN_UTF8ToString(filename); in windows_file_open() local
123 h = CreateFile(tstr, (w_right | r_right), in windows_file_open()
127 SDL_free(tstr); in windows_file_open()

Completed in 10 milliseconds