/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_misc.c | 78 uint32_t bits; local 83 bits = OS_REG_READ(ah, AR_MAC_LED); 84 bits = (bits &~ AR_MAC_LED_MODE) 90 bits = (bits &~ AR_MAC_LED_ASSOC) 92 OS_REG_WRITE(ah, AR_MAC_LED, bits); 111 * low bits will be meaningless. Likewise reading 585 * [1] bits 8,9,11 are 0. State machine state (bits 2 [all...] |
/haiku-fatelf/src/tools/docbook/libxml2/ |
H A D | HTMLparser.c | 2325 int bits; local 2329 { *out++ = c; bits= -6; } 2331 { *out++ =((c >> 6) & 0x1F) | 0xC0; bits= 0; } 2333 { *out++ =((c >> 12) & 0x0F) | 0xE0; bits= 6; } 2335 { *out++ =((c >> 18) & 0x07) | 0xF0; bits= 12; } 2337 for ( ; bits >= 0; bits-= 6) { 2338 *out++ = ((c >> bits) & 0x3F) | 0x80; 2371 int bits; local 2381 { *out++ = c; bits 2396 int bits, l; local 3696 int bits, i = 0; local 3732 int bits, i = 0; local [all...] |
/haiku-fatelf/src/kits/tracker/ |
H A D | Utilities.cpp | 478 FadeRGBA32Horizontal(uint32* bits, int32 width, int32 height, int32 from, argument 496 if (bits[x] & 0xff000000) { 497 uint32 a = uint32((bits[x] >> 24) * alpha); 498 bits[x] = (bits[x] & 0x00ffffff) | (a << 24); 502 bits += width; 512 FadeRGBA32Vertical(uint32* bits, int32 width, int32 height, int32 from, argument 520 bits += width * (height - (from - to)); 533 if (bits[x] & 0xff000000) { 534 uint32 a = uint32((bits[ [all...] |
/haiku-fatelf/src/apps/icon-o-matic/gui/ |
H A D | GradientControl.cpp | 128 uint8* bits = temp; local 129 bits += 4 * (uint32)((width - 1) * offset); 130 color.red = bits[0]; 131 color.green = bits[1]; 132 color.blue = bits[2]; 133 color.alpha = bits[3];
|
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | shred.c | 248 unsigned int bits = type & 0xfff; local 250 bits |= bits << 12; 251 r[0] = (bits >> 4) & 255; 252 r[1] = (bits >> 8) & 255; 253 r[2] = bits & 255; 599 * since lcm(2,3,4) = 12 bits is easy to fit into an int, but 600 * lcm(2,3,4,5) = 60 bits is not.
|
/haiku-fatelf/src/bin/network/tcpdump/ |
H A D | print-ospf6.c | 44 struct bits { struct 49 static const struct bits ospf6_option_bits[] = { 59 static const struct bits ospf6_rla_flag_bits[] = { 67 static const struct bits ospf6_asla_flag_bits[] = { 92 static inline void ospf6_print_bits(const struct bits *, u_char); 118 ospf6_print_bits(register const struct bits *bp, register u_char options)
|
/haiku-fatelf/src/kits/network/libbind/dst/ |
H A D | dst_api.c | 79 const int bits); 155 * bits: the size of the key 162 const int protocol, const int bits) 181 new_key->dk_key_size = bits; 928 *\par bits Size of the new key in bits. 934 * section 3.3. The field has 16 bits. 938 * section 3.4. The field has 8 bits. 951 dst_generate_key(const char *name, const int bits, const int exp, argument 966 new_key = dst_s_get_key_struct(name, alg, flags, protocol, bits); 161 dst_s_get_key_struct(const char *name, const int alg, const int flags, const int protocol, const int bits) argument [all...] |
/haiku-fatelf/src/add-ons/media/media-add-ons/esound_sink/ |
H A D | ESDEndpoint.cpp | 325 ESDEndpoint::SetFormat(int bits, int channels, float rate) argument 331 PRINT(("SetFormat(%d,%d,%f)\n", bits, channels, rate)); 332 switch (bits) {
|
/haiku-fatelf/src/add-ons/media/media-add-ons/radeon/ |
H A D | VideoIn.cpp | 365 int CVideoIn::Capture(color_space colorSpace, void * bits, int bitsLength, argument 389 fRadeon.DMACopy( captured_buffer, bits, bitsLength, true, false ); 438 : "r" (convert_buffer), "r" (bits), "r" (bitsLength), "m" (mask));
|
/haiku-fatelf/src/libs/icon/ |
H A D | IconRenderer.cpp | 298 uint8* bits = (uint8*)fBitmap->Bits(); local 304 uint8* b = bits; 313 bits += bpr;
|
/haiku-fatelf/src/libs/pdflib/libs/flate/ |
H A D | inftrees.c | 27 #define bits word.what.Bits macro 31 uIntf *, /* code lengths in bits */ 35 const uIntf *, /* list of extra bits for non-simple codes */ 37 uIntf *, /* maximum lookup bits (returns actual) */ 47 local const uInt cplext[31] = { /* Extra bits for literal codes 257..285 */ 54 local const uInt cpdext[30] = { /* Extra bits for distance codes */ 72 below. lbits is the number of bits the first level table for literal/ 77 bits is used, or when the shortest code is *longer* than the requested 78 table size, in which case the length of the shortest code in bits is 84 bits [all...] |
/haiku-fatelf/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | MD5.cpp | 208 /* Update number of bits: count += 8 * inputBytes */ 240 uint32_t bits [2]; local 249 CopyToLittleEndian ( bits, (const uint8_t*) context -> count, 2 ); 251 memcpy ( bits, context->count, 8 ); 255 MD5Update ( context, (const uint8_t*) bits, 8 );
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | strsignal.c | 36 # include <bits/libc-lock.h>
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | dve3900-rom.c | 60 int length; /* number of bits in the field */ 436 unsigned long bits; local 444 bits = strtoul (buf, NULL, 16); /* get field value */ 445 bits &= ((1 << bf->length) - 1); /* mask out useless bits */ 446 val |= bits << bf->start; /* insert into register */
|
/haiku-fatelf/src/bin/gdb/include/opcode/ |
H A D | d30v.h | 192 /* The number of significant bits in the operand. */ 193 int bits; member in struct:d30v_operand 283 /* by setting high bits to indicate type */
|
/haiku-fatelf/src/libs/print/libgutenprint/src/main/ |
H A D | color-conversion.h | 134 size_t bits; member in struct:__anon5101
|
/haiku-fatelf/src/tests/add-ons/kernel/drivers/audio/ |
H A D | multi_audio_test.cpp | 178 uint32 bits = 0; local 183 bits = 1 << i; 186 if (bits == 0) { 196 sRate = bits;
|
/haiku-fatelf/src/servers/app/drawing/ |
H A D | DrawingEngine.cpp | 1465 uint8* bits = (uint8*)cursorArea.Bits(); local 1470 bits[0] = ((bits[0] * alpha) >> 8) + cursorBits[0]; 1471 bits[1] = ((bits[1] * alpha) >> 8) + cursorBits[1]; 1472 bits[2] = ((bits[2] * alpha) >> 8) + cursorBits[2]; 1474 bits += 4; 1494 // TODO: assumes drawing buffer is 32 bits (which it currently always is) 1505 uint8* bits local [all...] |
/haiku-fatelf/src/add-ons/input_server/filters/shortcut_catcher/ |
H A D | KeyCommandMap.cpp | 50 bool DoModifiersMatch(uint32 bits) const 51 { return fTester->IsMatching(bits); }
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/sb16/ |
H A D | sb16_hw.c | 172 if (((dev->playback_stream.bits >> 3) & status) != 0) { 176 if (((dev->record_stream.bits >> 3) & status) != 0) {
|
/haiku-fatelf/src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/ |
H A D | finepix-jpeg.c | 29 unsigned int bits; member in struct:in 401 in->bits = 0; 411 in->bits = bi << 16, le += 16; 429 in->bits = bi; /* tmp... 2 return values needed */ 437 in->left = fillbits(in, in->left, in->bits); 446 #define LEBI_GET(in) (le = in->left, bi = in->bits) 447 #define LEBI_PUT(in) (in->left = le, in->bits = bi) 450 (le < (n) ? le = fillbits(in, le, bi), bi = in->bits : 0), \ 553 * value v already known, run r, backup u bits: 555 * value unknown, size b bits, ru [all...] |
/haiku-fatelf/src/add-ons/media/media-add-ons/usb_webcam/addons/ |
H A D | NW80xCamDevice.cpp | 40 // Conexant CN0352 10 bits 3.3 V Master 41 // Elecvision EVS110K 8 bits 3.3 V Slave 42 // HP (Agilent) HDC1000 10 bits 3.3 V Master 43 // Hyundai HB7121B 8 bits 3.3 V Master 44 // Pixart PAS006AC 9 bits 3.3 V Master 45 // TASC TAS5110A 9 bits 3.8 V Slave 264 NW80xCamDevice::SetIICBitsMode(size_t bits) argument 266 switch (bits) {
|
/haiku-fatelf/src/add-ons/media/media-add-ons/usb_webcam/addons/quickcam/ |
H A D | QuickCamDevice.cpp | 225 QuickCamDevice::SetIICBitsMode(size_t bits) argument 227 switch (bits) {
|
/haiku-fatelf/src/add-ons/translators/webp/libwebp/dec/ |
H A D | vp8.c | 239 const uint32_t bits = buf[0] | (buf[1] << 8) | (buf[2] << 16); local 241 frm_hdr->key_frame_ = !(bits & 1); 242 frm_hdr->profile_ = (bits >> 1) & 7; 243 frm_hdr->show_ = (bits >> 4) & 1; 244 frm_hdr->partition_length_ = (bits >> 5); 431 // Table to unpack four bits into four bytes 438 // Macro to pack four LSB of four bytes into four bits.
|
H A D | webp.c | 32 // All 32-bits sizes are in little-endian order. 554 const uint32_t bits = data[0] | (data[1] << 8) | (data[2] << 16); local 555 const int key_frame = !(bits & 1); 563 if (((bits >> 1) & 7) > 3) { 566 if (!((bits >> 4) & 1)) { 569 if (((bits >> 5)) >= chunk_size) { // partition_length
|