Home
last modified time | relevance | path

Searched refs:row (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/tests/manual/
Drecovery_test.cpp198 std::vector<unsigned char> row(width); in TEST_P() local
200 png_read_row(png_ptr, row.data(), nullptr); in TEST_P()
201 int w = (row[1] << 8) | row[0]; in TEST_P()
202 int h = (row[3] << 8) | row[2]; in TEST_P()
203 int len = row[4]; in TEST_P()
207 EXPECT_NE(0, row[5]) << "Locale string is missing."; in TEST_P()
210 char* loc = reinterpret_cast<char*>(&row[5]); in TEST_P()
216 png_read_row(png_ptr, row.data(), nullptr); in TEST_P()
/bootable/recovery/minui/
Dresources.cpp409 std::vector<unsigned char> row; in res_create_localized_alpha_surface() local
425 row.resize(width); in res_create_localized_alpha_surface()
427 png_read_row(png_ptr, row.data(), NULL); in res_create_localized_alpha_surface()
428 int w = (row[1] << 8) | row[0]; in res_create_localized_alpha_surface()
429 int h = (row[3] << 8) | row[2]; in res_create_localized_alpha_surface()
430 __unused int len = row[4]; in res_create_localized_alpha_surface()
431 char* loc = reinterpret_cast<char*>(&row[5]); in res_create_localized_alpha_surface()
448 png_read_row(png_ptr, row.data(), NULL); in res_create_localized_alpha_surface()
449 memcpy(surface->data + i*w, row.data(), w); in res_create_localized_alpha_surface()
457 png_read_row(png_ptr, row.data(), NULL); in res_create_localized_alpha_surface()
/bootable/recovery/
Dwear_ui.cpp177 int row = (text_top_ + text_rows_ - 1) % text_rows_; in draw_screen_locked() local
181 gr_text(gr_sys_font(), x + 4, ty, text_[row], 0); in draw_screen_locked()
182 --row; in draw_screen_locked()
183 if (row < 0) row = text_rows_ - 1; in draw_screen_locked()
Dscreen_ui.cpp371 int row = (text_top_ + text_rows_ - 1) % text_rows_; in draw_screen_locked() local
375 DrawTextLine(kMarginWidth, ty, text_[row], false); in draw_screen_locked()
376 --row; in draw_screen_locked()
377 if (row < 0) row = text_rows_ - 1; in draw_screen_locked()