/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
H A D | truncate.c | 12 int truncate(const char* pathname, off_t length) { argument 13 return ki_truncate(pathname, length);
|
/external/e2fsprogs/intl/ |
H A D | 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)
|
/external/chromium_org/remoting/webapp/ |
H A D | cs_third_party_auth_trampoline.js | 7 if (window.location.pathname == thirdPartyPath) {
|
H A D | cs_oauth2_trampoline.js | 14 if (window.location.pathname == officialPath || 15 window.location.pathname == unofficialPath) {
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | pathutils_unittest.cc | 22 EXPECT_FALSE(path.pathname().empty()); 23 EXPECT_EQ(std::string("/"), path.pathname()); 29 EXPECT_FALSE(path.pathname().empty()); 30 EXPECT_EQ(std::string("foo"), path.pathname()); 36 EXPECT_FALSE(path.pathname().empty()); 37 EXPECT_EQ(kCWD, path.pathname()); 43 EXPECT_FALSE(path.pathname().empty()); 44 EXPECT_EQ(kCWD, path.pathname());
|
H A D | unixfilesystem.cc | 92 std::string pathname(path.pathname()); 93 int len = pathname.length(); 94 if ((len == 0) || (pathname[len - 1] != '/')) 98 int res = ::stat(pathname.c_str(), &st); 110 } while ((len > 0) && (pathname[len - 1] != '/')); 112 if (!CreateFolder(Pathname(pathname.substr(0, len)), mode)) { 116 LOG(LS_INFO) << "Creating folder: " << pathname; 117 return (0 == ::mkdir(pathname.c_str(), mode)); 127 if (fs && !fs->Open(filename.pathname() 171 GetTemporaryFolder(Pathname &pathname, bool create, const std::string *append) argument 291 IsTemporaryPath(const Pathname& pathname) argument 314 IsFile(const Pathname& pathname) argument 321 IsAbsent(const Pathname& pathname) argument 329 GetFileSize(const Pathname& pathname, size_t *size) argument [all...] |
H A D | filelock_unittest.cc | 33 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); 44 temp_file_ = Pathname(temp_dir_.pathname(), kLockFile); 60 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); 62 EXPECT_FALSE(Filesystem::IsAbsent(temp_file_.pathname())); 64 EXPECT_TRUE(Filesystem::IsAbsent(temp_file_.pathname())); 68 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); 73 scoped_ptr<FileLock> lock1(FileLock::TryLock(temp_file_.pathname())); 76 scoped_ptr<FileLock> lock2(FileLock::TryLock(temp_file_.pathname())); 81 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname()));
|
H A D | win32filesystem.cc | 33 bool Win32Filesystem::CreateFolder(const Pathname &pathname) { argument 34 if (pathname.pathname().empty() || !pathname.filename().empty()) 38 if (!Utf8ToWindowsFilename(pathname.pathname(), &path16)) 52 if (!pathname.parent_folder().empty()) { 53 Pathname parent(pathname); 54 parent.SetFolder(pathname.parent_folder()); 66 if (fs && !fs->Open(filename.pathname() 197 GetTemporaryFolder(Pathname &pathname, bool create, const std::string *append) argument 296 IsTemporaryPath(const Pathname& pathname) argument 307 GetFileSize(const Pathname &pathname, size_t *size) argument [all...] |
H A D | pathutils.cc | 58 Pathname::Pathname(const std::string& pathname) argument 60 SetPathname(pathname); 91 std::string Pathname::pathname() const { function in class:rtc::Pathname 92 std::string pathname(folder_); 93 pathname.append(basename_); 94 pathname.append(extension_); 95 if (pathname.empty()) { 96 // Instead of the empty pathname, return the current working directory. 97 pathname.push_back('.'); 98 pathname 116 SetPathname(const std::string& pathname) argument 133 AppendPathname(const std::string& pathname) argument 233 GetDrive(char *drive, uint32 bytes, const std::string& pathname) argument [all...] |
H A D | unixfilesystem.h | 59 virtual bool CreateFolder(const Pathname &pathname, mode_t mode); 62 virtual bool CreateFolder(const Pathname &pathname); 75 // Returns true if a pathname is a directory 76 virtual bool IsFolder(const Pathname& pathname); 78 // Returns true if pathname represents a temporary location on the system. 79 virtual bool IsTemporaryPath(const Pathname& pathname); 81 // Returns true of pathname represents an existing file 82 virtual bool IsFile(const Pathname& pathname); 84 // Returns true if pathname refers to no filesystem object, every parent 86 virtual bool IsAbsent(const Pathname& pathname); [all...] |
H A D | win32filesystem.h | 40 virtual bool CreateFolder(const Pathname &pathname); 57 // Returns true if a pathname is a directory 58 virtual bool IsFolder(const Pathname& pathname); 63 // Returns true if pathname refers to no filesystem object, every parent 65 virtual bool IsAbsent(const Pathname& pathname); 67 // Returns true if pathname represents a temporary location on the system. 68 virtual bool IsTemporaryPath(const Pathname& pathname); 70 // All of the following functions set pathname and return true if successful.
|
H A D | fileutils.cc | 62 directory_ = dir.pathname(); 66 std::string d = dir.pathname() + '*'; 156 new_dir.SetFolder(new_path.pathname()); 158 old_dir.SetFolder(old_path.pathname()); 164 if (di->Iterate(old_dir.pathname())) { 170 source.SetFolder(old_dir.pathname()); 171 dest.SetFolder(new_path.pathname()); 193 subdir.SetFolder(folder.pathname()); 229 LOG(LS_INFO) << "Path " << path.pathname() << std::endl; 237 path.SetFolder(temporary_path.pathname()); 257 std::string pathname = path.pathname(); local [all...] |
/external/chromium_org/base/process/ |
H A D | process_handle_freebsd.cc | 26 char pathname[PATH_MAX]; local 30 length = sizeof(pathname); 32 if (sysctl(mib, arraysize(mib), pathname, &length, NULL, 0) < 0 || 37 return FilePath(std::string(pathname));
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | kernel_wrap_real.h | 21 int _real_mkdir(const char* pathname, mode_t mode); 29 int _real_open(const char* pathname, int oflag, mode_t mode, int* newfd); 32 int _real_rmdir(const char* pathname); 34 int _real_getcwd(char* pathname, size_t len);
|
H A D | kernel_wrap_newlib.cc | 188 int WRAP(open)(const char* pathname, int oflag, mode_t mode, int* newfd) { 189 *newfd = ki_open(pathname, oflag, mode); 193 int WRAP(stat)(const char* pathname, struct stat* buf) { 194 ERRNO_RTN(ki_stat(pathname, buf)); 197 int WRAP(mkdir)(const char* pathname, mode_t mode) { 198 ERRNO_RTN(ki_mkdir(pathname, mode)); 201 int WRAP(rmdir)(const char* pathname) { 202 ERRNO_RTN(ki_rmdir(pathname)); 205 int WRAP(chdir)(const char* pathname) { 206 ERRNO_RTN(ki_chdir(pathname)); [all...] |
H A D | kernel_wrap_dummy.cc | 34 int _real_mkdir(const char* pathname, mode_t mode) { argument 51 int _real_open(const char* pathname, int oflag, mode_t mode, int* newfd) { argument 64 int _real_rmdir(const char* pathname) { argument 81 int _real_getcwd(char* pathname, size_t len) { argument
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | 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);
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
H A D | cryptohome.js | 19 // Auto-refresh when interval is given as pathname. 20 var interval = parseInt(window.location.pathname.split('/')[1]);
|
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/ |
H A D | gtest-filepath.h | 48 // FilePath - a class for file and directory pathname manipulation which 49 // handles platform-specific conventions (like the pathname separator). 64 explicit FilePath(const char* pathname) : pathname_(pathname) { argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { argument 102 // Returns a pathname for a file that does not currently exist. The pathname 105 // already exists. The number will be incremented until a pathname is found 160 // Returns true if pathname describe [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-filepath.h | 48 // FilePath - a class for file and directory pathname manipulation which 49 // handles platform-specific conventions (like the pathname separator). 64 explicit FilePath(const char* pathname) : pathname_(pathname) { argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { argument 102 // Returns a pathname for a file that does not currently exist. The pathname 105 // already exists. The number will be incremented until a pathname is found 160 // Returns true if pathname describe [all...] |
/external/mesa3d/src/gtest/include/gtest/internal/ |
H A D | gtest-filepath.h | 48 // FilePath - a class for file and directory pathname manipulation which 49 // handles platform-specific conventions (like the pathname separator). 64 explicit FilePath(const char* pathname) : pathname_(pathname) { argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { argument 102 // Returns a pathname for a file that does not currently exist. The pathname 105 // already exists. The number will be incremented until a pathname is found 160 // Returns true if pathname describe [all...] |
/external/oprofile/libutil/ |
H A D | op_file.h | 64 typedef void (*get_pathname_callback)(char const * pathname, void * name_list); 77 * @param filter a pathname filter 86 * dir is of type 'dir' and its complete pathname contains a match to
|
/external/protobuf/gtest/include/gtest/internal/ |
H A D | gtest-filepath.h | 48 // FilePath - a class for file and directory pathname manipulation which 49 // handles platform-specific conventions (like the pathname separator). 64 explicit FilePath(const char* pathname) : pathname_(pathname) { argument 68 explicit FilePath(const String& pathname) : pathname_(pathname) { argument 102 // Returns a pathname for a file that does not currently exist. The pathname 105 // already exists. The number will be incremented until a pathname is found 160 // Returns true if pathname describe [all...] |
/external/javassist/src/main/javassist/ |
H A D | ClassPoolTail.java | 126 JarClassPath(String pathname) throws NotFoundException { argument 128 jarfile = new JarFile(pathname); 129 jarfileURL = new File(pathname).getCanonicalFile() 134 throw new NotFoundException(pathname); 241 public ClassPath insertClassPath(String pathname) argument 244 return insertClassPath(makePathObject(pathname)); 247 public ClassPath appendClassPath(String pathname) argument 250 return appendClassPath(makePathObject(pathname)); 253 private static ClassPath makePathObject(String pathname) argument 256 String lower = pathname [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
H A D | toolutil.cpp | 102 getLongPathname(const char *pathname) { argument 106 HANDLE file=FindFirstFileA(pathname, &info); 110 const char *basename=findBasename(pathname); 111 if(basename!=pathname) { 113 uprv_memmove(info.cFileName+(basename-pathname), info.cFileName, uprv_strlen(info.cFileName)+1); 114 uprv_memcpy(info.cFileName, pathname, basename-pathname); 116 pathname=info.cFileName; 121 return pathname; 180 uprv_mkdir(const char *pathname, UErrorCod argument [all...] |