Searched refs:xtoffs (Results 1 – 2 of 2) sorted by relevance
364 register size_t toffs = 0, xtoffs; in get_nth_word_utf8() local372 xtoffs = mbtowc(&pwc, &text[toffs], 4); in get_nth_word_utf8()383 toffs += xtoffs; in get_nth_word_utf8()
5602 int xtoffs; in insert_newlines() local5614 xtoffs = mbtowc(NULL, NULL, 0); // reset read state in insert_newlines()5617 for (i = 0; i < tlen; i += xtoffs) { in insert_newlines()5619 if (!xtoffs) break; in insert_newlines()5620 if (xtoffs == -1) { in insert_newlines()5638 req_size += xtoffs; in insert_newlines()5641 xtoffs = mbtowc(NULL, NULL, 0); // reset read state in insert_newlines()5652 for (i = 0; i < tlen; i += xtoffs) { in insert_newlines()5654 if (!xtoffs) break; in insert_newlines()5671 lives_memcpy(retstr + req_size, &utfsym, xtoffs); in insert_newlines()[all …]