Lines Matching refs:paramName
305 …for (paramName, paramType, paramMaxVecSize, paramConvertToType, paramValidValues, paramValueConver…
318 passthroughDeclarationString += ", %s %s" % (paramType, paramName)
319 passthroughCallString += ", %s" % paramName
323 variables.append(" %s converted_%s;" % (paramConvertToType, paramName))
328 …sionCodeOutgoing.append(" converted_%s = (%s) %s;" % (paramName, paramConvertToType, paramName))
332 if (" int convert_%s_value = 1;" % paramName) not in variables:
333 variables.append(" int convert_%s_value = 1;" % paramName)
336 conversionCodeOutgoing.append(" if (convert_%s_value) {" % paramName)
337 …nversionCodeOutgoing.append(" converted_%s = %s;" % (paramName, ConvertValue(paramName, par…
339 …CodeOutgoing.append(" converted_%s = (%s) %s;" % (paramName, paramConvertToType, paramName))
342 …conversionCodeOutgoing.append(" converted_%s = %s;" % (paramName, ConvertValue(paramName, param…
351 …ghDeclarationString += ", %s %s %s" % (paramConvertToType, " ".join(paramTypeModifiers), paramName)
352 passthroughCallString += ", converted_%s" % paramName
364 variables.append(" unsigned int n_%s = %d;" % (paramName, paramMaxVecSize))
367 … variables.append(" %s converted_%s[%d];" % (paramConvertToType, paramName, paramMaxVecSize))
373 conversionCodeOutgoing.append(" for (i = 0; i < n_%s; i++) {" % paramName)
374 …tgoing.append(" converted_%s[i] = (%s) %s[i];" % (paramName, paramConvertToType, paramName))
379 if (" int convert_%s_value = 1;" % paramName) not in variables:
380 variables.append(" int convert_%s_value = 1;" % paramName)
382 conversionCodeOutgoing.append(" if (convert_%s_value) {" % paramName)
383 conversionCodeOutgoing.append(" for (i = 0; i < n_%s; i++) {" % paramName)
384 …Outgoing.append(" converted_%s[i] = %s;" % (paramName, ConvertValue("%s[i]" % paramName…
387 conversionCodeOutgoing.append(" for (i = 0; i < n_%s; i++) {" % paramName)
388 …ng.append(" converted_%s[i] = (%s) %s[i];" % (paramName, paramConvertToType, paramName))
392 conversionCodeOutgoing.append(" for (i = 0; i < n_%s; i++) {" % paramName)
393 …CodeOutgoing.append(" converted_%s[i] = %s;" % (paramName, ConvertValue("%s[i]" % paramName…
408 conversionCodeIncoming.append(" for (i = 0; i < n_%s; i++) {" % paramName)
409 …coming.append(" %s[i] = (%s) converted_%s[i];" % (paramName, paramConvertToType, paramName))
414 if (" int convert_%s_value = 1;" % paramName) not in variables:
415 variables.append(" int convert_%s_value = 1;" % paramName)
418 conversionCodeIncoming.append(" if (convert_%s_value) {" % paramName)
419 conversionCodeIncoming.append(" for (i = 0; i < n_%s; i++) {" % paramName)
420 …nCodeIncoming.append(" %s[i] = %s;" % (paramName, ConvertValue("converted_%s[i]" % para…
423 conversionCodeIncoming.append(" for (i = 0; i < n_%s; i++) {" % paramName)
424 …ncoming.append(" %s[i] = (%s) converted_%s[i];" % (paramName, paramBaseType, paramName))
428 conversionCodeIncoming.append(" for (i = 0; i < n_%s; i++) {" % paramName)
429 …rsionCodeIncoming.append(" %s[i] = %s;" % (paramName, ConvertValue("converted_%s[i]" % para…
434 …ghDeclarationString += ", %s %s %s" % (paramConvertToType, " ".join(paramTypeModifiers), paramName)
435 passthroughCallString += ", converted_%s" % paramName
453 switchCode.append(" switch(%s) {" % paramName)
532 …_current_context(), %s, "gl%s(%s=0x%s)", %s);' % (errorCode, funcName, paramName, "%x", paramName))
561 … _mesa_error(_mesa_get_current_context(), %s, "gl%s(%s)");' % (errorCode, funcName, paramName))
563 …nt_context(), %s, "gl%s(%s=%s)", %s);' % (errorCode, funcName, paramName, formatString, paramName))