/freebsd-11-stable/contrib/tcp_wrappers/ |
H A D | myvsyslog.c | 27 char obuf[3 * STRING_LENGTH]; local 29 vsprintf(obuf, percent_m(fbuf, format), ap); 30 syslog(severity, "%s", obuf);
|
H A D | percent_m.c | 23 char *percent_m(obuf, ibuf) 24 char *obuf; 27 char *bp = obuf; 42 return (obuf);
|
H A D | mystdarg.h | 19 extern char *percent_m(char *obuf, char *ibuf);
|
/freebsd-11-stable/sbin/dhclient/ |
H A D | convert.c | 88 putULong(unsigned char *obuf, u_int32_t val) argument 92 memcpy(obuf, &tmp, sizeof(tmp)); 96 putLong(unsigned char *obuf, int32_t val) argument 100 memcpy(obuf, &tmp, sizeof(tmp)); 104 putUShort(unsigned char *obuf, unsigned int val) argument 108 memcpy(obuf, &tmp, sizeof(tmp)); 112 putShort(unsigned char *obuf, int val) argument 116 memcpy(obuf, &tmp, sizeof(tmp));
|
/freebsd-11-stable/usr.bin/ul/ |
H A D | ul.c | 82 static struct CHAR *obuf = sobuf; variable in typeref:struct:CHAR 156 if (obuf != sobuf) { 157 free(obuf); 180 if (obuf == sobuf) { 181 obuf = NULL; 184 obuf = realloc(obuf, sizeof(*obuf) * 2 * buflen); 185 if (obuf == NULL) { 186 obuf [all...] |
/freebsd-11-stable/usr.bin/stdbuf/ |
H A D | stdbuf.c | 53 char *ibuf, *obuf, *ebuf; local 57 ibuf = obuf = ebuf = NULL; 67 obuf = optarg; 83 if (obuf != NULL && setenv("_STDBUF_O", obuf, 1) == -1) 85 "_STDBUF_O", obuf);
|
/freebsd-11-stable/usr.bin/mail/ |
H A D | quit.c | 72 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local 205 (obuf = Fdopen(fd, "w")) == NULL) { 213 (void)Fclose(obuf); 220 (void)putc(c, obuf); 223 if (ferror(obuf)) { 226 (void)Fclose(obuf); 230 (void)Fclose(obuf); 233 if ((obuf = Fopen(mbox, "r+")) == NULL) { 241 if ((obuf = Fopen(mbox, "a")) == NULL) { 246 (void)fchmod(fileno(obuf), 060 340 FILE *obuf; local 393 FILE *obuf, *ibuf, *readstat; local [all...] |
H A D | send.c | 55 sendmessage(struct message *mp, FILE *obuf, struct ignoretab *doign, argument 102 statusput(mp, obuf, prefix); 131 statusput(mp, obuf, prefix); 136 (void)putc('\n', obuf); 154 statusput(mp, obuf, prefix); 172 fputs(prefix, obuf); 175 prefixlen, obuf); 177 (void)fwrite(line, sizeof(*line), length, obuf); 178 if (ferror(obuf)) 199 fputs(prefix, obuf); 227 statusput(struct message *mp, FILE *obuf, char *prefix) argument [all...] |
H A D | cmd1.c | 291 FILE *obuf; local 293 obuf = stdout; 307 obuf = Popen(cp, "w"); 308 if (obuf == NULL) { 310 obuf = stdout; 325 fprintf(obuf, "Message %d:\n", *ip); 326 (void)sendmessage(mp, obuf, doign ? ignore : 0, NULL); 330 if (obuf != stdout) { 335 (void)Pclose(obuf);
|
H A D | cmd2.c | 160 FILE *obuf; local 183 if ((obuf = Fopen(file, "a")) == NULL) { 190 if (sendmessage(mp, obuf, ignore, NULL) < 0) { 192 (void)Fclose(obuf); 198 (void)fflush(obuf); 199 if (ferror(obuf)) 201 (void)Fclose(obuf);
|
/freebsd-11-stable/crypto/openssl/crypto/rc4/ |
H A D | rc4test.c | 122 unsigned char obuf[512]; local 132 memset(obuf, 0x00, sizeof(obuf)); 133 RC4(&key, data_len[i], &(data[i][0]), obuf); 134 if (memcmp(obuf, output[i], data_len[i] + 1) != 0) { 138 printf(" %02x", obuf[j]); 152 memset(obuf, 0x00, sizeof(obuf)); 153 RC4(&key, i, &(data[3][0]), obuf); 154 if ((memcmp(obuf, outpu [all...] |
/freebsd-11-stable/lib/libc/gen/ |
H A D | setproctitle.c | 63 static char *obuf = NULL; local 80 if (obuf == NULL ) { 81 obuf = malloc(SPT_BUFSIZE); 82 if (obuf == NULL) 84 *obuf = '\0'; 106 } else if (*obuf != '\0') { 110 kbuf = obuf; 146 snprintf(obuf + len, SPT_BUFSIZE - len, "%s%s",
|
/freebsd-11-stable/contrib/netbsd-tests/crypto/opencrypto/ |
H A D | h_aesctr2.c | 56 unsigned char obuf[24]; local 76 co.dst = obuf; 77 co.dst_len = sizeof(obuf); 85 co.len = sizeof(obuf); 86 co.src = obuf;
|
/freebsd-11-stable/crypto/openssl/crypto/bio/ |
H A D | bf_lbuf.c | 98 char *obuf; /* the output char array */ member in struct:bio_linebuffer_ctx_struct 110 ctx->obuf = (char *)OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); 111 if (ctx->obuf == NULL) { 131 if (b->obuf != NULL) 132 OPENSSL_free(b->obuf); 188 memcpy(&(ctx->obuf[ctx->obuf_len]), in, p - in); 194 memcpy(&(ctx->obuf[ctx->obuf_len]), in, i); 204 i = BIO_write(b->next_bio, ctx->obuf, ctx->obuf_len); 221 memmove(ctx->obuf, ctx->obuf [all...] |
/freebsd-11-stable/contrib/less/ |
H A D | output.c | 82 static char obuf[OUTBUF_SIZE]; variable 83 static char *ob = obuf; 91 WIN32textout(obuf, ob - obuf); 130 for (anchor = p_next = obuf; 185 strcpy(obuf, anchor); 186 ob = &obuf[slop]; 344 ob = obuf; 369 n = (int) (ob - obuf); 372 ob = obuf; [all...] |
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/ |
H A D | network.c | 49 void *obuf, *ibuf; local 51 if ((obuf = malloc(netobufsize)) == NULL) 56 if (ring_init(&netoring, obuf, netobufsize) != 1) {
|
/freebsd-11-stable/lib/libc/net/ |
H A D | linkaddr.c | 125 static char obuf[64]; local 126 _Static_assert(sizeof(obuf) >= IFNAMSIZ + 20, "obuf is too small"); 133 out = obuf; 134 rem = sizeof(obuf); 168 return (obuf);
|
/freebsd-11-stable/secure/usr.bin/bdes/ |
H A D | bdes.c | 355 cvtkey(DES_cblock obuf, char *ibuf) argument 365 (void)strncpy(obuf, ibuf, 8); 382 obuf[i] = 403 obuf[i] = (obuf[i]<<1)|nbuf[8*i+j]; 411 (void)strncpy(obuf, ibuf, 8); 720 char obuf[8]; /* output buffer */ local 737 obuf[c] = ibuf[c] ^ msgbuf[c]; 743 n = obuf[nbytes-1]; 750 WRITE(obuf, 766 char obuf[8]; /* output buffer */ local 812 char obuf[8]; /* output buffer */ local 860 char obuf[8]; /* output buffer */ local 906 char obuf[8]; /* output buffer */ local [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/locale/ |
H A D | t_io.c | 81 wchar_t obuf[20]; local 84 swprintf(obuf, sizeof(obuf), L"%ls\n", ibuf) < 0); 111 wchar_t obuf[20]; local 113 ATF_REQUIRE_EQ(swprintf(obuf, sizeof(obuf), L"%ls\n", ibuf), 2);
|
/freebsd-11-stable/usr.sbin/fifolog/lib/ |
H A D | fifolog_write_poll.c | 73 f->obuf + f->obufsize); 94 free(f->obuf); 160 ALLOC(&f->obuf, f->obufsize); 171 f->ff->zs->next_out = f->obuf + 9; 191 long h, l = f->ff->zs->next_out - f->obuf; 196 be32enc(f->obuf, f->seq); 197 f->obuf[h] = f->flag; 200 be32enc(f->obuf + h, now); 216 be32enc(f->obuf + f->ff->recsize - 4, w); 217 f->obuf[ [all...] |
H A D | fifolog_reader.c | 53 unsigned char *obuf; member in struct:fifolog_reader 72 fr->obuf = calloc(16, fr->ff->recsize); 73 if (fr->obuf == NULL) 214 p = fr->obuf; 215 q = fr->obuf + (fr->olen - fr->ff->zs->avail_out); 281 zs->next_out = fr->obuf; 298 (int)(zs->next_out - fr->obuf), 315 q = fr->obuf + (fr->olen - zs->avail_out); 318 (void)memmove(fr->obuf, p, q - p); 320 zs->next_out = fr->obuf [all...] |
/freebsd-11-stable/contrib/elftoolchain/strings/ |
H A D | strings.c | 342 char *obuf; local 346 if ((obuf = (char*)calloc(1, min_len + 1)) == NULL) { 359 memset(obuf, 0, min_len + 1); 364 obuf[i] = c; 365 obuf[i + 1] = 0; 370 obuf[i] = c; 371 obuf[i + 1] = 0; 397 printf("%s", obuf); 419 free(obuf);
|
/freebsd-11-stable/contrib/wpa/src/tls/ |
H A D | pkcs8.c | 25 char obuf[80]; local 87 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); 88 wpa_printf(MSG_DEBUG, "PKCS #8: algorithm=%s", obuf); 99 "algorithm %s", obuf);
|
/freebsd-11-stable/crypto/openssl/crypto/des/ |
H A D | des.c | 362 static unsigned char buf[BUFSIZE + 8], obuf[BUFSIZE + 8]; local 364 static unsigned char *buf = NULL, *obuf = NULL; local 368 ((obuf = OPENSSL_malloc(BUFSIZE + 8)) == NULL)) { 481 (DES_cblock *)&(obuf[i]), 486 (DES_cblock *)&(obuf[i]), 493 DES_3cbc_encrypt((DES_cblock *)buf, (DES_cblock *)obuf, 498 DES_cbc_encrypt(buf, obuf, (long)l, &ks, &iv, do_encrypt); 500 memcpy(iv, &(obuf[l - 8]), 8); 508 j = uufwrite(obuf, 1, (unsigned int)l - i, DES_OUT); 510 j = fwrite(obuf, [all...] |
/freebsd-11-stable/usr.bin/gzip/ |
H A D | unxz.c | 51 uint8_t obuf[BUFSIZ]; local 74 strm.next_out = obuf; 75 strm.avail_out = sizeof(obuf); 102 const size_t write_size = sizeof(obuf) - strm.avail_out; 104 if (write(o, obuf, write_size) != (ssize_t)write_size) 107 strm.next_out = obuf; 108 strm.avail_out = sizeof(obuf);
|