Home
last modified time | relevance | path

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

/system/core/libcutils/
Dfs.c41 int allow_fixup, int prepare_as_dir) { in fs_prepare_path_impl() argument
55 int type_ok = prepare_as_dir ? S_ISDIR(sb.st_mode) : S_ISREG(sb.st_mode); in fs_prepare_path_impl()
57 ALOGE("Not a %s: %s", (prepare_as_dir ? "directory" : "regular file"), path); in fs_prepare_path_impl()
80 create_result = prepare_as_dir in fs_prepare_path_impl()
86 (prepare_as_dir ? "mkdir" : "open"), path, strerror(errno)); in fs_prepare_path_impl()
89 } else if (!prepare_as_dir) { in fs_prepare_path_impl()