/external/skia/src/gpu/ |
H A D | GrAllocPool.cpp | 23 Block* block = (Block*)sk_malloc_throw(sizeof(Block) + size); local 24 block->fNext = next; 25 block->fPtr = (char*)block + sizeof(Block); 26 block->fBytesFree = size; 27 block->fBytesTotal = size; 28 return block; 69 Block* block = fBlock; local 70 while (block) { 71 Block* next = block 107 Block* block = fBlock; local [all...] |
H A D | GrMemoryPool.cpp | 46 BlockHeader* block = CreateBlock(blockSize); local 48 block->fPrev = fTail; 49 block->fNext = NULL; 51 fTail->fNext = block; 52 fTail = block; 56 // We stash a pointer to the block header, just before the allocated space, 72 BlockHeader* block = *reinterpret_cast<BlockHeader**>(ptr); local 73 if (1 == block->fLiveCount) { 74 // the head block is special, it is reset rather than deleted 75 if (fHead == block) { 106 BlockHeader* block = local 117 DeleteBlock(BlockHeader* block) argument 123 BlockHeader* block = fHead; local [all...] |
/external/skia/src/pipe/utils/ |
H A D | SamplePipeControllers.h | 75 PipeBlock(void* block, size_t bytes) { fBlock = block, fBytes = bytes; } argument
|
/external/stressapptest/src/ |
H A D | disk_blocks.h | 32 // Data about a block written to disk so that it can be verified later. 48 int64 addr_; // address of first sector in block 49 int64 size_; // size of block 51 bool initialized_; // flag indicating the block was written on disk 68 // Get a random block from the list. Only returns if a element 77 // Return a new block in a unused address. 79 // Remove block from structure (called by write threads) 80 int RemoveBlock(BlockData *block); 81 // Release block to be erased (called by random threads) 82 int ReleaseBlock(BlockData *block); 92 BlockData *block; member in struct:DiskBlockTable::StorageData [all...] |
/external/valgrind/main/helgrind/tests/ |
H A D | annotate_hbefore.c | 95 UWord block[4] = { (UWord)addr, expected, nyu, 2 }; local 105 : /*in*/ "S"(&block[0]) 108 assert(block[3] == 0 || block[3] == 1); 109 return block[3] & 1; 118 UWord block[4] = { (UWord)addr, expected, nyu, 2 }; local 130 : /*in*/ "S"(&block[0]) 133 assert(block[3] == 0 || block[3] == 1); 134 return block[ 144 UWord block[2] = { (UWord)addr, nyu }; local 177 UWord block[2] = { (UWord)addr, nyu }; local 229 UWord block[3] = { (UWord)addr, nyu, expected}; local 262 UWord block[3] = { (UWord)addr, nyu, expected}; local [all...] |
/external/valgrind/main/none/tests/amd64/ |
H A D | pcmpxstrx64.c | 56 ULong block[ 2/*in:argL*/ // 0 0 local 63 assert(sizeof(block) == 80); 65 UChar* blockC = (UChar*)&block[0]; 94 printf(" rcx %016llx flags %08llx\n", block[8], block[9] & 0x8D5); 123 printf(" rcx %016llx flags %08llx\n", block[8], block[9] & 0x8D5); 152 printf(" rcx %016llx flags %08llx\n", block[8], block[9] & 0x8D5); 181 printf(" rcx %016llx flags %08llx\n", block[ [all...] |
H A D | pcmpxstrx64w.c | 57 ULong block[ 2/*in:argL*/ // 0 0 local 64 assert(sizeof(block) == 80); 66 UChar* blockC = (UChar*)&block[0]; 95 printf(" rcx %016llx flags %08llx\n", block[8], block[9] & 0x8D5); 124 printf(" rcx %016llx flags %08llx\n", block[8], block[9] & 0x8D5); 153 printf(" rcx %016llx flags %08llx\n", block[8], block[9] & 0x8D5); 182 printf(" rcx %016llx flags %08llx\n", block[ [all...] |
/external/valgrind/main/none/tests/arm/ |
H A D | vcvt_fixed_float_VFP.c | 57 double block[2]; local 58 memset(block, 0x55, sizeof(block)); 65 : : /*IN*/"r"(&block[0]), "r"(x) : /*TRASH*/"r8","s28","d14","memory" 67 return block[0]; 72 double block[2]; local 73 memset(block, 0x55, sizeof(block)); 80 : : /*IN*/"r"(&block[0]), "r"(x) : /*TRASH*/"r8","s28","d14","memory" 82 return block[ 97 double block[2]; local 112 double block[2]; local 137 double block[5]; local 152 double block[5]; local 177 double block[5]; local 192 double block[5]; local [all...] |
/external/valgrind/main/none/tests/x86/ |
H A D | bt_everything.c | 147 UChar* block; local 153 block = calloc(200,1); 154 block += 100; 162 case 0: c = btsl_mem(block, bitoff); break; 163 case 1: c = btrl_mem(block, bitoff); break; 164 case 2: c = btcl_mem(block, bitoff); break; 165 case 3: c = btl_mem(block, bitoff); break; 172 block -= 100; 175 UChar ch = block[n]; 176 /* printf("%d ", (int)block[ [all...] |
/external/webp/src/dec/ |
H A D | tree.c | 286 VP8MBData* const block = dec->mb_data_ + mb_x; local 292 block->segment_ = !VP8GetBit(br, dec->proba_.segments_[0]) 296 block->segment_ = 0; // default for intra 298 if (dec->use_skip_proba_) block->skip_ = VP8GetBit(br, dec->skip_p_); 300 block->is_i4x4_ = !VP8GetBit(br, 145); // decide for B_PRED first 301 if (!block->is_i4x4_) { 306 block->imodes_[0] = ymode; 310 uint8_t* modes = block->imodes_; 344 block->uvmode_ = !VP8GetBit(br, 142) ? DC_PRED
|
/external/chromium_org/third_party/cython/src/Tools/ |
H A D | cython-mode.el | 103 (defalias 'cython-beginning-of-block 106 ((fboundp 'py-beginning-of-block) 107 'py-beginning-of-block) 109 ((fboundp 'python-beginning-of-block) 110 'python-beginning-of-block) 112 ((fboundp 'python-nav-beginning-of-block) 113 'python-nav-beginning-of-block) 114 (t (error "Couldn't find implementation for `cython-beginning-of-block'")))) 129 (defun cython-open-block-statement-p (&optional bos) 130 "Return non-nil if statement at point opens a Cython block [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | GrammarSerializerFoo.java | 112 public void block(int nalts) { method in class:GrammarSerializerFoo
|
/external/ceres-solver/internal/ceres/ |
H A D | partitioned_matrix_view_impl.h | 75 const Block& block = bs->cols[c]; local 77 num_cols_e_ += block.size; 79 num_cols_f_ += block.size; 103 // by the first cell in each row block. 107 const int row_block_pos = bs->rows[r].block.position; 108 const int row_block_size = bs->rows[r].block.size; 125 // Iterate over row blocks, and if the row block is in E, then 127 // E. If the row block is not in E (i.e its in the bottom 132 const int row_block_pos = bs->rows[r].block.position; 133 const int row_block_size = bs->rows[r].block 247 const Block& block = bs->cols[c]; local [all...] |
/external/chromium_org/extensions/browser/ |
H A D | content_verify_job.cc | 111 // If we finished reading a block worth of data, finish computing the hash 151 int block = current_block_++; local 154 if (!hash_reader_->GetHashForBlock(block, &expected_hash) ||
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | fenced_allocator.cc | 42 Block block = { FREE, 0, RoundDown(size), kUnusedToken }; local 43 blocks_.push_back(block); 58 // Looks for a non-allocated block that is big enough. Search in the FREE 61 // optimizing what to wait for, just looks inside the block in order (first-fit 73 // Try first to allocate in a free block. 75 Block &block = blocks_[i]; local 76 if (block.state == FREE && block.size >= size) { 81 // No free block is available. Look for blocks pending tokens, and wait for 93 // Looks for the corresponding block, mar 98 Block &block = blocks_[index]; local 111 Block &block = blocks_[index]; local 123 Block &block = blocks_[i]; local 136 Block &block = blocks_[i]; local 199 Block &block = blocks_[index]; local 212 Block& block = blocks_[i]; local 227 Block &block = blocks_[index]; local [all...] |
/external/chromium_org/net/spdy/ |
H A D | spdy_websocket_test_util.cc | 47 SpdyHeaderBlock block; local 48 SetHeader("status", "101", &block); 49 return spdy_util_.ConstructSpdyReply(stream_id, block);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
H A D | LineWidth.cpp | 38 LineWidth::LineWidth(RenderBlockFlow& block, bool isFirstLine, IndentTextOrNot shouldIndentText) argument 39 : m_block(block) 122 inline static float availableWidthAtOffset(const RenderBlockFlow& block, const LayoutUnit& offset, bool shouldIndentText, float& newLineLeft, float& newLineRight) argument 124 newLineLeft = block.logicalLeftOffsetForLine(offset, shouldIndentText).toFloat(); 125 newLineRight = block.logicalRightOffsetForLine(offset, shouldIndentText).toFloat(); 129 inline static float availableWidthAtOffset(const RenderBlockFlow& block, const LayoutUnit& offset, bool shouldIndentText) argument 131 float newLineLeft = block.logicalLeftOffsetForLine(offset, shouldIndentText).toFloat(); 132 float newLineRight = block.logicalRightOffsetForLine(offset, shouldIndentText).toFloat(); 147 inline static bool isWholeLineFit(const RenderBlockFlow& block, const LayoutUnit& lineTop, LayoutUnit lineHeight, float uncommittedWidth, bool shouldIndentText) argument 150 LayoutUnit availableWidthAtBottom = availableWidthAtOffset(block, lineBotto [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
H A D | FontFallbackWin.cpp | 216 UBlockCode block = ublock_getCode(ucs4); local 217 switch (block) { 250 // infer a script based on the unicode block of a character.
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
H A D | RewriteElseBlocks.cpp | 143 TIntermAggregate *block = new TIntermAggregate(EOpSequence); local 144 block->getSequence()->push_back(declaration); 145 block->getSequence()->push_back(newSelection); 147 return block;
|
/external/chromium_org/third_party/boringssl/src/crypto/modes/ |
H A D | internal.h | 169 block128_f block; member in struct:gcm128_context 184 block128_f block; member in struct:ccm128_context
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
H A D | vp9_mvref_common.c | 20 int block, int mi_row, int mi_col) { 51 ADD_MV_REF_LIST(get_sub_block_mv(candidate_mi, 0, mv_ref->col, block)); 53 ADD_MV_REF_LIST(get_sub_block_mv(candidate_mi, 1, mv_ref->col, block)); 145 int block, int ref, int mi_row, int mi_col, 154 find_mv_refs_idx(cm, xd, tile, mi, mi->mbmi.ref_frame[ref], mv_list, block, 158 switch (block) { 188 assert("Invalid block index."); 16 find_mv_refs_idx(const VP9_COMMON *cm, const MACROBLOCKD *xd, const TileInfo *const tile, MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, int_mv *mv_ref_list, int block, int mi_row, int mi_col) argument 143 vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *cm, MACROBLOCKD *xd, const TileInfo *const tile, int block, int ref, int mi_row, int mi_col, int_mv *nearest, int_mv *near) argument
|
/external/chromium_org/third_party/libwebp/utils/ |
H A D | utils.c | 145 MemBlock* const block = *b; local 146 *b = block->next_; 147 total_mem -= block->size_; 150 (uint32_t)total_mem, (uint32_t)block->size_); 152 free(block);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_type.c | 409 LLVMBasicBlockRef block; local 411 block = LLVMGetFirstBasicBlock(function); 412 while (block) { 414 instr = LLVMGetFirstInstruction(block); 420 block = LLVMGetNextBasicBlock(block);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_bufmgr_mm.c | 82 struct mem_block *block; member in struct:mm_buffer 103 u_mmFreeMem(mm_buf->block); 119 return (unsigned char *) mm->map + mm_buf->block->ofs; 159 *offset += mm_buf->block->ofs; 204 mm_buf->block = u_mmAllocMem(mm->heap, (int)size, (int)mm->align2, 0); 205 if(!mm_buf->block) { 216 assert(0 <= (pb_size)mm_buf->block->ofs && (pb_size)mm_buf->block->ofs < mm->size); 217 assert(size <= (pb_size)mm_buf->block->size && (pb_size)mm_buf->block [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rbug/ |
H A D | rbug_context.h | 67 rbug_block_t block; member in struct:rbug_proto_context_draw_block 92 rbug_block_t block; member in struct:rbug_proto_context_draw_rule 128 rbug_block_t block; member in struct:rbug_proto_context_draw_blocked 140 rbug_block_t block, 159 rbug_block_t block, 187 rbug_block_t block,
|