Searched refs:ofs (Results 1 – 5 of 5) sorted by relevance
108 auto& ofs = std::cerr; in usage() local110 ofs << "Usage: " << prog << " [OPTIONS] file1 file2..." << std::endl; in usage()112 ofs << std::setw(24) << "--out= "; in usage()113 ofs << "Root directory for generated output (relative to cwd)." << std::endl; in usage()115 ofs << std::setw(24) << "--include= "; in usage()116 ofs << "Generate namespaces relative to this path per file." << std::endl; in usage()118 ofs << std::setw(24) << "--root_namespace= "; in usage()119 ofs << "Change root namespace (default = bluetooth)." << std::endl; in usage()121 ofs << std::setw(24) << "--source_root= "; in usage()122 ofs << "Root path to the source directory. Find input files relative to this." << std::endl; in usage()[all …]
88 const uint32_t ofs = arc4random_uniform(getMappings().size()); in benchmark() local89 const auto& mapping = getMappings()[ofs]; in benchmark()
345 std::ofstream ofs; in UploadInner() local346 ofs.open(outfile, std::ofstream::out | std::ofstream::binary); in UploadInner()347 if (ofs.fail()) { in UploadInner()352 ofs.write(data, size); in UploadInner()353 if (ofs.fail() || ofs.bad()) { in UploadInner()360 ofs.close(); in UploadInner()
880 std::ofstream ofs; in PerformCompilation() local884 ofs.open(output_file_name); in PerformCompilation()886 if (!ofs) { in PerformCompilation()969 ofs << event << "\n"; // TODO: write in proto format instead. in PerformCompilation()
493 std::ofstream ofs(path); in CreateFile() local494 ASSERT_TRUE(ofs.good()); in CreateFile()495 ofs.close(); in CreateFile()