Searched refs:array_index (Results 1 - 25 of 49) sorted by relevance

12

/external/mesa3d/src/glsl/
H A Dlower_clip_distance.cpp120 * \param array_index Selects one of the vec4's in gl_ClipDistanceMESA
122 * array_index.
126 ir_rvalue *&array_index,
146 array_index = new(ctx) ir_constant(const_val / 4);
161 array_index = new(ctx) ir_expression(
192 ir_rvalue *array_index; local
194 this->create_indices(ir->array_index, array_index, swizzle_index);
197 this->new_clip_distance_var, array_index);
198 ir->array_index
125 create_indices(ir_rvalue *old_index, ir_rvalue *&array_index, ir_rvalue *&swizzle_index) argument
[all...]
H A Dlower_vec_index_to_swizzle.cpp73 assert(deref->array_index->type->base_type == GLSL_TYPE_INT);
74 ir_constant = deref->array_index->constant_expression_value();
H A Dlower_vec_index_to_cond_assign.cpp85 assert(orig_deref->array_index->type->base_type == GLSL_TYPE_INT);
95 assign = new(base_ir) ir_assignment(deref, orig_deref->array_index, NULL);
183 assert(orig_deref->array_index->type->base_type == GLSL_TYPE_INT);
192 assign = new(ir) ir_assignment(deref, orig_deref->array_index, NULL);
H A Dlower_variable_index_to_cond_assign.cpp170 && (ir->array_index->as_constant() == NULL)) {
382 if (deref == NULL || deref->array_index->as_constant()
428 new(mem_ctx) ir_variable(orig_deref->array_index->type,
434 new(mem_ctx) ir_assignment(lhs, orig_deref->array_index, NULL);
437 orig_deref->array_index = lhs->clone(mem_ctx, NULL);
H A Dlower_ubo_reference.cpp119 ir_constant *const_index = deref_array->array_index->as_constant();
124 mul(deref_array->array_index,
H A Dopt_array_splitting.cpp185 if (entry && !ir->array_index->as_constant())
295 ir_constant *constant = deref_array->array_index->as_constant();
H A Dir_rvalue_visitor.cpp93 handle_rvalue(&ir->array_index);
H A Dir_set_program_inouts.cpp128 ir_constant *index = ir->array_index->as_constant();
H A Dir.cpp1201 ir_rvalue *array_index)
1204 this->array_index = array_index;
1210 ir_rvalue *array_index)
1215 this->array_index = array_index;
1200 ir_dereference_array(ir_rvalue *value, ir_rvalue *array_index) argument
1209 ir_dereference_array(ir_variable *var, ir_rvalue *array_index) argument
H A Dopt_dead_code_local.cpp130 ir->array_index->accept(visitor);
H A Dir_hv_accept.cpp275 s = this->array_index->accept(v);
H A Dir.h1590 ir_dereference_array(ir_rvalue *value, ir_rvalue *array_index);
1592 ir_dereference_array(ir_variable *var, ir_rvalue *array_index);
1629 ir_rvalue *array_index; member in class:ir_dereference_array
/external/v8/src/interpreter/
H A Dconstant-array-builder.cc100 int array_index = 0; local
102 if (array_index == fixed_array->length()) {
105 DCHECK(array_index == 0 ||
106 base::bits::IsPowerOfTwo32(static_cast<uint32_t>(array_index)));
109 fixed_array->set(array_index++, *slice->At(slice->start_index() + i));
113 std::min(static_cast<size_t>(fixed_array->length() - array_index),
116 fixed_array->set(array_index++, *isolate_->factory()->the_hole_value());
119 DCHECK_EQ(array_index, fixed_array->length());
/external/mesa3d/src/mesa/program/
H A Dsampler.cpp71 ir_constant *index = ir->array_index->as_constant();
/external/openfst/src/extensions/ngram/
H A Dbitmap-index.cc115 size_t BitmapIndex::get_index_ones_count(size_t array_index) const {
117 if (array_index > 0) {
118 sum += secondary_index_[array_index-1];
119 uint32 end_block = (array_index - 1) / kSecondaryBlockSize;
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dindex_sub_table.cc58 int32_t array_index) {
61 data, offset_to_index_sub_table_array, array_index));
147 int32_t offset_to_index_sub_table_array, int32_t array_index) {
150 array_index * EblcTable::Offset::kIndexSubTableEntryLength;
56 CreateIndexSubTable(ReadableFontData* data, int32_t offset_to_index_sub_table_array, int32_t array_index) argument
146 CreateBuilder(ReadableFontData* data, int32_t offset_to_index_sub_table_array, int32_t array_index) argument
H A Dindex_sub_table.h88 int32_t array_index);
146 int32_t array_index);
/external/mesa3d/src/mesa/main/
H A Duniform_query.cpp159 unsigned *array_index,
229 _mesa_uniform_split_location_offset(location, loc, array_index);
244 /* If the uniform is an array, check that array_index is in bounds.
245 * If not an array, check that array_index is zero.
246 * array_index is unsigned so no need to check for less than zero.
251 if (*array_index >= limit) {
466 * \param array_index If \c uni is an array, this is the element of
472 unsigned array_index,
493 (uint8_t *) (&uni->storage[array_index * (components * vectors)].i);
498 __func__, dst, array_index, component
155 validate_uniform_parameters(struct gl_context *ctx, struct gl_shader_program *shProg, GLint location, GLsizei count, unsigned *loc, unsigned *array_index, const char *caller, bool negative_one_is_not_valid) argument
471 _mesa_propagate_uniforms_to_driver_storage(struct gl_uniform_storage *uni, unsigned array_index, unsigned count) argument
[all...]
H A Duniforms.h218 unsigned array_index,
/external/openfst/src/include/fst/extensions/ngram/
H A Dbitmap-index.h129 // returns, from the index, the count of ones up to array_index
130 size_t get_index_ones_count(size_t array_index) const;
/external/vulkan-validation-layers/
H A Dvk-layer-generate.py1092 def _gen_obj_validate_code(self, struct_uses, obj_type_mapping, func_name, valid_null_dict, param0_name, indent, prefix, array_index):
1112 idx = 'idx%s' % str(array_index)
1113 array_index += 1
1122 tmp_pre = self._gen_obj_validate_code(struct_uses[obj], obj_type_mapping, func_name, valid_null_dict, param0_name, indent, local_prefix, array_index)
1140 if (array_index > 0) or '' != array:
1145 idx = 'idx%s' % str(array_index)
1146 array_index += 1
1425 def _gen_obj_code(self, struct_uses, param_type, indent, prefix, array_index, vector_name_set, first_level_param):
1448 idx = 'idx%s' % str(array_index)
1449 array_index
[all...]
/external/v8/src/ast/
H A Dast.cc519 int array_index = 0; local
520 for (; array_index < constants_length; array_index++) {
521 Expression* element = values()->at(array_index);
544 JSObject::AddDataElement(array, array_index, boilerplate_value, NONE)
553 if (is_simple && depth_acc == 1 && array_index > 0 &&
579 int array_index = 0; local
580 for (; array_index < values()->length(); array_index++) {
581 Expression* subexpr = values()->at(array_index);
[all...]
/external/libweave/src/
H A Dcomponent_manager_impl.cc668 int array_index = -1; local
684 if (!base::StringToInt(index_str, &array_index) || array_index < 0) {
711 if (value->GetType() == base::Value::TYPE_LIST && array_index < 0) {
717 if (value->GetType() == base::Value::TYPE_DICTIONARY && array_index >= 0) {
730 if (!component_array->Get(array_index, &component_value) ||
735 element.first.c_str(), array_index);
/external/clang/test/CodeGenCXX/
H A Dcatch-undef-behavior.cpp252 int array_index(const int (&a)[4], int n) { function
/external/mesa3d/src/gallium/drivers/radeon/
H A Dradeon_setup_tgsi_llvm.c97 LLVMValueRef array_index = LLVMBuildAdd(gallivm->builder, soa_index, local
100 return array_index;
173 LLVMValueRef array_index = emit_array_index(bld, reg, swizzle); local
174 LLVMValueRef ptr = LLVMBuildGEP(builder, bld->temps_array, &array_index,
194 LLVMValueRef array_index = emit_array_index(bld, reg, swizzle); local
195 LLVMValueRef ptr = LLVMBuildGEP(builder, bld->outputs_array, &array_index,

Completed in 769 milliseconds

12