Lines Matching defs:tabsize
83 * \fn static SANE_String_Const *char_to_array(SANE_String_Const *tab, int *tabsize, SANE_String_Const mode, int good_array)
90 char_to_array(SANE_String_Const *tab, int *tabsize, SANE_String_Const mode, int good_array)
105 for (i = 0; i < (*tabsize); i++) {
109 (*tabsize)++;
110 if (*tabsize == 1)
111 board = (SANE_String_Const *)malloc(sizeof(SANE_String_Const) * ((*tabsize) + 1));
113 board = (SANE_String_Const *)realloc(tab, sizeof(SANE_String_Const) * ((*tabsize) + 1));
114 board[*tabsize - 1] = (SANE_String_Const)strdup(convert);
115 board[*tabsize] = NULL;
120 * \fn static SANE_Int *int_to_array(SANE_Int *tab, int *tabsize, int cont)
126 int_to_array(SANE_Int *tab, int *tabsize, int cont)
131 for (i = 0; i < (*tabsize); i++) {
135 (*tabsize)++;
136 if (*tabsize == 1) {
137 (*tabsize)++;
138 board = malloc(sizeof(SANE_Int *) * (*tabsize) + 1);
141 board = realloc(tab, sizeof(SANE_Int *) * (*tabsize) + 1);
142 board[0] = *tabsize - 1;
143 board[*tabsize - 1] = cont;
144 board[*tabsize] = -1;