HomeSort by relevance Sort by last modified time
    Searched full:path (Results 851 - 875 of 27077) sorted by null

<<31323334353637383940>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
test_dep_util.py 16 new_file = os.path.join(tmpdir, 'new')
17 old_file = os.path.abspath(__file__)
34 sources = os.path.join(tmpdir, 'sources')
35 targets = os.path.join(tmpdir, 'targets')
38 one = os.path.join(sources, 'one')
39 two = os.path.join(sources, 'two')
40 three = os.path.abspath(__file__) # I am the old file
41 four = os.path.join(targets, 'four')
51 sources = os.path.join(tmpdir, 'sources')
53 one = os.path.join(sources, 'one'
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/
test_dep_util.py 16 new_file = os.path.join(tmpdir, 'new')
17 old_file = os.path.abspath(__file__)
34 sources = os.path.join(tmpdir, 'sources')
35 targets = os.path.join(tmpdir, 'targets')
38 one = os.path.join(sources, 'one')
39 two = os.path.join(sources, 'two')
40 three = os.path.abspath(__file__) # I am the old file
41 four = os.path.join(targets, 'four')
51 sources = os.path.join(tmpdir, 'sources')
53 one = os.path.join(sources, 'one'
    [all...]
  /system/connectivity/shill/
file_reader_unittest.cc 35 void VerifyReadLines(const FilePath& path, const vector<string>& lines) {
38 EXPECT_TRUE(reader_.Open(path));
59 FilePath path; local
60 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &path));
62 EXPECT_TRUE(reader_.Open(path));
78 FilePath path; local
79 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &path));
83 base::WriteFile(path, content.c_str(), content.size()))
    [all...]
  /system/tpm/tpm_manager/server/
