Home
last modified time | relevance | path

Searched refs:index_type (Results 1 - 25 of 59) sorted by relevance

123

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_rep_ring.h79 // `index_type` is the type for the `head`, `tail` and `capacity` indexes.
81 using index_type = uint32_t;
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 tai
[all...]
H A Dcord_rep_ring.cc38 using index_type = CordRepRing::index_type;
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 hea
[all...]
H A 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/deps/v8/third_party/inspector_protocol/crdtp/
H A Dspan.h23 using index_type = size_t;
26 constexpr span(const T* data, index_type size) : data_(data), size_(size) {} in span()
33 constexpr const T& operator[](index_type idx) const { return data_[idx]; } in operator []()
35 constexpr span<T> subspan(index_type offset, index_type count) const { in subspan()
39 constexpr span<T> subspan(index_type offset) const { in subspan()
45 constexpr index_type size() const { return size_; } in size()
46 constexpr index_type size_bytes() const { return size_ * sizeof(T); } in size_bytes()
50 index_type size_;
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A 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()
H A Dcord_ring_test.cc60 using index_type = CordRepRing::index_type;
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/node/tools/inspector_protocol/encoding/
H A 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]; } in operator []()
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/spirv-tools/source/opt/
H A Dgraphics_robust_access_pass.cpp305 const auto* index_type = in ClampIndicesForAccessChain()
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()
420 assert(index_type); in ClampIndicesForAccessChain()
432 << index_type->width() << "bits"; in ClampIndicesForAccessChain()
437 const auto index_width = index_type in ClampIndicesForAccessChain()
[all...]
H A 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/
H A Dgraphics_robust_access_pass.cpp305 const auto* index_type = in ClampIndicesForAccessChain()
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()
420 assert(index_type); in ClampIndicesForAccessChain()
432 << index_type->width() << "bits"; in ClampIndicesForAccessChain()
437 const auto index_width = index_type in ClampIndicesForAccessChain()
[all...]
H A 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/spirv-tools/source/opt/
H A Dgraphics_robust_access_pass.cpp300 const auto* index_type = in ClampIndicesForAccessChain()
302 assert(index_type); in ClampIndicesForAccessChain()
303 const auto index_width = index_type->width(); in ClampIndicesForAccessChain()
307 return replace_index(operand_index, GetValueForType(0, index_type)); in ClampIndicesForAccessChain()
355 return replace_index(operand_index, GetValueForType(0, index_type)); in ClampIndicesForAccessChain()
390 index_inst = WidenInteger(index_type->IsSigned(), maxval_width, in ClampIndicesForAccessChain()
411 const auto* index_type = in ClampIndicesForAccessChain()
415 assert(index_type); in ClampIndicesForAccessChain()
427 << index_type->width() << "bits"; in ClampIndicesForAccessChain()
432 const auto index_width = index_type in ClampIndicesForAccessChain()
[all...]
H A Dcombine_access_chains.cpp287 const analysis::Type* index_type = in Has64BitIndices() local
289 if (!index_type->AsInteger() || index_type->AsInteger()->width() != 32) in Has64BitIndices()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_elements_base_vertex/
H A DesextcDrawElementsBaseVertexTests.cpp648 switch (test_case.index_type) in executeTestCases()
664 } /* 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;
1855 new_test_case.index_type = GL_UNSIGNED_INT;
1982 new_test_case.index_type
[all...]
H A 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/skia/third_party/externals/spirv-tools/source/fuzz/
H A 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/
H A 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/spirv-tools/source/fuzz/
H A Dtransformation_access_chain.cpp411 auto index_type = in ValidIndexToComposite() local
413 if (index_type->opcode() != spv::Op::OpTypeInt || in ValidIndexToComposite()
414 index_type->GetSingleWordInOperand(0) != 32) { in ValidIndexToComposite()
/third_party/libbpf/include/uapi/linux/
H A Dbtf.h113 __u32 index_type; member
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dvx_cmd_buffer.c2210 uint8_t index_type = ffs(cmd_buffer->state.index_buffer.index_size) - 1; in cmd_buffer_emit_draw_indexed() local
2230 prim.index_type = index_type; in cmd_buffer_emit_draw_indexed()
2242 prim.index_type = index_type; in cmd_buffer_emit_draw_indexed()
2290 uint8_t index_type = ffs(cmd_buffer->state.index_buffer.index_size) - 1; in cmd_buffer_emit_indexed_indirect() local
2297 prim.index_type = index_type; in cmd_buffer_emit_indexed_indirect()
/third_party/libabigail/src/
H A 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()
1275 if (!index_type) in process_ctf_array_type()
/third_party/mesa3d/src/amd/vulkan/
H A 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/node/deps/v8/src/compiler/
H A Descape-analysis.cc536 Type index_type = NodeProperties::GetType(index_node); in OffsetOfElementsAccess() local
537 if (!index_type.Is(Type::OrderedNumber())) return Nothing<int>(); in OffsetOfElementsAccess()
538 double max = index_type.Max(); in OffsetOfElementsAccess()
539 double min = index_type.Min(); in OffsetOfElementsAccess()
H A Dtyped-optimization.cc173 Type const index_type = NodeProperties::GetType(index); in ReduceMaybeGrowFastElements() local
175 CHECK(index_type.Is(Type::Unsigned31())); in ReduceMaybeGrowFastElements()
178 if (!index_type.IsNone() && !length_type.IsNone() && in ReduceMaybeGrowFastElements()
179 index_type.Max() < length_type.Min()) { in ReduceMaybeGrowFastElements()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_cs.c453 case 32: cfg.index_type = MALI_INDEX_TYPE_UINT32; break; in panvk_emit_tiler_primitive()
454 case 16: cfg.index_type = MALI_INDEX_TYPE_UINT16; break; in panvk_emit_tiler_primitive()
455 case 8: cfg.index_type = MALI_INDEX_TYPE_UINT8; break; in panvk_emit_tiler_primitive()
460 cfg.index_type = MALI_INDEX_TYPE_NONE; in panvk_emit_tiler_primitive()

Completed in 30 milliseconds

123