/haiku/src/libs/compat/freebsd_network/compat/dev/usb/ |
H A D | usb_endian.h | 45 #define UGETB(w) \ argument 46 ((w)[0]) 48 #define UGETW(w) \ argument 49 ((w)[0] | \ 50 (((uint16_t)((w)[1])) << 8)) 52 #define UGETDW(w) \ argument 53 ((w)[0] | \ 54 (((uint16_t)((w)[1])) << 8) | \ 55 (((uint32_t)((w)[2])) << 16) | \ 56 (((uint32_t)((w)[3])) << 24)) [all …]
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | __tanl.c | 47 #define RPOLY(w) (T5 + w * (T9 + w * (T13 + w * (T17 + w * (T21 + \ argument 48 w * (T25 + w * (T29 + w * T33))))))) 49 #define VPOLY(w) (T7 + w * (T11 + w * (T15 + w * (T19 + w * (T23 + \ argument 50 w * (T27 + w * T31)))))) 93 #define RPOLY(w) (T5 + w * (T9 + w * (T13 + w * (T17 + w * (T21 + \ argument 94 w * (T25 + w * (T29 + w * (T33 + w * (T37 + w * (T41 + \ 95 w * (T45 + w * (T49 + w * (T53 + w * T57))))))))))))) 96 #define VPOLY(w) (T7 + w * (T11 + w * (T15 + w * (T19 + w * (T23 + \ argument 97 w * (T27 + w * (T31 + w * (T35 + w * (T39 + w * (T43 + \ 98 w * (T47 + w * (T51 + w * T55)))))))))))) [all …]
|
H A D | __tan.c | 68 double_t z, r, v, w, s, a; in __tan() local 85 w = z * z; in __tan() 91 r = T[1] + w*(T[3] + w*(T[5] + w*(T[7] + w*(T[9] + w*T[11])))); in __tan() 92 v = z*(T[2] + w*(T[4] + w*(T[6] + w*(T[8] + w*(T[10] + w*T[12]))))); in __tan() 95 w = x + r; in __tan() 98 v = s - 2.0 * (x + (r - w*w/(w + s))); in __tan() 102 return w; in __tan() 104 w0 = w; in __tan() 107 a0 = a = -1.0 / w; in __tan()
|
H A D | __rem_pio2l.c | 72 long double z,w,t,r,fn; in __rem_pio2l() local 83 w = fn*pio2_1t; /* 1st round good to 102/180 bits (ld80/ld128) */ in __rem_pio2l() 84 y[0] = r-w; in __rem_pio2l() 89 w = fn*pio2_2; in __rem_pio2l() 90 r = t-w; in __rem_pio2l() 91 w = fn*pio2_2t-((t-r)-w); in __rem_pio2l() 92 y[0] = r-w; in __rem_pio2l() 97 w = fn*pio2_3; in __rem_pio2l() 98 r = t-w; in __rem_pio2l() 99 w = fn*pio2_3t-((t-r)-w); in __rem_pio2l() [all …]
|
H A D | atan.c | 65 double_t w,s1,s2,z; in atan() local 108 w = z*z; in atan() 110 s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10]))))); in atan() 111 s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9])))); in atan()
|
H A D | powl.c | 200 long double w=0, W=0, Wa=0, Wb=0, ya=0, yb=0, u=0; in powl() local 239 w = floorl(y); in powl() 243 if (w == y) in powl() 251 yb = 0.5 * fabsl(w); in powl() 291 w = powil(x, (int)y); in powl() 292 return nflg ? -w : w; in powl() 329 w = x * (z * __polevll(x, P, 3) / __p1evll(x, Q, 3)); in powl() 330 w = w - 0.5*z; in powl() 335 z = LOG2EA * w; in powl() 336 z += w; in powl() [all …]
|
H A D | tgammal.c | 180 long double y, w, v; in stirf() local 182 w = 1.0/x; in stirf() 185 w = (((((6.97281375836585777429E-5L * w in stirf() 186 + 7.84039221720066627474E-4L) * w in stirf() 187 - 2.29472093621399176955E-4L) * w in stirf() 188 - 2.68132716049382716049E-3L) * w in stirf() 189 + 3.47222222222222222222E-3L) * w in stirf() 190 + 8.33333333333333333333E-2L) * w in stirf() 193 w = 1.0 + w * __polevll(w, STIR, 8); in stirf() 201 y = SQTPI * y * w; in stirf()
|
H A D | __cos.c | 63 double_t hz,z,r,w; in __cos() local 66 w = z*z; in __cos() 67 r = z*(C1+z*(C2+z*C3)) + w*w*(C4+z*(C5+z*C6)); in __cos() 69 w = 1.0-hz; in __cos() 70 return w + (((1.0-w)-hz) + (z*r-x*y)); in __cos()
|
H A D | log10.c | 39 double_t hfsq,f,s,z,R,w,t1,t2,dk,y,hi,lo,val_hi,val_lo; in log10() local 71 w = z*z; in log10() 72 t1 = w*(Lg2+w*(Lg4+w*Lg6)); in log10() 73 t2 = z*(Lg1+w*(Lg3+w*(Lg5+w*Lg7))); in log10() 96 w = y + val_hi; in log10() 97 val_lo += (y - w) + val_hi; in log10() 98 val_hi = w; in log10()
|
H A D | __rem_pio2.c | 51 double_t z,w,t,r,fn; in __rem_pio2() local 124 w = fn*pio2_1t; /* 1st round, good to 85 bits */ in __rem_pio2() 125 y[0] = r - w; in __rem_pio2() 131 w = fn*pio2_2; in __rem_pio2() 132 r = t - w; in __rem_pio2() 133 w = fn*pio2_2t - ((t-r)-w); in __rem_pio2() 134 y[0] = r - w; in __rem_pio2() 139 w = fn*pio2_3; in __rem_pio2() 140 r = t - w; in __rem_pio2() 141 w = fn*pio2_3t - ((t-r)-w); in __rem_pio2() [all …]
|
H A D | lgamma_r.c | 173 double_t t,y,z,nadj,p,p1,p2,p3,q,r,w; in __lgamma_r() local 242 w = z*y; in __lgamma_r() 243 p1 = t0+w*(t3+w*(t6+w*(t9 +w*t12))); /* parallel comp */ in __lgamma_r() 244 p2 = t1+w*(t4+w*(t7+w*(t10+w*t13))); in __lgamma_r() 245 p3 = t2+w*(t5+w*(t8+w*(t11+w*t14))); in __lgamma_r() 246 p = z*p1-(tt-w*(p2+y*p3)); in __lgamma_r() 274 w = w0+z*(w1+y*(w2+y*(w3+y*(w4+y*(w5+y*w6))))); in __lgamma_r() 275 r = (x-0.5)*(t-1.0)+w; in __lgamma_r()
|
H A D | lgammaf_r.c | 108 float t,y,z,nadj,p,p1,p2,p3,q,r,w; in __lgammaf_r() local 177 w = z*y; in __lgammaf_r() 178 p1 = t0+w*(t3+w*(t6+w*(t9 +w*t12))); /* parallel comp */ in __lgammaf_r() 179 p2 = t1+w*(t4+w*(t7+w*(t10+w*t13))); in __lgammaf_r() 180 p3 = t2+w*(t5+w*(t8+w*(t11+w*t14))); in __lgammaf_r() 181 p = z*p1-(tt-w*(p2+y*p3)); in __lgammaf_r() 209 w = w0+z*(w1+y*(w2+y*(w3+y*(w4+y*(w5+y*w6))))); in __lgammaf_r() 210 r = (x-0.5f)*(t-1.0f)+w; in __lgammaf_r()
|
H A D | tanhf.c | 6 uint32_t w; in tanhf() local 14 w = u.i; in tanhf() 16 if (w > 0x3f0c9f54) { in tanhf() 18 if (w > 0x41200000) { in tanhf() 25 } else if (w > 0x3e82c578) { in tanhf() 29 } else if (w >= 0x00800000) { in tanhf()
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | _i18n_number.h | 24 _i18n_number_rewrite (CHAR_T *w, CHAR_T *rear_ptr) in _i18n_number_rewrite() argument 29 src = (CHAR_T *) alloca ((rear_ptr - w) * sizeof (CHAR_T)); in _i18n_number_rewrite() 30 s = (CHAR_T *) __mempcpy (src, w, in _i18n_number_rewrite() 31 (rear_ptr - w) * sizeof (CHAR_T)); in _i18n_number_rewrite() 32 w = rear_ptr; in _i18n_number_rewrite() 40 w = (CHAR_T *) outdigit_value ((char *) w, *s - '0'); in _i18n_number_rewrite() 42 *--w = (CHAR_T) outdigitwc_value (*s - '0'); in _i18n_number_rewrite() 45 *--w = *s; in _i18n_number_rewrite() 48 return w; in _i18n_number_rewrite()
|
/haiku/src/libs/agg/src/ |
H A D | agg_line_profile_aa.cpp | 22 void line_profile_aa::width(double w) in width() argument 24 if(w < 0.0) w = 0.0; in width() 26 if(w < m_smoother_width) w += w; in width() 27 else w += m_smoother_width; in width() 29 w *= 0.5; in width() 31 w -= m_smoother_width; in width() 33 if(w < 0.0) in width() 35 s += w; in width() 36 w = 0.0; in width() 38 set(w, s); in width() [all …]
|
/haiku/src/bin/unzip/ |
H A D | explode.c | 261 unsigned w; /* current window position */ variable 272 b = k = w = 0; /* initialize bit buffer, window */ 287 redirSlide[w++] = (uch)t->v.n; 288 if (w == wszimpl) 290 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0) 292 w = u = 0; 302 d = w - d - t->v.n; /* construct offset */ 320 e = wszimpl - (d > w ? d : w); 323 e = wszimpl - ((d &= wszimpl-1) > w ? d : w); 326 if (u && w <= d) [all …]
|
/haiku/src/add-ons/media/media-add-ons/esound_sink/ |
H A D | EsounD-protocol.txt | 31 w result:BOOLEAN 39 w result:BOOLEAN 62 w name: TYPE 66 w N TYPE name 114 w 4 BOOLEAN 0 or 1 121 w 4 BOOLEAN 0 or 1 127 w 4 BOOLEAN 0 or 1 141 // w ? ESDSTREAM stream of PCM sound 148 w ? ESDSTREAM stream of PCM sound 156 w 4 CARD32 sample-id [all …]
|
/haiku/src/apps/glteapot/ |
H A D | Quaternion.h | 52 Quaternion(const float& x, const float& y, const float& z,const float& w) in Quaternion() argument 54 m_x = x, m_y = y, m_z = z, m_w = w; in Quaternion() 76 inline const float& w() const { return m_w; } in w() function 88 void setValue(const float& x, const float& y, const float& z,const float& w) in setValue() argument 93 m_w=w; in setValue() 314 return Quaternion(-q.x(), -q.y(), -q.z(), -q.w()); 320 return Quaternion(q1.w() * q2.x() + q1.x() * q2.w() + q1.y() * q2.z() - q1.z() * q2.y(), 321 q1.w() * q2.y() + q1.y() * q2.w() + q1.z() * q2.x() - q1.x() * q2.z(), 322 q1.w() * q2.z() + q1.z() * q2.w() + q1.x() * q2.y() - q1.y() * q2.x(), 323 q1.w() * q2.w() - q1.x() * q2.x() - q1.y() * q2.y() - q1.z() * q2.z()); [all …]
|
/haiku/src/apps/haiku3d/ |
H A D | Quaternion.h | 59 Quaternion(const float& x, const float& y, const float& z, const float& w) in Quaternion() argument 61 m_x = x, m_y = y, m_z = z, m_w = w; in Quaternion() 83 inline const float& w() const { return m_w; } in w() function 95 void setValue(const float& x, const float& y, const float& z, const float& w) in setValue() argument 100 m_w = w; in setValue() 320 return Quaternion(-q.x(), -q.y(), -q.z(), -q.w()); 327 q1.w() * q2.x() + q1.x() * q2.w() + q1.y() * q2.z() - q1.z() * q2.y(), 328 q1.w() * q2.y() + q1.y() * q2.w() + q1.z() * q2.x() - q1.x() * q2.z(), 329 q1.w() * q2.z() + q1.z() * q2.w() + q1.x() * q2.y() - q1.y() * q2.x(), 330 q1.w() * q2.w() - q1.x() * q2.x() - q1.y() * q2.y() - q1.z() * q2.z()); [all …]
|
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | shell.S | 113 move.w #0x20,-(%sp) 130 tst.w %d0 135 move.w TOSVAR_bootdev,%d0 189 move.w #0,%d6 // sideno 190 move.w #0,%d5 // trackno 191 move.w #1,%d4 // sectno 192 move.w sNumSectors,%d3 // remainder 199 subq.w #1,%d3 // remainder-- 208 addq.w #1,%d4 // sectno++ 209 cmp.w %d7,%d4 // if (sectno == spt) [all …]
|
/haiku/data/catalogs/kits/media/ |
H A D | pl.catkeys | 3 Starting media_services. MediaDefs Uruchamianie usług mediów (media_services). 4 Stopping media_addon_server. MediaDefs Zatrzymywanie serwera dodatków mediów (media_addon_server). 5 …on_server to quit. MediaDefs Oczekiwanie na zakończenie serwera dodatków mediów (media_addon_serv… 6 Telling media_addon_server to quit. MediaDefs Zatrzymywanie serwera dodatków mediów (media_addon_s… 8 Stopping media server… MediaDefs Zatrzymywanie serwera mediów… 9 Waiting for media_server to quit. MediaDefs Oczekiwanie na zakończenie serwera mediów (media_serve… 11 Error occurred starting media services. MediaDefs Wystąpił błąd podczas uruchamiania usług mediów. 12 Media Service MediaDefs Usługa mediów
|
/haiku/src/libs/icon/transformer/ |
H A D | PerspectiveTransformer.cpp | 303 double w; in _CheckValidity() local 307 w = fFromBox.left * w0 + fFromBox.top * w1 + w2; in _CheckValidity() 308 fValid &= (fabs(w) > 0.00001); in _CheckValidity() 309 positive = w > 0; in _CheckValidity() 311 w = fFromBox.right * w0 + fFromBox.top * w1 + w2; in _CheckValidity() 312 fValid &= (fabs(w) > 0.00001); in _CheckValidity() 313 fValid &= (w>0)==positive; in _CheckValidity() 315 w = fFromBox.left * w0 + fFromBox.bottom * w1 + w2; in _CheckValidity() 316 fValid &= (fabs(w) > 0.00001); in _CheckValidity() 317 fValid &= (w>0)==positive; in _CheckValidity() [all …]
|
/haiku/src/libs/util/ |
H A D | trimdomain.c | 99 size_t w; in isDISP() local 102 w = strspn(disp, "0123456789"); in isDISP() 104 if (w > 0) { in isDISP() 105 if (disp[w] == '\0') in isDISP() 107 else if (disp[w] == '.') { in isDISP() 108 disp += w + 1; in isDISP() 109 w = strspn(disp, "0123456789"); in isDISP() 110 if (w > 0 && disp[w] == '\0') in isDISP()
|
/haiku/src/tests/kits/game/direct_window_test/ |
H A D | StarWindow.cpp | 528 StarWindow *w; in StarAnimation() local 532 w = (StarWindow*)data; in StarAnimation() 535 while (!w->kill_my_thread) { in StarAnimation() 540 while (acquire_sem(w->drawing_lock) == B_INTERRUPTED) in StarAnimation() 542 if (w->kill_my_thread) in StarAnimation() 546 s = w->star_list; in StarAnimation() 547 for (i=0; i<w->star_count; i++) { in StarAnimation() 551 x = s->x = ((w->crc_alea&0x1f00)>>8) - 16; in StarAnimation() 552 y = s->y = ((w->crc_alea&0x1f0000)>>16) - 16; in StarAnimation() 556 s->count = s->count0 + (w->crc_alea&0x7); in StarAnimation() [all …]
|
/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | task.h | 35 task_add(struct taskq* tasq, struct task *w) in task_add() argument 39 w->ta_flags |= TASK_NEEDSGIANT; in task_add() 40 if (task_pending(w)) in task_add() 42 return (taskqueue_enqueue(tq, w) == 0); in task_add() 55 task_del(struct taskq* tasq, struct task *w) in task_del() argument 58 if (!task_pending(w)) in task_del() 60 return (taskqueue_cancel(tq, w, NULL) == 0); in task_del()
|