Lines Matching refs:result
146 char *result = binding->dirname;
147 if (strcmp (dirname, result) != 0)
150 result = (char *) _nl_default_dirname;
154 result = strdup (dirname);
157 result = (char *) malloc (len);
158 if (__builtin_expect (result != NULL, 1))
159 memcpy (result, dirname, len);
163 if (__builtin_expect (result != NULL, 1))
168 binding->dirname = result;
172 *dirnamep = result;
188 char *result = binding->codeset;
189 if (result == NULL || strcmp (codeset, result) != 0)
192 result = strdup (codeset);
195 result = (char *) malloc (len);
196 if (__builtin_expect (result != NULL, 1))
197 memcpy (result, codeset, len);
200 if (__builtin_expect (result != NULL, 1))
205 binding->codeset = result;
210 *codesetp = result;
248 char *result;
250 result = strdup (dirname);
251 if (__builtin_expect (result == NULL, 0))
255 result = (char *) malloc (len);
256 if (__builtin_expect (result == NULL, 0))
258 memcpy (result, dirname, len);
260 dirname = result;
278 char *result;
281 result = strdup (codeset);
282 if (__builtin_expect (result == NULL, 0))
286 result = (char *) malloc (len);
287 if (__builtin_expect (result == NULL, 0))
289 memcpy (result, codeset, len);
291 codeset = result;