Home
last modified time | relevance | path

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

/system/bt/gd/common/
Dstrings.cc83 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t… in StringSplit() argument
84 ASSERT_LOG(!delim.empty(), "delim cannot be empty"); in StringSplit()
88 auto index_of_delim = str.find(delim); in StringSplit()
91 starting_index = index_of_delim + delim.size(); in StringSplit()
92 index_of_delim = str.find(delim, starting_index); in StringSplit()
101 std::string StringJoin(const std::vector<std::string>& strings, const std::string& delim) { in StringJoin() argument
106 ss << delim; in StringJoin()
Dstrings.h86 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t…
89 std::string StringJoin(const std::vector<std::string>& strings, const std::string& delim);
/system/update_engine/payload_generator/
Dmapfile_filesystem.cc96 size_t delim, last_delim = line.size(); in GetFiles() local
97 while ((delim = line.rfind(' ', last_delim - 1)) != string::npos) { in GetFiles()
99 line.substr(delim + 1, last_delim - (delim + 1)).as_string(); in GetFiles()
128 last_delim = delim; in GetFiles()
/system/media/audio_utils/include/audio_utils/
DFdToString.h111 char *delim, *bptr = buf; in reader() local
112 while (!prefix.empty() && (delim = (char *)memchr(bptr, '\n', red)) != nullptr) { in reader()
114 const size_t line = delim - bptr + 1; in reader()
/system/bt/gd/dumpsys/bundler/
Dbundler.cc125 std::string delim(kDefaultNamespaceDelim); in WriteHeaderFile() local
130 size_t end = ns_string.find(delim); in WriteHeaderFile()
133 start = end + delim.size(); in WriteHeaderFile()
134 end = ns_string.find(delim, start); in WriteHeaderFile()
/system/core/fs_mgr/libsnapshot/
Dsnapuserd_server.cpp65 void SnapuserdServer::Parsemsg(std::string const& msg, const char delim, in Parsemsg() argument
70 while (std::getline(ss, s, delim)) { in Parsemsg()
109 const char delim = ','; in Receivemsg() local
112 Parsemsg(str, delim, out); in Receivemsg()
Dsnapuserd_server.h114 void Parsemsg(std::string const& msg, const char delim, std::vector<std::string>& out);
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp441 const char *delim = " \t"; in ReadFstabFile() local
462 if (!(p = strtok_r(line, delim, &save_ptr))) { in ReadFstabFile()
468 if (!(p = strtok_r(NULL, delim, &save_ptr))) { in ReadFstabFile()
474 if (!(p = strtok_r(NULL, delim, &save_ptr))) { in ReadFstabFile()
480 if (!(p = strtok_r(NULL, delim, &save_ptr))) { in ReadFstabFile()
490 } else if (!(p = strtok_r(NULL, delim, &save_ptr))) { in ReadFstabFile()
Dfs_mgr_overlayfs.cpp663 static constexpr char delim[] = " \t"; in ReadMountinfoFromFile() local
665 if (!strtok_r(line, delim, &save_ptr)) { in ReadMountinfoFromFile()
669 if (!strtok_r(nullptr, delim, &save_ptr)) { in ReadMountinfoFromFile()
673 if (!strtok_r(nullptr, delim, &save_ptr)) { in ReadMountinfoFromFile()
677 if (!strtok_r(nullptr, delim, &save_ptr)) { in ReadMountinfoFromFile()
683 if (!(p = strtok_r(nullptr, delim, &save_ptr))) { in ReadMountinfoFromFile()
689 if (!strtok_r(nullptr, delim, &save_ptr)) { in ReadMountinfoFromFile()
694 while ((p = strtok_r(nullptr, delim, &save_ptr))) { in ReadMountinfoFromFile()
/system/logging/liblog/
Dlogprint.cpp438 static char* strsep(char** stringp, const char* delim) { in strsep() argument
445 token = strpbrk(ret, delim); in strsep()