Home | History | Annotate | Download | only in emugen

Lines Matching refs:varname

365         const char* varname = var.name().c_str();
368 e->name().c_str(), varname);
371 snprintf(buff, bufflen, "((%s != NULL) ? %s : 0)", varname, lenExpr);
395 const char* varname = var.name().c_str();
399 fprintf(fp, "\t*(unsigned int *)(ptr) = __size_%s; ptr += 4;\n", varname);
404 fprintf(fp, "\tif (%s != NULL) ", varname);
413 varname, varname);
416 fprintf(fp, "ptr += __size_%s;\n", varname);
422 var.type()->name().c_str(), varname,
431 const char* varname = var.name().c_str();
433 fprintf(fp, "\tstream->writeFully(&__size_%s,4);\n", varname);
435 fprintf(fp, "\tif (%s != NULL) ", varname);
442 fprintf(fp, "stream->writeFully(%s, __size_%s)", varname, varname);
497 const char* varname = var.name().c_str();
498 fprintf(fp, "\tconst unsigned int __size_%s = ", varname);
628 const char* varname = evars[j].name().c_str();
630 fprintf(fp, "\tif (%s != NULL) ",varname);
635 varname, varname);