Home
last modified time | relevance | path

Searched defs:Key (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/third_party/skia/m133/src/text/gpu/
DTextBlob.h58 struct Key { struct
81 bool operator==(const Key& other) const; argument
/third_party/rust/crates/log/src/kv/
Dkey.rs11 fn to_key(&self) -> Key; in to_key()
18 fn to_key(&self) -> Key { in to_key()
23 impl<'k> ToKey for Key<'k> { implementation
24 fn to_key(&self) -> Key { in to_key()
30 fn to_key(&self) -> Key { in to_key()
37 pub struct Key<'k> { struct
41 impl<'k> Key<'k> { impl
53 impl<'k> fmt::Debug for Key<'k> { implementation
59 impl<'k> fmt::Display for Key<'k> { implementation
65 impl<'k> hash::Hash for Key<'k> { implementation
[all …]
/third_party/skia/src/pdf/
DSkPDFGradientShader.h25 struct Key { struct
37 uint32_t operator()(const Key& k) const { return k.fHash; } in operator() argument
/third_party/skia/m133/src/pdf/
DSkPDFGradientShader.h33 struct Key { struct
45 uint32_t operator()(const Key& k) const { return k.fHash; } in operator() argument
/third_party/skia/src/gpu/vk/
DGrVkSamplerYcbcrConversion.h26 struct Key { struct
27 Key() : fVkFormat(VK_FORMAT_UNDEFINED), fExternalFormat(0), fConversionKey(0) {} in Key() argument
28 Key(VkFormat vkFormat, uint64_t externalFormat, uint8_t conversionKey) { in Key() function
37 uint8_t fConversionKey; argument
39 bool operator==(const Key& that) const { argument
DGrVkSampler.h29 struct Key { struct
30 Key(uint8_t samplerKey, const GrVkSamplerYcbcrConversion::Key& ycbcrKey) { in Key() function
37 uint8_t fSamplerKey; argument
38 GrVkSamplerYcbcrConversion::Key fYcbcrKey; argument
/third_party/skia/src/core/
DSkResourceCache.h31 struct Key { struct
51 bool operator==(const Key& other) const { argument
75 typedef SkResourceCache::Key Key; argument
DSkVMBlitter.h43 struct Key { struct
57 bool operator==(const Key& that) const; argument
/third_party/skia/m133/src/core/
DSkResourceCache.h33 struct Key { struct
53 bool operator==(const Key& other) const { argument
77 typedef SkResourceCache::Key Key; argument
/third_party/rust/rust/src/tools/clippy/tests/ui/
Dmut_key.rs8 struct Key(AtomicUsize); struct
10 impl Clone for Key { implementation
16 impl PartialEq for Key { implementation
22 impl Eq for Key {} implementation
24 impl Hash for Key { implementation
30 fn should_not_take_this_arg(m: &mut HashMap<Key, usize>, _n: usize) -> HashSet<Key> { in should_not_take_this_arg()
35 fn this_is_ok(_m: &mut HashMap<usize, Key>) {} in this_is_ok() argument
42 fn raw_ptr_is_ok(_m: &mut HashMap<*const Key, ()>) {} in raw_ptr_is_ok()
43 fn raw_mut_ptr_is_ok(_m: &mut HashMap<*mut Key, ()>) {} in raw_mut_ptr_is_ok()
58 fn tuples_bad<U>(_m: &mut HashMap<(Key, U), bool>) {} in tuples_bad()
Dclone_on_copy_impl.rs6 pub struct Key<T> { struct
13 impl<T> Copy for Key<T> {} argument
15 impl<T> Clone for Key<T> { implementation
/third_party/rust/rust/tests/ui/threads-sendsync/
Dissue-43733-2.rs8 struct Key<T> { struct
14 impl<T> Key<T> { impl
/third_party/skia/m133/src/gpu/ganesh/vk/
DGrVkSamplerYcbcrConversion.h33 struct Key { struct
35 Key(VkFormat vkFormat, uint64_t externalFormat, uint32_t conversionKey) { in Key() function
42 uint32_t fConversionKey = 0; argument
45 bool operator==(const Key& that) const { argument
DGrVkSampler.h40 struct Key { struct
41 Key(uint32_t samplerKey, const GrVkSamplerYcbcrConversion::Key& ycbcrKey) { in Key() argument
45 GrVkSamplerYcbcrConversion::Key fYcbcrKey; argument
46 uint32_t fSamplerKey; argument
49 bool operator==(const Key& that) const { argument
/third_party/skia/src/gpu/text/
DGrTextBlob.h186 struct Key { struct
211 bool operator==(const Key& other) const; argument
/third_party/rust/rust/library/std/src/sys/solid/
Dthread_local_key.rs1 pub type Key = usize; typedef
4 pub unsafe fn create(_dtor: Option<unsafe extern "C" fn(*mut u8)>) -> Key { in create()
9 pub unsafe fn set(_key: Key, _value: *mut u8) { in set()
19 pub unsafe fn destroy(_key: Key) { in destroy()
/third_party/rust/rust/library/std/src/sys/unsupported/
Dthread_local_key.rs1 pub type Key = usize; typedef
4 pub unsafe fn create(_dtor: Option<unsafe extern "C" fn(*mut u8)>) -> Key { in create()
9 pub unsafe fn set(_key: Key, _value: *mut u8) { in set()
19 pub unsafe fn destroy(_key: Key) { in destroy()
/third_party/rust/rust/library/std/src/sys/sgx/
Dthread_local_key.rs3 pub type Key = usize; typedef
6 pub unsafe fn create(dtor: Option<unsafe extern "C" fn(*mut u8)>) -> Key { in create()
11 pub unsafe fn set(key: Key, value: *mut u8) { in set()
21 pub unsafe fn destroy(key: Key) { in destroy()
/third_party/rust/rust/library/std/src/sys/common/thread_local/
Dstatic_local.rs78 pub struct Key<T> { struct
79 inner: LazyKeyInner<T>, argument
82 unsafe impl<T> Sync for Key<T> {} implementation
84 impl<T> fmt::Debug for Key<T> { implementation
90 impl<T> Key<T> { impl
Dos_local.rs93 pub struct Key<T> { struct
95 os: OsStaticKey, argument
99 impl<T> fmt::Debug for Key<T> { implementation
105 unsafe impl<T> Sync for Key<T> {} implementation
112 impl<T: 'static> Key<T> { impl
/third_party/rust/rust/library/std/src/sys/unix/
Dthread_local_key.rs5 pub type Key = libc::pthread_key_t; typedef
8 pub unsafe fn create(dtor: Option<unsafe extern "C" fn(*mut u8)>) -> Key { in create()
15 pub unsafe fn set(key: Key, value: *mut u8) { in set()
26 pub unsafe fn destroy(key: Key) { in destroy()
/third_party/rust/rust/compiler/rustc_middle/src/query/
Dkeys.rs24 pub trait Key: Sized { trait
58 impl Key for () { impl
99 impl<'tcx> Key for (Ty<'tcx>, Option<ty::PolyExistentialTraitRef<'tcx>>) { impl
186 impl Key for (DefId, DefId) { impl
194 impl<'tcx> Key for (ty::Instance<'tcx>, LocalDefId) { impl
202 impl Key for (DefId, LocalDefId) { impl
210 impl Key for (LocalDefId, DefId) { impl
218 impl Key for (LocalDefId, LocalDefId) { impl
226 impl Key for (DefId, Ident) { impl
239 impl Key for (LocalDefId, LocalDefId, Ident) { impl
[all …]
/third_party/rust/rust/tests/ui/traits/
Dassoc-type-in-supertrait.rs9 type Key; typedef
13 type Key = i32; typedef
16 fn sum_foo<F:Foo<Key=i32>>(f: F) -> i32 { in sum_foo()
/third_party/skia/tools/gpu/
DMemoryCache.h54 struct Key { struct
56 Key(const SkData& key) : fKey(SkData::MakeWithCopy(key.data(), key.size())) {} in Key() argument
58 Key& operator=(const Key&) = default; argument
63 sk_sp<const SkData> fKey; argument
/third_party/skia/m133/tools/gpu/
DMemoryCache.h54 struct Key { struct
56 Key(const SkData& key) : fKey(SkData::MakeWithCopy(key.data(), key.size())) {} in Key() argument
58 Key& operator=(const Key&) = default; argument
63 sk_sp<const SkData> fKey; argument

12345678910>>...15