Lines Matching defs:map

102 %type	<list>	map
162 | MAPLOWER map
164 | MAPUPPER map
175 $$->map = 0;
183 $$->map = 0;
191 $$->map = 0;
199 $$->map = 0;
204 map : LBRK RUNE RUNE RBRK
209 $$->map = $3;
212 | map LBRK RUNE RUNE RBRK
217 $$->map = $4;
225 $$->map = $6;
228 | map LBRK RUNE THRU RUNE ':' RUNE RBRK
233 $$->map = $7;
239 | map LBRK RUNE RUNE RBRK { }
241 | map LBRK RUNE THRU RUNE ':' RUNE RBRK { }
291 mapupper.map[x] = x;
292 maplower.map[x] = x;
344 set_map(rune_map *map, rune_list *list, u_int32_t flag)
346 list->map &= charsetmask;
347 list->map |= charsetbits;
350 add_map(map, list, flag);
356 add_map(rune_map *map, rune_list *list, u_int32_t flag)
365 map->map[list->min++] |= flag;
367 map->map[list->min++] = list->map++;
377 if (!(r = map->root) || (list->max < r->min - 1)
384 list->next = map->root;
385 map->root = list;
389 for (r = map->root; r && r->max + 1 < list->min; r = r->next)
427 if (!flag && list->map - list->min != r->map - r->min) {
443 fprintf(stderr, "Error: conflicting map entries\n");
476 r->map = list->map;
500 r->map = list->map;
575 list->map = list->types[0];
577 if (list->types[x] != list->map) {
578 list->map = 0;
598 file_new_locale.frl_runetype[x] = htonl(types.map[x]);
599 file_new_locale.frl_maplower[x] = htonl(maplower.map[x]);
600 file_new_locale.frl_mapupper[x] = htonl(mapupper.map[x]);
653 re.fre_map = htonl(list->map);
667 re.fre_map = htonl(list->map);
681 re.fre_map = htonl(list->map);
693 if (!list->map) {
721 if (isprint(maplower.map[x]))
722 fprintf(stderr, " '%c'", (int)maplower.map[x]);
723 else if (maplower.map[x])
724 fprintf(stderr, "%04x", maplower.map[x]);
735 fprintf(stderr, "\t%04x - %04x : %04x\n", list->min, list->max, list->map);
740 if (isprint(mapupper.map[x]))
741 fprintf(stderr, " '%c'", (int)mapupper.map[x]);
742 else if (mapupper.map[x])
743 fprintf(stderr, "%04x", mapupper.map[x]);
754 fprintf(stderr, "\t%04x - %04x : %04x\n", list->min, list->max, list->map);
760 u_int32_t r = types.map[x];
787 if (list->map && list->min + 3 < list->max) {
788 u_int32_t r = list->map;