Home
last modified time | relevance | path

Searched refs:element_index (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dbit_vector.h41 uint32_t element_index = i / kBitContainerSize; in Set() local
44 if (element_index >= bits_.size()) { in Set()
45 bits_.resize(element_index + 1, 0); in Set()
48 BitContainer original = bits_[element_index]; in Set()
54 bits_[element_index] = original | ith_bit; in Set()
61 uint32_t element_index = i / kBitContainerSize; in Clear() local
64 if (element_index >= bits_.size()) { in Clear()
68 BitContainer original = bits_[element_index]; in Clear()
74 bits_[element_index] = original & (~ith_bit); in Clear()
81 uint32_t element_index = i / kBitContainerSize; in Get() local
[all …]
/third_party/spirv-tools/source/util/
Dbit_vector.h41 uint32_t element_index = i / kBitContainerSize; in Set() local
44 if (element_index >= bits_.size()) { in Set()
45 bits_.resize(element_index + 1, 0); in Set()
48 BitContainer original = bits_[element_index]; in Set()
54 bits_[element_index] = original | ith_bit; in Set()
61 uint32_t element_index = i / kBitContainerSize; in Clear() local
64 if (element_index >= bits_.size()) { in Clear()
68 BitContainer original = bits_[element_index]; in Clear()
74 bits_[element_index] = original & (~ith_bit); in Clear()
81 uint32_t element_index = i / kBitContainerSize; in Get() local
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dbit_vector.h41 uint32_t element_index = i / kBitContainerSize; in Set() local
44 if (element_index >= bits_.size()) { in Set()
45 bits_.resize(element_index + 1, 0); in Set()
48 BitContainer original = bits_[element_index]; in Set()
54 bits_[element_index] = original | ith_bit; in Set()
61 uint32_t element_index = i / kBitContainerSize; in Clear() local
64 if (element_index >= bits_.size()) { in Clear()
68 BitContainer original = bits_[element_index]; in Clear()
74 bits_[element_index] = original & (~ith_bit); in Clear()
81 uint32_t element_index = i / kBitContainerSize; in Get() local
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp363 void getColorFloatComponents(glw::GLint cube_face, glw::GLint element_index, glw::GLint mipmap_leve… in getColorFloatComponents() argument
370 out_data[2] = ((glw::GLfloat)(element_index + 1)) / ((glw::GLfloat)n_elements); in getColorFloatComponents()
386 void getColorIntComponents(glw::GLint cube_face, glw::GLint element_index, glw::GLint mipmap_leve… in getColorIntComponents() argument
391 out_data[2] = static_cast<T>(element_index + 1); in getColorIntComponents()
404 void getCompressedColorUByteComponents(glw::GLint cube_face, glw::GLint element_index, glw::GLint m… in getCompressedColorUByteComponents() argument
413 …static_cast<glw::GLubyte>(mipmap_level * n_faces_per_level + element_index * n_faces + cube_face +… in getCompressedColorUByteComponents()
461 void getDepthComponent(glw::GLint cube_face, glw::GLint element_index, glw::GLint mipmap_level, glw… in getDepthComponent() argument
466 out_depth = ((glw::GLfloat)(mipmap_level + 1 + cube_face + 1 + element_index + 1)) / in getDepthComponent()
480 glw::GLint element_index, glw::GLint n_layers, in getExpectedColorFloatComponentsForTexture() argument
483 …getColorFloatComponents(cube_face, element_index, 0 /* mipmap_level */, n_layers, n_mipmap_levels,… in getExpectedColorFloatComponentsForTexture()
[all …]
/third_party/python/Modules/_ctypes/
Dstgdict.c715 Py_ssize_t element_index; /* index into element_types for this */ in PyCStructUnionType_update_stgdict() local
806 element_index = ffi_ofs; in PyCStructUnionType_update_stgdict()
842 assert(element_index < (ffi_ofs + len)); /* will be used below */ in PyCStructUnionType_update_stgdict()
845 element_types[element_index++] = &dict->ffi_type_pointer; in PyCStructUnionType_update_stgdict()
860 element_types[element_index++] = &structs[struct_index]; in PyCStructUnionType_update_stgdict()
878 element_types[element_index] = NULL; in PyCStructUnionType_update_stgdict()
/third_party/node/deps/v8/src/ast/
Dast.cc448 uint32_t element_index = 0; in InitDepthAndFlags() local
449 if (key->AsArrayIndex(&element_index)) { in InitDepthAndFlags()
450 max_element_index = std::max(element_index, max_element_index); in InitDepthAndFlags()
511 uint32_t element_index = 0; in BuildBoilerplateDescription() local
513 key_literal->AsArrayIndex(&element_index) in BuildBoilerplateDescription()
516 element_index) in BuildBoilerplateDescription()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dvector_dce.cpp113 uint32_t element_index = current_inst->GetSingleWordInOperand(1); in MarkExtractUseAsLive() local
115 if (element_index < item_size) { in MarkExtractUseAsLive()
116 new_item.components.Set(element_index); in MarkExtractUseAsLive()
Dreplace_desc_array_access_using_var_index.h156 Instruction* access_chain, uint32_t element_index,
Dreplace_desc_array_access_using_var_index.cpp206 Instruction* access_chain, uint32_t element_index, in CreateCaseBlock() argument
211 AddConstElementAccessToCaseBlock(case_block, access_chain, element_index, in CreateCaseBlock()
Dcopy_prop_arrays.cpp767 for (uint32_t element_index : access_chain) { in GetMemberTypeId() local
777 id = type_inst->GetSingleWordInOperand(element_index); in GetMemberTypeId()
Dconst_folding_rules.cpp47 uint32_t element_index = inst->GetSingleWordInOperand(i); in FoldExtractWithConstants() local
60 if (element_index >= components.size()) return nullptr; in FoldExtractWithConstants()
61 c = components[element_index]; in FoldExtractWithConstants()
Dtype_manager.cpp923 for (uint32_t element_index : access_chain) { in GetMemberType() local
925 parent_type = struct_type->element_types()[element_index]; in GetMemberType()
/third_party/spirv-tools/source/opt/
Dvector_dce.cpp113 uint32_t element_index = current_inst->GetSingleWordInOperand(1); in MarkExtractUseAsLive() local
115 if (element_index < item_size) { in MarkExtractUseAsLive()
116 new_item.components.Set(element_index); in MarkExtractUseAsLive()
Dreplace_desc_array_access_using_var_index.h157 Instruction* access_chain, uint32_t element_index,
Dreplace_desc_array_access_using_var_index.cpp208 Instruction* access_chain, uint32_t element_index, in CreateCaseBlock() argument
213 AddConstElementAccessToCaseBlock(case_block, access_chain, element_index, in CreateCaseBlock()
Dcopy_prop_arrays.cpp766 for (uint32_t element_index : access_chain) { in GetMemberTypeId() local
776 id = type_inst->GetSingleWordInOperand(element_index); in GetMemberTypeId()
Dtype_manager.cpp922 for (uint32_t element_index : access_chain) { in GetMemberType() local
924 parent_type = struct_type->element_types()[element_index]; in GetMemberType()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dvector_dce.cpp113 uint32_t element_index = current_inst->GetSingleWordInOperand(1); in MarkExtractUseAsLive() local
115 if (element_index < item_size) { in MarkExtractUseAsLive()
116 new_item.components.Set(element_index); in MarkExtractUseAsLive()
Dreplace_desc_array_access_using_var_index.h156 Instruction* access_chain, uint32_t element_index,
Dreplace_desc_array_access_using_var_index.cpp206 Instruction* access_chain, uint32_t element_index, in CreateCaseBlock() argument
211 AddConstElementAccessToCaseBlock(case_block, access_chain, element_index, in CreateCaseBlock()
Dcopy_prop_arrays.cpp767 for (uint32_t element_index : access_chain) { in GetMemberTypeId() local
777 id = type_inst->GetSingleWordInOperand(element_index); in GetMemberTypeId()
Dconst_folding_rules.cpp103 uint32_t element_index = inst->GetSingleWordInOperand(i); in FoldExtractWithConstants() local
116 if (element_index >= components.size()) return nullptr; in FoldExtractWithConstants()
117 c = components[element_index]; in FoldExtractWithConstants()
/third_party/node/deps/v8/src/runtime/
Druntime-literals.cc426 uint32_t element_index = 0; in CreateObjectLiteral() local
427 if (key->ToArrayIndex(&element_index)) { in CreateObjectLiteral()
432 JSObject::SetOwnElementIgnoreAttributes(boilerplate, element_index, value, in CreateObjectLiteral()
437 DCHECK(!name->AsArrayIndex(&element_index)); in CreateObjectLiteral()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_io_arrays_to_elements.c37 unsigned *element_index, unsigned *xfb_offset, in get_io_offset() argument
72 *element_index += num_elements * index; in get_io_offset()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.cpp1853 struct pipe_vertex_buffer *vb, unsigned element_index, in si_set_vertex_buffer_descriptor() argument
1858 si_set_vb_descriptor<GFX6>(velems, vb, element_index, out); in si_set_vertex_buffer_descriptor()
1861 si_set_vb_descriptor<GFX7>(velems, vb, element_index, out); in si_set_vertex_buffer_descriptor()
1864 si_set_vb_descriptor<GFX8>(velems, vb, element_index, out); in si_set_vertex_buffer_descriptor()
1867 si_set_vb_descriptor<GFX9>(velems, vb, element_index, out); in si_set_vertex_buffer_descriptor()
1870 si_set_vb_descriptor<GFX10>(velems, vb, element_index, out); in si_set_vertex_buffer_descriptor()
1873 si_set_vb_descriptor<GFX10_3>(velems, vb, element_index, out); in si_set_vertex_buffer_descriptor()
1876 si_set_vb_descriptor<GFX11>(velems, vb, element_index, out); in si_set_vertex_buffer_descriptor()

12