/external/lldb/test/functionalities/exec/ |
H A D | TestExec.py | 6 import os namespace 22 mydir = os.path.join("functionalities", "exec") 29 source = os.path.join (os.getcwd(), "main.cpp") 30 o_file = os.path.join (os.getcwd(), "main.o") 31 execute_command ("'%s' -g -O0 -arch i386 -arch x86_64 '%s' -c -o '%s'" % (os.environ["CC"], source, o_file)) 32 execute_command ("'%s' -g -O0 -arch i386 -arch x86_64 '%s'" % (os.environ["CC"], o_file)) 42 source = os.path.join (os [all...] |
/external/v8/build/ |
H A D | landmines.py | 20 import os namespace 28 SRC_DIR = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) 43 ret = os.path.join(SRC_DIR, 'xcodebuild', target) 45 ret = os.path.join(SRC_DIR, 'out', target) 47 ret = os.path.join(SRC_DIR, 'build', target) 50 return os.path.abspath(ret) 57 landmines_path = os.path.join(out_dir, '.landmines') 58 if not os [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
H A D | gtest_test_utils.py | 37 import os namespace 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 [all...] |
/external/protobuf/gtest/test/ |
H A D | gtest_test_utils.py | 37 import os namespace 56 IS_WINDOWS = os.name == 'nt' 57 IS_CYGWIN = os.name == 'posix' and 'CYGWIN' in os.uname()[0] 66 _flag_map = {'gtest_source_dir': os.path.dirname(sys.argv[0]), 67 'gtest_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('gtest_source_dir')) 120 return os [all...] |
/external/v8/tools/ |
H A D | test-server.py | 31 import os namespace 37 ROOT = os.path.abspath(os.path.dirname(sys.argv[0])) 55 return os.path.exists(PIDFILE) 67 data_dir = os.path.join(ROOT, "data") 68 if not os.path.exists(data_dir): 69 os.makedirs(data_dir) 72 trusted_dir = os.path.join(ROOT, "trusted") 73 if not os.path.exists(trusted_dir): 74 os [all...] |
/external/tremolo/Tremolo/ |
H A D | framing.c | 852 void ogg_stream_init(ogg_stream_state *os, int serialno){ argument 853 memset(os, 0, sizeof(*os)); 854 os->serialno=serialno; 855 os->pageno=-1; 859 ogg_stream_state *os=_ogg_calloc(1,sizeof(*os)); local 860 os->serialno=serialno; 861 os->pageno=-1; 862 return os; 865 ogg_stream_clear(ogg_stream_state *os) argument 874 ogg_stream_destroy(ogg_stream_state *os) argument 888 _next_lace(oggbyte_buffer *ob,ogg_stream_state *os) argument 902 _span_queued_page(ogg_stream_state *os) argument 995 ogg_stream_pagein(ogg_stream_state *os, ogg_page *og) argument 1029 ogg_stream_reset(ogg_stream_state *os) argument 1054 ogg_stream_reset_serialno(ogg_stream_state *os,int serialno) argument 1060 _packetout(ogg_stream_state *os,ogg_packet *op,int adv) argument 1138 ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op) argument 1142 ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op) argument [all...] |
/external/v8/test/mozilla/ |
H A D | testcfg.py | 29 import os namespace 68 self.testroot = os.path.join(root, "data") 73 current_root = os.path.join(self.testroot, testdir) 74 for dirname, dirs, files in os.walk(current_root): 84 testname = os.path.join(dirname[len(self.testroot) + 1:], 94 result += [os.path.join(self.root, "mozilla-shell-emulation.js")] 96 testfilepath = testfilename.split(os.path.sep) 98 script = os.path.join(self.testroot, 99 reduce(os.path.join, testfilepath[:i], ""), 101 if os [all...] |
/external/libcxx/test/std/input.output/iostream.format/std.manip/ |
H A D | setbase.pass.cpp | 40 std::ostream os(&sb); 41 os << std::setbase(8); 42 assert((os.flags() & std::ios_base::basefield) == std::ios_base::oct); 43 os << std::setbase(10); 44 assert((os.flags() & std::ios_base::basefield) == std::ios_base::dec); 45 os << std::setbase(16); 46 assert((os.flags() & std::ios_base::basefield) == std::ios_base::hex); 47 os << std::setbase(15); 48 assert((os.flags() & std::ios_base::basefield) == 0); 64 std::wostream os( [all...] |
H A D | setprecision.pass.cpp | 34 std::ostream os(&sb); 35 os << std::setprecision(10); 36 assert(os.precision() == 10); 46 std::wostream os(&sb); 47 os << std::setprecision(10); 48 assert(os.precision() == 10);
|
H A D | setw.pass.cpp | 34 std::ostream os(&sb); 35 os << std::setw(10); 36 assert(os.width() == 10); 46 std::wostream os(&sb); 47 os << std::setw(10); 48 assert(os.width() == 10);
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/ |
H A D | pointer.pass.cpp | 55 std::ostream os((std::streambuf*)0); 57 os << n; 58 assert(os.bad()); 59 assert(os.fail()); 63 std::ostream os(&sb); 65 os << n; 66 assert(os.good()); 77 std::ostream os(&sb); 79 os << n; 80 assert(os [all...] |
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.seeks/ |
H A D | seekp2.pass.cpp | 45 std::ostream os((std::streambuf*)0); 46 assert(&os.seekp(5, std::ios_base::beg) == &os); 51 std::ostream os(&sb); 52 assert(&os.seekp(10, std::ios_base::beg) == &os); 54 assert(os.good()); 55 assert(&os.seekp(-1, std::ios_base::beg) == &os); 57 assert(os [all...] |
/external/lldb/test/arm_emulation/ |
H A D | TestEmulations.py | 5 import os, time namespace 15 current_dir = os.getcwd(); 16 test_dir = os.path.join (current_dir, "new-test-files") 17 files = os.listdir (test_dir) 24 test_file = os.path.join (test_dir, f) 29 current_dir = os.getcwd(); 30 test_dir = os.path.join (current_dir, "new-test-files") 31 files = os.listdir (test_dir) 38 test_file = os.path.join (test_dir, f) 47 print '\nRunning test ' + os [all...] |
/external/mesa3d/src/glsl/tests/ |
H A D | compare_ir | 28 import os namespace 29 import os.path namespace 48 file1, path1 = tempfile.mkstemp(os.path.basename(sys.argv[1])) 49 file2, path2 = tempfile.mkstemp(os.path.basename(sys.argv[2])) 51 os.write(file1, '{0}\n'.format(sexp_to_string(ir1))) 52 os.close(file1) 53 os.write(file2, '{0}\n'.format(sexp_to_string(ir2))) 54 os.close(file2) 57 os.remove(path1) 58 os [all...] |
/external/v8/src/compiler/ |
H A D | instruction.cc | 13 OStream& operator<<(OStream& os, const InstructionOperand& op) { argument 16 return os << "(0)"; 19 os << "v" << unalloc->virtual_register(); 21 return os << "(=" << unalloc->fixed_slot_index() << "S)"; 25 return os; 27 return os << "(=" << Register::AllocationIndexToString( 30 return os << "(=" << DoubleRegister::AllocationIndexToString( 33 return os << "(R)"; 35 return os << "(1)"; 37 return os << "( 98 operator <<(OStream& os, const MoveOperands& mo) argument 113 operator <<(OStream& os, const ParallelMove& pm) argument 155 operator <<(OStream& os, const PointerMap& pm) argument 167 operator <<(OStream& os, const ArchOpcode& ao) argument 180 operator <<(OStream& os, const AddressingMode& am) argument 195 operator <<(OStream& os, const FlagsMode& fm) argument 209 operator <<(OStream& os, const FlagsCondition& fc) argument 253 operator <<(OStream& os, const Instruction& instr) argument 297 operator <<(OStream& os, const Constant& constant) argument 415 operator <<(OStream& os, const InstructionSequence& code) argument [all...] |
/external/pdfium/testing/tools/ |
H A D | run_pixel_tests.py | 7 import os namespace 24 input_root, _ = os.path.splitext(input_filename) 25 input_path = os.path.join(source_dir, input_root + '.in') 26 pdf_path = os.path.join(working_dir, input_root + '.pdf') 42 parser.add_option('--build-dir', default=os.path.join('out', 'Debug'), 47 source_dir = finder.TestingDir(os.path.join('resources', 'pixel')) 49 if not os.path.exists(pdfium_test_path): 53 working_dir = finder.WorkingDir(os.path.join('testing', 'pixel')) 54 if not os.path.exists(working_dir): 55 os [all...] |
/external/chromium-trace/trace-viewer/tracing/ |
H A D | tracing_project.py | 6 import os namespace 16 for dirpath, _, filenames in os.walk(source_path): 20 x = os.path.abspath(os.path.join(dirpath, f)) 42 tracing_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) 43 tracing_root_path = os.path.abspath(os.path.join(tracing_path, 'tracing')) 44 tracing_src_path = os [all...] |
/external/chromium-trace/trace-viewer/tracing/build/ |
H A D | gjslint.py | 5 import os namespace 14 os.path.abspath(os.path.join( 16 os.path.abspath(os.path.join( 41 sys.argv.extend(['-r', os.path.relpath(p)])
|
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/ |
H A D | fake_fs.py | 6 import os namespace 32 self._real_abspath = os.path.abspath 33 self._real_exists = os.path.exists 34 self._real_walk = os.walk 35 self._real_listdir = os.listdir 48 os.path.abspath = self._FakeAbspath 49 os.path.exists = self._FakeExists 50 os.walk = self._FakeWalk 51 os.listdir = self._FakeListDir 58 os [all...] |
/external/compiler-rt/test/asan/Unit/ |
H A D | lit.site.cfg.in | 4 import os 10 new_ld_library_path = os.path.pathsep.join( 24 config.test_exec_root = os.path.join("@COMPILER_RT_BINARY_DIR@",
|
/external/compiler-rt/test/asan/android_commands/ |
H A D | android_compile.py | 3 import os, sys, subprocess namespace 7 here = os.path.abspath(os.path.dirname(sys.argv[0])) 8 android_run = os.path.join(here, 'android_run.py') 35 os.rename(output, output + '.real') 36 os.symlink(android_run, output)
|
/external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.ibits/ |
H A D | io.pass.cpp | 18 // operator<<(basic_ostream<charT, traits>& os, 37 std::ostringstream os; local 38 os << e1; 39 std::istringstream is(os.str()); 51 std::ostringstream os; local 52 os << e1; 53 std::istringstream is(os.str());
|
/external/lldb/test/functionalities/process_launch/ |
H A D | TestProcessLaunch.py | 5 import os, time namespace 12 mydir = os.path.join("functionalities", "process_launch") 36 exe = os.path.join (os.getcwd(), "a.out") 41 in_file = os.path.join (os.getcwd(), "input-file.txt") 42 out_file = os.path.join (os.getcwd(), "output-test.out") 43 err_file = os.path.join (os [all...] |
/external/llvm/utils/llvm-build/llvmbuild/ |
H A D | configutil.py | 6 import os namespace 39 output_parent_path = os.path.dirname(os.path.abspath(output_path)) 40 if not os.path.exists(output_parent_path): 41 os.makedirs(output_parent_path) 44 if os.path.exists(output_path):
|
/external/mesa3d/scons/ |
H A D | dxsdk.py | 30 import os namespace 31 import os.path namespace 39 return os.environ['DXSDK_DIR'] 56 include_dir = os.path.join(dxsdk_root, 'Include') 57 lib_dir = os.path.join(dxsdk_root, 'Lib', target_cpu) 61 gcc = 'gcc' in os.path.basename(env['CC']).split('-')
|