Lines Matching defs:out

441         Formatter &out,
444 emitDumpWithMethod(out, streamName, "::android::hardware::toString", name);
448 Formatter &out,
452 out << streamName
461 Formatter &out,
464 out << streamName << ".append(" << name << ");\n";
491 Formatter &out,
496 out,
505 Formatter &out,
507 out << getJavaType()
524 void Type::handleError(Formatter &out, ErrorMode mode) const {
528 out << "/* _hidl_err ignored! */\n\n";
534 out << "if (_hidl_err != ::android::OK) { goto _hidl_error; }\n\n";
540 out << "if (_hidl_err != ::android::OK) { break; }\n\n";
546 out << "if (_hidl_err != ::android::OK) { return _hidl_err; }\n\n";
553 Formatter &out,
575 out << "_hidl_err = ";
578 out << funcNamespace << "::";
581 out << (isReader ? "readEmbeddedFromParcel(\n" : "writeEmbeddedToParcel(\n");
583 out.indent();
584 out.indent();
587 out << "const_cast<"
593 out << nameDerefed
597 out << (isReader ? parcelObjDeref : parcelObjPointer)
604 out << ", &"
608 out << ");\n\n";
610 out.unindent();
611 out.unindent();
613 handleError(out, mode);
669 Formatter &out,
675 out << parcelObj
682 out << extra;
684 out << (extra.empty() ? "" : (extra + ", "));
685 out << argName;
688 out << ");\n";
693 void Type::emitVtsAttributeType(Formatter& out) const {
694 emitVtsTypeDeclarations(out);
748 void Type::emitExportedHeader(Formatter& /* out */, bool /* forJava */) const {}
792 void TemplatedType::emitVtsTypeDeclarations(Formatter& out) const {
793 out << "type: " << getVtsType() << "\n";
794 out << getVtsValueName() << ": {\n";
795 out.indent();
796 mElementType->emitVtsTypeDeclarations(out);
797 out.unindent();
798 out << "}\n";
801 void TemplatedType::emitVtsAttributeType(Formatter& out) const {
802 out << "type: " << getVtsType() << "\n";
803 out << getVtsValueName() << ": {\n";
804 out.indent();
805 mElementType->emitVtsAttributeType(out);
806 out.unindent();
807 out << "}\n";