Lines Matching defs:endl
306 commentEOL((line+1) == comment.size()) << std::endl;
308 out << commentEnd(++commentNum == commentCount) << std::endl;
472 out << "#ifndef spirv_" << headerGuardSuffix() << std::endl
473 << "#define spirv_" << headerGuardSuffix() << std::endl
474 << std::endl;
486 out << "#endif" << std::endl;
517 out << "#ifdef SPV_ENABLE_UTILITY_CODE" << std::endl;
518 out << "#ifndef __cplusplus" << std::endl;
519 out << "#include <stdbool.h>" << std::endl;
520 out << "#endif" << std::endl;
521 out << "inline void " << pre() << "HasResultAndType(" << pre() << opName << " opcode, bool *hasResult, bool *hasResultType) {" << std::endl;
522 out << " *hasResult = *hasResultType = false;" << std::endl;
523 out << " switch (opcode) {" << std::endl;
524 out << " default: /* unknown opcode */ break;" << std::endl;
536 out << " case " << fmtEnumUse("Op", name) << ": *hasResult = " << (inst.hasResult() ? "true" : "false") << "; *hasResultType = " << (inst.hasType() ? "true" : "false") << "; break;" << std::endl;
539 out << " }" << std::endl;
540 out << "}" << std::endl;
541 out << "#endif /* SPV_ENABLE_UTILITY_CODE */" << std::endl << std::endl;
614 out << "#endif // #ifndef spirv_" << headerGuardSuffix() << std::endl;
651 out << "#endif // #ifndef spirv_" << headerGuardSuffix() << std::endl;
860 std::cerr << "Unable to open file: " << lang.second << std::endl;
885 std::cerr << "Unknown language." << std::endl;
891 out << *p << std::endl;