/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ExtensionProfileLevelDescriptor.java | 36 public void parseDetail(ByteBuffer bb) throws IOException {
39 bb.get(bytes);
|
DecoderConfigDescriptor.java | 63 public void parseDetail(ByteBuffer bb) throws IOException {
64 objectTypeIndication = IsoTypeReader.readUInt8(bb);
66 int data = IsoTypeReader.readUInt8(bb);
70 bufferSizeDB = IsoTypeReader.readUInt24(bb);
71 maxBitRate = IsoTypeReader.readUInt32(bb);
72 avgBitRate = IsoTypeReader.readUInt32(bb);
77 if (bb.remaining() > 2) { //1byte tag + at least 1byte size
78 final int begin = bb.position();
79 descriptor = ObjectDescriptorFactory.createFrom(objectTypeIndication, bb);
80 final int read = bb.position() - begin; [all...] |
/external/valgrind/none/ |
nl_main.c | 40 IRSB* bb, 46 return bb;
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug184.go | 37 bb, ok := b.(*Buffer) 38 _, _, _ = b, bb, ok 41 bb, ok = b.(*Buffer) 42 _, _, _ = b, bb, ok
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug184.go | 37 bb, ok := b.(*Buffer) 38 _, _, _ = b, bb, ok 41 bb, ok = b.(*Buffer) 42 _, _, _ = b, bb, ok
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_bb.cpp | 97 BasicBlock *bb = new BasicBlock(pol.context()); local 99 pol.set(this, bb); 102 bb->insertTail(i->clone(pol)); 104 pol.context()->cfg.insert(&bb->cfg); 108 bb->cfg.attach(&pol.get(obb)->cfg, it.getType()); 111 return bb; 135 inst->bb = this; 148 inst->bb = this; 170 inst->bb = this; 179 inst->bb = this 332 BasicBlock *bb = new BasicBlock(func); local 345 BasicBlock *bb = new BasicBlock(func); local 422 BasicBlock *bb = local 484 BasicBlock *bb; local 521 BasicBlock *bb = BasicBlock::get( local [all...] |
/external/valgrind/drd/ |
drd_load_store.c | 312 static Bool is_stack_access(IRSB* const bb, IRExpr* const addr_expr) 319 for (i = 0; i < bb->stmts_used; i++) 321 if (bb->stmts[i] 322 && bb->stmts[i]->tag == Ist_WrTmp 323 && bb->stmts[i]->Ist.WrTmp.tmp == addr_expr->Iex.RdTmp.tmp) 325 IRExpr* e = bb->stmts[i]->Ist.WrTmp.data; 350 static IRExpr* instr_trace_mem_load(IRSB* const bb, IRExpr* addr_expr, 356 tmp = newIRTemp(bb->tyenv, typeOfIRExpr(bb->tyenv, addr_expr)); 357 addStmtToIRSB(bb, IRStmt_WrTmp(tmp, addr_expr)) 601 IRSB* bb; local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fSSBOLayoutCase.hpp | 42 namespace bb namespace in namespace:deqp::gles31 142 } // bb 161 bool compareStdBlocks (const bb::BufferLayout& refLayout, const bb::BufferLayout& cmpLayout) const; 162 bool compareSharedBlocks (const bb::BufferLayout& refLayout, const bb::BufferLayout& cmpLayout) const; 163 bool compareTypes (const bb::BufferLayout& refLayout, const bb::BufferLayout& cmpLayout) const; 164 bool checkLayoutIndices (const bb::BufferLayout& layout) const; 165 bool checkLayoutBounds (const bb::BufferLayout& layout) const [all...] |
/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...] |
/libcore/ojluni/src/main/java/sun/nio/cs/ |
StreamDecoder.java | 226 private ByteBuffer bb; field in class:StreamDecoder 248 bb = ByteBuffer.allocateDirect(DEFAULT_BYTE_BUFFER_SIZE); 253 bb = ByteBuffer.allocate(DEFAULT_BYTE_BUFFER_SIZE); 255 bb.flip(); // So that bb is initially empty 263 this.bb = ByteBuffer.allocate(mbc < 0 268 bb.flip(); 272 bb.compact(); 278 int n = sun.nio.ch.ChannelInputStream.read(ch, bb); 283 int lim = bb.limit() [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
IOUtil.java | 58 ByteBuffer bb = Util.getTemporaryDirectBuffer(rem); local 60 bb.put(src); 61 bb.flip(); 65 int n = writeFromNativeBuffer(fd, bb, position, nd); 72 Util.offerFirstTemporaryDirectBuffer(bb); 76 private static int writeFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, 80 int pos = bb.position(); 81 int lim = bb.limit(); 90 ((DirectBuffer)bb).address() + pos, 93 written = nd.write(fd, ((DirectBuffer)bb).address() + pos, rem) [all...] |
/external/valgrind/callgrind/ |
bbcc.c | 40 /* BBCC table (key is BB/Context), per thread, resizable */ 89 CLG_DEBUG(1, " zero_bbcc: BB %#lx, Cxt %u " 91 bb_addr(bbcc->bb), 99 for(i=0;i<bbcc->bb->cost_count;i++) 101 for(i=0;i <= bbcc->bb->cjmp_count;i++) { 136 * - address of BB structure (unique, as never freed) 141 * counters to be changed in the execution of a BB. 145 UInt bbcc_hash_idx(BB* bb, Context* cxt, UInt size) 147 CLG_ASSERT(bb != 0) [all...] |
/art/test/005-annotations/src/android/test/anno/ |
AnnoArrayField.java | 11 byte[] bb() default {};
|
/external/compiler-rt/make/test/ |
test-util.mk | 11 streq_t4 = $(call streq,bb,b) 13 streq_t5 = $(call streq,b,bb) 15 streq_t6 = $(call streq,bb,bb) 26 strneq_t11 = $(call strneq,bb,b) 28 strneq_t12 = $(call strneq,b,bb) 30 strneq_t13 = $(call strneq,bb,bb)
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
UnknownEntry.java | 52 ByteBuffer bb = content.duplicate(); local 53 bb.rewind(); 54 byte[] b = new byte[bb.limit()]; 55 bb.get(b);
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
AbstractUserDefinedFileAttributeView.java | 66 ByteBuffer bb; local 68 bb = ByteBuffer.wrap((byte[])value); 70 bb = (ByteBuffer)value; 72 write(attribute, bb);
|
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/opt/ |
function.cpp | 24 for (auto& bb : blocks_) bb->ForEachInst(f, run_on_debug_line_insts); 38 for (const auto& bb : blocks_) 39 static_cast<const BasicBlock*>(bb.get())
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractStreamingHashFunction.java | 122 protected abstract void process(ByteBuffer bb); 132 protected void processRemaining(ByteBuffer bb) { 133 bb.position(bb.limit()); // move at the end 134 bb.limit(chunkSize + 7); // get ready to pad with longs 135 while (bb.position() < chunkSize) { 136 bb.putLong(0); 138 bb.limit(chunkSize); 139 bb.flip(); 140 process(bb); [all...] |
/external/flatbuffers/tests/MyGame/Example/ |
Monster.java | 18 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; } 22 public Vec3 pos(Vec3 obj) { int o = __offset(4); return o != 0 ? obj.__assign(o + bb_pos, bb) : null; } 23 public short mana() { int o = __offset(6); return o != 0 ? bb.getShort(o + bb_pos) : 150; } 24 public boolean mutateMana(short mana) { int o = __offset(6); if (o != 0) { bb.putShort(o + bb_pos, mana); return true; } else { return false; } } 25 public short hp() { int o = __offset(8); return o != 0 ? bb.getShort(o + bb_pos) : 100; } 26 public boolean mutateHp(short hp) { int o = __offset(8); if (o != 0) { bb.putShort(o + bb_pos, hp); return true; } else { return false; } } 29 public int inventory(int j) { int o = __offset(14); return o != 0 ? bb.get(__vector(o) + j * 1) & 0xFF : 0; } 32 public boolean mutateInventory(int j, int inventory) { int o = __offset(14); if (o != 0) { bb.put(__vector(o) + j * 1, (byte)inventory); return true; } else { return false; } } 33 public byte color() { int o = __offset(16); return o != 0 ? bb.get(o + bb_pos) : 8; } 34 public boolean mutateColor(byte color) { int o = __offset(16); if (o != 0) { bb.put(o + bb_pos, color); return true; } else { return false; } [all...] |
Stat.java | 14 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; } 19 public long val() { int o = __offset(6); return o != 0 ? bb.getLong(o + bb_pos) : 0L; } 20 public boolean mutateVal(long val) { int o = __offset(6); if (o != 0) { bb.putLong(o + bb_pos, val); return true; } else { return false; } } 21 public int count() { int o = __offset(8); return o != 0 ? bb.getShort(o + bb_pos) & 0xFFFF : 0; } 22 public boolean mutateCount(int count) { int o = __offset(8); if (o != 0) { bb.putShort(o + bb_pos, (short)count); return true; } else { return false; } }
|
/external/flatbuffers/tests/namespace_test/NamespaceA/ |
TableInFirstNS.java | 14 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; } 18 public NamespaceA.NamespaceB.TableInNestedNS fooTable(NamespaceA.NamespaceB.TableInNestedNS obj) { int o = __offset(4); return o != 0 ? obj.__assign(__indirect(o + bb_pos), bb) : null; } 19 public byte fooEnum() { int o = __offset(6); return o != 0 ? bb.get(o + bb_pos) : 0; } 20 public boolean mutateFooEnum(byte foo_enum) { int o = __offset(6); if (o != 0) { bb.put(o + bb_pos, foo_enum); return true; } else { return false; } } 22 public NamespaceA.NamespaceB.StructInNestedNS fooStruct(NamespaceA.NamespaceB.StructInNestedNS obj) { int o = __offset(8); return o != 0 ? obj.__assign(o + bb_pos, bb) : null; }
|
/external/selinux/libsepol/src/ |
kernel_to_common.c | 246 char *const *bb = b; local 247 return strcmp(*aa,*bb); 447 struct ocontext *const *bb = b; local 449 if ((*aa)->v.behavior != (*bb)->v.behavior) { 450 if ((*aa)->v.behavior < (*bb)->v.behavior) { 457 return strcmp((*aa)->u.name, (*bb)->u.name); 463 struct ocontext *const *bb = b; local 467 (*bb)->u.port.low_port, (*bb)->u.port.high_port); 469 if ((*aa)->u.port.protocol == (*bb)->u.port.protocol) 484 struct ocontext *const *bb = b; local 492 struct ocontext *const *bb = b; local 508 struct ocontext *const *bb = b; local 525 struct ocontext *const *bb = b; local 539 struct ocontext *const *bb = b; local 551 struct ocontext *const *bb = b; local 565 struct ocontext *const *bb = b; local 574 struct ocontext *const *bb = b; local 583 struct ocontext *const *bb = b; local 597 struct ocontext *const *bb = b; local [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
TextSampleEntry.java | 234 public void getContent(ByteBuffer bb) { 235 IsoTypeWriter.writeUInt16(bb, top); 236 IsoTypeWriter.writeUInt16(bb, left); 237 IsoTypeWriter.writeUInt16(bb, bottom); 238 IsoTypeWriter.writeUInt16(bb, right); 287 public void getContent(ByteBuffer bb) { 288 IsoTypeWriter.writeUInt16(bb, startChar); 289 IsoTypeWriter.writeUInt16(bb, endChar); 290 IsoTypeWriter.writeUInt16(bb, fontId); 291 IsoTypeWriter.writeUInt8(bb, faceStyleFlags) [all...] |
/external/valgrind/coregrind/ |
m_translate.c | 292 /* Set up BB */ 293 IRSB* bb = emptyIRSB(); local 294 bb->tyenv = deepCopyIRTypeEnv(sb_in->tyenv); 295 bb->next = deepCopyIRExpr(sb_in->next); 296 bb->jumpkind = sb_in->jumpkind; 297 bb->offsIP = sb_in->offsIP; 354 addStmtToIRSB( bb, IRStmt_Dirty(dcall) ); \ 384 addStmtToIRSB( bb, IRStmt_Dirty(dcall) ); \ 412 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP ); 414 addStmtToIRSB( bb, st ) [all...] |
/external/mesa3d/src/gallium/drivers/r600/sb/ |
sb_bc_builder.cpp | 34 : sh(s), ctx(s.get_ctx()), bb(ctx.hw_class_bit()), error(0) {} 59 bb.set_size(cf_cnt << 1); 60 bb.seek(cf_cnt << 1); 71 bb.seek(bb.ndw()); 72 cf->bc.addr = bb.ndw() >> 1; 74 cf->bc.count = (bb.ndw() >> 1) - cf->bc.addr - 1; 76 bb.align(4); 77 bb.seek(bb.ndw()) [all...] |