Lines Matching full:value
38 /* Put a variable of the form "name=value" into the environment */
42 char *value;
59 value = SDL_envmem + (sep - variable);
60 *value++ = '\0';
61 if ( !SetEnvironmentVariable(SDL_envmem, *value ? value : NULL) ) {
92 /* Put a variable of the form "name=value" into the environment */
95 const char *name, *value;
106 for ( value=variable; *value && (*value != '='); ++value ) {
109 if ( *value ) {
110 ++value;
126 len = (value - name);
159 char *value;
161 value = (char *)0;
164 for ( i=0; SDL_env[i] && !value; ++i ) {
167 value = &SDL_env[i][len+1];
171 return value;
183 char *value;
201 value = SDL_getenv("FIRST");
202 if ( value && (SDL_strcmp(value, "VALUE1") == 0) ) {
216 value = SDL_getenv("SECOND");
217 if ( value && (SDL_strcmp(value, "VALUE2") == 0) ) {
231 value = SDL_getenv("FIRST");
232 if ( value && (SDL_strcmp(value, "NOVALUE") == 0) ) {