Lines Matching refs:map_p

1042 	struct dns_map *map_p;  local
1044 map_p = (struct dns_map *) xalloc(sizeof(*map_p));
1045 memset(map_p, '\0', sizeof(*map_p));
1046 map_p->dns_m_type = -1;
1136 map_p->dns_m_options |= SM_RES_DNSSEC;
1191 map_p->dns_m_type = dns_string_to_type(p);
1194 if (map_p->dns_m_type < 0)
1206 if (map_p->dns_m_type < 0)
1219 map->map_db1 = (ARBPTR_T) map_p;
1247 struct dns_map *map_p; local
1259 map_p = (struct dns_map *)(map->map_db1);
1260 options = map_p->dns_m_options;
1274 r = dns_lookup_map(appdomain, C_IN, map_p->dns_m_type,
1280 r = dns_lookup_map(name, C_IN, map_p->dns_m_type,
1351 if (map_p->dns_m_type != rr->rr_type)
7329 struct regex_map *map_p; local
7341 map_p = (struct regex_map *) xnalloc(sizeof(*map_p));
7342 map_p->regex_pattern_buf = (regex_t *)xnalloc(sizeof(regex_t));
7371 map_p->regex_delim = ++p;
7403 if ((regerr = regcomp(map_p->regex_pattern_buf, p, pflags)) != 0)
7408 (void) regerror(regerr, map_p->regex_pattern_buf,
7411 sm_free(map_p->regex_pattern_buf); /* XXX */
7412 sm_free(map_p); /* XXX */
7418 if (map_p->regex_delim != NULL)
7419 map_p->regex_delim = newstr(map_p->regex_delim);
7421 map_p->regex_delim = defdstr;
7429 substrings = map_p->regex_pattern_buf->re_nsub + 1;
7438 sm_free(map_p->regex_pattern_buf); /* XXX */
7439 sm_free(map_p); /* XXX */
7458 map_p->regex_subfields = fields;
7469 map->map_db1 = (ARBPTR_T) map_p; /* dirty hack */
7494 struct regex_map *map_p; local
7506 map_p = (struct regex_map *)(map->map_db1);
7507 reg_res = regexec(map_p->regex_pattern_buf,
7521 if (map_p->regex_subfields != NULL)
7539 (int) map_p->regex_pattern_buf->re_nsub + 1) == -1)
7547 ip = map_p->regex_subfields;
7553 for (sp = map_p->regex_delim; *sp; sp++)