/external/webrtc/webrtc/build/ |
gyp_webrtc | 15 import os 19 script_dir = os.path.dirname(os.path.realpath(__file__)) 20 checkout_root = os.path.abspath(os.path.join(script_dir, os.pardir, os.pardir)) 22 sys.path.insert(0, os.path.join(checkout_root, 'build')) 27 sys.path.insert(0, os.path.join(checkout_root, 'tools', 'gyp', 'pylib')) 35 return glob.glob(os.path.join(checkout_root, '*', 'supplement.gypi') [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
mkreal.py | 8 import os
11 join = os.path.join
18 st = os.stat(name) # Get the mode
20 linkto = os.readlink(name) # Make sure again it's a symlink
22 os.unlink(name)
29 os.chmod(name, mode)
32 st = os.stat(name) # Get the mode
34 linkto = os.readlink(name)
35 files = os.listdir(name)
36 os.unlink(name) [all...] |
/external/clang/utils/ |
CaptureCmd | 20 import os 27 path = os.path.join(dir, 29 if not os.path.exists(path): 36 program = os.getenv('CAPTURE_CMD_PROGRAM') 37 dir = os.getenv('CAPTURE_CMD_DIR') 38 fallback = os.getenv('CAPTURE_CMD_FALLBACK') 45 if not os.path.exists(dir): 46 os.mkdir(dir, 0700) 49 env = os.environ.items() 52 cwdKey = saveCaptureData('cwd-', dir, os.getcwd() [all...] |
/external/perfetto/tools/ |
run_android_emulator | 17 import os 28 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 31 emulator_root = os.path.join( 33 emulator_path = os.path.join(emulator_root, 'qemu', 'linux-x86_64') 35 emulator_root = os.path.join( 37 emulator_path = os.path.join(emulator_root, 'qemu', 'darwin-x86_64') 39 aosp_path = os.path.join(root_dir, 'buildtools', 'aosp-arm') 45 'LD_LIBRARY_PATH': os.path.join(emulator_root, 'lib64', 'qt', 'lib') [all...] |
/external/python/cpython2/Tools/scripts/ |
mkreal.py | 8 import os 11 join = os.path.join 18 st = os.stat(name) # Get the mode 20 linkto = os.readlink(name) # Make sure again it's a symlink 22 os.unlink(name) 29 os.chmod(name, mode) 32 st = os.stat(name) # Get the mode 34 linkto = os.readlink(name) 35 files = os.listdir(name) 36 os.unlink(name [all...] |
/external/python/cpython3/Tools/scripts/ |
linktree.py | 13 import sys, os 30 if not os.path.isdir(oldtree): 34 os.mkdir(newtree, 0o777) 38 linkname = os.path.join(newtree, link) 40 os.symlink(os.path.join(os.pardir, oldtree), linkname) 53 names = os.listdir(old) 58 if name not in (os.curdir, os.pardir) [all...] |
mkreal.py | 8 import os 11 join = os.path.join 18 st = os.stat(name) # Get the mode 20 linkto = os.readlink(name) # Make sure again it's a symlink 22 os.unlink(name) 29 os.chmod(name, mode) 32 st = os.stat(name) # Get the mode 34 linkto = os.readlink(name) 35 files = os.listdir(name) 36 os.unlink(name [all...] |
/external/v8/gypfiles/ |
download_gold_plugin.py | 10 import os 25 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) 26 CHROME_SRC = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) 27 sys.path.insert(0, os.path.join(CHROME_SRC, 'tools')) 32 GSUTIL_PATH = os.path.join(DEPOT_PATH, 'gsutil.py') 34 LLVM_BUILD_PATH = os.path.join(CHROME_SRC, 'third_party', 'llvm-build', 36 CLANG_UPDATE_PY = os.path.join(CHROME_SRC, 'tools', 'clang', 'scripts' [all...] |
/external/libmojo/build/android/pylib/constants/ |
__init__.py | 14 import os 26 DIR_SOURCE_ROOT = os.environ.get('CHECKOUT_SOURCE_ROOT', 27 os.path.abspath(os.path.join(os.path.dirname(__file__), 28 os.pardir, os.pardir, os.pardir, os.pardir))) 91 PERF_OUTPUT_DIR = os.path.join(DIR_SOURCE_ROOT, 'out', 'step_results' [all...] |
/art/compiler/utils/mips64/ |
managed_register_mips64.cc | 37 void Mips64ManagedRegister::Print(std::ostream& os) const { 39 os << "No Register"; 41 os << "GPU: " << static_cast<int>(AsGpuRegister()); 43 os << "FpuRegister: " << static_cast<int>(AsFpuRegister()); 45 os << "VectorRegister: " << static_cast<int>(AsVectorRegister()); 47 os << "??: " << RegId(); 51 std::ostream& operator<<(std::ostream& os, const Mips64ManagedRegister& reg) { 52 reg.Print(os); 53 return os;
|
/device/google/contexthub/firmware/variant/nucleo/ |
nucleo.mk | 30 SRCS_os += $(VARIANT_PATH)/src/os/i2c.c 31 SRCS_os += $(VARIANT_PATH)/src/os/spi.c 37 SRCS_os += os/drivers/ams_tmd2772/ams_tmd2772.c 40 SRCS_os += os/drivers/rohm_rpr0521/rohm_rpr0521.c 43 SRCS_os += os/algos/fusion.c \ 44 os/algos/common/math/mat.c \ 45 os/algos/common/math/quat.c \ 46 os/algos/common/math/vec.c 50 SRCS_os += os/drivers/bosch_bmi160/bosch_bmi160.c \ 51 os/drivers/bosch_bmi160/bosch_bmm150_slave.c [all...] |
/external/autotest/client/deps/webgl_clear/ |
webgl_clear.py | 3 # Copyright 2014 The Chromium OS Authors. All rights reserved. 7 import os, shutil 18 srcdir = os.path.join(topdir, 'src') 19 filesdir = os.path.join(topdir, 'files') 20 tarball_path = os.path.join(filesdir, tarball) 24 if not os.path.exists(tarball_path): 28 os.mkdir(srcdir) 30 os.chdir(srcdir) 31 shutil.copy(os.path.join(filesdir, 'WebGLClear.html'), srcdir) 33 pwd = os.getcwd( [all...] |
/external/chromium-trace/catapult/devil/bin/ |
run_py_devicetests | 6 import os 9 _CATAPULT_PATH = os.path.abspath(os.path.join( 10 os.path.dirname(__file__), '..', '..')) 11 _DEVIL_PATH = os.path.abspath(os.path.join( 12 os.path.dirname(__file__), '..')) 13 _TYP_PATH = os.path.abspath(os.path.join(_CATAPULT_PATH, 'third_party', 'typ'))
|
/external/chromium-trace/catapult/systrace/systrace/ |
__init__.py | 4 import os 8 return os.path.abspath(os.path.join(*path_parts)) 13 if os.path.isdir(path) and path not in sys.path: 19 _CATAPULT_DIR = os.path.join( 20 os.path.dirname(os.path.abspath(__file__)), os.path.pardir, os.path.pardir)
|
/external/e2fsprogs/lib/e2p/ |
ostype.c | 2 * getostype.c - Get the Filesystem OS type 30 const char *os; local 34 os = os_tab[os_type]; 36 os = "(unknown os)"; 38 ret = malloc(strlen(os)+1); 40 strcpy(ret, os); 63 int i, os; local 67 os = e2p_string2os(s); 68 printf("%d: %s (%d)\n", i, s, os); [all...] |
/external/libvncserver/libvncserver/ |
zrleoutstream.h | 44 void zrleOutStreamFree (zrleOutStream *os); 45 rfbBool zrleOutStreamFlush (zrleOutStream *os); 46 void zrleOutStreamWriteBytes (zrleOutStream *os, 49 void zrleOutStreamWriteU8 (zrleOutStream *os, 51 void zrleOutStreamWriteOpaque8 (zrleOutStream *os, 53 void zrleOutStreamWriteOpaque16 (zrleOutStream *os, 55 void zrleOutStreamWriteOpaque32 (zrleOutStream *os, 57 void zrleOutStreamWriteOpaque24A(zrleOutStream *os, 59 void zrleOutStreamWriteOpaque24B(zrleOutStream *os,
|
/external/llvm/bindings/python/llvm/tests/ |
base.py | 1 import os.path 26 path = os.path.join(d, lib) 28 if os.path.exists(path): 35 return os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_file") 38 return os.path.join(os.path.dirname(os.path.abspath(__file__)), "test.bc")
|
/external/python/cpython3/Lib/test/test_tools/ |
__init__.py | 2 import os 7 basepath = os.path.dirname( # <src/install dir> 8 os.path.dirname( # Lib 9 os.path.dirname( # test 10 os.path.dirname(__file__)))) # test_tools 12 toolsdir = os.path.join(basepath, 'Tools') 13 scriptsdir = os.path.join(toolsdir, 'scripts') 16 if not os.path.isdir(scriptsdir): 24 return support.load_package_tests(os.path.dirname(__file__), *args)
|
/external/v8/tools/gcmole/ |
run-gcmole.py | 6 import os 10 GCMOLE_PATH = os.path.dirname(os.path.abspath(__file__)) 11 CLANG_BIN = os.path.join(GCMOLE_PATH, 'gcmole-tools', 'bin') 12 CLANG_PLUGINS = os.path.join(GCMOLE_PATH, 'gcmole-tools') 13 LUA = os.path.join(GCMOLE_PATH, 'gcmole-tools', 'lua52') 14 DRIVER = os.path.join(GCMOLE_PATH, 'gcmole.lua') 15 BASE_PATH = os.path.dirname(os.path.dirname(GCMOLE_PATH))
|
/external/webrtc/ |
check_root_dir.py | 12 import os 15 SOLUTION_ROOT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 16 os.pardir) 33 gclient_filename = os.path.join(SOLUTION_ROOT_DIR, '.gclient') 46 entries_file = os.path.join(SOLUTION_ROOT_DIR, '.gclient_entries') 47 if os.path.exists(entries_file): 48 os.unlink(entries_file)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/ |
regrtest.py | 12 import os
19 os.system("cp -r %s/* %s" % (test.__path__[0], dest))
25 libdir = os.path.split(test.__path__[0])[0]
28 os.system("cp -r %s/* %s" % (libdir, dest))
34 for file in os.listdir(dir):
35 base, ext = os.path.splitext(file)
37 source = os.path.join(dir, file)
49 os.chmod(source + "c", 444)
53 path = os.path.join(dir, file)
54 if os.path.isdir(path): [all...] |
/external/python/cpython2/Tools/compiler/ |
regrtest.py | 12 import os 19 os.system("cp -r %s/* %s" % (test.__path__[0], dest)) 25 libdir = os.path.split(test.__path__[0])[0] 28 os.system("cp -r %s/* %s" % (libdir, dest)) 34 for file in os.listdir(dir): 35 base, ext = os.path.splitext(file) 37 source = os.path.join(dir, file) 49 os.chmod(source + "c", 444) 53 path = os.path.join(dir, file) 54 if os.path.isdir(path) [all...] |
/external/v8/src/interpreter/ |
bytecode-pipeline.cc | 14 void BytecodeNode::Print(std::ostream& os) const { 17 saved_state.copyfmt(os); 18 os << Bytecodes::ToString(bytecode_); 21 os << ' ' << std::setw(8) << std::setfill('0') << std::hex << operands_[i]; 23 os.copyfmt(saved_state); 26 os << ' ' << source_info_; 28 os << '\n'; 30 os << static_cast<const void*>(this); 50 std::ostream& operator<<(std::ostream& os, const BytecodeSourceInfo& info) { 53 os << info.source_position() << ' ' << description << '>' [all...] |
/external/v8/tools/ |
find_depot_tools.py | 7 import os 12 return os.path.isfile(os.path.join(directory, 'gclient.py')) 19 if i.rstrip(os.sep).endswith('depot_tools'): 24 for i in os.environ['PATH'].split(os.pathsep): 25 if i.rstrip(os.sep).endswith('depot_tools'): 27 sys.path.insert(0, i.rstrip(os.sep)) 30 root_dir = os.path.dirname(os.path.abspath(__file__) [all...] |
/toolchain/benchmark/ |
apply_patches.py | 3 # Copyright 2017 The Chromium OS Authors. All rights reserved. 13 import os 22 autotest_dir = os.path.join(config.android_home, config.autotest_dir) 23 autotest_patch = os.path.join( 24 os.path.dirname(os.path.realpath(__file__)), 'autotest.diff') 25 dex2oat_dir = os.path.join(autotest_dir, 27 panorama_dir = os.path.join(autotest_dir, 42 panorama_dir = os.path.join(config.android_home, 44 panorama_patch = os.path.join [all...] |