/macosx-10.10.1/mail_cmds-30/mail/ |
H A D | quit.c | 79 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 D | send.c | 62 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 D | cmd1.c | 308 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 D | cmd2.c | 205 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 D | base64.c | 193 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 D | ul.c | 85 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 D | example_evp_cipher.c | 70 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 D | rc4test.c | 121 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 D | rc4test.c | 121 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 D | unxz.c | 49 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 D | bf_lbuf.c | 100 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 D | bf_buff.c | 101 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 D | network.c | 49 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 D | output.c | 77 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 D | fips_utl.h | 250 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 D | linkaddr.c | 127 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 D | des.c | 375 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 D | sfsetbuf.c | 117 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 D | c_zlib.c | 433 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 D | passwd.c | 51 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 D | pal2rgb.c | 177 { 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 D | ssl-44-crashes.c | 193 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 D | braille_tsi.c | 94 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 D | script.c | 95 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 D | cbc.c | 229 * 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);
|