/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest-printers.cc | 60 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() argument 68 *os << ' '; in PrintByteSegmentInObjectTo() 70 *os << '-'; in PrintByteSegmentInObjectTo() 73 *os << text; in PrintByteSegmentInObjectTo() 79 ostream* os) { in PrintBytesInObjectToImpl() argument 81 *os << count << "-byte object <"; in PrintBytesInObjectToImpl() 90 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); in PrintBytesInObjectToImpl() 92 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl() 93 *os << " ... "; in PrintBytesInObjectToImpl() 96 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); in PrintBytesInObjectToImpl() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.cons/ |
D | streambuf.pass.cpp | 31 std::basic_ostream<char> os(&sb); in main() local 32 assert(os.rdbuf() == &sb); in main() 33 assert(os.tie() == 0); in main() 34 assert(os.fill() == ' '); in main() 35 assert(os.rdstate() == os.goodbit); in main() 36 assert(os.exceptions() == os.goodbit); in main() 37 assert(os.flags() == (os.skipws | os.dec)); in main() 38 assert(os.precision() == 6); in main() 39 assert(os.getloc().name() == "C"); in main() 43 std::basic_ostream<wchar_t> os(&sb); in main() local [all …]
|
D | move.pass.cpp | 48 test_ostream<char> os(std::move(os1)); in main() local 50 assert(os.rdbuf() == 0); in main() 51 assert(os.tie() == 0); in main() 52 assert(os.fill() == ' '); in main() 53 assert(os.rdstate() == os.goodbit); in main() 54 assert(os.exceptions() == os.goodbit); in main() 55 assert(os.flags() == (os.skipws | os.dec)); in main() 56 assert(os.precision() == 6); in main() 57 assert(os.getloc().name() == "C"); in main() 62 test_ostream<wchar_t> os(std::move(os1)); in main() local [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.lcong/ |
D | ctor_result_type.pass.cpp | 29 std::ostringstream os; in test1() local 30 os << e; in test1() 31 assert(os.str() == "5"); in test1() 36 std::ostringstream os; in test1() local 37 os << e; in test1() 38 assert(os.str() == "5"); in test1() 43 std::ostringstream os; in test1() local 44 os << e; in test1() 45 assert(os.str() == "1"); in test1() 57 std::ostringstream os; in test2() local [all …]
|
/ndk/sources/third_party/googletest/googletest/include/gtest/ |
D | gtest-printers.h | 116 ::std::ostream* os); 135 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 137 sizeof(value), os); in PrintValue() 149 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 154 *os << ("<" + pretty_str + ">"); in PrintValue() 168 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 170 *os << kBigInt; in PrintValue() 200 ::std::basic_ostream<Char, CharTraits>& os, const T& x) { 204 kConvertibleToInteger : kOtherType)>::PrintValue(x, &os); 205 return os; [all …]
|
/ndk/sources/host-tools/make-3.81/config/ |
D | config.sub | 126 os=-$maybe_os 132 then os=`echo $1 | sed 's/.*-/-/'` 133 else os=; fi 141 case $os in 142 -sun*os*) 152 os= 156 os= 162 os=-vxworks 166 os=-chorusos 170 os=-chorusrdb [all …]
|
/ndk/sources/host-tools/sed-4.2.1/build-aux/ |
D | config.sub | 127 os=-$maybe_os 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 170 os=-chorusos [all …]
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest_test_utils.py | 37 import os 56 IS_WINDOWS = os.name == 'nt' 57 IS_CYGWIN = os.name == 'posix' and 'CYGWIN' in os.uname()[0] 66 _flag_map = {'source_dir': os.path.dirname(sys.argv[0]), 67 'build_dir': os.path.dirname(sys.argv[0])} 83 if flag.upper() in os.environ: 84 _flag_map[flag] = os.environ[flag.upper()] 114 return os.path.abspath(GetFlag('source_dir')) 120 return os.path.abspath(GetFlag('build_dir')) 156 path = os.path.abspath(os.path.join(build_dir or GetBuildDir(), [all …]
|
D | gtest_xml_outfiles_test.py | 36 import os 71 self.output_dir_ = os.path.join(gtest_test_utils.GetTempDir(), 80 os.remove(os.path.join(self.output_dir_, GTEST_OUTPUT_1_TEST + ".xml")) 81 except os.error: 84 os.remove(os.path.join(self.output_dir_, GTEST_OUTPUT_2_TEST + ".xml")) 85 except os.error: 88 os.rmdir(self.output_dir_) 89 except os.error: 112 output_file1 = os.path.join(self.output_dir_, output_file_name1) 114 output_file2 = os.path.join(self.output_dir_, output_file_name2) [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/ |
D | unsigned_char_pointer.pass.cpp | 56 std::ostream os((std::streambuf*)0); in main() local 58 os << c; in main() 59 assert(os.bad()); in main() 60 assert(os.fail()); in main() 64 std::ostream os(&sb); in main() local 66 os << c; in main() 71 std::ostream os(&sb); in main() local 72 os.width(5); in main() 74 os << c; in main() 76 assert(os.width() == 0); in main() [all …]
|
D | signed_char_pointer.pass.cpp | 56 std::ostream os((std::streambuf*)0); in main() local 58 os << c; in main() 59 assert(os.bad()); in main() 60 assert(os.fail()); in main() 64 std::ostream os(&sb); in main() local 66 os << c; in main() 71 std::ostream os(&sb); in main() local 72 os.width(5); in main() 74 os << c; in main() 76 assert(os.width() == 0); in main() [all …]
|
D | signed_char.pass.cpp | 56 std::ostream os((std::streambuf*)0); in main() local 58 os << c; in main() 59 assert(os.bad()); in main() 60 assert(os.fail()); in main() 64 std::ostream os(&sb); in main() local 66 os << c; in main() 71 std::ostream os(&sb); in main() local 72 os.width(5); in main() 74 os << c; in main() 76 assert(os.width() == 0); in main() [all …]
|
D | char_pointer.pass.cpp | 56 std::ostream os((std::streambuf*)0); in main() local 58 os << c; in main() 59 assert(os.bad()); in main() 60 assert(os.fail()); in main() 64 std::ostream os(&sb); in main() local 66 os << c; in main() 71 std::ostream os(&sb); in main() local 72 os.width(5); in main() 74 os << c; in main() 76 assert(os.width() == 0); in main() [all …]
|
D | char.pass.cpp | 56 std::ostream os((std::streambuf*)0); in main() local 58 os << c; in main() 59 assert(os.bad()); in main() 60 assert(os.fail()); in main() 64 std::ostream os(&sb); in main() local 66 os << c; in main() 71 std::ostream os(&sb); in main() local 72 os.width(5); in main() 74 os << c; in main() 76 assert(os.width() == 0); in main() [all …]
|
D | unsigned_char.pass.cpp | 56 std::ostream os((std::streambuf*)0); in main() local 58 os << c; in main() 59 assert(os.bad()); in main() 60 assert(os.fail()); in main() 64 std::ostream os(&sb); in main() local 66 os << c; in main() 71 std::ostream os(&sb); in main() local 72 os.width(5); in main() 74 os << c; in main() 76 assert(os.width() == 0); in main() [all …]
|
D | CharT.pass.cpp | 56 std::wostream os((std::wstreambuf*)0); in main() local 58 os << c; in main() 59 assert(os.bad()); in main() 60 assert(os.fail()); in main() 64 std::wostream os(&sb); in main() local 66 os << c; in main() 71 std::wostream os(&sb); in main() local 72 os.width(5); in main() 74 os << c; in main() 76 assert(os.width() == 0); in main() [all …]
|
D | CharT_pointer.pass.cpp | 56 std::wostream os((std::wstreambuf*)0); in main() local 58 os << c; in main() 59 assert(os.bad()); in main() 60 assert(os.fail()); in main() 64 std::wostream os(&sb); in main() local 66 os << c; in main() 71 std::wostream os(&sb); in main() local 72 os.width(5); in main() 74 os << c; in main() 76 assert(os.width() == 0); in main() [all …]
|
D | char_to_wide.pass.cpp | 56 std::wostream os((std::wstreambuf*)0); in main() local 58 os << c; in main() 59 assert(os.bad()); in main() 60 assert(os.fail()); in main() 64 std::wostream os(&sb); in main() local 66 os << c; in main() 71 std::wostream os(&sb); in main() local 72 os.width(5); in main() 74 os << c; in main() 76 assert(os.width() == 0); in main() [all …]
|
D | char_to_wide_pointer.pass.cpp | 56 std::wostream os((std::wstreambuf*)0); in main() local 58 os << c; in main() 59 assert(os.bad()); in main() 60 assert(os.fail()); in main() 64 std::wostream os(&sb); in main() local 66 os << c; in main() 71 std::wostream os(&sb); in main() local 72 os.width(5); in main() 74 os << c; in main() 76 assert(os.width() == 0); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/ext.manip/ |
D | put_money.pass.cpp | 58 std::ostream os(&sb); in main() local 59 os.imbue(std::locale(LOCALE_en_US_UTF_8)); in main() 60 showbase(os); in main() 62 os << std::put_money(x, false); in main() 67 std::ostream os(&sb); in main() local 68 os.imbue(std::locale(LOCALE_en_US_UTF_8)); in main() 69 showbase(os); in main() 71 os << std::put_money(x, true); in main() 76 std::wostream os(&sb); in main() local 77 os.imbue(std::locale(LOCALE_en_US_UTF_8)); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/ |
D | bool.pass.cpp | 55 std::ostream os((std::streambuf*)0); in main() local 57 os << b; in main() 58 assert(os.bad()); in main() 59 assert(os.fail()); in main() 63 std::ostream os(&sb); in main() local 65 os << b; in main() 70 std::ostream os(&sb); in main() local 72 os << b; in main() 77 std::ostream os(&sb); in main() local 78 boolalpha(os); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/std.manip/ |
D | setbase.pass.cpp | 40 std::ostream os(&sb); in main() local 41 os << std::setbase(8); in main() 42 assert((os.flags() & std::ios_base::basefield) == std::ios_base::oct); in main() 43 os << std::setbase(10); in main() 44 assert((os.flags() & std::ios_base::basefield) == std::ios_base::dec); in main() 45 os << std::setbase(16); in main() 46 assert((os.flags() & std::ios_base::basefield) == std::ios_base::hex); in main() 47 os << std::setbase(15); in main() 48 assert((os.flags() & std::ios_base::basefield) == 0); in main() 64 std::wostream os(&sb); in main() local [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.seeks/ |
D | seekp.pass.cpp | 43 std::ostream os((std::streambuf*)0); in main() local 44 assert(&os.seekp(5) == &os); in main() 49 std::ostream os(&sb); in main() local 50 assert(&os.seekp(10) == &os); in main() 52 assert(os.good()); in main() 53 assert(&os.seekp(-1) == &os); in main() 55 assert(os.fail()); in main()
|
D | seekp2.pass.cpp | 45 std::ostream os((std::streambuf*)0); in main() local 46 assert(&os.seekp(5, std::ios_base::beg) == &os); in main() 51 std::ostream os(&sb); in main() local 52 assert(&os.seekp(10, std::ios_base::beg) == &os); in main() 54 assert(os.good()); in main() 55 assert(&os.seekp(-1, std::ios_base::beg) == &os); in main() 57 assert(os.fail()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream_sentry/ |
D | destruct.pass.cpp | 40 std::ostream os((std::streambuf*)0); in main() local 41 std::ostream::sentry s(os); in main() 47 std::ostream os(&sb); in main() local 48 std::ostream::sentry s(os); in main() 54 std::ostream os(&sb); in main() local 55 std::ostream::sentry s(os); in main() 57 unitbuf(os); in main() 62 std::ostream os(&sb); in main() local 65 std::ostream::sentry s(os); in main() 67 unitbuf(os); in main()
|