Lines Matching refs:binding
68 extern struct binding *_nl_domain_bindings;
106 struct binding *binding; local
123 for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next)
125 int compare = strcmp (domainname, binding->domainname);
132 binding = NULL;
137 if (binding != NULL)
145 *dirnamep = binding->dirname;
151 char *result = binding->dirname;
170 if (binding->dirname != INTUSE(_nl_default_dirname))
171 free (binding->dirname);
173 binding->dirname = result;
187 *codesetp = binding->codeset;
193 char *result = binding->codeset;
207 if (binding->codeset != NULL)
208 free (binding->codeset);
210 binding->codeset = result;
211 binding->codeset_cntr++;
232 struct binding *new_binding =
233 (struct binding *) malloc (offsetof (struct binding, domainname) + len);
314 binding = _nl_domain_bindings;
315 while (binding->next != NULL
316 && strcmp (domainname, binding->next->domainname) > 0)
317 binding = binding->next;
319 new_binding->next = binding->next;
320 binding->next = new_binding;