/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/build/lib/ |
D | build_support.py | 18 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/ |
D | ndk.py | 18 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/ |
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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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_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 | 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 …]
|
/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++/ |
D | build.py | 20 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/ |
D | package.py | 22 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/ |
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/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()
|