/freebsd/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/ |
H A D | blake2b-compress-ref.c | 9 static const uint64_t blake2b_IV[8] = { 16 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }, 17 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 }, 18 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 }, 19 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 }, 20 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 }, 21 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 }, 22 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 }, 23 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 }, 24 { 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5 }, [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/ |
H A D | aeskey.c | 37 * values correspond with Nk values of 4, 6 and 8 respectively. 43 * nk = 4 5 6 7 8 45 * cx->n_col = 4 10 9 8 7 7 49 * cx->n_col = 8 29 23 19 17 14 64 * 8. cstyled code and removed lint warnings 103 ke4(rk, 8); in aes_encrypt_key128() 118 k[6 * (i) + 8] = ss[2] ^= ss[1]; \ 158 { k[8 * (i) + 8] = ss[0] ^= ls_box(ss[7], 3) ^ t_use(r, c)[i]; \ 159 k[8 * (i) + 9] = ss[1] ^= ss[0]; \ 160 k[8 * (i) + 10] = ss[2] ^= ss[1]; \ [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/BLAKE3/ |
H A D | blake3_avx512.c | 63 INLINE __m128i rot8_128(__m128i x) { return _mm_ror_epi32(x, 8); } in rot8_128() 65 INLINE __m256i rot8_256(__m256i x) { return _mm256_ror_epi32(x, 8); } in rot8_256() 67 INLINE __m512i rot8_512(__m512i x) { return _mm512_ror_epi32(x, 8); } in rot8_512() 116 INLINE void compress_pre(__m128i rows[4], const uint32_t cv[8], in compress_pre() argument 139 t2 = _mm_shuffle_ps2(m2, m3, _MM_SHUFFLE(2, 0, 2, 0)); // 14 12 10 8 in compress_pre() 140 t2 = _mm_shuffle_epi32(t2, _MM_SHUFFLE(2, 1, 0, 3)); // 12 10 8 14 in compress_pre() 287 void blake3_compress_xof_avx512(const uint32_t cv[8], in blake3_compress_xof_avx512() argument 299 void blake3_compress_in_place_avx512(uint32_t cv[8], in blake3_compress_in_place_avx512() argument 315 INLINE void round_fn4(__m128i v[16], __m128i m[16], size_t r) { in round_fn4() 316 v[0] = add_128(v[0], m[(size_t)MSG_SCHEDULE[r][0]]); in round_fn4() [all …]
|
H A D | blake3_avx2.c | 5 #define DEGREE 8 24 x, _mm256_set_epi8(13, 12, 15, 14, 9, 8, 11, 10, 5, 4, 7, 6, 1, 0, 3, 2, in rot16() 25 13, 12, 15, 14, 9, 8, 11, 10, 5, 4, 7, 6, 1, 0, 3, 2)); in rot16() 34 x, _mm256_set_epi8(12, 15, 14, 13, 8, 11, 10, 9, 4, 7, 6, 5, 0, 3, 2, 1, in rot8() 35 12, 15, 14, 13, 8, 11, 10, 9, 4, 7, 6, 5, 0, 3, 2, 1)); in rot8() 42 INLINE void round_fn(__m256i v[16], __m256i m[16], size_t r) { in round_fn() 43 v[0] = addv(v[0], m[(size_t)MSG_SCHEDULE[r][0]]); in round_fn() 44 v[1] = addv(v[1], m[(size_t)MSG_SCHEDULE[r][2]]); in round_fn() 45 v[2] = addv(v[2], m[(size_t)MSG_SCHEDULE[r][4]]); in round_fn() 46 v[3] = addv(v[3], m[(size_t)MSG_SCHEDULE[r][6]]); in round_fn() [all …]
|
H A D | blake3_neon.c | 49 return vorrq_u32(vshrq_n_u32(x, 8), vshlq_n_u32(x, 32 - 8)); in rot8_128() 66 INLINE void round_fn4(uint32x4_t v[16], uint32x4_t m[16], size_t r) { in round_fn4() 67 v[0] = add_128(v[0], m[(size_t)MSG_SCHEDULE[r][0]]); in round_fn4() 68 v[1] = add_128(v[1], m[(size_t)MSG_SCHEDULE[r][2]]); in round_fn4() 69 v[2] = add_128(v[2], m[(size_t)MSG_SCHEDULE[r][4]]); in round_fn4() 70 v[3] = add_128(v[3], m[(size_t)MSG_SCHEDULE[r][6]]); in round_fn4() 71 v[0] = add_128(v[0], v[4]); in round_fn4() 72 v[1] = add_128(v[1], v[5]); in round_fn4() 73 v[2] = add_128(v[2], v[6]); in round_fn4() 74 v[3] = add_128(v[3], v[7]); in round_fn4() [all …]
|
H A D | blake3_sse2.c | 39 return xorv(_mm_srli_epi32(x, 8), _mm_slli_epi32(x, 32 - 8)); in rot8() 89 INLINE void compress_pre(__m128i rows[4], const uint32_t cv[8], in compress_pre() argument 112 t2 = _mm_shuffle_ps2(m2, m3, _MM_SHUFFLE(2, 0, 2, 0)); // 14 12 10 8 in compress_pre() 113 t2 = _mm_shuffle_epi32(t2, _MM_SHUFFLE(2, 1, 0, 3)); // 12 10 8 14 in compress_pre() 260 void blake3_compress_in_place_sse2(uint32_t cv[8], in blake3_compress_in_place_sse2() argument 270 void blake3_compress_xof_sse2(const uint32_t cv[8], in blake3_compress_xof_sse2() argument 282 INLINE void round_fn(__m128i v[16], __m128i m[16], size_t r) { in round_fn() 283 v[0] = addv(v[0], m[(size_t)MSG_SCHEDULE[r][0]]); in round_fn() 284 v[1] = addv(v[1], m[(size_t)MSG_SCHEDULE[r][2]]); in round_fn() 285 v[2] = addv(v[2], m[(size_t)MSG_SCHEDULE[r][4]]); in round_fn() [all …]
|
H A D | blake3_sse41.c | 32 x, _mm_set_epi8(13, 12, 15, 14, 9, 8, 11, 10, 5, 4, 7, 6, 1, 0, 3, 2)); in rot16() 41 x, _mm_set_epi8(12, 15, 14, 13, 8, 11, 10, 9, 4, 7, 6, 5, 0, 3, 2, 1)); in rot8() 83 INLINE void compress_pre(__m128i rows[4], const uint32_t cv[8], in compress_pre() argument 106 t2 = _mm_shuffle_ps2(m2, m3, _MM_SHUFFLE(2, 0, 2, 0)); // 14 12 10 8 in compress_pre() 107 t2 = _mm_shuffle_epi32(t2, _MM_SHUFFLE(2, 1, 0, 3)); // 12 10 8 14 in compress_pre() 254 void blake3_compress_in_place_sse41(uint32_t cv[8], in blake3_compress_in_place_sse41() argument 264 void blake3_compress_xof_sse41(const uint32_t cv[8], in blake3_compress_xof_sse41() argument 276 INLINE void round_fn(__m128i v[16], __m128i m[16], size_t r) { in round_fn() 277 v[0] = addv(v[0], m[(size_t)MSG_SCHEDULE[r][0]]); in round_fn() 278 v[1] = addv(v[1], m[(size_t)MSG_SCHEDULE[r][2]]); in round_fn() [all …]
|
/freebsd/crypto/openssl/test/recipes/04-test_pem_reading_data/ |
H A D | cert-onecolumn.pem | 61 V 76 V 89 v 99 V 128 V 144 V 153 v 202 V 205 v 246 V [all …]
|
H A D | dsa-onecolumn.pem | 40 v 50 8 90 V 193 V 257 V 301 V 317 v 415 V 417 8 449 v [all …]
|
/freebsd/sys/dev/wg/ |
H A D | wg_crypto.c | 47 static const uint32_t blake2s_iv[8] = { 53 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }, 54 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 }, 55 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 }, 56 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 }, 57 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 }, 58 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 }, 59 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 }, 60 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 }, 61 { 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5 }, [all …]
|
/freebsd/contrib/file/tests/ |
H A D | HWP97.hwp.testfile | 1 …veler… 5 …����7����{���$��܅y҅���\t�8���#S&O�貔������ �Z��SV��u�C�:�!g���阔���5*;�L4e�<� ������w��N�k��… 7 >��ĕ�y~/Yۿ��5����W����)�Wȴ�8tǮI��G�MW��ֺD��y�.;O�&�^�0��/�z�!���� 8 �7�s����-đ��0�uC�D:�:�Yޣ��I�D��~��:��~V��mqL�rQ9L�#������ 9�}\��q]ɰ^6�G�����]��Փ3Q�… 9 Lm����V�_"���M'I�u��c�����Qש��w�U�#G 11 �ƭ�^�ή��/7o9_nV9��Mn.8�JzQZK�C��J��eh`����p��Rkn�h?璴2�c�m�ʉ 12 ����ɡ�����[��B�ՄiҠ�%���"�>��y0۠�d9�h���*����q��D{m��h�N\D��\��w���]`ד�Ws�؊�����ö3�r�Z8�H�… 14 �bo�����Z�rb����^r~�Kο᮹u�'n�S���8&.!��K���y�p���b����@�>`����(G�9Zp~QX�Ve� 15 �U��s�]�Y �}#�ѽ�k�"!����9v����ߕa�/튏ٰ�������g,��IL����'.��\`Q�3�kpr��zo�p�s��� ? G.*� 16 �8���%p���c���H�M8<7X��y�r���H�;��a�7��{�oՙ��y�v�VCⶼ��z˶|lP=n�y�<��V˾����;�-d#5�ع��3�…
|
H A D | matilde.arm.testfile | 2 <[d��y�����'�P�[<k�0^��<j~yJ/!ݘG&�����e�4ta��+a�<�p������(����n���{i�/�8A�<� ٫7… 3 …8A{1e�d!�Tkr(��n���u�RP<Rby��z��z�;+~��*�s�'�7q#�ڰ<p�l���-*�Bm�h2U�v��ښ�m�< pq��ry�+… 4 R��0-as�Aꏾ�<�H���Ҵ�_d)Q����A����Kp���@< <J?�9a�V�9u8�9��Fp�ך�"��P< 6 … mJ���,��=�Fxh �� S �<Cg��!ˀj1�`��b�\�~.փ�$$瑰<<�r?��h�5Ê�':<8T|8]�21�t<~XfO� G�… 9 !�:���=K����[��<Ɖ�lH��!L��-��I��w�9:y��<�U'�ԫ�Lc�\vyY>�Ԫ�ϧ�4p<&@i�~#�������)J$�� 10 ��[��ơ��<&@�����(�\�W�!"-@��C]�4�<&F����*�2;[��v�w�>�=�����<!x@;����e�R!���F�iW�… 11 ….p<�y{�����{���d֛*a$��|$o��H �<,��~kT��ܩZݍ�\�cBP�B:�<6BmЩ���2Z��8Ђ�ׯ�^��lFaP< ���I… 12 ـ�M���,ˬ3aѾLb< 5]B� p���:Յ��0(ʵ5L�9�<ey�=)��y@z8F�X '��8 15 …�x�iX��&*��<t���K;�IbY/x�?�����I�A]��<$�>�Ԙ,Ay7o�`*�v����A�Σ�U�X��`<i����,J�?A�;�8�y��… 18 �<y�h�A�WT�9�E����U}wT�d��0<�yGPL�Z4�����v��w����+��@<ں}�r4;@:�h%��@�)���W���b@<<�h…
|
/freebsd/crypto/openssl/providers/implementations/digests/ |
H A D | blake2b_prov.c | 23 static const uint64_t blake2b_IV[8] = 33 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 } , 34 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 } , 35 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 } , 36 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 } , 37 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 } , 38 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 } , 39 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 } , 40 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 } , 41 { 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5 } , [all …]
|
H A D | blake2s_prov.c | 23 static const uint32_t blake2s_IV[8] = 31 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 } , 32 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 } , 33 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 } , 34 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 } , 35 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 } , 36 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 } , 37 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 } , 38 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 } , 39 { 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5 } , [all …]
|
/freebsd/sys/contrib/libb2/ |
H A D | blake2b-ref.c | 21 static const uint64_t blake2b_IV[8] = 31 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 } , 32 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 } , 33 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 } , 34 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 } , 35 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 } , 36 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 } , 37 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 } , 38 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 } , 39 { 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5 } , [all …]
|
H A D | blake2s-ref.c | 21 static const uint32_t blake2s_IV[8] = 29 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 } , 30 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 } , 31 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 } , 32 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 } , 33 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 } , 34 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 } , 35 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 } , 36 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 } , 37 { 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5 } , [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | ieee80211.h | 58 #define IEEE80211_CCMP_HDR_LEN 8 /* 802.11i .. net80211 comment */ 60 #define IEEE80211_CCMP_MIC_LEN 8 /* || 16 */ 61 #define IEEE80211_CCMP_256_HDR_LEN 8 63 #define IEEE80211_GCMP_HDR_LEN 8 116 #define IEEE80211_TKIP_IV_LEN 8 /* WEP + KID + EXT */ 164 IEEE80211_HT_MPDU_DENSITY_8 = 6, /* 8us */ 173 #define IEEE80211_FCTL_ORDER (IEEE80211_FC1_ORDER << 8) 174 #define IEEE80211_FCTL_PROTECTED (IEEE80211_FC1_PROTECTED << 8) 175 #define IEEE80211_FCTL_FROMDS (IEEE80211_FC1_DIR_FROMDS << 8) 176 #define IEEE80211_FCTL_TODS (IEEE80211_FC1_DIR_TODS << 8) [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | argon2-fill-block-ssse3.c | 49 for (i = 0; i < 8; ++i) { in fill_block() 50 BLAKE2_ROUND(state[8 * i + 0], state[8 * i + 1], state[8 * i + 2], in fill_block() 51 state[8 * i + 3], state[8 * i + 4], state[8 * i + 5], in fill_block() 52 state[8 * i + 6], state[8 * i + 7]); in fill_block() 55 for (i = 0; i < 8; ++i) { in fill_block() 56 BLAKE2_ROUND(state[8 * 0 + i], state[8 * 1 + i], state[8 * 2 + i], in fill_block() 57 state[8 * 3 + i], state[8 * 4 + i], state[8 * 5 + i], in fill_block() 58 state[8 * 6 + i], state[8 * 7 + i]); in fill_block() 81 for (i = 0; i < 8; ++i) { in fill_block_with_xor() 82 BLAKE2_ROUND(state[8 * i + 0], state[8 * i + 1], state[8 * i + 2], in fill_block_with_xor() [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_blake2s_ref.c | 25 static const uint32_t blake2s_IV[8] = 33 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 } , 34 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 } , 35 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 } , 36 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 } , 37 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 } , 38 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 } , 39 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 } , 40 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 } , 41 { 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5 } , [all …]
|
/freebsd/sbin/ipf/ipf/ |
H A D | ipfilter.4 | 55 any of the 19 IP options or 8 registered IP security classes TOS (Type of 92 ipf(8) 98 ipfs(8) 105 ipfstat(8) 115 ipmon(8) 137 ipnat(8) 161 V 164 | V | 170 | | V | 171 | V IP Accounting | [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | hexagon_types.h | 72 #define HEXAGON_V64_GET_D(v) (v) argument 73 #define HEXAGON_V64_GET_UD(v) ((unsigned long long)(v)) argument 77 #define HEXAGON_V64_GET_W0(v) \ argument 83 _HEXAGON_V64_internal_union.d = (v); \ 86 #define HEXAGON_V64_GET_W1(v) \ argument 92 _HEXAGON_V64_internal_union.d = (v); \ 95 #define HEXAGON_V64_GET_UW0(v) \ argument 101 _HEXAGON_V64_internal_union.d = (v); \ 104 #define HEXAGON_V64_GET_UW1(v) \ argument 110 _HEXAGON_V64_internal_union.d = (v); \ [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | igetest.c | 151 const struct ige_test *const v = &ige_test_vectors[n]; in test_ige_vectors() local 157 if (!TEST_int_le(v->length, MAX_VECTOR_SIZE)) in test_ige_vectors() 160 if (v->encrypt == AES_ENCRYPT) in test_ige_vectors() 161 AES_set_encrypt_key(v->key, 8 * sizeof(v->key), &key); in test_ige_vectors() 163 AES_set_decrypt_key(v->key, 8 * sizeof(v->key), &key); in test_ige_vectors() 164 memcpy(iv, v->iv, sizeof(iv)); in test_ige_vectors() 165 AES_ige_encrypt(v->in, buf, v->length, &key, iv, v->encrypt); in test_ige_vectors() 167 if (!TEST_mem_eq(v->out, v->length, buf, v->length)) { in test_ige_vectors() 169 test_output_memory("key", v->key, sizeof(v->key)); in test_ige_vectors() 170 test_output_memory("iv", v->iv, sizeof(v->iv)); in test_ige_vectors() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAddressingModes.h | 105 /// the 8-bit imm value. 109 inline unsigned getSOImmValRot(unsigned Imm) { return (Imm >> 8) * 2; } in getSOImmValRot() 116 // 8-bit (or less) immediates are trivially shifter_operands with a rotate in getSOImmValRotate() 123 // Rotate amount must be even. Something like 0x200 must be rotated 8 bits, in getSOImmValRotate() 150 // 8-bit (or less) immediates are trivially shifter_operands with a rotate in getSOImmVal() 161 return llvm::rotl<uint32_t>(Arg, RotAmt) | ((RotAmt >> 1) << 8); in getSOImmVal() 166 inline bool isSOImmTwoPartVal(unsigned V) { in isSOImmTwoPartVal() argument 168 V = llvm::rotr<uint32_t>(~255U, getSOImmValRotate(V)) & V; in isSOImmTwoPartVal() 169 if (V == 0) in isSOImmTwoPartVal() 173 V = llvm::rotr<uint32_t>(~255U, getSOImmValRotate(V)) & V; in isSOImmTwoPartVal() [all …]
|
/freebsd/sys/dev/drm2/ |
H A D | drm_fourcc.h | 27 #define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \ 33 #define DRM_FORMAT_C8 fourcc_code('C', '8', ' ', ' ') /* [7:0] C */ 35 /* 8 bpp RGB */ 36 #define DRM_FORMAT_RGB332 fourcc_code('R', 'G', 'B', '8') /* [7:0] R:G:B 3:3:2 */ 37 #define DRM_FORMAT_BGR233 fourcc_code('B', 'G', 'R', '8') /* [7:0] B:G:R 2:3:3 */ 68 #define DRM_FORMAT_XRGB8888 fourcc_code('X', 'R', '2', '4') /* [31:0] x:R:G:B 8:8:8:8 little endian… 69 #define DRM_FORMAT_XBGR8888 fourcc_code('X', 'B', '2', '4') /* [31:0] x:B:G:R 8:8:8:8 little endian… 70 #define DRM_FORMAT_RGBX8888 fourcc_code('R', 'X', '2', '4') /* [31:0] R:G:B:x 8:8:8:8 little endian… 71 #define DRM_FORMAT_BGRX8888 fourcc_code('B', 'X', '2', '4') /* [31:0] B:G:R:x 8:8:8:8 little endian… 73 #define DRM_FORMAT_ARGB8888 fourcc_code('A', 'R', '2', '4') /* [31:0] A:R:G:B 8:8:8:8 little endian… [all …]
|
/freebsd/contrib/kyua/utils/format/ |
H A D | containers_test.cpp | 78 std::map< char, int > v; in ATF_TEST_CASE_BODY() local 79 v['b'] = 123; in ATF_TEST_CASE_BODY() 80 v['z'] = 321; in ATF_TEST_CASE_BODY() 81 do_check("map(b=123, z=321)", v); in ATF_TEST_CASE_BODY() 85 std::map< int, std::string > v; in ATF_TEST_CASE_BODY() local 86 v[5] = "first"; in ATF_TEST_CASE_BODY() 87 v[2] = "second"; in ATF_TEST_CASE_BODY() 88 v[8] = "third"; in ATF_TEST_CASE_BODY() 89 do_check("map(2=second, 5=first, 8=third)", v); in ATF_TEST_CASE_BODY() 115 do_check("8", std::shared_ptr< int >(new int(8))); in ATF_TEST_CASE_BODY() [all …]
|