Searched refs:decode_stack (Results 1 – 6 of 6) sorted by relevance
34 UINT8 *decode_stack; variable40 decode_stack = calloc (1, 8192); in initLZW()49 free (decode_stack); in closeLZW()157 *decode_stack = c; in LZW_expand()158 s = decode_string(decode_stack+1, lzwold); in LZW_expand()161 s = decode_string(decode_stack, lzwnew); in LZW_expand()167 while (s >= decode_stack) in LZW_expand()
191 decode_stack = NULL; in Lzw()210 if( !decode_stack ) in initialize_storage()211 decode_stack = (unsigned char *)mem_add(sizeof(unsigned char) * TABLE_SIZE); in initialize_storage()219 if( decode_stack ) in free_storage()221 mem_del(decode_stack); in free_storage()222 decode_stack = NULL; in free_storage()397 decode_stack[ 0 ] = character; in basic_expand()402 character = decode_stack[ count - 1 ]; in basic_expand()406 outPtr[outByteLen++] = decode_stack[ --count ]; in basic_expand()473 decode_stack[ count++ ] = DICT( code ).character; in decode_string()[all …]
1171 char *decode_stack; // decode stack in extract_shrunk() local1176 decode_stack = (char *) malloc_chk( // ..and allocate decode stack in extract_shrunk()1241 decode_stack[cnt++] = b_c; // a. yes .. store old character in extract_shrunk()1248 decode_stack[cnt++] = d->c; // put character into stack in extract_shrunk()1255 store_char(decode_stack[--cnt]);// ..decode stack in extract_shrunk()1267 free(decode_stack); // free decode stack in extract_shrunk()
88 unsigned char *decode_stack; variable
92 static char decode_stack[TABLE_SIZE]; variable185 decode_stack[ count++ ] = dict[ code ].character; in decode_string()188 decode_stack[ count++ ] = (char) code; in decode_string()273 decode_stack[ 0 ] = (char) character; in lzw_expand()278 character = decode_stack[ count - 1 ]; in lzw_expand()280 outputbuf[counter++] = ( ubyte )decode_stack[ --count ]; in lzw_expand()
99 static char decode_stack[TABLE_SIZE]; variable192 decode_stack[ count++ ] = dict[ code ].character; in decode_string()195 decode_stack[ count++ ] = (char) code; in decode_string()280 decode_stack[ 0 ] = (char) character; in lzw_expand()285 character = decode_stack[ count - 1 ]; in lzw_expand()287 outputbuf[counter++] = ( ubyte )decode_stack[ --count ]; in lzw_expand()