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

1234567891011>>

/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.dwarf2/
H A Dada-valprint-error.c16 int buffer[] = {0, 0}; variable
17 void *fd__global = &buffer;
H A Dvariant.c16 unsigned char buffer[8]; variable
27 /* Write the expected values into the buffer. */
32 buffer[0] = 23;
33 buffer[4] = 23;
39 buffer[3] = 23;
40 buffer[7] = 23;
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.dwarf2/
H A Dada-valprint-error.c16 int buffer[] = {0, 0}; variable
17 void *fd__global = &buffer;
H A Dvariant.c16 unsigned char buffer[8]; variable
27 /* Write the expected values into the buffer. */
32 buffer[0] = 23;
33 buffer[4] = 23;
39 buffer[3] = 23;
40 buffer[7] = 23;
/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.allocations/
H A Doverflow_from_existing.d5 void[] buffer;
6 buffer.length = 1;
7 buffer.length = size_t.max;
H A Doverflow_from_zero.d5 void[] buffer;
6 buffer.length = 0;
7 buffer.length = size_t.max;
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.allocations/
H A Doverflow_from_existing.d5 void[] buffer;
6 buffer.length = 1;
7 buffer.length = size_t.max;
H A Doverflow_from_zero.d5 void[] buffer;
6 buffer.length = 0;
7 buffer.length = size_t.max;
/netbsd-current/external/gpl2/xcvs/dist/src/
H A Dkerberos4-client.h18 struct buffer **to_server_p,
19 struct buffer **from_server_p);
21 extern void initialize_kerberos4_encryption_buffers (struct buffer **to_server_p,
22 struct buffer **from_server_p);
H A Dms-buffer.h1 /* CVS client logging buffer.
18 struct buffer *
19 ms_buffer_initialize (void (*memory) (struct buffer *),
20 struct buffer *buf, struct buffer *buf2);
H A Dlog-buffer.h1 /* CVS client logging buffer.
17 void setup_logfiles (char *var, struct buffer** to_server_p,
18 struct buffer** from_server_p);
20 struct buffer *
21 log_buffer_initialize (struct buffer *buf, FILE *fp,
27 void (*memory) (struct buffer *));
30 struct buffer *log_buffer_rewind (struct buffer *buf);
31 void log_buffer_closelog (struct buffer *buf);
H A Drsh-client.h17 void start_rsh_server (cvsroot_t *, struct buffer **, struct buffer **);
H A Dbuffer.h15 /* Declarations concerning the buffer data structure. */
29 struct buffer;
36 typedef int (*type_buf_shutdown) (struct buffer *);
37 typedef void (*type_buf_memory_error) (struct buffer *);
39 struct buffer struct
44 /* Last buffer on data chain. */
47 /* Nonzero if the buffer is in nonblocking mode. */
51 buffer. Either the input or output field must be set, but not
54 /* Read data into the buffer DATA. There is room for up to SIZE
82 /* Return the file descriptor underlying this buffer, i
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.fortran/
H A Dpointer-to-pointer.f9021 type(l_buffer), pointer :: buffer variable in program:allocate_array
23 allocate (buffer)
24 allocate (buffer%alpha (5))
26 buffer%alpha (1) = 1.5
27 buffer%alpha (2) = 2.5
28 buffer%alpha (3) = 3.5
29 buffer%alpha (4) = 4.5
30 buffer%alpha (5) = 5.5
32 print *, buffer%alpha ! Break Here.
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.fortran/
H A Dpointer-to-pointer.f9021 type(l_buffer), pointer :: buffer variable in program:allocate_array
23 allocate (buffer)
24 allocate (buffer%alpha (5))
26 buffer%alpha (1) = 1.5
27 buffer%alpha (2) = 2.5
28 buffer%alpha (3) = 3.5
29 buffer%alpha (4) = 4.5
30 buffer%alpha (5) = 5.5
32 print *, buffer%alpha ! Break Here.
/netbsd-current/external/bsd/nsd/dist/
H A Dbuffer.c2 * buffer.c -- generic memory buffer .
14 #include "buffer.h"
19 buffer_type *buffer = (buffer_type *) arg; local
20 assert(!buffer->_fixed);
21 free(buffer->_data);
27 buffer_type *buffer local
29 if (!buffer)
32 buffer->_data = (uint8_t *) xalloc(capacity);
33 buffer
44 buffer_create_from(buffer_type *buffer, void *data, size_t size) argument
57 buffer_clear(buffer_type *buffer) argument
66 buffer_flip(buffer_type *buffer) argument
75 buffer_rewind(buffer_type *buffer) argument
83 buffer_set_capacity(buffer_type *buffer, size_t capacity) argument
92 buffer_reserve(buffer_type *buffer, size_t amount) argument
107 buffer_printf(buffer_type *buffer, const char *format, ...) argument
[all...]
H A Dbuffer.h2 * buffer.h -- generic memory buffer.
9 * The buffer module implements a generic buffer. The API is based on
23 typedef struct buffer buffer_type;
25 struct buffer struct
38 * The amount of data the buffer can contain.
43 * The data contained in the buffer.
48 * If the buffer is fixed it cannot be resized.
55 buffer_invariant(buffer_type *ATTR_UNUSED(buffer))
60 buffer_invariant(buffer_type *buffer) argument
101 buffer_position(buffer_type *buffer) argument
111 buffer_set_position(buffer_type *buffer, size_t mark) argument
123 buffer_skip(buffer_type *buffer, ssize_t count) argument
130 buffer_limit(buffer_type *buffer) argument
140 buffer_set_limit(buffer_type *buffer, size_t limit) argument
150 buffer_capacity(buffer_type *buffer) argument
175 buffer_at(buffer_type *buffer, size_t at) argument
186 buffer_begin(buffer_type *buffer) argument
196 buffer_end(buffer_type *buffer) argument
205 buffer_current(buffer_type *buffer) argument
215 buffer_remaining_at(buffer_type *buffer, size_t at) argument
227 buffer_remaining(buffer_type *buffer) argument
238 buffer_available_at(buffer_type *buffer, size_t at, size_t count) argument
244 buffer_available(buffer_type *buffer, size_t count) argument
250 buffer_write_at(buffer_type *buffer, size_t at, const void *data, size_t count) argument
257 buffer_write(buffer_type *buffer, const void *data, size_t count) argument
264 buffer_write_string_at(buffer_type *buffer, size_t at, const char *str) argument
270 buffer_write_string(buffer_type *buffer, const char *str) argument
276 buffer_write_u8_at(buffer_type *buffer, size_t at, uint8_t data) argument
283 buffer_write_u8(buffer_type *buffer, uint8_t data) argument
290 buffer_write_u16_at(buffer_type *buffer, size_t at, uint16_t data) argument
297 buffer_write_u16(buffer_type *buffer, uint16_t data) argument
304 buffer_write_u32_at(buffer_type *buffer, size_t at, uint32_t data) argument
311 buffer_write_u32(buffer_type *buffer, uint32_t data) argument
318 buffer_write_u64_at(buffer_type *buffer, size_t at, uint64_t data) argument
325 buffer_write_u64(buffer_type *buffer, uint64_t data) argument
332 buffer_read_at(buffer_type *buffer, size_t at, void *data, size_t count) argument
339 buffer_read(buffer_type *buffer, void *data, size_t count) argument
346 buffer_read_u8_at(buffer_type *buffer, size_t at) argument
353 buffer_read_u8(buffer_type *buffer) argument
361 buffer_read_u16_at(buffer_type *buffer, size_t at) argument
368 buffer_read_u16(buffer_type *buffer) argument
376 buffer_read_u32_at(buffer_type *buffer, size_t at) argument
383 buffer_read_u32(buffer_type *buffer) argument
391 buffer_read_u64_at(buffer_type *buffer, size_t at) argument
398 buffer_read_u64(buffer_type *buffer) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/
H A Dbuffer.h1 /* A simple growing buffer for GDB.
23 struct buffer struct
25 char *buffer; member in struct:buffer
30 /* Append DATA of size SIZE to the end of BUFFER. Grows the buffer to
32 void buffer_grow (struct buffer *buffer, const char *data, size_t size);
34 /* Append C to the end of BUFFER. Grows the buffer to accommodate the
38 buffer_grow_char (struct buffer *buffer, char c) argument
40 buffer_grow (buffer,
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/
H A Dbuffer.h1 /* A simple growing buffer for GDB.
23 struct buffer struct
25 char *buffer; member in struct:buffer
30 /* Append DATA of size SIZE to the end of BUFFER. Grows the buffer to
32 void buffer_grow (struct buffer *buffer, const char *data, size_t size);
34 /* Append C to the end of BUFFER. Grows the buffer to accommodate the
38 buffer_grow_char (struct buffer *buffer, char c) argument
40 buffer_grow (buffer,
[all...]
/netbsd-current/external/apache2/llvm/dist/libcxx/src/
H A Dcharconv.cpp35 append1(char* buffer, T i) noexcept
37 *buffer = '0' + static_cast<char>(i);
38 return buffer + 1;
43 append2(char* buffer, T i) noexcept
45 memcpy(buffer, &cDigitsLut[(i)*2], 2);
46 return buffer + 2;
51 append3(char* buffer, T i) noexcept
53 return append2(append1(buffer, (i) / 100), (i) % 100);
58 append4(char* buffer, T i) noexcept
60 return append2(append2(buffer, (
[all...]
/netbsd-current/external/bsd/unbound/dist/sldns/
H A Dsbuffer.c2 * buffer.c -- generic memory buffer .
21 sldns_buffer *buffer = (sldns_buffer*)malloc(sizeof(sldns_buffer)); local
23 if (!buffer) {
27 buffer->_data = (uint8_t *) malloc(capacity);
28 if (!buffer->_data) {
29 free(buffer);
33 buffer->_position = 0;
34 buffer->_limit = buffer
44 sldns_buffer_new_frm_data(sldns_buffer *buffer, void *data, size_t size) argument
65 sldns_buffer_init_frm_data(sldns_buffer *buffer, void *data, size_t size) argument
74 sldns_buffer_set_capacity(sldns_buffer *buffer, size_t capacity) argument
93 sldns_buffer_reserve(sldns_buffer *buffer, size_t amount) argument
113 sldns_buffer_printf(sldns_buffer *buffer, const char *format, ...) argument
138 sldns_buffer_free(sldns_buffer *buffer) argument
[all...]
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
H A Dasan_internal_interface_test.cc18 std::vector<char> buffer(17, 0xff);
20 __asan_set_shadow_00((uptr)buffer.data(), buffer.size());
21 EXPECT_EQ(std::vector<char>(buffer.size(), 0x00), buffer); local
23 __asan_set_shadow_f1((uptr)buffer.data(), buffer.size());
24 EXPECT_EQ(std::vector<char>(buffer.size(), 0xf1), buffer); local
26 __asan_set_shadow_f2((uptr)buffer
27 EXPECT_EQ(std::vector<char>(buffer.size(), 0xf2), buffer); local
30 EXPECT_EQ(std::vector<char>(buffer.size(), 0xf3), buffer); local
33 EXPECT_EQ(std::vector<char>(buffer.size(), 0xf5), buffer); local
36 EXPECT_EQ(std::vector<char>(buffer.size(), 0xf8), buffer); local
[all...]
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
H A Drelease_buffer.c40 gss_buffer_t buffer
44 free (buffer->value);
45 buffer->value = NULL;
46 buffer->length = 0;
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/
H A Dgss_release_buffer.c35 gss_buffer_t buffer)
39 if (buffer->value)
40 free(buffer->value);
41 _mg_buffer_zero(buffer);
34 gss_release_buffer(OM_uint32 *minor_status, gss_buffer_t buffer) argument
/netbsd-current/external/mit/libcbor/dist/src/cbor/internal/
H A Dencoders.c11 size_t _cbor_encode_uint8(uint8_t value, unsigned char *buffer, argument
15 buffer[0] = value + offset;
20 buffer[0] = 0x18 + offset;
21 buffer[1] = value;
28 size_t _cbor_encode_uint16(uint16_t value, unsigned char *buffer, argument
31 buffer[0] = 0x19 + offset;
34 memcpy(buffer + 1, &value, 2);
36 buffer[1] = value >> 8;
37 buffer[2] = value;
45 size_t _cbor_encode_uint32(uint32_t value, unsigned char *buffer, argument
64 _cbor_encode_uint64(uint64_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument
87 _cbor_encode_uint(uint64_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument
[all...]

Completed in 169 milliseconds

1234567891011>>