/dports/emulators/mess/mame-mame0226/src/devices/sound/ |
H A D | dmadac.cpp | 96 int curin = m_bufin; in transfer() local 99 for (j = 0; j < total_frames && curin != maxin; j++) in transfer() 101 m_buffer[curin] = stream_buffer::sample_t(*src) * sample_scale; in transfer() 102 curin = (curin + 1) % BUFFER_SIZE; in transfer() 105 m_bufin = curin; in transfer() 125 int curin = m_bufin; in transfer() local 128 for (j = 0; j < total_frames && curin != maxin; j++) in transfer() 130 m_buffer[curin] = *src; in transfer() 131 curin = (curin + 1) % BUFFER_SIZE; in transfer() 134 m_bufin = curin; in transfer() [all …]
|
/dports/emulators/mame/mame-mame0226/src/devices/sound/ |
H A D | dmadac.cpp | 96 int curin = m_bufin; in transfer() local 99 for (j = 0; j < total_frames && curin != maxin; j++) in transfer() 101 m_buffer[curin] = stream_buffer::sample_t(*src) * sample_scale; in transfer() 102 curin = (curin + 1) % BUFFER_SIZE; in transfer() 105 m_bufin = curin; in transfer() 125 int curin = m_bufin; in transfer() local 128 for (j = 0; j < total_frames && curin != maxin; j++) in transfer() 130 m_buffer[curin] = *src; in transfer() 131 curin = (curin + 1) % BUFFER_SIZE; in transfer() 134 m_bufin = curin; in transfer() [all …]
|
/dports/graphics/exrtools/exrtools-0.4/src/ |
H A D | pngtoexr.c | 77 uint8_t *curin = pnginput_get_scanline( pngin, y ); in main() local 86 rp = ((double) curin[ (x * 4) + 0 ]) / 255.0; in main() 87 gp = ((double) curin[ (x * 4) + 1 ]) / 255.0; in main() 88 bp = ((double) curin[ (x * 4) + 2 ]) / 255.0; in main() 89 a = ((double) curin[ (x * 4) + 3 ]) / 255.0; in main() 91 rp = ((double) curin[ (x * 3) + 0 ]) / 255.0; in main() 92 gp = ((double) curin[ (x * 3) + 1 ]) / 255.0; in main() 93 bp = ((double) curin[ (x * 3) + 2 ]) / 255.0; in main()
|
/dports/audio/sc3-plugins/sc3-plugins-Version-3.9.0/source/RMEQSuiteUGens/ |
H A D | RMEQSuite.cpp | 439 ZXP(out) = 0.5 * (curin + allpass + (kabs * (curin - allpass))); in RMEQ_next_aaa() 446 ZXP(out) = 0.5 * (curin + allpass + (kabs * (curin - allpass))); in RMEQ_next_aaa() 453 ZXP(out) = 0.5 * (curin + allpass + (kabs * (curin - allpass))); in RMEQ_next_aaa() 461 ZXP(out) = 0.5 * (curin + allpass + (kabs * (curin - allpass))); in RMEQ_next_aaa() 538 ZXP(out) = 0.5 * (curin + allpass + (kabs * (curin - allpass))); in RMEQ_next_kkk() 545 ZXP(out) = 0.5 * (curin + allpass + (kabs * (curin - allpass))); in RMEQ_next_kkk() 552 ZXP(out) = 0.5 * (curin + allpass + (kabs * (curin - allpass))); in RMEQ_next_kkk() 566 ZXP(out) = 0.5 * (curin + allpass + (kabs * (curin - allpass))); in RMEQ_next_kkk() 578 ZXP(out) = 0.5 * (curin + allpass + (kabs * (curin - allpass))); in RMEQ_next_kkk() 703 ZXP(out) = 0.5 * (curin + allpass + (kabs * (curin - allpass))); in RMShelf_next_a() [all …]
|
/dports/archivers/squsq/t20-squsq/ |
H A D | utr.c | 77 if((curin = fgetc(ib)) == ERROR) 79 if((curin = getc(ib)) == ERROR) 83 curin &= 0xFF; 87 i = dnode[i].children[1 & curin]; 89 i = dnode[i].children[1 & (curin >>= 1)];
|
H A D | tr2.c | 119 curin = 0; /*anything but endfile*/ 482 if(curin == SPEOF) { 492 if((curin = getcnr(ib)) == EOF) 493 curin = SPEOF; /* convenient for encoding */ 496 ccode = code[curin]; 497 cbitsrem = codelen[curin];
|
/dports/archivers/arc/arc-5.21p/ |
H A D | arcusq.c | 44 extern int curin; /* last byte value read */ 101 if (!curin) 106 curin = *inbeg++; 110 i = node[i].child[1 & curin]; 112 i = node[i].child[1 & (curin >>= 1)];
|
H A D | arcsq.c | 66 int curin; /* value currently being encoded */ variable 170 curin = 0; /* anything but endfile */ in pred_sq() 517 if (curin == SPEOF) { /* The end of file token has been 529 curin = SPEOF; /* convenient for encoding */ 544 curin = *pbuf++; 547 ccode = code[curin]; /* get the new byte's code */ 548 cbitsrem = codelen[curin];
|
/dports/audio/csound/csound-6.15.0/Opcodes/emugens/ |
H A D | scugens.c | 524 MYFLT curin = in[n]; in phasor_a_aa() local 526 if (previn <= FL(0.0) && curin > FL(0.0)) { in phasor_a_aa() 533 previn = curin; in phasor_a_aa() 555 MYFLT curin = in[n]; in phasor_a_ak() local 556 if (previn <= FL(0.0) && curin > FL(0.0)) { in phasor_a_ak() 563 previn = curin; in phasor_a_ak() 576 MYFLT curin = *p->trig; in phasor_a_kk() local 584 MYFLT frac = FL(1.0) - previn/(curin-previn); in phasor_a_kk() 593 p->previn = curin; in phasor_a_kk() 601 MYFLT curin = *p->trig; in phasor_k_kk() local [all …]
|
/dports/editors/yudit/yudit-3.0.7/swindow/sx11/ |
H A D | SX11Font.cpp | 656 unsigned int curin=0; in getRawPangoLigatures() local 659 while (curin < len) in getRawPangoLigatures() 662 for (i=len; i>curin; i--) in getRawPangoLigatures() 664 SString key ((char*)&ino[curin], (i-curin)*sizeof (SS_UCS4)); in getRawPangoLigatures() 667 if (lig == 0 && i== curin+2 && scriptCode==(int)script) in getRawPangoLigatures() 669 int type0 = getCharType (ino[curin]); in getRawPangoLigatures() 670 int type1 = getCharType (ino[curin+1]); in getRawPangoLigatures() 682 gl = 0xf000 + ino[curin]; in getRawPangoLigatures() 706 curin = i; in getRawPangoLigatures() 713 ino[curout] = ino[curin]; in getRawPangoLigatures() [all …]
|
/dports/devel/z88dk/z88dk/support/squsq/ |
H A D | usq.c | 102 int curin; /* last byte value read */ variable 163 if((curin = getc(ib)) == ERROR) in getuhuff() 167 i = dnode[i].children[1 & curin]; in getuhuff() 169 i = dnode[i].children[1 & (curin >>= 1)]; in getuhuff()
|
H A D | sq.c | 160 int curin; /* Value currently being encoded */ variable 544 curin = 0; /*anything but endfile*/ in init_huff() 689 if(curin == SPEOF) { in gethuff() 699 if((curin = getcnr(ib)) == EOF) in gethuff() 700 curin = SPEOF; /* convenient for encoding */ in gethuff() 703 ccode = code[curin]; in gethuff() 704 cbitsrem = codelen[curin]; in gethuff()
|
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/hardware/r_glide/ |
H A D | 3dmath.c | 46 byte curin,nextin; in ClipZ() local 57 curin = (curdot >= ZCLIP_PLANE ); in ClipZ() 65 if (curin) { in ClipZ() 73 if ( curin != nextin ) in ClipZ() 100 curin = nextin; in ClipZ()
|
/dports/editors/yudit/yudit-3.0.7/swindow/ |
H A D | SFontTTF.cpp | 2258 unsigned int curin=0; in doContextSubstitutions() local 2263 while (curin < len) in doContextSubstitutions() 2269 getOTFLigature (script, feature, &ino[curin], len-curin, lig, 6); in doContextSubstitutions() 2272 curin++; in doContextSubstitutions() 2282 curin++; in doContextSubstitutions() 2317 while (curin < len) in getOTFLigatures() 2326 if (len-curin >= 3 && ino[curin+1] == halant) in getOTFLigatures() 2335 else if (len-curin >= 2 && ino[curin] == halant) in getOTFLigatures() 2362 i=nind+curin; in getOTFLigatures() 2378 curin = i; in getOTFLigatures() [all …]
|
/dports/databases/postgresql96-server/postgresql-9.6.24/src/backend/utils/adt/ |
H A D | tsvector.c | 318 *curin, in tsvectorout() local 332 curbegin = curin = STRPTR(out) + ptr->pos; in tsvectorout() 336 while (curin - curbegin < ptr->len) in tsvectorout() 338 int len = pg_mblen(curin); in tsvectorout() 340 if (t_iseq(curin, '\'')) in tsvectorout() 342 else if (t_iseq(curin, '\\')) in tsvectorout() 346 *curout++ = *curin++; in tsvectorout()
|
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/backend/utils/adt/ |
H A D | tsvector.c | 318 *curin, in tsvectorout() local 332 curbegin = curin = STRPTR(out) + ptr->pos; in tsvectorout() 336 while (curin - curbegin < ptr->len) in tsvectorout() 338 int len = pg_mblen(curin); in tsvectorout() 340 if (t_iseq(curin, '\'')) in tsvectorout() 342 else if (t_iseq(curin, '\\')) in tsvectorout() 346 *curout++ = *curin++; in tsvectorout()
|
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/backend/utils/adt/ |
H A D | tsvector.c | 318 *curin, in tsvectorout() local 332 curbegin = curin = STRPTR(out) + ptr->pos; in tsvectorout() 336 while (curin - curbegin < ptr->len) in tsvectorout() 338 int len = pg_mblen(curin); in tsvectorout() 340 if (t_iseq(curin, '\'')) in tsvectorout() 342 else if (t_iseq(curin, '\\')) in tsvectorout() 346 *curout++ = *curin++; in tsvectorout()
|
/dports/databases/postgresql10-server/postgresql-10.19/src/backend/utils/adt/ |
H A D | tsvector.c | 319 *curin, in tsvectorout() local 333 curbegin = curin = STRPTR(out) + ptr->pos; in tsvectorout() 337 while (curin - curbegin < ptr->len) in tsvectorout() 339 int len = pg_mblen(curin); in tsvectorout() 341 if (t_iseq(curin, '\'')) in tsvectorout() 343 else if (t_iseq(curin, '\\')) in tsvectorout() 347 *curout++ = *curin++; in tsvectorout()
|
/dports/databases/postgresql11-client/postgresql-11.14/src/backend/utils/adt/ |
H A D | tsvector.c | 319 *curin, in tsvectorout() local 333 curbegin = curin = STRPTR(out) + ptr->pos; in tsvectorout() 337 while (curin - curbegin < ptr->len) in tsvectorout() 339 int len = pg_mblen(curin); in tsvectorout() 341 if (t_iseq(curin, '\'')) in tsvectorout() 343 else if (t_iseq(curin, '\\')) in tsvectorout() 347 *curout++ = *curin++; in tsvectorout()
|
/dports/databases/postgresql10-pltcl/postgresql-10.19/src/backend/utils/adt/ |
H A D | tsvector.c | 319 *curin, in tsvectorout() local 333 curbegin = curin = STRPTR(out) + ptr->pos; in tsvectorout() 337 while (curin - curbegin < ptr->len) in tsvectorout() 339 int len = pg_mblen(curin); in tsvectorout() 341 if (t_iseq(curin, '\'')) in tsvectorout() 343 else if (t_iseq(curin, '\\')) in tsvectorout() 347 *curout++ = *curin++; in tsvectorout()
|
/dports/databases/postgresql10-client/postgresql-10.19/src/backend/utils/adt/ |
H A D | tsvector.c | 319 *curin, in tsvectorout() local 333 curbegin = curin = STRPTR(out) + ptr->pos; in tsvectorout() 337 while (curin - curbegin < ptr->len) in tsvectorout() 339 int len = pg_mblen(curin); in tsvectorout() 341 if (t_iseq(curin, '\'')) in tsvectorout() 343 else if (t_iseq(curin, '\\')) in tsvectorout() 347 *curout++ = *curin++; in tsvectorout()
|
/dports/databases/postgresql10-plpython/postgresql-10.19/src/backend/utils/adt/ |
H A D | tsvector.c | 319 *curin, in tsvectorout() local 333 curbegin = curin = STRPTR(out) + ptr->pos; in tsvectorout() 337 while (curin - curbegin < ptr->len) in tsvectorout() 339 int len = pg_mblen(curin); in tsvectorout() 341 if (t_iseq(curin, '\'')) in tsvectorout() 343 else if (t_iseq(curin, '\\')) in tsvectorout() 347 *curout++ = *curin++; in tsvectorout()
|
/dports/databases/postgresql10-plperl/postgresql-10.19/src/backend/utils/adt/ |
H A D | tsvector.c | 319 *curin, in tsvectorout() local 333 curbegin = curin = STRPTR(out) + ptr->pos; in tsvectorout() 337 while (curin - curbegin < ptr->len) in tsvectorout() 339 int len = pg_mblen(curin); in tsvectorout() 341 if (t_iseq(curin, '\'')) in tsvectorout() 343 else if (t_iseq(curin, '\\')) in tsvectorout() 347 *curout++ = *curin++; in tsvectorout()
|
/dports/databases/postgresql10-docs/postgresql-10.19/src/backend/utils/adt/ |
H A D | tsvector.c | 319 *curin, in tsvectorout() local 333 curbegin = curin = STRPTR(out) + ptr->pos; in tsvectorout() 337 while (curin - curbegin < ptr->len) in tsvectorout() 339 int len = pg_mblen(curin); in tsvectorout() 341 if (t_iseq(curin, '\'')) in tsvectorout() 343 else if (t_iseq(curin, '\\')) in tsvectorout() 347 *curout++ = *curin++; in tsvectorout()
|
/dports/databases/postgresql10-contrib/postgresql-10.19/src/backend/utils/adt/ |
H A D | tsvector.c | 319 *curin, in tsvectorout() local 333 curbegin = curin = STRPTR(out) + ptr->pos; in tsvectorout() 337 while (curin - curbegin < ptr->len) in tsvectorout() 339 int len = pg_mblen(curin); in tsvectorout() 341 if (t_iseq(curin, '\'')) in tsvectorout() 343 else if (t_iseq(curin, '\\')) in tsvectorout() 347 *curout++ = *curin++; in tsvectorout()
|