Home
last modified time | relevance | path

Searched refs:delim (Results 1 – 4 of 4) sorted by relevance

/system/core/logcat/
Dlogcat_system.cpp27 static std::string unquote(const char*& cp, const char*& delim) { in unquote() argument
32 delim = strchr(cp, quote); in unquote()
33 if (!delim) delim = cp + strlen(cp); in unquote()
34 std::string str(cp, delim); in unquote()
35 if (*delim) ++delim; in unquote()
38 delim = strpbrk(cp, " \t\f\r\n"); in unquote()
39 if (!delim) delim = cp + strlen(cp); in unquote()
40 return std::string(cp, delim); in unquote()
46 for (const char *delim, *cp = command; cp && *cp; cp = delim) { in __android_logcat_parse() local
53 str += unquote(cp, delim); in __android_logcat_parse()
[all …]
/system/update_engine/payload_generator/
Dmapfile_filesystem.cc97 size_t delim, last_delim = line.size(); in GetFiles() local
98 while ((delim = line.rfind(' ', last_delim - 1)) != string::npos) { in GetFiles()
100 line.substr(delim + 1, last_delim - (delim + 1)).as_string(); in GetFiles()
129 last_delim = delim; in GetFiles()
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp485 const char *delim = " \t"; in fs_mgr_read_fstab_file() local
547 if (!(p = strtok_r(line, delim, &save_ptr))) { in fs_mgr_read_fstab_file()
553 if (!(p = strtok_r(NULL, delim, &save_ptr))) { in fs_mgr_read_fstab_file()
559 if (!(p = strtok_r(NULL, delim, &save_ptr))) { in fs_mgr_read_fstab_file()
565 if (!(p = strtok_r(NULL, delim, &save_ptr))) { in fs_mgr_read_fstab_file()
580 if (!(p = strtok_r(NULL, delim, &save_ptr))) { in fs_mgr_read_fstab_file()
/system/core/liblog/
Dlogprint.c442 static char* strsep(char** stringp, const char* delim) { in strsep() argument
449 token = strpbrk(ret, delim); in strsep()