Home
last modified time | relevance | path

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

/system/core/libcutils/
Dfs.cpp43 int allow_fixup, int prepare_as_dir) { in fs_prepare_path_impl() argument
62 type_ok = prepare_as_dir ? S_ISDIR(sb.st_mode) : S_ISREG(sb.st_mode); in fs_prepare_path_impl()
64 ALOGE("Not a %s: %s", (prepare_as_dir ? "directory" : "regular file"), path); in fs_prepare_path_impl()
87 create_result = prepare_as_dir in fs_prepare_path_impl()
93 (prepare_as_dir ? "mkdir" : "open"), path, strerror(errno)); in fs_prepare_path_impl()
96 } else if (!prepare_as_dir) { in fs_prepare_path_impl()