Home
last modified time | relevance | path

Searched refs:State (Results 1 – 25 of 3086) sorted by relevance

12345678910>>...124

/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DBlockVerifier.cpp15 constexpr unsigned long long mask(BlockVerifier::State S) { in mask()
19 constexpr std::size_t number(BlockVerifier::State S) { in number()
23 StringRef recordToString(BlockVerifier::State R) { in recordToString()
25 case BlockVerifier::State::BufferExtents: in recordToString()
27 case BlockVerifier::State::NewBuffer: in recordToString()
29 case BlockVerifier::State::WallClockTime: in recordToString()
31 case BlockVerifier::State::PIDEntry: in recordToString()
33 case BlockVerifier::State::NewCPUId: in recordToString()
35 case BlockVerifier::State::TSCWrap: in recordToString()
37 case BlockVerifier::State::CustomEvent: in recordToString()
[all …]
/external/llvm-project/llvm/lib/XRay/
DBlockVerifier.cpp15 constexpr unsigned long long mask(BlockVerifier::State S) { in mask()
19 constexpr std::size_t number(BlockVerifier::State S) { in number()
23 StringRef recordToString(BlockVerifier::State R) { in recordToString()
25 case BlockVerifier::State::BufferExtents: in recordToString()
27 case BlockVerifier::State::NewBuffer: in recordToString()
29 case BlockVerifier::State::WallClockTime: in recordToString()
31 case BlockVerifier::State::PIDEntry: in recordToString()
33 case BlockVerifier::State::NewCPUId: in recordToString()
35 case BlockVerifier::State::TSCWrap: in recordToString()
37 case BlockVerifier::State::CustomEvent: in recordToString()
[all …]
/external/clang/lib/Format/
DContinuationIndenter.cpp79 LineState State; in getInitialState() local
80 State.FirstIndent = FirstIndent; in getInitialState()
81 State.Column = FirstIndent; in getInitialState()
82 State.Line = Line; in getInitialState()
83 State.NextToken = Line->First; in getInitialState()
84 State.Stack.push_back(ParenState(FirstIndent, Line->Level, FirstIndent, in getInitialState()
87 State.LineContainsContinuedForLoopSection = false; in getInitialState()
88 State.StartOfStringLiteral = 0; in getInitialState()
89 State.StartOfLineLevel = 0; in getInitialState()
90 State.LowestLevelOnLine = 0; in getInitialState()
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DContainerModeling.cpp56 void printState(raw_ostream &Out, ProgramStateRef State, const char *NL,
63 void checkLiveSymbols(ProgramStateRef State, SymbolReaper &SR) const;
114 bool hasSubscriptOperator(ProgramStateRef State, const MemRegion *Reg);
115 bool frontModifiable(ProgramStateRef State, const MemRegion *Reg);
116 bool backModifiable(ProgramStateRef State, const MemRegion *Reg);
117 SymbolRef getContainerBegin(ProgramStateRef State, const MemRegion *Cont);
118 SymbolRef getContainerEnd(ProgramStateRef State, const MemRegion *Cont);
119 ProgramStateRef createContainerBegin(ProgramStateRef State,
123 ProgramStateRef createContainerEnd(ProgramStateRef State, const MemRegion *Cont,
127 ProgramStateRef setContainerData(ProgramStateRef State, const MemRegion *Cont,
[all …]
DStreamChecker.cpp91 } State; member
109 : LastOperation(L), State(S), ErrorState(ES), in StreamState()
113 assert((State == Opened || ErrorState.isNoError()) && in StreamState()
117 bool isOpened() const { return State == Opened; } in isOpened()
118 bool isClosed() const { return State == Closed; } in isClosed()
119 bool isOpenFailed() const { return State == OpenFailed; } in isOpenFailed()
124 return LastOperation == X.LastOperation && State == X.State && in operator ==()
143 ID.AddInteger(State); in Profile()
180 ProgramStateRef bindAndAssumeTrue(ProgramStateRef State, CheckerContext &C, in bindAndAssumeTrue() argument
183 State = State->BindExpr(CE, C.getLocationContext(), RetVal); in bindAndAssumeTrue()
[all …]
DTaint.cpp29 void taint::printTaint(ProgramStateRef State, raw_ostream &Out, const char *NL, in REGISTER_MAP_WITH_PROGRAMSTATE()
31 TaintMapTy TM = State->get<TaintMap>(); in REGISTER_MAP_WITH_PROGRAMSTATE()
40 void dumpTaint(ProgramStateRef State) { printTaint(State, llvm::errs()); } in dumpTaint() argument
42 ProgramStateRef taint::addTaint(ProgramStateRef State, const Stmt *S, in addTaint() argument
45 return addTaint(State, State->getSVal(S, LCtx), Kind); in addTaint()
48 ProgramStateRef taint::addTaint(ProgramStateRef State, SVal V, in addTaint() argument
52 return addTaint(State, Sym, Kind); in addTaint()
65 State->getStateManager().getStoreManager().getDefaultBinding( in addTaint()
68 return addPartialTaint(State, Sym, LCV->getRegion(), Kind); in addTaint()
73 return addTaint(State, R, Kind); in addTaint()
[all …]
DTrustNonnullChecker.cpp65 ProgramStateRef evalAssume(ProgramStateRef State, in evalAssume() argument
70 return State; in evalAssume()
74 State = addImplication(Antecedent, State, true); in evalAssume()
75 State = addImplication(Antecedent, State, false); in evalAssume()
78 return State; in evalAssume()
86 ProgramStateRef State = C.getState(); in checkPostCall() local
90 State = State->assume(*L, /*assumption=*/true); in checkPostCall()
92 C.addTransition(State); in checkPostCall()
101 ProgramStateRef State = C.getState(); in checkPostObjCMessage() local
109 State = State->assume(*L, /*assumption=*/true); in checkPostObjCMessage()
[all …]
DSmartPtrModeling.cpp51 checkRegionChanges(ProgramStateRef State,
56 void printState(raw_ostream &Out, ProgramStateRef State, const char *NL,
58 void checkLiveSymbols(ProgramStateRef State, SymbolReaper &SR) const;
104 bool isNullSmartPtr(const ProgramStateRef State, const MemRegion *ThisRegion) { in isNullSmartPtr() argument
105 const auto *InnerPointVal = State->get<TrackedRegionMap>(ThisRegion); in isNullSmartPtr()
107 !State->assume(InnerPointVal->castAs<DefinedOrUnknownSVal>(), true); in isNullSmartPtr()
127 static ProgramStateRef updateSwappedRegion(ProgramStateRef State, in updateSwappedRegion() argument
131 State = State->set<TrackedRegionMap>(Region, *RegionInnerPointerVal); in updateSwappedRegion()
133 State = State->remove<TrackedRegionMap>(Region); in updateSwappedRegion()
135 return State; in updateSwappedRegion()
[all …]
/external/llvm-project/clang/lib/Format/
DContinuationIndenter.cpp99 const ParenState *State = FindParenState(End->Next->MatchingParen); in getLengthToMatchingParen() local
100 if (State && State->BreakBeforeClosingBrace) in getLengthToMatchingParen()
239 LineState State; in getInitialState() local
240 State.FirstIndent = FirstIndent; in getInitialState()
242 State.Column = FirstStartColumn; in getInitialState()
244 State.Column = FirstIndent; in getInitialState()
251 State.Column = 0; in getInitialState()
252 State.Line = Line; in getInitialState()
253 State.NextToken = Line->First; in getInitialState()
254 State.Stack.push_back(ParenState(/*Tok=*/nullptr, FirstIndent, FirstIndent, in getInitialState()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/json/
Djson_reader.cc50 enum class State { enum in grpc_core::__anon4d835ffe0111::JsonReader
115 State state_ = State::GRPC_JSON_STATE_VALUE_BEGIN;
260 return (stack_.empty() && (state_ == State::GRPC_JSON_STATE_END || in IsComplete()
261 state_ == State::GRPC_JSON_STATE_VALUE_END)); in IsComplete()
293 case State::GRPC_JSON_STATE_OBJECT_KEY_BEGIN: in Run()
294 case State::GRPC_JSON_STATE_OBJECT_KEY_END: in Run()
295 case State::GRPC_JSON_STATE_VALUE_BEGIN: in Run()
296 case State::GRPC_JSON_STATE_VALUE_END: in Run()
297 case State::GRPC_JSON_STATE_END: in Run()
300 case State::GRPC_JSON_STATE_OBJECT_KEY_STRING: in Run()
[all …]
/external/XNNPACK/bench/
Df32-dwconv2d-chw.cc26 static void DWConv2DBenchmark(benchmark::State& state, in DWConv2DBenchmark()
149 static void dwconv2d_chw_3x3p1__neon_1x4(benchmark::State& state, const char* net) { in dwconv2d_chw_3x3p1__neon_1x4()
152 static void dwconv2d_chw_3x3p1__neon_2x4(benchmark::State& state, const char* net) { in dwconv2d_chw_3x3p1__neon_2x4()
155 static void dwconv2d_chw_3x3p1__neon_3x4(benchmark::State& state, const char* net) { in dwconv2d_chw_3x3p1__neon_3x4()
158 static void dwconv2d_chw_3x3p1__neon_4x4(benchmark::State& state, const char* net) { in dwconv2d_chw_3x3p1__neon_4x4()
161 static void dwconv2d_chw_3x3p1__neon_5x4(benchmark::State& state, const char* net) { in dwconv2d_chw_3x3p1__neon_5x4()
164 static void dwconv2d_chw_3x3p1__neon_6x4(benchmark::State& state, const char* net) { in dwconv2d_chw_3x3p1__neon_6x4()
167 static void dwconv2d_chw_3x3p1__neon_1x4_acc2(benchmark::State& state, const char* net) { in dwconv2d_chw_3x3p1__neon_1x4_acc2()
170 static void dwconv2d_chw_3x3p1__neon_1x4_acc3(benchmark::State& state, const char* net) { in dwconv2d_chw_3x3p1__neon_1x4_acc3()
173 static void dwconv2d_chw_3x3p1__neon_1x4_acc4(benchmark::State& state, const char* net) { in dwconv2d_chw_3x3p1__neon_1x4_acc4()
[all …]
/external/openscreen/osp/impl/
Dservice_publisher_impl.cc13 bool IsTransitionValid(ServicePublisher::State from, in IsTransitionValid()
14 ServicePublisher::State to) { in IsTransitionValid()
15 using State = ServicePublisher::State; in IsTransitionValid() typedef
17 case State::kStopped: in IsTransitionValid()
18 return to == State::kStarting || to == State::kStopping; in IsTransitionValid()
19 case State::kStarting: in IsTransitionValid()
20 return to == State::kRunning || to == State::kStopping || in IsTransitionValid()
21 to == State::kSuspended; in IsTransitionValid()
22 case State::kRunning: in IsTransitionValid()
23 return to == State::kSuspended || to == State::kStopping; in IsTransitionValid()
[all …]
Dservice_listener_impl.cc16 bool IsTransitionValid(ServiceListener::State from, ServiceListener::State to) { in IsTransitionValid()
18 case ServiceListener::State::kStopped: in IsTransitionValid()
19 return to == ServiceListener::State::kStarting || in IsTransitionValid()
20 to == ServiceListener::State::kStopping; in IsTransitionValid()
21 case ServiceListener::State::kStarting: in IsTransitionValid()
22 return to == ServiceListener::State::kRunning || in IsTransitionValid()
23 to == ServiceListener::State::kStopping || in IsTransitionValid()
24 to == ServiceListener::State::kSuspended; in IsTransitionValid()
25 case ServiceListener::State::kRunning: in IsTransitionValid()
26 return to == ServiceListener::State::kSuspended || in IsTransitionValid()
[all …]
Dservice_listener_impl_unittest.cc22 using State = ServiceListener::State; typedef
57 MOCK_METHOD1(SearchNow, void(State));
76 ASSERT_EQ(State::kStopped, service_listener_->state()); in TEST_F()
81 EXPECT_EQ(State::kStarting, service_listener_->state()); in TEST_F()
83 mock_delegate_.SetState(State::kRunning); in TEST_F()
84 EXPECT_EQ(State::kRunning, service_listener_->state()); in TEST_F()
89 EXPECT_EQ(State::kStopping, service_listener_->state()); in TEST_F()
91 mock_delegate_.SetState(State::kStopped); in TEST_F()
92 EXPECT_EQ(State::kStopped, service_listener_->state()); in TEST_F()
98 EXPECT_EQ(State::kStarting, service_listener_->state()); in TEST_F()
[all …]
/external/angle/src/libANGLE/capture/
Dcapture_gles_1_0_autogen.h22 angle::CallCapture CaptureAlphaFunc(const State &glState,
26 angle::CallCapture CaptureAlphaFuncx(const State &glState,
30 angle::CallCapture CaptureClearColorx(const State &glState,
36 angle::CallCapture CaptureClearDepthx(const State &glState, bool isCallValid, GLfixed depth);
37 angle::CallCapture CaptureClientActiveTexture(const State &glState,
40 angle::CallCapture CaptureClipPlanef(const State &glState,
44 angle::CallCapture CaptureClipPlanex(const State &glState,
48 angle::CallCapture CaptureColor4f(const State &glState,
54 angle::CallCapture CaptureColor4ub(const State &glState,
60 angle::CallCapture CaptureColor4x(const State &glState,
[all …]
Dcapture_gles_2_0_autogen.h22 angle::CallCapture CaptureActiveTexture(const State &glState, bool isCallValid, GLenum texture);
23 angle::CallCapture CaptureAttachShader(const State &glState,
27 angle::CallCapture CaptureBindAttribLocation(const State &glState,
32 angle::CallCapture CaptureBindBuffer(const State &glState,
36 angle::CallCapture CaptureBindFramebuffer(const State &glState,
40 angle::CallCapture CaptureBindRenderbuffer(const State &glState,
44 angle::CallCapture CaptureBindTexture(const State &glState,
48 angle::CallCapture CaptureBlendColor(const State &glState,
54 angle::CallCapture CaptureBlendEquation(const State &glState, bool isCallValid, GLenum mode);
55 angle::CallCapture CaptureBlendEquationSeparate(const State &glState,
[all …]
Dcapture_gles_3_0_autogen.h22 angle::CallCapture CaptureBeginQuery(const State &glState,
26 angle::CallCapture CaptureBeginTransformFeedback(const State &glState,
29 angle::CallCapture CaptureBindBufferBase(const State &glState,
34 angle::CallCapture CaptureBindBufferRange(const State &glState,
41 angle::CallCapture CaptureBindSampler(const State &glState,
45 angle::CallCapture CaptureBindTransformFeedback(const State &glState,
49 angle::CallCapture CaptureBindVertexArray(const State &glState,
52 angle::CallCapture CaptureBlitFramebuffer(const State &glState,
64 angle::CallCapture CaptureClearBufferfi(const State &glState,
70 angle::CallCapture CaptureClearBufferfv(const State &glState,
[all …]
Dcapture_gles_ext_autogen.h23 angle::CallCapture CaptureDrawArraysInstancedBaseInstanceANGLE(const State &glState,
31 const State &glState,
40 angle::CallCapture CaptureMultiDrawArraysInstancedBaseInstanceANGLE(const State &glState,
49 const State &glState,
61 angle::CallCapture CaptureCopyTexture3DANGLE(const State &glState,
73 angle::CallCapture CaptureCopySubTexture3DANGLE(const State &glState,
94 angle::CallCapture CaptureBlitFramebufferANGLE(const State &glState,
108 angle::CallCapture CaptureRenderbufferStorageMultisampleANGLE(const State &glState,
117 angle::CallCapture CaptureGetTexImageANGLE(const State &glState,
124 angle::CallCapture CaptureGetRenderbufferImageANGLE(const State &glState,
[all …]
/external/pdfium/core/fxge/skia/
Dfx_skia_device_embeddertest.cpp20 struct State { struct
33 void EmptyTest(CFX_SkiaDeviceDriver* driver, const State&) { in EmptyTest() argument
39 void CommonTest(CFX_SkiaDeviceDriver* driver, const State& state) { in CommonTest()
60 if (state.m_save == State::Save::kYes) in CommonTest()
62 if (state.m_clip != State::Clip::kNo) in CommonTest()
64 if (state.m_graphic == State::Graphic::kPath) { in CommonTest()
67 } else if (state.m_graphic == State::Graphic::kText) { in CommonTest()
71 if (state.m_save == State::Save::kYes) in CommonTest()
75 if (state.m_change == State::Change::kYes) { in CommonTest()
76 if (state.m_graphic == State::Graphic::kPath) in CommonTest()
[all …]
/external/llvm-project/clang/lib/Tooling/Transformer/
DParsing.cpp52 ParseState State; member
133 ParseProgress<ResultType> makeParseProgress(ParseState State, in makeParseProgress() argument
135 return ParseProgress<ResultType>{State, std::move(Result)}; in makeParseProgress()
156 static ExpectedProgress<llvm::NoneType> parseChar(char c, ParseState State) { in parseChar() argument
157 State.Input = consumeWhitespace(State.Input); in parseChar()
158 if (State.Input.empty() || State.Input.front() != c) in parseChar()
159 return makeParseError(State, in parseChar()
161 return makeParseProgress(advance(State, 1), llvm::None); in parseChar()
165 static ExpectedProgress<std::string> parseId(ParseState State) { in parseId() argument
166 State.Input = consumeWhitespace(State.Input); in parseId()
[all …]
/external/llvm-project/libcxx/benchmarks/
Dmap.bench.cpp101 void run(benchmark::State& State) const { in run()
102 for (auto _ : State) { in run()
113 void run(benchmark::State& State) const { in run()
116 while (State.KeepRunningBatch(MapSize)) { in run()
123 State.SkipWithError("Map copy not identical"); in run()
134 void run(benchmark::State& State) const { in run()
137 while (State.KeepRunningBatch(MapSize)) { in run()
144 State.SkipWithError("Map copy not identical"); in run()
155 void run(benchmark::State& State) const { in run()
157 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
[all …]
/external/gwp_asan/gwp_asan/tests/
Dcrash_handler_api.cpp29 size_t Slot = State.getNearestSlot(Addr); in metadata()
42 State.GuardedPagePool = 0x2000; in setupState()
43 State.GuardedPagePoolEnd = 0xb000; in setupState()
44 State.MaxSimultaneousAllocations = 4; // 0x3000, 0x5000, 0x7000, 0x9000. in setupState()
45 State.PageSize = 0x1000; in setupState()
80 __gwp_asan_get_metadata(&State, Metadata, ErrorPtr); in checkMetadata()
101 AllocatorState State = {}; member in CrashHandlerAPITest
109 uintptr_t UnknownPtr = reinterpret_cast<uintptr_t>(&State); in TEST_F()
111 EXPECT_FALSE(__gwp_asan_error_is_mine(&State, 0)); in TEST_F()
112 EXPECT_FALSE(__gwp_asan_error_is_mine(&State, UnknownPtr)); in TEST_F()
[all …]
/external/llvm-project/compiler-rt/lib/gwp_asan/tests/
Dcrash_handler_api.cpp29 size_t Slot = State.getNearestSlot(Addr); in metadata()
42 State.GuardedPagePool = 0x2000; in setupState()
43 State.GuardedPagePoolEnd = 0xb000; in setupState()
44 State.MaxSimultaneousAllocations = 4; // 0x3000, 0x5000, 0x7000, 0x9000. in setupState()
45 State.PageSize = 0x1000; in setupState()
80 __gwp_asan_get_metadata(&State, Metadata, ErrorPtr); in checkMetadata()
100 AllocatorState State = {}; member in CrashHandlerAPITest
108 uintptr_t UnknownPtr = reinterpret_cast<uintptr_t>(&State); in TEST_F()
110 EXPECT_FALSE(__gwp_asan_error_is_mine(&State, 0)); in TEST_F()
111 EXPECT_FALSE(__gwp_asan_error_is_mine(&State, UnknownPtr)); in TEST_F()
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DDynamicType.cpp44 DynamicTypeInfo getDynamicTypeInfo(ProgramStateRef State, const MemRegion *MR) { in getDynamicTypeInfo() argument
48 if (const DynamicTypeInfo *DTI = State->get<DynamicTypeMap>(MR)) in getDynamicTypeInfo()
63 const DynamicTypeInfo *getRawDynamicTypeInfo(ProgramStateRef State, in getRawDynamicTypeInfo() argument
65 return State->get<DynamicTypeMap>(MR); in getRawDynamicTypeInfo()
75 const DynamicCastInfo *getDynamicCastInfo(ProgramStateRef State, in getDynamicCastInfo() argument
79 const auto *Lookup = State->get<DynamicCastMap>().lookup(MR); in getDynamicCastInfo()
93 DynamicTypeInfo getClassObjectDynamicTypeInfo(ProgramStateRef State, in getClassObjectDynamicTypeInfo() argument
95 const DynamicTypeInfo *DTI = State->get<DynamicClassObjectMap>(Sym); in getClassObjectDynamicTypeInfo()
99 ProgramStateRef setDynamicTypeInfo(ProgramStateRef State, const MemRegion *MR, in setDynamicTypeInfo() argument
101 State = State->set<DynamicTypeMap>(MR->StripCasts(), NewTy); in setDynamicTypeInfo()
[all …]
/external/tcpdump/tests/
Dbfd-raw-auth-md5.out1 IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], l…
2 IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], l…
3 IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], l…
4 IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], l…
5 IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], l…
6 IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], l…
7 IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], l…
8 IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], l…
9 IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], l…
10 IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], l…
[all …]

12345678910>>...124