Searched defs:block (Results 1 - 25 of 28) sorted by relevance

12

/dalvik/dx/src/com/android/dx/dex/code/
H A DBlockAddresses.java27 * the blocks of a particular method. Each block has a corresponding
32 * block (indexed by basic block label) */
36 * of each basic block (indexed by basic block label) */
40 * final instruction) of each basic block (indexed by basic block
47 * @param method {@code non-null;} the method to have block addresses for
61 * Gets the instance for the start of the given block.
63 * @param block {
66 getStart(BasicBlock block) argument
86 getLast(BasicBlock block) argument
108 getEnd(BasicBlock block) argument
[all...]
H A DStdCatchBuilder.java41 /** {@code non-null;} block output order */
44 /** {@code non-null;} address objects for each block */
52 * @param order {@code non-null;} block output order
53 * @param addresses {@code non-null;} address objects for each block
85 BasicBlock block = blocks.get(i);
86 TypeList catches = block.getLastInsn().getCatches();
102 BasicBlock block = blocks.get(i);
103 TypeList catches = block.getLastInsn().getCatches();
118 * @param order {@code non-null;} block output order
119 * @param addresses {@code non-null;} address objects for each block
216 handlersFor(BasicBlock block, BlockAddresses addresses) argument
[all...]
H A DRopTranslator.java73 /** {@code null-ok;} block output order; becomes non-null in {@link #pickOrder} */
130 * objects per basic block (to the first and last instruction,
131 * and just past the end of the block), and the possibility of
132 * an extra goto at the end of each basic block.
139 * extra instruction per block (for the locals state at the
140 * start of the block) as well as one for each interblock
179 * We almost could just check the first block here, but the
181 * subsequent block in the case of synchronized methods.
233 * and output of one block.
235 * @param block {
239 outputBlock(BasicBlock block, int nextLabel) argument
493 private BasicBlock block; field in class:RopTranslator.TranslationVisitor
517 setBlock(BasicBlock block, CodeAddress lastAddress) argument
[all...]
/dalvik/libcore/nio/src/main/java/java/nio/channels/
H A DSelectableChannel.java58 * the call to this method might block depending on the implementation.
60 * @param block
67 * if {@code block} is {@code true} and this channel has been
72 public abstract SelectableChannel configureBlocking(boolean block) argument
119 * the key set of the selector and thus may again block if other threads
158 * the key set of the selector and thus may again block if other threads
/dalvik/dx/src/com/android/dx/rop/code/
H A DLocalVariableInfo.java34 * {@code non-null;} {@link RegisterSpecSet} to use when indicating a block
42 * sets of variables already assigned upon entry to each block,
43 * where array indices correspond to block labels
73 * Sets the register set associated with the start of the block with
76 * @param label {@code >= 0;} the block label
77 * @param specs {@code non-null;} the register set to associate with the block
95 * Merges the given register set into the set for the block with the
101 * @param label {@code >= 0;} the block label
103 * for the block
131 * Gets the register set associated with the start of the block
152 getStarts(BasicBlock block) argument
[all...]
H A DBasicBlockList.java37 * and the first-block label is initially {@code -1}.
50 * @param old block to copy
71 * Sets the basic block at the given index.
103 * sum of the instruction counts of each block.
152 * Gets the first block in the list with the given label, if any.
155 * @return {@code non-null;} the so-labelled block
170 * Visits each instruction of each block in the list, in order.
221 * Gets the preferred successor for the given block. If the block
223 * Otherwise, if the block ha
230 preferredSuccessorOf(BasicBlock block) argument
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DLocalVariableInfo.java36 * {@code non-null;} {@link com.android.dx.rop.code.RegisterSpecSet} to use when indicating a block
44 * sets of variables already assigned upon entry to each block,
45 * where array indices correspond to block indices
74 * Sets the register set associated with the start of the block with
77 * @param index {@code >= 0;} the block index
78 * @param specs {@code non-null;} the register set to associate with the block
96 * Merges the given register set into the set for the block with the
102 * @param index {@code >= 0;} the block index
104 * for the block
132 * Gets the register set associated with the start of the block
153 getStarts(SsaBasicBlock block) argument
[all...]
H A DSsaConverter.java56 * The exit block, added here, is not considered for edge splitting
114 * requiring each block with a final instruction that returns a
137 * New blocks are added to the end of the block list during
141 SsaBasicBlock block = blocks.get(i);
142 if (nodeNeedsUniquePredecessor(block)) {
143 block.insertNewPredecessor();
149 * @param block {@code non-null;} block in question
153 private static boolean nodeNeedsUniquePredecessor(SsaBasicBlock block) { argument
155 * Any block wit
253 needsNewSuccessor(SsaBasicBlock block, SsaBasicBlock succ) argument
[all...]
H A DDominators.java53 /** indexed by basic block index */
94 private BitSet getSuccs(SsaBasicBlock block) { argument
96 return block.getPredecessors();
98 return block.getSuccessors();
102 private BitSet getPreds(SsaBasicBlock block) { argument
104 return block.getSuccessors();
106 return block.getPredecessors();
113 * @param in Basic block whose DFS info we are path compressing.
252 * from the entry block or the exit block)
[all...]
H A DNormalSsaInsn.java32 * @param block block that contains this insn
34 NormalSsaInsn(final Insn insn, final SsaBasicBlock block) { argument
35 super(insn.getResult(), block);
H A DSCCP.java53 /** Bitset containing bits for each block that has been found executable */
88 * Add a new SSA basic block to the CFG worklist
191 * Simulate a block and note the results in the lattice.
192 * @param block Block to visit
194 private void simulateBlock(SsaBasicBlock block) { argument
195 for (SsaInsn insn : block.getInsns()) {
327 SsaBasicBlock block = insn.getBlock();
328 int successorSize = block.getSuccessorList().size();
330 int successor = block.getSuccessorList().get(i);
399 SsaBasicBlock block
[all...]
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...]
H A DPhiInsn.java53 * @param block block containing this insn.
55 public PhiInsn(RegisterSpec resultReg, SsaBasicBlock block) { argument
56 super(resultReg, block);
64 * @param block block containing this insn.
66 public PhiInsn(final int resultReg, final SsaBasicBlock block) { argument
71 super(RegisterSpec.make(resultReg, Type.VOID), block);
125 * @param predBlock predecessor block to be associated with this operand
137 * Gets the index of the pred block associate
[all...]
H A DSsaRenamer.java53 * a mapping table for the current block being processed. Once the
54 * current block has been processed, this mapping table is then copied
71 * indexed by block index; register version state for each block start.
133 // Initial state for entry block
142 // Rename each block in dom-tree DFS order.
144 public void visitBlock (SsaBasicBlock block,
146 new BlockRenamer(block).process();
241 * Processes all insns in a block and renames their registers
245 /** {@code non-null;} block w
246 private final SsaBasicBlock block; field in class:SsaRenamer.BlockRenamer
277 BlockRenamer(final SsaBasicBlock block) argument
[all...]
H A DSsaMethod.java42 /** basic blocks, indexed by block index */
45 /** Index of first executed block in method */
49 * Index of exit block, which exists only in SSA form,
129 * Builds a BitSet of block indices from a basic block list and a list
133 * @param labelList list of rop block labels
134 * @return BitSet of block indices
148 * Builds an IntList of block indices from a basic block list and a list
152 * @param labelList list of rop block label
225 getGoto(SsaBasicBlock block) argument
[all...]
/dalvik/dx/src/com/android/dx/ssa/back/
H A DIdenticalBlockCombiner.java34 * block and the now-unused blocks are deleted. These identical blocks
55 * a hash. In particular, hash the contents of each block and only
65 // For each non-deleted block...
70 // doomed block
124 * @param a {@code non-null;} a block to compare
125 * @param b {@code non-null;} another block to compare
133 * Combines blocks proven identical into one alpha block, re-writing
135 * to the alpha block instead.
137 * @param alphaLabel block that will replace all the beta block
164 replaceSucc(BasicBlock block, int oldLabel, int newLabel) argument
[all...]
H A DSsaToRop.java141 * there. Furthermore, any no-op block between the exit block and
170 * predecessor block.
175 for (SsaBasicBlock block : blocks) {
177 block.forEachPhiInsn(new PhiVisitor(blocks));
180 block.removeAllPhiInsns();
187 for (SsaBasicBlock block : blocks) {
188 block.scheduleMovesFromPhis();
246 * @return rop-form basic block list
251 // Exit block ma
303 convertBasicBlock(SsaBasicBlock block) argument
[all...]
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DSelectableChannelTest.java73 public SelectableChannel configureBlocking(boolean block) argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/signers/
H A DISO9796d2Signer.java31 private byte[] block; field in class:ISO9796d2Signer
103 block = new byte[(keyBits + 7) / 8];
107 mBuf = new byte[block.length - digest.getDigestSize() - 2];
111 mBuf = new byte[block.length - digest.getDigestSize() - 3];
162 byte[] block)
164 for (int i = 0; i != block.length; i++)
166 block[i] = 0;
240 delta = block.length - digSize - 1;
241 digest.doFinal(block, delta);
242 block[bloc
161 clearBlock( byte[] block) argument
[all...]
H A DPSSSigner.java34 private byte[] block; field in class:PSSSigner
93 block = new byte[(emBits + 7) / 8];
102 byte[] block)
104 for (int i = 0; i != block.length; i++)
106 block[i] = 0;
165 block[block.length - sLen - 1 - hLen - 1] = 0x01;
166 System.arraycopy(salt, 0, block, block.length - sLen - hLen - 1, sLen);
168 byte[] dbMask = maskGeneratorFunction1(h, 0, h.length, block
101 clearBlock( byte[] block) argument
[all...]
H A DISO9796d2PSSSigner.java42 private byte[] block; field in class:ISO9796d2PSSSigner
157 block = new byte[(keyBits + 7) / 8];
161 mBuf = new byte[block.length - digest.getDigestSize() - lengthOfSalt - 1 - 1];
165 mBuf = new byte[block.length - digest.getDigestSize() - lengthOfSalt - 1 - 2];
198 byte[] block)
200 for (int i = 0; i != block.length; i++)
202 block[i] = 0;
304 int off = block.length - messageLength - salt.length - hLen - tLength - 1;
306 block[off] = 0x01;
308 System.arraycopy(mBuf, 0, block, of
197 clearBlock( byte[] block) argument
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DSHAOutputStream.java253 // Not enough space to append length. We need another block for
353 bytesToProcess = 0; // No pending bytes in the block
377 * Converts a block to a String representation.
379 * @param block
382 private static String toStringBlock(byte[] block) { argument
383 return toStringBlock(block, 0, block.length);
387 * Converts a block to a String representation.
389 * @param block
392 * offset into the block wher
397 toStringBlock(byte[] block, int off, int len) argument
[all...]
/dalvik/libdex/
H A Dsha1.c117 #define blk0(i) (block->l[i]=(rol(block->l[i],24)&0xFF00FF00) \
118 |(rol(block->l[i],8)&0x00FF00FF))
120 #define blk0(i) block->l[i]
122 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
123 ^block->l[(i+2)&15]^block->l[i&15],1))
133 /* Hash a single 512-bit block
143 CHAR64LONG16* block; local
[all...]
/dalvik/vm/compiler/
H A DUtility.c23 /* Allocate the initial memory block for arena-based allocation */
88 ArenaMemBlock *block; local
90 for (block = arenaHead; block; block = block->next) {
91 block->bytesAllocated = 0;
143 LOGD(" Taken branch: block %d (%04x)\n",
147 LOGD(" Fallthrough : block %d (%04x)\n",
/dalvik/dx/src/com/android/dx/cf/code/
H A DRopper.java35 * Utility that converts a basic block list into a list of register-oriented
39 /** label offset for the parameter assignment block */
42 /** label offset for the return block */
45 /** label offset for the synchronized method final return block */
48 /** label offset for the first synchronized method setup block */
51 /** label offset for the second synchronized method setup block */
56 * handler block
62 * handler block
72 /** {@code non-null;} original block list */
78 /** max label (exclusive) of any original bytecode block */
482 addBlock(BasicBlock block, IntList subroutines) argument
503 addOrReplaceBlock(BasicBlock block, IntList subroutines) argument
541 addOrReplaceBlockNoDelete(BasicBlock block, IntList subroutines) argument
674 processBlock(ByteBlock block, Frame frame, int[] workSet) argument
[all...]

Completed in 1668 milliseconds

12