Searched refs:cp2 (Results 1 – 2 of 2) sorted by relevance
592 char *cp, *cp2, *cphold = NULL, replaced_byte = ' '; in vkdb_printf() local660 cp2 = kdb_buffer; in vkdb_printf()662 if (!strncmp(cp2, kdb_prompt_str, len)) { in vkdb_printf()
882 char *cp = (char *)str, *cp2; in parse_grep() local897 cp2 = strchr(cp, '\n'); in parse_grep()898 if (cp2) in parse_grep()899 *cp2 = '\0'; /* remove the trailing newline */ in parse_grep()910 cp2 = strchr(cp, '"'); in parse_grep()911 if (!cp2) { in parse_grep()915 *cp2 = '\0'; /* end the string where the 2nd " was */ in parse_grep()