/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | obsolete.c | 109 #define CH(n) UChar((source) >> ((n) * 8)) in _nc_conv_to_utf8() 136 target[1] = UChar(0x80 | (CH(0) & 0x3f)); in _nc_conv_to_utf8() 137 target[0] = UChar(0xc0 | (CH(0) >> 6) | ((CH(1) & 0x07) << 2)); in _nc_conv_to_utf8() 141 target[2] = UChar(0x80 | (CH(0) & 0x3f)); in _nc_conv_to_utf8() 142 target[1] = UChar(0x80 | (CH(0) >> 6) | ((CH(1) & 0x0f) << 2)); in _nc_conv_to_utf8() 143 target[0] = UChar(0xe0 | ((int) (CH(1) & 0xf0) >> 4)); in _nc_conv_to_utf8() 147 target[3] = UChar(0x80 | (CH(0) & 0x3f)); in _nc_conv_to_utf8() 148 target[2] = UChar(0x80 | (CH(0) >> 6) | ((CH(1) & 0x0f) << 2)); in _nc_conv_to_utf8() 149 target[1] = UChar(0x80 | in _nc_conv_to_utf8() 152 target[0] = UChar(0xf0 | ((int) (CH(2) & 0x1f) >> 2)); in _nc_conv_to_utf8() [all …]
|
H A D | captoinfo.c | 195 c = UChar(*sp); in cvtchar() 207 while (isdigit(UChar(*sp))) { in cvtchar() 208 c = UChar(8 * c + (*sp++ - '0')); in cvtchar() 213 c = UChar(*sp); in cvtchar() 220 c = UChar(*++sp); in cvtchar() 230 c = UChar(*sp); in cvtchar() 319 if (parameterized >= 0 && isdigit(UChar(*s))) in _nc_captoinfo() 321 if (!(isdigit(UChar(*s)) || *s == '*' || *s == '.')) in _nc_captoinfo() 499 unctrl((chtype) *s), UChar(*s), cap); in _nc_captoinfo() 517 if (isdigit(UChar(*s)) || *s == '*' || *s == '.') in _nc_captoinfo() [all …]
|
H A D | comp_expand.c | 56 #define REALPRINT(s) (UChar(*(s)) < 127 && isprint(UChar(*(s)))) 95 while ((ch = UChar(*str)) != 0) { in _nc_tic_expand() 126 && isdigit(UChar(str[1]))) { in _nc_tic_expand() 184 else if (UChar(ch) < 32 in _nc_tic_expand() 185 && isdigit(UChar(str[1]))) { in _nc_tic_expand() 194 fixups[octals].ch = UChar(ch); in _nc_tic_expand()
|
H A D | comp_scan.c | 145 if (!isspace(UChar(bufptr[len]))) { in last_char() 299 return UChar(the_char); in next_char() 476 if (!isalnum(UChar(ch)) in _nc_get_token() 483 terminfo_punct, unctrl(UChar(ch))); in _nc_get_token() 552 for (s = bufptr; isspace(UChar(*s)); ++s) { in _nc_get_token() 555 if (islower(UChar(*s))) { in _nc_get_token() 557 while (isalnum(UChar(*s))) { in _nc_get_token() 649 if (isspace(UChar(*s))) { in _nc_get_token() 672 if (!isalnum(UChar(ch))) { in _nc_get_token() 701 tok_buf, unctrl(UChar(ch))); in _nc_get_token() [all …]
|
H A D | lib_acs.c | 207 if (acs_chars[i] != 0 && UChar(acs_chars[i]) < ACS_LEN) { in NCURSES_SP_NAME() 208 real_map[UChar(acs_chars[i])] = UChar(acs_chars[i + 1]) | A_ALTCHARSET; in NCURSES_SP_NAME() 211 _tracechar(UChar(acs_chars[i])), in NCURSES_SP_NAME() 212 _tracechtype(real_map[UChar(acs_chars[i])]))); in NCURSES_SP_NAME() 214 SP->_screen_acs_map[UChar(acs_chars[i])] = TRUE; in NCURSES_SP_NAME()
|
H A D | lib_tputs.c | 342 if (isdigit(UChar(*string))) { in NCURSES_SP_NAME() 343 while (isdigit(UChar(*string))) { in NCURSES_SP_NAME() 350 if (isdigit(UChar(*string))) { in NCURSES_SP_NAME() 354 while (isdigit(UChar(*string))) in NCURSES_SP_NAME() 379 if ((!isdigit(UChar(*string)) && *string != '.') in NCURSES_SP_NAME() 387 while (isdigit(UChar(*string))) { in NCURSES_SP_NAME() 394 if (isdigit(UChar(*string))) { in NCURSES_SP_NAME() 398 while (isdigit(UChar(*string))) in NCURSES_SP_NAME()
|
H A D | lib_tparm.c | 418 if (isdigit(UChar(*s))) { in parse_format() 525 i = (UChar(*cp) - '0'); in _nc_tparm_analyze() 552 while (isdigit(UChar(*cp))) { in _nc_tparm_analyze() 808 save_char(tps, UChar(*cp)); in tparam_internal() 858 i = (UChar(*cp) - '1'); in tparam_internal() 871 i = (UChar(*cp) - 'A'); in tparam_internal() 874 i = (UChar(*cp) - 'a'); in tparam_internal() 883 i = (UChar(*cp) - 'A'); in tparam_internal() 886 i = (UChar(*cp) - 'a'); in tparam_internal() 894 npush(tps, UChar(*cp)); in tparam_internal() [all …]
|
H A D | access.c | 57 #define LOWERCASE(c) ((isalpha(UChar(c)) && isupper(UChar(c))) ? tolower(UChar(c)) : (c))
|
H A D | make_hash.c | 104 sum += (long) (UChar(*string) + (UChar(*(string + 1)) << 8)); in hash_function() 185 for (s = buffer; (*s != '\0') && !isspace(UChar(*s)); s++) in parse_columns() 201 while (*++s && isspace(UChar(*s))) in parse_columns()
|
/freebsd/contrib/bzip2/ |
H A D | bzlib_private.h | 43 typedef unsigned char UChar; typedef 171 ((UChar)cha)]; \ 217 UChar* block; 219 UChar* zbits; 238 UChar unseqToSeq[256]; 256 UChar selector [BZ_MAX_SELECTORS]; 257 UChar selectorMtf[BZ_MAX_SELECTORS]; 259 UChar len [BZ_N_GROUPS][BZ_MAX_ALPHA_SIZE]; 282 BZ2_hbAssignCodes ( Int32*, UChar*, Int32, Int32, Int32 ); 285 BZ2_hbMakeCodeLengths ( UChar*, Int32*, Int32, Int32 ); [all …]
|
H A D | bzlib.c | 201 s->block = (UChar*)s->arr2; in BZ_API() 222 UChar ch = (UChar)(s->state_in_ch); in add_pair_to_block() 229 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 232 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 233 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 236 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 237 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 238 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 242 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() 243 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block() [all …]
|
H A D | compress.c | 49 s->zbits[s->numZ] = (UChar)(s->bsBuff >> 24); in bsFinishWrite() 62 = (UChar)(s->bsBuff >> 24); \ 94 void bsPutUChar ( EState* s, UChar c ) in bsPutUChar() 122 UChar yy[256]; in generateMTFValues() 151 UChar* block = s->block; in generateMTFValues() 161 for (i = 0; i < s->nInUse; i++) yy[i] = (UChar) i; in generateMTFValues() 164 UChar ll_i; in generateMTFValues() 190 register UChar rtmp; in generateMTFValues() 191 register UChar* ryy_j; in generateMTFValues() 192 register UChar rll_i; in generateMTFValues() [all …]
|
H A D | bzip2.c | 163 typedef unsigned char UChar; typedef 233 struct { UChar b[8]; } 240 n->b[7] = (UChar)((hi32 >> 24) & 0xFF); in uInt64_from_UInt32s() 241 n->b[6] = (UChar)((hi32 >> 16) & 0xFF); in uInt64_from_UInt32s() 242 n->b[5] = (UChar)((hi32 >> 8) & 0xFF); in uInt64_from_UInt32s() 243 n->b[4] = (UChar) (hi32 & 0xFF); in uInt64_from_UInt32s() 244 n->b[3] = (UChar)((lo32 >> 24) & 0xFF); in uInt64_from_UInt32s() 245 n->b[2] = (UChar)((lo32 >> 16) & 0xFF); in uInt64_from_UInt32s() 246 n->b[1] = (UChar)((lo32 >> 8) & 0xFF); in uInt64_from_UInt32s() 247 n->b[0] = (UChar) (lo32 & 0xFF); in uInt64_from_UInt32s() [all …]
|
H A D | blocksort.c | 223 UChar* eclass8 = (UChar*)eclass; in fallbackSort() 326 eclass8[fmap[i]] = (UChar)j; in fallbackSort() 349 UChar* block, in mainGtU() 355 UChar c1, c2; in mainGtU() 486 UChar* block, in mainSimpleSort() 583 UChar mmed3 ( UChar a, UChar b, UChar c ) in mmed3() 585 UChar t; in mmed3() 622 UChar* block, in mainQSort3() 752 UChar* block, in mainSort() 764 UChar c1; in mainSort() [all …]
|
/freebsd/contrib/ncurses/progs/ |
H A D | tabs.c | 65 if (UChar(*value) == 0x9b) in skip_csi() 138 if (isdigit(UChar(ch))) { in decode_tabs() 257 int ch = UChar(result[j]); in trimmed_tab_list() 410 int ch = UChar(tab_list[n]); in legal_tab_list() 434 (isdigit(UChar(*value)) || in skip_list() 435 isspace(UChar(*value)) || in skip_list() 436 strchr("+,", UChar(*value)) != 0)) { in skip_list() 573 if (isdigit(UChar(*option))) { in main() 598 if (isdigit(UChar(ch))) { in main()
|
H A D | transform.c | 55 if (tolower(UChar(a[n])) != tolower(UChar(ignore[n - first]))) { in trim_suffix()
|
H A D | reset_cmd.c | 419 tty_settings->c_cc[VERASE] = UChar((my_erase >= 0) in set_control_chars() 425 tty_settings->c_cc[VINTR] = UChar((my_intr >= 0) in set_control_chars() 431 tty_settings->c_cc[VKILL] = UChar((my_kill >= 0) in set_control_chars() 638 (void) fprintf(stderr, "control-%c (^%c).\n", UChar(newer), UChar(newer)); in show_tty_change() 640 (void) fprintf(stderr, "%c.\n", UChar(newer)); in show_tty_change()
|
/freebsd/contrib/ncurses/form/ |
H A D | fty_ipv4.c | 58 if (isdigit(UChar(*bp))) /* Must start with digit */ in Check_IPV4_Field() 64 while (isspace(UChar(*bp))) in Check_IPV4_Field() 86 return ((isdigit(UChar(c)) || (c == '.')) ? TRUE : FALSE); in Check_IPV4_Character()
|
H A D | fty_int.c | 41 #define isDigit(c) (iswdigit((wint_t)(c)) || isdigit(UChar(c))) 43 #define isDigit(c) isdigit(UChar(c)) 219 if (!isdigit(UChar(*bp))) in Check_This_Field() 263 return ((isDigit(UChar(c)) || (c == '-')) ? TRUE : FALSE); in Check_This_Character()
|
H A D | fty_num.c | 51 #define isDigit(c) (iswdigit((wint_t)(c)) || isdigit(UChar(c))) 53 #define isDigit(c) isdigit(UChar(c)) 247 if (!isdigit(UChar(*bp))) in Check_This_Field() 256 if (!isdigit(UChar(*bp))) in Check_This_Field()
|
/freebsd/contrib/ncurses/ncurses/trace/ |
H A D | visbuf.c | 92 } else if (UChar(c) == 0x7f) { in _nc_vischar() 96 } else if (is7bits(c) && iscntrl(UChar(c))) { in _nc_vischar() 148 tp = VisChar(tp, UChar(c), NormalLen(len)); in _nc_visbuf2n() 228 tp = VisChar(tp, UChar(temp[k]), WideLen(len)); in _nc_viswbuf2n() 350 VisChar(temp, UChar(PUTC_buf[k]), sizeof(temp)); in _nc_viscbuf2() 358 VisChar(temp, UChar(buf[j]), sizeof(temp)); in _nc_viscbuf2()
|
H A D | lib_tracedmp.c | 89 ep[j] = (char) ((UChar(test) == test in NCURSES_EXPORT() 94 ? (iscntrl(UChar(test)) in NCURSES_EXPORT() 96 : UChar(test)) in NCURSES_EXPORT()
|
H A D | lib_traceatr.c | 261 if (ChCharOf(UChar(cp[1])) == ChCharOf(ch)) { in _nc_altcharset_name() 270 ch = ChCharOf(UChar(*found)); in _nc_altcharset_name() 363 UChar(ch->chars[PUTC_i]))); in _tracecchar_t2() 380 UChar(PUTC_buf[n]))); in _tracecchar_t2()
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | key_defined.c | 47 if (UChar(*str) == UChar(ptr->ch)) { in find_definition()
|
H A D | tries.c | 132 if (UChar((*tree)->ch) == UChar(*string)) { in _nc_remove_string()
|