Searched refs:cp2 (Results 1 – 2 of 2) sorted by relevance
569 char *cp, *cp2, *cphold = NULL, replaced_byte = ' '; in vkdb_printf() local642 cp2 = kdb_buffer; in vkdb_printf()644 if (!strncmp(cp2, kdb_prompt_str, len)) { in vkdb_printf()
781 char *cp = (char *)str, *cp2; in parse_grep() local796 cp2 = strchr(cp, '\n'); in parse_grep()797 if (cp2) in parse_grep()798 *cp2 = '\0'; /* remove the trailing newline */ in parse_grep()809 cp2 = strchr(cp, '"'); in parse_grep()810 if (!cp2) { in parse_grep()814 *cp2 = '\0'; /* end the string where the 2nd " was */ in parse_grep()