    vb                 41 htags/anchor.c static VARRAY *vb;
    vb                113 htags/anchor.c 	if (vb == NULL)
    vb                114 htags/anchor.c 		vb = varray_open(sizeof(struct anchor), 1000);
    vb                116 htags/anchor.c 		varray_reset(vb);
    vb                177 htags/anchor.c 			a = varray_append(vb);
    vb                189 htags/anchor.c 	if (vb->length == 0) {
    vb                192 htags/anchor.c 		int i, used = vb->length;
    vb                196 htags/anchor.c 		table = varray_assign(vb, 0, 0);
    vb                217 htags/anchor.c 	end = &table[vb->length];
    vb                620 libutil/gtagsop.c 		if (gtop->vb == NULL)
    vb                621 libutil/gtagsop.c 			gtop->vb = varray_open(sizeof(GTP), 200);
    vb                623 libutil/gtagsop.c 			varray_reset(gtop->vb);
    vb                670 libutil/gtagsop.c 			varray_reset(gtop->vb);
    vb                700 libutil/gtagsop.c 	if (gtop->vb)
    vb                701 libutil/gtagsop.c 		varray_close(gtop->vb);
    vb                728 libutil/gtagsop.c 		VARRAY *vb = (VARRAY *)entry->value;
    vb                729 libutil/gtagsop.c 		int *lno_array = varray_assign(vb, 0, 0);
    vb                749 libutil/gtagsop.c 		qsort(lno_array, vb->length, sizeof(int), compare_lineno);
    vb                770 libutil/gtagsop.c 			for (i = 0; i < vb->length; i++) {
    vb                816 libutil/gtagsop.c 			for (i = 0; i < vb->length; i++) {
    vb                834 libutil/gtagsop.c 		varray_close(vb);
    vb                882 libutil/gtagsop.c 		gtp = varray_append(gtop->vb);
    vb                902 libutil/gtagsop.c 	gtop->gtp_array = varray_assign(gtop->vb, 0, 0);
    vb                903 libutil/gtagsop.c 	gtop->gtp_count = gtop->vb->length;
    vb                 97 libutil/gtagsop.h 	VARRAY *vb;
    vb                 49 libutil/linetable.c static VARRAY *vb;
    vb                 69 libutil/linetable.c 	vb = varray_open(sizeof(int), EXPAND);
    vb                123 libutil/linetable.c 	entry = varray_assign(vb, lineno - 1, 1);
    vb                141 libutil/linetable.c 	addr = *((int *)varray_assign(vb, lineno - 1, 0));
    vb                152 libutil/linetable.c 	varray_close(vb);
    vb                169 libutil/linetable.c 	if (vb->length == lineno) {
    vb                 89 libutil/varray.c 	VARRAY *vb = (VARRAY *)check_calloc(sizeof(VARRAY), 1);
    vb                 95 libutil/varray.c 	vb->size = size;
    vb                 96 libutil/varray.c 	vb->alloced = vb->length = 0;
    vb                 97 libutil/varray.c 	vb->expand = (expand == 0) ? DEFAULT_EXPAND : expand;
    vb                 98 libutil/varray.c 	vb->vbuf = NULL;
    vb                 99 libutil/varray.c 	return vb;
    vb                114 libutil/varray.c varray_assign(VARRAY *vb, int index, int force)
    vb                118 libutil/varray.c 	if (index >= vb->length) {
    vb                120 libutil/varray.c 			vb->length = index + 1;
    vb                121 libutil/varray.c 		else if (index == 0 && vb->length == 0)
    vb                129 libutil/varray.c 	if (index >= vb->alloced) {
    vb                130 libutil/varray.c 		int old_alloced = vb->alloced;
    vb                132 libutil/varray.c 		while (index >= vb->alloced)
    vb                133 libutil/varray.c 			vb->alloced += vb->expand;
    vb                139 libutil/varray.c 		if (vb->vbuf == NULL)
    vb                140 libutil/varray.c 			vb->vbuf = (char *)check_malloc(vb->size * vb->alloced);
    vb                142 libutil/varray.c 			vb->vbuf = (char *)check_realloc(vb->vbuf, vb->size * vb->alloced);
    vb                144 libutil/varray.c 			fprintf(stderr, "Expanded: from %d to %d.\n", old_alloced, vb->alloced);
    vb                146 libutil/varray.c 	return (void *)(vb->vbuf + vb->size * index);
    vb                158 libutil/varray.c varray_append(VARRAY *vb)
    vb                160 libutil/varray.c 	return varray_assign(vb, vb->length, 1);
    vb                168 libutil/varray.c varray_reset(VARRAY *vb)
    vb                170 libutil/varray.c 	vb->length = 0;
    vb                178 libutil/varray.c varray_close(VARRAY *vb)
    vb                180 libutil/varray.c 	if (vb) {
    vb                181 libutil/varray.c 		if (vb->vbuf)
    vb                182 libutil/varray.c 			(void)free(vb->vbuf);
    vb                183 libutil/varray.c 		(void)free(vb);