Lines Matching refs:cp
27 char *cp; in tomoyo_print_bprm() local
39 cp = buffer + len; in tomoyo_print_bprm()
41 memmove(cp, "} envp[]={ ", 11); in tomoyo_print_bprm()
42 cp += 11; in tomoyo_print_bprm()
44 last_start = cp; in tomoyo_print_bprm()
54 if (cp == last_start) in tomoyo_print_bprm()
55 *cp++ = '"'; in tomoyo_print_bprm()
56 if (cp >= buffer + tomoyo_buffer_len - 32) { in tomoyo_print_bprm()
60 *cp++ = '\\'; in tomoyo_print_bprm()
61 *cp++ = '\\'; in tomoyo_print_bprm()
63 *cp++ = c; in tomoyo_print_bprm()
65 *cp++ = '"'; in tomoyo_print_bprm()
66 *cp++ = ' '; in tomoyo_print_bprm()
67 last_start = cp; in tomoyo_print_bprm()
69 *cp++ = '\\'; in tomoyo_print_bprm()
70 *cp++ = (c >> 6) + '0'; in tomoyo_print_bprm()
71 *cp++ = ((c >> 3) & 7) + '0'; in tomoyo_print_bprm()
72 *cp++ = (c & 7) + '0'; in tomoyo_print_bprm()
79 cp = last_start; in tomoyo_print_bprm()
80 memmove(cp, "... ", 4); in tomoyo_print_bprm()
81 cp += 4; in tomoyo_print_bprm()
83 memmove(cp, "} envp[]={ ", 11); in tomoyo_print_bprm()
84 cp += 11; in tomoyo_print_bprm()
85 last_start = cp; in tomoyo_print_bprm()
91 cp = last_start; in tomoyo_print_bprm()
92 memmove(cp, "... ", 4); in tomoyo_print_bprm()
93 cp += 4; in tomoyo_print_bprm()
102 *cp++ = '}'; in tomoyo_print_bprm()
103 *cp = '\0'; in tomoyo_print_bprm()