/external/ltp/include/ |
tst_safe_file_ops.h | 29 #define SAFE_FILE_SCANF(path, fmt, ...) \ 31 (path), (fmt), ## __VA_ARGS__) 33 #define FILE_LINES_SCANF(path, fmt, ...) \ 35 (path), (fmt), ## __VA_ARGS__) 37 #define SAFE_FILE_LINES_SCANF(path, fmt, ...) \ 39 (path), (fmt), ## __VA_ARGS__) 47 #define FILE_PRINTF(path, fmt, ...) \ 49 (path), (fmt), ## __VA_ARGS__) 51 #define SAFE_FILE_PRINTF(path, fmt, ...) \ 53 (path), (fmt), ## __VA_ARGS__ [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
RmdCommandHandler.java | 40 String path = getRealPath(session, command.getRequiredParameter(0));
local 43 verifyFileSystemCondition(getFileSystem().exists(path), path, "filesystem.doesNotExist");
local 44 verifyFileSystemCondition(getFileSystem().isDirectory(path), path, "filesystem.isNotADirectory");
local 45 verifyFileSystemCondition(getFileSystem().listNames(path).size() == 0, path, "filesystem.directoryIsNotEmpty");
local 48 verifyWritePermission(session, getFileSystem().getParent(path));
50 getFileSystem().delete(path);
51 sendReply(session, ReplyCodes.RMD_OK, "rmd", list(path));
[all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
FileSystem.java | 36 * Return the List of FileSystemEntry objects for the files in the specified directory path. If the
37 * path does not refer to a valid directory, then an empty List is returned.
39 * @param path - the path of the directory whose contents should be returned
42 public List listFiles(String path);
45 * Return the List of filenames in the specified directory path. The returned filenames do not
46 * include a path. If the path does not refer to a valid directory, then an empty List is
49 * @param path - the path of the directory whose contents should be returned 136 public String path(String path1, String path2); method in interface:FileSystem [all...] |
/external/python/cpython3/Lib/test/ |
regrtest.py | 24 # Remove regrtest.py's own directory from the module search path. Despite 29 mydir = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0]))) 30 i = len(sys.path) - 1 32 if os.path.abspath(os.path.normpath(sys.path[i])) == mydir: 33 del sys.path[i] 41 __file__ = os.path.abspath(__file__ [all...] |
/external/swiftshader/third_party/LLVM/utils/llvm-lit/ |
llvm-lit.in | 11 sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit')) 18 'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg') 21 clang_site_config = os.path.join(llvm_obj_root, 'tools', 'clang', 'test', 'lit.site.cfg') 22 if os.path.exists(clang_site_config):
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
mkdtemp.c | 61 mkdtemp(path)
62 char *path;
64 _DIAGASSERT(path != NULL);
66 return (GETTEMP(path, (int *)NULL, 1) ? path : (char *)NULL);
|
/external/autotest/client/bin/ |
common.py | 2 dirname = os.path.dirname(sys.modules[__name__].__file__) 3 client_dir = os.path.abspath(os.path.join(dirname, "..")) 4 sys.path.insert(0, client_dir) 6 sys.path.pop(0)
|
/external/autotest/client/bin/net/ |
common.py | 2 dirname = os.path.dirname(sys.modules[__name__].__file__) 3 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 4 sys.path.insert(0, client_dir) 6 sys.path.pop(0)
|
/external/autotest/client/bin/result_tools/ |
common.py | 2 dirname = os.path.dirname(sys.modules[__name__].__file__) 3 client_dir = os.path.abspath(os.path.join(dirname, "../..")) 4 sys.path.insert(0, client_dir) 6 sys.path.pop(0)
|
/external/autotest/client/common_lib/ |
common.py | 2 dirname = os.path.dirname(sys.modules[__name__].__file__) 3 client_dir = os.path.abspath(os.path.join(dirname, "..")) 4 sys.path.insert(0, client_dir) 6 sys.path.pop(0)
|
/external/autotest/client/common_lib/cros/bluetooth/ |
common.py | 2 dirname = os.path.dirname(sys.modules[__name__].__file__) 3 client_dir = os.path.abspath(os.path.join(dirname, "..", "..", "..")) 4 sys.path.insert(0, client_dir) 6 sys.path.pop(0)
|
/external/autotest/client/common_lib/cros/ |
common.py | 2 dirname = os.path.dirname(sys.modules[__name__].__file__) 3 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 4 sys.path.insert(0, client_dir) 6 sys.path.pop(0)
|
/external/autotest/client/common_lib/cros/network/ |
common.py | 2 dirname = os.path.dirname(sys.modules[__name__].__file__) 3 client_dir = os.path.abspath(os.path.join(dirname, "..", "..", "..")) 4 sys.path.insert(0, client_dir) 6 sys.path.pop(0)
|
/external/autotest/client/common_lib/cros/tendo/ |
common.py | 2 dirname = os.path.dirname(sys.modules[__name__].__file__) 3 client_dir = os.path.abspath(os.path.join(dirname, '..', '..', '..')) 4 sys.path.insert(0, client_dir) 6 sys.path.pop(0)
|
/external/autotest/client/common_lib/hosts/ |
common.py | 2 dirname = os.path.dirname(sys.modules[__name__].__file__) 3 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 4 sys.path.insert(0, client_dir) 6 sys.path.pop(0)
|
/external/autotest/client/common_lib/perf_expectations/ |
common.py | 2 dirname = os.path.dirname(sys.modules[__name__].__file__) 3 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 4 sys.path.insert(0, client_dir) 6 sys.path.pop(0)
|
/external/autotest/client/cros/audio/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|
/external/autotest/client/cros/bluetooth/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|
/external/autotest/client/cros/cellular/ |
common.py | 7 dirname = os.path.dirname(sys.modules[__name__].__file__) 8 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir)) 9 sys.path.insert(0, client_dir) 11 sys.path.pop(0)
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
common.py | 7 dirname = os.path.dirname(sys.modules[__name__].__file__) 8 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir, 10 sys.path.insert(0, client_dir) 12 sys.path.pop(0)
|
/external/autotest/client/cros/cellular/pseudomodem/ |
common.py | 11 dirname = os.path.dirname(sys.modules[__name__].__file__) 12 client_dir = os.path.abspath(os.path.join(dirname, "..", "..", "..")) 13 sys.path.insert(0, client_dir) 17 sys.path.pop(0)
|
/external/autotest/client/cros/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, "..")) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|
/external/autotest/client/cros/crash/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|
/external/autotest/client/cros/faft/ |
common.py | 2 dirname = os.path.dirname(sys.modules[__name__].__file__) 3 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir)) 4 sys.path.insert(0, client_dir) 6 sys.path.pop(0)
|
/external/autotest/client/cros/multimedia/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir)) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|