HomeSort by relevance Sort by last modified time
    Searched refs:Block (Results 1 - 25 of 130) sorted by null

1 2 3 4 5 6

  /external/skia/include/core/
SkChunkAlloc.h 50 success, the number of bytes freed is returned, or 0 if the block could
67 struct Block;
68 Block* fBlock;
70 Block* fPool;
73 Block* newBlock(size_t bytes, AllocFailType ftype);
SkWriter32.h 40 * Returns the single block backing the writer, or NULL if the memory is
46 * Specify the single block to back the writer, rathern than dynamically
47 * allocating the memory. If block == NULL, then the writer reverts to
50 void reset(void* block, size_t size);
96 // if we could query how much is avail in the current block, we might
98 // in the current block
145 struct Block;
146 Block* fHead;
147 Block* fTail;
149 Block* newBlock(size_t bytes)
    [all...]
SkStream.h 298 struct Block;
299 Block* fHead;
300 Block* fTail;
  /external/skia/src/core/
SkChunkAlloc.cpp 20 struct SkChunkAlloc::Block {
21 Block* fNext;
31 Block* block = this; local
32 while (block) {
33 Block* next = block->fNext;
34 sk_free(block);
35 block = next;
39 Block* tail()
40 Block* block = this; local
86 Block* block = fPool; local
113 Block* block = fBlock; local
134 Block* block = fBlock; local
148 const Block* block = fBlock; local
    [all...]
SkWriter32.cpp 3 struct SkWriter32::Block {
4 Block* fNext;
27 static Block* Create(size_t size) {
29 Block* block = (Block*)sk_malloc_throw(sizeof(Block) + size); local
30 block->fNext = NULL;
31 block->fSize = size;
32 block->fAllocated = 0
44 Block* block = fHead; local
73 Block* block = fTail; local
97 Block* block = fHead; local
114 const Block* block = fHead; local
178 const Block* block = fHead; local
    [all...]
  /external/skia/gpu/src/
GrAllocPool.cpp 22 struct GrAllocPool::Block {
23 Block* fNext;
28 static Block* Create(size_t size, Block* next) {
31 Block* block = (Block*)GrMalloc(sizeof(Block) + size); local
32 block->fNext = next;
33 block->fPtr = (char*)block + sizeof(Block)
77 Block* block = fBlock; local
116 Block* block = fBlock; local
    [all...]
  /external/skia/gpu/include/
GrAllocPool.h 34 * Returns a block of memory bytes size big. This address must not be
46 struct Block;
48 Block* fBlock;
  /external/clang/test/PCH/
types.h 16 typedef int (^Block)(int, float);
types.c 29 void test_block_ptr(Block *bl) {
  /external/clang/lib/Analysis/
ReachableCode.cpp 44 void enqueue(const CFGBlock *block);
48 bool isDeadCodeRoot(const CFGBlock *Block);
50 const Stmt *findDeadCode(const CFGBlock *Block);
57 void DeadCodeScan::enqueue(const CFGBlock *block) {
58 unsigned blockID = block->getBlockID();
62 WorkList.push_back(block);
65 bool DeadCodeScan::isDeadCodeRoot(const clang::CFGBlock *Block) {
68 for (CFGBlock::const_pred_iterator I = Block->pred_begin(),
69 E = Block->pred_end(); I != E; ++I) {
96 const Stmt *DeadCodeScan::findDeadCode(const clang::CFGBlock *Block) {
170 const CFGBlock *block = I->first; local
316 const CFGBlock *block = *I; local
    [all...]
CFG.cpp 43 /// subexpressions as block-level expressions. For example:
48 /// need to be added as block-level expressions, even though they
52 /// block-level expression.
207 BlockScopePosPair() : block(0) {}
209 : block(b), scopePosition(scopePos) {}
211 CFGBlock *block; member in struct:__anon4252::BlockScopePosPair
244 /// the AST in reverse order so that the successor of a basic block is
255 CFGBlock *Block;
293 Block(NULL), Succ(NULL),
372 return Block;
    [all...]
  /external/stlport/test/eh/
nc_alloc.cpp 118 if (s <= sizeof(Block)) {
131 Block* b = (Block*)p;
139 struct Block;
140 friend struct Block;
151 struct Block {
153 Block *next;
159 static Block* mBlocks;
160 static Block *mFree;
164 FastAllocator::Block *FastAllocator::mBlocks
    [all...]
  /external/valgrind/main/coregrind/
m_mallocfree.c 72 /* Layout of an in-use block:
75 this block total szB (sizeof(SizeT) bytes)
79 this block total szB (sizeof(SizeT) bytes)
81 Layout of a block on the free list:
84 this block total szB (sizeof(SizeT) bytes)
90 this block total szB (sizeof(SizeT) bytes)
102 block for arenas used by the core is:
115 Furthermore, both size fields in the block have their least-significant
116 bit set if the block is not in use, and unset if it is in use.
118 A block size of zero is not possible, because a block always has a
    [all...]
  /external/llvm/lib/CodeGen/
BranchFolding.h 35 MachineBasicBlock *Block;
38 : Hash(h), Block(b) {}
41 MachineBasicBlock *getBlock() const { return Block; }
44 Block = MBB;
  /external/llvm/lib/CodeGen/AsmPrinter/
DwarfCompileUnit.cpp 102 /// addBlock - Add block data.
105 DIEBlock *Block) {
106 Block->ComputeSize(Asm);
107 DIEBlocks.push_back(Block); // Memoize so we can call the destructor later on.
108 Die->addValue(Attribute, Block->BestForm(), Block);
244 DIEBlock *Block = new (DIEValueAllocator) DIEBlock();
247 addRegisterOp(Block, Location.getReg());
249 addRegisterOffset(Block, Location.getReg(), Location.getOffset());
252 addBlock(Die, Attribute, 0, Block);
    [all...]
  /external/antlr/src/org/antlr/runtime/
SerializedGrammar.java 49 Block block; field in class:SerializedGrammar.Rule
50 public Rule(String name, Block block) {
52 this.block = block;
55 return name+":"+block;
59 class Block {
61 public Block(List[] alts) {
127 Block b = readBlock(in)
    [all...]
  /external/clang/include/clang/Sema/
ScopeInfo.h 45 /// \brief Retains information about a function, method, or block that is
51 /// a block.
64 /// \brief Used to determine if errors occurred in this function or block.
68 /// block.
72 /// block, if there is any chance of applying the named return value
114 /// \brief Retains information about a block that is currently being parsed.
119 /// TheScope - This is the scope for the block itself, which contains
123 /// ReturnType - The return type of the block, or null if the block
127 /// BlockType - The function type of the block, if one was given
    [all...]
  /external/v8/src/
ast-inl.h 45 Block::Block(ZoneStringList* labels, int capacity, bool is_initializer_block)
  /external/libvpx/mkvparser/
mkvparser.hpp 67 class Block
69 Block(const Block&);
70 Block& operator=(const Block&);
76 Block(long long start, long long size, IMkvReader*);
77 ~Block();
119 virtual const Block* GetBlock() const = 0;
139 const Block* GetBlock() const;
145 Block m_block;
    [all...]
  /external/clang/include/clang/Analysis/
AnalysisContext.h 200 enum ContextKind { StackFrame, Scope, Block };
267 // The parent block of the callsite.
268 const CFGBlock *Block;
278 Block(blk), Index(idx) {}
285 const CFGBlock *getCallSiteBlock() const { return Block; }
336 : LocationContext(Block, ctx, parent), BD(bd) {}
347 ProfileCommon(ID, Block, ctx, parent, bd);
351 return Ctx->getKind() == Block;
  /external/clang/lib/CodeGen/
CGCleanup.h 108 void setCachedLandingPad(llvm::BasicBlock *block) {
109 CachedLandingPad = block;
116 void setCachedEHDispatchBlock(llvm::BasicBlock *block) {
117 CachedEHDispatchBlock = block;
121 if (llvm::BasicBlock *block = getCachedEHDispatchBlock())
122 return !block->use_empty();
149 llvm::BasicBlock *Block;
180 void setCatchAllHandler(unsigned I, llvm::BasicBlock *Block) {
181 setHandler(I, /*catchall*/ 0, Block);
184 void setHandler(unsigned I, llvm::Value *Type, llvm::BasicBlock *Block) {
    [all...]
CGBlocks.h 10 // This is the internal state used for llvm translation for block literals.
84 block, ... */
85 BLOCK_FIELD_IS_BLOCK = 0x07, /* a block variable */
109 /// or block pointer that requires _Block_object_assign/dispose.
127 /// CGBlockInfo - Information to generate a block literal.
130 /// Name - The name of the block, kindof.
133 /// The field index of 'this' within the block, if there is one.
161 /// The mapping of allocated indexes within the block.
164 /// CanBeGlobal - True if the block can be global, i.e. it has
168 /// True if the block needs a custom copy or dispose function
    [all...]
  /sdk/traceview/src/com/android/traceview/
Call.java 21 class Call implements TimeLineView.Block {
117 public TimeLineView.Block getParentBlock() {
  /external/valgrind/main/memcheck/tests/
unit_oset.c 343 Block;
349 Block* b = (Block*)p;
357 const Block* elem = (const Block*)velem;
369 Block* vs[NN];
370 Block v, prev;
371 Block *pv;
375 OSet* oset = VG_(OSetGen_Create)(offsetof(Block, first),
389 vs[i] = VG_(OSetGen_AllocNode)(oset, sizeof(Block));
    [all...]
  /external/valgrind/main/memcheck/
mc_errors.c 75 Addr_Block, // in malloc'd/free'd block
102 Char* block_desc; // "block", "mempool" or user-defined
106 } Block;
224 // Program tried to free() something that's not a heap block (this
230 // Program allocates heap block with one function
238 Addr src; // Source block
239 Addr dst; // Destination block
322 SizeT block_szB = ai->Addr.Block.block_szB;
323 PtrdiffT rwoffset = ai->Addr.Block.rwoffset;
340 a, delta, relative, ai->Addr.Block.block_desc
    [all...]

Completed in 5041 milliseconds

1 2 3 4 5 6