/dragonfly/lib/libc/rpc/ |
H A D | netname.c | 100 user2netname(char *netname, const uid_t uid, const char *domain) in user2netname() argument 104 if (domain == NULL) { in user2netname() 108 domain = dfltdom; in user2netname() 110 if (strlen(domain) + 1 + U_INT_STRLEN_MAXIMUM(u_long) + 1 + strlen(OPSYS) > MAXNETNAMELEN) { in user2netname() 113 sprintf(netname, "%s.%ld@%s", OPSYS, (u_long)uid, domain); in user2netname() 122 host2netname(char *netname, const char *host, const char *domain) in host2netname() argument 127 if (domain == NULL) { in host2netname() 131 domain = dfltdom; in host2netname() 137 if (strlen(domain) + 1 + strlen(host) + 1 + strlen(OPSYS) > MAXNETNAMELEN) { in host2netname() 140 sprintf(netname, "%s.%s@%s", OPSYS, host, domain); in host2netname()
|
H A D | netnamer.c | 84 char *domain; in netname2user() local 125 err = __rpc_get_default_domain(&domain); /* change to rpc */ in netname2user() 129 if (strcmp(val2 + 1, domain)) in netname2user() 197 char *domain; in netname2host() local 221 err = __rpc_get_default_domain(&domain); /* change to rpc */ in netname2host() 225 if (strcmp(val2 + 1, domain)) in netname2host() 244 char *domain; in getnetid() local 272 err = yp_get_default_domain(&domain); in getnetid() 277 err = yp_match(domain, NETID, key, in getnetid()
|
/dragonfly/lib/libutil/ |
H A D | trimdomain.c | 56 static char domain[MAXHOSTNAMELEN]; in trimdomain() local 63 if (gethostname(domain, sizeof(domain) - 1) == 0 && in trimdomain() 64 (s = strchr(domain, '.')) != NULL) in trimdomain() 65 memmove(domain, s + 1, strlen(s + 1) + 1); in trimdomain() 67 domain[0] = '\0'; in trimdomain() 68 dlen = strlen(domain); in trimdomain() 71 if (domain[0] == '\0') in trimdomain() 77 if (strncasecmp(s + 1, domain, dlen) == 0) { in trimdomain()
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 264 bp.domain = domain; in amdgpu_bo_create_reserved() 286 r = amdgpu_bo_pin(*bo_ptr, domain); in amdgpu_bo_create_reserved() 462 bp->domain; in amdgpu_bo_do_create() 562 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_create_shadow() 684 uint32_t domain; in amdgpu_bo_validate() local 690 domain = bo->preferred_domains; in amdgpu_bo_validate() 696 domain = bo->allowed_domains; in amdgpu_bo_validate() 894 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_pin_restricted() 902 domain = amdgpu_bo_get_preferred_pin_domain(adev, domain); in amdgpu_bo_pin_restricted() 1391 uint32_t domain) in amdgpu_bo_get_preferred_pin_domain() argument [all …]
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | cp-namespace.c | 44 const domain_enum domain, 235 domain, scope, 0); in cp_lookup_symbol_nonlocal() 240 block, domain); in cp_lookup_symbol_nonlocal() 322 block, domain, 1); in cp_lookup_symbol_imports() 366 block, domain, 1); in cp_lookup_symbol_imports() 400 block, domain, 1); in cp_lookup_symbol_imports() 409 domain, 0, 0); in cp_lookup_symbol_imports() 527 block, domain, 1); in cp_lookup_symbol_namespace() 536 domain, 0, 1); in cp_lookup_symbol_namespace() 565 const domain_enum domain, in lookup_namespace_scope() argument [all …]
|
H A D | cp-valprint.c | 724 struct type *domain; in cp_find_class_member() local 729 domain = *domain_p; in cp_find_class_member() 730 len = TYPE_NFIELDS (domain); in cp_find_class_member() 732 for (i = TYPE_N_BASECLASSES (domain); i < len; i++) in cp_find_class_member() 734 LONGEST bitpos = TYPE_FIELD_BITPOS (domain, i); in cp_find_class_member() 744 for (i = 0; i < TYPE_N_BASECLASSES (domain); i++) in cp_find_class_member() 746 LONGEST bitpos = TYPE_FIELD_BITPOS (domain, i); in cp_find_class_member() 751 *domain_p = TYPE_FIELD_TYPE (domain, i); in cp_find_class_member() 769 struct type *domain = TYPE_DOMAIN_TYPE (type); in cp_print_class_member() local 795 if (domain != NULL) in cp_print_class_member() [all …]
|
/dragonfly/libexec/ypxfr/ |
H A D | ypxfr_misc.c | 121 ypxfr_get_master(char *domain, char *map, char *source, const int yplib) in ypxfr_get_master() argument 130 if ((res = yp_master(domain, map, &master))) { in ypxfr_get_master() 162 req.domain = domain; in ypxfr_get_master() 193 ypxfr_get_order(char *domain, char *map, char *source, const int yplib) in ypxfr_get_order() argument 198 if ((res = yp_order(domain, map, (int *)&order))) { in ypxfr_get_order() 226 req.domain = domain; in ypxfr_get_order() 255 ypxfr_match(char *server, char *domain, char *map, char *key, in ypxfr_match() argument 271 ypkey.domain = domain; in ypxfr_match()
|
/dragonfly/usr.sbin/rpc.yppasswdd/ |
H A D | yppasswdd_server.c | 236 static char domain[YPMAXDOMAIN]; in find_domain() local 281 return((char *)&domain); in find_domain() 363 pw->pw_uid, maps[i], domain, in update_inplace() 452 char *domain = yppasswd_domain; in yppasswdproc_update_1_svc() local 500 argp->newpw.pw_name, domain); in yppasswdproc_update_1_svc() 572 if (strcmp(domain, yppasswd_domain)) { in yppasswdproc_update_1_svc() 574 "%s/%s/master.passwd", yp_dir, domain); in yppasswdproc_update_1_svc() 863 argp->domain))) { in yppasswdproc_update_master_1_svc() 872 argp->domain, "pushpw", NULL); in yppasswdproc_update_master_1_svc() 875 argp->domain, NULL); in yppasswdproc_update_master_1_svc() [all …]
|
/dragonfly/usr.sbin/ypserv/ |
H A D | yp_server.c | 218 if (argp->domain == NULL) { 337 if (argp->map_parms.domain == NULL) { 351 mreq.domain = argp->map_parms.domain; 359 argp->map_parms.domain); 381 "-d", argp->map_parms.domain, 389 "-d", argp->map_parms.domain, 551 if (yp_select_map(argp->map, argp->domain, 586 if (argp->domain == NULL) { 633 if (argp->domain == NULL) { 675 yp_maplist_create(const char *domain) argument [all …]
|
H A D | yp_access.c | 204 yp_access(const char *map, const char *domain, const struct svc_req *rqstp) argument 251 if ((yp_testflag((char *)map, (char *)domain, YP_SECURE) || 309 yp_validdomain(const char *domain) argument 314 if (domain == NULL || strstr(domain, "binding") || 315 !strcmp(domain, ".") || !strcmp(domain, "..") || 316 strchr(domain, '/') || strlen(domain) > YPMAXDOMAIN) 319 snprintf(dompath, sizeof(dompath), "%s/%s", yp_dir, domain);
|
H A D | yp_dblookup.c | 215 yp_testflag(char *map, char *domain, int flag) in yp_testflag() argument 220 if (map == NULL || domain == NULL) in yp_testflag() 223 strcpy(buf, domain); in yp_testflag() 236 if (yp_open_db_cache(domain, map, NULL, 0) == NULL) in yp_testflag() 353 strcpy(buf, domain); in yp_open_db_cache() 360 if ((dbp = yp_open_db(domain, map)) != NULL) { in yp_open_db_cache() 377 yp_open_db(const char *domain, const char *map) in yp_open_db() argument 390 if (yp_validdomain(domain)) { in yp_open_db() 472 if ((dbp = yp_open_db(domain, map)) == NULL) { in yp_get_record() 657 yp_currmap_db = yp_open_db_cache(domain, map, NULL, 0); in yp_select_map() [all …]
|
/dragonfly/lib/libc/resolv/ |
H A D | res_query.c | 214 const char *cp, * const *domain; in res_nsearch() local 262 *domain && !done; in res_nsearch() 263 domain++) { in res_nsearch() 266 if (domain[0][0] == '\0' || in res_nsearch() 267 (domain[0][0] == '.' && domain[0][1] == '\0')) in res_nsearch() 270 ret = res_nquerydomain(statp, name, *domain, in res_nsearch() 356 const char *domain, in res_nquerydomain() argument 368 name, domain?domain:"<Nil>", class, type); in res_nquerydomain() 370 if (domain == NULL) { in res_nquerydomain() 388 d = strlen(domain); in res_nquerydomain() [all …]
|
/dragonfly/libexec/mknetid/ |
H A D | mknetid.c | 106 char *domain; in main() local 112 domain = NULL; in main() 128 domain = optarg; in main() 139 if (domain == NULL) { in main() 140 if (yp_get_default_domain(&domain)) in main() 216 pidptr, domain); in main() 221 OPSYS, pidptr, domain); in main() 226 printf("%s.%s@%s %s:%s", OPSYS, pidptr, domain, pidptr, gidptr); in main() 259 ptr, domain); in main() 268 printf ("%s.%s@%s 0:%s\n", OPSYS, ptr, domain, ptr); in main()
|
/dragonfly/contrib/xz/ |
H A D | COPYING | 9 - liblzma is in the public domain. 12 domain unless GNU getopt_long had to be compiled and linked 22 are in the public domain. 24 - Translated messages are in the public domain. 26 - The build system contains public domain files, and files that 31 utilities in the debug directory are in the public domain. 33 - The extra directory may contain public domain files, and files 37 the public domain. If you find public domain legally problematic, 44 If you copy significant amounts of public domain code from XZ Utils 59 binary wouldn't actually be in the public domain in its entirety
|
/dragonfly/lib/libpam/modules/pam_login_access/ |
H A D | login_access.c | 142 char domain[1024]; in netgroup_match() local 145 if (getdomainname(domain, sizeof(domain)) != 0 || *domain == '\0') { in netgroup_match() 151 for (i = 0; i < sizeof(domain); ++i) in netgroup_match() 152 if (domain[i] == '\0') in netgroup_match() 154 if (i == sizeof(domain)) { in netgroup_match() 159 if (innetgr(group, machine, user, domain) == 1) in netgroup_match()
|
/dragonfly/sys/sys/ |
H A D | domain.h | 48 SLIST_HEAD(domainlist, domain); 50 struct domain { struct 60 SLIST_ENTRY(domain) dom_next; argument 73 extern struct domain localdomain; argument 78 SYSINIT(domain_ ## name, SI_SUB_PROTO_DOMAIN, SI_ORDER_SECOND, net_add_domain, & name ## domain)
|
/dragonfly/lib/libypclnt/ |
H A D | ypclnt_new.c | 43 ypclnt_new(const char *domain, const char *map, const char *server) in ypclnt_new() argument 49 if (domain != NULL && (ypclnt->domain = strdup(domain)) == NULL) in ypclnt_new() 57 free(ypclnt->domain); in ypclnt_new()
|
H A D | ypclnt_connect.c | 55 if (ypclnt->domain == NULL) { in ypclnt_connect() 56 if ((ypclnt->domain = malloc(MAXHOSTNAMELEN)) == NULL) { in ypclnt_connect() 61 if (getdomainname(ypclnt->domain, MAXHOSTNAMELEN) != 0) { in ypclnt_connect() 77 r = yp_master(ypclnt->domain, ypclnt->map, &ypclnt->server); in ypclnt_connect()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | tree-call-cdce.c | 106 inp_domain domain; in get_domain() local 107 domain.lb = lb; in get_domain() 108 domain.has_lb = has_lb; in get_domain() 109 domain.is_lb_inclusive = lb_inclusive; in get_domain() 110 domain.ub = ub; in get_domain() 111 domain.has_ub = has_ub; in get_domain() 112 domain.is_ub_inclusive = ub_inclusive; in get_domain() 113 return domain; in get_domain() 372 if (domain.has_lb) in gen_conditions_for_domain() 379 if (domain.has_ub) in gen_conditions_for_domain() [all …]
|
/dragonfly/sys/kern/ |
H A D | uipc_domain.c | 61 SYSINIT(domain, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, domaininit, NULL); 79 net_init_domain(struct domain *dp) in net_init_domain() 135 struct domain *dp = data; in net_add_domain() 155 struct domain *dp; in pffindtype() 173 struct domain *dp; in pffindproto() 199 struct domain *dp; in kpfctlinput() 211 struct domain *dp; in kpfctlinput_direct() 223 struct domain *dp; in kpfctlinput2()
|
H A D | subr_sleepqueue.c | 257 int domain; in sleepq_add() local 275 domain = PDOMAIN_FBSD0 + queue * PDOMAIN_FBSDINC; in sleepq_add() 276 tsleep_interlock(wchan, domain); in sleepq_add() 322 int domain; in _sleepq_wait_begin() local 327 domain = PDOMAIN_FBSD0 + td->td_sqqueue * PDOMAIN_FBSDINC; in _sleepq_wait_begin() 490 int domain; in sleepq_signal() local 492 domain = PDOMAIN_FBSD0 + queue * PDOMAIN_FBSDINC; in sleepq_signal() 493 wakeup_domain_one(wchan, domain); in sleepq_signal() 507 int domain; in sleepq_broadcast() local 509 domain = PDOMAIN_FBSD0 + queue * PDOMAIN_FBSDINC; in sleepq_broadcast() [all …]
|
/dragonfly/contrib/dhcpcd/hooks/ |
H A D | 20-resolv.conf | 36 domain=$(cd "$resolv_conf_dir"; \ 40 set -- ${domain} 41 domain="$1" 44 [ "$domain" = "$search" ] && search= 45 [ -n "$domain" ] && domain="domain $domain$NL" 66 printf %s "$domain$search$servers" >> "$cf"
|
/dragonfly/etc/ |
H A D | hosts | 7 # share this file. Replace 'my.domain' below with the domainname of your 10 # In the presence of the domain name service or NIS, this file may 14 ::1 localhost localhost.my.domain 15 127.0.0.1 localhost localhost.my.domain 18 #10.0.0.2 myname.my.domain myname 19 #10.0.0.3 myfriend.my.domain myfriend
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | tree-call-cdce.c | 140 inp_domain domain; in get_domain() local 141 domain.lb = lb; in get_domain() 142 domain.has_lb = has_lb; in get_domain() 143 domain.is_lb_inclusive = lb_inclusive; in get_domain() 144 domain.ub = ub; in get_domain() 145 domain.has_ub = has_ub; in get_domain() 147 return domain; in get_domain() 425 if (domain.has_lb) in gen_conditions_for_domain() 426 gen_one_condition (arg, domain.lb, in gen_conditions_for_domain() 432 if (domain.has_ub) in gen_conditions_for_domain() [all …]
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | radeon_object.c | 101 if (domain & RADEON_GEM_DOMAIN_VRAM) { in radeon_ttm_placement_from_domain() 120 if (domain & RADEON_GEM_DOMAIN_GTT) { in radeon_ttm_placement_from_domain() 139 if (domain & RADEON_GEM_DOMAIN_CPU) { in radeon_ttm_placement_from_domain() 257 radeon_ttm_placement_from_domain(bo, domain); in radeon_bo_create() 343 if (domain == RADEON_GEM_DOMAIN_VRAM) in radeon_bo_pin_restricted() 358 radeon_ttm_placement_from_domain(bo, domain); in radeon_bo_pin_restricted() 377 if (domain == RADEON_GEM_DOMAIN_VRAM) in radeon_bo_pin_restricted() 551 u32 domain = lobj->preferred_domains; in radeon_bo_list_validate() local 568 domain = current_domain; in radeon_bo_list_validate() 583 domain != lobj->allowed_domains) { in radeon_bo_list_validate() [all …]
|