/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetEncoderTest.java | 69 ByteBuffer bb = ByteBuffer.allocate(128); local 70 CoderResult cr = e.encode(CharBuffer.wrap(new char[] { '\ud842', '\udf9f' }), bb, false); 72 assertEquals(4, bb.position()); 73 assertEquals((byte) 0x00, bb.get(0)); 74 assertEquals((byte) 0x02, bb.get(1)); 75 assertEquals((byte) 0x0b, bb.get(2)); 76 assertEquals((byte) 0x9f, bb.get(3)); 83 ByteBuffer bb = ByteBuffer.allocate(128); local 84 CoderResult cr = e.encode(CharBuffer.wrap(new char[] { '\udf9f' }), bb, false); 120 ByteBuffer bb = ByteBuffer.allocate(128) local 144 ByteBuffer bb = ByteBuffer.allocate(128); local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
fcrypt.c | 106 unsigned char bb[9]; local 107 unsigned char *b=bb; 150 bb[8]=0; 157 if (bb[y] & u) c|=1;
|
/external/clang/test/CXX/special/class.inhctor/ |
elsewhere.cpp | 38 B<bool> bb; variable
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
ConstrainedConjGrad.h | 146 Scalar bb = CINV.row(i).dot(z); local 147 if (bb > 0.0) 148 // FIXME: we should allow that: z += -bb * C.row(i); 150 z.coeffRef(it.index()) -= bb*it.value(); 175 Scalar bb = C.row(i).dot(p) - f[i]; local 176 if (bb > 0.0) 177 lambda = (std::min)(lambda, (f.coeff(i)-C.row(i).dot(x)) / bb);
|
/external/llvm/examples/BrainF/ |
BrainFDriver.cpp | 73 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func); local 78 "", bb); 84 ConstantInt::get(mod->getContext(), APInt(32, 0)), bb);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
ChannelHelper.java | 33 ByteBuffer bb = ((FileChannel) channel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) channel).position(), size); local 35 return bb;
|
/external/openssl/crypto/des/ |
fcrypt.c | 106 unsigned char bb[9]; local 107 unsigned char *b=bb; 150 bb[8]=0; 157 if (bb[y] & u) c|=1;
|
/frameworks/compile/mclinker/unittests/ |
SymbolCategoryTest.cpp | 61 LDSymbol* bb = LDSymbol::Create(*b); local 69 m_pTestee->add(*bb); 104 LDSymbol* bb = LDSymbol::Create(*b); local 110 b->setSymPtr(bb); 118 m_pTestee->add(*bb); 132 m_pTestee->changeToDynamic(*bb);
|
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
AbstractCharsetTestCase.java | 140 ByteBuffer bb = this.testingCharset.encode(input); local 142 bb.rewind(); 143 while (bb.hasRemaining() && i < output.length) { 144 assertEquals(output[i], bb.get()); 147 assertFalse(bb.hasRemaining());
|
/build/tools/rgb2565/ |
to565.c | 63 int bb = (b < 0) ? 0 : ((b > 255) ? 255 : b); local 65 out = to565(rb, gb, bb);
|
/dalvik/vm/compiler/ |
InlineTransformation.cpp | 312 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator); local 313 if (bb == NULL) break; 314 if (bb->blockType != kDalvikByteCode) 316 MIR *lastMIRInsn = bb->lastMIRInsn; 358 lastMIRInsn, bb, isRange); 403 lastMIRInsn, bb, isRange);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_target.cpp | 182 BasicBlock *bb = NULL; local 184 bb = func->bbArray[i]; 185 const uint32_t oldPos = bb->binPos; 186 const uint32_t oldEnd = bb->binPos + bb->binSize; 189 bb->binPos = adjPos; 190 bb->binSize = adjEnd - adjPos; 192 if (bb) 193 func->binSize = bb->binPos + bb->binSize [all...] |
/external/clang/test/CodeGen/ |
le32-arguments.c | 10 int bb; member in struct:__anon18301
|
/external/compiler-rt/BlocksRuntime/tests/ |
byrefsanity.c | 59 struct Block_basic2 *bb = (struct Block_basic2 *)arg; local 60 if ( ! (bb->Block_flags & BLOCK_HAS_COPY_DISPOSE)) { 64 struct byref_id *ref = bb->ref;
|
/external/guava/guava/src/com/google/common/hash/ |
Murmur3_128HashFunction.java | 59 @Override protected void process(ByteBuffer bb) { 60 long k1 = bb.getLong(); 61 long k2 = bb.getLong(); 86 @Override protected void processRemaining(ByteBuffer bb) { 89 len += bb.remaining(); 90 switch (bb.remaining()) { 92 k2 ^= (long) toInt(bb.get(14)) << 48; // fall through 94 k2 ^= (long) toInt(bb.get(13)) << 40; // fall through 96 k2 ^= (long) toInt(bb.get(12)) << 32; // fall through 98 k2 ^= (long) toInt(bb.get(11)) << 24; // fall throug 148 ByteBuffer bb = ByteBuffer.wrap(new byte[16]).order(ByteOrder.LITTLE_ENDIAN); local [all...] |
AbstractStreamingHashFunction.java | 114 protected abstract void process(ByteBuffer bb); 124 protected void processRemaining(ByteBuffer bb) { 125 bb.position(bb.limit()); // move at the end 126 bb.limit(chunkSize + 7); // get ready to pad with longs 127 while (bb.position() < chunkSize) { 128 bb.putLong(0); 130 bb.limit(chunkSize); 131 bb.flip(); 132 process(bb); [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
AbstractNonStreamingHashFunctionTest.java | 60 protected void process(ByteBuffer bb) { 61 while (bb.hasRemaining()) { 62 out.write(bb.get()); 67 protected void processRemaining(ByteBuffer bb) { 68 while (bb.hasRemaining()) { 69 out.write(bb.get());
|
AbstractStreamingHasherTest.java | 174 @Override protected void process(ByteBuffer bb) { 176 assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order()); 177 assertTrue(bb.remaining() >= chunkSize); 179 out.write(bb.get()); 183 @Override protected void processRemaining(ByteBuffer bb) { 186 assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order()); 187 assertTrue(bb.remaining() > 0); 188 assertTrue(bb.remaining() < bufferSize); 190 super.processRemaining(bb);
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
TestBillboard.java | 71 Node bb = new Node("billboard"); local 75 bb.addControl(control); 76 bb.attachChild(g); 77 bb.attachChild(g3); 82 n.attachChild(bb); 92 // rootNode.attachChild(bb);
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_target.cpp | 182 BasicBlock *bb = NULL; local 184 bb = func->bbArray[i]; 185 const uint32_t oldPos = bb->binPos; 186 const uint32_t oldEnd = bb->binPos + bb->binSize; 189 bb->binPos = adjPos; 190 bb->binSize = adjEnd - adjPos; 192 if (bb) 193 func->binSize = bb->binPos + bb->binSize [all...] |
/external/pixman/test/ |
region-contains-test.c | 36 pixman_box32_t *b, *bb; local 42 bb = pixman_region32_rectangles (region, &n_boxes); 45 b = bb + prng_rand_n (n_boxes);
|
/sdk/emulator/qtools/ |
bb2sym.cpp | 14 StaticRec bb; member in struct:MyStaticRec 35 if (bb1->bb.bb_addr < bb2->bb.bb_addr) 37 if (bb1->bb.bb_addr > bb2->bb.bb_addr) 39 return bb1->bb.bb_num - bb2->bb.bb_num; 67 trace->ReadStatic(&blocks[ii].bb); 68 blocks[ii].is_thumb = blocks[ii].bb.bb_addr & 1; 69 blocks[ii].bb.bb_addr &= ~1 [all...] |
post_trace.cpp | 8 StaticRec bb; member in struct:MyStaticRec 54 trace->ReadStatic(&blocks[ii].bb); 55 uint32_t num_insns = blocks[ii].bb.num_insns; 64 uint32_t num_insns = blocks[num_static_bb - 1].bb.num_insns; 69 blocks[num_static_bb - 1].bb.num_insns = actual_num_insns;
|
/dalvik/dx/src/com/android/dx/cf/code/ |
BasicBlocker.java | 79 BasicBlocker bb = new BasicBlocker(method); local 81 bb.doit(); 82 return bb.getBlockList();
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
AbstractAppleMetaDataBox.java | 109 ByteBuffer bb = ByteBuffer.allocate(content.length); local 111 IsoTypeWriter.writeUInt8(bb, (Byte.parseByte(value) & 0xFF)); 113 IsoTypeWriter.writeUInt16(bb, Integer.parseInt(value)); 115 IsoTypeWriter.writeUInt32(bb, Long.parseLong(value)); 117 IsoTypeWriter.writeUInt64(bb, Long.parseLong(value)); 121 appleDataBox.setData(bb.array());
|