Searched refs:block (Results 51 - 75 of 1927) sorted by relevance

1234567891011>>

/external/chromium_org/gpu/command_buffer/client/
H A Dfenced_allocator.cc42 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/qemu/distrib/sdl-1.2.15/src/video/riscos/
H A DSDL_riscosmouse.c229 char block[5]; local
239 block[0] = 3;
240 block[1] = osX & 0xFF;
241 block[2] = (osX >> 8) & 0xFF;
242 block[3] = osY & 0xFF;
243 block[4] = (osY >> 8) & 0xFF;
246 regs.r[1] = (int)block;
265 unsigned char block[9]; local
266 block[0] = 1; /* Define mouse cursor bounding block */
354 Uint8 block[5]; local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
H A DPKCS1Encoding.java151 byte[] block = new byte[engine.getInputBlockSize()];
155 block[0] = 0x01; // type code 1
157 for (int i = 1; i != block.length - inLen - 1; i++)
159 block[i] = (byte)0xFF;
164 random.nextBytes(block); // random fill
166 block[0] = 0x02; // type code 2
172 for (int i = 1; i != block.length - inLen - 1; i++)
174 while (block[i] == 0)
176 block[i] = (byte)random.nextInt();
181 block[bloc
[all...]
H A DOAEPEncoding.java145 byte[] block = new byte[getInputBlockSize() + 1 + 2 * defHash.length];
150 System.arraycopy(in, inOff, block, block.length - inLen, inLen);
155 block[block.length - inLen - 1] = 0x01;
158 // as the block is already zeroed - there's no need to add PS (the >= 0 pad of 0)
164 System.arraycopy(defHash, 0, block, defHash.length, defHash.length);
174 // mask the message block.
176 byte[] mask = maskGeneratorFunction1(seed, 0, seed.length, block.length - defHash.length);
178 for (int i = defHash.length; i != block
[all...]
/external/chromium_org/tools/findit/common/
H A Dutils.py40 they would be combined together into a block.
51 block = []
57 block.append('%d' % start_line_number)
59 block.append('%d-%d' % (start_line_number, last_line_number))
64 block.append('%d' % start_line_number)
66 block.append('%d-%d' % (start_line_number, last_line_number))
68 return ', '.join(block)
/external/valgrind/main/none/tests/ppc32/
H A Ddata-cache-instructions.stdout.exp1 Passed dcbzl test at aligned address within the test block.
2 Passed dcbzl test at un-aligned (1 modulo block_size) address within the test block.
3 Passed dcbzl test at un-aligned ((block_size - 1) modulo block_size) address within the test block.
/external/valgrind/main/none/tests/ppc64/
H A Ddata-cache-instructions.stdout.exp1 Passed dcbzl test at aligned address within the test block.
2 Passed dcbzl test at un-aligned (1 modulo block_size) address within the test block.
3 Passed dcbzl test at un-aligned ((block_size - 1) modulo block_size) address within the test block.
/external/ceres-solver/internal/ceres/
H A Dresidual_block_utils.cc47 void InvalidateEvaluation(const ResidualBlock& block, argument
51 const int num_parameter_blocks = block.NumParameterBlocks();
52 const int num_residuals = block.NumResiduals();
58 const int parameter_block_size = block.parameter_blocks()[i]->Size();
64 string EvaluationToString(const ResidualBlock& block, argument
72 const int num_parameter_blocks = block.NumParameterBlocks();
73 const int num_residuals = block.NumResiduals();
80 "For each parameter block, the value of the parameters are printed in the first column \n" // NOLINT
93 const int parameter_block_size = block.parameter_blocks()[i]->Size();
115 bool IsEvaluationValid(const ResidualBlock& block, argument
[all...]
/external/chromium_org/base/mac/
H A Dbind_objc_block.h14 // BindBlock builds a callback from an Objective-C block. Example usages:
29 // Helper functions to run the block contained in the parameter.
31 R RunBlock(base::mac::ScopedBlock<R(^)()> block) { argument
32 R(^extracted_block)() = block.get();
37 R RunBlock(base::mac::ScopedBlock<R(^)(A1)> block, A1 a) { argument
38 R(^extracted_block)(A1) = block.get();
43 R RunBlock(base::mac::ScopedBlock<R(^)(A1, A2)> block, A1 a, A2 b) { argument
44 R(^extracted_block)(A1, A2) = block.get();
50 // Construct a callback with no argument from an objective-C block.
52 base::Callback<R(void)> BindBlock(R(^block)()) {
[all...]
/external/chromium_org/chrome/browser/policy/
H A Dpolicy_helpers.cc22 bool OverrideBlacklistForURL(const GURL& url, bool* block, int* reason) { argument
30 *block = true;
40 *block = false;
H A Dpolicy_helpers.h13 bool OverrideBlacklistForURL(const GURL& url, bool* block, int* reason);
/external/deqp/framework/delibs/depool/
H A DdePoolStringBuilder.c60 StringBlock* block = DE_POOL_NEW(builder->pool, StringBlock); local
64 if (!block || !blockStr)
67 /* Initialize block. */
75 block->str = blockStr;
76 block->next = DE_NULL;
79 /* Add block to list. */
81 builder->blockListTail->next = block;
83 builder->blockListHead = block;
85 builder->blockListTail = block;
124 StringBlock* block local
[all...]
/external/eigen/doc/examples/
H A DTutorial_BlockOperations_block_assignment.cpp14 a.block<2,2>(1,1) = m;
15 cout << "Here is now a with m copied into its central 2x2 block:" << endl << a << endl << endl;
16 a.block(0,0,2,3) = a.block(2,1,2,3);
17 cout << "Here is now a with bottom-right 2x3 block copied into top-left 2x2 block:" << endl << a << endl << endl;
/external/valgrind/main/none/tests/amd64/
H A Dlzcnt64.c10 ULong block[3] = { arg, 0ULL, 0ULL }; local
18 : : "r"(&block[0]) : "r11","cc","memory"
20 *res = block[1];
21 *flags = block[2] & 0x8d5;
27 ULong block[3] = { arg, 0ULL, 0ULL }; local
35 : : "r"(&block[0]) : "r11","cc","memory"
37 *res = block[1];
38 *flags = block[2] & 0x8d5;
44 ULong block[3] = { arg, 0ULL, 0ULL }; local
52 : : "r"(&block[
[all...]
H A Dbug127521-64.c17 ULong block[6]; local
20 block[0] = rdxIn;
21 block[1] = raxIn;
22 block[2] = rcxIn;
23 block[3] = rbxIn;
24 block[4] = (ULong)&mem[0];
25 block[5] = ~(0ULL);
40 : /*in*/ "r"(&block[0])
43 *rdxOut = block[0];
44 *raxOut = block[
70 ULong block[6]; local
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrAllocPool.cpp23 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...]
/external/eigen/doc/snippets/
H A DTutorial_commainit_01b.cpp3 m.block(1,0,2,2) << 4, 5, 7, 8;
/external/eigen/failtest/
H A Dconst_qualified_block_method_retval_0.cpp12 Block<Matrix3d,3,3> b(m.block<3,3>(0,0));
H A Dconst_qualified_block_method_retval_1.cpp12 Block<Matrix3d> b(m.block(0,0,3,3));
/external/skia/src/gpu/
H A DGrAllocPool.cpp23 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...]
/external/valgrind/main/memcheck/tests/
H A Derr_disable1.c9 char* block = NULL; variable
21 usechar( block[5] );
26 block = malloc(10);
27 free(block);
/external/chromium_org/third_party/markdown/
H A Dpreprocessors.py107 def _get_left_tag(self, block):
108 m = self.left_tag_re.match(block)
129 tag = block[1:].split(">", 1)[0].lower()
132 def _recursive_tagfind(self, ltag, rtag, start_index, block):
134 i = block.find(rtag, start_index)
137 j = block.find(ltag, start_index)
143 j = block.find('>', j)
144 start_index = self._recursive_tagfind(ltag, rtag, j + 1, block)
150 def _get_right_tag(self, left_tag, left_index, block):
153 i = self._recursive_tagfind("<%s" % left_tag, tag, left_index, block)
[all...]
/external/llvm/test/MC/ARM/
H A Dv8_IT_manual.s11 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
14 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
18 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
30 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
34 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
42 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
46 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
50 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
59 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
71 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
[all...]
/external/markdown/markdown/
H A Dblockprocessors.py10 different type of block. Extensions may add/replace/remove BlockProcessors
19 """ Base class for block processors.
24 whether the current block should be processed by this processor. If the
60 def test(self, parent, block):
61 """ Test for block type. Must be overridden by subclasses.
64 on each to determine if the given block of text is of that type. This
66 testing is left to the needs of that particular block type. It could
67 be as simple as ``block.startswith(some_string)`` or a complex regular
68 expression. As the block type may be different depending on the parent
69 of the block (
[all...]
H A Dpreprocessors.py81 def _get_left_tag(self, block):
82 return block[1:].replace(">", " ", 1).split()[0].lower()
84 def _get_right_tag(self, left_tag, block):
87 i = block.rfind(tag)
90 return block.rstrip()[-len(left_tag)-2:-1].lower(), len(block)
118 block = text[0]
119 if block.startswith("\n"):
120 block = block[
[all...]

Completed in 647 milliseconds

1234567891011>>