Searched refs:needbytes (Results 1 – 1 of 1) sorted by relevance
676 Int needbytes=D2U(d)*sizeof(Unit);/* bytes needed */ in uprv_decNumberFromString() local678 if (needbytes>(Int)sizeof(resbuff)) { /* too big for local */ in uprv_decNumberFromString()679 allocres=(Unit *)malloc(needbytes); in uprv_decNumberFromString()952 uInt needbytes; /* for space calculations */ in uprv_decNumberCompareTotalMag() local967 needbytes=sizeof(decNumber)+(D2U(lhs->digits)-1)*sizeof(Unit); in uprv_decNumberCompareTotalMag()968 if (needbytes>sizeof(bufa)) { /* need malloc space */ in uprv_decNumberCompareTotalMag()969 allocbufa=(decNumber *)malloc(needbytes); in uprv_decNumberCompareTotalMag()981 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); in uprv_decNumberCompareTotalMag()982 if (needbytes>sizeof(bufb)) { /* need malloc space */ in uprv_decNumberCompareTotalMag()983 allocbufb=(decNumber *)malloc(needbytes); in uprv_decNumberCompareTotalMag()[all …]