/external/Microsoft-GSL/gsl/ |
D | span | 147 using difference_type = typename Span::index_type; 154 constexpr span_iterator(const Span* span, typename Span::index_type index) 303 using index_type = std::ptrdiff_t; 309 template <index_type Other> 317 constexpr extent_type(index_type size) { Expects(size == Ext); } 319 constexpr inline index_type size() const noexcept { return Ext; } 326 using index_type = std::ptrdiff_t; 328 template <index_type Other> 333 explicit constexpr extent_type(index_type size) : size_(size) { Expects(size >= 0); } 335 constexpr inline index_type size() const noexcept { return size_; } [all …]
|
D | multi_span | 554 using index_type = index<rank>; 555 using const_index_type = std::add_const_t<index_type>; 643 constexpr size_type linearize(const index_type& idx) const { return m_ranges.linearize(idx); } 645 constexpr bool contains(const index_type& idx) const noexcept 674 constexpr index_type index_bounds() const noexcept 693 constexpr const_iterator begin() const noexcept { return const_iterator(*this, index_type{}); } 714 using index_type = index<rank>; 715 using const_index_type = std::add_const_t<index_type>; 727 constexpr strided_bounds(const value_type (&values)[rank], index_type strides) 732 constexpr strided_bounds(const index_type& extents, const index_type& strides) noexcept [all …]
|
D | string_span | 275 using index_type = typename impl_type::index_type; 311 constexpr basic_string_span(pointer ptr, index_type length) : span_(ptr, length) {} 375 template <index_type Count> 381 constexpr basic_string_span<element_type, dynamic_extent> first(index_type count) const 386 template <index_type Count> 392 constexpr basic_string_span<element_type, dynamic_extent> last(index_type count) const 397 template <index_type Offset, index_type Count> 404 subspan(index_type offset, index_type count = dynamic_extent) const 409 constexpr reference operator[](index_type idx) const { return span_[idx]; } 410 constexpr reference operator()(index_type idx) const { return span_[idx]; } [all …]
|
/external/skia/src/sksl/ir/ |
D | SkSLIndexExpression.h | 20 static const Type& index_type(const Context& context, const Type& type) { in index_type() function 48 : INHERITED(base->fPosition, kIndex_Kind, index_type(context, base->fType)) in IndexExpression()
|
/external/Microsoft-GSL/tests/ |
D | span_tests.cpp | 135 span<int> s{nullptr, static_cast<span<int>::index_type>(0)}; in SUITE() 138 span<const int> cs{nullptr, static_cast<span<int>::index_type>(0)}; in SUITE() 143 span<int, 0> s{nullptr, static_cast<span<int>::index_type>(0)}; in SUITE() 146 span<const int, 0> cs{nullptr, static_cast<span<int>::index_type>(0)}; in SUITE() 151 …auto workaround_macro = []() { span<int, 1> s{ nullptr, static_cast<span<int>::index_type>(0) }; }; in SUITE() 172 span<int*> s{nullptr, static_cast<span<int>::index_type>(0)}; in SUITE() 175 span<const int*> cs{nullptr, static_cast<span<int>::index_type>(0)}; in SUITE() 198 span<int> s{p, static_cast<span<int>::index_type>(0)}; in SUITE()
|
D | string_span_tests.cpp | 44 CHECK(v.length() == static_cast<cstring_span<>::index_type>(s.length())); in SUITE() 51 CHECK(v.length() == static_cast<string_span<>::index_type>(vec.size())); in SUITE() 113 CHECK(static_cast<cstring_span<>::index_type>(s2.length()) == v.length()); in SUITE() 125 CHECK(static_cast<cstring_span<>::index_type>(s2.length()) == v.length()); in SUITE()
|
/external/mesa3d/src/intel/vulkan/ |
D | gen7_cmd_buffer.c | 121 cmd_buffer->state.gen7.index_type = vk_to_gen_index_type[indexType]; in genX() 246 ib.IndexFormat = cmd_buffer->state.gen7.index_type; in genX()
|
D | anv_private.h | 1179 uint32_t index_type; /**< 3DSTATE_INDEX_BUFFER.IndexFormat */ member
|
/external/vulkan-validation-layers/demos/smoke/ |
D | Meshes.cpp | 83 static VkIndexType index_type() in index_type() function in __anon192347900111::Mesh 419 index_type_(Mesh::index_type()) in Meshes()
|
/external/v8/src/compiler/ |
D | js-builtin-reducer.cc | 1630 Type* index_type = NodeProperties::GetType(index); in ReduceStringCharAt() local 1634 if (index_type->Is(Type::Integral32OrMinusZeroOrNaN())) { in ReduceStringCharAt() 1636 if (!index_type->Is(Type::Unsigned32())) { in ReduceStringCharAt() 1684 Type* index_type = NodeProperties::GetType(index); in ReduceStringCharCodeAt() local 1688 if (index_type->Is(Type::Integral32OrMinusZeroOrNaN())) { in ReduceStringCharCodeAt() 1690 if (!index_type->Is(Type::Unsigned32())) { in ReduceStringCharCodeAt()
|
D | simplified-lowering.cc | 2272 Type* index_type = TypeOf(node->InputAt(0)); in VisitNode() local 2274 if (index_type->Is(Type::Unsigned32())) { in VisitNode() 2277 if (lower() && index_type->Max() < length_type->Min()) { in VisitNode()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_state.cpp | 1152 SWR_FORMAT index_type = R32_UINT; /* Default for non-indexed draws */ in swr_update_derived() local 1159 index_type = swr_convert_index_type(pitch); in swr_update_derived() 1192 if (velems && velems->fsState.indexType != index_type) { in swr_update_derived() 1194 velems->fsState.indexType = index_type; in swr_update_derived()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_cmd_buffer.c | 1507 cmd_buffer->state.index_type = indexType; /* vk matches hw */ in radv_CmdBindIndexBuffer() 1977 uint32_t primitive_reset_index = cmd_buffer->state.index_type ? 0xffffffffu : 0xffffu; in radv_emit_primitive_reset_index() 1996 int index_size = cmd_buffer->state.index_type ? 4 : 2; in radv_CmdDrawIndexed() 2006 radeon_emit(cmd_buffer->cs, cmd_buffer->state.index_type); in radv_CmdDrawIndexed() 2115 int index_size = cmd_buffer->state.index_type ? 4 : 2; in radv_cmd_draw_indexed_indirect_count() 2127 radeon_emit(cmd_buffer->cs, cmd_buffer->state.index_type); in radv_cmd_draw_indexed_indirect_count()
|
D | radv_private.h | 685 uint32_t index_type; member
|
/external/v8/src/asmjs/ |
D | asm-typer.cc | 2637 AsmType* index_type; in ValidateHeapAccess() local 2638 RECURSE(index_type = ValidateExpression(heap->key())); in ValidateHeapAccess() 2639 if (!index_type->IsA(AsmType::Int())) { in ValidateHeapAccess()
|
/external/v8/src/arm64/ |
D | macro-assembler-arm64.cc | 3482 SeqStringSetCharCheckIndexType index_type, in EmitSeqStringSetCharCheck() argument 3487 if (index_type == kIndexIsSmi) { in EmitSeqStringSetCharCheck() 3503 Cmp(index, index_type == kIndexIsSmi ? scratch : Operand::UntagSmi(scratch)); in EmitSeqStringSetCharCheck()
|
D | macro-assembler-arm64.h | 1526 SeqStringSetCharCheckIndexType index_type,
|
/external/skia/src/sksl/ |
D | SkSLSPIRVCodeGenerator.cpp | 1064 this->getType(index_type(fContext, type), layout), in getType()
|