/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | bitmap.c | 10 int __bitmap_weight(const unsigned long *bitmap, int bits) argument 12 int k, w = 0, lim = bits/BITS_PER_LONG; 17 if (bits % BITS_PER_LONG) 18 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); 24 const unsigned long *bitmap2, int bits) 27 int nr = BITS_TO_LONGS(bits); 23 __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, const unsigned long *bitmap2, int bits) argument
|
/external/lldb/source/Plugins/Process/Utility/ |
H A D | InstructionUtils.h | 20 Bits64 (const uint64_t bits, const uint32_t msbit, const uint32_t lsbit) argument 23 return (bits >> lsbit) & ((1u << (msbit - lsbit + 1)) - 1); 29 Bits32 (const uint32_t bits, const uint32_t msbit, const uint32_t lsbit) argument 32 return (bits >> lsbit) & ((1u << (msbit - lsbit + 1)) - 1); 37 Bit32 (const uint32_t bits, const uint32_t bit) argument 39 return (bits >> bit) & 1u; 43 Bit64 (const uint64_t bits, const uint32_t bit) argument 45 return (bits >> bit) & 1ull; 51 SetBits32(uint32_t &bits, const uint32_t msbit, const uint32_t lsbit, const uint32_t val) argument 55 bits [all...] |
/external/openssl/apps/ |
H A D | prime.c | 66 int bits=0; local 85 else if(!strcmp(*argv,"-bits")) 89 bits=atoi(*++argv); 127 if(!bits) 129 BIO_printf(bio_err,"Specifiy the number of bits.\n"); 133 BN_generate_prime_ex(bn,bits,safe,NULL,NULL,NULL);
|
/external/openssl/crypto/bn/ |
H A D | bn_mpi.c | 65 int bits; local 70 bits=BN_num_bits(a); 71 num=(bits+7)/8; 72 if (bits > 0) 74 ext=((bits & 0x07) == 0);
|
/external/openssl/crypto/dsa/ |
H A D | dsa_depr.c | 86 DSA *DSA_generate_parameters(int bits, argument 99 if(DSA_generate_parameters_ex(ret, bits, seed_in, seed_len,
|
/external/openssl/crypto/rc2/ |
H A D | rc2_skey.c | 96 * the same as specifying 1024 for the 'bits' parameter. Bsafe uses 97 * a version where the bits parameter is the same as len*8 */ 98 void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits) argument 102 private_RC2_set_key(key, len, data, bits); 104 void private_RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits) argument 116 if (bits <= 0) bits=1024; 117 if (bits > 1024) bits=1024; 131 /* hmm.... key reduction to 'bits' bit [all...] |
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
H A D | inftrees.h | 14 table that indexes more bits of the code. op indicates whether 17 pointer, the low four bits of op is the number of index bits of 18 that table. For a length or distance, the low four bits of op 19 is the number of extra bits to get after the code. bits is 20 the number of bits in this code or part of the code to drop off 25 unsigned char op; /* operation, extra bits, table bits */ 26 unsigned char bits; /* bit member in struct:__anon28595 [all...] |
/external/pixman/demos/ |
H A D | clip-in.c | 19 uint32_t *bits = malloc (WIDTH * HEIGHT * 4); local 28 pixman_image_t *dest_img = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, bits, 4 * WIDTH); 30 memset (bits, 0xff, WIDTH * HEIGHT * 4); 47 free (bits);
|
H A D | trap-test.c | 18 uint32_t *bits = malloc (WIDTH * HEIGHT * 4); local 22 memset (bits, 0xff, WIDTH * HEIGHT * 4); 34 dest_img = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, bits, WIDTH * 4); 46 free (bits);
|
H A D | tri-test.c | 25 uint32_t *bits = malloc (WIDTH * HEIGHT * 4); local 29 bits[i] = (i / HEIGHT) * 0x01010000; 32 dest_img = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, bits, WIDTH * 4); 45 free (bits);
|
/external/pixman/test/ |
H A D | a1-trap-test.c | 18 uint32_t *bits = malloc (WIDTH * HEIGHT * 4); local 22 memset (bits, 0xff, WIDTH * HEIGHT * 4); 36 PIXMAN_a8r8g8b8, WIDTH, HEIGHT, bits, WIDTH * 4); 44 assert (bits[0] == 0xffff0000); 45 assert (bits[1] == 0xffffffff); 46 assert (bits[1 * WIDTH + 0] == 0xffffffff); 47 assert (bits[1 * WIDTH + 1] == 0xffffffff);
|
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/ |
H A D | SDL_sysmouse.cc | 32 char *bits; member in struct:WMcursor 38 dummy.bits = 0;
|
/external/qemu/distrib/zlib-1.2.8/ |
H A D | inftrees.h | 14 table that indexes more bits of the code. op indicates whether 17 pointer, the low four bits of op is the number of index bits of 18 that table. For a length or distance, the low four bits of op 19 is the number of extra bits to get after the code. bits is 20 the number of bits in this code or part of the code to drop off 25 unsigned char op; /* operation, extra bits, table bits */ 26 unsigned char bits; /* bit member in struct:__anon29634 [all...] |
/external/valgrind/main/memcheck/tests/vbit-test/ |
H A D | vbits.h | 12 /* A type to represent V-bits */ 22 } bits; member in struct:__anon33078
|
/external/vixl/src/ |
H A D | utils-vixl.cc | 33 uint32_t bits = 0; local 34 memcpy(&bits, &value, 4); 35 return bits; 40 uint64_t bits = 0; local 41 memcpy(&bits, &value, 8); 42 return bits; 46 float rawbits_to_float(uint32_t bits) { argument 48 memcpy(&value, &bits, 4); 53 double rawbits_to_double(uint64_t bits) { argument 55 memcpy(&value, &bits, [all...] |
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | bitfield.c | 16 u8 *bits; member in struct:bitfield 28 bf->bits = (u8 *) (bf + 1); 44 bf->bits[bit / 8] |= BIT(bit % 8); 52 bf->bits[bit / 8] &= ~BIT(bit % 8); 60 return !!(bf->bits[bit / 8] & BIT(bit % 8)); 80 if (bf->bits[i] != 0xff) 85 i = i * 8 + first_zero(bf->bits[i]);
|
/external/wpa_supplicant_8/src/utils/ |
H A D | bitfield.c | 16 u8 *bits; member in struct:bitfield 28 bf->bits = (u8 *) (bf + 1); 44 bf->bits[bit / 8] |= BIT(bit % 8); 52 bf->bits[bit / 8] &= ~BIT(bit % 8); 60 return !!(bf->bits[bit / 8] & BIT(bit % 8)); 80 if (bf->bits[i] != 0xff) 85 i = i * 8 + first_zero(bf->bits[i]);
|
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | bitfield.c | 16 u8 *bits; member in struct:bitfield 28 bf->bits = (u8 *) (bf + 1); 44 bf->bits[bit / 8] |= BIT(bit % 8); 52 bf->bits[bit / 8] &= ~BIT(bit % 8); 60 return !!(bf->bits[bit / 8] & BIT(bit % 8)); 80 if (bf->bits[i] != 0xff) 85 i = i * 8 + first_zero(bf->bits[i]);
|
/external/zlib/src/contrib/infback9/ |
H A D | inftree9.h | 14 table that indexes more bits of the code. op indicates whether 17 pointer, the low four bits of op is the number of index bits of 18 that table. For a length or distance, the low four bits of op 19 is the number of extra bits to get after the code. bits is 20 the number of bits in this code or part of the code to drop off 25 unsigned char op; /* operation, extra bits, table bits */ 26 unsigned char bits; /* bit member in struct:__anon34340 [all...] |
/external/zlib/src/ |
H A D | inftrees.h | 14 table that indexes more bits of the code. op indicates whether 17 pointer, the low four bits of op is the number of index bits of 18 that table. For a length or distance, the low four bits of op 19 is the number of extra bits to get after the code. bits is 20 the number of bits in this code or part of the code to drop off 25 unsigned char op; /* operation, extra bits, table bits */ 26 unsigned char bits; /* bit member in struct:__anon34356 [all...] |
/external/aac/libMpegTPEnc/src/ |
H A D | tpenc_adts.cpp | 101 int mBits /*!< number of bits in crc region */ 124 int bits = 0; local 127 /* Static and variable header bits */ 128 bits = 56; 130 /* Add header/ single raw data block CRC bits */ 131 bits += 16; 133 /* Add bits of raw data block position markers */ 134 bits += (hAdts->num_raw_blocks)*16; 139 /* Add raw data block CRC bits. Not really part of the header, put they cause bit overhead to be accounted. */ 140 bits [all...] |
/external/chromium_org/media/cast/net/rtp/ |
H A D | rtp_parser.cc | 39 uint8 bits; local 40 if (!reader.ReadU8(&bits)) 42 const uint8 version = bits >> 6; 45 if (bits & kRtpExtensionBitMask) 47 if (!reader.ReadU8(&bits)) 49 header->marker = !!(bits & kRtpMarkerBitMask); 50 header->payload_type = bits & ~kRtpMarkerBitMask; 64 if (!reader.ReadU8(&bits)) 66 header->is_key_frame = !!(bits & kCastKeyFrameBitMask); 68 !!(bits [all...] |
/external/chromium_org/net/spdy/ |
H A D | hpack_input_stream_test.cc | 552 uint32 bits = 0; local 556 EXPECT_TRUE(input_stream.PeekBits(&peeked_count, &bits)); 557 EXPECT_EQ(bits32("10101101000000000000000000000000"), bits); 561 EXPECT_TRUE(input_stream.PeekBits(&peeked_count, &bits)); 562 EXPECT_EQ(bits32("10101101101010110000000000000000"), bits); 566 bits = bits << 5; 568 EXPECT_EQ(bits32("10110101011000000000000000000000"), bits); 572 EXPECT_TRUE(input_stream.PeekBits(&peeked_count, &bits)); 573 EXPECT_EQ(bits32("10110101011101011010000000000000"), bits); [all...] |
H A D | hpack_output_stream.cc | 20 void HpackOutputStream::AppendBits(uint8 bits, size_t bit_size) { argument 23 DCHECK_EQ(bits >> bit_size, 0); 28 buffer_.append(1, bits << (8 - bit_size)); 30 // Buffer does not end on a byte boundary but the given bits fit 32 *buffer_.rbegin() |= bits << (8 - new_bit_offset); 34 // Buffer does not end on a byte boundary and the given bits do 36 *buffer_.rbegin() |= bits >> (new_bit_offset - 8); 37 buffer_.append(1, bits << (16 - new_bit_offset)); 43 AppendBits(prefix.bits, prefix.bit_size);
|
/external/chromium_org/third_party/angle/tests/angle_tests/ |
H A D | FramebufferFormatsTest.cpp | 20 GLint bits = 0; local 21 glGetIntegerv(channel, &bits); 25 EXPECT_EQ(minBits, bits); 29 EXPECT_GE(bits, minBits);
|