Lines Matching refs:pos
233 int ret_len, pos; in grapheme_split_string() local
244 pos = 0; in grapheme_split_string()
246 for ( ret_len = 0; pos != UBRK_DONE; ) { in grapheme_split_string()
248 pos = ubrk_next(bi); in grapheme_split_string()
250 if ( pos != UBRK_DONE ) { in grapheme_split_string()
253 boundary_array[ret_len] = pos; in grapheme_split_string()
270 int pos = 0; in grapheme_count_graphemes() local
277 pos = ubrk_next(bi); in grapheme_count_graphemes()
279 if ( UBRK_DONE != pos ) { in grapheme_count_graphemes()
283 } while ( UBRK_DONE != pos ); in grapheme_count_graphemes()
293 int32_t pos; in grapheme_get_haystack_offset() local
311 pos = 0; in grapheme_get_haystack_offset()
313 while ( pos != UBRK_DONE && offset != 0 ) { in grapheme_get_haystack_offset()
315 pos = iter_op(bi); in grapheme_get_haystack_offset()
317 if ( UBRK_DONE != pos ) { in grapheme_get_haystack_offset()
326 return pos; in grapheme_get_haystack_offset()