Lines Matching defs:result
125 char *result = binding->dirname;
126 if (strcmp (dirname, result) != 0)
129 result = (char *) _nl_default_dirname;
133 result = strdup (dirname);
136 result = (char *) malloc (len);
137 if (__builtin_expect (result != NULL, 1))
138 memcpy (result, dirname, len);
142 if (__builtin_expect (result != NULL, 1))
147 binding->dirname = result;
151 *dirnamep = result;
167 char *result = binding->codeset;
168 if (result == NULL || strcmp (codeset, result) != 0)
171 result = strdup (codeset);
174 result = (char *) malloc (len);
175 if (__builtin_expect (result != NULL, 1))
176 memcpy (result, codeset, len);
179 if (__builtin_expect (result != NULL, 1))
184 binding->codeset = result;
188 *codesetp = result;
226 char *result;
228 result = strdup (dirname);
229 if (__builtin_expect (result == NULL, 0))
233 result = (char *) malloc (len);
234 if (__builtin_expect (result == NULL, 0))
236 memcpy (result, dirname, len);
238 dirname = result;
254 char *result;
257 result = strdup (codeset);
258 if (__builtin_expect (result == NULL, 0))
262 result = (char *) malloc (len);
263 if (__builtin_expect (result == NULL, 0))
265 memcpy (result, codeset, len);
267 codeset = result;