Searched refs:exb (Results 1 – 1 of 1) sorted by relevance
84 exb = calloc(1, sizeof(*exb)); in excludes_buffer_init()86 return exb; in excludes_buffer_init()101 exb->ptr = malloc(exb->size * sizeof(*exb->ptr)); in excludes_buffer_append()104 exb->ptr[i] = calloc(1, sizeof(**exb->ptr)); in excludes_buffer_append()106 } else if (exb->used == exb->size) { in excludes_buffer_append()109 exb->ptr = realloc(exb->ptr, exb->size * sizeof(*exb->ptr)); in excludes_buffer_append()111 for(i = exb->used; i < exb->size; i++) { in excludes_buffer_append()112 exb->ptr[i] = calloc(1, sizeof(**exb->ptr)); in excludes_buffer_append()122 exb->ptr[exb->used]->string = buffer_init(); in excludes_buffer_append()146 if (exb->ptr) free(exb->ptr); in excludes_buffer_free()[all …]