/haiku-fatelf/src/libs/print/libgutenprint/src/main/ |
H A D | dither-inks.c | 110 stpi_dither_channel_t *dc = &(CHANNEL(d, idx)); local 114 memset(dc, 0, sizeof(stpi_dither_channel_t)); 115 stp_dither_matrix_clone(&(d->dither_matrix), &(dc->dithermat), 0, 0); 175 stpi_dither_channel_t *dc = &(CHANNEL(d, i)); local 176 stp_dither_matrix_clone(&(d->dither_matrix), &(dc->dithermat), 178 stp_dither_matrix_clone(&(d->dither_matrix), &(dc->pick), 201 stpi_dither_finalize_ranges(stp_vars_t *v, stpi_dither_channel_t *dc) argument 205 unsigned lbit = dc->bit_max; 206 dc->signif_bits = 0; 209 dc 263 stpi_dither_channel_t *dc = &(CHANNEL(d, color)); local 370 stpi_dither_channel_t *dc; local [all...] |
H A D | dither-eventone.c | 93 stpi_dither_channel_t *dc = et->dummy_channel; local 94 shade_distance_t *shade = (shade_distance_t *) dc->aux_data; 96 STP_SAFE_FREE(dc->aux_data); 97 stpi_dither_channel_destroy(dc); 121 stpi_dither_channel_t *dc = stp_zalloc(sizeof(stpi_dither_channel_t)); local 122 stp_dither_matrix_clone(&(d->dither_matrix), &(dc->dithermat), 0, 0); 127 stp_dither_matrix_clone(&(et->transition_matrix), &(dc->pick), 0, 0); 128 dc->error_rows = 1; 129 dc->errs = stp_zalloc(1 * sizeof(int *)); 130 dc 240 eventone_update(stpi_dither_channel_t *dc, eventone_t *et, int x, int direction) argument 261 diffuse_error(stpi_dither_channel_t *dc, eventone_t *et, int x, int direction) argument 285 eventone_adjust(stpi_dither_channel_t *dc, eventone_t *et, int dither_point, unsigned int desired) argument 307 unitone_adjust(stpi_dither_channel_t *dc, eventone_t *et, int dither_point, unsigned int desired) argument 327 find_segment(stpi_dither_channel_t *dc, unsigned inkval, stpi_ink_defn_t *lower, stpi_ink_defn_t *upper) argument 357 find_segment_and_ditherpoint(stpi_dither_channel_t *dc, unsigned inkval, stpi_ink_defn_t *lower, stpi_ink_defn_t *upper) argument 466 stpi_dither_channel_t *dc = &CHANNEL(d, i); local 605 stpi_dither_channel_t *dc = &CHANNEL(d, i); local 657 stpi_dither_channel_t *dc = &CHANNEL(d, i); local 690 stpi_dither_channel_t *dc = &CHANNEL(d, i); local 742 stpi_dither_channel_t *dc = &CHANNEL(d, i); local [all...] |
H A D | dither-very-fast.c | 38 print_color_very_fast(const stpi_dither_t *d, stpi_dither_channel_t *dc, argument 43 if (bits && val >= ditherpoint(d, &(dc->dithermat), x)) 45 unsigned char *tptr = dc->ptr + d->ptr_offset; 50 set_row_ends(dc, x); 91 stpi_dither_channel_t *dc = &(CHANNEL(d, i)); local 92 if (dc->nlevels > 0) 93 bit_patterns[i] = dc->ranges[dc->nlevels - 1].upper->bits;
|
H A D | dither-inlined-functions.h | 78 set_row_ends(stpi_dither_channel_t *dc, int x) argument 80 if (dc->row_ends[0] == -1) 81 dc->row_ends[0] = x; 82 dc->row_ends[1] = x;
|
H A D | dither-ordered.c | 67 init_dither_channel_new(stpi_dither_channel_t *dc, stp_vars_t *v) argument 83 ((stpi_ordered_t *) (dc->aux_data))->ord_new = ord; 84 ord->channels = dc->nlevels - 1; 92 stpi_dither_segment_t *dd = &(dc->ranges[j]); 168 print_color_ordered_new(const stpi_dither_t *d, stpi_dither_channel_t *dc, argument 174 int levels = dc->nlevels - 1; 175 unsigned dpoint = ditherpoint(d, &(dc->dithermat), x); 176 const stpi_ordered_t *o = (const stpi_ordered_t *) dc->aux_data; 187 stpi_dither_segment_t *dd = &(dc->ranges[i]); 191 unsigned char *tptr = dc 210 print_color_ordered(const stpi_dither_t *d, stpi_dither_channel_t *dc, int val, int x, int y, unsigned char bit, int length) argument 271 stpi_dither_channel_t *dc = &CHANNEL(d, i); local 300 stpi_dither_channel_t *dc = &CHANNEL(d, i); local 362 stpi_dither_channel_t *dc = &(CHANNEL(d, i)); local 400 stpi_dither_channel_t *dc = &CHANNEL(d, i); local [all...] |
H A D | dither-predithered.c | 38 print_color_very_fast(const stpi_dither_t *d, stpi_dither_channel_t *dc, argument 42 unsigned char *tptr = dc->ptr + d->ptr_offset; 47 set_row_ends(dc, x); 48 for (i = 0, j = 1; i < dc->signif_bits; i++, j += j, tptr += length) 85 stpi_dither_channel_t *dc = &(CHANNEL(d, i)); local 86 if (dc->signif_bits > 1)
|
H A D | dither-ed.c | 123 print_color(const stpi_dither_t *d, stpi_dither_channel_t *dc, int x, int y, argument 127 int base = dc->b; 128 int density = dc->o; 129 int adjusted = dc->v; 130 unsigned randomizer = dc->randomizer; 131 stp_dither_matrix_impl_t *pick_matrix = &(dc->pick); 132 stp_dither_matrix_impl_t *dither_matrix = &(dc->dithermat); 140 int levels = dc->nlevels - 1; 161 stpi_dither_segment_t *dd = &(dc->ranges[i]); 298 if (dc [all...] |
H A D | dither-main.c | 447 stpi_dither_channel_t *dc; local 450 dc = &(CHANNEL(d, color)); 451 if (!dc->errs) 452 dc->errs = stp_zalloc(d->error_rows * sizeof(int *)); 453 if (!dc->errs[row % dc->error_rows]) 456 dc->errs[row % dc->error_rows] = stp_zalloc(size * sizeof(int)); 458 return dc->errs[row % dc [all...] |
/haiku-fatelf/src/bin/gdb/gdb/rdi-share/ |
H A D | drivers.h | 47 int (*DeviceRead)(DriverCall *dc, bool block); 48 int (*DeviceWrite)(DriverCall *dc); 132 * In/Out: dc Describes the packet being read (dc->dc_packet); 133 * dc->dc_context is for the driver to store private 149 extern int DeviceRead(DriverCall *dc, bool block); 162 * In/Out: dc Describes the packet being written (dc->dc_packet); 163 * dc->dc_context is for the driver to store private 172 extern int DeviceWrite(DriverCall *dc); [all...] |
H A D | devsw.c | 285 * In/Out: dc The structure to be intialised 289 static void initialise_write(DriverCall *dc, Packet *packet, DevChanID type) argument 291 struct data_packet *dp = &dc->dc_packet; 300 dc->dc_context = NULL; 348 * In/Out: dc Describes the packet to be sent 353 * driver, then dc->dc_packet.data will be 356 static void flush_packet(const DeviceDescr *device, DriverCall *dc) argument 358 if (device->DeviceWrite(dc) > 0) 362 dc->dc_packet.data = NULL; 542 struct DriverCall *dc; local 568 struct DriverCall *dc; local 603 struct DriverCall *dc; local [all...] |
H A D | serdrv.c | 296 static int SerialRead(DriverCall *dc, bool block) { argument 342 restatus = Angel_RxEngine(readbuf[c], &(dc->dc_packet), &rxstate); 404 static int SerialWrite(DriverCall *dc) { argument 408 if (dc->dc_context == NULL) { 409 Angel_TxEngineInit(&config, &(dc->dc_packet), &(wstate.txstate)); 411 dc->dc_context = &wstate; 417 testatus = Angel_TxEngine(&(dc->dc_packet), &(wstate.txstate),
|
H A D | serpardr.c | 333 static int SerparRead(DriverCall *dc, bool block) argument 378 restatus = Angel_RxEngine(readbuf[c], &(dc->dc_packet), &rxstate); 463 static int SerparWrite(DriverCall *dc) argument 472 if (dc->dc_context == NULL) 477 Angel_TxEngineInit(&config, &dc->dc_packet, &txstate.state); 480 dc->dc_context = &txstate; 488 status = Angel_TxEngine(&dc->dc_packet, &txstate.state,
|
H A D | etherdrv.c | 98 static int EthernetRead(DriverCall *dc, bool block); 99 static int EthernetWrite(DriverCall *dc); 588 static int EthernetRead(DriverCall *dc, bool block) argument 616 return read_packet(&dc->dc_packet); 621 static int EthernetWrite(DriverCall *dc) argument 624 struct data_packet *packet = &dc->dc_packet;
|
/haiku-fatelf/src/bin/gdb/libiberty/ |
H A D | cp-demangle.c | 208 #define d_left(dc) ((dc)->u.s_binary.left) 209 #define d_right(dc) ((dc)->u.s_binary.right) 467 d_dump (dc, indent) 468 struct demangle_component *dc; 473 if (dc == NULL) 479 switch (dc->type) 482 printf ("name '%.*s'\n", dc->u.s_name.len, dc 1054 struct demangle_component *dc; local 1112 struct demangle_component *dc; local 1230 struct demangle_component *dc; local 3541 struct demangle_component *dc; local 3882 struct demangle_component *dc; local 4189 struct demangle_component *dc; local [all...] |
H A D | cp-demint.c | 195 struct demangle_component *dc; local 224 dc = cplus_demangle_mangled_name (&di, 1); 226 dc = cplus_demangle_type (&di); 231 dc = NULL; 235 if (dc != NULL) 240 return dc;
|
/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/ |
H A D | dosincos.c | 52 sn,ssn,cs,ccs,ds,dss,dc,dcc; local 78 MUL2(d2,dd2,c8.x,cc8.x,dc,dcc,p,hx,tx,hy,ty,q,c,cc); ;/* Taylor */ 79 ADD2(dc,dcc,c6.x,cc6.x,dc,dcc,r,s); 80 MUL2(d2,dd2,dc,dcc,dc,dcc,p,hx,tx,hy,ty,q,c,cc); /* series */ 81 ADD2(dc,dcc,c4.x,cc4.x,dc,dcc,r,s); 82 MUL2(d2,dd2,dc,dcc,dc,dc 103 sn,ssn,cs,ccs,ds,dss,dc,dcc; local [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/FileSharing-Windows/ |
H A D | FileSharing.cpp | 61 CDC *dc;
local 65 dc = CWnd::GetDesktopWindow()->GetDC();
67 plf->lfHeight = -MulDiv(fontSize, dc->GetDeviceCaps(LOGPIXELSY), 72);
73 CWnd::GetDesktopWindow()->ReleaseDC(dc);
|
H A D | PrinterSharingDlg.cpp | 112 CPaintDC dc(this); // device context for painting
114 SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
125 dc.DrawIcon(x, y, m_hIcon);
|
/haiku-fatelf/src/bin/rcs/ |
H A D | rcssyn.c | 517 initdiffcmd(dc) 518 register struct diffcmd *dc; 519 /* Initialize *dc suitably for getdiffcmd(). */ 521 dc->adprev = 0; 522 dc->dafter = 0; 540 getdiffcmd(finfile, delimiter, foutfile, dc) 544 struct diffcmd *dc; 549 * Store the command's line number and length into dc->line1 and dc->nlines. 550 * Keep dc [all...] |
H A D | rcsgen.c | 643 struct diffcmd dc; local 669 initdiffcmd(&dc); 670 while (0 <= (ed = getdiffcmd(fin, false, fout, &dc))) 673 while (dc.nlines--) 675 cachegeteof_(c, { if (!dc.nlines) goto OK_EOF; unexpected_EOF(); })
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/dec21xxx/dev/dc/ |
H A D | glue.c | 32 extern driver_t *DRIVER_MODULE_NAME(dc, pci); 39 DRIVER_MODULE_NAME(dc, pci),
|
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/radeon/ |
H A D | driver.c | 482 radeon_dma_copy *dc = (radeon_dma_copy *)buf; local 484 if( dc->magic != RADEON_PRIVATE_DATA_MAGIC ) 487 result = Radeon_DMACopy( di, dc->src, dc->target, dc->size, dc->lock_mem, dc->contiguous );
|
/haiku-fatelf/src/add-ons/translators/webp/libwebp/dec/ |
H A D | dsp.c | 92 const int dc = tmp[0] + 4; local 93 const int a = dc + tmp[8]; 94 const int b = dc - tmp[8]; 156 const int dc = tmp[0 + i * 4] + 3; // w/ rounder local 157 const int a0 = dc + tmp[3 + i * 4]; 160 const int a3 = dc - tmp[3 + i * 4]; 282 uint32_t dc = 4; local 284 for (i = 0; i < 4; ++i) dc += dst[i - BPS] + dst[-1 + i * BPS]; 285 dc >>= 3; 286 for (i = 0; i < 4; ++i) memset(dst + i * BPS, dc, [all...] |
/haiku-fatelf/src/bin/gdb/opcodes/ |
H A D | sh-dis.c | 259 char *dc = NULL; local 310 dc = ""; 314 dc = ""; 317 dc = "dct "; 321 dc = "dcf "; 360 fprintf_fn (stream, "%s%s\t", dc, op->name);
|
/haiku-fatelf/src/add-ons/translators/webp/libwebp/enc/ |
H A D | dsp.c | 69 const int dc = tmp[0] + 4; local 70 const int a = dc + tmp[8]; 71 const int b = dc - tmp[8]; 125 const int dc = tmp[0 + i * 4] + 3; // w/ rounder local 126 const int a0 = dc + tmp[3 + i * 4]; 129 const int a3 = dc - tmp[3 + i * 4]; 324 uint32_t dc = 4; local 326 for (i = 0; i < 4; ++i) dc += top[i] + top[-5 + i]; 327 Fill(dst, dc >> 3, 4);
|