Home
last modified time | relevance | path

Searched refs:string_equal (Results 1 – 7 of 7) sorted by relevance

/NextBSD/lib/libosxsupport/
HDsearch_module.c140 if (string_equal(name, mod->name)) in search_set_flags()
1027 if (string_equal(tokens[0], "default")) cat = CATEGORY_DEFAULT; in si_module_config_parse_line()
1028 else if (string_equal(tokens[0], "user")) cat = CATEGORY_USER; in si_module_config_parse_line()
1029 else if (string_equal(tokens[0], "group")) cat = CATEGORY_GROUP; in si_module_config_parse_line()
1030 else if (string_equal(tokens[0], "grouplist")) cat = CATEGORY_GROUPLIST; in si_module_config_parse_line()
1031 else if (string_equal(tokens[0], "netgroup")) cat = CATEGORY_NETGROUP; in si_module_config_parse_line()
1032 else if (string_equal(tokens[0], "alias")) cat = CATEGORY_ALIAS; in si_module_config_parse_line()
1033 else if (string_equal(tokens[0], "host")) cat = CATEGORY_HOST_IPV4; in si_module_config_parse_line()
1034 else if (string_equal(tokens[0], "network")) cat = CATEGORY_NETWORK; in si_module_config_parse_line()
1035 else if (string_equal(tokens[0], "service")) cat = CATEGORY_SERVICE; in si_module_config_parse_line()
[all …]
HDsi_module.c217 if (string_equal(name, modules[i].name)) in si_module_with_name()
368 if ((which == SEL_NAME) && (string_equal(name, ent.u->pw_name))) return 1; in si_item_match()
374 if ((which == SEL_NAME) && (string_equal(name, ent.g->gr_name))) return 1; in si_item_match()
380 if ((which == SEL_NAME) && (string_equal(name, ent.l->gl_user))) return 1; in si_item_match()
385 if ((which == SEL_NAME) && (string_equal(name, ent.a->alias_name))) return 1; in si_item_match()
395 if (string_equal(name, ent.h->h_name)) return 1; in si_item_match()
400 if (string_equal(name, ent.h->h_aliases[i])) return 1; in si_item_match()
414 if (string_equal(name, ent.n->n_name)) return 1; in si_item_match()
419 if (string_equal(name, ent.n->n_aliases[i])) return 1; in si_item_match()
437 if (string_equal(name, ent.s->s_name)) return 1; in si_item_match()
[all …]
HDfile_module.c808 else if ((which == SEL_NAME) && (string_equal(name, tokens[0]))) match = 1; in _fsi_parse_user()
927 else if ((which == SEL_NAME) && (string_equal(name, tokens[0]))) match = 1; in _fsi_parse_group()
1061 if (string_equal(user, members[i])) in _fsi_get_grouplist()
1121 else if (string_equal(name, tokens[0])) match = 1; in _fsi_parse_alias()
1221 else if ((which == SEL_NAME) && (string_equal(name, tokens[1]))) match = 1; in _fsi_parse_ether()
1222 else if ((which == SEL_NUMBER) && (string_equal(name, cmac))) match = 1; in _fsi_parse_ether()
1362 if (string_equal(name, tokens[1])) match = 1; in _fsi_parse_host()
1366 if (string_equal(name, h_aliases[i])) match = 1; in _fsi_parse_host()
1511 if (string_equal(name, tokens[0])) match = 1; in _fsi_parse_service()
1515 if (string_equal(name, s_aliases[i])) match = 1; in _fsi_parse_service()
[all …]
HDcache_module.c282 if (string_equal(proto, "tcp")) pn = 2; in cache_service_byname()
515 if (string_equal(src->name, "cache")) return; in si_cache_add_item()
552 if (string_equal(src->name, "cache")) return; in si_cache_add_list()
HDmdns_module.c304 if (h->host.h_name && string_equal(h->host.h_name, name)) { in _mdns_hostent_append_alias()
309 if (string_equal(h->host.h_aliases[i], name)) { in _mdns_hostent_append_alias()
1204 if (string_equal(h->host.h_aliases[i], h_name)) { in _mdns_query_callback()
HDsi_getaddrinfo.c1347 if ((h->host.h_name != NULL) && (string_equal(name, h->host.h_name))) return 0; in merge_alias()
1351 if (string_equal(name, h->host.h_aliases[i])) return 0; in merge_alias()
/NextBSD/include/
HDsi_module.h42 #define string_equal(A,B) (strcmp(A,B)==0) macro