Home
last modified time | relevance | path

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

12345678910>>...30

/aosp_15_r20/external/rust/android-crates-io/crates/arc-swap/src/
Daccess.rs106 type Guard: Deref<Target = T>; typedef
112 fn load(&self) -> Self::Guard; in load()
116 type Guard = A::Guard; typedef
117 fn load(&self) -> Self::Guard { in load()
123 type Guard = DynGuard<T>; typedef
125 fn load(&self) -> Self::Guard { in load()
131 type Guard = DynGuard<T>; typedef
133 fn load(&self) -> Self::Guard { in load()
139 type Guard = DynGuard<T>; typedef
141 fn load(&self) -> Self::Guard { in load()
[all …]
Dlib.rs163 pub struct Guard<T: RefCnt, S: Strategy<T> = DefaultStrategy> { struct
167 impl<T: RefCnt, S: Strategy<T>> Guard<T, S> { argument
202 impl<T: RefCnt, S: Strategy<T>> Deref for Guard<T, S> { implementation
210 impl<T: RefCnt, S: Strategy<T>> From<T> for Guard<T, S> { implementation
216 impl<T: Default + RefCnt, S: Strategy<T>> Default for Guard<T, S> { implementation
222 impl<T: Debug + RefCnt, S: Strategy<T>> Debug for Guard<T, S> { implementation
228 impl<T: Display + RefCnt, S: Strategy<T>> Display for Guard<T, S> { implementation
/aosp_15_r20/external/pytorch/torch/_dynamo/
H A 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 …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/optional/test/
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_inplace_fail.cpp28 struct Guard struct
32 Guard() : num() {} in Guard() argument
33 Guard(double num_, std::string str_) : num(num_), str(str_) {} in Guard() argument
Doptional_test_inplace_fail2.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_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
/aosp_15_r20/external/rust/android-crates-io/crates/cov-mark/src/
Dlib.rs184 pub struct Guard { struct
185 inner: Rc<GuardInner>,
196 impl Guard { impl
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 { impl
245 pub fn new(_: &'static str, _: Option<usize>) -> Guard { in new()
/aosp_15_r20/external/pytorch/c10/util/
H A DDynamicCounter.cpp35 struct DynamicCounter::Guard { struct in c10::monitor::DynamicCounter
36 Guard(std::string_view key, Callback&& getCounterCallback) in Guard() function
40 [](auto& backends) { return backends; })} { in __anon5cf5b6150302()
55 ~Guard() { in ~Guard()
65 std::string key_;
66 Callback getCounterCallback_;
67 DynamicCounterBackends backends_;
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/GSYM/
H A 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
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/IR/
H A 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
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A 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
/aosp_15_r20/external/llvm/lib/IR/
H A 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
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
H A 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
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/
H A Dinto_iter.rs79 struct Guard<'a, T, A: Allocator> { in try_fold() struct
80 deque: &'a mut VecDeque<T, A>, in try_fold()
82 consumed: usize, in try_fold()
85 impl<'a, T, A: Allocator> Drop for Guard<'a, T, A> { in try_fold() implementation
203 struct Guard<'a, T, A: Allocator> { in try_rfold() struct
204 deque: &'a mut VecDeque<T, A>, in try_rfold()
206 consumed: usize, in try_rfold()
209 impl<'a, T, A: Allocator> Drop for Guard<'a, T, A> { in try_rfold() implementation
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/
H A Dinto_iter.rs79 struct Guard<'a, T, A: Allocator> { in try_fold() struct
80 deque: &'a mut VecDeque<T, A>, in try_fold()
82 consumed: usize, in try_fold()
85 impl<'a, T, A: Allocator> Drop for Guard<'a, T, A> { in try_fold() implementation
203 struct Guard<'a, T, A: Allocator> { in try_rfold() struct
204 deque: &'a mut VecDeque<T, A>, in try_rfold()
206 consumed: usize, in try_rfold()
209 impl<'a, T, A: Allocator> Drop for Guard<'a, T, A> { in try_rfold() implementation
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/
H A Dinto_iter.rs79 struct Guard<'a, T, A: Allocator> { in try_fold() struct
80 deque: &'a mut VecDeque<T, A>, in try_fold()
82 consumed: usize, in try_fold()
85 impl<'a, T, A: Allocator> Drop for Guard<'a, T, A> { in try_fold() implementation
203 struct Guard<'a, T, A: Allocator> { in try_rfold() struct
204 deque: &'a mut VecDeque<T, A>, in try_rfold()
206 consumed: usize, in try_rfold()
209 impl<'a, T, A: Allocator> Drop for Guard<'a, T, A> { in try_rfold() implementation
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/
H A Dinto_iter.rs79 struct Guard<'a, T, A: Allocator> { in try_fold() struct
80 deque: &'a mut VecDeque<T, A>, in try_fold()
82 consumed: usize, in try_fold()
85 impl<'a, T, A: Allocator> Drop for Guard<'a, T, A> { in try_fold() implementation
203 struct Guard<'a, T, A: Allocator> { in try_rfold() struct
204 deque: &'a mut VecDeque<T, A>, in try_rfold()
206 consumed: usize, in try_rfold()
209 impl<'a, T, A: Allocator> Drop for Guard<'a, T, A> { in try_rfold() implementation
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/
H A Dinto_iter.rs79 struct Guard<'a, T, A: Allocator> { in try_fold() struct
80 deque: &'a mut VecDeque<T, A>, in try_fold()
82 consumed: usize, in try_fold()
85 impl<'a, T, A: Allocator> Drop for Guard<'a, T, A> { in try_fold() implementation
203 struct Guard<'a, T, A: Allocator> { in try_rfold() struct
204 deque: &'a mut VecDeque<T, A>, in try_rfold()
206 consumed: usize, in try_rfold()
209 impl<'a, T, A: Allocator> Drop for Guard<'a, T, A> { in try_rfold() implementation
/aosp_15_r20/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
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Debuginfod/
H A 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
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sync/
H A Dpoison.rs42 pub fn guard(&self) -> LockResult<Guard> { in guard()
52 pub fn done(&self, guard: &Guard) { in done()
60 pub fn done(&self, _guard: &Guard) {} in done()
82 pub struct Guard { struct
84 panicking: bool,
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sync/
H A Dpoison.rs42 pub fn guard(&self) -> LockResult<Guard> { in guard()
52 pub fn done(&self, guard: &Guard) { in done()
60 pub fn done(&self, _guard: &Guard) {} in done()
82 pub struct Guard { struct
84 panicking: bool,
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/sync/
H A Dpoison.rs42 pub fn guard(&self) -> LockResult<Guard> { in guard()
52 pub fn done(&self, guard: &Guard) { in done()
60 pub fn done(&self, _guard: &Guard) {} in done()
82 pub struct Guard { struct
84 panicking: bool,
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sync/
H A Dpoison.rs42 pub fn guard(&self) -> LockResult<Guard> { in guard()
52 pub fn done(&self, guard: &Guard) { in done()
60 pub fn done(&self, _guard: &Guard) {} in done()
82 pub struct Guard { struct
84 panicking: bool,

12345678910>>...30