/haiku/headers/private/drivers/ |
H A D | lendian_bitfield.h | 15 #define B_LBITFIELD8_2(b1,b2) uint8 b2,b1 argument 16 #define B_LBITFIELD8_3(b1,b2,b3) uint8 b3,b2,b1 argument 17 #define B_LBITFIELD8_4(b1,b2,b3,b4) uint8 b4,b3,b2,b1 argument 18 #define B_LBITFIELD8_5(b1,b2,b3,b4,b5) uint8 b5,b4,b3,b2,b1 argument 19 #define B_LBITFIELD8_6(b1,b2,b3,b4,b5,b6) uint8 b6,b5,b4,b3,b2,b1 argument 20 #define B_LBITFIELD8_7(b1,b2,b3,b4,b5,b6,b7) uint8 b7,b6,b5,b4,b3,b2,b1 argument 21 #define B_LBITFIELD8_8(b1,b2,b3,b4,b5,b6,b7,b8) uint8 b8,b7,b6,b5,b4,b3,b2,b1 argument 24 #define B_LBITFIELD16_2(b1,b2) uint16 b2,b1 argument 25 #define B_LBITFIELD16_3(b1,b2,b3) uint16 b3,b2,b1 argument 26 #define B_LBITFIELD16_4(b1,b2,b3,b4) uint16 b4,b3,b2,b1 argument [all …]
|
/haiku/headers/private/graphics/common/ |
H A D | bendian_bitfield.h | 8 #define BBITFIELD8_2(b1,b2) uint8 b2,b1 argument 9 #define BBITFIELD8_3(b1,b2,b3) uint8 b3,b2,b1 argument 10 #define BBITFIELD8_4(b1,b2,b3,b4) uint8 b4,b3,b2,b1 argument 11 #define BBITFIELD8_5(b1,b2,b3,b4,b5) uint8 b5,b4,b3,b2,b1 argument 12 #define BBITFIELD8_6(b1,b2,b3,b4,b5,b6) uint8 b6,b5,b4,b3,b2,b1 argument 13 #define BBITFIELD8_7(b1,b2,b3,b4,b5,b6,b7) uint8 b7,b6,b5,b4,b3,b2,b1 argument 14 #define BBITFIELD8_8(b1,b2,b3,b4,b5,b6,b7,b8) uint8 b8,b7,b6,b5,b4,b3,b2,b1 argument 17 #define BBITFIELD16_2(b1,b2) uint16 b2,b1 argument 18 #define BBITFIELD16_3(b1,b2,b3) uint16 b3,b2,b1 argument 19 #define BBITFIELD16_4(b1,b2,b3,b4) uint16 b4,b3,b2,b1 argument [all …]
|
/haiku/src/libs/compat/freebsd_network/compat/dev/usb/ |
H A D | usb_endian.h | 95 #define USETW2(w,b1,b0) do { \ argument 97 (w)[1] = (uint8_t)(b1); \ 100 #define USETW4(w,b3,b2,b1,b0) do { \ argument 102 (w)[1] = (uint8_t)(b1); \ 107 #define USETW8(w,b7,b6,b5,b4,b3,b2,b1,b0) do { \ argument 109 (w)[1] = (uint8_t)(b1); \
|
/haiku/src/libs/mapm/ |
H A D | mapm_cpi.c | 112 M_APM tmp1, tmp2, a0, b0, c0, a1, b1, sum, pow_2; in M_calculate_PI_AGM() local 121 b1 = M_get_stack_var(); in M_calculate_PI_AGM() 138 m_apm_sqrt(b1, dplaces, tmp1); in M_calculate_PI_AGM() 160 m_apm_copy(b0, b1); in M_calculate_PI_AGM() 166 m_apm_add(tmp1, a1, b1); in M_calculate_PI_AGM()
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | hashes.cpp | 36 uint32 b0, b1; \ 39 b1 = h1; \ 44 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); \ 45 b1 += ((b0 << 4)+c) ^ (b0+sum) ^ ((b0 >> 5)+d); \ 49 h1 += b1; \
|
/haiku/headers/os/bluetooth/ |
H A D | bdaddrUtils.h | 63 uint8 b0, b1, b2, b3, b4, b5; in FromString() local 67 &b5, &b4, &b3, &b2, &b1, &b0); in FromString() 70 return ((bdaddr_t) {{b0, b1, b2, b3, b4, b5}}); in FromString()
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_timingsafe.c | 20 timingsafe_bcmp(const void *b1, const void *b2, size_t n) in timingsafe_bcmp() argument 22 const unsigned char *p1 = b1, *p2 = b2; in timingsafe_bcmp()
|
/haiku/src/tests/libs/alm/ |
H A D | TableDemo.cpp | 34 BButton* b1 = new BButton("A1"); in TableDemoWindow() local 35 layout->AddView(b1, r1, c1); in TableDemoWindow() 36 b1->SetExplicitAlignment(BAlignment(B_ALIGN_LEFT, B_ALIGN_TOP)); in TableDemoWindow()
|
/haiku/src/servers/app/drawing/Painter/drawing_modes/ |
H A D | DrawingMode.h | 56 #define BLEND_FROM(d, r1, g1, b1, r2, g2, b2, a) \ argument 58 d[0] = (((((b2) - (b1)) * (a)) + ((b1) << 8)) >> 8); \ 64 #define BLEND_FROM_SUBPIX(d, r1, g1, b1, r2, g2, b2, a1, a2, a3) \ argument 66 d[0] = (((((b2) - (b1)) * (a1)) + ((b1) << 8)) >> 8); \
|
H A D | DrawingModeCopySUBPIX.h | 17 #define BLEND_COPY_SUBPIX(d, r2, g2, b2, a1, a2, a3, r1, g1, b1) \ argument 19 BLEND_FROM_SUBPIX(d, r1, g1, b1, r2, g2, b2, a1, a2, a3); \
|
H A D | DrawingModeCopy.h | 15 #define BLEND_COPY(d, r2, g2, b2, a, r1, g1, b1) \ argument 17 BLEND_FROM(d, r1, g1, b1, r2, g2, b2, a); \
|
/haiku/src/add-ons/translators/wonderbrush/support/ |
H A D | blending.h | 37 blend_gamma(uint16 b1, uint16 b2, uint16 b3, uint8 ba, // bottom components in blend_gamma() argument 43 *d1 = kInverseGammaTable[(b1 * destAlpha + t1 * ta) / 255]; in blend_gamma() 52 *d1 = kInverseGammaTable[(b1 * alphaDest + t1 * alphaSrc) / alphaTemp]; in blend_gamma() 61 blend(uint8 b1, uint8 b2, uint8 b3, uint8 ba, // bottom components in blend() argument 70 uint16 gb1 = kGammaTable[b1]; in blend() 245 uint16 b1 = kGammaTable[bottom[0]]; in blend_pixels() local 251 bottom[0] = kInverseGammaTable[(b1 * invAlpha + t1 * mergeAlpha) / 255]; in blend_pixels() 274 uint16 b1 = kGammaTable[bottom[0]]; in blend_pixels_copy() local 280 dest[0] = kInverseGammaTable[(b1 * invAlpha + t1 * mergeAlpha) / 255]; in blend_pixels_copy() 309 uint16 b1 = kGammaTable[bottom[0]]; in blend_pixels_overlay() local [all …]
|
H A D | lab_convert.cpp | 193 replace_luminance(uint8& r1, uint8& g1, uint8& b1, uint8 r2, uint8 g2, uint8 b2) in replace_luminance() argument 196 rgb2lab(r1, g1, b1, CIEL1, CIEa1, CIEb1); in replace_luminance() 199 lab2rgb(CIEL2, CIEa1, CIEb1, r1, g1, b1); in replace_luminance()
|
H A D | lab_convert.h | 39 void replace_luminance(uint8& r1, uint8& g1, uint8& b1, uint8 r2, uint8 g2, uint8 b2);
|
/haiku/headers/libs/agg/ |
H A D | agg_blur.h | 1092 calc_type b1 = calc_type( 2.44413 * q + in blur_x() local 1101 calc_type b = calc_type(1 - (b1 + b2 + b3) * b0); in blur_x() 1103 b1 *= b0; in blur_x() 1120 m_sum1[0].calc(b, b1, b2, b3, c, c, c, c); in blur_x() 1122 m_sum1[1].calc(b, b1, b2, b3, c, m_sum1[0], m_sum1[0], m_sum1[0]); in blur_x() 1124 m_sum1[2].calc(b, b1, b2, b3, c, m_sum1[1], m_sum1[0], m_sum1[0]); in blur_x() 1129 m_sum1[x].calc(b, b1, b2, b3, c, m_sum1[x-1], m_sum1[x-2], m_sum1[x-3]); in blur_x() 1132 … m_sum2[wm ].calc(b, b1, b2, b3, m_sum1[wm ], m_sum1[wm ], m_sum1[wm], m_sum1[wm]); in blur_x() 1133 … m_sum2[wm-1].calc(b, b1, b2, b3, m_sum1[wm-1], m_sum2[wm ], m_sum2[wm], m_sum2[wm]); in blur_x() 1134 … m_sum2[wm-2].calc(b, b1, b2, b3, m_sum1[wm-2], m_sum2[wm-1], m_sum2[wm], m_sum2[wm]); in blur_x() [all …]
|
H A D | agg_math.h | 378 double b1 = 0; // b1 is the value from the previous iteration in besj() local 425 if(fabs(b - b1) < d) in besj() 429 b1 = b; in besj()
|
H A D | agg_path_storage.h | 209 unsigned b1 = v1 >> block_shift; in swap_vertices() local 213 T* pv1 = m_coord_blocks[b1] + (o1 << 1); in swap_vertices() 218 int8u cmd = m_cmd_blocks[b1][o1]; in swap_vertices() 219 m_cmd_blocks[b1][o1] = m_cmd_blocks[b2][o2]; in swap_vertices()
|
/haiku/src/kits/bluetooth/ |
H A D | DiscoveryListener.cpp | 87 bdaddr_t b1 = fRemoteDevicesList.ItemAt(index) in MessageReceived() local 90 if (bdaddrUtils::Compare(inquiryInfo->bdaddr, b1)) { in MessageReceived()
|
/haiku/src/libs/zydis/Zycore/ |
H A D | Bitset.c | 104 static ZyanStatus ZyanBitsetOperationAND(ZyanU8* b1, const ZyanU8* b2) in ZyanBitsetOperationAND() argument 106 *b1 &= *b2; in ZyanBitsetOperationAND() 110 static ZyanStatus ZyanBitsetOperationOR (ZyanU8* b1, const ZyanU8* b2) in ZyanBitsetOperationOR() argument 112 *b1 |= *b2; in ZyanBitsetOperationOR() 116 static ZyanStatus ZyanBitsetOperationXOR(ZyanU8* b1, const ZyanU8* b2) in ZyanBitsetOperationXOR() argument 118 *b1 ^= *b2; in ZyanBitsetOperationXOR()
|
/haiku/src/system/libroot/posix/stdlib/ |
H A D | strtod.c | 413 Bigint *b1; in multadd() local 433 b1 = Balloc(b->k+1); in multadd() 434 Bcopy(b1, b); in multadd() 436 b = b1; in multadd() 652 Bigint *b1, *p5, *p51; in pow5mult() local 668 b1 = mult(b, p5); in pow5mult() 670 b = b1; in pow5mult() 688 Bigint *b1; in lshift() local 700 b1 = Balloc(k1); in lshift() 701 x1 = b1->x; in lshift() [all …]
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | lgammal.c | 111 b1 = 1.026343508841367384879065363925870888012E4L, variable 290 p2 = b0 + y * (b1 + y * (b2 + y * (b3 + y * (b4 + y)))); in __lgammal_r()
|
/haiku/src/add-ons/translators/psd/ |
H A D | PSDWriter.cpp | 242 bool b1 = buff[i] != buff[i + 1]; in _PackBits() local 247 if (!(b1 || b2 || b3)) in _PackBits()
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_crypto_tkip.c | 274 READ_6(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5) in READ_6() argument 276 uint32_t iv32 = (b0 << 0) | (b1 << 8) | (b2 << 16) | (b3 << 24); in READ_6() 817 static __inline u32 get_le32_split(u8 b0, u8 b1, u8 b2, u8 b3) in get_le32_split() argument 819 return b0 | (b1 << 8) | (b2 << 16) | (b3 << 24); in get_le32_split()
|
H A D | ieee80211_crypto_ccmp.c | 220 READ_6(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5) in READ_6() argument 222 uint32_t iv32 = (b0 << 0) | (b1 << 8) | (b2 << 16) | (b3 << 24); in READ_6()
|
/haiku/src/bin/rc/tests/ |
H A D | simple.rdef | 55 resource(57) 0b1;
|