Home
last modified time | relevance | path

Searched refs:LoadFileContents (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/applypatch/
Dmain.cpp71 if (LoadFileContents(colon, &fc) != 0) { in ParsePatchArgs()
90 if (LoadFileContents(argv[2], &bonusFc) != 0) { in PatchMode()
Dapplypatch.h62 int LoadFileContents(const char* filename, FileContents* file);
Dapplypatch.cpp58 int LoadFileContents(const char* filename, FileContents* file) { in LoadFileContents() function
535 if (LoadFileContents(filename, &file) != 0 || in applypatch_check()
547 if (LoadFileContents(CACHE_TEMP_SOURCE, &file) != 0) { in applypatch_check()
658 if (LoadFileContents(target_filename, &source_file) == 0) { in applypatch()
673 LoadFileContents(source_filename, &source_file); in applypatch()
687 if (LoadFileContents(CACHE_TEMP_SOURCE, &copy_file) < 0) { in applypatch()
749 if (LoadFileContents(source_filename, &source_file) == 0) { in applypatch_flash()
/bootable/recovery/tests/component/
Dapplypatch_test.cpp155 ASSERT_EQ(0, LoadFileContents(&rand_file[0], &fc)); in SetUpTestCase()
163 ASSERT_EQ(0, LoadFileContents(&patch_file[0], &fc)); in SetUpTestCase()
/bootable/recovery/updater/
Dinstall.cpp1420 if (LoadFileContents(filename, &fc) != 0) { in ReadFileFn()