Lines Matching defs:open
65 #define open open64
508 so we can open it twice as read/write and read-only. */
1263 newfd = open(fdpath, O_RDONLY);
1377 fd = open(n.fd.c_str(), O_RDONLY);
1391 fd = open(n.fd.c_str(), O_RDONLY);
1409 int probe(const string& a, const string& b) // just a cache residency check - don't modify LRU state, don't open
1657 int fd = open(b_source0.c_str(), O_RDONLY);
1659 throw libc_exception (errno, string("open ") + b_source0);
1884 obatched(clog) << "cannot open archive from pipe " << b_source0 << endl;
1885 throw archive_exception(a, "cannot open archive from pipe");
3062 int fd = open (rps.c_str(), O_RDONLY);
3068 throw libc_exception(errno, string("open ") + rps);
3076 // EPERM error from open(2).
3250 obatched(clog) << "cannot open archive from pipe " << rps << endl;
3251 throw archive_exception(a, "cannot open archive from pipe");
4160 "cannot open %s, deleted database: %s", db_path.c_str(), sqlite3_errmsg(db));
4165 "cannot open %s, consider deleting database: %s", db_path.c_str(), sqlite3_errmsg(db));
4169 // open the readonly query variant
4180 "cannot open %s, consider deleting database: %s", db_path.c_str(), sqlite3_errmsg(dbq));