Home
last modified time | relevance | path

Searched refs:uch (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/contrib/zlib/
H A Ddeflate.h220 uch depth[2*L_CODES+1];
325 extern uch ZLIB_INTERNAL _length_code[];
326 extern uch ZLIB_INTERNAL _dist_code[];
328 extern const uch ZLIB_INTERNAL _length_code[];
329 extern const uch ZLIB_INTERNAL _dist_code[];
334 { uch cc = (c); \
341 { uch len = (uch)(length); \
352 { uch cc = (c); \
360 { uch len = (uch)(length); \
362 s->sym_buf[s->sym_next++] = (uch)dist; \
[all …]
H A Dtrees.h73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
H A Dtrees.c71 local const uch bl_order[BL_CODES]
98 uch _dist_code[DIST_CODE_LEN];
104 uch _length_code[MAX_MATCH-MIN_MATCH+1];
145 put_byte(s, (uch)((w) & 0xff)); \
146 put_byte(s, (uch)((ush)(w) >> 8)); \
321 _length_code[length++] = (uch)code; in tr_static_init()
329 _length_code[length - 1] = (uch)code; in tr_static_init()
336 _dist_code[dist++] = (uch)code; in tr_static_init()
344 _dist_code[256 + dist++] = (uch)code; in tr_static_init()
680 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? in build_tree()
[all …]
H A Dzutil.h39 typedef unsigned char uch; typedef
40 typedef uch FAR uchf;
H A Dzutil.c221 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
/freebsd/contrib/nvi/regex/
H A Dregex2.h114 uch *ptr; /* -> uch [csetsize] */
115 uch mask; /* bit within array */
116 uch hash; /* hash code */
121 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
122 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
123 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
142 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */
H A Dutils.h42 typedef unsigned char uch; typedef
H A Dregcomp.c1112 p->g->setbits = (uch *)malloc(nbytes); in allocset()
1114 p->g->setbits = (uch *)realloc((char *)p->g->setbits, in allocset()
1170 uch h = cs->hash; in freezeset()
1281 uch *col; in isinsets()
1298 uch *col; in samesets()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A Dregex2.h112 uch *ptr; /* -> uch [csetsize] */
113 uch mask; /* bit within array */
114 uch hash; /* hash code */
119 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
120 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
121 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
139 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */
H A Dregcomp.c540 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); in p_ere_exp()
552 (c == '{' && MORE2() && isdigit((uch)PEEK2())) )) in p_ere_exp()
581 if (isdigit((uch)PEEK())) { in p_ere_exp()
602 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ) ) in p_ere_exp()
752 if (MORE() && isdigit((uch)PEEK())) { in p_simp_re()
781 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) { in p_count()
949 while (MORE() && isalpha((uch)PEEK())) in p_b_cclass()
1033 ch = (uch)ch; in othercase()
1036 return ((uch)tolower(ch)); in othercase()
1038 return ((uch)toupper(ch)); in othercase()
[all …]
H A Dregutils.h43 typedef unsigned char uch; typedef
/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_screen.c727 unsigned uch = (unsigned) source->chars[n]; in encode_cell() local
728 if (uch == 0) in encode_cell()
735 if (uch > 0xffff) { in encode_cell()
736 _nc_SPRINTF(target, CUR_SLIMIT "U%08x", uch); in encode_cell()
737 } else if (uch > 0xff) { in encode_cell()
738 _nc_SPRINTF(target, CUR_SLIMIT "u%04x", uch); in encode_cell()
739 } else if (uch < 32 || uch >= 127) { in encode_cell()
740 _nc_SPRINTF(target, CUR_SLIMIT "%03o", uch & 0xff); in encode_cell()
742 switch (uch) { in encode_cell()
752 _nc_SPRINTF(target, CUR_SLIMIT "%c", uch); in encode_cell()
/freebsd/sys/dev/qat_c2xxx/
H A Dqat_ae.c165 struct qat_uof_image *, struct uof_chunk_hdr *uch);
1826 struct uof_chunk_hdr *uch; in qat_aefw_uof_find_chunk() local
1829 uch = (struct uof_chunk_hdr *)(uoh + 1); in qat_aefw_uof_find_chunk()
1830 for (i = 0; i < uoh->uoh_num_chunks; i++, uch++) { in qat_aefw_uof_find_chunk()
1831 if (uch->uch_offset + uch->uch_size > sc->sc_aefw_uof.qafu_size) in qat_aefw_uof_find_chunk()
1834 if (cur < uch && !strncmp(uch->uch_id, id, UOF_OBJ_ID_LEN)) in qat_aefw_uof_find_chunk()
1835 return uch; in qat_aefw_uof_find_chunk()
2076 struct qat_uof_image *qui, struct uof_chunk_hdr *uch) in qat_aefw_uof_parse_image() argument
2081 size_t lim = uch->uch_offset + uch->uch_size, size; in qat_aefw_uof_parse_image()
2084 size = uch->uch_size; in qat_aefw_uof_parse_image()
[all …]
/freebsd/lib/libc/regex/
H A Dutils.h42 typedef unsigned char uch; typedef
H A Dregcomp.c543 (void)REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); in p_ere_exp()
561 (c == '{' && MORE2() && isdigit((uch)PEEK2())) in p_ere_exp()
570 (isdigit((uch)PEEK2()) || PEEK2() == ','), REG_BADRPT); in p_ere_exp()
599 if (isdigit((uch)PEEK())) { in p_ere_exp()
620 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ) ) in p_ere_exp()
840 c = (uch)GETNEXT(); in p_simp_re()
843 cc = (uch)GETNEXT(); in p_simp_re()
976 if (MORE() && isdigit((uch)PEEK())) { in p_simp_re()
1006 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) { in p_count()
1007 count = count*10 + ((uch)GETNEXT() - '0'); in p_count()
[all …]
H A Dregex2.h201 #define ISWORD(c) (iswalnum((uch)(c)) || (c) == '_')
H A Dengine.c874 c = (uch)*(start - 1); in walk()
1196 if (isprint((uch)ch) || ch == ' ') in pchar()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c2212 u_char uch = (u_char)*sptr++; in log_data() local
2213 if (uch == '\\') { in log_data()
2215 } else if (isprint(uch)) { in log_data()
2216 *dptr++ = (char)uch; in log_data()
2219 snprintf(fbuf, sizeof(fbuf), "\\%03o", uch); in log_data()
/freebsd/share/misc/
H A Dcommitters-src.dot91 uch [label="UCHIYAMA Yasushi\nuch@FreeBSD.org\n2000/06/21\n2002/04/24"]
635 imp -> uch
/freebsd/contrib/ncurses/
H A DNEWS12427 by Uchiyama Yasushi <uch@nop.or.jp>).
12485 <uch@nop.or.jp>)