Home
last modified time | relevance | path

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

123

/external/mesa3d/src/glsl/
Dlink_uniforms.cpp53 } else if (type->is_array() && type->fields.array->is_sampler()) { in values_for_type()
66 if (t->is_record() || (t->is_array() && t->fields.array->is_record())) { in process()
95 } else if (t->is_array() && t->fields.array->is_record()) { in recursion()
158 assert(!(type->is_array() && type->fields.array->is_record())); in visit_field()
168 type->is_array() ? type->array_size() : 1; in visit_field()
262 assert(!(type->is_array() && type->fields.array->is_record())); in visit_field()
282 const unsigned shadow = (type->is_array()) in visit_field()
297 if (type->is_array()) { in visit_field()
341 if (type->is_array()) { in visit_field()
349 (type->is_array() && type->fields.array->is_matrix())) { in visit_field()
Dast.h320 ast_declaration(const char *identifier, int is_array, ast_expression *array_size,
326 int is_array; variable
475 is_array(false), array_size(NULL), precision(ast_precision_none), in ast_type_specifier()
484 is_array(false), array_size(NULL), precision(ast_precision_none), in ast_type_specifier()
501 int is_array; variable
553 this->is_array = false; in ast_parameter_declarator()
564 int is_array; variable
Dglsl_types.h212 return is_array() ? fields.array : NULL; in element_type()
383 bool is_array() const in is_array() function
467 return is_array() ? length : -1; in array_size()
Dglsl_parser_extras.cpp489 ast_opt_array_size_print(bool is_array, const ast_expression *array_size) in ast_opt_array_size_print() argument
491 if (is_array) { in ast_opt_array_size_print()
706 ast_opt_array_size_print(is_array, array_size); in print()
722 ast_opt_array_size_print(is_array, array_size); in print()
731 ast_declaration::ast_declaration(const char *identifier, int is_array, in ast_declaration() argument
736 this->is_array = is_array; in ast_declaration()
Dglsl_types.cpp117 if (this->is_array()) { in contains_sampler()
133 const glsl_type *const t = (this->is_array()) ? this->fields.array : this; in sampler_index()
676 if (this->is_array()) { in std140_base_alignment()
779 if (this->is_matrix() || (this->is_array() && in std140_size()
785 if (this->is_array()) { in std140_size()
818 if (this->is_array()) { in std140_size()
Dast_to_hir.cpp646 if (is_initializer && lhs_type->is_array() && rhs->type->is_array() in validate_assignment()
697 } else if (state->language_version <= 110 && lhs->type->is_array()) { in do_assignment()
1159 && (op[0]->type->is_array() || op[1]->type->is_array())) { in hir()
1427 if ((state->language_version <= 110) && type->is_array()) { in hir()
1543 if (!array->type->is_array() in hir()
1614 if (array->type->is_array()) { in hir()
1635 if (array->type->is_array()) { in hir()
1659 if (array->type->is_array() && in hir()
1846 if (base->is_array()) { in process_array_type()
1907 if (this->is_array) { in glsl_type()
[all …]
Dopt_array_splitting.cpp56 if (var->type->is_array()) in variable_entry()
125 if (!(var->type->is_array() || var->type->is_matrix())) in get_variable_entry()
131 if (var->type->is_array() && var->type->length == 0) in get_variable_entry()
Dlink_uniform_initializers.cpp99 } else if (type->is_array() && type->fields.array->is_record()) { in set_uniform_initializer()
120 if (val->type->is_array()) { in set_uniform_initializer()
Dir_set_program_inouts.cpp112 if (ir->type->is_array()) { in visit()
139 if (deref_var->type->is_array() && in visit_enter()
Dir.cpp602 || type->is_record() || type->is_array()); in ir_constant()
604 if (type->is_array()) { in ir_constant()
736 || type->is_record() || type->is_array()); in zero()
742 if (type->is_array()) { in zero()
830 assert(this->type->is_array()); in get_array_element()
934 assert (!type->is_array() && !type->is_record()); in copy_masked_offset()
971 if (this->type->is_array()) { in has_value()
1229 if (vt->is_array()) { in set_array()
1665 } else if (constant->type->is_array()) { in steal_memory()
Dlower_vec_index_to_cond_assign.cpp80 orig_deref->array->type->is_array()) in convert_vec_index_to_cond_assign()
178 orig_deref->array->type->is_array()) in visit_leave()
/external/v8/src/
Darray.js89 function UseSparseVariant(array, length, is_array, touched) { argument
93 if (!is_array || length < 1000 || %IsObserved(array)) {
109 var is_array = IS_ARRAY(array);
111 if (is_array) {
119 if (UseSparseVariant(array, length, is_array, length)) {
178 if (is_array) visited_arrays.length = visited_arrays.length - 1;
1078 var is_array = IS_ARRAY(this);
1080 if (!is_array) {
1104 if (!is_array && (num_non_undefined + 1 < max_prototype_element)) {
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Drvalue_ref.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_rvalue_ref()
Dlvalue_ref.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_lvalue_ref()
Dmember_object_pointer.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_member_object_pointer_imp()
Dclass.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_class_imp()
Dvoid.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_void_imp()
Dfloating_point.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_floating_point_imp()
Dpointer.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_pointer_imp()
Denum.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_enum_imp()
Dunion.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_union_imp()
Dnullptr.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_nullptr_imp()
Darray.pass.cpp25 static_assert( std::is_array<T>::value, ""); in test_array_imp()
Dintegral.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_integral_imp()
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.cat.pass.cpp72 static_assert(ex::is_array_v<T> == std::is_array<T>::value, ""); in main()
77 static_assert(ex::is_array_v<T> == std::is_array<T>::value, ""); in main()

123