/netbsd/external/bsd/atf/dist/tools/ |
H A D | expand_test.cpp | 175 ATF_REQUIRE_EQ(exps.size(), 1); in ATF_TEST_CASE_BODY() 176 ATF_REQUIRE(exps[0] == "foo"); in ATF_TEST_CASE_BODY() 179 ATF_REQUIRE_EQ(exps.size(), 1); in ATF_TEST_CASE_BODY() 180 ATF_REQUIRE(exps[0] == "bar"); in ATF_TEST_CASE_BODY() 184 ATF_REQUIRE(exps[0] == "foo"); in ATF_TEST_CASE_BODY() 191 ATF_REQUIRE(exps[0] == "foo"); in ATF_TEST_CASE_BODY() 196 ATF_REQUIRE(exps[0] == "foo"); in ATF_TEST_CASE_BODY() 206 ATF_REQUIRE(exps[0] == "bar"); in ATF_TEST_CASE_BODY() 207 ATF_REQUIRE(exps[1] == "baz"); in ATF_TEST_CASE_BODY() 214 ATF_REQUIRE(exps[0] == "bar"); in ATF_TEST_CASE_BODY() [all …]
|
H A D | expand.hpp | 69 std::vector< std::string > exps; in expand_glob() local 74 exps.push_back(*iter); in expand_glob() 76 return exps; in expand_glob()
|
/netbsd/tests/lib/libm/ |
H A D | t_scalbn.c | 124 y = scalbn(x, exps[i]); in ATF_TC_BODY() 173 y = scalbn(x, exps[i]); in ATF_TC_BODY() 176 ldexp(x, exps[i]), y - ldexp(x, exps[i])); in ATF_TC_BODY() 196 y = scalbn(x, exps[i]); in ATF_TC_BODY() 217 y = scalbn(x, exps[i]); in ATF_TC_BODY() 269 y = scalbnf(x, exps[i]); in ATF_TC_BODY() 318 y = scalbnf(x, exps[i]); in ATF_TC_BODY() 321 i, exps[i], y, ldexpf(x, exps[i]), y-ldexpf(x, exps[i])); in ATF_TC_BODY() 341 y = scalbnf(x, exps[i]); in ATF_TC_BODY() 362 y = scalbnf(x, exps[i]); in ATF_TC_BODY() [all …]
|
H A D | t_ldexp.c | 229 y = ldexp(x, exps[i]); in ATF_TC_BODY() 245 for (i = 0; i < __arraycount(exps); i++) in ATF_TC_BODY() 246 ATF_CHECK(ldexp(x, exps[i]) == x); in ATF_TC_BODY() 261 ATF_CHECK(ldexp(x, exps[i]) == x); in ATF_TC_BODY() 279 y = ldexp(x, exps[i]); in ATF_TC_BODY() 300 y = ldexp(x, exps[i]); in ATF_TC_BODY() 349 y = ldexpf(x, exps[i]); in ATF_TC_BODY() 366 ATF_CHECK(ldexpf(x, exps[i]) == x); in ATF_TC_BODY() 381 ATF_CHECK(ldexpf(x, exps[i]) == x); in ATF_TC_BODY() 399 y = ldexpf(x, exps[i]); in ATF_TC_BODY() [all …]
|
/netbsd/external/gpl3/binutils/dist/gprofng/src/ |
H A D | ExpGroup.cc | 37 exps = new Vector<Experiment*>; in ExpGroup() 49 delete exps; in ~ExpGroup() 59 Experiment *e = exps->fetch (i); in append() 63 exps->append (exp); in append() 64 if (exps->size () == 1) in append() 73 Experiment *e = exps->fetch (i); in drop_experiment() 76 exps->remove (i); in drop_experiment() 88 for (int i = 0, sz = exps ? exps->size () : 0; i < sz; i++) in get_founders() 90 Experiment *exp = exps->fetch (i); in get_founders() 108 for (int i = 0, sz = exps ? exps->size () : 0; i < sz; i++) in create_list_of_loadObjects() [all …]
|
H A D | DbeSession.cc | 115 exps = new Vector<Experiment*>; in DbeSession() 385 Destroy (exps); in ~DbeSession() 621 exps->destroy (); in reset() 933 exp->setExpIdx (exps->size ()); in createExperimentPart2() 935 exps->append (exp); in createExperimentPart2() 951 exps->append (exp); in append() 986 return exps->size (); in ngoodexps() 1467 delete exps->remove (exp_ind); in drop_experiment() 2007 for (int i = 0, sz = exps ? exps->size () : 0; i < sz; i++) in is_omp_available() 2024 for (int i = 0, sz = exps ? exps->size () : 0; i < sz; i++) in has_java() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/test/ |
H A D | rsa_mp_test.c | 169 exps = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1() 186 OPENSSL_free(exps); in key2048p3_v1() 192 if (exps != NULL) in key2048p3_v1() 193 BN_free(exps[0]); in key2048p3_v1() 207 || !TEST_ptr(exps = sk_BIGNUM_new_null()) in key2048p3_v2() 220 || !TEST_int_ne(sk_BIGNUM_push(exps, num), 0) in key2048p3_v2() 222 || !TEST_int_ne(sk_BIGNUM_push(exps, num), 0) in key2048p3_v2() 224 || !TEST_int_ne(sk_BIGNUM_push(exps, num), 0)) in key2048p3_v2() 238 sk_BIGNUM_free(exps); in key2048p3_v2() 243 sk_BIGNUM_pop_free(exps, BN_free); in key2048p3_v2() [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/test/ |
H A D | rsa_mp_test.c | 133 BIGNUM **pris = NULL, **exps = NULL, **coeffs = NULL; in key2048p3() local 155 exps = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3() 157 if (!TEST_ptr(pris) || !TEST_ptr(exps) || !TEST_ptr(coeffs)) in key2048p3() 161 exps[0] = BN_bin2bn(ex_exponent, sizeof(ex_exponent) - 1, NULL); in key2048p3() 163 if (!TEST_ptr(pris[0]) || !TEST_ptr(exps[0]) || !TEST_ptr(coeffs[0])) in key2048p3() 166 if (!TEST_true(RSA_set0_multi_prime_params(key, pris, exps, in key2048p3() 172 OPENSSL_free(exps); in key2048p3() 178 if (exps != NULL) in key2048p3() 179 BN_free(exps[0]); in key2048p3()
|
/netbsd/external/lgpl3/mpfr/dist/src/ |
H A D | exp_2.c | 81 mpfr_exp_t exps, expx; in mpfr_exp_2() local 238 exps *= 2; in mpfr_exp_2() 239 exps += mpz_normalize (ss, ss, q); in mpfr_exp_2() 241 mpfr_set_z_2exp (s, ss, exps, MPFR_RNDN); in mpfr_exp_2() 286 *exps = 1 - (mpfr_exp_t) q; /* s = 2^(q-1) */ in mpfr_exp2_aux() 302 dif = *exps + sbit - expt - tbit; in mpfr_exp2_aux() 319 MPFR_ASSERTD (expt == *exps); in mpfr_exp2_aux() 373 *exps = 1 - q; /* 1 ulp = 2^(1-q) */ in mpfr_exp2_aux2() 420 expt = mpz_normalize2 (t, t, expt, *exps); in mpfr_exp2_aux2() 422 MPFR_ASSERTD (expt == *exps); in mpfr_exp2_aux2() [all …]
|
H A D | jn.c | 90 mpfr_exp_t exps, expT, diffexp; in mpfr_jn() local 261 exps = MPFR_IS_ZERO (s) ? MPFR_EMIN_MIN : MPFR_GET_EXP (s); in mpfr_jn() 262 expT = exps; in mpfr_jn() 280 exps = MPFR_IS_ZERO (s) ? MPFR_EMIN_MIN : MPFR_GET_EXP (t); in mpfr_jn() 281 if (exps > expT) in mpfr_jn() 282 expT = exps; in mpfr_jn() 284 exps = MPFR_IS_ZERO (s) ? MPFR_EMIN_MIN : MPFR_GET_EXP (s); in mpfr_jn() 285 if (exps > expT) in mpfr_jn() 286 expT = exps; in mpfr_jn() 288 if (MPFR_GET_EXP (t) + (mpfr_exp_t) prec <= exps && in mpfr_jn() [all …]
|
H A D | yn.c | 90 mpfr_exp_t exps, expU; in mpfr_yn_s3() local 111 exps = MPFR_EXP (s); in mpfr_yn_s3() 112 expU = exps; in mpfr_yn_s3() 128 exps = MPFR_EXP (u); in mpfr_yn_s3() 129 if (exps > expU) in mpfr_yn_s3() 130 expU = exps; in mpfr_yn_s3() 132 exps = MPFR_EXP (s); in mpfr_yn_s3() 133 if (exps > expU) in mpfr_yn_s3() 134 expU = exps; in mpfr_yn_s3() 143 exps = expU - MPFR_EXP (s); in mpfr_yn_s3() [all …]
|
H A D | cos.c | 138 mpfr_exp_t exps, cancel = 0, expx; in mpfr_cos() local 253 exps = MPFR_GET_EXP (s); in mpfr_cos() 254 if (MPFR_LIKELY (MPFR_CAN_ROUND (s, exps + m - k, precy, rnd_mode))) in mpfr_cos() 257 if (MPFR_UNLIKELY (exps == 1)) in mpfr_cos() 274 if (exps < cancel) in mpfr_cos() 276 m += cancel - exps; in mpfr_cos() 277 cancel = exps; in mpfr_cos()
|
H A D | digamma.c | 40 mpfr_exp_t e, exps, f, expu; in mpfr_digamma_approx() local 81 exps = MPFR_GET_EXP (s); in mpfr_digamma_approx() 83 if (expu < exps - (mpfr_exp_t) p) in mpfr_digamma_approx() 86 if (MPFR_GET_EXP (s) < exps) in mpfr_digamma_approx() 87 e <<= exps - MPFR_GET_EXP (s); in mpfr_digamma_approx() 90 while (expu < exps) in mpfr_digamma_approx()
|
/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | traits.c | 53 Expressions *exps; // collected results member 77 p->exps->push(e); in fptraits() 477 Expressions* exps = new Expressions; in pointerBitmap() local 816 Expressions *exps = new Expressions(); in semanticTraits() local 836 p.exps = exps; in semanticTraits() 841 ex = new TupleExp(e->loc, exps); in semanticTraits() 888 Expressions *exps = new Expressions(); in semanticTraits() local 1081 Expressions *exps = new Expressions; in semanticTraits() local 1301 (*exps)[i] = se; in semanticTraits() 1442 Expressions *exps = new Expressions(); in semanticTraits() local [all …]
|
H A D | traits.d | 416 foreach (size_t i; 1 .. exps.dim) in pointerBitmap() 1129 exps.push(e); in semanticTraits() 1188 exps.push(e); in semanticTraits() 1248 auto exps = new Expressions(); in semanticTraits() local 1467 auto exps = new Expressions; in semanticTraits() local 1705 (*exps)[i] = se; in semanticTraits() 1829 auto exps = new Expressions(); in semanticTraits() local 1855 exps.push(e); in semanticTraits() 1972 auto exps = new Expressions(3); in semanticTraits() local 1983 auto exps = new Expressions(0); in semanticTraits() local [all …]
|
H A D | attrib.d | 709 exps = new Expressions(); in this() 710 exps.push(exp); in this() 717 this.exps = exps; in this() 730 Expression.arraySyntaxCopy(exps), in syntaxCopy() 1324 Expressions* exps; variable 1332 this.exps = exps; in this() 1436 auto exps = new Expressions(); in getAttributes() local 1440 exps.push(new TupleExp(Loc.initial, atts)); in getAttributes() 1441 return exps; in getAttributes() 1563 auto exps = uda.isTupleExp().exps; in foreachUda() [all …]
|
H A D | declaration.c | 1028 Expressions *exps = new Expressions(); in semantic() local 1055 iexps->insert(pos, te->exps); in semantic() 1066 exps->setDim(1); in semantic() 1067 (*exps)[0] = ve; in semantic() 1090 if ((*exps)[0] != ve) in semantic() 1097 iexps->insert(pos, exps); in semantic() 1112 size_t tedim = te->exps->dim; in semantic() 1121 Objects *exps = new Objects(); in semantic() local 1122 exps->setDim(nelems); in semantic() 1139 einit = (*te->exps)[i]; in semantic() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | traits.c | 53 Expressions *exps; // collected results member 77 p->exps->push(e); in fptraits() 477 Expressions* exps = new Expressions; in pointerBitmap() local 816 Expressions *exps = new Expressions(); in semanticTraits() local 836 p.exps = exps; in semanticTraits() 841 ex = new TupleExp(e->loc, exps); in semanticTraits() 888 Expressions *exps = new Expressions(); in semanticTraits() local 1081 Expressions *exps = new Expressions; in semanticTraits() local 1301 (*exps)[i] = se; in semanticTraits() 1442 Expressions *exps = new Expressions(); in semanticTraits() local [all …]
|
H A D | declaration.c | 1028 Expressions *exps = new Expressions(); in semantic() local 1055 iexps->insert(pos, te->exps); in semantic() 1066 exps->setDim(1); in semantic() 1067 (*exps)[0] = ve; in semantic() 1090 if ((*exps)[0] != ve) in semantic() 1097 iexps->insert(pos, exps); in semantic() 1112 size_t tedim = te->exps->dim; in semantic() 1121 Objects *exps = new Objects(); in semantic() local 1122 exps->setDim(nelems); in semantic() 1139 einit = (*te->exps)[i]; in semantic() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/rsa/ |
H A D | rsa_lib.c | 505 pinfo->d = exps[i]; in RSA_set0_multi_prime_params() 618 if (exps != NULL || coeffs != NULL) { in RSA_get0_multi_prime_crt_params() 625 if (exps != NULL) in RSA_get0_multi_prime_crt_params() 626 exps[i] = pinfo->d; in RSA_get0_multi_prime_crt_params() 752 if (primes == NULL || exps == NULL || coeffs == NULL) in DEFINE_STACK_OF() 757 || pnum != sk_BIGNUM_num(exps) in DEFINE_STACK_OF() 764 sk_BIGNUM_value(exps, 1), in DEFINE_STACK_OF() 782 BIGNUM *exp = sk_BIGNUM_value(exps, i); in DEFINE_STACK_OF() 859 sk_BIGNUM_const_push(exps, RSA_get0_dmp1(r)); in DEFINE_SPECIAL_STACK_OF_CONST() 860 sk_BIGNUM_const_push(exps, RSA_get0_dmq1(r)); in DEFINE_SPECIAL_STACK_OF_CONST() [all …]
|
H A D | rsa_backend.c | 68 STACK_OF(BIGNUM) *factors = NULL, *exps = NULL, *coeffs = NULL; in ossl_rsa_fromdata() 93 || !collect_numbers(exps = sk_BIGNUM_new_null(), params, in ossl_rsa_fromdata() 101 && !ossl_rsa_set0_all_params(rsa, factors, exps, coeffs)) in ossl_rsa_fromdata() 107 sk_BIGNUM_free(exps); in ossl_rsa_fromdata() 116 sk_BIGNUM_pop_free(exps, BN_free); in ossl_rsa_fromdata() 129 STACK_OF(BIGNUM_const) *exps = sk_BIGNUM_const_new_null(); in DEFINE_SPECIAL_STACK_OF_CONST() 132 if (rsa == NULL || factors == NULL || exps == NULL || coeffs == NULL) in DEFINE_SPECIAL_STACK_OF_CONST() 136 ossl_rsa_get0_all_params(rsa, factors, exps, coeffs); in DEFINE_SPECIAL_STACK_OF_CONST() 145 int numexps = sk_BIGNUM_const_num(exps); in DEFINE_SPECIAL_STACK_OF_CONST() 163 ossl_rsa_mp_exp_names, exps) in DEFINE_SPECIAL_STACK_OF_CONST() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/doc/internal/man3/ |
H A D | ossl_rsa_get0_all_params.pod | 13 STACK_OF(BIGNUM_const) *exps, 16 const STACK_OF(BIGNUM) *exps, 23 I<exps> and I<coeffs>. The B<RSA> object takes ownership of the BIGNUMs, 28 I<primes>, I<exps> and I<coeffs>. The B<RSA> object retains ownership of the 44 the I<exps> stack contains I<dP>, I<dQ>, and then the rest of the exponents
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
H A D | rsa_lib.c | 263 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[], in RSA_set0_multi_prime_params() argument 270 if (primes == NULL || exps == NULL || coeffs == NULL || pnum == 0) in RSA_set0_multi_prime_params() 284 if (primes[i] != NULL && exps[i] != NULL && coeffs[i] != NULL) { in RSA_set0_multi_prime_params() 289 pinfo->d = exps[i]; in RSA_set0_multi_prime_params() 388 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[], in RSA_get0_multi_prime_crt_params() argument 397 if (exps != NULL || coeffs != NULL) { in RSA_get0_multi_prime_crt_params() 404 if (exps != NULL) in RSA_get0_multi_prime_crt_params() 405 exps[i] = pinfo->d; in RSA_get0_multi_prime_crt_params()
|
/netbsd/bin/ed/ |
H A D | re.c | 63 char *exps; in get_compiled_pattern() local 73 } else if ((exps = extract_pattern(delimiter)) == NULL) in get_compiled_pattern() 84 if ((n = regcomp(expr, exps, ere)) != 0) { in get_compiled_pattern()
|
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/ |
H A D | encode_key2text.c | 649 STACK_OF(BIGNUM_const) *exps = NULL; in rsa_to_text() 661 exps = sk_BIGNUM_const_new_null(); in rsa_to_text() 664 if (factors == NULL || exps == NULL || coeffs == NULL) { in rsa_to_text() 680 ossl_rsa_get0_all_params((RSA *)rsa, factors, exps, coeffs); in rsa_to_text() 709 sk_BIGNUM_const_value(exps, 0))) in rsa_to_text() 712 sk_BIGNUM_const_value(exps, 1))) in rsa_to_text() 726 sk_BIGNUM_const_value(exps, i))) in rsa_to_text() 788 sk_BIGNUM_const_free(exps); in rsa_to_text()
|