Home
last modified time | relevance | path

Searched refs:ctype (Results 1 – 25 of 168) sorted by relevance

1234567

/illumos-gate/usr/src/tools/smatch/src/
H A Devaluate.c616 expr->ctype = ctype; in evaluate_ptr_add()
1776 ctype = op->ctype; in evaluate_addressof()
1813 ctype = ctype->ctype.base_type; in evaluate_dereference()
2081 ctype = ctype->ctype.base_type; in evaluate_member_dereference()
2417 ctype = ctype->ctype.base_type; in first_subobject()
2424 new->ctype = ctype->ctype.base_type; in first_subobject()
2454 ctype = ctype->ctype.base_type; in check_designators()
2815 ctype = ctype->ctype.base_type; in handle_initializer()
3126 ctype = ctype->ctype.base_type; in evaluate_call()
3162 expr->ctype = ctype->ctype.base_type; in evaluate_call()
[all …]
H A Dsymbol.c217 combine_address_space(sym->pos, &sym->ctype.as, base_type->ctype.as); in examine_base_type()
218 sym->ctype.modifiers |= base_type->ctype.modifiers & MOD_PTRINHERIT; in examine_base_type()
281 combine_address_space(sym->pos, &sym->ctype.as, base_type->ctype.as); in merge_type()
282 sym->ctype.modifiers |= (base_type->ctype.modifiers & ~MOD_STORAGE); in merge_type()
285 sym->ctype.base_type = base_type->ctype.base_type; in merge_type()
431 if (base_type->ctype.alignment > sym->ctype.alignment) in examine_enum_type()
432 sym->ctype.alignment = base_type->ctype.alignment; in examine_enum_type()
811 for (ctype = ctype_declaration ; ctype->ptr; ctype++) { in init_ctype()
814 unsigned long maxalign = ctype->maxalign ? *ctype->maxalign : 0; in init_ctype()
822 sym->ctype.base_type = ctype->base_type; in init_ctype()
[all …]
H A Dparse.c901 ctype = expr->ctype; in cast_enum_list()
935 ctype = expr->ctype; in parse_enum_declaration()
947 expr->ctype = ctype; in parse_enum_declaration()
960 ctype = ctype->ctype.base_type; in parse_enum_declaration()
965 ctype = ctype->ctype.base_type; in parse_enum_declaration()
1043 struct ctype *ctype = &ctx->ctype.base_type->ctype; in enum_specifier() local
1844 struct ctype *ctype = &ctx->ctype; in direct_declarator() local
1860 ctype = &ctype->base_type->ctype; in direct_declarator()
1884 ctype = &array->ctype; in direct_declarator()
1917 struct ctype *ctype = &ctx->ctype; in handle_bitfield() local
[all …]
H A Dsymbol.h100 struct ctype { struct
109 struct ctype ctype; member
183 struct ctype ctype; member
301 extern const char * type_difference(struct ctype *c1, struct ctype *c2,
327 extern const char *builtin_ctypename(struct ctype *ctype);
337 return ctype && ctype != &bad_ctype; in valid_type()
353 type = type->ctype.base_type; in is_int_type()
355 type = type->ctype.base_type; in is_int_type()
363 type = type->ctype.base_type; in is_enum_type()
370 sym = sym->ctype.base_type; in is_signed_type()
[all …]
H A Dexpand.c175 ctype = ctype->ctype.base_type; in warn_shift_count()
185 struct symbol *ctype = expr->ctype; in check_shift_count() local
353 unsigned long mod = expr->ctype->ctype.modifiers; in simplify_float_binop()
667 if (expr->ctype->ctype.modifiers & MOD_NODEREF) in expand_dereference()
834 struct symbol *ctype = fn->ctype; in expand_symbol_call() local
841 if (ctype->op && ctype->op->expand) in expand_symbol_call()
844 if (ctype->ctype.modifiers & MOD_PURE) in expand_symbol_call()
914 reuse->ctype = entry->ctype; in expand_pos_expression()
986 if (!b->ctype || !b->ctype->bit_size) in verify_nonoverlapping()
1015 if (!expr->ctype || expr->ctype == &bad_ctype) in expand_expression()
[all …]
H A Dshow-parse.c79 show_as(sym->ctype.as), in do_debug_symbol()
283 const char *builtin_ctypename(struct ctype *ctype) in builtin_ctypename() argument
288 if (&typenames[i].sym->ctype == ctype) in builtin_ctypename()
338 as = sym->ctype.as; in do_show_type()
740 if (!expr->ctype) { in show_call_expression()
802 expr->ctype->bit_size, in show_binop()
861 if (!expr->ctype) in show_assignment()
890 if (!expr->ctype) in show_initialization()
1053 struct symbol *ctype = expr->init_expr->ctype; in show_position_expr() local
1056 bit_offset = ctype ? ctype->bit_offset : -1; in show_position_expr()
[all …]
H A Dlinearize.c957 struct symbol *ctype = expr->ctype; in linearize_address_gen() local
959 if (!ctype) in linearize_address_gen()
1202 struct symbol *ctype = expr->ctype; in linearize_regular_preop() local
1406 if (ctype && is_float_type(ctype)) in map_opcode()
1408 if (ctype && (ctype->ctype.modifiers & MOD_SIGNED)) { in map_opcode()
1477 ctype = src->ctype; in linearize_assignment()
1482 value = cast_pseudo(ep, dst, ctype, expr->ctype); in linearize_assignment()
1493 struct ctype *ctype = NULL; in linearize_call_expression() local
1502 ctype = &fntype->ctype; in linearize_call_expression()
1707 struct symbol *ctype = expr->ctype; in linearize_logical() local
[all …]
H A Dsparse-llvm.c360 assert(ctype); in val_to_value()
361 dtype = symbol_type(ctype); in val_to_value()
365 sparse_error(ctype->pos, "no value possible for %s", show_typename(ctype)); in val_to_value()
422 if (ctype && is_int_type(ctype)) { in value_to_ivalue()
433 assert(is_ptr_type(ctype)); in value_to_pvalue()
449 if (is_int_type(ctype)) in adjust_type()
451 if (is_ptr_type(ctype)) in adjust_type()
800 struct symbol *ctype; in output_op_call() local
816 NEXT_PTR_LIST(ctype); in output_op_call()
819 FINISH_PTR_LIST(ctype); in output_op_call()
[all …]
H A Dcompile-i386.c116 struct symbol *ctype; member
1124 sym->ctype.modifiers, sym->ctype.alignment, in emit_scalar_noinit()
1132 sym->ctype.modifiers, sym->ctype.alignment, in emit_array_noinit()
1163 if (ctype) { in emit_move()
1164 bits = ctype->bit_size; in emit_move()
1826 sym->ctype.modifiers, in x86_symbol()
2074 if (!expr->ctype) { in x86_call_expression()
2165 if (!expr->ctype) in x86_assignment()
2198 if (!expr->ctype) in x86_initialization()
2281 struct symbol *ctype = expr->init_expr->ctype; in x86_position_expr() local
[all …]
H A Dsmatch_unknown_value.c45 .ctype = &llong_ctype,
50 .ctype = &llong_ctype,
55 fake_fn_symbol.ctype.base_type = &llong_ctype; in initialize_local_variables()
56 fake_node_symbol.ctype.base_type = &fake_fn_symbol; in initialize_local_variables()
H A Dbuiltin.c35 expr->ctype = &int_ctype; in evaluate_to_int_const_expr()
80 sym = expr->fn->ctype; in eval_args()
214 switch (expr->ctype->bit_size) { in expand_bswap()
270 type = type->ctype.base_type; in evaluate_overflow_gen()
275 type = type->ctype.base_type; in evaluate_overflow_gen()
280 type = type->ctype.base_type; in evaluate_overflow_gen()
288 expr->ctype = &bool_ctype; in evaluate_overflow_gen()
294 expr->ctype = &bad_ctype; in evaluate_overflow_gen()
375 sym->ctype.base_type = fun; in declare_builtin()
379 fun->ctype.base_type = rtype; in declare_builtin()
[all …]
H A Ddissect.c95 if (!type->ctype.base_type) in fix_mode()
127 sym.ctype.base_type = &bad_ctype; in no_member()
136 struct symbol *ret = mem->ctype.base_type; in report_member()
169 sym->ctype.modifiers = MOD_EXTERN; in expr_symbol()
173 if (!sym->ctype.base_type) in expr_symbol()
174 sym->ctype.base_type = &bad_ctype; in expr_symbol()
215 while ((base = node->ctype.base_type) != NULL) in examine_sym_node()
218 node->ctype.base_type = in examine_sym_node()
355 ret = ret->ctype.base_type; in do_expression()
400 ret->ctype.base_type = in do_expression()
[all …]
H A Dc2xml.c152 if ((sym->ctype.modifiers & 1<<i) && modifiers[i]) in examine_modifiers()
163 newNumProp(node, "alignment", sym->ctype.alignment); in examine_layout()
188 if (sym->ctype.base_type) { in examine_symbol()
189 if ((base = builtin_typename(sym->ctype.base_type)) == NULL) { in examine_symbol()
190 if (!sym->ctype.base_type->aux) { in examine_symbol()
191 examine_symbol(sym->ctype.base_type, root_node); in examine_symbol()
194 xmlGetProp((xmlNodePtr)sym->ctype.base_type->aux, BAD_CAST "id")); in examine_symbol()
/illumos-gate/usr/src/cmd/localedef/
H A Dctype.c42 int32_t ctype; member
89 ctn->ctype |= _ISSPACE; in add_ctype_impl()
92 ctn->ctype |= _ISCNTRL; in add_ctype_impl()
98 ctn->ctype |= _ISPRINT; in add_ctype_impl()
332 ctn->ctype |= _ISALPHA; in dump_ctype()
336 ctn->ctype |= _ISSPACE; in dump_ctype()
338 ctn->ctype |= _ISGRAPH; in dump_ctype()
353 if ((ctn->ctype & _ISSPACE) && (ctn->ctype & _ISGRAPH)) in dump_ctype()
355 if ((ctn->ctype & _ISCNTRL) && (ctn->ctype & _ISPRINT)) in dump_ctype()
362 wc, ctn->ctype); in dump_ctype()
[all …]
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Dctype_h.cfg17 # Definitions found in ctype.h
23 type | locale_t | ctype.h | -ALL +SUSv4+
32 func | isalnum | int | int | ctype.h | +ALL
33 func | isalpha | int | int | ctype.h | +ALL
36 func | iscntrl | int | int | ctype.h | +ALL
37 func | isdigit | int | int | ctype.h | +ALL
38 func | isgraph | int | int | ctype.h | +ALL
39 func | islower | int | int | ctype.h | +ALL
40 func | isprint | int | int | ctype.h | +ALL
41 func | ispunct | int | int | ctype.h | +ALL
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregclass.c35 regclass_t ctype; member
108 static Ctype_t ctype[] = variable
155 static int Is_wc_1(int c) { return iswctype(c, ctype[CTYPES+0].wtype); } in Is_wc_1()
156 static int Is_wc_2(int c) { return iswctype(c, ctype[CTYPES+1].wtype); } in Is_wc_2()
157 static int Is_wc_3(int c) { return iswctype(c, ctype[CTYPES+2].wtype); } in Is_wc_3()
158 static int Is_wc_4(int c) { return iswctype(c, ctype[CTYPES+3].wtype); } in Is_wc_4()
159 static int Is_wc_5(int c) { return iswctype(c, ctype[CTYPES+4].wtype); } in Is_wc_5()
205 for (cp = ctype; cp < &ctype[elementsof(ctype)]; cp++) in regclass()
250 return cp->ctype; in regclass()
268 cp->ctype = fun; in regaddclass()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dvalid_cksumtype.c32 krb5_c_valid_cksumtype(krb5_cksumtype ctype) in krb5_c_valid_cksumtype() argument
37 if (krb5_cksumtypes_list[i].ctype == ctype) in krb5_c_valid_cksumtype()
45 valid_cksumtype(krb5_cksumtype ctype) in valid_cksumtype() argument
47 return krb5_c_valid_cksumtype (ctype); in valid_cksumtype()
H A Dcoll_proof_cksum.c31 krb5_c_is_coll_proof_cksum(krb5_cksumtype ctype) in krb5_c_is_coll_proof_cksum() argument
36 if (krb5_cksumtypes_list[i].ctype == ctype) in krb5_c_is_coll_proof_cksum()
47 is_coll_proof_cksum(krb5_cksumtype ctype) in is_coll_proof_cksum() argument
49 return krb5_c_is_coll_proof_cksum (ctype); in is_coll_proof_cksum()
H A Dkeyed_cksum.c32 krb5_c_is_keyed_cksum(krb5_cksumtype ctype) in krb5_c_is_keyed_cksum() argument
37 if (krb5_cksumtypes_list[i].ctype == ctype) { in krb5_c_is_keyed_cksum()
53 is_keyed_cksum(krb5_cksumtype ctype) in is_keyed_cksum() argument
55 return krb5_c_is_keyed_cksum (ctype); in is_keyed_cksum()
/illumos-gate/usr/src/cmd/tbl/
H A Dtt.c21 ctype(int il, int ic) in ctype() function
41 return(c<ncol && ctype(i,c)=='s'); in fspan()
48 if (ctype(i,c) != 's') return(0); in lspan()
50 if (c < ncol && ctype(i,c)== 's') in lspan()
52 for(k=0; ctype(i,--c) == 's'; k++); in lspan()
61 for(k=1; c<ncol && ctype(i,c)=='s'; k++) in ctspan()
100 t = ctype(i,c); in thish()
H A Dt5.c88 switch(ctype(nlin,icol)) /* numerical or alpha, subcol */ in gettbl()
100 while (ctype(nlin,icol+1)== 's') /* spanning */ in gettbl()
126 switch(ctype(il,c)) in nodata()
139 k = ctype(lin,0); in oneh()
142 if (k != ctype(lin,icol)) in oneh()
187 if (ifform==0 && ctype(ir,ij)=='^') return(1); in vspand()
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_string.c156 return (current_codepage[c & mask].ctype & CODEPAGE_ISUPPER); in smb_isupper()
169 return (current_codepage[c & mask].ctype & CODEPAGE_ISLOWER); in smb_islower()
370 unicode[b].ctype = CODEPAGE_ISNONE; in smb_unicode_init()
380 switch (a_unicode[a].ctype) { in smb_unicode_init()
385 unicode[b].ctype = CODEPAGE_ISNONE; in smb_unicode_init()
395 unicode[b].ctype = CODEPAGE_ISNONE; in smb_unicode_init()
399 unicode[b].ctype = CODEPAGE_ISUPPER; in smb_unicode_init()
410 unicode[b].ctype = CODEPAGE_ISNONE; in smb_unicode_init()
414 unicode[b].ctype = CODEPAGE_ISLOWER; in smb_unicode_init()
/illumos-gate/usr/src/cmd/oawk/
H A Dawk.def62 char ctype; /* CELL, BOOL, JUMP, etc. */
63 char csub; /* subtype of ctype */
144 #define isjump(n) (n->ctype == OJUMP)
145 #define isexit(n) (n->ctype == OJUMP && n->csub == JEXIT)
146 #define isbreak(n) (n->ctype == OJUMP && n->csub == JBREAK)
147 #define iscont(n) (n->ctype == OJUMP && n->csub == JCONT)
148 #define isnext(n) (n->ctype == OJUMP && n->csub == JNEXT)
151 #define istrue(n) (n->ctype == OBOOL && n->csub == BTRUE)
152 #define istemp(n) (n->ctype == OCELL && n->csub == CTEMP)
153 #define isfld(n) (!donefld && n->csub==CFLD && n->ctype==OCELL && \
[all …]
/illumos-gate/usr/src/cmd/diskinfo/
H A Ddiskinfo.c241 char *vid, *pid, *opath, *c, *ctype = NULL; in enumerate_disks() local
306 nvlist_query_string(cattrs, DM_CTYPE, &ctype); in enumerate_disks()
307 ctype = strdup(ctype); in enumerate_disks()
308 for (c = ctype; *c != '\0'; c++) in enumerate_disks()
387 ctype, device, vid, pid, in enumerate_disks()
393 ctype, device, vid, pid, in enumerate_disks()
400 ctype, device, vid, pid, sizestr, in enumerate_disks()
405 "%-13s %-3s %-3s\n", ctype, device, in enumerate_disks()
412 free(ctype); in enumerate_disks()
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dstruct.c1 struct ctype { struct
8 struct ctype ctype; member

1234567