/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/ |
H A D | gui_image.c | 32 grub_video_rect_t bounds; member in struct:grub_gui_image 76 if (!grub_video_have_common_points (region, &self->bounds)) 79 grub_gui_set_viewport (&self->bounds, &vpsave); 117 width = self->bounds.width; 118 height = self->bounds.height; 163 image_set_bounds (void *vself, const grub_video_rect_t *bounds) argument 166 self->bounds = *bounds; 171 image_get_bounds (void *vself, grub_video_rect_t *bounds) argument 174 *bounds [all...] |
H A D | gui_canvas.c | 38 grub_video_rect_t bounds; member in struct:grub_gui_canvas 86 grub_gui_set_viewport (&self->bounds, &vpsave); 95 w = grub_fixed_sfs_multiply (self->bounds.width, comp->wfrac) + comp->w; 96 h = grub_fixed_sfs_multiply (self->bounds.height, comp->hfrac) + comp->h; 97 x = grub_fixed_sfs_multiply (self->bounds.width, comp->xfrac) + comp->x; 98 y = grub_fixed_sfs_multiply (self->bounds.height, comp->yfrac) + comp->y; 117 if (x >= (signed) self->bounds.width) 118 x = self->bounds.width - 32; 119 if (y >= (signed) self->bounds.height) 120 y = self->bounds 160 canvas_set_bounds(void *vself, const grub_video_rect_t *bounds) argument 167 canvas_get_bounds(void *vself, grub_video_rect_t *bounds) argument [all...] |
H A D | gui_circular_progress.c | 34 grub_video_rect_t bounds; member in struct:grub_gui_circular_progress 121 if (!grub_video_have_common_points (region, &self->bounds)) 128 grub_gui_set_viewport (&self->bounds, &vpsave); 130 int width = self->bounds.width; 131 int height = self->bounds.height; 202 circprog_set_bounds (void *vself, const grub_video_rect_t *bounds) argument 205 self->bounds = *bounds; 209 circprog_get_bounds (void *vself, grub_video_rect_t *bounds) argument 212 *bounds [all...] |
H A D | gui_label.c | 45 grub_video_rect_t bounds; member in struct:grub_gui_label 89 if (!grub_video_have_common_points (region, &self->bounds)) 97 left_x = (self->bounds.width 100 left_x = (self->bounds.width 105 if (left_x < 0 || left_x > (int) self->bounds.width) 109 grub_gui_set_viewport (&self->bounds, &vpsave); 133 label_set_bounds (void *vself, const grub_video_rect_t *bounds) argument 136 self->bounds = *bounds; 140 label_get_bounds (void *vself, grub_video_rect_t *bounds) argument [all...] |
H A D | theme_loader.c | 407 grub_video_rect_t bounds; local 463 bounds.x = 0; 464 bounds.y = 0; 465 bounds.width = -1; 466 bounds.height = -1; 467 component->ops->set_bounds (component, &bounds);
|
H A D | view.c | 122 const grub_video_rect_t *bounds) 128 bounds->x, bounds->y, 129 bounds->x - view->screen.x, 130 bounds->y - view->screen.y, 131 bounds->width, bounds->height); 136 bounds->x, bounds->y, 137 bounds 121 redraw_background(grub_gfxmenu_view_t view, const grub_video_rect_t *bounds) argument 184 grub_video_rect_t bounds; local 313 grub_video_rect_t bounds; local [all...] |
H A D | gui_box.c | 43 grub_video_rect_t bounds; member in struct:grub_gui_box 149 r.width += grub_fixed_sfs_multiply (self->bounds.width, c->wfrac); 222 r.height += grub_fixed_sfs_multiply (self->bounds.height, c->hfrac); 240 grub_gui_set_viewport (&self->bounds, &vpsave); 264 box_set_bounds (void *vself, const grub_video_rect_t *bounds) argument 267 self->bounds = *bounds; 272 box_get_bounds (void *vself, grub_video_rect_t *bounds) argument 275 *bounds = self->bounds; [all...] |
H A D | gui_progress_bar.c | 34 grub_video_rect_t bounds; member in struct:grub_gui_progress_bar 108 f.width = self->bounds.width - 2; 109 f.height = self->bounds.height - 2; 135 int w = self->bounds.width; 136 int h = self->bounds.height; 166 int width = self->bounds.width; 167 int height = self->bounds.height; 194 if (!grub_video_have_common_points (region, &self->bounds)) 200 grub_gui_set_viewport (&self->bounds, &vpsave); 227 progress_bar_set_bounds (void *vself, const grub_video_rect_t *bounds) argument 234 progress_bar_get_bounds(void *vself, grub_video_rect_t *bounds) argument [all...] |
H A D | gui_list.c | 32 grub_video_rect_t bounds; member in struct:grub_gui_list_impl 101 return (self->bounds.height + item_vspace - 2 * boxpad 300 if (!grub_video_have_common_points (region, &self->bounds)) 308 grub_gui_set_viewport (&self->bounds, &vpsave); 323 content_rect.width = self->bounds.width - box_left_pad - box_right_pad; 324 content_rect.height = self->bounds.height - box_top_pad - box_bottom_pad; 338 self->bounds.width - box_right_pad 341 self->bounds.height - box_top_pad - box_bottom_pad); 362 list_set_bounds (void *vself, const grub_video_rect_t *bounds) argument 365 self->bounds 369 list_get_bounds(void *vself, grub_video_rect_t *bounds) argument [all...] |
/osnet-11/usr/src/lib/libtsol/common/ |
H A D | private.c | 205 * This label should lie within the bounds or the 207 * bounds = Lower and upper bounds for words lists. Must be 234 bslcvtfull(const bslabel_t *label, const blrange_t *bounds, int flags, argument 247 bsfcall.bounds.upper_bound = *bounds->upper_bound; 248 bsfcall.bounds.lower_bound = *bounds->lower_bound; 281 sbounds.upper_bound = *bounds->upper_bound; 282 sbounds.lower_bound = *bounds 411 bclearcvtfull(const bclear_t *clearance, const blrange_t *bounds, int flags, char **string, char **long_words[], char **short_words[], char *display[], int *first_compartment, int *display_size) argument [all...] |
H A D | labeld.h | 219 brange_t bounds; member in struct:__anon2683 240 brange_t bounds; member in struct:__anon2685
|
/osnet-11/usr/src/grub/grub2/grub-core/font/ |
H A D | font.c | 1128 struct grub_video_signed_rect bounds; local 1142 if (dx < bounds.x) 1144 bounds.width += bounds.x - dx; 1145 bounds.x = dx; 1147 if (bounds.y > -src->height - dy) 1149 bounds.height += bounds.y - (-src->height - dy); 1150 bounds.y = (-src->height - dy); 1152 if (dx + src->width - bounds 1362 grub_font_construct_dry_run(grub_font_t hinted_font, const struct grub_unicode_glyph *glyph_id, struct grub_video_signed_rect *bounds, struct grub_font_glyph ***combining_glyphs_out, int *device_width) argument 1447 struct grub_video_signed_rect bounds; local [all...] |