Home
last modified time | relevance | path

Searched refs:SDL_strlen (Results 1 – 25 of 43) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.15/src/stdlib/
DSDL_string.c318 size_t SDL_strlen(const char *string) in SDL_strlen() function
331 size_t srclen = SDL_strlen(src); in SDL_strlcpy()
344 size_t dstlen = SDL_strlen(dst); in SDL_strlcat()
345 size_t srclen = SDL_strlen(src); in SDL_strlcat()
356 size_t len = SDL_strlen(string)+1; in SDL_strdup()
368 size_t len = SDL_strlen(string); in SDL_strrev()
421 const char *bufp = string + SDL_strlen(string) - 1; in SDL_strrchr()
435 size_t length = SDL_strlen(needle); in SDL_strstr()
515 if ( (SDL_strlen(string) > 2) && (SDL_strncmp(string, "0x", 2) == 0) ) { in SDL_strtol()
537 if ( (SDL_strlen(string) > 2) && (SDL_strncmp(string, "0x", 2) == 0) ) { in SDL_strtoul()
[all …]
DSDL_getenv.c49 bufferlen = SDL_strlen(variable)+1; in SDL_putenv()
163 len = SDL_strlen(name); in SDL_getenv()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/
DSDL_syscdrom.c202 mnt_type_len = SDL_strlen(mntent->mnt_type) + 1; in CheckMounts()
207 mnt_dev_len = SDL_strlen(mntent->mnt_fsname) + 1; in CheckMounts()
222 mnt_type = SDL_strdup(tmp + SDL_strlen("fs=")); in CheckMounts()
233 mnt_dev = SDL_strdup(tmp + SDL_strlen("dev=")); in CheckMounts()
286 size_t len = SDL_strlen(SDLcdrom)+1; in SDL_SYS_CDInit()
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_stdinc.h395 #define SDL_strlen strlen macro
397 extern DECLSPEC size_t SDLCALL SDL_strlen(const char *string);
610 #define SDL_iconv_utf8_locale(S) SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1)
611 #define SDL_iconv_utf8_ucs2(S) (Uint16 *)SDL_iconv_string("UCS-2", "UTF-8", S, SDL_strlen(S)+1)
612 #define SDL_iconv_utf8_ucs4(S) (Uint32 *)SDL_iconv_string("UCS-4", "UTF-8", S, SDL_strlen(S)+1)
/external/qemu/distrib/sdl-1.2.15/src/loadso/macosx/
DSDL_dlcompat.c374 buf_size = SDL_strlen(ldlp) + SDL_strlen(dyldlp) + SDL_strlen(stdpath) + 4; in searchList()
750 if (!savedErrorStr || !SDL_strlen(savedErrorStr)) in dlsymIntern()
845 if (!errstr || (!SDL_strlen(errstr))) in loadModule()
1016 int sym_len = SDL_strlen(symbol); in SDL_OSX_dlsym()
1062 int sym_len = SDL_strlen(symbol); in dlsym_prepend_underscore_intern()
1348 int sym_len = SDL_strlen(symbol);
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
DSDL_riscostask.c191 size_t len = SDL_strlen(command_line)+1; in RISCOS_GetTaskName()
222 len = SDL_strlen(p) + 18; /* 18 is larger than the biggest variable name */ in RISCOS_GetTaskName()
/external/qemu/distrib/sdl-1.2.15/src/loadso/dlopen/
DSDL_sysloadso.c49 size_t len = 1+SDL_strlen(name)+1; in SDL_LoadFunction()
/external/qemu/distrib/sdl-1.2.15/test/
Dtesticonv.c51 ucs4 = SDL_iconv_string("UCS-4", "UTF-8", buffer, SDL_strlen(buffer)+1); in main()
/external/qemu/distrib/sdl-1.2.15/src/main/win32/
DSDL_win32_main.c288 n = SDL_strlen(appname); in console_main()
381 nLen = SDL_strlen(bufp)+1; in WinMain()
/external/qemu/distrib/sdl-1.2.15/src/file/
DSDL_rwops.c90 size_t size = SDL_strlen(filename)+1; in win32_file_open()
109 const size_t size = SDL_strlen(filename)+1; in win32_file_open()
145 char *utf16 = SDL_iconv_string("UCS2", "UTF8", filename, SDL_strlen(filename) + 1); in win32_file_open()
446 int flen = SDL_strlen(file); in unix_to_mac()
/external/qemu/distrib/sdl-1.2.15/src/audio/
DSDL_audiodev.c76 if ( (audio_fd < 0) && (SDL_strlen(audiodev) < (sizeof(audiopath)-3)) ) { in SDL_OpenAudioPath()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/
DSDL_syscdrom.cc119 len = SDL_strlen(drive)+1; in AddDrive()
170 size_t len = SDL_strlen(SDLcdrom)+1; in SDL_SYS_CDInit()
/external/qemu/distrib/sdl-1.2.15/src/loadso/win32/
DSDL_sysloadso.c91 int length = SDL_strlen(name); in SDL_LoadFunction()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/
DSDL_syscdrom.c177 size_t len = SDL_strlen(SDLcdrom)+1; in SDL_SYS_CDInit()
212 name_len = SDL_strlen(checklist[i].name); in SDL_SYS_CDInit()
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
DSDL_BWin.h241 srclen = SDL_strlen(buf); in Translate2Unicode()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/
DSDL_syscdrom.c307 size_t len = SDL_strlen(SDLcdrom)+1; in SDL_SYS_CDInit()
372 len = SDL_strlen(SDL_cdlist[drive])+2; in SDL_SYS_CDOpen()
/external/qemu/distrib/sdl-1.2.15/src/joystick/bsd/
DSDL_sysjoystick.c354 sp = SDL_malloc(SDL_strlen(s) + 5);
355 SDL_snprintf(sp, SDL_strlen(s) + 5, "%s (%d)", s,
/external/qemu/distrib/sdl-1.2.15/src/audio/mme/
DSDL_mmeaudio.c101 len = SDL_strlen(errbuf); in SetMMerror()
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11mouse.c199 len = SDL_strlen(accel_param)+1; in SetMouseAccel()
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
DSDL_sysjoystick.c358 slen = SDL_strlen(namebuf); in LogicalSuffix()
634 env += SDL_strlen(env_name)+2; in JS_ConfigJoystick()
636 env += SDL_strlen(env_name); in JS_ConfigJoystick()
/external/qemu/distrib/sdl-1.2.15/src/audio/windib/
DSDL_dibaudio.c134 len = SDL_strlen(errbuf); in SetMMerror()
/external/qemu/distrib/sdl-1.2.15/src/video/windib/
DSDL_dibevents.c653 wchar_t *windowid_t = SDL_malloc((SDL_strlen(windowid) + 1) * sizeof(wchar_t)); in DIB_CreateWindow()
654 MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, windowid, -1, windowid_t, SDL_strlen(windowid) + 1); in DIB_CreateWindow()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/
DSDL_syscdrom.c166 size_t len = SDL_strlen(SDLcdrom)+1; in SDL_SYS_CDInit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/
DSDL_syscdrom.c157 size_t len = SDL_strlen(SDLcdrom)+1; in SDL_SYS_CDInit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/
DSDL_syscdrom.c174 size_t len = SDL_strlen(SDLcdrom)+1; in SDL_SYS_CDInit()

12