Lines Matching refs:set2
36 static void map_translation(char *set1 , char *set2) in map_translation() argument
47 TT.map[set2[k]] = TT.map[set2[k]]|0x200; in map_translation()
50 while (!(toys.optflags & FLAG_d) && set2 && TT.len1--) { //ignore set2 if -d present in map_translation()
51 TT.map[set1[i]] = ((TT.map[set1[i]] & 0xFF00) | set2[k]); in map_translation()
52 if (set2[k + 1]) k++; in map_translation()
211 static void print_map(char *set1, char *set2) in print_map() argument
252 char *set1, *set2 = NULL; in tr_main() local
261 set2 = expand_set(toys.optargs[1], &TT.len2); in tr_main()
263 map_translation(set1, set2); in tr_main()
265 print_map(set1, set2); in tr_main()
267 free(set2); in tr_main()