Home
last modified time | relevance | path

Searched refs:bit_count (Results 1 – 8 of 8) sorted by relevance

/reactos/win32ss/reactx/ntddraw/
H A Dd3dkmt.c21 unsigned int bit_count; in NtGdiDdDDICreateDCFromMemory() member
59 if (desc->Width > (UINT_MAX & ~3) / (format->bit_count / 8) || in NtGdiDdDDICreateDCFromMemory()
60 !desc->Pitch || desc->Pitch < (((desc->Width * format->bit_count + 31) >> 3) & ~3) || in NtGdiDdDDICreateDCFromMemory()
75 BitmapFormat(format->bit_count, format->compression), in NtGdiDdDDICreateDCFromMemory()
89 if (format->bit_count <= 8) in NtGdiDdDDICreateDCFromMemory()
91 PPALETTE palette = PALETTE_AllocPalette(PAL_INDEXED, 1 << format->bit_count, NULL, 0, 0, 0); in NtGdiDdDDICreateDCFromMemory()
/reactos/sdk/lib/3rdparty/freetype/src/pshinter/
H A Dpshrec.c313 FT_UInt bit_count, in ps_mask_table_set_bits() argument
324 error = ps_mask_ensure( mask, bit_count, memory ); in ps_mask_table_set_bits()
328 mask->num_bits = bit_count; in ps_mask_table_set_bits()
339 for ( ; bit_count > 0; bit_count-- ) in ps_mask_table_set_bits()
993 FT_UInt bit_count, in ps_hints_t2mask() argument
1008 if ( bit_count != count1 + count2 ) in ps_hints_t2mask()
1012 bit_count, count1 + count2 )); in ps_hints_t2mask()
1038 FT_UInt bit_count, in ps_hints_t2counter() argument
1053 if ( bit_count != count1 + count2 ) in ps_hints_t2counter()
1057 bit_count, count1 + count2 )); in ps_hints_t2counter()
/reactos/sdk/lib/3rdparty/freetype/include/freetype/internal/
H A Dpshints.h510 FT_UInt bit_count,
551 FT_UInt bit_count,
/reactos/drivers/network/tcpip/lwip/src/netif/ppp/
H A Dauth.c2099 int bit_count;
2102 bit_count = (int) strtol (ptr_mask+1, &endp, 10);
2103 if (bit_count <= 0 || bit_count > 32) {
2108 bit_count = 32 - bit_count; /* # bits in host part */
2118 mask <<= bit_count;
/reactos/drivers/network/tcpip/lwip/src/include/lwip/apps/
H A Dsnmp_core.h327 u8_t snmp_encode_bits(u8_t *buf, u32_t buf_len, u32_t bit_value, u8_t bit_count);
/reactos/drivers/network/tcpip/lwip/src/apps/snmp/
H A Dsnmp_core.c1291 snmp_encode_bits(u8_t *buf, u32_t buf_len, u32_t bit_value, u8_t bit_count) in snmp_encode_bits() argument
1294 u8_t min_bytes = (bit_count + 7) >> 3; /* >>3 -> / 8 */ in snmp_encode_bits()
/reactos/modules/rostests/winetests/gdi32/
H A Dbitmap.c5688 unsigned int bit_count; in test_D3DKMTCreateDCFromMemory() member
5821 width_bytes = get_dib_stride( create_desc.Width, test_data[i].bit_count ); in test_D3DKMTCreateDCFromMemory()
5826 ok(dib.dsBm.bmBitsPixel == test_data[i].bit_count, "%s: Got unexpected bit count %d.\n", in test_D3DKMTCreateDCFromMemory()
5839 ok(dib.dsBmih.biBitCount == test_data[i].bit_count, "%s: Got unexpected bit count %u.\n", in test_D3DKMTCreateDCFromMemory()
5841 ok(dib.dsBmih.biCompression == (test_data[i].bit_count == 16 ? BI_BITFIELDS : BI_RGB), in test_D3DKMTCreateDCFromMemory()
5901 for (x = 0; x < sizeof(*data) / (test_data[i].bit_count / 8) && !fail; ++x) in test_D3DKMTCreateDCFromMemory()
5903 for (z = 0, colour = 0; z < test_data[i].bit_count / 8; ++z) in test_D3DKMTCreateDCFromMemory()
5905 colour = colour << 8 | data[y][x * (test_data[i].bit_count / 8) + z]; in test_D3DKMTCreateDCFromMemory()
5909 expected = 0xffffffff >> (32 - test_data[i].bit_count); in test_D3DKMTCreateDCFromMemory()
5913 expected = 0xaaaaaaaa >> (32 - test_data[i].bit_count); in test_D3DKMTCreateDCFromMemory()
/reactos/modules/rostests/winetests/user32/
H A Dcursoricon.c2905 WORD bit_count; in test_Image_StretchMode() member
2955 bmi->bmiHeader.biBitCount = tests[test_index].bit_count; in test_Image_StretchMode()