/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.is_other/ |
is_other.pass.cpp | 73 const path dir = env.create_dir("dir"); local 74 const path file = env.create_file("dir/file", 42); 75 permissions(dir, perms::none);
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.is_regular_file/ |
is_regular_file.pass.cpp | 76 const path dir = env.create_dir("dir"); local 77 const path file = env.create_file("dir/file", 42); 78 permissions(dir, perms::none);
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.is_socket/ |
is_socket.pass.cpp | 73 const path dir = env.create_dir("dir"); local 74 const path file = env.create_file("dir/file", 42); 75 permissions(dir, perms::none);
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.is_symlink/ |
is_symlink.pass.cpp | 72 {StaticEnv::Dir, false}, 94 const path dir = env.create_dir("dir"); local 95 const path file = env.create_file("dir/file", 42); 96 permissions(dir, perms::none);
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.resize_file/ |
resize_file.pass.cpp | 62 const path dir = env.create_dir("dir1"); local 64 dne, bad_sym, dir
|
/external/libmicrohttpd/src/examples/ |
fileserver_example_dirs.c | 52 DIR *dir = cls; local 53 if (dir != NULL) 54 closedir (dir); 60 DIR *dir = cls; local 67 e = readdir (dir); 91 DIR *dir; local 111 dir = opendir (".") [all...] |
/external/ltp/testcases/kernel/syscalls/chdir/ |
chdir01.c | 65 static void checknames(char **, int, DIR *); 71 DIR *ddir, *opendir(); 161 void checknames(char **pfilnames, int fnamecount, DIR * ddir) 163 struct dirent *dir; local 167 while ((dir = readdir(ddir)) != NULL) { 170 * if dir->d_name is not null terminated it is a bug 173 if (strcmp(pfilnames[i], dir->d_name) == 0) { 174 tst_resm(TINFO, "Found file %s", dir->d_name);
|
/external/ltp/testcases/kernel/syscalls/fchdir/ |
fchdir01.c | 143 char *dir; local 149 if ((dir = basename(buf)) == NULL) 152 if (strcmp(TEST_DIR, dir) == 0)
|
/external/ltp/utils/ffsb-6.0-rc2/ |
metaops.c | 70 struct ffsb_file *dir; local 73 dir = choose_file_writer(dirs, rd); 74 oldname = dir->name; 75 rename_file(dir); 77 if (rename(oldname, dir->name) < 0) { 81 unlock_file_writer(dir);
|
/external/nanopb-c/examples/network_server/ |
server.c | 28 DIR *dir = (DIR*) *arg; local 32 while ((file = readdir(dir)) != NULL) 54 DIR *directory;
|
/external/openssh/ |
sftp-glob.c | 39 SFTP_DIRENT **dir; member in struct:SFTP_OPENDIR 54 if (do_readdir(cur.conn, (char *)path, &r->dir)) { 74 if (od->dir[od->offset] == NULL) 84 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); 86 strlcpy(ret->d_name, od->dir[od->offset++]->filename, 106 free_sftp_dirents(od->dir);
|
/external/skia/tools/ |
ok_srcs.cpp | 63 std::string dir; member in struct:SKPStream 68 stream.dir = options("dir", "skps"); 69 SkOSFile::Iter it{stream.dir.c_str(), ".skp"}; 77 std::string dir, path; member in struct:SKPStream::SKPSrc 82 auto skp = SkData::MakeFromFileName((dir+"/"+path).c_str()); 108 src.dir = dir;
|
/external/vulkan-validation-layers/loader/ |
dirent_on_windows.c | 24 struct DIR { 31 DIR *opendir(const char *name) { 32 DIR *dir = 0; local 39 if ((dir = (DIR *)loader_instance_tls_heap_alloc(sizeof *dir)) != 0 && 40 (dir->name = (char *)loader_instance_tls_heap_alloc( 42 strcat(strcpy(dir->name, name), all); 44 if ((dir->handle [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
eapol_test.py | 17 dir = os.path.dirname(os.path.realpath(sys.modules[__name__].__file__)) variable 18 sys.path.append(os.path.join(dir, '..', 'wpaspy'))
|
/frameworks/base/cmds/incidentd/src/ |
report_directory.cpp | 41 char* dir = strdup(directory); local 44 char* d = dir + 1; 55 if (stat(dir, &st) == 0) { 61 if (mkdir(dir, 0770)) { 63 "Unable to create incident report dir %s: %s", dir, 68 if (chmod(dir, 0770)) { 70 "Unable to set permissions for incident report dir %s: %s", dir, 75 if (chown(dir, AID_SYSTEM, AID_SYSTEM)) 121 DIR* dir; local [all...] |
/frameworks/base/core/java/android/net/ |
SSLSessionCache.java | 83 * @param dir to store session files in (created if necessary) 86 public SSLSessionCache(File dir) throws IOException { 87 mSessionCache = FileClientSessionCache.usingDirectory(dir); 97 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); local 100 cache = FileClientSessionCache.usingDirectory(dir); 102 Log.w(TAG, "Unable to create SSL session cache in " + dir, e);
|
/frameworks/base/core/java/com/android/internal/os/ |
SamplingProfilerIntegration.java | 59 File dir = new File(SNAPSHOT_DIR); external variable declarations 60 dir.mkdirs(); 62 dir.setWritable(true, false); 64 dir.setExecutable(true, false); 65 if (dir.isDirectory()) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
EntropyMixerTest.java | 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); local 32 File file = File.createTempFile("testInitialWrite", "dat", dir);
|
/frameworks/base/tools/aapt/ |
DirectoryWalker.h | 59 dir = NULL; 60 dir = opendir(mBasePath.string() ); 62 if (dir == NULL) 74 struct dirent* entryPtr = readdir(dir); 89 closedir(dir); 95 DIR* dir; member in class:SystemDirectoryWalker
|
/frameworks/compile/mclinker/lib/MC/ |
SearchDirs.cpp | 41 iterator dir, dirEnd = end(); local 42 for (dir = begin(); dir != dirEnd; ++dir) { 43 delete (*dir); 48 MCLDDirectory* dir = new MCLDDirectory(pPath); local 49 if (dir->isInSysroot()) 50 dir->setSysroot(m_SysRoot); 52 if (exists(dir->path()) && is_directory(dir->path())) [all...] |
/hardware/interfaces/drm/1.0/vts/functional/ |
vendor_modules.cpp | 33 DIR* dir = opendir(directory.c_str()); local 34 if (dir == NULL) { 38 while ((entry = readdir(dir))) { 45 closedir(dir);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 49 private void deleteTempFolder(File dir) { 50 String files[] = dir.list(); 52 File f = new File(dir, files[i]); 59 dir.delete(); 138 File dir = new File(base, platformId); local 139 dir.mkdir(); 140 File f = new File(dir, "xxx.xxx"); 150 File dir = new File(""); // current directory local 151 String newDirURL = dir.toURL().toString(); 157 File dir = new File(cts + "/hello") local [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
UnixMountEntry.java | 34 private byte[] dir; // directory (mount point) field in class:UnixMountEntry 55 byte[] dir() { method in class:UnixMountEntry 56 return dir;
|
/prebuilts/go/darwin-x86/src/go/types/ |
resolver.go | 152 srcDir = dir(check.fset.Position(check.files[0].Name.Pos()).Filename) 493 // dir makes a good-faith attempt to return the directory 496 // path/filepath and simply use filepath.Dir.) 497 func dir(path string) string { func
|
/prebuilts/go/linux-x86/src/go/types/ |
resolver.go | 152 srcDir = dir(check.fset.Position(check.files[0].Name.Pos()).Filename) 493 // dir makes a good-faith attempt to return the directory 496 // path/filepath and simply use filepath.Dir.) 497 func dir(path string) string { func
|