Lines Matching defs:map_p

1034 	struct dns_map *map_p;
1036 map_p = (struct dns_map *) xalloc(sizeof(*map_p));
1037 map_p->dns_m_type = -1;
1146 map_p->dns_m_type = dns_string_to_type(p);
1149 if (map_p->dns_m_type < 0)
1181 if (map_p->dns_m_type < 0)
1194 map->map_db1 = (ARBPTR_T) map_p;
1222 struct dns_map *map_p;
1233 map_p = (struct dns_map *)(map->map_db1);
1247 r = dns_lookup_int(appdomain, C_IN, map_p->dns_m_type,
1253 r = dns_lookup_int(name, C_IN, map_p->dns_m_type,
1318 if (map_p->dns_m_type != rr->rr_type)
6866 struct regex_map *map_p;
6878 map_p = (struct regex_map *) xnalloc(sizeof(*map_p));
6879 map_p->regex_pattern_buf = (regex_t *)xnalloc(sizeof(regex_t));
6908 map_p->regex_delim = ++p;
6940 if ((regerr = regcomp(map_p->regex_pattern_buf, p, pflags)) != 0)
6945 (void) regerror(regerr, map_p->regex_pattern_buf,
6948 sm_free(map_p->regex_pattern_buf); /* XXX */
6949 sm_free(map_p); /* XXX */
6955 if (map_p->regex_delim != NULL)
6956 map_p->regex_delim = newstr(map_p->regex_delim);
6958 map_p->regex_delim = defdstr;
6966 substrings = map_p->regex_pattern_buf->re_nsub + 1;
6975 sm_free(map_p->regex_pattern_buf); /* XXX */
6976 sm_free(map_p); /* XXX */
6995 map_p->regex_subfields = fields;
7006 map->map_db1 = (ARBPTR_T) map_p; /* dirty hack */
7031 struct regex_map *map_p;
7043 map_p = (struct regex_map *)(map->map_db1);
7044 reg_res = regexec(map_p->regex_pattern_buf,
7058 if (map_p->regex_subfields != NULL)
7076 (int) map_p->regex_pattern_buf->re_nsub + 1) == -1)
7084 ip = map_p->regex_subfields;
7090 for (sp = map_p->regex_delim; *sp; sp++)