Lines Matching refs:w_source_len

413                                        ssize_t w_source_len) {  in uv__get_surrogate_value()  argument
418 if (u >= 0xD800 && u <= 0xDBFF && w_source_len != 1) { in uv__get_surrogate_value()
428 ssize_t w_source_len) { in uv_utf16_length_as_wtf8() argument
433 while (w_source_len) { in uv_utf16_length_as_wtf8()
434 code_point = uv__get_surrogate_value(w_source_ptr, w_source_len); in uv_utf16_length_as_wtf8()
437 if (w_source_len < 0 && code_point == 0) in uv_utf16_length_as_wtf8()
448 if (w_source_len > 0) in uv_utf16_length_as_wtf8()
449 w_source_len--; in uv_utf16_length_as_wtf8()
452 if (w_source_len > 0) in uv_utf16_length_as_wtf8()
453 w_source_len--; in uv_utf16_length_as_wtf8()
461 ssize_t w_source_len, 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()
496 while (target != target_end && 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()
500 if (w_source_len < 0 && code_point == 0) { in uv_utf16_to_wtf8()
501 w_source_len = 0; in uv_utf16_to_wtf8()
532 if (w_source_len > 0) in uv_utf16_to_wtf8()
533 w_source_len--; in uv_utf16_to_wtf8()
537 if (w_source_len > 0) in uv_utf16_to_wtf8()
538 w_source_len--; in uv_utf16_to_wtf8()
547 if (w_source_len < 0 && target == target_end && w_source_ptr[0] == 0) in uv_utf16_to_wtf8()
548 w_source_len = 0; in uv_utf16_to_wtf8()
553 if (w_source_len) { 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()