Lines Matching defs:targetCapacity
395 int32_t targetCapacity;
409 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
424 if(c!=0 && targetCapacity>0) {
430 /* use only one loop counter variable, targetCapacity, not also source */
432 if(targetCapacity>diff) {
433 targetCapacity=diff;
435 while(targetCapacity>0 && (c=*source)<0x3000) {
443 --targetCapacity;
451 --targetCapacity;
458 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target);
463 if(targetCapacity>0) {
478 --targetCapacity;
515 --targetCapacity;
520 } else if(DIFF_IS_DOUBLE(diff) && 2<=targetCapacity) {
538 targetCapacity-=2;
547 /* from the first if in the loop we know that targetCapacity>0 */
548 if(length<=targetCapacity) {
567 targetCapacity-=length;
578 /* we know that 1<=targetCapacity<length<=4 */
579 length-=targetCapacity;
596 diff>>=8*length; /* length was reduced by targetCapacity */
597 switch(targetCapacity) {
614 targetCapacity=0;
649 int32_t targetCapacity;
658 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
668 if(c!=0 && targetCapacity>0) {
674 /* use only one loop counter variable, targetCapacity, not also source */
676 if(targetCapacity>diff) {
677 targetCapacity=diff;
679 while(targetCapacity>0 && (c=*source)<0x3000) {
695 --targetCapacity;
698 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target);
702 if(targetCapacity>0) {
715 --targetCapacity;
748 --targetCapacity;
752 } else if(DIFF_IS_DOUBLE(diff) && 2<=targetCapacity) {
768 targetCapacity-=2;
776 /* from the first if in the loop we know that targetCapacity>0 */
777 if(length<=targetCapacity) {
792 targetCapacity-=length;
802 /* we know that 1<=targetCapacity<length<=4 */
803 length-=targetCapacity;
820 diff>>=8*length; /* length was reduced by targetCapacity */
821 switch(targetCapacity) {
835 targetCapacity=0;