Lines Matching refs:j
85 for (size_t j = 0; j < n; j++) { in genProcTypes() local
86 if (!evars[j].isVoid()) { in genProcTypes()
87 …if (j != 0 || side == CLIENT_SIDE || (side == SERVER_SIDE && e->customDecoder())) fprintf(fp, ", "… in genProcTypes()
88 evars[j].printType(fp); in genProcTypes()
242 for (size_t j=0; j<e->vars().size(); j++) { in genEntryPoints() local
243 if (e->vars()[j].paramCheckExpression() != "") in genEntryPoints()
244 fprintf(fp, "\t%s\n", e->vars()[j].paramCheckExpression().c_str()); in genEntryPoints()
253 for (size_t j = 0; j < nvars; j++) { in genEntryPoints() local
254 if (!e->vars()[j].isVoid()) { in genEntryPoints()
256 j != 0 || shouldCallWithContext ? "," : "", in genEntryPoints()
257 e->vars()[j].name().c_str()); in genEntryPoints()
486 size_t j; in genEncoderImpl() local
492 for (j = 0; j < maxvars; j++) { in genEncoderImpl()
493 Var& var = evars[j]; in genEncoderImpl()
519 for (j = 0; j < maxvars; j++) { in genEncoderImpl()
521 npointers += writeVarEncodingSize(evars[j], fp); in genEncoderImpl()
538 for (j = nvars; j < maxvars; j++) { in genEncoderImpl()
539 if (evars[j].isLarge()) in genEncoderImpl()
544 if (nvars == 0 || j > nvars) { in genEncoderImpl()
547 if (nvars == 0 && j == maxvars) { in genEncoderImpl()
559 if (j > nvars) { in genEncoderImpl()
561 for (j = nvars; j < maxvars && !evars[j].isLarge(); j++) { in genEncoderImpl()
563 npointers += writeVarEncodingSize(evars[j], fp); in genEncoderImpl()
582 for (j = nvars; j < maxvars && !evars[j].isLarge(); j++) { in genEncoderImpl()
583 writeVarEncodingExpression(evars[j],fp); in genEncoderImpl()
587 if (j < maxvars) { in genEncoderImpl()
594 for ( ; j < maxvars && evars[j].isLarge(); j++) { in genEncoderImpl()
595 writeVarLargeEncodingExpression(evars[j], fp); in genEncoderImpl()
598 nvars = j; in genEncoderImpl()
605 for (size_t j = 0; j < nvars; j++) { in genEncoderImpl() local
606 npointers += getVarEncodingSizeExpression(evars[j],e,buff,sizeof(buff)); in genEncoderImpl()
619 for (size_t j = 0; j < nvars; j++) { in genEncoderImpl() local
620 writeVarEncodingExpression(evars[j], fp); in genEncoderImpl()
625 for (size_t j = 0; j < nvars; j++) { in genEncoderImpl() local
626 if (evars[j].isPointer()) { in genEncoderImpl()
627 Var::PointerDir dir = evars[j].pointerDir(); in genEncoderImpl()
629 const char* varname = evars[j].name().c_str(); in genEncoderImpl()
630 if (evars[j].nullAllowed()) { in genEncoderImpl()
833 for (size_t j = 0; j < evars.size(); j++) { in genDecoderImpl() local
834 Var *v = & evars[j]; in genDecoderImpl()
836 … if ((pass == PASS_FunctionCall) && (j != 0 || e->customDecoder())) fprintf(fp, ", "); in genDecoderImpl()
837 if (pass == PASS_DebugPrint && j != 0) fprintf(fp, ", "); in genDecoderImpl()
848 (uint) j, varoffset.c_str()); in genDecoderImpl()
850 (uint) j, varoffset.c_str()); in genDecoderImpl()
869 (uint) j, varoffset.c_str()); in genDecoderImpl()
871 … fprintf(fp, "\t\t\tsize_t totalTmpSize = tmpPtr%uSize;\n", (uint)j); in genDecoderImpl()
873 fprintf(fp, "\t\t\ttotalTmpSize += tmpPtr%uSize;\n", (uint)j); in genDecoderImpl()
875 tmpBufOffset[j] = totalTmpBuffOffset; in genDecoderImpl()
877 sprintf(tmpPtrName," + tmpPtr%uSize", (uint)j); in genDecoderImpl()
882 (uint)j, tmpBufOffset[j].c_str()); in genDecoderImpl()
886 (uint) j, v->type()->name().c_str(), (uint) j); in genDecoderImpl()
888 … fprintf(fp, "(%s)(tmpPtr%u)", v->type()->name().c_str(), (uint) j); in genDecoderImpl()
892 v->type()->name().c_str(), (uint) j, in genDecoderImpl()