Searched refs:_p (Results 1 - 20 of 20) sorted by relevance

/haiku/src/servers/app/drawing/Painter/drawing_modes/
H A DDrawingMode.h30 pixel32 _p; \
31 _p.data32 = *(uint32*)d; \
32 d[0] = (((((b) - _p.data8[0]) * (a)) + (_p.data8[0] << 8)) >> 8); \
33 d[1] = (((((g) - _p.data8[1]) * (a)) + (_p.data8[1] << 8)) >> 8); \
34 d[2] = (((((r) - _p.data8[2]) * (a)) + (_p.data8[2] << 8)) >> 8); \
41 pixel32 _p; \
42 _p
[all...]
H A DDrawingModeInvertSUBPIX.h19 pixel32 _p; \
20 _p.data32 = *(uint32*)d; \
21 BLEND_SUBPIX(d, 255 - _p.data8[2], 255 - _p.data8[1], 255 - _p.data8[0], \
23 (void)_p; \
H A DDrawingModeInvert.h17 pixel32 _p; \
18 _p.data32 = *(uint32*)d; \
19 BLEND(d, 255 - _p.data8[2], 255 - _p.data8[1], 255 - _p.data8[0], a); \
20 (void)_p; \
26 pixel32 _p; \
27 _p.data32 = *(uint32*)d; \
28 d[0] = 255 - _p.data8[0]; \
29 d[1] = 255 - _p
[all...]
H A DDrawingModeAddSUBPIX.h19 pixel32 _p; \
20 _p.data32 = *(uint32*)d; \
21 uint8 rt = min_c(255, _p.data8[2] + (r)); \
22 uint8 gt = min_c(255, _p.data8[1] + (g)); \
23 uint8 bt = min_c(255, _p.data8[0] + (b)); \
H A DDrawingModeBlendSUBPIX.h20 pixel32 _p; \
21 _p.data32 = *(uint32*)d; \
22 uint8 bt = (_p.data8[0] + (b)) >> 1; \
23 uint8 gt = (_p.data8[1] + (g)) >> 1; \
24 uint8 rt = (_p.data8[2] + (r)) >> 1; \
H A DDrawingModeMaxSUBPIX.h19 pixel32 _p; \
20 _p.data32 = *(uint32*)d; \
22 > brightness_for(_p.data8[2], _p.data8[1], _p.data8[0])) { \
H A DDrawingModeMinSUBPIX.h19 pixel32 _p; \
20 _p.data32 = *(uint32*)d; \
22 < brightness_for(_p.data8[2], _p.data8[1], _p.data8[0])) { \
H A DDrawingModeSubtractSUBPIX.h19 pixel32 _p; \
20 _p.data32 = *(uint32*)d; \
21 uint8 rt = max_c(0, _p.data8[2] - (r)); \
22 uint8 gt = max_c(0, _p.data8[1] - (g)); \
23 uint8 bt = max_c(0, _p.data8[0] - (b)); \
H A DDrawingModeBlend.h17 pixel32 _p; \
18 _p.data32 = *(uint32*)d; \
19 uint8 bt = (_p.data8[0] + (b)) >> 1; \
20 uint8 gt = (_p.data8[1] + (g)) >> 1; \
21 uint8 rt = (_p.data8[2] + (r)) >> 1; \
28 pixel32 _p; \
29 _p.data32 = *(uint32*)d; \
30 d[0] = (_p.data8[0] + (b)) >> 1; \
31 d[1] = (_p.data8[1] + (g)) >> 1; \
32 d[2] = (_p
[all...]
H A DDrawingModeMax.h18 pixel32 _p; \
19 _p.data32 = *(uint32*)d; \
21 > brightness_for(_p.data8[2], _p.data8[1], _p.data8[0])) { \
29 pixel32 _p; \
30 _p.data32 = *(uint32*)d; \
32 > brightness_for(_p.data8[2], _p.data8[1], _p
[all...]
H A DDrawingModeMin.h12 pixel32 _p; \
13 _p.data32 = *(uint32*)d; \
15 < brightness_for(_p.data8[2], _p.data8[1], _p.data8[0])) { \
23 pixel32 _p; \
24 _p.data32 = *(uint32*)d; \
26 < brightness_for(_p.data8[2], _p.data8[1], _p
[all...]
H A DDrawingModeAdd.h18 pixel32 _p; \
19 _p.data32 = *(uint32*)d; \
20 uint8 rt = min_c(255, _p.data8[2] + (r)); \
21 uint8 gt = min_c(255, _p.data8[1] + (g)); \
22 uint8 bt = min_c(255, _p.data8[0] + (b)); \
29 pixel32 _p; \
30 _p.data32 = *(uint32*)d; \
31 d[0] = min_c(255, _p.data8[0] + (b)); \
32 d[1] = min_c(255, _p.data8[1] + (g)); \
33 d[2] = min_c(255, _p
[all...]
H A DDrawingModeSubtract.h20 pixel32 _p; \
21 _p.data32 = *(uint32*)d; \
22 uint8 rt = max_c(0, _p.data8[2] - (r)); \
23 uint8 gt = max_c(0, _p.data8[1] - (g)); \
24 uint8 bt = max_c(0, _p.data8[0] - (b)); \
31 pixel32 _p; \
32 _p.data32 = *(uint32*)d; \
33 d[0] = max_c(0, _p.data8[0] - (b)); \
34 d[1] = max_c(0, _p.data8[1] - (g)); \
35 d[2] = max_c(0, _p
[all...]
H A DDrawingModeSelect.h33 pixel32 _p; local
34 _p.data32 = *(uint32*)p;
35 if (_p.data8[2] == high.red &&
36 _p.data8[1] == high.green &&
37 _p.data8[0] == high.blue) {
42 } else if (_p.data8[2] == low.red &&
43 _p.data8[1] == low.green &&
44 _p.data8[0] == low.blue) {
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_freebsd_inc.h171 #define INT_2_NOISE_PWR_DBM(_p) (((_p) - NOISE_PWR_DATA_OFFSET) << 2)
172 #define NOISE_PWR_DBM_2_INT(_p) ((((_p) + 3) >> 2) + NOISE_PWR_DATA_OFFSET)
173 #define NOISE_PWR_DBM_2_DEC(_p) (((-(_p)) & 3) * 25)
/haiku/src/system/libroot/posix/crypt/
H A Dcrypto_scrypt.cpp54 const uint8_t * salt, size_t saltlen, uint64_t N, uint32_t _r, uint32_t _p,
61 size_t r = _r, p = _p;
53 crypto_scrypt(const uint8_t * passwd, size_t passwdlen, const uint8_t * salt, size_t saltlen, uint64_t N, uint32_t _r, uint32_t _p, uint8_t * buf, size_t buflen) argument
/haiku/src/libs/compat/openbsd_wlan/sys/
H A Dtree.h982 #define RBT_SET_PARENT(_name, _elm, _p) _name##_RBT_SET_PARENT(_elm, _p)
983 #define RBT_POISON(_name, _elm, _p) _name##_RBT_POISON(_elm, _p)
984 #define RBT_CHECK(_name, _elm, _p) _name##_RBT_CHECK(_elm, _p)
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_athvar.h1496 #define ath_hal_set_quiet(_ah, _p, _d, _o, _f) \
1497 ((*(_ah)->ah_setQuiet)((_ah), (_p), (_d), (_o), (_f)))
1501 #define ath_hal_spectral_get_config(_ah, _p) \
1502 ((*(_ah)->ah_spectralGetConfig)((_ah), (_p)))
1503 #define ath_hal_spectral_configure(_ah, _p) \
1504 ((*(_ah)->ah_spectralConfigure)((_ah), (_p)))
1531 #define ath_hal_btcoex_mci_send_message(_ah, _h, _f, _p, _l, _wd, _cbt) \
1532 ((*(_ah)->ah_btMciSendMessage)((_ah), (_h), (_f), (_p), (_l), (_wd), (_cbt)))
/haiku/headers/cpp/
H A Dpthread_alloc407 void destroy(pointer _p) { _p->~_Tp(); }
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_regs.h220 /* Queues priority masks where _n and _p can be 0-3. */
221 #define E1000_TQAVARBCTRL_QUEUE_PRI(_n, _p) ((_p) << (2 * (_n)))

Completed in 88 milliseconds