Home
last modified time | relevance | path

Searched refs:Stack (Results 1 – 25 of 685) sorted by relevance

12345678910>>...28

/external/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMsgPackDocument.cpp78 SmallVector<StackLevel, 4> Stack; in readFromBlob() local
82 Stack.push_back(StackLevel({Root, (size_t)-1, nullptr})); in readFromBlob()
89 if (Multi && Stack.size() == 1) { in readFromBlob()
127 if (Stack.empty()) in readFromBlob()
129 else if (Stack.back().Node.getKind() == Type::Array) { in readFromBlob()
131 auto &Array = Stack.back().Node.getArray(); in readFromBlob()
134 auto &Map = Stack.back().Node.getMap(); in readFromBlob()
135 if (!Stack.back().MapEntry) { in readFromBlob()
137 Stack.back().MapEntry = &Map[Node]; in readFromBlob()
140 *Stack.back().MapEntry = Node; in readFromBlob()
[all …]
/external/clang/lib/Format/
DContinuationIndenter.cpp84 State.Stack.push_back(ParenState(FirstIndent, Line->Level, FirstIndent, in getInitialState()
103 !(State.Stack.back().BreakBeforeClosingBrace && in canBreak()
122 if (Current.isMemberAccess() && State.Stack.back().ContainsUnwrappedBuilder) in canBreak()
127 if (Previous.is(tok::l_brace) && State.Stack.size() > 1 && in canBreak()
128 State.Stack[State.Stack.size() - 2].NestedBlockInlined && in canBreak()
129 State.Stack[State.Stack.size() - 2].HasMultipleNestedBlocks) in canBreak()
139 return !State.Stack.back().NoLineBreak; in canBreak()
147 if (State.Stack.back().BreakBeforeClosingBrace && in mustBreak()
164 State.Stack.back().BreakBeforeParameter && !Current.isTrailingComment() && in mustBreak()
177 State.Stack.back().BreakBeforeParameter) && in mustBreak()
[all …]
/external/llvm-project/llvm/lib/BinaryFormat/
DMsgPackDocument.cpp132 SmallVector<StackLevel, 4> Stack; in readFromBlob() local
136 Stack.push_back(StackLevel(Root, 0, (size_t)-1)); in readFromBlob()
143 if (Multi && Stack.size() == 1) { in readFromBlob()
182 if (Stack.empty()) in readFromBlob()
184 else if (Stack.back().Node.getKind() == Type::Array) { in readFromBlob()
186 auto &Array = Stack.back().Node.getArray(); in readFromBlob()
187 DestNode = &Array[Stack.back().Index++]; in readFromBlob()
189 auto &Map = Stack.back().Node.getMap(); in readFromBlob()
190 if (!Stack.back().MapEntry) { in readFromBlob()
192 Stack.back().MapKey = Node; in readFromBlob()
[all …]
/external/llvm-project/clang/lib/Format/
DContinuationIndenter.cpp38 const std::vector<ParenState> &Stack) { in getLengthToMatchingParen() argument
81 int MatchingStackIndex = Stack.size() - 1; in getLengthToMatchingParen()
87 while (MatchingStackIndex >= 0 && Stack[MatchingStackIndex].Tok != LBrace) in getLengthToMatchingParen()
89 return MatchingStackIndex >= 0 ? &Stack[MatchingStackIndex] : nullptr; in getLengthToMatchingParen()
254 State.Stack.push_back(ParenState(/*Tok=*/nullptr, FirstIndent, FirstIndent, in getInitialState()
267 State.Stack.back().AvoidBinPacking = true; in getInitialState()
268 State.Stack.back().BreakBeforeParameter = true; in getInitialState()
269 State.Stack.back().AlignColons = false; in getInitialState()
281 if (!Current.CanBreakBefore && !(State.Stack.back().BreakBeforeClosingBrace && in canBreak()
300 if (Current.isMemberAccess() && State.Stack.back().ContainsUnwrappedBuilder) in canBreak()
[all …]
/external/llvm/test/CodeGen/X86/
Ddeopt-bundles.ll10 ; STACKMAPS: Stack Maps: callsite 2882400015
11 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
12 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
13 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
14 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 8, .short 0, .int 1]
15 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
16 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
17 ; STACKMAPS-NEXT: Stack Maps: callsite 4242
18 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
19 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
[all …]
Ddeopt-intrinsic.ll42 ; STACKMAPS: Stack Maps: callsites:
43 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
44 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
45 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
46 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
47 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 8, .short 0, .int 1]
48 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
49 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
50 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
51 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
[all …]
Ddeopt-intrinsic-cconv.ll27 ; STACKMAPS: Stack Maps: callsites:
28 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
29 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
30 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 12 [encoding: .byte 4, .byte 8, .short 0, .int 12]
31 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
32 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 8, .short 0, .int 1]
33 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 3 [encoding: .byte 4, .byte 8, .short 0, .int 3]
34 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
/external/llvm-project/llvm/test/CodeGen/X86/
Ddeopt-bundles.ll10 ; STACKMAPS: Stack Maps: callsite 2882400015
11 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
12 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
13 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
14 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
15 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
16 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
17 ; STACKMAPS-NEXT: Stack Maps: callsite 4242
18 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
19 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
[all …]
Ddeopt-intrinsic.ll40 ; STACKMAPS: Stack Maps: callsites:
41 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
42 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
43 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
44 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
45 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
46 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
47 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
48 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
49 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
[all …]
Ddeopt-intrinsic-cconv.ll27 ; STACKMAPS: Stack Maps: callsites:
28 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
29 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
30 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 12 [encoding: .byte 4, .byte 0, .short 8, .short 0,…
31 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
32 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
33 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 3 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
34 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
/external/easymock/src/org/easymock/internal/
DLastControl.java21 import java.util.Stack;
31 …private static final ThreadLocal<Stack<Invocation>> threadToCurrentInvocation = new ThreadLocal<St…
33 …private static final ThreadLocal<Stack<IArgumentMatcher>> threadToArgumentMatcherStack = new Threa…
48 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in reportMatcher()
50 stack = new Stack<IArgumentMatcher>(); in reportMatcher()
57 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in pullMatchers()
66 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in reportAnd()
72 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in reportNot()
78 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in popLastArgumentMatchers()
98 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in reportOr()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DNamespaceMappings.java95 private Stack m_nodeStack = new Stack();
119 Stack stack; in initNamespaces()
141 final Stack stack = getPrefixStack(prefix); in lookupNamespace()
152 final Stack stack = (Stack) m_namespaces.get(prefix); in getMappingFromPrefix()
210 Stack stack; in popNamespace()
233 Stack stack; in pushNamespace()
235 if ((stack = (Stack) m_namespaces.get(prefix)) == null) in pushNamespace()
237 m_namespaces.put(prefix, stack = new Stack()); in pushNamespace()
283 Stack prefixStack = getPrefixStack(prefix); in popNamespaces()
333 clone.m_nodeStack = (NamespaceMappings.Stack) m_nodeStack.clone(); in clone()
[all …]
/external/boringssl/src/include/openssl/
Dstack.h445 template <typename Stack>
447 Stack, typename std::enable_if<StackTraits<Stack>::kIsConst>::type> {
448 static void Free(Stack *sk) { sk_free(reinterpret_cast<_STACK *>(sk)); }
453 template <typename Stack>
455 Stack, typename std::enable_if<!StackTraits<Stack>::kIsConst>::type> {
456 static void Free(Stack *sk) {
459 using Type = typename StackTraits<Stack>::Type;
468 template <typename Stack>
471 using Type = typename StackTraits<Stack>::Type;
474 StackIteratorImpl(const Stack *sk, size_t idx) : sk_(sk), idx_(idx) {}
[all …]
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dstack.h445 template <typename Stack>
447 Stack, typename std::enable_if<StackTraits<Stack>::kIsConst>::type> {
448 static void Free(Stack *sk) { sk_free(reinterpret_cast<_STACK *>(sk)); }
453 template <typename Stack>
455 Stack, typename std::enable_if<!StackTraits<Stack>::kIsConst>::type> {
456 static void Free(Stack *sk) {
459 using Type = typename StackTraits<Stack>::Type;
468 template <typename Stack>
471 using Type = typename StackTraits<Stack>::Type;
474 StackIteratorImpl(const Stack *sk, size_t idx) : sk_(sk), idx_(idx) {}
[all …]
/external/googletest/googletest/test/
Dgoogletest-output-test-golden-lin.txt7 Stack trace: (omitted)
13 Stack trace: (omitted)
47 Stack trace: (omitted)
55 Stack trace: (omitted)
69 Stack trace: (omitted)
80 Stack trace: (omitted)
90 Stack trace: (omitted)
99 Stack trace: (omitted)
109 Stack trace: (omitted)
115 Stack trace: (omitted)
[all …]
/external/clang/lib/Sema/
DSemaAttr.cpp114 if (PackStack.Stack.empty()) { in ActOnPragmaOptionsAlign()
168 if (PackStack.Stack.empty()) in ActOnPragmaPack()
205 if (Action & PSK_Pop && VtorDispStack.Stack.empty()) in ActOnPragmaMSVtorDisp()
221 Stack.push_back(Slot(StackSlotLabel, CurrentValue, CurrentPragmaLocation)); in Act()
225 auto I = llvm::find_if(llvm::reverse(Stack), [&](const Slot &x) { in Act()
229 if (I != Stack.rend()) { in Act()
232 Stack.erase(std::prev(I.base()), Stack.end()); in Act()
234 } else if (!Stack.empty()) { in Act()
236 CurrentValue = Stack.back().Value; in Act()
237 CurrentPragmaLocation = Stack.back().PragmaLocation; in Act()
[all …]
/external/skia/src/gpu/
DGrClipStack.h101 using Stack = GrTBlockList<RawElement, 1>;
173 using Stack = GrTBlockList<Mask, 1>;
207 using Stack = GrTBlockList<SaveRecord, 2>;
243 bool addElement(RawElement&& toAdd, RawElement::Stack* elements);
250 void removeElements(RawElement::Stack* elements);
253 void restoreElements(RawElement::Stack* elements);
255 void invalidateMasks(GrProxyProvider* proxyProvider, Mask::Stack* masks);
260 bool appendElement(RawElement&& toAdd, RawElement::Stack* elements);
261 void replaceWithElement(RawElement&& toAdd, RawElement::Stack* elements);
299 static GrFPResult GetSWMaskFP(GrRecordingContext* context, Mask::Stack* masks,
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStackExtensions.cs45 public static T elementAt<T>( this Stack<T> stack, int index ) in elementAt()
51 public static T peek<T>( this Stack<T> stack ) in peek()
57 public static T pop<T>( this Stack<T> stack ) in pop()
63 public static void push<T>( this Stack<T> stack, T obj ) in push()
69 public static int size<T>( this Stack<T> stack ) in size()
75 public static void setSize<T>( this Stack<T> stack, int size ) in setSize()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DWorkList.cpp37 SmallVector<WorkListUnit, 20> Stack; member in __anoncc2ef6850111::DFS
41 return !Stack.empty(); in hasWork()
45 Stack.push_back(U); in enqueue()
49 assert(!Stack.empty()); in dequeue()
50 const WorkListUnit& U = Stack.back(); in dequeue()
51 Stack.pop_back(); // This technically "invalidates" U, but we are fine. in dequeue()
93 SmallVector<WorkListUnit, 20> Stack; member in __anoncc2ef6850211::BFSBlockDFSContents
97 return !Queue.empty() || !Stack.empty(); in hasWork()
104 Stack.push_back(U); in enqueue()
109 if (!Stack.empty()) { in dequeue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DJSON.cpp629 assert(Stack.back().Ctx != Object && "Only attributes allowed here"); in valueBegin()
630 if (Stack.back().HasValue) { in valueBegin()
631 assert(Stack.back().Ctx != Singleton && "Only one value allowed here"); in valueBegin()
634 if (Stack.back().Ctx == Array) in valueBegin()
636 Stack.back().HasValue = true; in valueBegin()
648 Stack.emplace_back(); in arrayBegin()
649 Stack.back().Ctx = Array; in arrayBegin()
655 assert(Stack.back().Ctx == Array); in arrayEnd()
657 if (Stack.back().HasValue) in arrayEnd()
660 Stack.pop_back(); in arrayEnd()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DSyncDependenceAnalysis.cpp142 static void computeStackPO(BlockStack &Stack, const LoopInfo &LI, Loop *Loop, in computeStackPO() argument
145 while (!Stack.empty()) { in computeStackPO()
146 const auto *NextBB = Stack.back(); in computeStackPO()
164 Stack.push_back(NestedExitBB); in computeStackPO()
168 Stack.pop_back(); in computeStackPO()
184 Stack.push_back(SuccBB); in computeStackPO()
188 Stack.pop_back(); in computeStackPO()
198 BlockStack Stack; in computeTopLevelPO() local
199 Stack.reserve(24); // FIXME made-up number in computeTopLevelPO()
200 Stack.push_back(&F.getEntryBlock()); in computeTopLevelPO()
[all …]
/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_diag.h22 SymbolizedStack *Stack; variable
25 if (Stack) in clear()
26 Stack->ClearAll(); in clear()
30 explicit SymbolizedStackHolder(SymbolizedStack *Stack = nullptr)
31 : Stack(Stack) {} in Stack() argument
34 if (Stack != S) in reset()
36 Stack = S; in reset()
38 const SymbolizedStack *get() const { return Stack; } in get()
72 Location(const SymbolizedStackHolder &Stack) : in Location() argument
73 Kind(LK_Symbolized), SymbolizedLoc(Stack.get()) {} in Location()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.h23 SymbolizedStack *Stack; variable
26 if (Stack) in clear()
27 Stack->ClearAll(); in clear()
31 explicit SymbolizedStackHolder(SymbolizedStack *Stack = nullptr)
32 : Stack(Stack) {} in Stack() function
35 if (Stack != S) in reset()
37 Stack = S; in reset()
39 const SymbolizedStack *get() const { return Stack; } in get()
73 Location(const SymbolizedStackHolder &Stack) : in Location() argument
74 Kind(LK_Symbolized), SymbolizedLoc(Stack.get()) {} in Location()
/external/llvm-project/llvm/lib/Support/
DJSON.cpp775 assert(Stack.back().Ctx != Object && "Only attributes allowed here"); in valueBegin()
776 if (Stack.back().HasValue) { in valueBegin()
777 assert(Stack.back().Ctx != Singleton && "Only one value allowed here"); in valueBegin()
780 if (Stack.back().Ctx == Array) in valueBegin()
783 Stack.back().HasValue = true; in valueBegin()
808 if (Stack.size() > 1 && Stack.back().Ctx == Singleton) { in flushComment()
825 Stack.emplace_back(); in arrayBegin()
826 Stack.back().Ctx = Array; in arrayBegin()
832 assert(Stack.back().Ctx == Array); in arrayEnd()
834 if (Stack.back().HasValue) in arrayEnd()
[all …]
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyDebugFixup.cpp74 std::vector<StackElem> Stack; in runOnMachineFunction() local
89 for (auto &Elem : reverse(Stack)) { in runOnMachineFunction()
91 auto Depth = static_cast<unsigned>(&Elem - &Stack[0]); in runOnMachineFunction()
110 auto Prev = Stack.back(); in runOnMachineFunction()
111 Stack.pop_back(); in runOnMachineFunction()
128 Stack.push_back({MO.getReg(), nullptr}); in runOnMachineFunction()
133 assert(Stack.empty() && in runOnMachineFunction()

12345678910>>...28