Lines Matching refs:src_len
159 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index)
161 if (index >= src_len) {
177 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len)
179 if (src == NULL || src_len == 0) {
184 const char32_t *end = src + src_len;
191 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst)
193 if (src == NULL || src_len == 0 || dst == NULL) {
198 const char32_t *end_utf32 = src + src_len;
333 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst)
335 if (src == NULL || src_len == 0 || dst == NULL) {
340 const char16_t* const end_utf16 = src + src_len;
406 ssize_t utf16_to_utf8_length(const char16_t *src, size_t src_len)
408 if (src == NULL || src_len == 0) {
413 const char16_t* const end = src + src_len;
447 size_t utf8_to_utf32_length(const char *src, size_t src_len)
449 if (src == NULL || src_len == 0) {
456 for (cur = src, end = src + src_len, num_to_skip = 1;
472 void utf8_to_utf32(const char* src, size_t src_len, char32_t* dst)
474 if (src == NULL || src_len == 0 || dst == NULL) {
479 const char* const end = src + src_len;