Home
last modified time | relevance | path

Searched refs:uchar (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/bc/include/
H A Dbc.h75 uchar data;
278 (bc_parse_exprs[(((i) & (uchar) ~(0x07)) >> 3)] & (1 << (7 - ((i) & 0x07))))
343 #define BC_PARSE_TOKEN_INST(t) ((uchar) ((t) - BC_LEX_NEG + BC_INST_NEG))
362 uchar len;
365 uchar tokens[4];
375 { .len = (uchar) (a), BC_PARSE_NEXT_TOKENS(__VA_ARGS__) }
416 extern const uchar bc_sig_msg_len;
423 extern const uchar bc_parse_ops[];
H A Dvm.h609 uchar siglen;
612 uchar read_ret;
636 uchar mode;
1061 extern const uchar bc_err_ids[];
H A Dvector.h53 typedef unsigned char uchar; typedef
222 bc_vec_pushByte(BcVec* restrict v, uchar data);
H A Ddc.h77 extern const uchar dc_sig_msg_len;
H A Dfile.h168 bc_file_putchar(BcFile* restrict f, BcFlushType type, uchar c);
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstrlib.c27 #define uchar(c) ((unsigned char)(c)) macro
95 p[i] = tolower(uchar(s[i])); in str_lower()
108 p[i] = toupper(uchar(s[i])); in str_upper()
156 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
168 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); in str_char()
169 p[i - 1] = uchar(c); in str_char()
305 if (match_class(c, uchar(*p))) in matchbracketclass()
310 if (uchar(*(p-2)) <= c && c <= uchar(*p)) in matchbracketclass()
313 else if (uchar(*p) == c) return sig; in matchbracketclass()
324 int c = uchar(*s); in singlematch()
[all …]
/freebsd/contrib/bzip2/
H A Dunzcrash.c37 typedef unsigned char uchar; typedef
40 uchar inbuf[M_BLOCK];
41 uchar outbuf[M_BLOCK_OUT];
42 uchar zbuf[M_BLOCK + 600 + (M_BLOCK / 100)];
68 uchar mask = 1 << bitno; in flip_bit()
/freebsd/sys/contrib/openzfs/lib/libspl/
H A Datomic.c42 ATOMIC_INC(uchar, uchar_t) in ATOMIC_INC() argument
58 ATOMIC_DEC(uchar, uchar_t)
118 ATOMIC_OR(uchar, uchar_t)
134 ATOMIC_AND(uchar, uchar_t)
154 ATOMIC_INC_NV(uchar, uchar_t)
170 ATOMIC_DEC_NV(uchar, uchar_t)
230 ATOMIC_OR_NV(uchar, uchar_t)
246 ATOMIC_AND_NV(uchar, uchar_t)
283 ATOMIC_CAS(uchar, uchar_t) in ATOMIC_CAS() argument
303 ATOMIC_SWAP(uchar, uchar_t)
/freebsd/contrib/bc/src/
H A Ddata.c57 const uchar bc_sig_msg_len = (uchar) (sizeof(bc_sig_msg) - 1);
65 const uchar dc_sig_msg_len = (uchar) (sizeof(dc_sig_msg) - 1);
252 const uchar bc_err_ids[] = {
984 const uchar bc_parse_ops[] = {
1067 const uchar dc_lex_tokens[] = {
1204 const uchar dc_parse_insts[] = {
H A Ddc_parse.c82 dc_parse_mem(BcParse* p, uchar inst, bool name, bool store) in dc_parse_mem()
107 dc_parse_cond(BcParse* p, uchar inst) in dc_parse_cond()
137 uchar inst; in dc_parse_token()
149 inst = (uchar) (t - BC_LEX_OP_REL_EQ + BC_INST_REL_EQ); in dc_parse_token()
240 inst = (uchar) (t - BC_LEX_STORE_IBASE + BC_INST_IBASE); in dc_parse_token()
H A Dprogram.c95 uchar amt = (uchar) code[(*bgn)++], i = 0; in bc_program_index()
100 size_t temp = ((size_t) ((int) (uchar) code[*bgn]) & UCHAR_MAX); in bc_program_index()
181 assert(vec->size == sizeof(uchar)); in bc_program_dereference()
191 assert(v->size != sizeof(uchar)); in bc_program_dereference()
358 if (v->size == sizeof(uchar)) v = bc_program_dereference(p, v); in bc_program_num()
684 bc_program_op(BcProgram* p, uchar inst) in bc_program_op()
831 vm->mode = (uchar) mode; in bc_program_read()
952 bc_program_print(BcProgram* p, uchar inst, size_t idx) in bc_program_print()
1055 bc_program_unary(BcProgram* p, uchar inst) in bc_program_unary()
1082 bc_program_logical(BcProgram* p, uchar inst) in bc_program_logical()
[all …]
H A Dvector.c231 bc_vec_pushByte(BcVec* restrict v, uchar data) in bc_vec_pushByte()
233 assert(v != NULL && v->size == sizeof(uchar)); in bc_vec_pushByte()
240 uchar amt, nums[sizeof(size_t) + 1]; in bc_vec_pushIndex()
243 assert(v->size == sizeof(uchar)); in bc_vec_pushIndex()
248 nums[amt + 1] = (uchar) idx; in bc_vec_pushIndex()
250 idx >>= sizeof(uchar) * CHAR_BIT; in bc_vec_pushIndex()
H A Dfile.c347 uchar uc = (uchar) va_arg(args, int); in bc_file_vprintf()
426 bc_file_putchar(BcFile* restrict f, BcFlushType type, uchar c) in bc_file_putchar()
H A Dvm.c366 uchar id = bc_err_ids[e];
468 vm->status = (sig_atomic_t) (uchar) (id + 1);
915 bc_vec_pushByte(&vm->out, (uchar) c);
917 bc_file_putchar(&vm->fout, type, (uchar) c);
1209 bc_vec_init(&vm->buffer, sizeof(uchar), BC_DTOR_NONE);
1210 bc_vec_init(&vm->line_buf, sizeof(uchar), BC_DTOR_NONE);
1328 bc_vec_init(&vm->buffer, sizeof(uchar), BC_DTOR_NONE);
1422 uchar id = 0;
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dopencl-c.h55 char __ovld __cnfn convert_char_rte(uchar);
56 char __ovld __cnfn convert_char_sat_rte(uchar);
57 char __ovld __cnfn convert_char_rtz(uchar);
58 char __ovld __cnfn convert_char_sat_rtz(uchar);
59 char __ovld __cnfn convert_char_rtp(uchar);
60 char __ovld __cnfn convert_char_sat_rtp(uchar);
61 char __ovld __cnfn convert_char_rtn(uchar);
62 char __ovld __cnfn convert_char_sat_rtn(uchar);
63 char __ovld __cnfn convert_char(uchar);
64 char __ovld __cnfn convert_char_sat(uchar);
[all …]
H A Dopencl-c-base.h119 typedef unsigned char uchar; typedef
172 typedef uchar uchar2 __attribute__((ext_vector_type(2)));
173 typedef uchar uchar3 __attribute__((ext_vector_type(3)));
174 typedef uchar uchar4 __attribute__((ext_vector_type(4)));
175 typedef uchar uchar8 __attribute__((ext_vector_type(8)));
176 typedef uchar uchar16 __attribute__((ext_vector_type(16)));
573 #define as_uchar(x) __builtin_astype((x), uchar)
/freebsd/contrib/llvm-project/libcxx/include/
H A Duchar.h14 uchar.h synopsis // since C++11
43 // Some platforms don't implement <uchar.h> and we don't want to give a hard
44 // error on those platforms. When the platform doesn't provide <uchar.h>, at
47 # if __has_include_next(<uchar.h>)
48 # include_next <uchar.h>
H A D__mbstate_t.h20 // <uchar.h> or <wchar.h>. It's also used by the libc++ versions of <uchar.h>
21 // and <wchar.h> to get mbstate_t when the C library doesn't provide <uchar.h>
25 // include <wchar.h>, but fall through to <uchar.h>.)
48 #elif __has_include_next(<uchar.h>)
49 # include_next <uchar.h> // <uchar.h> is also required to make mbstate_t visible
H A Dcuchar41 #include <uchar.h>
44 # error <cuchar> tried including <uchar.h> but didn't find libc++'s <uchar.h> header. \
/freebsd/contrib/lua/src/
H A Dlstrlib.c40 #define uchar(c) ((unsigned char)(c)) macro
131 p[i] = tolower(uchar(s[i])); in str_lower()
144 p[i] = toupper(uchar(s[i])); in str_upper()
190 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
203 p[i - 1] = uchar(c); in str_char()
456 if (match_class(c, uchar(*p))) in matchbracketclass()
461 if (uchar(*(p-2)) <= c && c <= uchar(*p)) in matchbracketclass()
464 else if (uchar(*p) == c) return sig; in matchbracketclass()
475 int c = uchar(*s); in singlematch()
478 case L_ESC: return match_class(c, uchar(*(p+1))); in singlematch()
[all …]
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dctype.h35 #define iscntrl(C) (uchar(C) <= 0x1f || uchar(C) == 0x7f)
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DCSpecialSymbolMap.inc13 SYMBOL(size_t, None, <uchar.h>)
/freebsd/contrib/nvi/regex/
H A DWHATSNEW31 now handled gracefully. "uchar" is no longer used as an internal type
60 BRE \$ bug is fixed. Most uses of "uchar" are gone; it's all chars now.
61 Char/uchar parameters are now written int/unsigned, to avoid possible
/freebsd/lib/libc/regex/
H A DWHATSNEW30 now handled gracefully. "uchar" is no longer used as an internal type
59 BRE \$ bug is fixed. Most uses of "uchar" are gone; it's all chars now.
60 Char/uchar parameters are now written int/unsigned, to avoid possible
/freebsd/crypto/openssl/test/
H A Dstack_test.c40 DEFINE_SPECIAL_STACK_OF_CONST(uchar, unsigned char) in DEFINE_SPECIAL_STACK_OF()
178 STACK_OF(uchar) *s = sk_uchar_new(&uchar_compare), *r = NULL; in test_uchar_stack()

12