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

1234567891011>>

/barrelfish-2018-10-04/lib/pcre/
H A Dpcre_ord2utf8.c61 buffer pointer to buffer for result - at least 6 pcre_uchars long
63 Returns: number of characters placed in the buffer
68 PRIV(ord2utf)(pcre_uint32 cvalue, pcre_uchar *buffer) argument
76 buffer += i;
79 *buffer-- = 0x80 | (cvalue & 0x3f);
82 *buffer = PRIV(utf8_table2)[i] | cvalue;
88 (void)(buffer); /* called when SUPPORT_UTF is not defined. */
/barrelfish-2018-10-04/lib/bulk_transfer/
H A Dbulk_buffer.h16 * checks if a given buffer is read only
18 * @param buffer the buffer to check the read only access
20 * @return true if the buffer is read only
23 static inline uint8_t bulk_buffer_is_read_only(struct bulk_buffer *buffer) { argument
24 return ((buffer->state == BULK_BUFFER_READ_ONLY)
25 || (buffer->state == BULK_BUFFER_RO_OWNED));
29 * checks if the given buffer copy can be released
31 * @param buffer the buffer t
36 bulk_buffer_can_release(struct bulk_buffer *buffer) argument
[all...]
H A Dbulk_buffer.c23 * does the mapping of the buffer by filling the backing memobj with the frame
26 * @param buf the buffer to map
28 * Note: The new state of the buffer as well as the backing capability must be
29 * set in the buffer struct.
31 errval_t bulk_buffer_map(struct bulk_buffer *buffer) argument
33 assert(buffer);
38 if (buffer->pool->trust == BULK_TRUST_FULL) {
44 if (buffer->state == BULK_BUFFER_INVALID || capref_is_null(buffer->cap)) {
48 pool_int = (struct bulk_pool_internal *) buffer
94 bulk_buffer_unmap(struct bulk_buffer *buffer) argument
142 bulk_buffer_remap(struct bulk_buffer *buffer) argument
178 bulk_buffer_is_owner(struct bulk_buffer *buffer) argument
192 bulk_buffer_is_copy(struct bulk_buffer *buffer) argument
206 bulk_buffer_is_valid(struct bulk_buffer *buffer) argument
217 bulk_buffer_change_state(struct bulk_buffer *buffer, enum bulk_buffer_state new_state) argument
278 bulk_buffer_assign_cap(struct bulk_buffer *buffer, struct capref cap, size_t cap_offset) argument
[all...]
H A Dbulk_channel.c225 struct bulk_buffer *buffer,
230 assert(buffer);
242 if (!bulk_pool_is_assigned(buffer->pool, channel)) {
246 if (!bulk_buffer_is_owner(buffer)) {
250 err = bulk_buffer_change_state(buffer, BULK_BUFFER_INVALID);
255 USER_PANIC_ERR(err, "failed to change the buffer state");
258 return channel->ep->f->move(channel, buffer, meta, cont);
265 struct bulk_buffer *buffer,
270 assert(buffer);
278 if (!bulk_pool_is_assigned(buffer
224 bulk_channel_move(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta, struct bulk_continuation cont) argument
264 bulk_channel_pass(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta, struct bulk_continuation cont) argument
300 bulk_channel_copy(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta, struct bulk_continuation cont) argument
344 bulk_channel_release(struct bulk_channel *channel, struct bulk_buffer *buffer, struct bulk_continuation cont) argument
[all...]
/barrelfish-2018-10-04/include/debug_log/
H A Ddebug_log.h7 unsigned int debug_print_log_to_buffer(char *buffer, int max_size);
/barrelfish-2018-10-04/usr/bench/rcce/pingpong/
H A DRCCE_pingpong.c26 char buffer[BUFSIZE+1] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }; local
51 char oldcnt = buffer[0];
54 RCCE_send(buffer, BUFSIZE, YOU);
55 RCCE_recv(buffer, BUFSIZE, YOU);
58 if((++oldcnt) != buffer[0]) {
60 buffer[0], oldcnt);
62 printf("%d ", buffer[i]);
68 assert(buffer[i] == i);
75 RCCE_recv(buffer, BUFSIZE, YOU);
77 buffer[
[all...]
/barrelfish-2018-10-04/usr/drivers/serial/
H A Dmain.c26 static struct serial_buffer buffer; variable in typeref:struct:serial_buffer
39 if (buffer.buf == NULL) {
40 // Allocate a new buffer.
41 buffer.buf = (char *) malloc(length);
42 assert(buffer.buf != NULL);
43 memcpy(buffer.buf, data, length);
44 buffer.len = length;
46 // Append new data to existing buffer.
47 buffer.buf = realloc(buffer
[all...]
/barrelfish-2018-10-04/lib/libc/stdlib/
H A Dl64a.c28 l64a_r(long value, char *buffer, int buflen) argument
37 *buffer = '\0';
40 *buffer++ = chars[v & 0x3f];
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/rc4/
H A Drc4s.cpp39 unsigned char buffer[1024]; local
59 RC4(&ctx,numm,buffer,buffer);
61 RC4(&ctx,numm,buffer,buffer);
64 RC4(&ctx,num,buffer,buffer);
66 RC4(&ctx,num,buffer,buffer);
/barrelfish-2018-10-04/include/term/
H A Ddefs.h28 typedef void term_characters_handler_fn(void *st, char *buffer, size_t length);
/barrelfish-2018-10-04/kernel/include/
H A Duseraccess.h25 * Check the validity of the user space buffer.
28 * \param buffer Pointer to beginning of buffer.
29 * \param size Size of buffer.
31 bool access_ok(uint8_t type, lvaddr_t buffer, size_t size);
/barrelfish-2018-10-04/kernel/
H A Duseraccess.c19 * Check the validity of the user space buffer.
22 * \param buffer Pointer to beginning of buffer.
23 * \param size Size of buffer.
25 bool access_ok(uint8_t type, lvaddr_t buffer, size_t size) argument
/barrelfish-2018-10-04/lib/openssl-1.0.0d/times/x86/
H A Drc4s.cpp39 unsigned char buffer[1024]; local
59 RC4(&ctx,numm,buffer,buffer);
61 RC4(&ctx,numm,buffer,buffer);
64 RC4(&ctx,num,buffer,buffer);
66 RC4(&ctx,num,buffer,buffer);
H A Dmd4s.cpp38 void md4_block_x86(MD4_CTX *ctx, unsigned char *buffer,int num);
43 unsigned char buffer[64*256]; local
65 md4_block_x86(&ctx,buffer,numm);
67 md4_block_x86(&ctx,buffer,numm);
70 md4_block_x86(&ctx,buffer,num);
72 md4_block_x86(&ctx,buffer,num);
/barrelfish-2018-10-04/lib/devif/backends/debug/
H A Ddevif_backend_debug.c26 * to check for non valid buffer enqueues/deqeues that might happen.
27 * A not valid enqueue of a buffer is when the endpoint that enqueues
28 * the buffer does not own the buffer.
37 * If a a buffer is enqueued, it has to be contained in one of these
39 * the buffer is contained in the chunk. If it is at the beginning or
41 * If the buffer is in the middle of the chunk, we split the memory chunk
42 * into two new memory chunks that do not contain the buffer.
44 * If a buffer is dequeued the buffer i
351 remove_split_buffer(struct debug_q* que, struct memory_list* region, struct memory_ele* buffer, genoffset_t offset, genoffset_t length) argument
459 insert_merge_buffer(struct debug_q* que, struct memory_list* region, struct memory_ele* buffer, genoffset_t offset, genoffset_t length) argument
673 struct memory_ele* buffer = region->buffers; local
807 struct memory_ele* buffer = region->buffers; local
[all...]
/barrelfish-2018-10-04/lib/lwip2/src/apps/udpecho/
H A Dudpecho.c48 char buffer[4096]; local
65 if(netbuf_copy(buf, buffer, sizeof(buffer)) != buf->p->tot_len) {
68 buffer[buf->p->tot_len] = '\0';
73 LWIP_DEBUGF(LWIP_DBG_ON, ("got %s\n", buffer));
/barrelfish-2018-10-04/usr/bench/scheduling/
H A Dplacement.c20 static char buffer[BUFSIZE+1] = { 0 }; variable
41 RCCE_send(buffer, BUFSIZE, YOU);
42 RCCE_recv(buffer, BUFSIZE, YOU);
45 RCCE_recv(buffer, BUFSIZE, YOU);
46 RCCE_send(buffer, BUFSIZE, YOU);
/barrelfish-2018-10-04/usr/tests/bulk_transfer/
H A Dbulk_mini.c22 struct bulk_buffer *buffer,
25 struct bulk_buffer *buffer,
49 struct bulk_buffer *buffer,
53 debug_printf("APPL: cb_rx_move_received: %p, meta=%x\n", buffer->address,
57 volatile char *e = buffer->address;
58 for (int i = 0; i < buffer->pool->buffer_size; ++i) {
62 errval_t err = bulk_channel_pass(channel, buffer, &meta_val, dummy_cont);
67 struct bulk_buffer *buffer,
71 volatile char *e = buffer->address;
72 for (int i = 0; i < buffer
48 cb_rx_move_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
66 cb_rx_copy_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
154 cb_tx_buffer_received(struct bulk_channel *channel, struct bulk_buffer *buffer, void *meta) argument
169 cb_tx_copy_released(struct bulk_channel *channel, struct bulk_buffer *buffer) argument
199 struct bulk_buffer *buffer; local
[all...]
/barrelfish-2018-10-04/lib/cxx/cxxabi/
H A Dabort_message.cpp65 char* buffer; local
68 vasprintf(&buffer, format, list2);
70 CRSetCrashLogMessage(buffer);
72 char* buffer; local
75 vasprintf(&buffer, format, list2);
79 android_set_abort_message(buffer);
83 syslog(LOG_CRIT, "%s", buffer);
/barrelfish-2018-10-04/lib/libc/locale/
H A Dlnumeric.h45 char *buffer; member in struct:xlocale_numeric
/barrelfish-2018-10-04/lib/devif/
H A Dregion.h18 struct buffer { struct
20 struct buffer* next;
/barrelfish-2018-10-04/lib/openssl-1.0.0d/apps/
H A Dapp_rand.c125 char buffer[200]; local
135 file = RAND_file_name(buffer, sizeof buffer);
196 char buffer[200]; local
206 file = RAND_file_name(buffer, sizeof buffer);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/md4/
H A Dmd4s.cpp38 void md4_block_x86(MD4_CTX *ctx, unsigned char *buffer,int num);
43 unsigned char buffer[64*256]; local
65 md4_block_x86(&ctx,buffer,numm);
67 md4_block_x86(&ctx,buffer,numm);
70 md4_block_x86(&ctx,buffer,num);
72 md4_block_x86(&ctx,buffer,num);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/md5/
H A Dmd5s.cpp38 void md5_block_x86(MD5_CTX *ctx, unsigned char *buffer,int num);
43 unsigned char buffer[64*256]; local
65 md5_block_x86(&ctx,buffer,numm);
67 md5_block_x86(&ctx,buffer,numm);
70 md5_block_x86(&ctx,buffer,num);
72 md5_block_x86(&ctx,buffer,num);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ripemd/asm/
H A Drips.cpp40 void ripemd160_block_x86(RIPEMD160_CTX *ctx, unsigned char *buffer,int num);
45 unsigned char buffer[64*256]; local
69 ripemd160_block_x86(&ctx,buffer,numm);
71 ripemd160_block_x86(&ctx,buffer,numm);
74 ripemd160_block_x86(&ctx,buffer,num);
76 ripemd160_block_x86(&ctx,buffer,num);

Completed in 124 milliseconds

1234567891011>>