Home | History | Annotate | Download | only in C

Lines Matching refs:cur

904 static UInt32 Backward(CLzmaEnc *p, UInt32 *backRes, UInt32 cur)

906 UInt32 posMem = p->opt[cur].posPrev;
907 UInt32 backMem = p->opt[cur].backPrev;
908 p->optimumEndIndex = cur;
911 if (p->opt[cur].prev1IsChar)
915 if (p->opt[cur].prev2)
918 p->opt[posMem - 1].posPrev = p->opt[cur].posPrev2;
919 p->opt[posMem - 1].backPrev = p->opt[cur].backPrev2;
930 p->opt[posPrev].posPrev = cur;
931 cur = posPrev;
934 while (cur != 0);
944 UInt32 numAvail, mainLen, numPairs, repMaxIndex, i, posState, lenEnd, len, cur;
1125 cur = 0;
1132 for (i = cur; i <= lenEnd; i++)
1133 printf("\nprice[%4X] = %d", position - cur + i, p->opt[i].price);
1147 cur++;
1148 if (cur == lenEnd)
1149 return Backward(p, backRes, cur);
1156 return Backward(p, backRes, cur);
1159 curOpt = &p->opt[cur];
1178 if (posPrev == cur - 1)
1245 nextOpt = &p->opt[cur + 1];
1250 nextOpt->posPrev = cur;
1258 if (matchByte == curByte && !(nextOpt->posPrev < cur && nextOpt->backPrev == 0))
1264 nextOpt->posPrev = cur;
1271 UInt32 temp = kNumOpts - 1 - cur;
1303 UInt32 offset = cur + 1 + lenTest2;
1311 opt->posPrev = cur + 1;
1332 while (lenEnd < cur + lenTest)
1339 COptimal *opt = &p->opt[cur + lenTest];
1343 opt->posPrev = cur;
1382 UInt32 offset = cur + lenTest + 1 + lenTest2;
1390 opt->posPrev = cur + lenTest + 1;
1394 opt->posPrev2 = cur;
1415 while (lenEnd < cur + newLen)
1433 opt = &p->opt[cur + lenTest];
1437 opt->posPrev = cur;
1469 UInt32 offset = cur + lenTest + 1 + lenTest2;
1479 opt->posPrev = cur + lenTest + 1;
1483 opt->posPrev2 = cur;