Home | History | Annotate | Download | only in i18n

Lines Matching full:needbytes

672       Int needbytes=D2U(d)*sizeof(Unit);/* bytes needed  */
674 if (needbytes>(Int)sizeof(resbuff)) { /* too big for local */
675 allocres=(Unit *)malloc(needbytes);
948 uInt needbytes; /* for space calculations */
963 needbytes=sizeof(decNumber)+(D2U(lhs->digits)-1)*sizeof(Unit);
964 if (needbytes>sizeof(bufa)) { /* need malloc space */
965 allocbufa=(decNumber *)malloc(needbytes);
977 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
978 if (needbytes>sizeof(bufb)) { /* need malloc space */
979 allocbufb=(decNumber *)malloc(needbytes);
1127 uInt needbytes; /* for space calculations */
1156 needbytes=sizeof(decNumber)+(D2U(dcmul.digits)-1)*sizeof(Unit);
1157 if (needbytes>sizeof(bufa)) { /* need malloc space */
1158 allocbufa=(decNumber *)malloc(needbytes);
1415 uInt needbytes; /* for space calculations */
1489 needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit);
1490 if (needbytes>sizeof(bufa)) { /* need malloc space */
1491 allocbufa=(decNumber *)malloc(needbytes);
1512 needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit);
1513 if (needbytes>sizeof(bufb)) { /* need malloc space */
1514 allocbufb=(decNumber *)malloc(needbytes);
1985 uInt needbytes; /* buffer size needed */
2159 needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit);
2160 /* [needbytes also used below if 1/lhs needed] */
2161 if (needbytes>sizeof(dacbuff)) {
2162 allocdac=(decNumber *)malloc(needbytes);
2208 if (needbytes>sizeof(invbuff)) {
2209 allocinv=(decNumber *)malloc(needbytes);
2838 Int needbytes; /* work */
2920 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
2921 if (needbytes>(Int)sizeof(buff)) {
2922 allocbuff=(decNumber *)malloc(needbytes);
2929 needbytes=sizeof(decNumber)+(D2U(maxp)-1)*sizeof(Unit);
2930 if (needbytes>(Int)sizeof(bufa)) { /* [same applies to b] */
2931 allocbufa=(decNumber *)malloc(needbytes);
2932 allocbufb=(decNumber *)malloc(needbytes);
4874 Int needbytes; /* size calculator */
4987 needbytes=ilhs*sizeof(uInt);
4988 if (needbytes>(Int)sizeof(zlhibuff)) {
4989 alloclhi=(uInt *)malloc(needbytes);
4991 needbytes=irhs*sizeof(uInt);
4992 if (needbytes>(Int)sizeof(zrhibuff)) {
4993 allocrhi=(uInt *)malloc(needbytes);
5007 needbytes=iacc*sizeof(uLong);
5010 needbytes+=zoff*8;
5012 if (needbytes>(Int)sizeof(zaccbuff)) {
5013 allocacc=(uLong *)malloc(needbytes);
5107 needbytes=(D2U(lhs->digits)+D2U(rhs->digits))*sizeof(Unit);
5108 if (needbytes>(Int)sizeof(accbuff)) {
5109 allocacc=(Unit *)malloc(needbytes);
5266 uInt needbytes; /* for space calculations */
5394 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
5395 if (needbytes>sizeof(bufr)) { /* need malloc space */
5396 allocrhs=(decNumber *)malloc(needbytes);
5426 needbytes=sizeof(decNumber)+(D2U(p*2)-1)*sizeof(Unit);
5427 if (needbytes>sizeof(bufa)) { /* need malloc space */
5428 allocbufa=(decNumber *)malloc(needbytes);
5438 needbytes=sizeof(decNumber)+(D2U(p+2)-1)*sizeof(Unit);
5439 if (needbytes>sizeof(buft)) { /* need malloc space */
5440 allocbuft=(decNumber *)malloc(needbytes);
5627 uInt needbytes; /* for space calculations */
5707 needbytes=sizeof(decNumber)+(D2U(MAXI(p,16))-1)*sizeof(Unit);
5708 if (needbytes>sizeof(bufa)) { /* need malloc space */
5709 allocbufa=(decNumber *)malloc(needbytes);
5716 needbytes=sizeof(decNumber)+(D2U(MAXI(pp,16))-1)*sizeof(Unit);
5717 if (needbytes>sizeof(bufb)) { /* need malloc space */
5718 allocbufb=(decNumber *)malloc(needbytes);