Lines Matching refs:dirname
134 const char *dirname = *dirnamep; in __libc_rwlock_define() local
136 if (dirname == NULL) in __libc_rwlock_define()
138 *dirnamep = binding->dirname; in __libc_rwlock_define()
144 char *result = binding->dirname; in __libc_rwlock_define()
145 if (strcmp (dirname, result) != 0) in __libc_rwlock_define()
147 if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) in __libc_rwlock_define()
152 result = strdup (dirname); in __libc_rwlock_define()
154 size_t len = strlen (dirname) + 1; in __libc_rwlock_define()
157 memcpy (result, dirname, len); in __libc_rwlock_define()
163 if (binding->dirname != INTUSE(_nl_default_dirname)) in __libc_rwlock_define()
164 free (binding->dirname); in __libc_rwlock_define()
166 binding->dirname = result; in __libc_rwlock_define()
234 const char *dirname = *dirnamep; in __libc_rwlock_define() local
236 if (dirname == NULL) in __libc_rwlock_define()
238 dirname = INTUSE(_nl_default_dirname); in __libc_rwlock_define()
241 if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) in __libc_rwlock_define()
242 dirname = INTUSE(_nl_default_dirname); in __libc_rwlock_define()
247 result = strdup (dirname); in __libc_rwlock_define()
251 size_t len = strlen (dirname) + 1; in __libc_rwlock_define()
255 memcpy (result, dirname, len); in __libc_rwlock_define()
257 dirname = result; in __libc_rwlock_define()
260 *dirnamep = dirname; in __libc_rwlock_define()
261 new_binding->dirname = (char *) dirname; in __libc_rwlock_define()
265 new_binding->dirname = (char *) INTUSE(_nl_default_dirname); in __libc_rwlock_define()
321 if (new_binding->dirname != INTUSE(_nl_default_dirname)) in __libc_rwlock_define()
322 free (new_binding->dirname); in __libc_rwlock_define()
343 BINDTEXTDOMAIN (const char *domainname, const char *dirname) in BINDTEXTDOMAIN() argument
345 set_binding_values (domainname, &dirname, NULL); in BINDTEXTDOMAIN()
346 return (char *) dirname; in BINDTEXTDOMAIN()