/haiku-fatelf/src/add-ons/accelerants/ati/ |
H A D | overlay.cpp | 48 AllocateOverlayBuffer(color_space colorSpace, uint16 width, uint16 height) argument 52 TRACE("AllocateOverlayBuffer() width %u, height %u, colorSpace 0x%lx\n", 53 width, height, colorSpace); 58 if (height > 2048 || width > 768 59 || (width > 384 && si.chipType < MACH64_264VTB) 60 || (width > 720 && (si.chipType < MACH64_264GTPRO 83 uint32 buffSize = (width * bytesPerPixel * height + 0x3ff) & ~0x3ff; 143 ovBuff->width = width; 145 ovBuff->bytes_per_row = width * bytesPerPixe [all...] |
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | cli-out.c | 45 static void cli_table_header (struct ui_out *uiout, int width, 51 static void cli_field_int (struct ui_out *uiout, int fldno, int width, 53 static void cli_field_skip (struct ui_out *uiout, int fldno, int width, 55 static void cli_field_string (struct ui_out *uiout, int fldno, int width, 59 int width, enum ui_align align, 150 cli_table_header (struct ui_out *uiout, int width, enum ui_align alignment, argument 157 cli_field_string (uiout, 0, width, alignment, 0, colhdr); 188 cli_field_int (struct ui_out *uiout, int fldno, int width, argument 198 cli_field_string (uiout, fldno, width, alignment, fldname, buffer); 204 cli_field_skip (struct ui_out *uiout, int fldno, int width, argument 218 cli_field_string(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *string) argument 269 cli_field_fmt(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *format, va_list args) argument [all...] |
/haiku-fatelf/src/bin/gdb/gdb/tui/ |
H A D | tui-out.c | 47 static void tui_table_header (struct ui_out *uiout, int width, 53 static void tui_field_int (struct ui_out *uiout, int fldno, int width, 55 static void tui_field_skip (struct ui_out *uiout, int fldno, int width, 57 static void tui_field_string (struct ui_out *uiout, int fldno, int width, 61 int width, enum ui_align align, 151 tui_table_header (struct ui_out *uiout, int width, enum ui_align alignment, argument 158 tui_field_string (uiout, 0, width, alignment, 0, colhdr); 189 tui_field_int (struct ui_out *uiout, int fldno, int width, argument 208 tui_field_string (uiout, fldno, width, alignment, fldname, buffer); 214 tui_field_skip (struct ui_out *uiout, int fldno, int width, argument 228 tui_field_string(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *string) argument 290 tui_field_fmt(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *format, va_list args) argument [all...] |
/haiku-fatelf/src/libs/print/libprint/ |
H A D | Halftone.cpp | 155 int width) 173 (this->*fDither)(destination, source, x, y, width); 202 int width) 209 int widthByte = (width + 7) / 8; 210 int remainder = width % 8; 224 if (width >= 8) { 295 Halftone::SetupErrorBuffer(int x, int y, int width) argument 300 fWidth = width; 303 const int size = width + 2; 312 int x, int y, int width) 154 Dither(uchar* destination, const uchar* source, int x, int y, int width) argument 201 DitherRGB32(uchar *destination, const uchar *source0, int x, int y, int width) argument 311 DitherFloydSteinberg(uchar *destination, const uchar* source0, int x, int y, int width) argument [all...] |
H A D | GraphicsDriver.cpp | 231 float width; local 242 width = physicalRect.Width(); 244 if (width < height) { // portrait 245 scale.x = height / 2.0f / width; 246 scale.y = width / height; 248 scale.x = height / width; 249 scale.y = width / 2.0f / height; 253 width = physicalRect.Width(); 255 if (width < height) { 256 scale.x = height / 4.0f / width; 323 float width = scaledPhysicalRect.Width(); local 506 const int32 width = source->Bounds().IntegerWidth() + 1; local 809 _ConvertRGB32ToRGB24(const void* src, void* dst, int width) argument 822 _ConvertCMAP8ToRGB24(const void* src, void* dst, int width) argument 837 ConvertToRGB24(const void* src, void* dst, int width, color_space cs) argument 859 _ConvertRGB32ToGray(const void* src, void* dst, int width) argument 868 _ConvertCMAP8ToGray(const void* src, void* dst, int width) argument 880 ConvertToGray(const void* src, void* dst, int width, color_space cs) argument [all...] |
/haiku-fatelf/src/system/libroot/posix/glibc/stdio-common/ |
H A D | printf_size.c | 189 int width = info->prec > width ? info->prec : width; 192 --width; 193 width -= 3; 195 if (!info->left && width > 0) 196 PADN (' ', width); 207 if (info->left && width > 0) 208 PADN (' ', width); 233 fp_info.width 186 int width = info->prec > width ? info->prec : width; local [all...] |
H A D | printf_fphex.c | 223 int width = info->width; 330 int width = info->width; 333 --width; 334 width -= 3; 336 if (!info->left && width > 0) 337 PADN (' ', width); 348 if (info->left && width > 0) 349 PADN (' ', width); 221 int width = info->width; local 328 int width = info->width; local [all...] |
H A D | printf-parse.c | 42 if (width > 0) \ 43 { if (__printf_pad (s, Padchar, width) == -1) \ 44 return -1; else done += width; } 56 if (width > 0) \ 57 { if (__wprintf_pad (s, Padchar, width) == -1) \ 58 return -1; else done += width; } 77 /* If the width is determined by an argument this is an int. */
|
/haiku-fatelf/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_bes.c | 77 /* width < 2 is not allowed */ 88 /* width < 2 is not allowed */ 89 if (si->overlay.ow.width < 2) 96 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1)) 103 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1)) 105 /* width < 2 is not allowed */ 111 temp2 = ((uint16)(si->overlay.ow.h_start + si->overlay.ow.width - crtc_hstart - 1)) & 0x7ff; 191 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1)) 193 /* increase 'first contributing pixel' with 'fixed value': (total dest. width - 2) */ 194 moi->hsrcstv += (si->overlay.ow.width [all...] |
/haiku-fatelf/src/add-ons/accelerants/neomagic/ |
H A D | Cursor.c | 13 status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask) argument 15 LOG(4,("SET_CURSOR_SHAPE: width %d, height %d, hot_x %d, hot_y %d\n", 16 width, height, hot_x, hot_y)); 18 if ((width != 16) || (height != 16)) 22 else if ((hot_x >= width) || (hot_y >= height)) 31 si->cursor.width = width;
|
/haiku-fatelf/src/add-ons/translators/webp/libwebp/webp/ |
H A D | encode.h | 32 size_t WebPEncodeRGB(const uint8_t* rgb, int width, int height, int stride, 34 size_t WebPEncodeBGR(const uint8_t* bgr, int width, int height, int stride, 36 size_t WebPEncodeRGBA(const uint8_t* rgba, int width, int height, int stride, 38 size_t WebPEncodeBGRA(const uint8_t* bgra, int width, int height, int stride, 130 int width, height; // dimensions. member in struct:WebPPicture 145 // ((width + 15) / 16) * ((height + 15) / 16) that 166 // Convenience allocation / deallocation based on picture->width/height: 167 // Allocate y/u/v buffers as per width/height specification. 180 // self-crops a picture to the rectangle defined by top/left/width/height. 184 int left, int top, int width, in [all...] |
/haiku-fatelf/src/libs/pdflib/bind/pdflib/perl/ |
H A D | quickreference.pl | 15 $width = 500.0; 49 PDF_begin_page($p, $width, $height); 64 $width/$maxcol*$col, ($row + 1) * $height/$maxrow, "scale ". 1/$maxrow);
|
/haiku-fatelf/src/add-ons/translators/hpgs/lib/ |
H A D | hpgspen.c | 47 return hpgs_set_error(hpgs_i18n("Out of memory growing pen width array.")); 74 double width; local 99 width = reader->pen_widths[pen]; 102 width *= hypot(reader->P2.x-reader->P1.x, 105 width *= HP_TO_PT / reader->world_scale; 107 width *= reader->page_scale; 109 if (hpgs_setlinewidth(reader->device,width*reader->lw_factor)) 349 double width=1.0; local 352 if (hpgs_reader_read_double(reader,&width)) return -1; 375 hpgs_log("PW: pen,width,re [all...] |
/haiku-fatelf/src/preferences/shortcuts/clv/ |
H A D | CLVColumn.cpp | 17 CLVColumn::CLVColumn(const char* label,BPopUpMenu * popup,float width,uint32 flags,float min_width) argument 24 width = 20.0; 31 if(width < min_width) 32 width = min_width; 40 fWidth = width; 63 void CLVColumn::SetWidth(float width) argument 65 if(width < fMinWidth) 66 width = fMinWidth; 67 if(width != fWidth) 70 fWidth = width; [all...] |
/haiku-fatelf/src/add-ons/accelerants/via/engine/ |
H A D | bes.c | 108 if ((si->overlay.ow.h_start + (si->overlay.ow.width / 2)) < 153 /* width < 2 is not allowed */ 164 /* width < 2 is not allowed */ 165 if (si->overlay.ow.width < 2) 172 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1)) 179 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1)) 181 /* width < 2 is not allowed */ 187 temp2 = ((uint16)(si->overlay.ow.h_start + si->overlay.ow.width - crtc_hstart - 1)) & 0x7ff; 267 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1)) 269 /* increase 'first contributing pixel' with 'fixed value': (total dest. width [all...] |
/haiku-fatelf/headers/posix/ |
H A D | search.h | 39 size_t width, int (*compareFunction)(const void *, const void *)); 41 size_t width, int (*compareFunction)(const void *, const void *));
|
/haiku-fatelf/headers/private/kernel/ |
H A D | console.h | 24 void (*fill_glyph)(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr); 25 void (*blit)(int32 srcx, int32 srcy, int32 width, int32 height, int32 destx, int32 desty);
|
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/ |
H A D | ImfPreviewImage.h | 86 PreviewImage (unsigned int width = 0, 101 // Access to width, height and to the pixel array 104 unsigned int width () const {return _width;} function in class:Imf::PreviewImage
|
/haiku-fatelf/src/add-ons/translators/jpeg2000/ |
H A D | JPEG2000Translator.cpp | 103 read_rgb24_to_rgb32(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 107 while (x < width) { 119 read_gray_to_rgb32(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 124 while (x < width) { 139 read_rgba32(jas_matrix_t** pixels, jpr_uchar_t *scanline, int width) argument 143 while (x < width) { 158 read_gray(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 161 while (x < width) { 170 write_gray1_to_gray(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 174 while (x < (width/ 188 write_gray1_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 212 write_cmap8_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 232 write_gray(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 247 write_rgb15_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 272 write_rgb15b_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 297 write_rgb16_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 322 write_rgb16b_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 347 write_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 365 write_rgb24b(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 383 write_rgb32_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 402 write_rgb32b_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 422 write_rgba32(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 442 write_rgba32b(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 903 int width = bounds.IntegerWidth() + 1; local 1145 float width = (float)jas_image_width(image); local [all...] |
/haiku-fatelf/src/apps/bootmanager/ |
H A D | UninstallPage.cpp | 41 UninstallPage::FrameResized(float width, float height) argument 43 WizardPageView::FrameResized(width, height);
|
/haiku-fatelf/src/apps/cortex/ParameterView/ |
H A D | ParameterWindow.h | 110 float width, 124 float width,
|
/haiku-fatelf/src/apps/cortex/TipManager/ |
H A D | TipView.h | 74 float width, 104 float width,
|
/haiku-fatelf/src/apps/debugger/user_interface/gui/util/ |
H A D | TargetAddressTableColumn.cpp | 13 const char* title, float width, float minWidth, float maxWidth, 16 StringTableColumn(modelIndex, title, width, minWidth, maxWidth, truncate, 12 TargetAddressTableColumn(int32 modelIndex, const char* title, float width, float minWidth, float maxWidth, uint32 truncate, alignment align) argument
|
/haiku-fatelf/src/apps/deskbar/ |
H A D | BarMenuBar.cpp | 81 TBarMenuBar::SmartResize(float width, float height) argument 83 if (width == -1.0f && height == -1.0f) { 85 width = frame.Width(); 88 ResizeTo(width, height); 90 width -= 1; 93 fDeskbarMenuItem->SetWidthHeight(width - kSepItemWidth, height); 97 fDeskbarMenuItem->SetWidthHeight(width / count, height); 99 fAppListMenuItem->SetWidthHeight(width / count, height);
|
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | ColorField.cpp | 271 float width = Width(); local 278 G = round(fMarkerPosition.x / width * 255.0); 283 R = round(fMarkerPosition.x / width * 255.0); 289 R = round(fMarkerPosition.x / width * 255.0); 296 S = fMarkerPosition.x / width; 301 H = fMarkerPosition.x / width * 6.0; 307 H = fMarkerPosition.x / width * 6.0; 351 float width = Width(); local 356 fMarkerPosition = BPoint(color.green / 255.0 * width, 361 fMarkerPosition = BPoint(color.red / 255.0 * width, 467 int width = (int)colorField->Width(); local [all...] |