Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/python/Objects/
Dunicodectype.c66 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToTitlecase() local
68 if (ctype->flags & EXTENDED_CASE_MASK) in _PyUnicode_ToTitlecase()
69 return _PyUnicode_ExtendedCase[ctype->title & 0xFFFF]; in _PyUnicode_ToTitlecase()
70 return ch + ctype->title; in _PyUnicode_ToTitlecase()
78 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsTitlecase() local
80 return (ctype->flags & TITLE_MASK) != 0; in _PyUnicode_IsTitlecase()
88 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsXidStart() local
90 return (ctype->flags & XID_START_MASK) != 0; in _PyUnicode_IsXidStart()
98 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsXidContinue() local
100 return (ctype->flags & XID_CONTINUE_MASK) != 0; in _PyUnicode_IsXidContinue()
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Devaluate.c55 return expr && valid_type(expr->ctype); in valid_expr_type()
64 static struct symbol *unqualify_type(struct symbol *ctype) in unqualify_type() argument
66 if (!ctype) in unqualify_type()
67 return ctype; in unqualify_type()
68 if (ctype->type == SYM_NODE && (ctype->ctype.modifiers & MOD_QUALIFIER)) { in unqualify_type()
69 struct symbol *unqual = alloc_symbol(ctype->pos, 0); in unqualify_type()
71 *unqual = *ctype; in unqualify_type()
72 unqual->ctype.modifiers &= ~MOD_QUALIFIER; in unqualify_type()
75 return ctype; in unqualify_type()
100 …addr->ctype = &lazy_ptr_ctype; /* Lazy evaluation: we need to do a proper job if somebody does &sy… in evaluate_symbol_expression()
[all …]
Dsymbol.c52 if (sym->ctype.modifiers & MOD_INLINE) { in access_symbol()
113 sym = sym->ctype.base_type; in bitfield_base_size()
115 sym = sym->ctype.base_type; in bitfield_base_size()
142 alignment = info->packed ? 1 : sym->ctype.alignment; in lay_out_struct()
160 sym->ctype.base_type->bit_offset = bit_offset; in lay_out_struct()
186 unsigned long mod = sym->ctype.modifiers & MOD_QUALIFIER; in examine_anonymous_member()
190 sym = sym->ctype.base_type; in examine_anonymous_member()
196 sub->ctype.modifiers |= mod; in examine_anonymous_member()
218 if (member->ctype.base_type == &autotype_ctype) { in examine_struct_union_type()
220 member->ctype.base_type = &incomplete_ctype; in examine_struct_union_type()
[all …]
Dparse.c591 sym->ctype.modifiers = kw->mods; in init_keyword()
592 sym->ctype.base_type = kw->type; in init_keyword()
672 static void apply_ctype(struct position pos, struct ctype *dst, struct ctype *src);
676 struct symbol *ctype; in apply_modifiers() local
679 ctype = ctx->mode->to_mode(ctx->ctype.base_type); in apply_modifiers()
680 if (!ctype) in apply_modifiers()
682 show_typename(ctx->ctype.base_type)); in apply_modifiers()
684 ctx->ctype.base_type = ctype; in apply_modifiers()
688 static struct symbol * alloc_indirect_symbol(struct position pos, struct ctype *ctype, int type) in alloc_indirect_symbol() argument
692 sym->ctype.base_type = ctype->base_type; in alloc_indirect_symbol()
[all …]
Dsymbol.h98 struct ctype { struct
107 struct ctype ctype; argument
200 struct ctype ctype; member
330 extern const char * type_difference(struct ctype *c1, struct ctype *c2,
357 extern const char *builtin_ctypename(struct ctype *ctype);
365 static inline int valid_type(const struct symbol *ctype) in valid_type() argument
367 return ctype && ctype != &bad_ctype; in valid_type()
372 return examine_symbol_type(sym->ctype.base_type); in get_base_type()
383 type = type->ctype.base_type; in is_int_type()
385 type = type->ctype.base_type; in is_int_type()
[all …]
Dexpand.c78 return (sym->ctype.modifiers & (MOD_STATIC | MOD_EXTERN)) ? 2 : 1; in expand_symbol_expression()
83 int no_expand = expr->ctype->ctype.modifiers & MOD_UNSIGNED; in get_longlong()
84 long long mask = 1ULL << (expr->ctype->bit_size - 1); in get_longlong()
176 struct symbol *ctype = expr->ctype; in check_shift_count() local
179 if (count >= 0 && count < ctype->bit_size) in check_shift_count()
191 static int simplify_int_binop(struct expression *expr, struct symbol *ctype) in simplify_int_binop() argument
208 is_signed = !(ctype->ctype.modifiers & MOD_UNSIGNED); in simplify_int_binop()
209 mask = 1ULL << (ctype->bit_size-1); in simplify_int_binop()
307 static int simplify_cmp_binop(struct expression *expr, struct symbol *ctype) in simplify_cmp_binop() argument
316 mask = 1ULL << (ctype->bit_size-1); in simplify_cmp_binop()
[all …]
Dshow-parse.c75 sym->bit_size, sym->ctype.alignment, in do_debug_symbol()
76 modifier_string(sym->ctype.modifiers), show_ident(sym->ident), in do_debug_symbol()
77 show_as(sym->ctype.as), in do_debug_symbol()
81 FOR_EACH_PTR(sym->ctype.contexts, context) { in do_debug_symbol()
98 do_debug_symbol(sym->ctype.base_type, indent+2); in do_debug_symbol()
180 …printf("\t%s:%d:%ld at offset %ld.%d", show_ident(sym->ident), sym->bit_size, sym->ctype.alignment… in show_struct_member()
293 const char *builtin_ctypename(struct ctype *ctype) in builtin_ctypename() argument
298 if (&typenames[i].sym->ctype == ctype) in builtin_ctypename()
347 mod = sym->ctype.modifiers; in do_show_type()
348 as = sym->ctype.as; in do_show_type()
[all …]
Dbuiltin.c38 t = t->ctype.base_type; in is_dynamic_type()
44 expr->ctype = &int_ctype; in evaluate_to_int_const_expr()
89 sym = expr->fn->ctype; in eval_args()
96 struct symbol *fntype = expr->fn->ctype->ctype.base_type; in args_prototype()
230 switch (expr->ctype->bit_size) { in expand_bswap()
260 switch (arg->ctype->bit_size) { \
295 if (!is_float_type(arg->ctype)) { in evaluate_fp_unop()
297 show_ident(expr->fn->ctype->ident)); in evaluate_fp_unop()
338 if (!arg || !(type = arg->ctype)) in evaluate_overflow_gen()
344 type = type->ctype.base_type; in evaluate_overflow_gen()
[all …]
Dlinearize.c30 static pseudo_t add_binary_op(struct entrypoint *ep, struct symbol *ctype, int op, pseudo_t left, p…
600 if (sym->ctype.modifiers & (MOD_EXTERN | MOD_STATIC | MOD_ADDRESSABLE)) in show_entry()
934 base = base->ctype.base_type; in bitfield_base_type()
936 base = base->ctype.base_type; in bitfield_base_type()
954 struct symbol *ctype = expr->ctype; in linearize_address_gen() local
956 if (!ctype) in linearize_address_gen()
958 ad->type = ctype; in linearize_address_gen()
979 insn->is_volatile = ad->type && (ad->type->ctype.modifiers & MOD_VOLATILE); in add_load()
995 store->is_volatile = ad->type && (ad->type->ctype.modifiers & MOD_VOLATILE); in add_store()
1002 pseudo_t ori, pseudo_t val, struct symbol *ctype, struct symbol *btype) in linearize_bitfield_insert() argument
[all …]
Dsparse-llvm.c32 return symbol_type(sym->ctype.base_type); in func_return_type()
44 struct symbol *arg_sym = arg->ctype.base_type; in sym_func_type()
57 base_type = sym->ctype.base_type; in sym_array_type()
119 if (is_void_type(sym->ctype.base_type)) in sym_ptr_type()
122 type = symbol_type(sym->ctype.base_type); in sym_ptr_type()
181 return symbol_type(sym->ctype.base_type); in symbol_type()
192 ret = symbol_type(sym->ctype.base_type); in symbol_type()
242 if (sym->ctype.modifiers & MOD_STATIC) in data_linkage()
250 if (sym->ctype.modifiers & MOD_STATIC) in function_linkage()
355 static LLVMValueRef val_to_value(unsigned long long val, struct symbol *ctype) in val_to_value() argument
[all …]
Dcompile-i386.c115 struct symbol *ctype; member
194 struct symbol *ctype, const char *comment);
330 return get_regclass_bits(expr->ctype->bit_size); in get_regclass()
378 emit_move(value, reg, value->ctype, "reload register"); in get_reg_value()
806 struct symbol *base_type = sym->ctype.base_type; in emit_func_pre()
858 if ((sym->ctype.modifiers & MOD_STATIC) == 0) in emit_func_post()
968 struct symbol *base_type = sym->ctype.base_type; in emit_initializer()
1051 struct symbol *base_type = sym->ctype.base_type; in emit_array()
1061 emit_object_pre(show_ident(sym->ident), sym->ctype.modifiers, in emit_array()
1062 sym->ctype.alignment, in emit_array()
[all …]
/third_party/ltp/tools/sparse/sparse-src/Documentation/
Dtypes.rst6 most parts pertaining to the types are in the field 'ctype'.
13 struct ctype {
52 * .ctype.base_type points to ``int_ctype``, the generic/abstract integer type
53 * .ctype.modifiers has MOD_UNSIGNED/SIGNED/EXPLICITLY_SIGNED set accordingly.
56 * .ctype.base_type points to ``fp_ctype``, the generic/abstract float type
57 * .ctype.modifiers is zero.
60 * .ctype.base_type is NULL
61 * .ctype.modifiers is zero.
71 * .ctype.base_type points to the unmodified type (which must not
73 * .ctype.modifiers, .as, .alignment, .contexts will contains
[all …]
/third_party/boost/boost/regex/v4/
Dcpp_regex_traits.hpp181 std::ctype<charT> const* m_pctype;
218 m_pctype = &BOOST_USE_FACET(std::ctype<charT>, l); in imbue()
419 typedef typename std::ctype<charT>::mask native_mask_type;
757 static_cast<unsigned_native_mask_type>(std::ctype<charT>::alnum), in init()
758 static_cast<unsigned_native_mask_type>(std::ctype<charT>::alpha), in init()
759 static_cast<unsigned_native_mask_type>(std::ctype<charT>::cntrl), in init()
760 static_cast<unsigned_native_mask_type>(std::ctype<charT>::digit), in init()
761 static_cast<unsigned_native_mask_type>(std::ctype<charT>::graph), in init()
763 static_cast<unsigned_native_mask_type>(std::ctype<charT>::lower), in init()
764 static_cast<unsigned_native_mask_type>(std::ctype<charT>::print), in init()
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLCPPUniformCTypes.cpp116 Layout::CType ctype, const std::vector<String>& skslTypes, const String& setUniformFormat, in UniformCTypeMapper() argument
119 : fCType(ctype) in UniformCTypeMapper()
131 static UniformCTypeMapper REGISTER(Layout::CType ctype, const std::vector<String>& skslTypes, in REGISTER() argument
134 return UniformCTypeMapper(ctype, skslTypes, uniformFormat, defaultValue, dirtyExpression, in REGISTER()
138 static UniformCTypeMapper REGISTER(Layout::CType ctype, const std::vector<String>& skslTypes, in REGISTER() argument
140 return REGISTER(ctype, skslTypes, uniformFormat, defaultValue, in REGISTER()
207 Layout::CType ctype = layout.fCType; in Get() local
209 if (ctype == Layout::CType::kDefault) { in Get()
210 ctype = HCodeGenerator::ParameterCType(context, type, layout); in Get()
216 if (registeredMappers[i].ctype() == ctype) { in Get()
DSkSLCPPUniformCTypes.h36 UniformCTypeMapper(Layout::CType ctype, const std::vector<String>& skslTypes, in UniformCTypeMapper() argument
38 : UniformCTypeMapper(ctype, skslTypes, setUniformFormat, false, "", "", "") { } in UniformCTypeMapper()
42 UniformCTypeMapper(Layout::CType ctype, const std::vector<String>& skslTypes, in UniformCTypeMapper() argument
45 : UniformCTypeMapper(ctype, skslTypes, setUniformFormat, in UniformCTypeMapper()
61 Layout::CType ctype() const { in ctype() function
116 UniformCTypeMapper(Layout::CType ctype, const std::vector<String>& skslTypes,
/third_party/libwebsockets/include/libwebsockets/
Dlws-struct.h145 #define LSM_LIST(ptype, pname, ctype, cname, lejp_cb, cmap, qname) \ argument
151 sizeof (ctype), \
152 offsetof(ctype, cname), \
157 #define LSM_CHILD_PTR(ptype, pname, ctype, lejp_cb, cmap, qname) \ argument
163 sizeof (ctype), \
169 #define LSM_SCHEMA(ctype, lejp_cb, map, schema_name) \ argument
175 sizeof (ctype), \
181 #define LSM_SCHEMA_DLL2(ctype, cdll2mem, lejp_cb, map, schema_name) \ argument
186 offsetof(ctype, cdll2mem), \
187 sizeof (ctype), \
/third_party/boost/libs/numeric/ublas/examples/tensor/
Dconstruction_access.cpp44 using ctype = std::complex<cpp_bin_float_double_extended>; in main() typedef
45 auto B = tensor<ctype,last_order>(shape{5,4,3,2},ctype{}); in main()
49 auto vc = ctype(0,0); in main()
50 for(auto i = 0u; i < B.size(); ++i, vc += ctype(1,1)) in main()
60 auto C = tensor<ctype,last_order>(B.extents()); in main()
76 auto D = tensor<ctype,last_order>(B.extents()); in main()
/third_party/flutter/skia/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.fp17 layout(ctype=SkPMColor4f) in uniform float4 scale0_1;
18 layout(ctype=SkPMColor4f, when=intervalCount > 1) in uniform float4 scale2_3;
19 layout(ctype=SkPMColor4f, when=intervalCount > 2) in uniform float4 scale4_5;
20 layout(ctype=SkPMColor4f, when=intervalCount > 3) in uniform float4 scale6_7;
21 layout(ctype=SkPMColor4f, when=intervalCount > 4) in uniform float4 scale8_9;
22 layout(ctype=SkPMColor4f, when=intervalCount > 5) in uniform float4 scale10_11;
23 layout(ctype=SkPMColor4f, when=intervalCount > 6) in uniform float4 scale12_13;
24 layout(ctype=SkPMColor4f, when=intervalCount > 7) in uniform float4 scale14_15;
26 layout(ctype=SkPMColor4f) in uniform float4 bias0_1;
27 layout(ctype=SkPMColor4f, when=intervalCount > 1) in uniform float4 bias2_3;
[all …]
/third_party/FreeBSD/sys/dev/usb/implementation/
Dusb_init.c40 controller_type ctype; member
112 usb_info.ctype = (controller_type)0xFFFF; in usbinfo_clean()
246 usb_init(controller_type ctype, device_type dtype) in usb_init() argument
255 …dprintf("\n duplicate usb_init %s, ctype:%d dtype:%d\n", __FUNCTION__, usb_info.ctype, usb_info.dt… in usb_init()
270 if (ctype == HOST) { in usb_init()
298 usb_info.ctype = ctype; in usb_init()
328 if (usb_info.ctype == HOST) { in usb_deinit()
/third_party/curl/docs/examples/
Dcrawler.c144 int is_html(char *ctype) in is_html() argument
146 return ctype != NULL && strlen(ctype) > 10 && strstr(ctype, "text/html"); in is_html()
188 char *ctype; in main() local
189 curl_easy_getinfo(handle, CURLINFO_CONTENT_TYPE, &ctype); in main()
190 printf("[%d] HTTP 200 (%s): %s\n", complete, ctype, url); in main()
191 if(is_html(ctype) && mem->size > 100) { in main()
/third_party/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock_dgen.c11 int i, j, k, nlines, nchars, ctype; in main() local
30 ctype = atoi(argv[4]); in main()
35 if (ctype) in main()
46 if (!ctype) { in main()
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DFieldOptions.php26 protected $ctype = null; variable in Google\\Protobuf\\Internal\\FieldOptions
183 return isset($this->ctype) ? $this->ctype : 0;
188 return isset($this->ctype);
193 unset($this->ctype);
209 $this->ctype = $var;
/third_party/boost/libs/geometry/test/algorithms/envelope_expand/
Dtest_envelope.hpp31 typedef typename bg::coordinate_type<Box>::type ctype; typedef
34 boost::is_arithmetic<ctype>,
36 ctype
53 typedef typename bg::coordinate_type<Box>::type ctype; typedef
56 boost::is_arithmetic<ctype>,
58 ctype
/third_party/python/Lib/email/
Dmessage.py582 ctype = _splitparam(value)[0].lower()
584 if ctype.count('/') != 1:
586 return ctype
594 ctype = self.get_content_type()
595 return ctype.split('/')[0]
603 ctype = self.get_content_type()
604 return ctype.split('/')[1]
615 def set_default_type(self, ctype): argument
622 self._default_type = ctype
723 ctype = 'text/plain'
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dcost_enc.c61 int ctype, band, ctx; in VP8CalculateLevelCosts() local
65 for (ctype = 0; ctype < NUM_TYPES; ++ctype) { in VP8CalculateLevelCosts()
69 const uint8_t* const p = proba->coeffs_[ctype][band][ctx]; in VP8CalculateLevelCosts()
70 uint16_t* const table = proba->level_cost_[ctype][band][ctx]; in VP8CalculateLevelCosts()
84 proba->remapped_costs_[ctype][n][ctx] = in VP8CalculateLevelCosts()
85 proba->level_cost_[ctype][VP8EncBands[n]][ctx]; in VP8CalculateLevelCosts()

12345678910>>...14