Lines Matching defs:map
42 struct map
44 struct map* next;
263 struct map* map;
275 struct map* best;
526 for (map = (struct map*)pp.maps; map; map = map->next)
527 if (!(i1 = regexec(&map->re, p, elementsof(match), match, 0)))
532 var.best = map;
536 regfatal(&map->re, 3, i1);
538 if (map = var.best)
550 for (edit = map->edit; edit; edit = edit->next)
566 debug((-4, "map: %s", p1));
1865 * #pragma pp:map [id ...] "/from/[,/to/]" [ "/old/new/[glnu]" ... ]
1899 map = newof(0, struct map, 1, 0);
1905 if (i0 = regcomp(&map->re, s, REG_AUGMENTED|REG_DELIMITED|REG_LENIENT|REG_NULL))
1906 regfatal(&map->re, 3, i0);
1907 if (*(s += map->re.re_npat))
1928 edit = map->edit = newof(0, struct edit, 1, 0);
1944 map->next = (struct map*)pp.maps;
1945 pp.maps = (char*)map;