Home | History | Annotate | Download | only in logcat

Lines Matching refs:delim

28 static std::string unquote(const char*& cp, const char*& delim) {
33 delim = strchr(cp, quote);
34 if (!delim) delim = cp + strlen(cp);
35 std::string str(cp, delim);
36 if (*delim) ++delim;
39 delim = strpbrk(cp, " \t\f\r\n");
40 if (!delim) delim = cp + strlen(cp);
41 return std::string(cp, delim);
47 for (const char *delim, *cp = command; cp && *cp; cp = delim) {
54 str += unquote(cp, delim);
60 args.push_back(unquote(cp, delim));