Searched refs:buf (Results 1 - 25 of 6143) sorted by relevance

1234567891011>>

/macosx-10.10/ntp-92/libntp/
H A Dinttoa.c15 register char *buf; local
17 LIB_GETBUF(buf);
18 snprintf(buf, sizeof(buf), "%ld", val);
20 return buf;
H A Duinttoa.c14 register char *buf; local
16 LIB_GETBUF(buf);
18 (void) sprintf(buf, "%lu", (u_long)uval);
19 return buf;
/macosx-10.10/curl-83.1.2/curl/tests/server/
H A Dbase64.pl5 my $buf;
6 while(read(STDIN, $buf, 60*57)) {
7 my $enc = encode_base64($buf);
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Dxfree.c39 rk_xfree (void *buf) argument
41 free(buf);
/macosx-10.10/ruby-106/ruby/ext/digest/rmd160/
H A Drmd160ossl.c6 void RMD160_Finish(RMD160_CTX *ctx, char *buf) { argument
7 RIPEMD160_Final((unsigned char *)buf, ctx);
/macosx-10.10/ruby-106/ruby/ext/digest/sha1/
H A Dsha1ossl.c7 SHA1_Finish(SHA1_CTX *ctx, char *buf) argument
9 SHA1_Final((unsigned char *)buf, ctx);
/macosx-10.10/tidy-15.15/tidy/src/
H A Dbuffio.c27 TidyBuffer* buf = (TidyBuffer*) appData; local
28 return tidyBufGetByte( buf );
32 TidyBuffer* buf = (TidyBuffer*) appData; local
33 return tidyBufEndOfInput( buf );
37 TidyBuffer* buf = (TidyBuffer*) appData; local
38 tidyBufUngetByte( buf, bv );
41 void TIDY_CALL tidyInitInputBuffer( TidyInputSource* inp, TidyBuffer* buf )
46 inp->sourceData = buf;
51 TidyBuffer* buf = (TidyBuffer*) appData; local
52 tidyBufPutByte( buf, b
68 tidyBufAlloc( TidyBuffer* buf, uint allocSize ) argument
97 tidyBufCheckAlloc( TidyBuffer* buf, uint allocSize, uint chunkSize ) argument
122 tidyBufAttach( TidyBuffer* buf, byte* bp, uint size ) argument
141 tidyBufAppend( TidyBuffer* buf, void* vp, uint size ) argument
152 tidyBufPutByte( TidyBuffer* buf, byte bv ) argument
186 tidyBufUngetByte( TidyBuffer* buf, byte bv ) argument
[all...]
/macosx-10.10/OpenSSL098-52/src/demos/tunala/
H A Dbuffer.c5 void buffer_init(buffer_t *buf) argument
7 buf->used = 0;
8 buf->total_in = buf->total_out = 0;
11 void buffer_close(buffer_t *buf) argument
14 buf->used = 0;
18 unsigned int buffer_used(buffer_t *buf) { argument
19 return buf->used; }
20 unsigned int buffer_unused(buffer_t *buf) { argument
21 return (MAX_DATA_SIZE - buf
22 buffer_full(buffer_t *buf) argument
24 buffer_notfull(buffer_t *buf) argument
26 buffer_empty(buffer_t *buf) argument
28 buffer_notempty(buffer_t *buf) argument
30 buffer_total_in(buffer_t *buf) argument
32 buffer_total_out(buffer_t *buf) argument
69 buffer_takedata(buffer_t *buf, unsigned char *ptr, unsigned int size) argument
88 buffer_from_fd(buffer_t *buf, int fd) argument
102 buffer_to_fd(buffer_t *buf, int fd) argument
151 buffer_from_SSL(buffer_t *buf, SSL *ssl) argument
165 buffer_to_SSL(buffer_t *buf, SSL *ssl) argument
179 buffer_from_BIO(buffer_t *buf, BIO *bio) argument
191 buffer_to_BIO(buffer_t *buf, BIO *bio) argument
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/regressions/ut/
H A Dut-01-devrandom.cpp10 char buf[8] = {}; local
11 no_throw(rnd.random(buf, sizeof(buf)), "read data from rnd.");
15 does_throw(rnd.addEntropy(buf, sizeof(buf)),
21 no_throw(rndw.random(buf, sizeof(buf)), "read data from rndw.");
22 no_throw(rndw.addEntropy(buf, sizeof(buf)), "write data to rndw.");
/macosx-10.10/cxxfilt-11/cxxfilt/libiberty/
H A Dspaces.c51 static char *buf; local
56 if (buf)
58 free (buf);
60 buf = (char *) malloc (count + 1);
61 if (buf == (char *) 0)
63 for (t = buf + count ; t != buf ; )
68 buf[count] = '\0';
70 return (const char *) (buf + maxsize - count);
H A Dvsnprintf.c28 @deftypefn Supplemental int vsnprintf (char *@var{buf}, size_t @var{n}, const char *@var{format}, va_list @var{ap})
59 char *buf = 0; local
60 int result = vasprintf (&buf, format, ap);
62 if (!buf)
66 free (buf);
70 result = strlen (buf);
74 memcpy (s, buf, result+1);
77 memcpy (s, buf, n-1);
81 free (buf);
108 char buf[12 local
[all...]
/macosx-10.10/OpenSSL098-52/src/crypto/
H A Dcversion.c72 static char buf[sizeof(DATE)+11]; local
74 BIO_snprintf(buf,sizeof buf,"built on: %s",DATE);
75 return(buf);
83 static char buf[sizeof(CFLAGS)+11]; local
85 BIO_snprintf(buf,sizeof buf,"compiler: %s",CFLAGS);
86 return(buf);
94 static char buf[sizeof(PLATFORM)+11]; local
96 BIO_snprintf(buf,sizeo
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/
H A Dpasswd_dlg.h44 int pwd_dialog(char *buf, int size);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/Security/
H A DsslRand.h36 int sslRand(SSLBuffer *buf);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/lib/
H A DsslRand.h36 int sslRand(SSLBuffer *buf);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/
H A DsslRand.h36 int sslRand(SSLBuffer *buf);
/macosx-10.10/ksh-23/ksh/src/lib/libast/string/
H A Dfmttime.c35 char* buf; local
38 buf = fmtbuf(z = 80);
39 tmfmt(buf, z, format, &clock);
40 return buf;
H A Dfmtsignal.c37 char* buf; local
43 buf = sig_info.text[sig];
46 buf = fmtbuf(z = 20);
47 sfsprintf(buf, z, "Signal %d", sig);
54 buf = sig_info.name[sig];
57 buf = fmtbuf(z = 20);
58 sfsprintf(buf, z, "%d", sig);
61 return buf;
/macosx-10.10/xnu-2782.1.97/tools/tests/libMicro/
H A Dtimes.c56 struct tms buf; local
59 (void) times(&buf);
60 (void) times(&buf);
61 (void) times(&buf);
62 (void) times(&buf);
63 (void) times(&buf);
64 (void) times(&buf);
65 (void) times(&buf);
66 (void) times(&buf);
67 (void) times(&buf);
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/lib/
H A DYarrowConnection.h35 extern void cspGetRandomBytes(void *buf, unsigned len);
40 extern void cspAddEntropy(const void *buf, unsigned len);
/macosx-10.10/smb-759.0/lib/librpc/
H A Dmemory.cpp47 void * buf,
51 if (buf == NULL) {
53 buf = ::malloc(nbytes);
55 buf = ::valloc(nbytes);
58 buf = ::realloc(buf, nbytes);
61 if (UNLIKELY(buf == NULL)) {
66 return buf;
46 allocate( void * buf, std::size_t nbytes) argument
/macosx-10.10/rsync-45/rsync/
H A Dbyteorder.h33 #define CVAL(buf,pos) (((unsigned char *)(buf))[pos])
34 #define PVAL(buf,pos) ((unsigned)CVAL(buf,pos))
35 #define SCVAL(buf,pos,val) (CVAL(buf,pos) = (val))
39 #define SVAL(buf,pos) (PVAL(buf,pos)|PVAL(buf,(pos)+1)<<8)
40 #define IVAL(buf,po
[all...]
/macosx-10.10/libxml2-26/libxml2/
H A Dbuf.c2 * buf.c: memory buffers for libxml2
30 #include "buf.h"
39 * directly the input->buf->buffer structures.
59 #define UPDATE_COMPAT(buf) \
60 if (buf->size < INT_MAX) buf->compat_size = buf->size; \
61 else buf->compat_size = INT_MAX; \
62 if (buf->use < INT_MAX) buf
91 xmlBufMemoryError(xmlBufPtr buf, const char *extra) argument
106 xmlBufOverflowError(xmlBufPtr buf, const char *extra) argument
195 xmlBufDetach(xmlBufPtr buf) argument
266 xmlBufGetAllocationScheme(xmlBufPtr buf) argument
287 xmlBufSetAllocationScheme(xmlBufPtr buf, xmlBufferAllocationScheme scheme) argument
327 xmlBufFree(xmlBufPtr buf) argument
353 xmlBufEmpty(xmlBufPtr buf) argument
386 xmlBufShrink(xmlBufPtr buf, size_t len) argument
435 xmlBufGrowInternal(xmlBufPtr buf, size_t len) argument
495 xmlBufGrow(xmlBufPtr buf, int len) argument
517 xmlBufInflate(xmlBufPtr buf, size_t len) argument
534 xmlBufDump(FILE *file, xmlBufPtr buf) argument
568 xmlBufContent(const xmlBufPtr buf) argument
586 xmlBufEnd(const xmlBufPtr buf) argument
607 xmlBufAddLen(xmlBufPtr buf, size_t len) argument
632 xmlBufErase(xmlBufPtr buf, size_t len) argument
654 xmlBufLength(const xmlBufPtr buf) argument
673 xmlBufUse(const xmlBufPtr buf) argument
694 xmlBufAvail(const xmlBufPtr buf) argument
712 xmlBufIsEmpty(const xmlBufPtr buf) argument
731 xmlBufResize(xmlBufPtr buf, size_t size) argument
845 xmlBufAdd(xmlBufPtr buf, const xmlChar *str, int len) argument
896 xmlBufAddHead(xmlBufPtr buf, const xmlChar *str, int len) argument
966 xmlBufCat(xmlBufPtr buf, const xmlChar *str) argument
986 xmlBufCCat(xmlBufPtr buf, const char *str) argument
1026 xmlBufWriteCHAR(xmlBufPtr buf, const xmlChar *string) argument
1047 xmlBufWriteChar(xmlBufPtr buf, const char *string) argument
1070 xmlBufWriteQuotedString(xmlBufPtr buf, const xmlChar *string) argument
1163 xmlBufBackToBuffer(xmlBufPtr buf) argument
1216 xmlBufMergeBuffer(xmlBufPtr buf, xmlBufferPtr buffer) argument
1242 xmlBufResetInput(xmlBufPtr buf, xmlParserInputPtr input) argument
1261 xmlBufGetInputBase(xmlBufPtr buf, xmlParserInputPtr input) argument
1292 xmlBufSetInputBaseCur(xmlBufPtr buf, xmlParserInputPtr input, size_t base, size_t cur) argument
[all...]
/macosx-10.10/tcl-105/tcl_ext/expect/expect/example/
H A Dpasswd.cgi40 proc cgi2ascii {buf} {
41 regsub -all {\+} $buf { } buf
42 regsub -all {([\\["$])} $buf {\\\1} buf
43 regsub -all -nocase "%0d%0a" $buf "\n" buf
44 regsub -all -nocase {%([a-f0-9][a-f0-9])} $buf {[format %c 0x\1]} buf
45 eval return \"$buf\"
[all...]
/macosx-10.10/apr-32/apr/apr/test/
H A Dtestfmt.c24 char buf[100]; local
27 sprintf(buf, "%" APR_SSIZE_T_FMT, var);
28 ABTS_STR_EQUAL(tc, "0", buf);
29 apr_snprintf(buf, sizeof(buf), "%" APR_SSIZE_T_FMT, var);
30 ABTS_STR_EQUAL(tc, "0", buf);
35 char buf[100]; local
38 sprintf(buf, "%" APR_SIZE_T_FMT, var);
39 ABTS_STR_EQUAL(tc, "0", buf);
40 apr_snprintf(buf, sizeo
46 char buf[100]; local
57 char buf[100]; local
68 char buf[100]; local
79 char buf[100]; local
90 char buf[100]; local
101 char buf[100]; local
[all...]

Completed in 251 milliseconds

1234567891011>>