Lines Matching refs:tx
69 store::read_transaction tx = backend.start_read();
70 ATF_REQUIRE_THROW_RE(store::error, "context: no data", tx.get_context());
95 store::read_transaction tx = backend.start_read();
97 tx.get_context());
125 store::read_transaction tx = backend.start_read();
127 tx.get_context());
146 store::read_transaction tx = backend.start_read();
148 tx.get_context());
164 store::read_transaction tx = backend.start_read();
165 store::results_iterator iter = tx.get_results();
181 store::write_transaction tx = backend.start_write();
185 tx.put_context(context);
204 const int64_t tp_id = tx.put_test_program(test_program_1);
205 const int64_t tc_id = tx.put_test_case(test_program_1, "main", tp_id);
207 tx.put_test_case_file("__STDOUT__", fs::path("prog1.out"), tc_id);
208 tx.put_test_case_file("unused.txt", fs::path("unused.txt"), tc_id);
209 tx.put_result(result_1, tc_id, start_time1, end_time1);
219 const int64_t tp_id = tx.put_test_program(test_program_2);
220 const int64_t tc_id = tx.put_test_case(test_program_2, "main", tp_id);
222 tx.put_test_case_file("__STDERR__", fs::path("prog2.err"), tc_id);
223 tx.put_test_case_file("unused.txt", fs::path("unused.txt"), tc_id);
224 tx.put_result(result_2, tc_id, start_time2, end_time2);
227 tx.commit();