Lines Matching defs:result
144 char *result = binding->dirname;
145 if (strcmp (dirname, result) != 0)
148 result = (char *) INTUSE(_nl_default_dirname);
152 result = strdup (dirname);
155 result = (char *) malloc (len);
156 if (__builtin_expect (result != NULL, 1))
157 memcpy (result, dirname, len);
161 if (__builtin_expect (result != NULL, 1))
166 binding->dirname = result;
170 *dirnamep = result;
186 char *result = binding->codeset;
187 if (result == NULL || strcmp (codeset, result) != 0)
190 result = strdup (codeset);
193 result = (char *) malloc (len);
194 if (__builtin_expect (result != NULL, 1))
195 memcpy (result, codeset, len);
198 if (__builtin_expect (result != NULL, 1))
203 binding->codeset = result;
208 *codesetp = result;
246 char *result;
248 result = strdup (dirname);
249 if (__builtin_expect (result == NULL, 0))
253 result = (char *) malloc (len);
254 if (__builtin_expect (result == NULL, 0))
256 memcpy (result, dirname, len);
258 dirname = result;
276 char *result;
279 result = strdup (codeset);
280 if (__builtin_expect (result == NULL, 0))
284 result = (char *) malloc (len);
285 if (__builtin_expect (result == NULL, 0))
287 memcpy (result, codeset, len);
289 codeset = result;