Home
last modified time | relevance | path

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

123

/freebsd-12-stable/contrib/gcclibs/libcpp/
Dcharset.c100 uchar *text;
169 one_utf8_to_cppchar (const uchar **inbufp, size_t *inbytesleftp, in one_utf8_to_cppchar()
172 static const uchar masks[6] = { 0x7F, 0x1F, 0x0F, 0x07, 0x02, 0x01 }; in one_utf8_to_cppchar()
173 static const uchar patns[6] = { 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; in one_utf8_to_cppchar()
176 const uchar *inbuf = *inbufp; in one_utf8_to_cppchar()
229 one_cppchar_to_utf8 (cppchar_t c, uchar **outbufp, size_t *outbytesleftp) in one_cppchar_to_utf8()
231 static const uchar masks[6] = { 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; in one_cppchar_to_utf8()
232 static const uchar limits[6] = { 0x80, 0xE0, 0xF0, 0xF8, 0xFC, 0xFE }; in one_cppchar_to_utf8()
234 uchar buf[6], *p = &buf[6]; in one_cppchar_to_utf8()
235 uchar *outbuf = *outbufp; in one_cppchar_to_utf8()
[all …]
Dtraditional.c37 uchar text[1];
82 static const uchar *skip_whitespace (cpp_reader *, const uchar *, int);
83 static cpp_hashnode *lex_identifier (cpp_reader *, const uchar *);
84 static const uchar *copy_comment (cpp_reader *, const uchar *, int);
90 static void maybe_start_funlike (cpp_reader *, cpp_hashnode *, const uchar *,
94 static size_t canonicalize_text (uchar *, const uchar *, size_t, uchar *);
121 const uchar *cur = pfile->buffer->cur; in skip_macro_block_comment()
147 static const uchar *
148 copy_comment (cpp_reader *pfile, const uchar *cur, int in_define) in copy_comment()
211 static const uchar *
[all …]
Dlex.c53 static void add_line_note (cpp_buffer *, const uchar *, unsigned int);
56 static void lex_string (cpp_reader *, cpp_token *, const uchar *);
57 static void save_comment (cpp_reader *, cpp_token *, const uchar *, cppchar_t);
58 static void create_literal (cpp_reader *, cpp_token *, const uchar *,
77 return !ustrcmp (NODE_NAME (token->val.node), (const uchar *) string); in cpp_ideq()
83 add_line_note (cpp_buffer *buffer, const uchar *pos, unsigned int type) in add_line_note()
103 const uchar *s; in _cpp_clean_line()
104 uchar c, *d, *p; in _cpp_clean_line()
114 const uchar *pbackslash = NULL; in _cpp_clean_line()
125 d = (uchar *) s; in _cpp_clean_line()
[all …]
Dconfigure.ac67 AC_CACHE_CHECK(for uchar, gcc_cv_type_uchar,
71 [if ((uchar *)0) return 0;
72 if (sizeof(uchar)) return 0;],
76 [Define if <sys/types.h> defines \`uchar'.])
Dmacro.c52 static const cpp_token *new_string_token (cpp_reader *, uchar *, unsigned int);
113 const uchar *
117 const uchar *result = NULL; in _cpp_builtin_macro_text()
170 uchar *buf; in _cpp_builtin_macro_text()
292 const uchar *buf; in builtin_macro()
313 cpp_push_buffer (pfile, (uchar *) nbuf, len, /* from_stage3 */ true); in builtin_macro()
330 uchar *
331 cpp_quote_string (uchar *dest, const uchar *src, unsigned int len) in cpp_quote_string()
335 uchar c = *src++; in cpp_quote_string()
1005 const uchar *start, size_t len) in _cpp_push_text_context()
[all …]
Dpch.c584 uchar **defns;
614 data->defns = XRESIZEVEC (uchar *, data->defns, (data->array_size)); in save_macros()
625 const uchar * defn = cpp_macro_definition (r, h); in save_macros()
628 data->defns[data->count] = (uchar *) xmemdup (defn, defnlen, in save_macros()
651 d->defns = XNEWVEC (uchar *, d->array_size); in cpp_prepare_state()
690 uchar *defn; in cpp_read_state()
Dexpr.c63 static unsigned int interpret_float_suffix (const uchar *, size_t);
64 static unsigned int interpret_int_suffix (const uchar *, size_t);
83 interpret_float_suffix (const uchar *s, size_t len) in interpret_float_suffix()
130 interpret_int_suffix (const uchar *s, size_t len) in interpret_int_suffix()
166 const uchar *str = token->val.str.text; in cpp_classify_number()
167 const uchar *limit; in cpp_classify_number()
373 const uchar *p, *end; in cpp_interpret_integer()
708 uchar prio;
709 uchar flags;
Ddirectives.c84 const uchar *name; /* Name of directive. */
103 static int strtoul_for_line (const uchar *, unsigned int, unsigned long *);
176 { do_##name, (const uchar *) #name, \
493 cpp_push_buffer (pfile, (const uchar *) buf, count, in run_directive()
651 total_len = (cpp_spell_token (pfile, token, (uchar *) &buffer[total_len], in glue_header_name()
653 - (uchar *) buffer); in glue_header_name()
818 strtoul_for_line (const uchar *str, unsigned int len, long unsigned int *nump) in strtoul_for_line()
821 uchar c; in strtoul_for_line()
1540 cpp_push_buffer (pfile, (const uchar *) result, dest - result, in destringize_and_run()
2180 cpp_push_buffer (cpp_reader *pfile, const uchar *buffer, size_t len, in cpp_push_buffer()
/freebsd-12-stable/contrib/bc/include/
Dbc.h73 uchar data;
275 (bc_parse_exprs[(((i) & (uchar) ~(0x07)) >> 3)] & (1 << (7 - ((i) & 0x07))))
340 #define BC_PARSE_TOKEN_INST(t) ((uchar) ((t) - BC_LEX_NEG + BC_INST_NEG))
359 uchar len;
362 uchar tokens[4];
372 { .len = (uchar) (a), BC_PARSE_NEXT_TOKENS(__VA_ARGS__) }
410 extern const uchar bc_sig_msg_len;
417 extern const uchar bc_parse_ops[];
Dvm.h460 uchar siglen;
463 uchar read_ret;
852 extern const uchar bc_err_ids[];
Dvector.h53 typedef unsigned char uchar; typedef
216 void bc_vec_pushByte(BcVec *restrict v, uchar data);
Ddc.h73 extern const uchar dc_sig_msg_len;
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
Dlstrlib.c30 #define uchar(c) ((unsigned char)(c)) macro
41 #define iscntrl(C) (uchar(C) <= 0x1f || uchar(C) == 0x7f)
115 p[i] = tolower(uchar(s[i])); in str_lower()
128 p[i] = toupper(uchar(s[i])); in str_upper()
176 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
188 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); in str_char()
189 p[i - 1] = uchar(c); in str_char()
324 if (match_class(c, uchar(*p))) in matchbracketclass()
329 if (uchar(*(p-2)) <= c && c <= uchar(*p)) in matchbracketclass()
332 else if (uchar(*p) == c) return sig; in matchbracketclass()
[all …]
/freebsd-12-stable/contrib/bzip2/
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-12-stable/contrib/lua/src/
Dlstrlib.c39 #define uchar(c) ((unsigned char)(c)) macro
103 p[i] = tolower(uchar(s[i])); in str_lower()
116 p[i] = toupper(uchar(s[i])); in str_upper()
162 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
174 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); in str_char()
175 p[i - 1] = uchar(c); in str_char()
311 if (match_class(c, uchar(*p))) in matchbracketclass()
316 if (uchar(*(p-2)) <= c && c <= uchar(*p)) in matchbracketclass()
319 else if (uchar(*p) == c) return sig; in matchbracketclass()
330 int c = uchar(*s); in singlematch()
[all …]
/freebsd-12-stable/contrib/bc/src/
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);
183 const uchar bc_err_ids[] = {
965 const uchar bc_parse_ops[] = {
1046 const uchar dc_lex_tokens[] = {
1127 const uchar dc_parse_insts[] = {
Ddc_parse.c78 static void dc_parse_mem(BcParse *p, uchar inst, bool name, bool store) { in dc_parse_mem()
101 static void dc_parse_cond(BcParse *p, uchar inst) { in dc_parse_cond()
129 uchar inst; in dc_parse_token()
141 inst = (uchar) (t - BC_LEX_OP_REL_EQ + BC_INST_REL_EQ); in dc_parse_token()
228 inst = (uchar) (t - BC_LEX_STORE_IBASE + BC_INST_IBASE); in dc_parse_token()
Dprogram.c102 uchar amt = (uchar) code[(*bgn)++], i = 0; in bc_program_index()
106 size_t temp = ((size_t) ((int) (uchar) code[*bgn]) & UCHAR_MAX); in bc_program_index()
178 assert(vec->size == sizeof(uchar)); in bc_program_dereference()
188 assert(v->size != sizeof(uchar)); in bc_program_dereference()
340 if (v->size == sizeof(uchar)) v = bc_program_dereference(p, v); in bc_program_num()
622 static void bc_program_op(BcProgram *p, uchar inst) { in bc_program_op()
856 static void bc_program_print(BcProgram *p, uchar inst, size_t idx) { in bc_program_print()
949 static void bc_program_unary(BcProgram *p, uchar inst) { in bc_program_unary()
974 static void bc_program_logical(BcProgram *p, uchar inst) { in bc_program_logical()
1182 ref_size = (v->size == sizeof(uchar)); in bc_program_copyToVar()
[all …]
Dvector.c196 inline void bc_vec_pushByte(BcVec *restrict v, uchar data) { in bc_vec_pushByte()
197 assert(v != NULL && v->size == sizeof(uchar)); in bc_vec_pushByte()
203 uchar amt, nums[sizeof(size_t) + 1]; in bc_vec_pushIndex()
206 assert(v->size == sizeof(uchar)); in bc_vec_pushIndex()
210 nums[amt + 1] = (uchar) idx; in bc_vec_pushIndex()
212 idx >>= sizeof(uchar) * CHAR_BIT; in bc_vec_pushIndex()
Dfile.c225 uchar uc = (uchar) va_arg(args, int); in bc_file_vprintf()
288 void bc_file_putchar(BcFile *restrict f, BcFlushType type, uchar c) { in bc_file_putchar()
Dvm.c254 uchar id = bc_err_ids[e];
337 vm.status = (sig_atomic_t) (uchar) (id + 1);
678 bc_vec_pushByte(&vm.out, (uchar) c);
680 bc_file_putchar(&vm.fout, type, (uchar) c);
947 bc_vec_init(&vm.buffer, sizeof(uchar), BC_DTOR_NONE);
948 bc_vec_init(&vm.line_buf, sizeof(uchar), BC_DTOR_NONE);
1054 uchar id = 0;
1142 bc_vec_init(&buf, sizeof(uchar), BC_DTOR_NONE);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Headers/
Dopencl-c.h52 char __ovld __cnfn convert_char_rte(uchar);
53 char __ovld __cnfn convert_char_sat_rte(uchar);
54 char __ovld __cnfn convert_char_rtz(uchar);
55 char __ovld __cnfn convert_char_sat_rtz(uchar);
56 char __ovld __cnfn convert_char_rtp(uchar);
57 char __ovld __cnfn convert_char_sat_rtp(uchar);
58 char __ovld __cnfn convert_char_rtn(uchar);
59 char __ovld __cnfn convert_char_sat_rtn(uchar);
60 char __ovld __cnfn convert_char(uchar);
61 char __ovld __cnfn convert_char_sat(uchar);
[all …]
Dopencl-c-base.h60 typedef unsigned char uchar; typedef
113 typedef uchar uchar2 __attribute__((ext_vector_type(2)));
114 typedef uchar uchar3 __attribute__((ext_vector_type(3)));
115 typedef uchar uchar4 __attribute__((ext_vector_type(4)));
116 typedef uchar uchar8 __attribute__((ext_vector_type(8)));
117 typedef uchar uchar16 __attribute__((ext_vector_type(16)));
496 #define as_uchar(x) __builtin_astype((x), uchar)
/freebsd-12-stable/contrib/gcclibs/libcpp/include/
Dcpp-id-data.h22 typedef unsigned char uchar; typedef
/freebsd-12-stable/gnu/usr.bin/cc/libcpp/
Dconfig.h290 typedef unsigned char uchar; typedef

123