Searched refs:block (Results 101 - 125 of 1927) sorted by relevance

1234567891011>>

/external/chromium_org/gpu/command_buffer/client/
H A Dring_buffer.cc37 Block& block = blocks_.front(); local
38 DCHECK(block.state != IN_USE)
40 if (block.state == FREE_PENDING_TOKEN) {
41 helper_->WaitForToken(block.token);
43 in_use_offset_ += block.size;
58 << "Attempt to alloc another block before freeing the previous.";
94 Block& block = *it; local
95 if (block.offset == offset) {
96 DCHECK(block.state == IN_USE)
97 << "block tha
109 Block& block = blocks_.front(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8BindingMacros.h43 v8::TryCatch block; \
45 if (UNLIKELY(block.HasCaught())) \
46 return block.ReThrow(); \
51 if (UNLIKELY(block.HasCaught())) \
57 v8::TryCatch block; \
58 V8RethrowTryCatchScope rethrow(block); \
65 v8::TryCatch block; \
67 if (UNLIKELY(block.HasCaught())) { \
68 block.ReThrow(); \
77 if (UNLIKELY(block
[all...]
/external/yaffs2/yaffs2/direct/
H A Dyaffs_ramdisk.c47 yramdisk_Page page[32]; // The pages in the block
55 yramdisk_Block **block; member in struct:__anon34301
80 ramdisk.block = YMALLOC(sizeof(yramdisk_Block *) * ramdisk.nBlocks);
82 if(!ramdisk.block) return 0;
86 ramdisk.block[i] = NULL;
91 if((ramdisk.block[i] = YMALLOC(sizeof(yramdisk_Block))) == 0)
106 YFREE(ramdisk.block[i]);
108 YFREE(ramdisk.block);
133 memcpy(ramdisk.block[blk]->page[pg].data,data,512);
142 memcpy(&ramdisk.block[bl
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rtasm/
H A Drtasm_execmem.c55 * Allocate a large block of memory which can hold code then dole it out
87 struct mem_block *block = NULL; local
96 block = u_mmAllocMem( exec_heap, size, 5, 0 ); /* 5 -> 32-byte alignment */
99 if (block)
100 addr = exec_mem + block->ofs;
116 struct mem_block *block = u_mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); local
118 if (block)
119 u_mmFreeMem(block);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dmemory_pool.c47 struct memory_block * block = pool->blocks; local
48 pool->blocks = block->next;
49 free(block);
88 struct memory_block * block = (struct memory_block*)malloc(bytes + sizeof(struct memory_block)); local
90 block->next = pool->blocks;
91 pool->blocks = block;
93 return (block + 1);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dexecmem.c42 * Allocate a large block of memory which can hold code then dole it out
93 struct mem_block *block = NULL; local
103 block = mmAllocMem( exec_heap, size, 32, 0 );
106 if (block)
107 addr = exec_mem + block->ofs;
124 struct mem_block *block = mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); local
126 if (block)
127 mmFreeMem(block);
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dlmem.c29 ** * frealloc(ud, NULL, x, s) creates a new block of size `s' (no
32 ** * frealloc(ud, p, x, 0) frees the block `p'
46 void *luaM_growaux_ (lua_State *L, void *block, int *size, size_t size_elems, argument
60 newblock = luaM_reallocv(L, block, *size, newsize, size_elems);
67 luaG_runerror(L, "memory allocation error: block too big");
75 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { argument
78 size_t realosize = (block) ? osize : 0;
79 lua_assert((realosize == 0) == (block == NULL));
84 newblock = (*g->frealloc)(g->ud, block, osize, nsize);
87 "realloc cannot fail when shrinking a block");
[all...]
/external/chromium_org/v8/src/compiler/
H A Dscheduler.h68 int GetRPONumber(BasicBlock* block) { argument
69 DCHECK(block->rpo_number_ >= 0 &&
70 block->rpo_number_ < static_cast<int>(schedule_->rpo_order_.size()));
71 DCHECK(schedule_->rpo_order_[block->rpo_number_] == block);
72 return block->rpo_number_;
91 void ConnectFloatingControlSubgraph(BasicBlock* block, Node* node);
/external/chromium_org/v8/src/
H A Dhydrogen-infer-types.cc12 HBasicBlock* block = graph()->blocks()->at(i); local
14 const ZoneList<HPhi*>* phis = block->phis();
19 for (HInstructionIterator it(block); !it.Done(); it.Advance()) {
23 if (block->IsLoopHeader()) {
25 block->loop_information()->GetLastBackEdge();
31 for (int j = 0; j < block->phis()->length(); ++j) {
32 HPhi* phi = block->phis()->at(j);
/external/mesa3d/src/gallium/auxiliary/rtasm/
H A Drtasm_execmem.c55 * Allocate a large block of memory which can hold code then dole it out
87 struct mem_block *block = NULL; local
96 block = u_mmAllocMem( exec_heap, size, 5, 0 ); /* 5 -> 32-byte alignment */
99 if (block)
100 addr = exec_mem + block->ofs;
116 struct mem_block *block = u_mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); local
118 if (block)
119 u_mmFreeMem(block);
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dmemory_pool.c47 struct memory_block * block = pool->blocks; local
48 pool->blocks = block->next;
49 free(block);
88 struct memory_block * block = (struct memory_block*)malloc(bytes + sizeof(struct memory_block)); local
90 block->next = pool->blocks;
91 pool->blocks = block;
93 return (block + 1);
/external/mesa3d/src/mesa/main/
H A Dexecmem.c42 * Allocate a large block of memory which can hold code then dole it out
93 struct mem_block *block = NULL; local
103 block = mmAllocMem( exec_heap, size, 32, 0 );
106 if (block)
107 addr = exec_mem + block->ofs;
124 struct mem_block *block = mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); local
126 if (block)
127 mmFreeMem(block);
/external/dexmaker/src/dx/java/com/android/dx/ssa/
H A DSsaInsn.java26 /** {@code non-null;} the block that contains this instance */
27 private final SsaBasicBlock block; field in class:SsaInsn
36 * @param block {@code non-null;} block containing this insn. Can
39 protected SsaInsn(RegisterSpec result, SsaBasicBlock block) { argument
40 if (block == null) {
41 throw new NullPointerException("block == null");
44 this.block = block;
52 * @param block {
55 makeFromRop(Insn insn, SsaBasicBlock block) argument
[all...]
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_sync_test.cc22 u64 block[1] = {}; // fake malloc block local
23 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64));
24 MBlock *mb = m->GetBlock((uptr)&block[0]);
28 uptr sz = m->FreeBlock(thr, 0, (uptr)&block[0]);
30 mb = m->GetBlock((uptr)&block[0]);
37 u64 block[4] = {}; // fake malloc block local
38 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64));
39 m->AllocBlock(thr, 0, (uptr)&block[
54 u64 block[4] = {}; // fake malloc block local
114 u64 block[1] = {}; // fake malloc block local
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
H A DV8TestDictionary.cpp30 v8::TryCatch block; local
34 } else if (block.HasCaught()) {
35 exceptionState.rethrowV8Exception(block.Exception());
41 } else if (block.HasCaught()) {
42 exceptionState.rethrowV8Exception(block.Exception());
48 } else if (block.HasCaught()) {
49 exceptionState.rethrowV8Exception(block.Exception());
60 } else if (block.HasCaught()) {
61 exceptionState.rethrowV8Exception(block.Exception());
67 } else if (block
[all...]
/external/chromium_org/tools/gn/
H A Dfunctions_target.cc31 BlockNode* block,
37 if (!FillTargetBlockScope(scope, function, target_type, block,
41 block->ExecuteBlockInScope(&block_scope, err);
149 BlockNode* block,
152 block, err);
229 BlockNode* block,
232 block, err);
308 BlockNode* block,
311 block, err);
348 BlockNode* block,
27 ExecuteGenericTarget(const char* target_type, Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument
146 RunAction(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument
226 RunActionForEach(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument
305 RunExecutable(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument
345 RunGroup(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument
374 RunSharedLibrary(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument
421 RunSourceSet(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument
451 RunStaticLibrary(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument
[all...]
/external/chromium_org/third_party/markdown/
H A Dblockprocessors.py42 different type of block. Extensions may add/replace/remove BlockProcessors
58 """ Build the default block parser used by Markdown. """
74 """ Base class for block processors.
79 whether the current block should be processed by this processor. If the
116 def test(self, parent, block):
117 """ Test for block type. Must be overridden by subclasses.
120 on each to determine if the given block of text is of that type. This
122 testing is left to the needs of that particular block type. It could
123 be as simple as ``block.startswith(some_string)`` or a complex regular
124 expression. As the block typ
[all...]
/external/chromium_org/net/disk_cache/blockfile/
H A Dmapped_file.h20 // This class implements a memory mapped file used to access block-files. The
37 // Loads or stores a given block from the backing file (synchronously).
38 bool Load(const FileBlock* block);
39 bool Store(const FileBlock* block);
43 bool Load(const FileBlock* block, FileIOCallback* callback, bool* completed);
44 bool Store(const FileBlock* block, FileIOCallback* callback, bool* completed);
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
H A DLineInfo.h53 void setEmpty(bool empty, RenderBlock* block = 0, LineWidth* lineWidth = 0)
58 if (!empty && block && floatPaginationStrut()) {
59 block->setLogicalHeight(block->logicalHeight() + floatPaginationStrut());
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
H A Dvp9_detokenize.h23 int plane, int block, BLOCK_SIZE plane_bsize,
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_encodemb.h25 void vp9_xform_quant_fp(MACROBLOCK *x, int plane, int block,
27 void vp9_xform_quant_dc(MACROBLOCK *x, int plane, int block,
29 void vp9_xform_quant(MACROBLOCK *x, int plane, int block,
34 void vp9_encode_block_intra(MACROBLOCK *x, int plane, int block,
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_linear.h68 /* Describe each block within the tile */
69 struct u_linear_format_block block; member in struct:pipe_tile_info
81 * @block block info about pixel layout
88 const struct u_linear_format_block *block,
94 if (t->tile.size != t->block.size * t->cols * t->rows)
97 if (t->stride != t->block.size * t->cols * t->tiles_x)
H A Du_slab.c33 /* The block is either allocated memory or free space. */
36 /* The first next free block. */
41 /* Memory after the last member is dedicated to the block itself.
57 struct util_slab_block *block; local
65 block = util_slab_get_block(pool, page, i);
66 block->next_free = util_slab_get_block(pool, page, i+1);
67 block->magic = UTIL_SLAB_MAGIC;
70 block = util_slab_get_block(pool, page, pool->num_blocks-1);
71 block->next_free = pool->first_free;
72 block
83 struct util_slab_block *block; local
97 struct util_slab_block *block = local
[all...]
/external/chromium_org/tools/memory_inspector/memory_inspector/frontends/www_content/css/
H A Dprofiler.css10 display: inline-block;
16 display: block;
/external/e2fsprogs/debugfs/
H A Dzap.c2 * zap.c --- zap block
33 blk64_t block; local
58 "must be within a %d block\n",
81 "within a %d block\n",
122 block = parse_ulonglong(argv[optind], argv[0], "block", &err);
131 block, 0, &block);
134 "while mapping logical block %llu\n", block);
174 blk64_t block; local
[all...]

Completed in 774 milliseconds

1234567891011>>