/third_party/boost/libs/utility/test/ |
D | ostream_string_test.cpp | 16 std::ostringstream os; in main() local 17 os.width(1); in main() 18 os.fill('.'); in main() 19 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 20 boost::ostream_string(os, "xy", 2); in main() 21 BOOST_TEST(os.good()); in main() 22 BOOST_TEST(os.width() == 0); in main() 23 BOOST_TEST(os.str() == "xy"); in main() 26 std::wostringstream os; in main() local 27 os.width(1); in main() [all …]
|
/third_party/boost/libs/io/test/ |
D | quoted_fill_test.cpp | 16 std::ostringstream os; in main() local 17 os.width(2); in main() 18 os.fill('.'); in main() 19 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 20 os << boost::io::quoted("xy"); in main() 21 BOOST_TEST(os.good()); in main() 22 BOOST_TEST(os.width() == 0); in main() 23 BOOST_TEST(os.str() == "\"xy\""); in main() 26 std::wostringstream os; in main() local 27 os.width(2); in main() [all …]
|
D | ostream_put_test.cpp | 16 std::ostringstream os; in main() local 17 os.width(1); in main() 18 os.fill('.'); in main() 19 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 20 boost::io::ostream_put(os, "xy", 2); in main() 21 BOOST_TEST(os.good()); in main() 22 BOOST_TEST(os.width() == 0); in main() 23 BOOST_TEST(os.str() == "xy"); in main() 26 std::wostringstream os; in main() local 27 os.width(1); in main() [all …]
|
/third_party/googletest/googletest/src/ |
D | gtest-printers.cc | 70 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() argument 78 *os << ' '; in PrintByteSegmentInObjectTo() 80 *os << '-'; in PrintByteSegmentInObjectTo() 83 *os << text; in PrintByteSegmentInObjectTo() 89 ostream* os) { in PrintBytesInObjectToImpl() argument 91 *os << count << "-byte object <"; in PrintBytesInObjectToImpl() 99 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); in PrintBytesInObjectToImpl() 101 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl() 102 *os << " ... "; in PrintBytesInObjectToImpl() 105 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); in PrintBytesInObjectToImpl() [all …]
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | PackedGLEnums_autogen.cpp | 70 std::ostream &operator<<(std::ostream &os, AlphaTestFunc value) in operator <<() argument 75 os << "GL_ALWAYS"; in operator <<() 78 os << "GL_EQUAL"; in operator <<() 81 os << "GL_GEQUAL"; in operator <<() 84 os << "GL_GREATER"; in operator <<() 87 os << "GL_LEQUAL"; in operator <<() 90 os << "GL_LESS"; in operator <<() 93 os << "GL_NEVER"; in operator <<() 96 os << "GL_NOTEQUAL"; in operator <<() 99 os << "GL_INVALID_ENUM"; in operator <<() [all …]
|
D | PackedCLEnums_autogen.cpp | 58 std::ostream &operator<<(std::ostream &os, AddressingMode value) in operator <<() argument 63 os << "CL_ADDRESS_NONE"; in operator <<() 66 os << "CL_ADDRESS_CLAMP_TO_EDGE"; in operator <<() 69 os << "CL_ADDRESS_CLAMP"; in operator <<() 72 os << "CL_ADDRESS_REPEAT"; in operator <<() 75 os << "CL_ADDRESS_MIRRORED_REPEAT"; in operator <<() 78 os << "GL_INVALID_ENUM"; in operator <<() 81 return os; in operator <<() 132 std::ostream &operator<<(std::ostream &os, CommandQueueInfo value) in operator <<() argument 137 os << "CL_QUEUE_CONTEXT"; in operator <<() [all …]
|
D | PackedEnums.cpp | 266 std::ostream &operator<<(std::ostream &os, PrimitiveMode value) in operator <<() argument 271 os << "GL_LINE_LOOP"; in operator <<() 274 os << "GL_LINES"; in operator <<() 277 os << "GL_LINES_ADJACENCY"; in operator <<() 280 os << "GL_LINE_STRIP"; in operator <<() 283 os << "GL_LINE_STRIP_ADJANCENCY"; in operator <<() 286 os << "GL_POINTS"; in operator <<() 289 os << "GL_TRIANGLE_FAN"; in operator <<() 292 os << "GL_TRIANGLES"; in operator <<() 295 os << "GL_TRIANGLES_ADJANCENCY"; in operator <<() [all …]
|
/third_party/boost/boost/histogram/axis/ |
D | ostream.hpp | 45 auto ostream_any_impl(OStream& os, const T& t, priority<1>) -> decltype(os << t) { in ostream_any_impl() argument 46 return os << t; in ostream_any_impl() 50 OStream& ostream_any_impl(OStream& os, const T&, priority<0>) { in ostream_any_impl() argument 51 return os << type_name<T>(); in ostream_any_impl() 55 OStream& ostream_any(OStream& os, const T& t) { in ostream_any() argument 56 return ostream_any_impl(os, t, priority<1>{}); in ostream_any() 60 OStream& ostream_any_quoted(OStream& os, const std::basic_string<Ts...>& s) { in ostream_any_quoted() argument 61 return os << std::quoted(s); in ostream_any_quoted() 65 OStream& ostream_any_quoted(OStream& os, const T& t) { in ostream_any_quoted() argument 66 return ostream_any(os, t); in ostream_any_quoted() [all …]
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest-printers.cc | 65 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() argument 73 *os << ' '; in PrintByteSegmentInObjectTo() 75 *os << '-'; in PrintByteSegmentInObjectTo() 78 *os << text; in PrintByteSegmentInObjectTo() 84 ostream* os) { in PrintBytesInObjectToImpl() argument 86 *os << count << "-byte object <"; in PrintBytesInObjectToImpl() 94 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); in PrintBytesInObjectToImpl() 96 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl() 97 *os << " ... "; in PrintBytesInObjectToImpl() 100 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); in PrintBytesInObjectToImpl() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | oggdec.c | 100 struct ogg_stream *os = ogg->streams + i; in ogg_save() local 101 os->buf = av_mallocz(os->bufsize + AV_INPUT_BUFFER_PADDING_SIZE); in ogg_save() 102 if (os->buf) in ogg_save() 103 memcpy(os->buf, ost->streams[i].buf, os->bufpos); in ogg_save() 106 os->new_metadata = NULL; in ogg_save() 107 os->new_metadata_size = 0; in ogg_save() 164 struct ogg_stream *os = ogg->streams + i; in ogg_reset() local 165 os->bufpos = 0; in ogg_reset() 166 os->pstart = 0; in ogg_reset() 167 os->psize = 0; in ogg_reset() [all …]
|
D | hdsenc.c | 79 static int parse_header(OutputStream *os, const uint8_t *buf, int buf_size) in parse_header() argument 93 if (os->nb_extra_packets >= FF_ARRAY_ELEMS(os->extra_packets)) in parse_header() 95 os->extra_packet_sizes[os->nb_extra_packets] = size; in parse_header() 96 os->extra_packets[os->nb_extra_packets] = av_malloc(size); in parse_header() 97 if (!os->extra_packets[os->nb_extra_packets]) in parse_header() 99 memcpy(os->extra_packets[os->nb_extra_packets], buf, size); in parse_header() 100 os->nb_extra_packets++; in parse_header() 102 if (os->metadata) in parse_header() 104 os->metadata_size = size - 11 - 4; in parse_header() 105 os->metadata = av_malloc(os->metadata_size); in parse_header() [all …]
|
D | oggparseopus.c | 41 struct ogg_stream *os = &ogg->streams[idx]; in opus_header() local 43 struct oggopus_private *priv = os->private; in opus_header() 44 uint8_t *packet = os->buf + os->pstart; in opus_header() 48 priv = os->private = av_mallocz(sizeof(*priv)); in opus_header() 53 if (os->flags & OGG_FLAG_BOS) { in opus_header() 54 if (os->psize < OPUS_HEAD_SIZE || (AV_RL8(packet + 8) & 0xF0) != 0) in opus_header() 62 os->start_trimming = priv->pre_skip; in opus_header() 67 if ((ret = ff_alloc_extradata(st->codecpar, os->psize)) < 0) in opus_header() 70 memcpy(st->codecpar->extradata, packet, os->psize); in opus_header() 81 if (os->psize < 8 || memcmp(packet, "OpusTags", 8)) in opus_header() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | PackedGLEnums_autogen.cpp | 70 std::ostream &operator<<(std::ostream &os, AlphaTestFunc value) in operator <<() argument 75 os << "GL_ALWAYS"; in operator <<() 78 os << "GL_EQUAL"; in operator <<() 81 os << "GL_GEQUAL"; in operator <<() 84 os << "GL_GREATER"; in operator <<() 87 os << "GL_LEQUAL"; in operator <<() 90 os << "GL_LESS"; in operator <<() 93 os << "GL_NEVER"; in operator <<() 96 os << "GL_NOTEQUAL"; in operator <<() 99 os << "GL_INVALID_ENUM"; in operator <<() [all …]
|
/third_party/python/Lib/test/ |
D | test_os.py | 14 import os 74 if hasattr(os, 'geteuid'): 75 root_in_posix = (os.geteuid() == 0) 87 HAVE_WHEEL_GROUP = sys.platform.startswith('freebsd') and os.getgid() == 0 91 return unittest.skipUnless(hasattr(os, name), 'requires os.%s' % name) 106 cwd = os.getcwd() 135 cwd = os.getcwd() 138 need = min_len - (len(cwd) + len(os.path.sep)) 144 path = os.path.join(path, dirname) 146 os.mkdir(path) [all …]
|
/third_party/mesa3d/src/gtest/include/gtest/ |
D | gtest-printers.h | 130 ::std::ostream* os); 153 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 157 sizeof(value), os); in PrintValue() 169 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 174 *os << ("<" + pretty_str + ">"); in PrintValue() 188 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 190 *os << kBigInt; in PrintValue() 203 static void PrintValue(const T& value, ::std::ostream* os); 233 ::std::basic_ostream<Char, CharTraits>& os, const T& x) { 246 kOtherType)>::PrintValue(x, &os); [all …]
|
/third_party/googletest/googletest/include/gtest/ |
D | gtest-printers.h | 123 void UniversalPrint(const T& value, ::std::ostream* os); 132 static void PrintValue(const T& container, std::ostream* os) { in PrintValue() 134 *os << '{'; in PrintValue() 138 *os << ','; in PrintValue() 140 *os << " ..."; in PrintValue() 144 *os << ' '; in PrintValue() 147 internal::UniversalPrint(elem, os); in PrintValue() 152 *os << ' '; in PrintValue() 154 *os << '}'; in PrintValue() 167 static void PrintValue(T* p, ::std::ostream* os) { in PrintValue() [all …]
|
/third_party/gettext/gettext-tools/examples/hello-c++-kde/admin/ |
D | config.sub | 121 os=-$maybe_os 127 then os=`echo $1 | sed 's/.*-/-/'` 128 else os=; fi 136 case $os in 137 -sun*os*) 147 os= 151 os= 157 os=-vxworks 161 os=-chorusos 165 os=-chorusrdb [all …]
|
/third_party/python/Mac/BuildScript/ |
D | build-installer.py | 39 import platform, os, sys, getopt, textwrap, shutil, stat, time, pwd, grp 92 os.path.join(SRCDIR, 'configure'), 'PACKAGE_VERSION') 104 fn = os.path.join(SRCDIR, 'Include', 'patchlevel.h') 120 DEPSRC = os.path.join(WORKDIR, 'third-party') 121 DEPSRC = os.path.expanduser('~/Universal/other-sources') 148 SRCDIR = os.path.dirname( 149 os.path.dirname( 150 os.path.dirname( 151 os.path.abspath(__file__ 288 "DESTDIR": shellQuote(os.path.join(WORKDIR, 'libraries')), [all …]
|
/third_party/boost/libs/type_traits/tools/ |
D | specialisations.cpp | 20 ofstream os("specialisations"); in main() local 26 os << "template <class R"; in main() 29 os << ", class A" << j; in main() 31 os << ">\n::boost::type_traits::yes_type is_function_tester(R (*)("; in main() 33 os << "void"; in main() 38 if(j) os << ", "; in main() 39 os << "A" << j; in main() 42 os << "));" << endl; in main() 44 os << endl << endl; in main() 50 os << "template <class R"; in main() [all …]
|
/third_party/mtdev/config-aux/ |
D | config.sub | 131 os=-$maybe_os 137 then os=`echo $1 | sed 's/.*-/-/'` 138 else os=; fi 146 case $os in 147 -sun*os*) 157 os= 161 os=-cnk 164 os= 170 os=-vxworks 174 os=-chorusos [all …]
|
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/conversion/eot/ |
D | GlyfEncoderTest.java | 37 ByteArrayOutputStream os = new ByteArrayOutputStream(); in test255UShort1() local 38 GlyfEncoder.write255UShort(os, 142); in test255UShort1() 39 byte[] actual = os.toByteArray(); in test255UShort1() 45 ByteArrayOutputStream os = new ByteArrayOutputStream(); in test255UShort2() local 46 GlyfEncoder.write255UShort(os, 254); in test255UShort2() 47 byte[] actual = os.toByteArray(); in test255UShort2() 53 ByteArrayOutputStream os = new ByteArrayOutputStream(); in test255UShort3() local 54 GlyfEncoder.write255UShort(os, 507); in test255UShort3() 55 byte[] actual = os.toByteArray(); in test255UShort3() 61 ByteArrayOutputStream os = new ByteArrayOutputStream(); in test255UShort4() local [all …]
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/conversion/eot/ |
D | GlyfEncoderTest.java | 37 ByteArrayOutputStream os = new ByteArrayOutputStream(); in test255UShort1() local 38 GlyfEncoder.write255UShort(os, 142); in test255UShort1() 39 byte[] actual = os.toByteArray(); in test255UShort1() 45 ByteArrayOutputStream os = new ByteArrayOutputStream(); in test255UShort2() local 46 GlyfEncoder.write255UShort(os, 254); in test255UShort2() 47 byte[] actual = os.toByteArray(); in test255UShort2() 53 ByteArrayOutputStream os = new ByteArrayOutputStream(); in test255UShort3() local 54 GlyfEncoder.write255UShort(os, 507); in test255UShort3() 55 byte[] actual = os.toByteArray(); in test255UShort3() 61 ByteArrayOutputStream os = new ByteArrayOutputStream(); in test255UShort4() local [all …]
|
/third_party/boost/boost/yap/ |
D | print.hpp | 84 inline std::ostream & print_kind(std::ostream & os, expr_kind kind) in print_kind() argument 86 return os << op_string(kind); in print_kind() 92 std::ostream & operator()(std::ostream & os, T const &) in operator ()() 94 return os << "<<unprintable-value>>"; in operator ()() 104 std::ostream & operator()(std::ostream & os, T const & x) in operator ()() 106 return os << x; in operator ()() 111 inline std::ostream & print_value(std::ostream & os, T const & x) in print_value() argument 113 return printer<T>{}(os, x); in print_value() 117 inline std::ostream & print_value(std::ostream & os, hana::llong<I>) in print_value() argument 119 return os << I << "_p"; in print_value() [all …]
|
/third_party/musl/ndk-test/script/ |
D | build.py | 4 import os 18 target_dir = os.path.join(os.getcwd(),os.path.pardir,'target') 20 if os.path.exists(target_dir) and os.path.isdir(target_dir): 22 for filename in os.listdir(target_dir): 23 if os.path.isdir(os.path.join(target_dir,filename)): 24 shutil.rmtree(os.path.join(target_dir,filename)) 26 os.mkdir(target_dir) 33 comliler_dir = os.path.join(os.getcwd(),os.path.pardir) 36 file_path = os.path.join(comliler_dir,name) 38 if os.path.isdir(file_path): [all …]
|
/third_party/skia/third_party/externals/microhttpd/ |
D | config.sub | 123 os=-$maybe_os 127 os=-linux-android 133 then os=`echo $1 | sed 's/.*-/-/'` 134 else os=; fi 142 case $os in 143 -sun*os*) 153 os= 157 os=-cnk 160 os= 166 os=-vxworks [all …]
|