Home
last modified time | relevance | path

Searched refs:to_string (Results 1 – 25 of 1145) sorted by relevance

12345678910>>...46

/third_party/glib/gobject/tests/
Denums.c18 gchar *to_string; in test_enum_basic() local
53 to_string = g_enum_to_string (type, 2); in test_enum_basic()
54 g_assert_cmpstr (to_string, ==, "the second value"); in test_enum_basic()
55 g_free (to_string); in test_enum_basic()
57 to_string = g_enum_to_string (type, 15); in test_enum_basic()
58 g_assert_cmpstr (to_string, ==, "15"); in test_enum_basic()
59 g_free (to_string); in test_enum_basic()
96 gchar *to_string; in test_flags_basic() local
134 to_string = g_flags_to_string (type, 1|8); in test_flags_basic()
135 g_assert_cmpstr (to_string, ==, "the first flag | the third flag"); in test_flags_basic()
[all …]
/third_party/boost/libs/date_time/test/local_time/
Dtestlocal_time.cpp66 check("to_string: " + az_time.to_string(), in main()
67 az_time.to_string() == "2003-Dec-20 05:00:00 MST"); in main()
75 check("to_string: " + az_time2.to_string(), in main()
76 az_time2.to_string() == "2003-Dec-20 05:00:00 MST"); in main()
88 check("to_string: " + sv_time.to_string(), in main()
89 sv_time.to_string() == "not-a-date-time"); in main()
93 check("to_string: " + sv_time2.to_string(), in main()
94 sv_time2.to_string() == "+infinity"); in main()
101 check("max_date_time to_string: " + sv_time3.to_string(), in main()
102 sv_time3.to_string() == "9999-Dec-31 18:59:59.999999999 EST"); in main()
[all …]
/third_party/json/doc/examples/
Djson_pointer__to_string.cpp23 std::cout << ptr1.to_string() << '\n' in main()
24 << ptr2.to_string() << '\n' in main()
25 << ptr3.to_string() << '\n' in main()
26 << ptr4.to_string() << '\n' in main()
27 << ptr5.to_string() << '\n' in main()
28 << ptr6.to_string() << '\n' in main()
29 << ptr7.to_string() << '\n' in main()
30 << ptr8.to_string() << '\n' in main()
31 << ptr9.to_string() << '\n' in main()
32 << ptr10.to_string() << '\n' in main()
[all …]
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dlic_manager.cc31 {std::to_string(3), OptPassEnum::MatmulBiasaddFusion},
32 {std::to_string(9), OptPassEnum::TransposeReshapeFusion},
33 {std::to_string(15), OptPassEnum::BnupdateEltwiseEltwiseFusionPass},
34 {std::to_string(16), OptPassEnum::BnupdateEltwiseFusionPass},
35 {std::to_string(17), OptPassEnum::Conv2DBackpropEltwiseFusionPass},
36 {std::to_string(18), OptPassEnum::ConvBnReduceFusionPass},
37 {std::to_string(26), OptPassEnum::ReshapeTransposeFusion},
38 {std::to_string(27), OptPassEnum::SquareSumFusion},
39 {std::to_string(30), OptPassEnum::MatmulEltwiseFusionPass},
40 {std::to_string(33), OptPassEnum::BatchMatmulFusedMulAddFusionPass},
[all …]
/third_party/boost/boost/exception/
Dto_string.hpp29 std::string to_string( std::pair<T,U> const & );
30 std::string to_string( std::exception const & );
36 typename disable_if<is_output_streamable<T>,char>::type to_string( T const & );
37 using boost::to_string;
54 enum e { value=1!=sizeof(to_string(f())) };
61 to_string( T const & x ) in to_string() function
78 to_string( std::pair<T,U> const & x ) in to_string() function
80 return std::string("(") + to_string(x.first) + ',' + to_string(x.second) + ')'; in to_string()
85 to_string( std::exception const & x ) in to_string() function
/third_party/boost/libs/process/test/
Denvironment.cpp41 BOOST_CHECK_EQUAL(x.to_string(), "My value");
66 BOOST_CHECK(x.to_string() == L"My value");
90 BOOST_CHECK_EQUAL(ni->to_string(), ei->to_string());
108 BOOST_CHECK_EQUAL(ni->to_string(), ei->to_string());
134 BOOST_CHECK_EQUAL(ni->to_string(), ei->to_string());
155 BOOST_CHECK_EQUAL(env["BOOST_TEST_VAR"].to_string(), "some string;badabumm");
157 BOOST_CHECK_EQUAL(env["BOOST_TEST_VAR"].to_string(), "some string:badabumm");
191 BOOST_CHECK_EQUAL(env.at("BOOST_PROCESS_TEST_VAR_a").to_string(), "1");
192 BOOST_CHECK_EQUAL(env.at("BOOST_PROCESS_TEST_VAR_b").to_string(), "2");
193 BOOST_CHECK_EQUAL(env.at("BOOST_PROCESS_TEST_VAR_c").to_string(), "3");
[all …]
/third_party/skia/docs/examples/
DPreMultiplyColor.cpp11 std::string str = "alpha=" + std::to_string(SkColorGetA(unpremultiplied));
12 str += " red=" + std::to_string(SkColorGetR(unpremultiplied));
13 str += " green=" + std::to_string(SkColorGetG(unpremultiplied));
14 str += " blue=" + std::to_string(SkColorGetB(unpremultiplied));
17 str = "alpha=" + std::to_string(SkColorGetA(premultiplied));
18 str += " red=" + std::to_string(SkColorGetR(premultiplied));
19 str += " green=" + std::to_string(SkColorGetG(premultiplied));
20 str += " blue=" + std::to_string(SkColorGetB(premultiplied));
/third_party/flutter/skia/docs/examples/
DPreMultiplyColor.cpp11 std::string str = "alpha=" + std::to_string(SkColorGetA(unpremultiplied));
12 str += " red=" + std::to_string(SkColorGetR(unpremultiplied));
13 str += " green=" + std::to_string(SkColorGetG(unpremultiplied));
14 str += " blue=" + std::to_string(SkColorGetB(unpremultiplied));
17 str = "alpha=" + std::to_string(SkColorGetA(premultiplied));
18 str += " red=" + std::to_string(SkColorGetR(premultiplied));
19 str += " green=" + std::to_string(SkColorGetG(premultiplied));
20 str += " blue=" + std::to_string(SkColorGetB(premultiplied));
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/sampler/
Dweighted_random_sampler.cc47 std::to_string(num_rows_) + ", num_samples: " + std::to_string(num_samples_)); in InitSampler()
50 std::to_string(samples_per_tensor_) + ".\n"); in InitSampler()
56 … std::to_string(weights_.size()) + ", num of data: " + std::to_string(num_rows_)); in InitSampler()
62 std::to_string(weights_.size()) + ", num_samples: " + std::to_string(num_samples_)); in InitSampler()
120 … std::to_string(weights_.size()) + ", num of data: " + std::to_string(num_rows_)); in GetNextSample()
127 std::to_string(weights_.size()) + ", num_samples: " + std::to_string(num_samples_)); in GetNextSample()
163 … std::to_string(genId) + ", num_data: " + std::to_string(num_rows_ - 1)); in GetNextSample()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/profiling/reporter/
Dprofiling_desc.cc27 .append(std::to_string(block_dim_)) in ToString()
29 .append(std::to_string(task_id_)) in ToString()
31 .append(std::to_string(stream_id_)) in ToString()
42 .append(std::to_string(input_id++)) in ToString()
46 .append(std::to_string(element.data_type_)) in ToString()
54 .append(std::to_string(input_id++)) in ToString()
58 .append(std::to_string(element.data_type_)) in ToString()
70 desc.append(std::to_string(point_id_)).append(" ").append(op_name_).append("\n"); in ToString()
90 desc.append(std::to_string(pair.first)); in ToString()
92 desc.append(std::to_string(pair.second)); in ToString()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_ipc.cc27 std::string errMsg = "Unable to create a ftok token. Errno = " + std::to_string(errno); in PortToFtok()
48 std::string errMsg = "Unable to create a message queue. Errno = " + std::to_string(errno); in Create()
61 CHECK_FAIL_RETURN_UNEXPECTED(err == EOK, "memcpy_s failed. err = " + std::to_string(err)); in SendStatus()
65 std::string errMsg = "Failed to call msgsnd. Errno = " + std::to_string(errno); in SendStatus()
77 std::string errMsg = "Failed to call msgrcv. Errno = " + std::to_string(errno); in ReceiveStatus()
105 RETURN_STATUS_UNEXPECTED("Shared memory creation failed. Errno " + std::to_string(errno)); in Create()
109 RETURN_STATUS_UNEXPECTED("Shared memory attach failed. Errno " + std::to_string(errno)); in Create()
118 RETURN_STATUS_UNEXPECTED("Shmget failed. Errno " + std::to_string(errno)); in Attach()
122 RETURN_STATUS_UNEXPECTED("Shared memory attach failed. Errno " + std::to_string(errno)); in Attach()
131 RETURN_STATUS_UNEXPECTED("Shared memory detach failed. Errno " + std::to_string(errno)); in Detach()
[all …]
/third_party/boost/libs/proto/test/
Dflatten.cpp64 struct to_string struct
66 to_string(std::ostream &sout) in to_string() function
97 boost::fusion::for_each(flatten(!!!!(a_ >> b_)), to_string(sout)); in test1() argument
102 boost::fusion::for_each(flatten(a_ >> b_ >> c_), to_string(sout)); in test1()
106 boost::fusion::for_each(flatten(a_ | b_ | c_), to_string(sout)); in test1()
110 boost::fusion::for_each(flatten(a_ >> b_ | c_ >> d_), to_string(sout)); in test1()
114 boost::fusion::for_each(flatten(a_ | b_ >> c_ | d_), to_string(sout)); in test1()
118 boost::fusion::for_each(flatten(a_ >> b_ | c_ >> d_ | e_ >> f_ >> g_), to_string(sout)); in test1()
122 boost::fusion::for_each(flatten(a_ >> b_ | c_ >> d_ | e_ >> (f_ | g_) >> h_), to_string(sout)); in test1()
127 boost::fusion::for_each(flatten(a_(b_(c_ >> d_, e_ | f_), g_ >> h_)(i_)), to_string(sout)); in test1()
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dpattern.h55 Pattern() : unique_name_(std::to_string(g_id_++)) {} in Pattern()
88 Prim() { unique_name_ = std::to_string(g_id_++); } in Prim()
91 unique_name_ = std::to_string(g_id_++) + "Prim_" + name; in Prim()
123 Call() { unique_name_ = std::to_string(g_id_++); } in Call()
128 unique_name_ = std::to_string(g_id_++) + "Call_" + prim_pattern->unique_name(); in Call()
141 unique_name_ = std::to_string(g_id_++) + "Call_" + prim_->ToString(); in Call()
158 OneOf() { unique_name_ = std::to_string(g_id_++); } in OneOf()
161 unique_name_ = std::to_string(g_id_++) + "OneOf"; in OneOf()
175 NoneOf() { unique_name_ = std::to_string(g_id_++); } in NoneOf()
178 unique_name_ = std::to_string(g_id_++) + "NoneOf"; in NoneOf()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/
Drandom_affine_ir.cc58 …"RandomAffine: degrees expecting size 2, got: degrees.size() = " + std::to_string(degrees_.size()); in ValidateParams()
64 std::to_string(degrees_[dimension_zero]) + in ValidateParams()
65 ", max = " + std::to_string(degrees_[dimension_one]); in ValidateParams()
72 std::to_string(translate_range_.size()); in ValidateParams()
78 std::to_string(translate_range_[dimension_zero]) + in ValidateParams()
79 ", max = " + std::to_string(translate_range_[dimension_one]); in ValidateParams()
89 std::to_string(translate_range_[dimension_two]) + in ValidateParams()
90 ", max = " + std::to_string(translate_range_[dimension_three]); in ValidateParams()
104 std::to_string(shear_ranges_.size()); in ValidateParams()
110 std::to_string(shear_ranges_[dimension_zero]) + in ValidateParams()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/perf/
Dcache_perf_run.cc324 std::string errMsg = "waitpid fails. errno = " + std::to_string(errno); in ~CachePerfRun()
399 std::string errMsg = "Unknown request type: " + std::to_string(type); in ListenToPipeline()
425 …std::cerr << "Failed to identify cache_perf binary path: " + std::to_string(errno) << ": " << stre… in StartPipelines()
443 …std::string pipeline_cfg = std::to_string(i) + "," + std::to_string(session_) + "," + std::to_stri… in StartPipelines()
444 … std::to_string(msg_send_lists_[i]) + "," + std::to_string(msg_recv_lists_[i]) + "," + in StartPipelines()
445 … std::to_string(num_pipelines_) + "," + std::to_string(num_epoches_) + "," + in StartPipelines()
446 std::to_string(num_rows_) + "," + std::to_string(row_size_) + "," + in StartPipelines()
447 std::to_string(cfg_.num_parallel_workers()) + "," + in StartPipelines()
449 …std::string client_cfg = cache_builder_.GetHostname() + "," + std::to_string(cache_builder_.GetPor… in StartPipelines()
450 std::to_string(cache_builder_.GetPrefetchSize()) + "," + in StartPipelines()
[all …]
/third_party/boost/libs/numeric/conversion/test/
Dtest_helpers3.cpp41 std::string to_string() const in to_string() function
75 …conv.to_string() << printable(source) << ")= " << printable(result) << ". Expected:" << printable… in test_conv_base()
80 BOOST_ERROR( conv.to_string() << printable(source) << ") = " << printable(result) in test_conv_base()
89 …BOOST_CHECK_MESSAGE( true, conv.to_string() << printable(source) << ") = negative_overflow, as exp… in test_conv_base()
93 …BOOST_ERROR( conv.to_string() << printable(source) << ") = negative_overflow. Expected:" << print… in test_conv_base()
100 …BOOST_CHECK_MESSAGE( true, conv.to_string() << printable(source) << ") = positive_overflow, as exp… in test_conv_base()
104 …BOOST_ERROR( conv.to_string() << printable(source) << ") = positive_overflow. Expected:" << print… in test_conv_base()
111 …BOOST_CHECK_MESSAGE( true, conv.to_string() << printable(source) << ") = bad_numeric_cast, as expe… in test_conv_base()
115 …BOOST_ERROR( conv.to_string() << printable(source) << ") = bad_numeric_cast. Expected:" << printa… in test_conv_base()
/third_party/boost/libs/exception/test/
Dto_string_stub_test.cpp19 to_string( c1 const & ) in to_string() function
57 to_string( c3 const & ) in to_string() function
87 BOOST_TEST( to_string(42)=="42" ); in main()
88 BOOST_TEST( to_string(n1::c1())=="c1" ); in main()
89 BOOST_TEST( to_string(n2::c2())=="c2" ); in main()
90 BOOST_TEST( to_string(n3::c3())=="c3" ); in main()
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_enums.hpp86 VULKAN_HPP_INLINE std::string to_string( Result value ) in to_string() function
1011 VULKAN_HPP_INLINE std::string to_string( StructureType value ) in to_string() function
1888 VULKAN_HPP_INLINE std::string to_string( ObjectType value ) in to_string() function
1956 VULKAN_HPP_INLINE std::string to_string( VendorId value ) in to_string() function
1975 VULKAN_HPP_INLINE std::string to_string( PipelineCacheHeaderVersion value ) in to_string() function
2269 VULKAN_HPP_INLINE std::string to_string( Format value ) in to_string() function
2581 VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlagBits value ) in to_string() function
2653 VULKAN_HPP_INLINE std::string to_string( ImageCreateFlagBits value ) in to_string() function
2683 VULKAN_HPP_INLINE std::string to_string( ImageTiling value ) in to_string() function
2701 VULKAN_HPP_INLINE std::string to_string( ImageType value ) in to_string() function
[all …]
/third_party/boost/libs/math/example/daubechies_wavelets/
Ddaubechies_wavelet_plots.cpp30 std::string title = "Daubechies " + std::to_string(p) + " wavelet"; in plot_psi()
32 std::string filename = "daubechies_" + std::to_string(p) + "_wavelet.svg"; in plot_psi()
50 std::string title = "Daubechies " + std::to_string(p) + " wavelet derivative"; in plot_dpsi()
52 std::string filename = "daubechies_" + std::to_string(p) + "_wavelet_prime.svg"; in plot_dpsi()
67 …std::string title = "Daubechies " + std::to_string(p) + " wavelet at 1 (orange), 2 (red), and 21 … in plot_convergence()
69 std::string filename = "daubechies_" + std::to_string(p) + "_wavelet_convergence.svg"; in plot_convergence()
94 …og10 of condition number of function evaluation for Daubechies " + std::to_string(p) + " wavelet f… in plot_condition_number()
96 std::string filename = "daubechies_" + std::to_string(p) + "_wavelet_condition_number.svg"; in plot_condition_number()
129 …std::string title = std::to_string(p) + " vanishing moment ULP plot at " + std::to_string(coarse_r… in do_ulp()
132 …me = "daubechies_" + std::to_string(p) + "_wavelet_" + boost::core::demangle(typeid(CoarseReal).na… in do_ulp()
Ddaubechies_plots.cpp31 std::string title = "Daubechies " + std::to_string(p) + " scaling function"; in plot_phi()
33 std::string filename = "daubechies_" + std::to_string(p) + "_scaling.svg"; in plot_phi()
52 std::string title = "Daubechies " + std::to_string(p) + " scaling function derivative"; in plot_dphi()
54 std::string filename = "daubechies_" + std::to_string(p) + "_scaling_prime.svg"; in plot_dphi()
70 …std::string title = "Daubechies " + std::to_string(p) + " scaling at 0 (green), 1 (orange), 2 (red… in plot_convergence()
72 std::string filename = "daubechies_" + std::to_string(p) + "_scaling_convergence.svg"; in plot_convergence()
99 …og10 of condition number of function evaluation for Daubechies " + std::to_string(p) + " scaling f… in plot_condition_number()
101 std::string filename = "daubechies_" + std::to_string(p) + "_scaling_condition_number.svg"; in plot_condition_number()
134 …std::string title = std::to_string(p) + " vanishing moment ULP plot at " + std::to_string(coarse_r… in do_ulp()
137 …lename = "daubechies_" + std::to_string(p) + "_" + boost::core::demangle(typeid(CoarseReal).name()… in do_ulp()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dnormalize_pad_op.cc29 …RROR) << "NormalizePad: invalid mean value, got: (" + std::to_string(mean_r) + std::to_string(mean… in NormalizePadOp()
30 std::to_string(mean_b) + ")."; in NormalizePadOp()
34 …(ERROR) << "NormalizePad: invalid std value, got: (" + std::to_string(std_r) + std::to_string(std_… in NormalizePadOp()
35 std::to_string(std_b) + ")."; in NormalizePadOp()
Dcenter_crop_op.cc38 …(rank < 2 || rank > 3) ? "image shape is not <H,W,C> or <H,W>, but got rank: " + std::to_string(ra… in Compute()
40 … ? "crop size needs to be positive integers, but got crop height:" + std::to_string(crop_het_) + in Compute()
41 ", crop width: " + std::to_string(crop_wid_) + "\t" in Compute()
54 … std::to_string(top) + "pad left: " + std::to_string(left) + ", and original size: " + in Compute()
55 … std::to_string(input->shape()[0]) + ", " + std::to_string(input->shape()[1])); in Compute()
85 std::to_string(inputs[0].Rank())); in OutputShape()
/third_party/skia/include/private/
DSkSLLayout.h74 result += separator() + "location = " + to_string(fLocation); in description()
77 result += separator() + "offset = " + to_string(fOffset); in description()
80 result += separator() + "binding = " + to_string(fBinding); in description()
83 result += separator() + "index = " + to_string(fIndex); in description()
86 result += separator() + "set = " + to_string(fSet); in description()
89 result += separator() + "builtin = " + to_string(fBuiltin); in description()
92 result += separator() + "input_attachment_index = " + to_string(fInputAttachmentIndex); in description()
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/
Dcpu_e2e_dump.cc78 …std::string file_path = dump_path + '/' + op_type + '.' + op_name + '.' + std::to_string(kTaskId) … in DumpInputImpl()
79 … std::to_string(kStreamId) + '.' + std::to_string(timestamp) + ".input." + std::to_string(j); in DumpInputImpl()
103 …std::string file_path = dump_path + '/' + op_type + '.' + op_name + '.' + std::to_string(kTaskId) … in DumpOutputImpl()
104 … std::to_string(kStreamId) + '.' + std::to_string(timestamp) + ".output." + in DumpOutputImpl()
105 std::to_string(j); in DumpOutputImpl()
124 dump_name = std::string("cst") + std::to_string(iter->second); in DumpSingleAnfNode()
148 …std::string file_path = dump_path + "/Parameter." + dump_name + '.' + std::to_string(kTaskId) + '.… in DumpSingleAnfNode()
149 std::to_string(kStreamId) + '.' + std::to_string(timestamp) + ".output.0"; in DumpSingleAnfNode()
/third_party/skia/src/sksl/
DSkSLString.cpp112 String to_string(int32_t value) { in to_string() function
113 return SkSL::String(std::to_string(value)); in to_string()
116 String to_string(uint32_t value) { in to_string() function
117 return SkSL::String(std::to_string(value)); in to_string()
120 String to_string(int64_t value) { in to_string() function
121 return SkSL::String(std::to_string(value)); in to_string()
124 String to_string(uint64_t value) { in to_string() function
125 return SkSL::String(std::to_string(value)); in to_string()
128 String to_string(double value) { in to_string() function

12345678910>>...46