| /external/webrtc/api/test/ |
| D | videocodec_test_stats.cc | 39 map["frame_number"] = std::to_string(frame_number); in ToMap() 40 map["decoded_width"] = std::to_string(decoded_width); in ToMap() 41 map["decoded_height"] = std::to_string(decoded_height); in ToMap() 42 map["spatial_idx"] = std::to_string(spatial_idx); in ToMap() 43 map["temporal_idx"] = std::to_string(temporal_idx); in ToMap() 44 map["inter_layer_predicted"] = std::to_string(inter_layer_predicted); in ToMap() 46 std::to_string(non_ref_for_inter_layer_pred); in ToMap() 47 map["frame_type"] = std::to_string(static_cast<int>(frame_type)); in ToMap() 48 map["length_bytes"] = std::to_string(length_bytes); in ToMap() 49 map["qp"] = std::to_string(qp); in ToMap() [all …]
|
| /external/tensorflow/tensorflow/python/framework/ |
| D | device_spec_test.py | 33 self.assertEqual("", d.to_string()) 35 self.assertEqual("", d.to_string()) 46 self.assertEqual("/job:j/replica:0/task:1/device:CPU:2", d.to_string()) 49 self.assertEqual("/device:GPU:0", d.to_string()) 55 self.assertEqual("/job:foo", d.to_string()) 57 self.assertEqual("/job:foo/task:3", d.to_string()) 60 self.assertEqual("/job:foo/task:3/device:CPU:0", d.to_string()) 63 self.assertEqual("/job:foo/replica:12/device:CPU:0", d.to_string()) 66 self.assertEqual("/job:foo/replica:12/device:GPU:2", d.to_string()) 69 self.assertEqual("/job:foo/replica:12/device:CPU:1", d.to_string()) [all …]
|
| /external/rust/crates/chrono/src/format/ |
| D | strftime.rs | 548 assert_eq!(dt.format("%Y").to_string(), "2001"); in test_strftime_docs() 549 assert_eq!(dt.format("%C").to_string(), "20"); in test_strftime_docs() 550 assert_eq!(dt.format("%y").to_string(), "01"); in test_strftime_docs() 551 assert_eq!(dt.format("%m").to_string(), "07"); in test_strftime_docs() 552 assert_eq!(dt.format("%b").to_string(), "Jul"); in test_strftime_docs() 553 assert_eq!(dt.format("%B").to_string(), "July"); in test_strftime_docs() 554 assert_eq!(dt.format("%h").to_string(), "Jul"); in test_strftime_docs() 555 assert_eq!(dt.format("%d").to_string(), "08"); in test_strftime_docs() 556 assert_eq!(dt.format("%e").to_string(), " 8"); in test_strftime_docs() 557 assert_eq!(dt.format("%e").to_string(), dt.format("%_d").to_string()); in test_strftime_docs() [all …]
|
| /external/rust/crates/x509-cert/tests/ |
| D | trust_anchor_format.rs | 23 tai.pub_key.algorithm.oid.to_string(), in decode_ta1() 82 assert_eq!(policy_ids[counter], ext.policy_identifier.to_string()); in decode_ta1() 92 assert_eq!(atav.oid.to_string(), "2.5.4.6"); in decode_ta1() 93 assert_eq!(atav.value.printable_string().unwrap().to_string(), "US"); in decode_ta1() 95 assert_eq!(atav.oid.to_string(), "2.5.4.10"); in decode_ta1() 97 atav.value.printable_string().unwrap().to_string(), in decode_ta1() 101 assert_eq!(atav.oid.to_string(), "2.5.4.11"); in decode_ta1() 102 assert_eq!(atav.value.printable_string().unwrap().to_string(), "ECA"); in decode_ta1() 104 assert_eq!(atav.oid.to_string(), "2.5.4.3"); in decode_ta1() 106 atav.value.printable_string().unwrap().to_string(), in decode_ta1() [all …]
|
| D | pkix_extensions.rs | 121 GeneralName::DnsName(dns_name) => assert_eq!(dns_name.to_string(), "amazon.co.uk"), in decode_general_name() 132 assert_eq!(rfc822.to_string(), "Email_808720744@tma.osd.mil") in decode_general_name() 142 assert_eq!(onval.to_string(), "Upn_214950130@mil"); in decode_general_name() 162 assert_eq!(ext.extn_id.to_string(), ID_CE_KEY_USAGE.to_string()); in decode_cert() 171 assert_eq!(ext.extn_id.to_string(), ID_CE_BASIC_CONSTRAINTS.to_string()); in decode_cert() 180 assert_eq!(ext.extn_id.to_string(), ID_CE_POLICY_MAPPINGS.to_string()); in decode_cert() 236 mapping.issuer_domain_policy.to_string() in decode_cert() 240 mapping.subject_domain_policy.to_string() in decode_cert() 246 ext.extn_id.to_string(), in decode_cert() 247 ID_CE_CERTIFICATE_POLICIES.to_string() in decode_cert() [all …]
|
| /external/rust/crates/serde-xml-rs/tests/ |
| D | migrated.rs | 80 subject: "Reference rates".to_string(), in test_namespaces() 102 subject: "Reference rates".to_string(), in test_doctype() 113 subject: "Reference rates".to_string(), in test_doctype() 126 subject: "Reference rates".to_string(), in test_doctype() 154 .to_string(), in test_forwarded_namespace() 164 test_parse_ok(&[("<bla> </bla>", " ".to_string())]); in test_parse_string_not_trim() 177 Frog("Quak".to_string()), in test_parse_enum() 184 c: "bla".to_string(), in test_parse_enum() 185 d: Some("Foo".to_string()), in test_parse_enum() 193 c: "bla".to_string(), in test_parse_enum() [all …]
|
| D | datatypes.rs | 16 #[case::string("<bla>This is a String</bla>", "This is a String".to_string())] 17 #[case::string("<bla></bla>", "".to_string())] 18 #[case::string("<bla> </bla>", "".to_string())] 19 #[case::string("<bla><boom/></bla>", "<boom/>".to_string())] 20 #[case::string("<bla>♫</bla>", "♫".to_string())] 21 #[case::string("<bla>♫</bla>", "♫".to_string())] 22 #[case::string("<bla>♫<![CDATA[<cookies/>]]>♫</bla>", "♫<cookies/>♫".to_string())] 41 #[case::option("<bla/>", Some("".to_string()))] 42 #[case::option("<bla></bla>", Some("".to_string()))] 43 #[case::option("<bla> </bla>", Some("".to_string()))] [all …]
|
| /external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/ |
| D | conv_metal_simd.cc | 50 std::to_string(launch_remap[0]) + " * GROUP_SIZE_0 + LOCAL_ID_0;\n"; in GenerateDstCoords() 68 c += " int DST_S = GROUP_ID_" + std::to_string(launch_remap[1]) + in GenerateDstCoords() 75 c += " int DST_X = GROUP_ID_" + std::to_string(launch_remap[0]) + in GenerateDstCoords() 86 global_id_1 = "GROUP_ID_" + std::to_string(launch_remap[1]) + in GenerateDstCoords() 99 c += " int DST_S = GROUP_ID_" + std::to_string(launch_remap[2]) + in GenerateDstCoords() 113 c += "#define SPATIAL_THREADS " + std::to_string(spatial_threads) + "\n"; in GenerateConvolution() 124 c += " DST_S *= " + std::to_string(conv_params.slices_per_thread) + ";\n"; in GenerateConvolution() 145 std::to_string(weights_flt4_per_spatial * in GenerateConvolution() 149 c += " tmp_w_x1 += " + std::to_string(weights_flt4_per_spatial * 4) + in GenerateConvolution() 156 std::to_string(src_x4_slices) + "];\n"; in GenerateConvolution() [all …]
|
| /external/rust/crates/quote/tests/ |
| D | test.rs | 40 assert_eq!(expected, tokens.to_string()); in test_quote_impl() 62 assert_eq!(expected, tokens.to_string()); in test_quote_spanned_impl() 72 assert_eq!(expected, tokens.to_string()); in test_substitution() 79 assert_eq!("X X X X", quote!(#(#primes)*).to_string()); in test_iter() 81 assert_eq!("X , X , X , X ,", quote!(#(#primes,)*).to_string()); in test_iter() 83 assert_eq!("X , X , X , X", quote!(#(#primes),*).to_string()); in test_iter() 159 assert_eq!(expected, tokens.to_string()); in test_advanced() 184 assert_eq!(expected, tokens.to_string()); in test_integer() 198 assert_eq!(expected, tokens.to_string()); in test_floating() 214 assert_eq!(expected, tokens.to_string()); in test_char() [all …]
|
| /external/ComputeLibrary/src/gpu/cl/kernels/ |
| D | ClDirectConv3dKernel.cpp | 128 build_options.add_option("-DSRC_WIDTH=" + support::cpp11::to_string(src_width)); in configure() 129 build_options.add_option("-DSRC_HEIGHT=" + support::cpp11::to_string(src_height)); in configure() 130 build_options.add_option("-DSRC_DEPTH=" + support::cpp11::to_string(src_depth)); in configure() 131 build_options.add_option("-DSRC_CHANNELS=" + support::cpp11::to_string(src_channels)); in configure() 132 build_options.add_option("-DDST_WIDTH=" + support::cpp11::to_string(dst_width)); in configure() 133 build_options.add_option("-DDST_HEIGHT=" + support::cpp11::to_string(dst_height)); in configure() 134 build_options.add_option("-DDST_DEPTH=" + support::cpp11::to_string(dst_depth)); in configure() 135 build_options.add_option("-DDST_CHANNELS=" + support::cpp11::to_string(dst_channels)); in configure() 136 build_options.add_option("-DWEI_WIDTH=" + support::cpp11::to_string(weights_width)); in configure() 137 build_options.add_option("-DWEI_HEIGHT=" + support::cpp11::to_string(weights_height)); in configure() [all …]
|
| D | ClDirectConv2dKernel.cpp | 262 build_options.add_option("-DSRC_CHANNELS=" + support::cpp11::to_string(src->dimension(0))); in configure() 263 build_options.add_option("-DSRC_WIDTH=" + support::cpp11::to_string(src->dimension(1))); in configure() 264 build_options.add_option("-DSRC_HEIGHT=" + support::cpp11::to_string(src->dimension(2))); in configure() 265 build_options.add_option("-DDST_CHANNELS=" + support::cpp11::to_string(dst->dimension(0))); in configure() 266 build_options.add_option("-DDST_WIDTH=" + support::cpp11::to_string(dst->dimension(1))); in configure() 267 build_options.add_option("-DDST_HEIGHT=" + support::cpp11::to_string(dst->dimension(2))); in configure() 271 …build_options.add_option("-DWEI_WIDTH=" + support::cpp11::to_string(weights->dimension(width_idx))… in configure() 272 …build_options.add_option("-DWEI_HEIGHT=" + support::cpp11::to_string(weights->dimension(height_idx… in configure() 274 build_options.add_option("-DSTRIDE_X=" + support::cpp11::to_string(conv_stride_x)); in configure() 275 build_options.add_option("-DSTRIDE_Y=" + support::cpp11::to_string(conv_stride_y)); in configure() [all …]
|
| D | ClTransposedConvolutionKernel.cpp | 159 build_options.add_option("-DSRC_CHANNELS=" + support::cpp11::to_string(input_channels)); in configure() 160 build_options.add_option("-DSRC_WIDTH=" + support::cpp11::to_string(input_width)); in configure() 161 build_options.add_option("-DSRC_HEIGHT=" + support::cpp11::to_string(input_height)); in configure() 162 build_options.add_option("-DDST_CHANNELS=" + support::cpp11::to_string(output_channels)); in configure() 163 build_options.add_option("-DDST_WIDTH=" + support::cpp11::to_string(output_width)); in configure() 164 build_options.add_option("-DDST_HEIGHT=" + support::cpp11::to_string(output_height)); in configure() 168 build_options.add_option("-DWEI_WIDTH=" + support::cpp11::to_string(weights_width)); in configure() 169 build_options.add_option("-DWEI_HEIGHT=" + support::cpp11::to_string(weights_height)); in configure() 171 build_options.add_option("-DSTRIDE_X=" + support::cpp11::to_string(strides.first)); in configure() 172 build_options.add_option("-DSTRIDE_Y=" + support::cpp11::to_string(strides.second)); in configure() [all …]
|
| /external/crosvm/e2e_tests/tests/ |
| D | vsock.rs | 47 let config = Config::new().extra_args(vec!["--cid".to_string(), guest_cid.to_string()]); in host_to_guest() 55 .extra_args(vec!["--cid".to_string(), guest_cid.to_string()]) in host_to_guest_disable_sandbox() 76 &guest_cid.to_string(), in host_to_guest_connection() 77 &guest_port.to_string(), in host_to_guest_connection() 96 let config = Config::new().extra_args(vec!["--cid".to_string(), guest_cid.to_string()]); in guest_to_host() 104 .extra_args(vec!["--cid".to_string(), guest_cid.to_string()]) in guest_to_host_disable_sandbox() 116 .args(["--vsock", &host_port.to_string()]) in guest_to_host_connection() 141 "vsock".to_string(), in create_vu_config() 142 "--socket".to_string(), in create_vu_config() 143 socket_path.to_string(), in create_vu_config() [all …]
|
| /external/rust/crates/proc-macro2/tests/ |
| D | test.rs | 15 Ident::new("String", Span::call_site()).to_string(), in idents() 18 assert_eq!(Ident::new("fn", Span::call_site()).to_string(), "fn"); in idents() 19 assert_eq!(Ident::new("_", Span::call_site()).to_string(), "_"); in idents() 25 Ident::new_raw("String", Span::call_site()).to_string(), in raw_idents() 28 assert_eq!(Ident::new_raw("fn", Span::call_site()).to_string(), "r#fn"); in raw_idents() 114 assert_eq!(Literal::string("foo").to_string(), "\"foo\""); in literal_string() 115 assert_eq!(Literal::string("\"").to_string(), "\"\\\"\""); in literal_string() 116 assert_eq!(Literal::string("didn't").to_string(), "\"didn't\""); in literal_string() 145 assert_eq!(Literal::byte_string(b"").to_string(), "b\"\""); in literal_byte_string() 147 Literal::byte_string(b"\0\t\n\r\"\\2\x10").to_string(), in literal_byte_string() [all …]
|
| /external/swiftshader/include/vulkan/ |
| D | vulkan_to_string.hpp | 29 VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlags value ) in to_string() function 72 VULKAN_HPP_INLINE std::string to_string( ImageCreateFlags value ) in to_string() function 101 VULKAN_HPP_INLINE std::string to_string( ImageUsageFlags value ) in to_string() function 133 VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlags value ) in to_string() function 144 VULKAN_HPP_INLINE std::string to_string( MemoryHeapFlags value ) in to_string() function 156 VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlags value ) in to_string() function 175 VULKAN_HPP_INLINE std::string to_string( QueueFlags value ) in to_string() function 195 VULKAN_HPP_INLINE std::string to_string( SampleCountFlags value ) in to_string() function 212 VULKAN_HPP_INLINE std::string to_string( DeviceCreateFlags ) in to_string() function 217 VULKAN_HPP_INLINE std::string to_string( DeviceQueueCreateFlags value ) in to_string() function [all …]
|
| /external/vulkan-headers/include/vulkan/ |
| D | vulkan_to_string.hpp | 27 VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlags value ) in to_string() function 103 VULKAN_HPP_INLINE std::string to_string( ImageCreateFlags value ) in to_string() function 151 VULKAN_HPP_INLINE std::string to_string( ImageUsageFlags value ) in to_string() function 205 VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlags value ) in to_string() function 217 VULKAN_HPP_INLINE std::string to_string( MemoryHeapFlags value ) in to_string() function 231 VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlags value ) in to_string() function 259 VULKAN_HPP_INLINE std::string to_string( QueueFlags value ) in to_string() function 287 VULKAN_HPP_INLINE std::string to_string( SampleCountFlags value ) in to_string() function 311 VULKAN_HPP_INLINE std::string to_string( DeviceCreateFlags ) in to_string() function 316 VULKAN_HPP_INLINE std::string to_string( DeviceQueueCreateFlags value ) in to_string() function [all …]
|
| /external/rust/crates/der_derive/src/choice/ |
| D | variant.rs | 169 variant.to_decode_tokens().to_string(), in simple() 175 .to_string() in simple() 179 variant.to_encode_value_tokens().to_string(), in simple() 183 .to_string() in simple() 187 variant.to_value_len_tokens().to_string(), in simple() 191 .to_string() in simple() 195 variant.to_tagged_tokens().to_string(), in simple() 199 .to_string() in simple() 214 variant.to_decode_tokens().to_string(), in utf8string() 221 .to_string() in utf8string() [all …]
|
| /external/rust/crates/serde_json/tests/ |
| D | test.rs | 32 from_reader, from_slice, from_str, from_value, json, to_string, to_string_pretty, to_value, 92 let out = out.to_string(); in test_encode_ok() 94 let s = to_string(value).unwrap(); in test_encode_ok() 98 let s = to_string(&v).unwrap(); in test_encode_ok() 108 let out = out.to_string(); in test_pretty_encode_ok() 128 let tests = &[(3u64, "3"), (u64::MAX, &u64::MAX.to_string())]; in test_write_u64() 139 (i64::MIN, &i64::MIN.to_string()), in test_write_i64() 262 (treemap!("a".to_string() => true), "{\"a\":true}"), in test_write_object() 265 "a".to_string() => true, in test_write_object() 266 "b".to_string() => false in test_write_object() [all …]
|
| /external/rust/crates/anyhow/tests/ |
| D | test_chain.rs | 11 assert_eq!("3", chain.next().unwrap().to_string()); in test_iter() 12 assert_eq!("2", chain.next().unwrap().to_string()); in test_iter() 13 assert_eq!("1", chain.next().unwrap().to_string()); in test_iter() 14 assert_eq!("0", chain.next().unwrap().to_string()); in test_iter() 23 assert_eq!("0", chain.next().unwrap().to_string()); in test_rev() 24 assert_eq!("1", chain.next().unwrap().to_string()); in test_rev() 25 assert_eq!("2", chain.next().unwrap().to_string()); in test_rev() 26 assert_eq!("3", chain.next().unwrap().to_string()); in test_rev() 37 assert_eq!("3", chain.next().unwrap().to_string()); in test_len() 40 assert_eq!("0", chain.next_back().unwrap().to_string()); in test_len() [all …]
|
| /external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/ |
| D | vulkan_to_string.hpp | 27 VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlags value ) in to_string() function 101 VULKAN_HPP_INLINE std::string to_string( ImageCreateFlags value ) in to_string() function 149 VULKAN_HPP_INLINE std::string to_string( ImageUsageFlags value ) in to_string() function 203 VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlags value ) in to_string() function 215 VULKAN_HPP_INLINE std::string to_string( MemoryHeapFlags value ) in to_string() function 229 VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlags value ) in to_string() function 257 VULKAN_HPP_INLINE std::string to_string( QueueFlags value ) in to_string() function 285 VULKAN_HPP_INLINE std::string to_string( SampleCountFlags value ) in to_string() function 309 VULKAN_HPP_INLINE std::string to_string( DeviceCreateFlags ) in to_string() function 314 VULKAN_HPP_INLINE std::string to_string( DeviceQueueCreateFlags value ) in to_string() function [all …]
|
| /external/rust/crates/nom/tests/ |
| D | json.rs | 138 assert_eq!(string("\"\""), Ok(("", "".to_string()))); in json_string() 139 assert_eq!(string("\"abc\""), Ok(("", "abc".to_string()))); in json_string() 142 Ok(("", "abc\"\\/\x08\x0C\n\r\t\x01——def".to_string())), in json_string() 144 assert_eq!(string("\"\\uD83D\\uDE10\""), Ok(("", "".to_string()))); in json_string() 163 ("a".to_string(), Num(42.0)), in json_object() 164 ("b".to_string(), Str("x".to_string())), in json_object() 179 let expected = Array(vec![Num(42.0), Str("x".to_string())]); in json_array() 208 ("null".to_string(), Null), in json_whitespace() 209 ("true".to_string(), Bool(true)), in json_whitespace() 210 ("false".to_string(), Bool(false)), in json_whitespace() [all …]
|
| /external/deqp-deps/amber/src/ |
| D | verifier.cc | 106 return Result(std::to_string(actual_value) + in CheckActualValue() 107 " == " + std::to_string(val)); in CheckActualValue() 112 return Result(std::to_string(actual_value) + in CheckActualValue() 113 " == " + std::to_string(val)); in CheckActualValue() 120 return Result(std::to_string(actual_value) + in CheckActualValue() 121 " != " + std::to_string(val)); in CheckActualValue() 126 return Result(std::to_string(actual_value) + in CheckActualValue() 127 " != " + std::to_string(val)); in CheckActualValue() 137 return Result(std::to_string(actual_value) + in CheckActualValue() 138 " ~= " + std::to_string(val)); in CheckActualValue() [all …]
|
| /external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/ |
| D | concat.cc | 142 std::string input = "input_data_" + std::to_string(current_input_id); in GenerateCode() 176 std::string temp(int t) const { return "temp" + std::to_string(t); } in temp() 190 return "// Joining " + std::to_string(current_input_id) + in PrintStartMessage() 191 " tensor with " + std::to_string(in_ch) + in PrintStartMessage() 193 std::to_string(already_written) + " elements\n\n"; in PrintStartMessage() 218 code += "// I'm going to make " + std::to_string(blocks_amount) + in AlignedCase() 222 code += "val = $" + input + "[gid.x, gid.y, " + std::to_string(block) + in AlignedCase() 269 code += "val[" + std::to_string(reminder + i) + "] = " + temp(*t) + "[" + in UnalignedCase() 270 std::to_string(i) + "];\n"; in UnalignedCase() 288 std::to_string(block + 1) + "]$;\n"; in UnalignedCase() [all …]
|
| /external/ComputeLibrary/utils/ |
| D | TypePrinter.h | 76 return to_string(*arg); in to_string_if_not_null() 87 inline std::string to_string(const T &val) in to_string() function 89 return support::cpp11::to_string(val); in to_string() 124 os << to_string(args[i]); 141 std::string to_string(const std::vector<T> &args) in to_string() function 192 inline std::string to_string(experimental::PostOpType post_op_type) in to_string() function 247 inline std::string to_string(const experimental::IPostOp<T> &post_op) in to_string() function 278 inline std::string to_string(const experimental::PostOpList<T> &post_ops) in to_string() function 370 inline std::string to_string(const ROIPoolingLayerInfo &pool_info) in to_string() function 434 inline std::string to_string(const GEMMRHSMatrixInfo &gemm_info) in to_string() function [all …]
|
| /external/rust/crates/derive-getters/tests/ |
| D | 01-legacy.rs | 44 heading: "abcdefg".to_string(), in textual_struct() 46 "hijk".to_string(), in textual_struct() 47 "lmno".to_string(), in textual_struct() 48 "pqrs".to_string(), in textual_struct() 49 "tuvw".to_string(), in textual_struct() 62 author: Some("name".to_string()), in textual_struct() 63 heading: "1234".to_string(), in textual_struct() 65 "2345".to_string(), in textual_struct() 66 "3456".to_string(), in textual_struct() 67 "4567".to_string(), in textual_struct() [all …]
|