Lines Matching refs:map_p

1274 	struct dns_map *map_p;  local
1276 map_p = (struct dns_map *) xalloc(sizeof(*map_p));
1277 memset(map_p, '\0', sizeof(*map_p));
1278 map_p->dns_m_type = -1;
1368 map_p->dns_m_options |= SM_RES_DNSSEC;
1423 map_p->dns_m_type = dns_string_to_type(p);
1426 if (map_p->dns_m_type < 0)
1438 if (map_p->dns_m_type < 0)
1451 map->map_db1 = (ARBPTR_T) map_p;
1479 struct dns_map *map_p; local
1491 map_p = (struct dns_map *)(map->map_db1);
1492 options = map_p->dns_m_options;
1506 r = dns_lookup_map(appdomain, C_IN, map_p->dns_m_type,
1512 r = dns_lookup_map(name, C_IN, map_p->dns_m_type,
1583 if (map_p->dns_m_type != rr->rr_type)
7592 struct regex_map *map_p; local
7604 map_p = (struct regex_map *) xnalloc(sizeof(*map_p));
7605 map_p->regex_pattern_buf = (regex_t *)xnalloc(sizeof(regex_t));
7634 map_p->regex_delim = ++p;
7669 if ((regerr = regcomp(map_p->regex_pattern_buf, p, pflags)) != 0)
7674 (void) regerror(regerr, map_p->regex_pattern_buf,
7677 sm_free(map_p->regex_pattern_buf); /* XXX */
7678 sm_free(map_p); /* XXX */
7684 if (map_p->regex_delim != NULL)
7685 map_p->regex_delim = newstr(map_p->regex_delim);
7687 map_p->regex_delim = defdstr;
7695 substrings = map_p->regex_pattern_buf->re_nsub + 1;
7704 SM_FREE(map_p->regex_pattern_buf); /* XXX */
7705 SM_FREE(map_p); /* XXX */
7715 SM_FREE(map_p->regex_pattern_buf); /* XXX */
7716 SM_FREE(map_p); /* XXX */
7730 map_p->regex_subfields = fields;
7741 map->map_db1 = (ARBPTR_T) map_p; /* dirty hack */
7766 struct regex_map *map_p; local
7779 map_p = (struct regex_map *)(map->map_db1);
7780 reg_res = regexec(map_p->regex_pattern_buf,
7794 if (map_p->regex_subfields != NULL)
7812 (int) map_p->regex_pattern_buf->re_nsub + 1) == -1)
7820 ip = map_p->regex_subfields;
7826 for (sp = map_p->regex_delim; *sp; sp++)