Searched defs:block (Results 76 - 100 of 805) sorted by relevance

1234567891011>>

/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/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)
/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/drivers/dri/i965/
H A Dbrw_fs_copy_propagation.cpp76 /* Walks a basic block and does copy propagation on it using the acp
81 fs_bblock *block, exec_list *acp)
85 for (fs_inst *inst = block->start;
86 inst != block->end->next;
143 fs_bblock *block = cfg.blocks[b]; local
146 progress = opt_copy_propagate_local(mem_ctx, block, &acp) || progress;
80 opt_copy_propagate_local(void *mem_ctx, fs_bblock *block, exec_list *acp) argument
/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/openssl/crypto/engine/
H A Denginetest.c97 ENGINE *block[512]; local
122 memset(block, 0, 512 * sizeof(ENGINE *));
226 if(((block[loop] = ENGINE_new()) == NULL) ||
227 !ENGINE_set_id(block[loop], id) ||
228 !ENGINE_set_name(block[loop], name))
230 printf("Couldn't create block of ENGINE structures.\n"
237 if(!ENGINE_add(block[loop]))
240 loop, ENGINE_get_id(block[loop]),
241 ENGINE_get_name(block[loop]));
261 OPENSSL_free((void *)ENGINE_get_id(block[loo
[all...]
/external/openssl/crypto/modes/
H A Dofb128.c64 * 128bit block we have used is contained in *num;
69 block128_f block)
90 (*block)(ivec, ivec, key);
100 (*block)(ivec, ivec, key);
113 (*block)(ivec, ivec, key);
66 CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], int *num, block128_f block) argument
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dmd5.h38 MD5_u32plus block[16]; member in struct:__anon28786
/external/regex-re2/util/
H A Darena.cc50 // We do not know for sure whether or not the first block is aligned,
72 AllocatedBlock *block; local
73 // Find the next block.
76 block = &first_blocks_[blocks_alloced_++];
79 // Adds another block to the vector.
81 // block points to the last block of the vector.
82 block = &overflow_blocks_->back();
85 block->mem = reinterpret_cast<char*>(malloc(block_size));
86 block
129 AllocatedBlock *block = AllocNewBlock(block_size_); local
[all...]
/external/valgrind/main/memcheck/tests/
H A Derr_disable4.c28 char* block = NULL; variable
41 usechar( block[5] );
67 block = malloc(10);
68 free(block);
/external/valgrind/main/none/tests/
H A Dasync-sigs.c69 static void test(int block, int caughtsig, int fatalsig) argument
76 block, caughtsig, fatalsig);
86 // - if 'block' is set, wait on a system call;
94 if (block) {
/external/valgrind/main/none/tests/ppc32/
H A Dtest_fx.c7 double block[2]; local
8 block[0] = x;
14 : /*in*/ "b" (&block[0])
17 return block[1];
22 double block[2]; local
23 block[0] = x;
29 : /*in*/ "b" (&block[0])
32 return block[1];
H A Dtest_gx.c11 double block[2]; local
12 block[0] = x;
18 : /*in*/ "b" (&block[0])
21 return block[1];
26 double block[2]; local
27 block[0] = x;
33 : /*in*/ "b" (&block[0])
36 return block[1];
41 double block[2]; local
42 block[
57 double block[2]; local
[all...]
/external/chromium_org/courgette/third_party/
H A Dpaged_array.h52 T* block = new(std::nothrow) T[kPageSize]; local
53 if (block == NULL) {
57 pages_[page_count_] = block;
/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/boringssl/src/crypto/modes/
H A Dcbc.c61 block128_f block) {
73 (*block)(out, out, key);
84 (*block)(out, out, key);
99 (*block)(out, out, key);
114 block128_f block) {
129 (*block)(in, out, key);
141 (*block)(in, out, key);
156 (*block)(in, tmp.c, key);
171 (*block)(in, tmp.c, key);
186 (*block)(i
59 CRYPTO_cbc128_encrypt(const uint8_t *in, uint8_t *out, size_t len, const void *key, uint8_t ivec[16], block128_f block) argument
112 CRYPTO_cbc128_decrypt(const uint8_t *in, uint8_t *out, size_t len, const void *key, uint8_t ivec[16], block128_f block) argument
[all...]
H A Dctr.c75 * state information to record how much of the 128bit block we have used is
87 block128_f block) {
107 (*block)(ivec, ecount_buf, key);
120 (*block)(ivec, ecount_buf, key);
130 (*block)(ivec, ecount_buf, key);
84 CRYPTO_ctr128_encrypt(const uint8_t *in, uint8_t *out, size_t len, const void *key, uint8_t ivec[16], uint8_t ecount_buf[16], unsigned int *num, block128_f block) argument
/external/chromium_org/third_party/leveldatabase/src/table/
H A Dfilter_block_test.cc48 Slice block = builder.Finish(); local
49 ASSERT_EQ("\\x00\\x00\\x00\\x00\\x0b", EscapeString(block));
50 FilterBlockReader reader(&policy_, block);
65 Slice block = builder.Finish(); local
66 FilterBlockReader reader(&policy_, block);
96 Slice block = builder.Finish(); local
97 FilterBlockReader reader(&policy_, block);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_linear.c42 size_t bytes = t->cols * t->block.size;
66 size_t bytes = t->cols * t->block.size;
85 const struct u_linear_format_block *block,
89 t->block = *block;
93 t->cols = t->tile.width / t->block.width;
94 t->rows = t->tile.height / t->block.height;
95 t->tile.size = t->cols * t->rows * t->block.size;
99 t->stride = t->cols * t->tiles_x * t->block.size;
84 pipe_linear_fill_info(struct pipe_tile_info *t, const struct u_linear_format_block *block, unsigned tile_width, unsigned tile_height, unsigned tiles_x, unsigned tiles_y) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_fs_cse.cpp84 fs_visitor::opt_cse_local(fs_bblock *block, exec_list *aeb) argument
90 for (fs_inst *inst = block->start;
91 inst != block->end->next;
143 if (inst == block->end) {
144 block->end = copy;
182 fs_bblock *block = cfg.blocks[b]; local
185 progress = opt_cse_local(block, &aeb) || progress;
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dtexcompress_etc.c57 struct etc1_block block; local
64 etc1_parse_block(&block, src);
65 etc1_fetch_texel(&block, i % 4, j % 4, dst);
77 * The size of the source data must be a multiple of the ETC1 block size,
83 * found in the upper left part of the block(s), and the rest of the
85 * placed in the upper half of a 4x4 block, and the lower half of the
86 * pixels in the block will not be accessed.
/external/chromium_org/third_party/skia/src/core/
H A DSkTObjectPool.h84 * The type for a new block of entries for the list.
95 * a new block of them.
100 Block* block = SkNEW(Block); local
101 fBlocks.push(block);
103 fAvailable.push(&block->entries[index]);
/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/tools/gn/
H A Dfunction_foreach.cc27 " Executes the loop contents block over each item in the list,\n"
30 " The block does not introduce a new scope, so that variable assignments\n"
91 const BlockNode* block = function->block(); local
92 if (!block) {
106 block->ExecuteBlockInScope(scope, err);
/external/chromium_org/v8/src/
H A Dhydrogen-infer-representation.cc117 HBasicBlock* block = graph()->blocks()->at(i); local
118 const ZoneList<HPhi*>* phis = block->phis();
123 for (HInstructionIterator it(block); !it.Done(); it.Advance()) {
139 HBasicBlock* block = graph()->blocks()->at(i); local
140 const ZoneList<HPhi*>* phis = block->phis();
147 for (HInstructionIterator it(block); !it.Done(); it.Advance()) {

Completed in 401 milliseconds

1234567891011>>