Lines Matching refs:size
45 * A blob is efficient in that it dynamically grows by doubling in size, so
52 * check for out_of_memory and handle fixed-size blobs correctly.
60 size_t size;
97 * Init a new, fixed-size blob.
99 * A fixed-size blob has a fixed block of data that will not be freed on
103 * If a fixed-size blob has a NULL data pointer then the data is written but
104 * it otherwise operates normally. This can be used to determine the size
108 blob_init_fixed(struct blob *blob, void *data, size_t size);
124 blob_finish_get_buffer(struct blob *blob, void **buffer, size_t *size);
137 * Add some unstructured, fixed-size data to a blob.
183 * the current blob's size.
207 * the current blob's size.
257 * the current blob's size.
300 * the current blob's size.
327 blob_reader_init(struct blob_reader *blob, const void *data, size_t size);
341 * Read some unstructured, fixed-size data from the current location, (and
351 blob_read_bytes(struct blob_reader *blob, size_t size);
354 * Read some unstructured, fixed-size data from the current location, copying
358 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size);
361 * Skip \size bytes within the blob.
364 blob_skip_bytes(struct blob_reader *blob, size_t size);