HomeSort by relevance Sort by last modified time
    Searched full:pathname (Results 26 - 50 of 1422) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
macurl2path.py 10 def url2pathname(pathname):
16 tp = urllib.splittype(pathname)[0]
18 raise RuntimeError, 'Cannot convert non-local URL to pathname'
20 if pathname[:3] == '///':
21 pathname = pathname[2:]
22 elif pathname[:2] == '//':
23 raise RuntimeError, 'Cannot convert non-local URL to pathname'
24 components = pathname.split('/')
52 def pathname2url(pathname)
    [all...]
glob.py 18 def glob(pathname):
19 """Return a list of paths matching a pathname pattern.
27 return list(iglob(pathname))
29 def iglob(pathname):
30 """Return an iterator which yields the paths matching a pathname pattern.
38 if not has_magic(pathname):
39 if os.path.lexists(pathname):
40 yield pathname
42 dirname, basename = os.path.split(pathname)
50 if dirname != pathname and has_magic(dirname)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
macurl2path.py 10 def url2pathname(pathname):
16 tp = urllib.splittype(pathname)[0]
18 raise RuntimeError, 'Cannot convert non-local URL to pathname'
20 if pathname[:3] == '///':
21 pathname = pathname[2:]
22 elif pathname[:2] == '//':
23 raise RuntimeError, 'Cannot convert non-local URL to pathname'
24 components = pathname.split('/')
52 def pathname2url(pathname)
    [all...]
glob.py 18 def glob(pathname):
19 """Return a list of paths matching a pathname pattern.
27 return list(iglob(pathname))
29 def iglob(pathname):
30 """Return an iterator which yields the paths matching a pathname pattern.
38 if not has_magic(pathname):
39 if os.path.lexists(pathname):
40 yield pathname
42 dirname, basename = os.path.split(pathname)
50 if dirname != pathname and has_magic(dirname)
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
fileutils.cc 79 bool DirectoryIterator::Iterate(const Pathname &dir) {
80 directory_ = dir.pathname();
84 std::string d = dir.pathname() + '*';
168 bool FilesystemInterface::CopyFolder(const Pathname &old_path,
169 const Pathname &new_path) {
171 Pathname new_dir;
172 new_dir.SetFolder(new_path.pathname());
173 Pathname old_dir;
174 old_dir.SetFolder(old_path.pathname());
178 di.Iterate(old_dir.pathname());
266 std::string pathname = path.pathname(); local
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
fileutils.cc 82 bool DirectoryIterator::Iterate(const Pathname &dir) {
83 directory_ = dir.pathname();
87 std::string d = dir.pathname() + '*';
173 bool FilesystemInterface::CopyFolder(const Pathname &old_path,
174 const Pathname &new_path) {
177 Pathname new_dir;
178 new_dir.SetFolder(new_path.pathname());
179 Pathname old_dir;
180 old_dir.SetFolder(old_path.pathname());
186 if (di->Iterate(old_dir.pathname())) {
279 std::string pathname = path.pathname(); local
    [all...]
filelock_unittest.cc 49 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname()));
60 temp_file_ = Pathname(temp_dir_.pathname(), kLockFile);
71 Pathname temp_dir_;
72 Pathname temp_file_;
76 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname()));
78 EXPECT_FALSE(Filesystem::IsAbsent(temp_file_.pathname()));
80 EXPECT_TRUE(Filesystem::IsAbsent(temp_file_.pathname()));
84 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname()));
89 scoped_ptr<FileLock> lock1(FileLock::TryLock(temp_file_.pathname()));
    [all...]
  /development/ndk/sources/android/libportable/arch-mips/
