Lines Matching refs:translate
51 struct translate *(*create_fn)(const struct translate_key *key) = 0; in main()
197 struct translate* translate[2]; in main() local
232 translate[0] = create_fn(&key); in main()
233 if (!translate[0]) in main()
239 translate[1] = create_fn(&key); in main()
240 if(!translate[1]) in main()
243 translate[1] = translate_generic_create(&key); in main()
244 if(!translate[1]) in main()
262 translate[0]->set_buffer(translate[0], 0, buffer[0], input_format_size, count - 1); in main()
263 translate[0]->run_elts(translate[0], elts, count, 0, buffer[1]); in main()
264 translate[1]->set_buffer(translate[1], 0, buffer[1], output_format_size, count - 1); in main()
265 translate[1]->run_elts(translate[1], elts, count, 0, buffer[2]); in main()
266 translate[0]->set_buffer(translate[0], 0, buffer[2], input_format_size, count - 1); in main()
267 translate[0]->run_elts(translate[0], elts, count, 0, buffer[3]); in main()
268 translate[1]->set_buffer(translate[1], 0, buffer[3], output_format_size, count - 1); in main()
269 translate[1]->run_elts(translate[1], elts, count, 0, buffer[4]); in main()
316 if(translate[1]) in main()
317 translate[1]->release(translate[1]); in main()
318 translate[0]->release(translate[0]); in main()