Lines Matching refs:std

39     static bool getFlag(const std::string& key, T* value) {  in getFlag()
42 std::cerr << "Required " << key << " flag." << std::endl; in getFlag()
47 std::cerr << "Cannot parse " << envValue << "." << std::endl; in getFlag()
53 static std::string read(std::basic_istream<char>& is) { in read()
54 std::stringstream ss; in read()
59 std::basic_ostream<char>& out() const { in out()
60 return mOutFileRef == nullptr ? std::cout : *mOutFileRef; in out()
64 std::string error; in assembleHalManifest()
75 std::cerr << "FATAL ERROR: cannot generate a compatible matrix: " << error in assembleHalManifest()
76 << std::endl; in assembleHalManifest()
94 std::cerr << "Cannot parse check file as a compatibility matrix: " in assembleHalManifest()
95 << gCompatibilityMatrixConverter.lastError() << std::endl; in assembleHalManifest()
99 std::cerr << "Not compatible: " << error << std::endl; in assembleHalManifest()
108 std::string error; in assembleCompatibilityMatrix()
128 std::cerr << "Cannot parse check file as a HAL manifest: " in assembleCompatibilityMatrix()
129 << gHalManifestConverter.lastError() << std::endl; in assembleCompatibilityMatrix()
133 std::cerr << "Not compatible: " << error << std::endl; in assembleCompatibilityMatrix()
143 std::cerr << "Missing input file." << std::endl; in assemble()
147 std::string fileContent = read(mInFile); in assemble()
163 std::cerr << "Input file has unknown format." << std::endl in assemble()
165 << gHalManifestConverter.lastError() << std::endl in assemble()
167 << gCompatibilityMatrixConverter.lastError() << std::endl; in assemble()
172 mOutFileRef = std::make_unique<std::ofstream>(); in openOutFile()
190 std::ifstream mInFile;
191 std::unique_ptr<std::ofstream> mOutFileRef;
192 std::ifstream mCheckFile;
200 std::cerr << "assemble_vintf: Checks if a given manifest / matrix file is valid and \n" in help()
228 std::string inFilePath; in main()
237 std::cerr << "Failed to open " << optarg << std::endl; in main()
244 std::cerr << "Failed to open " << optarg << std::endl; in main()
256 std::cerr << "Failed to open " << optarg << std::endl; in main()
260 std::cerr << "WARNING: no compatibility check is done on " in main()
261 << inFilePath << std::endl; in main()