sn 1219 maint/gnulib/lib/mini-gmp.c size_t sn, j; sn 1223 maint/gnulib/lib/mini-gmp.c sn = ((un - 1) * GMP_LIMB_BITS + mpn_limb_size_in_base_2 (up[un-1]) sn 1228 maint/gnulib/lib/mini-gmp.c for (i = 0, j = sn, shift = 0; j-- > 0;) sn 1241 maint/gnulib/lib/mini-gmp.c return sn; sn 1273 maint/gnulib/lib/mini-gmp.c size_t sn; sn 1278 maint/gnulib/lib/mini-gmp.c sn = 0; sn 1291 maint/gnulib/lib/mini-gmp.c done = mpn_limb_get_str (sp + sn, w, &binv); sn 1293 maint/gnulib/lib/mini-gmp.c for (sn += done; done < info->exp; done++) sn 1294 maint/gnulib/lib/mini-gmp.c sp[sn++] = 0; sn 1298 maint/gnulib/lib/mini-gmp.c sn += mpn_limb_get_str (sp + sn, up[0], &binv); sn 1301 maint/gnulib/lib/mini-gmp.c for (i = 0; 2*i + 1 < sn; i++) sn 1304 maint/gnulib/lib/mini-gmp.c sp[i] = sp[sn - i - 1]; sn 1305 maint/gnulib/lib/mini-gmp.c sp[sn - i - 1] = t; sn 1308 maint/gnulib/lib/mini-gmp.c return sn; sn 1332 maint/gnulib/lib/mini-gmp.c mpn_set_str_bits (mp_ptr rp, const unsigned char *sp, size_t sn, sn 1339 maint/gnulib/lib/mini-gmp.c for (limb = 0, rn = 0, shift = 0; sn-- > 0; ) sn 1341 maint/gnulib/lib/mini-gmp.c limb |= (mp_limb_t) sp[sn] << shift; sn 1349 maint/gnulib/lib/mini-gmp.c limb = (unsigned int) sp[sn] >> (bits - shift); sn 1362 maint/gnulib/lib/mini-gmp.c mpn_set_str_other (mp_ptr rp, const unsigned char *sp, size_t sn, sn 1370 maint/gnulib/lib/mini-gmp.c assert (sn > 0); sn 1372 maint/gnulib/lib/mini-gmp.c k = 1 + (sn - 1) % info->exp; sn 1381 maint/gnulib/lib/mini-gmp.c for (rn = 1; j < sn;) sn 1394 maint/gnulib/lib/mini-gmp.c assert (j == sn); sn 1400 maint/gnulib/lib/mini-gmp.c mpn_set_str (mp_ptr rp, const unsigned char *sp, size_t sn, int base) sn 1404 maint/gnulib/lib/mini-gmp.c if (sn == 0) sn 1409 maint/gnulib/lib/mini-gmp.c return mpn_set_str_bits (rp, sp, sn, bits); sn 1415 maint/gnulib/lib/mini-gmp.c return mpn_set_str_other (rp, sp, sn, base, &info); sn 4241 maint/gnulib/lib/mini-gmp.c size_t i, sn, osn; sn 4260 maint/gnulib/lib/mini-gmp.c sn = 1 + mpz_sizeinbase (u, base); sn 4263 maint/gnulib/lib/mini-gmp.c osn = 1 + sn; sn 4273 maint/gnulib/lib/mini-gmp.c sn = 1; sn 4286 maint/gnulib/lib/mini-gmp.c sn = i + mpn_get_str_bits ((unsigned char *) sp + i, bits, u->_mp_d, un); sn 4296 maint/gnulib/lib/mini-gmp.c sn = i + mpn_get_str_other ((unsigned char *) sp + i, base, &info, tp, un); sn 4300 maint/gnulib/lib/mini-gmp.c for (; i < sn; i++) sn 4304 maint/gnulib/lib/mini-gmp.c sp[sn] = '\0'; sn 4305 maint/gnulib/lib/mini-gmp.c if (osn && osn != sn + 1) sn 4306 maint/gnulib/lib/mini-gmp.c sp = (char*) gmp_realloc (sp, osn, sn + 1); sn 4316 maint/gnulib/lib/mini-gmp.c size_t dn, sn; sn 4354 maint/gnulib/lib/mini-gmp.c sn = strlen(sp); sn 4355 maint/gnulib/lib/mini-gmp.c dp = (unsigned char *) gmp_alloc (sn); sn 4375 maint/gnulib/lib/mini-gmp.c gmp_free (dp, sn); sn 4385 maint/gnulib/lib/mini-gmp.c gmp_free (dp, sn); sn 4409 maint/gnulib/lib/mini-gmp.c gmp_free (dp, sn);