/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/ |
H A D | 4.cc | 39 wstring res; // allow for "0x" + 16 hex digits (64-bit pointer) local 54 res = x; 55 iter_type ret1 = tp.put(res.begin(), oss, L' ', l); 56 wstring sanity1(res.begin(), ret1); 57 VERIFY( res == L"1798xxxxxxxxxxxxxx" ); 62 res = x; 63 iter_type ret2 = tp.put(res.begin(), oss, L' ', ld); 64 wstring sanity2(res.begin(), ret2); 65 VERIFY( res == L"1798xxxxxxxxxxxxxx" ); 70 res [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/acpi/ |
H A D | acpi_resource.c | 91 acpi_resource_parse_callback(ACPI_RESOURCE *res, void *context) argument 101 switch (res->Type) { 105 res->Data.FixedIo.Address, 106 res->Data.FixedIo.AddressLength)); 109 res->Data.FixedIo.Address, 110 res->Data.FixedIo.AddressLength); 114 if (res->Data.Io.Minimum == 115 res->Data.Io.Maximum) { 118 res->Data.Io.Minimum, 119 res 383 acpi_resource_print(device_t dev, struct acpi_resources *res) argument 461 acpi_resource_cleanup(struct acpi_resources *res) argument 510 acpi_res_io(struct acpi_resources *res, int idx) argument 522 acpi_res_iorange(struct acpi_resources *res, int idx) argument 534 acpi_res_mem(struct acpi_resources *res, int idx) argument 546 acpi_res_memrange(struct acpi_resources *res, int idx) argument 558 acpi_res_irq(struct acpi_resources *res, int idx) argument 570 acpi_res_drq(struct acpi_resources *res, int idx) argument 641 struct acpi_resources *res = arg; local 667 struct acpi_resources *res = context; local 677 struct acpi_resources *res = context; local 722 struct acpi_resources *res = context; local 746 struct acpi_resources *res = context; local 768 struct acpi_resources *res = context; local 791 struct acpi_resources *res = context; local 812 struct acpi_resources *res = context; local [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/ |
H A D | 4.cc | 40 wstring res; // allow for "0x" + 16 hex digits (64-bit pointer) local 55 res = x; 56 iter_type ret1 = tp.put(res.begin(), oss, L' ', l); 57 wstring sanity1(res.begin(), ret1); 58 VERIFY( res == L"1798xxxxxxxxxxxxxx" ); 63 res = x; 64 iter_type ret2 = tp.put(res.begin(), oss, L' ', ld); 65 wstring sanity2(res.begin(), ret2); 66 VERIFY( res == L"1798xxxxxxxxxxxxxx" ); 71 res [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/ |
H A D | bn_mp_sqrt.c | 23 int res; local 37 if ((res = mp_init_copy(&t1, arg)) != MP_OKAY) { 38 return res; 41 if ((res = mp_init(&t2)) != MP_OKAY) { 49 if ((res = mp_div(arg,&t1,&t2,NULL)) != MP_OKAY) { 52 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) { 55 if ((res = mp_div_2(&t1,&t1)) != MP_OKAY) { 60 if ((res = mp_div(arg,&t1,&t2,NULL)) != MP_OKAY) { 63 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) { 66 if ((res [all...] |
H A D | bn_mp_mul.c | 23 int res, neg; local 29 res = mp_toom_mul(a, b, c); 35 res = mp_karatsuba_mul (a, b, c); 51 res = fast_s_mp_mul_digs (a, b, c, digs); 55 res = s_mp_mul (a, b, c); /* uses s_mp_mul_digs */ 57 res = MP_VAL; 62 return res;
|
H A D | bn_mp_reduce_2k.c | 24 int p, res; local 26 if ((res = mp_init(&q)) != MP_OKAY) { 27 return res; 33 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { 39 if ((res = mp_mul_d(&q, d, &q)) != MP_OKAY) { 45 if ((res = s_mp_add(a, &q, a)) != MP_OKAY) { 56 return res;
|
H A D | bn_mp_reduce_2k_l.c | 27 int p, res; local 29 if ((res = mp_init(&q)) != MP_OKAY) { 30 return res; 36 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { 41 if ((res = mp_mul(&q, d, &q)) != MP_OKAY) { 46 if ((res = s_mp_add(a, &q, a)) != MP_OKAY) { 57 return res;
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | timegm.c | 58 time_t res = 0; local 75 res += is_leap(i) ? 366 : 365; 78 res += ndays[is_leap(tm->tm_year)][i]; 79 res += tm->tm_mday - 1; 80 res *= 24; 81 res += tm->tm_hour; 82 res *= 60; 83 res += tm->tm_min; 84 res *= 60; 85 res [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/export/samples/ |
H A D | sample-gai.c | 34 struct addrinfo hints, *res, *res0; local 49 for (res = res0; res; res = res->ai_next) { 50 error = getnameinfo(res->ai_addr, res->ai_addrlen, 54 error = getnameinfo(res->ai_addr, res->ai_addrlen, 62 res [all...] |
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpz/ |
H A D | tdiv_r_2exp.c | 24 mpz_tdiv_r_2exp (mpz_ptr res, mpz_srcptr in, mp_bitcnt_t cnt) argument 40 if (res->_mp_alloc < res_size) 41 _mpz_realloc (res, res_size); 43 res->_mp_d[limb_cnt] = x; 50 if (res->_mp_alloc < res_size) 51 _mpz_realloc (res, res_size); 61 if (res->_mp_alloc < res_size) 62 _mpz_realloc (res, res_size); 67 if (res != in) 68 MPN_COPY (res [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgcc/config/libbid/ |
H A D | bid128_round_integral.c | 34 UINT128 res = { {0xbaddbaddbaddbaddull, 0xbaddbaddbaddbaddull} 52 // if x = NaN, then res = Q (x) 64 res.w[1] = x.w[1] & 0xfc003fffffffffffull; // clear out also G[6]-G[16] 65 res.w[0] = x.w[0]; 68 res.w[1] = x.w[1] & 0xfc003fffffffffffull; // clear out G[6]-G[16] 69 res.w[0] = x.w[0]; 71 BID_RETURN (res) 75 res.w[1] = 0x7800000000000000ull; 76 res.w[0] = 0x0000000000000000ull; 79 res 82 BID_RETURN (res); variable 120 BID_RETURN (res); variable 132 BID_RETURN (res); variable 150 BID_RETURN (res); variable 168 BID_RETURN (res); variable 177 BID_RETURN (res); variable 220 BID_RETURN (res); variable 368 BID_RETURN (res); variable 374 BID_RETURN (res); variable 494 BID_RETURN (res); variable 500 BID_RETURN (res); variable 599 BID_RETURN (res); variable 609 BID_RETURN (res); variable 708 BID_RETURN (res); variable 718 BID_RETURN (res); variable 799 BID_RETURN (res); variable 804 BID_RETURN (res); variable 809 BID_RETURN (res); variable [all...] |
H A D | bid64_to_uint32.c | 42 unsigned int res; local 61 res = 0x80000000; 62 BID_RETURN (res); 82 res = 0x00000000; 83 BID_RETURN (res); 117 res = 0x80000000; 118 BID_RETURN (res); 129 res = 0x80000000; 130 BID_RETURN (res); 144 res 279 unsigned int res; local 556 unsigned int res; local 742 unsigned int res; local 953 unsigned int res; local 1172 unsigned int res; local 1397 unsigned int res; local 1592 unsigned int res; local 1812 unsigned int res; local 2028 unsigned int res; local [all...] |
H A D | bid64_to_uint64.c | 42 UINT64 res; local 61 res = 0x8000000000000000ull; 62 BID_RETURN (res); 82 res = 0x0000000000000000ull; 83 BID_RETURN (res); 117 res = 0x8000000000000000ull; 118 BID_RETURN (res); 129 res = 0x8000000000000000ull; 130 BID_RETURN (res); 145 res 277 UINT64 res; local 553 UINT64 res; local 738 UINT64 res; local 949 UINT64 res; local 1168 UINT64 res; local 1393 UINT64 res; local 1587 UINT64 res; local 1807 UINT64 res; local 2027 UINT64 res; local [all...] |
H A D | bid64_to_int64.c | 42 SINT64 res; local 61 res = 0x8000000000000000ull; 62 BID_RETURN (res); 82 res = 0x00000000; 83 BID_RETURN (res); 117 res = 0x8000000000000000ull; 118 BID_RETURN (res); 138 res = 0x8000000000000000ull; 139 BID_RETURN (res); 158 res 274 SINT64 res; local 547 SINT64 res; local 771 SINT64 res; local 1001 SINT64 res; local 1225 SINT64 res; local 1453 SINT64 res; local 1649 SINT64 res; local 1869 SINT64 res; local 2086 SINT64 res; local [all...] |
H A D | bid64_round_integral.c | 46 UINT64 res = 0xbaddbaddbaddbaddull; local 54 // UINT64 res is C* at first - represents up to 16 decimal digits <= 54 bits 70 res = x & 0xfdffffffffffffffull; 72 res = x; 74 BID_RETURN (res); 76 res = x_sign | 0x7800000000000000ull; 77 BID_RETURN (res); 98 res = x_sign | (((UINT64) exp + 398) << 53); 99 BID_RETURN (res); 108 res 507 UINT64 res = 0xbaddbaddbaddbaddull; local 657 UINT64 res = 0xbaddbaddbaddbaddull; local 809 UINT64 res = 0xbaddbaddbaddbaddull; local 961 UINT64 res = 0xbaddbaddbaddbaddull; local 1102 UINT64 res = 0xbaddbaddbaddbaddull; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/bsd/ |
H A D | gettimeofday.c | 22 int res; local 24 res = gettimeofday(tp, tzp); 25 if (res < 0) 26 return (res); 28 return (res); 42 return (res); 45 return (res);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/graphite/ |
H A D | block-5.c | 17 int res = 0; local 25 res += a[i][i]; 27 return res; 35 int i, j, res; local 44 res = foo (); 47 fprintf (stderr, "res = %d \n", res); 50 if (res != 1333300)
|
H A D | block-6.c | 15 int res = 0; local 23 res += a[i][i]; 25 return res; 33 int i, j, res; local 39 res = foo (); 42 fprintf (stderr, "res = %d \n", res); 45 if (res != 204007516)
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgcc/config/lm32/ |
H A D | _divsi3.c | 52 SItype res; local 72 res = __divsi3_table[(a << 4) + b]; 90 __asm__ ("divu %0, %1, %2": "=r" (res):"r" (a), "r" (b)); 92 res = __udivmodsi4 (a, b, 0); 95 res = -res; 98 return res;
|
/netbsd-6-1-5-RELEASE/sys/dev/hpc/ |
H A D | pckbd_encode.c | 53 int res; local 56 res = 0; 61 dataout[res++] = KBR_EXTENDED1; 62 dataout[res++] = (0x1d | updown); 68 dataout[res++] = KBR_EXTENDED0; 72 dataout[res++] = (datain | updown); 74 return (res);
|
/netbsd-6-1-5-RELEASE/lib/libpthread/ |
H A D | res_state.c | 82 res_state res; local 89 res = &st->st_res; 98 res = &st->st_res; 99 res->options = 0; 100 res_state_debug("alloc new", res); 102 if ((res->options & RES_INIT) == 0) { 103 if (res_ninit(res) == -1) { 109 return res; 114 __res_put_state(res_state res) argument 116 struct _res_st *st = (struct _res_st *)(void *)res; 131 static const char res[] = "_res is not supported for multi-threaded" local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/ |
H A D | lcl.c | 73 lcl->res = NULL; 102 if (lcl->res == NULL) { 103 struct __res_state *res; local 104 res = (struct __res_state *)malloc(sizeof *res); 105 if (res == NULL) 107 memset(res, 0, sizeof *res); 108 lcl_res_set(this, res, free); 111 if ((lcl->res 119 lcl_res_set(struct irs_acc *this, struct __res_state *res, void (*free_res)(void *)) argument [all...] |
H A D | nis.c | 115 if (nis->res == NULL) { 116 struct __res_state *res; local 117 res = (struct __res_state *)malloc(sizeof *res); 118 if (res == NULL) 120 memset(res, 0, sizeof *res); 121 nis_res_set(this, res, free); 124 if ((nis->res->options & RES_INIT) == 0 && 125 res_ninit(nis->res) < 132 nis_res_set(struct irs_acc *this, struct __res_state *res, void (*free_res)(void *)) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/ |
H A D | ntp_restrict.c | 164 restrict_u * res; local 167 UNLINK_HEAD_SLIST(res, resfree4, link); 168 if (res != NULL) 169 return res; 174 res = (void *)((char *)rl + (count - 1) * cb); 176 LINK_SLIST(resfree4, res, link); 177 res = (void *)((char *)res - cb); 179 NTP_INSIST(rl == res); 181 return res; 191 restrict_u * res; local 213 free_res( restrict_u * res, int v6 ) argument 267 restrict_u * res; local 287 restrict_u * res; local 319 restrict_u *res; local 485 restrict_u * res; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/i386/ |
H A D | sse4_1-pextrw.c | 35 int res[8], masks[8]; local 43 res[0] = _mm_extract_epi16 (val1.x, msk0); 44 res[1] = _mm_extract_epi16 (val1.x, msk1); 45 res[2] = _mm_extract_epi16 (val1.x, msk2); 46 res[3] = _mm_extract_epi16 (val1.x, msk3); 47 res[4] = _mm_extract_epi16 (val1.x, msk4); 48 res[5] = _mm_extract_epi16 (val1.x, msk5); 49 res[6] = _mm_extract_epi16 (val1.x, msk6); 50 res[7] = _mm_extract_epi16 (val1.x, msk7); 62 if (res[ [all...] |