Home
last modified time | relevance | path

Searched refs:Block (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Darena.cc66 GOOGLE_CHECK_GE(options_.initial_block_size, sizeof(Block)) in Init()
70 Block* first_block = reinterpret_cast<Block*>(options_.initial_block); in Init()
118 Arena::Block* Arena::NewBlock(void* me, Block* my_last_block, size_t n, in NewBlock()
133 Block* b = reinterpret_cast<Block*>(options_.block_alloc(size)); in NewBlock()
146 void Arena::AddBlock(Block* b) { in AddBlock()
151 void Arena::AddBlockInternal(Block* b) { in AddBlockInternal()
152 b->next = reinterpret_cast<Block*>(google::protobuf::internal::NoBarrier_Load(&blocks_)); in AddBlockInternal()
194 Block* b = reinterpret_cast<Block*>(google::protobuf::internal::Acquire_Load(&hint_)); in AllocateAligned()
201 void* Arena::AllocFromBlock(Block* b, size_t n) { in AllocFromBlock()
212 Block* b = FindBlock(me); // Find block owned by me. in SlowAlloc()
[all …]
Darena.h530 struct Block { struct
533 Block* next; // Next block in arena (may have different owner) argument
551 Block* last_block_used_; argument
554 static const size_t kHeaderSize = sizeof(Block);
874 inline void SetThreadCacheBlock(Block* block) { in SetThreadCacheBlock()
898 void AddBlock(Block* b);
901 void AddBlockInternal(Block* b);
903 Block* FindBlock(void* me);
904 Block* NewBlock(void* me, Block* my_last_block, size_t n,
906 static void* AllocFromBlock(Block* b, size_t n);
/frameworks/base/tools/aapt2/util/
DBigBuffer.cpp29 Block& block = blocks_.back(); in NextBlockImpl()
40 Block block = {}; in NextBlockImpl()
56 Block& block = blocks_.back(); in NextBlock()
68 Block block = {}; in NextBlock()
81 for (const Block& block : blocks_) { in to_string()
DBigBuffer.h42 struct Block { struct
63 typedef std::vector<Block>::const_iterator const_iterator; argument
133 std::vector<Block> blocks_;
157 Block& block = blocks_.back(); in BackUp()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyBuilder.java89 public IRubyObject addMessage(ThreadContext context, IRubyObject name, Block block) { in addMessage()
90 RubyDescriptor msgdef = (RubyDescriptor) cDescriptor.newInstance(context, Block.NULL_BLOCK); in addMessage()
91 … IRubyObject ctx = cMessageBuilderContext.newInstance(context, msgdef, this, Block.NULL_BLOCK); in addMessage()
117 public IRubyObject addEnum(ThreadContext context, IRubyObject name, Block block) { in addEnum()
118 …umDescriptor enumDef = (RubyEnumDescriptor) cEnumDescriptor.newInstance(context, Block.NULL_BLOCK); in addEnum()
119 IRubyObject ctx = cEnumBuilderContext.newInstance(context, enumDef, Block.NULL_BLOCK); in addEnum()
DRubyMessageBuilderContext.java40 import org.jruby.runtime.Block;
161 … RubyDescriptor mapentryDesc = (RubyDescriptor) cDescriptor.newInstance(context, Block.NULL_BLOCK); in map()
167 …escriptor keyField = (RubyFieldDescriptor) cFieldDescriptor.newInstance(context, Block.NULL_BLOCK); in map()
175 …criptor valueField = (RubyFieldDescriptor) cFieldDescriptor.newInstance(context, Block.NULL_BLOCK); in map()
192 public IRubyObject oneof(ThreadContext context, IRubyObject name, Block block) { in oneof()
194 cOneofDescriptor.newInstance(context, Block.NULL_BLOCK); in oneof()
196 cOneofBuilderContext.newInstance(context, oneofdef, Block.NULL_BLOCK); in oneof()
DRubyDescriptorPool.java58 … = (RubyDescriptorPool) cDescriptorPool.newInstance(runtime.getCurrentContext(), Block.NULL_BLOCK); in createRubyDescriptorPool()
74 public IRubyObject build(ThreadContext context, Block block) { in build()
75 RubyBuilder ctx = (RubyBuilder) cBuilder.newInstance(context, Block.NULL_BLOCK); in build()
DRubyMap.java42 import org.jruby.runtime.Block;
283 public IRubyObject each(ThreadContext context, Block block) { in each()
370 RubyMessage mapMessage = (RubyMessage) rubyClass.newInstance(context, Block.NULL_BLOCK); in build()
409 valueTypeClass, Block.NULL_BLOCK); in newThisType()
414 Block.NULL_BLOCK); in newThisType()
DRubyMessage.java38 import org.jruby.runtime.Block;
221 … return Helpers.invokeSuper(context, this, metaClass, "method_missing", args, Block.NULL_BLOCK); in methodMissing()
241 … return Helpers.invokeSuper(context, this, metaClass, "method_missing", args, Block.NULL_BLOCK); in methodMissing()
254 RubyMessage dup = (RubyMessage) metaClass.newInstance(context, Block.NULL_BLOCK); in dup()
307 RubyMessage ret = (RubyMessage) ((RubyClass) recv).newInstance(context, Block.NULL_BLOCK); in decode()
339 RubyMessage ret = (RubyMessage) ((RubyClass) recv).newInstance(context, Block.NULL_BLOCK); in decodeJson()
402 RubyMessage copy = (RubyMessage) metaClass.newInstance(context, Block.NULL_BLOCK); in deepCopy()
564 RubyMessage msg = (RubyMessage) typeClass.newInstance(context, Block.NULL_BLOCK); in wrapField()
622 … RubyMessage kvMessage = (RubyMessage) kvClass.newInstance(context, Block.NULL_BLOCK); in getField()
746 rubyDescriptor.msgclass(context), Block.NULL_BLOCK); in newMapForField()
[all …]
DRubyDescriptor.java40 import org.jruby.runtime.Block;
161 public IRubyObject each(ThreadContext context, Block block) { in each()
198 public IRubyObject eachOneof(ThreadContext context, Block block) { in eachOneof()
DRubyOneofDescriptor.java11 import org.jruby.runtime.Block;
98 public IRubyObject each(ThreadContext context, Block block) { in each()
DRubyEnumDescriptor.java44 import org.jruby.runtime.Block;
131 public IRubyObject each(ThreadContext context, Block block) { in each()
DUtils.java43 import org.jruby.runtime.Block;
239 …escriptor fieldDef = (RubyFieldDescriptor) cFieldDescriptor.newInstance(context, Block.NULL_BLOCK); in msgdefCreateField()
DRubyRepeatedField.java39 import org.jruby.runtime.Block;
302 public IRubyObject each(ThreadContext context, Block block) { in each()
/frameworks/base/cmds/incident_helper/src/parsers/
DPageTypeInfoParser.cpp36 Table table(PageTypeInfoProto::Block::_FIELD_NAMES, in Parse()
37 PageTypeInfoProto::Block::_FIELD_IDS, in Parse()
38 PageTypeInfoProto::Block::_FIELD_COUNT); in Parse()
93 proto.write(PageTypeInfoProto::Block::NODE, toInt(record[0])); in Parse()
98 proto.write(PageTypeInfoProto::Block::ZONE, blockCounts[0]); in Parse()
/frameworks/rs/rsov/compiler/spirit/
Dbuilder.cpp48 Block *Builder::MakeBlock() { return new Block(this); } in MakeBlock()
Dvisitor.h32 class Block; variable
50 virtual void visit(Block *) = 0;
70 virtual void visit(Block *b);
Dmodule.h466 class Block : public Entity {
468 Block() {} in Block() function
469 Block(Builder *b) : Entity(b) {} in Block() function
471 virtual ~Block() {} in ~Block()
481 Block *addInstruction(Instruction *inst) { in addInstruction()
511 FunctionDefinition *addBlock(Block *b) { in addBlock()
524 std::vector<Block *> mBlocks;
528 ContainerDeleter<std::vector<Block *>> mBlocksDeleter;
Dbuilder.h36 Block *MakeBlock();
Dvisitor.cpp41 void DoNothingVisitor::visit(Block *b) { b->accept(this); } in visit()
/frameworks/base/cmds/incident_helper/tests/
DPageTypeInfoParser_test.cpp78 PageTypeInfoProto::Block* block1 = expected.add_blocks(); in TEST_F()
89 PageTypeInfoProto::Block* block2 = expected.add_blocks(); in TEST_F()
/frameworks/opt/gamesdk/third_party/cube/app/src/main/cpp/include/
Dcube.vert.h41 Decorate 15(buf) Block
46 Decorate 26(gl_PerVertex) Block
/frameworks/base/core/proto/android/os/
Dpagetypeinfo.proto65 message Block { message
87 repeated Block blocks = 4;
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp112 const mkvparser::Block *block() const;
568 const mkvparser::Block *BlockIterator::block() const { in block()
783 const mkvparser::Block *block = mBlockIter.block(); in readBlock()
789 const mkvparser::Block::Frame &frame = block->GetFrame(i); in readBlock()
1654 const mkvparser::Block *block = iter.block(); in synthesizeAVCC()
1659 const mkvparser::Block::Frame &frame = block->GetFrame(0); in synthesizeAVCC()
1682 const mkvparser::Block *block = iter.block(); in synthesizeMPEG2()
1687 const mkvparser::Block::Frame &frame = block->GetFrame(0); in synthesizeMPEG2()
1727 const mkvparser::Block *block = iter.block(); in synthesizeMPEG4()
1732 const mkvparser::Block::Frame &frame = block->GetFrame(0); in synthesizeMPEG4()
/frameworks/av/media/codec2/hidl/1.0/utils/
Dtypes.cpp780 bool objcpy(Block* d, const C2ConstLinearBlock& s, in objcpy()
812 bool objcpy(Block* d, const C2ConstGraphicBlock& s, in objcpy()
855 Block& dBlock = d->blocks[i++]; in objcpy()
865 Block& dBlock = d->blocks[i++]; in objcpy()
1263 const Block &sBlock = s.blocks[0]; in objcpy()

12