Home
last modified time | relevance | path

Searched refs:outstr (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/bin/md5/
Dcrc.c124 CKSUM_End(CKSUM_CTX *ctx, char *outstr) in CKSUM_End() argument
128 if (outstr == NULL) { in CKSUM_End()
129 if (asprintf(&outstr, "%u %lld", ctx->crc, ctx->len) == -1) in CKSUM_End()
132 (void)snprintf(outstr, (size_t)CKSUM_DIGEST_STRING_LENGTH, in CKSUM_End()
136 return (outstr); in CKSUM_End()
/openbsd/src/usr.bin/less/
Dscreen.c492 tmodes(char *incap, char *outcap, char **instr, char **outstr, in tmodes() argument
497 *outstr = ""; in tmodes()
502 *outstr = outcap; in tmodes()
507 *outstr = def_outstr; in tmodes()
511 if (*outstr == NULL) in tmodes()
513 *outstr = exit_attribute_mode; in tmodes()
514 if (*outstr == NULL) in tmodes()
516 *outstr = ""; in tmodes()
/openbsd/src/games/hunt/huntd/
Dterminal.c99 outstr(PLAYER *pp, char *str, int len) in outstr() function
103 outstr(pp, str, len); in outstr()
105 outstr(pp, str, len); in outstr()
138 outstr(pp, buf, len); in outyx()
Ddraw.c61 outstr(pp, pp->p_maze[0], WIDTH); in drawmaze()
79 outstr(pp, pp->p_maze[HEIGHT - 1], WIDTH); in drawmaze()
334 outstr(pp, s, strlen(s)); in message()
Dserver.h264 void outstr(PLAYER *, char *, int);
/openbsd/src/distrib/special/more/
Dmore.c1620 char *outstr; in expand() local
1626 outstr = temp; in expand()
1631 len = strlcpy(outstr, fnames[fnum], in expand()
1632 temp + sizeof(temp) - outstr); in expand()
1633 if (len >= temp + sizeof(temp) - outstr) in expand()
1634 len = temp + sizeof(temp) - outstr - 1; in expand()
1635 outstr += len; in expand()
1638 *outstr++ = c; in expand()
1643 len = strlcpy(outstr, shell_line, in expand()
1644 temp + sizeof(temp) - outstr); in expand()
[all …]
/openbsd/src/usr.bin/mandoc/
Ddba.c235 static char *outstr = NULL; in prepend() local
241 outstr = mandoc_realloc(outstr, newlen + 1); in prepend()
244 *outstr = inbyte; in prepend()
245 memcpy(outstr + 1, instr, newlen); in prepend()
246 return outstr; in prepend()
/openbsd/src/libexec/ftpd/
Dftpd.c1500 send_data(FILE *instr, FILE *outstr, off_t blksize, off_t filesize, int isreg) in send_data() argument
1515 if (ferror(outstr)) in send_data()
1517 (void) putc('\r', outstr); in send_data()
1519 (void) putc(c, outstr); in send_data()
1521 fflush(outstr); in send_data()
1525 if (ferror(outstr)) in send_data()
1536 netfd = fileno(outstr); in send_data()
1625 receive_data(FILE *instr, FILE *outstr) in receive_data() argument
1651 if (write(fileno(outstr), buf, cnt) != cnt) in receive_data()
1675 if (ferror(outstr)) in receive_data()
[all …]