Home
last modified time | relevance | path

Searched refs:is_dir (Results 1 – 10 of 10) sorted by relevance

/system/apex/apexd/
Dapexd_private.cpp41 bool is_dir; in BindMount() local
47 is_dir = false; in BindMount()
52 is_dir = true; in BindMount()
56 is_dir = S_ISDIR(buf.st_mode); in BindMount()
61 if (exists && !is_dir) { in BindMount()
Dflattened_apex_test.cpp46 bool is_dir = entry.is_directory(ec); in TEST() local
48 ASSERT_TRUE(is_dir) << entry.path() << " is not a directory"; in TEST()
/system/core/init/
Dutil_test.cpp142 TEST(util, is_dir) { in TEST() argument
144 EXPECT_TRUE(is_dir(test_dir.path)); in TEST()
146 EXPECT_FALSE(is_dir(tf.path)); in TEST()
154 EXPECT_TRUE(is_dir(path1.c_str())); in TEST()
156 EXPECT_TRUE(is_dir(path1.c_str())); in TEST()
158 EXPECT_TRUE(is_dir(path1.c_str())); in TEST()
166 EXPECT_TRUE(is_dir(path1.c_str())); in TEST()
168 EXPECT_TRUE(is_dir(path1.c_str())); in TEST()
170 EXPECT_TRUE(is_dir(path1.c_str())); in TEST()
Dfirst_stage_init.cpp67 bool is_dir = false; in FreeRamdisk() local
80 is_dir = true; in FreeRamdisk()
93 unlinkat(dfd, de->d_name, is_dir ? AT_REMOVEDIR : 0); in FreeRamdisk()
Dutil.h59 bool is_dir(const char* pathname);
Dparser.cpp185 if (is_dir(path.c_str())) { in ParseConfig()
Dfirst_stage_mount.cpp411 if (is_dir(entry.avb_keys.c_str())) { // fstab_keys might be a dir, e.g., /avb. in PreloadAvbKeys()
Dutil.cpp271 bool is_dir(const char* pathname) { in is_dir() function
/system/update_engine/payload_generator/
Dext2_filesystem.cc215 bool is_dir = (ext2fs_check_directory(filsys_, it_ino) == 0); in GetFiles() local
216 if (is_dir) in GetFiles()
/system/core/cpio/
Dmkbootfs.c86 int is_dir = S_ISDIR(s->st_mode) || strcmp(path, TRAILER) == 0; in fix_stat() local
87 fs_config(path, is_dir, target_out_path, &s->st_uid, &s->st_gid, &st_mode, &capabilities); in fix_stat()