/netbsd-current/external/lgpl3/mpc/dist/tests/ |
H A D | tdot.c | 26 mpc_t z[3], res; local 37 mpc_init2 (res, 17); 39 inex = mpc_dot (res, t, t, 0, MPC_RNDNN); 41 MPC_ASSERT (mpfr_zero_p (mpc_realref (res))); 42 MPC_ASSERT (mpfr_zero_p (mpc_imagref (res))); 43 MPC_ASSERT (mpfr_signbit (mpc_realref (res)) == 0); 44 MPC_ASSERT (mpfr_signbit (mpc_imagref (res)) == 0); 46 inex = mpc_dot (res, t, t, 1, MPC_RNDNN); 48 MPC_ASSERT (mpfr_regular_p (mpc_realref (res))); 49 MPC_ASSERT (mpfr_regular_p (mpc_imagref (res))); [all...] |
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/otp/ |
H A D | otp_md.c | 73 little_endian(unsigned char *res, size_t len) argument 79 t = res[i + 0]; res[i + 0] = res[i + 3]; res[i + 3] = t; 80 t = res[i + 1]; res[i + 1] = res[i + 2]; res[i + 2] = t; 90 unsigned char *res, 85 otp_md_init(OtpKey key, const char *pwd, const char *seed, const EVP_MD *md, int le, unsigned char *res, size_t ressz) argument 122 otp_md_next(OtpKey key, const EVP_MD *md, int le, unsigned char *res, size_t ressz) argument 146 otp_md_hash(const char *data, size_t len, const EVP_MD *md, int le, unsigned char *res, size_t ressz) argument 171 unsigned char res[16]; local 176 otp_md4_hash(const char *data, size_t len, unsigned char *res) argument 186 unsigned char res[16]; local 194 unsigned char res[16]; local 199 otp_md5_hash(const char *data, size_t len, unsigned char *res) argument 209 unsigned char res[16]; local 216 unsigned char res[20]; local 221 otp_sha_hash(const char *data, size_t len, unsigned char *res) argument 231 unsigned char res[20]; local [all...] |
/netbsd-current/external/gpl3/gcc/dist/libquadmath/math/ |
H A D | cacoshq.c | 25 __complex128 res; local 33 __real__ res = HUGE_VALQ; local 36 __imag__ res = nanq (""); local 38 __imag__ res = copysignq ((rcls == QUADFP_INFINITE local 46 __real__ res = HUGE_VALQ; local 49 __imag__ res = copysignq (signbitq (__real__ x) local 52 __imag__ res = nanq (""); local 56 __real__ res = nanq (""); local 58 __imag__ res = M_PI_2q; local 60 __imag__ res local 65 __real__ res = 0; local 66 __imag__ res = copysignq (M_PI_2q, __imag__ x); local 79 __real__ res = __real__ y; local 80 __imag__ res = -__imag__ y; local 84 __real__ res = -__real__ y; local 85 __imag__ res = __imag__ y; local [all...] |
H A D | cprojq.c | 27 __complex128 res; local 29 __real__ res = __builtin_inf (); local 30 __imag__ res = copysignq (0, __imag__ x); local 32 return res;
|
/netbsd-current/external/gpl3/gcc.old/dist/libquadmath/math/ |
H A D | cacoshq.c | 25 __complex128 res; local 33 __real__ res = HUGE_VALQ; local 36 __imag__ res = nanq (""); local 38 __imag__ res = copysignq ((rcls == QUADFP_INFINITE local 46 __real__ res = HUGE_VALQ; local 49 __imag__ res = copysignq (signbitq (__real__ x) local 52 __imag__ res = nanq (""); local 56 __real__ res = nanq (""); local 58 __imag__ res = M_PI_2q; local 60 __imag__ res local 65 __real__ res = 0; local 66 __imag__ res = copysignq (M_PI_2q, __imag__ x); local 79 __real__ res = __real__ y; local 80 __imag__ res = -__imag__ y; local 84 __real__ res = -__real__ y; local 85 __imag__ res = __imag__ y; local [all...] |
H A D | cprojq.c | 27 __complex128 res; local 29 __real__ res = __builtin_inf (); local 30 __imag__ res = copysignq (0, __imag__ x); local 32 return res;
|
/netbsd-current/external/lgpl3/mpfr/dist/src/ |
H A D | si_op.c | 33 int res; local 39 mpfr_get_prec(y), mpfr_log_prec, y, res)); 42 res = mpfr_add_ui (y, x, u, rnd_mode); 44 res = mpfr_sub_ui (y, x, - (unsigned long) u, rnd_mode); 46 return res; 52 int res; local 58 mpfr_get_prec(y), mpfr_log_prec, y, res)); 61 res = mpfr_sub_ui (y, x, u, rnd_mode); 63 res = mpfr_add_ui (y, x, - (unsigned long) u, rnd_mode); 65 return res; 71 int res; local 95 int res; local 119 int res; local 142 int res; local [all...] |
/netbsd-current/external/lgpl3/gmp/dist/mini-gmp/tests/ |
H A D | t-logops.c | 33 mpz_t a, b, res, ref; local 38 mpz_init (res); 44 mpz_and (res, a, b); 45 if (mpz_cmp (res, ref)) 50 dump ("r", res); 56 mpz_ior (res, a, b); 57 if (mpz_cmp (res, ref)) 62 dump ("r", res); 68 mpz_xor (res, a, b); 69 if (mpz_cmp (res, re [all...] |
/netbsd-current/external/bsd/ntp/dist/libntp/ |
H A D | vint64ops.c | 50 vint64 res; local 80 memset(&res, 0xFF, sizeof(res)); 82 return res; 85 memset(&res, 0, sizeof(res)); 99 res.Q_s = res.Q_s * base + digit; 101 /* res *= base, using 16x16->32 bit 106 accu = (uint32_t)res 135 int res; local 159 int res; local 182 vint64 res; local 201 vint64 res; local 220 vint64 res; local 239 vint64 res; local 258 vint64 res; local 277 vint64 res; local [all...] |
/netbsd-current/tests/fs/common/ |
H A D | fstest_ffs.c | 61 int res; local 71 res = system(cmd); 73 if (res != 0) 74 return res; 76 res = rump_init(); 77 if (res != 0) 78 return res; 88 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK); 89 if (res != 0) { 91 return res; 104 int res; local 126 int res; local 148 int res; local [all...] |
H A D | fstest_udf.c | 61 int res; local 74 res = system(cmd); 76 if (res != 0) 77 return res; 79 res = rump_init(); 80 if (res != 0) 81 return res; 92 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK); 93 if (res != 0) { 95 return res; 108 int res; local 130 int res; local 145 int res; local [all...] |
H A D | fstest_tmpfs.c | 57 int res; local 60 res = rump_init(); 61 if (res != 0) 62 return res; 90 int res; local 93 res = rump_sys_mkdir(path, 0777); 94 if (res == -1) 95 return res; 97 res = rump_sys_mount(MOUNT_TMPFS, path, flags, &args->ta_uargs, 99 return res; 105 int res; local [all...] |
/netbsd-current/external/bsd/am-utils/dist/amq/ |
H A D | amq_clnt.c | 55 static char res; local 57 memset((char *) &res, 0, sizeof(res)); 60 (XDRPROC_T_TYPE) xdr_void, &res, TIMEOUT) 64 return ((voidp) &res); 71 static amq_mount_tree_p res; local 73 memset((char *) &res, 0, sizeof(res)); 76 (XDRPROC_T_TYPE) xdr_amq_mount_tree_p, (SVC_IN_ARG_TYPE) &res, 80 return (&res); 87 static char res; local 103 static amq_sync_umnt res; local 120 static amq_mount_stats res; local 137 static amq_mount_tree_list res; local 153 static int res; local 168 static amq_mount_info_list res; local 182 static amq_map_info_list res; local 197 static int res; local 212 static amq_string res; local 227 static int res; local 242 static amq_string res; local [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/libbid/ |
H A D | bid_from_int.c | 39 UINT64 res; local 46 res = (unsigned int) x | 0xb1c0000000000000ull; 49 res = x | 0x31c0000000000000ull; // (exp << 53)) = biased exp. is 0 51 BID_RETURN (res); 63 UINT64 res; local 65 res = x | 0x31c0000000000000ull; // (exp << 53)) = biased exp. is 0 66 BID_RETURN (res); 85 UINT64 res; local 100 res = x_sign | 0x31c0000000000000ull | C; 102 res 190 UINT64 res; local 282 UINT128 res; local 304 UINT128 res; local 321 UINT128 res; local 344 UINT128 res; local [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/linux/x86/ |
H A D | futex.h | 36 long res; local 40 : "=a" (res) 44 if (__builtin_expect (res == -ENOSYS, 0)) 49 : "=a" (res) 59 long res; local 62 : "=a" (res) 66 if (__builtin_expect (res == -ENOSYS, 0)) 71 : "=a" (res) 85 long res; local 88 : "=a" (res) 107 long res; local [all...] |
/netbsd-current/external/gpl3/gcc/dist/libgcc/config/libbid/ |
H A D | bid_from_int.c | 39 UINT64 res; local 46 res = (unsigned int) x | 0xb1c0000000000000ull; 49 res = x | 0x31c0000000000000ull; // (exp << 53)) = biased exp. is 0 51 BID_RETURN (res); 63 UINT64 res; local 65 res = x | 0x31c0000000000000ull; // (exp << 53)) = biased exp. is 0 66 BID_RETURN (res); 85 UINT64 res; local 100 res = x_sign | 0x31c0000000000000ull | C; 102 res 190 UINT64 res; local 282 UINT128 res; local 304 UINT128 res; local 321 UINT128 res; local 344 UINT128 res; local [all...] |
/netbsd-current/external/bsd/libbind/dist/irs/ |
H A D | dns_p.h | 27 #define maybe_ok(res, nm, ok) (((res)->options & RES_NOCHECKNAME) != 0U || \ 29 #define maybe_hnok(res, hn) maybe_ok((res), (hn), res_hnok) 30 #define maybe_dnok(res, dn) maybe_ok((res), (dn), res_dnok) 37 struct __res_state *res; member in struct:dns_p
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/ |
H A D | bn_mp_montgomery_calc_normalization.c | 28 int x, bits, res; local 34 if ((res = mp_2expt (a, (b->used - 1) * DIGIT_BIT + bits - 1)) != MP_OKAY) { 35 return res; 45 if ((res = mp_mul_2 (a, a)) != MP_OKAY) { 46 return res; 49 if ((res = s_mp_sub (a, b, a)) != MP_OKAY) { 50 return res;
|
H A D | bn_mp_rand.c | 24 int res; local 37 if ((res = mp_add_d (a, d, a)) != MP_OKAY) { 38 return res; 42 if ((res = mp_lshd (a, 1)) != MP_OKAY) { 43 return res; 46 if ((res = mp_add_d (a, ((mp_digit) labs (rand ())), a)) != MP_OKAY) { 47 return res;
|
H A D | bn_mp_expt_d.c | 23 int res, x; local 26 if ((res = mp_init_copy (&g, a)) != MP_OKAY) { 27 return res; 35 if ((res = mp_sqr (c, c)) != MP_OKAY) { 37 return res; 42 if ((res = mp_mul (c, &g, c)) != MP_OKAY) { 44 return res;
|
H A D | bn_mp_reduce_2k_setup.c | 23 int res, p; local 26 if ((res = mp_init(&tmp)) != MP_OKAY) { 27 return res; 31 if ((res = mp_2expt(&tmp, p)) != MP_OKAY) { 33 return res; 36 if ((res = s_mp_sub(&tmp, a, &tmp)) != MP_OKAY) { 38 return res;
|
H A D | bn_mp_sqr.c | 24 int res; local 29 res = mp_toom_sqr(a, b); 35 res = mp_karatsuba_sqr (a, b); 44 res = fast_s_mp_sqr (a, b); 48 res = s_mp_sqr (a, b); 50 res = MP_VAL; 54 return res;
|
/netbsd-current/external/bsd/openldap/dist/contrib/ldapc++/src/ |
H A D | LDAPConnection.cpp | 36 LDAPResult* res=0; local 39 res = (LDAPResult*)msg->getNext(); 42 delete res; 45 int resCode=res->getResultCode(); 48 LDAPUrlList urls = res->getReferralUrls(); 49 delete res; 53 string srvMsg = res->getErrMsg(); 54 delete res; 59 delete res; 70 LDAPResult* res local 105 LDAPResult* res=0; local 145 LDAPResult* res=0; local 180 LDAPResult* res=0; local 215 LDAPResult* res=0; local 252 LDAPResult* res=0; local 289 LDAPResult* res=0; local 334 LDAPExtResult* res=0; local [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/z80/ |
H A D | bit.s | 85 res 0,a 86 res 0,b 87 res 0,c 88 res 0,d 89 res 0,e 90 res 0,h 91 res 0,l 92 res 0,(hl) 93 res 0,(ix+5) 94 res [all...] |
/netbsd-current/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_entry_link_resolver.c | 101 struct archive_entry_linkresolver *res; local 108 res = calloc(1, sizeof(struct archive_entry_linkresolver)); 109 if (res == NULL) 111 res->number_buckets = links_cache_initial_size; 112 res->buckets = calloc(res->number_buckets, sizeof(res->buckets[0])); 113 if (res->buckets == NULL) { 114 free(res); 117 return (res); 121 archive_entry_linkresolver_set_strategy(struct archive_entry_linkresolver *res, int fmt) argument 159 archive_entry_linkresolver_free(struct archive_entry_linkresolver *res) argument 173 archive_entry_linkify(struct archive_entry_linkresolver *res, struct archive_entry **e, struct archive_entry **f) argument 260 find_entry(struct archive_entry_linkresolver *res, struct archive_entry *entry) argument 312 next_entry(struct archive_entry_linkresolver *res, int mode) argument 351 insert_entry(struct archive_entry_linkresolver *res, struct archive_entry *entry) argument 383 grow_hash(struct archive_entry_linkresolver *res) argument 420 archive_entry_partial_links(struct archive_entry_linkresolver *res, unsigned int *links) argument [all...] |