Lines Matching refs:new_domain
82 char *new_domain; in __libc_rwlock_define() local
98 new_domain = (char *) _nl_current_default_domain; in __libc_rwlock_define()
103 new_domain = old_domain; in __libc_rwlock_define()
110 new_domain = strdup (domainname); in __libc_rwlock_define()
113 new_domain = (char *) malloc (len); in __libc_rwlock_define()
114 if (new_domain != NULL) in __libc_rwlock_define()
115 memcpy (new_domain, domainname, len); in __libc_rwlock_define()
118 if (new_domain != NULL) in __libc_rwlock_define()
119 _nl_current_default_domain = new_domain; in __libc_rwlock_define()
125 if (new_domain != NULL) in __libc_rwlock_define()
129 if (old_domain != new_domain && old_domain != _nl_default_default_domain) in __libc_rwlock_define()
135 return new_domain; in __libc_rwlock_define()