Home
last modified time | relevance | path

Searched refs:end_index (Results 1 – 2 of 2) sorted by relevance

/system/core/base/
Dstrings.cpp57 size_t end_index = s.size() - 1; in Trim() local
68 while (end_index >= start_index) { in Trim()
69 if (!isspace(s[end_index])) { in Trim()
72 end_index--; in Trim()
76 if (end_index < start_index) { in Trim()
80 return s.substr(start_index, end_index - start_index + 1); in Trim()
/system/core/init/
Dbuiltins.cpp390 static void import_late(const std::vector<std::string>& args, size_t start_index, size_t end_index)… in import_late() argument
392 if (end_index <= start_index) { in import_late()
407 for (size_t i = start_index; i < end_index; ++i) { in import_late()