Searched refs:row (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/tests/unit/ |
D | resources_test.cpp | 109 std::vector<unsigned char> row(png_->width()); in TEST_P() local 111 png_read_row(png_->png_ptr(), row.data(), nullptr); in TEST_P() 112 int w = (row[1] << 8) | row[0]; in TEST_P() 113 int h = (row[3] << 8) | row[2]; in TEST_P() 114 int len = row[4]; in TEST_P() 118 EXPECT_NE(0, row[5]) << "Locale string is missing."; in TEST_P() 121 char* loc = reinterpret_cast<char*>(&row[5]); in TEST_P() 127 png_read_row(png_->png_ptr(), row.data(), nullptr); in TEST_P()
|
/bootable/recovery/minui/ |
D | resources.cpp | 378 std::vector<uint8_t> row(png_handler.width()); in get_locales_in_png() local 380 png_read_row(png_handler.png_ptr(), row.data(), nullptr); in get_locales_in_png() 381 int h = (row[3] << 8) | row[2]; in get_locales_in_png() 382 std::string loc(reinterpret_cast<char*>(&row[5])); in get_locales_in_png() 387 png_read_row(png_handler.png_ptr(), row.data(), nullptr); in get_locales_in_png() 414 std::vector<uint8_t> row(width); in res_create_localized_alpha_surface() local 415 png_read_row(png_ptr, row.data(), nullptr); in res_create_localized_alpha_surface() 416 int w = (row[1] << 8) | row[0]; in res_create_localized_alpha_surface() 417 int h = (row[3] << 8) | row[2]; in res_create_localized_alpha_surface() 418 __unused int len = row[4]; in res_create_localized_alpha_surface() [all …]
|
/bootable/recovery/recovery_ui/ |
D | screen_ui.cpp | 736 int row = text_row_; in draw_menu_and_text_buffer_locked() local 740 DrawTextLine(margin_width_, ty, text_[row], false); in draw_menu_and_text_buffer_locked() 741 --row; in draw_menu_and_text_buffer_locked() 742 if (row < 0) row = text_rows_ - 1; in draw_menu_and_text_buffer_locked()
|