/titanic_50/usr/src/lib/libbc/libc/yp/ |
H A D | yp_bind.c | 96 yp_bind(domain) in yp_bind() argument 97 char *domain; in yp_bind() 100 _yp_bind(domain); 112 yp_unbind (domain) in yp_unbind() argument 113 char *domain; in yp_unbind() 115 _yp_unbind(domain); /* clean our local cache */ 117 _yp_unbind(domain); 127 yp_get_default_domain(domain) in yp_get_default_domain() argument 128 char **domain; in yp_get_default_domain() 131 _yp_get_default_domain(domain); [all …]
|
/titanic_50/usr/src/cmd/gettext/ |
H A D | gettext.c | 104 char *domain = NULL; in main() local 135 domain = ++arg; in main() 140 domain = *++argv; in main() 188 domain = arg; in main() 210 domain = *argv++; in main() 211 } else if (!domain) { in main() 216 domain = getenv("TEXTDOMAIN"); in main() 217 if (!domain) { in main() 227 (void) bindtextdomain(domain, domainpath); in main() 230 (void) fputs(dgettext(domain, msgid), stdout); in main() [all …]
|
/titanic_50/usr/src/lib/libmail/common/ |
H A D | getdomain.c | 117 static char *domain = 0; in maildomain() local 121 if (domain != 0) in maildomain() 122 return (domain); in maildomain() 124 domain = readdomain(dombuf+1, NMLN); in maildomain() 128 if (domain) { in maildomain() 130 domain = dombuf; in maildomain() 131 while (*domain && *domain == '.') in maildomain() 132 domain++; in maildomain() 133 domain--; in maildomain() 134 len = strlen(domain); in maildomain() [all …]
|
/titanic_50/usr/src/lib/libnsl/yp/ |
H A D | yp_match.c | 63 char *domain; member 87 if (n->domain != 0) in freenode() 88 free(n->domain); in freenode() 96 makenode(char *domain, char *map, int keylen, int vallen) in makenode() argument 106 if (((n->domain = strdup(domain)) == 0) || in makenode() 122 in_cache(char *domain, char *map, char *key, int keylen, char **val, in in_cache() argument 141 (strcmp(domain, c->domain) == 0)) { in in_cache() 176 __yp_match_cflookup(char *domain, char *map, char *key, int keylen, char **val, in __yp_match_cflookup() argument 191 if ((map == NULL) || (domain == NULL)) in __yp_match_cflookup() 194 domlen = strlen(domain); in __yp_match_cflookup() [all …]
|
H A D | yp_master.c | 58 yp_master(char *domain, char *map, char **master) in yp_master() argument 65 if ((map == NULL) || (domain == NULL)) in yp_master() 68 domlen = strlen(domain); in yp_master() 78 if (reason = __yp_dobind(domain, &pdomb)) in yp_master() 83 reason = domaster(domain, map, pdomb, _ypserv_timeout, in yp_master() 88 yp_unbind(domain); in yp_master() 106 rsvdreason = __yp_master_rsvdport(domain, map, master); in yp_master() 120 __yp_master_rsvdport(char *domain, char *map, char **master) in __yp_master_rsvdport() argument 127 if ((map == NULL) || (domain == NULL)) in __yp_master_rsvdport() 130 domlen = strlen(domain); in __yp_master_rsvdport() [all …]
|
H A D | yp_bind.c | 148 __yp_unbind_nolock(char *domain) in __yp_unbind_nolock() argument 153 if ((domain == NULL) || (strlen(domain) == 0)) { in __yp_unbind_nolock() 171 if (strcmp(domain, p->dom_domain) == 0) { in __yp_unbind_nolock() 186 yp_unbind(char *domain) in yp_unbind() argument 189 __yp_unbind_nolock(domain); in yp_unbind() 232 check_binding(char *domain, struct dom_binding **binding) in check_binding() argument 240 if (strcmp(domain, pdomb->dom_domain) == 0) { in check_binding() 260 if ((ypbind_resp = get_cached_domain(domain)) != 0) { in check_binding() 261 pdomb = load_dom_binding(ypbind_resp, domain, &status); in check_binding() 281 __yp_add_binding_netid(char *domain, char *addr, char *netid) in __yp_add_binding_netid() argument [all …]
|
H A D | yp_enum.c | 65 char *domain, in __yp_first_cflookup() argument 78 if ((map == NULL) || (domain == NULL)) in __yp_first_cflookup() 81 domlen = strlen(domain); in __yp_first_cflookup() 90 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_first_cflookup() 95 reason = dofirst(domain, map, pdomb, _ypserv_timeout, in __yp_first_cflookup() 101 yp_unbind(domain); in __yp_first_cflookup() 118 char *domain, in yp_first() argument 126 return (__yp_first_cflookup(domain, map, key, keylen, val, vallen, 1)); in yp_first() 134 dofirst(domain, map, pdomb, timeout, key, keylen, val, vallen) in dofirst() argument 135 char *domain; in dofirst() [all …]
|
H A D | yp_all.c | 63 __yp_all_cflookup(char *domain, char *map, struct ypall_callback *callback, in __yp_all_cflookup() argument 76 if ((map == NULL) || (domain == NULL)) in __yp_all_cflookup() 79 domlen = strlen(domain); in __yp_all_cflookup() 87 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_all_cflookup() 136 - transport level create failure for domain %s / map %s", domain, map); in __yp_all_cflookup() 141 req.domain = domain; in __yp_all_cflookup() 177 yp_all(char *domain, char *map, struct ypall_callback *callback) in yp_all() argument 179 return (__yp_all_cflookup(domain, map, callback, 1)); in yp_all() 188 __yp_all_rsvdport(char *domain, char *map, struct ypall_callback *callback) in __yp_all_rsvdport() argument 200 if ((map == NULL) || (domain == NULL)) in __yp_all_rsvdport() [all …]
|
H A D | yp_order.c | 58 yp_order(char *domain, char *map, unsigned long *order) in yp_order() argument 65 if ((map == NULL) || (domain == NULL)) in yp_order() 68 domlen = strlen(domain); in yp_order() 78 if (reason = __yp_dobind(domain, &pdomb)) in yp_order() 83 reason = doorder(domain, map, pdomb, _ypserv_timeout, in yp_order() 88 yp_unbind(domain); in yp_order() 106 doorder(char *domain, char *map, struct dom_binding *pdomb, in doorder() argument 113 req.domain = domain; in doorder()
|
/titanic_50/usr/src/uts/i86pc/io/ |
H A D | immu_dvma.c | 79 static boolean_t dvma_map(domain_t *domain, uint64_t sdvma, 188 domain_t *domain; in bdf_domain_lookup() local 198 domain = NULL; in bdf_domain_lookup() 200 (void *)bdf, (void *)&domain) == 0) { in bdf_domain_lookup() 201 ASSERT(domain); in bdf_domain_lookup() 202 ASSERT(domain->dom_did > 0); in bdf_domain_lookup() 203 return (domain); in bdf_domain_lookup() 210 bdf_domain_insert(immu_devi_t *immu_devi, domain_t *domain) in bdf_domain_insert() argument 221 (void) mod_hash_insert(bdf_domain_hash, (void *)bdf, (void *)domain); in bdf_domain_insert() 776 domain_t *domain; in immu_devi_domain() local [all …]
|
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_domain.c | 53 #define SMB_IS_FQDN(domain) (strchr(domain, '.') != NULL) argument 119 smb_locate_dc(char *domain, smb_domainex_t *dp) in smb_locate_dc() argument 126 if (domain == NULL || *domain == '\0') { in smb_locate_dc() 134 if (strcmp(smb_dclocator.sdl_domain, domain)) { in smb_locate_dc() 135 (void) strlcpy(smb_dclocator.sdl_domain, domain, in smb_locate_dc() 138 syslog(LOG_DEBUG, "smb_locate_dc new dom=%s", domain); in smb_locate_dc() 139 smb_set_krb5_realm(domain); in smb_locate_dc() 399 smb_ddiscover_main(char *domain, smb_domainex_t *dxi) in smb_ddiscover_main() argument 403 if (domain[0] == '\0') { in smb_ddiscover_main() 413 status = smb_ads_lookup_msdcs(domain, &dxi->d_dci); in smb_ddiscover_main() [all …]
|
H A D | lsalib.c | 80 char *name, *domain; in lsa_lookup_name() local 95 domain = dombuf; in lsa_lookup_name() 98 domain = NULL; in lsa_lookup_name() 101 status = lsa_lookup_name_builtin(domain, name, info); in lsa_lookup_name() 103 status = smb_sam_lookup_name(domain, name, type, info); in lsa_lookup_name() 107 if ((domain == NULL) || (status == NT_STATUS_NOT_FOUND)) in lsa_lookup_name() 141 lsa_query_primary_domain_info(char *server, char *domain, in lsa_query_primary_domain_info() argument 150 status = lsar_open(server, domain, user, &domain_handle); in lsa_query_primary_domain_info() 170 lsa_query_account_domain_info(char *server, char *domain, in lsa_query_account_domain_info() argument 179 status = lsar_open(server, domain, user, &domain_handle); in lsa_query_account_domain_info() [all …]
|
/titanic_50/usr/src/lib/libc/port/i18n/ |
H A D | gettext.c | 73 bindtextdomain(const char *domain, const char *binding) in bindtextdomain() argument 79 res = _real_bindtextdomain_u(domain, binding, TP_BINDING); in bindtextdomain() 85 bind_textdomain_codeset(const char *domain, const char *codeset) in bind_textdomain_codeset() argument 91 res = _real_bindtextdomain_u(domain, codeset, TP_CODESET); in bind_textdomain_codeset() 101 textdomain(const char *domain) in textdomain() argument 108 res = _textdomain_u(domain, tmp_domain); in textdomain() 140 dgettext(const char *domain, const char *msg_id) in dgettext() argument 147 res = _real_gettext_u(domain, msg_id, NULL, 0, LC_MESSAGES, 0, NULL); in dgettext() 154 dgettext_l(const char *domain, const char *msg_id, locale_t loc) in dgettext_l() argument 161 res = _real_gettext_u(domain, msg_id, NULL, 0, LC_MESSAGES, 0, loc); in dgettext_l() [all …]
|
/titanic_50/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netlogon.c | 49 char *domain); 54 static void smb_netlogon_send(struct name_entry *name, char *domain, 80 smb_netlogon_request(struct name_entry *server, char *domain) in smb_netlogon_request() argument 86 if (domain == NULL || *domain == '\0') in smb_netlogon_request() 90 (void) strlcpy(ntdomain_info.n_domain, domain, in smb_netlogon_request() 95 if (smb_strcasecmp(di.di_nbname, domain, 0) == 0) { in smb_netlogon_request() 102 domain, sid); in smb_netlogon_request() 104 smb_netlogon_query(server, MAILSLOT_NETLOGON_RDC, domain); in smb_netlogon_request() 139 char *domain; in smb_netlogon_receive() local 176 rc = smb_msgbuf_decode(&mb, "sUU", &junk, &primary, &domain); in smb_netlogon_receive() [all …]
|
/titanic_50/usr/src/lib/libdns_sd/java/com/apple/dnssd/ |
H A D | DNSSD.java | 118 …public static DNSSDService browse( int flags, int ifIndex, String regType, String domain, BrowseLi… in browse() argument 120 { return getInstance()._makeBrowser( flags, ifIndex, regType, domain, listener); } in browse() 181 String domain, ResolveListener listener) in resolve() argument 183 { return getInstance()._resolve( flags, ifIndex, serviceName, regType, domain, listener); } in resolve() 239 String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) in register() argument 241 …{ return getInstance()._register( flags, ifIndex, serviceName, regType, domain, host, port, txtRec… in register() 364 public static String constructFullName( String serviceName, String regType, String domain) in constructFullName() argument 366 { return getInstance()._constructFullName( serviceName, regType, domain); } in constructFullName() 437 …NSSDService _makeBrowser( int flags, int ifIndex, String regType, String domain, BrowseListener li… in _makeBrowser() argument 441 String domain, ResolveListener listener) in _resolve() argument [all …]
|
/titanic_50/usr/src/lib/libnsl/rpc/ |
H A D | netname.c | 113 char *domain) in user2netname_nis() argument 117 if (domain == NULL) { in user2netname_nis() 122 domain = dfltdom; in user2netname_nis() 124 if ((strlen(domain) + OPSYS_LEN + 3 + MAXIPRINT) > in user2netname_nis() 130 "%s.%d@%s", OPSYS, (int)uid, domain); in user2netname_nis() 178 const char *domain) in user2netname() argument 222 netname, uid, (char *)domain); in user2netname() 269 const char *domain) in host2netname() argument 286 if (domain == NULL) { in host2netname() 287 domain = p; in host2netname() [all …]
|
/titanic_50/usr/src/cmd/ypcmd/ |
H A D | yp.sh | 38 domain=`domainname` 46 if [ -z "$domain" ]; then 50 if [ ! -d /var/yp/binding/$domain ]; then 56 ypfile="/var/yp/binding/$domain/ypservers" 173 domain=`domainname` 175 if [ -z "$domain" ]; then 180 if [ ! -d /var/yp/binding/$domain ]; then 181 echo "$0: /var/yp/binding/$domain is not a directory" 191 if [ -f /var/yp/binding/$domain/ypservers ]; then 205 domain=`domainname` [all …]
|
H A D | ypcat.c | 65 static char *domain = NULL; variable 118 if (!domain) { in main() 129 err = __yp_all_rsvdport(domain, map, &cbinfo); in main() 132 one_by_one_all(domain, map); in main() 174 domain = *argv; 176 if ((int)strlen(domain) > YPMAXDOMAIN) { 249 one_by_one_all(domain, map) in one_by_one_all() argument 250 char *domain; in one_by_one_all() 266 if (err = yp_first(domain, map, &outkey, &outkeylen, &val, &vallen)) { 288 if (err = yp_next(domain, map, key, keylen, &outkey, &outkeylen, [all …]
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | zfs_fuid.c | 143 char *domain; in zfs_fuid_table_load() local 147 &domain) == 0); in zfs_fuid_table_load() 154 domnode->f_ksid = ksid_lookupdomain(domain); in zfs_fuid_table_load() 301 zfs_fuid_find_by_domain(zfsvfs_t *zfsvfs, const char *domain, in zfs_fuid_find_by_domain() argument 313 if (domain[0] == '\0') { in zfs_fuid_find_by_domain() 319 searchnode.f_ksid = ksid_lookupdomain(domain); in zfs_fuid_find_by_domain() 368 char *domain; in zfs_fuid_find_by_idx() local 379 domain = zfs_fuid_idx_domain(&zfsvfs->z_fuid_idx, idx); in zfs_fuid_find_by_idx() 381 domain = nulldomain; in zfs_fuid_find_by_idx() 384 ASSERT(domain); in zfs_fuid_find_by_idx() [all …]
|
/titanic_50/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access_utils.h | 50 extern char *getFullMapName(char *map, char *domain); 56 char *domain, bool_t readonly, int *statP); 57 extern __nis_table_mapping_t *mappingFromMap(char *map, char *domain, 59 extern bool_t singleReadFromDIT(char *map, char *domain, 62 extern suc_code singleWriteToDIT(char *map, char *domain, 65 __nis_rule_value_t *rv, char *domain); 68 int numVals, char *domain); 75 extern suc_code makeNISObject(char *domain, char *dn); 76 extern suc_code addNISObject(char *domain, char *dn,
|
H A D | map_conv.c | 147 dump_map_to_dit(char *map_name, char *domain, bool_t init_containers) in dump_map_to_dit() argument 158 map_name, domain); in dump_map_to_dit() 161 if (SUCCESS != make_nis_container(map_name, domain, init_containers)) { in dump_map_to_dit() 165 map_name, domain); in dump_map_to_dit() 169 map_name, domain); in dump_map_to_dit() 175 map_path = (char *)am(myself, strlen(domain) + strlen(map_name) + in dump_map_to_dit() 179 "Could not alloc memory for %s %s", map_name, domain); in dump_map_to_dit() 184 strcat(map_path, domain); in dump_map_to_dit() 214 "Zero length key ignored in %s %s", map_name, domain); in dump_map_to_dit() 226 if (SUCCESS != write_to_dit(map_name, domain, key, value, in dump_map_to_dit() [all …]
|
H A D | dit_access.c | 120 read_from_dit(char *map, char *domain, datum *key, datum *value) in read_from_dit() argument 133 if (0 == strcasecmp(domain, ypDomains.domainLabels[count])) { in read_from_dit() 145 if (TRUE == singleReadFromDIT(map, domain, key, value, &res)) in read_from_dit() 196 write_to_dit(char *map, char *domain, datum key, datum value, in write_to_dit() argument 210 if (0 == strcasecmp(domain, ypDomains.domainLabels[count])) { in write_to_dit() 222 res = singleWriteToDIT(map, domain, &key, &value, replace); in write_to_dit() 282 table_map = mappingFromMap(map->map_name, map->domain, &res); in get_ttl_value() 287 "(error %d)", map->map_name, map->domain, res); in get_ttl_value() 401 get_passwd_list(bool_t adjunct, char *domain) in get_passwd_list() argument 430 domain_len = strlen(domain); in get_passwd_list() [all …]
|
H A D | shim_ancil.c | 56 ypmkfilename(domain, map, path) in ypmkfilename() argument 57 char *domain; in ypmkfilename() 64 if (strchr(domain, '/') != NULL) 67 length = strlen(domain) + strlen(map) + ypdbpath_sz + 3; 78 strcat(path, domain); 181 ypcheck_domain_yptol(char *domain) in ypcheck_domain_yptol() argument 189 if (strlcat(path, domain, MAXNAMLEN + 1) >= MAXNAMLEN + 1) in ypcheck_domain_yptol() 301 add_map_domain_to_list(char *domain, char ***map_list) in add_map_domain_to_list() argument 319 if (domain == NULL) { in add_map_domain_to_list() 324 if (!ypcheck_domain_yptol(domain)) { in add_map_domain_to_list() [all …]
|
/titanic_50/usr/src/cmd/idmap/idmapd/ |
H A D | directory_provider_ad.c | 56 const char *domain; member 67 const char *domain, const char *filter); 69 char **domain); 220 char domain[id_len + 1]; in directory_provider_ad_get() local 222 split_name(name, domain, id); in directory_provider_ad_get() 226 if (uu_streq(domain, "")) { in directory_provider_ad_get() 229 vw[1] = domain; in directory_provider_ad_get() 286 const char *domain, in directory_provider_ad_lookup() argument 305 cbinfo.domain = domain; in directory_provider_ad_lookup() 314 rc = adutils_lookup_batch_add(qs, filter, attrs, domain, in directory_provider_ad_lookup() [all …]
|
/titanic_50/usr/src/lib/libxcurses/src/libc/i18n/ |
H A D | m_text.c | 51 static char *domain = NULL; /* remember domain chosen */ variable 101 if (domain != NULL) 102 free(domain); 103 domain = str==NULL ? NULL : strdup(str); 127 if (locale != NULL && nlocale != NULL && domain != NULL 135 if (domain==NULL) 141 if ((catd = catopen(domain, NL_CAT_LOCALE)) == (nl_catd)-1) { 143 if ((catd = catopen(domain, 0)) == (nl_catd)-1) {
|