Lines Matching defs:filename
95 bool ObbFile::readFrom(const char* filename)
100 fd = ::open(filename, O_RDONLY);
102 LOGW("couldn't open file %s: %s", filename, strerror(errno));
109 LOGW("failed to read from %s (fd=%d)\n", filename, fd);
235 bool ObbFile::writeTo(const char* filename)
240 fd = ::open(filename, O_WRONLY);
249 LOGW("failed to write to %s: %s\n", filename, strerror(errno));
320 bool ObbFile::removeFrom(const char* filename)
325 fd = ::open(filename, O_RDWR);
334 LOGW("failed to remove signature from %s: %s\n", filename, strerror(errno));