Searched refs:fbuf (Results 1 - 6 of 6) sorted by relevance
/barrelfish-master/lib/collections/ |
H A D | flipbuffer.c | 19 * \param fbuf Flip buffer to append data to. 23 void collections_fbuf_append(struct collections_fbuf *fbuf, const void *data, argument 30 if (fbuf->front == NULL) { 32 fbuf->front = malloc(length); 33 assert(fbuf->front != NULL); 34 memcpy(fbuf->front, data, length); 35 fbuf->frontlen = length; 38 fbuf->front = realloc(fbuf->front, fbuf 50 collections_fbuf_create(struct collections_fbuf **fbuf) argument 66 collections_fbuf_flip(struct collections_fbuf *fbuf) argument 86 collections_fbuf_free(struct collections_fbuf *fbuf) argument 101 collections_fbuf_get_data(struct collections_fbuf *fbuf) argument 112 collections_fbuf_get_length(struct collections_fbuf *fbuf) argument 123 collections_fbuf_is_empty(struct collections_fbuf *fbuf) argument 138 collections_fbuf_other_is_empty(struct collections_fbuf *fbuf) argument 153 collections_fbuf_other_free(struct collections_fbuf *fbuf) argument 165 collections_fbuf_release(struct collections_fbuf *fbuf) argument [all...] |
/barrelfish-master/include/collections/ |
H A D | flipbuffer.h | 31 void collections_fbuf_append(struct collections_fbuf *fbuf, const void *data, 34 void collections_fbuf_create(struct collections_fbuf **fbuf); 36 void collections_fbuf_flip(struct collections_fbuf *fbuf); 38 void collections_fbuf_free(struct collections_fbuf *fbuf); 40 void *collections_fbuf_get_data(struct collections_fbuf *fbuf); 42 size_t collections_fbuf_get_length(struct collections_fbuf *fbuf); 44 bool collections_fbuf_is_empty(struct collections_fbuf *fbuf); 46 void collections_fbuf_other_free(struct collections_fbuf *fbuf); 48 bool collections_fbuf_other_is_empty(struct collections_fbuf *fbuf); 50 void collections_fbuf_release(struct collections_fbuf *fbuf); [all...] |
/barrelfish-master/lib/tzcode/zic/ |
H A D | scheck.c | 26 register char * fbuf; local 36 fbuf = imalloc((int) (2 * strlen(format) + 4)); 37 if (fbuf == NULL) 40 tp = fbuf; 64 if (sscanf(string, fbuf, &dummy) != 1) 66 ifree(fbuf);
|
/barrelfish-master/lib/term/server/ |
H A D | server.c | 193 collections_fbuf_create(&server->fbuf); 236 collections_fbuf_append(server->fbuf, data, length); 239 if (b != NULL && collections_fbuf_other_is_empty(server->fbuf)) { 329 collections_fbuf_other_free(server->fbuf); 332 if (collections_fbuf_is_empty(server->fbuf)) { 339 collections_fbuf_get_data(server->fbuf), 340 collections_fbuf_get_length(server->fbuf)); 348 collections_fbuf_flip(server->fbuf);
|
/barrelfish-master/include/term/server/ |
H A D | server.h | 160 struct collections_fbuf *fbuf; member in struct:term_server
|
/barrelfish-master/usr/eclipseclp/Kernel/src/ |
H A D | write.c | 750 char fbuf[32]; local 751 int size = _float_to_string_opt(val, tag, fbuf, idwrite & QUOTED, sd->options); 752 if (UnsignedNumberNeedsBrackets && fbuf[0] != '-') 755 (status = ec_outf(out, fbuf, size)) < 0 || 761 return ec_outf(out, fbuf, size);
|
Completed in 120 milliseconds