Home
last modified time | relevance | path

Searched refs:B (Results 1 – 25 of 462) sorted by relevance

12345678910>>...19

/haiku/src/system/libnetwork/netresolv/dst/
H A Dmd5_dgst.c88 c->B=INIT_DATA_B;
219 register ULONG A,B,C,D; local
222 B=c->B;
227 R0(A,B,C,D,X[ 0], 7,0xd76aa478L);
228 R0(D,A,B,C,X[ 1],12,0xe8c7b756L);
229 R0(C,D,A,B,X[ 2],17,0x242070dbL);
230 R0(B,C,D,A,X[ 3],22,0xc1bdceeeL);
231 R0(A,B,C,D,X[ 4], 7,0xf57c0fafL);
232 R0(D,A,B,C,X[ 5],12,0x4787c62aL);
233 R0(C,D,A,B,X[ 6],17,0xa8304613L);
[all …]
/haiku/src/libs/compat/openbsd_wlan/crypto/
H A Dkey_wrap.c48 u_int64_t B[2], t; in aes_key_wrap() local
61 memcpy(&B[0], A, 8); in aes_key_wrap()
62 memcpy(&B[1], R, 8); in aes_key_wrap()
64 AES_Encrypt(&ctx->ctx, (caddr_t)B, (caddr_t)B); in aes_key_wrap()
66 B[0] ^= htobe64(t); in aes_key_wrap()
68 memcpy(A, &B[0], 8); in aes_key_wrap()
70 memcpy(R, &B[1], 8); in aes_key_wrap()
75 explicit_bzero(B, sizeof B); in aes_key_wrap()
81 u_int64_t B[2], t; in aes_key_unwrap() local
93 memcpy(&B[0], A, 8); in aes_key_unwrap()
[all …]
/haiku/src/system/kernel/arch/arm64/
H A Darch_uart_linflex.cpp25 if (LinflexCell()->LINCR1.B.SLEEP == 0) { in ArchUARTlinflex()
27 if ((LinflexCell()->UARTCR.B.TXEN == 1) in ArchUARTlinflex()
28 && (LinflexCell()->UARTCR.B.RXEN == 1) in ArchUARTlinflex()
29 && (LinflexCell()->UARTCR.B.UART == 1)) { in ArchUARTlinflex()
102 bool fifo = LinflexCell()->UARTCR.B.TFBM == 1; in PutChar()
106 while (LinflexCell()->UARTSR.B.DTF == 1) { in PutChar()
116 while (LinflexCell()->UARTSR.B.DTF == 0) { in PutChar()
121 uartsr.B.DTF = 1; in PutChar()
138 bool fifo = LinflexCell()->UARTCR.B.RFBM == 1; in GetChar()
144 while (LinflexCell()->UARTSR.B.DRF == 1) { in GetChar()
[all …]
/haiku/src/apps/icon-o-matic/generic/support/
H A Drgb_hsv.h13 #define RETURN_RGB(r, g, b) { R = r; G = g; B = b; return; }
19 RGB_to_HSV(float R, float G, float B, float& H, float& S, float& V) in RGB_to_HSV() argument
27 if (R > B) { in RGB_to_HSV()
29 min = G > B ? B : G; in RGB_to_HSV()
31 max = B; in RGB_to_HSV()
36 if (G > B) { in RGB_to_HSV()
38 min = R > B ? B : R; in RGB_to_HSV()
40 max = B; in RGB_to_HSV()
51 ? G - B in RGB_to_HSV()
52 : ((G == min) ? B - R : R - G); in RGB_to_HSV()
[all …]
/haiku/headers/private/graphics/matrox/
H A Dmga_macros.h313 #define CFGW(A,B) (gx00_pci_access.offset=MGACFG_##A, gx00_pci_access.value = B, ioctl(fd,GX00_SET_… argument
317 #define DACW(A,B) (MGA_REG8(MGADAC_##A)=B) argument
321 #define DXIW(A,B) (DACW(PALWTADD,MGADXI_##A),DACW(X_DATAREG,B)) argument
325 #define VGAW(A,B) (MGA_REG8(MGAVGA_##A)=B) argument
328 #define VGAR_I(A,B) (VGAW(A##_I,B),VGAR(A##_D)) argument
329 #define VGAW_I(A,B,C) (VGAW(A##_I,B),VGAW(A##_D,C)) argument
333 #define ACCW(A,B) (MGA_REG32(MGAACC_##A)=B) argument
334 #define ACCGO(A,B) (MGA_REG32(MGAACC_##A + 0x0100)=B) argument
338 #define BESW(A,B) (MGA_REG32(MGABES_##A)=B) argument
342 #define CR1W(A,B) (MGA_REG32(MGACR1_##A)=B) argument
[all …]
/haiku/src/system/libroot/posix/musl/math/
H A Dlog.c15 #define B __log_data.poly1 macro
48 (B[1] + r * B[2] + r2 * B[3] + in log()
49 r3 * (B[4] + r * B[5] + r2 * B[6] + in log()
50 r3 * (B[7] + r * B[8] + r2 * B[9] + r3 * B[10]))); in log()
55 w = rhi * rhi * B[0]; /* B[0] == -0.5. */ in log()
58 lo += B[0] * rlo * (rhi + r); in log()
H A Dlog2.c15 #define B __log2_data.poly1 macro
58 p = r2 * (B[0] + r * B[1]); in log2()
61 lo += r4 * (B[2] + r * B[3] + r2 * (B[4] + r * B[5]) + in log2()
62 r4 * (B[6] + r * B[7] + r2 * (B[8] + r * B[9]))); in log2()
/haiku/headers/private/graphics/neomagic/
H A Dnm_macros.h312 #define CFGW(A,B) (nm_pci_access.offset=NMCFG_##A, nm_pci_access.value = B, ioctl(fd,NM_SET_PCI,&nm… argument
316 #define ACCW(A,B) (NM_REG32(NMACC_##A) = (B)) argument
320 #define CR1W(A,B) (NM_REG32(NMCR1_##A) = (B)) argument
323 #define ISAWB(A,B)(nm_isa_access.adress=NMISA8_##A, nm_isa_access.data = (uint8)B, nm_isa_access.si… argument
324 #define ISAWW(A,B)(nm_isa_access.adress=NMISA16_##A, nm_isa_access.data = B, nm_isa_access.size = 2… argument
329 #define ISACRTCW(A,B)(ISAWW(CRTCIND, ((NMCRTCX_##A) | ((B) << 8)))) argument
333 #define ISAGRPHW(A,B)(ISAWW(GRPHIND, ((NMGRPHX_##A) | ((B) << 8)))) argument
337 #define PCIGRPHW(A,B)(NM_2REG16(NM2PCI16_GRPHIND) = ((NMGRPHX_##A) | ((B) << 8))) argument
341 #define ISASEQW(A,B)(ISAWW(SEQIND, ((NMSEQX_##A) | ((B) << 8)))) argument
345 #define PCISEQW(A,B)(NM_2REG16(NM2PCI16_SEQIND) = ((NMSEQX_##A) | ((B) << 8))) argument
[all …]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_phy.c71 #define B(r) (IEEE80211_RATE_BASIC | r) macro
79 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 },/* 1 Mb */
80 [1] = { .phy = CCK, 2000, 0x04, B(4), 1 },/* 2 Mb */
81 [2] = { .phy = CCK, 5500, 0x04, B(11), 1 },/* 5.5 Mb */
82 [3] = { .phy = CCK, 11000, 0x04, B(22), 1 },/* 11 Mb */
92 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 },
93 [1] = { .phy = CCK, 2000, 0x04, B(4), 1 },
94 [2] = { .phy = CCK, 5500, 0x04, B(11), 2 },
95 [3] = { .phy = CCK, 11000, 0x04, B(22), 3 },
112 [0] = { .phy = OFDM, 6000, 0x00, B(12), 0 },
[all …]
/haiku/headers/private/graphics/via/
H A Dmacros.h810 #define CFGW(A,B) (eng_pci_access.offset=ENCFG_##A, eng_pci_access.value = B, ioctl(fd,ENG_SET_PCI,… argument
813 #define ISAWB(A,B)(eng_isa_access.adress=A, eng_isa_access.data = (uint8)B, eng_isa_access.size = 1… argument
814 #define ISAWW(A,B)(eng_isa_access.adress=A, eng_isa_access.data = B, eng_isa_access.size = 2, ioctl… argument
821 #define CRTCDW(A,B) (ENG_REG32(ENCRTC_##A)=B) argument
826 #define DACW(A,B) (ENG_REG32(ENDAC_##A)=B) argument
830 #define DAC2W(A,B) (ENG_REG32(ENDAC2_##A)=B) argument
834 #define BESW(A,B) (ENG_REG32(ENBES_##A)=B) argument
837 #define CRTCW(A,B)(ENG_REG16(RG16_CRTCIND) = ((ENCRTCX_##A) | ((B) << 8))) argument
841 #define CRTC2W(A,B)(ENG_REG16(RG16_CRTC2IND) = ((ENCRTCX_##A) | ((B) << 8))) argument
845 #define ATBW(A,B)(ENG_REG8(RG8_INSTAT1), ENG_REG8(RG8_ATTRINDW) = ((ENATBX_##A) | 0x20), ENG_REG8(R… argument
[all …]
/haiku/headers/private/graphics/skeleton/
H A Dmacros.h747 #define CFGW(A,B) (eng_pci_access.offset=ENCFG_##A, eng_pci_access.value = B, ioctl(fd,ENG_SET_PCI,… argument
750 #define ISAWB(A,B)(eng_isa_access.adress=A, eng_isa_access.data = (uint8)B, eng_isa_access.size = 1… argument
751 #define ISAWW(A,B)(eng_isa_access.adress=A, eng_isa_access.data = B, eng_isa_access.size = 2, ioctl… argument
757 #define DACW(A,B) (ENG_RG32(ENDAC_##A)=B) argument
761 #define DAC2W(A,B) (ENG_RG32(ENDAC2_##A)=B) argument
765 #define BESW(A,B) (ENG_RG32(ENBES_##A)=B) argument
768 #define CRTCW(A,B)(ENG_REG16(RG16_CRTCIND) = ((ENCRTCX_##A) | ((B) << 8))) argument
772 #define CRTC2W(A,B)(ENG_REG16(RG16_CRTC2IND) = ((ENCRTCX_##A) | ((B) << 8))) argument
776 #define ATBW(A,B)(ENG_REG8(RG8_INSTAT1), ENG_REG8(RG8_ATTRINDW) = ((ENATBX_##A) | 0x20), ENG_REG8(R… argument
780 #define ATB2W(A,B)(ENG_REG8(RG8_INSTAT1), ENG_REG8(RG8_ATTR2INDW) = ((ENATBX_##A) | 0x20), ENG_REG8… argument
[all …]
/haiku/headers/private/kernel/arch/arm64/
H A Darch_uart_linflex.h57 } B; member
82 } B; member
104 } B; member
125 } B; member
166 } B; member
203 } B; member
218 } B; member
230 } B; member
243 } B; member
254 } B; member
[all …]
/haiku/src/tests/misc/
H A Drtti-test.cpp18 struct B : A { struct
19 B() {} in B() function
20 virtual ~B() {} in ~B() argument
32 template<typename A, typename B, typename C> argument
39 printf(" dynamic_cast<%s*>(a): %p\n", classNameB, dynamic_cast<B*>(a)); in rtti_test()
50 #define RTTI_TEST(obj, className) rtti_test<A, B, C>(obj, className, \ in main()
54 B b; in main()
/haiku/headers/libs/agg/util/
H A Dagg_color_conv_rgb8.h176 template<int R, int B> class color_conv_rgb555_rgb24
188 dst[B] = (unsigned char)((rgb << 3) & 0xF8); in operator()
203 template<int R, int B> class color_conv_rgb24_rgb555
214 ((unsigned(src[B]) >> 3))); in operator()
229 template<int R, int B> class color_conv_rgb565_rgb24
241 dst[B] = (rgb << 3) & 0xF8; in operator()
256 template<int R, int B> class color_conv_rgb24_rgb565
267 ((unsigned(src[B]) >> 3))); in operator()
283 template<int R, int G, int B, int A> class color_conv_rgb555_rgba32
295 dst[B] = (int8u)((rgb << 3) & 0xF8); in operator()
[all …]
/haiku/src/add-ons/translators/wonderbrush/support/
H A Dlab_convert.h14 void lab2rgb(float L, float a, float b, uint8& R, uint8& G, uint8& B);
18 lab2rgb(uint8 L, uint8 a, uint8 b, uint8& R, uint8& G, uint8& B) in lab2rgb() argument
23 lab2rgb(CIEL, CIEa, CIEb, R, G, B); in lab2rgb()
26 void rgb2lab(uint8 R, uint8 G, uint8 B, float& L, float& a, float& b);
30 rgb2lab(uint8 R, uint8 G, uint8 B, uint8& L, uint8& a, uint8& b) in rgb2lab() argument
33 rgb2lab(R, G, B, CIEL, CIEa, CIEb); in rgb2lab()
/haiku/data/catalogs/apps/charactermap/
H A Dbe.catkeys2 Miscellaneous mathematical symbols B UnicodeBlocks Розныя матэматычныя сімвалы B
10 Linear B ideograms UnicodeBlocks Лінейныя B іерогліфы
38 Arabic presentation forms B UnicodeBlocks Арабскія формы прадстаўлення B
52 CJK unified ideographs extension B UnicodeBlocks Іерогліфы CJK дапаўненне B
58 Supplemental arrows B UnicodeBlocks Дадатковыя стрэлкі B
60 Latin extended B UnicodeBlocks Лацінка пашыраная B
71 Linear B syllabary UnicodeBlocks Лінейныя склады B
108 Supplementary private use area B UnicodeBlocks Дадатковая вобласць прыватнага карыстання B
148 Cyrillic extended B UnicodeBlocks Кірыліца пашыраная B
H A Dko.catkeys3 Miscellaneous mathematical symbols B UnicodeBlocks 여러가지 수학 기호 B
19 Linear B ideograms UnicodeBlocks 선형 B 표의문자
74 Arabic presentation forms B UnicodeBlocks 아랍어 표현꼴 B
96 CJK unified ideographs extension B UnicodeBlocks 한중일 통합 한자 확장 B
113 Supplemental arrows B UnicodeBlocks 화살표 보충 B
116 Latin extended B UnicodeBlocks 라틴 확장 B
131 Linear B syllabary UnicodeBlocks 선형 B 음절 문자
151 Supplemental arrows A UnicodeBlocks 화살표 보충 B
186 Myanmar extended B UnicodeBlocks 미얀마 문자 확장 B
195 Supplementary private use area B UnicodeBlocks 사용자 영역 보충 B
[all …]
H A Dja.catkeys3 Miscellaneous mathematical symbols B UnicodeBlocks 各種数学記号 B
19 Linear B ideograms UnicodeBlocks 線文字 B 表意文字
74 Arabic presentation forms B UnicodeBlocks アラビア表示形 B
96 CJK unified ideographs extension B UnicodeBlocks CJK 統合漢字拡張 B
113 Supplemental arrows B UnicodeBlocks 補助矢印 B
116 Latin extended B UnicodeBlocks ラテン文字拡張 B
131 Linear B syllabary UnicodeBlocks 線文字 B 音節
186 Myanmar extended B UnicodeBlocks ミャンマー文字拡張 B
195 Supplementary private use area B UnicodeBlocks 補助私用領域 B
252 Hangul Jamo extended B UnicodeBlocks ハングル字母拡張 B
[all …]
H A Dzh_Hans.catkeys3 Miscellaneous mathematical symbols B UnicodeBlocks 其他数学符号 B
19 Linear B ideograms UnicodeBlocks 线性象形文字 B
74 Arabic presentation forms B UnicodeBlocks 阿拉伯语表示形式 B
96 CJK unified ideographs extension B UnicodeBlocks CJK 统一象形文字扩展 B
113 Supplemental arrows B UnicodeBlocks 补充箭头 B
116 Latin extended B UnicodeBlocks 拉丁语扩展 B
131 Linear B syllabary UnicodeBlocks 线型音节文字 B
186 Myanmar extended B UnicodeBlocks 缅甸语扩展 B
195 Supplementary private use area B UnicodeBlocks 独立使用领域扩展 B
252 Hangul Jamo extended B UnicodeBlocks 韩文字母扩展 B
[all …]
H A Dru.catkeys3 Miscellaneous mathematical symbols B UnicodeBlocks Разнообразные математические символы B
19 Linear B ideograms UnicodeBlocks Идеограммы линейного письма Б
74 Arabic presentation forms B UnicodeBlocks Арабские формы представления B
96 CJK unified ideographs extension B UnicodeBlocks CJK объединённые иероглифы расширение B
113 Supplemental arrows B UnicodeBlocks Дополнительные стрелки B
116 Latin extended B UnicodeBlocks Латинский расширение B
131 Linear B syllabary UnicodeBlocks Линейные слоги B
186 Myanmar extended B UnicodeBlocks Расширенное бирманское письмо B
195 Supplementary private use area B UnicodeBlocks Дополнительная область-B для частного использования
252 Hangul Jamo extended B UnicodeBlocks Расширенные элементы хангыля B
[all …]
/haiku/src/tests/kits/app/bclipboard/
H A DBClipboardCases49 case 3: BClipboard "B" writes once, BClipboard "A" reads =>
51 case 4: BClipboard "B" writes, BClipboard "A" reads, BClipboard "B" writes =>
52 return 1 for BClipboard "A", return 2 for BClipboard "B"
53 case 5: BClipboard "A" writes, BClipboard "B" writes =>
54 return 1 for BClipboard "A", return 2 for BClipboard "B"
55 …6: BClipboard "A" writes to system clipboard "A", BClipboard "B" reads from system clipboard "B" =>
56 return 1 for BClipboard "A", return 0 for BClipboard "B"
61 case 2: BClipboard "A" writes, BClipboard "B" neither reads nor writes =>
63 …Clipboard "A" writes to system clipboard "A", BClipboard "B" is attached to system clipboard "B" =>
64 return 1 for BClipboard "A", return 0 for BClipboard "B"
/haiku/src/add-ons/media/plugins/ffmpeg/
H A Dgfx_conv_c_lookup.cpp56 int32 Y0, Y1, R, G, B; in gfx_conv_YCbCr420p_RGB32_c() local
72 B = (Y0 + Cb_B) >> 15; in gfx_conv_YCbCr420p_RGB32_c()
73 poutEven[j] = Rtab[R] | Gtab[G] | Btab[B]; in gfx_conv_YCbCr420p_RGB32_c()
77 B = (Y1 + Cb_B) >> 15; in gfx_conv_YCbCr420p_RGB32_c()
78 poutEven[j + 1] = Rtab[R] | Gtab[G] | Btab[B]; in gfx_conv_YCbCr420p_RGB32_c()
86 B = (Y0 + Cb_B) >> 15; in gfx_conv_YCbCr420p_RGB32_c()
87 poutOdd[j] = Rtab[R] | Gtab[G] | Btab[B]; in gfx_conv_YCbCr420p_RGB32_c()
91 B = (Y1 + Cb_B) >> 15; in gfx_conv_YCbCr420p_RGB32_c()
92 poutOdd[j + 1] = Rtab[R] | Gtab[G] | Btab[B]; in gfx_conv_YCbCr420p_RGB32_c()
/haiku/headers/private/graphics/nvidia/
H A Dnv_macros.h894 #define CFGW(A,B) (nv_pci_access.offset=NVCFG_##A, nv_pci_access.value = B, ioctl(fd,NV_SET_PCI,&nv… argument
897 #define ISAWB(A,B)(nv_isa_access.adress=A, nv_isa_access.data = (uint8)B, nv_isa_access.size = 1, i… argument
898 #define ISAWW(A,B)(nv_isa_access.adress=A, nv_isa_access.data = B, nv_isa_access.size = 2, ioctl(fd… argument
904 #define DACW(A,B) (NV_REG32(NVDAC_##A)=B) argument
908 #define DAC2W(A,B) (NV_REG32(NVDAC2_##A)=B) argument
912 #define BESW(A,B) (NV_REG32(NVBES_##A)=B) argument
915 #define CRTCW(A,B)(NV_REG16(NV16_CRTCIND) = ((NVCRTCX_##A) | ((B) << 8))) argument
919 #define CRTC2W(A,B)(NV_REG16(NV16_CRTC2IND) = ((NVCRTCX_##A) | ((B) << 8))) argument
923 #define ATBW(A,B)(NV_REG8(NV8_INSTAT1), NV_REG8(NV8_ATTRINDW) = ((NVATBX_##A) | 0x20), NV_REG8(NV8_… argument
927 #define ATB2W(A,B)(NV_REG8(NV8_INSTAT1), NV_REG8(NV8_ATTR2INDW) = ((NVATBX_##A) | 0x20), NV_REG8(NV… argument
[all …]
/haiku/src/system/libroot/posix/crypt/
H A Dcrypto_scrypt.cpp58 uint8_t * B; in crypto_scrypt() local
92 B = (uint8_t *)(B0); in crypto_scrypt()
104 B = (uint8_t *)(((uintptr_t)(B0) + 63) & ~ (uintptr_t)(63)); in crypto_scrypt()
127 PBKDF2_SHA256(passwd, passwdlen, salt, saltlen, 1, B, p * 128 * r); in crypto_scrypt()
132 crypto_scrypt_smix(&B[i * 128 * r], r, N, V, XY); in crypto_scrypt()
136 PBKDF2_SHA256(passwd, passwdlen, B, p * 128 * r, 1, buf, buflen); in crypto_scrypt()
/haiku/headers/libs/agg/
H A Dagg_pixfmt_rgb.h47 p[Order::B] = m_gamma.dir(p[Order::B]); in operator()
68 p[Order::B] = m_gamma.inv(p[Order::B]); in operator()
93 p[Order::B] += (value_type)(((cb - p[Order::B]) * alpha) >> base_shift);
117 p[Order::B] = (value_type)((p[Order::B] * alpha + cb * cover) >> base_shift); in blend_pix()
128 p[Order::B] = (value_type)(((p[Order::B] * alpha) >> base_shift) + cb); in blend_pix()
158 calc_type b = m_gamma->dir(p[Order::B]);
161 p[Order::B] = m_gamma->inv((((m_gamma->dir(cb) - b) * alpha) >> base_shift) + b);
203 p[order_type::B] = c.b; in copy_or_blend_pix()
222 p[order_type::B] = c.b; in copy_or_blend_pix()
285 ((value_type*)p)[order_type::B] = c.b; in make_pix()
[all …]

12345678910>>...19