Home | History | Annotate | Download | only in common

Lines Matching refs:targetCapacity

395     int32_t targetCapacity;
407 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
422 if(c!=0 && targetCapacity>0) {
428 /* use only one loop counter variable, targetCapacity, not also source */
430 if(targetCapacity>diff) {
431 targetCapacity=diff;
433 while(targetCapacity>0 && (c=*source)<0x3000) {
441 --targetCapacity;
449 --targetCapacity;
456 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target);
461 if(targetCapacity>0) {
476 --targetCapacity;
513 --targetCapacity;
518 } else if(DIFF_IS_DOUBLE(diff) && 2<=targetCapacity) {
536 targetCapacity-=2;
545 /* from the first if in the loop we know that targetCapacity>0 */
546 if(length<=targetCapacity) {
565 targetCapacity-=length;
576 /* we know that 1<=targetCapacity<length<=4 */
577 length-=targetCapacity;
594 diff>>=8*length; /* length was reduced by targetCapacity */
595 switch(targetCapacity) {
612 targetCapacity=0;
647 int32_t targetCapacity;
656 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
666 if(c!=0 && targetCapacity>0) {
672 /* use only one loop counter variable, targetCapacity, not also source */
674 if(targetCapacity>diff) {
675 targetCapacity=diff;
677 while(targetCapacity>0 && (c=*source)<0x3000) {
693 --targetCapacity;
696 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target);
700 if(targetCapacity>0) {
713 --targetCapacity;
746 --targetCapacity;
750 } else if(DIFF_IS_DOUBLE(diff) && 2<=targetCapacity) {
766 targetCapacity-=2;
774 /* from the first if in the loop we know that targetCapacity>0 */
775 if(length<=targetCapacity) {
790 targetCapacity-=length;
800 /* we know that 1<=targetCapacity<length<=4 */
801 length-=targetCapacity;
818 diff>>=8*length; /* length was reduced by targetCapacity */
819 switch(targetCapacity) {
833 targetCapacity=0;