/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_timingsafe.c | 20 timingsafe_bcmp(const void *b1, const void *b2, size_t n) argument 22 const unsigned char *p1 = b1, *p2 = b2;
|
/haiku/headers/private/graphics/common/ |
H A D | bendian_bitfield.h | 8 #define BBITFIELD8_2(b1,b2) uint8 b2,b1 9 #define BBITFIELD8_3(b1,b2,b3) uint8 b3,b2,b1 10 #define BBITFIELD8_4(b1,b2,b3,b4) uint8 b4,b3,b2,b1 11 #define BBITFIELD8_5(b1,b2,b3,b4,b5) uint8 b5,b4,b3,b2,b1 12 #define BBITFIELD8_6(b1,b2,b3,b4,b5,b6) uint8 b6,b5,b4,b3,b2,b [all...] |
/haiku/headers/private/drivers/ |
H A D | lendian_bitfield.h | 15 #define B_LBITFIELD8_2(b1,b2) uint8 b2,b1 16 #define B_LBITFIELD8_3(b1,b2,b3) uint8 b3,b2,b1 17 #define B_LBITFIELD8_4(b1,b2,b3,b4) uint8 b4,b3,b2,b1 18 #define B_LBITFIELD8_5(b1,b2,b3,b4,b5) uint8 b5,b4,b3,b2,b1 19 #define B_LBITFIELD8_6(b1,b2,b3,b4,b5,b6) uint8 b6,b5,b4,b3,b2,b [all...] |
/haiku/src/libs/compat/freebsd_network/compat/dev/usb/ |
H A D | usb_endian.h | 100 #define USETW4(w,b3,b2,b1,b0) do { \ 103 (w)[2] = (uint8_t)(b2); \ 107 #define USETW8(w,b7,b6,b5,b4,b3,b2,b1,b0) do { \ 110 (w)[2] = (uint8_t)(b2); \
|
/haiku/src/tests/libs/alm/ |
H A D | TableDemo.cpp | 38 BButton* b2 = new BButton("A2"); local 39 layout->AddView(b2, r2, c1); 40 b2->SetExplicitAlignment(BAlignment(
|
/haiku/headers/os/bluetooth/ |
H A D | bdaddrUtils.h | 63 uint8 b0, b1, b2, b3, b4, b5; local 67 &b5, &b4, &b3, &b2, &b1, &b0); 70 return ((bdaddr_t) {{b0, b1, b2, b3, b4, b5}});
|
/haiku/3rdparty/pulkomandy/ |
H A D | catmerge.sh | 20 tail -n +3|cut -b2- > $TEMPFILE
|
/haiku/src/servers/app/drawing/Painter/drawing_modes/ |
H A D | DrawingModeCopySUBPIX.h | 17 #define BLEND_COPY_SUBPIX(d, r2, g2, b2, a1, a2, a3, r1, g1, b1) \ 19 BLEND_FROM_SUBPIX(d, r1, g1, b1, r2, g2, b2, a1, a2, a3); \
|
H A D | DrawingMode.h | 56 #define BLEND_FROM(d, r1, g1, b1, r2, g2, b2, a) \ 58 d[0] = (((((b2) - (b1)) * (a)) + ((b1) << 8)) >> 8); \ 64 #define BLEND_FROM_SUBPIX(d, r1, g1, b1, r2, g2, b2, a1, a2, a3) \ 66 d[0] = (((((b2) - (b1)) * (a1)) + ((b1) << 8)) >> 8); \
|
H A D | DrawingModeCopy.h | 15 #define BLEND_COPY(d, r2, g2, b2, a, r1, g1, b1) \ 17 BLEND_FROM(d, r1, g1, b1, r2, g2, b2, a); \
|
/haiku/src/add-ons/translators/wonderbrush/support/ |
H A D | lab_convert.h | 39 void replace_luminance(uint8& r1, uint8& g1, uint8& b1, uint8 r2, uint8 g2, uint8 b2);
|
H A D | blending.h | 37 blend_gamma(uint16 b1, uint16 b2, uint16 b3, uint8 ba, // bottom components argument 44 *d2 = kInverseGammaTable[(b2 * destAlpha + t2 * ta) / 255]; 53 *d2 = kInverseGammaTable[(b2 * alphaDest + t2 * alphaSrc) / alphaTemp]; 61 blend(uint8 b1, uint8 b2, uint8 b3, uint8 ba, // bottom components argument 71 uint16 gb2 = kGammaTable[b2]; 246 uint16 b2 = kGammaTable[bottom[1]]; local 252 bottom[1] = kInverseGammaTable[(b2 * invAlpha + t2 * mergeAlpha) / 255]; 275 uint16 b2 = kGammaTable[bottom[1]]; local 281 dest[1] = kInverseGammaTable[(b2 * invAlpha + t2 * mergeAlpha) / 255]; 310 uint16 b2 local 340 uint16 b2 = kGammaTable[bottom[1]]; local [all...] |
H A D | lab_convert.cpp | 193 replace_luminance(uint8& r1, uint8& g1, uint8& b1, uint8 r2, uint8 g2, uint8 b2) argument 197 // rgb2lab(r2, g2, b2, CIEL2, CIEa2, CIEb2); 198 CIEL2 = ((linearTable[r2] + linearTable[g2] + linearTable[b2]) / 3.0) * 100.0;
|
/haiku/headers/libs/agg/ |
H A D | agg_blur.h | 1096 calc_type b2 = calc_type(-1.42810 * q2 + local 1101 calc_type b = calc_type(1 - (b1 + b2 + b3) * b0); 1104 b2 *= b0; 1120 m_sum1[0].calc(b, b1, b2, b3, c, c, c, c); 1122 m_sum1[1].calc(b, b1, b2, b3, c, m_sum1[0], m_sum1[0], m_sum1[0]); 1124 m_sum1[2].calc(b, b1, b2, b3, c, m_sum1[1], m_sum1[0], m_sum1[0]); 1129 m_sum1[x].calc(b, b1, b2, b3, c, m_sum1[x-1], m_sum1[x-2], m_sum1[x-3]); 1132 m_sum2[wm ].calc(b, b1, b2, b3, m_sum1[wm ], m_sum1[wm ], m_sum1[wm], m_sum1[wm]); 1133 m_sum2[wm-1].calc(b, b1, b2, b3, m_sum1[wm-1], m_sum2[wm ], m_sum2[wm], m_sum2[wm]); 1134 m_sum2[wm-2].calc(b, b1, b2, b 1187 calc(value_type b1, value_type b2, value_type b3, value_type b4, const self_type& c1, const self_type& c2, const self_type& c3, const self_type& c4) argument 1230 calc(value_type b1, value_type b2, value_type b3, value_type b4, const self_type& c1, const self_type& c2, const self_type& c3, const self_type& c4) argument 1269 calc(value_type b1, value_type b2, value_type b3, value_type b4, const self_type& c1, const self_type& c2, const self_type& c3, const self_type& c4) argument [all...] |
H A D | agg_path_storage.h | 210 unsigned b2 = v2 >> block_shift; local 214 T* pv2 = m_coord_blocks[b2] + (o2 << 1); 219 m_cmd_blocks[b1][o1] = m_cmd_blocks[b2][o2]; 220 m_cmd_blocks[b2][o2] = cmd;
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | lgammal.c | 112 b2 = 4.553337477045763320522762343132210919277E3L, variable 290 p2 = b0 + y * (b1 + y * (b2 + y * (b3 + y * (b4 + y))));
|
/haiku/src/system/libroot/posix/stdlib/ |
H A D | strtod.c | 1829 int bbits, b2, b5, be, dig, i, ieps, ilim, ilim0, ilim1, 1950 b2 = 0; 1953 b2 = -j; 1961 b2 -= k; 2142 m2 = b2; 2170 b2 += i; 2176 b2 -= i; 2206 b2 += Log2P; 2229 b2 += i; 2234 b2 [all...] |
/haiku/src/add-ons/translators/psd/ |
H A D | PSDWriter.cpp | 244 bool b2 = count - (i + 2) < 1; local 247 if (!(b1 || b2 || b3))
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_crypto_ccmp.c | 222 READ_6(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5) argument 224 uint32_t iv32 = (b0 << 0) | (b1 << 8) | (b2 << 16) | (b3 << 24);
|
H A D | ieee80211_crypto_tkip.c | 276 READ_6(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5) argument 278 uint32_t iv32 = (b0 << 0) | (b1 << 8) | (b2 << 16) | (b3 << 24); 819 static __inline u32 get_le32_split(u8 b0, u8 b1, u8 b2, u8 b3) argument 821 return b0 | (b1 << 8) | (b2 << 16) | (b3 << 24);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | runlist.c | 892 u8 b2 = *buf & 0xf; local 893 b = b2 + ((*buf >> 4) & 0xf); 896 for (deltaxcn = (s8)buf[b--]; b > b2; b--)
|
/haiku/src/bin/unzip/ |
H A D | fileio.c | 2358 int memcmp(b1, b2, len) 2360 register ZCONST zvoid *b2; 2367 (int)(*((ZCONST unsigned char *)b2)++)) != 0)
|
H A D | unzpriv.h | 1128 # define memcmp(b1,b2,len) bcmp(b2,b1,len)
|
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_node.c | 3280 const struct ieee80211_node *b2) 3282 return (memcmp(b1->ni_macaddr, b2->ni_macaddr, IEEE80211_ADDR_LEN)); 3290 const struct ieee80211_ess_rbt *b2) 3292 return (memcmp(b1->essid, b2->essid, IEEE80211_NWID_LEN)); 3279 ieee80211_node_cmp(const struct ieee80211_node *b1, const struct ieee80211_node *b2) argument 3289 ieee80211_ess_cmp(const struct ieee80211_ess_rbt *b1, const struct ieee80211_ess_rbt *b2) argument
|