Searched refs:buffer (Results 101 - 125 of 441) sorted by relevance

1234567891011>>

/barrelfish-master/lib/openssl-1.0.0d/crypto/
H A Dcryptlib.h73 #include <openssl/buffer.h>
/barrelfish-master/include/openssl/local/
H A Dcryptlib.h73 #include <openssl/buffer.h>
/barrelfish-master/include/
H A Dstdio_file.h105 char *buffer; // The output buffer member in struct:__file
106 int buf_pos; // Current position in output buffer
107 int buf_size; // Allocated size of the buffer
108 int buf_allocated; // Was the buffer malloc'd (=1) or is it static (=0)?
111 char *rbuffer; // The input buffer
112 char *rbuf_pos; // Current position in buffer
113 int rbuf_size; // Allocated size of the buffer
114 int rbuf_valid; // Remaining valid characters in buffer
/barrelfish-master/usr/arrakismon/
H A Dhdd.h35 uintptr_t buffer);
H A Dhdd.c94 uintptr_t buffer)
100 memcpy((void *)buffer, (void *)(hdd->disk_image + start_block*BLOCK_SIZE),
93 hdd_read_blocks(struct hdd *hdd, size_t start_block, size_t *count, uintptr_t buffer) argument
/barrelfish-master/usr/block_server/
H A Dlocal_server.c135 struct bulk_buffer *buffer,
145 err = block_net_write(block_server, 1, &buffer, meta, BULK_CONT_NOP);
150 err = block_storage_write(bs->block_id, buffer->address);
154 err = bulk_channel_pass(channel, buffer, meta,
157 DEBUG_ERR(err, "failed to pass the buffer back");
165 struct bulk_buffer *buffer,
175 struct bulk_buffer *buffer,
181 /* forward buffer to the server */
183 bulk_channel_pass(&block_server->tx_chan, buffer, meta,
186 bulk_channel_pass(&block_server->rx_chan, buffer, met
134 bulk_move_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
164 bulk_copy_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
174 bulk_buffer_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
196 bulk_copy_released(struct bulk_channel *channel, struct bulk_buffer *buffer) argument
527 block_local_data_ready(struct bulk_buffer *buffer, void *meta) argument
541 block_local_return_buffer(struct bulk_channel *chan, struct bulk_buffer *buffer, void *meta) argument
565 block_local_release_copy(struct bulk_buffer *buffer) argument
[all...]
H A Dnetwork_server.c45 struct bulk_buffer *buffer,
48 struct bulk_buffer *buffer,
51 struct bulk_buffer *buffer,
54 struct bulk_buffer *buffer);
157 struct bulk_buffer *buffer,
160 BS_NET_DEBUG_BULK("chan=%p, buf=%p", channel, buffer);
167 err = block_storage_write(bs_meta->block_id, buffer->address);
172 err = bulk_channel_pass(channel, buffer, meta, BULK_CONT_NOP);
174 debug_printf("could not pass back the buffer");
182 struct bulk_buffer *buffer,
156 bulk_move_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
181 bulk_buffer_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
201 bulk_copy_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
220 bulk_copy_released(struct bulk_channel *channel, struct bulk_buffer *buffer) argument
[all...]
/barrelfish-master/usr/vmkitmon/
H A Dhdd.h35 uintptr_t buffer);
H A Dhdd.c94 uintptr_t buffer)
100 memcpy((void *)buffer, (void *)(hdd->disk_image + start_block*BLOCK_SIZE),
93 hdd_read_blocks(struct hdd *hdd, size_t start_block, size_t *count, uintptr_t buffer) argument
/barrelfish-master/lib/openssl-1.0.0d/apps/
H A Decparam.c136 unsigned char *buffer = NULL; local
538 buffer = (unsigned char *)OPENSSL_malloc(buf_len);
540 if (buffer == NULL)
546 ecparam_print_var(out, ec_p, "ec_p", len, buffer);
547 ecparam_print_var(out, ec_a, "ec_a", len, buffer);
548 ecparam_print_var(out, ec_b, "ec_b", len, buffer);
549 ecparam_print_var(out, ec_gen, "ec_gen", len, buffer);
550 ecparam_print_var(out, ec_order, "ec_order", len, buffer);
552 buffer);
689 if (buffer)
701 ecparam_print_var(BIO *out, BIGNUM *in, const char *var, int len, unsigned char *buffer) argument
[all...]
H A Dwinrand.c76 char buffer[200]; local
79 filename = RAND_file_name(buffer, sizeof buffer);
/barrelfish-master/lib/libc/net/
H A Dgetnetbyht.c151 getnetent_r(struct netent *nptr, char *buffer, size_t buflen, argument
166 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) {
194 char *buffer; local
205 buffer = va_arg(ap, char *);
232 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) {
247 char *buffer; local
258 buffer = va_arg(ap, char *);
280 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) {
H A Dgethostnamadr.c158 host_id_func(char *buffer, size_t *buffer_size, va_list ap, void *cache_mdata) argument
193 p = buffer;
225 p = buffer;
256 host_marshal_func(char *buffer, size_t *buffer_size, void *retval, va_list ap, argument
316 memset(buffer, 0, desired_size);
319 p = buffer + sizeof(struct hostent) + sizeof(char *);
320 memcpy(buffer + sizeof(struct hostent), &p, sizeof(char *));
357 memcpy(buffer, &new_ht, sizeof(struct hostent));
362 host_unmarshal_func(char *buffer, size_t buffer_size, void *retval, va_list ap, argument
401 memcpy(ht, buffer, sizeo
485 gethostbyname_r(const char *name, struct hostent *he, char *buffer, size_t buflen, struct hostent **result, int *h_errnop) argument
509 gethostbyname2_r(const char *name, int af, struct hostent *he, char *buffer, size_t buflen, struct hostent **result, int *h_errnop) argument
[all...]
/barrelfish-master/lib/openssl-1.0.0d/crypto/rand/
H A Drand_vms.c93 long *buffer; member in struct:__anon1277
109 pitem->buffer = (long *)&data_buffer[total_length];
/barrelfish-master/usr/drivers/usb/usb_manager/include/
H A Dusb_memory.h33 * - buffer: virtual address of the memory region
38 void *buffer; member in struct:usb_memory_block
54 * - buffer: virtual address of the buffer
76 * - buffer: virtual address of the buffer
83 void *buffer; member in struct:usb_dma_page
/barrelfish-master/usr/eclipseclp/Kernel/src/
H A Dsha.c29 * sha_file(char *filename, unsigned long *buffer)
31 * buffer is a user-supplied array of 5 or more longs.
32 * The 5-word buffer is filled with 160 bits of non-terminated hash.
35 * void sha_stream(FILE *stream, unsigned long *buffer)
38 * void sha_memory(char *mem, long length, unsigned long *buffer)
161 static void byteReverse( unsigned long *buffer, int byteCount ) argument
169 value = ( buffer[ count ] << 16 ) | ( buffer[ count ] >> 16 );
170 buffer[ count ] = ( ( value & 0xFF00FF00 ) >> 8 ) | ( ( value & 0x00FF00FF ) << 8 );
184 sha_file(filename, buffer) /* Has
[all...]
/barrelfish-master/lib/openssl-1.0.0d/engines/ccgost/
H A Dgostsum.c168 unsigned char buffer[BUF_SIZE]; local
172 while ((bytes=read(fd,buffer,BUF_SIZE))>0)
174 hash_block(ctx,buffer,bytes);
180 finish_hash(ctx,buffer);
183 sprintf(sum+2*i,"%02x",buffer[31-i]);
H A Dgost89.c315 * buffer - 8-byte mac state buffer
318 void mac_block(gost_ctx *c,byte *buffer,const byte *block) argument
324 buffer[i]^=block[i];
326 n1 = buffer[0]|(buffer[1]<<8)|(buffer[2]<<16)|(buffer[3]<<24);
327 n2 = buffer[4]|(buffer[
347 get_mac(byte *buffer,int nbits,byte *out) argument
362 byte buffer[8]={0,0,0,0,0,0,0,0}; local
381 byte buffer[8]; local
[all...]
/barrelfish-master/usr/bench/bulk_transfer/
H A Dmicro_rtt.c61 struct bulk_buffer *buffer,
67 expect_success(bulk_channel_pass(&rxc, buffer, NULL, panic_cont));
68 } else if (memcmp(&txalloc.pool->id, &buffer->pool->id, sizeof(txalloc.pool->id))
71 expect_success(bulk_alloc_return_buffer(&txalloc, buffer));
74 expect_success(bulk_channel_pass(&rxc, buffer, NULL, panic_cont));
80 struct bulk_buffer *buffer,
85 expect_success(bulk_alloc_return_buffer(&txalloc, buffer));
60 cb_move_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
79 cb_buffer_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
/barrelfish-master/lib/tenaciousd/
H A Dram_vsic.c75 off_t offset, size_t size, void *buffer)
79 assert(buffer != NULL);
85 memcpy(mydata->vsa_area + offset, buffer, size);
90 cb->buf = buffer;
99 off_t offset, size_t size, void *buffer)
103 assert(buffer != NULL);
110 cb->buf = buffer;
74 vsic_write(struct storage_vsic *vsic, struct storage_vsa *vsa, off_t offset, size_t size, void *buffer) argument
98 vsic_read(struct storage_vsic *vsic, struct storage_vsa *vsa, off_t offset, size_t size, void *buffer) argument
/barrelfish-master/usr/eclipseclp/icparc_solvers/ilog/
H A Dclasses.cc35 static char buffer[10]; local
36 sprintf(buffer, "%s%d", prefix, n);
38 return buffer;
/barrelfish-master/lib/bulk_transfer/backends/net/
H A Dbulk_net_proxy.c63 struct bulk_buffer *buffer);*/
68 struct bulk_buffer *buffer,
71 struct bulk_buffer *buffer,
74 struct bulk_buffer *buffer,
190 } else if (tb->buffer == NULL) {
193 data = tb->buffer->address;
272 tb_d->buffer = b;
305 if (rb->buffer == NULL) {
306 // Temporary initialization buffer -> do not reenqueue after
385 struct bulk_buffer *buffer; local
588 cb_move_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
598 cb_buffer_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
621 cb_copy_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
[all...]
/barrelfish-master/usr/net_socket_server/
H A Dnet_sockets_server.c143 void *buffer = nc->buffers[nc->next_free]; local
145 if (!buffer) {
151 assert(buffer);
155 struct net_buffer *nb = buffer;
161 // debug_printf("%s(%d): %p -> %p %p %d\n", __func__, connection->descriptor, buffer, nb->user_callback, nb->user_state, nb->size);
163 void *shb_data = buffer + sizeof(struct net_buffer);
176 err = devq_enqueue((struct devq *)nc->queue, nc->region_id, buffer - nc->buffer_start, sizeof(struct net_buffer) + length,
193 void *buffer = nc->buffers[nc->next_free]; local
194 struct net_buffer *nb = buffer;
202 if (!buffer) {
262 void *buffer = nc->buffers[nc->next_free]; local
371 void *buffer = nc->buffers[nc->next_free]; local
594 void *buffer; local
672 void *buffer; local
[all...]
/barrelfish-master/doc/026-device-queues/
H A Ddevif.tex94 For example, what happens when a guest accesses a memory buffer that is handed off
104 \item \textbf{Buffer}: A buffer is a chunk of memory within a region.
106 \item \textbf{Ownership}: An endpoint can own a buffer and transfer ownership of a buffer to another endpoint or device.
107 If an endpoint owns a buffer, it can alter it. If an endpoint alters a buffer that is not owned,
114 A buffer is a variable sized piece of memory within a previously to the \devif interface
121 queue on the stack can do an arbitrary transformation on the buffer that was enqueued
126 has to be considered. In certain cases, a write to a buffer might not have been written back
127 to memory before the buffer i
[all...]
/barrelfish-master/lib/octopus/parser/
H A Dscan.l89 {REGEX_START} { yyextra->ptr = yyextra->buffer; BEGIN(REG); }
94 yylval->str = strdup(yyextra->buffer);
106 \' { yyextra->ptr = yyextra->buffer; BEGIN(OSTR); }
111 yylval->str = strdup(yyextra->buffer);

Completed in 467 milliseconds

1234567891011>>