Home | History | Annotate | Download | only in libutils

Lines Matching defs:cp

536     const char* cp;
539 cp = strrchr(buf, OS_PATH_SEPARATOR);
540 if (cp == NULL)
543 return String8(cp+1);
548 const char* cp;
551 cp = strrchr(str, OS_PATH_SEPARATOR);
552 if (cp == NULL)
555 return String8(str, cp - str);
560 const char* cp;
564 cp = strchr(buf, OS_PATH_SEPARATOR);
565 if (cp == buf) {
568 cp = strchr(buf, OS_PATH_SEPARATOR);
571 if (cp == NULL) {
577 String8 res(buf, cp-buf);
578 if (outRemains) *outRemains = String8(cp+1);