Lines Matching full:c_str
294 int fd = TEMP_FAILURE_RETRY(open(fn.c_str(), flags | O_LARGEFILE));
297 FATAL("failed to open file '%s': %s\n", fn.c_str(), strerror(errno));
319 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(),
323 FATAL("failed to open file '%s: %s'\n", filename.c_str(),
390 ctx->fec_filename = filename.c_str();
404 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(), O_RDONLY));
407 FATAL("failed to open file '%s': %s\n", filename.c_str(),
412 FATAL("failed to seek to header in '%s': %s\n", filename.c_str(),
423 filename.c_str(), strerror(errno));
427 FATAL("invalid magic in '%s': %08x\n", filename.c_str(), p->magic);
431 FATAL("unsupported version in '%s': %u\n", filename.c_str(),
436 FATAL("unexpected header size in '%s': %u\n", filename.c_str(),
441 FATAL("invalid roots in '%s': %u\n", filename.c_str(), p->roots);
445 FATAL("invalid length in '%s': %u\n", filename.c_str(), p->fec_size);
458 FATAL("inconsistent header in '%s'\n", filename.c_str());
462 FATAL("failed to rewind '%s': %s", filename.c_str(), strerror(errno));
467 filename.c_str(), strerror(errno));