Home
last modified time | relevance | path

Searched refs:is_type (Results 1 – 25 of 26) sorted by relevance

12

/third_party/ltp/tools/sparse/sparse-src/validation/
Dautotype.c2 #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/flutter/skia/third_party/externals/spirv-tools/source/val/
Dfunction.cpp160 if (current_block_->is_type(kBlockTypeLoop)) { in RegisterBlockEnd()
222 ret = block->is_type(type); in IsBlockType()
320 } else if (bb->is_type(kBlockTypeMerge)) { in GetBlockDepth()
326 } else if (bb->is_type(kBlockTypeContinue)) { in GetBlockDepth()
344 } else if (bb_dom->is_type(kBlockTypeHeader) || in GetBlockDepth()
345 bb_dom->is_type(kBlockTypeLoop)) { in GetBlockDepth()
Dbasic_block.h69 bool is_type(BlockType type) const { in is_type() function
/third_party/spirv-tools/source/val/
Dfunction.cpp158 if (current_block_->is_type(kBlockTypeLoop)) { in RegisterBlockEnd()
221 ret = block->is_type(type); in IsBlockType()
316 } else if (bb->is_type(kBlockTypeContinue)) { in GetBlockDepth()
337 } else if (bb->is_type(kBlockTypeMerge)) { in GetBlockDepth()
343 } else if (bb_dom->is_type(kBlockTypeSelection) || in GetBlockDepth()
344 bb_dom->is_type(kBlockTypeLoop)) { in GetBlockDepth()
Dbasic_block.h71 bool is_type(BlockType type) const { in is_type() function
Dvalidate_cfg.cpp476 (depth == target_depth && block->is_type(kBlockTypeContinue))) { in FindCaseFallThrough()
698 if (!loop_header->is_type(kBlockTypeLoop)) continue; in StructuredControlFlowChecks()
781 if (block->is_type(BlockType::kBlockTypeSelection) || in StructuredControlFlowChecks()
782 block->is_type(BlockType::kBlockTypeLoop)) { in StructuredControlFlowChecks()
Dconstruct.cpp111 block->is_type(kBlockTypeContinue)) { in blocks()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dfunction.cpp158 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()
Dbasic_block.h71 bool is_type(BlockType type) const { in is_type() function
Dvalidate_cfg.cpp488 (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()
Dconstruct.cpp116 block->is_type(kBlockTypeContinue)) { in blocks()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dfunction.cpp158 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()
Dbasic_block.h71 bool is_type(BlockType type) const { in is_type() function
Dvalidate_cfg.cpp488 (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()
Dconstruct.cpp116 block->is_type(kBlockTypeContinue)) { in blocks()
/third_party/flutter/skia/tests/
DJSONTest.cpp151 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/tests/
DJSONTest.cpp151 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/boost/libs/vmd/doc/
Dvmd_type.qbk57 #include <boost/vmd/is_type.hpp>
78 #include <boost/vmd/is_type.hpp>
Dindex.idx29 !scan boost/vmd/is_type.hpp
Djamfile.v260 $(here)/../../../boost/vmd/is_type.hpp
/third_party/selinux/libsepol/src/
Dmodule_to_cil.c184 int is_type; member
745 static char *get_new_attr_name(struct policydb *pdb, int is_type) in get_new_attr_name() argument
754 if (is_type) { in get_new_attr_name()
779 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
797 attr_list_node->is_type = is_type; in cil_add_attr_to_list()
807 static int cil_print_attr_strs(int indent, struct policydb *pdb, int is_type, void *set, char *attr… in cil_print_attr_strs() argument
827 if (is_type) { in cil_print_attr_strs()
902 rc = cil_print_attr_strs(indent, pdb, node->is_type, node->set, node->attr_name); in cil_print_attr_list()
911 static char *search_attr_list(struct list *attr_list, int is_type, void *set) in search_attr_list() argument
918 if (is_type) { in search_attr_list()
[all …]
/third_party/skia/third_party/externals/tint/src/
Dcastable.h159 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/python/Lib/unittest/
Dmock.py2645 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/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_cfg.cpp194 if (!loop_header->is_type(kBlockTypeLoop)) continue; in StructuredControlFlowChecks()
/third_party/abseil-cpp/absl/strings/
Dstring_view_test.cc295 struct is_type { struct
306 EXPECT_TRUE(is_type<size_t>::same(absl::string_view::npos)); in TEST()
307 EXPECT_FALSE(is_type<size_t>::same("")); in TEST()

12