/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
util.py | 110 def convert_path (pathname): 111 """Return 'pathname' as a name that will work on the native filesystem, 116 ValueError on non-Unix-ish systems if 'pathname' either starts or 120 return pathname 121 if not pathname: 122 return pathname 123 if pathname[0] == '/': 124 raise ValueError, "path '%s' cannot be absolute" % pathname 125 if pathname[-1] == '/': 126 raise ValueError, "path '%s' cannot end with '/'" % pathname [all...] |
/external/python/cpython3/Lib/distutils/ |
util.py | 111 def convert_path (pathname): 112 """Return 'pathname' as a name that will work on the native filesystem, 117 ValueError on non-Unix-ish systems if 'pathname' either starts or 121 return pathname 122 if not pathname: 123 return pathname 124 if pathname[0] == '/': 125 raise ValueError("path '%s' cannot be absolute" % pathname) 126 if pathname[-1] == '/': 127 raise ValueError("path '%s' cannot end with '/'" % pathname) [all...] |
/external/webrtc/webrtc/base/ |
diskcache.cc | 269 Pathname pathname; local 270 pathname.SetFolder(folder_); 271 pathname.SetBasename(buffer); 272 pathname.SetExtension(extension); 278 return pathname.pathname(); 283 Pathname pathname(filename); 285 if (1 != sscanf(pathname.extension().c_str(), ".%u", &tempdex) [all...] |
/external/googletest/googletest/include/gtest/internal/ |
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 std::string& pathname) : pathname_(pathname) { 98 // Returns a pathname for a file that does not currently exist. The pathname 101 // already exists. The number will be incremented until a pathname is found 156 // Returns true if pathname describes a directory in the file-system 165 // Returns true if pathname describes a root directory. (Windows has one 169 // Returns true if pathname describes an absolute path [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
toolutil.h | 58 * This function returns a pointer to the original pathname 61 * if the pathname is indeed abbreviated. 64 * the input pathname pointer. 70 getLongPathname(const char *pathname); 73 * Find the basename at the end of a pathname, i.e., the part 75 * to this part of the pathname. 76 * If the pathname only contains a basename and no file separator, 77 * then the pathname pointer itself is returned. 83 * Find the directory name of a pathname, that is, everything 90 * @param path the full pathname to inspect. [all...] |
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
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 std::string& pathname) : pathname_(pathname) { 98 // Returns a pathname for a file that does not currently exist. The pathname 101 // already exists. The number will be incremented until a pathname is found 156 // Returns true if pathname describes a directory in the file-system 165 // Returns true if pathname describes a root directory. (Windows has one 169 // Returns true if pathname describes an absolute path [all...] |
/external/ltp/include/old/ |
old_safe_file_ops.h | 60 #define SAFE_TOUCH(cleanup_fn, pathname, mode, times) \ 62 (pathname), (mode), (times))
|
/external/ltp/testcases/kernel/syscalls/readlinkat/ |
readlinkat02.c | 27 * 4. pathname is relative and dirfd is a file descriptor referring to a file 48 const char *pathname; member in struct:test_case_t 100 TEST(readlinkat(*test->dirfd, test->pathname, buf, test->bufsiz));
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
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 std::string& pathname) : pathname_(pathname) { 98 // Returns a pathname for a file that does not currently exist. The pathname 101 // already exists. The number will be incremented until a pathname is found 156 // Returns true if pathname describes a directory in the file-system 165 // Returns true if pathname describes a root directory. (Windows has one 169 // Returns true if pathname describes an absolute path [all...] |
/external/python/cpython2/Lib/plat-riscos/ |
rourl2path.py | 17 raise RuntimeError, 'Cannot convert non-local URL to pathname' 22 raise RuntimeError, 'Cannot convert non-local URL to pathname' 48 def pathname2url(pathname): 51 return urllib.quote('///' + pathname.translate(__slash_dot), "/$:")
|
/external/v8/testing/gtest/include/gtest/internal/ |
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 std::string& pathname) : pathname_(pathname) { 98 // Returns a pathname for a file that does not currently exist. The pathname 101 // already exists. The number will be incremented until a pathname is found 156 // Returns true if pathname describes a directory in the file-system 165 // Returns true if pathname describes a root directory. (Windows has one 169 // Returns true if pathname describes an absolute path [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/ |
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 std::string& pathname) : pathname_(pathname) { 98 // Returns a pathname for a file that does not currently exist. The pathname 101 // already exists. The number will be incremented until a pathname is found 156 // Returns true if pathname describes a directory in the file-system 165 // Returns true if pathname describes a root directory. (Windows has one 169 // Returns true if pathname describes an absolute path [all...] |
/prebuilts/ndk/r16/sources/third_party/googletest/googletest/include/gtest/internal/ |
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 std::string& pathname) : pathname_(pathname) { 98 // Returns a pathname for a file that does not currently exist. The pathname 101 // already exists. The number will be incremented until a pathname is found 156 // Returns true if pathname describes a directory in the file-system 165 // Returns true if pathname describes a root directory. (Windows has one 169 // Returns true if pathname describes an absolute path [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/include/gtest/internal/ |
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 std::string& pathname) : pathname_(pathname) { 98 // Returns a pathname for a file that does not currently exist. The pathname 101 // already exists. The number will be incremented until a pathname is found 156 // Returns true if pathname describes a directory in the file-system 165 // Returns true if pathname describes a root directory. (Windows has one 169 // Returns true if pathname describes an absolute path [all...] |
/system/core/init/ |
util.h | 49 bool mkdir_recursive(const std::string& pathname, mode_t mode); 55 bool is_dir(const char* pathname);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
imputil.py | 415 def _compile(pathname, timestamp):
418 The file specified by <pathname> is compiled to a code object and
425 codestring = open(pathname, 'rU').read()
428 code = __builtin__.compile(codestring, pathname, 'exec')
432 f = open(pathname + _suffix_char, 'wb')
483 def _os_path_isdir(pathname):
486 s = _os_stat(pathname)
491 def _timestamp(pathname):
494 s = _os_stat(pathname)
556 def _import_pathname(self, pathname, fqname): [all...] |
/external/python/cpython2/Lib/ |
imputil.py | 415 def _compile(pathname, timestamp): 418 The file specified by <pathname> is compiled to a code object and 425 codestring = open(pathname, 'rU').read() 428 code = __builtin__.compile(codestring, pathname, 'exec') 432 f = open(pathname + _suffix_char, 'wb') 483 def _os_path_isdir(pathname): 486 s = _os_stat(pathname) 491 def _timestamp(pathname): 494 s = _os_stat(pathname) 556 def _import_pathname(self, pathname, fqname) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
imputil.py | 415 def _compile(pathname, timestamp): 418 The file specified by <pathname> is compiled to a code object and 425 codestring = open(pathname, 'rU').read() 428 code = __builtin__.compile(codestring, pathname, 'exec') 432 f = open(pathname + _suffix_char, 'wb') 483 def _os_path_isdir(pathname): 486 s = _os_stat(pathname) 491 def _timestamp(pathname): 494 s = _os_stat(pathname) 556 def _import_pathname(self, pathname, fqname) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
imputil.py | 415 def _compile(pathname, timestamp): 418 The file specified by <pathname> is compiled to a code object and 425 codestring = open(pathname, 'rU').read() 428 code = __builtin__.compile(codestring, pathname, 'exec') 432 f = open(pathname + _suffix_char, 'wb') 483 def _os_path_isdir(pathname): 486 s = _os_stat(pathname) 491 def _timestamp(pathname): 494 s = _os_stat(pathname) 556 def _import_pathname(self, pathname, fqname) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
imputil.py | 415 def _compile(pathname, timestamp): 418 The file specified by <pathname> is compiled to a code object and 425 codestring = open(pathname, 'rU').read() 428 code = __builtin__.compile(codestring, pathname, 'exec') 432 f = open(pathname + _suffix_char, 'wb') 483 def _os_path_isdir(pathname): 486 s = _os_stat(pathname) 491 def _timestamp(pathname): 494 s = _os_stat(pathname) 556 def _import_pathname(self, pathname, fqname) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
imputil.py | 415 def _compile(pathname, timestamp): 418 The file specified by <pathname> is compiled to a code object and 425 codestring = open(pathname, 'rU').read() 428 code = __builtin__.compile(codestring, pathname, 'exec') 432 f = open(pathname + _suffix_char, 'wb') 483 def _os_path_isdir(pathname): 486 s = _os_stat(pathname) 491 def _timestamp(pathname): 494 s = _os_stat(pathname) 556 def _import_pathname(self, pathname, fqname) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
dynload_aix.c | 108 aix_loaderror(const char *pathname)
135 PyOS_snprintf(errbuf, sizeof(errbuf), "from module %.200s ", pathname);
158 const char *pathname, FILE *fp)
176 p = (dl_funcptr) aix_load((char *)pathname, L_NOAUTODEFER, 0);
178 aix_loaderror(pathname);
|
dynload_beos.c | 158 const char *pathname, FILE *fp)
167 printf( "load_add_on( %s )\n", pathname );
174 if( pathname[0] != '/' ) {
177 (void)strncat( fullpath, pathname, PATH_MAX );
183 (void)strcpy( fullpath, pathname );
|
/external/ltp/testcases/kernel/syscalls/stat/ |
stat06.c | 145 char *pathname; member in struct:test_case_t 158 Longpathname, &statbuf, "pathname too long", ENAMETOOLONG, 203 fname = Test_cases[ind].pathname; 277 Test_cases[6].pathname = bad_addr; 315 if (Test_cases[ind].pathname == High_address) { 316 /*if (strcmp(Test_cases[ind].pathname, HIGH_ADDRESS) == 0) { ** */ 317 Test_cases[ind].pathname = (char *)(sbrk(0) + 5);
|
/external/python/cpython2/Python/ |
dynload_aix.c | 108 aix_loaderror(const char *pathname) 135 PyOS_snprintf(errbuf, sizeof(errbuf), "from module %.200s ", pathname); 158 const char *pathname, FILE *fp) 176 p = (dl_funcptr) aix_load((char *)pathname, L_NOAUTODEFER, 0); 178 aix_loaderror(pathname);
|