Lines Matching refs:pc
45 struct program_client *pc =
50 program_client_set_output(pc, os);
52 test_assert(program_client_run(pc) == 1);
55 program_client_destroy(&pc);
71 struct program_client *pc =
75 program_client_set_input(pc, is);
79 program_client_set_output(pc, os);
81 test_assert(program_client_run(pc) == 1);
84 program_client_destroy(&pc);
114 struct program_client *pc =
118 program_client_set_input(pc, is);
122 program_client_set_output(pc, os);
124 program_client_run_async(pc, test_program_io_async_callback, &ret);
131 program_client_destroy(&pc);
151 struct program_client *pc =
156 program_client_set_output(pc, os);
158 test_assert(program_client_run(pc) == 0);
161 program_client_destroy(&pc);
186 struct program_client *pc =
205 program_client_set_input(pc, is);
209 program_client_set_output(pc, os);
211 test_assert(program_client_run(pc) == 1);
215 program_client_destroy(&pc);