Searched defs:start_index (Results 1 - 3 of 3) sorted by relevance

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

Completed in 67 milliseconds