/external/chromium-trace/catapult/systrace/bin/ |
systrace | 7 import os 10 _SYSTRACE_DIR = os.path.abspath( 11 os.path.join(os.path.dirname(__file__), os.path.pardir))
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.unformatted/ |
flush.pass.cpp | 46 std::ostream os(&sb); 47 os.flush(); 48 assert(os.good()); 50 os.flush(); 51 assert(os.bad());
|
/external/libyuv/files/ |
download_vs_toolchain.py | 16 import os 20 checkout_root = os.path.dirname(os.path.realpath(__file__)) 21 sys.path.insert(0, os.path.join(checkout_root, 'build')) 22 sys.path.insert(0, os.path.join(checkout_root, 'tools', 'find_depot_tools'))
|
/external/r8/tools/benchmarks/ |
main_utils.py | 6 import os 8 TOOLS_DIR = os.path.abspath( 9 os.path.normpath(os.path.join(__file__, '..', '..'))) 13 return imp.load_source('utils', os.path.join(TOOLS_DIR, 'utils.py'))
|
/external/v8/tools/gcmole/ |
download_gcmole_tools.py | 6 import os 10 GCMOLE_PATH = os.path.dirname(os.path.abspath(__file__)) 11 SHA1_PATH = os.path.join(GCMOLE_PATH, 'gcmole-tools.tar.gz.sha1') 13 if re.search(r'\bgcmole=1', os.environ.get('GYP_DEFINES', '')):
|
/external/v8/tools/jsfunfuzz/ |
download_jsfunfuzz.py | 6 import os 10 FUZZ_PATH = os.path.dirname(os.path.abspath(__file__)) 11 SHA1_PATH = os.path.join(FUZZ_PATH, 'jsfunfuzz.tar.gz.sha1') 13 if re.search(r'\bjsfunfuzz=1', os.environ.get('GYP_DEFINES', '')):
|
/frameworks/rs/rsov/compiler/tests/ |
llvm-lit | 3 import os 9 android_source_root = os.getenv('ANDROID_BUILD_TOP', ".") 10 llvm_source_root = os.path.join(android_source_root, 'external', 'llvm') 13 sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit')) 18 'llvm_site_config' : os.path.join('./', 'lit.site.cfg')
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.unformatted/ |
flush.pass.cpp | 46 std::ostream os(&sb); 47 os.flush(); 48 assert(os.good()); 50 os.flush(); 51 assert(os.bad());
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/iostream.format/output.streams/ostream.unformatted/ |
flush.pass.cpp | 46 std::ostream os(&sb); 47 os.flush(); 48 assert(os.good()); 50 os.flush(); 51 assert(os.bad());
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
LongFilePathOs.py | 2 # Override built in module os to provide support for long file path
14 import os
22 return os.access(LongFilePath(path), mode)
25 return os.remove(LongFilePath(path))
28 return os.removedirs(LongFilePath(name))
31 return os.rmdir(LongFilePath(path))
34 return os.mkdir(LongFilePath(path))
37 return os.makedirs(LongFilePath(name), mode)
40 return os.rename(LongFilePath(old), LongFilePath(new))
43 return os.chdir(LongFilePath(path)) [all...] |
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.cons/ |
move.pass.cpp | 48 test_ostream<char> os(std::move(os1)); 50 assert(os.rdbuf() == 0); 51 assert(os.tie() == 0); 52 assert(os.fill() == ' '); 53 assert(os.rdstate() == os.goodbit); 54 assert(os.exceptions() == os.goodbit); 55 assert(os.flags() == (os.skipws | os.dec)) [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.cons/ |
move.pass.cpp | 48 test_ostream<char> os(std::move(os1)); 50 assert(os.rdbuf() == 0); 51 assert(os.tie() == 0); 52 assert(os.fill() == ' '); 53 assert(os.rdstate() == os.goodbit); 54 assert(os.exceptions() == os.goodbit); 55 assert(os.flags() == (os.skipws | os.dec)) [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/iostream.format/output.streams/ostream.cons/ |
move.pass.cpp | 48 test_ostream<char> os(std::move(os1)); 50 assert(os.rdbuf() == 0); 51 assert(os.tie() == 0); 52 assert(os.fill() == ' '); 53 assert(os.rdstate() == os.goodbit); 54 assert(os.exceptions() == os.goodbit); 55 assert(os.flags() == (os.skipws | os.dec)) [all...] |
/external/python/cpython2/Lib/plat-os2emx/ |
_emx_link.py | 7 the os module in place of the unimplemented (on OS/2) Posix link() 8 function (os.link()). 10 We do this on OS/2 by implementing a file copy, with link(2) semantics:- 27 - returns None, same as os.link() which is implemented in posixmodule.c; 36 import os 45 On OS/2, this creates a complete copy of the source file. 48 s = os.open(source, os.O_RDONLY | os.O_BINARY [all...] |
/art/runtime/ |
runtime_common.cc | 134 void Dump(std::ostream& os) const; 136 void DumpRegister32(std::ostream& os, const char* name, uint32_t value) const; 137 void DumpRegister64(std::ostream& os, const char* name, uint64_t value) const; 139 void DumpX86Flags(std::ostream& os, uint32_t flags) const; 142 void DumpArmStatusRegister(std::ostream& os, RegisterType status_register) const; 147 void UContext::Dump(std::ostream& os) const { 149 DumpRegister32(os, "eax", context->__ss.__eax); 150 DumpRegister32(os, "ebx", context->__ss.__ebx); 151 DumpRegister32(os, "ecx", context->__ss.__ecx); 152 DumpRegister32(os, "edx", context->__ss.__edx) [all...] |
/art/runtime/arch/mips/ |
registers_mips.cc | 30 std::ostream& operator<<(std::ostream& os, const Register& rhs) { 32 os << kRegisterNames[rhs]; 34 os << "Register[" << static_cast<int>(rhs) << "]"; 36 return os; 39 std::ostream& operator<<(std::ostream& os, const FRegister& rhs) { 41 os << "f" << static_cast<int>(rhs); 43 os << "FRegister[" << static_cast<int>(rhs) << "]"; 45 return os; 48 std::ostream& operator<<(std::ostream& os, const VectorRegister& rhs) { 50 os << "w" << static_cast<int>(rhs) [all...] |
/art/runtime/arch/mips64/ |
registers_mips64.cc | 31 std::ostream& operator<<(std::ostream& os, const GpuRegister& rhs) { 33 os << kRegisterNames[rhs]; 35 os << "GpuRegister[" << static_cast<int>(rhs) << "]"; 37 return os; 40 std::ostream& operator<<(std::ostream& os, const FpuRegister& rhs) { 42 os << "f" << static_cast<int>(rhs); 44 os << "FpuRegister[" << static_cast<int>(rhs) << "]"; 46 return os; 49 std::ostream& operator<<(std::ostream& os, const VectorRegister& rhs) { 51 os << "w" << static_cast<int>(rhs) [all...] |
/external/autotest/client/cros/cellular/wardmodem/state_machines/ |
common.py | 1 # Copyright (c) 2013 The Chromium OS Authors. All rights reserved. 5 import os 7 dirname = os.path.dirname(sys.modules[__name__].__file__) 8 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir, 9 os.pardir, os.pardir)) 10 package_root_dir = os.path.abspath(os.path.join(dirname, os.pardir) [all...] |
/external/autotest/client/tools/ |
make_clean | 2 import os 5 if not os.path.exists(top_dir): 7 for dir in os.listdir(top_dir): 10 py = os.path.join (top_dir, dir, dir + '.py') 11 if not os.path.exists(py): 13 ret = os.system('grep -q "preserve_srcdir = " ' + py) 14 src_path = os.path.abspath(os.path.join('tests', dir, 'src')) 15 if not os.path.exists(src_path): 23 os.system(cmd [all...] |
/external/autotest/site_utils/rpm_control_system/ |
config.py | 1 # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 4 import os 8 CONFIG_FILE = os.path.join(os.path.dirname(__file__), 'rpm_config.ini')
|
/external/chromium-trace/catapult/common/eslint/bin/ |
run_tests | 6 import os 10 _CATAPULT_PATH = os.path.abspath( 11 os.path.join(os.path.dirname(__file__), 12 os.path.pardir, os.path.pardir, os.path.pardir)) 15 _ESLINT_PATH = os.path.abspath( 16 os.path.join(os.path.dirname(__file__), os.path.pardir) [all...] |
/external/libcxx/test/std/numerics/complex.number/complex.ops/ |
stream_output.pass.cpp | 23 std::ostringstream os; local 24 os << c; 25 assert(os.str() == "(1,2)");
|
/external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/ |
ctor_result_type.pass.cpp | 68 std::ostringstream os; local 69 os << e1; 70 assert(os.str() == a);
|
/external/libcxx/test/std/utilities/template.bitset/bitset.operators/ |
stream_out.pass.cpp | 22 std::ostringstream os; local 24 os << b; 25 assert(os.str() == "01011010");
|
/frameworks/base/libs/hwui/tests/unit/ |
StringUtilsTests.cpp | 41 std::stringstream os; local 42 os << SizePrinter{500}; 43 EXPECT_EQ("500.00B", os.str()); 44 os.str(""); 45 os << SizePrinter{46080}; 46 EXPECT_EQ("45.00KiB", os.str()); 47 os.str(""); 48 os << SizePrinter{5 * 1024 * 1024 + 520 * 1024}; 49 EXPECT_EQ("5.51MiB", os.str()); 50 os.str("") [all...] |