Home
last modified time | relevance | path

Searched refs:getPrev (Results 1 – 25 of 31) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DIListNodeBaseTest.cpp22 EXPECT_EQ(nullptr, A.getPrev()); in TEST()
27 EXPECT_EQ(nullptr, TA.getPrev()); in TEST()
36 EXPECT_EQ(&B, A.getPrev()); in TEST()
38 EXPECT_EQ(nullptr, B.getPrev()); in TEST()
40 EXPECT_EQ(nullptr, C.getPrev()); in TEST()
44 EXPECT_EQ(&B, A.getPrev()); in TEST()
46 EXPECT_EQ(nullptr, B.getPrev()); in TEST()
48 EXPECT_EQ(nullptr, C.getPrev()); in TEST()
53 EXPECT_EQ(&TB, TA.getPrev()); in TEST()
55 EXPECT_EQ(nullptr, TB.getPrev()); in TEST()
[all …]
DIListBaseTest.cpp37 EXPECT_EQ(&A, S.getPrev()); in TYPED_TEST()
38 EXPECT_EQ(&S, A.getPrev()); in TYPED_TEST()
44 EXPECT_EQ(&B, S.getPrev()); in TYPED_TEST()
45 EXPECT_EQ(&A, B.getPrev()); in TYPED_TEST()
46 EXPECT_EQ(&S, A.getPrev()); in TYPED_TEST()
66 EXPECT_EQ(&B, S.getPrev()); in TYPED_TEST()
67 EXPECT_EQ(&S, B.getPrev()); in TYPED_TEST()
70 EXPECT_EQ(nullptr, A.getPrev()); in TYPED_TEST()
75 EXPECT_EQ(&S, S.getPrev()); in TYPED_TEST()
77 EXPECT_EQ(nullptr, B.getPrev()); in TYPED_TEST()
[all …]
DIListSentinelTest.cpp32 using NodeAccess::getPrev;
38 EXPECT_EQ(&S, LocalAccess::getPrev(S)); in TEST()
55 EXPECT_EQ(nullptr, LocalAccess::getPrev(N)); in TEST()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Dilist_base.h26 node_base_type &Prev = *Next.getPrev(); in insertBeforeImpl()
34 node_base_type *Prev = N.getPrev(); in removeImpl()
45 node_base_type *Prev = First.getPrev(); in removeRangeImpl()
46 node_base_type *Final = Last.getPrev(); in removeRangeImpl()
65 node_base_type &Final = *Last.getPrev(); in transferBeforeImpl()
68 First.getPrev()->setNext(&Last); in transferBeforeImpl()
69 Last.setPrev(First.getPrev()); in transferBeforeImpl()
72 node_base_type &Prev = *Next.getPrev(); in transferBeforeImpl()
Dilist_node.h63 ilist_node_impl *getPrev() { in getPrev() function
64 return static_cast<ilist_node_impl *>(node_base_type::getPrev()); in getPrev()
70 const ilist_node_impl *getPrev() const { in getPrev() function
71 return static_cast<ilist_node_impl *>(node_base_type::getPrev()); in getPrev()
182 static ilist_node_impl<OptionsT> *getPrev(ilist_node_impl<OptionsT> &N) { in getPrev() function
183 return N.getPrev(); in getPrev()
191 getPrev(const ilist_node_impl<OptionsT> &N) { in getPrev() function
192 return N.getPrev(); in getPrev()
235 bool empty() const { return this == this->getPrev(); } in empty()
Dilist_iterator.h44 template <class T> static void decrement(T *&I) { I = Access::getPrev(*I); }
48 template <class T> static void increment(T *&I) { I = Access::getPrev(*I); }
141 NodePtr = IsReverse ? NodePtr->getNext() : NodePtr->getPrev();
145 NodePtr = IsReverse ? NodePtr->getPrev() : NodePtr->getNext();
Dilist_node_base.h29 ilist_node_base *getPrev() const { return Prev; } in getPrev() function
43 ilist_node_base *getPrev() const { return PrevAndSentinel.getPointer(); } in getPrev() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
Dilist_base.h24 node_base_type &Prev = *Next.getPrev(); in insertBeforeImpl()
32 node_base_type *Prev = N.getPrev(); in removeImpl()
43 node_base_type *Prev = First.getPrev(); in removeRangeImpl()
44 node_base_type *Final = Last.getPrev(); in removeRangeImpl()
63 node_base_type &Final = *Last.getPrev(); in transferBeforeImpl()
66 First.getPrev()->setNext(&Last); in transferBeforeImpl()
67 Last.setPrev(First.getPrev()); in transferBeforeImpl()
70 node_base_type &Prev = *Next.getPrev(); in transferBeforeImpl()
Dilist_node.h62 ilist_node_impl *getPrev() { in getPrev() function
63 return static_cast<ilist_node_impl *>(node_base_type::getPrev()); in getPrev()
70 const ilist_node_impl *getPrev() const { in getPrev() function
71 return static_cast<ilist_node_impl *>(node_base_type::getPrev()); in getPrev()
189 static ilist_node_impl<OptionsT> *getPrev(ilist_node_impl<OptionsT> &N) { in getPrev() function
190 return N.getPrev(); in getPrev()
200 getPrev(const ilist_node_impl<OptionsT> &N) { in getPrev() function
201 return N.getPrev(); in getPrev()
249 bool empty() const { return this == this->getPrev(); } in empty()
Dilist_iterator.h45 template <class T> static void decrement(T *&I) { I = Access::getPrev(*I); }
50 template <class T> static void increment(T *&I) { I = Access::getPrev(*I); }
155 NodePtr = IsReverse ? NodePtr->getNext() : NodePtr->getPrev();
159 NodePtr = IsReverse ? NodePtr->getPrev() : NodePtr->getNext();
Dilist_node_base.h29 ilist_node_base *getPrev() const { return Prev; } in getPrev() function
43 ilist_node_base *getPrev() const { return PrevAndSentinel.getPointer(); } in getPrev() function
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/internal/
DConcurrentIntrusiveList.java77 element.getNext() == null && element.getPrev() == null && element != head, in addElement()
97 element.getNext() != null || element.getPrev() != null || element == head, in removeElement()
100 if (element.getPrev() == null) { in removeElement()
111 CheckerFrameworkUtils.castNonNull(element.getPrev()).setNext(null); in removeElement()
114 CheckerFrameworkUtils.castNonNull(element.getPrev()).setNext(element.getNext()); in removeElement()
115 CheckerFrameworkUtils.castNonNull(element.getNext()).setPrev(element.getPrev()); in removeElement()
172 T getPrev(); in getPrev() method
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
Dilist_node.h30 NodeTy *getPrev() { return Prev; }
31 const NodeTy *getPrev() const { return Prev; }
59 NodeTy *Prev = this->getPrev();
70 const NodeTy *Prev = this->getPrev();
Dilist.h56 static NodeTy *getPrev(NodeTy *N) { return N->getPrev(); } in getPrev() function
58 static const NodeTy *getPrev(const NodeTy *N) { return N->getPrev(); } in getPrev() function
97 return ilist_traits<NodeTy>::getPrev(Head); in ensureHead()
213 NodePtr = Traits::getPrev(NodePtr);
397 return *this->getPrev(getTail());
401 return *this->getPrev(getTail());
411 NodeTy *PrevNode = this->getPrev(CurNode);
436 NodeTy *PrevNode = this->getPrev(Node);
484 NodeTy *First = &*first, *Prev = this->getPrev(First);
485 NodeTy *Next = last.getNodePtrUnchecked(), *Last = this->getPrev(Next);
[all …]
/external/llvm/include/llvm/ADT/
Dilist.h57 static NodeTy *getPrev(NodeTy *N) { return N->getPrev(); } in getPrev() function
59 static const NodeTy *getPrev(const NodeTy *N) { return N->getPrev(); } in getPrev() function
98 return ilist_traits<NodeTy>::getPrev(Head); in ensureHead()
243 NodePtr = Traits::getPrev(NodePtr);
397 return *this->getPrev(getTail());
401 return *this->getPrev(getTail());
411 NodeTy *PrevNode = this->getPrev(CurNode);
436 NodeTy *PrevNode = this->getPrev(Node);
505 NodeTy *First = &*first, *Prev = this->getPrev(First);
506 NodeTy *Next = last.getNodePtrUnchecked(), *Last = this->getPrev(Next);
[all …]
Dilist_node.h33 NodeTy *getPrev() { return Prev; }
34 const NodeTy *getPrev() const { return Prev; }
/external/clang/test/CXX/class.access/class.friend/
Dp1.cpp126 X *getPrev() { return Prev; } // expected-note{{member is declared here}} in getPrev() function in test2::ilist_half_node
138 static X *getPrev(X *N) { return N->getPrev(); } in getPrev() function
143 static X *getPrev(X *N) { return N->getPrev(); } // \ in getPrev() function
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSlotIndexes.h61 IndexListEntry* getPrev() { return prev; } in getPrev() function
62 const IndexListEntry* getPrev() const { return prev; } in getPrev() function
281 return SlotIndex(entry().getPrev(), SlotIndex::STORE);
289 return SlotIndex(entry().getPrev(), getSlot());
383 return indexListHead->getPrev();
388 return indexListHead->getPrev();
406 return getTail()->getPrev();
411 return getTail()->getPrev();
417 IndexListEntry *prev = itr->getPrev();
660 prevEntry = nextEntry->getPrev();
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DJsrInstruction.java63 while (ih.getPrev() != null) { in physicalSuccessor()
64 ih = ih.getPrev(); in physicalSuccessor()
DInstructionList.java433 final InstructionHandle prev = ih.getPrev(); in insert()
633 final InstructionHandle prev = start.getPrev(); in move()
706 last = next.getPrev(); in remove()
743 remove(ih.getPrev(), ih.getNext()); in delete()
770 remove(from.getPrev(), to.getNext()); in delete()
818 for (InstructionHandle ih = end; ih != null; ih = ih.getPrev()) { in findInstruction2()
1110 for (InstructionHandle ih = end; ih != null; ih = ih.getPrev()) { in dispose()
DInstructionHandle.java66 public final InstructionHandle getPrev() { in getPrev() method in InstructionHandle
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DRecycler.h39 static RecyclerStruct *getPrev(const RecyclerStruct *t) { return t->Prev; }
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/internal/
DConcurrentIntrusiveListTest.java114 public FakeElement getPrev() { in getPrev() method in ConcurrentIntrusiveListTest.FakeElement
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSlotIndexes.cpp134 IndexListEntry *start = curEntry->getPrev(); in renumberIndexes()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DRecordEventsSpanImpl.java454 public RecordEventsSpanImpl getPrev() { in getPrev() method in RecordEventsSpanImpl

12