/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/external/rust/android-crates-io/crates/taffy/src/util/ |
D | math.rs | 7 /// A trait to conveniently calculate minimums and maximums when some data may not be defined 31 (Some(l), Some(r)) => Some(l.min(r)), in maybe_min() 32 (Some(_l), None) => self, in maybe_min() 33 (None, Some(_r)) => None, in maybe_min() 40 (Some(l), Some(r)) => Some(l.max(r)), in maybe_max() 41 (Some(_l), None) => self, in maybe_max() 42 (None, Some(_r)) => None, in maybe_max() 49 (Some(base), Some(min), Some(max)) => Some(base.min(max).max(min)), in maybe_clamp() 50 (Some(base), None, Some(max)) => Some(base.min(max)), in maybe_clamp() 51 (Some(base), Some(min), None) => Some(base.max(min)), in maybe_clamp() [all …]
|
/external/mesa3d/src/gallium/frontends/rusticl/api/ |
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 …]
|
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/memchr-2.7.4/src/tests/substring/ |
D | mod.rs | 16 Seed::new("", "", Some(0), Some(0)), 17 Seed::new("", "a", Some(0), Some(1)), 18 Seed::new("", "ab", Some(0), Some(2)), 19 Seed::new("", "abc", Some(0), Some(3)), 21 Seed::new("a", "a", Some(0), Some(0)), 22 Seed::new("a", "aa", Some(0), Some(1)), 23 Seed::new("a", "ba", Some(1), Some(1)), 24 Seed::new("a", "bba", Some(2), Some(2)), 25 Seed::new("a", "bbba", Some(3), Some(3)), 26 Seed::new("a", "bbbab", Some(3), Some(3)), [all …]
|
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/memchr-2.7.4/src/tests/substring/ |
D | mod.rs | 16 Seed::new("", "", Some(0), Some(0)), 17 Seed::new("", "a", Some(0), Some(1)), 18 Seed::new("", "ab", Some(0), Some(2)), 19 Seed::new("", "abc", Some(0), Some(3)), 21 Seed::new("a", "a", Some(0), Some(0)), 22 Seed::new("a", "aa", Some(0), Some(1)), 23 Seed::new("a", "ba", Some(1), Some(1)), 24 Seed::new("a", "bba", Some(2), Some(2)), 25 Seed::new("a", "bbba", Some(3), Some(3)), 26 Seed::new("a", "bbbab", Some(3), Some(3)), [all …]
|
/external/rust/android-crates-io/crates/memchr/src/tests/substring/ |
D | mod.rs | 16 Seed::new("", "", Some(0), Some(0)), 17 Seed::new("", "a", Some(0), Some(1)), 18 Seed::new("", "ab", Some(0), Some(2)), 19 Seed::new("", "abc", Some(0), Some(3)), 21 Seed::new("a", "a", Some(0), Some(0)), 22 Seed::new("a", "aa", Some(0), Some(1)), 23 Seed::new("a", "ba", Some(1), Some(1)), 24 Seed::new("a", "bba", Some(2), Some(2)), 25 Seed::new("a", "bbba", Some(3), Some(3)), 26 Seed::new("a", "bbbab", Some(3), Some(3)), [all …]
|
/external/rust/android-crates-io/crates/pathdiff/src/ |
D | lib.rs | 24 /// assert_eq!(diff_paths("/foo/bar", "/foo/bar/baz"), Some("../".into())); 25 /// assert_eq!(diff_paths("/foo/bar/baz", "/foo/bar"), Some("baz".into())); 26 /// assert_eq!(diff_paths("/foo/bar/quux", "/foo/bar/baz"), Some("../quux".into())); 27 /// assert_eq!(diff_paths("/foo/bar/baz", "/foo/bar/quux"), Some("../baz".into())); 28 /// assert_eq!(diff_paths("/foo/bar", "/foo/bar/quux"), Some("../".into())); 30 /// assert_eq!(diff_paths("/foo/bar", "baz"), Some("/foo/bar".into())); 31 /// assert_eq!(diff_paths("/foo/bar", "/baz"), Some("../foo/bar".into())); 32 /// assert_eq!(diff_paths("foo", "bar"), Some("../foo".into())); 36 /// Some("baz".into()) 40 /// Some("baz".into()) [all …]
|
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/skrifa-0.24.1/src/outline/autohint/ |
D | style.rs | 45 Some(ix) in style_index() 143 let Some(style) = map.styles.get_mut(gid.to_u32() as usize) else { in new() localVariable 148 if let Some(last) = last_range { in new() 158 let Some(range) = STYLE_RANGES.get(ix).copied() else { in new() localVariable 163 if let Some(style_ix) = range.style.style_index() { in new() 166 last_range = Some((ix, range)); in new() 186 // For some reason, FreeType uses Hani as a default fallback style so in new() 203 if let Some(style) = shaper in new() 223 Some(metrics_ix) in metrics_index() 422 (0, Some(("CJKV ideographs", false))), in glyph_styles() [all …]
|
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/skrifa-0.24.1/src/outline/autohint/ |
D | style.rs | 45 Some(ix) in style_index() 143 let Some(style) = map.styles.get_mut(gid.to_u32() as usize) else { in new() localVariable 148 if let Some(last) = last_range { in new() 158 let Some(range) = STYLE_RANGES.get(ix).copied() else { in new() localVariable 163 if let Some(style_ix) = range.style.style_index() { in new() 166 last_range = Some((ix, range)); in new() 186 // For some reason, FreeType uses Hani as a default fallback style so in new() 203 if let Some(style) = shaper in new() 223 Some(metrics_ix) in metrics_index() 422 (0, Some(("CJKV ideographs", false))), in glyph_styles() [all …]
|
/external/zstd/tests/cli-tests/decompression/ |
D | pass-through.sh.stdout.exact | 6 some data 7 some data 8 some data 9 some data 10 some data 11 some data 12 some data 13 some data 14 some data 15 some data [all …]
|
/external/bcc/tests/cc/ |
D | dummy_proc_map.txt | 1 00400000-007c8000 r-xp 00000000 00:1b 11644523 /opt/some/path/tobinary/bi… 2 7f151476e000-7f1514779000 r-xp 00000000 00:1b 72809479 /some/other/path/tolibs/li… 3 7f1514779000-7f1514978000 ---p 0000b000 00:1b 72809479 /some/other/path/tolibs/li… 4 7f1514978000-7f1514979000 r--p 0000a000 00:1b 72809479 /some/other/path/tolibs/li… 5 7f1514979000-7f151497a000 rw-p 0000b000 00:1b 72809479 /some/other/path/tolibs/li… 6 7f1515b7e000-7f1515b7f000 rw-p 00009000 00:1b 72809418 /some/other/path/tolibs/li… 7 7f1515bad000-7f1515baf000 r-xp 00000000 00:1b 72809526 /some/other/path/tolibs/li… 8 7f1515baf000-7f1515dae000 ---p 00002000 00:1b 72809526 /some/other/path/tolibs/li… 9 7f1515dae000-7f1515daf000 r--p 00001000 00:1b 72809526 /some/other/path/tolibs/li… 10 7f1515daf000-7f1515db0000 rw-p 00002000 00:1b 72809526 /some/other/path/tolibs/li… [all …]
|
/external/rust/android-crates-io/crates/h2/src/hpack/ |
D | table.rs | 141 // static table. At some point in the future, this might not be true in index() 148 if let Some((n, true)) = statik { in index() 170 // `indices` entries to be `Some`. So, we only need to check for the in index_dynamic() 183 if let Some(pos) = self.indices[probe] { in index_dynamic() 226 if let Some(next) = self.slots[real_idx].next { in index_occupied() 237 self.update_size(header.len(), Some(index)); in index_occupied() 250 self.slots[new_real_idx].next = Some(idx); in index_occupied() 257 return if let Some(n) = statik { in index_occupied() 287 if let Some(pos) = self.indices[back] { in index_vacant() 311 Some(Pos { in index_vacant() [all …]
|
/external/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/ |
D | JwtCredentialsTest.java | 86 .setAudience("some-audience") in serialize() 87 .setIssuer("some-issuer") in serialize() 88 .setSubject("some-subject") in serialize() 109 .setAudience("some-audience") in builder_requiresPrivateKey() 110 .setIssuer("some-issuer") in builder_requiresPrivateKey() 111 .setSubject("some-subject") in builder_requiresPrivateKey() 152 .setAudience("some-audience") in jwtWithClaims_overwritesClaims() 153 .setIssuer("some-issuer") in jwtWithClaims_overwritesClaims() 154 .setSubject("some-subject") in jwtWithClaims_overwritesClaims() 164 .setAudience("some-audience2") in jwtWithClaims_overwritesClaims() [all …]
|
/external/fonttools/Tests/ufoLib/ |
D | testSupport.py | 163 "familyName": "Some Font (Family Name)", 165 "fullName": "Some Font-Regular (Postscript Full Name)", 167 "menuName": "Some Font Regular (Style Map Family Name)", 173 "copyright": "Copyright Some Foundry.", 174 "notice": "Some Font by Some Designer for Some Foundry.", 175 "trademark": "Trademark Some Foundry", 176 "license": "License info for Some Foundry.", 178 "createdBy": "Some Foundry", 179 "designer": "Some Designer", 194 "otFamilyName": "Some Font (Preferred Family Name)", [all …]
|
/external/bazelbuild-rules_rust/proto/prost/private/tests/well_known_types/ |
D | well_known_types_test.rs | 25 any: Some(Any { in test_well_known_types() 29 api: Some(Api { in test_well_known_types() 40 source_context: Some(SourceContext { in test_well_known_types() 49 method: Some(Method { in test_well_known_types() 53 mixin: Some(Mixin { in test_well_known_types() 57 compiler_version: Some(Version { in test_well_known_types() 58 major: Some(1), in test_well_known_types() 59 minor: Some(2), in test_well_known_types() 60 patch: Some(3), in test_well_known_types() 61 suffix: Some("suffix".to_string()), in test_well_known_types() [all …]
|
/external/rust/android-crates-io/crates/strum_macros/src/helpers/ |
D | type_props.rs | 50 if let Some(fst_kw) = serialize_all_kw { in get_type_properties() 54 serialize_all_kw = Some(kw); in get_type_properties() 55 output.case_style = Some(case_style); in get_type_properties() 58 if let Some(fst_kw) = ascii_case_insensitive_kw { in get_type_properties() 62 ascii_case_insensitive_kw = Some(kw); in get_type_properties() 66 if let Some(fst_kw) = use_phf_kw { in get_type_properties() 70 use_phf_kw = Some(kw); in get_type_properties() 77 if let Some(fst_kw) = crate_module_path_kw { in get_type_properties() 81 crate_module_path_kw = Some(kw); in get_type_properties() 82 output.crate_module_path = Some(crate_module_path); in get_type_properties() [all …]
|
/external/tensorflow/tensorflow/lite/tools/ |
D | tool_params_test.cc | 27 params.AddParam("some-int1", ToolParam::Create<int>(13 /*, position=0*/)); in TEST() 28 params.AddParam("some-int2", ToolParam::Create<int>(17 /*, position=0*/)); in TEST() 31 others.AddParam("some-int1", ToolParam::Create<int>(19, 5)); in TEST() 32 others.AddParam("some-bool", ToolParam::Create<bool>(true, 1)); in TEST() 35 EXPECT_EQ(19, params.Get<int>("some-int1")); in TEST() 36 EXPECT_EQ(5, params.GetPosition<int>("some-int1")); in TEST() 37 EXPECT_TRUE(params.HasValueSet<int>("some-int1")); in TEST() 39 EXPECT_EQ(17, params.Get<int>("some-int2")); in TEST() 40 EXPECT_EQ(0, params.GetPosition<int>("some-int2")); in TEST() 41 EXPECT_FALSE(params.HasValueSet<int>("some-int2")); in TEST() [all …]
|
/external/rust/android-crates-io/crates/googletest/src/matchers/ |
D | some_matcher.rs | 26 /// verify_that!(Some("Some value"), some(eq("Some value")))?; // Passes 30 /// verify_that!(None::<&str>, some(eq("Some value")))?; // Fails 34 /// verify_that!(Some("Some value"), some(eq("Some other value")))?; // Fails 41 pub fn some<Inner>(inner: Inner) -> SomeMatcher<Inner> { in some() function 57 (_, Some(t)) => { in explain_match() 87 (_, Some(t)) => { in explain_match() 116 let matcher = some(eq(1)); in some_matches_option_with_value() 118 let result = matcher.matches(Some(1)); in some_matches_option_with_value() 125 let matcher = some(eq(1)); in some_does_not_match_option_with_wrong_value() 127 let result = matcher.matches(Some(0)); in some_does_not_match_option_with_wrong_value() [all …]
|
/external/rust/android-crates-io/crates/arbitrary/src/ |
D | size_hint.rs | 59 /// If `hints` is empty, returns `(0, Some(0))`, aka the size of consuming 63 hints.iter().copied().fold((0, Some(0)), and) in and_all() 79 /// If `hints` is empty, returns `(0, Some(0))`, aka the size of consuming 83 if let Some(head) = hints.first().copied() { in or_all() 86 (0, Some(0)) in or_all() 94 assert_eq!((5, Some(5)), super::and((2, Some(2)), (3, Some(3)))); in and() 95 assert_eq!((5, None), super::and((2, Some(2)), (3, None))); in and() 96 assert_eq!((5, None), super::and((2, None), (3, Some(3)))); in and() 102 assert_eq!((2, Some(3)), super::or((2, Some(2)), (3, Some(3)))); in or() 103 assert_eq!((2, None), super::or((2, Some(2)), (3, None))); in or() [all …]
|
/external/cronet/stable/testing/merge_scripts/code_coverage/ |
D | merge_results_test.py | 31 'some': { 38 task_output_dir = 'some/task/output/dir' 39 profdata_dir = '/some/different/path/to/profdata/default.profdata' 63 input_dir = 'some/task/output/dir' 64 output_file = '/some/different/path/to/profdata/merged.profdata' 89 ('/b/some/path', ['0', '1', '2', '3'], ['summary.json']), 90 ('/b/some/path/0', [], 92 ('/b/some/path/1', [], 97 '/b/some/path/0/default-1.profdata', 98 '/b/some/path/1/default-2.profdata', [all …]
|