/illumos-gate/usr/src/tools/smatch/src/ |
H A D | expression.c | 107 array->ctype.base_type = &char_ctype; in handle_func() 108 array->ctype.alignment = 1; in handle_func() 111 decl->ctype.base_type = array; in handle_func() 112 decl->ctype.alignment = 1; in handle_func() 113 decl->ctype.modifiers = MOD_STATIC; in handle_func() 128 decl->initializer->ctype = decl; in handle_func() 357 expr->ctype = &float_ctype; in get_number_value() 359 expr->ctype = &ldouble_ctype; in get_number_value() 361 expr->ctype = &double_ctype; in get_number_value() 395 expr->ctype = &int_ctype; in primary_expression() [all …]
|
H A D | check_trinity_generator.c | 57 num_args = ptr_list_size((struct ptr_list *)cur_func_sym->ctype.base_type->arguments); in match_return() 68 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, arg) { in match_return() 81 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, arg) { in match_return()
|
H A D | test-unssa.c | 34 if (sym->ctype.modifiers & MOD_STATIC) in output_fn() 52 printf("\ttype = %d\n", sym->ctype.base_type->type); in output_data() 53 printf("\tmodif= %lx\n", sym->ctype.modifiers); in output_data()
|
H A D | test-dissect.c | 8 unsigned m = sym->ctype.modifiers; in storage() 54 show_typename(sym->ctype.base_type)); in r_symbol() 71 show_typename(mem ? mem->ctype.base_type : sym)); in r_member()
|
H A D | sparse.c | 124 int oldsigned = (orig_type->ctype.modifiers & MOD_SIGNED) != 0; in check_cast_instruction() 271 FOR_EACH_PTR(sym->ctype.contexts, context) { in check_context() 286 if (!sym->ctype.base_type) in list_compound_symbol() 293 base = sym->ctype.base_type; in list_compound_symbol() 306 sym->ctype.alignment); in list_compound_symbol()
|
H A D | check_kernel_printf.c | 383 if (type->ctype.modifiers & MOD_NODEREF) in ip4() 419 if (type->ctype.modifiers & MOD_NODEREF) in ip6() 461 if (type->ctype.modifiers & MOD_NODEREF) in hex_string() 472 if (type->ctype.modifiers & MOD_NODEREF) in escaped_string() 503 if (type->ctype.modifiers & MOD_NODEREF) in mac_address_string() 900 struct symbol *base = sym->ctype.base_type; in is_array_of_const_char() 903 if (!(base->ctype.modifiers & MOD_CONST)) in is_array_of_const_char() 905 if (!is_char_type(base->ctype.base_type)) { in is_array_of_const_char() 914 struct symbol *base = sym->ctype.base_type; in is_const_pointer_to_const_char() 915 if (!(sym->ctype.modifiers & MOD_CONST)) in is_const_pointer_to_const_char() [all …]
|
H A D | smatch_type.c | 254 sym->ctype.base_type = base; in fake_pointer_sym() 266 if (expr->ctype) in get_type_helper() 267 return expr->ctype; in get_type_helper() 326 expr->ctype = ret; in get_type_helper() 386 if (base_type->ctype.modifiers & MOD_SIGNED) in type_signed() 574 if (sym->ctype.modifiers & MOD_STATIC) in is_static() 588 if (!(sym->ctype.modifiers & MOD_TOPLEVEL)) in is_local_variable() 627 return !!(cur_func_sym->ctype.modifiers & MOD_STATIC); in fn_static() 632 if (cur_func_sym->ctype.modifiers & MOD_STATIC) in global_static()
|
H A D | check_expects_err_ptr.c | 37 FOR_EACH_PTR(func_sym->ctype.base_type->arguments, arg) { in match_function_def() 62 FOR_EACH_PTR(func_sym->ctype.base_type->arguments, arg) { in get_arg_num()
|
H A D | inline.c | 57 if (sym->ctype.modifiers & (MOD_STATIC | MOD_EXTERN | MOD_TOPLEVEL | MOD_INLINE)) in copy_symbol() 510 struct symbol *fn = sym->ctype.base_type; in inline_function() 530 expr->ctype = fn->ctype.base_type; in inline_function() 539 a->ctype.base_type = arg->ctype; in inline_function() 571 struct symbol *fn = sym->ctype.base_type; in uninline()
|
H A D | ir.c | 112 struct symbol *ctype = insn->type; in check_return() local 114 if (ctype && ctype->bit_size > 0 && insn->src == VOID) { in check_return()
|
H A D | ssa.c | 25 type = type->ctype.base_type; in is_promotable() 67 if (type->ctype.base_type == &int_type) in is_promotable() 69 if (type->ctype.base_type == &fp_type) in is_promotable() 177 unsigned long mod = var->ctype.modifiers; in ssa_convert_one_var()
|
H A D | check_puts_argument.c | 42 FOR_EACH_PTR(this_func->ctype.base_type->arguments, arg) { in parent_is_arg() 96 FOR_EACH_PTR(this_func->ctype.base_type->arguments, arg) { in print_arg()
|
H A D | check_rosenberg.c | 67 if (type->ctype.alignment == 1) in check_struct() 78 if (!tmp->ctype.alignment) { in check_struct() 80 } else if (align % tmp->ctype.alignment) { in check_struct() 98 if (align % type->ctype.alignment) { in check_struct()
|
H A D | check_frees_argument.c | 43 FOR_EACH_PTR(this_func->ctype.base_type->arguments, arg) { in is_arg() 98 FOR_EACH_PTR(this_func->ctype.base_type->arguments, arg) { in print_arg()
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | tolower.c | 28 return (((unsigned)c > 255) ? c : loc->ctype->lc_trans_lower[c]); in tolower_l() 34 return (((unsigned)c > 255) ? c : loc->ctype->lc_trans_upper[c]); in toupper_l()
|
H A D | mbrtowc.c | 43 return (loc->ctype->lc_mbrtowc(pwc, s, n, ps, B_FALSE)); in mbrtowc_l() 61 return (loc->ctype->lc_mbrtowc(pwc, s, n, ps, B_TRUE)); in mbrtowc_nz_l()
|
H A D | isdigit.c | 39 ((unsigned)c > 255 || loc->ctype->lc_max_mblen > 1) ? 0 : \ 40 (loc->ctype->lc_ctype_mask[c] & mask))
|
H A D | localeimpl.c | 113 .ctype = &lc_ctype_posix, 409 return (loc->ctype->lc_max_mblen); in __mb_cur_max_l() 441 loc->ctype = loc->locdata[LC_CTYPE]->l_data[0]; in duplocale() 503 loc->ctype = loc->locdata[LC_CTYPE]->l_data[0]; in newlocale()
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | tu.c | 30 for(cr=c; cr < ncol && (ctype(i,cr)=='s'||type==thish(i,cr)); cr++); in makeline() 32 for(cr=c+1; cr<ncol && ctype(i,cr)=='s'; cr++); in makeline() 200 if (ctype(i,c) == 's') in lefdata() 202 for(ck=c; ctype(i,ck)=='s'; ck--); in lefdata()
|
H A D | t9.c | 64 switch(ctype(useln,icol)) in domore() 74 while (ctype(useln,icol+1)== 's') /* spanning */ in domore()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | old_api_glue.c | 197 krb5_checksum_size(krb5_context context, krb5_cksumtype ctype) in krb5_checksum_size() argument 201 if (krb5_c_checksum_length(context, ctype, &ret)) in krb5_checksum_size() 208 krb5_calculate_checksum(krb5_context context, krb5_cksumtype ctype, in krb5_calculate_checksum() argument 226 if ((ret = krb5_c_make_checksum(context, ctype, &key, 0, &input, &cksum))) in krb5_calculate_checksum() 246 krb5_verify_checksum(krb5_context context, krb5_cksumtype ctype, in krb5_verify_checksum() argument
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPParseSrvURL.c | 45 char *ctype; member 153 type->ctype = NULL; in parseType() 195 type->ctype = q; in parseType()
|
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | util.c | 49 show_vdev_stats(const char *desc, const char *ctype, nvlist_t *nv, int indent) in show_vdev_stats() argument 113 if (nvlist_lookup_nvlist_array(nv, ctype, &child, &children) != 0) in show_vdev_stats() 127 show_vdev_stats(tname, ctype, cnv, indent + 2); in show_vdev_stats()
|
/illumos-gate/usr/src/lib/libsmedia/plugins/blkdev/common/ |
H A D | b_generic.c | 66 _m_device_type(ushort_t ctype, ushort_t mtype) in _m_device_type() argument 68 if (ctype == DKC_BLKDEV) { in _m_device_type()
|
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_generic.c | 57 _m_device_type(ushort_t ctype, ushort_t mtype) in _m_device_type() argument 59 if ((ctype == DKC_INTEL82077) || (ctype == DKC_UNKNOWN)) { in _m_device_type()
|