Searched refs:ScopedPathUnlinker (Results 1 – 19 of 19) sorted by relevance
50 old_part_unlinker_.reset(new ScopedPathUnlinker(old_part_path_)); in SetUp()51 new_part_unlinker_.reset(new ScopedPathUnlinker(new_part_path_)); in SetUp()57 std::unique_ptr<ScopedPathUnlinker> old_part_unlinker_;58 std::unique_ptr<ScopedPathUnlinker> new_part_unlinker_;
50 part_path_unlinker_.reset(new ScopedPathUnlinker(new_part_conf.path)); in SetUp()51 out_blobs_unlinker_.reset(new ScopedPathUnlinker(out_blobs_path_)); in SetUp()66 std::unique_ptr<ScopedPathUnlinker> part_path_unlinker_;67 std::unique_ptr<ScopedPathUnlinker> out_blobs_unlinker_;
42 ScopedPathUnlinker orig_blobs_unlinker(orig_blobs); in TEST_F()55 ScopedPathUnlinker new_blobs_unlinker(new_blobs); in TEST_F()
132 ScopedPathUnlinker payload_path_unlinker(payload_path); in DoWriteAndLoadPayloadTest()220 ScopedPathUnlinker payload_path_unlinker(payload_path); in TEST_F()248 ScopedPathUnlinker payload_path_unlinker(payload_path); in TEST_F()
62 ScopedPathUnlinker part_path_unlinker(part_path); in TestSplitReplaceOrReplaceBzOperation()114 ScopedPathUnlinker data_path_unlinker(data_path); in TestSplitReplaceOrReplaceBzOperation()215 ScopedPathUnlinker part_path_unlinker(part_path); in TestMergeReplaceOrReplaceBzOperations()283 ScopedPathUnlinker data_path_unlinker(data_path); in TestMergeReplaceOrReplaceBzOperations()576 ScopedPathUnlinker src_part_path_unlinker(src_part_path); in TEST_F()
73 ScopedPathUnlinker temp_file_unlinker(temp_file_path); in GenerateUpdatePayloadFile()
719 ScopedPathUnlinker old_unlinker(old_chunk.value()); in ReadExtentsToDiff()724 ScopedPathUnlinker new_unlinker(new_chunk.value()); in ReadExtentsToDiff()
111 ScopedPathUnlinker ordered_blobs_unlinker(ordered_blobs_path); in WritePayload()
115 blob_path_unlinker_.reset(new ScopedPathUnlinker(blob_path_)); in CreateBlobFile()138 std::unique_ptr<ScopedPathUnlinker> blob_path_unlinker_;
43 ScopedPathUnlinker path_unlinker(path); in TEST()68 ScopedPathUnlinker path_unlinker(path); in TEST()
221 ScopedPathUnlinker key_unlinker(private_key_path); in SignGeneratedShellPayload()245 ScopedPathUnlinker hash_unlinker(hash_file); in SignGeneratedShellPayload()269 ScopedPathUnlinker sig_unlinker(sig_file); in SignGeneratedShellPayload()274 ScopedPathUnlinker sig2_unlinker(sig_file2); in SignGeneratedShellPayload()936 ScopedPathUnlinker a_img_unlinker(state.a_img); in DoSmallImageTest()937 ScopedPathUnlinker b_img_unlinker(state.b_img); in DoSmallImageTest()938 ScopedPathUnlinker new_img_unlinker(state.result_img); in DoSmallImageTest()939 ScopedPathUnlinker delta_unlinker(state.delta_path); in DoSmallImageTest()940 ScopedPathUnlinker old_kernel_unlinker(state.old_kernel); in DoSmallImageTest()941 ScopedPathUnlinker new_kernel_unlinker(state.new_kernel); in DoSmallImageTest()[all …]
130 ScopedPathUnlinker blob_unlinker(blob_path); in GeneratePayload()163 ScopedPathUnlinker payload_unlinker(payload_path); in GeneratePayload()195 ScopedPathUnlinker partition_unlinker(new_part); in ApplyPayloadToData()480 ScopedPathUnlinker path_unlinker(source_path); in TEST_F()506 ScopedPathUnlinker path_unlinker(source_path); in TEST_F()
122 ScopedPathUnlinker a_loop_file_unlinker(a_loop_file); in DoTest()
1365 ScopedPathUnlinker tmp_key_remover(tmp_key.value()); in ValidateMetadataSignature()1571 ScopedPathUnlinker tmp_key_remover(tmp_key.value()); in VerifyPayload()
346 class ScopedPathUnlinker {348 explicit ScopedPathUnlinker(const std::string& path) in ScopedPathUnlinker() function351 ~ScopedPathUnlinker() { in ~ScopedPathUnlinker()361 DISALLOW_COPY_AND_ASSIGN(ScopedPathUnlinker);
114 ScopedPathUnlinker data_path_unlinker(data_path); in TEST_F()140 ScopedPathUnlinker data_path_unlinker(data_path); in TEST_F()
62 ScopedPathUnlinker unlinker(file.value()); in TEST()78 ScopedPathUnlinker unlinker(file.value()); in TEST()324 ScopedPathUnlinker unlinker(path.value()); in TEST()468 ScopedPathUnlinker tmp_image_unlinker(tmp_image); in TEST()510 ScopedPathUnlinker unlinker(file.value()); in TEST()
165 unlinker_.reset(new ScopedPathUnlinker(path_)); in ScopedTempFile()172 std::unique_ptr<ScopedPathUnlinker> unlinker_;
150 ScopedPathUnlinker deadline_unlinker(test_deadline_file); in TEST_F()