Home | History | Annotate | Download | only in strace

Lines Matching defs:outstr

321 	static char outstr[1024];
324 strcpy(outstr, prefix);
329 strcat(outstr, "|");
330 strcat(outstr, xlat->str);
337 strcat(outstr, "|");
338 sprintf(outstr + strlen(outstr), "%#x", flags);
341 return outstr;
439 * Write up to (3 + `size' * 4) bytes to `outstr' buffer.
444 string_quote(const char *instr, char *outstr, int len, int size)
447 char *s = outstr;
570 static char outstr[4*(sizeof path - 1) + sizeof "\"...\""];
575 (void) string_quote(path, outstr, -1, n + 1);
577 strcat(outstr, "...");
578 tprintf("%s", outstr);
597 static char *outstr;
607 if (!outstr)
608 outstr = malloc(4 * max_strlen + sizeof "\"...\"");
609 if (!str || !outstr) {
635 if (string_quote(str, outstr, len, size) &&
637 strcat(outstr, "...");
639 tprintf("%s", outstr);
705 static char outstr[80];
723 s = outstr;
750 tprintf("%s |\n", outstr);