Searched refs:left_pos (Results 1 – 4 of 4) sorted by relevance
131 auto left_pos = title.find(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()139 auto document = title.substr(left_pos + kSeparatorLength, result_len); in GetDocumentFromSlideShowTitle()143 title.substr(left_pos + kSeparatorLength, std::wstring::npos); in GetDocumentFromSlideShowTitle()
240 size_t left_pos = source.find(delimiter); in tokenize_first() local241 if (left_pos == std::string::npos) { in tokenize_first()246 size_t right_pos = left_pos + 1; in tokenize_first()251 *token = source.substr(0, left_pos); in tokenize_first()
92 size_t &left_pos, size_t &right_pos, in ReverseFindMatchingChars() argument95 left_pos = llvm::StringRef::npos; in ReverseFindMatchingChars()109 left_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_()3317 if (left_pos == pos) { in seek_to_absolute_sample_ogg_()3321 left_pos = pos; in seek_to_absolute_sample_ogg_()