Searched refs:slash (Results 1 – 7 of 7) sorted by relevance
/system/core/liblog/ |
D | pmsg_writer.c | 212 char *cp, *slash; in __android_log_pmsg_file_write() local 242 slash = strrchr(cp, '/'); in __android_log_pmsg_file_write() 243 if (slash) { in __android_log_pmsg_file_write() 244 *slash = ':'; in __android_log_pmsg_file_write() 245 slash = strrchr(cp, '/'); in __android_log_pmsg_file_write() 246 if (slash) { in __android_log_pmsg_file_write() 247 tag = slash + 1; in __android_log_pmsg_file_write()
|
/system/core/init/ |
D | util.cpp | 302 const char *slash; in mkdir_recursive() local 308 while ((slash = strchr(p, '/')) != NULL) { in mkdir_recursive() 309 width = slash - pathname; in mkdir_recursive() 310 p = slash + 1; in mkdir_recursive() 358 char *slash; in make_link_init() local 361 slash = strrchr(newpath, '/'); in make_link_init() 362 if (!slash) in make_link_init() 364 width = slash - newpath; in make_link_init()
|
D | devices.cpp | 423 char *slash; in get_character_device_symlinks() local 450 slash = strchr(++parent, '/'); in get_character_device_symlinks() 451 if (!slash) in get_character_device_symlinks() 453 width = slash - parent; in get_character_device_symlinks() 477 char *slash; in get_block_device_symlinks() local 523 slash = strrchr(uevent->path, '/'); in get_block_device_symlinks() 524 if (asprintf(&links[link_num], "%s/%s", link_path, slash + 1) > 0) in get_block_device_symlinks() 636 char *slash; in mkdir_recursive_for_devpath() local 639 slash = strrchr(dir, '/'); in mkdir_recursive_for_devpath() 640 *slash = '\0'; in mkdir_recursive_for_devpath()
|
/system/netd/server/ |
D | NetdConstants.cpp | 190 const char *slash = strchr(prefix, '/'); in parsePrefix() local 191 const char *prefixlenString = slash + 1; in parsePrefix() 192 if (!slash || !*prefixlenString) in parsePrefix() 207 std::string addressString(prefix, slash - prefix); in parsePrefix()
|
D | NetlinkHandler.cpp | 87 char *slash = strchr(addrstr, '/'); in onEvent() local 88 if (slash) { in onEvent() 89 *slash = '\0'; in onEvent()
|
/system/connectivity/shill/ |
D | profile.cc | 287 size_t slash = raw.find('/'); in ParseIdentifier() local 288 if (slash == string::npos) { in ParseIdentifier() 291 string user(raw.begin() + 1, raw.begin() + slash); in ParseIdentifier() 292 string identifier(raw.begin() + slash + 1, raw.end()); in ParseIdentifier()
|
/system/core/adb/ |
D | usb_linux.cpp | 272 const char* slash = strrchr(link, '/'); in find_usb_device() local 273 if (slash) { in find_usb_device() 275 "usb:%s", slash + 1); in find_usb_device()
|