Home
last modified time | relevance | path

Searched refs:is_dir (Results 1 – 13 of 13) 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.cpp69 bool is_dir = false; in FreeRamdisk() local
82 is_dir = true; in FreeRamdisk()
101 unlinkat(dfd, de->d_name, is_dir ? AT_REMOVEDIR : 0); in FreeRamdisk()
Dutil.h60 bool is_dir(const char* pathname);
Dparser.cpp185 if (is_dir(path.c_str())) { in ParseConfig()
Dutil.cpp284 bool is_dir(const char* pathname) { in is_dir() function
Dfirst_stage_mount.cpp470 if (is_dir(entry.avb_keys.c_str())) { // fstab_keys might be a dir, e.g., /avb. in PreloadAvbKeys()
/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/mkbootfs/
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()
/system/extras/profcollectd/libprofcollectd/
Dservice.rs113 if !dest.is_dir() { in copy_report_to_bb()
/system/extras/simpleperf/scripts/test/
Ddo_test.py151 if not source_dir.is_dir():
159 elif src_path.is_dir():
/system/security/keystore2/src/
Dlegacy_blob.rs825 if !user_path.as_path().is_dir() { in is_empty_user()