Lines Matching full:needbytes
659 Int needbytes=D2U(d)*sizeof(Unit);/* bytes needed */
661 if (needbytes>(Int)sizeof(resbuff)) { /* too big for local */
662 allocres=(Unit *)malloc(needbytes);
935 uInt needbytes; /* for space calculations */
950 needbytes=sizeof(decNumber)+(D2U(lhs->digits)-1)*sizeof(Unit);
951 if (needbytes>sizeof(bufa)) { /* need malloc space */
952 allocbufa=(decNumber *)malloc(needbytes);
964 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
965 if (needbytes>sizeof(bufb)) { /* need malloc space */
966 allocbufb=(decNumber *)malloc(needbytes);
1114 uInt needbytes; /* for space calculations */
1143 needbytes=sizeof(decNumber)+(D2U(dcmul.digits)-1)*sizeof(Unit);
1144 if (needbytes>sizeof(bufa)) { /* need malloc space */
1145 allocbufa=(decNumber *)malloc(needbytes);
1402 uInt needbytes; /* for space calculations */
1476 needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit);
1477 if (needbytes>sizeof(bufa)) { /* need malloc space */
1478 allocbufa=(decNumber *)malloc(needbytes);
1499 needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit);
1500 if (needbytes>sizeof(bufb)) { /* need malloc space */
1501 allocbufb=(decNumber *)malloc(needbytes);
1972 uInt needbytes; /* buffer size needed */
2146 needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit);
2147 /* [needbytes also used below if 1/lhs needed] */
2148 if (needbytes>sizeof(dacbuff)) {
2149 allocdac=(decNumber *)malloc(needbytes);
2195 if (needbytes>sizeof(invbuff)) {
2196 allocinv=(decNumber *)malloc(needbytes);
2825 Int needbytes; /* work */
2907 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
2908 if (needbytes>(Int)sizeof(buff)) {
2909 allocbuff=(decNumber *)malloc(needbytes);
2916 needbytes=sizeof(decNumber)+(D2U(maxp)-1)*sizeof(Unit);
2917 if (needbytes>(Int)sizeof(bufa)) { /* [same applies to b] */
2918 allocbufa=(decNumber *)malloc(needbytes);
2919 allocbufb=(decNumber *)malloc(needbytes);
4859 Int needbytes; /* size calculator */
4972 needbytes=ilhs*sizeof(uInt);
4973 if (needbytes>(Int)sizeof(zlhibuff)) {
4974 alloclhi=(uInt *)malloc(needbytes);
4976 needbytes=irhs*sizeof(uInt);
4977 if (needbytes>(Int)sizeof(zrhibuff)) {
4978 allocrhi=(uInt *)malloc(needbytes);
4988 needbytes=iacc*sizeof(uLong);
4991 needbytes+=zoff*8;
4993 if (needbytes>(Int)sizeof(zaccbuff)) {
4994 allocacc=(uLong *)malloc(needbytes);
5088 needbytes=(D2U(lhs->digits)+D2U(rhs->digits))*sizeof(Unit);
5089 if (needbytes>(Int)sizeof(accbuff)) {
5090 allocacc=(Unit *)malloc(needbytes);
5247 uInt needbytes; /* for space calculations */
5375 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
5376 if (needbytes>sizeof(bufr)) { /* need malloc space */
5377 allocrhs=(decNumber *)malloc(needbytes);
5407 needbytes=sizeof(decNumber)+(D2U(p*2)-1)*sizeof(Unit);
5408 if (needbytes>sizeof(bufa)) { /* need malloc space */
5409 allocbufa=(decNumber *)malloc(needbytes);
5419 needbytes=sizeof(decNumber)+(D2U(p+2)-1)*sizeof(Unit);
5420 if (needbytes>sizeof(buft)) { /* need malloc space */
5421 allocbuft=(decNumber *)malloc(needbytes);
5608 uInt needbytes; /* for space calculations */
5688 needbytes=sizeof(decNumber)+(D2U(MAXI(p,16))-1)*sizeof(Unit);
5689 if (needbytes>sizeof(bufa)) { /* need malloc space */
5690 allocbufa=(decNumber *)malloc(needbytes);
5697 needbytes=sizeof(decNumber)+(D2U(MAXI(pp,16))-1)*sizeof(Unit);
5698 if (needbytes>sizeof(bufb)) { /* need malloc space */
5699 allocbufb=(decNumber *)malloc(needbytes);