• Home
  • Raw
  • Download

Lines Matching refs:j

104         for (size_t j = 0; j < n; j++) {  in genProcTypes()  local
105 if (!evars[j].isVoid()) { in genProcTypes()
106 …if (j != 0 || side == CLIENT_SIDE || (side == SERVER_SIDE && e->customDecoder())) fprintf(fp, ", "… in genProcTypes()
107 evars[j].printType(fp); in genProcTypes()
120 for (size_t j = 0; j < n; j++) { in genProcTypes() local
121 if (!evars[j].isVoid()) { in genProcTypes()
122 if (j != 0) fprintf(fp, ", "); in genProcTypes()
123 evars[j].printType(fp); in genProcTypes()
276 for (size_t j=0; j<e->vars().size(); j++) { in genEntryPoints() local
277 if (e->vars()[j].paramCheckExpression() != "") in genEntryPoints()
278 fprintf(fp, "\t%s\n", e->vars()[j].paramCheckExpression().c_str()); in genEntryPoints()
287 for (size_t j = 0; j < nvars; j++) { in genEntryPoints() local
288 if (!e->vars()[j].isVoid()) { in genEntryPoints()
290 j != 0 || shouldCallWithContext ? "," : "", in genEntryPoints()
291 e->vars()[j].name().c_str()); in genEntryPoints()
617 size_t j; in genEncoderImpl() local
623 for (j = 0; j < maxvars; j++) { in genEncoderImpl()
624 Var& var = evars[j]; in genEncoderImpl()
653 for (j = 0; j < maxvars; j++) { in genEncoderImpl()
655 npointers += writeVarEncodingSize(evars[j], true, fp); in genEncoderImpl()
678 for (j = nvars; j < maxvars; j++) { in genEncoderImpl()
679 if (evars[j].isLarge()) in genEncoderImpl()
684 if (nvars == 0 || j > nvars) { in genEncoderImpl()
687 if (nvars == 0 && j == maxvars) { in genEncoderImpl()
700 if (j > nvars) { in genEncoderImpl()
702 for (j = nvars; j < maxvars && !evars[j].isLarge(); j++) { in genEncoderImpl()
704 npointers += writeVarEncodingSize(evars[j], false, fp); in genEncoderImpl()
726 for (j = nvars; j < maxvars && !evars[j].isLarge(); j++) { in genEncoderImpl()
727 writeVarEncodingExpression(evars[j],fp); in genEncoderImpl()
732 if (j < maxvars) { in genEncoderImpl()
739 for ( ; j < maxvars && evars[j].isLarge(); j++) { in genEncoderImpl()
740 writeVarLargeEncodingExpression(evars[j], fp); in genEncoderImpl()
743 nvars = j; in genEncoderImpl()
752 for (size_t j = 0; j < nvars; j++) { in genEncoderImpl() local
754 evars[j], e, buff, sizeof(buff), in genEncoderImpl()
755 (evars[j].isDMA() ? EncodingSizeFlags::DmaPtrOnly in genEncoderImpl()
775 for (size_t j = 0; j < nvars; j++) { in genEncoderImpl() local
776 writeVarEncodingExpression(evars[j], fp); in genEncoderImpl()
793 for (size_t j = 0; j < nvars; j++) { in genEncoderImpl() local
794 if (evars[j].isPointer()) { in genEncoderImpl()
795 Var::PointerDir dir = evars[j].pointerDir(); in genEncoderImpl()
797 const char* varname = evars[j].name().c_str(); in genEncoderImpl()
809 if (evars[j].nullAllowed()) { in genEncoderImpl()
814 if (evars[j].guestUnpackExpression() != "") { in genEncoderImpl()
815 fprintf(fp, "%s%s;\n", indent, evars[j].guestUnpackExpression().c_str()); in genEncoderImpl()
817 if (evars[j].isDMA()) { in genEncoderImpl()
824 if (evars[j].isDMA()) { in genEncoderImpl()
830 if (evars[j].nullAllowed()) { in genEncoderImpl()
1136 for (size_t j = 0; j < evars.size(); j++) { in genDecoderImpl() local
1137 Var *v = & evars[j]; in genDecoderImpl()
1146 (j != 0 || e->customDecoder())) { in genDecoderImpl()
1149 if (pass == PASS_DebugPrint && j != 0) { in genDecoderImpl()
1287 tmpBufOffset[j] = totalTmpBuffOffset; in genDecoderImpl()
1296 tmpBufOffset[j].c_str(), in genDecoderImpl()
1356 tmpBufOffset[j].c_str()); in genDecoderImpl()
1412 for (size_t j = 0; j < evars.size(); j++) { in genDecoderImpl() local
1413 Var *v = & evars[j]; in genDecoderImpl()