Searched refs:code_int (Results 1 – 3 of 3) sorted by relevance
40 typedef INT16 code_int; /* must hold -1 .. 2**MAX_LZW_BITS */ typedef42 #define LZW_TABLE_SIZE ((code_int)1 << MAX_LZW_BITS)48 #define MAXCODE(n_bits) (((code_int)1 << (n_bits)) - 1)78 code_int maxcode; /* maximum code, given n_bits */84 code_int waiting_code; /* symbol not yet output; may be extendable */88 code_int ClearCode; /* clear code (doesn't change) */89 code_int EOFCode; /* EOF code (ditto) */90 code_int free_code; /* LZW: first not-yet-used symbol code */91 code_int code_counter; /* not LZW: counts output symbols */94 code_int *hash_code; /* => hash table of symbol codes */[all …]
50 _add_errcode(PyObject *module_dict, PyObject *error_dict, const char *name_str, int code_int) in _add_errcode() argument57 PyObject *code = PyLong_FromLong(code_int); in _add_errcode()