/haiku/src/system/libroot/posix/musl/time/ |
H A D | difftime.c | 3 double difftime(time_t t1, time_t t0) argument 5 return t1-t0;
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_time.c | 96 timevalfix(struct timeval *t1) argument 99 if (t1->tv_usec < 0) { 100 t1->tv_sec--; 101 t1->tv_usec += 1000000; 103 if (t1->tv_usec >= 1000000) { 104 t1->tv_sec++; 105 t1->tv_usec -= 1000000; 117 timevaladd(struct timeval *t1, const struct timeval *t2) argument 120 t1->tv_sec += t2->tv_sec; 121 t1 126 timevalsub(struct timeval *t1, const struct timeval *t2) argument [all...] |
/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 16 template<class t> const t abs(const t t1) { return (t1 < 0) ? - t1 : t1; } argument [all...] |
/haiku/src/tests/kits/game/set_mouse_position_test/ |
H A D | test_mouse.cpp | 62 int32 t1 = x; local 66 t1 = int32(t1 - xmin); 67 set_mouse_position(t1,t2); 74 int32 t1 = x; local 78 t1 = int32(t1 + xplus); 79 set_mouse_position(t1,t2);
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | sqrt.c | 88 uint32_t r,t1,s1,ix1,q1; local 145 t1 = s1 + r; 147 if (t < ix0 || (t == ix0 && t1 <= ix1)) { 148 s1 = t1 + r; 149 if ((t1&sign) == sign && (s1&sign) == 0) 152 if (ix1 < t1) 154 ix1 -= t1;
|
H A D | log2.c | 30 double_t z, r, r2, r4, y, invc, logc, kd, hi, lo, t1, t2, t3, p; local 96 t1 = r * InvLn2hi; 97 t2 = r * InvLn2lo + __builtin_fma(r, InvLn2hi, -t1); 104 t1 = rhi * InvLn2hi; 110 hi = t3 + t1; 111 lo = t3 - hi + t1 + t2;
|
H A D | log10f.c | 33 float_t hfsq,f,s,z,R,w,t1,t2,dk,hi,lo; local 65 t1= w*(Lg2+w*Lg4); 67 R = t2 + t1;
|
H A D | log1p.c | 72 double_t hfsq,f,c,s,z,R,w,t1,t2,dk; local 117 t1 = w*(Lg2+w*(Lg4+w*Lg6)); 119 R = t2 + t1;
|
H A D | log1pf.c | 27 float_t hfsq,f,c,s,z,R,w,t1,t2,dk; local 71 t1= w*(Lg2+w*Lg4); 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 72 t1 = w*(Lg2+w*(Lg4+w*Lg6)); 74 R = t2 + t1;
|
H A D | fma.c | 31 uint64_t t1,t2,t3; local 35 t1 = xlo*ylo; 38 *lo = t1 + (t2<<32); 39 *hi = t3 + (t2>>32) + (t1 > *lo);
|
H A D | pow.c | 39 double_t z, r, y, invc, logc, logctail, kd, hi, t1, t2, lo, lo1, lo2, p; local 72 t1 = kd * Ln2hi + logc; 73 t2 = t1 + r; 75 lo2 = t1 - t2 + r;
|
/haiku/src/libs/iconv/ |
H A D | sjis.h | 35 t1 := (s1 < 0xE0 ? s1-0x81 : s1-0xC1) 37 c1 := 2*t1 + (t2 < 0x5E ? 0 : 1) + 0x21 40 t1 := (c1 - 0x21) >> 1 42 s1 := (t1 < 0x1F ? t1+0x81 : t1+0xC1) 60 unsigned char t1 = (s1 < 0xe0 ? s1-0x81 : s1-0xc1); local 63 buf[0] = 2*t1 + (t2 < 0x5e ? 0 : 1) + 0x21; 110 unsigned char t1 = (c1 - 0x21) >> 1; local 112 r[0] = (t1 < [all...] |
H A D | cp932.h | 77 t1 := (s1 < 0xE0 ? s1-0x81 : s1-0xC1) 79 c1 := 2*t1 + (t2 < 0x5E ? 0 : 1) + 0x21 82 t1 := (c1 - 0x21) >> 1 84 s1 := (t1 < 0x1F ? t1+0x81 : t1+0xC1) 104 unsigned char t1 = (s1 < 0xe0 ? s1-0x81 : s1-0xc1); local 107 buf[0] = 2*t1 + (t2 < 0x5e ? 0 : 1) + 0x21; 170 unsigned char t1 = (c1 - 0x21) >> 1; local 172 r[0] = (t1 < [all...] |
H A D | johab.h | 39 t1 := (s1 < 0xE0 ? 2*s1-0x1B2 : 2*s1-0x197) 41 c1 := t1 + (t2 < 0x5E ? 0 : 1) + 0x21 75 unsigned char t1 = (s1 < 0xe0 ? 2*(s1-0xd9) : 2*s1-0x197); local 78 buf[0] = t1 + (t2 < 0x5e ? 0 : 1) + 0x21;
|
/haiku/src/system/libroot/os/arch/sparc/ |
H A D | fpu_sqrt.c | 291 #define t1 tt macro 296 t1 = bit; 297 FPU_SUBS(d1, x1, t1); 307 t1 = y1 | bit; 308 FPU_SUBS(d1, x1, t1); 318 #undef t1 macro 321 #define t1 y1 macro 329 FPU_SUBCS(d1, x1, t1); 334 y1 |= 1; /* now t1, y1 are set in concrete */ 341 FPU_SUBCS(d1, x1, t1); [all...] |
/haiku/src/system/boot/platform/amiga_m68k/ |
H A D | rom_calls.h | 70 #define LP1(offs, rt, name, t1, v1, r1, bt, bn) \ 72 t1 _##name##_v1 = (v1); \ 79 register t1 _n1 __asm(#r1) = _##name##_v1; \ 88 #define LP1NR(offs, name, t1, v1, r1, bt, bn) \ 90 t1 _##name##_v1 = (v1); \ 97 register t1 _n1 __asm(#r1) = _##name##_v1; \ 106 #define LP1A5(offs, rt, name, t1, v1, r1, bt, bn) \ 108 t1 _##name##_v1 = (v1); \ 115 register t1 _n1 __asm(#r1) = _##name##_v1; \ 125 #define LP1NRA5(offs, name, t1, 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 880 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5]; 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]; 890 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13]; 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 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 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 | 15 uint64 t1; member in struct:iframe
|
/haiku/src/tests/kits/opengl/glsl/ |
H A D | shaderutil.c | 51 GLdouble t0, t1; local 58 t1 = glutGet(GLUT_ELAPSED_TIME) * 0.001; 60 CompileTime = t1 - t0; 119 GLdouble t0, t1; local 130 t1 = glutGet(GLUT_ELAPSED_TIME) * 0.001; 132 LinkTime = t1 - t0;
|
/haiku/src/libs/mapm/ |
H A D | mapmfmul.c | 755 unsigned int *ip, t1, rr[8]; local 770 t1 = (unsigned int)b[jj]; 773 *ip-- += t1 * a[3]; 774 *ip-- += t1 * a[2]; 775 *ip-- += t1 * a[1]; 776 *ip += t1 * a[0]; 786 t1 = rr[jj] / 100; 787 r[jj] = (UCHAR)(rr[jj] - 100 * t1); 792 rr[--jj] += t1;
|
/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).tv_sec > (t1) [all...] |
/haiku/src/add-ons/translators/wonderbrush/support/ |
H A D | blending.h | 38 uint16 t1, uint16 t2, uint16 t3, uint8 ta, // top components 43 *d1 = kInverseGammaTable[(b1 * destAlpha + t1 * ta) / 255]; 52 *d1 = kInverseGammaTable[(b1 * alphaDest + t1 * alphaSrc) / alphaTemp]; 62 uint8 t1, uint8 t2, uint8 t3, uint8 ta, // top components 66 uint16 gt1 = kGammaTable[t1]; 242 uint16 t1 = kGammaTable[top[0]]; local 251 bottom[0] = kInverseGammaTable[(b1 * invAlpha + t1 * mergeAlpha) / 255]; 271 uint16 t1 = kGammaTable[top[0]]; local 280 dest[0] = kInverseGammaTable[(b1 * invAlpha + t1 * mergeAlpha) / 255]; 306 uint16 t1 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 336 uint16 t1 = kGammaTable[top[0]]; local [all...] |
/haiku/headers/private/kernel/arch/riscv64/ |
H A D | arch_thread_types.h | 27 uint64 t1; member in struct:iframe
|