| /external/rust/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/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/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/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/mesa3d/src/gallium/frontends/rusticl/api/ |
| D | icd.rs | 22 clGetPlatformIDs: Some(cl_get_platform_ids), 23 clGetPlatformInfo: Some(cl_get_platform_info), 24 clGetDeviceIDs: Some(cl_get_device_ids), 25 clGetDeviceInfo: Some(cl_get_device_info), 26 clCreateContext: Some(cl_create_context), 27 clCreateContextFromType: Some(cl_create_context_from_type), 28 clRetainContext: Some(cl_retain_context), 29 clReleaseContext: Some(cl_release_context), 30 clGetContextInfo: Some(cl_get_context_info), 31 clCreateCommandQueue: Some(cl_create_command_queue), [all …]
|
| /external/rust/crates/pathdiff/src/ |
| D | lib.rs | 25 /// assert_eq!(diff_paths(bar, baz), Some("../".into())); 26 /// assert_eq!(diff_paths(baz, bar), Some("baz".into())); 27 /// assert_eq!(diff_paths(quux, baz), Some("../quux".into())); 28 /// assert_eq!(diff_paths(baz, quux), Some("../baz".into())); 29 /// assert_eq!(diff_paths(bar, quux), Some("../".into())); 31 /// assert_eq!(diff_paths(&baz, &bar.to_string()), Some("baz".into())); 32 /// assert_eq!(diff_paths(Path::new(baz), Path::new(bar).to_path_buf()), Some("baz".into())); 44 Some(PathBuf::from(path)) in diff_paths() 55 (Some(a), None) => { in diff_paths() 61 (Some(a), Some(b)) if comps.is_empty() && a == b => (), in diff_paths() [all …]
|
| /external/rust/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/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/rust/crates/arbitrary/src/ |
| D | size_hint.rs | 34 /// If `hints` is empty, returns `(0, Some(0))`, aka the size of consuming 38 hints.iter().copied().fold((0, Some(0)), and) in and_all() 54 /// If `hints` is empty, returns `(0, Some(0))`, aka the size of consuming 58 if let Some(head) = hints.first().copied() { in or_all() 61 (0, Some(0)) in or_all() 69 assert_eq!((5, Some(5)), super::and((2, Some(2)), (3, Some(3)))); in and() 70 assert_eq!((5, None), super::and((2, Some(2)), (3, None))); in and() 71 assert_eq!((5, None), super::and((2, None), (3, Some(3)))); in and() 77 assert_eq!((2, Some(3)), super::or((2, Some(2)), (3, Some(3)))); in or() 78 assert_eq!((2, None), super::or((2, Some(2)), (3, None))); in or() [all …]
|
| /external/rust/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/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/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/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/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/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/crates/managed/src/ |
| D | map.rs | 71 /// Like `Option`, but with `Some` values sorting first. 74 Some(T), enumerator 81 Some(x) => RevOption::Some(x), in from() 90 RevOption::Some(x) => Some(x), in into() 120 Some((ref k, ref v)) => Some((k, v)) in next() 140 Some((ref k, ref v)) => Some((k, v)) in next_back() 175 Bound::Included(ref key_begin) => $item < Some(key_begin.borrow()), in binary_search_by_key_range() 176 Bound::Excluded(ref key_begin) => $item <= Some(key_begin.borrow()), in binary_search_by_key_range() 206 Bound::Included(ref key_end) => $item > Some(key_end.borrow()), in binary_search_by_key_range() 207 Bound::Excluded(ref key_end) => $item >= Some(key_end.borrow()), in binary_search_by_key_range() [all …]
|
| /external/cronet/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' 60 input_dir = 'some/task/output/dir' 61 output_file = '/some/different/path/to/profdata/merged.profdata' 87 ('/b/some/path', ['0', '1', '2', '3'], ['summary.json']), 88 ('/b/some/path/0', [], 90 ('/b/some/path/1', [], 95 '/b/some/path/0/default-1.profdata', 96 '/b/some/path/1/default-2.profdata', [all …]
|
| /external/stardoc/test/testdata/attribute_defaults_test/ |
| D | input.bzl | 18 "y": attr.string(default = "why", doc = "some string"), 28 "a": attr.bool(default = False, doc = "Some bool"), 29 "b": attr.int(default = 2, doc = "Some int"), 30 "c": attr.int_list(default = [0, 1], doc = "Some int_list"), 31 "d": attr.label(default = "//foo:bar", doc = "Some label"), 34 doc = "Some label_keyed_string_dict", 36 "f": attr.label_list(default = ["//foo:bar", "//bar:baz"], doc = "Some label_list"), 37 "g": attr.string(default = "", doc = "Some string"), 40 doc = "Some string_dict", 42 "i": attr.string_list(default = ["cat", "dog"], doc = "Some string_list"), [all …]
|
| /external/rust/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 …]
|
| /external/google-smali/third_party/util/src/test/java/com/android/tools/smali/util/ |
| D | PathUtilTest.java | 39 …File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "te… in pathUtilTest1() 40 …File relativePath = new File(roots[1] + "some" + File.separatorChar + "dir" + File.separatorChar +… in pathUtilTest1() 52 …File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "te… in pathUtilTest2() 53 …File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar +… in pathUtilTest2() 67 … File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest3() 68 … File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest3() 79 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir"); in pathUtilTest4() 80 File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir"); in pathUtilTest4() 91 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir"); in pathUtilTest5() 92 … File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest5() [all …]
|
| /external/cronet/build/util/lib/results/ |
| D | result_sink_test.py | 22 'address': 'some-ip-address', 23 'auth_token': 'some-auth-token', 34 @mock.patch.dict(os.environ, {'LUCI_CONTEXT': 'some-file.json'}) 44 'http://some-ip-address/prpc/luci.resultsink.v1.Sink/ReportTestResults') 46 'ResultSink some-auth-token') 51 client.Post('some-test', result_types.PASS, 0, 'some-test-log', None) 52 client.Post('some-test', result_types.PASS, 0, 'some-test-log', None) 75 self.client.Post('some-test', result_types.PASS, 0, 'some-test-log', None) 78 'http://some-ip-address/prpc/luci.resultsink.v1.Sink/ReportTestResults') 80 self.assertEqual(data['testResults'][0]['testId'], 'some-test') [all …]
|
| /external/angle/build/util/lib/results/ |
| D | result_sink_test.py | 22 'address': 'some-ip-address', 23 'auth_token': 'some-auth-token', 34 @mock.patch.dict(os.environ, {'LUCI_CONTEXT': 'some-file.json'}) 44 'http://some-ip-address/prpc/luci.resultsink.v1.Sink/ReportTestResults') 46 'ResultSink some-auth-token') 51 client.Post('some-test', result_types.PASS, 0, 'some-test-log', None) 52 client.Post('some-test', result_types.PASS, 0, 'some-test-log', None) 75 self.client.Post('some-test', result_types.PASS, 0, 'some-test-log', None) 78 'http://some-ip-address/prpc/luci.resultsink.v1.Sink/ReportTestResults') 80 self.assertEqual(data['testResults'][0]['testId'], 'some-test') [all …]
|
| /external/rust/crates/protobuf-codegen/2.27.1/src/ |
| D | customize.rs | 56 if let Some(v) = that.expose_oneof { in update_with() 57 self.expose_oneof = Some(v); in update_with() 59 if let Some(v) = that.expose_fields { in update_with() 60 self.expose_fields = Some(v); in update_with() 62 if let Some(v) = that.generate_accessors { in update_with() 63 self.generate_accessors = Some(v); in update_with() 65 if let Some(v) = that.carllerche_bytes_for_bytes { in update_with() 66 self.carllerche_bytes_for_bytes = Some(v); in update_with() 68 if let Some(v) = that.carllerche_bytes_for_string { in update_with() 69 self.carllerche_bytes_for_string = Some(v); in update_with() [all …]
|
| /external/rust/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<T: Debug>(inner: impl Matcher<ActualT = T>) -> impl Matcher<ActualT = Option<T>> { in some() function 59 (_, Some(t)) => { in explain_match() 82 use super::some; 89 let matcher = some(eq(1)); in some_matches_option_with_value() 91 let result = matcher.matches(&Some(1)); in some_matches_option_with_value() 98 let matcher = some(eq(1)); in some_does_not_match_option_with_wrong_value() 100 let result = matcher.matches(&Some(0)); in some_does_not_match_option_with_wrong_value() [all …]
|