| /src/external/bsd/atf/dist/tools/ |
| expand_test.cpp | 172 std::vector< std::string > exps; local 174 exps = expand_glob("foo", candidates); 175 ATF_REQUIRE_EQ(exps.size(), 1); 176 ATF_REQUIRE(exps[0] == "foo"); 178 exps = expand_glob("bar", candidates); 179 ATF_REQUIRE_EQ(exps.size(), 1); 180 ATF_REQUIRE(exps[0] == "bar"); 182 exps = expand_glob("foo*", candidates); 183 ATF_REQUIRE_EQ(exps.size(), 4); 184 ATF_REQUIRE(exps[0] == "foo") 244 std::vector< std::string > exps; local [all...] |
| expand.hpp | 69 std::vector< std::string > exps; local 74 exps.push_back(*iter); 76 return exps;
|
| /src/tests/lib/libm/ |
| t_scalbn.c | 42 static const int exps[] = { 0, 1, -1, 100, -100 }; variable 123 for (i = 0; i < __arraycount(exps); i++) { 124 y = scalbn(x, exps[i]); 140 for (i = 0; i < __arraycount(exps); i++) 141 ATF_CHECK(scalbn(x, exps[i]) == x); 155 for (i = 0; i < __arraycount(exps); i++) 156 ATF_CHECK(scalbn(x, exps[i]) == x); 172 for (i = 0; i < __arraycount(exps); i++) { 173 y = scalbn(x, exps[i]); 174 ATF_CHECK_MSG(y == ldexp(x, exps[i]), "test %zu: exponent=%d, [all...] |
| t_ldexp.c | 47 static const int exps[] = { 0, 1, -1, 100, -100 }; variable 228 for (i = 0; i < __arraycount(exps); i++) { 229 y = ldexp(x, exps[i]); 245 for (i = 0; i < __arraycount(exps); i++) 246 ATF_CHECK(ldexp(x, exps[i]) == x); 260 for (i = 0; i < __arraycount(exps); i++) 261 ATF_CHECK(ldexp(x, exps[i]) == x); 278 for (i = 0; i < __arraycount(exps); i++) { 279 y = ldexp(x, exps[i]); 299 for (i = 0; i < __arraycount(exps); i++) [all...] |
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| ExpGroup.cc | 37 exps = new Vector<Experiment*>; 49 delete exps; 57 for (int i = 0, sz = exps->size (); i < sz; i++) 59 Experiment *e = exps->fetch (i); 63 exps->append (exp); 64 if (exps->size () == 1) 71 for (int i = 0, sz = exps->size (); i < sz; i++) 73 Experiment *e = exps->fetch (i); 76 exps->remove (i); 88 for (int i = 0, sz = exps ? exps->size () : 0; i < sz; i++ [all...] |
| ExpGroup.h | 41 Vector<Experiment*> *exps; member in class:ExpGroup
|
| /src/external/gpl3/binutils.old/dist/gprofng/src/ |
| ExpGroup.cc | 37 exps = new Vector<Experiment*>; 49 delete exps; 57 for (int i = 0, sz = exps->size (); i < sz; i++) 59 Experiment *e = exps->fetch (i); 63 exps->append (exp); 64 if (exps->size () == 1) 71 for (int i = 0, sz = exps->size (); i < sz; i++) 73 Experiment *e = exps->fetch (i); 76 exps->remove (i); 88 for (int i = 0, sz = exps ? exps->size () : 0; i < sz; i++ [all...] |
| ExpGroup.h | 41 Vector<Experiment*> *exps; member in class:ExpGroup
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| rsa_mp_test.c | 133 BIGNUM **pris = NULL, **exps = NULL, **coeffs = NULL; local 155 exps = OPENSSL_zalloc(sizeof(BIGNUM *)); 157 if (!TEST_ptr(pris) || !TEST_ptr(exps) || !TEST_ptr(coeffs)) 161 exps[0] = BN_bin2bn(ex_exponent, sizeof(ex_exponent) - 1, NULL); 163 if (!TEST_ptr(pris[0]) || !TEST_ptr(exps[0]) || !TEST_ptr(coeffs[0])) 166 if (!TEST_true(RSA_set0_multi_prime_params(key, pris, exps, 172 OPENSSL_free(exps); 178 if (exps != NULL) 179 BN_free(exps[0]);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| rsa_mp_test.c | 143 BIGNUM **pris = NULL, **exps = NULL, **coeffs = NULL; local 161 exps = OPENSSL_zalloc(sizeof(BIGNUM *)); 163 if (!TEST_ptr(pris) || !TEST_ptr(exps) || !TEST_ptr(coeffs)) 167 exps[0] = BN_bin2bn(ex_exponent, sizeof(ex_exponent) - 1, NULL); 169 if (!TEST_ptr(pris[0]) || !TEST_ptr(exps[0]) || !TEST_ptr(coeffs[0])) 172 if (!TEST_true(RSA_set0_multi_prime_params(key, pris, exps, 178 OPENSSL_free(exps); 184 if (exps != NULL) 185 BN_free(exps[0]); 194 STACK_OF(BIGNUM) *primes = NULL, *exps = NULL, *coeffs = NULL [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| rsa_mp_test.c | 152 BIGNUM **pris = NULL, **exps = NULL, **coeffs = NULL; local 169 exps = OPENSSL_zalloc(sizeof(BIGNUM *)); 171 if (!TEST_ptr(pris) || !TEST_ptr(exps) || !TEST_ptr(coeffs)) 175 exps[0] = BN_bin2bn(ex_exponent, sizeof(ex_exponent) - 1, NULL); 177 if (!TEST_ptr(pris[0]) || !TEST_ptr(exps[0]) || !TEST_ptr(coeffs[0])) 180 if (!TEST_true(RSA_set0_multi_prime_params(key, pris, exps, 186 OPENSSL_free(exps); 192 if (exps != NULL) 193 BN_free(exps[0]); 202 STACK_OF(BIGNUM) *primes = NULL, *exps = NULL, *coeffs = NULL [all...] |
| /src/crypto/external/apache2/openssl/dist/util/ |
| checkplatformsyms.pl | 27 my $exps; 38 $exps=<$expsyms>; 68 if (index($exps, $_) < 0) { 87 $exps=<$expsyms>; 96 if (index($exps, $_) < 0) {
|
| /src/bin/ed/ |
| re.c | 63 char *exps; local 73 } else if ((exps = extract_pattern(delimiter)) == NULL) 84 if ((n = regcomp(expr, exps, ere)) != 0) {
|
| /src/external/lgpl3/mpfr/dist/src/ |
| exp_2.c | 81 mpfr_exp_t exps, expx; local 229 ? mpfr_exp2_aux (ss, r, q, &exps) /* naive method */ 230 : mpfr_exp2_aux2 (ss, r, q, &exps); /* Paterson/Stockmeyer meth */ 238 exps *= 2; 239 exps += mpz_normalize (ss, ss, q); 241 mpfr_set_z_2exp (s, ss, exps, MPFR_RNDN); 276 mpfr_exp2_aux (mpz_t s, mpfr_srcptr r, mpfr_prec_t q, mpfr_exp_t *exps) 286 *exps = 1 - (mpfr_exp_t) q; /* s = 2^(q-1) */ 302 dif = *exps + sbit - expt - tbit; 319 MPFR_ASSERTD (expt == *exps); [all...] |
| jn.c | 90 mpfr_exp_t exps, expT, diffexp; local 260 2^exps, which is true also in the case where s=0 */ 261 exps = MPFR_IS_ZERO (s) ? MPFR_EMIN_MIN : MPFR_GET_EXP (s); 262 expT = exps; 280 exps = MPFR_IS_ZERO (s) ? MPFR_EMIN_MIN : MPFR_GET_EXP (t); 281 if (exps > expT) 282 expT = exps; 284 exps = MPFR_IS_ZERO (s) ? MPFR_EMIN_MIN : MPFR_GET_EXP (s); 285 if (exps > expT) 286 expT = exps; [all...] |
| cos.c | 138 mpfr_exp_t exps, cancel = 0, expx; local 253 exps = MPFR_GET_EXP (s); 254 if (MPFR_LIKELY (MPFR_CAN_ROUND (s, exps + m - k, precy, rnd_mode))) 257 if (MPFR_UNLIKELY (exps == 1)) 274 if (exps < cancel) 276 m += cancel - exps; 277 cancel = exps;
|
| yn.c | 90 mpfr_exp_t exps, expU; local 111 exps = MPFR_EXP (s); 112 expU = exps; 128 exps = MPFR_EXP (u); 129 if (exps > expU) 130 expU = exps; 132 exps = MPFR_EXP (s); 133 if (exps > expU) 134 expU = exps; 143 exps = expU - MPFR_EXP (s) [all...] |
| digamma.c | 40 mpfr_exp_t e, exps, f, expu; local 81 exps = MPFR_GET_EXP (s); 83 if (expu < exps - (mpfr_exp_t) p) 86 if (MPFR_GET_EXP (s) < exps) 87 e <<= exps - MPFR_GET_EXP (s); 90 while (expu < exps)
|
| /src/crypto/external/apache2/openssl/dist/crypto/rsa/ |
| rsa_lib.c | 486 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[], 493 if (primes == NULL || exps == NULL || coeffs == NULL || pnum == 0) 507 if (primes[i] != NULL && exps[i] != NULL && coeffs[i] != NULL) { 512 pinfo->d = exps[i]; 616 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[], 625 if (exps != NULL || coeffs != NULL) { 632 if (exps != NULL) 633 exps[i] = pinfo->d; 755 STACK_OF(BIGNUM) *exps, 763 if (primes == NULL || exps == NULL || coeffs == NULL [all...] |
| rsa_gen.c | 79 * on their respective exps and coeffs stacks 85 STACK_OF(BIGNUM) *exps, 200 if (!sk_BIGNUM_insert(exps, dmp1, sk_BIGNUM_num(exps))) 206 if (!sk_BIGNUM_insert(exps, dmq1, sk_BIGNUM_num(exps))) 217 if (!sk_BIGNUM_insert(exps, newexp, sk_BIGNUM_num(exps))) 274 STACK_OF(BIGNUM) *exps = NULL; 304 exps = sk_BIGNUM_new_null() [all...] |
| rsa_backend.c | 70 STACK_OF(BIGNUM) *factors = NULL, *exps = NULL, *coeffs = NULL; 126 || !collect_numbers(exps = sk_BIGNUM_new_null(), params, 132 if (derive_from_pq && sk_BIGNUM_num(exps) == 0 183 * in the multiprime case we have to generate exps/coeffs here 188 rsa->e, factors, exps, 198 if (!ossl_rsa_set0_all_params(rsa, factors, exps, coeffs)) { 216 && !ossl_rsa_set0_all_params(rsa, factors, exps, coeffs)) 221 || sk_BIGNUM_num(exps) != 0 224 "There are %d, %d, %d elements left on our factors, exps, coeffs stacks\n", 225 sk_BIGNUM_num(factors), sk_BIGNUM_num(exps), [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| traits.d | 414 auto exps = new Expressions(data.dim + 1); 415 (*exps)[0] = new IntegerExp(e.loc, sz, Type.tsize_t); 416 foreach (size_t i; 1 .. exps.dim) 417 (*exps)[i] = new IntegerExp(e.loc, data[cast(size_t) (i - 1)], Type.tsize_t); 419 auto ale = new ArrayLiteralExp(e.loc, Type.tsize_t.sarrayOf(data.dim + 1), exps); 1074 auto exps = new Expressions(); 1129 exps.push(e); 1166 exps.push(e); 1188 exps.push(e); 1208 auto tup = new TupleExp(e.loc, exps); [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/rsa/ |
| rsa_lib.c | 479 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[], 486 if (primes == NULL || exps == NULL || coeffs == NULL || pnum == 0) 500 if (primes[i] != NULL && exps[i] != NULL && coeffs[i] != NULL) { 505 pinfo->d = exps[i]; 609 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[], 618 if (exps != NULL || coeffs != NULL) { 625 if (exps != NULL) 626 exps[i] = pinfo->d; 744 const STACK_OF(BIGNUM) *exps, 752 if (primes == NULL || exps == NULL || coeffs == NULL [all...] |
| rsa_backend.c | 68 STACK_OF(BIGNUM) *factors = NULL, *exps = NULL, *coeffs = NULL; 93 || !collect_numbers(exps = sk_BIGNUM_new_null(), params, 101 && !ossl_rsa_set0_all_params(rsa, factors, exps, coeffs)) 107 sk_BIGNUM_free(exps); 116 sk_BIGNUM_pop_free(exps, BN_free); 129 STACK_OF(BIGNUM_const) *exps = sk_BIGNUM_const_new_null(); 132 if (rsa == NULL || factors == NULL || exps == NULL || coeffs == NULL) 136 ossl_rsa_get0_all_params(rsa, factors, exps, coeffs); 151 ossl_rsa_mp_exp_names, exps) 166 sk_BIGNUM_const_free(exps); [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
| rsa_lib.c | 263 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[], 270 if (primes == NULL || exps == NULL || coeffs == NULL || pnum == 0) 284 if (primes[i] != NULL && exps[i] != NULL && coeffs[i] != NULL) { 289 pinfo->d = exps[i]; 388 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[], 397 if (exps != NULL || coeffs != NULL) { 404 if (exps != NULL) 405 exps[i] = pinfo->d;
|