Home | History | Annotate | Download | only in logcat

Lines Matching defs:cp

434 static char *parseTime(log_time &t, const char *cp) {
436 char *ep = t.strptime(cp, "%m-%d %H:%M:%S.%q");
440 ep = t.strptime(cp, "%Y-%m-%d %H:%M:%S.%q");
444 return t.strptime(cp, "%s.%q");
674 char *cp = parseTime(tail_time, optarg);
675 if (!cp) {
679 if (*cp) {
680 char c = *cp;
681 *cp = '\0';
684 ret, optarg, c, cp + 1);
685 *cp = c;
722 char *cp;
723 if (strtoll(optarg, &cp, 0) > 0) {
724 setLogSize = strtoll(optarg, &cp, 0);
729 switch(*cp) {
1178 char *cp = buf + len - 1;
1179 *cp = '\0';
1180 bool truncated = *--cp != '\f';
1182 *cp = '\0';
1186 cp = buf;
1188 while (isdigit(*cp)) {
1189 ++cp;
1191 if (*cp == '\n') {
1192 ++cp;
1196 printf("%s", cp);