Lines Matching defs:path
28 void OpenFile::set_path(OwningPtr<char> &&path, std::size_t bytes) {
29 path_ = std::move(path);
51 char path[]{"/tmp/Fortran-Scratch-XXXXXX"};
52 int fd{::mkstemp(path)};
58 ::unlink(path);
441 bool IsExtant(const char *path) { return ::access(path, F_OK) == 0; }
442 bool MayRead(const char *path) { return ::access(path, R_OK) == 0; }
443 bool MayWrite(const char *path) { return ::access(path, W_OK) == 0; }
444 bool MayReadAndWrite(const char *path) {
445 return ::access(path, R_OK | W_OK) == 0;
448 std::int64_t SizeInBytes(const char *path) {
451 if (::stat(path, &buf) == 0) {
463 RT_API_ATTRS bool IsExtant(const char *path) {
466 RT_API_ATTRS bool MayRead(const char *path) {
469 RT_API_ATTRS bool MayWrite(const char *path) {
472 RT_API_ATTRS bool MayReadAndWrite(const char *path) {
475 RT_API_ATTRS std::int64_t SizeInBytes(const char *path) {