Home
last modified time | relevance | path

Searched refs:index_type (Results 1 – 25 of 62) sorted by relevance

123

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcord_rep_ring.h81 using index_type = uint32_t; variable
90 index_type index;
118 index_type head() const { return head_; } in head()
119 index_type tail() const { return tail_; } in tail()
120 index_type capacity() const { return capacity_; } in capacity()
123 index_type entries() const { return entries(head_, tail_); } in entries()
130 index_type entries(index_type head, index_type tail) const { in entries()
136 pos_type const& entry_end_pos(index_type index) const { in entry_end_pos()
142 CordRep* const& entry_child(index_type index) const { in entry_child()
148 offset_type const& entry_data_offset(index_type index) const { in entry_data_offset()
[all …]
Dcord_rep_ring.cc38 using index_type = CordRepRing::index_type; typedef
66 void UnrefEntries(const CordRepRing* rep, index_type head, index_type tail) { in UnrefEntries()
67 rep->ForEach(head, tail, [rep](index_type ix) { in UnrefEntries()
89 CordRepRing::index_type head = rep.head(); in operator <<()
104 void CordRepRing::AddDataOffset(index_type index, size_t n) { in AddDataOffset()
108 void CordRepRing::SubLength(index_type index, size_t n) { in SubLength()
114 Filler(CordRepRing* rep, index_type pos) : rep_(rep), head_(pos), pos_(pos) {} in Filler()
116 index_type head() const { return head_; } in head()
117 index_type pos() const { return pos_; } in pos()
128 index_type head_;
[all …]
Dcord_rep_ring_reader.h41 CordRepRing::index_type index() const { return index_; } in index()
101 CordRepRing::index_type hint = (offset >= current) ? index_ : ring_->head(); in Seek()
111 CordRepRing::index_type index_;
/third_party/node/tools/inspector_protocol/encoding/
Dencoding.h26 using index_type = size_t;
29 span(const T* data, index_type size) : data_(data), size_(size) {} in span()
36 const T& operator[](index_type idx) const { return data_[idx]; }
38 span<T> subspan(index_type offset, index_type count) const { in subspan()
42 span<T> subspan(index_type offset) const { in subspan()
48 index_type size() const { return size_; } in size()
49 index_type size_bytes() const { return size_ * sizeof(T); } in size_bytes()
53 index_type size_;
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord_ring_reader_test.cc97 CordRepRing::index_type head = ring->head(); in TEST()
103 CordRepRing::index_type index = ring->advance(head, i); in TEST()
125 CordRepRing::index_type head = ring->head(); in TEST()
131 CordRepRing::index_type index = ring->advance(head, i); in TEST()
152 CordRepRing::index_type head = ring->head(); in TEST()
158 CordRepRing::index_type index = ring->advance(head, i); in TEST()
Dcord_ring_test.cc60 using index_type = CordRepRing::index_type; typedef
137 index_type pos = r->head(); in ToFlats()
178 index_type pos = r->head(); in ToRawFlats()
189 index_type pos = r->head(); in ToString()
1294 index_type head = ring->head(); in TEST_F()
1306 index_type hint = ring->advance(ring->head(), start); in TEST_F()
1368 index_type head = ring->head(); in TEST_F()
/third_party/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp305 const auto* index_type = in ClampIndicesForAccessChain() local
307 assert(index_type); in ClampIndicesForAccessChain()
308 const auto index_width = index_type->width(); in ClampIndicesForAccessChain()
312 return replace_index(operand_index, GetValueForType(0, index_type)); in ClampIndicesForAccessChain()
360 return replace_index(operand_index, GetValueForType(0, index_type)); in ClampIndicesForAccessChain()
395 index_inst = WidenInteger(index_type->IsSigned(), maxval_width, in ClampIndicesForAccessChain()
416 const auto* index_type = in ClampIndicesForAccessChain() local
420 assert(index_type); in ClampIndicesForAccessChain()
432 << index_type->width() << "bits"; in ClampIndicesForAccessChain()
437 const auto index_width = index_type->width(); in ClampIndicesForAccessChain()
[all …]
Dcombine_access_chains.cpp285 const analysis::Type* index_type = in Has64BitIndices() local
287 if (!index_type->AsInteger() || index_type->AsInteger()->width() != 32) in Has64BitIndices()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dgraphics_robust_access_pass.cpp305 const auto* index_type = in ClampIndicesForAccessChain() local
307 assert(index_type); in ClampIndicesForAccessChain()
308 const auto index_width = index_type->width(); in ClampIndicesForAccessChain()
312 return replace_index(operand_index, GetValueForType(0, index_type)); in ClampIndicesForAccessChain()
360 return replace_index(operand_index, GetValueForType(0, index_type)); in ClampIndicesForAccessChain()
395 index_inst = WidenInteger(index_type->IsSigned(), maxval_width, in ClampIndicesForAccessChain()
416 const auto* index_type = in ClampIndicesForAccessChain() local
420 assert(index_type); in ClampIndicesForAccessChain()
432 << index_type->width() << "bits"; in ClampIndicesForAccessChain()
437 const auto index_width = index_type->width(); in ClampIndicesForAccessChain()
[all …]
Dcombine_access_chains.cpp285 const analysis::Type* index_type = in Has64BitIndices() local
287 if (!index_type->AsInteger() || index_type->AsInteger()->width() != 32) in Has64BitIndices()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp305 const auto* index_type = in ClampIndicesForAccessChain() local
307 assert(index_type); in ClampIndicesForAccessChain()
308 const auto index_width = index_type->width(); in ClampIndicesForAccessChain()
312 return replace_index(operand_index, GetValueForType(0, index_type)); in ClampIndicesForAccessChain()
360 return replace_index(operand_index, GetValueForType(0, index_type)); in ClampIndicesForAccessChain()
395 index_inst = WidenInteger(index_type->IsSigned(), maxval_width, in ClampIndicesForAccessChain()
416 const auto* index_type = in ClampIndicesForAccessChain() local
420 assert(index_type); in ClampIndicesForAccessChain()
432 << index_type->width() << "bits"; in ClampIndicesForAccessChain()
437 const auto index_width = index_type->width(); in ClampIndicesForAccessChain()
[all …]
Dcombine_access_chains.cpp285 const analysis::Type* index_type = in Has64BitIndices() local
287 if (!index_type->AsInteger() || index_type->AsInteger()->width() != 32) in Has64BitIndices()
/third_party/flutter/skia/src/sksl/ir/
DSkSLIndexExpression.h20 static const Type& index_type(const Context& context, const Type& type) { in index_type() function
55 : INHERITED(base->fOffset, kIndex_Kind, index_type(context, base->fType)) in IndexExpression()
/third_party/node/tools/inspector_protocol/lib/
Dencoding_h.template35 using index_type = size_t;
38 span(const T* data, index_type size) : data_(data), size_(size) {}
45 const T& operator[](index_type idx) const { return data_[idx]; }
47 span<T> subspan(index_type offset, index_type count) const {
51 span<T> subspan(index_type offset) const {
57 index_type size() const { return size_; }
58 index_type size_bytes() const { return size_ * sizeof(T); }
62 index_type size_;
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_elements_base_vertex/
DesextcDrawElementsBaseVertexTests.cpp648 switch (test_case.index_type) in executeTestCases()
682 test_case.index_type, test_case.index_offset, test_case.basevertex); in executeTestCases()
690 test_case.index_type, test_case.index_offset, 3, /* instancecount */ in executeTestCases()
700 test_case.index_type, test_case.index_offset, test_case.basevertex); in executeTestCases()
710 test_case.primitive_mode, test_case.multi_draw_call_count_array, test_case.index_type, in executeTestCases()
738 glw::GLenum regular_draw_call_index_type = test_case.index_type; in executeTestCases()
1726 new_test_case.index_type = GL_UNSIGNED_INT; in setUpTestCases()
1855 new_test_case.index_type = GL_UNSIGNED_INT; in setUpTestCases()
1982 new_test_case.index_type = GL_UNSIGNED_INT; in setUpTestCases()
2091 glw::GLenum index_type = index_types[n_index_type]; in setUpTestCases() local
[all …]
DesextcDrawElementsBaseVertexTests.hpp91 glw::GLenum index_type; /* GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT or GL_UNSIGNED_INT */ member
137 , index_type(0) in _test_case()
/third_party/spirv-tools/source/fuzz/
Dtransformation_access_chain.cpp409 auto index_type = in ValidIndexToComposite() local
411 if (index_type->opcode() != SpvOpTypeInt || in ValidIndexToComposite()
412 index_type->GetSingleWordInOperand(0) != 32) { in ValidIndexToComposite()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_access_chain.cpp409 auto index_type = in ValidIndexToComposite() local
411 if (index_type->opcode() != SpvOpTypeInt || in ValidIndexToComposite()
412 index_type->GetSingleWordInOperand(0) != 32) { in ValidIndexToComposite()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_access_chain.cpp409 auto index_type = in ValidIndexToComposite() local
411 if (index_type->opcode() != SpvOpTypeInt || in ValidIndexToComposite()
412 index_type->GetSingleWordInOperand(0) != 32) { in ValidIndexToComposite()
/third_party/rust/crates/os_str_bytes/src/
Draw_str.rs1418 ( $index_type:ty $(, $index_var:ident , $($bound:expr),+)? ) => {
1419 impl Index<$index_type> for RawOsStr {
1423 fn index(&self, idx: $index_type) -> &Self::Output { in index()
1433 impl Index<$index_type> for RawOsString {
1438 fn index(&self, idx: $index_type) -> &Self::Output { in index()
/third_party/libbpf/include/uapi/linux/
Dbtf.h113 __u32 index_type; member
/third_party/libabigail/src/
Dabg-ctf-reader.cc1189 type_base_sptr index_type = rdr->build_type(dic, index); in build_array_ctf_range() local
1190 if (!index_type) in build_array_ctf_range()
1204 index_type, in build_array_ctf_range()
1273 type_base_sptr index_type = rdr->build_type(ctf_dictionary, in process_ctf_array_type() local
1275 if (!index_type) in process_ctf_array_type()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_cmd_buffer.c2210 uint8_t index_type = ffs(cmd_buffer->state.index_buffer.index_size) - 1; in v3dX() local
2230 prim.index_type = index_type; in v3dX()
2242 prim.index_type = index_type; in v3dX()
2290 uint8_t index_type = ffs(cmd_buffer->state.index_buffer.index_size) - 1; in v3dX() local
2297 prim.index_type = index_type; in v3dX()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device_generated_commands.c817 nir_ssa_def *index_type = nir_bcsel( in build_dgc_prepare_shader() local
820 index_type = nir_bcsel(&b, nir_ieq(&b, vk_index_type, load_param32(&b, ibo_type_8)), in build_dgc_prepare_shader()
821 nir_imm_int(&b, V_028A7C_VGT_INDEX_8), index_type); in build_dgc_prepare_shader()
824 &b, nir_ushr(&b, nir_imm_int(&b, 0x142), nir_imul_imm(&b, index_type, 4)), 0xf); in build_dgc_prepare_shader()
841 cmd_values[2] = index_type; in build_dgc_prepare_shader()
844 cmd_values[1] = index_type; in build_dgc_prepare_shader()
1194 layout->binds_index_buffer ? 0 : radv_get_vgt_index_size(cmd_buffer->state.index_type), in radv_prepare_dgc()
/third_party/openGLES/extensions/INTEL/
DINTEL_parallel_arrays.txt188 p = (byte*)index_pointer + i * sizeof(index_type);
191 Index<index_type>v ((index_type*)p);

123