Lines Matching refs:binding
68 extern struct binding *_nl_domain_bindings;
99 struct binding *binding; in __libc_rwlock_define() local
116 for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) in __libc_rwlock_define()
118 int compare = strcmp (domainname, binding->domainname); in __libc_rwlock_define()
125 binding = NULL; in __libc_rwlock_define()
130 if (binding != NULL) in __libc_rwlock_define()
138 *dirnamep = binding->dirname; in __libc_rwlock_define()
144 char *result = binding->dirname; 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()
180 *codesetp = binding->codeset; in __libc_rwlock_define()
186 char *result = binding->codeset; in __libc_rwlock_define()
200 free (binding->codeset); in __libc_rwlock_define()
202 binding->codeset = result; in __libc_rwlock_define()
203 binding->codeset_cntr++; in __libc_rwlock_define()
224 struct binding *new_binding = in __libc_rwlock_define()
225 (struct binding *) malloc (offsetof (struct binding, domainname) + len); in __libc_rwlock_define()
306 binding = _nl_domain_bindings; in __libc_rwlock_define()
307 while (binding->next != NULL in __libc_rwlock_define()
308 && strcmp (domainname, binding->next->domainname) > 0) in __libc_rwlock_define()
309 binding = binding->next; in __libc_rwlock_define()
311 new_binding->next = binding->next; in __libc_rwlock_define()
312 binding->next = new_binding; in __libc_rwlock_define()