Lines Matching defs:path
423 char *path = realpath(source, NULL);
424 if (path == NULL) {
425 INIT_ERROR_CHECK(errno == ENOENT, return NULL, "Failed to resolve %s real path err=%d", source, errno);
427 return path;
479 char *path = strndup(fileName, strrchr(fileName, '/') - fileName);
480 if (path == NULL) {
483 if (access(path, F_OK) == 0) {
484 free(path);
487 MakeDirRecursive(path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
488 free(path);