local_data_store_impl.cc 36 FilePath path(kTpmLocalDataFile);
37 if (!base::PathExists(path)) {
42 if (base::GetPosixFilePermissions(path, &permissions) &&
44 base::SetPosixFilePermissions(path, kLocalDataPermissions);
47 if (!ReadFileToString(path, &file_data)) {
64 FilePath path(kTpmLocalDataFile);
65 if (!base::CreateDirectory(path.DirName())) {
66 LOG(ERROR) << "Cannot create directory: " << path.DirName().value();
69 if (!base::ImportantFileWriter::WriteFileAtomically(path, file_data)) {
70 LOG(ERROR) << "Failed to write file: " << path.value()
    [all...]
  /external/opencv3/platforms/scripts/
ABI_compat_generator.py 23 for path in os.listdir(root):
24 if not os.path.isdir(os.path.join(root, path)) \
25 and os.path.splitext(path)[1] in ['.h', '.hpp'] \
26 and not path in excludedHeaders:
27 headers.append(os.path.join(root, path))
36 for path in os.listdir(root)
    [all...]
  /external/strace/
pathtrace.c 39 * Return true if specified path matches one that we're tracing.
42 pathmatch(const char *path)
47 if (strcmp(path, paths_selected[i]) == 0)
54 * Return true if specified path (in user-space) matches.
59 char path[PATH_MAX + 1]; local
61 return umovestr(tcp, upath, sizeof path, path) > 0 &&
62 pathmatch(path);
66 * Return true if specified fd maps to a path we're tracing.
71 char path[PATH_MAX + 1] local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
FilterDeleteSet.java 25 // void addDeletion(Path path, int index);
26 // void removeDelection(Path path);
40 Path path; field in class:FilterDeleteSet.Request
42 public Request(int type, Path path, int indexHint) {
44 this.path = path;
50 Path path; field in class:FilterDeleteSet.Deletion
    [all...]
  /bionic/libc/bionic/
libgen.cpp 42 static int __basename_r(const char* path, char* buffer, size_t buffer_size) {
49 if (path == NULL || *path == '\0') {
56 endp = path + strlen(path) - 1;
57 while (endp > path && *endp == '/') {
62 if (endp == path && *endp == '/') {
70 while (startp > path && *(startp - 1) != '/') {
95 __LIBC32_LEGACY_PUBLIC__ int basename_r(const char* path, char* buffer, size_t buffer_size) {
96 return __basename_r(path, buffer, buffer_size)
    [all...]
  /device/google/dragon/
mixer_paths_0.xml 78 <path name="speaker">
84 </path>
86 <path name="headphones">
92 </path>
95 <path name="speaker-mic">
99 </path>
102 <path name="headset-mic">
108 </path>
110 <path name="voice-headset-mic">
111 <path name="headset-mic" /
    [all...]
  /frameworks/base/docs/html/reference/android/support/test/
_book.yaml 4 path: /reference/android/support/test/package-summary.html
7 path: /reference/android/support/test/annotation/package-summary.html
10 path: /reference/android/support/test/espresso/package-summary.html
13 path: /reference/android/support/test/espresso/action/package-summary.html
16 path: /reference/android/support/test/espresso/assertion/package-summary.html
19 path: /reference/android/support/test/espresso/base/package-summary.html
22 path: /reference/android/support/test/espresso/contrib/package-summary.html
25 path: /reference/android/support/test/espresso/idling/package-summary.html
28 path: /reference/android/support/test/espresso/intent/package-summary.html
31 path: /reference/android/support/test/espresso/intent/matcher/package-summary.htm
    [all...]
  /development/testrunner/coverage/
coverage.py 42 # path to EMMA host jar, relative to Android build root
43 _EMMA_JAR = os.path.join("external", "emma", "lib", "emma.jar")
45 # root path of generated coverage report files, relative to Android build root
48 _CORE_TARGET_PATH = os.path.join("development", "testrunner",
50 # vendor glob file path patterns to tests, relative to android
52 _VENDOR_TARGET_PATH = os.path.join("vendor", "*", "tests", "testinfo",
55 # path to root of target build intermediates
56 _TARGET_INTERMEDIATES_BASE_PATH = os.path.join("target", "common",
62 self._output_root_path = os.path.join(self._out_path,
64 self._emma_jar_path = os.path.join(self._root_path, self._EMMA_JAR
    [all...]
  /device/google/marlin/
mixer_paths.xml 458 <path name="gsm-mode">
460 </path>
462 <path name="echo-reference">
464 </path>
466 <path name="echo-reference speaker">
468 </path>
470 <path name="bt-sco-echo-reference">
472 </path>
474 <path name="echo-reference bt-sco">
475 <path name="bt-sco-echo-reference" /
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/unittest/test/
test_discovery.py 31 original_isfile = os.path.isfile
33 os.path.isfile = original_isfile
34 original_isdir = os.path.isdir
36 os.path.isdir = original_isdir
41 os.listdir = lambda path: path_lists.pop(0)
44 def isdir(path):
45 return path.endswith('dir')
46 os.path.isdir = isdir
49 def isfile(path):
51 return not path.endswith('dir') and not 'another_dir' in pat
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/unittest/test/
test_discovery.py 31 original_isfile = os.path.isfile
33 os.path.isfile = original_isfile
34 original_isdir = os.path.isdir
36 os.path.isdir = original_isdir
41 os.listdir = lambda path: path_lists.pop(0)
44 def isdir(path):
45 return path.endswith('dir')
46 os.path.isdir = isdir
49 def isfile(path):
51 return not path.endswith('dir') and not 'another_dir' in pat
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/
test_discovery.py 31 original_isfile = os.path.isfile
33 os.path.isfile = original_isfile
34 original_isdir = os.path.isdir
36 os.path.isdir = original_isdir
41 os.listdir = lambda path: path_lists.pop(0)
44 def isdir(path):
45 return path.endswith('dir')
46 os.path.isdir = isdir
49 def isfile(path):
51 return not path.endswith('dir') and not 'another_dir' in pat
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/
test_discovery.py 31 original_isfile = os.path.isfile
33 os.path.isfile = original_isfile
34 original_isdir = os.path.isdir
36 os.path.isdir = original_isdir
41 os.listdir = lambda path: path_lists.pop(0)
44 def isdir(path):
45 return path.endswith('dir')
46 os.path.isdir = isdir
49 def isfile(path):
51 return not path.endswith('dir') and not 'another_dir' in pat
    [all...]
  /bionic/linker/
linker_utils.cpp 20 bool normalize_path(const char* path, std::string* normalized_path) {
21 // Input should be an absolute path
22 if (path[0] != '/') {
23 PRINT("normalize_path - invalid input: \"%s\", the input path should be absolute", path);
27 const size_t len = strlen(path) + 1;
30 const char* in_ptr = path;
91 const char* const path = normalized_path.c_str(); local
92 TRACE("Trying zip file open from path \"%s\" -> normalized \"%s\"", input_path, path);
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
WriteExternalStorageTest.java 143 for (File path : paths) {
144 assertNotNull("Valid media must be inserted during CTS", path);
146 Environment.getExternalStorageState(path));
148 assertTrue(path.getAbsolutePath().contains(packageName));
151 while (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState(path))) {
152 assertDirReadWriteAccess(path);
153 path = path.getParentFile();
177 File path = getContext().getExternalCacheDir(); local
181 assertDirReadWriteAccess(path);
    [all...]
  /external/autotest/client/tests/systemtap/
systemtap.py 19 self.systemtap_dir = os.path.join(self.autodir,
23 depdir = os.path.join(self.autodir, 'deps/systemtap')
26 srcdir = os.path.join(depdir, 'src')
28 elfdir = os.path.join(srcdir, 'elfutils')
36 depdir = os.path.join(self.autodir, 'deps/systemtap')
37 if os.path.exists(os.path.join(depdir, tarball_systemtap)):
43 testsuite = os.path.join(self.srcdir, 'testsuite')
51 script = "PATH=%s/bin:$PATH stap -c /bin/true -e 'probe syscall.read { exit() }'" % self.systemtap_di
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/
test_implies.py 14 root = os.path.join(
15 os.path.dirname(os.path.abspath(__file__)),
19 mg = modulegraph.ModuleGraph(path=[root]+sys.path)
20 mg.run_script(os.path.join(root, 'script.py'))
29 mg = modulegraph.ModuleGraph(path=[root]+sys.path, implies={
32 mg.run_script(os.path.join(root, 'script.py'))
44 root = os.path.join
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
example.py 25 >>> os.path #doctest: +ELLIPSIS
45 def create_file(path):
52 >>> os.path.isdir('/test')
55 >>> os.path.isdir('/test')
57 >>> os.path.exists('/test/file.txt')
60 >>> os.path.exists('/test/file.txt')
66 with open(path, 'w') as f:
67 f.write("This is test file '{}'.\n".format(path))
70 def delete_file(path):
76 >>> os.path.exists('/test/file.txt'
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/roboto/
awsqueryservice.py 22 Path = '/'
40 if 'path' not in self.args:
41 self.args['path'] = self.Path
61 path = os.environ['AWS_CREDENTIAL_FILE']
62 path = os.path.expanduser(path)
63 path = os.path.expandvars(path
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/data/
AbstractData.java 47 * Retrieves the value at the specified path in this HDF node's subtree.
51 public String getValue(String path, String defaultValue) {
52 Data child = getChild(path);
62 * Retrieves the integer value at the specified path in this HDF node's subtree. If the value does
67 public int getIntValue(String path, int defaultValue) {
68 Data child = getChild(path);
82 * Retrieves the value at the specified path in this HDF node's subtree. If not found, returns
85 public String getValue(String path) {
86 return getValue(path, null);
90 * Retrieves the value at the specified path in this HDF node's subtree. If not found or invalid
    [all...]
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
WindowsFakeFileSystem.java 25 * <li>Either forward slashes (/) or backward slashes (\) are valid path separators (but are normalized to '\')</li>
26 * <li>An absolute path starts with a drive specifier (e.g. 'a:' or 'c:') followed
58 * @param path - the path
61 protected String getFileSystemEntryKey(String path) {
62 return normalize(path).toLowerCase();
70 * Return true if the specified path designates a valid (absolute) file path. For Windows
71 * paths, a path is valid if it starts with a drive specifier followed by
74 * @param path - the path
    [all...]
  /external/skia/bench/
StrokeBench.cpp 16 StrokeBench(const SkPath& path, const SkPaint& paint, const char pathType[], SkScalar res)
17 : fPath(path), fPaint(paint), fRes(res)
61 SkPath path; local
63 path.moveTo(rand_pt(rand));
65 path.lineTo(rand_pt(rand));
67 return path;
70 SkPath path; local
72 path.moveTo(rand_pt(rand));
74 path.quadTo(rand_pt(rand), rand_pt(rand));
76 return path;
79 SkPath path; local
88 SkPath path; local
    [all...]

Completed in 2036 milliseconds

<<31323334353637383940>>