Lines Matching refs:set1
36 static void map_translation(char *set1 , char *set2) in map_translation() argument
41 for (; i; i--, k++) TT.map[set1[k]] = set1[k]|0x100; //set delete bit in map_translation()
45 TT.map[set1[k]] = TT.map[set1[k]]|0x200; in map_translation()
51 TT.map[set1[i]] = ((TT.map[set1[i]] & 0xFF00) | set2[k]); in map_translation()
211 static void print_map(char *set1, char *set2) in print_map() argument
247 char *set1, *set2 = NULL; in tr_main() local
252 set1 = expand_set(toys.optargs[0], &TT.len1); in tr_main()
253 if (toys.optflags & FLAG_c) do_complement(&set1); in tr_main()
258 map_translation(set1, set2); in tr_main()
260 print_map(set1, set2); in tr_main()
261 free(set1); in tr_main()