Home
last modified time | relevance | path

Searched refs:right_pos (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/desktop_capture/win/
Dfull_screen_win_application_handler.cc132 auto right_pos = title.rfind(kDocumentTitleSeparator); in GetDocumentFromSlideShowTitle() local
134 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()
/external/webrtc/rtc_base/
Dstring_encode.cc246 size_t right_pos = left_pos + 1; in tokenize_first() local
247 while (source[right_pos] == delimiter) { in tokenize_first()
248 right_pos++; in tokenize_first()
252 *rest = source.substr(right_pos); in tokenize_first()
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DCPlusPlusLanguage.cpp92 size_t &left_pos, size_t &right_pos, in ReverseFindMatchingChars() argument
101 right_pos = pos; in ReverseFindMatchingChars()
110 return left_pos < right_pos; in ReverseFindMatchingChars()
/external/flac/src/libFLAC/
Dstream_decoder.c3210 FLAC__uint64 left_pos = 0, right_pos = stream_length; in seek_to_absolute_sample_ogg_() local
3241 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_()