| /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 | 34 Self::HOST => Some("HOST"), in fmt() 35 Self::DEVICE => Some("DEVICE"), in fmt() 36 Self::HOST_OR_DEVICE => Some("HOST_OR_DEVICE"), in fmt() 39 if let Some(x) = name { in fmt() 49 Self::COMPATIBLE => Some("COMPATIBLE"), in fmt() 50 Self::INCOMPATIBLE => Some("INCOMPATIBLE"), in fmt() 53 if let Some(x) = name { in fmt() 78 Self::OBJECT => Some("OBJECT"), in fmt() 79 Self::BUILD_SCRATCH => Some("BUILD_SCRATCH"), in fmt() 80 Self::UPDATE_SCRATCH => Some("UPDATE_SCRATCH"), in fmt() [all …]
|
| /external/rust/crates/vulkano/src/ |
| D | format.rs | 195 R4G4UnormPack8 => {vk: R4G4_UNORM_PACK8, bdim: (1, 1), size: Some(1), ty: Float}, 196 R4G4B4A4UnormPack16 => {vk: R4G4B4A4_UNORM_PACK16, bdim: (1, 1), size: Some(2), ty: Float}, 197 B4G4R4A4UnormPack16 => {vk: B4G4R4A4_UNORM_PACK16, bdim: (1, 1), size: Some(2), ty: Float}, 198 R5G6B5UnormPack16 => {vk: R5G6B5_UNORM_PACK16, bdim: (1, 1), size: Some(2), ty: Float}, 199 B5G6R5UnormPack16 => {vk: B5G6R5_UNORM_PACK16, bdim: (1, 1), size: Some(2), ty: Float}, 200 R5G5B5A1UnormPack16 => {vk: R5G5B5A1_UNORM_PACK16, bdim: (1, 1), size: Some(2), ty: Float}, 201 B5G5R5A1UnormPack16 => {vk: B5G5R5A1_UNORM_PACK16, bdim: (1, 1), size: Some(2), ty: Float}, 202 A1R5G5B5UnormPack16 => {vk: A1R5G5B5_UNORM_PACK16, bdim: (1, 1), size: Some(2), ty: Float}, 203 R8Unorm => {vk: R8_UNORM, bdim: (1, 1), size: Some(1), ty: Float}, 204 R8Snorm => {vk: R8_SNORM, bdim: (1, 1), size: Some(1), ty: Float}, [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/fonttools/Tests/ufoLib/ |
| D | testSupport.py | 156 "familyName" : "Some Font (Family Name)", 158 "fullName" : "Some Font-Regular (Postscript Full Name)", 160 "menuName" : "Some Font Regular (Style Map Family Name)", 166 "copyright" : "Copyright Some Foundry.", 167 "notice" : "Some Font by Some Designer for Some Foundry.", 168 "trademark" : "Trademark Some Foundry", 169 "license" : "License info for Some Foundry.", 171 "createdBy" : "Some Foundry", 172 "designer" : "Some Designer", 187 "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/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' 85 ('/b/some/path', ['0', '1', '2', '3'], ['summary.json']), 86 ('/b/some/path/0', [], 88 ('/b/some/path/1', [], 93 '/b/some/path/0/default-1.profdata', 94 '/b/some/path/1/default-2.profdata', [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/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/clap_derive/src/ |
| D | attr.rs | 32 Some(Sp::new(AttrKind::Clap, attr.path.span())) in parse_all() 34 Some(Sp::new(AttrKind::StructOpt, attr.path.span())) in parse_all() 36 Some(Sp::new(AttrKind::Command, attr.path.span())) in parse_all() 38 Some(Sp::new(AttrKind::Group, attr.path.span())) in parse_all() 40 Some(Sp::new(AttrKind::Arg, attr.path.span())) in parse_all() 42 Some(Sp::new(AttrKind::Value, attr.path.span())) in parse_all() 87 "rename_all" => Some(MagicAttrName::RenameAll), in parse() 88 "rename_all_env" => Some(MagicAttrName::RenameAllEnv), in parse() 89 "skip" => Some(MagicAttrName::Skip), in parse() 90 "next_display_order" => Some(MagicAttrName::NextDisplayOrder), in parse() [all …]
|
| /external/libabigail/tests/data/test-diff-filter/ |
| D | test33-report-0.txt | 4 33 functions with some indirect sub-type change: 6 …[C] 'function size_t _elf32_xltsize(const Elf_Data*, unsigned int, unsigned int, int)' has some in… 23 …[C] 'function size_t _elf64_xltsize(const Elf_Data*, unsigned int, unsigned int, int)' has some in… 25 [C] 'function long int _elf_load_i64L(const unsigned char*)' has some indirect sub-type changes: 30 [C] 'function long int _elf_load_i64M(const unsigned char*)' has some indirect sub-type changes: 35 …[C] 'function long unsigned int _elf_load_u64L(const unsigned char*)' has some indirect sub-type c… 40 …[C] 'function long unsigned int _elf_load_u64M(const unsigned char*)' has some indirect sub-type c… 45 …[C] 'function void _elf_store_i64L(unsigned char*, long unsigned int)' has some indirect sub-type … 50 …[C] 'function void _elf_store_i64M(unsigned char*, long unsigned int)' has some indirect sub-type … 55 …[C] 'function void _elf_store_u64L(unsigned char*, long unsigned int)' has some indirect sub-type … [all …]
|
| /external/rust/beto-rust/nearby/connections/ukey2/ukey2_proto/src/ukey2_all_proto/ |
| D | securegcm.rs | 155 self.android_device_id = ::std::option::Option::Some(v); in set_android_device_id() 162 Some(v) => v, in gcm_registration_id() 177 self.gcm_registration_id = ::std::option::Option::Some(v); in set_gcm_registration_id() 184 self.gcm_registration_id = ::std::option::Option::Some(::std::vec::Vec::new()); in mut_gcm_registration_id() 198 Some(v) => v, in apn_registration_id() 213 self.apn_registration_id = ::std::option::Option::Some(v); in set_apn_registration_id() 220 self.apn_registration_id = ::std::option::Option::Some(::std::vec::Vec::new()); in mut_apn_registration_id() 246 self.notification_enabled = ::std::option::Option::Some(v); in set_notification_enabled() 253 Some(v) => v, in bluetooth_mac_address() 268 self.bluetooth_mac_address = ::std::option::Option::Some(v); in set_bluetooth_mac_address() [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/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/smali/util/src/test/java/org/jf/util/ |
| D | PathUtilTest.java | 42 …File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "te… in pathUtilTest1() 43 …File relativePath = new File(roots[1] + "some" + File.separatorChar + "dir" + File.separatorChar +… in pathUtilTest1() 55 …File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "te… in pathUtilTest2() 56 …File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar +… in pathUtilTest2() 70 … File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest3() 71 … File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest3() 82 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir"); in pathUtilTest4() 83 File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir"); in pathUtilTest4() 94 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir"); in pathUtilTest5() 95 … File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest5() [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/cxx/syntax/ |
| D | check.rs | 126 None | Some(Bool) | Some(Char) | Some(U8) | Some(U16) | Some(U32) | Some(U64) in check_type_rust_vec() 127 | Some(Usize) | Some(I8) | Some(I16) | Some(I32) | Some(I64) | Some(Isize) in check_type_rust_vec() 128 | Some(F32) | Some(F64) | Some(RustString) => return, in check_type_rust_vec() 129 Some(CxxString) => {} in check_type_rust_vec() 147 None | Some(CxxString) => return, in check_type_unique_ptr() 165 None | Some(Bool) | Some(U8) | Some(U16) | Some(U32) | Some(U64) | Some(Usize) in check_type_shared_ptr() 166 | Some(I8) | Some(I16) | Some(I32) | Some(I64) | Some(Isize) | Some(F32) in check_type_shared_ptr() 167 | Some(F64) | Some(CxxString) => return, in check_type_shared_ptr() 168 Some(Char) | Some(RustString) => {} in check_type_shared_ptr() 186 None | Some(Bool) | Some(U8) | Some(U16) | Some(U32) | Some(U64) | Some(Usize) in check_type_weak_ptr() [all …]
|
| /external/angle/build/util/lib/results/ |
| D | result_sink_test.py | 24 'address': 'some-ip-address', 25 'auth_token': 'some-auth-token', 36 @mock.patch.dict(os.environ, {'LUCI_CONTEXT': 'some-file.json'}) 46 'http://some-ip-address/prpc/luci.resultsink.v1.Sink/ReportTestResults') 48 'ResultSink some-auth-token') 53 client.Post('some-test', result_types.PASS, 0, 'some-test-log', None) 54 client.Post('some-test', result_types.PASS, 0, 'some-test-log', None) 77 self.client.Post('some-test', result_types.PASS, 0, 'some-test-log', None) 80 'http://some-ip-address/prpc/luci.resultsink.v1.Sink/ReportTestResults') 82 self.assertEqual(data['testResults'][0]['testId'], 'some-test') [all …]
|
| /external/rust/crates/clap/3.2.23/src/builder/ |
| D | usage_parser.rs | 52 if let Some(&c) = self.usage.as_bytes().get(self.pos) { in parse() 143 arg.long = Some(name); in long() 152 arg.short = Some(short); in short() 169 while bytes.next() == Some(b'.') { in multiple() 196 arg.help = Some(&self.usage[self.start..self.pos]); in help() 252 let a = Arg::from_usage("[flag] -f 'some help info'"); in create_flag_usage() 256 assert_eq!(a.help.unwrap(), "some help info"); in create_flag_usage() 260 let a = Arg::from_usage("[flag] --flag 'some help info'"); in create_flag_usage() 264 assert_eq!(a.help.unwrap(), "some help info"); in create_flag_usage() 268 let a = Arg::from_usage("--flag 'some help info'"); in create_flag_usage() [all …]
|
| /external/llvm/unittests/IR/ |
| D | ConstantRangeTest.cpp | 24 static ConstantRange Some; member in __anon9aed9df40111::ConstantRangeTest 31 ConstantRange ConstantRangeTest::Some(APInt(16, 0xa), APInt(16, 0xaaa)); member in __anon9aed9df40111::ConstantRangeTest 65 EXPECT_FALSE(Some.isFullSet()); in TEST_F() 66 EXPECT_FALSE(Some.isEmptySet()); in TEST_F() 67 EXPECT_FALSE(Some.isWrappedSet()); in TEST_F() 68 EXPECT_FALSE(Some.contains(APInt(16, 0x0))); in TEST_F() 69 EXPECT_FALSE(Some.contains(APInt(16, 0x9))); in TEST_F() 70 EXPECT_TRUE(Some.contains(APInt(16, 0xa))); in TEST_F() 71 EXPECT_TRUE(Some.contains(APInt(16, 0xaa9))); in TEST_F() 72 EXPECT_FALSE(Some.contains(APInt(16, 0xaaa))); in TEST_F() [all …]
|
| /external/rust/crates/itertools/src/ |
| D | merge_join.rs | 65 (Some(left), None) => in next() 66 Some(EitherOrBoth::Left(left)), in next() 67 (None, Some(right)) => in next() 68 Some(EitherOrBoth::Right(right)), in next() 69 (Some(left), Some(right)) => { in next() 72 Some(EitherOrBoth::Both(left, right)), in next() 75 Some(EitherOrBoth::Left(left)) in next() 79 Some(EitherOrBoth::Right(right)) in next() 93 (Some(x), Some(y)) => x.checked_add(y), in size_hint() 105 (Some(_left), None) => break count + 1 + self.left.into_parts().1.count(), in count() [all …]
|
| /external/rust/crates/protobuf-codegen/src/customize/ |
| D | mod.rs | 127 self.before = Some(before.to_owned()); in before() 132 self.generate_accessors = Some(generate_accessors); in generate_accessors() 137 self.generate_getter = Some(generate_getter); in generate_getter() 142 self.tokio_bytes = Some(tokio_bytes); in tokio_bytes() 147 self.tokio_bytes_for_string = Some(tokio_bytes_for_string); in tokio_bytes_for_string() 157 self.lite_runtime = Some(lite_runtime); in lite_runtime() 164 self.gen_mod_rs = Some(gen_mod_rs); in gen_mod_rs() 170 self.inside_protobuf = Some(inside_protobuf); in inside_protobuf() 176 if let Some(v) = &that.before { in update_with() 177 self.before = Some(v.clone()); in update_with() [all …]
|
| /external/rust/crates/xml-rs/tests/ |
| D | streaming.rs | 42 assert_match!(it.next(), Some(Ok(XmlEvent::StartDocument { .. }))); in reading_streamed_content() 43 …assert_match!(it.next(), Some(Ok(XmlEvent::StartElement { ref name, .. })) if name.local_name == "… in reading_streamed_content() 46 …assert_match!(it.next(), Some(Ok(XmlEvent::StartElement { ref name, .. })) if name.local_name == "… in reading_streamed_content() 47 assert_match!(it.next(), Some(Ok(XmlEvent::Characters(ref c))) if c == "content"); in reading_streamed_content() 48 …assert_match!(it.next(), Some(Ok(XmlEvent::EndElement { ref name })) if name.local_name == "child-… in reading_streamed_content() 51 …assert_match!(it.next(), Some(Ok(XmlEvent::StartElement { ref name, .. })) if name.local_name == "… in reading_streamed_content() 52 …assert_match!(it.next(), Some(Ok(XmlEvent::EndElement { ref name })) if name.local_name == "child-… in reading_streamed_content() 55 …assert_match!(it.next(), Some(Ok(XmlEvent::StartElement { ref name, .. })) if name.local_name == "… in reading_streamed_content() 56 …assert_match!(it.next(), Some(Ok(XmlEvent::EndElement { ref name })) if name.local_name == "child-… in reading_streamed_content() 58 // write_and_reset_position(it.source_mut(), b"some text"); in reading_streamed_content() [all …]
|