Home
last modified time | relevance | path

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

/external/deqp-deps/SPIRV-Tools/source/val/
Dfunction.cpp155 if (current_block_->is_type(kBlockTypeLoop)) { in RegisterBlockEnd()
219 ret = block->is_type(type); in IsBlockType()
314 } else if (bb->is_type(kBlockTypeMerge)) { in GetBlockDepth()
320 } else if (bb->is_type(kBlockTypeContinue)) { in GetBlockDepth()
338 } else if (bb_dom->is_type(kBlockTypeHeader) || in GetBlockDepth()
339 bb_dom->is_type(kBlockTypeLoop)) { in GetBlockDepth()
Dconstruct.cpp110 block->is_type(kBlockTypeContinue)) { in blocks()
Dbasic_block.h71 bool is_type(BlockType type) const { in is_type() function
Dvalidate_cfg.cpp341 (depth == target_depth && block->is_type(kBlockTypeContinue))) { in FindCaseFallThrough()
494 if (!loop_header->is_type(kBlockTypeLoop)) continue; in StructuredControlFlowChecks()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dfunction.cpp155 if (current_block_->is_type(kBlockTypeLoop)) { in RegisterBlockEnd()
219 ret = block->is_type(type); in IsBlockType()
314 } else if (bb->is_type(kBlockTypeMerge)) { in GetBlockDepth()
320 } else if (bb->is_type(kBlockTypeContinue)) { in GetBlockDepth()
338 } else if (bb_dom->is_type(kBlockTypeHeader) || in GetBlockDepth()
339 bb_dom->is_type(kBlockTypeLoop)) { in GetBlockDepth()
Dconstruct.cpp110 block->is_type(kBlockTypeContinue)) { in blocks()
Dbasic_block.h71 bool is_type(BlockType type) const { in is_type() function
Dvalidate_cfg.cpp341 (depth == target_depth && block->is_type(kBlockTypeContinue))) { in FindCaseFallThrough()
494 if (!loop_header->is_type(kBlockTypeLoop)) continue; in StructuredControlFlowChecks()
/external/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()
/external/skqp/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()
/external/selinux/libsepol/src/
Dmodule_to_cil.c183 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()
908 rc = cil_print_attr_strs(indent, pdb, node->is_type, node->set, node->attr_name); in cil_print_attr_list()
917 static char *search_attr_list(struct list *attr_list, int is_type, void *set) in search_attr_list() argument
924 if (is_type) { in search_attr_list()
[all …]
/external/pdfium/third_party/pymock/
Dmock.py2159 is_type = isinstance(spec, ClassTypes)
2177 elif is_type and instance and not _instance_callable(spec):
2193 _check_signature(spec, mock, is_type, instance)
2198 if is_type and not instance and 'return_value' not in kwargs:
2240 skipfirst = _must_skip(spec, entry, is_type)
2253 def _must_skip(spec, entry, is_type): argument
2261 return is_type
2269 return is_type
2273 return is_type
/external/python/mock/mock/
Dmock.py2289 is_type = isinstance(spec, ClassTypes)
2309 elif is_type and instance and not _instance_callable(spec):
2327 _check_signature(spec, mock, is_type, instance)
2332 if is_type and not instance and 'return_value' not in kwargs:
2367 skipfirst = _must_skip(spec, entry, is_type)
2385 def _must_skip(spec, entry, is_type): argument
2397 return is_type
2408 return is_type
2414 return is_type
/external/python/cpython2/Lib/test/
D_mock_backport.py2109 is_type = isinstance(spec, type)
2129 elif is_type and instance and not _instance_callable(spec):
2147 _check_signature(spec, mock, is_type, instance)
2152 if is_type and not instance and 'return_value' not in kwargs:
2187 skipfirst = _must_skip(spec, entry, is_type)
2205 def _must_skip(spec, entry, is_type): argument
2225 return is_type
2231 return is_type
/external/python/cpython3/Lib/unittest/
Dmock.py2173 is_type = isinstance(spec, type)
2193 elif is_type and instance and not _instance_callable(spec):
2211 _check_signature(spec, mock, is_type, instance)
2216 if is_type and not instance and 'return_value' not in kwargs:
2251 skipfirst = _must_skip(spec, entry, is_type)
2269 def _must_skip(spec, entry, is_type): argument
2289 return is_type
2295 return is_type