Searched refs:os (Results 251 - 275 of 1953) sorted by relevance

<<11121314151617181920>>

/external/chromium-trace/trace-viewer/third_party/Paste/tests/test_exceptions/
H A Dtest_reporter.py2 import os namespace
7 dir = os.path.join(os.path.dirname(__file__), 'reporter_output')
8 fn = os.path.join(dir, fn)
9 if os.path.exists(dir):
10 if os.path.exists(fn):
11 os.unlink(fn)
13 os.mkdir(dir)
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/
H A Dresource.py8 import os namespace
23 return os.path.relpath(self.absolute_path, self.toplevel_dir)
27 return self.relative_path.replace(os.sep, '/')
36 dirname = os.path.dirname(relative_path)
37 basename = os.path.basename(relative_path)
38 modname = os.path.splitext(basename)[0]
40 name = dirname.replace(os.path.sep, '.') + '.' + modname
49 if not os.path.exists(self.absolute_path):
H A Dresource_unittest.py5 import os namespace
16 self.assertEquals(os.path.join('b', 'c.js'), r.relative_path)
/external/compiler-rt/make/
H A Dfilter-inputs15 import os,sys namespace
19 base = os.path.basename(file)
/external/compiler-rt/test/sanitizer_common/Unit/
H A Dlit.site.cfg.in13 config.test_exec_root = os.path.join("@COMPILER_RT_BINARY_DIR@", "lib",
/external/deqp/scripts/src_util/
H A Dcommon.py23 import os namespace
59 ext = os.path.splitext(filePath)[1]
86 scriptDir = os.path.dirname(os.path.abspath(__file__))
87 projectDir = os.path.normpath(os.path.join(scriptDir, "../.."))
98 return os.path.normpath(os.path.join(getProjectPath(), projectRelativePath))
/external/google-breakpad/src/testing/scripts/generator/
H A Dgmock_gen.py21 import os namespace
26 sys.path.append(os.path.dirname(__file__))
/external/libcxx/test/std/input.output/iostream.format/std.manip/
H A Dresetiosflags.pass.cpp35 std::ostream os(&sb);
36 assert(os.flags() & std::ios_base::skipws);
37 os << std::resetiosflags(std::ios_base::skipws);
38 assert(!(os.flags() & std::ios_base::skipws));
49 std::wostream os(&sb);
50 assert(os.flags() & std::ios_base::skipws);
51 os << std::resetiosflags(std::ios_base::skipws);
52 assert(!(os.flags() & std::ios_base::skipws));
H A Dsetiosflags.pass.cpp35 std::ostream os(&sb);
36 assert(!(os.flags() & std::ios_base::oct));
37 os << std::setiosflags(std::ios_base::oct);
38 assert(os.flags() & std::ios_base::oct);
49 std::wostream os(&sb);
50 assert(!(os.flags() & std::ios_base::oct));
51 os << std::setiosflags(std::ios_base::oct);
52 assert(os.flags() & std::ios_base::oct);
/external/libcxx/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/
H A Dincrement.pass.cpp23 std::ostringstream os; local
24 std::ostream_iterator<int> i(os);
/external/lldb/test/functionalities/load_unload/
H A DTestLoadUnload.py5 import os, time namespace
17 mydir = os.path.join("functionalities", "load_unload")
40 new_dir = os.path.join(os.getcwd(), "hidden")
42 old_dylib = os.path.join(os.getcwd(), dylibName)
43 new_dylib = os.path.join(new_dir, dylibName)
45 exe = os.path.join(os.getcwd(), "a.out")
53 self.runCmd("target modules search-paths add %s %s" % (os
[all...]
/external/mesa3d/src/gallium/docs/source/
H A Dconf.py14 import sys, os namespace
18 # documentation root, use os.path.abspath to make it absolute, like shown here.
19 sys.path.append(os.path.abspath('exts'))
/external/protobuf/java/src/device/main/java/com/google/protobuf/nano/android/
H A DParcelableMessageNano.java33 import android.os.Parcel;
34 import android.os.Parcelable;
/external/protobuf/python/google/protobuf/internal/
H A Ddescriptor_python_test.py35 import os namespace
36 os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'python'
H A Dmessage_factory_python_test.py35 import os namespace
36 os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'python'
H A Dmessage_python_test.py35 import os namespace
36 os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'python'
/external/skia/platform_tools/android/bin/
H A Dhttp_download.py12 import os namespace
13 import os.path namespace
23 os.makedirs(path)
25 except os.error:
51 if os.environ.get('http_proxy'):
52 proxy = os.environ.get('http_proxy')
61 _CreateDirectory(os.path.split(target)[0])
75 file_size = os.path.getsize(target)
/external/skia/platform_tools/android/tests/
H A Drun_all.py12 import os namespace
16 suite = unittest.TestLoader().discover(os.path.dirname(__file__),
/external/skia/tools/
H A Dtest_all.py12 import os namespace
17 suite = unittest.TestLoader().discover(os.path.dirname(__file__),
/external/lldb/test/api/check_public_api_headers/
H A DTestPublicAPIHeaders.py6 import os, re, StringIO namespace
13 mydir = os.path.join("api", "check_public_api_headers")
17 self.lib_dir = os.environ["LLDB_LIB_DIR"]
35 temp = os.path.join(os.getcwd(), self.template)
39 public_api_dir = os.path.join(os.environ["LLDB_SRC"], "include", "lldb", "API")
43 public_headers = os.listdir(public_api_dir)
46 include_stmt = "'#include <%s>' % os.path.join('LLDB', header)"
47 if sys.platform.startswith('freebsd') or sys.platform.startswith("linux") or os
[all...]
/external/lldb/test/unittest2/test/
H A Dtest_discovery.py1 import os namespace
29 original_listdir = os.listdir
31 os.listdir = original_listdir
32 original_isfile = os.path.isfile
34 os.path.isfile = original_isfile
35 original_isdir = os.path.isdir
37 os.path.isdir = original_isdir
42 os.listdir = lambda path: path_lists.pop(0)
47 os.path.isdir = isdir
53 os
[all...]
/external/boringssl/src/util/bot/go/
H A Denv.py25 import os namespace
31 'bootstrap', os.path.join(os.path.dirname(__file__), 'bootstrap.py'))
33 old = os.environ.copy()
47 if os.sep not in exe:
/external/deqp/scripts/opengl/
H A Dgen_str_util.py23 import os namespace
28 sys.path.append(os.path.dirname(os.path.dirname(__file__)))
945 prototypeFile = os.path.join(OPENGL_DIR, "gluStrUtilPrototypes.inl")
946 implFile = os.path.join(OPENGL_DIR, "gluStrUtil.inl")
/external/google-breakpad/src/testing/gtest/scripts/
H A Dupload_gtest.py42 import os namespace
52 my_dir = os.path.dirname(os.path.abspath(__file__))
53 upload_py_path = os.path.join(my_dir, 'upload.py')
74 os.execv(upload_py_path, upload_py_argv)
/external/google-breakpad/src/testing/scripts/
H A Dupload_gmock.py42 import os namespace
52 my_dir = os.path.dirname(os.path.abspath(__file__))
53 upload_py_path = os.path.join(my_dir, 'upload.py')
74 os.execv(upload_py_path, upload_py_argv)

Completed in 6280 milliseconds

<<11121314151617181920>>