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

/system/core/base/
H A Dstrings.cpp56 size_t start_index = 0; local
60 while (start_index < s.size()) {
61 if (!isspace(s[start_index])) {
64 start_index++;
68 while (end_index >= start_index) {
76 if (end_index < start_index) {
80 return s.substr(start_index, end_index - start_index + 1);
/system/core/logd/
H A DLogAudit.cpp134 size_t start_index = denial.find(search_term); local
135 if (start_index != std::string::npos) {
136 start_index += search_term.length();
138 start_index, denial.find(terminator, start_index) - start_index);
/system/core/init/
H A Dbuiltins.cpp396 * start_index: index of the first path in the args list
398 static void import_late(const std::vector<std::string>& args, size_t start_index, size_t end_index) { argument
402 if (end_index <= start_index) {
409 for (size_t i = start_index; i < end_index; ++i) {

Completed in 881 milliseconds