HomeSort by relevance Sort by last modified time
    Searched defs:bits (Results 226 - 250 of 806) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/java/util/
Random.java 83 * the number of bits specified by the argument {@code bits} as
89 protected synchronized int next(int bits) {
91 return (int) (seed >>> (48 - bits));
180 int bits, val; local
182 bits = next(31);
183 val = bits % n;
184 } while (bits - val + (n - 1) < 0);
  /system/core/init/
logo.c 43 unsigned short *bits; member in struct:FB
65 fb->bits = mmap(0, fb_size(fb), PROT_READ | PROT_WRITE,
67 if (fb->bits == MAP_FAILED)
79 munmap(fb->bits, fb_size(fb));
109 unsigned short *data, *bits, *ptr; local
136 bits = fb.bits;
141 android_memset16(bits, ptr[1], n << 1);
142 bits += n;
  /system/core/libpixelflinger/codeflinger/
load_store.cpp 33 const int bits = addr.size; local
35 switch (bits) {
41 // 24 bits formats are a little special and used only for RGB
70 const int bits = addr.size; local
72 switch (bits) {
78 // 24 bits formats are a little special and used only for RGB
109 void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits)
122 if ((h == bits) && !l && (s != d.reg)) {
124 } else if ((h == bits) && l) {
134 if (h != bits) {
    [all...]
  /art/compiler/dex/quick/arm/
assemble_arm.cc 1279 uint32_t bits = encoder->skeleton; local
    [all...]
  /art/compiler/dex/quick/mips/
assemble_mips.cc 650 uint32_t bits = encoder->skeleton; local
666 bits |= value;
670 bits |= (value << encoder->field_loc[i].start);
671 bits |= (value << encoder->field_loc[i].end);
678 bits |= value;
685 bits |= value;
692 code_buffer_.push_back(bits & 0xff);
693 code_buffer_.push_back((bits >> 8) & 0xff);
694 code_buffer_.push_back((bits >> 16) & 0xff);
695 code_buffer_.push_back((bits >> 24) & 0xff)
699 uint32_t bits = encoder->skeleton; local
    [all...]
  /art/runtime/mirror/
art_field-inl.h 177 JValue bits; local
178 bits.SetI(Get32(object));
179 return bits.GetF();
185 JValue bits; local
186 bits.SetF(f);
187 Set32(object, bits.GetI());
193 JValue bits; local
194 bits.SetJ(Get64(object));
195 return bits.GetD();
201 JValue bits; local
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
DexBuffer.java 146 int bits = readInt(nBytes); local
148 bits <<= bytesToMove;
149 return Float.intBitsToFloat(bits);
173 long bits = readLong(nBytes); local
175 bits <<= bytesToMove;
176 return Double.longBitsToDouble(bits);
  /dalvik/dexgen/src/com/android/dexgen/util/
BitIntSet.java 27 int[] bits; field in class:BitIntSet
35 bits = Bits.makeBitSet(max);
41 Bits.set(bits, value, true);
50 if (value >= Bits.getMax(bits)) {
51 int[] newBits = Bits.makeBitSet(
52 Math.max(value + 1, 2 * Bits.getMax(bits)));
    [all...]
  /dalvik/dx/src/com/android/dx/util/
BitIntSet.java 27 int[] bits; field in class:BitIntSet
35 bits = Bits.makeBitSet(max);
41 Bits.set(bits, value, true);
50 if (value >= Bits.getMax(bits)) {
51 int[] newBits = Bits.makeBitSet(
52 Math.max(value + 1, 2 * Bits.getMax(bits)));
    [all...]
  /dalvik/vm/alloc/TEST/HeapBitmapTest/
main.c 33 assert(hb.bits != NULL);
38 /* Make sure hb.bits is mapped.
40 *hb.bits = 0x55;
41 assert(*hb.bits = 0x55);
42 *hb.bits = 0;
48 unsigned long int *bits = hb.bits; local
53 assert(hb.bits == NULL);
61 *bits = 0x55;
70 for (i = 0; i < hb->bitsLen / sizeof (*hb->bits); i++)
    [all...]
  /external/bluetooth/bluedroid/bta/av/
bta_av_sbc.c 40 UINT16 bits; /* number of bits per pcm sample */ member in struct:__anon2867
57 ** bits: number of bits per pcm sample
63 void bta_av_sbc_init_up_sample (UINT32 src_sps, UINT32 dst_sps, UINT16 bits, UINT16 n_channels)
68 bta_av_sbc_ups_cb.bits = bits;
74 if(bits == 8)
88 if(bits == 8)
148 ** Function bta_av_sbc_up_sample_16s (16bits-stereo
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERBitString.java 21 * return the correct number of pad bits for a bit string defined in
58 int bits = 1; local
62 bits++;
65 return 8 - bits;
145 * @param padBits the number of extra bits at the end of the string.
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
GCMUtil.java 48 byte bits = val[i];
51 if ((bits & (1 << j)) != 0)
192 int bits = 0; local
196 block[i] = (b >>> n) | bits;
201 bits = b << (32 - n);
208 int bits = 0; local
212 output[i] = (b >>> n) | bits;
217 bits = b << (32 - n);
  /external/chromium/base/
md5.cc 29 uint32 bits[2]; member in struct:Context
154 ctx->bits[0] = 0;
155 ctx->bits[1] = 0;
169 t = ctx->bits[0];
170 if ((ctx->bits[0] = t + ((uint32)len << 3)) < t)
171 ctx->bits[1]++; /* Carry from low to high */
172 ctx->bits[1] += static_cast<uint32>(len >> 29);
210 * 1 0* (64-bit count of bits processed, MSB-first)
218 count = (ctx->bits[0] >> 3) & 0x3F;
243 /* Append length in bits and transform *
    [all...]
  /external/chromium/webkit/glue/
webcursor_gtk_data.h 263 const char* bits; member in struct:__anon5811
  /external/chromium_org/base/
md5.cc 32 uint32 bits[2]; member in struct:__anon6223::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 and transform *
    [all...]
  /external/chromium_org/chrome/browser/ui/views/panels/
taskbar_window_thumbnailer_win.cc 25 void* bits; local
29 &bits,
34 bitmap.copyPixelsTo(bits, width * height * 4, width * 4);
  /external/chromium_org/chrome/browser/ui/webui/ntp/
favicon_webui_handler.cc 158 std::vector<unsigned char> bits; local
159 if (!gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, true, &bits))
162 new base::RefCountedStaticMemory(&bits.front(), bits.size()));
  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocketPerMessageDeflate.cpp 128 int bits = serverMaxWindowBits->value.toIntStrict(&ok); local
129 if (!ok || bits < 8 || bits > 15 || serverMaxWindowBits->value[0] == '+' || serverMaxWindowBits->value[0] == '0') {
  /external/chromium_org/third_party/icu/source/common/
bmpset.cpp 60 * Set bits in a bit rectangle in "vertical" bit organization.
68 uint32_t bits=(uint32_t)1<<lead; local
70 table[trail]|=bits;
80 table[trail++]|=bits;
88 table[trail++]|=bits;
93 bits=~((1<<lead)-1);
95 bits&=(1<<limitLead)-1;
98 table[trail]|=bits;
101 bits=1<<limitLead;
103 table[trail]|=bits;
200 uint32_t bits, mask; local
    [all...]
  /external/chromium_org/third_party/libaddressinput/chromium/cpp/src/util/
md5.cc 37 uint32 bits[2]; member in struct:__anon14507::Context
168 ctx->bits[0] = 0;
169 ctx->bits[1] = 0;
185 t = ctx->bits[0];
186 if ((ctx->bits[0] = t + ((uint32)len << 3)) < t)
187 ctx->bits[1]++; /* Carry from low to high */
188 ctx->bits[1] += static_cast<uint32>(len >> 29);
226 * 1 0* (64-bit count of bits processed, MSB-first)
234 count = (ctx->bits[0] >> 3) & 0x3F;
259 /* Append length in bits and transform *
    [all...]
  /external/chromium_org/third_party/libwebp/utils/
bit_reader.h 30 // However, since range_ is only 8bit, we only need an active window of 8 bits
31 // for value_. Left bits (MSB) gets zeroed and shifted away when value_ falls
32 // below 128, range_ is updated, and fresh bits read from the bitstream are
34 // To avoid reading the fresh bits one by one (slow), we cache a few of them
35 // ahead (actually, we cache BITS of them ahead. See below). There's two
36 // strategies regarding how to shift these looked-ahead fresh bits into the
39 // bits at a fixed, right-justified, position.
41 // Example, for BITS=16: here is the content of value_ for both strategies:
45 // <- 8b -><- 8b -><- BITS bits -> || <- 8b+3b -><- 8b -><- 13 bits -
157 bit_t bits; local
    [all...]
bit_writer.c 55 const int32_t bits = bw->value_ >> s; local
57 bw->value_ -= bits << s;
59 if ((bits & 0xff) != 0xff) {
64 if (bits & 0x100) { // overflow -> propagate carry over pending 0xff's
68 const int value = (bits & 0x100) ? 0x00 : 0xff;
71 bw->buf_[pos++] = bits;
114 if (bw->range_ < 127) { // emit 'shift' bits out and renormalize
239 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) {
242 // Technically, this branch of the code can write up to 25 bits at a time,
243 // but in prefix encoding, the maximum number of bits written is 18 at a time
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
lp_bld_const.c 132 unsigned bits; local
155 /* FIXME: consider the fractional bits? */
156 bits = type.width / 2 - 1;
158 bits = type.width - 1;
160 return (double)-((long long)1 << bits);
170 unsigned bits; local
190 bits = type.width / 2;
192 bits = type.width;
195 bits -= 1;
197 return (double)(((unsigned long long)1 << bits) - 1)
    [all...]
lp_bld_format_soa.c 115 assert(format_desc->block.bits <= type.width);
149 if (stop < format_desc->block.bits) {
179 unsigned bits = type.width - stop; local
180 LLVMValueRef bits_val = lp_build_const_int_vec(gallivm, type, bits);
189 unsigned bits = type.width - format_desc->channel[chan].size; local
190 LLVMValueRef bits_val = lp_build_const_int_vec(gallivm, type, bits);
325 format_desc->block.bits <= type.width &&
343 format_desc->block.bits,

Completed in 785 milliseconds

1 2 3 4 5 6 7 8 91011>>