Lines Matching refs:convtable
38 struct convtable struct
43 struct convtable *sub; argument
49 static inline struct convtable * argument
52 return (struct convtable *) xcalloc (1, sizeof (struct convtable)); in allocate_table()
56 free_table (struct convtable *tbl) in free_table()
63 is_term (struct convtable *tbl, unsigned int idx) in is_term()
70 clear_term (struct convtable *tbl, unsigned int idx) in clear_term()
77 set_term (struct convtable *tbl, unsigned int idx) in set_term()
84 static struct convtable *use_from_charmap (struct charmap_t *from_charmap,
86 static struct convtable *use_to_charmap (const char *from_code,
88 static struct convtable *use_both_charmaps (struct charmap_t *from_charmap,
92 static int process_block (struct convtable *tbl, char *addr, size_t len,
94 static int process_fd (struct convtable *tbl, int fd, FILE *output);
95 static int process_file (struct convtable *tbl, FILE *input, FILE *output);
104 struct convtable *cvtbl; in charmap_conversion()
246 add_bytes (struct convtable *tbl, const struct charseq *in, struct charseq *out) in add_bytes()
262 (struct convtable *) xcalloc (1, sizeof (struct convtable)); in add_bytes()
319 static struct convtable *
325 struct convtable *rettbl; in use_from_charmap()
354 static struct convtable *
360 struct convtable *rettbl; in use_to_charmap()
396 static struct convtable *
403 struct convtable *rettbl = allocate_table (); in use_both_charmaps()
424 process_block (struct convtable *tbl, char *addr, size_t len, FILE *output) in process_block()
430 struct convtable *cur = tbl; in process_block()
484 process_fd (struct convtable *tbl, int fd, FILE *output) in process_fd()
563 process_file (struct convtable *tbl, FILE *input, FILE *output) in process_file()