| /src/external/mpl/dhcp/dist/omapip/ |
| convert.c | 75 void putULong (obuf, val) 76 unsigned char *obuf; 80 memcpy (obuf, &tmp, sizeof tmp); 83 void putLong (obuf, val) 84 unsigned char *obuf; 88 memcpy (obuf, &tmp, sizeof tmp); 91 void putUShort (obuf, val) 92 unsigned char *obuf; 96 memcpy (obuf, &tmp, sizeof tmp); 99 void putShort (obuf, val [all...] |
| /src/usr.sbin/tcpdchk/ |
| percent_m.c | 30 char *percent_m(char *obuf, const char *ibuf) 32 char *bp = obuf; 43 return (obuf);
|
| /src/usr.bin/ul/ |
| ul.c | 149 struct CHAR *obuf = NULL; local 151 alloc_buf(&obuf, &obuf_size); 165 alloc_buf(&obuf, &obuf_size); 192 reverse(obuf, obuf_size); 205 fwd(obuf, obuf_size); 210 reverse(obuf, obuf_size); 221 if (obuf[col].c_char) 222 obuf[col].c_mode |= UNDERL | mode; 224 obuf[col].c_char = '_'; 231 alloc_buf(&obuf, &obuf_size) [all...] |
| /src/usr.bin/mail/ |
| quit.c | 79 FILE *obuf; local 82 if ((obuf = Fopen(mailname, "ref+")) == NULL) { 89 (void)putc(c, obuf); 90 (void)fflush(obuf); 91 if (ferror(obuf)) { 93 (void)Fclose(obuf); 101 if (sendmessage(mp, obuf, NULL, NULL, NULL) < 0) { 103 (void)Fclose(obuf); 110 (void)putc(c, obuf); 112 (void)fflush(obuf); 140 FILE *obuf; local 269 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local [all...] |
| mime_header.c | 93 decode_word(const char **ibuf, char **obuf, char *oend, const char *to_cs) 124 if (oend < *obuf + 1) { 128 dstend = to_cs ? decword : *obuf; 129 dstlen = (to_cs ? sizeof(decword) : (size_t)(oend - *obuf)) - 1; 149 dstend = *obuf; 150 dstlen = oend - *obuf - 1; 160 *obuf = dstend; 271 decode_comment(char **obuf, char *oend, const char **ibuf, const char *iend, const char *charset) 278 q = *obuf; 332 *obuf = q [all...] |
| cmd1.c | 260 show_msgnum(FILE *obuf, struct message *mp, struct message *parent) 264 (void)fprintf(obuf, "Message %s:\n", sget_msgnum(mp, parent)); 268 FILE *obuf; member in struct:type1_core_args_s 280 show_msgnum(args->obuf, mp, args->parent); 283 (void)mime_sendmessage(mp, args->obuf, args->igtab, NULL, NULL); 286 (void)mime_sendmessage(mp, args->obuf, args->igtab, NULL, *args->mip); 290 (void)sendmessage(mp, args->obuf, args->igtab, NULL, NULL); 327 FILE *volatile obuf; /* avoid longjmp clobbering */ local 337 if ((obuf = last_registered_file(0)) == NULL) 338 obuf = stdout 452 FILE *volatile obuf; \/* void longjmp clobbering *\/ local [all...] |
| /src/distrib/utils/more/ |
| output.c | 130 static char obuf[1024]; variable 131 static char *ob = obuf; 141 n = ob - obuf; 144 if (write(1, obuf, n) != n) 146 ob = obuf; 156 ob = obuf; 166 if (ob >= &obuf[sizeof(obuf)])
|
| /src/usr.bin/gzip/ |
| unzstd.c | 33 static char *ibuf, *obuf; local 44 if (obuf == NULL) 45 obuf = malloc(BUFLEN); 46 if (ibuf == NULL || obuf == NULL) 57 zob.dst = obuf; 80 res = write(out, obuf, zob.pos);
|
| /src/lib/libc/net/ |
| linkaddr.c | 140 static char obuf[64]; local 141 char *out = obuf; 151 if (out >= obuf + sizeof(obuf) - 1) \ 152 return obuf; \ 158 * obuf wil be fully init'd to 0 by default. But after 159 * obuf has been returned to userspace the first time, 164 * if (out < obuf + sizeof(obuf) - ((ch) != '\0')) 169 obuf[sizeof(obuf) - 1] = '\0' [all...] |
| iso_addr.c | 116 static char obuf[64]; local 117 char *out = obuf; 137 return(obuf + 1);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| rc4test.c | 66 unsigned char obuf[512]; local 70 memset(obuf, 0, sizeof(obuf)); 71 RC4(&key, data_len[i], &(data[i][0]), obuf); 72 return TEST_mem_eq(obuf, data_len[i] + 1, output[i], data_len[i] + 1); 77 unsigned char obuf[512]; local 81 memset(obuf, 0, sizeof(obuf)); 82 RC4(&key, i, &(data[3][0]), obuf); 83 if (!TEST_mem_eq(obuf, i, output[3], i) 90 unsigned char obuf[512]; local [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| rc4test.c | 66 unsigned char obuf[512]; local 70 memset(obuf, 0, sizeof(obuf)); 71 RC4(&key, data_len[i], &(data[i][0]), obuf); 72 return TEST_mem_eq(obuf, data_len[i] + 1, output[i], data_len[i] + 1); 77 unsigned char obuf[512]; local 81 memset(obuf, 0, sizeof(obuf)); 82 RC4(&key, i, &(data[3][0]), obuf); 83 if (!TEST_mem_eq(obuf, i, output[3], i) 90 unsigned char obuf[512]; local [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| rc4test.c | 60 unsigned char obuf[512]; local 64 memset(obuf, 0, sizeof(obuf)); 65 RC4(&key, data_len[i], &(data[i][0]), obuf); 66 return TEST_mem_eq(obuf, data_len[i] + 1, output[i], data_len[i] + 1); 71 unsigned char obuf[512]; local 75 memset(obuf, 0, sizeof(obuf)); 76 RC4(&key, i, &(data[3][0]), obuf); 77 if (!TEST_mem_eq(obuf, i, output[3], i) 84 unsigned char obuf[512]; local [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/bio/ |
| bf_lbuf.c | 51 char *obuf; /* the output char array */ member in struct:bio_linebuffer_ctx_struct 62 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); 63 if (ctx->obuf == NULL) { 83 OPENSSL_free(b->obuf); 141 memcpy(&(ctx->obuf[ctx->obuf_len]), in, p - in); 147 memcpy(&(ctx->obuf[ctx->obuf_len]), in, i); 154 i = BIO_write(b->next_bio, ctx->obuf, ctx->obuf_len); 165 memmove(ctx->obuf, ctx->obuf + i, ctx->obuf_len - i); 190 * free up some space in our obuf so we can make forward progress [all...] |
| /src/lib/libc/compat/net/ |
| compat_ns_ntoa.c | 53 static char obuf[40]; local 62 sprintf(obuf, "%x", ntohl(net.long_e)); 63 cp = spectHex(obuf); 84 return (obuf);
|
| /src/tests/crypto/opencrypto/ |
| 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;
|
| /src/crypto/external/bsd/openssl/dist/crypto/bio/ |
| bf_lbuf.c | 51 char *obuf; /* the output char array */ member in struct:bio_linebuffer_ctx_struct 64 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); 65 if (ctx->obuf == NULL) { 86 OPENSSL_free(b->obuf); 143 memcpy(&(ctx->obuf[ctx->obuf_len]), in, p - in); 149 memcpy(&(ctx->obuf[ctx->obuf_len]), in, i); 156 i = BIO_write(b->next_bio, ctx->obuf, ctx->obuf_len); 167 memmove(ctx->obuf, ctx->obuf + i, ctx->obuf_len - i); 196 memcpy(&(ctx->obuf[ctx->obuf_len]), in, inl) [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/bio/ |
| bf_lbuf.c | 53 char *obuf; /* the output char array */ member in struct:bio_linebuffer_ctx_struct 66 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); 67 if (ctx->obuf == NULL) { 88 OPENSSL_free(b->obuf); 145 memcpy(&(ctx->obuf[ctx->obuf_len]), in, p - in); 151 memcpy(&(ctx->obuf[ctx->obuf_len]), in, i); 158 i = BIO_write(b->next_bio, ctx->obuf, ctx->obuf_len); 169 memmove(ctx->obuf, ctx->obuf + i, ctx->obuf_len - i); 198 memcpy(&(ctx->obuf[ctx->obuf_len]), in, inl) [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| example_evp_cipher.c | 77 void *ibuf, *obuf; local 133 obuf = malloc(block_size + EVP_CIPHER_block_size(c)); 146 ret = EVP_CipherUpdate(&ctx, obuf, &olen, ibuf, ilen); 152 fwrite(obuf, 1, olen, out); 158 ret = EVP_CipherFinal_ex(&ctx, obuf, &olen); 164 fwrite(obuf, 1, olen, out);
|
| /src/lib/libc/gdtoa/test/ |
| dtest.c | 58 static char ibuf[2048], obuf[1024]; variable 108 se = g_dfmt(obuf, &u.f, ndig, sizeof(obuf)); 110 ndig, (int)(se-obuf), se ? obuf : "<null>");
|
| ftest.c | 57 static char ibuf[2048], obuf[1024]; variable 112 se = g_ffmt(obuf, &u.f, ndig, sizeof(obuf)); 114 ndig, (int)(se-obuf), se ? obuf : "<null>");
|
| /src/usr.sbin/sdpd/ |
| service.c | 115 d.next = srv->obuf + sizeof(uint16_t) + sizeof(uint16_t); 116 d.end = srv->obuf + srv->fdidx[fd].omtu - 1 - sizeof(uint16_t); 137 be16enc(srv->obuf, total); 138 be16enc(srv->obuf + sizeof(uint16_t), count); 160 srv->pdu.len = d.next - srv->obuf; 229 b.start = srv->obuf + sizeof(uint16_t); 231 b.end = srv->obuf + srv->fdidx[fd].omtu - 1; 256 b.next = srv->obuf + srv->fdidx[fd].omtu - 1 - sizeof(uint16_t); 264 be16enc(srv->obuf, (b.next - b.start)); 273 be16enc(srv->obuf, (b.next - b.start)) [all...] |
| /src/tests/lib/libc/locale/ |
| t_io.c | 85 wchar_t obuf[20]; local 88 swprintf(obuf, sizeof(obuf), L"%ls\n", ibuf) < 0); 127 wchar_t obuf[20]; local 129 ATF_REQUIRE_EQ(swprintf(obuf, sizeof(obuf), L"%ls\n", ibuf), 2);
|
| /src/usr.sbin/grfconfig/ |
| grfconfig.c | 128 char *obuf, tbuf[_POSIX2_LINE_MAX], *tbuf2; local 141 obuf = buf; 143 while ((*tbuf2 = *obuf) != '\0') { 151 obuf++; 154 obuf = tbuf; 168 "definition file: `%s'\n", obuf); 207 "mode #%d: `%s'", gv->mode_num, obuf); 210 if (strstr(obuf, "default") != NULL) { 216 if (strstr(obuf, grf_flagp->grf_flag_name) != NULL) { 255 "values", obuf); [all...] |
| /src/external/ibm-public/postfix/dist/src/util/ |
| vbuf_print.c | 384 VSTRING *obuf = vstring_alloc(1); local 389 vstring_ctl(obuf, CA_VSTRING_CTL_EXACT, CA_VSTRING_CTL_END); 399 vstring_sprintf(obuf, fmt, (intmax_t) atoll(val)); 401 vstring_sprintf(obuf, fmt, atoll(val)); 403 vstring_sprintf(obuf, fmt, atol(val)); 405 vstring_sprintf(obuf, fmt, atoi(val)); 407 msg_info("\"%s\"", vstring_str(obuf)); 410 vstring_sprintf(obuf, fmt, val); 411 msg_info("\"%s\"", vstring_str(obuf)); 415 vstring_sprintf(obuf, fmt, atof(val)) [all...] |