Home
last modified time | relevance | path

Searched refs:accum (Results 1 – 24 of 24) sorted by relevance

/freebsd-12.1/contrib/mandoc/
H A Dpreconv.c37 unsigned int accum; in preconv_encode() local
51 accum = *cu & 0x1f; in preconv_encode()
52 if (accum < 0x02) /* Obfuscated ASCII. */ in preconv_encode()
56 accum = *cu & 0x0f; in preconv_encode()
59 accum = *cu & 0x07; in preconv_encode()
60 if (accum > 0x04) /* Beyond Unicode. */ in preconv_encode()
86 accum <<= 6; in preconv_encode()
87 accum += *cu & 0x3f; in preconv_encode()
91 assert(accum > 0x7f); in preconv_encode()
92 assert(accum < 0x110000); in preconv_encode()
[all …]
/freebsd-12.1/contrib/tcpdump/
H A Dchecksum.c94 register uint16_t accum; in init_crc10_table() local
99 accum = ((unsigned short) i << 2); in init_crc10_table()
102 if ((accum <<= 1) & 0x400) accum ^= CRC10_POLYNOMIAL; in init_crc10_table()
104 verify_crc10_table[i] = accum; in init_crc10_table()
113 verify_crc10_cksum(uint16_t accum, const u_char *p, int length) in verify_crc10_cksum() argument
119 accum = ((accum << 8) & 0x3ff) in verify_crc10_cksum()
120 ^ crc10_table[( accum >> 2) & 0xff] in verify_crc10_cksum()
123 return accum; in verify_crc10_cksum()
/freebsd-12.1/crypto/openssl/crypto/ec/curve448/
H A Dscalar.c58 chain = (chain + accum[i]) - sub->limb[i]; in sc_subx()
76 c448_word_t accum[C448_SCALAR_LIMBS + 1] = { 0 }; in sc_montmul() local
86 accum[j] = (c448_word_t)chain; in sc_montmul()
89 accum[j] = (c448_word_t)chain; in sc_montmul()
91 mand = accum[0] * MONTGOMERY_FACTOR; in sc_montmul()
97 accum[j - 1] = (c448_word_t)chain; in sc_montmul()
100 chain += accum[j]; in sc_montmul()
102 accum[j - 1] = (c448_word_t)chain; in sc_montmul()
106 sc_subx(out, accum, sc_p, sc_p, hi_carry); in sc_montmul()
156 c448_dsword_t accum = 0; in curve448_scalar_decode() local
[all …]
/freebsd-12.1/sbin/dhclient/
H A Dhash.c68 int accum = 0, i = len; in do_hash() local
72 accum += *s++; in do_hash()
74 while (accum > 255) in do_hash()
75 accum = (accum & 255) + (accum >> 8); in do_hash()
77 return (accum % size); in do_hash()
/freebsd-12.1/sys/dev/sound/pcm/
H A Dfeeder_matrix.c129 intpcm64_t accum; \
151 accum = 0; \
157 accum += v; \
160 accum = (accum * info->matrix[i].mul) >> \
169 accum); \
251 intpcm64_t accum; in feed_matrix_apply_generic() local
270 accum = 0; in feed_matrix_apply_generic()
275 accum += v; in feed_matrix_apply_generic()
278 accum = (accum * info->matrix[i].mul) >> in feed_matrix_apply_generic()
281 FEEDMATRIX_CLIP_CHECK(accum, 32); in feed_matrix_apply_generic()
[all …]
/freebsd-12.1/sys/contrib/libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/
H A Daead_aes256gcm_aesni.c446 _mm_store_si128((__m128i *) accum, accv_); \
463 _mm_store_si128((__m128i *) accum, accv_); \
522 CRYPTO_ALIGN(16) unsigned char accum[16]; in crypto_aead_aes256gcm_encrypt_detached_afternm()
556 _mm_store_si128((__m128i *) accum, accv); in crypto_aead_aes256gcm_encrypt_detached_afternm()
565 addmul(accum, ad + i, blocklen, H); in crypto_aead_aes256gcm_encrypt_detached_afternm()
612 addmul(accum, fb, 16, H); in crypto_aead_aes256gcm_encrypt_detached_afternm()
615 mac[i] = T[i] ^ accum[15 - i]; in crypto_aead_aes256gcm_encrypt_detached_afternm()
661 CRYPTO_ALIGN(16) unsigned char accum[16]; in crypto_aead_aes256gcm_decrypt_detached_afternm()
697 _mm_store_si128((__m128i *) accum, accv); in crypto_aead_aes256gcm_decrypt_detached_afternm()
704 addmul(accum, ad + i, blocklen, H); in crypto_aead_aes256gcm_decrypt_detached_afternm()
[all …]
/freebsd-12.1/libexec/bootpd/
H A Dhash.c174 unsigned accum; local
176 accum = 0;
178 accum <<= 1;
179 accum += (unsigned) (*string++ & 0xFF);
181 return accum;
/freebsd-12.1/contrib/subversion/subversion/libsvn_wc/
H A Dold-and-busted.c1026 struct entries_accumulator *accum = userData; in handle_start_tag() local
1036 svn_pool_clear(accum->scratch_pool); in handle_start_tag()
1042 svn_xml_signal_bailout(err, accum->parser); in handle_start_tag()
1049 svn_hash_sets(accum->entries, entry->name, entry); in handle_start_tag()
1064 struct entries_accumulator accum; in parse_entries_xml() local
1067 accum.entries = entries; in parse_entries_xml()
1068 accum.pool = result_pool; in parse_entries_xml()
1069 accum.scratch_pool = svn_pool_create(scratch_pool); in parse_entries_xml()
1072 svn_parser = svn_xml_make_parser(&accum, in parse_entries_xml()
1080 accum.parser = svn_parser; in parse_entries_xml()
[all …]
/freebsd-12.1/stand/ficl/
H A Dfloat.c840 float accum = 0.0f; in ficlParseFloatNumber() local
899 accum = accum * 10 + digit; in ficlParseFloatNumber()
920 accum += digit * mant; in ficlParseFloatNumber()
964 accum = -accum; in ficlParseFloatNumber()
976 accum *= power; in ficlParseFloatNumber()
979 PUSHFLOAT(accum); in ficlParseFloatNumber()
H A Dwords.c207 FICL_INT accum = 0; in ficlParseNumber() local
257 accum = accum * base + digit; in ficlParseNumber()
264 accum = -accum; in ficlParseNumber()
266 PUSHINT(accum); in ficlParseNumber()
3064 DPUNS accum; in toNumber() local
3075 accum = u64Pop(pVM->pStack); in toNumber()
3093 accum = m64Mac(accum, base, digit); in toNumber()
3096 u64Push(pVM->pStack, accum); in toNumber()
/freebsd-12.1/contrib/gdb/gdb/
H A Dax-general.c115 LONGEST accum = 0; in read_const() local
122 accum = (accum << 8) | x->buf[o + i]; in read_const()
124 return accum; in read_const()
H A Dada-lang.c1473 accum = 0; in ada_value_primitive_packed_val()
1483 accum |= in ada_value_primitive_packed_val()
1488 unpacked[targ] = accum & ~(~0L << HOST_CHAR_BIT); in ada_value_primitive_packed_val()
1490 accum >>= HOST_CHAR_BIT; in ada_value_primitive_packed_val()
1501 accum |= sign << accumSize; in ada_value_primitive_packed_val()
1504 accum >>= HOST_CHAR_BIT; in ada_value_primitive_packed_val()
1518 unsigned int accum, mask; in move_bits() local
1527 accum = (unsigned char) *source; in move_bits()
1534 accum = (accum << HOST_CHAR_BIT) + (unsigned char) *source; in move_bits()
1559 accum = accum + ((unsigned char) *source << accum_bits); in move_bits()
[all …]
/freebsd-12.1/sys/dev/ppbus/
H A Dppb_msq.h131 #define MS_SET(accum) { MS_OP_SET, {{ (accum) }}} argument
/freebsd-12.1/contrib/gcc/
H A Dexpmed.c2989 accum = expand_shift (LSHIFT_EXPR, mode, accum, in expand_mult_const()
2999 accum = force_operand (gen_rtx_PLUS (mode, accum, tem), in expand_mult_const()
3008 accum = force_operand (gen_rtx_MINUS (mode, accum, tem), in expand_mult_const()
3014 accum = expand_shift (LSHIFT_EXPR, mode, accum, in expand_mult_const()
3018 accum = force_operand (gen_rtx_PLUS (mode, accum, op0), in expand_mult_const()
3024 accum = expand_shift (LSHIFT_EXPR, mode, accum, in expand_mult_const()
3027 accum = force_operand (gen_rtx_MINUS (mode, accum, op0), in expand_mult_const()
3036 accum = force_operand (gen_rtx_PLUS (mode, accum, tem), in expand_mult_const()
3045 accum = force_operand (gen_rtx_MINUS (mode, tem, accum), in expand_mult_const()
3075 accum = expand_unop (mode, neg_optab, accum, target, 0); in expand_mult_const()
[all …]
H A Dgcse.c5528 extract_mentioned_regs_helper (rtx x, rtx accum) in extract_mentioned_regs_helper() argument
5538 return accum; in extract_mentioned_regs_helper()
5544 return alloc_EXPR_LIST (0, x, accum); in extract_mentioned_regs_helper()
5567 return accum; in extract_mentioned_regs_helper()
5590 accum = extract_mentioned_regs_helper (tem, accum); in extract_mentioned_regs_helper()
5597 accum = extract_mentioned_regs_helper (XVECEXP (x, i, j), accum); in extract_mentioned_regs_helper()
5601 return accum; in extract_mentioned_regs_helper()
H A DFSFChangeLog.109527 (DEBUG_REGISTER_NAMES): Add "accum".
9543 * mips/mips.c (mips_reg_names): Add "accum".
/freebsd-12.1/sys/dev/ppc/
H A Dppc.c1329 int accum = 0; in ppc_exec_microseq() local
1358 accum = ppc->ppc_accum; in ppc_exec_microseq()
1359 for (; accum; accum--) in ppc_exec_microseq()
1361 ppc->ppc_accum = accum; in ppc_exec_microseq()
1376 accum = ppc->ppc_accum; in ppc_exec_microseq()
1377 for (; accum; accum--) in ppc_exec_microseq()
1379 ppc->ppc_accum = accum; in ppc_exec_microseq()
/freebsd-12.1/sys/contrib/octeon-sdk/
H A Dcvmx-asm.h350 …e CVMX_VMULU(dest,mpcand,accum) asm volatile ("vmulu %[rd],%[rs],%[rt]" : [rd] "=d" (dest) : [rs] … argument
351 …ine CVMX_VMM0(dest,mpcand,accum) asm volatile ("vmm0 %[rd],%[rs],%[rt]" : [rd] "=d" (dest) : [rs] … argument
352 … CVMX_V3MULU(dest,mpcand,accum) asm volatile ("v3mulu %[rd],%[rs],%[rt]" : [rd] "=d" (dest) : [rs]… argument
/freebsd-12.1/contrib/wpa/src/wps/
H A Dwps_common.c214 unsigned int accum = 0; in wps_pin_checksum() local
216 accum += 3 * (pin % 10); in wps_pin_checksum()
218 accum += pin % 10; in wps_pin_checksum()
222 return (10 - accum % 10) % 10; in wps_pin_checksum()
/freebsd-12.1/contrib/gcc/config/mips/
H A Dpredicates.md265 rtx accum = XEXP (op, GET_CODE (op) == PLUS ? 1 : 0);
269 && REG_P (accum));
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64SchedThunderX2T99.td1225 // ASIMD absolute diff accum, D-form
1226 // ASIMD absolute diff accum, Q-form
1227 // ASIMD absolute diff accum long
1277 // ASIMD absolute diff accum, D-form
1280 // ASIMD absolute diff accum, Q-form
1283 // ASIMD absolute diff accum long
H A DAArch64SchedA57.td353 // ASIMD absolute diff accum, D-form
355 // ASIMD absolute diff accum, Q-form
357 // ASIMD absolute diff accum long
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.cpp2295 float accum = 0; in calculate_standard_deviation() local
2298 accum += delta * delta; in calculate_standard_deviation()
2301 return Dur(sqrtf(accum / (v.size() - 1))); in calculate_standard_deviation()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMScheduleA57.td979 // ASIMD absolute diff accum: 4(1) F1 for D-form, 5(2) F1 for Q-form
989 // ASIMD absolute diff accum long: 4(1) F1 for VABAL