Home | History | Annotate | Download | only in ceres

Lines Matching refs:delim

45 // The reserve is only implemented for the single character delim.
51 static int CalculateReserveForVector(const string& full, const char* delim) {
53 if (delim[0] != '\0' && delim[1] == '\0') {
54 // Optimize the common case where delim is a single character.
55 char c = delim[0];
75 const char* delim,
77 // Optimize the common case where delim is a single character.
78 if (delim[0] != '\0' && delim[1] == '\0') {
79 char c = delim[0];
97 begin_index = full.find_first_not_of(delim);
99 end_index = full.find_first_of(delim, begin_index);
105 begin_index = full.find_first_not_of(delim, end_index);
110 const char* delim,
112 result->reserve(result->size() + CalculateReserveForVector(full, delim));
114 SplitStringToIteratorUsing(full, delim, it);