Home
last modified time | relevance | path

Searched defs:Guard (Results 1 – 25 of 138) sorted by relevance

123456

/external/sdv/vsomeip/third_party/boost/optional/test/
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
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() function
Doptional_test_inplace_factory.cpp28 struct Guard struct
32 Guard() : num() {} in Guard() function
33 Guard(double num_, std::string str_) : num(num_), str(str_) {} in Guard() argument
Doptional_test_emplace.cpp32 class Guard class
36 Guard () : which_ctor(0) { } in Guard() function in Guard
37 Guard (int&, double&&) : which_ctor(1) { } in Guard() function in Guard
38 Guard (int&&, double&) : which_ctor(2) { } in Guard() function in Guard
39 Guard (int&&, double&&) : which_ctor(3) { } in Guard() function in Guard
40 Guard (int&, double&) : which_ctor(4) { } in Guard() function in Guard
41 Guard (std::string const&) : which_ctor(5) { } in Guard() function in Guard
42 Guard (std::string &) : which_ctor(6) { } in Guard() function in Guard
43 Guard (std::string &&) : which_ctor(7) { } in Guard() function in Guard
286 class Guard class
[all …]
Doptional_test_minimum_requirements.cpp40 class Guard class
43 explicit Guard(int) {} in Guard() function in Guard
/external/rust/android-crates-io/crates/cov-mark/src/
Dlib.rs184 pub struct Guard { struct
185 inner: Rc<GuardInner>,
196 impl Guard { implementation
197 pub fn new(mark: &'static str, expected_hits: Option<usize>) -> Guard { in new()
210 impl Drop for Guard { implementation
242 pub struct Guard; struct
244 impl Guard { implementation
245 pub fn new(_: &'static str, _: Option<usize>) -> Guard { in new()
/external/rust/android-crates-io/crates/arc-swap/src/
Daccess.rs107 type Guard: Deref<Target = T>; typedef
113 fn load(&self) -> Self::Guard; in load()
117 type Guard = A::Guard; typedef
118 fn load(&self) -> Self::Guard { in load()
124 type Guard = DynGuard<T>; typedef
126 fn load(&self) -> Self::Guard { in load()
132 type Guard = DynGuard<T>; typedef
134 fn load(&self) -> Self::Guard { in load()
140 type Guard = DynGuard<T>; typedef
142 fn load(&self) -> Self::Guard { in load()
[all …]
Das_raw.rs46 impl<'a, T: RefCnt> Sealed for &'a Guard<T> {} implementation
47 impl<'a, T: RefCnt> AsRaw<T::Base> for &'a Guard<T> { implementation
53 impl<T: RefCnt> Sealed for Guard<T> {} implementation
54 impl<T: RefCnt> AsRaw<T::Base> for Guard<T> { implementation
/external/pytorch/c10/util/
DDynamicCounter.cpp35 struct DynamicCounter::Guard { struct in c10::monitor::DynamicCounter
36 Guard(std::string_view key, Callback&& getCounterCallback) in Guard() argument
40 [](auto& backends) { return backends; })} { in __anon224690950302()
55 ~Guard() { in ~Guard()
65 std::string key_;
66 Callback getCounterCallback_;
67 DynamicCounterBackends backends_;
/external/swiftshader/third_party/llvm-16.0/llvm/lib/IR/
DPassRegistry.cpp36 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
41 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
50 sys::SmartScopedWriter<true> Guard(Lock); in registerPass() local
66 sys::SmartScopedReader<true> Guard(Lock); in enumerateWith() local
90 sys::SmartScopedWriter<true> Guard(Lock); in registerAnalysisGroup() local
111 sys::SmartScopedWriter<true> Guard(Lock); in addRegistrationListener() local
116 sys::SmartScopedWriter<true> Guard(Lock); in removeRegistrationListener() local
/external/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
/external/llvm/lib/IR/
DPassRegistry.cpp38 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
44 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
54 sys::SmartScopedWriter<true> Guard(Lock); in registerPass() local
70 sys::SmartScopedReader<true> Guard(Lock); in enumerateWith() local
94 sys::SmartScopedWriter<true> Guard(Lock); in registerAnalysisGroup() local
117 sys::SmartScopedWriter<true> Guard(Lock); in addRegistrationListener() local
122 sys::SmartScopedWriter<true> Guard(Lock); in removeRegistrationListener() local
/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/GSYM/
DGsymCreator.cpp39 std::lock_guard<std::mutex> Guard(Mutex); in insertFile() local
59 std::lock_guard<std::mutex> Guard(Mutex); in encode() local
192 std::lock_guard<std::mutex> Guard(Mutex); in finalize() local
309 std::lock_guard<std::mutex> Guard(Mutex); in insertString() local
325 std::lock_guard<std::mutex> Guard(Mutex); in addFunctionInfo() local
332 std::lock_guard<std::mutex> Guard(Mutex); in forEachFunctionInfo() local
341 std::lock_guard<std::mutex> Guard(Mutex); in forEachFunctionInfo() local
349 std::lock_guard<std::mutex> Guard(Mutex); in getNumFunctionInfos() local
360 std::lock_guard<std::mutex> Guard(Mutex); in hasFunctionInfoForAddress() local
/external/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
/external/rust/android-crates-io/crates/crossbeam-epoch/src/
Dguard.rs69 pub struct Guard { struct
73 impl Guard { implementation
411 impl Drop for Guard { implementation
420 impl fmt::Debug for Guard { implementation
/external/pytorch/torch/_dynamo/
Dguards.py380 def get_verbose_code_part(code_part: str, guard: Guard) -> str:
394 code_parts: Union[str | List[str]], guard: Guard
1111 def get_guard_manager(self, guard: Guard):
1155 def arg_ref(self, guard: Union[str, Guard]) -> str: argument
1170 def _guard_on_attribute(self, guard: Guard, attr_name: str, guard_fn):
1179 def HASATTR(self, guard: Guard):
1238 def NOT_PRESENT_IN_GENERIC_DICT(self, guard: Guard, attr=None) -> None:
1258 def TYPE_MATCH(self, guard: Guard) -> None:
1272 def DICT_VERSION(self, guard: Guard):
1289 def DICT_CONTAINS(self, guard: Guard, key: str, invert: bool):
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/src/
Dunwind.rs30 struct Guard { struct
34 impl Drop for Guard { argument
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/src/
Dunwind.rs30 struct Guard { struct
34 impl Drop for Guard { argument
/external/rust/cxx/src/
Dunwind.rs30 struct Guard { struct
34 impl Drop for Guard { argument
/external/rust/android-crates-io/crates/futures-util/src/io/
Dread_to_end.rs27 struct Guard<'a> { struct
32 impl Drop for Guard<'_> { argument
/external/rust/android-crates-io/crates/spin/benches/
Dmutex.rs11 type Guard<'a>: DerefMut<Target = T> where Self: 'a; typedef
17 type Guard<'a> = spin::mutex::SpinMutexGuard<'a, T> where Self: 'a; typedef
23 type Guard<'a> = spin::mutex::TicketMutexGuard<'a, T> where Self: 'a; typedef
29 type Guard<'a> = std::sync::MutexGuard<'a, T> where Self: 'a; typedef
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Debuginfod/
DDebuginfod.cpp282 std::lock_guard<std::mutex> Guard(QueueMutex); in push() local
290 std::unique_lock<std::mutex> Guard(QueueMutex); in pop() local
294 std::lock_guard<std::mutex> Guard(QueueMutex); in pop() local
312 std::lock_guard<sys::Mutex> Guard(UpdateMutex); in update() local
377 std::lock_guard<std::mutex> Guard(IteratorMutex); in findBinaries() local
423 std::unique_lock<std::mutex> Guard(IteratorMutex); in findBinaries() local
432 std::shared_lock<sys::RWMutex> Guard(BinariesMutex); in getBinaryPath() local
444 std::shared_lock<sys::RWMutex> Guard(DebugBinariesMutex); in getDebugBinaryPath() local
/external/rust/android-crates-io/crates/once_cell/src/
Dimp_pl.rs122 struct Guard<'a> { struct
127 impl<'a> Drop for Guard<'a> { implementation
/external/guava/guava/src/com/google/common/util/concurrent/
DMonitor.java307 public abstract static class Guard { class in Monitor
320 protected Guard(Monitor monitor) { in Guard() method in Monitor.Guard
/external/rust/android-crates-io/crates/critical-section/src/
Dlib.rs234 struct Guard { in with() struct
235 state: RestoreState, in with()
238 impl Drop for Guard { in with() implementation

123456