Lines Matching +full:j +full:- +full:to +full:- +full:k
1 // SPDX-License-Identifier: GPL-2.0+
27 #warning mode type bitflag value assumption(s) violated! falling back to larger version
44 /* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C',
45 * and 'B' types don't appear to be available on linux. So I removed them. */
46 static const char type_chars[16] = "?pc?d?b?-?l?s???";
55 int i, j, k; in bb_mode_string() local
60 j = k = 0; in bb_mode_string()
62 *++p = '-'; in bb_mode_string()
63 if (mode & mode_flags[i+j]) { in bb_mode_string()
64 *p = mode_chars[j]; in bb_mode_string()
65 k = j; in bb_mode_string()
67 } while (++j < 3); in bb_mode_string()
68 if (mode & mode_flags[i+j]) { in bb_mode_string()
69 *p = mode_chars[3 + (k & 2) + ((i&8) >> 3)]; in bb_mode_string()
84 /* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C',
85 * and 'B' types don't appear to be available on linux. So I removed them. */
86 static const char type_chars[16] = "?pc?d?b?-?l?s???";
95 int i, j, k, m; in bb_mode_string() local
101 j = k = 0; in bb_mode_string()
103 *++p = '-'; in bb_mode_string()
105 *p = mode_chars[j]; in bb_mode_string()
106 k = j; in bb_mode_string()
109 } while (++j < 3); in bb_mode_string()
112 *p = mode_chars[3 + (k & 2) + (i == 3)]; in bb_mode_string()