Lines Matching refs:append

63             typeModifiers.append(t)
323 variables.append(" %s converted_%s;" % (paramConvertToType, paramName))
328 …conversionCodeOutgoing.append(" converted_%s = (%s) %s;" % (paramName, paramConvertToType, para…
333 variables.append(" int convert_%s_value = 1;" % paramName)
336 conversionCodeOutgoing.append(" if (convert_%s_value) {" % paramName)
337 …conversionCodeOutgoing.append(" converted_%s = %s;" % (paramName, ConvertValue(paramName, p…
338 conversionCodeOutgoing.append(" } else {")
339 …conversionCodeOutgoing.append(" converted_%s = (%s) %s;" % (paramName, paramConvertToType, …
340 conversionCodeOutgoing.append(" }")
342 …conversionCodeOutgoing.append(" converted_%s = %s;" % (paramName, ConvertValue(paramName, param…
357 variables.append(" register unsigned int i;")
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 …conversionCodeOutgoing.append(" converted_%s[i] = (%s) %s[i];" % (paramName, paramConvertTo…
375 conversionCodeOutgoing.append(" }")
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 …conversionCodeOutgoing.append(" converted_%s[i] = %s;" % (paramName, ConvertValue("%s[i…
385 conversionCodeOutgoing.append(" }")
386 conversionCodeOutgoing.append(" } else {")
387 conversionCodeOutgoing.append(" for (i = 0; i < n_%s; i++) {" % paramName)
388 …conversionCodeOutgoing.append(" converted_%s[i] = (%s) %s[i];" % (paramName, paramConve…
389 conversionCodeOutgoing.append(" }")
390 conversionCodeOutgoing.append(" }")
392 conversionCodeOutgoing.append(" for (i = 0; i < n_%s; i++) {" % paramName)
393 …conversionCodeOutgoing.append(" converted_%s[i] = %s;" % (paramName, ConvertValue("%s[i]" %…
395 conversionCodeOutgoing.append(" }")
408 conversionCodeIncoming.append(" for (i = 0; i < n_%s; i++) {" % paramName)
409 …conversionCodeIncoming.append(" %s[i] = (%s) converted_%s[i];" % (paramName, paramConvertTo…
410 conversionCodeIncoming.append(" }")
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 …conversionCodeIncoming.append(" %s[i] = %s;" % (paramName, ConvertValue("converted_%s[i…
421 conversionCodeIncoming.append(" }")
422 conversionCodeIncoming.append(" } else {")
423 conversionCodeIncoming.append(" for (i = 0; i < n_%s; i++) {" % paramName)
424 …conversionCodeIncoming.append(" %s[i] = (%s) converted_%s[i];" % (paramName, paramBaseT…
425 conversionCodeIncoming.append(" }")
426 conversionCodeIncoming.append(" }")
428 conversionCodeIncoming.append(" for (i = 0; i < n_%s; i++) {" % paramName)
429 …conversionCodeIncoming.append(" %s[i] = %s;" % (paramName, ConvertValue("converted_%s[i]" %…
430 conversionCodeIncoming.append(" }")
453 switchCode.append(" switch(%s) {" % paramName)
493 … switchCode.append(" case %s: /* size %s */" % (paramValue, dependentVecSize))
495 switchCode.append(" case %s:" % paramValue)
529 switchCode.append(" if (%s) {" % conditional[4:])
532 …switchCode.append(' _mesa_error(_mesa_get_current_context(), %s, "gl%s(%s=0x%s)", %…
533 switchCode.append(" %s;" % errorReturn)
534 switchCode.append(" }")
541 switchCode.append(" convert_%s_value = 0;" % dependentParamName)
547 … switchCode.append(" n_%s = %s;" % (dependentParamName, dependentVecSize))
551 switchCode.append(" break;")
556 switchCode.append(" default:")
561 …switchCode.append(' _mesa_error(_mesa_get_current_context(), %s, "gl%s(%s)");' % (error…
563 …switchCode.append(' _mesa_error(_mesa_get_current_context(), %s, "gl%s(%s=%s)", %s);' %…
564 switchCode.append(" %s;" % errorReturn)
567 switchCode.append(" }")