Home
last modified time | relevance | path

Searched refs:retTypeName (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/
Dfrontend.py53 retTypeName = api.retType.typeName
64 if retTypeName == VALIDATE_RESULT_TYPE:
66 elif retTypeName != "void":
67 codegen.stmt("return (%s)0" % retTypeName)
77 if retTypeName != "void":
78 retLhs = retTypeName + " res"
84 if retTypeName != "void":
Dfunctable.py322 retTypeName = api.getRetTypeExpr()
325 …(retVar, paramNameToObjectName(createParam.paramName), SUCCESS_VAL[retTypeName][0], "VK_ERROR_OUT_…
484 retTypeName = api.getRetTypeExpr()
485 if retTypeName != "void":
495 ["vkEnc"] + SUCCESS_VAL.get(retTypeName, []) + \
502 retTypeName = api.getRetTypeExpr()
516 if retTypeName != "void":
522 retTypeName = api.getRetTypeExpr()
525 cgen.stmt("%s %s = (%s)0" % (retTypeName, retVar, retTypeName))
541 cgen.beginIf("%s == %s" % (SUCCESS_VAL[retTypeName][0], retVar))
Ddecoder.py402 retTypeName = api.getRetTypeExpr()
403 if retTypeName != "void":
410 retTypeName = api.getRetTypeExpr()
413 if retTypeName != "void" or len(paramsToWrite) != 0:
470 retTypeName = api.getRetTypeExpr()
471 if retTypeName != "void":
473 additionalParams.append(makeVulkanTypeSimple(False, retTypeName, 0, retVar))
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/common/
Dcodegen.py622 retTypeName = api.getRetTypeExpr()
625 if retTypeName != "void":
627 self.stmt("%s %s = (%s)0" % (retTypeName, retVar, retTypeName))
637 if retTypeName == "VkResult" and checkForDeviceLost:
640 if retTypeName == "VkResult" and checkForOutOfMemory:
650 return (retTypeName, retVar)
/hardware/google/gfxstream/codegen/generic-apigen/
DEntryPoint.cpp64 std::string retTypeName; in parse() local
65 if (!parseTypeDeclaration(field, &retTypeName, &error)) { in parse()
74 const VarType *theType = TypeFactory::instance()->getVarTypeByName(retTypeName); in parse()