Home
last modified time | relevance | path

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

12

/freebsd/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/contrib/tcpdump/
H A Dchecksum.c94 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/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()
158 c448_dsword_t accum = 0; in ossl_curve448_scalar_decode() local
[all …]
/freebsd/sbin/dhclient/
H A Dhash.c66 int accum = 0, i = len; in do_hash() local
70 accum += *s++; in do_hash()
72 while (accum > 255) in do_hash()
73 accum = (accum & 255) + (accum >> 8); in do_hash()
75 return (accum % size); in do_hash()
/freebsd/tools/test/stress2/misc/
H A Dvm_fault_dontneed.sh84 int accum, fd;
94 accum = 0;
96 accum += ptr[i];
97 if (accum != 0) /* just to trick the optimizer */
98 printf("accum: %d\nptr: %p\nsize: %ld\n", accum, ptr, (long)fs.st_size);
/freebsd/sys/dev/sound/pcm/
H A Dfeeder_matrix.c127 intpcm64_t accum; \
149 accum = 0; \
155 accum += v; \
158 accum = (accum * info->matrix[i].mul) >> \
167 accum); \
249 intpcm64_t accum; in feed_matrix_apply_generic() local
268 accum = 0; in feed_matrix_apply_generic()
273 accum += v; in feed_matrix_apply_generic()
276 accum = (accum * info->matrix[i].mul) >> in feed_matrix_apply_generic()
279 FEEDMATRIX_CLIP_CHECK(accum, 32); in feed_matrix_apply_generic()
[all …]
/freebsd/libexec/bootpd/
H A Dhash.c158 unsigned accum; in hash_HashFunction() local
160 accum = 0; in hash_HashFunction()
162 accum <<= 1; in hash_HashFunction()
163 accum += (unsigned) (*string++ & 0xFF); in hash_HashFunction()
165 return accum; in hash_HashFunction()
/freebsd/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/stand/ficl/
H A Dfloat.c839 float accum = 0.0f; in ficlParseFloatNumber() local
898 accum = accum * 10 + digit; in ficlParseFloatNumber()
919 accum += digit * mant; in ficlParseFloatNumber()
963 accum = -accum; in ficlParseFloatNumber()
975 accum *= power; in ficlParseFloatNumber()
978 PUSHFLOAT(accum); in ficlParseFloatNumber()
H A Dwords.c206 FICL_INT accum = 0; in ficlParseNumber() local
256 accum = accum * base + digit; in ficlParseNumber()
263 accum = -accum; in ficlParseNumber()
265 PUSHINT(accum); in ficlParseNumber()
3063 DPUNS accum; in toNumber() local
3074 accum = u64Pop(pVM->pStack); in toNumber()
3092 accum = m64Mac(accum, base, digit); in toNumber()
3095 u64Push(pVM->pStack, accum); in toNumber()
/freebsd/sys/dev/ppbus/
H A Dppb_msq.h127 #define MS_SET(accum) { MS_OP_SET, {{ (accum) }}} argument
/freebsd/sys/dev/ppc/
H A Dppc.c1322 int accum = 0; in ppc_exec_microseq() local
1351 accum = ppc->ppc_accum; in ppc_exec_microseq()
1352 for (; accum; accum--) in ppc_exec_microseq()
1354 ppc->ppc_accum = accum; in ppc_exec_microseq()
1369 accum = ppc->ppc_accum; in ppc_exec_microseq()
1370 for (; accum; accum--) in ppc_exec_microseq()
1372 ppc->ppc_accum = accum; in ppc_exec_microseq()
/freebsd/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/sys/contrib/device-tree/Bindings/hwmon/
H A Dadi,ltc2947.yaml65 adi,gpio-in-accum:
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SchedA57.td358 // Advance for absolute diff accum, pairwise add and accumulate, shift accumulate
361 // ASIMD absolute diff accum, D-form
363 // ASIMD absolute diff accum, Q-form
365 // ASIMD absolute diff accum long
504 // Advances from FP mul and mul-accum to mul-accum
H A DAArch64SchedThunderX2T99.td1227 // ASIMD absolute diff accum, D-form
1228 // ASIMD absolute diff accum, Q-form
1229 // ASIMD absolute diff accum long
1284 // ASIMD absolute diff accum, D-form
1287 // ASIMD absolute diff accum, Q-form
1290 // ASIMD absolute diff accum long
H A DAArch64SchedThunderX3T110.td1335 // ASIMD absolute diff accum, D-form
1336 // ASIMD absolute diff accum, Q-form
1337 // ASIMD absolute diff accum long
1392 // ASIMD absolute diff accum, D-form
1395 // ASIMD absolute diff accum, Q-form
1398 // ASIMD absolute diff accum long
H A DAArch64SchedA64FX.td1355 // ASIMD absolute diff accum, D-form
1356 // ASIMD absolute diff accum, Q-form
1357 // ASIMD absolute diff accum long
1408 // ASIMD absolute diff accum, D-form
1411 // ASIMD absolute diff accum, Q-form
1414 // ASIMD absolute diff accum long
H A DAArch64SchedA510.td401 // ASIMD absolute diff accum
634 // Arithmetic, absolute diff accum
637 // Arithmetic, absolute diff accum long
673 // Arithmetic, pairwise add and accum long
H A DAArch64SchedNeoverseN2.td962 // ASIMD absolute diff accum
963 // ASIMD absolute diff accum long
1582 // Arithmetic, absolute diff accum
1585 // Arithmetic, absolute diff accum long
1618 // Arithmetic, pairwise add and accum long
H A DAArch64SchedNeoverseV2.td1453 // ASIMD absolute diff accum
1454 // ASIMD absolute diff accum long
2089 // Arithmetic, absolute diff accum
2092 // Arithmetic, absolute diff accum long
2126 // Arithmetic, pairwise add and accum long
H A DAArch64SchedNeoverseN1.td590 // ASIMD absolute diff accum
591 // ASIMD absolute diff accum long
H A DAArch64SchedA55.td391 // ASIMD absolute diff accum
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.cpp2429 float accum = 0; in calculate_standard_deviation() local
2432 accum += delta * delta; in calculate_standard_deviation()
2435 return Dur(sqrtf(accum / (v.size() - 1))); in calculate_standard_deviation()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMScheduleA57.td973 // ASIMD absolute diff accum: 4(1) F1 for D-form, 5(2) F1 for Q-form
983 // ASIMD absolute diff accum long: 4(1) F1 for VABAL

12