/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...] |
/dalvik/vm/compiler/ |
Ralloc.cpp | 27 static void inferTypes(CompilationUnit *cUnit, BasicBlock *bb) 30 if (bb->blockType != kDalvikByteCode && bb->blockType != kEntryBlock) 33 for (mir = bb->firstMIRInsn; mir; mir = mir->next) { 75 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator); local 76 if (bb == NULL) break; 77 inferTypes(cUnit, bb);
|
SSATransformation.cpp | 70 * register idx is defined in BasicBlock bb. 72 static bool fillDefBlockMatrix(CompilationUnit *cUnit, BasicBlock *bb) 74 if (bb->dataFlowInfo == NULL) return false; 78 dvmBitVectorIteratorInit(bb->dataFlowInfo->defV, &iterator); 82 /* Block bb defines register idx */ 83 dvmCompilerSetBit(cUnit->defBlockMatrix[idx], bb->id); 122 static void computeDomPostOrderTraversal(CompilationUnit *cUnit, BasicBlock *bb) 125 dvmBitVectorIteratorInit(bb->iDominated, &bvIterator); 138 dvmInsertGrowableList(&cUnit->domPostOrderTraversal, bb->id); 141 if (bb->taken && dvmIsBitSet(bb->dominators, bb->taken->id)) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
BaseDescriptor.java | 65 public final void parse(int tag, ByteBuffer bb) throws IOException {
69 int tmp = IsoTypeReader.readUInt8(bb);
73 tmp = IsoTypeReader.readUInt8(bb);
79 ByteBuffer detailSource = bb.slice();
83 bb.position(bb.position() + sizeOfInstance);
86 public abstract void parseDetail(ByteBuffer bb) throws IOException;
|
InitialObjectDescriptor.java | 74 public void parseDetail(ByteBuffer bb) throws IOException {
75 int data = IsoTypeReader.readUInt16(bb);
83 urlLength = IsoTypeReader.readUInt8(bb);
84 urlString = IsoTypeReader.readString(bb, urlLength);
87 oDProfileLevelIndication = IsoTypeReader.readUInt8(bb);
88 sceneProfileLevelIndication = IsoTypeReader.readUInt8(bb);
89 audioProfileLevelIndication = IsoTypeReader.readUInt8(bb);
90 visualProfileLevelIndication = IsoTypeReader.readUInt8(bb);
91 graphicsProfileLevelIndication = IsoTypeReader.readUInt8(bb);
96 final BaseDescriptor descriptor = ObjectDescriptorFactory.createFrom(-1, bb);
[all...] |
/sdk/emulator/qtools/ |
bbprof.cpp | 9 StaticRec bb; member in struct:MyStaticRec 27 if (bb1->bb.bb_addr < bb2->bb.bb_addr) 29 if (bb1->bb.bb_addr > bb2->bb.bb_addr) 31 return bb1->bb.bb_num - bb2->bb.bb_num; 45 return bb1->bb.bb_num - bb2->bb.bb_num; 59 return bb1->bb.bb_num - bb2->bb.bb_num [all...] |
/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...] |
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...] |
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...] |
/external/valgrind/main/drd/ |
drd_load_store.c | 308 static Bool is_stack_access(IRSB* const bb, IRExpr* const addr_expr) 315 for (i = 0; i < bb->stmts_size; i++) 317 if (bb->stmts[i] 318 && bb->stmts[i]->tag == Ist_WrTmp 319 && bb->stmts[i]->Ist.WrTmp.tmp == addr_expr->Iex.RdTmp.tmp) 321 IRExpr* e = bb->stmts[i]->Ist.WrTmp.data; 346 static IRExpr* instr_trace_mem_load(IRSB* const bb, IRExpr* addr_expr, 351 tmp = newIRTemp(bb->tyenv, typeOfIRExpr(bb->tyenv, addr_expr)); 352 addStmtToIRSB(bb, IRStmt_WrTmp(tmp, addr_expr)) 589 IRSB* bb; local [all...] |
/art/test/008-instanceof/src/ |
Main.java | 24 ImplBSub bb = new ImplBSub(); local 28 face1 = bb; 32 System.out.println("bb.mWhoami = " + bb.mWhoami); 41 bb = (ImplBSub) face1;
|
/dalvik/tests/008-instanceof/src/ |
Main.java | 24 ImplBSub bb = new ImplBSub(); local 28 face1 = bb; 32 System.out.println("bb.mWhoami = " + bb.mWhoami); 41 bb = (ImplBSub) face1;
|
/external/e2fsprogs/lib/ext2fs/ |
freefs.c | 79 void ext2fs_u32_list_free(ext2_u32_list bb) 81 if (bb->magic != EXT2_ET_MAGIC_BADBLOCKS_LIST) 84 if (bb->list) 85 ext2fs_free_mem(&bb->list); 86 bb->list = 0; 87 ext2fs_free_mem(&bb); 90 void ext2fs_badblocks_list_free(ext2_badblocks_list bb) 92 ext2fs_u32_list_free((ext2_u32_list) bb);
|
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/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/threegpp26245/ |
FontTableBox.java | 71 public void parse(ByteBuffer bb) { 72 fontId = IsoTypeReader.readUInt16(bb); 73 int length = IsoTypeReader.readUInt8(bb); 74 fontname = IsoTypeReader.readString(bb, length); 77 public void getContent(ByteBuffer bb) { 78 IsoTypeWriter.writeUInt16(bb, fontId); 79 IsoTypeWriter.writeUInt8(bb, fontname.length()); 80 bb.put(Utf8.convert(fontname));
|
/external/valgrind/main/none/ |
nl_main.c | 40 IRSB* bb, 45 return bb;
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
MultiTouchActivity.java | 167 ByteBuffer bb = null; local 178 bb = ByteBuffer.allocate( 180 bb.order(h.getEndian()); 182 mImageView.constructEventMessage(bb, event, n); 189 bb = ByteBuffer.allocate(ProtocolConstants.MT_EVENT_ENTRY_SIZE); 190 bb.order(h.getEndian()); 191 mImageView.constructEventMessage(bb, event, action_pid_index); 197 bb = ByteBuffer.allocate(ProtocolConstants.MT_EVENT_ENTRY_SIZE); 198 bb.order(h.getEndian()); 199 bb.putInt(event.getPointerId(action_pid_index)) 272 final ByteBuffer bb = ByteBuffer.wrap(array); local [all...] |
/external/elfutils/tests/ |
run-get-lines.sh | 34 804842c: /home/drepper/gnu/new-bu/build/ttt/m.c:5:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 35 8048432: /home/drepper/gnu/new-bu/build/ttt/m.c:6:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 36 804844d: /home/drepper/gnu/new-bu/build/ttt/m.c:7:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 37 8048458: /home/drepper/gnu/new-bu/build/ttt/m.c:8:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 38 804845a: /home/drepper/gnu/new-bu/build/ttt/m.c:8:0: is_stmt:yes, end_seq:yes, bb:no, prologue:no, epilogue:no 41 804845c: /home/drepper/gnu/new-bu/build/ttt/b.c:4:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 42 804845f: /home/drepper/gnu/new-bu/build/ttt/b.c:5:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 43 8048464: /home/drepper/gnu/new-bu/build/ttt/b.c:6:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 44 8048466: /home/drepper/gnu/new-bu/build/ttt/b.c:6:0: is_stmt:yes, end_seq:yes, bb:no, prologue:no, epilogue:no 47 8048468: /home/drepper/gnu/new-bu/build/ttt/f.c:3:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:n [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
EditListBox.java | 131 public Entry(EditListBox editListBox, ByteBuffer bb) { 133 segmentDuration = IsoTypeReader.readUInt64(bb); 134 mediaTime = IsoTypeReader.readUInt64(bb); 135 mediaRate = IsoTypeReader.readFixedPoint1616(bb); 137 segmentDuration = IsoTypeReader.readUInt32(bb); 138 mediaTime = IsoTypeReader.readUInt32(bb); 139 mediaRate = IsoTypeReader.readFixedPoint1616(bb); 228 public void getContent(ByteBuffer bb) { 230 IsoTypeWriter.writeUInt64(bb, segmentDuration); 231 IsoTypeWriter.writeUInt64(bb, mediaTime) [all...] |
/external/openssh/ |
ssh-ecdsa.c | 55 Buffer b, bb; local 75 buffer_init(&bb); 76 buffer_put_bignum2(&bb, sig->r); 77 buffer_put_bignum2(&bb, sig->s); 82 buffer_put_string(&b, buffer_ptr(&bb), buffer_len(&bb)); 83 buffer_free(&bb); 105 Buffer b, bb; local 142 buffer_init(&bb); 143 buffer_append(&bb, sigblob, len) [all...] |
/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();
|
/art/compiler/dex/ |
mir_graph.cc | 180 BasicBlock *bb = successor_block_info->block; local 181 bb->predecessors->Delete(orig_block); 182 bb->predecessors->Insert(bottom_block); 211 BasicBlock* bb; local 224 bb = block_list_.Get(i); 225 if (bb->block_type != kDalvikByteCode) continue; 227 if ((code_offset > bb->start_offset) && (bb->last_mir_insn != NULL) && 228 (code_offset <= bb->last_mir_insn->offset)) { 229 BasicBlock *new_bb = SplitBlock(code_offset, bb, bb == *immed_pred_block_p 729 BasicBlock *bb = GetBasicBlock(block_idx); local 1075 BasicBlock* bb; local 1143 BasicBlock* bb = static_cast<BasicBlock*>(arena_->Alloc(sizeof(BasicBlock), local [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
ClientKeyExchange.java | 68 byte[] bb = dh_Yc.toByteArray(); 69 if (bb[0] == 0) { 70 exchange_keys = new byte[bb.length-1]; 71 System.arraycopy(bb, 1, exchange_keys, 0, exchange_keys.length); 73 exchange_keys = bb;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
BufferSubDataTransform.java | 49 ByteBuffer bb = ByteBuffer.wrap(mNewData); local 52 bb.put(mOldData); 53 bb.rewind(); 56 bb.position(mOffset); 57 bb.put(mSubData);
|
/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...] |