/aosp_15_r20/external/rust/android-crates-io/crates/ash/src/vk/ |
D | const_debugs.rs | 9 Self::HOST => Some("HOST"), in fmt() 10 Self::DEVICE => Some("DEVICE"), in fmt() 11 Self::HOST_OR_DEVICE => Some("HOST_OR_DEVICE"), in fmt() 14 if let Some(x) = name { in fmt() 24 Self::COMPATIBLE => Some("COMPATIBLE"), in fmt() 25 Self::INCOMPATIBLE => Some("INCOMPATIBLE"), in fmt() 28 if let Some(x) = name { in fmt() 57 Self::OBJECT => Some("OBJECT"), in fmt() 58 Self::BUILD_SCRATCH => Some("BUILD_SCRATCH"), in fmt() 59 Self::UPDATE_SCRATCH => Some("UPDATE_SCRATCH"), in fmt() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/regex/tests/ |
D | fowler.rs | 5 mat!(match_basic_3, r"abracadabra$", r"abracadabracadabra", Some((7, 18))); 6 mat!(match_basic_4, r"a...b", r"abababbb", Some((2, 7))); 7 mat!(match_basic_5, r"XXXXXX", r"..XXXXXX", Some((2, 8))); 8 mat!(match_basic_6, r"\)", r"()", Some((1, 2))); 9 mat!(match_basic_7, r"a]", r"a]a", Some((0, 2))); 10 mat!(match_basic_9, r"\}", r"}", Some((0, 1))); 11 mat!(match_basic_10, r"\]", r"]", Some((0, 1))); 12 mat!(match_basic_12, r"]", r"]", Some((0, 1))); 13 mat!(match_basic_15, r"^a", r"ax", Some((0, 1))); 14 mat!(match_basic_16, r"\^a", r"a^a", Some((1, 3))); [all …]
|
D | unicode.rs | 1 mat!(uni_literal, r"☃", "☃", Some((0, 3))); 2 mat!(uni_literal_plus, r"☃+", "☃", Some((0, 3))); 3 mat!(uni_literal_casei_plus, r"(?i)☃+", "☃", Some((0, 3))); 4 mat!(uni_class_plus, r"[☃Ⅰ]+", "☃", Some((0, 3))); 5 mat!(uni_one, r"\pN", "Ⅰ", Some((0, 3))); 6 mat!(uni_mixed, r"\pN+", "Ⅰ1Ⅱ2", Some((0, 8))); 7 mat!(uni_not, r"\PN+", "abⅠ", Some((0, 2))); 8 mat!(uni_not_class, r"[\PN]+", "abⅠ", Some((0, 2))); 9 mat!(uni_not_class_neg, r"[^\PN]+", "abⅠ", Some((2, 5))); 10 mat!(uni_case, r"(?i)Δ", "δ", Some((0, 2))); [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/merge/tests/ |
D | derive.rs | 26 test(S::new(Some(1)), S::new(Some(1)), S::new(Some(2))); in test_one_option_field() 27 test(S::new(Some(1)), S::new(Some(1)), S::new(None)); in test_one_option_field() 28 test(S::new(Some(2)), S::new(None), S::new(Some(2))); in test_one_option_field() 46 // left.field1 == Some(1) in test_two_option_fields() 47 // right.field1 == Some(2) in test_two_option_fields() 49 S::new(Some(1), Some(1)), in test_two_option_fields() 50 S::new(Some(1), Some(1)), in test_two_option_fields() 51 S::new(Some(2), Some(2)), in test_two_option_fields() 54 S::new(Some(1), Some(1)), in test_two_option_fields() 55 S::new(Some(1), Some(1)), in test_two_option_fields() [all …]
|
/aosp_15_r20/system/security/keystore2/tests/ |
H A D | keystore2_client_rsa_key_tests.rs | 82 let Some(key_metadata) = in create_rsa_key_and_operation() localVariable 90 if let Some(value) = key_params.digest { in create_rsa_key_and_operation() 93 if let Some(value) = key_params.padding { in create_rsa_key_and_operation() 96 if let Some(value) = key_params.mgf_digest { in create_rsa_key_and_operation() 99 if let Some(value) = key_params.block_mode { in create_rsa_key_and_operation() 103 sl.binder.createOperation(&key_metadata.key, &op_params, forced_op.0).map(Some) in create_rsa_key_and_operation() 115 let Some(op_response) = create_rsa_key_and_operation( in perform_rsa_sign_key_op_success() localVariable 119 Some(alias.to_string()), in perform_rsa_sign_key_op_success() 123 padding: Some(padding), in perform_rsa_sign_key_op_success() 124 digest: Some(digest), in perform_rsa_sign_key_op_success() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/net/ |
D | ip_number_impl.rs | 367 /// assert_eq!(IpNumber::UDP.keyword_str(), Some("UDP")); 382 0 => Some("HOPOPT"), in keyword_str() 383 1 => Some("ICMP"), in keyword_str() 384 2 => Some("IGMP"), in keyword_str() 385 3 => Some("GGP"), in keyword_str() 386 4 => Some("IPv4"), in keyword_str() 387 5 => Some("ST"), in keyword_str() 388 6 => Some("TCP"), in keyword_str() 389 7 => Some("CBT"), in keyword_str() 390 8 => Some("EGP"), in keyword_str() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/path/ |
H A D | tests.rs | 147 parent: Some(""), in test_decompositions_unix() 148 file_name: Some("foo"), in test_decompositions_unix() 149 file_stem: Some("foo"), in test_decompositions_unix() 151 file_prefix: Some("foo") in test_decompositions_unix() 169 parent: Some("/"), in test_decompositions_unix() 170 file_name: Some("foo"), in test_decompositions_unix() 171 file_stem: Some("foo"), in test_decompositions_unix() 173 file_prefix: Some("foo") in test_decompositions_unix() 180 parent: Some(""), in test_decompositions_unix() 181 file_name: Some("foo"), in test_decompositions_unix() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/path/ |
H A D | tests.rs | 147 parent: Some(""), in test_decompositions_unix() 148 file_name: Some("foo"), in test_decompositions_unix() 149 file_stem: Some("foo"), in test_decompositions_unix() 151 file_prefix: Some("foo") in test_decompositions_unix() 169 parent: Some("/"), in test_decompositions_unix() 170 file_name: Some("foo"), in test_decompositions_unix() 171 file_stem: Some("foo"), in test_decompositions_unix() 173 file_prefix: Some("foo") in test_decompositions_unix() 180 parent: Some(""), in test_decompositions_unix() 181 file_name: Some("foo"), in test_decompositions_unix() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/path/ |
H A D | tests.rs | 157 parent: Some(""), in test_decompositions_unix() 158 file_name: Some("foo"), in test_decompositions_unix() 159 file_stem: Some("foo"), in test_decompositions_unix() 161 file_prefix: Some("foo") in test_decompositions_unix() 179 parent: Some("/"), in test_decompositions_unix() 180 file_name: Some("foo"), in test_decompositions_unix() 181 file_stem: Some("foo"), in test_decompositions_unix() 183 file_prefix: Some("foo") in test_decompositions_unix() 190 parent: Some(""), in test_decompositions_unix() 191 file_name: Some("foo"), in test_decompositions_unix() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/path/ |
H A D | tests.rs | 157 parent: Some(""), in test_decompositions_unix() 158 file_name: Some("foo"), in test_decompositions_unix() 159 file_stem: Some("foo"), in test_decompositions_unix() 161 file_prefix: Some("foo") in test_decompositions_unix() 179 parent: Some("/"), in test_decompositions_unix() 180 file_name: Some("foo"), in test_decompositions_unix() 181 file_stem: Some("foo"), in test_decompositions_unix() 183 file_prefix: Some("foo") in test_decompositions_unix() 190 parent: Some(""), in test_decompositions_unix() 191 file_name: Some("foo"), in test_decompositions_unix() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/path/ |
H A D | tests.rs | 157 parent: Some(""), in test_decompositions_unix() 158 file_name: Some("foo"), in test_decompositions_unix() 159 file_stem: Some("foo"), in test_decompositions_unix() 161 file_prefix: Some("foo") in test_decompositions_unix() 179 parent: Some("/"), in test_decompositions_unix() 180 file_name: Some("foo"), in test_decompositions_unix() 181 file_stem: Some("foo"), in test_decompositions_unix() 183 file_prefix: Some("foo") in test_decompositions_unix() 190 parent: Some(""), in test_decompositions_unix() 191 file_name: Some("foo"), in test_decompositions_unix() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/tests/ |
H A D | option.rs | 11 let opt = Some(x); in test_get_ptr() 22 let opt = Some(x); in test_get_str() 52 let opt = Some(x); in test_get_resource() 61 let x = Some(()); in test_option_dance() 62 let mut y = Some(5); in test_option_dance() 75 let mut y = Some(A); in test_option_too_much_dance() 82 let x: Option<isize> = Some(1); in test_and() 83 assert_eq!(x.and(Some(2)), Some(2)); in test_and() 87 assert_eq!(x.and(Some(2)), None); in test_and() 91 const FOO: Option<isize> = Some(1); in test_and() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/ |
H A D | option.rs | 11 let opt = Some(x); in test_get_ptr() 22 let opt = Some(x); in test_get_str() 52 let opt = Some(x); in test_get_resource() 61 let x = Some(()); in test_option_dance() 62 let mut y = Some(5); in test_option_dance() 75 let mut y = Some(A); in test_option_too_much_dance() 82 let x: Option<isize> = Some(1); in test_and() 83 assert_eq!(x.and(Some(2)), Some(2)); in test_and() 87 assert_eq!(x.and(Some(2)), None); in test_and() 91 const FOO: Option<isize> = Some(1); in test_and() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/ |
H A D | option.rs | 11 let opt = Some(x); in test_get_ptr() 22 let opt = Some(x); in test_get_str() 52 let opt = Some(x); in test_get_resource() 61 let x = Some(()); in test_option_dance() 62 let mut y = Some(5); in test_option_dance() 75 let mut y = Some(A); in test_option_too_much_dance() 82 let x: Option<isize> = Some(1); in test_and() 83 assert_eq!(x.and(Some(2)), Some(2)); in test_and() 87 assert_eq!(x.and(Some(2)), None); in test_and() 91 const FOO: Option<isize> = Some(1); in test_and() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/ |
H A D | option.rs | 11 let opt = Some(x); in test_get_ptr() 22 let opt = Some(x); in test_get_str() 52 let opt = Some(x); in test_get_resource() 61 let x = Some(()); in test_option_dance() 62 let mut y = Some(5); in test_option_dance() 75 let mut y = Some(A); in test_option_too_much_dance() 82 let x: Option<isize> = Some(1); in test_and() 83 assert_eq!(x.and(Some(2)), Some(2)); in test_and() 87 assert_eq!(x.and(Some(2)), None); in test_and() 91 const FOO: Option<isize> = Some(1); in test_and() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/ |
H A D | option.rs | 11 let opt = Some(x); in test_get_ptr() 22 let opt = Some(x); in test_get_str() 52 let opt = Some(x); in test_get_resource() 61 let x = Some(()); in test_option_dance() 62 let mut y = Some(5); in test_option_dance() 75 let mut y = Some(A); in test_option_too_much_dance() 82 let x: Option<isize> = Some(1); in test_and() 83 assert_eq!(x.and(Some(2)), Some(2)); in test_and() 87 assert_eq!(x.and(Some(2)), None); in test_and() 91 const FOO: Option<isize> = Some(1); in test_and() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/drm-fourcc/src/ |
D | as_enum.rs | 116 consts::DRM_FOURCC_ABGR1555 => Some(Self::Abgr1555), in from_u32() 117 consts::DRM_FOURCC_ABGR16161616F => Some(Self::Abgr16161616f), in from_u32() 118 consts::DRM_FOURCC_ABGR2101010 => Some(Self::Abgr2101010), in from_u32() 119 consts::DRM_FOURCC_ABGR4444 => Some(Self::Abgr4444), in from_u32() 120 consts::DRM_FOURCC_ABGR8888 => Some(Self::Abgr8888), in from_u32() 121 consts::DRM_FOURCC_ARGB1555 => Some(Self::Argb1555), in from_u32() 122 consts::DRM_FOURCC_ARGB16161616F => Some(Self::Argb16161616f), in from_u32() 123 consts::DRM_FOURCC_ARGB2101010 => Some(Self::Argb2101010), in from_u32() 124 consts::DRM_FOURCC_ARGB4444 => Some(Self::Argb4444), in from_u32() 125 consts::DRM_FOURCC_ARGB8888 => Some(Self::Argb8888), in from_u32() [all …]
|
/aosp_15_r20/external/mesa3d/src/gallium/frontends/rusticl/api/ |
H A D | icd.rs | 25 clGetPlatformIDs: Some(clGetPlatformIDs), 26 clGetPlatformInfo: Some(clGetPlatformInfo), 27 clGetDeviceIDs: Some(clGetDeviceIDs), 28 clGetDeviceInfo: Some(clGetDeviceInfo), 29 clCreateContext: Some(clCreateContext), 30 clCreateContextFromType: Some(clCreateContextFromType), 31 clRetainContext: Some(clRetainContext), 32 clReleaseContext: Some(clReleaseContext), 33 clGetContextInfo: Some(clGetContextInfo), 34 clCreateCommandQueue: Some(clCreateCommandQueue), [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/ |
H A D | option.rs | 4 //! is either [`Some`] and contains a value, or [`None`], and 27 //! Some(numerator / denominator) 37 //! Some(x) => println!("Result: {x}"), 57 //! determine whether the box has a value (i.e., it is [`Some(...)`][`Some`]) or 64 //! let optional = Some(Box::new(9000)); 69 //! Some(p) => println!("has value {p}"), 78 //! [`Option`] type, handling `Some`/`None` can be tedious. The question mark 79 //! operator, [`?`], hides some of the boilerplate of propagating values 91 //! (Some(x), Some(y)) => Some(x + y), 103 //! Some(stack.pop()? + stack.pop()?) [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/ |
H A D | option.rs | 4 //! is either [`Some`] and contains a value, or [`None`], and 27 //! Some(numerator / denominator) 37 //! Some(x) => println!("Result: {x}"), 57 //! determine whether the box has a value (i.e., it is [`Some(...)`][`Some`]) or 64 //! let optional = Some(Box::new(9000)); 69 //! Some(p) => println!("has value {p}"), 78 //! [`Option`] type, handling `Some`/`None` can be tedious. The question mark 79 //! operator, [`?`], hides some of the boilerplate of propagating values 91 //! (Some(x), Some(y)) => Some(x + y), 103 //! Some(stack.pop()? + stack.pop()?) [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/ |
H A D | option.rs | 4 //! is either [`Some`] and contains a value, or [`None`], and 27 //! Some(numerator / denominator) 37 //! Some(x) => println!("Result: {x}"), 57 //! determine whether the box has a value (i.e., it is [`Some(...)`][`Some`]) or 64 //! let optional = Some(Box::new(9000)); 69 //! Some(p) => println!("has value {p}"), 78 //! [`Option`] type, handling `Some`/`None` can be tedious. The question mark 79 //! operator, [`?`], hides some of the boilerplate of propagating values 91 //! (Some(x), Some(y)) => Some(x + y), 103 //! Some(stack.pop()? + stack.pop()?) [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/ |
H A D | option.rs | 4 //! is either [`Some`] and contains a value, or [`None`], and 27 //! Some(numerator / denominator) 37 //! Some(x) => println!("Result: {x}"), 57 //! determine whether the box has a value (i.e., it is [`Some(...)`][`Some`]) or 64 //! let optional = Some(Box::new(9000)); 69 //! Some(p) => println!("has value {p}"), 78 //! [`Option`] type, handling `Some`/`None` can be tedious. The question mark 79 //! operator, [`?`], hides some of the boilerplate of propagating values 91 //! (Some(x), Some(y)) => Some(x + y), 103 //! Some(stack.pop()? + stack.pop()?) [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/ |
H A D | option.rs | 4 //! is either [`Some`] and contains a value, or [`None`], and 27 //! Some(numerator / denominator) 37 //! Some(x) => println!("Result: {x}"), 57 //! determine whether the box has a value (i.e., it is [`Some(...)`][`Some`]) or 64 //! let optional = Some(Box::new(9000)); 69 //! Some(p) => println!("has value {p}"), 78 //! [`Option`] type, handling `Some`/`None` can be tedious. The question mark 79 //! operator, [`?`], hides some of the boilerplate of propagating values 91 //! (Some(x), Some(y)) => Some(x + y), 103 //! Some(stack.pop()? + stack.pop()?) [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/vulkano/out/ |
D | formats.rs | 770 Self::R4G4_UNORM_PACK8 => Some(1), in block_size() 771 Self::R4G4B4A4_UNORM_PACK16 => Some(2), in block_size() 772 Self::B4G4R4A4_UNORM_PACK16 => Some(2), in block_size() 773 Self::R5G6B5_UNORM_PACK16 => Some(2), in block_size() 774 Self::B5G6R5_UNORM_PACK16 => Some(2), in block_size() 775 Self::R5G5B5A1_UNORM_PACK16 => Some(2), in block_size() 776 Self::B5G5R5A1_UNORM_PACK16 => Some(2), in block_size() 777 Self::A1R5G5B5_UNORM_PACK16 => Some(2), in block_size() 778 Self::R8_UNORM => Some(1), in block_size() 779 Self::R8_SNORM => Some(1), in block_size() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/tests/iter/ |
H A D | range.rs | 15 assert_eq!((0..100).size_hint(), (100, Some(100))); in test_range() 17 assert_eq!((usize::MAX - 1..usize::MAX).size_hint(), (1, Some(1))); in test_range() 18 assert_eq!((-10..-1).size_hint(), (9, Some(9))); in test_range() 19 assert_eq!((-1..-10).size_hint(), (0, Some(0))); in test_range() 21 assert_eq!((-70..58).size_hint(), (128, Some(128))); in test_range() 22 assert_eq!((-128..127).size_hint(), (255, Some(255))); in test_range() 25 (isize::MAX as usize + 2, Some(isize::MAX as usize + 2)) in test_range() 38 assert_eq!(('\u{D7FF}'..='\u{E000}').size_hint(), (2, Some(2))); in test_char_range() 40 assert_eq!(('\u{D7FF}'..'\u{E000}').size_hint(), (1, Some(1))); in test_char_range() 51 assert_eq!((AsciiChar::CapitalA..=AsciiChar::CapitalZ).size_hint(), (26, Some(26))); in test_ascii_char_range() [all …]
|