Home
last modified time | relevance | path

Searched refs:Guard (Results 1 – 25 of 111) sorted by relevance

12345

/third_party/boost/libs/optional/test/
Doptional_test_emplace.cpp31 class Guard class
35 Guard () : which_ctor(0) { } in Guard() function in Guard
36 Guard (int&, double&&) : which_ctor(1) { } in Guard() function in Guard
37 Guard (int&&, double&) : which_ctor(2) { } in Guard() function in Guard
38 Guard (int&&, double&&) : which_ctor(3) { } in Guard() function in Guard
39 Guard (int&, double&) : which_ctor(4) { } in Guard() function in Guard
40 Guard (std::string const&) : which_ctor(5) { } in Guard() function in Guard
41 Guard (std::string &) : which_ctor(6) { } in Guard() function in Guard
42 Guard (std::string &&) : which_ctor(7) { } in Guard() function in Guard
44 Guard(Guard&&);
[all …]
Doptional_test_inplace_factory.cpp28 struct Guard struct
32 Guard() : num() {} in Guard() argument
33 Guard(double num_, std::string str_) : num(num_), str(str_) {} in Guard() function
35 …friend bool operator==(const Guard& lhs, const Guard& rhs) { return lhs.num == rhs.num && lhs.str … in operator ==()
36 friend bool operator!=(const Guard& lhs, const Guard& rhs) { return !(lhs == rhs); } in operator !=()
39 Guard(const Guard&);
40 Guard& operator=(const Guard&);
46 Guard g0, g1(1.0, "one"), g2(2.0, "two"); in test_ctor()
48 boost::optional<Guard> og0 ( boost::in_place() ); in test_ctor()
49 boost::optional<Guard> og1 ( boost::in_place(1.0, "one") ); in test_ctor()
[all …]
Doptional_test_inplace_fail2.cpp28 struct Guard struct
32 Guard() : num() {} in Guard() argument
33 Guard(double num_, std::string str_) : num(num_), str(str_) {} in Guard() argument
35 …friend bool operator==(const Guard& lhs, const Guard& rhs) { return lhs.num == rhs.num && lhs.str … in operator ==()
36 friend bool operator!=(const Guard& lhs, const Guard& rhs) { return !(lhs == rhs); } in operator !=()
39 Guard(const Guard&);
40 Guard& operator=(const Guard&);
48 boost::optional<Guard> og1 ( boost::in_place<BAD_TARGET_TYPE>(1.0, "one") ); in main()
Doptional_test_inplace_fail.cpp28 struct Guard struct
32 Guard() : num() {} in Guard() function
33 Guard(double num_, std::string str_) : num(num_), str(str_) {} in Guard() function
35 …friend bool operator==(const Guard& lhs, const Guard& rhs) { return lhs.num == rhs.num && lhs.str … in operator ==()
36 friend bool operator!=(const Guard& lhs, const Guard& rhs) { return !(lhs == rhs); } in operator !=()
39 Guard(const Guard&);
40 Guard& operator=(const Guard&);
48 boost::optional<Guard> og1 ( boost::in_place(1.0, "one", excessive_param) ); in main()
Doptional_test_minimum_requirements.cpp39 class Guard class
42 explicit Guard(int) {} in Guard() function in Guard
44 Guard();
45 Guard(Guard const&);
47 Guard(Guard &&);
53 boost::optional<Guard> o; in test_guard()
/third_party/unity/extras/memory/src/
Dunity_memory.c53 } Guard; typedef
70 Guard* guard; in unity_malloc()
73 total_size = sizeof(Guard) + unity_size_round_up(size + sizeof(end)); in unity_malloc()
91 guard = (Guard*)(void*)(&unity_heap[heap_index]); in unity_malloc()
95 guard = (Guard*)UNITY_MALLOC(total_size); in unity_malloc()
109 Guard* guard = (Guard*)mem; in isOverrun()
118 Guard* guard = (Guard*)mem; in release_memory()
130 heap_index -= (sizeof(Guard) + block_size); in release_memory()
165 Guard* guard = (Guard*)oldMem; in unity_realloc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DGuardUtils.cpp31 CallInst *Guard, bool UseWC) { in makeGuardControlFlowExplicit() argument
32 OperandBundleDef DeoptOB(*Guard->getOperandBundle(LLVMContext::OB_deopt)); in makeGuardControlFlowExplicit()
33 SmallVector<Value *, 4> Args(std::next(Guard->arg_begin()), Guard->arg_end()); in makeGuardControlFlowExplicit()
35 auto *CheckBB = Guard->getParent(); in makeGuardControlFlowExplicit()
37 SplitBlockAndInsertIfThen(Guard->getArgOperand(0), Guard, true); in makeGuardControlFlowExplicit()
48 if (auto *MD = Guard->getMetadata(LLVMContext::MD_make_implicit)) in makeGuardControlFlowExplicit()
51 MDBuilder MDB(Guard->getContext()); in makeGuardControlFlowExplicit()
65 DeoptCall->setCallingConv(Guard->getCallingConv()); in makeGuardControlFlowExplicit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp284 Value *expandCheck(SCEVExpander &Expander, Instruction *Guard,
289 Instruction *Guard);
293 Instruction *Guard);
297 Instruction *Guard);
299 SCEVExpander &Expander, Instruction *Guard);
301 bool widenWidenableBranchGuardConditions(BranchInst *Guard, SCEVExpander &Expander);
400 Instruction *Guard, in expandCheck() argument
407 IRBuilder<> Builder(Guard); in expandCheck()
415 Value *LHSV = Expander.expandCodeFor(LHS, Ty, findInsertPt(Guard, {LHS})); in expandCheck()
416 Value *RHSV = Expander.expandCodeFor(RHS, Ty, findInsertPt(Guard, {RHS})); in expandCheck()
[all …]
DMakeGuardsExplicit.cpp58 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) { in turnToExplicitForm() argument
60 BasicBlock *OriginalBB = Guard->getParent(); in turnToExplicitForm()
62 makeGuardControlFlowExplicit(DeoptIntrinsic, Guard, true); in turnToExplicitForm()
65 Guard->eraseFromParent(); in turnToExplicitForm()
88 for (auto *Guard : GuardIntrinsics) in explicifyGuards() local
89 turnToExplicitForm(Guard, DeoptIntrinsic); in explicifyGuards()
/third_party/boost/boost/msm/front/
Dfunctor_row.hpp65 typedef GUARD Guard; typedef
79 return Guard()(evt,fsm,src,tgt); in guard_call()
90 typedef none Guard; typedef
101 typedef none Guard; typedef
119 typedef GUARD Guard; typedef
126 return Guard()(evt,fsm,src,tgt); in guard_call()
137 typedef none Guard; typedef
155 typedef GUARD Guard; typedef
162 return Guard()(evt,fsm,src,tgt); in guard_call()
172 typedef GUARD Guard; typedef
[all …]
/third_party/cJSON/tests/unity/extras/fixture/src/
Dunity_fixture.c176 } Guard; typedef
184 Guard* guard; in unity_malloc()
185 size_t total_size = size + sizeof(Guard) + sizeof(end); in unity_malloc()
202 guard = (Guard*)&unity_heap[heap_index]; in unity_malloc()
206 guard = (Guard*)UNITY_FIXTURE_MALLOC(total_size); in unity_malloc()
220 Guard* guard = (Guard*)mem; in isOverrun()
229 Guard* guard = (Guard*)mem; in release_memory()
236 heap_index -= (guard->size + sizeof(Guard) + sizeof(end)); in release_memory()
270 Guard* guard = (Guard*)oldMem; in unity_realloc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DPassRegistry.cpp42 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
48 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
58 sys::SmartScopedWriter<true> Guard(Lock); in registerPass() local
74 sys::SmartScopedReader<true> Guard(Lock); in enumerateWith() local
98 sys::SmartScopedWriter<true> Guard(Lock); in registerAnalysisGroup() local
119 sys::SmartScopedWriter<true> Guard(Lock); in addRegistrationListener() local
124 sys::SmartScopedWriter<true> Guard(Lock); in removeRegistrationListener() local
/third_party/boost/libs/variant2/test/
Dvariant_emplace_type.cpp69 struct Guard struct
71 explicit Guard(int) {} in Guard() argument
72 Guard(Guard&&) = delete;
184 variant<Y1, Guard> v; in main()
185 v.emplace<Guard>( 1 ); in main()
189 variant<Y2, Guard> v; in main()
190 v.emplace<Guard>( 1 ); in main()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DGsymCreator.cpp34 std::lock_guard<std::recursive_mutex> Guard(Mutex); in insertFile() local
54 std::lock_guard<std::recursive_mutex> Guard(Mutex); in encode() local
158 std::lock_guard<std::recursive_mutex> Guard(Mutex); in finalize() local
248 std::lock_guard<std::recursive_mutex> Guard(Mutex); in insertString() local
255 std::lock_guard<std::recursive_mutex> Guard(Mutex); in addFunctionInfo() local
261 std::lock_guard<std::recursive_mutex> Guard(Mutex); in forEachFunctionInfo() local
270 std::lock_guard<std::recursive_mutex> Guard(Mutex); in forEachFunctionInfo() local
/third_party/boost/boost/msm/front/euml/
Dstt_grammar.hpp34 typedef GUARD Guard; typedef
41 typename TEMP_ROW::Action,typename TEMP_ROW::Guard> type;
47 typename TEMP_ROW::Action,typename TEMP_ROW::Guard> type;
88 …w<none,typename EventGuard::Evt,none,typename ActionClass::Action,typename EventGuard::Guard> type;
94 …ename SourceGuard::Source,none,none,typename ActionClass::Action,typename SourceGuard::Guard> type;
101 none,typename EventClass::Action,typename EventClass::Guard> type;
107 ,typename Right::Action,typename Right::Guard> type;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp42 std::lock_guard<sys::Mutex> Guard(Lock); in clearAnnotationCache() local
47 std::lock_guard<sys::Mutex> Guard(Lock); in cacheAnnotationFromMD() local
73 std::lock_guard<sys::Mutex> Guard(Lock); in cacheAnnotationFromMD() local
107 std::lock_guard<sys::Mutex> Guard(Lock); in findOneNVVMAnnotation() local
121 std::lock_guard<sys::Mutex> Guard(Lock); in findAllNVVMAnnotation() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackProtector.cpp357 if (Value *Guard = TLI->getIRStackGuard(B)) in getStackGuard() local
358 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard"); in getStackGuard()
453 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); in InsertStackProtectors() local
454 CallInst *Call = B.CreateCall(GuardCheck, {Guard}); in InsertStackProtectors()
507 Value *Guard = getStackGuard(TLI, M, B); in InsertStackProtectors() local
509 Value *Cmp = B.CreateICmpEQ(Guard, LI2); in InsertStackProtectors()
/third_party/json/test/thirdparty/Fuzzer/
DFuzzerTracePC.cpp31 void TracePC::HandleTrace(uint32_t *Guard, uintptr_t PC) { in HandleTrace() argument
32 uint32_t Idx = *Guard; in HandleTrace()
263 void __sanitizer_cov_trace_pc_guard(uint32_t *Guard) { in __sanitizer_cov_trace_pc_guard() argument
265 fuzzer::TPC.HandleTrace(Guard, PC); in __sanitizer_cov_trace_pc_guard()
/third_party/boost/libs/outcome/test/
Dexpected-pass.cpp247 struct Guard struct
250 Guard() = default; argument
251 explicit Guard(std::string s, int /*unused*/ = 0) in Guard() argument
255 Guard(const Guard &) = delete;
256 Guard(Guard &&) = delete;
257 void operator=(const Guard &) = delete;
258 void operator=(Guard &&) = delete;
1518 stde::expected<Guard, int> eg; // unexpected value
1519 stde::expected<Guard, int> eh{}; // unexpected value
1520 stde::expected<Guard, int> ei{ stde::in_place }; // calls Guard{} in place
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValueMap.h264 std::unique_lock<typename Config::mutex_type> Guard;
266 Guard = std::unique_lock<typename Config::mutex_type>(*M);
277 std::unique_lock<typename Config::mutex_type> Guard;
279 Guard = std::unique_lock<typename Config::mutex_type>(*M);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DGuardUtils.h29 void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DSignals.inc226 unique_lock<SmartMutex<true>> Guard(*SignalsMutex);
233 Guard.unlock();
239 Guard.unlock();
259 sys::SmartScopedLock<true> Guard(*SignalsMutex);
265 sys::SmartScopedLock<true> Guard(*SignalsMutex);
275 sys::SmartScopedLock<true> Guard(*SignalsMutex);
285 sys::SmartScopedLock<true> Guard(*SignalsMutex);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp261 std::unique_lock<sys::Mutex> Guard(*FunctionsLock); in callExternalFunction() local
268 Guard.unlock(); in callExternalFunction()
286 Guard.unlock(); in callExternalFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/PerfJITEvents/
DPerfJITEventListener.cpp424 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyCode() local
466 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyDebug() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp57 std::lock_guard<sys::Mutex> Guard(OProfileInitializationMutex); in initialize() local

12345