Lines Matching refs:fnOut
3458 TInfoSinkBase fnOut; in addStructEqualityFunction() local
3460 fnOut << "bool " << function->functionName << "(" << structNameString << " a, " in addStructEqualityFunction()
3475 fnOut << " && "; in addStructEqualityFunction()
3478 fnOut << "("; in addStructEqualityFunction()
3479 outputEqual(PreVisit, *fieldType, EOpEqual, fnOut); in addStructEqualityFunction()
3480 fnOut << fieldNameA; in addStructEqualityFunction()
3481 outputEqual(InVisit, *fieldType, EOpEqual, fnOut); in addStructEqualityFunction()
3482 fnOut << fieldNameB; in addStructEqualityFunction()
3483 outputEqual(PostVisit, *fieldType, EOpEqual, fnOut); in addStructEqualityFunction()
3484 fnOut << ")"; in addStructEqualityFunction()
3487 fnOut << ";\n" in addStructEqualityFunction()
3490 function->functionDefinition = fnOut.c_str(); in addStructEqualityFunction()
3516 TInfoSinkBase fnOut; in addArrayEqualityFunction() local
3519 fnOut << "bool " << function->functionName << "(" << typeName << " a" << ArrayString(type) in addArrayEqualityFunction()
3528 outputEqual(PreVisit, elementType, EOpNotEqual, fnOut); in addArrayEqualityFunction()
3529 fnOut << "a[i]"; in addArrayEqualityFunction()
3530 outputEqual(InVisit, elementType, EOpNotEqual, fnOut); in addArrayEqualityFunction()
3531 fnOut << "b[i]"; in addArrayEqualityFunction()
3532 outputEqual(PostVisit, elementType, EOpNotEqual, fnOut); in addArrayEqualityFunction()
3534 fnOut << ") { return false; }\n" in addArrayEqualityFunction()
3539 function->functionDefinition = fnOut.c_str(); in addArrayEqualityFunction()
3565 TInfoSinkBase fnOut; in addArrayAssignmentFunction() local
3568 fnOut << "void " << function.functionName << "(out " << typeName << " a" << ArrayString(type) in addArrayAssignmentFunction()
3577 outputAssign(PreVisit, elementType, fnOut); in addArrayAssignmentFunction()
3578 fnOut << "a[i]"; in addArrayAssignmentFunction()
3579 outputAssign(InVisit, elementType, fnOut); in addArrayAssignmentFunction()
3580 fnOut << "b[i]"; in addArrayAssignmentFunction()
3581 outputAssign(PostVisit, elementType, fnOut); in addArrayAssignmentFunction()
3583 fnOut << ";\n" in addArrayAssignmentFunction()
3587 function.functionDefinition = fnOut.c_str(); in addArrayAssignmentFunction()
3612 TInfoSinkBase fnOut; in addArrayConstructIntoFunction() local
3615 fnOut << "void " << function.functionName << "(out " << typeName << " a" << ArrayString(type); in addArrayConstructIntoFunction()
3618 fnOut << ", " << typeName << " b" << i << ArrayString(elementType); in addArrayConstructIntoFunction()
3620 fnOut << ")\n" in addArrayConstructIntoFunction()
3625 fnOut << " "; in addArrayConstructIntoFunction()
3626 outputAssign(PreVisit, elementType, fnOut); in addArrayConstructIntoFunction()
3627 fnOut << "a[" << i << "]"; in addArrayConstructIntoFunction()
3628 outputAssign(InVisit, elementType, fnOut); in addArrayConstructIntoFunction()
3629 fnOut << "b" << i; in addArrayConstructIntoFunction()
3630 outputAssign(PostVisit, elementType, fnOut); in addArrayConstructIntoFunction()
3631 fnOut << ";\n"; in addArrayConstructIntoFunction()
3633 fnOut << "}\n"; in addArrayConstructIntoFunction()
3635 function.functionDefinition = fnOut.c_str(); in addArrayConstructIntoFunction()