Home
last modified time | relevance | path

Searched refs:SDL_strdup (Results 1 – 25 of 47) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_clipboard.c43 _this->clipboard_text = SDL_strdup(text); in SDL_SetClipboardText()
55 return SDL_strdup(""); in SDL_GetClipboardText()
65 return SDL_strdup(text); in SDL_GetClipboardText()
/third_party/flutter/skia/third_party/externals/sdl/src/main/android/
DSDL_android_main.c44 argv[argc++] = SDL_strdup("app_process"); in Java_org_libsdl_app_SDLActivity_nativeInit()
52 arg = SDL_strdup(utf); in Java_org_libsdl_app_SDLActivity_nativeInit()
58 arg = SDL_strdup(""); in Java_org_libsdl_app_SDLActivity_nativeInit()
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/
DSDL_waylandvideo.c75 return SDL_strdup(spot); in get_classname()
80 return SDL_strdup(spot); in get_classname()
99 return SDL_strdup(spot + 1); in get_classname()
101 return SDL_strdup(linkfile); in get_classname()
107 return SDL_strdup("SDL_App"); in get_classname()
203 display->name = SDL_strdup(model); in display_handle_geometry()
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_ibus.c213 return SDL_strdup(addr_buf + (sizeof("IBUS_ADDRESS=") - 1)); in IBus_ReadAddressFromFile()
234 return SDL_strdup(ibus_addr_file); in IBus_GetDBusAddressFilename()
245 return SDL_strdup(addr); in IBus_GetDBusAddressFilename()
253 display = SDL_strdup(":0.0"); in IBus_GetDBusAddressFilename()
255 display = SDL_strdup(disp_env); in IBus_GetDBusAddressFilename()
300 return SDL_strdup(file_path); in IBus_GetDBusAddressFilename()
383 input_ctx_path = SDL_strdup(path); in IBus_SetupConnection()
467 ibus_addr_file = SDL_strdup(addr_file); in SDL_IBus_Init()
DSDL_fcitx.c83 char *buffer = SDL_strdup(display); in GetDisplayNumber()
111 return SDL_strdup(spot + 1); in GetAppName()
113 return SDL_strdup(linkfile); in GetAppName()
118 return SDL_strdup("SDL_App"); in GetAppName()
/third_party/flutter/skia/third_party/externals/sdl/src/
DSDL_hints.c76 hint->value = value ? SDL_strdup(value) : NULL; in SDL_SetHintWithPriority()
88 hint->name = SDL_strdup(name); in SDL_SetHintWithPriority()
89 hint->value = value ? SDL_strdup(value) : NULL; in SDL_SetHintWithPriority()
173 hint->name = SDL_strdup(name); in SDL_AddHintCallback()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11video.c64 return SDL_strdup(spot); in get_classname()
82 return SDL_strdup(spot + 1); in get_classname()
84 return SDL_strdup(linkfile); in get_classname()
90 return SDL_strdup("SDL_App"); in get_classname()
405 prev_locale = SDL_strdup(prev_locale); in X11_VideoInit()
409 prev_xmods = SDL_strdup(prev_xmods); in X11_VideoInit()
DSDL_x11clipboard.c111 return SDL_strdup(""); in X11_GetClipboardText()
150 return SDL_strdup(""); in X11_GetClipboardText()
169 text = SDL_strdup(""); in X11_GetClipboardText()
/third_party/flutter/skia/third_party/externals/sdl/src/video/uikit/
DSDL_uikitclipboard.m47 return SDL_strdup(""); // Unsupported.
54 return SDL_strdup(string.UTF8String);
56 return SDL_strdup("");
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation.c71 userRunSeed = SDL_strdup(argv[i + 1]); in main()
77 filter = SDL_strdup(argv[i + 1]); in main()
Dtestautomation_clipboard.c58 char *text = SDL_strdup(textRef); in clipboard_testSetClipboardText()
89 char *text = SDL_strdup(textRef); in clipboard_testClipboardTextFunctions()
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/unix/
DSDL_sysfilesystem.c87 retval = SDL_strdup(fullpath); in SDL_GetBasePath()
115 retval = SDL_strdup(path); in SDL_GetBasePath()
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/
DSDL_cocoaclipboard.m64 text = SDL_strdup(utf8);
66 text = SDL_strdup("");
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/haiku/
DSDL_haikujoystick.cc77 SDL_joyport[SDL_SYS_numjoysticks] = SDL_strdup(name); in SDL_SYS_JoystickInit()
78 SDL_joyname[SDL_SYS_numjoysticks] = SDL_strdup(stick_name.String()); in SDL_SYS_JoystickInit()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/bsd/
DSDL_sysjoystick.c182 joynames[SDL_SYS_numjoysticks] = SDL_strdup(s); in SDL_SYS_JoystickInit()
196 joynames[SDL_SYS_numjoysticks++] = SDL_strdup(s); in SDL_SYS_JoystickInit()
307 hw->path = SDL_strdup(path);
314 joydevnames[device_index] = SDL_strdup("Gameport joystick");
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/emscripten/
DSDL_sysfilesystem.c39 return SDL_strdup(retval); in SDL_GetBasePath()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/
DSDL_sysjoystick.c212 item->path = SDL_strdup(path); in MaybeAddDevice()
213 item->name = SDL_strdup(namebuf); in MaybeAddDevice()
330 envcopy = SDL_strdup(SDL_getenv("SDL_JOYSTICK_DEVICE")); in SDL_SYS_JoystickInit()
568 joystick->hwdata->fname = SDL_strdup(item->path); in SDL_SYS_JoystickOpen()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/emscripten/
DSDL_sysjoystick.c64 item->name = SDL_strdup(gamepadEvent->id); in Emscripten_JoyStickConnected()
70 item->mapping = SDL_strdup(gamepadEvent->mapping); in Emscripten_JoyStickConnected()
/third_party/flutter/skia/third_party/externals/sdl/src/video/haiku/
DSDL_bclipboard.cc71 result = SDL_strdup(""); in BE_GetClipboardText()
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_dropevents.c64 event.drop.file = data ? SDL_strdup(data) : NULL; in SDL_SendDrop()
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsclipboard.c129 text = SDL_strdup(""); in WIN_GetClipboardText()
/third_party/flutter/skia/third_party/externals/sdl/src/main/windows/
DSDL_windows_main.c145 cmdline = SDL_strdup(text); in main_getcmdline()
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/linux/
DSDL_syshaptic.c283 item->fname = SDL_strdup(path); in MaybeAddDevice()
468 haptic->hwdata->fname = SDL_strdup( item->fname ); in SDL_SYS_HapticOpen()
565 haptic->hwdata->fname = SDL_strdup( joystick->hwdata->fname ); in SDL_SYS_HapticOpenFromJoystick()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_stdinc.h405 extern DECLSPEC char *SDLCALL SDL_strdup(const char *str);
504 #define SDL_strdup strdup macro
/third_party/flutter/skia/third_party/externals/sdl/src/core/android/
DSDL_android.c1267 SETUP_CLIPBOARD(SDL_strdup("")) in Android_JNI_GetClipboardText()
1281 char* text = SDL_strdup(utf); in Android_JNI_GetClipboardText()
1292 return SDL_strdup(""); in Android_JNI_GetClipboardText()
1674 s_AndroidInternalFilesPath = SDL_strdup(path); in SDL_AndroidGetInternalStoragePath()
1760 s_AndroidExternalFilesPath = SDL_strdup(path); in SDL_AndroidGetExternalStoragePath()

12