Home
last modified time | relevance | path

Searched refs:y (Results 1 – 10 of 10) sorted by relevance

/bootable/recovery/applypatch/
Dbspatch.c69 off_t y; in offtin() local
71 y=buf[7]&0x7F; in offtin()
72 y=y*256;y+=buf[6]; in offtin()
73 y=y*256;y+=buf[5]; in offtin()
74 y=y*256;y+=buf[4]; in offtin()
75 y=y*256;y+=buf[3]; in offtin()
76 y=y*256;y+=buf[2]; in offtin()
77 y=y*256;y+=buf[1]; in offtin()
78 y=y*256;y+=buf[0]; in offtin()
80 if(buf[7]&0x80) y=-y; in offtin()
[all …]
Dbsdiff.c58 #define MIN(x,y) (((x)<(y)) ? (x) : (y)) argument
172 off_t x,y; in search() local
176 y=matchlen(old+I[en],oldsize-I[en],new,newsize); in search()
178 if(x>y) { in search()
183 return y; in search()
197 off_t y; in offtout() local
199 if(x<0) y=-x; else y=x; in offtout()
201 buf[0]=y%256;y-=buf[0]; in offtout()
202 y=y/256;buf[1]=y%256;y-=buf[1]; in offtout()
203 y=y/256;buf[2]=y%256;y-=buf[2]; in offtout()
[all …]
/bootable/recovery/minui/
Dgraphics.cpp58 static bool outside(int x, int y) in outside() argument
60 return x < 0 || x >= gr_draw->width || y < 0 || y >= gr_draw->height; in outside()
68 void gr_font_size(int *x, int *y) in gr_font_size() argument
71 *y = gr_font->cheight; in gr_font_size()
106 void gr_text(int x, int y, const char *s, bool bold) in gr_text() argument
115 y += overscan_offset_y; in gr_text()
119 if (outside(x, y) || outside(x+font->cwidth-1, y+font->cheight-1)) break; in gr_text()
127 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes; in gr_text()
137 void gr_texticon(int x, int y, GRSurface* icon) { in gr_texticon() argument
146 y += overscan_offset_y; in gr_texticon()
[all …]
Dresources.cpp208 unsigned int y; in res_create_display_surface() local
226 for (y = 0; y < height; ++y) { in res_create_display_surface()
228 transform_rgb_to_draw(p_row, surface->data + y * surface->row_bytes, channels, width); in res_create_display_surface()
251 unsigned int y; in res_create_multi_display_surface() local
294 for (y = 0; y < height; ++y) { in res_create_multi_display_surface()
296 int frame = y % *frames; in res_create_multi_display_surface()
298 (y / *frames) * surface[frame]->row_bytes; in res_create_multi_display_surface()
352 unsigned int y; in res_create_alpha_surface() local
353 for (y = 0; y < height; ++y) { in res_create_alpha_surface()
354 p_row = surface->data + y * surface->row_bytes; in res_create_alpha_surface()
[all …]
Dminui.h48 void gr_text(int x, int y, const char *s, bool bold);
49 void gr_texticon(int x, int y, GRSurface* icon);
51 void gr_font_size(int *x, int *y);
/bootable/recovery/
Dscreen_ui.cpp117 int y = iconY + iconHeight + 20; in draw_background_locked() local
120 0, 0, sw, stageHeight, x, y); in draw_background_locked()
207 void ScreenRecoveryUI::DrawHorizontalRule(int* y) { in DrawHorizontalRule() argument
209 *y += 4; in DrawHorizontalRule()
210 gr_fill(0, *y, gr_fb_width(), *y + 2); in DrawHorizontalRule()
211 *y += 4; in DrawHorizontalRule()
214 void ScreenRecoveryUI::DrawTextLine(int* y, const char* line, bool bold) { in DrawTextLine() argument
215 gr_text(4, *y, line, bold); in DrawTextLine()
216 *y += char_height + 4; in DrawTextLine()
219 void ScreenRecoveryUI::DrawTextLines(int* y, const char* const* lines) { in DrawTextLines() argument
[all …]
Dscreen_ui.h131 void DrawHorizontalRule(int* y);
132 void DrawTextLine(int* y, const char* line, bool bold);
133 void DrawTextLines(int* y, const char* const* lines);
Dverifier.h25 p256_int y; member
Dverifier.cpp279 if (!p256_ecdsa_verify(&(pKeys[i].ec->x), &(pKeys[i].ec->y), in verify_file()
431 p256_from_bin(y_bytes, &key->y); in load_keys()
/bootable/recovery/edify/
DAndroid.mk7 parser.y \