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