Searched refs:local (Results 1 - 25 of 32) sorted by relevance

12

/dalvik/dx/src/com/android/dx/dex/code/
H A DLocalEnd.java25 * register to a named local variable. That is, an instance of this
31 * {@code non-null;} register spec representing the local variable ended
34 * is implicit in the ambient local variable state, but other code
37 private final RegisterSpec local; field in class:LocalEnd
44 * @param local {@code non-null;} register spec representing the local
47 public LocalEnd(SourcePosition position, RegisterSpec local) { argument
50 if (local == null) {
51 throw new NullPointerException("local == null");
54 this.local
[all...]
H A DLocalStart.java24 * Pseudo-instruction which is used to introduce a new local variable. That
31 * {@code non-null;} register spec representing the local variable introduced
34 private final RegisterSpec local; field in class:LocalStart
37 * Returns the local variable listing string for a single register spec.
52 * @param local {@code non-null;} register spec representing the local
55 public LocalStart(SourcePosition position, RegisterSpec local) { argument
58 if (local == null) {
59 throw new NullPointerException("local == null");
62 this.local
[all...]
H A DLocalList.java31 * List of local variables. Each local variable entry indicates a
89 * Disposition of a local entry.
92 /** local started (introduced) */
95 /** local ended without being replaced */
98 /** local ended because it was directly replaced */
101 /** local ended because it was moved to a different register */
105 * local ended because the previous local clobbered this one
111 * local ende
[all...]
H A DOutputFinisher.java51 /** whether any instruction has local variable info */
89 * Returns whether this instance has any local variable information.
91 * @return whether this instance has any local variable information
99 * instruction for local variable information.
190 LocalItem local = spec.getLocalItem();
191 CstUtf8 name = local.getName();
192 CstUtf8 signature = local.getSignature();
231 * which updates the position and local info flags.
/dalvik/dx/src/com/android/dx/rop/code/
H A DRegisterSpec.java49 /** {@code null-ok;} local variable info associated with this register, if any */
50 private final LocalItem local; field in class:RegisterSpec
58 * @param local {@code null-ok;} the associated local variable, if any
62 LocalItem local) {
63 theInterningItem.set(reg, type, local);
97 * @param local {@code non-null;} the associated local variable
101 LocalItem local) {
102 if (local
61 intern(int reg, TypeBearer type, LocalItem local) argument
100 make(int reg, TypeBearer type, LocalItem local) argument
121 makeLocalOptional( int reg, TypeBearer type, LocalItem local) argument
146 RegisterSpec(int reg, TypeBearer type, LocalItem local) argument
222 equals(int reg, TypeBearer type, LocalItem local) argument
273 hashCodeOf(int reg, TypeBearer type, LocalItem local) argument
547 withLocalItem(LocalItem local) argument
605 private LocalItem local; field in class:RegisterSpec.ForComparison
617 set(int reg, TypeBearer type, LocalItem local) argument
[all...]
H A DLocalItem.java22 * A local variable item: either a name or a signature or both.
25 /** {@code null-ok;} local variable name */
28 /** {@code null-ok;} local variable signature */
36 * @param name {@code null-ok;} local variable name
37 * @param signature {@code null-ok;} local variable signature
51 * @param name {@code null-ok;} local variable name
52 * @param signature {@code null-ok;} local variable signature
66 LocalItem local = (LocalItem) other;
68 return 0 == compareTo(local);
91 public int compareTo(LocalItem local) { argument
[all...]
H A DRegisterSpecSet.java191 * given local (type, name, and signature), or {@code null} if there is
195 * @param spec {@code non-null;} local to look for
218 * local (name and signature), or {@code null} if there is none.
220 * @param local {@code non-null;} local item to search for
223 public RegisterSpec localItemToSpec(LocalItem local) { argument
229 if ((spec != null) && local.equals(spec.getLocalItem())) {
316 * @param localPrimary whether local variables are primary to
/dalvik/libcore/luni/src/main/java/java/util/
H A DListResourceBundle.java58 Iterator<String> local = table.keySet().iterator();
79 if (local.hasNext()) {
86 if (local.hasNext()) {
87 return local.next();
H A DPropertyResourceBundle.java68 Enumeration<String> local = getLocalKeys();
89 if (local.hasMoreElements()) {
96 if (local.hasMoreElements()) {
97 return local.nextElement();
/dalvik/dx/src/com/android/dx/ssa/
H A DSsaInsn.java132 * Sets the local association for the result of this insn. This is
135 * @param local {@code null-ok;} new debug/local variable info
137 public final void setResultLocal(LocalItem local) { argument
140 if (local != oldItem && (local == null
141 || !local.equals(result.getLocalItem()))) {
143 result.getReg(), result.getType(), local);
187 * Gets the spec of a local variable assignment that occurs at this
188 * instruction, or null if no local variabl
[all...]
H A DNormalSsaInsn.java73 * the type or local var name so don't update use list
151 LocalItem local = assignment.getLocalItem();
153 if (local == null) {
H A DConstCollector.java54 * If true, allow one local var to be involved with a collected const.
158 * Each collected constant can be used by just one local
195 * TODO: Might be nice to try and figure out which local
203 // Count one local usage only.
254 * the definition of {@code origReg} is associated with a local
255 * variable, then insert a mark-local for {@code newReg} just below
273 * This is a mark-local. it will be updated when all uses
279 LocalItem local = localAssignment.getLocalItem();
284 // Now add a mark-local to the new reg immediately after.
285 newReg = newReg.withLocalItem(local);
[all...]
H A DPhiInsn.java85 * Note that local association of operands are preserved in this step.
105 * @param local {@code null-ok;} new local info, if available
107 public void changeResultType(TypeBearer type, LocalItem local) { argument
109 getResult().getReg(), type, local));
H A DSsaRenamer.java78 /** map of SSA register number to debug (local var names) or null of n/a */
187 * Gets a local variable item for a specified register.
201 * Records a debug (local variable) name for a specified register.
207 LocalItem local = ssaReg.getLocalItem();
214 ssaRegToLocalItems.set(reg, local);
258 * contains the set of moves we need to keep to preserve local
385 * an SSA register spec has received or lost a local variable name,
387 * lose its local variable name as well.
388 * <li> Records the local name associated with the
390 * local
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/
H A DAttributesImplSerializer.java95 * @param local the local name of the attribute
105 String local,
111 super.addAttribute(uri, local, qname, type, val);
132 m_buff.append('{').append(uri).append('}').append(local);
155 // Add quick look-up to find with uri/local name pair
157 String local = super.getLocalName(index);
159 m_buff.append('{').append(uri).append('}').append(local);
209 * @param localName the local namer (after the ':' ) of the attribute name.
103 addAttribute( String uri, String local, String qname, String type, String val) argument
/dalvik/vm/mterp/armv5te/
H A DOP_NEW_ARRAY.S52 mov r2, #ALLOC_DONT_TRACK @ don't track in local refs table
/dalvik/dx/src/com/android/dx/cf/code/
H A DBaseMachine.java63 /** {@code >= -1;} last local accessed */
66 /** {@code null-ok;} local target spec, if salient and calculated */
250 public final void localTarget(int idx, Type type, LocalItem local) { argument
251 localTarget = RegisterSpec.makeLocalOptional(idx, type, local);
352 * Gets the last local index accessed.
354 * @return {@code >= -1;} the salient local index or {@code -1} if none
362 * Gets the target local register spec of the current operation, if any.
363 * The local target spec is the combination of the values indicated
369 * local target was set since the last time {@link #clearArgs} was
378 throw new SimException("local targe
535 throwLocalMismatch(TypeBearer found, TypeBearer local) argument
[all...]
H A DMachine.java107 * Loads the local variable with the given index as the sole argument in
111 * @param idx {@code >= 0;} the local variable index
190 * Indicates that the target of this operation is the given local.
192 * @param idx {@code >= 0;} the local variable index
193 * @param type {@code non-null;} the type of the local
194 * @param local {@code null-ok;} the name and signature of the local, if known
196 public void localTarget(int idx, Type type, LocalItem local); argument
H A DSimulator.java45 * {@code non-null;} canned error message for local variable
50 "local variable information.";
58 /** {@code non-null;} local variable information */
504 * the local variable table, though we still need to check
509 * the local type becomes valid. On the other hand, the
515 LocalVariableList.Item local =
519 if (local != null) {
520 localType = local.getType();
539 = (local == null) ? null : local
[all...]
H A DRopper.java1017 LocalVariableList.Item local =
1019 RegisterSpec result = (local == null) ?
1021 RegisterSpec.makeLocalOptional(at, one, local.getLocalItem());
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/
H A DPlainDatagramSocketImpl.java315 InetAddress local = null;
317 local = InetAddress.getLocalHost();
321 if (inet.equals(local)) {
324 throw new SocketException(val + " != getLocalHost(): " + local);
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/
H A DNamespaceSupport2.java219 * <dd>The local name (without prefix).</dd>
240 * local name, and the raw XML 1.0 name; or null if there
567 * URI part (or empty string), the local part,
616 String local = qName.substring(index+1);
627 name[1] = local.intern();
726 * _only_ its local bindings, and delegate upward if not found.</p>
/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/
H A DNamespaceSupport.java323 * <dd>The local name (without prefix).</dd>
344 * local name, and the XML qualified name; or null if there
640 * URI part (or empty string), the local part,
695 String local = qName.substring(index+1);
707 name[1] = local.intern();
/dalvik/dx/src/com/android/dx/ssa/back/
H A DFirstFitLocalCombiningAllocator.java39 * method parameters and all SSAregisters representing the same local variable
43 /** local debug flag */
46 /** maps local variable to a list of associated SSA registers */
64 /** set of rop registers reserved for parameters or local variables */
125 if (DEBUG) System.out.println("--->Mapping local-associated params");
135 System.out.println("--->Mapping local-associated non-params");
149 * Dumps local variable table to stdout for debugging.
152 System.out.println("Printing local vars");
170 * Maps all local-associated parameters to rop registers.
178 // First, find out if this local variabl
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/dom3/
H A DDOM3TreeWalker.java762 // create a local namespace declaration attribute
1126 * @param local local part of qualified name
1130 String local,
1133 // check that both prefix and local part match NCName
1134 if (local == null)
1141 && XMLChar.isValidNCName(local);
1145 && XML11Char.isXML11ValidNCName(local);
1819 * Records local namespace declarations, to be used for normalization later
1902 // Create a local namespac
1128 isValidQName( String prefix, String local, boolean xml11Version) argument
[all...]

Completed in 395 milliseconds

12