Searched refs:obuf (Results 1 - 25 of 97) sorted by relevance

1234

/macosx-10.10.1/mail_cmds-30/mail/
H A Dquit.c79 FILE *ibuf = NULL, *obuf = NULL, *fbuf, *rbuf, *readstat = NULL, *abuf; local
212 (obuf = Fdopen(fd, "w")) == NULL) {
220 (void)Fclose(obuf);
227 (void)putc(c, obuf);
230 if (ferror(obuf)) {
233 (void)Fclose(obuf);
237 (void)Fclose(obuf);
239 if ((obuf = Fopen(mbox, "r+")) == NULL) {
247 if ((obuf = Fopen(mbox, "a")) == NULL) {
252 (void)fchmod(fileno(obuf), 060
347 FILE *obuf; local
400 FILE *obuf, *ibuf, *readstat = NULL; local
[all...]
H A Dsend.c62 sendmessage(mp, obuf, doign, prefix)
64 FILE *obuf;
112 statusput(mp, obuf, prefix);
141 statusput(mp, obuf, prefix);
146 (void)putc('\n', obuf);
164 statusput(mp, obuf, prefix);
182 fputs(prefix, obuf);
185 prefixlen, obuf);
187 (void)fwrite(line, sizeof(*line), length, obuf);
188 if (ferror(obuf))
[all...]
H A Dcmd1.c308 FILE *obuf; local
310 obuf = stdout;
324 obuf = Popen(cp, "w");
325 if (obuf == NULL) {
327 obuf = stdout;
342 fprintf(obuf, "Message %d:\n", *ip);
343 (void)sendmessage(mp, obuf, doign ? ignore : 0, NULL);
347 if (obuf != stdout) {
352 (void)Pclose(obuf);
H A Dcmd2.c205 FILE *obuf; local
243 if ((obuf = Fopen(file, "a")) == NULL) {
250 if (sendmessage(mp, obuf, ignore, NULL) < 0) {
252 (void)Fclose(obuf);
258 (void)fflush(obuf);
259 if (ferror(obuf))
261 (void)Fclose(obuf);
/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Dbase64.c193 unsigned char obuf[4]; local
238 obuf[0] = (unsigned char) ((ibuf[0] & 0xFC) >> 2);
239 obuf[1] = (unsigned char) (((ibuf[0] & 0x03) << 4) | \
241 obuf[2] = (unsigned char) (((ibuf[1] & 0x0F) << 2) | \
243 obuf[3] = (unsigned char) (ibuf[2] & 0x3F);
248 table64[obuf[0]],
249 table64[obuf[1]]);
253 table64[obuf[0]],
254 table64[obuf[1]],
255 table64[obuf[
[all...]
/macosx-10.10.1/text_cmds-88/ul/
H A Dul.c85 struct CHAR obuf[MAXBUF]; variable in typeref:struct:CHAR
242 if (obuf[col].c_char || obuf[col].c_width < 0) {
243 while (col > 0 && obuf[col].c_width < 0)
245 w = obuf[col].c_width;
247 obuf[col++].c_mode |= UNDERL | mode;
252 obuf[col].c_char = '_';
253 obuf[col].c_width = 1;
273 if (obuf[col].c_char == '\0') {
274 obuf[co
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/hcrypto/
H A Dexample_evp_cipher.c70 void *ibuf, *obuf; local
112 obuf = malloc(block_size + EVP_CIPHER_block_size(c));
124 ret = EVP_CipherUpdate(&ctx, obuf, &olen, ibuf, ilen);
130 fwrite(obuf, 1, olen, out);
136 ret = EVP_CipherFinal_ex(&ctx, obuf, &olen);
142 fwrite(obuf, 1, olen, out);
/macosx-10.10.1/OpenSSL098-52/src/crypto/rc4/
H A Drc4test.c121 unsigned char obuf[512]; local
126 memset(obuf,0x00,sizeof(obuf));
127 RC4(&key,data_len[i],&(data[i][0]),obuf);
128 if (memcmp(obuf,output[i],data_len[i]+1) != 0)
133 printf(" %02x",obuf[j]);
149 memset(obuf,0x00,sizeof(obuf));
150 RC4(&key,i,&(data[3][0]),obuf);
151 if ((memcmp(obuf,outpu
[all...]
/macosx-10.10.1/OpenSSL098-52/src/test/
H A Drc4test.c121 unsigned char obuf[512]; local
126 memset(obuf,0x00,sizeof(obuf));
127 RC4(&key,data_len[i],&(data[i][0]),obuf);
128 if (memcmp(obuf,output[i],data_len[i]+1) != 0)
133 printf(" %02x",obuf[j]);
149 memset(obuf,0x00,sizeof(obuf));
150 RC4(&key,i,&(data[3][0]),obuf);
151 if ((memcmp(obuf,outpu
[all...]
/macosx-10.10.1/file_cmds-242/gzip/
H A Dunxz.c49 uint8_t obuf[BUFSIZ]; local
71 strm.next_out = obuf;
72 strm.avail_out = sizeof(obuf);
97 const size_t write_size = sizeof(obuf) - strm.avail_out;
99 if (write(o, obuf, write_size) != (ssize_t)write_size)
102 strm.next_out = obuf;
103 strm.avail_out = sizeof(obuf);
/macosx-10.10.1/OpenSSL098-52/src/crypto/bio/
H A Dbf_lbuf.c100 char *obuf; /* the output char array */ member in struct:bio_linebuffer_ctx_struct
111 ctx->obuf=(char *)OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE);
112 if (ctx->obuf == NULL) { OPENSSL_free(ctx); return(0); }
128 if (b->obuf != NULL) OPENSSL_free(b->obuf);
185 memcpy(&(ctx->obuf[ctx->obuf_len]),
194 memcpy(&(ctx->obuf[ctx->obuf_len]),
207 ctx->obuf, ctx->obuf_len);
223 memmove(ctx->obuf, ctx->obuf
[all...]
H A Dbf_buff.c101 ctx->obuf=(char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE);
102 if (ctx->obuf == NULL) { OPENSSL_free(ctx->ibuf); OPENSSL_free(ctx); return(0); }
123 if (b->obuf != NULL) OPENSSL_free(b->obuf);
212 memcpy(&(ctx->obuf[ctx->obuf_off+ctx->obuf_len]),in,inl);
222 memcpy(&(ctx->obuf[ctx->obuf_off+ctx->obuf_len]),in,i);
231 i=BIO_write(b->next_bio,&(ctx->obuf[ctx->obuf_off]),
352 p2=ctx->obuf;
375 if (ctx->obuf != p2)
377 OPENSSL_free(ctx->obuf);
[all...]
/macosx-10.10.1/Heimdal-398.1.2/appl/telnet/telnet/
H A Dnetwork.c49 void *obuf, *ibuf; local
51 if ((obuf = malloc(netobufsize)) == NULL)
56 if (ring_init(&netoring, obuf, netobufsize) != 1) {
/macosx-10.10.1/less-25/less/
H A Doutput.c77 static char obuf[OUTBUF_SIZE]; variable
78 static char *ob = obuf;
102 n = ob - obuf;
110 _outtext(obuf);
111 ob = obuf;
120 WIN32textout(obuf, ob - obuf);
150 for (anchor = p_next = obuf;
201 strcpy(obuf, anchor);
202 ob = &obuf[slo
[all...]
/macosx-10.10.1/OpenSSL098-52/src/fips/
H A Dfips_utl.h250 char obuf[2048]; local
252 bin2hex(val,len,obuf);
253 printf("%s = %s\n",tag,obuf);
337 char obuf[2048]; local
339 olen = bin2hex(val, len, obuf);
340 printf("%s = %.*s\n", tag, olen, obuf);
346 char obuf[2048]; local
350 olen=bin2bint(val,len,obuf);
352 olen=bin2hex(val,len,obuf);
354 fprintf(rfp, "%s = %.*s\n", tag, olen, obuf);
[all...]
/macosx-10.10.1/Libc-1044.1.2/net/FreeBSD/
H A Dlinkaddr.c127 static char obuf[64]; local
128 char *out = obuf;
135 bcopy(sdl->sdl_data, obuf, sdl->sdl_nlen);
155 return (obuf);
/macosx-10.10.1/OpenSSL098-52/src/crypto/des/
H A Ddes.c375 static unsigned char buf[BUFSIZE+8],obuf[BUFSIZE+8]; local
377 static unsigned char *buf=NULL,*obuf=NULL; local
382 ((obuf=OPENSSL_malloc(BUFSIZE+8)) == NULL))
511 (DES_cblock *)&(obuf[i]),
517 (DES_cblock *)&(obuf[i]),
526 (DES_cblock *)buf,(DES_cblock *)obuf,
535 buf,obuf,
537 if (l >= 8) memcpy(iv,&(obuf[l-8]),8);
545 j=uufwrite(obuf,1,(unsigned int)l-i,
548 j=fwrite(obuf,
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/sfio/
H A Dsfsetbuf.c117 uchar* obuf = NIL(uchar*); local
173 { obuf = f->data;
202 obuf = f->data;
364 if(obuf && size == (size_t)osize && init)
365 { buf = (Void_t*)obuf;
366 obuf = NIL(uchar*);
404 if(obuf && obuf != f->data && osize > 0 && (oflags&SF_MALLOC))
405 { free((Void_t*)obuf);
406 obuf
[all...]
/macosx-10.10.1/OpenSSL098-52/src/crypto/comp/
H A Dc_zlib.c433 unsigned char *obuf; /* Output buffer */ member in struct:__anon3278
489 ctx->obuf = NULL;
523 if(ctx->obuf)
527 OPENSSL_free(ctx->obuf);
607 if(!ctx->obuf)
609 ctx->obuf = OPENSSL_malloc(ctx->obufsize);
611 if(!ctx->obuf)
616 ctx->optr = ctx->obuf;
619 zout->next_out = ctx->obuf;
649 ctx->optr = ctx->obuf;
[all...]
/macosx-10.10.1/system_cmds-643.1.1/passwd.tproj/
H A Dpasswd.c51 static char obuf[_PASSWORD_LEN+1]; local
71 //strcpy(obuf, p);
72 snprintf( obuf, sizeof(obuf), "%s", p );
143 *old_clear = obuf;
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Dpal2rgb.c177 { unsigned char *ibuf, *obuf; local
181 obuf = (unsigned char*)_TIFFmalloc(TIFFScanlineSize(out));
187 pp = obuf;
193 if (!TIFFWriteScanline(out, obuf, row, 0))
201 for (pp = obuf, x = 0; x < imagewidth; x++)
203 if (!TIFFWriteScanline(out, obuf, row, 0))
205 for (pp = obuf, x = 0; x < imagewidth; x++)
207 if (!TIFFWriteScanline(out, obuf, row, 0))
209 for (pp = obuf, x = 0; x < imagewidth; x++)
211 if (!TIFFWriteScanline(out, obuf, ro
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/regressions/
H A Dssl-44-crashes.c193 unsigned char ibuf[8], obuf[8]; local
196 SecRandomCopyBytes(kSecRandomDefault, sizeof(obuf), obuf);
197 require_noerr_quiet(ortn = SSLWrite(ctx, obuf, sizeof(obuf), &len), out);
198 require_action_quiet(len == sizeof(obuf), out, ortn = -1);
/macosx-10.10.1/screen-22/screen/
H A Dbraille_tsi.c94 char obuf[3],ibuf[20]; local
97 obuf[0] = 0xff;
98 obuf[1] = 0xff;
99 obuf[2] = 0x0a;
101 r = write(bd.bd_fd, obuf, 3);
/macosx-10.10.1/shell_cmds-179/script/
H A Dscript.c95 char obuf[BUFSIZ]; local
202 cc = read(master, obuf, sizeof (obuf));
205 (void)write(STDOUT_FILENO, obuf, cc);
206 (void)fwrite(obuf, 1, cc, fscript);
/macosx-10.10.1/text_cmds-88/ed/
H A Dcbc.c229 * obuf bit pattern
233 expand_des_key(char *obuf, char *kbuf) argument
252 obuf[i] =
273 obuf[i] = (obuf[i]<<1)|nbuf[8*i+j];
281 (void)strncpy(obuf, kbuf, 8);

Completed in 182 milliseconds

1234