Lines Matching refs:left
541 uint32_t left = 0;
543 while (left < right_plus_one) {
544 uint32_t center = left + (right_plus_one - left) / 2;
551 left = center + 1;
558 uint32_t closestIndex = left;
623 uint32_t left = 0;
625 while (left < right_plus_one) {
626 uint32_t center = left + (right_plus_one - left) / 2;
632 left = center + 1;
639 if (left == mNumSyncSamples) {
641 ALOGE("tried to find a sync frame after the last one: %d", left);
646 else if (left == 0) {
648 ALOGE("tried to find a sync frame before the first one: %d", left);
658 // Now ssi[left - 1] <(=) start_sample_index <= ssi[left]
662 --left;
681 err = mSampleIterator->seekTo(mSyncSamples[left]);
687 err = mSampleIterator->seekTo(mSyncSamples[left - 1]);
696 --left;
702 *sample_index = mSyncSamples[left];