/external/deqp/scripts/ |
H A D | make_release.py | 23 import os namespace 50 assert os.path.normpath(path) == path 51 assert os.path.normpath(basePath) == basePath 56 if os.path.exists(file): 62 basePath = os.path.normpath(basePath) 63 for root, dirs, files in os.walk(basePath): 65 relPath = removeLeadingPath(os.path.normpath(os.path.join(root, file)), basePath) 101 dirName = os.path.dirname(self.dstFile) 102 if not os [all...] |
H A D | launchcontrol_build.py | 23 import os namespace 75 buildDir = os.path.realpath(os.path.normpath(options.buildDir))
|
/external/skia/tools/skpdiff/ |
H A D | skpdiff_server.py | 8 import os namespace 9 import os.path namespace 17 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 20 TOOLS_DIR = os.path.dirname(SCRIPT_DIR) 23 SKIA_ROOT_DIR = os.path.dirname(TOOLS_DIR) 26 DEFAULT_GM_EXPECTATIONS_DIR = os.path.join(SKIA_ROOT_DIR, 'expectations', 'gm') 31 GM_DIR = os.path.join(SKIA_ROOT_DIR, 'gm') 68 possible_paths.append(os.path.join(SKIA_ROOT_DIR, 'out', 70 possible_paths.append(os [all...] |
/external/deqp/android/scripts/ |
H A D | common.py | 23 import os namespace 65 return os.path.isfile(path) and os.access(path, os.X_OK) 68 for path in os.environ['PATH'].split(os.pathsep): 70 fullPath = os.path.join(path, binName) 88 if path != None and os.path.isdir(path): 223 if os.path.exists(os [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
H A D | t018llstar.py | 4 import os namespace 15 inputPath = os.path.splitext(__file__)[0] + '.input' 24 outputPath = os.path.splitext(__file__)[0] + '.output'
|
H A D | t020fuzzy.py | 1 import os namespace 15 inputPath = os.path.splitext(__file__)[0] + '.input' 27 outputPath = os.path.splitext(__file__)[0] + '.output'
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/process/ |
H A D | SystemProcessTest.java | 36 OutputStream os = process.getOutputStream(); 37 os.write("10 5 abcde".getBytes()); 38 os.close();
|
/external/deqp/scripts/build/ |
H A D | build.py | 23 import os namespace 38 if not os.path.exists(config.buildDir): 39 os.makedirs(config.buildDir)
|
/external/eigen/scripts/ |
H A D | relicense.py | 41 import os namespace 52 for root, sub_folders, files in os.walk(rootdir): 57 filename = os.path.join(root, basename)
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/ |
H A D | BitmapBytesTranscoder.java | 30 ByteArrayOutputStream os = new ByteArrayOutputStream(); 31 toTranscode.get().compress(compressFormat, quality, os); 33 return new BytesResource(os.toByteArray());
|
/external/libcxx/test/libcxx/ |
H A D | util.py | 2 import os namespace 8 os.remove(filename) 18 os.close(handle)
|
/external/lldb/test/functionalities/breakpoint/breakpoint_command/ |
H A D | TestBreakpointCommand.py | 5 import os, time namespace 13 mydir = os.path.join("functionalities", "breakpoint", "breakpoint_command") 47 exe = os.path.join(os.getcwd(), "a.out") 111 self.assertTrue(os.path.isfile("output.txt"), 113 self.assertTrue(os.path.isfile("output2.txt"), 171 exe = os.path.join(os.getcwd(), "a.out") 182 if (os.path.exists('output-2.txt')): 183 os [all...] |
/external/lldb/test/pexpect-2.4/examples/ |
H A D | astat.py | 16 import os, sys, time, re, getopt, getpass namespace 23 os._exit(1) 73 os._exit(1)
|
/external/llvm/utils/lit/lit/ |
H A D | TestingConfig.py | 1 import os namespace 20 'PATH' : os.pathsep.join(litConfig.path + 21 [os.environ.get('PATH','')]), 29 val = os.environ.get(var, '') 37 'INCLUDE' : os.environ.get('INCLUDE',''), 38 'PATHEXT' : os.environ.get('PATHEXT',''), 40 'TEMP' : os.environ.get('TEMP',''), 41 'TMP' : os.environ.get('TMP',''), 47 if 'LIT_PRESERVES_TMP' in os.environ: 49 'TEMP' : os [all...] |
/external/llvm/utils/lit/lit/formats/ |
H A D | googletest.py | 2 import os namespace 14 self.test_sub_dir = os.path.normcase(str(test_sub_dir)).split(';') 69 (dirname, basename) = os.path.split(execpath) 78 for filename in os.listdir(source_path): 79 filepath = os.path.join(source_path, filename) 80 if os.path.isdir(filepath): 82 if not os.path.normcase(filename) in self.test_sub_dir: 85 for subfilename in os.listdir(filepath): 86 execpath = os.path.join(filepath, subfilename) 98 testPath,testName = os [all...] |
/external/pdfium/testing/tools/ |
H A D | suppressor.py | 6 import os namespace 17 os.path.join(testing_dir, self.SUPPRESSIONS_FILENAME)) 19 os.path.join(testing_dir, self.PLATFORM_SUPPRESSIONS_FILENAME))
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowResultReceiver.java | 3 import android.os.Bundle; 4 import android.os.ResultReceiver; 19 public void send(int resultCode, android.os.Bundle resultData) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | ResultReceiverTest.java | 3 import android.os.Bundle; 4 import android.os.Handler; 5 import android.os.ResultReceiver;
|
/external/skia/platform_tools/android/tests/ |
H A D | gyp_to_android_tests.py | 12 import os namespace 36 path_to_android_mk = os.path.join(self.__tmp_dir, 38 self.assertTrue(os.path.exists(path_to_android_mk))
|
/external/v8/test/cctest/ |
H A D | test-ostreams.cc | 112 OStringStream os; local 113 os.put('H').write("ello", 4); 114 CHECK_EQ("Hello", os.c_str()); 119 OStringStream os; local 120 os << 123 << hex << 123 << endl << 123 << dec << 123 << 123; 121 CHECK_EQ("1237b\n7b123123", os.c_str()); 130 friend OStream& operator<<(OStream& os, const MiscStuff& m); 138 OStream& operator<<(OStream& os, const MiscStuff& m) { argument 139 return os << "{i:" << m.i_ << ", d:" << m.d_ << ", s:'" << m.s_ << "'}"; 144 OStringStream os; local [all...] |
/external/v8/tools/ |
H A D | nacl-run.py | 33 import os namespace 34 from os.path import join, dirname, abspath 54 os.close(fd_out) 55 os.close(fd_err) 58 os.unlink(outname) 59 os.unlink(errname) 75 os.close(fd) 95 nacl_sdk_dir = os.environ["NACL_SDK_ROOT"] 122 nacl_sel_ldr = os.path.join(nacl_sdk_dir, "tools", sel_ldr) 123 nacl_irt = os [all...] |
/external/v8/tools/testrunner/server/ |
H A D | work_handler.py | 29 import os namespace 54 v8_root = os.path.join(server_root, "v8") 55 os.chdir(v8_root) 58 self.ctx.shell_dir = os.path.join("out", 60 if not os.path.isdir(self.ctx.shell_dir): 61 os.makedirs(self.ctx.shell_dir) 92 libdir = os.path.join(self.ctx.shell_dir, "lib.target") 93 if not os.path.exists(libdir): os.makedirs(libdir) 94 target = os [all...] |
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/ |
H A D | finddata.py | 8 import os namespace 56 for name in os.listdir(where): 57 fn = os.path.join(where, name) 58 if os.path.isdir(fn): 70 if (os.path.isfile(os.path.join(fn, '__init__.py'))
|
/external/chromium-trace/trace-viewer/tracing/build/ |
H A D | check_common.py | 6 import os namespace 8 tracing_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 22 extension = os.path.splitext(filename)[1] 61 return list(set([os.path.relpath(f, p.tracing_root_path)
|
/external/chromium-trace/ |
H A D | update.py | 3 import codecs, httplib, json, optparse, os, urllib, shutil, subprocess, sys namespace 9 script_dir = os.path.dirname(os.path.abspath(sys.argv[0])) 10 trace_viewer_dir = os.path.join(script_dir, 'trace-viewer') 32 trace_viewer_git_dir = os.path.join(trace_viewer_dir, '.git') 54 build_dir = os.path.join(trace_viewer_dir)
|