open.c 76 int WRAP(open)(const char *pathname, int flags, ...)
83 ALOGV("%s(pathname:%p, flags:0x%x, ...) {", __func__,
84 pathname, flags);
98 fd = __open(pathname, native_flags, mode);
100 /* Can't print pathname as a string, might be bogus */
101 ALOGV("%s: fd = %d = __open(pathname:%p, native_flags:0x%x, mode:0x%x);", __func__,
102 fd, pathname, native_flags, mode);
117 int WRAP(openat)(int dirfd, const char *pathname, int flags, ...)
124 ALOGV("%s(dirfd:%d, pathname:0x%p, flags:0x%x, ...) {", __func__,
125 dirfd, pathname, flags)
    [all...]
  /system/core/toolbox/
restorecon.c 19 fprintf(stderr, "usage: %s [-nrRv] pathname...\n", progname);
23 static int restore(const char *pathname, const struct stat *sb)
27 if (lgetfilecon(pathname, &oldcontext) < 0) {
29 pathname, strerror(errno));
32 if (selabel_lookup(sehandle, &newcontext, pathname, sb->st_mode) < 0) {
33 fprintf(stderr, "Could not lookup context for %s: %s\n", pathname,
40 printf("Relabeling %s from %s to %s.\n", pathname, oldcontext, newcontext);
42 if (lsetfilecon(pathname, newcontext) < 0) {
44 pathname, newcontext, strerror(errno));
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
kernel_wrap_real.h 18 int _real_mkdir(const char* pathname, mode_t mode);
22 int _real_open(const char* pathname, int oflag, mode_t cmode, int* newfd);
25 int _real_rmdir(const char* pathname);
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
readlink.c 12 int readlink(const char* pathname, char* buf, int len) {
13 return ki_readlink(pathname, buf, len);
truncate.c 12 int truncate(const char* pathname, off_t length) {
13 return ki_truncate(pathname, length);
lstat.c 15 int __lxstat(int ver, const char* pathname, struct stat* buf) {
16 return ki_lstat(pathname, buf);
  /external/chromium_org/tools/telemetry/telemetry/page/actions/
click_element_unittest.py 17 self._tab.EvaluateJavaScript('document.location.pathname;'),
27 self._tab.EvaluateJavaScript('document.location.pathname;'),
36 self._tab.EvaluateJavaScript('document.location.pathname;'),
46 self._tab.EvaluateJavaScript('document.location.pathname;'),
55 self._tab.EvaluateJavaScript('document.location.pathname;'),
65 self._tab.EvaluateJavaScript('document.location.pathname;'),
74 self._tab.EvaluateJavaScript('document.location.pathname;'),
84 self._tab.EvaluateJavaScript('document.location.pathname;'),
  /external/e2fsprogs/intl/
relocatable.h 41 Relocation simply replaces a pathname starting with the original prefix
42 by the corresponding pathname with the current prefix instead. Both
49 /* Returns the pathname, relocated according to the current installation
51 extern const char * relocate (const char *pathname);
54 a fresh pathname. If this is a problem because your program calls
60 file, and the current pathname of this file. Returns NULL upon failure. */
68 #define relocate(pathname) (pathname)
  /frameworks/compile/mclinker/lib/Support/Unix/
PathV3.inc 31 size_t canonicalize(std::string& pathname)
50 if (pathname.empty())
56 while (handler < pathname.size()) {
57 if (separator == pathname[handler]) { // handler = 1st '/'
59 if (next >= pathname.size())
61 switch(pathname[next]) { // next = handler + 1;
63 while (next < pathname.size() && separator == pathname[next])
66 pathname.erase(handler, next - handler - 1);
73 if (next >= pathname.size()) // '/.
    [all...]
  /frameworks/compile/mclinker/lib/Support/Windows/
PathV3.inc 24 size_t canonicalize(std::string& pathname)
43 if (pathname.empty())
49 while (handler < pathname.size()) {
50 if (separator == pathname[handler]) { // handler = 1st '/'
52 if (next >= pathname.size())
54 switch(pathname[next]) { // next = handler + 1;
56 while (next < pathname.size() && separator == pathname[next])
59 pathname.erase(handler, next - handler - 1);
66 if (next >= pathname.size()) // '/.
    [all...]
  /external/e2fsprogs/lib/ext2fs/
namei.c 24 const char *pathname, size_t pathlen, int follow,
31 char *pathname; local
59 pathname = buffer;
61 pathname = (char *)&(ei.i_block[0]);
62 retval = open_namei(fs, root, dir, pathname, ei.i_size, 1,
70 * This routine interprets a pathname in the context of the current
73 * (pointing into the pathname) and the length of the filename.
76 const char *pathname, int pathlen,
87 if ((c = *pathname) == '/') {
89 pathname++
    [all...]
  /bionic/libc/include/
fcntl.h 48 extern int unlinkat(int dirfd, const char *pathname, int flags);
55 extern int __open_real(const char *pathname, int flags, ...)
60 int open(const char *pathname, int flags, ...) {
72 return __open_2(pathname, flags);
75 return __open_real(pathname, flags, __builtin_va_arg_pack());
79 extern int __openat_real(int dirfd, const char *pathname, int flags, ...)
83 int openat(int dirfd, const char *pathname, int flags, ...) {
95 return __openat_2(dirfd, pathname, flags);
98 return __openat_real(dirfd, pathname, flags, __builtin_va_arg_pack());
  /external/lzma/CPP/Windows/
FileDir.cpp 135 bool MyRemoveDirectory(LPCTSTR pathName)
137 if (::RemoveDirectory(pathName))
141 if (GetLongPath(pathName, longPath))
187 bool MyRemoveDirectory(LPCWSTR pathName)
190 return MyRemoveDirectory(GetSysPath(pathName));
191 if (::RemoveDirectoryW(pathName))
195 if (GetLongPath(pathName, longPath))
216 bool MyCreateDirectory(LPCTSTR pathName)
218 if (::CreateDirectory(pathName, NULL))
224 if (GetLongPath(pathName, longPath))
    [all...]
  /external/chromium_org/third_party/icu/source/tools/toolutil/
toolutil.h 55 * This function returns a pointer to the original pathname
58 * if the pathname is indeed abbreviated.
61 * the input pathname pointer.
67 getLongPathname(const char *pathname);
70 * Find the basename at the end of a pathname, i.e., the part
72 * to this part of the pathname.
73 * If the pathname only contains a basename and no file separator,
74 * then the pathname pointer itself is returned.
80 * Find the directory name of a pathname, that is, everything
87 * @param path the full pathname to inspect.
    [all...]
  /external/icu4c/tools/toolutil/
toolutil.h 56 * This function returns a pointer to the original pathname
59 * if the pathname is indeed abbreviated.
62 * the input pathname pointer.
68 getLongPathname(const char *pathname);
71 * Find the basename at the end of a pathname, i.e., the part
73 * to this part of the pathname.
74 * If the pathname only contains a basename and no file separator,
75 * then the pathname pointer itself is returned.
81 * Find the directory name of a pathname, that is, everything
88 * @param path the full pathname to inspect.
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/
cryptohome.js 19 // Auto-refresh when interval is given as pathname.
20 var interval = parseInt(window.location.pathname.split('/')[1]);
  /external/linux-tools-perf/util/
path.c 92 char *pathname = get_pathname(); local
95 len = vsnprintf(pathname, PATH_MAX, fmt, args);
99 return cleanup_path(pathname);
105 char *pathname = get_pathname(); local
112 memcpy(pathname, perf_dir, len);
114 pathname[len++] = '/';
116 len += vsnprintf(pathname + len, PATH_MAX - len, fmt, args);
120 return cleanup_path(pathname);
  /bionic/libc/bionic/
open.c 36 int open(const char *pathname, int flags, ...)
51 return __open(pathname, flags, mode);
54 int __open_2(const char *pathname, int flags) {
61 return __open(pathname, flags, 0);

Completed in 339 milliseconds

12 3 4 5 6 7 8 91011>>