Searched refs:is_dir (Results 1 – 13 of 13) sorted by relevance
/system/apex/apexd/ |
D | apexd_private.cpp | 41 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()
|
D | flattened_apex_test.cpp | 46 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/ |
D | util_test.cpp | 142 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()
|
D | first_stage_init.cpp | 69 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()
|
D | util.h | 60 bool is_dir(const char* pathname);
|
D | parser.cpp | 185 if (is_dir(path.c_str())) { in ParseConfig()
|
D | util.cpp | 284 bool is_dir(const char* pathname) { in is_dir() function
|
D | first_stage_mount.cpp | 470 if (is_dir(entry.avb_keys.c_str())) { // fstab_keys might be a dir, e.g., /avb. in PreloadAvbKeys()
|
/system/update_engine/payload_generator/ |
D | ext2_filesystem.cc | 215 bool is_dir = (ext2fs_check_directory(filsys_, it_ino) == 0); in GetFiles() local 216 if (is_dir) in GetFiles()
|
/system/core/mkbootfs/ |
D | mkbootfs.c | 86 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/ |
D | service.rs | 113 if !dest.is_dir() { in copy_report_to_bb()
|
/system/extras/simpleperf/scripts/test/ |
D | do_test.py | 151 if not source_dir.is_dir(): 159 elif src_path.is_dir():
|
/system/security/keystore2/src/ |
D | legacy_blob.rs | 825 if !user_path.as_path().is_dir() { in is_empty_user()
|