Home
last modified time | relevance | path

Searched defs:dir (Results 1 – 25 of 60) sorted by relevance

123

/system/core/adb/
Dremount_service.cpp39 static std::string find_proc_mount(const char* dir) { in find_proc_mount()
55 static std::string find_fstab_mount(const char* dir) { in find_fstab_mount()
69 static std::string find_mount(const char* dir) { in find_mount()
89 static bool remount_partition(int fd, const char* dir) { in remount_partition()
/system/core/toolbox/upstream-netbsd/bin/dd/
Ddd.h63 #define ddop_open(dir, a1, a2, ...) dir.ops->op_open(a1, a2, __VA_ARGS__) argument
64 #define ddop_close(dir, a1) dir.ops->op_close(a1) argument
65 #define ddop_fcntl(dir, a1, a2, ...) dir.ops->op_fcntl(a1, a2, __VA_ARGS__) argument
66 #define ddop_ioctl(dir, a1, a2, ...) dir.ops->op_ioctl(a1, a2, __VA_ARGS__) argument
67 #define ddop_fsync(dir, a1) dir.ops->op_fsync(a1) argument
68 #define ddop_ftruncate(dir, a1, a2) dir.ops->op_ftruncate(a1, a2) argument
69 #define ddop_lseek(dir, a1, a2, a3) dir.ops->op_lseek(a1, a2, a3) argument
70 #define ddop_read(dir, a1, a2, a3) dir.ops->op_read(a1, a2, a3) argument
71 #define ddop_write(dir, a1, a2, a3) dir.ops->op_write(a1, a2, a3) argument
/system/vold/
DKeyStorage.cpp246 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const std::string& key) { in storeKey()
282 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, std::string* key) { in retrieveKey()
308 static bool deleteKey(const std::string& dir) { in deleteKey()
317 static bool secdiscardSecdiscardable(const std::string& dir) { in secdiscardSecdiscardable()
326 static bool recursiveDeleteKey(const std::string& dir) { in recursiveDeleteKey()
334 bool destroyKey(const std::string& dir) { in destroyKey()
DProcess.cpp89 DIR *dir = opendir(path); in checkFileDescriptorSymLinks() local
182 DIR* dir; in killProcessesWithOpenFiles() local
DMoveTask.cpp64 DIR* dir = opendir(path.c_str()); in pushBackContents() local
/system/extras/ext4_utils/
Dext4_crypt_init_extensions.cpp60 int e4crypt_create_device_key(const char* dir, in e4crypt_create_device_key()
108 int e4crypt_set_directory_policy(const char* dir) in e4crypt_set_directory_policy()
/system/core/libcutils/
Dfs_config.c163 static int fs_config_open(int dir, const char *target_out_path) in fs_config_open()
188 static bool fs_config_cmp(bool dir, const char *prefix, size_t len, in fs_config_cmp()
207 void fs_config(const char *path, int dir, const char *target_out_path, in fs_config()
Dcanned_fs_config.c85 void canned_fs_config(const char* path, int dir, const char* target_out_path, in canned_fs_config()
/system/extras/tests/storage/
Dopentest.c31 char *dir; in main() local
/system/extras/iotop/
Dtasklist.cpp32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(name.c_str()), closedir); in ScanPidsInDir() local
/system/weaved/buffet/
Dmanager.cc82 base::FilePath dir{options.definitions.Append("traits")}; in LoadTraitDefinitions() local
100 base::FilePath dir{root.Append("commands")}; in LoadCommandDefinitions() local
120 base::FilePath dir{options.definitions.Append("states")}; in LoadStateDefinitions() local
137 base::FilePath dir{options.definitions.Append("states")}; in LoadStateDefaults() local
/system/connectivity/shill/
Dcrypto_provider_unittest.cc55 FilePath CryptoProviderTest::InitKeyMatterFile(const FilePath& dir) { in InitKeyMatterFile()
/system/extras/libpagemap/
Dpm_kernel.c64 struct dirent *dir; in pm_kernel_pids() local
/system/core/bootstat/
Dboot_event_record_store.cpp140 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); in GetAllBootEvents() local
Dboot_event_record_store_test.cpp79 ScopedDIR dir(opendir(path.c_str()), closedir); in DeleteDirectory() local
/system/core/libprocessgroup/
Dprocessgroup.cpp207 struct dirent *dir; in removeUidProcessGroups() local
236 struct dirent *dir; in removeAllProcessGroups() local
/system/core/debuggerd/
Dgetevent.cpp146 DIR* dir; in scan_dir() local
/system/netd/server/
DInterfaceController.cpp64 DIR* dir = opendir(dirname); in setOnAllInterfaces() local
/system/core/toolbox/
Dgetevent.c283 DIR *dir; in print_hid_descriptor() local
478 DIR *dir; in scan_dir() local
/system/security/keystore/
Duser_state.cpp205 DIR* dir = opendir(getUserDirName()); in reset() local
Dkeystore.cpp181 DIR* dir = opendir(userState->getUserDirName()); in isEmpty() local
353 DIR* dir = opendir(userState->getUserDirName()); in list() local
707 DIR* dir = opendir("."); in upgradeKeystore() local
/system/core/metricsd/
Dmetrics_library.cc154 base::FilePath dir = base::FilePath(metrics::kSharedMetricsDirectory); in Init() local
/system/extras/simpleperf/
Dutils.cpp110 DIR* dir = opendir(dirpath.c_str()); in GetEntriesInDir() local
/system/extras/puncture_fs/
Dpuncture_fs.c121 static bool create_unique_dir(char *dir, const char * const root_path) { in create_unique_dir()
/system/core/init/
Dbuiltins.cpp120 std::unique_ptr<DIR, int(*)(DIR*)> dir(opendir(backlightDir), closedir); in turnOffBacklight() local
487 for (const auto& dir : init_directories) { in import_late() local
911 static int do_installkeys_ensure_dir_exists(const char* dir) { in do_installkeys_ensure_dir_exists()

123