Lines Matching refs:begin
409 { sf_count_t begin, end, original_end, chunk_size, ret ;
416 original_end = end = begin = offset ;
420 { begin = SF_MAX (begin - chunk_size, (sf_count_t) 0) ;
421 position = ogg_sync_fseek (psf, begin, SEEK_SET) ;
441 if ((left_link || !begin) && offset < 0)
447 end = SF_MIN (begin + OGG_PAGE_SIZE_MAX - 1, original_end) ;
458 sf_count_t begin, sf_count_t end, uint64_t gp_rate)
476 best = best_start = begin ;
486 d2 = d1 = d0 = end - begin ;
487 while (begin < end)
491 if (end - begin < OGG_CHUNK_SIZE)
492 bisect = begin ;
497 d2 = (end - begin) >> 1 ;
499 bisect = begin + ((end - begin) >> 1) ;
502 bisect = begin + ogg_page_search_do_rescale (target_gp - pcm_start, pcm_end - pcm_start, end - begin) ;
504 if (bisect - OGG_CHUNK_SIZE < begin)
505 bisect = begin ;
534 while (begin < end)
544 if (bisect <= begin + 1)
546 end = begin ;
556 bisect = SF_MAX (bisect - chunk_size, begin) ;
617 begin = seek_pos ;
621 best = best_start = begin ;
647 /* Otherwise, keep scanning forward (do NOT use begin+1). */
648 bisect = begin ;
655 if (bisect <= begin + 1)
656 end = begin ;
669 force_bisect = end - begin > d0 * 2 ? SF_TRUE : SF_FALSE ;