Lines Matching refs:pos
238 int ret_len, pos; in grapheme_split_string() local
249 pos = 0; in grapheme_split_string()
251 for ( ret_len = 0; pos != UBRK_DONE; ) { in grapheme_split_string()
253 pos = ubrk_next(bi); in grapheme_split_string()
255 if ( pos != UBRK_DONE ) { in grapheme_split_string()
258 boundary_array[ret_len] = pos; in grapheme_split_string()
275 int pos = 0; in grapheme_count_graphemes() local
282 pos = ubrk_next(bi); in grapheme_count_graphemes()
284 if ( UBRK_DONE != pos ) { in grapheme_count_graphemes()
288 } while ( UBRK_DONE != pos ); in grapheme_count_graphemes()
298 int32_t pos; in grapheme_get_haystack_offset() local
316 pos = 0; in grapheme_get_haystack_offset()
318 while ( pos != UBRK_DONE && offset != 0 ) { in grapheme_get_haystack_offset()
320 pos = iter_op(bi); in grapheme_get_haystack_offset()
322 if ( UBRK_DONE != pos ) { in grapheme_get_haystack_offset()
331 return pos; in grapheme_get_haystack_offset()