Lines Matching full:path
81 int ret = WaitingToDo(WAITING_DATA_MS, filePath, [](const string &path) {
83 if (!access(path.c_str(), W_OK)) {
84 fd = open(path.c_str(), O_WRONLY | O_CLOEXEC);
110 int ret = WaitingToDo(WAITING_DATA_MS, HILOG_FILE_DIR, [](const string &path) {
112 if (stat(path.c_str(), &s) != -1) {
118 const char *path = HILOG_FILE_DIR"hilogd_debug.txt";
121 if (stat(path, &st) == -1) {
124 int fd = open(path, mask, S_IWUSR | S_IWGRP);
173 int ret = WaitingToDo(WAITING_DATA_MS, HILOG_FILE_DIR, [](const string &path) {
175 if (stat(path.c_str(), &s) != -1) {