Home
last modified time | relevance | path

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

12

/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/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/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/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()
/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()
/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()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-parse.c2043 if (parse->element_index) { in gst_matroska_parse_parse_blockgroup_or_simpleblock()
2045 gst_index_get_writer_id (parse->element_index, in gst_matroska_parse_parse_blockgroup_or_simpleblock()
2052 gst_index_add_association (parse->element_index, in gst_matroska_parse_parse_blockgroup_or_simpleblock()
2697 if (parse->common.element_index) { in gst_matroska_parse_parse_id()
2699 gst_index_get_writer_id (parse->common.element_index, in gst_matroska_parse_parse_id()
2705 gst_index_add_association (parse->common.element_index, in gst_matroska_parse_parse_id()
3222 if (parse->common.element_index)
3223 gst_object_unref (parse->common.element_index);
3224 parse->common.element_index = index ? gst_object_ref (index) : NULL;
3227 parse->common.element_index);
[all …]
Dmatroska-read-common.h47 GstIndex *element_index;
Dmatroska-demux.c4943 if (demux->common.element_index) { in gst_matroska_demux_parse_blockgroup_or_simpleblock()
4945 gst_index_get_writer_id (demux->common.element_index, in gst_matroska_demux_parse_blockgroup_or_simpleblock()
4952 gst_index_add_association (demux->common.element_index, in gst_matroska_demux_parse_blockgroup_or_simpleblock()
5761 if (demux->common.element_index) { in gst_matroska_demux_parse_id()
5763 gst_index_get_writer_id (demux->common.element_index, in gst_matroska_demux_parse_id()
5769 gst_index_add_association (demux->common.element_index, in gst_matroska_demux_parse_id()
7407 if (demux->common.element_index)
7408 gst_object_unref (demux->common.element_index);
7409 demux->common.element_index = index ? gst_object_ref (index) : NULL;
7412 demux->common.element_index);
[all …]
/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/gstreamer/gstplugins_good/gst/avi/
Dgstavidemux.c289 if (avi->element_index) in gst_avi_demux_reset()
290 gst_object_unref (avi->element_index); in gst_avi_demux_reset()
291 avi->element_index = NULL; in gst_avi_demux_reset()
645 entry = gst_index_get_assoc_entry (avi->element_index, stream->index_id,
826 } else if (avi->element_index) { in gst_avi_demux_handle_sink_event()
830 entry = gst_index_get_assoc_entry (avi->element_index, avi->index_id, in gst_avi_demux_handle_sink_event()
1905 if (avi->element_index) in gst_avi_demux_expose_streams()
1906 gst_index_get_writer_id (avi->element_index, in gst_avi_demux_expose_streams()
5050 if (G_UNLIKELY (avi->element_index && avi->seekable)) {
5053 gst_index_add_association (avi->element_index, avi->index_id,
[all …]
Dgstavidemux.h195 GstIndex *element_index;
/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()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux.h234 GstIndex *element_index;

12