Searched refs:envr (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/SDL2/src/locale/unix/ |
A D | SDL_syslocale.c | 73 const char *envr; in SDL_SYS_GetPreferredLocales() local 86 envr = SDL_getenv("LANG"); in SDL_SYS_GetPreferredLocales() 87 if (envr) { in SDL_SYS_GetPreferredLocales() 88 SDL_strlcpy(tmp, envr, buflen); in SDL_SYS_GetPreferredLocales() 92 envr = SDL_getenv("LANGUAGE"); in SDL_SYS_GetPreferredLocales() 93 if (envr) { in SDL_SYS_GetPreferredLocales() 97 SDL_strlcat(tmp, envr, buflen); in SDL_SYS_GetPreferredLocales()
|
/AliOS-Things-master/components/SDL2/src/filesystem/unix/ |
A D | SDL_sysfilesystem.c | 186 const char *envr = SDL_getenv("XDG_DATA_HOME"); in SDL_GetPrefPath() local 200 if (!envr) { in SDL_GetPrefPath() 202 envr = SDL_getenv("HOME"); in SDL_GetPrefPath() 203 if (!envr) { in SDL_GetPrefPath() 213 len = SDL_strlen(envr); in SDL_GetPrefPath() 214 if (envr[len - 1] == '/') in SDL_GetPrefPath() 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/ |
A D | SDL_assert.c | 150 const char *envr; in SDL_PromptAssertion() local 184 envr = SDL_getenv("SDL_ASSERT"); in SDL_PromptAssertion() 185 if (envr != NULL) { in SDL_PromptAssertion() 188 if (SDL_strcmp(envr, "abort") == 0) { in SDL_PromptAssertion() 190 } else if (SDL_strcmp(envr, "break") == 0) { in SDL_PromptAssertion() 192 } else if (SDL_strcmp(envr, "retry") == 0) { in SDL_PromptAssertion() 194 } else if (SDL_strcmp(envr, "ignore") == 0) { in SDL_PromptAssertion() 196 } else if (SDL_strcmp(envr, "always_ignore") == 0) { in SDL_PromptAssertion()
|
/AliOS-Things-master/components/SDL2/src/video/dummy/ |
A D | SDL_nullvideo.c | 65 const char *envr = SDL_getenv("SDL_VIDEODRIVER"); in DUMMY_Available() 66 if ((envr) && (SDL_strcmp(envr, DUMMYVID_DRIVER_NAME) == 0)) { in DUMMY_Available()
|
/AliOS-Things-master/components/SDL2/src/video/alios/ |
A D | SDL_AliOS_video.c | 65 const char *envr = SDL_getenv("SDL_VIDEODRIVER"); in AliOS_Available() 66 if ((envr) && (SDL_strcmp(envr, ALIOSVID_DRIVER_NAME) == 0)) { in AliOS_Available()
|
/AliOS-Things-master/components/SDL2/src/audio/disk/ |
A D | SDL_diskaudio.c | 133 const char *envr = SDL_getenv(DISKENVR_IODELAY); in DISKAUDIO_OpenDevice() local 142 if (envr != NULL) { in DISKAUDIO_OpenDevice() 143 this->hidden->io_delay = SDL_atoi(envr); in DISKAUDIO_OpenDevice()
|
Completed in 7 milliseconds