Searched refs:begin_index (Results 1 – 2 of 2) sorted by relevance
143 for (size_type begin_index = 0, end_index = 0; end_index != Piece::npos; in SplitStringUsingSubstrT() local144 begin_index = end_index + delimiter.size()) { in SplitStringUsingSubstrT()145 end_index = input.find(delimiter, begin_index); in SplitStringUsingSubstrT()147 ? input.substr(begin_index) in SplitStringUsingSubstrT()148 : input.substr(begin_index, end_index - begin_index); in SplitStringUsingSubstrT()
199 string::size_type begin_index, end_index; in SplitStringToIteratorUsing() local200 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing()201 while (begin_index != string::npos) { in SplitStringToIteratorUsing()202 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()204 *result++ = full.substr(begin_index); in SplitStringToIteratorUsing()207 *result++ = full.substr(begin_index, (end_index - begin_index)); in SplitStringToIteratorUsing()208 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()236 string::size_type begin_index, end_index; in SplitStringToIteratorAllowEmpty() local237 begin_index = 0; in SplitStringToIteratorAllowEmpty()240 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorAllowEmpty()[all …]