/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | MixerUtils.h | 13 template<class t> const t & max(const t &t1, const t &t2) { return (t1 > t2) ? t1 : t2; } argument 14 template<class t> const t & min(const t &t1, const t &t2) { return (t1 < t2) ? t1 : t2; } argument
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_time.c | 117 timevaladd(struct timeval *t1, const struct timeval *t2) argument 120 t1->tv_sec += t2->tv_sec; 121 t1->tv_usec += t2->tv_usec; 126 timevalsub(struct timeval *t1, const struct timeval *t2) argument 129 t1->tv_sec -= t2->tv_sec; 130 t1->tv_usec -= t2->tv_usec;
|
/haiku/src/libs/mapm/ |
H A D | mapm5sin.c | 118 M_APM tmp0, tmp1, t2, t3, t5; local 122 t2 = M_get_stack_var(); 127 m_apm_round(t2, (places + 4), tmp1); /* x ^ 2 */ 129 m_apm_multiply(tmp1, t2, xx); 132 m_apm_multiply(t5, t2, t3); /* x ^ 5 */ 136 m_apm_add(t2, tmp0, tmp1); 138 m_apm_subtract(tmp0, t2, tmp1); 151 M_APM tmp0, tmp1, t2, t4; local 155 t2 = M_get_stack_var(); 159 m_apm_round(t2, (place [all...] |
/haiku/src/libs/iconv/ |
H A D | johab.h | 40 t2 := (s2 < 0x91 ? s2-0x31 : s2-0x43) 41 c1 := t1 + (t2 < 0x5E ? 0 : 1) + 0x21 42 c2 := (t2 < 0x5E ? t2 : t2-0x5E) + 0x21 46 t2 := (t & 1) * 0x5E + (c2 - 0x21) 47 s2 := (t2 < 0x4E ? t2+0x31 : t2+0x43) 76 unsigned char t2 local 131 unsigned char t2 = ((t & 1) ? 0x5e : 0) + (c2 - 0x21); local [all...] |
H A D | sjis.h | 36 t2 := (s2 < 0x80 ? s2-0x40 : s2-0x41) 37 c1 := 2*t1 + (t2 < 0x5E ? 0 : 1) + 0x21 38 c2 := (t2 < 0x5E ? t2 : t2-0x5E) + 0x21 41 t2 := ((c1 - 0x21) & 1) * 0x5E + (c2 - 0x21) 43 s2 := (t2 < 0x3F ? t2+0x40 : t2+0x41) 61 unsigned char t2 local 111 unsigned char t2 = (((c1 - 0x21) & 1) ? 0x5e : 0) + (c2 - 0x21); local [all...] |
H A D | cp932.h | 78 t2 := (s2 < 0x80 ? s2-0x40 : s2-0x41) 79 c1 := 2*t1 + (t2 < 0x5E ? 0 : 1) + 0x21 80 c2 := (t2 < 0x5E ? t2 : t2-0x5E) + 0x21 83 t2 := ((c1 - 0x21) & 1) * 0x5E + (c2 - 0x21) 85 s2 := (t2 < 0x3F ? t2+0x40 : t2+0x41) 105 unsigned char t2 local 171 unsigned char t2 = (((c1 - 0x21) & 1) ? 0x5e : 0) + (c2 - 0x21); local [all...] |
/haiku/src/tests/kits/game/set_mouse_position_test/ |
H A D | test_mouse.cpp | 64 for (int32 t2 = y; t2 > 0; t2--) 67 set_mouse_position(t1,t2); 76 for (int32 t2 = y; t2 > 0; t2--) 79 set_mouse_position(t1,t2);
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | log10f.c | 33 float_t hfsq,f,s,z,R,w,t1,t2,dk,hi,lo; local 66 t2= z*(Lg1+w*Lg3); 67 R = t2 + t1;
|
H A D | log1p.c | 72 double_t hfsq,f,c,s,z,R,w,t1,t2,dk; local 118 t2 = z*(Lg1+w*(Lg3+w*(Lg5+w*Lg7))); 119 R = t2 + t1;
|
H A D | log1pf.c | 27 float_t hfsq,f,c,s,z,R,w,t1,t2,dk; local 72 t2= z*(Lg1+w*Lg3); 73 R = t2 + t1;
|
H A D | log10.c | 39 double_t hfsq,f,s,z,R,w,t1,t2,dk,y,hi,lo,val_hi,val_lo; local 73 t2 = z*(Lg1+w*(Lg3+w*(Lg5+w*Lg7))); 74 R = t2 + t1;
|
H A D | log2.c | 30 double_t z, r, r2, r4, y, invc, logc, kd, hi, lo, t1, t2, t3, p; local 97 t2 = r * InvLn2lo + __builtin_fma(r, InvLn2hi, -t1); 105 t2 = rlo * InvLn2hi + r * InvLn2lo; 111 lo = t3 - hi + t1 + t2;
|
H A D | pow.c | 39 double_t z, r, y, invc, logc, logctail, kd, hi, t1, t2, lo, lo1, lo2, p; local 73 t2 = t1 + r; 75 lo2 = t1 - t2 + r; 84 hi = t2 + ar2; 86 lo4 = t2 - hi + ar2; 90 hi = t2 + arhi2; 92 lo4 = t2 - hi + arhi2;
|
H A D | fma.c | 31 uint64_t t1,t2,t3; local 36 t2 = xlo*yhi + xhi*ylo; 38 *lo = t1 + (t2<<32); 39 *hi = t3 + (t2>>32) + (t1 > *lo);
|
/haiku/src/system/libroot/os/arch/sparc/ |
H A D | fpu_sqrt.c | 322 #define t2 tt macro 327 t2 = bit; 328 FPU_SUBS(d2, x2, t2); 339 t2 = y2 | bit; 340 FPU_SUBS(d2, x2, t2); 351 #undef t2 macro 353 /* calculate q3. y0, t0, y1, t1 all fixed; y2, t2, almost done. */ 354 #define t2 y2 macro 362 FPU_SUBCS(d2, x2, t2); 375 FPU_SUBCS(d2, x2, t2); [all...] |
/haiku/src/system/boot/platform/amiga_m68k/ |
H A D | rom_calls.h | 162 #define LP2(offs, rt, name, t1, v1, r1, t2, v2, r2, bt, bn) \ 165 t2 _##name##_v2 = (v2); \ 173 register t2 _n2 __asm(#r2) = _##name##_v2; \ 182 #define LP2NR(offs, name, t1, v1, r1, t2, v2, r2, bt, bn) \ 185 t2 _##name##_v2 = (v2); \ 193 register t2 _n2 __asm(#r2) = _##name##_v2; \ 202 #define LP2UB(offs, rt, name, t1, v1, r1, t2, v2, r2) \ 205 t2 _##name##_v2 = (v2); \ 212 register t2 _n2 __asm(#r2) = _##name##_v2; \ 222 #define LP2FP(offs, rt, name, t1, v1, r1, t2, v [all...] |
/haiku/src/libs/compat/freebsd_wlan/crypto/rijndael/ |
H A D | rijndael-alg-fst.c | 864 u32 s0, s1, s2, s3, t0, t1, t2, t3; local 881 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; 884 s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[ 8]; 885 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[ 9]; 886 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[10]; 887 s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[11]; 891 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; 894 s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[16]; 895 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[17]; 896 s2 = Te0[t2 >> 2 1045 u32 s0, s1, s2, s3, t0, t1, t2, t3; local [all...] |
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | time.h | 70 void timevaladd(struct timeval *t1, const struct timeval *t2); 71 void timevalsub(struct timeval *t1, const struct timeval *t2);
|
/haiku/src/system/boot/platform/efi/arch/riscv64/ |
H A D | arch_traps.h | 16 uint64 t2; member in struct:iframe
|
/haiku/src/tests/kits/net/urlRequest/ |
H A D | urlProtocolListener_test.cpp | 103 TestThread t2; member in class:TestApp 112 t2.Run();
|
/haiku/src/libs/glut/ |
H A D | glutint.h | 76 #define IS_AFTER(t1, t2) ((t2).val > (t1).val) 78 #define IS_AT_OR_AFTER(t1, t2) ((t2).val >= (t1).val) 107 #define IS_AFTER(t1, t2) \ 108 (((t2).tv_sec > (t1).tv_sec) || \ 109 (((t2).tv_sec == (t1).tv_sec) && \ 110 ((t2).tv_usec > (t1).tv_usec))) 111 #define IS_AT_OR_AFTER(t1, t2) \ 112 (((t2) [all...] |
/haiku/src/add-ons/translators/wonderbrush/support/ |
H A D | blending.h | 38 uint16 t1, uint16 t2, uint16 t3, uint8 ta, // top components 44 *d2 = kInverseGammaTable[(b2 * destAlpha + t2 * ta) / 255]; 53 *d2 = kInverseGammaTable[(b2 * alphaDest + t2 * alphaSrc) / alphaTemp]; 62 uint8 t1, uint8 t2, uint8 t3, uint8 ta, // top components 67 uint16 gt2 = kGammaTable[t2]; 243 uint16 t2 = kGammaTable[top[1]]; local 252 bottom[1] = kInverseGammaTable[(b2 * invAlpha + t2 * mergeAlpha) / 255]; 272 uint16 t2 = kGammaTable[top[1]]; local 281 dest[1] = kInverseGammaTable[(b2 * invAlpha + t2 * mergeAlpha) / 255]; 307 uint16 t2 local 37 blend_gamma(uint16 b1, uint16 b2, uint16 b3, uint8 ba, uint16 t1, uint16 t2, uint16 t3, uint8 ta, uint8* d1, uint8* d2, uint8* d3, uint8* da) argument 61 blend(uint8 b1, uint8 b2, uint8 b3, uint8 ba, uint8 t1, uint8 t2, uint8 t3, uint8 ta, uint8* d1, uint8* d2, uint8* d3, uint8* da) argument 337 uint16 t2 = kGammaTable[top[1]]; local [all...] |
/haiku/src/libs/agg/src/ |
H A D | agg_trans_affine.cpp | 73 double t2 = shx * m.sx + sy * m.shx; local 79 shx = t2;
|
/haiku/headers/private/kernel/arch/riscv64/ |
H A D | arch_thread_types.h | 28 uint64 t2; member in struct:iframe
|
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/ |
H A D | finepix-jpeg.c | 621 XMP(t2, t3), \ 622 t2 = IMULT(t2, IC4) - t3, \ 624 XPP(t1, t2), \ 635 XPP(t2, t5), \ 652 PREC t0, t1, t2, t3, t4, t5, t6, t7, t; local 672 t2 = in[j] * quant[j]; 686 tmpp[2 * 8] = t2; 698 t2 = tmp[8 * i + 2]; 707 out[8 * i + 2] = ITOINT(t2); [all...] |