Home
last modified time | relevance | path

Searched refs:U (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/f-stack/freebsd/contrib/ngatm/netnatm/sig/
H A Dunimkmsg.h118 (U)->u.release_compl.cause[_i]; \
122 (U)->u.release_compl.git[_i]; \
123 if(IE_ISGOOD((U)->u.release_compl.uu)) \
124 (DEST)->uu = (U)->u.release_compl.uu; \
129 #define COPY_FROM_DROP_ACK(U,DEST) \ argument
138 (DEST)->uu = (U)->u.drop_party_ack.uu; \
142 (U)->u.drop_party_ack.git[_i]; \
145 #define COPY_FROM_ADD_REJ(U,DEST) \ argument
153 if(IE_ISGOOD((U)->u.add_party_rej.uu)) \
154 (DEST)->uu = (U)->u.add_party_rej.uu; \
[all …]
H A Dunipriv.h438 #define uni_enq_call(CALL, SIG, COOKIE, MSG, U) do { \ argument
440 (SIG), (COOKIE), (MSG), (U)); \
446 (PARTY), (SIG), (COOKIE), (MSG), (U)); \
450 #define uni_enq_start(UNI, SIG, COOKIE, MSG, U) do { \ argument
452 (SIG), (COOKIE), (MSG), (U)); \
456 #define uni_enq_resp(UNI, SIG, COOKIE, MSG, U) do { \ argument
458 (SIG), (COOKIE), (MSG), (U)); \
547 #define TIMER_INIT_UNI(U,T) _TIMER_INIT(U,T) argument
551 #define TIMER_DESTROY_UNI(U,T) _TIMER_DESTROY(U, (U)->T) argument
555 #define TIMER_STOP_UNI(U,T) _TIMER_STOP(U, (U)->T) argument
[all …]
/f-stack/dpdk/drivers/net/atlantic/hw_atl/
H A Dhw_atl_b0.c37 u32 tc = 0U; in hw_atl_b0_hw_qos_set()
38 u32 buff_size = 0U; in hw_atl_b0_hw_qos_set()
39 unsigned int i_priority = 0U; in hw_atl_b0_hw_qos_set()
122 unsigned int i = 0U; in hw_atl_b0_hw_rss_hash_set()
123 unsigned int addr = 0U; in hw_atl_b0_hw_rss_hash_set()
125 for (i = 10, addr = 0U; i--; ++addr) { in hw_atl_b0_hw_rss_hash_set()
247 hw_atl_tdm_tx_dca_en_set(self, 0U); in hw_atl_b0_hw_init_tx_path()
273 hw_atl_rpfl2_uc_flr_en_set(self, (i == 0U) ? 1U : 0U, i); in hw_atl_b0_hw_init_rx_path()
297 hw_atl_rdm_rx_dca_en_set(self, 0U); in hw_atl_b0_hw_init_rx_path()
306 unsigned int h = 0U; in hw_atl_b0_hw_mac_addr_set()
[all …]
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/
H A Dsimd.h111 [SSE] = {1U, 0U, 1U << 25, EDX },
112 [SSE2] = {1U, 0U, 1U << 26, EDX },
113 [SSE3] = {1U, 0U, 1U << 0, ECX },
114 [SSSE3] = {1U, 0U, 1U << 9, ECX },
115 [SSE4_1] = {1U, 0U, 1U << 19, ECX },
116 [SSE4_2] = {1U, 0U, 1U << 20, ECX },
118 [AVX] = {1U, 0U, 1U << 28, ECX },
119 [AVX2] = {7U, 0U, 1U << 5, EBX },
120 [BMI1] = {7U, 0U, 1U << 3, EBX },
121 [BMI2] = {7U, 0U, 1U << 8, EBX },
[all …]
/f-stack/freebsd/contrib/libsodium/test/default/
H A Daead_chacha20poly1305.c39 for (i = 0U; i < CLEN; ++i) { in tv()
83 for (i = 0U; i < CLEN; i++) { in tv()
98 for (i = 0U; i < CLEN; ++i) { in tv()
120 NULL, 0U, nonce, firstkey) != -1) { in tv()
128 if (crypto_aead_chacha20poly1305_decrypt(m2, &m2len, NULL, c, 0U, NULL, 0U, in tv()
143 for (i = 0U; i < CLEN; ++i) { in tv()
222 for (i = 0U; i < CLEN; ++i) { in tv_ietf()
266 for (i = 0U; i < CLEN; i++) { in tv_ietf()
280 for (i = 0U; i < CLEN; ++i) { in tv_ietf()
309 if (crypto_aead_chacha20poly1305_ietf_decrypt(m2, &m2len, NULL, c, 0U, NULL, 0U, in tv_ietf()
[all …]
H A Dchacha20.c28 size_t i = 0U; in tv()
61 assert(crypto_stream_chacha20(out, 0U, nonce, key) == 0); in tv()
62 assert(crypto_stream_chacha20_xor(out, out, 0U, nonce, key) == 0); in tv()
90 0U }, in tv_ietf()
102 0U }, in tv_ietf()
115 size_t i = 0U; in tv_ietf()
149 assert(crypto_stream_chacha20_ietf(out, 0U, nonce, key) == 0); in tv_ietf()
174 assert(crypto_stream_chacha20_keybytes() > 0U); in main()
176 assert(crypto_stream_chacha20_noncebytes() > 0U); in main()
179 assert(crypto_stream_chacha20_ietf_keybytes() > 0U); in main()
[all …]
H A Dbox.c82 assert(crypto_box_seedbytes() > 0U); in main()
83 assert(crypto_box_publickeybytes() > 0U); in main()
84 assert(crypto_box_secretkeybytes() > 0U); in main()
85 assert(crypto_box_beforenmbytes() > 0U); in main()
86 assert(crypto_box_noncebytes() > 0U); in main()
87 assert(crypto_box_zerobytes() > 0U); in main()
88 assert(crypto_box_boxzerobytes() > 0U); in main()
89 assert(crypto_box_macbytes() > 0U); in main()
90 assert(crypto_box_messagebytes_max() > 0U); in main()
H A Daead_xchacha20poly1305.c48 for (i = 0U; i < CLEN; ++i) { in tv()
88 for (i = 0U; i < CLEN; i++) { in tv()
98 NULL, 0U, NULL, nonce, firstkey); in tv()
102 for (i = 0U; i < CLEN; ++i) { in tv()
110 NULL, 0U, nonce, firstkey) != 0) { in tv()
123 NULL, 0U, nonce, firstkey) != -1) { in tv()
131 if (crypto_aead_xchacha20poly1305_ietf_decrypt(m2, &m2len, NULL, c, 0U, NULL, 0U, in tv()
142 NULL, 0U, NULL, nonce, firstkey); in tv()
146 for (i = 0U; i < CLEN; ++i) { in tv()
167 NULL, 0U, nonce, key2) == 0) { in tv()
[all …]
H A Dpwhash_scrypt.c97 size_t i = 0U; in tv()
146 size_t i = 0U; in tv2()
279 size_t i = 0U; in tv3()
378 assert(crypto_pwhash_scryptsalsa208sha256_bytes_min() > 0U); in main()
383 assert(crypto_pwhash_scryptsalsa208sha256_saltbytes() > 0U); in main()
388 assert(crypto_pwhash_scryptsalsa208sha256_opslimit_min() > 0U); in main()
389 assert(crypto_pwhash_scryptsalsa208sha256_opslimit_max() > 0U); in main()
390 assert(crypto_pwhash_scryptsalsa208sha256_memlimit_min() > 0U); in main()
391 assert(crypto_pwhash_scryptsalsa208sha256_memlimit_max() > 0U); in main()
394 assert(crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive() > 0U); in main()
[all …]
H A Dgenerichash.c1301 size_t i = 0U; in tv()
1364 (unsigned long long) i, k, 0U); in main()
1380 assert(crypto_generichash_bytes_min() > 0U); in main()
1381 assert(crypto_generichash_bytes_max() > 0U); in main()
1382 assert(crypto_generichash_bytes() > 0U); in main()
1385 assert(crypto_generichash_keybytes_min() > 0U); in main()
1386 assert(crypto_generichash_keybytes_max() > 0U); in main()
1387 assert(crypto_generichash_keybytes() > 0U); in main()
1402 assert(crypto_generichash_blake2b_saltbytes() > 0U); in main()
1403 assert(crypto_generichash_blake2b_personalbytes() > 0U); in main()
H A Dsodium_utils2.c48 if (sodium_malloc(0U) == NULL) { in main()
54 sodium_free(sodium_allocarray(0U, 0U)); in main()
55 sodium_free(sodium_allocarray(0U, 1U)); in main()
56 sodium_free(sodium_allocarray(1U, 0U)); in main()
62 sodium_free(sodium_malloc(0U)); in main()
64 for (i = 0U; i < 10000U; i++) { in main()
H A Dsecretbox.c63 assert(crypto_secretbox_keybytes() > 0U); in main()
64 assert(crypto_secretbox_noncebytes() > 0U); in main()
65 assert(crypto_secretbox_zerobytes() > 0U); in main()
66 assert(crypto_secretbox_boxzerobytes() > 0U); in main()
67 assert(crypto_secretbox_macbytes() > 0U); in main()
68 assert(crypto_secretbox_messagebytes_max() > 0U); in main()
H A Dauth.c58 crypto_auth_hmacsha256_update(&st256, NULL, 0U); in main()
68 assert(crypto_auth_bytes() > 0U); in main()
69 assert(crypto_auth_keybytes() > 0U); in main()
71 assert(crypto_auth_hmacsha256_bytes() > 0U); in main()
72 assert(crypto_auth_hmacsha256_keybytes() > 0U); in main()
73 assert(crypto_auth_hmacsha512_bytes() > 0U); in main()
74 assert(crypto_auth_hmacsha512_keybytes() > 0U); in main()
H A Dpwhash_argon2i.c85 size_t i = 0U; in tv()
137 size_t i = 0U; in tv2()
210 size_t i = 0U; in tv3()
406 assert(crypto_pwhash_argon2i_bytes_min() > 0U); in main()
409 assert(crypto_pwhash_argon2i_saltbytes() > 0U); in main()
413 assert(crypto_pwhash_argon2i_opslimit_min() > 0U); in main()
414 assert(crypto_pwhash_argon2i_opslimit_max() > 0U); in main()
415 assert(crypto_pwhash_argon2i_memlimit_min() > 0U); in main()
416 assert(crypto_pwhash_argon2i_memlimit_max() > 0U); in main()
419 assert(crypto_pwhash_argon2i_opslimit_moderate() > 0U); in main()
[all …]
H A Dsodium_utils.c25 sodium_memzero(buf1, 0U); in main()
29 printf("%d\n", sodium_memcmp(buf1, buf2, 0U)); in main()
45 nonce[1] = 0U; in main()
54 for (i = 0U; i < 1000U; i++) { in main()
58 for (j = 0U; j < bin_len; j++) { in main()
78 for (i = 0U; i < sizeof buf1; i++) { in main()
90 for (i = 0U; i < j; i++) { in main()
103 sodium_increment(buf2, 0U); in main()
105 sodium_add(buf2, buf_add, 0U); in main()
159 0U, bin_padded_maxlen) == -1); in main()
[all …]
H A Dcore1.c35 assert(crypto_core_hsalsa20_outputbytes() > 0U); in main()
36 assert(crypto_core_hsalsa20_inputbytes() > 0U); in main()
37 assert(crypto_core_hsalsa20_keybytes() > 0U); in main()
38 assert(crypto_core_hsalsa20_constbytes() > 0U); in main()
H A Dpwhash_argon2id.c85 size_t i = 0U; in tv()
137 size_t i = 0U; in tv2()
206 size_t i = 0U; in tv3()
404 assert(crypto_pwhash_bytes_min() > 0U); in main()
407 assert(crypto_pwhash_saltbytes() > 0U); in main()
411 assert(crypto_pwhash_opslimit_min() > 0U); in main()
412 assert(crypto_pwhash_opslimit_max() > 0U); in main()
413 assert(crypto_pwhash_memlimit_min() > 0U); in main()
414 assert(crypto_pwhash_memlimit_max() > 0U); in main()
417 assert(crypto_pwhash_opslimit_moderate() > 0U); in main()
[all …]
H A Dstream2.c30 crypto_stream_salsa20_xor_ic(output, output, 4000, noncesuffix, 0U, in main()
42 assert(crypto_stream_salsa20_keybytes() > 0U); in main()
43 assert(crypto_stream_salsa20_noncebytes() > 0U); in main()
44 assert(crypto_stream_salsa20_messagebytes_max() > 0U); in main()
/f-stack/freebsd/contrib/libsodium/src/libsodium/sodium/
H A Dcodecs.c17 size_t i = (size_t) 0U; in sodium_bin2hex()
35 hex[i * 2U] = 0U; in sodium_bin2hex()
50 unsigned char c_acc = 0U; in sodium_hex2bin()
54 unsigned char state = 0U; in sodium_hex2bin()
75 if (state == 0U) { in sodium_hex2bin()
83 if (state != 0U) { in sodium_hex2bin()
89 bin_pos = (size_t) 0U; in sodium_hex2bin()
189 unsigned int acc = 0U; in sodium_bin2base64()
235 b64[b64_pos++] = 0U; in sodium_bin2base64()
276 unsigned int acc = 0U; in sodium_base642bin()
[all …]
H A Dutils.c122 size_t i = (size_t) 0U; in sodium_memzero()
125 pnt_[i++] = 0U; in sodium_memzero()
170 volatile unsigned char d = 0U; in sodium_memcmp()
175 for (i = 0U; i < len; i++) { in sodium_memcmp()
218 while (i != 0U) { in sodium_compare()
234 for (i = 0U; i < nlen; i++) { in sodium_is_zero()
243 size_t i = 0U; in sodium_increment()
290 size_t i = 0U; in sodium_add()
291 uint_fast16_t c = 0U; in sodium_add()
676 if (blocksize <= 0U) { in sodium_pad()
[all …]
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/
H A Dpbkdf2-sha256.c53 uint8_t U[32]; in PBKDF2_SHA256() local
73 crypto_auth_hmacsha256_final(&hctx, U); in PBKDF2_SHA256()
75 memcpy(T, U, 32); in PBKDF2_SHA256()
79 crypto_auth_hmacsha256_update(&hctx, U, 32); in PBKDF2_SHA256()
80 crypto_auth_hmacsha256_final(&hctx, U); in PBKDF2_SHA256()
83 T[k] ^= U[k]; in PBKDF2_SHA256()
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/
H A Dgenerichash_blake2b.c15 if (outlen <= 0U || outlen > BLAKE2B_OUTBYTES || in crypto_generichash_blake2b()
32 if (outlen <= 0U || outlen > BLAKE2B_OUTBYTES || in crypto_generichash_blake2b_salt_personal()
49 if (outlen <= 0U || outlen > BLAKE2B_OUTBYTES || in crypto_generichash_blake2b_init()
55 if (key == NULL || keylen <= 0U) { in crypto_generichash_blake2b_init()
72 if (outlen <= 0U || outlen > BLAKE2B_OUTBYTES || in crypto_generichash_blake2b_init_salt_personal()
78 if (key == NULL || keylen <= 0U) { in crypto_generichash_blake2b_init_salt_personal()
/f-stack/freebsd/arm64/nvidia/tegra210/
H A Dtegra210_clk_per.c262 #define U(n) ((2 * 32) + (n)) macro
270 #define TEGRA210_CLK_IRAMA U(20)
271 #define TEGRA210_CLK_IRAMB U(21)
272 #define TEGRA210_CLK_IRAMC U(22)
273 #define TEGRA210_CLK_IRAMD U(23)
274 #define TEGRA210_CLK_CRAM2 U(24)
276 #define TEGRA210_CLK_DEVD2_OUT U(29)
277 #define TEGRA210_CLK_DEVD1_OUT U(30)
361 GATE(PCIE, "pcie", "clk_m", U(6)),
362 GATE(AFI, "afi", "clk_m", U(8)),
[all …]
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-l2c.c786 tag.s.U = l2c_tadx_tag.s.use; in cvmx_l2c_get_tag_v2()
801 tag.s.U = tmp_tag.cn58xx.U; in cvmx_l2c_get_tag_v2()
807 tag.s.U = tmp_tag.cn38xx.U; in cvmx_l2c_get_tag_v2()
813 tag.s.U = tmp_tag.cn31xx.U; in cvmx_l2c_get_tag_v2()
819 tag.s.U = tmp_tag.cn30xx.U; in cvmx_l2c_get_tag_v2()
825 tag.s.U = tmp_tag.cn50xx.U; in cvmx_l2c_get_tag_v2()
886 tag.s.U = tmp_tag.cn58xx.U; in cvmx_l2c_get_tag()
892 tag.s.U = tmp_tag.cn38xx.U; in cvmx_l2c_get_tag()
898 tag.s.U = tmp_tag.cn31xx.U; in cvmx_l2c_get_tag()
904 tag.s.U = tmp_tag.cn30xx.U; in cvmx_l2c_get_tag()
[all …]
/f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/salsa20/
H A Drandombytes_salsa20_random.c106 SODIUM_C99(.rnd32_outleft =) (size_t) 0U
150 assert(stream.nonce != (uint64_t) 0U); in randombytes_salsa20_random_init()
162 assert(size > (size_t) 0U); in safe_read()
276 assert(chunk_size > (size_t) 0U); in randombytes_linux_getrandom()
283 } while (size > (size_t) 0U); in randombytes_linux_getrandom()
296 assert(stream.nonce != (uint64_t) 0U); in randombytes_salsa20_random_init()
333 stream.rnd32_outleft = (size_t) 0U; in randombytes_salsa20_random_stir()
474 for (i = (size_t) 0U; i < sizeof stream.key; i++) { in randombytes_salsa20_random_xorkey()
500 for (i = 0U; i < sizeof size; i++) { in randombytes_salsa20_random_buf()
523 % sizeof val == (size_t) 0U); in randombytes_salsa20_random()
[all …]

12345678910>>...15