Home
last modified time | relevance | path

Searched refs:CurrentState (Results 1 – 25 of 29) sorted by relevance

12

/external/protobuf/src/google/protobuf/stubs/
Donce_unittest.cc143 State CurrentState() { in CurrentState() function in google::protobuf::__anon7c1b70cc0111::OnceInitTest
186 EXPECT_EQ(INIT_NOT_STARTED, CurrentState()); in TEST_F()
188 EXPECT_EQ(INIT_DONE, CurrentState()); in TEST_F()
192 EXPECT_EQ(INIT_DONE, CurrentState()); in TEST_F()
201 EXPECT_EQ(INIT_NOT_STARTED, CurrentState()); in TEST_F()
203 EXPECT_EQ(INIT_DONE, CurrentState()); in TEST_F()
212 EXPECT_EQ(INIT_NOT_STARTED, CurrentState()); in TEST_F()
219 EXPECT_EQ(INIT_DONE, CurrentState()); in TEST_F()
229 EXPECT_EQ(INIT_NOT_STARTED, CurrentState()); in TEST_F()
244 EXPECT_EQ(INIT_STARTED, CurrentState()); in TEST_F()
[all …]
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/internal/
DCurrentStateTest.java21 import io.opencensus.implcore.internal.CurrentState.State;
36 assertThat(new CurrentState(State.ENABLED).get()).isEqualTo(State.ENABLED); in defaultState()
41 CurrentState currentState = new CurrentState(State.ENABLED); in setState()
51 CurrentState currentState = new CurrentState(State.ENABLED); in preventSettingStateAfterReadingState()
/external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
DMPITypes.h32 Request(State S) : CurrentState{S} {} in Request()
35 Id.AddInteger(CurrentState); in Profile()
39 return CurrentState == ToCompare.CurrentState;
42 const State CurrentState; variable
DMPIBugReporter.cpp100 if ((Req && !PrevReq) || (Req->CurrentState != PrevReq->CurrentState)) { in VisitNode()
DMPIChecker.cpp44 if (Req && Req->CurrentState == Request::State::Nonblocking) { in checkDoubleNonblocking()
115 if (Req.second.CurrentState == Request::State::Nonblocking) { in checkMissingWaits()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/tags/propagation/
DTagContextBinarySerializerImpl.java19 import io.opencensus.implcore.internal.CurrentState;
20 import io.opencensus.implcore.internal.CurrentState.State;
30 private final CurrentState state;
32 TagContextBinarySerializerImpl(CurrentState state) { in TagContextBinarySerializerImpl()
DTagPropagationComponentImpl.java19 import io.opencensus.implcore.internal.CurrentState;
27 public TagPropagationComponentImpl(CurrentState state) { in TagPropagationComponentImpl()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/tags/
DTagsComponentImplBase.java21 import io.opencensus.implcore.internal.CurrentState;
22 import io.opencensus.implcore.internal.CurrentState.State;
34 private final CurrentState currentState = new CurrentState(DEFAULT_STATE);
DTaggerImpl.java20 import io.opencensus.implcore.internal.CurrentState;
21 import io.opencensus.implcore.internal.CurrentState.State;
36 private final CurrentState state;
38 TaggerImpl(CurrentState state) { in TaggerImpl()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DStatsComponentImplBase.java21 import io.opencensus.implcore.internal.CurrentState;
22 import io.opencensus.implcore.internal.CurrentState.State;
34 private final CurrentState currentState = new CurrentState(DEFAULT_STATE);
DStatsManager.java22 import io.opencensus.implcore.internal.CurrentState;
23 import io.opencensus.implcore.internal.CurrentState.State;
41 private final CurrentState state;
44 StatsManager(EventQueue queue, Clock clock, CurrentState state) { in StatsManager()
/external/llvm/lib/CodeGen/
DDFAPacketizer.cpp62 InstrItins(I), CurrentState(0), DFAStateInputTable(SIT), in DFAPacketizer()
122 UnsignPair StateTrans = UnsignPair(CurrentState, InsnInput); in canReserveResources()
123 ReadTable(CurrentState); in canReserveResources()
133 UnsignPair StateTrans = UnsignPair(CurrentState, InsnInput); in reserveResources()
134 ReadTable(CurrentState); in reserveResources()
136 CurrentState = CachedTable[StateTrans]; in reserveResources()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DDFAPacketizer.cpp133 UnsignPair StateTrans = UnsignPair(CurrentState, InsnInput); in canReserveResources()
134 ReadTable(CurrentState); in canReserveResources()
143 UnsignPair StateTrans = UnsignPair(CurrentState, InsnInput); in reserveResources()
144 ReadTable(CurrentState); in reserveResources()
146 CurrentState = CachedTable[StateTrans]; in reserveResources()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/
DScopedTagContextsTest.java23 import io.opencensus.implcore.internal.CurrentState;
24 import io.opencensus.implcore.internal.CurrentState.State;
46 private final Tagger tagger = new TaggerImpl(new CurrentState(State.ENABLED));
DTagContextImplTest.java26 import io.opencensus.implcore.internal.CurrentState;
27 import io.opencensus.implcore.internal.CurrentState.State;
50 private final Tagger tagger = new TaggerImpl(new CurrentState(State.ENABLED));
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DWinException.cpp1150 int CurrentState = NullState; in emitCLRExceptionTable() local
1156 getTryAncestor(FuncInfo, CurrentState, StateChange.NewState); in emitCLRExceptionTable()
1157 while (CurrentState != StillPendingState) { in emitCLRExceptionTable()
1158 assert(CurrentState != NullState && in emitCLRExceptionTable()
1162 CurrentState, FuncletState}); in emitCLRExceptionTable()
1164 CurrentState = FuncInfo.ClrEHUnwindMap[CurrentState].TryParentState; in emitCLRExceptionTable()
1167 if (HandlerStack.back().second == CurrentState) in emitCLRExceptionTable()
1171 if (StateChange.NewState != CurrentState) { in emitCLRExceptionTable()
1176 EnteredState != CurrentState; in emitCLRExceptionTable()
1185 HandlerStack.emplace_back(CurrentStartLabel, CurrentState); in emitCLRExceptionTable()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DWinException.cpp1133 int CurrentState = NullState; in emitCLRExceptionTable() local
1139 getTryAncestor(FuncInfo, CurrentState, StateChange.NewState); in emitCLRExceptionTable()
1140 while (CurrentState != StillPendingState) { in emitCLRExceptionTable()
1141 assert(CurrentState != NullState && in emitCLRExceptionTable()
1145 CurrentState, FuncletState}); in emitCLRExceptionTable()
1147 CurrentState = FuncInfo.ClrEHUnwindMap[CurrentState].TryParentState; in emitCLRExceptionTable()
1150 if (HandlerStack.back().second == CurrentState) in emitCLRExceptionTable()
1154 if (StateChange.NewState != CurrentState) { in emitCLRExceptionTable()
1159 EnteredState != CurrentState; in emitCLRExceptionTable()
1168 HandlerStack.emplace_back(CurrentStartLabel, CurrentState); in emitCLRExceptionTable()
[all …]
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/internal/
DCurrentState.java26 public final class CurrentState { class
66 public CurrentState(State defaultState) { in CurrentState() method in CurrentState
/external/llvm/include/llvm/CodeGen/
DDFAPacketizer.h77 int CurrentState; variable
93 CurrentState = 0; in clearResources()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DDFAPacketizer.h83 int CurrentState = 0; variable
99 CurrentState = 0; in clearResources()
/external/syzkaller/vendor/google.golang.org/grpc/connectivity/
Dconnectivity.go67 CurrentState() State methodSpec
/external/deqp-deps/SPIRV-Tools/source/opt/
Dmerge_return_pass.cpp92 if (blockId == CurrentState().CurrentMergeId()) { in ProcessStructured()
116 if (blockId == CurrentState().CurrentMergeId()) { in ProcessStructured()
198 assert(CurrentState().InLoop() && "Should be in the dummy loop."); in ProcessStructuredBlock()
199 BranchToBlock(block, CurrentState().LoopMergeId()); in ProcessStructuredBlock()
Dmerge_return_pass.h280 StructuredControlState& CurrentState() { return state_.back(); } in CurrentState() function
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DMeasureToViewMapTest.java22 import io.opencensus.implcore.internal.CurrentState.State;
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dmerge_return_pass.cpp92 if (blockId == CurrentState().CurrentMergeId()) { in ProcessStructured()
116 if (blockId == CurrentState().CurrentMergeId()) { in ProcessStructured()
198 assert(CurrentState().InLoop() && "Should be in the dummy loop."); in ProcessStructuredBlock()
199 BranchToBlock(block, CurrentState().LoopMergeId()); in ProcessStructuredBlock()

12