/freebsd-9.3-release/lib/libc/net/ |
H A D | linkaddr.c | 132 int namelen, i, rem; local 137 rem = sizeof(obuf); 141 rem -= namelen; 144 rem--; 151 while (in < inlim && rem > 1) { 154 rem--; 158 if (rem < 3) 162 rem -= 2; 164 if (rem < 2) 167 rem [all...] |
/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | refclock_parse.c | 2484 size_t rem = len - (pos - buffer); local 2486 if (rem == 0) 2490 l = vsnprintf(pos, rem, fmt, va); 2494 rem--; 2495 if (rem >= (size_t)l) 2498 pos += rem;
|
/freebsd-9.3-release/crypto/openssl/fips/dsa/ |
H A D | fips_dssvs.c | 179 BIGNUM *rem = NULL; local 188 rem = BN_new(); 189 if (!BN_mod(rem, p, q, ctx) || !BN_is_one(rem) 191 || !BN_mod_exp(rem, g, q, p, ctx) || !BN_is_one(rem)) { 192 BN_free(rem); 196 BN_free(rem);
|
/freebsd-9.3-release/crypto/openssl/crypto/des/ |
H A D | des.c | 357 int num = 0, j, k, l, rem, ll, len, last, ex = 0; local 442 rem = 0; 446 num = l = fread(&(buf[rem]), 1, BUFSIZE, DES_IN); 447 l += rem; 448 num += rem; 455 rem = l % 8; 456 len = l - rem; 458 for (i = 7 - rem; i > 0; i--) 460 buf[l++] = rem; 462 len += rem; 630 int i, j, left, rem, ret = num; local [all...] |
H A D | cfb_enc.c | 79 register int num = numbits / 8, n = (numbits + 7) / 8, i, rem = local 132 if (rem == 0) 136 ovec[i] = ovec[i + num] << rem | 137 ovec[i + num + 1] >> (8 - rem); 175 if (rem == 0) 179 ovec[i] = ovec[i + num] << rem | 180 ovec[i + num + 1] >> (8 - rem);
|
/freebsd-9.3-release/crypto/openssl/crypto/bn/ |
H A D | bn.h | 454 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 456 # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx)) 540 const BIGNUM *add, const BIGNUM *rem, 552 const BIGNUM *rem, BN_GENCB *cb); 620 int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
|
H A D | bn_mod.c | 120 int BN_mod(BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) 122 return (BN_div(NULL, rem, m, d, ctx)); 123 /* note that rem->neg == m->neg (unless the remainder is zero) */
|
H A D | bn_prime.c | 136 const BIGNUM *add, const BIGNUM *rem, 139 const BIGNUM *rem, BN_CTX *ctx); 164 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) 186 if (!probable_prime_dh_safe(ret, bits, add, rem, ctx)) 189 if (!probable_prime_dh(ret, bits, add, rem, ctx)) 411 const BIGNUM *add, const BIGNUM *rem, 424 /* we need ((rnd-rem) % add) == 0 */ 430 if (rem == NULL) { 434 if (!BN_add(rnd, rnd, rem)) 456 const BIGNUM *rem, BN_CT 163 BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) argument 410 probable_prime_dh(BIGNUM *rnd, int bits, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx) argument 455 probable_prime_dh_safe(BIGNUM *p, int bits, const BIGNUM *padd, const BIGNUM *rem, BN_CTX *ctx) argument [all...] |
H A D | bn_recp.c | 133 int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, argument 146 if (rem != NULL) 147 r = rem; 219 bn_check_top(rem);
|
H A D | bn_div.c | 66 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 81 if (rem != NULL) { 82 if (BN_copy(rem, m) == NULL) 94 if (rem == NULL) 95 rem = BN_CTX_get(ctx); 96 if (D == NULL || dv == NULL || rem == NULL) 103 if (BN_copy(rem, m) == NULL) 120 if (BN_ucmp(rem, D) >= 0) { 122 if (!BN_usub(rem, rem, 322 BN_ULONG n0, n1, rem = 0; local 564 BN_ULONG n0, n1, rem = 0; local [all...] |
H A D | bn_depr.c | 71 const BIGNUM *add, const BIGNUM *rem, 85 if (!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb)) 70 BN_generate_prime(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, void (*callback) (int, int, void *), void *cb_arg) argument
|
/freebsd-9.3-release/crypto/openssl/crypto/camellia/ |
H A D | cmll_cfb.c | 171 int n, rem, num; local 189 rem = nbits % 8; 191 if (rem == 0) 195 ivec[n] = ovec[n + num] << rem | ovec[n + num + 1] >> (8 - rem);
|
/freebsd-9.3-release/crypto/openssl/crypto/aes/ |
H A D | aes_cfb.c | 169 int n, rem, num; local 187 rem = nbits % 8; 189 if (rem == 0) 193 ivec[n] = ovec[n + num] << rem | ovec[n + num + 1] >> (8 - rem);
|
/freebsd-9.3-release/contrib/ntp/util/ |
H A D | timetrim.c | 49 char *rem; local 90 value = strtod(argv[0], &rem); 91 if (*rem != '\0') {
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | timetoa.c | 83 if (qr.rem < 0) { 85 qr.rem += fraclimit; 88 frac = qr.rem;
|
/freebsd-9.3-release/bin/pax/ |
H A D | buf_subs.c | 672 int rem; local 686 rem = sz; 704 if ((res = file_write(ofd,bufpt,cnt,&rem,&isem,sz,fnm)) <= 0) { 761 int rem; local 781 rem = sz; 792 res = file_write(fd2, buf, cnt, &rem, &isem, sz, fnm);
|
H A D | file_subs.c | 739 * rem: how many bytes left in this file system block 749 file_write(int fd, char *str, int cnt, int *rem, int *isempt, int sz, argument 761 if (!*rem) { 768 *rem = sz; 775 wcnt = MIN(cnt, *rem); 777 *rem -= wcnt;
|
/freebsd-9.3-release/bin/rcp/ |
H A D | rcp.c | 83 int errs, rem; variable 170 rem = STDIN_FILENO; /* XXX */ 190 rem = -1; 263 if (rem == -1) { 268 rem = rcmd_af(&host, port, 272 if (rem < 0) 276 if (setsockopt(rem, IPPROTO_IP, IP_TOS, 330 rem = rcmd_af(&host, port, pwd->pw_name, suser, bp, 0, 333 if (rem < 0) { 340 if (setsockopt(rem, IPPROTO_I [all...] |
/freebsd-9.3-release/lib/libedit/ |
H A D | map.c | 1248 int ntype, rem; local 1263 key = rem = 0; 1284 rem = 1; 1322 if (rem) {
|
H A D | refresh.c | 237 size_t rem = (el->el_line.lastchar-el->el_line.buffer)%termsz; local 239 st = el->el_line.lastchar - rem 240 - (termsz - (((rem / el->el_term.t_size.v) - 1)
|
/freebsd-9.3-release/lib/libstand/ |
H A D | quad.h | 98 u_quad_t __qdivrem(u_quad_t u, u_quad_t v, u_quad_t *rem);
|
/freebsd-9.3-release/lib/libz/ |
H A D | adler32.c | 143 unsigned rem; local 151 rem = (unsigned)len2; 153 sum2 = rem * sum1; 156 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
|
/freebsd-9.3-release/lib/libc/db/test/ |
H A D | dbtest.c | 65 void rem(DB *, DBT *); 211 rem(dbp, &key); 297 rem(dbp, &key); 420 rem(dbp, kp) function 428 err("line %lu: rem: %s", lineno, strerror(errno)); 431 #define NOSUCHKEY "rem failed, no such key\n" 439 "%d: rem of cursor failed\n", lineno);
|
/freebsd-9.3-release/lib/libc/softfloat/bits64/ |
H A D | softfloat.c | 2083 bits64 rem, term; local 2113 rem = ( ( (bits64) aSig )<<32 ) - term; 2114 while ( (sbits64) rem < 0 ) { 2116 rem += ( ( (bits64) zSig )<<1 ) | 1; 2118 zSig |= ( rem != 0 );
|
/freebsd-9.3-release/lib/libc/stdlib/ |
H A D | div.c | 48 r.rem = num % denom; 58 * r.rem will have the same sign as denom and the opposite 60 * truncated towards -inf, r.rem will be positive (will 68 * if num >= 0, but r.rem < 0, we got the wrong answer. 70 * subtract denom from r.rem. 72 if (num >= 0 && r.rem < 0) { 74 r.rem -= denom;
|