Searched refs:header (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/minui/ |
D | resources.cpp | 78 uint8_t header[8]; in PngHandler() local 79 size_t bytesRead = fread(header, 1, sizeof(header), png_fp_.get()); in PngHandler() 80 if (bytesRead != sizeof(header)) { in PngHandler() 85 if (png_sig_cmp(header, 0, sizeof(header))) { in PngHandler() 108 png_set_sig_bytes(png_ptr_, sizeof(header)); in PngHandler()
|
/bootable/recovery/tests/unit/ |
D | screen_ui_test.cpp | 235 auto header = image->Clone(); in TEST_F() local 241 GraphicMenu menu(header.get(), items, 0, draw_funcs_); in TEST_F() 262 auto header = image->Clone(); in TEST_F() local 269 ASSERT_TRUE(GraphicMenu::Validate(200, 200, header.get(), items)); in TEST_F() 277 ASSERT_FALSE(GraphicMenu::Validate(200, 249, header.get(), items)); in TEST_F()
|
/bootable/recovery/applypatch/ |
D | applypatch.cpp | 341 const char* header = patch.data.data(); in GenerateTarget() local 344 if (header_bytes_read >= 8 && memcmp(header, "BSDIFF40", 8) == 0) { in GenerateTarget() 346 } else if (header_bytes_read >= 8 && memcmp(header, "IMGDIFF2", 8) == 0) { in GenerateTarget()
|
/bootable/recovery/recovery_ui/ |
D | screen_ui.cpp | 546 std::string header = "Show background text image"; in SelectAndShowBackgroundText() local 547 text_y += DrawTextLine(text_x, text_y, header, true); in SelectAndShowBackgroundText()
|
/bootable/recovery/updater_sample/ |
D | README.md | 108 e.g. `Authorization` header to contain valid auth token. While performing
|