/third_party/boost/libs/yap/test/ |
D | print.cpp | 123 std::ostringstream oss; in test_main() local 126 yap::detail::print_type(oss, tuple); in test_main() 127 BOOST_CHECK(oss.str() == "int"); in test_main() 131 std::ostringstream oss; in test_main() local 134 yap::detail::print_type(oss, tuple); in test_main() 135 BOOST_CHECK(oss.str() == "int const"); in test_main() 139 std::ostringstream oss; in test_main() local 142 yap::detail::print_type(oss, tuple); in test_main() 143 BOOST_CHECK(oss.str() == "int &"); in test_main() 147 std::ostringstream oss; in test_main() local [all …]
|
/third_party/gstreamer/gstplugins_good/sys/oss4/ |
D | oss4-sink.c | 208 gst_oss4_sink_set_volume (GstOss4Sink * oss, gdouble volume) in gst_oss4_sink_set_volume() argument 214 GST_OBJECT_LOCK (oss); in gst_oss4_sink_set_volume() 215 if (ioctl (oss->fd, SNDCTL_DSP_SETPLAYVOL, &ivol) < 0) { in gst_oss4_sink_set_volume() 216 GST_LOG_OBJECT (oss, "SETPLAYVOL failed"); in gst_oss4_sink_set_volume() 218 GST_OBJECT_UNLOCK (oss); in gst_oss4_sink_set_volume() 222 gst_oss4_sink_get_volume (GstOss4Sink * oss) in gst_oss4_sink_get_volume() argument 227 GST_OBJECT_LOCK (oss); in gst_oss4_sink_get_volume() 228 if (ioctl (oss->fd, SNDCTL_DSP_GETPLAYVOL, &ivol) < 0) { in gst_oss4_sink_get_volume() 229 GST_LOG_OBJECT (oss, "GETPLAYVOL failed"); in gst_oss4_sink_get_volume() 236 GST_OBJECT_UNLOCK (oss); in gst_oss4_sink_get_volume() [all …]
|
D | oss4-source.c | 167 gst_oss4_source_finalize (GstOss4Source * oss) in gst_oss4_source_finalize() argument 169 g_free (oss->device); in gst_oss4_source_finalize() 170 oss->device = NULL; in gst_oss4_source_finalize() 172 G_OBJECT_CLASS (parent_class)->finalize ((GObject *) (oss)); in gst_oss4_source_finalize() 178 GstOss4Source *oss = GST_OSS4_SOURCE (object); in gst_oss4_source_dispose() local 180 if (oss->probed_caps) { in gst_oss4_source_dispose() 181 gst_caps_unref (oss->probed_caps); in gst_oss4_source_dispose() 182 oss->probed_caps = NULL; in gst_oss4_source_dispose() 192 GstOss4Source *oss; in gst_oss4_source_set_property() local 194 oss = GST_OSS4_SOURCE (object); in gst_oss4_source_set_property() [all …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | types.cpp | 62 std::ostringstream oss; in GetDecorationStr() local 63 oss << "[["; in GetDecorationStr() 65 oss << "("; in GetDecorationStr() 67 oss << (i > 0 ? ", " : ""); in GetDecorationStr() 68 oss << decoration.at(i); in GetDecorationStr() 70 oss << ")"; in GetDecorationStr() 72 oss << "]]"; in GetDecorationStr() 73 return oss.str(); in GetDecorationStr() 87 std::ostringstream oss; in str() local 88 oss << (signed_ ? "s" : "u") << "int" << width_; in str() [all …]
|
/third_party/boost/libs/format/benchmark/ |
D | bench_format.cpp | 134 boost::io::basic_oaltstringstream<char> oss; in test_try1() local 135 oss << boost::format(fstring) % arg1 % arg2 % arg3; in test_try1() 139 dummy += oss.cur_size(); in test_try1() 150 boost::io::basic_oaltstringstream<char> oss; in test_try2() local 151 oss << boost::format(fstring) % arg1 % arg2 % arg3; in test_try2() 152 oss << "blas 34567890GGGGGGGGGGGGGGGGGGGGGGGGGGGGggggggggggggggggggggggggggg " << endl; in test_try2() 153 string s = oss.cur_str(); in test_try2() 154 oss << s << s << s; in test_try2() 155 oss.clear_buffer(); in test_try2() 156 oss << s << s; in test_try2() [all …]
|
/third_party/boost/libs/gil/test/ |
D | test_utility_output_stream.cpp | 31 std::ostringstream oss; in main() local 32 utility::print_color_base p{oss}; in main() 34 BOOST_TEST_EQ(oss.str(), "v0=-128"); in main() 37 std::ostringstream oss; in main() local 38 utility::print_color_base p{oss}; in main() 40 BOOST_TEST_EQ(oss.str(), "v0=128"); in main() 43 std::ostringstream oss; in main() local 44 utility::print_color_base p{oss}; in main() 46 BOOST_TEST_EQ(oss.str(), "v0=-32768"); in main() 49 std::ostringstream oss; in main() local [all …]
|
/third_party/mindspore/mindspore/ccsrc/debug/ |
D | anf_ir_utils.cc | 67 std::ostringstream oss; in GetNodeType() local 69 oss << type->DumpText() << shape->DumpText(); in GetNodeType() 71 oss << "(...)"; in GetNodeType() 74 oss << type->DumpText(); in GetNodeType() 76 oss << "(...)"; in GetNodeType() 79 oss << "Undefined"; in GetNodeType() 81 return oss.str(); in GetNodeType() 138 std::ostringstream oss; in GetMultitypeFuncGraphText() local 140 oss << "{"; in GetMultitypeFuncGraphText() 146 oss << ", "; in GetMultitypeFuncGraphText() [all …]
|
D | trace.cc | 59 std::ostringstream oss; in GetAbstractStr() local 61 oss << type->DumpText() << shape->DumpText(); in GetAbstractStr() 63 oss << type->DumpText(); in GetAbstractStr() 65 oss << "Undefined"; in GetAbstractStr() 67 return oss.str(); in GetAbstractStr() 72 std::ostringstream oss; in GetGraphParamString() local 73 oss << "graph:" << graph->ToString() << " with args["; in GetGraphParamString() 81 oss << parameter->ToString() << ":<" << GetAbstractStr(args_spec_list[i]) << ">,"; in GetGraphParamString() 83 oss << "]"; in GetGraphParamString() 84 oss << GetDebugInfo(graph->debug_info(), kSourceLineTipDiscard); in GetGraphParamString() [all …]
|
/third_party/boost/libs/math/example/ |
D | nonfinite_num_facet_trap.cpp | 55 std::ostringstream oss; in main() local 58 oss.imbue (C99_out_locale); in main() 59 oss.exceptions(std::ios_base::failbit | std::ios_base::badbit); in main() 60 oss << inf << ' ' << nan; in main() 61 cout << "oss.rdstate() = " << hex << oss.rdstate() << endl; // 0 in main() 62 cout << "os.str() = " << oss.str() << endl; // os.str() = inf nan in main() 67 std::ostringstream oss; in main() local 70 oss.imbue (C99_out_locale); in main() 71 oss.exceptions(std::ios_base::failbit | std::ios_base::badbit); in main() 73 oss << inf; in main() [all …]
|
/third_party/gstreamer/gstplugins_good/sys/oss/ |
D | gstosssrc.c | 353 GstOssSrc *oss; in gst_oss_src_open() local 356 oss = GST_OSS_SRC (asrc); in gst_oss_src_open() 361 oss->fd = open (oss->device, mode, 0); in gst_oss_src_open() 362 if (oss->fd == -1) { in gst_oss_src_open() 371 g_free (oss->device_name); in gst_oss_src_open() 372 oss->device_name = gst_oss_helper_get_card_name ("/dev/mixer"); in gst_oss_src_open() 378 GST_ELEMENT_ERROR (oss, RESOURCE, OPEN_READ, in gst_oss_src_open() 386 GST_ELEMENT_ERROR (oss, RESOURCE, OPEN_READ, in gst_oss_src_open() 389 oss->device, g_strerror (errno))); in gst_oss_src_open() 397 GstOssSrc *oss; in gst_oss_src_close() local [all …]
|
D | gstosssink.c | 361 GstOssSink *oss; in gst_oss_sink_open() local 364 oss = GST_OSSSINK (asink); in gst_oss_sink_open() 369 oss->fd = open (oss->device, mode, 0); in gst_oss_sink_open() 370 if (oss->fd == -1) { in gst_oss_sink_open() 386 GST_ELEMENT_ERROR (oss, RESOURCE, BUSY, in gst_oss_sink_open() 393 GST_ELEMENT_ERROR (oss, RESOURCE, OPEN_WRITE, in gst_oss_sink_open() 401 GST_ELEMENT_ERROR (oss, RESOURCE, OPEN_WRITE, in gst_oss_sink_open() 418 GstOssSink *oss; in gst_oss_sink_prepare() local 424 oss = GST_OSSSINK (asink); in gst_oss_sink_prepare() 428 mode = fcntl (oss->fd, F_GETFL); in gst_oss_sink_prepare() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | types.cpp | 68 std::ostringstream oss; in GetDecorationStr() local 69 oss << "[["; in GetDecorationStr() 71 oss << "("; in GetDecorationStr() 73 oss << (i > 0 ? ", " : ""); in GetDecorationStr() 74 oss << decoration.at(i); in GetDecorationStr() 76 oss << ")"; in GetDecorationStr() 78 oss << "]]"; in GetDecorationStr() 79 return oss.str(); in GetDecorationStr() 256 std::ostringstream oss; in str() local 257 oss << (signed_ ? "s" : "u") << "int" << width_; in str() [all …]
|
/third_party/spirv-tools/source/opt/ |
D | types.cpp | 68 std::ostringstream oss; in GetDecorationStr() local 69 oss << "[["; in GetDecorationStr() 71 oss << "("; in GetDecorationStr() 73 oss << (i > 0 ? ", " : ""); in GetDecorationStr() 74 oss << decoration.at(i); in GetDecorationStr() 76 oss << ")"; in GetDecorationStr() 78 oss << "]]"; in GetDecorationStr() 79 return oss.str(); in GetDecorationStr() 256 std::ostringstream oss; in str() local 257 oss << (signed_ ? "s" : "u") << "int" << width_; in str() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | types.cpp | 68 std::ostringstream oss; in GetDecorationStr() local 69 oss << "[["; in GetDecorationStr() 71 oss << "("; in GetDecorationStr() 73 oss << (i > 0 ? ", " : ""); in GetDecorationStr() 74 oss << decoration.at(i); in GetDecorationStr() 76 oss << ")"; in GetDecorationStr() 78 oss << "]]"; in GetDecorationStr() 79 return oss.str(); in GetDecorationStr() 256 std::ostringstream oss; in str() local 257 oss << (signed_ ? "s" : "u") << "int" << width_; in str() [all …]
|
/third_party/mindspore/mindspore/lite/tools/converter/ |
D | converter.cc | 142 std::ostringstream oss; in RunConverter() local 145 oss.clear(); in RunConverter() 146 oss << "NEW FLAGS ERROR:" << RET_MEMORY_FAILED << " " << GetErrorInfo(RET_MEMORY_FAILED); in RunConverter() 147 MS_LOG(ERROR) << oss.str(); in RunConverter() 148 std::cout << oss.str() << std::endl; in RunConverter() 154 oss.clear(); in RunConverter() 155 oss << "CONVERTER::FLAGS INIT FAILED:" << status << " " << GetErrorInfo(status); in RunConverter() 156 MS_LOG(ERROR) << oss.str(); in RunConverter() 157 std::cout << oss.str() << std::endl; in RunConverter() 168 oss.clear(); in RunConverter() [all …]
|
/third_party/mindspore/mindspore/lite/src/ |
D | lite_kernel.cc | 57 std::ostringstream oss; in ToString() local 58 oss << "LiteKernel: " << this->name(); in ToString() 59 oss << ", Type: " << this->type_str(); in ToString() 60 oss << ", " << this->in_tensors().size() << " InputTensors:"; in ToString() 62 oss << " " << tensor; in ToString() 64 oss << ", " << this->out_tensors().size() << " OutputTensors:"; in ToString() 66 oss << " " << tensor; in ToString() 68 oss << ", " << this->in_kernels_.size() << " InputKernels:"; in ToString() 70 oss << " " << in_kernel->name(); in ToString() 72 oss << ", " << this->out_kernels_.size() << " OutputKernels:"; in ToString() [all …]
|
/third_party/boost/libs/scope_exit/test/ |
D | world_checkpoint_all.cpp | 94 std::ostringstream oss; in main() local 95 oss << adam; in main() 96 std::cout << oss.str() << std::endl; in main() 97 BOOST_TEST(oss.str() == "person(0, 0)"); in main() 99 oss.str(""); in main() 100 oss << eva; in main() 101 std::cout << oss.str() << std::endl; in main() 102 BOOST_TEST(oss.str() == "person(0, 0)"); in main() 107 oss.str(""); in main() 108 oss << w; in main() [all …]
|
D | world_checkpoint_all_seq.cpp | 88 std::ostringstream oss; in main() local 89 oss << adam; in main() 90 std::cout << oss.str() << std::endl; in main() 91 BOOST_TEST(oss.str() == "person(0, 0)"); in main() 93 oss.str(""); in main() 94 oss << eva; in main() 95 std::cout << oss.str() << std::endl; in main() 96 BOOST_TEST(oss.str() == "person(0, 0)"); in main() 101 oss.str(""); in main() 102 oss << w; in main() [all …]
|
D | world_checkpoint.cpp | 90 std::ostringstream oss; in main() local 91 oss << adam; in main() 92 std::cout << oss.str() << std::endl; in main() 93 BOOST_TEST(oss.str() == "person(0, 0)"); in main() 95 oss.str(""); in main() 96 oss << eva; in main() 97 std::cout << oss.str() << std::endl; in main() 98 BOOST_TEST(oss.str() == "person(0, 0)"); in main() 103 oss.str(""); in main() 104 oss << w; in main() [all …]
|
/third_party/boost/boost/geometry/policies/is_valid/ |
D | failing_reason_policy.hpp | 122 static inline void apply(std::ostringstream& oss, in apply() 131 oss << ". A spike point was found with apex at " in apply() 140 void apply_to_segment_identifier(std::ostringstream& oss, in apply_to_segment_identifier() 143 oss << "{" << seg_id.source_index in apply_to_segment_identifier() 150 static inline void apply(std::ostringstream& oss, in apply() 155 oss << ". A self-intersection point was found at " in apply() 158 oss << "; method: " << method_char(turn.method) in apply() 164 apply_to_segment_identifier(oss, turn.operations[0].seg_id); in apply() 165 oss << "/"; in apply() 166 apply_to_segment_identifier(oss, turn.operations[1].seg_id); in apply() [all …]
|
/third_party/boost/libs/utility/test/ |
D | iterators_test.cpp | 169 std::stringstream oss; in post_increment_test() local 172 oss << *i++ << ' '; in post_increment_test() 175 BOOST_TEST( oss.str() == "apple orange pear peach grape plum "); in post_increment_test() 187 std::stringstream oss; in post_decrement_test() local 191 oss << *i << ' '; in post_decrement_test() 194 BOOST_TEST( oss.str() == "plum grape peach pear orange apple "); in post_decrement_test() 206 std::stringstream oss; in indirect_referral_test() local 209 oss << i->size() << ' '; in indirect_referral_test() 212 BOOST_TEST( oss.str() == "5 6 4 5 5 4 "); in indirect_referral_test() 225 std::stringstream oss; in offset_addition_test() local [all …]
|
/third_party/boost/libs/local_function/example/ |
D | scope_exit.cpp | 91 std::ostringstream oss; in main() local 92 oss << adam; in main() 93 std::cout << oss.str() << std::endl; in main() 94 BOOST_TEST(oss.str() == "person(0, 0)"); in main() 96 oss.str(""); in main() 97 oss << eva; in main() 98 std::cout << oss.str() << std::endl; in main() 99 BOOST_TEST(oss.str() == "person(0, 0)"); in main() 104 oss.str(""); in main() 105 oss << w; in main() [all …]
|
/third_party/mindspore/mindspore/core/ir/ |
D | scalar.h | 73 std::ostringstream oss; in DumpText() local 74 oss << "Bool(" << v_ << ")"; in DumpText() 75 return oss.str(); in DumpText() 107 std::ostringstream oss; in DumpText() local 108 oss << "I8(" << int(v_) << ")"; in DumpText() 109 return oss.str(); in DumpText() 133 std::ostringstream oss; in IMM_TRAITS() local 134 oss << "I16(" << int(v_) << ")"; in IMM_TRAITS() 135 return oss.str(); in IMM_TRAITS() 159 std::ostringstream oss; in IMM_TRAITS() local [all …]
|
/third_party/boost/boost/math/interpolators/detail/ |
D | cubic_hermite_detail.hpp | 46 std::ostringstream oss; local 47 oss.precision(std::numeric_limits<Real>::digits10+3); 48 … oss << "Abscissas must be listed in strictly increasing order x0 < x1 < ... < x_{n-1}, "; 49 … oss << "but at x[" << i - 1 << "] = " << x0 << ", and x[" << i << "] = " << x1 << ".\n"; 50 throw std::domain_error(oss.str()); 73 std::ostringstream oss; in operator ()() local 74 oss.precision(std::numeric_limits<Real>::digits10+3); in operator ()() 75 oss << "Requested abscissa x = " << x << ", which is outside of allowed range [" in operator ()() 77 throw std::domain_error(oss.str()); in operator ()() 108 std::ostringstream oss; in prime() local [all …]
|
/third_party/mindspore/mindspore/core/utils/ |
D | profile.cc | 39 void PrintProfile(std::ostringstream &oss, const TimeInfo &time_info, int indent = 0, 42 void PrintTimeInfoMap(std::ostringstream &oss, const TimeInfoMap &dict, int indent = 0, in PrintTimeInfoMap() argument 56 oss << std::setw(indent * 4) << "" in PrintTimeInfoMap() 59 oss << ", [" << iter.second->dict_->size() << "]"; in PrintTimeInfoMap() 61 oss << "\n"; in PrintTimeInfoMap() 67 PrintProfile(oss, *iter.second, indent + 1, sums, newPrefix); in PrintTimeInfoMap() 74 void PrintProfile(std::ostringstream &oss, const TimeInfo &time_info, int indent, std::map<std::str… in PrintProfile() argument 88 oss << "TotalTime = " << time_info.time_; in PrintProfile() 90 oss << ", [" << time_info.dict_->size() << "]"; in PrintProfile() 92 oss << "\n"; in PrintProfile() [all …]
|