/external/fonttools/Tools/fontTools/misc/ |
H A D | textTools.py | 37 def num2binary(l, bits=32): 40 for i in range(bits): 52 assert l in (0, -1), "number doesn't fit in number of bits"
|
/external/libunwind/tests/ |
H A D | Gia64-test-readonly.c | 51 fpval.raw.bits[0] = 100; 52 fpval.raw.bits[1] = 101;
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | pmu.h | 38 int config, unsigned long *bits); 39 void perf_pmu__set_format(unsigned long *bits, long from, long to);
|
/external/lldb/tools/debugserver/source/ |
H A D | PThreadEvent.h | 24 PThreadEvent (uint32_t bits = 0, uint32_t validBits = 0); 30 void ReplaceEventBits (const uint32_t bits);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_draw.c | 75 assert(format_desc->block.bits % 8 == 0); 76 format_size = format_desc->block.bits/8;
|
/external/openssl/crypto/bn/ |
H A D | bn_depr.c | 68 BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, argument 84 if(!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb))
|
/external/openssl/crypto/rsa/ |
H A D | rsa_gen.c | 74 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb); 81 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) argument 92 return rsa->meth->rsa_keygen(rsa, bits, e_value, cb); 95 return FIPS_rsa_generate_key_ex(rsa, bits, e_value, cb); 97 return rsa_builtin_keygen(rsa, bits, e_value, cb); 100 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) argument 117 bitsp=(bits+1)/2; 118 bitsq=bits-bitsp;
|
/external/openssl/crypto/x509v3/ |
H A D | v3_bitst.c | 95 ASN1_BIT_STRING *bits, STACK_OF(CONF_VALUE) *ret) 99 if(ASN1_BIT_STRING_get_bit(bits, bnam->bitnum))
|
/external/pixman/pixman/ |
H A D | pixman-edge.c | 166 uint32_t *buf = (image)->bits.bits; 167 int stride = (image)->bits.rowstride; 168 int width = (image)->bits.width; 348 switch (PIXMAN_FORMAT_BPP (image->bits.format)) 377 return_if_fail (PIXMAN_FORMAT_TYPE (image->bits.format) == PIXMAN_TYPE_A); 379 if (image->bits.read_func || image->bits.write_func)
|
/external/skia/experimental/pixman/ |
H A D | junk.cpp | 24 pixbuf_from_argb32 (uint32_t *bits, argument 39 uint32_t *src_row = &bits[i * (stride / 4)];
|
/external/tinyalsa/ |
H A D | tinyplay.c | 64 unsigned int rate, unsigned int bits, unsigned int period_size, 188 unsigned int rate, unsigned int bits, unsigned int period_size, 202 can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, bits, "Bitrate", " bits"); 212 unsigned int rate, unsigned int bits, unsigned int period_size, 225 if (bits == 32) 227 else if (bits == 16) 233 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { 253 printf("Playing sample: %u ch, %u hz, %u bit\n", channels, rate, bits); 187 sample_is_playable(unsigned int card, unsigned int device, unsigned int channels, unsigned int rate, unsigned int bits, unsigned int period_size, unsigned int period_count) argument 211 play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, unsigned int rate, unsigned int bits, unsigned int period_size, unsigned int period_count) argument
|
/external/zlib/src/contrib/infback9/ |
H A D | inftree9.c | 23 whose indices are 0..2^bits-1. work is a writable array of at least 27 on return points to the next available entry's address. bits is the 28 requested root table index bits, and on return it is the actual root 29 table index bits. It will differ if the request is greater than the 32 int inflate_table9(type, lens, codes, table, bits, work) 37 unsigned FAR *bits; 40 unsigned len; /* a code's length in bits */ 43 unsigned root; /* number of index bits for root table */ 44 unsigned curr; /* number of index bits for current table */ 45 unsigned drop; /* code bits t [all...] |
/external/chromium_org/base/ |
H A D | md5.cc | 32 uint32 bits[2]; member in struct:__anon2327::Context 162 ctx->bits[0] = 0; 163 ctx->bits[1] = 0; 179 t = ctx->bits[0]; 180 if ((ctx->bits[0] = t + ((uint32)len << 3)) < t) 181 ctx->bits[1]++; /* Carry from low to high */ 182 ctx->bits[1] += static_cast<uint32>(len >> 29); 220 * 1 0* (64-bit count of bits processed, MSB-first) 228 count = (ctx->bits[0] >> 3) & 0x3F; 253 /* Append length in bits an [all...] |
/external/chromium_org/net/tools/testserver/ |
H A D | asn1.py | 161 def __init__(self, bits): 162 self.bits = bits 165 return TagAndLength(3, 1 + len(self.bits)) + "\x00" + self.bits
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkImageDecoder_wbmp.cpp | 75 static void expand_bits_to_bytes(uint8_t dst[], const uint8_t src[], int bits) argument 77 int bytes = bits >> 3; 92 bits &= 7; 93 if (bits > 0) { 98 } while (--bits != 0);
|
/external/chromium_org/v8/src/ |
H A D | safepoint-table.h | 22 SafepointEntry(unsigned info, uint8_t* bits) : info_(info), bits_(bits) { argument 67 uint8_t* bits() { function in class:v8::internal::BASE_EMBEDDED 100 uint8_t* bits = &Memory::uint8_at(entries_ + (index * entry_size_)); 101 return SafepointEntry(info, bits); 205 // Emit the safepoint table after the body. The number of bits per
|
/external/skia/src/images/ |
H A D | SkImageDecoder_wbmp.cpp | 75 static void expand_bits_to_bytes(uint8_t dst[], const uint8_t src[], int bits) argument 77 int bytes = bits >> 3; 92 bits &= 7; 93 if (bits > 0) { 98 } while (--bits != 0);
|
/external/chromium_org/third_party/libwebp/utils/ |
H A D | bit_writer.c | 57 const int32_t bits = bw->value_ >> s; local 59 bw->value_ -= bits << s; 61 if ((bits & 0xff) != 0xff) { 66 if (bits & 0x100) { // overflow -> propagate carry over pending 0xff's 70 const int value = (bits & 0x100) ? 0x00 : 0xff; 73 bw->buf_[pos++] = bits; 116 if (bw->range_ < 127) { // emit 'shift' bits out and renormalize 252 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) { argument 265 lbits |= (vp8l_atype_t)bits << used; 268 bits >> [all...] |
/external/webp/src/utils/ |
H A D | bit_writer.c | 57 const int32_t bits = bw->value_ >> s; local 59 bw->value_ -= bits << s; 61 if ((bits & 0xff) != 0xff) { 66 if (bits & 0x100) { // overflow -> propagate carry over pending 0xff's 70 const int value = (bits & 0x100) ? 0x00 : 0xff; 73 bw->buf_[pos++] = bits; 116 if (bw->range_ < 127) { // emit 'shift' bits out and renormalize 252 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) { argument 265 lbits |= (vp8l_atype_t)bits << used; 268 bits >> [all...] |
/external/libvorbis/doc/ |
H A D | 02-bitpacking.tex | 10 bitstream in which bits are coded one-by-one by the encoder and then 12 decoder. Most current binary storage arrangements group bits into a 13 native word size of eight bits (octets), sixteen bits, thirty-two bits 22 'octet', that is, eight bits. This has not always been the case; 26 modern platforms, this is generally assumed to be eight bits (not 33 octet (eight bits) and a word to be a group of two, four or eight 34 bytes (16, 32 or 64 bits). Note however that the Vorbis bitpacking 68 \subsubsection{coding bits int [all...] |
/external/vixl/test/ |
H A D | test-simulator-a64.cc | 141 static float rawbits_to_fp(uint32_t bits) { argument 142 return rawbits_to_float(bits); 145 static double rawbits_to_fp(uint64_t bits) { argument 146 return rawbits_to_double(bits); 341 const unsigned bits = sizeof(T) * 8; local 344 reinterpret_cast<uintptr_t>(results), bits); 348 printf("const uint%u_t kExpected_%s[] = {\n", bits, name); 351 bits / 4, static_cast<uint64_t>(results[d])); 367 bits / 4, static_cast<uint64_t>(inputs[n]), 368 bits / 468 const unsigned bits = sizeof(T) * 8; local 592 const unsigned bits = sizeof(T) * 8; local 708 const unsigned bits = sizeof(T) * 8; local [all...] |
/external/pcre/dist/ |
H A D | RunTest.bat | 160 set bits=8 variable 210 set bits=16 variable 215 set bits=32 variable 259 %pcretest% %mode% %4 %5 %6 %7 %8 %9 %srcdir%\testdata\%testinput% >%2%bits%\%testoutput% 262 echo. %pcretest% %mode% %4 %5 %6 %7 %8 %9 %srcdir%\testdata\%testinput% ^>%2%bits%\%testoutput% 269 set type=-%bits% 272 set type=-%bits% 275 set type=-%bits% 278 set type=-%bits% 281 fc /n %srcdir%\testdata\%testoutput%%type% %2%bits [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_aos.c | 168 assert(desc->block.bits <= 32); 196 unsigned bits = desc->channel[i].size; local 204 unsigned long long mask = (1ULL << bits) - 1; 208 if (bits == 32) { 223 shift += bits; 282 type = LLVMIntTypeInContext(gallivm->context, desc->block.bits); 303 unsigned bits = desc->channel[i].size; local 310 unsigned mask = (1 << bits) - 1; 313 assert(bits < 32); 325 shift += bits; [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_aos.c | 168 assert(desc->block.bits <= 32); 196 unsigned bits = desc->channel[i].size; local 204 unsigned long long mask = (1ULL << bits) - 1; 208 if (bits == 32) { 223 shift += bits; 282 type = LLVMIntTypeInContext(gallivm->context, desc->block.bits); 303 unsigned bits = desc->channel[i].size; local 310 unsigned mask = (1 << bits) - 1; 313 assert(bits < 32); 325 shift += bits; [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...] |