/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_directory/ |
create_directory.pass.cpp | 59 const path dir = env.create_dir("dir1"); local 61 TEST_CHECK(fs::create_directory(dir, ec) == false); 63 TEST_CHECK(is_directory(dir)); 65 TEST_CHECK(fs::create_directory(dir) == false); 71 const path dir = env.make_env_path("dir1"); local 73 TEST_CHECK(fs::create_directory(dir, ec) == true); 75 TEST_CHECK(is_directory(dir)); 77 auto st = status(dir); 85 const path dir = env.make_env_path("dir1/dir2"); local 88 TEST_CHECK(fs::create_directory(dir, ec) == false) [all...] |
create_directory_with_attributes.pass.cpp | 43 const path dir = env.create_dir("dir1"); local 46 const perms orig_p = status(dir).permissions(); 50 TEST_CHECK(fs::create_directory(dir, dir2, ec) == false); 54 TEST_CHECK(orig_p == status(dir).permissions()); 57 TEST_CHECK(fs::create_directory(dir, dir2) == false); 66 const path dir = env.make_env_path("dir1"); local 71 TEST_CHECK(fs::create_directory(dir, attr_dir, ec) == true); 73 TEST_CHECK(is_directory(dir)); 76 auto st = status(dir); 83 const path dir = env.make_env_path("dir1/dir2") local [all...] |
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_symlink/ |
create_symlink.pass.cpp | 56 const path dir = env.create_dir("dir"); local 57 const path dir_sym = env.create_symlink(dir, "dir_sym"); 72 TEST_CHECK(equivalent(dest, dir));
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.exists/ |
exists.pass.cpp | 77 const path dir = env.create_dir("dir"); local 78 const path file = env.create_file("dir/file", 42); 79 permissions(dir, perms::none);
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.is_block_file/ |
is_block_file.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_char_file/ |
is_character_file.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_directory/ |
is_directory.pass.cpp | 72 TEST_CHECK(is_directory(StaticEnv::Dir)); 80 const path dir = env.create_dir("dir"); local 81 const path dir2 = env.create_dir("dir/dir2"); 82 permissions(dir, perms::none);
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.is_fifo/ |
is_fifo.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_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(); 159 void checknames(char **pfilnames, int fnamecount, DIR * ddir) 161 struct dirent *dir; local 165 while ((dir = readdir(ddir)) != NULL) { 168 * if dir->d_name is not null terminated it is a bug 171 if (strcmp(pfilnames[i], dir->d_name) == 0) { 172 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/mesa3d/src/gallium/drivers/ddebug/ |
dd_util.h | 47 char proc_name[128], dir[256], name[512]; local 55 snprintf(dir, sizeof(dir), "%s/"DD_DIR, debug_get_option("HOME", ".")); 57 if (mkdir(dir, 0774) && errno != EEXIST) { 62 snprintf(name, sizeof(name), "%s/%s_%u_%08u", dir, proc_name, getpid(), index++);
|
/external/nanopb-c/examples/network_server/ |
server.c | 28 DIR *dir = (DIR*) *arg; local 32 while ((file = readdir(dir)) != NULL) 54 DIR *directory;
|
/external/tensorflow/tensorflow/contrib/util/ |
convert_graphdef_memmapped_format_test.cc | 39 const string dir = testing::TmpDir(); local 40 const string filename_pb = io::JoinPath(dir, "graphdef.pb"); 65 const string filename_mmap = io::JoinPath(dir, "graphdef.mmap"); 94 const string dir = testing::TmpDir(); local 95 const string filename_pb = io::JoinPath(dir, "string_graphdef.pb"); 116 const string filename_mmap = io::JoinPath(dir, "string_graphdef.mmap");
|
/external/tensorflow/tensorflow/core/kernels/ |
whole_file_read_ops.cc | 137 const string dir = io::Dirname(filename).ToString(); variable 138 if (!context->env()->FileExists(dir).ok()) { 139 OP_REQUIRES_OK(context, context->env()->RecursivelyCreateDir(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(base_length + strlen(all) + 1)) != 0) { 41 strcat(strcpy(dir->name, name), all); 43 if ((dir->handle = (handle_type)_findfirst(dir->name, &dir->info)) != -1) [all...] |
/external/wayland/tests/ |
test-helpers.c | 38 DIR *dir; local 42 dir = opendir("/proc/self/fd"); 43 assert(dir && "opening /proc/self/fd failed."); 46 while ((ent = readdir(dir))) { 54 closedir(dir);
|
/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/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);
|