/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonBlockRanges.h | 78 class IndexRange : public std::pair<IndexType,IndexType> { 80 IndexRange() = default; 81 IndexRange(IndexType Start, IndexType End, bool F = false, bool T = false) 87 bool operator< (const IndexRange &A) const { 91 bool overlaps(const IndexRange &A) const; 92 bool contains(const IndexRange &A) const; 93 void merge(const IndexRange &A); 105 class RangeList : public std::vector<IndexRange> { 108 push_back(IndexRange(Start, End, Fixed, TiedEnd)); in add() 110 void add(const IndexRange &Range) { in add() [all …]
|
H A D | HexagonBlockRanges.cpp | 34 bool HexagonBlockRanges::IndexRange::overlaps(const IndexRange &A) const { in overlaps() 47 bool HexagonBlockRanges::IndexRange::contains(const IndexRange &A) const { in contains() 58 void HexagonBlockRanges::IndexRange::merge(const IndexRange &A) { in merge() 105 void HexagonBlockRanges::RangeList::addsub(const IndexRange &A, in addsub() 106 const IndexRange &B) { in addsub() 141 void HexagonBlockRanges::RangeList::subtract(const IndexRange &Range) { in subtract() 146 IndexRange &Rg = *I; in subtract() 506 const HexagonBlockRanges::IndexRange &IR) { in operator <<()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonBlockRanges.h | 81 class IndexRange : public std::pair<IndexType,IndexType> { 83 IndexRange() = default; 84 IndexRange(IndexType Start, IndexType End, bool F = false, bool T = false) 90 bool operator< (const IndexRange &A) const { 94 bool overlaps(const IndexRange &A) const; 95 bool contains(const IndexRange &A) const; 96 void merge(const IndexRange &A); 108 class RangeList : public std::vector<IndexRange> { 111 push_back(IndexRange(Start, End, Fixed, TiedEnd)); in add() 113 void add(const IndexRange &Range) { in add() [all …]
|
H A D | HexagonBlockRanges.cpp | 34 bool HexagonBlockRanges::IndexRange::overlaps(const IndexRange &A) const { in overlaps() 47 bool HexagonBlockRanges::IndexRange::contains(const IndexRange &A) const { in contains() 58 void HexagonBlockRanges::IndexRange::merge(const IndexRange &A) { in merge() 105 void HexagonBlockRanges::RangeList::addsub(const IndexRange &A, in addsub() 106 const IndexRange &B) { in addsub() 141 void HexagonBlockRanges::RangeList::subtract(const IndexRange &Range) { in subtract() 146 IndexRange &Rg = *I; in subtract() 506 const HexagonBlockRanges::IndexRange &IR) { in operator <<()
|
/aosp_15_r20/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonBlockRanges.h | 77 class IndexRange : public std::pair<IndexType,IndexType> { 79 IndexRange() : Fixed(false), TiedEnd(false) {} in IndexRange() function 80 IndexRange(IndexType Start, IndexType End, bool F = false, bool T = false) 85 bool operator< (const IndexRange &A) const { 88 bool overlaps(const IndexRange &A) const; 89 bool contains(const IndexRange &A) const; 90 void merge(const IndexRange &A); 102 class RangeList : public std::vector<IndexRange> { 105 push_back(IndexRange(Start, End, Fixed, TiedEnd)); in add() 107 void add(const IndexRange &Range) { in add() [all …]
|
H A D | HexagonBlockRanges.cpp | 30 bool HexagonBlockRanges::IndexRange::overlaps(const IndexRange &A) const { in overlaps() 44 bool HexagonBlockRanges::IndexRange::contains(const IndexRange &A) const { in contains() 56 void HexagonBlockRanges::IndexRange::merge(const IndexRange &A) { in merge() 106 void HexagonBlockRanges::RangeList::addsub(const IndexRange &A, in addsub() 107 const IndexRange &B) { in addsub() 143 void HexagonBlockRanges::RangeList::subtract(const IndexRange &Range) { in subtract() 148 IndexRange &Rg = *I; in subtract() 453 const HexagonBlockRanges::IndexRange &IR) { in operator <<()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/ops/ |
H A D | index_range.rs | 12 pub(crate) struct IndexRange { struct 17 impl IndexRange { argument 27 IndexRange { start, end } in new_unchecked() 32 IndexRange { start: 0, end } in zero_to() 114 impl Iterator for IndexRange { implementation 140 impl DoubleEndedIterator for IndexRange { implementation 158 impl ExactSizeIterator for IndexRange { implementation 166 unsafe impl TrustedLen for IndexRange {} implementation 168 impl FusedIterator for IndexRange {} implementation
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/ops/ |
H A D | index_range.rs | 12 pub(crate) struct IndexRange { struct 17 impl IndexRange { implementation 27 IndexRange { start, end } in new_unchecked() 32 IndexRange { start: 0, end } in zero_to() 114 impl Iterator for IndexRange { implementation 140 impl DoubleEndedIterator for IndexRange { implementation 158 impl ExactSizeIterator for IndexRange { implementation 166 unsafe impl TrustedLen for IndexRange {} implementation 168 impl FusedIterator for IndexRange {} implementation
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/ops/ |
H A D | index_range.rs | 12 pub(crate) struct IndexRange { struct 17 impl IndexRange { implementation 27 IndexRange { start, end } in new_unchecked() 32 IndexRange { start: 0, end } in zero_to() 114 impl Iterator for IndexRange { implementation 140 impl DoubleEndedIterator for IndexRange { implementation 158 impl ExactSizeIterator for IndexRange { implementation 166 unsafe impl TrustedLen for IndexRange {} implementation 168 impl FusedIterator for IndexRange {} implementation
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/ops/ |
H A D | index_range.rs | 12 pub(crate) struct IndexRange { struct 17 impl IndexRange { argument 27 IndexRange { start, end } in new_unchecked() 32 IndexRange { start: 0, end } in zero_to() 114 impl Iterator for IndexRange { implementation 140 impl DoubleEndedIterator for IndexRange { implementation 158 impl ExactSizeIterator for IndexRange { implementation 166 unsafe impl TrustedLen for IndexRange {} implementation 168 impl FusedIterator for IndexRange {} implementation
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/ops/ |
H A D | index_range.rs | 12 pub(crate) struct IndexRange { struct 17 impl IndexRange { implementation 27 IndexRange { start, end } in new_unchecked() 32 IndexRange { start: 0, end } in zero_to() 114 impl Iterator for IndexRange { implementation 140 impl DoubleEndedIterator for IndexRange { implementation 158 impl ExactSizeIterator for IndexRange { implementation 166 unsafe impl TrustedLen for IndexRange {} implementation 168 impl FusedIterator for IndexRange {} implementation
|
/aosp_15_r20/external/angle/src/libANGLE/renderer/metal/ |
H A D | BufferMtl.h | 36 struct IndexRange struct 38 IndexRange(size_t begin, size_t end) : restartBegin(begin), restartEnd(end) {} in IndexRange() function 80 IndexRange getRangeForConvertedBuffer(size_t count); 149 gl::IndexRange *outRange) override; 178 const std::vector<IndexRange> &getRestartIndices(ContextMtl *ctx, 181 static const std::vector<IndexRange> getRestartIndicesFromClientData( 241 RestartRangeCache(std::vector<IndexRange> &&ranges_, gl::DrawElementsType indexType_) in RestartRangeCache() 244 const std::vector<IndexRange> ranges; 248 std::vector<IndexRange> mRestartIndices;
|
H A D | BufferMtl.mm | 75 IndexRange IndexConversionBufferMtl::getRangeForConvertedBuffer(size_t count) 77 return IndexRange{0, count}; 270 gl::IndexRange *outRange) 435 static std::vector<IndexRange> calculateRestartRanges(ContextMtl *ctx, mtl::BufferRef idxBuffer) 437 std::vector<IndexRange> result; 458 const std::vector<IndexRange> &BufferMtl::getRestartIndices(ContextMtl *ctx, 464 std::vector<IndexRange> ranges; 484 const std::vector<IndexRange> BufferMtl::getRestartIndicesFromClientData( 489 std::vector<IndexRange> restartIndices;
|
/aosp_15_r20/external/rust/android-crates-io/crates/fixedbitset/src/ |
D | range.rs | 7 pub trait IndexRange<T = usize> { trait 20 impl<T> IndexRange<T> for RangeFull {} 22 impl<T: Copy> IndexRange<T> for RangeFrom<T> { 29 impl<T: Copy> IndexRange<T> for RangeTo<T> { 36 impl<T: Copy> IndexRange<T> for Range<T> {
|
D | lib.rs | 44 pub use range::IndexRange; 619 pub fn count_ones<T: IndexRange>(&self, range: T) -> usize { in count_ones() 633 pub fn count_zeroes<T: IndexRange>(&self, range: T) -> usize { in count_zeroes() 646 pub fn set_range<T: IndexRange>(&mut self, range: T, enabled: bool) { in set_range() 660 pub fn insert_range<T: IndexRange>(&mut self, range: T) { in insert_range() 674 pub fn remove_range<T: IndexRange>(&mut self, range: T) { in remove_range() 688 pub fn toggle_range<T: IndexRange>(&mut self, range: T) { in toggle_range() 700 pub fn contains_all_in_range<T: IndexRange>(&self, range: T) -> bool { in contains_all_in_range() 715 pub fn contains_any_in_range<T: IndexRange>(&self, range: T) -> bool { in contains_any_in_range() 1226 fn new<T: IndexRange>(range: T, length: usize) -> Masks { in new()
|
/aosp_15_r20/external/vulkan-validation-layers/layers/ |
H A D | descriptor_sets.h | 45 struct IndexRange { struct 46 IndexRange(uint32_t start_in, uint32_t end_in) : start(start_in), end(end_in) {} in IndexRange() function 47 IndexRange() = default; 142 const IndexRange &GetGlobalIndexRangeFromBinding(const uint32_t) const; 143 const cvdescriptorset::IndexRange &GetGlobalIndexRangeFromIndex(uint32_t index) const; 167 std::vector<IndexRange> global_index_range_; // range is exclusive of .end 247 const IndexRange &GetGlobalIndexRangeFromBinding(const uint32_t binding) const { in GetGlobalIndexRangeFromBinding() 250 …const IndexRange &GetGlobalIndexRangeFromIndex(uint32_t index) const { return layout_id_->GetGloba… in GetGlobalIndexRangeFromIndex() 291 …const IndexRange &GetGlobalIndexRange() const { return layout_->GetGlobalIndexRangeFromIndex(index… in GetGlobalIndexRange() 603 …const IndexRange GetGlobalIndexRangeFromBinding(const uint32_t binding, bool actual_length = false… [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/array/ |
H A D | iter.rs | 9 ops::{IndexRange, Range}, 38 alive: IndexRange, 72 IntoIter { data, alive: IndexRange::zero_to(N) } in into_iter() 146 let alive = unsafe { IndexRange::new_unchecked(initialized.start, initialized.end) }; 408 Self { data: [const { MaybeUninit::uninit() }; N], alive: IndexRange::zero_to(0) }; in clone() 416 new.alive = IndexRange::zero_to(new.alive.end() + 1); in clone()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/array/ |
H A D | iter.rs | 9 ops::{IndexRange, Range}, 38 alive: IndexRange, 72 IntoIter { data, alive: IndexRange::zero_to(N) } in into_iter() 146 let alive = unsafe { IndexRange::new_unchecked(initialized.start, initialized.end) }; 408 Self { data: [const { MaybeUninit::uninit() }; N], alive: IndexRange::zero_to(0) }; in clone() 416 new.alive = IndexRange::zero_to(new.alive.end() + 1); in clone()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/array/ |
H A D | iter.rs | 9 ops::{IndexRange, Range}, 38 alive: IndexRange, 72 IntoIter { data, alive: IndexRange::zero_to(N) } in into_iter() 147 let alive = unsafe { IndexRange::new_unchecked(initialized.start, initialized.end) }; 408 let mut new = Self { data: MaybeUninit::uninit_array(), alive: IndexRange::zero_to(0) }; in clone() 416 new.alive = IndexRange::zero_to(new.alive.end() + 1); in clone()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/array/ |
H A D | iter.rs | 9 ops::{IndexRange, Range}, 38 alive: IndexRange, 72 IntoIter { data, alive: IndexRange::zero_to(N) } in into_iter() 147 let alive = unsafe { IndexRange::new_unchecked(initialized.start, initialized.end) }; 408 let mut new = Self { data: MaybeUninit::uninit_array(), alive: IndexRange::zero_to(0) }; in clone() 416 new.alive = IndexRange::zero_to(new.alive.end() + 1); in clone()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/array/ |
H A D | iter.rs | 9 ops::{IndexRange, Range}, 38 alive: IndexRange, 72 IntoIter { data, alive: IndexRange::zero_to(N) } in into_iter() 146 let alive = unsafe { IndexRange::new_unchecked(initialized.start, initialized.end) }; 408 Self { data: [const { MaybeUninit::uninit() }; N], alive: IndexRange::zero_to(0) }; in clone() 416 new.alive = IndexRange::zero_to(new.alive.end() + 1); in clone()
|
/aosp_15_r20/external/angle/src/libANGLE/ |
H A D | IndexRangeCache.h | 33 const IndexRange &range); 38 IndexRange *outRange) const; 57 typedef std::map<IndexRangeKey, IndexRange> IndexRangeMap;
|
H A D | VertexArray.h | 326 IndexRange *indexRangeOut) const in getIndexRange() 368 IndexRange *indexRangeOut) const; 422 IndexRange *indexRangeOut) in get() 437 const IndexRange &indexRange); 443 IndexRange mPayload;
|
H A D | IndexRangeCache.cpp | 26 const IndexRange &range) in addRange() 35 IndexRange *outRange) const in findRange() 50 *outRange = IndexRange(); in findRange()
|
/aosp_15_r20/external/pytorch/torch/csrc/autograd/ |
H A D | function.h | 37 using IndexRange = std::pair<size_t, size_t>; variable 407 bool should_compute_output(std::initializer_list<IndexRange> idxs) const { in should_compute_output() 408 return std::any_of(idxs.begin(), idxs.end(), [this](IndexRange range) { in should_compute_output() 438 std::initializer_list<IndexRange> idxs) const { in task_should_compute_output() 439 return std::any_of(idxs.begin(), idxs.end(), [this](IndexRange range) { in task_should_compute_output()
|