Home
last modified time | relevance | path

Searched refs:begin_index (Results 1 – 9 of 9) sorted by relevance

/external/ceres-solver/internal/ceres/
Dsplit.cc96 string::size_type begin_index, end_index; in SplitStringToIteratorUsing() local
97 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing()
98 while (begin_index != string::npos) { 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()
/external/chromium_org/base/i18n/
Drtl.cc281 size_t begin_index = 0; in UnadjustStringForLocaleDirection() local
282 char16 begin = text->at(begin_index); in UnadjustStringForLocaleDirection()
285 ++begin_index; in UnadjustStringForLocaleDirection()
296 text->substr(begin_index, end_index - begin_index + 1); in UnadjustStringForLocaleDirection()
380 size_t begin_index = 0; in StripWrappingBidiControlCharacters() local
381 char16 begin = text[begin_index]; in StripWrappingBidiControlCharacters()
386 ++begin_index; in StripWrappingBidiControlCharacters()
390 return text.substr(begin_index, end_index - begin_index + 1); in StripWrappingBidiControlCharacters()
/external/chromium_org/base/strings/
Dstring_split.cc69 typename STR::size_type begin_index = 0; in SplitStringUsingSubstrT() local
71 const typename STR::size_type end_index = str.find(s, begin_index); in SplitStringUsingSubstrT()
73 const STR term = str.substr(begin_index); in SplitStringUsingSubstrT()
79 const STR term = str.substr(begin_index, end_index - begin_index); in SplitStringUsingSubstrT()
83 begin_index = end_index + s.size(); in SplitStringUsingSubstrT()
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dstrutil.cc172 string::size_type begin_index, end_index; in SplitStringToIteratorUsing() local
173 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing()
174 while (begin_index != string::npos) { in SplitStringToIteratorUsing()
175 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()
177 *result++ = full.substr(begin_index); in SplitStringToIteratorUsing()
180 *result++ = full.substr(begin_index, (end_index - begin_index)); in SplitStringToIteratorUsing()
181 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
209 string::size_type begin_index, end_index; in SplitStringToIteratorAllowEmpty() local
210 begin_index = 0; in SplitStringToIteratorAllowEmpty()
213 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorAllowEmpty()
[all …]
/external/chromium_org/ui/base/l10n/
Dl10n_util_collator.h129 unsigned int begin_index, in SortVectorWithStringKey() argument
132 DCHECK(begin_index < end_index && in SortVectorWithStringKey()
141 stable_sort(elements->begin() + begin_index, in SortVectorWithStringKey()
145 sort(elements->begin() + begin_index, elements->begin() + end_index, c); in SortVectorWithStringKey()
/external/chromium_org/url/
Durl_file.h30 inline int FindNextSlash(const CHAR* spec, int begin_index, int spec_len) { in FindNextSlash() argument
31 int idx = begin_index; in FindNextSlash()
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc172 string::size_type begin_index, end_index; in SplitStringToIteratorUsing() local
173 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing()
174 while (begin_index != string::npos) { in SplitStringToIteratorUsing()
175 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()
177 *result++ = full.substr(begin_index); in SplitStringToIteratorUsing()
180 *result++ = full.substr(begin_index, (end_index - begin_index)); in SplitStringToIteratorUsing()
181 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
/external/chromium_org/content/browser/fileapi/
Dcopy_or_move_operation_delegate_unittest.cc676 size_t begin_index = records.size(); in TEST() local
680 if (begin_index == records.size()) in TEST()
681 begin_index = j; in TEST()
687 ASSERT_NE(begin_index, records.size()); in TEST()
689 ASSERT_NE(begin_index, end_index); in TEST()
692 records[begin_index].type); in TEST()
693 EXPECT_FALSE(records[begin_index].dest_url.is_valid()); in TEST()
699 EXPECT_EQ(begin_index + 1, end_index); in TEST()
703 for (size_t j = begin_index + 1; j < end_index; ++j) { in TEST()
/external/chromium_org/tools/gn/
Dfilesystem_utils.cc429 size_t begin_index = 1; in InvertDir() local
434 begin_index = 2; in InvertDir()
437 for (size_t i = begin_index; i < value.size(); i++) { in InvertDir()