Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 164) sorted by relevance

1234567

/ndk/sources/third_party/googletest/googletest/src/
Dgtest-printers.cc60 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/
Dstreambuf.pass.cpp31 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 …]
Dmove.pass.cpp48 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/
Dctor_result_type.pass.cpp29 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/
Dgtest-printers.h116 ::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/
Dconfig.sub126 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/
Dconfig.sub127 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/
Dgtest_test_utils.py37 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 …]
Dgtest_xml_outfiles_test.py36 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/
Dunsigned_char_pointer.pass.cpp56 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 …]
Dsigned_char_pointer.pass.cpp56 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 …]
Dsigned_char.pass.cpp56 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 …]
Dchar_pointer.pass.cpp56 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 …]
Dchar.pass.cpp56 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 …]
Dunsigned_char.pass.cpp56 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 …]
DCharT.pass.cpp56 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 …]
DCharT_pointer.pass.cpp56 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 …]
Dchar_to_wide.pass.cpp56 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 …]
Dchar_to_wide_pointer.pass.cpp56 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/
Dput_money.pass.cpp58 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/
Dbool.pass.cpp55 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/
Dsetbase.pass.cpp40 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/
Dseekp.pass.cpp43 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()
Dseekp2.pass.cpp45 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/
Ddestruct.pass.cpp40 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()

1234567