Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/mandoc/
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()
70 if ((accum == 0x00 && ! (*cu & 0x20)) || /* Use 2-byte. */ in preconv_encode()
71 (accum == 0x0d && *cu & 0x20)) /* Surrogates. */ in preconv_encode()
75 if ((accum == 0x00 && ! (*cu & 0x30)) || /* Use 3-byte. */ in preconv_encode()
76 (accum == 0x04 && *cu & 0x30)) /* Beyond Unicode. */ in preconv_encode()
[all …]
/freebsd-12-stable/contrib/tcpdump/
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-stable/crypto/openssl/crypto/ec/curve448/
Dscalar.c49 const c448_word_t accum[C448_SCALAR_LIMBS], in sc_subx()
58 chain = (chain + accum[i]) - sub->limb[i]; in sc_subx()
76 c448_word_t accum[C448_SCALAR_LIMBS + 1] = { 0 }; in sc_montmul() local
85 chain += ((c448_dword_t) mand) * mier[j] + accum[j]; in sc_montmul()
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()
95 chain += (c448_dword_t) mand *mier[j] + accum[j]; in sc_montmul()
97 accum[j - 1] = (c448_word_t)chain; in sc_montmul()
100 chain += accum[j]; in sc_montmul()
[all …]
/freebsd-12-stable/sbin/dhclient/
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-stable/sys/dev/sound/pcm/
Dfeeder_matrix.c129 intpcm64_t accum; \
151 accum = 0; \
157 accum += v; \
160 accum = (accum * info->matrix[i].mul) >> \
163 FEEDMATRIX_CLIP_CHECK(accum, BIT); \
165 v = (accum > PCM_S##BIT##_MAX) ? \
167 ((accum < PCM_S##BIT##_MIN) ? \
169 accum); \
251 intpcm64_t accum; in feed_matrix_apply_generic() local
270 accum = 0; in feed_matrix_apply_generic()
[all …]
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/
Daead_aes256gcm_aesni.c420 #define aesni_encrypt8full(out_, n_, rkeys, in_, accum, hv_, h2v_, h3v_, h4v_, rev) \ argument
443 accv_ = _mm_load_si128((const __m128i *) accum); \
446 _mm_store_si128((__m128i *) accum, accv_); \
450 #define aesni_addmul8full(in_, accum, hv_, h2v_, h3v_, h4v_, rev) \ argument
460 accv_ = _mm_load_si128((const __m128i *) accum); \
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()
575 … aesni_encrypt8full(c + i, n2, rkeys, m + i, accum, Hv, H2v, H3v, H4v, rev); \ in crypto_aead_aes256gcm_encrypt_detached_afternm()
[all …]
/freebsd-12-stable/libexec/bootpd/
Dhash.c167 unsigned accum; local
169 accum = 0;
171 accum <<= 1;
172 accum += (unsigned) (*string++ & 0xFF);
174 return accum;
/freebsd-12-stable/contrib/subversion/subversion/libsvn_wc/
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()
1038 attributes = svn_xml_make_att_hash(atts, accum->scratch_pool); in handle_start_tag()
1039 err = atts_to_entry(&entry, attributes, accum->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()
[all …]
/freebsd-12-stable/stand/ficl/
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()
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-stable/contrib/gdb/gdb/
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()
Dada-lang.c1378 unsigned long accum; /* Staging area for bits being transferred */ in ada_value_primitive_packed_val() local
1473 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()
1502 unpacked[targ] = accum & ~(~0L << HOST_CHAR_BIT); 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()
[all …]
/freebsd-12-stable/sys/dev/ppbus/
Dppb_msq.h131 #define MS_SET(accum) { MS_OP_SET, {{ (accum) }}} argument
/freebsd-12-stable/contrib/gcc/
Dexpmed.c2951 rtx insn, accum, tem; in expand_mult_const() local
2965 accum = copy_to_mode_reg (mode, const0_rtx); in expand_mult_const()
2970 accum = copy_to_mode_reg (mode, op0); in expand_mult_const()
2979 rtx shift_subtarget = optimize ? 0 : accum; in expand_mult_const()
2984 rtx accum_target = optimize ? 0 : accum; in expand_mult_const()
2989 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()
[all …]
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()
/freebsd-12-stable/sys/dev/ppc/
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-stable/sys/contrib/octeon-sdk/
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-stable/contrib/wpa/src/wps/
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-stable/contrib/gcc/config/mips/
Dpredicates.md265 rtx accum = XEXP (op, GET_CODE (op) == PLUS ? 1 : 0);
269 && REG_P (accum));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
DAArch64SchedA57.td355 // Advance for absolute diff accum, pairwise add and accumulate, shift accumulate
358 // ASIMD absolute diff accum, D-form
360 // ASIMD absolute diff accum, Q-form
362 // ASIMD absolute diff accum long
501 // Advances from FP mul and mul-accum to mul-accum
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
DAArch64SchedThunderX3T110.td1332 // ASIMD absolute diff accum, D-form
1333 // ASIMD absolute diff accum, Q-form
1334 // ASIMD absolute diff accum long
1384 // ASIMD absolute diff accum, D-form
1387 // ASIMD absolute diff accum, Q-form
1390 // ASIMD absolute diff accum long
DAArch64SchedA64FX.td1601 // ASIMD absolute diff accum, D-form
1602 // ASIMD absolute diff accum, Q-form
1603 // ASIMD absolute diff accum long
1652 // ASIMD absolute diff accum, D-form
1655 // ASIMD absolute diff accum, Q-form
1658 // ASIMD absolute diff accum long
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationClient.cpp2401 float accum = 0; in calculate_standard_deviation() local
2404 accum += delta * delta; in calculate_standard_deviation()
2407 return Dur(sqrtf(accum / (v.size() - 1))); in calculate_standard_deviation()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMScheduleA57.td974 // ASIMD absolute diff accum: 4(1) F1 for D-form, 5(2) F1 for Q-form
984 // ASIMD absolute diff accum long: 4(1) F1 for VABAL

12