Lines Matching defs:second
1691 __m256i second = _mm256_cvtepu8_epi16(_mm256_extractf128_si256(*this,1));
1696 second = _mm256_shuffle_epi8(second, swap);
1699 _mm256_storeu_si256(reinterpret_cast<__m256i *>(ptr + 16), second);
2597 __m128i second = _mm_cvtepu8_epi16(_mm_srli_si128(*this,8));
2601 second = _mm_shuffle_epi8(second, swap);
2604 _mm_storeu_si128(reinterpret_cast<__m128i *>(p+8), second);
13793 cases), while the second one contains just the third byte for
14345 cases), while the second one contains just the third byte for
16830 size_t converted_chars = ret.second - utf8_output;
16834 ret.first, len - (ret.first - buf), ret.second);
16842 size_t converted_chars = ret.second - utf16_output;
16845 ret.first, len - (ret.first - buf), ret.second);
16853 size_t converted_chars = ret.second - utf16_output;
16856 ret.first, len - (ret.first - buf), ret.second);
16864 size_t converted_chars = ret.second - utf32_output;
16867 ret.first, len - (ret.first - buf), ret.second);
16935 size_t saved_bytes = ret.second - latin1_output;
16939 ret.first, len - (ret.first - buf), ret.second);
16949 size_t saved_bytes = ret.second - latin1_output;
16953 ret.first, len - (ret.first - buf), ret.second);
16965 buf + ret.first.count, len - ret.first.count, ret.second);
16970 ret.second += scalar_res.count;
16973 ret.first.count = ret.second - latin1_output; // Set count to the number of 8-bit code units written
16982 buf + ret.first.count, len - ret.first.count, ret.second);
16987 ret.second += scalar_res.count;
16990 ret.first.count = ret.second - latin1_output; // Set count to the number of 8-bit code units written
17007 size_t saved_bytes = ret.second - utf8_output;
17010 ret.first, len - (ret.first - buf), ret.second);
17020 size_t saved_bytes = ret.second - utf8_output;
17023 ret.first, len - (ret.first - buf), ret.second);
17036 buf + ret.first.count, len - ret.first.count, ret.second);
17041 ret.second += scalar_res.count;
17044 ret.first.count = ret.second - utf8_output; // Set count to the number of 8-bit code units written
17054 buf + ret.first.count, len - ret.first.count, ret.second);
17059 ret.second += scalar_res.count;
17062 ret.first.count = ret.second - utf8_output; // Set count to the number of 8-bit code units written
17077 size_t saved_bytes = ret.second - utf8_output;
17080 ret.first, len - (ret.first - buf), ret.second);
17092 buf + ret.first.count, len - ret.first.count, ret.second);
17097 ret.second += scalar_res.count;
17100 ret.first.count = ret.second - utf8_output; // Set count to the number of 8-bit code units written
17107 size_t saved_bytes = ret.second - utf32_output;
17110 ret.first, len - (ret.first - buf), ret.second);
17120 size_t saved_bytes = ret.second - utf32_output;
17123 ret.first, len - (ret.first - buf), ret.second);
17136 buf + ret.first.count, len - ret.first.count, ret.second);
17141 ret.second += scalar_res.count;
17144 ret.first.count = ret.second - utf32_output; // Set count to the number of 8-bit code units written
17154 buf + ret.first.count, len - ret.first.count, ret.second);
17159 ret.second += scalar_res.count;
17162 ret.first.count = ret.second - utf32_output; // Set count to the number of 8-bit code units written
17169 size_t saved_bytes = ret.second - latin1_output;
17173 ret.first, len - (ret.first - buf), ret.second);
17185 buf + ret.first.count, len - ret.first.count, ret.second);
17190 ret.second += scalar_res.count;
17193 ret.first.count = ret.second - latin1_output; // Set count to the number of 8-bit code units written
17200 size_t saved_bytes = ret.second - latin1_output;
17204 ret.first, len - (ret.first - buf), ret.second);
17218 size_t saved_bytes = ret.second - utf16_output;
17221 ret.first, len - (ret.first - buf), ret.second);
17231 size_t saved_bytes = ret.second - utf16_output;
17234 ret.first, len - (ret.first - buf), ret.second);
17246 buf + ret.first.count, len - ret.first.count, ret.second);
17251 ret.second += scalar_res.count;
17254 ret.first.count = ret.second - utf16_output; // Set count to the number of 8-bit code units written
17263 buf + ret.first.count, len - ret.first.count, ret.second);
17268 ret.second += scalar_res.count;
17271 ret.first.count = ret.second - utf16_output; // Set count to the number of 8-bit code units written
17923 __m512i indexofsecondlastbytes = _mm512_add_epi16(mask_ffffffff, last_and_thirdu16); // indices of the second last bytes
17926 beforeasciibytes); // the second last bytes (of two, three byte seq,
17931 indexofsecondlastbytes); // indices of the second last bytes
17985 __m512i indexofsecondlastbytes = _mm512_add_epi16(mask_ffffffff, last_and_thirdu16); // indices of the second last bytes
17988 beforeasciibytes); // the second last bytes (of two, three byte seq,
17993 indexofsecondlastbytes); // indices of the second last bytes
18607 - pair.second - the first unprocessed output word
19680 const __m512i second = _mm512_cvtepu16_epi32(_mm512_extracti32x8_epi32(in,1));
19686 const __m512i shifted_first = _mm512_alignr_epi32(second, first, 1);
19687 const __m512i shifted_second = _mm512_alignr_epi32(_mm512_setzero_si512(), second, 1);
19689 /* 3. Align all high surrogates in first and second by shifting to the left by 10 bits
19693 const __m512i aligned_second = _mm512_mask_slli_epi32(second, (__mmask16)(H>>16), second, 10);
20520 // in the second 32-bit half, set first or second option based on whether original input is leading byte (second case) or not (first case)
20539 if(input_len > 32) { // is the second half of the input vector used?
21111 size_t converted_chars = ret.second - utf32_output;
21114 ret.first, len - (ret.first - buf), ret.second);
21155 if (ret.second == nullptr) {
21158 return ret.second - utf16_output;
21163 if (ret.second == nullptr) {
21166 return ret.second - utf16_output;
21179 size_t saved_bytes = ret.second - utf16_output;
21196 ret.first, len - (ret.first - buf), ret.second);
21206 size_t saved_bytes = ret.second - utf16_output;
21223 ret.first, len - (ret.first - buf), ret.second);
21235 if (ret.second == nullptr)
21238 size_t saved_bytes = ret.second - utf32_output;
21307 size_t saved_bytes = ret.second - utf32_output;
21419 size_t saved_bytes = ret.second - utf8_output;
21422 ret.first, len - (ret.first - buf), ret.second);
21434 buf + ret.first.count, len - ret.first.count, ret.second);
21439 ret.second += scalar_res.count;
21442 ret.first.count = ret.second - utf8_output; // Set count to the number of 8-bit code units written
21453 size_t saved_bytes = ret.second - utf16_output;
21456 ret.first, len - (ret.first - buf), ret.second);
21466 size_t saved_bytes = ret.second - utf16_output;
21469 ret.first, len - (ret.first - buf), ret.second);
21481 buf + ret.first.count, len - ret.first.count, ret.second);
21486 ret.second += scalar_res.count;
21489 ret.first.count = ret.second - utf16_output; // Set count to the number of 8-bit code units written
21498 buf + ret.first.count, len - ret.first.count, ret.second);
21503 ret.second += scalar_res.count;
21506 ret.first.count = ret.second - utf16_output; // Set count to the number of 8-bit code units written
23061 cases), while the second one contains just the third byte for
23593 cases), while the second one contains just the third byte for
26238 size_t converted_chars = ret.second - utf8_output;
26242 ret.first, len - (ret.first - buf), ret.second);
26252 size_t converted_chars = ret.second - utf16_output;
26255 ret.first, len - (ret.first - buf), ret.second);
26265 size_t converted_chars = ret.second - utf16_output;
26268 ret.first, len - (ret.first - buf), ret.second);
26278 size_t converted_chars = ret.second - utf32_output;
26281 ret.first, len - (ret.first - buf), ret.second);
26352 size_t saved_bytes = ret.second - latin1_output;
26355 ret.first, len - (ret.first - buf), ret.second);
26365 size_t saved_bytes = ret.second - latin1_output;
26368 ret.first, len - (ret.first - buf), ret.second);
26380 buf + ret.first.count, len - ret.first.count, ret.second);
26385 ret.second += scalar_res.count;
26388 ret.first.count = ret.second - latin1_output; // Set count to the number of 8-bit code units written
26397 buf + ret.first.count, len - ret.first.count, ret.second);
26402 ret.second += scalar_res.count;
26405 ret.first.count = ret.second - latin1_output; // Set count to the number of 8-bit code units written
26422 size_t saved_bytes = ret.second - utf8_output;
26425 ret.first, len - (ret.first - buf), ret.second);
26435 size_t saved_bytes = ret.second - utf8_output;
26438 ret.first, len - (ret.first - buf), ret.second);
26451 buf + ret.first.count, len - ret.first.count, ret.second);
26456 ret.second += scalar_res.count;
26459 ret.first.count = ret.second - utf8_output; // Set count to the number of 8-bit code units written
26469 buf + ret.first.count, len - ret.first.count, ret.second);
26474 ret.second += scalar_res.count;
26477 ret.first.count = ret.second - utf8_output; // Set count to the number of 8-bit code units written
26492 size_t saved_bytes = ret.second - utf8_output;
26495 ret.first, len - (ret.first - buf), ret.second);
26505 size_t saved_bytes = ret.second - latin1_output;
26508 ret.first, len - (ret.first - buf), ret.second);
26520 buf + ret.first.count, len - ret.first.count, ret.second);
26525 ret.second += scalar_res.count;
26528 ret.first.count = ret.second - latin1_output; // Set count to the number of 8-bit code units written
26541 buf + ret.first.count, len - ret.first.count, ret.second);
26546 ret.second += scalar_res.count;
26549 ret.first.count = ret.second - utf8_output; // Set count to the number of 8-bit code units written
26556 size_t saved_bytes = ret.second - utf32_output;
26559 ret.first, len - (ret.first - buf), ret.second);
26569 size_t saved_bytes = ret.second - utf32_output;
26572 ret.first, len - (ret.first - buf), ret.second);
26585 buf + ret.first.count, len - ret.first.count, ret.second);
26590 ret.second += scalar_res.count;
26593 ret.first.count = ret.second - utf32_output; // Set count to the number of 8-bit code units written
26603 buf + ret.first.count, len - ret.first.count, ret.second);
26608 ret.second += scalar_res.count;
26611 ret.first.count = ret.second - utf32_output; // Set count to the number of 8-bit code units written
26622 size_t saved_bytes = ret.second - utf16_output;
26625 ret.first, len - (ret.first - buf), ret.second);
26635 size_t saved_bytes = ret.second - utf16_output;
26638 ret.first, len - (ret.first - buf), ret.second);
26650 buf + ret.first.count, len - ret.first.count, ret.second);
26655 ret.second += scalar_res.count;
26658 ret.first.count = ret.second - utf16_output; // Set count to the number of 8-bit code units written
26667 buf + ret.first.count, len - ret.first.count, ret.second);
26672 ret.second += scalar_res.count;
26675 ret.first.count = ret.second - utf16_output; // Set count to the number of 8-bit code units written
29572 cases), while the second one contains just the third byte for
30027 cases), while the second one contains just the third byte for
30300 if(!_mm_testz_si128(nextin_16, v_ff80)) { //checks if the second packed vector is ASCII, if not:
30351 const __m128i t2 = _mm_and_si128(in_16, v_003f);// potential second utf8 byte
30353 const __m128i t3 = _mm_or_si128(t1, t2); // first and second potential utf8 byte together
32621 size_t converted_chars = ret.second - utf8_output;
32625 ret.first, len - (ret.first - buf), ret.second);
32635 size_t converted_chars = ret.second - utf16_output;
32638 ret.first, len - (ret.first - buf), ret.second);
32648 size_t converted_chars = ret.second - utf16_output;
32651 ret.first, len - (ret.first - buf), ret.second);
32661 size_t converted_chars = ret.second - utf32_output;
32664 ret.first, len - (ret.first - buf), ret.second);
32735 size_t saved_bytes = ret.second - latin1_output;
32739 ret.first, len - (ret.first - buf), ret.second);
32749 size_t saved_bytes = ret.second - latin1_output;
32753 ret.first, len - (ret.first - buf), ret.second);
32765 buf + ret.first.count, len - ret.first.count, ret.second);
32770 ret.second += scalar_res.count;
32773 ret.first.count = ret.second - latin1_output; // Set count to the number of 8-bit code units written
32782 buf + ret.first.count, len - ret.first.count, ret.second);
32787 ret.second += scalar_res.count;
32790 ret.first.count = ret.second - latin1_output; // Set count to the number of 8-bit code units written
32808 size_t saved_bytes = ret.second - utf8_output;
32811 ret.first, len - (ret.first - buf), ret.second);
32821 size_t saved_bytes = ret.second - utf8_output;
32824 ret.first, len - (ret.first - buf), ret.second);
32837 buf + ret.first.count, len - ret.first.count, ret.second);
32842 ret.second += scalar_res.count;
32845 ret.first.count = ret.second - utf8_output; // Set count to the number of 8-bit code units written
32855 buf + ret.first.count, len - ret.first.count, ret.second);
32860 ret.second += scalar_res.count;
32863 ret.first.count = ret.second - utf8_output; // Set count to the number of 8-bit code units written
32878 size_t saved_bytes = ret.second - latin1_output;
32882 ret.first, len - (ret.first - buf), ret.second);
32895 buf + ret.first.count, len - ret.first.count, ret.second);
32900 ret.second += scalar_res.count;
32903 ret.first.count = ret.second - latin1_output; // Set count to the number of 8-bit code units written
32915 size_t saved_bytes = ret.second - utf8_output;
32918 ret.first, len - (ret.first - buf), ret.second);
32930 buf + ret.first.count, len - ret.first.count, ret.second);
32935 ret.second += scalar_res.count;
32938 ret.first.count = ret.second - utf8_output; // Set count to the number of 8-bit code units written
32945 size_t saved_bytes = ret.second - utf32_output;
32948 ret.first, len - (ret.first - buf), ret.second);
32958 size_t saved_bytes = ret.second - utf32_output;
32961 ret.first, len - (ret.first - buf), ret.second);
32974 buf + ret.first.count, len - ret.first.count, ret.second);
32979 ret.second += scalar_res.count;
32982 ret.first.count = ret.second - utf32_output; // Set count to the number of 8-bit code units written
32992 buf + ret.first.count, len - ret.first.count, ret.second);
32997 ret.second += scalar_res.count;
33000 ret.first.count = ret.second - utf32_output; // Set count to the number of 8-bit code units written
33011 size_t saved_bytes = ret.second - utf16_output;
33014 ret.first, len - (ret.first - buf), ret.second);
33024 size_t saved_bytes = ret.second - utf16_output;
33027 ret.first, len - (ret.first - buf), ret.second);
33039 buf + ret.first.count, len - ret.first.count, ret.second);
33044 ret.second += scalar_res.count;
33047 ret.first.count = ret.second - utf16_output; // Set count to the number of 8-bit code units written
33056 buf + ret.first.count, len - ret.first.count, ret.second);
33061 ret.second += scalar_res.count;
33064 ret.first.count = ret.second - utf16_output; // Set count to the number of 8-bit code units written