Lines Matching refs:len2
93 unsigned int len1, len2, scale2, qdigits, extra, count; in bc_divide() local
133 len2 = n2->n_len + scale2; in bc_divide()
134 num2 = (unsigned char *) safe_emalloc (1, len2, 1); in bc_divide()
135 memcpy (num2, n2->n_value, len2); in bc_divide()
136 *(num2+len2) = 0; in bc_divide()
141 len2--; in bc_divide()
145 if (len2 > len1+scale) in bc_divide()
153 if (len2>len1) in bc_divide()
156 qdigits = len1-len2+scale+1; in bc_divide()
164 mval = (unsigned char *) safe_emalloc (1, len2, 1); in bc_divide()
174 _one_mult (n2ptr, len2, norm, n2ptr); in bc_divide()
179 if (len2 > len1) in bc_divide()
180 qptr = (unsigned char *) qval->n_value+len2-len1; in bc_divide()
185 while (qdig <= len1+scale-len2) in bc_divide()
211 _one_mult (n2ptr, len2, qguess, mval+1); in bc_divide()
212 ptr1 = (unsigned char *) num1+qdig+len2; in bc_divide()
213 ptr2 = (unsigned char *) mval+len2; in bc_divide()
214 for (count = 0; count < len2+1; count++) in bc_divide()
232 ptr1 = (unsigned char *) num1+qdig+len2; in bc_divide()
233 ptr2 = (unsigned char *) n2ptr+len2-1; in bc_divide()
235 for (count = 0; count < len2; count++) in bc_divide()