/netbsd-current/external/mpl/dhcp/dist/omapip/ |
H A D | 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, va [all...] |
/netbsd-current/usr.sbin/tcpdchk/ |
H A D | percent_m.c | 30 char *percent_m(char *obuf, const char *ibuf) argument 32 char *bp = obuf; 43 return (obuf);
|
/netbsd-current/usr.bin/ul/ |
H A D | 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, 270 flushln(struct CHAR *obuf, size_t obuf_size) argument 312 overstrike(struct CHAR *obuf) argument 350 iattr(struct CHAR *obuf) argument 374 initbuf(struct CHAR *obuf, size_t obuf_size) argument 390 fwd(struct CHAR *obuf, size_t obuf_size) argument 402 reverse(struct CHAR *obuf, size_t obuf_size) argument [all...] |
/netbsd-current/usr.bin/mail/ |
H A D | 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...] |
H A D | mime_header.c | 93 decode_word(const char **ibuf, char **obuf, char *oend, const char *to_cs) argument 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) argument 278 q = *obuf; 332 *obuf 344 decode_quoted_string(char **obuf, char *oend, const char **ibuf, const char *iend) argument 380 decode_domain_literal(char **obuf, char *oend, const char **ibuf, const char *iend) argument [all...] |
H A D | cmd1.c | 260 show_msgnum(FILE *obuf, struct message *mp, struct message *parent) argument 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 452 FILE *volatile obuf; /* void longjmp clobbering */ local [all...] |
/netbsd-current/distrib/utils/more/ |
H A D | 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)])
|
/netbsd-current/lib/libc/net/ |
H A D | 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[sizeo [all...] |
H A D | iso_addr.c | 116 static char obuf[64]; local 117 char *out = obuf; 137 return(obuf + 1);
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/ |
H A D | 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, 84 unsigned char obuf[512]; local [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/test/ |
H A D | 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, 90 unsigned char obuf[512]; local [all...] |
/netbsd-current/lib/libc/compat/net/ |
H A D | compat_ns_ntoa.c | 52 static char obuf[40]; local 61 sprintf(obuf, "%x", ntohl(net.long_e)); 62 cp = spectHex(obuf); 83 return (obuf);
|
/netbsd-current/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;
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/bio/ |
H A D | 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[ct [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/bio/ |
H A D | 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[ct [all...] |
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | 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);
|
/netbsd-current/lib/libc/gdtoa/test/ |
H A D | 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>");
|
H A D | 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>");
|
H A D | Qtest.c | 59 static char ibuf[2048], obuf[2048]; variable 138 se = g_Qfmt(obuf, u.bits, ndig, sizeof(obuf)); 140 (int)(se-obuf), se ? obuf : "<null>");
|
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | vbuf_print.c | 345 VSTRING *obuf = vstring_alloc(1); local 350 vstring_ctl(obuf, CA_VSTRING_CTL_EXACT, CA_VSTRING_CTL_END); 360 vstring_sprintf(obuf, fmt, atol(val)); 362 vstring_sprintf(obuf, fmt, atoi(val)); 363 msg_info("\"%s\"", vstring_str(obuf)); 366 vstring_sprintf(obuf, fmt, val); 367 msg_info("\"%s\"", vstring_str(obuf)); 371 vstring_sprintf(obuf, fmt, atof(val)); 372 msg_info("\"%s\"", vstring_str(obuf)); 378 vstring_free(obuf); [all...] |
/netbsd-current/usr.sbin/sdpd/ |
H A D | 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, ( [all...] |
/netbsd-current/tests/lib/libc/locale/ |
H A D | 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);
|
/netbsd-current/usr.sbin/grfconfig/ |
H A D | 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...] |
/netbsd-current/external/bsd/less/dist/ |
H A D | output.c | 84 static char obuf[OUTBUF_SIZE]; variable 85 static char *ob = obuf; 92 WIN32textout(obuf, ob - obuf); 131 for (anchor = p_next = obuf; 186 strcpy(obuf, anchor); 187 ob = &obuf[slop]; 345 ob = obuf; 369 n = (int) (ob - obuf); 372 ob = obuf; [all...] |
/netbsd-current/external/bsd/wpa/dist/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);
|