Home
last modified time | relevance | path

Searched refs:ctype (Results 26 – 50 of 167) sorted by relevance

1234567

/illumos-gate/usr/src/tools/smatch/src/
H A Dexpression.c107 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 Dcheck_trinity_generator.c57 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 Dtest-unssa.c34 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 Dtest-dissect.c8 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 Dsparse.c124 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 Dcheck_kernel_printf.c383 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 Dsmatch_type.c254 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 Dcheck_expects_err_ptr.c37 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 Dinline.c57 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 Dir.c112 struct symbol *ctype = insn->type; in check_return() local
114 if (ctype && ctype->bit_size > 0 && insn->src == VOID) { in check_return()
H A Dssa.c25 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 Dcheck_puts_argument.c42 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 Dcheck_rosenberg.c67 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 Dcheck_frees_argument.c43 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 Dtolower.c28 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 Dmbrtowc.c43 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 Disdigit.c39 ((unsigned)c > 255 || loc->ctype->lc_max_mblen > 1) ? 0 : \
40 (loc->ctype->lc_ctype_mask[c] & mask))
H A Dlocaleimpl.c113 .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 Dtu.c30 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 Dt9.c64 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 Dold_api_glue.c197 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 DSLPParseSrvURL.c45 char *ctype; member
153 type->ctype = NULL; in parseType()
195 type->ctype = q; in parseType()
/illumos-gate/usr/src/lib/libzpool/common/
H A Dutil.c49 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 Db_generic.c66 _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 Df_generic.c57 _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()

1234567