Lines Matching refs:dirname
141 const char *dirname = *dirnamep; local
143 if (dirname == NULL)
145 *dirnamep = binding->dirname;
151 char *result = binding->dirname;
152 if (strcmp (dirname, result) != 0)
154 if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0)
159 result = strdup (dirname);
161 size_t len = strlen (dirname) + 1;
164 memcpy (result, dirname, len);
170 if (binding->dirname != INTUSE(_nl_default_dirname))
171 free (binding->dirname);
173 binding->dirname = result;
242 const char *dirname = *dirnamep; local
244 if (dirname == NULL)
246 dirname = INTUSE(_nl_default_dirname);
249 if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0)
250 dirname = INTUSE(_nl_default_dirname);
255 result = strdup (dirname);
259 size_t len = strlen (dirname) + 1;
263 memcpy (result, dirname, len);
265 dirname = result;
268 *dirnamep = dirname;
269 new_binding->dirname = (char *) dirname;
273 new_binding->dirname = (char *) INTUSE(_nl_default_dirname);
329 if (new_binding->dirname != INTUSE(_nl_default_dirname))
330 free (new_binding->dirname);
351 BINDTEXTDOMAIN (domainname, dirname) in BINDTEXTDOMAIN() argument
353 const char *dirname;
355 set_binding_values (domainname, &dirname, NULL);
356 return (char *) dirname;