Lines Matching defs:ascii

4132     // check of the next 16 bytes are ascii.
4134 if (next_pos <= len) { // if it is safe to read 16 more bytes, check that they are ascii
4198 // check of the next 16 bytes are ascii.
4200 if (next_pos <= len) { // if it is safe to read 16 more bytes, check that they are ascii
10584 /* begin file src/scalar/ascii.h */
10591 namespace ascii {
10637 } // ascii namespace
10643 /* end file src/scalar/ascii.h */
10771 if (pos + 2 <= len) { // if it is safe to read 8 more bytes, check that they are ascii
10835 if (pos + 2 <= len) { // if it is safe to read 8 more bytes, check that they are ascii
10884 if (pos + 2 <= len) { // if it is safe to read 8 more bytes, check that they are ascii
11070 if (pos + 4 <= len) { // if it is safe to read 8 more bytes, check that they are ascii
11144 if (pos + 4 <= len) { // if it is safe to read 8 more bytes, check that they are ascii
11203 if (pos + 4 <= len) { // if it is safe to read 8 more bytes, check that they are ascii
11391 if (pos + 8 <= len) { // if it is safe to read 8 more bytes, check that they are ascii
11475 if (pos + 16 <= len) { // if it is safe to read 16 more bytes, check that they are ascii
11565 if (pos + 16 <= len) { // if it is safe to read 16 more bytes, check that they are ascii
11723 if (pos + 8 <= len) { // if it is safe to read 8 more bytes, check that they are ascii
11788 if (pos + 16 <= len) { // if it is safe to read 16 more bytes, check that they are ascii
11860 if (pos + 16 <= len) { // if it is safe to read 16 more bytes, check that they are ascii
12000 if (pos + 16 <= len) { // if it is safe to read 16 more bytes, check that they are ascii
12128 if (pos + 16 <= len) { // if it is safe to read 16 more bytes, check that they are ascii
12177 if (pos + 16 <= len) { // if it is safe to read 16 more bytes, check that they are ascii
12435 if (pos + 16 <= len) { // if it is safe to read 16 more bytes, check that they are ascii
12662 uint16x8_t ascii = vandq_u16(perm, vmovq_n_u16(0x7f)); // 6 or 7 bits
12669 uint16x8_t composed = vsraq_n_u16(ascii, highbyte, 2);
13301 uint16x4_t ascii = vand_u16(lowperm, vmov_n_u16(0x7F));
13310 uint16x4_t middlelow = vsra_n_u16(ascii, middlebyte, 2);
13386 uint32x4_t ascii = vandq_u32(perm, vmovq_n_u32(0x7f));
13403 uint32x4_t composed = vsraq_n_u32(ascii, abc, 6);
13541 uint32x4_t ascii = vandq_u32(perm, vmovq_n_u32(0x7F)); // 6 or 7 bits
13552 uint32x4_t lowmid = vsraq_n_u32(ascii, middle, 2);
13602 uint32x4_t ascii = vandq_u32(perm, vmovq_n_u32(0x7F));
13620 uint32x4_t cd = vsraq_n_u32(ascii, middle, 2);
13689 uint16x8_t ascii = vandq_u16(perm, vmovq_n_u16(0x7f)); // 6 or 7 bits
13696 uint16x8_t composed = vsraq_n_u16(ascii, highbyte, 2);
15498 result res = scalar::ascii::validate_with_errors(reinterpret_cast<const char*>(input + count), length - count);
15509 result res = scalar::ascii::validate_with_errors(reinterpret_cast<const char*>(input + count), length - count);
17471 return scalar::ascii::validate(buf, len);
17475 return scalar::ascii::validate_with_errors(buf, len);
18080 __m512i lead = _mm512_maskz_compress_epi8(leading, leading2byte); // will contain zero for ascii, and the data
18360 ascii = 7
18366 ascii, # 0000
18367 ascii, # 0001
18368 ascii, # 0010
18369 ascii, # 0011
18370 ascii, # 0100
18371 ascii, # 0101
18372 ascii, # 0110
18373 ascii, # 0111
18639 const __mmask64 ascii = _mm512_test_epi8_mask(utf8, v_80);
18640 if(ascii == 0) {
18690 const __mmask64 ascii = _mm512_test_epi8_mask(utf8, v_80);
18691 if(ascii == 0) {
18838 const __mmask64 ascii = _mm512_test_epi8_mask(input, v_80);
18839 if(ascii == 0) {
20439 const __m512i ascii = _mm512_set1_epi8((uint8_t)0x80);
20443 running_or = _mm512_ternarylogic_epi32(running_or, utf8, ascii, 0xf8); // running_or | (utf8 & ascii)
20447 running_or = _mm512_ternarylogic_epi32(running_or, utf8, ascii, 0xf8); // running_or | (utf8 & ascii)
20490 // Mask to denote whether the byte is a leading byte that is not ascii
20495 uint64_t ascii = ~nonascii;
20496 // the bits in ascii are inverted and zeros are interspersed in between them
20497 uint64_t maskA = ~_pdep_u64(ascii, alternate_bits);
20498 uint64_t maskB = ~_pdep_u64(ascii>>32, alternate_bits);
20842 const __m512i ascii = _mm512_set1_epi8((uint8_t)0x80);
20845 __mmask64 notascii = _mm512_cmp_epu8_mask(input, ascii, _MM_CMPINT_NLT);
20852 __mmask64 notascii = _mm512_cmp_epu8_mask(input, ascii, _MM_CMPINT_NLT);
22658 __m256i ascii = _mm256_cvtepu8_epi16(in);
22662 ascii = _mm256_shuffle_epi8(ascii, swap256);
22664 _mm256_storeu_si256(reinterpret_cast<__m256i *>(utf16_output), ascii);
22673 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi16(0x7f));
22675 __m128i composed = _mm_or_si128(ascii, _mm_srli_epi16(highbyte, 2));
22686 const __m128i ascii =
22695 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted), highbyte_shifted);
22716 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi16(0x7f));
22718 __m128i composed = _mm_or_si128(ascii, _mm_srli_epi16(highbyte, 2));
22727 const __m128i ascii =
22736 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted), highbyte_shifted);
22754 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi32(0x7f));
22772 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted),
22848 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi16(0x7f));
22850 const __m128i composed = _mm_or_si128(ascii, _mm_srli_epi16(highbyte, 2));
22860 const __m128i ascii =
22869 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted), highbyte_shifted);
22889 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi16(0x7f));
22891 const __m128i composed = _mm_or_si128(ascii, _mm_srli_epi16(highbyte, 2));
22900 const __m128i ascii =
22909 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted), highbyte_shifted);
22917 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi32(0x7f));
22929 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted),
24512 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi16(0x7f));
24514 __m128i composed = _mm_or_si128(ascii, _mm_srli_epi16(highbyte, 2));
24909 result res = scalar::ascii::validate_with_errors(reinterpret_cast<const char*>(input + count), length - count);
24920 result res = scalar::ascii::validate_with_errors(reinterpret_cast<const char*>(input + count), length - count);
26877 // careful: 0x80 is not ascii.
27281 result res = scalar::ascii::validate_with_errors(reinterpret_cast<const char*>(input + count), length - count);
27292 result res = scalar::ascii::validate_with_errors(reinterpret_cast<const char*>(input + count), length - count);
29149 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi16(0x7f));
29151 __m128i composed = _mm_or_si128(ascii, _mm_srli_epi16(highbyte, 2));
29162 const __m128i ascii =
29171 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted), highbyte_shifted);
29193 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi16(0x7f));
29195 __m128i composed = _mm_or_si128(ascii, _mm_srli_epi16(highbyte, 2));
29204 const __m128i ascii =
29213 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted), highbyte_shifted);
29231 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi32(0x7f));
29249 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted),
29327 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi16(0x7f));
29329 const __m128i composed = _mm_or_si128(ascii, _mm_srli_epi16(highbyte, 2));
29340 const __m128i ascii =
29349 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted), highbyte_shifted);
29369 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi16(0x7f));
29371 const __m128i composed = _mm_or_si128(ascii, _mm_srli_epi16(highbyte, 2));
29380 const __m128i ascii =
29389 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted), highbyte_shifted);
29397 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi32(0x7f));
29409 _mm_or_si128(_mm_or_si128(ascii, middlebyte_shifted),
29464 const __m128i ascii = _mm_and_si128(perm, _mm_set1_epi16(0x7f));
29466 __m128i composed = _mm_or_si128(ascii, _mm_srli_epi16(highbyte, 2));
31288 result res = scalar::ascii::validate_with_errors(reinterpret_cast<const char*>(input + count), length - count);
31299 result res = scalar::ascii::validate_with_errors(reinterpret_cast<const char*>(input + count), length - count);