Lines Matching defs:test_data
232 TestData *test_data = data;
237 test_data->current_val = atoi (result);
238 test_data->iters--;
240 if (test_data->iters == 0)
242 if (test_data->current_val != ITERS * INCREMENT)
245 test_data->current_val, ITERS * INCREMENT);
250 g_io_channel_unref (test_data->in);
252 g_free (test_data);
257 do_add (test_data->in, test_data->current_val, INCREMENT);
266 TestData *test_data;
289 test_data = g_new (TestData, 1);
290 test_data->in = in_channels[1];
291 test_data->current_val = 0;
292 test_data->iters = ITERS;
295 adder_response, test_data);
297 do_add (test_data->in, test_data->current_val, INCREMENT);