Home
last modified time | relevance | path

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

12

/freebsd-10-stable/contrib/nvi/regex/
Dregex2.h118 uch *ptr; /* -> uch [csetsize] */
119 uch mask; /* bit within array */
120 uch hash; /* hash code */
125 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
126 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
127 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
146 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */
Dutils.h46 typedef unsigned char uch; typedef
Dregcomp.c1146 p->g->setbits = (uch *)malloc(nbytes); in allocset()
1148 p->g->setbits = (uch *)realloc((char *)p->g->setbits, in allocset()
1206 register uch h = cs->hash; in freezeset()
1378 register uch *col; in isinsets()
1396 register uch *col; in samesets()
/freebsd-10-stable/contrib/llvm/lib/Support/
Dregex2.h106 uch *ptr; /* -> uch [csetsize] */
107 uch mask; /* bit within array */
108 uch hash; /* hash code */
113 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
114 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
115 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
133 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */
Dregcomp.c404 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); in p_ere_exp()
416 (c == '{' && MORE2() && isdigit((uch)PEEK2())) )) in p_ere_exp()
445 if (isdigit((uch)PEEK())) { in p_ere_exp()
466 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ) ) in p_ere_exp()
616 if (MORE() && isdigit((uch)PEEK())) { in p_simp_re()
645 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) { in p_count()
811 while (MORE() && isalpha((uch)PEEK())) in p_b_cclass()
895 ch = (uch)ch; in othercase()
898 return ((uch)tolower(ch)); in othercase()
900 return ((uch)toupper(ch)); in othercase()
[all …]
Dregutils.h40 typedef unsigned char uch; typedef
/freebsd-10-stable/contrib/zlib/
Ddeflate.h216 uch depth[2*L_CODES+1];
319 extern uch ZLIB_INTERNAL _length_code[];
320 extern uch ZLIB_INTERNAL _dist_code[];
322 extern const uch ZLIB_INTERNAL _length_code[];
323 extern const uch ZLIB_INTERNAL _dist_code[];
327 { uch cc = (c); \
334 { uch len = (uch)(length); \
Dtrees.h73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
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];
175 put_byte(s, (uch)((w) & 0xff)); \
176 put_byte(s, (uch)((ush)(w) >> 8)); \
260 _length_code[length++] = (uch)code; in tr_static_init()
268 _length_code[length-1] = (uch)code; in tr_static_init()
275 _dist_code[dist++] = (uch)code; in tr_static_init()
283 _dist_code[256 + dist++] = (uch)code; in tr_static_init()
673 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ?
[all …]
Dzutil.h43 typedef unsigned char uch; typedef
44 typedef uch FAR uchf;
Dzutil.c237 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
Ddeflate.h210 uch depth[2*L_CODES+1];
301 extern uch _length_code[];
302 extern uch _dist_code[];
304 extern const uch _length_code[];
305 extern const uch _dist_code[];
309 { uch cc = (c); \
316 { uch len = (length); \
Dtrees.c70 local const uch bl_order[BL_CODES]
102 uch _dist_code[DIST_CODE_LEN];
108 uch _length_code[MAX_MATCH-MIN_MATCH+1];
181 put_byte(s, (uch)((w) & 0xff)); \
182 put_byte(s, (uch)((ush)(w) >> 8)); \
264 _length_code[length++] = (uch)code; in tr_static_init()
272 _length_code[length-1] = (uch)code; in tr_static_init()
279 _dist_code[dist++] = (uch)code; in tr_static_init()
287 _dist_code[256 + dist++] = (uch)code; in tr_static_init()
677 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ?
[all …]
Dzutil.h52 typedef unsigned char uch; typedef
53 typedef uch FAR uchf;
Dzutil.c240 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
/freebsd-10-stable/sys/kern/
Dinflate.c27 #define uch u_char macro
265 uch e; /* number of extra bits or operation */
266 uch b; /* number of bits in this code or subcode */
569 r.b = (uch) l[h - 1]; /* bits to dump before
571 r.e = (uch) (16 + j); /* bits in this table */
579 r.b = (uch) (k - w);
584 r.e = (uch) (*p < 256 ? 16 : 15); /* 256 is end-of-block
589 r.e = (uch) e[*p - s]; /* non-simple--look up
673 glbl->gz_slide[w++] = (uch) t->v.n;
764 glbl->gz_slide[w++] = (uch) b;
/freebsd-10-stable/sys/net/
Dzutil.h65 typedef unsigned char uch; typedef
66 typedef uch FAR uchf;
Dzlib.c98 typedef unsigned char uch; typedef
99 typedef uch FAR uchf;
467 uch depth[2*L_CODES+1];
1913 local uch bl_order[BL_CODES]
1940 local uch dist_code[512];
1946 local uch length_code[MAX_MATCH-MIN_MATCH+1];
2018 put_byte(s, (uch)((w) & 0xff)); \
2019 put_byte(s, (uch)((ush)(w) >> 8)); \
2094 length_code[length++] = (uch)code; in tr_static_init()
2102 length_code[length-1] = (uch)code; in tr_static_init()
[all …]
/freebsd-10-stable/lib/libc/regex/
Dutils.h41 typedef unsigned char uch; typedef
Dregcomp.c444 (void)REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); in p_ere_exp()
460 (c == '{' && MORE2() && isdigit((uch)PEEK2())) )) in p_ere_exp()
489 if (isdigit((uch)PEEK())) { in p_ere_exp()
510 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ) ) in p_ere_exp()
673 if (MORE() && isdigit((uch)PEEK())) { in p_simp_re()
703 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) { in p_count()
852 while (MORE() && isalpha((uch)PEEK())) in p_b_cclass()
Dregex2.h192 #define ISWORD(c) (iswalnum((uch)(c)) || (c) == '_')
Dengine.c797 c = (uch)*(start - 1); in fast()
902 c = (uch)*(start - 1); in slow()
1166 if (isprint((uch)ch) || ch == ' ') in pchar()
/freebsd-10-stable/contrib/ntp/ntpd/
Drefclock_gpsdjson.c2192 u_char uch = (u_char)*sptr++; in log_data() local
2193 if (uch == '\\') { in log_data()
2195 } else if (isprint(uch)) { in log_data()
2196 *dptr++ = (char)uch; in log_data()
2199 snprintf(fbuf, sizeof(fbuf), "\\%03o", uch); in log_data()
/freebsd-10-stable/contrib/binutils/gas/
Dapp.c413 #define UNGET(uch) (*--from = (uch)) in do_scrub_chars() argument
/freebsd-10-stable/share/misc/
Dcommitters-src.dot90 uch [label="UCHIYAMA Yasushi\nuch@FreeBSD.org\n2000/06/21\n2002/04/24"]
459 imp -> uch

12