/external/libvncserver/libvncserver/ |
zrleoutstream.c | 68 zrleOutStream *os; local 70 os = malloc(sizeof(zrleOutStream)); 71 if (os == NULL) 74 if (!zrleBufferAlloc(&os->in, ZRLE_IN_BUFFER_SIZE)) { 75 free(os); 79 if (!zrleBufferAlloc(&os->out, ZRLE_OUT_BUFFER_SIZE)) { 80 zrleBufferFree(&os->in); 81 free(os); 85 os->zs.zalloc = Z_NULL; 86 os->zs.zfree = Z_NULL [all...] |
/external/autotest/client/deps/camera_hal3/ |
camera_hal3.py | 3 # Copyright (c) 2017 The Chromium OS Authors. All rights reserved. 7 import os 14 src_path = os.path.join(os.environ['SYSROOT'], 'usr', 'bin') 15 dst_path = os.path.join(os.getcwd(), 'bin') 16 os.mkdir(dst_path) 17 utils.get_file(os.path.join(src_path, binary), 18 os.path.join(dst_path, binary)) 21 utils.update_version(os.getcwd(), True, version, setup, os.getcwd() [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
__init__.py | 5 import os 9 return os.path.abspath(os.path.join(*path_parts)) 14 if os.path.isdir(path) and path not in sys.path: 20 _CATAPULT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 21 os.path.pardir, os.path.pardir, os.path.pardir [all...] |
/external/libmojo/third_party/catapult/devil/devil/utils/ |
__init__.py | 5 import os 9 return os.path.abspath(os.path.join(*path_parts)) 14 if os.path.isdir(path) and path not in sys.path: 20 _CATAPULT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 21 os.path.pardir, os.path.pardir, os.path.pardir [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/PyEfiCompressor/ |
setup.py | 19 import os
21 if 'BASE_TOOLS_PATH' not in os.environ:
24 BaseToolsDir = os.environ['BASE_TOOLS_PATH']
32 os.path.join(BaseToolsDir, 'Source', 'C', 'Common', 'Decompress.c'),
36 os.path.join(BaseToolsDir, 'Source', 'C', 'Include'),
37 os.path.join(BaseToolsDir, 'Source', 'C', 'Include', 'Ia32'),
38 os.path.join(BaseToolsDir, 'Source', 'C', 'Common')
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
common.py | 1 # Copyright (c) 2015 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))
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
__init__.py | 5 import os 9 _CATAPULT_DIR = os.path.join( 10 os.path.dirname(os.path.abspath(__file__)), '..', '..') 11 sys.path.append(os.path.join(_CATAPULT_DIR, 'devil')) 12 sys.path.append(os.path.join(_CATAPULT_DIR, 'systrace')) 13 sys.path.append(os.path.join(_CATAPULT_DIR, 'common', 'py_utils'))
|
/external/r8/tools/ |
gmscore_data.py | 6 import os 9 THIRD_PARTY = os.path.join(utils.REPO_ROOT, 'third_party') 10 BASE = os.path.join(THIRD_PARTY, 'gmscore') 12 V4_BASE = os.path.join(BASE, 'v4') 13 V5_BASE = os.path.join(BASE, 'v5') 14 V6_BASE = os.path.join(BASE, 'v6') 15 V7_BASE = os.path.join(BASE, 'v7') 16 V8_BASE = os.path.join(BASE, 'v8') 18 V9_BASE = os.path.join(BASE, 'gmscore_v9') 19 V9_PREFIX = os.path.join(V9_BASE, 'GmsCore_prod_alldpi_release_all_locales' [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
user.py | 27 import os
29 home = os.curdir # Default
30 if 'HOME' in os.environ:
31 home = os.environ['HOME']
32 elif os.name == 'posix':
33 home = os.path.expanduser("~/")
34 elif os.name == 'nt': # Contributed by Jeff Bauer
35 if 'HOMEPATH' in os.environ:
36 if 'HOMEDRIVE' in os.environ:
37 home = os.environ['HOMEDRIVE'] + os.environ['HOMEPATH'] [all...] |
/external/libmojo/build/android/pylib/constants/ |
host_paths.py | 6 import os 9 DIR_SOURCE_ROOT = os.environ.get( 11 os.path.abspath(os.path.join(os.path.dirname(__file__), 12 os.pardir, os.pardir, os.pardir, os.pardir))) 14 BUILD_COMMON_PATH = os.path.join [all...] |
/external/python/cpython2/Lib/ |
user.py | 27 import os 29 home = os.curdir # Default 30 if 'HOME' in os.environ: 31 home = os.environ['HOME'] 32 elif os.name == 'posix': 33 home = os.path.expanduser("~/") 34 elif os.name == 'nt': # Contributed by Jeff Bauer 35 if 'HOMEPATH' in os.environ: 36 if 'HOMEDRIVE' in os.environ: 37 home = os.environ['HOMEDRIVE'] + os.environ['HOMEPATH' [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
user.py | 27 import os 29 home = os.curdir # Default 30 if 'HOME' in os.environ: 31 home = os.environ['HOME'] 32 elif os.name == 'posix': 33 home = os.path.expanduser("~/") 34 elif os.name == 'nt': # Contributed by Jeff Bauer 35 if 'HOMEPATH' in os.environ: 36 if 'HOMEDRIVE' in os.environ: 37 home = os.environ['HOMEDRIVE'] + os.environ['HOMEPATH' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
user.py | 27 import os 29 home = os.curdir # Default 30 if 'HOME' in os.environ: 31 home = os.environ['HOME'] 32 elif os.name == 'posix': 33 home = os.path.expanduser("~/") 34 elif os.name == 'nt': # Contributed by Jeff Bauer 35 if 'HOMEPATH' in os.environ: 36 if 'HOMEDRIVE' in os.environ: 37 home = os.environ['HOMEDRIVE'] + os.environ['HOMEPATH' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
user.py | 27 import os 29 home = os.curdir # Default 30 if 'HOME' in os.environ: 31 home = os.environ['HOME'] 32 elif os.name == 'posix': 33 home = os.path.expanduser("~/") 34 elif os.name == 'nt': # Contributed by Jeff Bauer 35 if 'HOMEPATH' in os.environ: 36 if 'HOMEDRIVE' in os.environ: 37 home = os.environ['HOMEDRIVE'] + os.environ['HOMEPATH' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
user.py | 27 import os 29 home = os.curdir # Default 30 if 'HOME' in os.environ: 31 home = os.environ['HOME'] 32 elif os.name == 'posix': 33 home = os.path.expanduser("~/") 34 elif os.name == 'nt': # Contributed by Jeff Bauer 35 if 'HOMEPATH' in os.environ: 36 if 'HOMEDRIVE' in os.environ: 37 home = os.environ['HOMEDRIVE'] + os.environ['HOMEPATH' [all...] |
/external/autotest/client/cros/cellular/wardmodem/ |
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)) 10 package_root_dir = os.path.abspath(dirname) 19 sys.path.insert(0, os.path.join(package_root_dir) [all...] |
/external/autotest/server/cros/faft/config/ |
common.py | 1 # Copyright (c) 2014 The Chromium OS Authors. All rights reserved. 5 import os, sys 6 dirname = os.path.dirname(sys.modules[__name__].__file__) 7 autotest_dir = os.path.abspath( 8 os.path.join(dirname, os.pardir, os.pardir, os.pardir, os.pardir)) 9 client_dir = os.path.join(autotest_dir, 'client' [all...] |
/external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/ |
ctor_result_type.pass.cpp | 29 std::ostringstream os; local 30 os << e; 31 assert(os.str() == "5"); 36 std::ostringstream os; local 37 os << e; 38 assert(os.str() == "5"); 43 std::ostringstream os; local 44 os << e; 45 assert(os.str() == "1"); 57 std::ostringstream os; local 64 std::ostringstream os; local 71 std::ostringstream os; local 85 std::ostringstream os; local 92 std::ostringstream os; local 99 std::ostringstream os; local 113 std::ostringstream os; local 120 std::ostringstream os; local 127 std::ostringstream os; local [all...] |
/external/webrtc/webrtc/build/android/ |
test_runner.py | 18 import os 21 SCRIPT_DIR = os.path.dirname(__file__) 22 SRC_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir, os.pardir, 23 os.pardir)) 24 CHROMIUM_BUILD_ANDROID_DIR = os.path.join(SRC_DIR, 'build', 'android') 61 os.environ['CHECKOUT_SOURCE_ROOT'] = SRC_DIR
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.lcong/ |
ctor_result_type.pass.cpp | 29 std::ostringstream os; local 30 os << e; 31 assert(os.str() == "5"); 36 std::ostringstream os; local 37 os << e; 38 assert(os.str() == "5"); 43 std::ostringstream os; local 44 os << e; 45 assert(os.str() == "1"); 57 std::ostringstream os; local 64 std::ostringstream os; local 71 std::ostringstream os; local 85 std::ostringstream os; local 92 std::ostringstream os; local 99 std::ostringstream os; local 113 std::ostringstream os; local 120 std::ostringstream os; local 127 std::ostringstream os; local [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.eng/rand.eng.lcong/ |
ctor_result_type.pass.cpp | 29 std::ostringstream os; local 30 os << e; 31 assert(os.str() == "5"); 36 std::ostringstream os; local 37 os << e; 38 assert(os.str() == "5"); 43 std::ostringstream os; local 44 os << e; 45 assert(os.str() == "1"); 57 std::ostringstream os; local 64 std::ostringstream os; local 71 std::ostringstream os; local 85 std::ostringstream os; local 92 std::ostringstream os; local 99 std::ostringstream os; local 113 std::ostringstream os; local 120 std::ostringstream os; local 127 std::ostringstream os; local [all...] |
/external/autotest/client/deps/glbench/ |
glbench.py | 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 7 import common, os, shutil 13 srcdir = os.path.join(topdir, 'src') 14 os.chdir(srcdir) 16 os.chdir(topdir) 18 pwd = os.getcwd()
|
/external/autotest/client/deps/ibusclient/ |
ibusclient.py | 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 7 import common, os, shutil 13 srcdir = os.path.join(topdir, 'src') 14 os.chdir(srcdir) 16 os.chdir(topdir) 18 pwd = os.getcwd()
|
/external/autotest/client/deps/iwcap/ |
iwcap.py | 3 import os, common 9 srcdir = os.path.join(topdir, 'src') 10 os.chdir(srcdir) 12 os.chdir(topdir) 14 pwd = os.getcwd()
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
__init__.py | 4 import os 7 SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__)) 8 PY_UTILS = os.path.abspath(os.path.join(SCRIPT_DIR, '..', '..', 'py_utils'))
|