Lines Matching defs:ap
111 char *ap, *cp;
116 ap = NULL;
119 ap = shquote(argv);
120 len = strlen(ap) + maxlen + 4;
125 if (ap == NULL) {
127 asprintf(&ap, "%s/%s", cmd, thread);
128 sprintf(cp, "[%.*s]", (int)maxlen, ap);
129 free(ap);
133 sprintf(cp, "%s (%.*s)", ap, (int)maxlen, cmd);
135 strcpy(cp, ap);