Home | History | Annotate | Download | only in ceres

Lines Matching full:full

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