Lines Matching defs:needbytes
653 Int needbytes=D2U(d)*sizeof(Unit);/* bytes needed */
655 if (needbytes>(Int)sizeof(resbuff)) { /* too big for local */
656 allocres=(Unit *)malloc(needbytes);
929 uInt needbytes; /* for space calculations */
944 needbytes=sizeof(decNumber)+(D2U(lhs->digits)-1)*sizeof(Unit);
945 if (needbytes>sizeof(bufa)) { /* need malloc space */
946 allocbufa=(decNumber *)malloc(needbytes);
958 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
959 if (needbytes>sizeof(bufb)) { /* need malloc space */
960 allocbufb=(decNumber *)malloc(needbytes);
1108 uInt needbytes; /* for space calculations */
1137 needbytes=sizeof(decNumber)+(D2U(dcmul.digits)-1)*sizeof(Unit);
1138 if (needbytes>sizeof(bufa)) { /* need malloc space */
1139 allocbufa=(decNumber *)malloc(needbytes);
1392 uInt needbytes; /* for space calculations */
1466 needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit);
1467 if (needbytes>sizeof(bufa)) { /* need malloc space */
1468 allocbufa=(decNumber *)malloc(needbytes);
1489 needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit);
1490 if (needbytes>sizeof(bufb)) { /* need malloc space */
1491 allocbufb=(decNumber *)malloc(needbytes);
1959 uInt needbytes; /* buffer size needed */
2133 needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit);
2134 /* [needbytes also used below if 1/lhs needed] */
2135 if (needbytes>sizeof(dacbuff)) {
2136 allocdac=(decNumber *)malloc(needbytes);
2182 if (needbytes>sizeof(invbuff)) {
2183 allocinv=(decNumber *)malloc(needbytes);
2808 Int needbytes; /* work */
2890 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
2891 if (needbytes>(Int)sizeof(buff)) {
2892 allocbuff=(decNumber *)malloc(needbytes);
2899 needbytes=sizeof(decNumber)+(D2U(maxp)-1)*sizeof(Unit);
2900 if (needbytes>(Int)sizeof(bufa)) { /* [same applies to b] */
2901 allocbufa=(decNumber *)malloc(needbytes);
2902 allocbufb=(decNumber *)malloc(needbytes);
4839 Int needbytes; /* size calculator */
4952 needbytes=ilhs*sizeof(uInt);
4953 if (needbytes>(Int)sizeof(zlhibuff)) {
4954 alloclhi=(uInt *)malloc(needbytes);
4956 needbytes=irhs*sizeof(uInt);
4957 if (needbytes>(Int)sizeof(zrhibuff)) {
4958 allocrhi=(uInt *)malloc(needbytes);
4968 needbytes=iacc*sizeof(uLong);
4971 needbytes+=zoff*8;
4973 if (needbytes>(Int)sizeof(zaccbuff)) {
4974 allocacc=(uLong *)malloc(needbytes);
5068 needbytes=(D2U(lhs->digits)+D2U(rhs->digits))*sizeof(Unit);
5069 if (needbytes>(Int)sizeof(accbuff)) {
5070 allocacc=(Unit *)malloc(needbytes);
5227 uInt needbytes; /* for space calculations */
5355 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
5356 if (needbytes>sizeof(bufr)) { /* need malloc space */
5357 allocrhs=(decNumber *)malloc(needbytes);
5387 needbytes=sizeof(decNumber)+(D2U(p*2)-1)*sizeof(Unit);
5388 if (needbytes>sizeof(bufa)) { /* need malloc space */
5389 allocbufa=(decNumber *)malloc(needbytes);
5399 needbytes=sizeof(decNumber)+(D2U(p+2)-1)*sizeof(Unit);
5400 if (needbytes>sizeof(buft)) { /* need malloc space */
5401 allocbuft=(decNumber *)malloc(needbytes);
5584 uInt needbytes; /* for space calculations */
5664 needbytes=sizeof(decNumber)+(D2U(MAXI(p,16))-1)*sizeof(Unit);
5665 if (needbytes>sizeof(bufa)) { /* need malloc space */
5666 allocbufa=(decNumber *)malloc(needbytes);
5673 needbytes=sizeof(decNumber)+(D2U(MAXI(pp,16))-1)*sizeof(Unit);
5674 if (needbytes>sizeof(bufb)) { /* need malloc space */
5675 allocbufb=(decNumber *)malloc(needbytes);