Searched refs:slash (Results 1 – 6 of 6) sorted by relevance
/system/core/liblog/ |
D | pmsg_writer.cpp | 179 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/ |
D | NetdConstants.cpp | 83 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()
|
D | NetlinkHandler.cpp | 141 char *slash = strchr(addrstr, '/'); in onEvent() local 142 if (slash) { in onEvent() 143 *slash = '\0'; in onEvent()
|
/system/core/fs_mgr/ |
D | fs_mgr_roots.cpp | 43 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/ |
D | util.cpp | 211 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/ |
D | usb_linux.cpp | 281 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()
|