Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 25 of 404) sorted by relevance

12345678910>>...17

/illumos-gate/usr/src/cmd/gettext/
H A Dgettext.c103 char *domain = NULL; in main() local
134 domain = ++arg; in main()
139 domain = *++argv; in main()
187 domain = arg; in main()
209 domain = *argv++; in main()
210 } else if (!domain) { in main()
216 if (!domain) { in main()
230 exit(*domain == '\0'); in main()
233 if (!domain) { in main()
244 (void) fputs(domain ? dgettext(domain, msgid) : msgid, stdout); in main()
[all …]
/illumos-gate/usr/src/lib/libmail/common/
H A Dgetdomain.c121 if (domain != 0) in maildomain()
122 return (domain); 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()
136 domain[--len] = '\0'; in maildomain()
140 domain = ""; in maildomain()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dmlsvc_domain.c53 #define SMB_IS_FQDN(domain) (strchr(domain, '.') != NULL) argument
130 smb_locate_dc(char *domain, smb_domainex_t *dp) in smb_locate_dc() argument
137 if (domain == NULL || *domain == '\0') { in smb_locate_dc()
145 if (strcmp(smb_dclocator.sdl_domain, domain)) { in smb_locate_dc()
150 smb_set_krb5_realm(domain); in smb_locate_dc()
401 if (domain[0] == '\0') { in smb_ddiscover_main()
450 tmp = smb_ddiscover_use_config(domain, dxi); in smb_ddiscover_qinfo()
502 if (SMB_IS_FQDN(domain)) in smb_ddiscover_use_config()
523 smb_set_krb5_realm(char *domain) in smb_set_krb5_realm() argument
527 if (domain == NULL || domain[0] == '\0') { in smb_set_krb5_realm()
[all …]
H A Dlsalib.c98 char *name, *domain; in lsa_lookup_name_int() local
116 domain = dombuf; in lsa_lookup_name_int()
119 domain = NULL; in lsa_lookup_name_int()
122 status = lsa_lookup_name_builtin(domain, name, info); in lsa_lookup_name_int()
124 status = smb_sam_lookup_name(domain, name, type, info); in lsa_lookup_name_int()
128 if (try_ad && ((domain == NULL) || in lsa_lookup_name_int()
178 lsa_query_primary_domain_info(char *server, char *domain, in lsa_query_primary_domain_info() argument
267 lsa_enum_trusted_domains(char *server, char *domain, in lsa_enum_trusted_domains() argument
307 lsa_enum_trusted_domains_ex(char *server, char *domain, in lsa_enum_trusted_domains_ex() argument
362 if ((domain != NULL) && (smb_strcasecmp(domain, wkadom, 0) != 0)) in lsa_lookup_name_builtin()
[all …]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_match.c64 char *domain; member
88 if (n->domain != 0) in freenode()
89 free(n->domain); in freenode()
107 if (((n->domain = strdup(domain)) == 0) || in makenode()
142 (strcmp(domain, c->domain) == 0)) { in in_cache()
234 yp_unbind(domain); in __yp_match_cflookup()
305 char *domain, in yp_match() argument
356 char *domain, in __yp_match_rsvdport_cflookup() argument
424 yp_unbind(domain); in __yp_match_rsvdport_cflookup()
490 char *domain, in yp_match_rsvdport() argument
[all …]
H A Dyp_bind.c153 if ((domain == NULL) || (strlen(domain) == 0)) { in __yp_unbind_nolock()
186 yp_unbind(char *domain) in yp_unbind() argument
536 char *domain, in __yp_dobind_cflookup() argument
548 if ((domain == NULL) ||(strlen(domain) == 0)) in __yp_dobind_cflookup()
590 yp_unbind(domain); in __yp_dobind_cflookup()
673 char *domain, in __yp_dobind() argument
706 char *domain, in __yp_dobind_rsvdport_cflookup() argument
717 if ((domain == NULL) ||(strlen(domain) == 0)) in __yp_dobind_rsvdport_cflookup()
829 char *domain, in __yp_dobind_rsvdport() argument
904 char *domain; in usingypmap() local
[all …]
H A Dyp_master.c59 yp_master(char *domain, char *map, char **master) in yp_master() argument
66 if ((map == NULL) || (domain == NULL)) in yp_master()
69 domlen = strlen(domain); in yp_master()
79 if (reason = __yp_dobind(domain, &pdomb)) in yp_master()
84 reason = domaster(domain, map, pdomb, _ypserv_timeout, in yp_master()
89 yp_unbind(domain); in yp_master()
128 if ((map == NULL) || (domain == NULL)) in __yp_master_rsvdport()
131 domlen = strlen(domain); in __yp_master_rsvdport()
141 if (reason = __yp_dobind_rsvdport(domain, &pdomb)) in __yp_master_rsvdport()
156 yp_unbind(domain); in __yp_master_rsvdport()
[all …]
H A Dyp_enum.c66 char *domain, in __yp_first_cflookup() argument
82 domlen = strlen(domain); in __yp_first_cflookup()
102 yp_unbind(domain); in __yp_first_cflookup()
119 char *domain, in yp_first() argument
136 char *domain; in dofirst()
150 req.domain = domain;
228 char *domain, in __yp_next_cflookup() argument
267 yp_unbind(domain); in __yp_next_cflookup()
285 char *domain, in yp_next() argument
306 char *domain; in donext()
[all …]
H A Dyp_all.c76 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()
200 if ((map == NULL) || (domain == NULL)) in __yp_all_rsvdport()
203 domlen = strlen(domain); in __yp_all_rsvdport()
211 if (reason = __yp_dobind_rsvdport(domain, &pdomb)) in __yp_all_rsvdport()
[all …]
H A Dyp_order.c58 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()
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dvma.c190 domain_t *domain; in bdf_domain_lookup() local
200 domain = NULL; in bdf_domain_lookup()
203 ASSERT(domain); in bdf_domain_lookup()
205 return (domain); in bdf_domain_lookup()
793 if (domain) in immu_devi_domain()
796 return (domain); in immu_devi_domain()
1189 if (domain) { in device_domain()
1243 if (domain) { in device_domain()
1264 return (domain); in device_domain()
1401 return (domain); in domain_create()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Diommu.h51 typedef void (*iommu_destroy_domain_t)(void *domain);
52 typedef uint64_t (*iommu_create_mapping_t)(void *domain, vm_paddr_t gpa,
56 typedef void (*iommu_add_device_t)(void *domain, uint16_t rid);
57 typedef void (*iommu_remove_device_t)(void *domain, uint16_t rid);
58 typedef void (*iommu_invalidate_tlb_t)(void *domain);
79 void iommu_destroy_domain(void *domain);
80 void iommu_create_mapping(void *domain, vm_paddr_t gpa, vm_paddr_t hpa,
82 void iommu_remove_mapping(void *domain, vm_paddr_t gpa, size_t len);
83 void iommu_add_device(void *domain, uint16_t rid);
84 void iommu_remove_device(void *domain, uint16_t rid);
[all …]
H A Diommu.c223 iommu_destroy_domain(void *domain) in iommu_destroy_domain() argument
225 ASSERT3P(domain, !=, NULL); in iommu_destroy_domain()
227 ops->destroy_domain(domain); in iommu_destroy_domain()
236 ASSERT3P(domain, !=, NULL); in iommu_create_mapping()
253 ASSERT3P(domain, !=, NULL); in iommu_remove_mapping()
273 ASSERT3P(domain, !=, NULL); in iommu_add_device()
275 ops->add_device(domain, rid); in iommu_add_device()
281 ASSERT3P(domain, !=, NULL); in iommu_remove_device()
283 ops->remove_device(domain, rid); in iommu_remove_device()
289 ASSERT3P(domain, !=, NULL); in iommu_invalidate_tlb()
[all …]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext.c73 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
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()
168 dcgettext(const char *domain, const char *msg_id, const int category) in dcgettext() argument
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netlogon.c49 char *domain);
86 if (domain == NULL || *domain == '\0') in smb_netlogon_request()
90 (void) strlcpy(ntdomain_info.n_domain, domain, in smb_netlogon_request()
102 domain, sid); in smb_netlogon_request()
139 char *domain; in smb_netlogon_receive() local
216 if (domain == NULL || primary == NULL) { in smb_netlogon_receive()
223 domain, primary, src_name); in smb_netlogon_receive()
272 char *domain) in smb_netlogon_query() argument
349 char *domain, in smb_netlogon_samlogon() argument
435 char *domain, in smb_netlogon_send() argument
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_fuid.c139 char *domain; in zfs_fuid_table_load() local
143 &domain) == 0); in zfs_fuid_table_load()
364 char *domain; in zfs_fuid_find_by_idx() local
377 domain = nulldomain; in zfs_fuid_find_by_idx()
380 ASSERT(domain); in zfs_fuid_find_by_idx()
381 return (domain); in zfs_fuid_find_by_idx()
396 const char *domain; in zfs_fuid_map_id() local
497 const char *domain; in zfs_fuid_create_cred() local
550 const char *domain; in zfs_fuid_create() local
605 &domain, &rid); in zfs_fuid_create()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dnetname.c113 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()
221 netname, uid, (char *)domain); in user2netname()
284 if (domain == NULL) { in host2netname()
285 domain = p; in host2netname()
297 if (domain == NULL) { in host2netname()
312 len = strlen(domain); in host2netname()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp.sh38 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
191 if [ -f /var/yp/binding/$domain/ypservers ]; then
205 domain=`domainname`
207 if [ -z "$domain" ]; then
[all …]
H A Dypcat.c66 static char *domain = NULL; variable
119 if (!domain) { in main()
130 err = __yp_all_rsvdport(domain, map, &cbinfo); in main()
133 one_by_one_all(domain, map); in main()
175 domain = *argv;
177 if ((int)strlen(domain) > YPMAXDOMAIN) {
250 one_by_one_all(domain, map) in one_by_one_all() argument
251 char *domain; in one_by_one_all()
289 if (err = yp_next(domain, map, key, keylen, &outkey, &outkeylen,
313 domain = default_domain_name; in getdomain()
[all …]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.h50 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 Dmap_conv.c158 map_name, domain); in dump_map_to_dit()
165 map_name, domain); in dump_map_to_dit()
169 map_name, domain); 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()
353 dump_dit_to_map(char *map_name, char *domain) in dump_dit_to_map() argument
360 map_name, domain); in dump_dit_to_map()
368 strlen(domain) + strlen(NTOL_PREFIX) + 3); in dump_dit_to_map()
[all …]
H A Ddit_access.c431 domain_len = strlen(domain); in get_passwd_list()
449 strlen(domain) - 1; in get_passwd_list()
452 if (0 != strncmp(end_ptr, domain, strlen(domain))) in get_passwd_list()
796 map->domain); in update_map_from_dit()
906 temp_map.domain = map->domain; in update_map_from_dit()
923 map->domain); in update_map_from_dit()
1005 strlen(domain) - 1; in get_mapping_map_list()
1008 if (0 != strncmp(end_ptr, domain, strlen(domain))) in get_mapping_map_list()
1090 if (!map_name || !domain) in make_nis_container()
1368 temp_map.domain = map->domain; in update_netgroup_byxxx()
[all …]
H A Dshim_ancil.c56 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 …]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_ad.c56 const char *domain; member
69 char **domain);
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()
386 char *domain = NULL; in directory_provider_ad_cb1() local
397 if (cbinfo->domain != NULL && !domain_eq(cbinfo->domain, domain)) in directory_provider_ad_cb1()
439 domain); in directory_provider_ad_cb1()
466 free(domain); in directory_provider_ad_cb1()
535 char **domain) in get_domain() argument
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dhosttype.tst3 sgi.mips2 hostname.domain IP22 mips IRIX hostname 5.2 02282016
4 osf.alpha hostname.domain alpha alpha OSF1 hostname.domain V3.2 62
5 sun4 hostname.domain sun4 sparc SunOS hostname.domain 4.1.1 1 sun4c
6 sol.sun4 hostname.domain sun4 sparc SunOS hostname.domain 5.4 Generic_101945-13

12345678910>>...17