Lines Matching refs:full
51 static int CalculateReserveForVector(const string& full, const char* delim) { in CalculateReserveForVector() argument
56 const char* p = full.data(); in CalculateReserveForVector()
57 const char* end = p + full.size(); in CalculateReserveForVector()
74 void SplitStringToIteratorUsing(const StringType& full, in SplitStringToIteratorUsing() argument
80 const char* p = full.data(); in SplitStringToIteratorUsing()
81 const char* end = p + full.size(); in SplitStringToIteratorUsing()
97 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing()
99 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()
101 *result++ = full.substr(begin_index); in SplitStringToIteratorUsing()
104 *result++ = full.substr(begin_index, (end_index - begin_index)); in SplitStringToIteratorUsing()
105 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
109 void SplitStringUsing(const string& full, in SplitStringUsing() argument
112 result->reserve(result->size() + CalculateReserveForVector(full, delim)); in SplitStringUsing()
114 SplitStringToIteratorUsing(full, delim, it); in SplitStringUsing()