/third_party/json/include/nlohmann/detail/iterators/ |
H A D | iteration_proxy.hpp | 50 std::size_t array_index = 0; member in detail::iteration_proxy_value 64 , array_index(array_index_) in noexcept() 88 ++array_index; in operator ++() 95 auto tmp = iteration_proxy_value(anchor, array_index); in operator ++() 97 ++array_index; in operator ++() 123 if (array_index != array_index_last) in key() 125 int_to_string( array_index_str, array_index ); in key() 126 array_index_last = array_index; in key()
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | lower_vector_derefs.cpp | 80 deref->array_index->constant_expression_value(mem_ctx); in visit_enter() 101 factory.make_temp(deref->array_index->type, "index_tmp"); in visit_enter() 102 factory.emit(assign(arr_index, deref->array_index)); in visit_enter() 106 ir_constant::zero(factory.mem_ctx, deref->array_index->type); in visit_enter() 134 deref->array_index); in visit_enter() 192 deref->array_index); in handle_rvalue()
|
H A D | lower_distance.cpp | 220 * \param array_index Selects one of the vec4's in gl_ClipDistanceMESA 222 * array_index. 226 ir_rvalue *&array_index, in create_indices() 247 array_index = new(ctx) ir_constant(const_val / 4); in create_indices() 262 array_index = new(ctx) ir_expression( in create_indices() 358 ir_dereference_array(*new_var, array_ref->array_index); in lower_distance_vec8() 381 ir_rvalue *array_index; in handle_rvalue() local 383 this->create_indices(array_deref->array_index, array_index, swizzle_index); in handle_rvalue() 387 new(mem_ctx) ir_dereference_array(lowered_vec8, array_index); in handle_rvalue() 225 create_indices(ir_rvalue *old_index, ir_rvalue *&array_index, ir_rvalue *&swizzle_index) create_indices() argument [all...] |
H A D | gl_nir_link_uniform_blocks.c | 465 unsigned array_index, in fill_block() 479 block->Binding = var->data.binding + array_index; in fill_block() 509 block->linearized_array_index = array_index; in fill_block() 574 for (unsigned array_index = 0; array_index < buffer_count; array_index++) { in link_linked_shader_uniform_blocks() 576 array_index, prog, shader->Stage); in link_linked_shader_uniform_blocks() 461 fill_block(struct gl_uniform_block *block, nir_variable *var, struct gl_uniform_buffer_variable *variables, unsigned *variable_index, unsigned array_index, struct gl_shader_program *prog, const gl_shader_stage stage) fill_block() argument
|
H A D | opt_array_splitting.cpp | 239 if (!ir->array_index->as_constant()) { in visit_enter() 253 if (ir->array_index->as_dereference_array()) in visit_enter() 254 visit_enter(ir->array_index->as_dereference_array()); in visit_enter() 360 ir_constant *constant = deref_array->array_index->as_constant(); in split_deref()
|
H A D | ir_set_program_inouts.cpp | 354 if (try_mark_partial_variable(deref_var->var, ir->array_index)) in visit_enter() 360 inner_array->array_index->accept(this); in visit_enter() 377 ir->array_index->accept(this); in visit_enter() 383 if (try_mark_partial_variable(deref_var->var, ir->array_index)) in visit_enter()
|
H A D | opt_function_inlining.cpp | 115 if (deref->array_index->ir_type != ir_type_constant) { in visit_enter() 120 index = new(ctx) ir_variable(deref->array_index->type, "saved_idx", ir_var_temporary); in visit_enter() 124 deref->array_index); in visit_enter() 127 deref->array_index = new(ctx) ir_dereference_variable(index); in visit_enter()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_nir_lower_descriptors.c | 97 nir_ssa_def *array_index, nir_address_format addr_format, in build_res_index() 117 return nir_vec2(b, nir_imm_int(b, packed), array_index); in build_res_index() 134 array_index); in build_res_index() 154 array_index); in build_res_index() 207 nir_ssa_def *array_index = nir_channel(b, res_index, 1); in build_buffer_addr_for_res_index() local 212 array_index = nir_umin(b, array_index, array_max); in build_buffer_addr_for_res_index() 214 return nir_vec2(b, nir_iadd(b, surface_index, array_index), in build_buffer_addr_for_res_index() 223 nir_ssa_def *array_index = nir_channel(b, res_index, 3); in build_buffer_addr_for_res_index() local 229 array_index in build_buffer_addr_for_res_index() 96 build_res_index(nir_builder *b, uint32_t set, uint32_t binding, nir_ssa_def *array_index, nir_address_format addr_format, const struct apply_descriptors_ctx *ctx) build_res_index() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | shader_query.cpp | 46 unsigned array_index); 238 unsigned array_index = 0; in _mesa_GetAttribLocation() local 241 &array_index); in _mesa_GetAttribLocation() 246 return program_resource_location(res, array_index); in _mesa_GetAttribLocation() 447 unsigned array_index = 0; in _mesa_GetFragDataLocation() local 450 &array_index); in _mesa_GetFragDataLocation() 455 return program_resource_location(res, array_index); in _mesa_GetFragDataLocation() 614 * Checks if array subscript is valid and if so sets array_index. 617 valid_array_index(const GLchar *name, int len, unsigned *array_index) in valid_array_index() argument 626 if (array_index) in valid_array_index() 633 search_resource_hash(struct gl_shader_program *shProg, GLenum programInterface, const char *name, int len, unsigned *array_index) search_resource_hash() argument 673 _mesa_program_resource_find_name(struct gl_shader_program *shProg, GLenum programInterface, const char *name, unsigned *array_index) _mesa_program_resource_find_name() argument 1110 program_resource_location(struct gl_program_resource *res, unsigned array_index) program_resource_location() argument 1189 unsigned array_index = 0; _mesa_program_resource_location() local [all...] |
H A D | program_resource.c | 156 unsigned array_index = 0; in _mesa_GetProgramResourceIndex() local 200 &array_index); in _mesa_GetProgramResourceIndex() 201 if (!res || array_index > 0) in _mesa_GetProgramResourceIndex()
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | typedArray-find-index.js | 66 var array_index = 0; 69 assert (array_index++ === index); 85 array_index = 0;
|
H A D | typedArray-find.js | 66 var array_index = 0; 69 assert (array_index++ === index); 85 array_index = 0;
|
H A D | array-prototype-find-index.js | 65 var array_index = 0; variable 68 assert (array_index++ === index); 84 array_index = 0;
|
H A D | array-prototype-find.js | 65 var array_index = 0; variable 68 assert (array_index++ === index); 84 array_index = 0;
|
/third_party/node/deps/v8/src/interpreter/ |
H A D | constant-array-builder.cc | 190 int array_index = 0; in ToFixedArray() local 193 DCHECK(array_index == 0 || in ToFixedArray() 194 base::bits::IsPowerOfTwo(static_cast<uint32_t>(array_index))); in ToFixedArray() 204 fixed_array->set(array_index++, *value); in ToFixedArray() 208 if (static_cast<size_t>(fixed_array->length() - array_index) <= padding) { in ToFixedArray() 211 array_index += padding; in ToFixedArray() 213 DCHECK_GE(array_index, fixed_array->length()); in ToFixedArray()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/ |
H A D | index_sub_table.cc | 58 int32_t array_index) { in CreateIndexSubTable() 61 data, offset_to_index_sub_table_array, array_index)); in CreateIndexSubTable() 147 int32_t offset_to_index_sub_table_array, int32_t array_index) { in CreateBuilder() 150 array_index * EblcTable::Offset::kIndexSubTableEntryLength; in CreateBuilder() 56 CreateIndexSubTable(ReadableFontData* data, int32_t offset_to_index_sub_table_array, int32_t array_index) CreateIndexSubTable() argument 146 CreateBuilder(ReadableFontData* data, int32_t offset_to_index_sub_table_array, int32_t array_index) CreateBuilder() argument
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/ |
H A D | esextcGPUShader5ImagesArrayIndexing.cpp | 129 for (glw::GLuint array_index = 0; array_index < m_array_size; ++array_index) in initTest() 133 m_data_buffer[index + array_index * dataSize] = 1 + array_index; in initTest()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_descriptor_set.c | 31 * binding layout, and array_index, it returns the map region assigned to it 38 uint32_t array_index) in descriptor_bo_map() 50 array_index * bo_size; in descriptor_bo_map() 92 uint32_t array_index = map->array_index[index]; in v3dv_descriptor_map_get_descriptor() local 93 assert(array_index < binding_layout->array_size); in v3dv_descriptor_map_get_descriptor() 98 binding_layout->dynamic_offset_index + array_index; in v3dv_descriptor_map_get_descriptor() 103 return &set->descriptors[binding_layout->descriptor_index + array_index]; in v3dv_descriptor_map_get_descriptor() 140 uint32_t array_index = map->array_index[inde in v3dv_descriptor_map_get_descriptor_bo() local 35 descriptor_bo_map(struct v3dv_device *device, struct v3dv_descriptor_set *set, const struct v3dv_descriptor_set_binding_layout *binding_layout, uint32_t array_index) descriptor_bo_map() argument 179 uint32_t array_index = map->array_index[index]; v3dv_descriptor_map_get_sampler() local 1012 write_image_descriptor(struct v3dv_device *device, struct v3dv_descriptor *descriptor, VkDescriptorType desc_type, struct v3dv_descriptor_set *set, const struct v3dv_descriptor_set_binding_layout *binding_layout, struct v3dv_image_view *iview, struct v3dv_sampler *sampler, uint32_t array_index) write_image_descriptor() argument 1050 write_buffer_view_descriptor(struct v3dv_device *device, struct v3dv_descriptor *descriptor, VkDescriptorType desc_type, struct v3dv_descriptor_set *set, const struct v3dv_descriptor_set_binding_layout *binding_layout, struct v3dv_buffer_view *bview, uint32_t array_index) write_buffer_view_descriptor() argument [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_io_arrays_to_elements.c | 38 nir_ssa_def **array_index) in get_io_offset() 50 *array_index = nir_ssa_for_src(b, (*p)->arr.index, 1); in get_io_offset() 133 nir_ssa_def *array_index = NULL; in lower_array() local 138 &array_index); in lower_array() 168 assert(array_index); in lower_array() 169 element_deref = nir_build_deref_array(b, element_deref, array_index); in lower_array() 36 get_io_offset(nir_builder *b, nir_deref_instr *deref, nir_variable *var, unsigned *element_index, unsigned *xfb_offset, nir_ssa_def **array_index) get_io_offset() argument
|
H A D | nir_lower_io.c | 231 nir_ssa_def **array_index, in get_io_offset() 244 if (array_index != NULL) { in get_io_offset() 246 *array_index = nir_ssa_for_src(b, (*p)->arr.index, 1); in get_io_offset() 294 nir_ssa_def *array_index, nir_variable *var, nir_ssa_def *offset, in emit_load() 311 assert(array_index != NULL); in emit_load() 314 assert(array_index == NULL); in emit_load() 330 op = array_index ? nir_intrinsic_load_per_vertex_input : in emit_load() 335 op = !array_index ? nir_intrinsic_load_output : in emit_load() 374 if (array_index) { in emit_load() 375 load->src[0] = nir_src_for_ssa(array_index); in emit_load() 230 get_io_offset(nir_builder *b, nir_deref_instr *deref, nir_ssa_def **array_index, int (*type_size)(const struct glsl_type *, bool), unsigned *component, bool bts) get_io_offset() argument 293 emit_load(struct lower_io_state *state, nir_ssa_def *array_index, nir_variable *var, nir_ssa_def *offset, unsigned component, unsigned num_components, unsigned bit_size, nir_alu_type dest_type) emit_load() argument 392 lower_load(nir_intrinsic_instr *intrin, struct lower_io_state *state, nir_ssa_def *array_index, nir_variable *var, nir_ssa_def *offset, unsigned component, const struct glsl_type *type) lower_load() argument 442 emit_store(struct lower_io_state *state, nir_ssa_def *data, nir_ssa_def *array_index, nir_variable *var, nir_ssa_def *offset, unsigned component, unsigned num_components, nir_component_mask_t write_mask, nir_alu_type src_type) emit_store() argument 504 lower_store(nir_intrinsic_instr *intrin, struct lower_io_state *state, nir_ssa_def *array_index, nir_variable *var, nir_ssa_def *offset, unsigned component, const struct glsl_type *type) lower_store() argument 683 nir_ssa_def *array_index = NULL; nir_lower_io_block() local [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_nir_lower_ycbcr_textures.c | 250 unsigned array_index = 0; in try_lower_tex_ycbcr() local 255 array_index = nir_src_as_uint(deref->arr.index); in try_lower_tex_ycbcr() 256 array_index = MIN2(array_index, binding->array_size - 1); in try_lower_tex_ycbcr() 258 const struct radv_sampler_ycbcr_conversion_state *ycbcr_sampler = ycbcr_samplers + array_index; in try_lower_tex_ycbcr() 263 bool unnormalized_coordinates = immutable_samplers[4 * array_index + 0] & S_008F30_FORCE_UNNORMALIZED(1); in try_lower_tex_ycbcr()
|
/third_party/node/deps/v8/src/ast/ |
H A D | ast.cc | 581 int array_index = 0; in InitDepthAndFlags() 582 for (; array_index < constants_length; array_index++) { in InitDepthAndFlags() 583 Expression* element = values_->at(array_index); in InitDepthAndFlags() 669 int array_index = 0; in BuildBoilerplateDescription() local 670 for (; array_index < constants_length; array_index++) { in BuildBoilerplateDescription() 671 Expression* element = values_->at(array_index); in BuildBoilerplateDescription() 679 FixedDoubleArray::cast(*elements).set_the_hole(array_index); in BuildBoilerplateDescription() 682 FixedDoubleArray::cast(*elements).set(array_index, litera in BuildBoilerplateDescription() [all...] |
/third_party/json/include/nlohmann/detail/ |
H A D | json_pointer.hpp | 214 static typename BasicJsonType::size_type array_index(const string_t& s) in array_index() function 309 result = &result->operator[](array_index<BasicJsonType>(reference_token)); in get_and_create() 394 ptr = &ptr->operator[](array_index<BasicJsonType>(reference_token)); in get_unchecked() 446 ptr = &ptr->at(array_index<BasicJsonType>(reference_token)); in get_checked() 502 ptr = &ptr->operator[](array_index<BasicJsonType>(reference_token)); in get_unchecked() 553 ptr = &ptr->at(array_index<BasicJsonType>(reference_token)); in get_checked() 625 const auto idx = array_index<BasicJsonType>(reference_token); in contains()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_nir_lower_ycbcr_textures.c | 235 unsigned array_index = 0; in anv_nir_lower_ycbcr_textures_instr() local 240 array_index = nir_src_as_uint(deref->arr.index); in anv_nir_lower_ycbcr_textures_instr() 241 array_index = MIN2(array_index, binding->array_size - 1); in anv_nir_lower_ycbcr_textures_instr() 243 const struct anv_sampler *sampler = binding->immutable_samplers[array_index]; in anv_nir_lower_ycbcr_textures_instr()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
H A D | ecma-objects.c | 189 uint32_t array_index = ecma_string_get_array_index (property_name_p); in ecma_op_object_get_own_property() local 191 if (array_index != ECMA_STRING_NOT_ARRAY_INDEX) in ecma_op_object_get_own_property() 196 if (array_index < info.length) in ecma_op_object_get_own_property() 198 ecma_length_t byte_pos = array_index << info.shift; in ecma_op_object_get_own_property() 558 uint32_t array_index = ecma_string_get_array_index (property_name_p); in ecma_op_object_find_own() local 560 if (array_index != ECMA_STRING_NOT_ARRAY_INDEX) in ecma_op_object_find_own() 564 if (array_index >= info.length) in ecma_op_object_find_own() 569 ecma_length_t byte_pos = array_index << info.shift; in ecma_op_object_find_own() 1366 uint32_t array_index = ecma_string_get_array_index (property_name_p); in ecma_op_object_put_with_receiver() local 1368 if (array_index ! in ecma_op_object_put_with_receiver() 1830 uint32_t array_index = ecma_string_get_array_index (property_name_p); ecma_op_object_define_own_property() local [all...] |