Home | History | Annotate | Download | only in e2fsck

Lines Matching defs:cp

168 static void safe_print(const char *cp, int len)
173 len = strlen(cp);
176 ch = *cp++;
522 const char * cp;
526 for (cp = msg; *cp; cp++) {
527 if (cp[0] == '@') {
528 cp++;
529 expand_at_expression(ctx, *cp, pctx, &first, recurse);
530 } else if (cp[0] == '%' && cp[1] == 'I') {
531 cp += 2;
532 expand_inode_expression(fs, *cp, pctx);
533 } else if (cp[0] == '%' && cp[1] == 'D') {
534 cp += 2;
535 expand_dirent_expression(fs, *cp, pctx);
536 } else if ((cp[0] == '%')) {
537 cp++;
538 expand_percent_expression(fs, *cp, &first, pctx);
540 for (i=0; cp[i]; i++)
541 if ((cp[i] == '@') || cp[i] == '%')
543 printf("%.*s", i, cp);
544 cp += i-1;