Home
last modified time | relevance | path

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

12345678

/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/build/lib/
Dbuild_support.py18 import os
26 THIS_DIR = os.path.realpath(os.path.dirname(__file__))
109 top = os.path.realpath(os.path.join(THIS_DIR, '../../..'))
110 return os.path.normpath(os.path.join(top, *args))
148 build_env = dict(os.environ)
155 path = os.path.realpath(os.getenv(env_var, default))
156 if not os.path.isdir(path):
157 os.makedirs(path)
166 return _get_dir_from_env(os.path.join(out_dir, 'dist'), 'DIST_DIR')
192 dist_dir = os.environ.get('DIST_DIR')
[all …]
/ndk/tests/
Dndk.py18 import os
25 THIS_DIR = os.path.dirname(os.path.realpath(__file__))
26 NDK_ROOT = os.path.realpath(os.path.join(THIS_DIR, '..'))
36 test_path = os.path.join(os.environ['NDK'], 'prebuilt', host_tag)
37 if not os.path.exists(test_path):
48 prebuilt_path = os.path.join(os.environ['NDK'], 'prebuilt', host_tag)
49 return os.path.join(prebuilt_path, 'bin', tool) + ext
53 ndk_build_path = os.path.join(os.environ['NDK'], 'ndk-build')
54 if os.name == 'nt':
/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/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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_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 …]
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 …]
/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++/
Dbuild.py20 import os
25 THIS_DIR = os.path.realpath(os.path.dirname(__file__))
26 site.addsitedir(os.path.join(THIS_DIR, '../../../build/lib'))
51 platforms_root = os.path.join(prebuilt_ndk, 'platforms')
52 toolchains_root = os.path.join(prebuilt_ndk, 'toolchains')
54 obj_out = os.path.join(args.out_dir, 'libcxx/obj')
61 lib_out = os.path.join(libcxx_path, 'libs')
76 'APP_BUILD_SCRIPT=' + os.path.join(THIS_DIR, 'Android.mk'),
77 'NDK_APPLICATION_MK=' + os.path.join(THIS_DIR, 'Application.mk'),
93 static_lib_dir = os.path.join(obj_out, 'local', abi)
[all …]
/ndk/build/tools/
Dpackage.py22 import os
32 site.addsitedir(os.path.join(os.path.dirname(__file__), '../lib'))
36 THIS_DIR = os.path.dirname(__file__)
37 ANDROID_TOP = os.path.realpath(os.path.join(THIS_DIR, '../../..'))
135 for platform_dir in os.listdir(build_support.android_path(platforms_path)):
154 package_path = os.path.join(path, package + '.zip')
155 if not os.path.exists(package_path):
161 components = os.path.split(f)
175 os.makedirs(out_dir)
178 package_path = os.path.join(path, package + '.zip')
[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/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()

12345678