Home
last modified time | relevance | path

Searched refs:start_index (Results 1 – 3 of 3) sorted by relevance

/system/core/base/
Dstrings.cpp55 size_t start_index = 0; in Trim() local
59 while (start_index < s.size()) { in Trim()
60 if (!isspace(s[start_index])) { in Trim()
63 start_index++; in Trim()
67 while (end_index >= start_index) { in Trim()
75 if (end_index < start_index) { in Trim()
79 return s.substr(start_index, end_index - start_index + 1); in Trim()
/system/bt/service/common/bluetooth/
Duuid.cpp103 const int start_index = uuid.size() == 4 ? 2 : 0; in UUID() local
108 id_[start_index + i] = strtol(octet_text.c_str(), &temp, 16); in UUID()
/system/core/init/
Dbuiltins.cpp477 static void import_late(const std::vector<std::string>& args, size_t start_index) { in import_late() argument
479 if (args.size() <= start_index) { in import_late()
491 for (size_t i = start_index; i < args.size(); ++i) { in import_late()