/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
AbstractBox.java | 122 ByteBuffer bb = ByteBuffer.allocate(l2i(getSize())); 123 getHeader(bb); 125 getContent(bb); 129 bb.put(deadBytes); 134 bb.put(content); 136 bb.rewind(); 137 os.write(bb); 225 ByteBuffer bb = ByteBuffer.allocate(l2i(getContentSize() + (deadBytes != null ? deadBytes.limit() : 0))); local 226 getContent(bb); 230 bb.put(deadBytes) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaBassBoostTest.java | 93 BassBoost bb = null; local 95 bb = new BassBoost(0, 0); 96 assertNotNull(msg + ": could not create BassBoost", bb); 98 assertTrue(msg +": invalid effect ID", (bb.getId() != 0)); 108 if (bb != null) { 109 bb.release();
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
Charset_TestGenerator.java | 223 ByteBuffer bb = encoder.encode(cb); local 224 // bb.rewind(); 225 while (bb.hasRemaining()) { 226 out.consume(bb.get()); 234 static void genDecoded (Charset charset, ByteBuffer bb) {
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
Channel.java | 404 ByteBuffer bb = ByteBuffer.allocate(ProtocolConstants.MESSAGE_HEADER_SIZE + len); local 405 bb.order(mEndian); 408 bb.putInt(ProtocolConstants.PACKET_SIGNATURE); 409 bb.putInt(ProtocolConstants.MESSAGE_HEADER_SIZE + len); 410 bb.putInt(ProtocolConstants.PACKET_TYPE_MESSAGE); 411 bb.putInt(msg_type); 415 bb.put(msg, 0, len); 418 socket.send(bb.array()); 542 ByteBuffer bb = ByteBuffer.allocate(ProtocolConstants.QUERY_RESP_HEADER_SIZE + len); local 543 bb.order(mEndian) [all...] |
/art/compiler/dex/quick/ |
mir_to_lir.cc | 29 void Mir2Lir::CompileDalvikInstruction(MIR* mir, BasicBlock* bb, LIR* label_list) { 226 GenFilledNewArray(mir_graph_->NewMemCallInfo(bb, mir, kStatic, 231 GenFilledNewArray(mir_graph_->NewMemCallInfo(bb, mir, kStatic, 242 if (mir_graph_->IsBackedge(bb, bb->taken)) { 243 GenSuspendTestAndBranch(opt_flags, &label_list[bb->taken->id]); 245 OpUnconditionalBranch(&label_list[bb->taken->id]); 274 LIR* taken = &label_list[bb->taken->id]; 275 LIR* fall_through = &label_list[bb->fall_through->id]; 280 BasicBlock* target = is_taken ? bb->taken : bb->fall_through 786 BasicBlock*bb = NULL; local [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
DotDumper.java | 136 BasicBlock bb = blocks.get(i); local 137 int label = bb.getLabel(); 138 IntList successors = bb.getSuccessors(); 150 if (successor != bb.getPrimarySuccessor()) { 158 + Hex.u2(bb.getPrimarySuccessor())
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLWorld.java | 36 ByteBuffer bb = ByteBuffer.allocateDirect(mVertexList.size()*4*4); local 37 bb.order(ByteOrder.nativeOrder()); 38 mColorBuffer = bb.asIntBuffer(); 40 bb = ByteBuffer.allocateDirect(mVertexList.size()*4*3); 41 bb.order(ByteOrder.nativeOrder()); 42 mVertexBuffer = bb.asIntBuffer(); 44 bb = ByteBuffer.allocateDirect(mIndexCount*2); 45 bb.order(ByteOrder.nativeOrder()); 46 mIndexBuffer = bb.asShortBuffer();
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
nmfmtrt.cpp | 301 double aa,bb; local 309 bb = b.getDouble(); 311 bb = b.getLong(); 313 double error = aa - bb; 314 if(aa != 0 && bb != 0)
|
/external/chromium_org/third_party/skia/src/core/ |
SkDescriptor.h | 98 const uint32_t* bb = (const uint32_t*)&other; local 101 if (*aa++ != *bb++)
|
/external/dropbear/libtomcrypt/src/hashes/ |
rmd128.c | 89 ulong32 aa,bb,cc,dd,aaa,bbb,ccc,ddd,X[16]; local 99 bb = bbb = md->rmd128.state[1]; 104 FF(aa, bb, cc, dd, X[ 0], 11); 105 FF(dd, aa, bb, cc, X[ 1], 14); 106 FF(cc, dd, aa, bb, X[ 2], 15); 107 FF(bb, cc, dd, aa, X[ 3], 12); 108 FF(aa, bb, cc, dd, X[ 4], 5); 109 FF(dd, aa, bb, cc, X[ 5], 8); 110 FF(cc, dd, aa, bb, X[ 6], 7); 111 FF(bb, cc, dd, aa, X[ 7], 9) [all...] |
rmd160.c | 109 ulong32 aa,bb,cc,dd,ee,aaa,bbb,ccc,ddd,eee,X[16]; local 119 bb = bbb = md->rmd160.state[1]; 125 FF(aa, bb, cc, dd, ee, X[ 0], 11); 126 FF(ee, aa, bb, cc, dd, X[ 1], 14); 127 FF(dd, ee, aa, bb, cc, X[ 2], 15); 128 FF(cc, dd, ee, aa, bb, X[ 3], 12); 129 FF(bb, cc, dd, ee, aa, X[ 4], 5); 130 FF(aa, bb, cc, dd, ee, X[ 5], 8); 131 FF(ee, aa, bb, cc, dd, X[ 6], 7); 132 FF(dd, ee, aa, bb, cc, X[ 7], 9) [all...] |
rmd256.c | 83 ulong32 aa,bb,cc,dd,aaa,bbb,ccc,ddd,tmp,X[16]; local 93 bb = md->rmd256.state[1]; 102 FF(aa, bb, cc, dd, X[ 0], 11); 103 FF(dd, aa, bb, cc, X[ 1], 14); 104 FF(cc, dd, aa, bb, X[ 2], 15); 105 FF(bb, cc, dd, aa, X[ 3], 12); 106 FF(aa, bb, cc, dd, X[ 4], 5); 107 FF(dd, aa, bb, cc, X[ 5], 8); 108 FF(cc, dd, aa, bb, X[ 6], 7); 109 FF(bb, cc, dd, aa, X[ 7], 9) [all...] |
rmd320.c | 103 ulong32 aa,bb,cc,dd,ee,aaa,bbb,ccc,ddd,eee,tmp,X[16]; local 113 bb = md->rmd320.state[1]; 124 FF(aa, bb, cc, dd, ee, X[ 0], 11); 125 FF(ee, aa, bb, cc, dd, X[ 1], 14); 126 FF(dd, ee, aa, bb, cc, X[ 2], 15); 127 FF(cc, dd, ee, aa, bb, X[ 3], 12); 128 FF(bb, cc, dd, ee, aa, X[ 4], 5); 129 FF(aa, bb, cc, dd, ee, X[ 5], 8); 130 FF(ee, aa, bb, cc, dd, X[ 6], 7); 131 FF(dd, ee, aa, bb, cc, X[ 7], 9) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
badblocks.c | 35 ext2_u32_list bb; local 38 retval = ext2fs_get_mem(sizeof(struct ext2_struct_u32_list), &bb); 41 memset(bb, 0, sizeof(struct ext2_struct_u32_list)); 42 bb->magic = EXT2_ET_MAGIC_BADBLOCKS_LIST; 43 bb->size = size ? size : 10; 44 bb->num = num; 45 retval = ext2fs_get_array(bb->size, sizeof(blk_t), &bb->list); 47 ext2fs_free_mem(&bb); 51 memcpy(bb->list, list, bb->size * sizeof(blk_t)) 265 ext2_u32_list bb; local [all...] |
ext2fsP.h | 27 ext2_u32_list bb; member in struct:ext2_struct_u32_iterate
|
tst_badblocks.c | 71 badblocks_list bb; local 74 retval = ext2fs_badblocks_list_create(&bb, 5); 80 retval = ext2fs_badblocks_list_add(bb, vec[i]); 84 ext2fs_badblocks_list_free(bb); 88 *ret = bb; 92 static void print_list(badblocks_list bb, int verify) 99 retval = ext2fs_badblocks_list_iterate_begin(bb, &iter); 121 static void validate_test_seq(badblocks_list bb, blk_t *vec) 126 match = ext2fs_badblocks_list_test(bb, vec[i]); 139 static void do_test_seq(badblocks_list bb, blk_t *vec [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
HashCodesTest.java | 75 byte[] bb = new byte[hash.bits() / 8]; 76 hash.writeBytesTo(bb, 0, bb.length); 77 assertTrue(Arrays.equals(expected.bytes, bb)); 105 byte[] bb = new byte[bytes]; 106 hashCode.writeBytesTo(bb, 0, bb.length); 108 assertTrue(Arrays.equals(Arrays.copyOf(hashBytes, bytes), bb)); local
|
HashTestUtils.java | 35 ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(bo); local 37 bb.putLong(x); 39 return bb.array();
|
/external/icu4c/test/intltest/ |
nmfmtrt.cpp | 301 double aa,bb; local 309 bb = b.getDouble(); 311 bb = b.getLong(); 313 double error = aa - bb; 314 if(aa != 0 && bb != 0)
|
/external/skia/bench/ |
RepeatTileBench.cpp | 64 int bb = conv_6_to_byte(b); local 65 *colors++ = SkPreMultiplyARGB(0xFF, rr, gg, bb);
|
/external/skia/src/core/ |
SkDescriptor.h | 98 const uint32_t* bb = (const uint32_t*)&other; local 101 if (*aa++ != *bb++)
|
/external/skia/tests/ |
Sk64Test.cpp | 84 int bb = rand.nextS() >> 1; local 86 b.set(bb); 87 REPORTER_ASSERT(reporter, a.get32() == aa && b.get32() == bb); 88 c = a; c.add(bb); 89 REPORTER_ASSERT(reporter, c.get32() == aa + bb); 90 c = a; c.add(-bb); 91 REPORTER_ASSERT(reporter, c.get32() == aa - bb); 93 REPORTER_ASSERT(reporter, c.get32() == aa + bb); 95 REPORTER_ASSERT(reporter, c.get32() == aa - bb); 116 SkLONGLONG bb = asLL(b) local [all...] |
/external/valgrind/main/callgrind/ |
bb.c | 3 /*--- bb.c ---*/ 32 /*--- Basic block (BB) operations ---*/ 35 /* BB hash, resizable */ 44 bbs.table = (BB**) CLG_MALLOC("cl.bb.ibh.1", 45 bbs.size * sizeof(BB*)); 57 * - BB base as object file offset 65 /* double size of bb table */ 70 BB **new_table, *curr, *next; 74 new_table = (BB**) CLG_MALLOC("cl.bb.rbt.1" 124 BB* bb; local 181 BB* bb; local 244 BB* bb; local 291 BB *bb, *bp; local [all...] |
callstack.c | 238 if (from->bb->jmp[jmp].jmpkind == jk_Call) { 239 UInt instr = from->bb->jmp[jmp].instr; 240 ret_addr = bb_addr(from->bb) + 241 from->bb->instr[instr].instr_offset + 242 from->bb->instr[instr].instr_size; 275 if (jcc && jcc->to && jcc->to->bb) { 284 BB* bb = jcc->to->bb; local 286 VG_(printf)("%s> %s(0x%x, 0x%x, ...) [%s / %#lx]\n", spaces[s%4]+40-s, bb->fn->name [all...] |
debug.c | 47 void CLG_(print_bb)(int s, BB* bb) 54 VG_(printf)("BB %#lx (Obj '%s')", bb_addr(bb), bb->obj->name); 117 BB* bb; local 129 bb = bbcc->bb; 130 CLG_ASSERT(bb!=0) 326 BB* bb; local [all...] |