Lines Matching refs:slab
393 /// A slab for allocating strings.
399 /// How many bytes of the slab are taken.
405 * Frees a slab. This is a destructor.
406 * @param slab The slab as a void pointer.
409 bc_slab_free(void* slab);
412 * Initializes a slab vector.
419 * Duplicates the string using slabs in the slab vector.
420 * @param v The slab vector.
422 * @return A pointer to the duplicated string, owned by the slab vector.
428 * Clears a slab vector. This deallocates all but the first slab and clears the
429 * first slab.
430 * @param v The slab vector to clear.
438 * Prints all of the items in a slab vector, in order.