Searched refs:rubin_state (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/fs/jffs2/ |
D | compr_rubin.h | 13 struct rubin_state { struct 24 void init_rubin (struct rubin_state *rs, int div, int *bits); argument 25 int encode (struct rubin_state *, long, long, int); 26 void end_rubin (struct rubin_state *); 27 void init_decode (struct rubin_state *, int div, int *bits); 28 int decode (struct rubin_state *, long, long);
|
D | compr_rubin.c | 46 void init_rubin(struct rubin_state *rs, int div, int *bits) in init_rubin() 59 int encode(struct rubin_state *rs, long A, long B, int symbol) in encode() 94 void end_rubin(struct rubin_state *rs) in end_rubin() 107 void init_decode(struct rubin_state *rs, int div, int *bits) in init_decode() 118 static void __do_decode(struct rubin_state *rs, unsigned long p, unsigned long q) in __do_decode() 154 int decode(struct rubin_state *rs, long A, long B) in decode() 185 static int out_byte(struct rubin_state *rs, unsigned char byte) in out_byte() 188 struct rubin_state rs_copy; in out_byte() 203 static int in_byte(struct rubin_state *rs) in in_byte() 220 struct rubin_state rs; in rubin_do_compress() [all …]
|