Home
last modified time | relevance | path

Searched refs:slash (Results 1 – 6 of 6) sorted by relevance

/system/core/liblog/
Dpmsg_writer.cpp179 char *cp, *slash; in __android_log_pmsg_file_write() local
199 slash = strrchr(cp, '/'); in __android_log_pmsg_file_write()
200 if (slash) { in __android_log_pmsg_file_write()
201 *slash = ':'; in __android_log_pmsg_file_write()
202 slash = strrchr(cp, '/'); in __android_log_pmsg_file_write()
203 if (slash) { in __android_log_pmsg_file_write()
204 tag = slash + 1; in __android_log_pmsg_file_write()
/system/netd/server/
DNetdConstants.cpp83 const char *slash = strchr(prefix, '/'); in parsePrefix() local
84 const char *prefixlenString = slash + 1; in parsePrefix()
85 if (!slash || !*prefixlenString) in parsePrefix()
100 std::string addressString(prefix, slash - prefix); in parsePrefix()
DNetlinkHandler.cpp141 char *slash = strchr(addrstr, '/'); in onEvent() local
142 if (slash) { in onEvent()
143 *slash = '\0'; in onEvent()
/system/core/fs_mgr/
Dfs_mgr_roots.cpp43 auto slash = str.find_last_of('/'); in GetEntryForPath() local
44 if (slash == std::string::npos) break; in GetEntryForPath()
45 if (slash == 0) { in GetEntryForPath()
48 str = str.substr(0, slash); in GetEntryForPath()
/system/core/init/
Dutil.cpp211 std::string::size_type slash = 0; in mkdir_recursive() local
212 while ((slash = path.find('/', slash + 1)) != std::string::npos) { in mkdir_recursive()
213 auto directory = path.substr(0, slash); in mkdir_recursive()
/system/core/adb/client/
Dusb_linux.cpp281 const char* slash = strrchr(link, '/'); in find_usb_device() local
282 if (slash) { in find_usb_device()
284 "usb:%s", slash + 1); in find_usb_device()