Home
last modified time | relevance | path

Searched refs:is_array (Results 1 – 25 of 158) sorted by relevance

1234567

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dis_array.pass.cpp21 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()
Darray.pass.cpp26 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/
Dir_set_program_inouts.cpp154 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 …]
Dopt_array_splitting.cpp57 if (var->type->is_array()) in variable_entry()
134 if (!(var->type->is_array() || var->type->is_matrix())) in get_variable_entry()
163 if (var->type->is_array() && var->type->fields.array->is_array()) in get_variable_entry()
192 ir->lhs->type->is_array() && ir->whole_variable_written(); in visit_enter()
407 if (lhs->type->is_array() && ir->whole_variable_written() && in visit_leave()
Dlink_uniform_initializers.cpp107 if (type->is_array() && type->fields.array->is_array()) { in set_opaque_binding()
222 (type->is_array() && type->fields.array->is_array())) { in set_uniform_initializer()
240 if (val->type->is_array()) { in set_uniform_initializer()
325 if (var->is_interface_instance() && var->type->is_array()) { in link_set_uniform_initializers()
Dlink_uniforms.cpp84 (t->is_array() && t->fields.array->is_array())) { in process()
178 (t->is_array() && t->fields.array->is_array())) { in recursion()
331 assert(!(type->is_array() && type->fields.array->is_array())); in visit_field()
517 if (var->is_interface_instance() && var->type->is_array()) { in set_and_process()
793 assert(!(type->is_array() && type->fields.array->is_array())); in visit_field()
803 if (type->is_array()) { in visit_field()
888 if (type->is_array()) { in visit_field()
1066 const char sentinel = var->type->is_array() ? '[' : '\0'; in link_update_uniform_buffer_variables()
1084 (!var->type->is_array() || in link_update_uniform_buffer_variables()
1100 } else if (var->type->is_array() && (var->type->fields.array->is_array() in link_update_uniform_buffer_variables()
Dlink_uniform_block_active_visitor.cpp135 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()
Dast_array_index.cpp149 && !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()
352 if (array->type->is_array() in _mesa_ast_array_index_to_hir()
Dir_array_refcount.cpp67 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()
Dlower_distance.cpp144 assert (ir->type->is_array()); in visit()
172 if (!ir->type->fields.array->is_array()) { in visit()
298 if (!ir->type->is_array()) in is_distance_vec8()
332 if (!ir->type->is_array()) in lower_distance_vec8()
633 if (!ir->type->fields.array->is_array()) in visit()
642 if (!ir->type->fields.array->is_array()) in visit()
Dlink_atomics.cpp112 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()
Dlink_interface_blocks.cpp140 if (b->type != a->type && (b->type->is_array() || a->type->is_array()) && in intrastage_match()
191 consumer_instance_type->is_array()) || in interstage_match()
193 producer->type->is_array())) { in interstage_match()
Dlink_functions.cpp207 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()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_llvm_types.py29 def gen_llvm_type(type, name, idx, is_pointer, is_pointer_pointer, is_array, is_array_array, array_… argument
96 elif is_array:
239 is_array = re.search('\[(\w*)\]', line)
241 if is_array is not None:
242 array_count = is_array.group(1)
243 is_array = True
245 is_array = False
299 … type, name, idx+1, is_pointer, is_pointer_pointer, is_array, is_array_array,
/external/mesa3d/src/compiler/
Dglsl_types.h594 bool is_array() const in is_array() function
601 return is_array() && fields.array->is_array(); in is_array_of_arrays()
662 while (t->is_array()) in without_array()
674 if (!is_array()) in arrays_of_arrays_size()
680 while (base_type->is_array()) { in arrays_of_arrays_size()
702 else if (is_array()) in atomic_size()
773 return is_array() ? length : -1; in array_size()
781 return is_array() && length == 0; in is_unsized_array()
Dnir_types.cpp199 return type->is_array(); in glsl_type_is_array()
393 glsl_sampler_type(enum glsl_sampler_dim dim, bool is_shadow, bool is_array, in glsl_sampler_type() argument
396 return glsl_type::get_sampler_instance(dim, is_shadow, is_array, base_type); in glsl_sampler_type()
406 glsl_image_type(enum glsl_sampler_dim dim, bool is_array, in glsl_image_type() argument
409 return glsl_type::get_image_instance(dim, is_array, base_type); in glsl_image_type()
Dglsl_types.cpp198 if (this->is_array()) { in contains_sampler()
221 return this->is_array(); in contains_array()
228 if (this->is_array()) { in contains_integer()
244 if (this->is_array()) { in contains_double()
281 if (this->is_array()) { in contains_subroutine()
297 const glsl_type *const t = (this->is_array()) ? this->fields.array : this; in sampler_index()
327 if (this->is_array()) { in contains_image()
411 if (type->is_array()) in hash_free_type_function()
1411 offset += st->is_array() ? in record_location_offset()
1413 } else if (st->is_array() && st->fields.array->is_array()) { in record_location_offset()
[all …]
Dnir_types.h165 bool is_shadow, bool is_array,
169 bool is_array,
/external/webrtc/webrtc/base/
Dtemplate_util.h40 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/strace/
Dnlattr.c134 bool is_array = false; in decode_nlattr() local
144 for (elt = 0; fetch_nlattr(tcp, &nla, addr, len, is_array); elt++) { in decode_nlattr()
161 if (!is_array && next_addr) { in decode_nlattr()
163 is_array = true; in decode_nlattr()
177 if (is_array) { in decode_nlattr()
Dnetlink.c647 bool is_array = false; in decode_netlink() local
650 for (elt = 0; fetch_nlmsghdr(tcp, &nlmsghdr, addr, len, is_array); in decode_netlink()
668 if (!is_array && next_addr) { in decode_netlink()
670 is_array = true; in decode_netlink()
684 if (is_array) { in decode_netlink()
/external/v8/src/js/
Darray.js86 function UseSparseVariant(array, length, is_array, touched) { argument
90 if (!is_array || length < 1000 || %HasComplexElements(array)) {
134 array, length, is_array, separator, use_locale, locales, options) { argument
135 if (UseSparseVariant(array, length, is_array, length)) {
168 var is_array = IS_ARRAY(array);
170 if (is_array) {
180 array, length, is_array, separator, use_locale, locales, options);
184 if (is_array) StackPop(visited_arrays);
/external/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h49 tex->is_array = true; in blorp_nir_txf_ms_mcs()
55 tex->is_array = false; in blorp_nir_txf_ms_mcs()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c310 bool is_array = (array_size > 1); in ttn_emit_declaration() local
325 is_array = (is_array && decl->Declaration.Array && in ttn_emit_declaration()
336 if (is_array) in ttn_emit_declaration()
390 if (is_array) in ttn_emit_declaration()
430 if (is_array) { in ttn_emit_declaration()
458 if (is_array) in ttn_emit_declaration()
1131 instr->is_array = true; in setup_texture_info()
1140 instr->is_array = true; in setup_texture_info()
1147 instr->is_array = true; in setup_texture_info()
1154 instr->is_array = true; in setup_texture_info()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_nir_lower_tg4_to_tex.c61 tex->is_array = tg4->is_array; in lower_tg4()

1234567