/external/python/cpython3/Python/ |
dynload_hpux.c | 20 const char *pathname, FILE *fp) 31 printf("shl_load %s\n",pathname); 33 lib = shl_load(pathname, flags, 0); 42 perror(pathname); 44 pathname); 47 pathname_ob = PyUnicode_FromString(pathname);
|
/external/webrtc/webrtc/base/ |
win32filesystem.cc | 34 bool Win32Filesystem::CreateFolder(const Pathname &pathname) { 35 if (pathname.pathname().empty() || !pathname.filename().empty()) 39 if (!Utf8ToWindowsFilename(pathname.pathname(), &path16)) 53 if (!pathname.parent_folder().empty()) { 54 Pathname parent(pathname); [all...] |
pathutils.cc | 43 // Pathname - parsing of pathnames into components, and vice versa 46 bool Pathname::IsFolderDelimiter(char ch) { 50 char Pathname::DefaultFolderDelimiter() { 54 Pathname::Pathname() 58 Pathname::Pathname(const std::string& pathname) 60 SetPathname(pathname); 63 Pathname::Pathname(const std::string& folder, const std::string& filename 91 std::string Pathname::pathname() const { function in class:rtc::Pathname [all...] |
unixfilesystem.h | 39 FileStream* OpenFile(const Pathname& filename, 44 bool CreatePrivateFile(const Pathname& filename) override; 48 bool DeleteFile(const Pathname& filename) override; 53 bool DeleteEmptyFolder(const Pathname& folder) override; 59 virtual bool CreateFolder(const Pathname &pathname, mode_t mode); 62 bool CreateFolder(const Pathname& pathname) override; 67 bool MoveFile(const Pathname& old_path, const Pathname& new_path) override [all...] |
win32filesystem.h | 22 virtual FileStream *OpenFile(const Pathname &filename, 27 virtual bool CreatePrivateFile(const Pathname &filename); 31 virtual bool DeleteFile(const Pathname &filename); 35 virtual bool DeleteEmptyFolder(const Pathname &folder); 40 virtual bool CreateFolder(const Pathname &pathname); 46 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path); 51 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
glob.py | 10 def glob(pathname):
11 """Return a list of paths matching a pathname pattern.
16 return list(iglob(pathname))
18 def iglob(pathname):
19 """Return an iterator which yields the paths matching a pathname pattern.
24 if not has_magic(pathname):
25 if os.path.lexists(pathname):
26 yield pathname
28 dirname, basename = os.path.split(pathname)
|
/external/freetype/src/tools/docmaker/ |
utils.py | 88 def file_exists( pathname ): 92 file = open( pathname, "r" ) 96 sys.stderr.write( pathname + " couldn't be accessed\n" ) 109 for pathname in args: 110 if string.find( pathname, '*' ) >= 0: 111 newpath = glob.glob( pathname ) 115 newpath = [pathname]
|
/external/python/cpython3/Lib/ |
glob.py | 9 def glob(pathname, *, recursive=False): 10 """Return a list of paths matching a pathname pattern. 20 return list(iglob(pathname, recursive=recursive)) 22 def iglob(pathname, *, recursive=False): 23 """Return an iterator which yields the paths matching a pathname pattern. 33 it = _iglob(pathname, recursive, False) 34 if recursive and _isrecursive(pathname): 39 def _iglob(pathname, recursive, dironly): 40 dirname, basename = os.path.split(pathname) 41 if not has_magic(pathname) [all...] |
/external/selinux/python/sepolgen/src/sepolgen/ |
defaults.py | 26 def __init__(self, pathname): 28 if not os.path.exists(pathname): 32 self.config_pathname = pathname 35 for lineno, line in enumerate(open(pathname)): 39 raise ValueError("%s:%d: line is not in key = value format" % (pathname, lineno+1))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/ |
defaults.py | 26 def __init__(self, pathname): 28 if not os.path.exists(pathname): 32 self.config_pathname = pathname 35 for lineno, line in enumerate(open(pathname)): 39 raise ValueError("%s:%d: line is not in key = value format" % (pathname, lineno+1))
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
StatCommandHandler.java | 26 * along with a reply code of 211 if no pathname parameter is specified or 213 if a
27 * pathname is specified. You can customize the returned status information by setting
32 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory (or file) submitted on the
42 public static final String PATHNAME_KEY = "pathname";
54 String pathname = command.getOptionalString(0);
local 55 invocationRecord.set(PATHNAME_KEY, pathname);
59 int code = (pathname == null) ? ReplyCodes.STAT_SYSTEM_OK : ReplyCodes.STAT_FILE_OK;
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
StatCommandHandler.java | 26 * along with a reply code of 211 if no pathname parameter is specified or 213 if a
27 * pathname is specified. You can customize the returned status information by setting
32 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory (or file) submitted on the
44 public static final String PATHNAME_KEY = "pathname";
59 String pathname = command.getOptionalString(0);
local 60 invocationRecord.set(PATHNAME_KEY, pathname);
64 int code = (pathname == null) ? ReplyCodes.STAT_SYSTEM_OK : ReplyCodes.STAT_FILE_OK;
|
/external/python/cpython2/Mac/Demo/example0/ |
checktext.py | 8 pathname = EasyDialogs.AskFileForOpen(message='File to check end-of-lines in:') 9 if not pathname: 11 fp = open(pathname, 'rb')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
dynload_os2.c | 19 const char *pathname, FILE *fp)
29 pathname,
|
dynload_shlib.c | 70 const char *pathname, FILE *fp)
78 if (strchr(pathname, '/') == NULL) {
80 PyOS_snprintf(pathbuf, sizeof(pathbuf), "./%-.255s", pathname);
81 pathname = pathbuf;
116 PySys_WriteStderr("dlopen(\"%s\", %x);\n", pathname,
120 /* VMS currently don't allow a pathname, use a logical name instead */
127 pathname = pathbuf;
130 handle = dlopen(pathname, dlopenflags);
|
/external/python/cpython2/Python/ |
dynload_os2.c | 19 const char *pathname, FILE *fp) 29 pathname,
|
dynload_shlib.c | 70 const char *pathname, FILE *fp) 78 if (strchr(pathname, '/') == NULL) { 80 PyOS_snprintf(pathbuf, sizeof(pathbuf), "./%-.255s", pathname); 81 pathname = pathbuf; 116 PySys_WriteStderr("dlopen(\"%s\", %x);\n", pathname, 120 /* VMS currently don't allow a pathname, use a logical name instead */ 127 pathname = pathbuf; 130 handle = dlopen(pathname, dlopenflags);
|
/external/skia/tools/skpbench/ |
_adb_path.py | 19 def basename(pathname): 20 return pathname.rsplit('/', maxsplit=1)[-1] 26 for PATHNAME in %s; do 27 if [ -d "$PATHNAME" ]; then 28 find "$PATHNAME" -maxdepth 1 -name *.skp 30 echo "$PATHNAME"
|
/external/skqp/tools/skpbench/ |
_adb_path.py | 19 def basename(pathname): 20 return pathname.rsplit('/', maxsplit=1)[-1] 26 for PATHNAME in %s; do 27 if [ -d "$PATHNAME" ]; then 28 find "$PATHNAME" -maxdepth 1 -name *.skp 30 echo "$PATHNAME"
|
/external/adhd/cras/src/server/ |
cras_gpio_jack.h | 13 int gpio_switch_open(const char *pathname); 22 * pathname. Caller is responsible for releasing.
|
/external/google-breakpad/src/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 char* pathname) : pathname_(pathname) { 68 explicit FilePath(const String& pathname) : pathname_(pathname) { 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 describes a directory in the file-syste [all...] |
/external/llvm/utils/unittest/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 char* pathname) : pathname_(pathname) { 68 explicit FilePath(const String& pathname) : pathname_(pathname) { 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 describes a directory in the file-syste [all...] |
/external/protobuf/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 char* pathname) : pathname_(pathname) { 68 explicit FilePath(const String& pathname) : pathname_(pathname) { 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 describes a directory in the file-syste [all...] |
/external/swiftshader/third_party/LLVM/utils/unittest/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 char* pathname) : pathname_(pathname) { 68 explicit FilePath(const String& pathname) : pathname_(pathname) { 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 describes a directory in the file-syste [all...] |
/frameworks/base/core/java/android/os/ |
SELinux.java | 69 * @param path the pathname of the file object. 111 * @param pathname The pathname of the file to be relabeled. 113 * @exception NullPointerException if the pathname is a null object. 115 public static boolean restorecon(String pathname) throws NullPointerException { 116 if (pathname == null) { throw new NullPointerException(); } 117 return native_restorecon(pathname, 0); 127 * @param pathname The pathname of the file to be relabeled. 130 private static native boolean native_restorecon(String pathname, int flags) [all...] |