Home
last modified time | relevance | path

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

123

/AliOS-Things-master/components/SDL2/src/video/
A 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()
/AliOS-Things-master/components/SDL2/src/core/linux/
A DSDL_ibus.c198 return SDL_strdup(addr_buf + (sizeof("IBUS_ADDRESS=") - 1)); in IBus_ReadAddressFromFile()
219 return SDL_strdup(ibus_addr_file); in IBus_GetDBusAddressFilename()
230 return SDL_strdup(addr); in IBus_GetDBusAddressFilename()
238 display = SDL_strdup(":0.0"); in IBus_GetDBusAddressFilename()
240 display = SDL_strdup(disp_env); in IBus_GetDBusAddressFilename()
285 return SDL_strdup(file_path); in IBus_GetDBusAddressFilename()
338 input_ctx_path = SDL_strdup(path); in IBus_SetupConnection()
415 ibus_addr_file = SDL_strdup(addr_file); in SDL_IBus_Init()
A DSDL_fcitx.c77 return SDL_strdup(spot + 1); in GetAppName()
79 return SDL_strdup(linkfile); in GetAppName()
84 return SDL_strdup("SDL_App"); in GetAppName()
256 client->ic_path = SDL_strdup(ic_path); in FcitxClientCreateIC()
/AliOS-Things-master/components/SDL2/src/
A DSDL_hints.c77 hint->value = value ? SDL_strdup(value) : NULL; in SDL_SetHintWithPriority()
89 hint->name = SDL_strdup(name); in SDL_SetHintWithPriority()
90 hint->value = value ? SDL_strdup(value) : NULL; in SDL_SetHintWithPriority()
180 hint->name = SDL_strdup(name); in SDL_AddHintCallback()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11clipboard.c121 return SDL_strdup(""); in X11_GetClipboardText()
160 return SDL_strdup(""); in X11_GetClipboardText()
179 text = SDL_strdup(""); in X11_GetClipboardText()
A 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()
A DSDL_x11keyboard.c302 prev_locale = SDL_strdup(prev_locale); in X11_InitKeyboard()
306 prev_xmods = SDL_strdup(prev_xmods); in X11_InitKeyboard()
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation.c71 userRunSeed = SDL_strdup(argv[i + 1]); in main()
77 filter = SDL_strdup(argv[i + 1]); in main()
A Dtestautomation_clipboard.c58 char *text = SDL_strdup(textRef); in clipboard_testSetClipboardText()
89 char *text = SDL_strdup(textRef); in clipboard_testClipboardTextFunctions()
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandvideo.c88 return SDL_strdup(spot); in get_classname()
93 return SDL_strdup(spot); in get_classname()
112 return SDL_strdup(spot + 1); in get_classname()
114 return SDL_strdup(linkfile); in get_classname()
120 return SDL_strdup("SDL_App"); in get_classname()
231 display->name = SDL_strdup(model); in display_handle_geometry()
A DSDL_waylandclipboard.c92 text = SDL_strdup(""); in Wayland_GetClipboardText()
/AliOS-Things-master/components/SDL2/src/video/uikit/
A DSDL_uikitclipboard.m47 return SDL_strdup(""); // Unsupported.
54 return SDL_strdup(string.UTF8String);
56 return SDL_strdup("");
/AliOS-Things-master/components/SDL2/src/filesystem/unix/
A DSDL_sysfilesystem.c91 retval = SDL_strdup(fullpath); in SDL_GetBasePath()
119 retval = SDL_strdup(path); in SDL_GetBasePath()
/AliOS-Things-master/components/SDL2/src/filesystem/emscripten/
A DSDL_sysfilesystem.c39 return SDL_strdup(retval); in SDL_GetBasePath()
/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoaclipboard.m64 text = SDL_strdup(utf8);
66 text = SDL_strdup("");
/AliOS-Things-master/components/SDL2/src/video/haiku/
A DSDL_bclipboard.cc69 result = SDL_strdup(""); in HAIKU_GetClipboardText()
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_dropevents.c64 event.drop.file = data ? SDL_strdup(data) : NULL; in SDL_SendDrop()
/AliOS-Things-master/components/SDL2/src/joystick/bsd/
A DSDL_sysjoystick.c228 joynames[numjoysticks] = SDL_strdup(s); in BSD_JoystickInit()
242 joynames[numjoysticks++] = SDL_strdup(s); in BSD_JoystickInit()
371 hw->path = SDL_strdup(path);
378 joydevnames[device_index] = SDL_strdup("Gameport joystick");
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsclipboard.c129 text = SDL_strdup(""); in WIN_GetClipboardText()
/AliOS-Things-master/components/SDL2/src/core/alios/
A DSDL_evdev.c271 item->touchscreen_data->name = SDL_strdup(name); in SDL_EVDEV_init_touchscreen()
376 item->path = SDL_strdup(dev_path); in SDL_EVDEV_device_added()
/AliOS-Things-master/components/SDL2/src/joystick/linux/
A DSDL_sysjoystick.c301 item->path = SDL_strdup(path); in MaybeAddDevice()
423 item->path = SDL_strdup(""); in SteamControllerConnectedCallback()
424 item->name = SDL_strdup(name); in SteamControllerConnectedCallback()
534 envcopy = SDL_strdup(SDL_getenv("SDL_JOYSTICK_DEVICE")); in LINUX_JoystickInit()
826 joystick->hwdata->fname = SDL_strdup(item->path); in LINUX_JoystickOpen()
/AliOS-Things-master/components/SDL2/src/joystick/haiku/
A DSDL_haikujoystick.cc77 SDL_joyport[numjoysticks] = SDL_strdup(name); in HAIKU_JoystickInit()
/AliOS-Things-master/components/SDL2/src/haptic/linux/
A DSDL_syshaptic.c286 item->fname = SDL_strdup(path); in MaybeAddDevice()
471 haptic->hwdata->fname = SDL_strdup( item->fname ); in SDL_SYS_HapticOpen()
585 haptic->hwdata->fname = SDL_strdup( joystick->hwdata->fname ); in SDL_SYS_HapticOpenFromJoystick()
/AliOS-Things-master/components/SDL2/src/haptic/android/
A DSDL_syshaptic.c314 item->name = SDL_strdup (name); in Android_AddHaptic()
/AliOS-Things-master/components/SDL2/src/audio/pulseaudio/
A DSDL_pulseaudio.c477 *devname = SDL_strdup(i->name); in SinkDeviceNameCallback()
486 *devname = SDL_strdup(i->name); in SourceDeviceNameCallback()

Completed in 26 milliseconds

123