/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
D | is_array.pass.cpp | 21 static_assert( std::is_array<T>::value, ""); in test_is_array() 22 static_assert( std::is_array<const T>::value, ""); in test_is_array() 23 static_assert( std::is_array<volatile T>::value, ""); in test_is_array() 24 static_assert( std::is_array<const volatile T>::value, ""); in test_is_array() 36 static_assert(!std::is_array<T>::value, ""); in test_is_not_array() 37 static_assert(!std::is_array<const T>::value, ""); in test_is_not_array() 38 static_assert(!std::is_array<volatile T>::value, ""); in test_is_not_array() 39 static_assert(!std::is_array<const volatile T>::value, ""); in test_is_not_array()
|
D | array.pass.cpp | 26 static_assert( std::is_array<T>::value, ""); in test_array_imp() 60 static_assert(!std::is_array<Incomplete>::value, ""); in main()
|
/external/mesa3d/src/compiler/glsl/ |
D | ir_set_program_inouts.cpp | 154 var->data.mode == ir_var_shader_in && type->is_array()) { in mark_whole_variable() 160 assert(type->is_array()); in mark_whole_variable() 166 assert(type->is_array()); in mark_whole_variable() 172 assert(type->is_array()); in mark_whole_variable() 223 assert(type->is_array()); in try_mark_partial_variable() 229 assert(type->is_array()); in try_mark_partial_variable() 235 assert(type->is_array()); in try_mark_partial_variable() 241 assert(type->is_array()); in try_mark_partial_variable() 248 if (type->is_array() && type->fields.array->is_array()) in try_mark_partial_variable() 268 (type->is_array() && in try_mark_partial_variable() [all …]
|
D | link_uniform_initializers.cpp | 101 if (type->is_array() && type->fields.array->is_array()) { in set_opaque_binding() 197 (type->is_array() && type->fields.array->is_array())) { in set_uniform_initializer() 215 if (val->type->is_array()) { in set_uniform_initializer() 300 if (var->is_interface_instance() && var->type->is_array()) { in link_set_uniform_initializers()
|
D | link_uniforms.cpp | 53 } else if (type->is_array() && type->fields.array->is_sampler()) { in values_for_type() 95 (t->is_array() && t->fields.array->is_array())) { in process() 192 (t->is_array() && t->fields.array->is_array())) { in recursion() 347 assert(!(type->is_array() && type->fields.array->is_array())); in visit_field() 463 if (var->is_interface_instance() && var->type->is_array()) { in set_and_process() 684 assert(!(type->is_array() && type->fields.array->is_array())); in visit_field() 694 if (type->is_array()) { in visit_field() 776 if (type->is_array()) { in visit_field() 921 const char sentinel = var->type->is_array() ? '[' : '\0'; in link_update_uniform_buffer_variables() 939 (!var->type->is_array() || in link_update_uniform_buffer_variables() [all …]
|
D | link_uniform_block_active_visitor.cpp | 135 assert(ir->array->type->is_array()); in process_arrays() 185 assert(!b->type->is_array() || b->has_instance_name); in visit() 192 while (type->is_array()) { in visit() 273 assert(!var->is_interface_instance() || !var->type->is_array()); in visit()
|
D | ast_array_index.cpp | 149 && !array->type->is_array() in _mesa_ast_array_index_to_hir() 213 if (array->type->is_array()) in _mesa_ast_array_index_to_hir() 215 } else if (const_index == NULL && array->type->is_array()) { in _mesa_ast_array_index_to_hir() 346 if (array->type->is_array() in _mesa_ast_array_index_to_hir()
|
D | ir_array_refcount.cpp | 67 type->is_array(); in ir_array_refcount_entry() 168 if (!ir->array->type->is_array()) in visit_enter() 191 assert(deref->array->type->is_array()); in visit_enter()
|
D | lower_distance.cpp | 144 assert (ir->type->is_array()); in visit() 173 if (!ir->type->fields.array->is_array()) { in visit() 297 if (!ir->type->is_array()) in is_distance_vec8() 331 if (!ir->type->is_array()) in lower_distance_vec8() 632 if (!ir->type->fields.array->is_array()) in visit() 641 if (!ir->type->fields.array->is_array()) in visit()
|
D | link_atomics.cpp | 112 if (t->is_array() && t->fields.array->is_array()) { in process_atomic_variable() 134 if (t->is_array()) in process_atomic_variable() 246 storage->array_stride = (var->type->is_array() ? in link_assign_atomic_counter_resources()
|
D | opt_array_splitting.cpp | 57 if (var->type->is_array()) in variable_entry() 134 if (!(var->type->is_array() || var->type->is_matrix())) in get_variable_entry() 169 ir->lhs->type->is_array() && ir->whole_variable_written(); in visit_enter() 384 if (lhs->type->is_array() && ir->whole_variable_written() && in visit_leave()
|
D | link_functions.cpp | 207 if (formal_param->type->is_array()) { in visit_leave() 209 if (deref && deref->var && deref->var->type->is_array()) { in visit_leave() 237 if (var->type->is_array()) { in visit()
|
D | lower_tess_level.cpp | 109 assert (ir->type->is_array()); in visit() 166 if (!ir->type->is_array()) in is_tess_level_array() 195 if (!ir->type->is_array()) in lower_tess_level_array()
|
D | link_varyings.cpp | 59 assert(type->is_array()); in get_varying_type() 93 (t->is_array() && t->fields.array->is_array())) { in create_xfb_varying_names() 189 while (output_type->is_array() && to_match->is_array()) { in anonymous_struct_type_matches() 197 if (output_type->is_array() || to_match->is_array()) in anonymous_struct_type_matches() 224 assert(type_to_match->is_array()); in cross_validate_types_and_qualifiers() 247 if (!output->type->is_array() || !is_gl_identifier(output->name)) { in cross_validate_types_and_qualifiers() 737 if (this->matched_candidate->type->is_array()) { in assign_location() 1360 return xfb_enabled && (type->is_array() || type->is_record() || in is_varying_packing_safe()
|
D | lower_ubo_reference.cpp | 179 v->var->type->is_array()) { in interface_field_name() 210 if (a->array->type->is_array() && in interface_field_name() 211 a->array->type->fields.array->is_array()) { in interface_field_name() 250 assert(type->is_array()); in clamp_to_array_bounds() 604 !rvalue->type->is_array() || !rvalue->type->is_unsized_array()) in calculate_ssbo_unsized_array_length() 825 if (!ir->lhs->type->is_array() || !ir->rhs->type->is_array()) in check_for_buffer_array_copy()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/scripts/ |
D | gen_llvm_types.py | 77 def gen_llvm_type(type, name, postfix_name, is_pointer, is_pointer_pointer, is_array, is_array_arra… argument 124 elif is_array: 249 is_array = re.search("\[(\w*)\]", line) 251 if is_array is not None: 252 array_count = is_array.group(1) 253 is_array = True 255 is_array = False 307 …gen_llvm_type(type, name, postfix_name, is_pointer, is_pointer_pointer, is_array, is_array_array, …
|
/external/mesa3d/src/compiler/ |
D | glsl_types.h | 564 bool is_array() const in is_array() function 571 return is_array() && fields.array->is_array(); in is_array_of_arrays() 632 while (t->is_array()) in without_array() 644 if (!is_array()) in arrays_of_arrays_size() 650 while (base_type->is_array()) { in arrays_of_arrays_size() 664 else if (is_array()) in atomic_size() 735 return is_array() ? length : -1; in array_size() 743 return is_array() && length == 0; in is_unsized_array()
|
D | nir_types.cpp | 184 return type->is_array(); in glsl_type_is_array() 331 glsl_sampler_type(enum glsl_sampler_dim dim, bool is_shadow, bool is_array, in glsl_sampler_type() argument 334 return glsl_type::get_sampler_instance(dim, is_shadow, is_array, base_type); in glsl_sampler_type() 344 glsl_image_type(enum glsl_sampler_dim dim, bool is_array, in glsl_image_type() argument 347 return glsl_type::get_image_instance(dim, is_array, base_type); in glsl_image_type()
|
D | glsl_types.cpp | 215 if (this->is_array()) { in contains_sampler() 232 if (this->is_array()) { in contains_integer() 248 if (this->is_array()) { in contains_double() 285 if (this->is_array()) { in contains_subroutine() 301 const glsl_type *const t = (this->is_array()) ? this->fields.array : this; in sampler_index() 331 if (this->is_array()) { in contains_image() 1286 offset += st->is_array() ? in record_location_offset() 1288 } else if (st->is_array() && st->fields.array->is_array()) { in record_location_offset() 1297 while (base_type->fields.array->is_array()) { in record_location_offset() 1364 this->fields.array->is_array()) in varying_count() [all …]
|
D | nir_types.h | 141 bool is_shadow, bool is_array, 145 bool is_array,
|
/external/webrtc/webrtc/base/ |
D | template_util.h | 40 template<class> struct is_array : public false_type {}; 41 template<class T, size_t n> struct is_array<T[n]> : public true_type {}; 42 template<class T> struct is_array<T[]> : public true_type {};
|
/external/v8/src/js/ |
D | array.js | 88 function UseSparseVariant(array, length, is_array, touched) { argument 92 if (!is_array || length < 1000 || %HasComplexElements(array)) { 135 function DoJoin(array, length, is_array, separator, use_locale) { argument 136 if (UseSparseVariant(array, length, is_array, length)) { 169 var is_array = IS_ARRAY(array); 171 if (is_array) { 180 return DoJoin(array, length, is_array, separator, use_locale); 184 if (is_array) StackPop(visited_arrays); 960 var is_array = IS_ARRAY(array); 962 if (!is_array) { [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 70 if (tex->is_array && tex->src[i].src_type == nir_tex_src_coord) { in project_src() 129 if (tex->is_array) { in lower_offset() 162 txs->is_array = tex->is_array; in get_texture_size() 320 txl->is_array = tex->is_array; in replace_gradient_with_lod() 579 if (tex->is_array) in saturate_src()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 310 bool is_array = (array_size > 1); in ttn_emit_declaration() local 324 is_array = (is_array && decl->Declaration.Array && in ttn_emit_declaration() 335 if (is_array) in ttn_emit_declaration() 389 if (is_array) in ttn_emit_declaration() 429 if (is_array) { in ttn_emit_declaration() 457 if (is_array) in ttn_emit_declaration() 1183 instr->is_array = true; in setup_texture_info() 1192 instr->is_array = true; in setup_texture_info() 1199 instr->is_array = true; in setup_texture_info() 1206 instr->is_array = true; in setup_texture_info() [all …]
|
/external/v8/src/ |
D | json-stringifier.cc | 116 Maybe<bool> is_array = Object::IsArray(replacer); in InitializeReplacer() local 117 if (is_array.IsNothing()) return false; in InitializeReplacer() 118 if (is_array.FromJust()) { in InitializeReplacer() 596 Maybe<bool> is_array = Object::IsArray(object); in SerializeJSProxy() local 597 if (is_array.IsNothing()) return EXCEPTION; in SerializeJSProxy() 598 if (is_array.FromJust()) { in SerializeJSProxy()
|