Searched refs:needbytes (Results 1 – 1 of 1) sorted by relevance
678 Int needbytes=D2U(d)*sizeof(Unit);/* bytes needed */ in uprv_decNumberFromString() local680 if (needbytes>(Int)sizeof(resbuff)) { /* too big for local */ in uprv_decNumberFromString()681 allocres=(Unit *)malloc(needbytes); in uprv_decNumberFromString()954 uInt needbytes; /* for space calculations */ in uprv_decNumberCompareTotalMag() local969 needbytes=sizeof(decNumber)+(D2U(lhs->digits)-1)*sizeof(Unit); in uprv_decNumberCompareTotalMag()970 if (needbytes>sizeof(bufa)) { /* need malloc space */ in uprv_decNumberCompareTotalMag()971 allocbufa=(decNumber *)malloc(needbytes); in uprv_decNumberCompareTotalMag()983 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); in uprv_decNumberCompareTotalMag()984 if (needbytes>sizeof(bufb)) { /* need malloc space */ in uprv_decNumberCompareTotalMag()985 allocbufb=(decNumber *)malloc(needbytes); in uprv_decNumberCompareTotalMag()[all …]