Lines Matching refs:w_source_ptr
412 static int32_t uv__get_surrogate_value(const uint16_t* w_source_ptr, in uv__get_surrogate_value() argument
417 u = w_source_ptr[0]; in uv__get_surrogate_value()
419 next = w_source_ptr[1]; in uv__get_surrogate_value()
427 size_t uv_utf16_length_as_wtf8(const uint16_t* w_source_ptr, in uv_utf16_length_as_wtf8() argument
434 code_point = uv__get_surrogate_value(w_source_ptr, w_source_len); in uv_utf16_length_as_wtf8()
447 w_source_ptr++; in uv_utf16_length_as_wtf8()
451 w_source_ptr++; in uv_utf16_length_as_wtf8()
460 int uv_utf16_to_wtf8(const uint16_t* w_source_ptr, in uv_utf16_to_wtf8() argument
474 target_len = uv_utf16_length_as_wtf8(w_source_ptr, w_source_len); in uv_utf16_to_wtf8()
497 code_point = uv__get_surrogate_value(w_source_ptr, w_source_len); in uv_utf16_to_wtf8()
531 w_source_ptr++; in uv_utf16_to_wtf8()
536 w_source_ptr++; in uv_utf16_to_wtf8()
547 if (w_source_len < 0 && target == target_end && w_source_ptr[0] == 0) in uv_utf16_to_wtf8()
555 *target_len_ptr = target_len + uv_utf16_length_as_wtf8(w_source_ptr, w_source_len); in uv_utf16_to_wtf8()