Searched refs:right_pos (Results 1 – 4 of 4) sorted by relevance
132 auto right_pos = title.rfind(kDocumentTitleSeparator); in GetDocumentFromSlideShowTitle() local134 if (left_pos == std::string::npos || right_pos == std::string::npos) in GetDocumentFromSlideShowTitle()137 if (right_pos > left_pos + kSeparatorLength) { in GetDocumentFromSlideShowTitle()138 auto result_len = right_pos - left_pos - kSeparatorLength; in GetDocumentFromSlideShowTitle()
246 size_t right_pos = left_pos + 1; in tokenize_first() local247 while (source[right_pos] == delimiter) { in tokenize_first()248 right_pos++; in tokenize_first()252 *rest = source.substr(right_pos); in tokenize_first()
92 size_t &left_pos, size_t &right_pos, in ReverseFindMatchingChars() argument101 right_pos = pos; in ReverseFindMatchingChars()110 return left_pos < right_pos; in ReverseFindMatchingChars()
3210 FLAC__uint64 left_pos = 0, right_pos = stream_length; in seek_to_absolute_sample_ogg_() local3241 pos = (right_pos + left_pos) / 2; in seek_to_absolute_sample_ogg_()3245 …get_sample - left_sample) / (double)(right_sample - left_sample) * (double)(right_pos - left_pos)); in seek_to_absolute_sample_ogg_()3248 if ((target_sample-left_sample <= 0xffffffff) && (right_pos-left_pos <= 0xffffffff)) in seek_to_absolute_sample_ogg_()3249 …pos = (FLAC__int64)(((target_sample-left_sample) * (right_pos-left_pos)) / (right_sample-left_samp… in seek_to_absolute_sample_ogg_()3251 …pos = (FLAC__int64)((((target_sample-left_sample)>>8) * ((right_pos-left_pos)>>8)) / ((right_sampl… in seek_to_absolute_sample_ogg_()3286 right_pos = pos; in seek_to_absolute_sample_ogg_()3326 if (right_pos == pos) { in seek_to_absolute_sample_ogg_()3330 right_pos = pos; in seek_to_absolute_sample_ogg_()