Lines Matching refs:pos
252 int ret_len, pos; in grapheme_split_string() local
263 pos = 0; in grapheme_split_string()
265 for ( ret_len = 0; pos != UBRK_DONE; ) { in grapheme_split_string()
267 pos = ubrk_next(bi); in grapheme_split_string()
269 if ( pos != UBRK_DONE ) { in grapheme_split_string()
272 boundary_array[ret_len] = pos; in grapheme_split_string()
289 int pos = 0; in grapheme_count_graphemes() local
296 pos = ubrk_next(bi); in grapheme_count_graphemes()
298 if ( UBRK_DONE != pos ) { in grapheme_count_graphemes()
302 } while ( UBRK_DONE != pos ); in grapheme_count_graphemes()
312 int32_t pos; in grapheme_get_haystack_offset() local
330 pos = 0; in grapheme_get_haystack_offset()
332 while ( pos != UBRK_DONE && offset != 0 ) { in grapheme_get_haystack_offset()
334 pos = iter_op(bi); in grapheme_get_haystack_offset()
336 if ( UBRK_DONE != pos ) { in grapheme_get_haystack_offset()
345 return pos; in grapheme_get_haystack_offset()