/freebsd/contrib/llvm-project/libcxx/src/include/ryu/ |
H A D | d2fixed_full_table.h | 62 { 1u, 72057594037927936u, 0u }, 63 { 699646928636035157u, 72057594u, 0u }, 64 { 1u, 0u, 256u }, 65 { 11902091922964236229u, 4722366482869u, 0u }, 66 { 6760415703743915872u, 4722u, 0u }, 67 { 1u, 0u, 16777216u }, 68 { 13369850649504950658u, 309485009821345068u, 0u }, 69 { 15151142278969419334u, 309485009u, 0u }, 70 { 1u, 0u, 75511627776u }, 72 { 12367138975830625353u, 20282409603651u, 0u }, [all …]
|
H A D | d2s_full_table.h | 199 { 0u, 72057594037927936u }, { 0u, 90071992547409920u }, 200 { 0u, 112589990684262400u }, { 0u, 140737488355328000u }, 201 { 0u, 87960930222080000u }, { 0u, 109951162777600000u }, 202 { 0u, 137438953472000000u }, { 0u, 85899345920000000u }, 203 { 0u, 107374182400000000u }, { 0u, 134217728000000000u }, 204 { 0u, 83886080000000000u }, { 0u, 104857600000000000u }, 205 { 0u, 131072000000000000u }, { 0u, 81920000000000000u }, 206 { 0u, 102400000000000000u }, { 0u, 128000000000000000u }, 207 { 0u, 80000000000000000u }, { 0u, 100000000000000000u }, 208 { 0u, 125000000000000000u }, { 0u, 78125000000000000u }, [all …]
|
/freebsd/sys/dev/ic/ |
H A D | quicc.h | 41 #define QUICC_PRAM_BASE_SCC(u) (QUICC_PRAM_BASE + QUICC_PRAM_SIZE_SCC * (u)) argument 44 #define QUICC_PRAM_SCC_RBASE(u) (QUICC_PRAM_BASE_SCC(u) + 0x00) argument 45 #define QUICC_PRAM_SCC_TBASE(u) (QUICC_PRAM_BASE_SCC(u) + 0x02) argument 46 #define QUICC_PRAM_SCC_RFCR(u) (QUICC_PRAM_BASE_SCC(u) + 0x04) argument 47 #define QUICC_PRAM_SCC_TFCR(u) (QUICC_PRAM_BASE_SCC(u) + 0x05) argument 48 #define QUICC_PRAM_SCC_MRBLR(u) (QUICC_PRAM_BASE_SCC(u) + 0x06) argument 49 #define QUICC_PRAM_SCC_RBPTR(u) (QUICC_PRAM_BASE_SCC(u) + 0x10) argument 50 #define QUICC_PRAM_SCC_TBPTR(u) (QUICC_PRAM_BASE_SCC(u) + 0x20) argument 57 #define QUICC_PRAM_SCC_UART_MAX_IDL(u) (QUICC_PRAM_BASE_SCC(u) + 0x38) argument 58 #define QUICC_PRAM_SCC_UART_IDLC(u) (QUICC_PRAM_BASE_SCC(u) + 0x3a) argument [all …]
|
/freebsd/contrib/gdtoa/ |
H A D | strtodI.c | 41 double u; local 44 u = ulp(d); 47 u *= 0.5; 48 return u; 62 U *u; local 65 u = (U*)dd; 69 dval(&u[0]) = dval(&u[1]) = 0.; 73 dval(&u[0]) = dval(&u[1]) = 0.; 77 word0(&u[0]) = 0x80100000L; 79 word0(&u[1]) = 0x100000L; [all …]
|
H A D | strtopdd.c | 53 U *u; local 61 u = (U*)dd; 65 u->d[0] = u->d[1] = 0.; 69 u->L[_1] = (bits[1] >> 21 | bits[2] << 11) & 0xffffffffL; 70 u->L[_0] = (bits[2] >> 21) | ((bits[3] << 11) & 0xfffff) 104 u->L[2] = u->L[3] = 0; 107 u->L[2+_1] = bits[0]; 108 u->L[2+_0] = (bits[1] & 0xfffff) | (exp << 20); 119 u->L[2] = u->L[3] = 0; 120 u->L[_1] = bits[0]; [all …]
|
H A D | arithchk.c | 49 } u; in Lcheck() local 57 u.L[0] = u.L[1] = 0; in Lcheck() 58 u.d = 1e13; in Lcheck() 59 if (u.L[0] == 1117925532 && u.L[1] == -448790528) in Lcheck() 61 if (u.L[1] == 1117925532 && u.L[0] == -448790528) in Lcheck() 63 if (u.L[0] == -2065213935 && u.L[1] == 10752) in Lcheck() 65 if (u.L[0] == 1267827943 && u.L[1] == 704643072) in Lcheck() 76 } u; in icheck() local 84 u.L[0] = u.L[1] = 0; in icheck() 85 u.d = 1e13; in icheck() [all …]
|
/freebsd/sys/dev/xen/xenstore/ |
H A D | xenstore_dev.c | 79 } u; member 94 xs_queue_reply(struct xs_dev_data *u, const char *data, unsigned int len) in xs_queue_reply() argument 98 for (i = 0; i < len; i++, u->read_prod++) in xs_queue_reply() 99 u->read_buffer[MASK_READ_IDX(u->read_prod)] = data[i]; in xs_queue_reply() 101 KASSERT((u->read_prod - u->read_cons) <= sizeof(u->read_buffer), in xs_queue_reply() 104 wakeup(u); in xs_queue_reply() 105 selwakeup(&u->ev_rsel); in xs_queue_reply() 121 xs_dev_return_error(struct xs_dev_data *u, int error, int req_id, int tx_id) in xs_dev_return_error() argument 138 mtx_lock(&u->lock); in xs_dev_return_error() 139 xs_queue_reply(u, (char *)&msg, sizeof(msg)); in xs_dev_return_error() [all …]
|
/freebsd/crypto/openssl/crypto/modes/ |
H A D | xts128.c | 30 u64 u[2]; in CRYPTO_xts128_encrypt() member 49 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt() 50 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt() 52 scratch.u[0] = ((u64_a1 *)inp)[0] ^ tweak.u[0]; in CRYPTO_xts128_encrypt() 53 scratch.u[1] = ((u64_a1 *)inp)[1] ^ tweak.u[1]; in CRYPTO_xts128_encrypt() 57 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt() 58 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt() 61 ((u64_a1 *)out)[0] = scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt() 62 ((u64_a1 *)out)[1] = scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt() 75 carry = (unsigned int)(tweak.u[0] >> 63); in CRYPTO_xts128_encrypt() [all …]
|
/freebsd/lib/msun/src/ |
H A D | e_sqrtl.c | 39 union IEEEl2bits u; in inc() local 41 u.e = x; in inc() 42 if (++u.bits.manl == 0) { in inc() 43 if (++u.bits.manh == 0) { in inc() 44 u.bits.exp++; in inc() 45 u.bits.manh |= LDBL_NBIT; in inc() 48 return (u.e); in inc() 55 union IEEEl2bits u; in dec() local 57 u.e = x; in dec() 58 if (u.bits.manl-- == 0) { in dec() [all …]
|
H A D | s_ceill.c | 29 #define INC_MANH(u, c) do { \ argument 30 uint64_t o = u.bits.manh; \ 31 u.bits.manh += (c); \ 32 if (u.bits.manh < o) \ 33 u.bits.exp++; \ 37 #define INC_MANH(u, c) do { \ argument 38 uint64_t o = u.bits.manh; \ 39 u.bits.manh += (c); \ 40 if (u.bits.manh < o) { \ 41 u.bits.exp++; \ [all …]
|
H A D | s_floorl.c | 29 #define INC_MANH(u, c) do { \ argument 30 uint64_t o = u.bits.manh; \ 31 u.bits.manh += (c); \ 32 if (u.bits.manh < o) \ 33 u.bits.exp++; \ 37 #define INC_MANH(u, c) do { \ argument 38 uint64_t o = u.bits.manh; \ 39 u.bits.manh += (c); \ 40 if (u.bits.manh < o) { \ 41 u.bits.exp++; \ [all …]
|
/freebsd/sys/dev/xen/evtchn/ |
H A D | evtchn_dev.c | 125 find_evtchn(struct per_user_data *u, evtchn_port_t port) in find_evtchn() argument 131 return (RB_FIND(evtchn_tree, &u->evtchns, &tmp)); in find_evtchn() 158 struct per_user_data *u; in evtchn_interrupt() local 161 u = evtchn->user; in evtchn_interrupt() 167 mtx_lock(&u->ring_prod_mutex); in evtchn_interrupt() 168 if ((u->ring_prod - u->ring_cons) < EVTCHN_RING_SIZE) { in evtchn_interrupt() 169 u->ring[EVTCHN_RING_MASK(u->ring_prod)] = evtchn->port; in evtchn_interrupt() 171 if (u->ring_cons == u->ring_prod++) { in evtchn_interrupt() 172 wakeup(u); in evtchn_interrupt() 173 selwakeup(&u->ev_rsel); in evtchn_interrupt() [all …]
|
/freebsd/sys/dev/xen/efi/ |
H A D | pvefi.c | 57 .u.efi_runtime_call.function = XEN_EFI_get_time, in get_time() 59 struct xenpf_efi_runtime_call *call = &op.u.efi_runtime_call; in get_time() 66 tm->tm_year = call->u.get_time.time.year; in get_time() 67 tm->tm_mon = call->u.get_time.time.month; in get_time() 68 tm->tm_mday = call->u.get_time.time.day; in get_time() 69 tm->tm_hour = call->u.get_time.time.hour; in get_time() 70 tm->tm_min = call->u.get_time.time.min; in get_time() 71 tm->tm_sec = call->u.get_time.time.sec; in get_time() 72 tm->tm_nsec = call->u.get_time.time.ns; in get_time() 73 tm->tm_tz = call->u.get_time.time.tz; in get_time() [all …]
|
/freebsd/contrib/bearssl/src/symcipher/ |
H A D | chacha20_ct.c | 34 size_t u; in br_chacha20_ct_run() local 41 for (u = 0; u < 8; u ++) { in br_chacha20_ct_run() 42 kw[u] = br_dec32le((const unsigned char *)key + (u << 2)); in br_chacha20_ct_run() 44 for (u = 0; u < 3; u ++) { in br_chacha20_ct_run() 45 ivw[u] = br_dec32le((const unsigned char *)iv + (u << 2)); in br_chacha20_ct_run() 86 for (u = 0; u < 4; u ++) { in br_chacha20_ct_run() 87 br_enc32le(&tmp[u << 2], state[u] + CW[u]); in br_chacha20_ct_run() 89 for (u = 4; u < 12; u ++) { in br_chacha20_ct_run() 90 br_enc32le(&tmp[u << 2], state[u] + kw[u - 4]); in br_chacha20_ct_run() 93 for (u = 13; u < 16; u ++) { in br_chacha20_ct_run() [all …]
|
/freebsd/contrib/bearssl/test/ |
H A D | test_x509.c | 209 size_t u; in HT_new() local 215 for (u = 0; u < ht->num_buckets; u ++) { in HT_new() 216 ht->buckets[u] = NULL; in HT_new() 267 size_t n, n2, u; in HT_expand() local 273 for (u = 0; u < n2; u ++) { in HT_expand() 274 new_buckets[u] = NULL; in HT_expand() 276 for (u = 0; u < n; u ++) { in HT_expand() 280 for (e = ht->buckets[u]; e != NULL; e = f) { in HT_expand() 367 size_t u; in HT_clear() local 369 for (u = 0; u < ht->num_buckets; u ++) { in HT_clear() [all …]
|
/freebsd/lib/libc/gen/ |
H A D | fpclassify.c | 42 union IEEEf2bits u; in __fpclassifyf() local 44 u.f = f; in __fpclassifyf() 45 if (u.bits.exp == 0) { in __fpclassifyf() 46 if (u.bits.man == 0) in __fpclassifyf() 50 if (u.bits.exp == 255) { in __fpclassifyf() 51 if (u.bits.man == 0) in __fpclassifyf() 61 union IEEEd2bits u; in __fpclassifyd() local 63 u.d = d; in __fpclassifyd() 64 if (u.bits.exp == 0) { in __fpclassifyd() 65 if ((u.bits.manl | u.bits.manh) == 0) in __fpclassifyd() [all …]
|
/freebsd/usr.bin/gzip/ |
H A D | zuncompress.c | 126 } u; member 191 zs->u.r.zs_roffset = 0; in zdopen() 192 zs->u.r.zs_size = 0; in zdopen() 256 for (zs->u.r.zs_code = 255; zs->u.r.zs_code >= 0; zs->u.r.zs_code--) { in zread() 257 tab_prefixof(zs->u.r.zs_code) = 0; in zread() 258 tab_suffixof(zs->u.r.zs_code) = (char_type) zs->u.r.zs_code; in zread() 262 zs->u.r.zs_oldcode = -1; in zread() 263 zs->u.r.zs_stackp = de_stack; in zread() 265 while ((zs->u.r.zs_code = getcode(zs)) > -1) { in zread() 267 if ((zs->u.r.zs_code == CLEAR) && zs->zs_block_compress) { in zread() [all …]
|
/freebsd/sys/dev/hptmv/ |
H A D | gui_lib.c | 92 if ((pVDevice->u.array.dArStamp != 0) && (pVDevice == p)) in check_VDevice_valid() 128 if(pVDevice->u.array.rf_need_rebuild && !pVDevice->u.array.rf_duplicate_and_create) in get_array_flag() 132 if(pVDevice->u.array.rf_rebuilding) in get_array_flag() 136 if(pVDevice->u.array.rf_verifying) in get_array_flag() 140 if(pVDevice->u.array.rf_initializing) in get_array_flag() 144 if(pVDevice->u.array.rf_broken) in get_array_flag() 152 if(pVDevice->u.array.rf_newly_created) in get_array_flag() 160 if(pVDevice->u.array.rf_auto_rebuild) in get_array_flag() 163 for(i = 0; i < pVDevice->u.array.bArnMember; i++) in get_array_flag() 165 PVDevice pMember = pVDevice->u.array.pMember[i]; in get_array_flag() [all …]
|
/freebsd/crypto/openssh/ |
H A D | smult_curve25519_ref.c | 14 unsigned int u; in add() local 15 u = 0; in add() 16 for (j = 0;j < 31;++j) { u += a[j] + b[j]; out[j] = u & 255; u >>= 8; } in add() 17 u += a[31] + b[31]; out[31] = u; in add() 23 unsigned int u; in sub() local 24 u = 218; in sub() 26 u += a[j] + 65280 - b[j]; in sub() 27 out[j] = u & 255; in sub() 28 u >>= 8; in sub() 30 u += a[31] - b[31]; in sub() [all …]
|
/freebsd/contrib/bearssl/tools/ |
H A D | verify.c | 37 size_t u; in rsa_bit_length() local 40 for (u = 0; u < pk->nlen; u ++) { in rsa_bit_length() 41 if (pk->n[u] != 0) { in rsa_bit_length() 45 if (u == pk->nlen) { in rsa_bit_length() 48 bl = (unsigned)(pk->nlen - u - 1) << 3; in rsa_bit_length() 49 x = pk->n[u]; in rsa_bit_length() 61 size_t u; in print_rsa() local 64 for (u = 0; u < pk->nlen; u ++) { in print_rsa() 65 printf("%02X", pk->n[u]); in print_rsa() 69 for (u = 0; u < pk->elen; u ++) { in print_rsa() [all …]
|
H A D | names.c | 535 size_t u; in get_algo_name() local 537 for (u = 0; algo_names[u].long_name; u ++) { in get_algo_name() 538 if (impl == algo_names[u].impl) { in get_algo_name() 540 ? algo_names[u].long_name in get_algo_name() 541 : algo_names[u].short_name; in get_algo_name() 544 for (u = 0; algo_names_dyn[u].long_name; u ++) { in get_algo_name() 545 if (impl == algo_names_dyn[u].get()) { in get_algo_name() 547 ? algo_names_dyn[u].long_name in get_algo_name() 548 : algo_names_dyn[u].short_name; in get_algo_name() 558 size_t u; in get_curve_name() local [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_internal-cipher.c | 39 } u; member 57 if (key_len > sizeof(ctx->u.rc4.key)) { in crypto_cipher_init() 61 ctx->u.rc4.keylen = key_len; in crypto_cipher_init() 62 os_memcpy(ctx->u.rc4.key, key, key_len); in crypto_cipher_init() 65 ctx->u.aes.ctx_enc = aes_encrypt_init(key, key_len); in crypto_cipher_init() 66 if (ctx->u.aes.ctx_enc == NULL) { in crypto_cipher_init() 70 ctx->u.aes.ctx_dec = aes_decrypt_init(key, key_len); in crypto_cipher_init() 71 if (ctx->u.aes.ctx_dec == NULL) { in crypto_cipher_init() 72 aes_encrypt_deinit(ctx->u.aes.ctx_enc); in crypto_cipher_init() 76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE); in crypto_cipher_init() [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | parse_units.c | 59 const struct units *u; in parse_something() local 61 for (u = units; u->name; ++u) { in parse_something() 62 if (strcasecmp (u->name, def_unit) == 0) { in parse_something() 63 def_mult = u->mult; in parse_something() 67 if (u->name == NULL) in parse_something() 75 const struct units *u, *partial_unit; in parse_something() local 112 for (u = units; u->name; ++u) { in parse_something() 113 if (strncasecmp (p, u->name, u_len) == 0) { in parse_something() 114 if (u_len == strlen (u->name)) { in parse_something() 116 res = (*func)(res, val, u->mult); in parse_something() [all …]
|
/freebsd/contrib/bearssl/src/aead/ |
H A D | ccm.c | 62 unsigned u, q; in br_ccm_reset() local 80 for (u = 0; u < q; u ++) { in br_ccm_reset() 81 tmp[15 - u] = (unsigned char)data_len; in br_ccm_reset() 215 size_t u; in br_ccm_run() local 222 for (u = 0; u < clen; u ++) { in br_ccm_run() 225 w = ctx->buf[ptr + u]; in br_ccm_run() 226 x = dbuf[u]; in br_ccm_run() 227 ctx->buf[ptr + u] = x; in br_ccm_run() 228 dbuf[u] = w ^ x; in br_ccm_run() 231 for (u = 0; u < clen; u ++) { in br_ccm_run() [all …]
|
/freebsd/sys/contrib/zstd/lib/dictBuilder/ |
H A D | zdict.c | 86 size_t u; in ZDICT_printHex() local 87 for (u=0; u<length; u++) { in ZDICT_printHex() 88 BYTE c = b[u]; in ZDICT_printHex() 272 U32 u, patternEnd = 6; in ZDICT_analyzePos() local 275 for (u=1; u<patternEnd; u++) in ZDICT_analyzePos() 276 doneMarks[pos+u] = 1; in ZDICT_analyzePos() 422 size_t u; in isIncluded() local 424 for (u=0; u<length; u++) { /* works because end of buffer is a noisy guard band */ in isIncluded() 425 if (ip[u] != into[u]) break; in isIncluded() 428 return u==length; in isIncluded() [all …]
|