Lines Matching refs:delim
51 static int CalculateReserveForVector(const string& full, const char* delim) { in CalculateReserveForVector() argument
53 if (delim[0] != '\0' && delim[1] == '\0') { in CalculateReserveForVector()
55 char c = delim[0]; in CalculateReserveForVector()
75 const char* delim, in SplitStringToIteratorUsing() argument
78 if (delim[0] != '\0' && delim[1] == '\0') { in SplitStringToIteratorUsing()
79 char c = delim[0]; 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()
105 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
110 const char* delim, in SplitStringUsing() argument
112 result->reserve(result->size() + CalculateReserveForVector(full, delim)); in SplitStringUsing()
114 SplitStringToIteratorUsing(full, delim, it); in SplitStringUsing()