/third_party/ltp/tools/sparse/sparse-src/validation/ |
D | autotype.c | 2 #define is_type(X, T) _Static_assert([typeof(X)] == [T], "") macro 4 #define is_type(X, T) _Static_assert(1, "") macro 15 __auto_type i = 0; is_type(i, int); 16 __auto_type m = 1UL; is_type(m, unsigned long); 17 __auto_type l = (int)0L; is_type(l, int); 18 __auto_type c = (char)'\n'; is_type(c, char); 19 __auto_type p = &i; is_type(p, int *); 20 __auto_type f = 0.0; is_type(f, double); 21 __auto_type s = (struct s){0}; is_type(s, struct s); 22 __auto_type pci = &ci; is_type(pci, const int *); [all …]
|
/third_party/libabigail/src/ |
D | abg-comp-filter.cc | 172 {return type_size_changed(is_type(f), is_type(s));} in type_size_changed() 188 type_base_sptr f = is_type(diff->first_subject()), in has_type_size_change() 189 s = is_type(diff->second_subject()); in has_type_size_change() 1244 type_base_sptr first = is_type(td->first_subject()); in is_mostly_distinct_diff() 1245 type_base_sptr second = is_type(td->second_subject()); in is_mostly_distinct_diff() 1345 peel_qualified_or_typedef_type(is_type(d->first().get())); in has_harmless_enum_to_int_change() 1347 peel_qualified_or_typedef_type(is_type(d->second().get())); in has_harmless_enum_to_int_change() 1452 f = is_type(d->first()).get(); in type_diff_has_cv_qual_change_only() 1453 s = is_type(d->second()).get(); in type_diff_has_cv_qual_change_only() 1458 f = is_type(d->first_qualified_type()).get(); in type_diff_has_cv_qual_change_only() [all …]
|
D | abg-ctf-reader.cc | 540 result = is_type(type_decl); in process_ctf_type() 547 result = is_type(typedef_decl); in process_ctf_type() 591 result = is_type(struct_decl); in process_ctf_type() 601 result = is_type(union_decl); in process_ctf_type() 914 is_type(build_ir_node_for_variadic_parameter_type(*rdr, tunit)); in process_ctf_function_type() 1040 return is_type(result); in process_ctf_forward_type() 1054 return is_type(result); in process_ctf_forward_type() 1057 rdr->add_type(ctf_dictionary, ctf_type, is_type(result)); in process_ctf_forward_type() 1059 return is_type(result); in process_ctf_forward_type() 1406 result = is_type(d); in process_ctf_qualified_type()
|
D | abg-ir.cc | 1032 && (is_type(&r)->priv_->depends_on_recursive_type() in return_comparison_result() 1034 && is_type(&r)->priv_->canonical_type_propagated() in return_comparison_result() 1035 && !is_type(&r)->priv_->propagated_canonical_type_confirmed() in return_comparison_result() 1041 env.priv_->add_to_types_with_non_confirmed_propagated_ct(is_type(&r)); in return_comparison_result() 4734 ABG_ASSERT(is_type(this) in set_naming_typedef() 4735 && is_type(this)->get_naked_canonical_type() == nullptr); in set_naming_typedef() 5030 ((is_type(l) && is_type(r)) in maybe_compare_as_member_decls() 7702 if (is_type(member)) in add_member_decl() 7703 priv_->member_types_.push_back(is_type(member)); in add_member_decl() 8931 if (type_base* t = is_type(const_cast<type_or_decl_base*>(tod))) in get_pretty_representation() [all …]
|
D | abg-reporter-priv.cc | 751 array_type_def_sptr first_array = is_array_type(is_type(first)), in report_size_and_alignment_changes() 752 second_array = is_array_type(is_type(second)); in report_size_and_alignment_changes() 907 if (is_type(first)) in report_name_size_and_alignment_changes()
|
D | abg-dwarf-reader.cc | 3700 return is_type(artifact); in lookup_type_from_die() 3727 result = is_type(i->second); in lookup_type_from_die_offset() 12926 is_type(build_ir_node_from_die(rdr, &type_die, in add_or_update_class_type() 13000 type_base_sptr t = is_type(ty); in add_or_update_class_type() 13277 type_base_sptr t = is_type(ty); in add_or_update_union_type() 13406 type_base_sptr utype = is_type(utype_decl); in build_qualified_type() 13557 rdr.schedule_type_for_late_canonicalization(is_type(qual_type)); in maybe_strip_qualification() 13622 type_base_sptr utype = is_type(utype_decl); in build_pointer_type_def() 13698 type_base_sptr utype = is_type(utype_decl); in build_reference_type() 13853 is_type(build_ir_node_from_die(rdr, &ret_type_die, in build_function_type() [all …]
|
D | abg-ir-priv.h | 556 && !is_type(&first)->priv_->depends_on_recursive_type() in cache_type_comparison_result() 557 && !is_type(&second)->priv_->depends_on_recursive_type()))) in cache_type_comparison_result()
|
/third_party/spirv-tools/source/val/ |
D | function.cpp | 161 if (current_block_->is_type(kBlockTypeLoop)) { in RegisterBlockEnd() 224 ret = block->is_type(type); in IsBlockType() 336 } else if (bb->is_type(kBlockTypeContinue)) { in GetBlockDepth() 357 } else if (bb->is_type(kBlockTypeMerge)) { in GetBlockDepth() 363 } else if (bb_dom->is_type(kBlockTypeSelection) || in GetBlockDepth() 364 bb_dom->is_type(kBlockTypeLoop)) { in GetBlockDepth()
|
D | basic_block.h | 94 bool is_type(BlockType type) const { in is_type() function
|
D | validate_cfg.cpp | 491 (depth == target_depth && block->is_type(kBlockTypeContinue))) { in FindCaseFallThrough() 714 if (!loop_header->is_type(kBlockTypeLoop)) continue; in StructuredControlFlowChecks() 797 if (block->is_type(BlockType::kBlockTypeSelection) || in StructuredControlFlowChecks() 798 block->is_type(BlockType::kBlockTypeLoop)) { in StructuredControlFlowChecks()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | function.cpp | 158 if (current_block_->is_type(kBlockTypeLoop)) { in RegisterBlockEnd() 221 ret = block->is_type(type); in IsBlockType() 319 } else if (bb->is_type(kBlockTypeContinue)) { in GetBlockDepth() 340 } else if (bb->is_type(kBlockTypeMerge)) { in GetBlockDepth() 346 } else if (bb_dom->is_type(kBlockTypeSelection) || in GetBlockDepth() 347 bb_dom->is_type(kBlockTypeLoop)) { in GetBlockDepth()
|
D | basic_block.h | 71 bool is_type(BlockType type) const { in is_type() function
|
D | validate_cfg.cpp | 488 (depth == target_depth && block->is_type(kBlockTypeContinue))) { in FindCaseFallThrough() 710 if (!loop_header->is_type(kBlockTypeLoop)) continue; in StructuredControlFlowChecks() 793 if (block->is_type(BlockType::kBlockTypeSelection) || in StructuredControlFlowChecks() 794 block->is_type(BlockType::kBlockTypeLoop)) { in StructuredControlFlowChecks()
|
D | construct.cpp | 116 block->is_type(kBlockTypeContinue)) { in blocks()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | function.cpp | 158 if (current_block_->is_type(kBlockTypeLoop)) { in RegisterBlockEnd() 221 ret = block->is_type(type); in IsBlockType() 319 } else if (bb->is_type(kBlockTypeContinue)) { in GetBlockDepth() 340 } else if (bb->is_type(kBlockTypeMerge)) { in GetBlockDepth() 346 } else if (bb_dom->is_type(kBlockTypeSelection) || in GetBlockDepth() 347 bb_dom->is_type(kBlockTypeLoop)) { in GetBlockDepth()
|
D | basic_block.h | 71 bool is_type(BlockType type) const { in is_type() function
|
D | validate_cfg.cpp | 488 (depth == target_depth && block->is_type(kBlockTypeContinue))) { in FindCaseFallThrough() 710 if (!loop_header->is_type(kBlockTypeLoop)) continue; in StructuredControlFlowChecks() 793 if (block->is_type(BlockType::kBlockTypeSelection) || in StructuredControlFlowChecks() 794 block->is_type(BlockType::kBlockTypeLoop)) { in StructuredControlFlowChecks()
|
D | construct.cpp | 116 block->is_type(kBlockTypeContinue)) { in blocks()
|
/third_party/skia/tests/ |
D | JSONTest.cpp | 151 bool is_type) { in check_primitive() argument 153 REPORTER_ASSERT(reporter, v.is<VT>() == is_type); in check_primitive() 155 REPORTER_ASSERT(reporter, (cast_t != nullptr) == is_type); in check_primitive() 157 if (is_type) { in check_primitive()
|
/third_party/skia/third_party/externals/tint/src/ |
D | castable.h | 159 bool is_type = upcast || nocast || in Is() local 162 return is_type && pred(static_cast<std::add_const_t<TO>*>(obj)); in Is()
|
/third_party/selinux/libsepol/src/ |
D | module_to_cil.c | 184 int is_type; member 747 static char *get_new_attr_name(struct policydb *pdb, int is_type) in get_new_attr_name() argument 756 if (is_type) { in get_new_attr_name() 781 static int cil_add_attr_to_list(struct list *attr_list, char *attr_name, int is_type, void *set) in cil_add_attr_to_list() argument 799 attr_list_node->is_type = is_type; in cil_add_attr_to_list() 809 static int cil_print_attr_strs(int indent, struct policydb *pdb, int is_type, void *set, char *attr… in cil_print_attr_strs() argument 829 if (is_type) { in cil_print_attr_strs() 904 rc = cil_print_attr_strs(indent, pdb, node->is_type, node->set, node->attr_name); in cil_print_attr_list() 913 static char *search_attr_list(struct list *attr_list, int is_type, void *set) in search_attr_list() argument 920 if (is_type) { in search_attr_list() [all …]
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
D | item_kind.rs | 98 pub fn is_type(&self) -> bool { in is_type() method
|
D | context.rs | 120 checked = as_type_id with is_type, 668 !item.kind().is_type() || in add_item() 676 let is_type = item.kind().is_type(); in add_item() localVariable 677 let is_unnamed = is_type && item.expect_type().name().is_none(); in add_item() 679 is_type && item.expect_type().is_template_instantiation(); in add_item() 685 if is_type && item.expect_type().is_comp() { in add_item() 698 if !is_type || is_template_instantiation { in add_item() 1414 debug_assert!(item.kind().is_type()); in add_builtin_item()
|
/third_party/python/Lib/unittest/ |
D | mock.py | 2645 is_type = isinstance(spec, type) 2675 elif is_type and instance and not _instance_callable(spec): 2695 _check_signature(spec, mock, is_type, instance) 2700 if is_type and not instance and 'return_value' not in kwargs: 2735 skipfirst = _must_skip(spec, entry, is_type) 2757 def _must_skip(spec, entry, is_type): argument 2777 return is_type 2782 return is_type
|
/third_party/libabigail/include/ |
D | abg-fwd.h | 392 is_type(const type_or_decl_base&); 395 is_type(const type_or_decl_base*); 398 is_type(const type_or_decl_base_sptr& tod);
|