Lines Matching refs:pos
235 int ret_len, pos; in grapheme_split_string() local
246 pos = 0; in grapheme_split_string()
248 for ( ret_len = 0; pos != UBRK_DONE; ) { in grapheme_split_string()
250 pos = ubrk_next(bi); in grapheme_split_string()
252 if ( pos != UBRK_DONE ) { in grapheme_split_string()
255 boundary_array[ret_len] = pos; in grapheme_split_string()
272 int pos = 0; in grapheme_count_graphemes() local
279 pos = ubrk_next(bi); in grapheme_count_graphemes()
281 if ( UBRK_DONE != pos ) { in grapheme_count_graphemes()
285 } while ( UBRK_DONE != pos ); in grapheme_count_graphemes()
295 int32_t pos; in grapheme_get_haystack_offset() local
313 pos = 0; in grapheme_get_haystack_offset()
315 while ( pos != UBRK_DONE && offset != 0 ) { in grapheme_get_haystack_offset()
317 pos = iter_op(bi); in grapheme_get_haystack_offset()
319 if ( UBRK_DONE != pos ) { in grapheme_get_haystack_offset()
328 return pos; in grapheme_get_haystack_offset()