Lines Matching refs:command
71 def prefixedParams (command):
72 if len(command.params) > 0:
73 return ", ".join(eglwPrefix(param.declaration) for param in command.params)
77 def commandLogWrapperMemberDecl (command):
78 return "%s\t%s\t(%s);" % (eglwPrefix(command.type), command.name, prefixedParams(command))
90 def commandLogWrapperMemberDef (command):
93 logSpec = CALL_LOG_SPECS[command.name]
98 src += "%s CallLogWrapper::%s (%s)\n{\n" % (eglwPrefix(command.type), command.name, ", ".join(eglwPrefix(p.declaration) for p in command.params))
101 callPrintItems = ["\"%s(\"" % command.name]
102 for paramNdx, param in enumerate(command.params):
116 callStr = "m_egl.%s(%s)" % (getFunctionMemberName(command.name), ", ".join([p.name for p in command.params]))
118 isVoid = command.type == 'void'
122 src += "\t%s returnValue = %s;\n" % (eglwPrefix(command.type), callStr)
128 for paramNdx, param in enumerate(command.params):
136 returnPrint = getVarDefaultPrint(command.type, "returnValue")