Searched refs:buffer (Results 1 - 25 of 3857) sorted by relevance

1234567891011>>

/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/bundle-terminator/
H A Dbundle.cxx28 Foo() { buffer = malloc(100); }
29 ~Foo() { free(buffer); }
30 void* get() { return buffer; }
32 void* buffer; member in class:Foo
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dbuffer.c1 /* $OpenBSD: buffer.c,v 1.32 2010/02/09 03:56:28 djm Exp $ */
24 #include "buffer.h"
31 /* Initializes the buffer structure. */
34 buffer_init(Buffer *buffer) argument
38 buffer->alloc = 0;
39 buffer->buf = xmalloc(len);
40 buffer->alloc = len;
41 buffer->offset = 0;
42 buffer->end = 0;
45 /* Frees any memory used for the buffer
48 buffer_free(Buffer *buffer) argument
63 buffer_clear(Buffer *buffer) argument
72 buffer_append(Buffer *buffer, const void *data, u_int len) argument
80 buffer_compact(Buffer *buffer) argument
103 buffer_append_space(Buffer *buffer, u_int len) argument
144 buffer_check_alloc(Buffer *buffer, u_int len) argument
163 buffer_len(const Buffer *buffer) argument
171 buffer_get_ret(Buffer *buffer, void *buf, u_int len) argument
184 buffer_get(Buffer *buffer, void *buf, u_int len) argument
193 buffer_consume_ret(Buffer *buffer, u_int bytes) argument
204 buffer_consume(Buffer *buffer, u_int bytes) argument
213 buffer_consume_end_ret(Buffer *buffer, u_int bytes) argument
222 buffer_consume_end(Buffer *buffer, u_int bytes) argument
231 buffer_ptr(const Buffer *buffer) argument
239 buffer_dump(const Buffer *buffer) argument
[all...]
H A Dbufaux.c54 #include "buffer.h"
59 * Returns integers from the buffer (msb first).
63 buffer_get_short_ret(u_short *ret, Buffer *buffer) argument
67 if (buffer_get_ret(buffer, (char *) buf, 2) == -1)
74 buffer_get_short(Buffer *buffer) argument
78 if (buffer_get_short_ret(&ret, buffer) == -1)
79 fatal("buffer_get_short: buffer error");
85 buffer_get_int_ret(u_int *ret, Buffer *buffer) argument
89 if (buffer_get_ret(buffer, (char *) buf, 4) == -1)
97 buffer_get_int(Buffer *buffer) argument
108 buffer_get_int64_ret(u_int64_t *ret, Buffer *buffer) argument
120 buffer_get_int64(Buffer *buffer) argument
134 buffer_put_short(Buffer *buffer, u_short value) argument
143 buffer_put_int(Buffer *buffer, u_int value) argument
152 buffer_put_int64(Buffer *buffer, u_int64_t value) argument
169 buffer_get_string_ret(Buffer *buffer, u_int *length_ptr) argument
200 buffer_get_string(Buffer *buffer, u_int *length_ptr) argument
210 buffer_get_cstring_ret(Buffer *buffer, u_int *length_ptr) argument
233 buffer_get_cstring(Buffer *buffer, u_int *length_ptr) argument
243 buffer_get_string_ptr_ret(Buffer *buffer, u_int *length_ptr) argument
262 buffer_get_string_ptr(Buffer *buffer, u_int *length_ptr) argument
275 buffer_put_string(Buffer *buffer, const void *buf, u_int len) argument
281 buffer_put_cstring(Buffer *buffer, const char *s) argument
292 buffer_get_char_ret(char *ret, Buffer *buffer) argument
302 buffer_get_char(Buffer *buffer) argument
315 buffer_put_char(Buffer *buffer, int value) argument
[all...]
/macosx-10.9.5/cups-372.4/cups/cups/
H A Dattr.c151 char *buffer, /* I - String buffer */
152 size_t bufsize) /* I - Size of string buffer */
154 char *bufptr; /* Pointer into buffer */
157 if (!make_and_model || !buffer || bufsize < 1)
159 if (buffer)
160 *buffer = '\0';
178 strlcpy(buffer, make_and_model + 1, bufsize);
180 if ((bufptr = strrchr(buffer, ')')) != NULL)
189 snprintf(buffer, bufsiz
149 _ppdNormalizeMakeAndModel( const char *make_and_model, char *buffer, size_t bufsize) argument
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/krb5/
H A Drelease_buffer.c38 gss_buffer_t buffer
42 free (buffer->value);
43 buffer->value = NULL;
44 buffer->length = 0;
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/mech/
H A Dgss_release_buffer.c33 gss_buffer_t buffer)
37 if (buffer->value)
38 free(buffer->value);
39 _mg_buffer_zero(buffer);
32 gss_release_buffer(OM_uint32 *minor_status, gss_buffer_t buffer) argument
/macosx-10.9.5/WebKit-7537.78.2/efl/tests/
H A Dtest_ewk_frame.cpp34 static void initBuffer(char** buffer) argument
36 free(*buffer);
37 *buffer = 0;
45 char* buffer = 0; local
49 ssize_t read = ewk_frame_source_get(ewk_view_frame_main_get(webView()), &buffer);
51 initBuffer(&buffer);
57 // read = ewk_frame_source_get(ewk_view_frame_main_get(webView()), &buffer);
59 // initBuffer(&buffer);
63 read = ewk_frame_source_get(ewk_view_frame_main_get(webView()), &buffer);
65 initBuffer(&buffer);
[all...]
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/
H A Dbufferlist.c26 #include <isc/buffer.h>
32 isc_buffer_t *buffer; local
38 buffer = ISC_LIST_HEAD(*bl);
39 while (buffer != NULL) {
40 REQUIRE(ISC_BUFFER_VALID(buffer));
41 length += isc_buffer_usedlength(buffer);
42 buffer = ISC_LIST_NEXT(buffer, link);
50 isc_buffer_t *buffer; local
56 buffer
[all...]
/macosx-10.9.5/ntp-88/lib/isc/
H A Dbufferlist.c26 #include <isc/buffer.h>
32 isc_buffer_t *buffer; local
38 buffer = ISC_LIST_HEAD(*bl);
39 while (buffer != NULL) {
40 REQUIRE(ISC_BUFFER_VALID(buffer));
41 length += isc_buffer_usedlength(buffer);
42 buffer = ISC_LIST_NEXT(buffer, link);
50 isc_buffer_t *buffer; local
56 buffer
[all...]
/macosx-10.9.5/CrackLib-37765/cracklib27/util/
H A Dtestlib.c15 char buffer[STRINGSIZE]; local
19 while (fgets (buffer, STRINGSIZE, stdin))
23 Chop(buffer);
25 val = FascistCheck(buffer, CRACKLIB_DICTPATH);
31 printf ("%s: %s\n", buffer, val);
H A Dteststr.c16 char buffer[STRINGSIZE]; local
26 while (fgets (buffer, STRINGSIZE, stdin))
30 Chop(buffer);
31 i = FindPW(pwp, buffer);
32 printf ("%s: %lu%s\n", buffer, i, (i==PW_WORDS(pwp) ? " **** NOT FOUND ****" : ""));
H A Dpacker.c19 char buffer[STRINGSIZE]; local
35 for (readed = 0; fgets(buffer, STRINGSIZE, stdin); /* nothing */)
39 buffer[MAXWORDLEN - 1] = '\0';
41 Chop(buffer);
43 if (!buffer[0])
49 if (PutPW(pwp, buffer))
51 fprintf(stderr, "error: PutPW '%s' line %luy\n", buffer, readed);
/macosx-10.9.5/llvmCore-3425.0.33/utils/
H A DDSAclean.py21 buffer = input.readline() variable
22 while buffer != '':
23 if re.compile("label(\s*)=(\s*)\"\s%tmp(.\w*)*(\s*)\"").search(buffer):
25 buffer = input.readline() variable
28 output.write(buffer)
30 buffer = input.readline() variable
H A DDSAextract.py59 buffer = input.readline() variable
60 while buffer != '':
62 if not arrowexp.search(buffer):
67 if regexp.search(buffer):
68 node_set |= set([re.split('\s+',buffer,2)[1]])
70 buffer = input.readline() variable
86 buffer = input.readline() variable
87 while buffer != '':
95 if arrowexp.search(buffer):
98 nodes = arrowexp.split(buffer)
110 buffer = input.readline() variable
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/expect/expect/example/
H A Dread1char8 send_user $expect_out(buffer)
/macosx-10.9.5/ncurses-42/ncurses/ncurses/tinfo/
H A Dcomp_expand.c55 static char *buffer; local
66 if (buffer != 0) {
67 FreeAndNull(buffer);
73 if (buffer == 0 || need > length) {
74 if ((buffer = typeRealloc(char, length = need, buffer)) == 0)
81 buffer[bufp++] = *str++;
93 sprintf(buffer + bufp, "{%d}", str[1]);
94 bufp += strlen(buffer + bufp);
97 buffer[buf
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/qt/
H A DSharedBufferQt.cpp42 Vector<char> buffer(file.size());
43 file.read(buffer.data(), buffer.size());
44 return SharedBuffer::adoptVector(buffer);
/macosx-10.9.5/curl-78.94.1/curl/src/
H A Dtool_getpass.h33 char* getpass_r(const char *prompt, char* buffer, size_t buflen);
/macosx-10.9.5/libiconv-41/libiconv/srclib/
H A Dxreadlink.c64 /* The initial buffer size for the link value. A power of 2
68 /* Allocate the initial buffer on the stack. This way, in the common
73 char *buffer = initial_buf; local
78 /* Attempt to read the link into the current buffer. */
79 ssize_t link_length = readlink (filename, buffer, buf_size);
83 if (buffer != initial_buf)
86 free (buffer);
94 buffer[link_length++] = '\0';
97 if (buffer == initial_buf)
99 buffer
[all...]
/macosx-10.9.5/Security-55471.14.18/include/security_cryptkit/
H A Dmutils.m33 char buffer[PHRASELEN];
36 getpassword([prompt cString], buffer);
37 if (buffer[0] == 0) return nil;
38 result = [NSString stringWithCString:buffer];
39 bzero(buffer, PHRASELEN);
/macosx-10.9.5/Security-55471.14.18/libsecurity_cryptkit/lib/
H A Dmutils.m33 char buffer[PHRASELEN];
36 getpassword([prompt cString], buffer);
37 if (buffer[0] == 0) return nil;
38 result = [NSString stringWithCString:buffer];
39 bzero(buffer, PHRASELEN);
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/big-stack/
H A Dmain.c40 char buffer[32*1024*1024]; local
41 keepAlive = buffer;
42 // only recursive if there is enough room for next buffer
43 intptr_t freeStackSpace = (buffer - sizeof(buffer)) - (stackStart - stackSize);
44 //fprintf(stderr, "&buffer=%p, stackStart=%p, freeStackSpace=0x%lx\n", buffer, stackStart, freeStackSpace);
45 if ( freeStackSpace < sizeof(buffer) )
/macosx-10.9.5/pcre-7/pcre/
H A Dpcre_ord2utf8.c60 buffer pointer to buffer for result - at least 6 bytes long
62 Returns: number of characters placed in the buffer
66 _pcre_ord2utf8(int cvalue, uschar *buffer) argument
72 buffer += i;
75 *buffer-- = 0x80 | (cvalue & 0x3f);
78 *buffer = _pcre_utf8_table2[i] | cvalue;
82 (void)(buffer); /* called when SUPPORT_UTF8 is not defined. */
/macosx-10.9.5/cups-372.4/cups/scheduler/
H A Dstatbuf.c4 * Status buffer routines for the CUPS scheduler.
17 * cupsdStatBufDelete() - Destroy a status buffer.
18 * cupsdStatBufNew() - Create a new status buffer.
19 * cupsdStatBufUpdate() - Update the status buffer.
31 * 'cupsdStatBufDelete()' - Destroy a status buffer.
35 cupsdStatBufDelete(cupsd_statbuf_t *sb) /* I - Status buffer */
55 * 'cupsdStatBufNew()' - Create a new status buffer.
58 cupsd_statbuf_t * /* O - New status buffer */
63 cupsd_statbuf_t *sb; /* New status buffer */
75 * Allocate the status buffer
[all...]
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/liblber/
H A Ddebug.c47 char buffer[4096]; local
65 sprintf(buffer, "%08x ", (unsigned) time(0L));
67 vsnprintf( buffer+9, sizeof(buffer)-9, fmt, vl );
68 buffer[sizeof(buffer)-1] = '\0';
70 fputs( buffer, log_file );
73 fputs( buffer, stderr );
81 char buffer[4096]; local
85 vsnprintf( buffer, sizeo
[all...]

Completed in 574 milliseconds

1234567891011>>