Searched defs:spec (Results 1 - 20 of 20) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DLocalStart.java31 * {@code non-null;} register spec representing the local variable introduced
37 * Returns the local variable listing string for a single register spec.
39 * @param spec {@code non-null;} the spec to convert
42 public static String localString(RegisterSpec spec) { argument
43 return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " +
44 spec.getTypeBearer().toHuman();
52 * @param local {@code non-null;} register spec representing the local
78 * Gets the register spec representin
[all...]
H A DOutputFinisher.java115 RegisterSpec spec = ((LocalStart) insn).getLocal();
116 if (hasLocalInfo(spec)) {
126 * register spec.
128 * @param spec {@code non-null;} spec to scrutinize
129 * @return {@code true} iff the spec refers to any
132 private static boolean hasLocalInfo(RegisterSpec spec) { argument
133 return (spec != null)
134 && (spec.getLocalItem().getName() != null);
172 RegisterSpec spec
184 addConstants(HashSet<Constant> result, RegisterSpec spec) argument
[all...]
H A DLocalList.java127 /** {@code non-null;} register spec representing the variable */
128 private final RegisterSpec spec; field in class:LocalList.Entry
130 /** {@code non-null;} variable type (derived from {@code spec}) */
138 * @param spec {@code non-null;} register spec representing
141 public Entry(int address, Disposition disposition, RegisterSpec spec) { argument
151 if (spec.getLocalItem() == null) {
153 "spec.getLocalItem() == null");
157 throw new NullPointerException("spec == null");
162 this.spec
849 add(int address, Disposition disposition, RegisterSpec spec) argument
873 addOrUpdateEnd(int address, Disposition disposition, RegisterSpec spec) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DLocalStart.java32 * {@code non-null;} register spec representing the local variable introduced
38 * Returns the local variable listing string for a single register spec.
40 * @param spec {@code non-null;} the spec to convert
43 public static String localString(RegisterSpec spec) { argument
44 return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " +
45 spec.getTypeBearer().toHuman();
53 * @param local {@code non-null;} register spec representing the local
79 * Gets the register spec representin
[all...]
H A DOutputFinisher.java137 RegisterSpec spec = ((LocalStart) insn).getLocal();
138 if (hasLocalInfo(spec)) {
148 * register spec.
150 * @param spec {@code non-null;} spec to scrutinize
151 * @return {@code true} iff the spec refers to any
154 private static boolean hasLocalInfo(RegisterSpec spec) { argument
155 return (spec != null)
156 && (spec.getLocalItem().getName() != null);
194 RegisterSpec spec
206 addConstants(HashSet<Constant> result, RegisterSpec spec) argument
[all...]
H A DLocalList.java126 /** {@code non-null;} register spec representing the variable */
127 private final RegisterSpec spec; field in class:LocalList.Entry
129 /** {@code non-null;} variable type (derived from {@code spec}) */
137 * @param spec {@code non-null;} register spec representing
140 public Entry(int address, Disposition disposition, RegisterSpec spec) { argument
150 if (spec.getLocalItem() == null) {
152 "spec.getLocalItem() == null");
156 throw new NullPointerException("spec == null");
161 this.spec
845 add(int address, Disposition disposition, RegisterSpec spec) argument
869 addOrUpdateEnd(int address, Disposition disposition, RegisterSpec spec) argument
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DLiteralOpUpgrader.java66 * @param spec non-null spec
69 private static boolean isConstIntZeroOrKnownNull(RegisterSpec spec) { argument
70 TypeBearer tb = spec.getTypeBearer();
H A DLocalVariableInfo.java174 * register spec. This throws an exception if the instruction
177 * <b>Note:</b> Although the instruction contains its own spec for
179 * method, since the spec that is stored here should always have a
184 * @param spec {@code non-null;} the associated register spec
186 public void addAssignment(SsaInsn insn, RegisterSpec spec) { argument
193 if (spec == null) {
194 throw new NullPointerException("spec == null");
197 insnAssignments.put(insn, spec);
H A DSsaMethod.java671 * @param spec {@code non-null;} ssa reg
674 public boolean isRegALocal(RegisterSpec spec) { argument
675 SsaInsn defn = getDefinitionForRegister(spec.getReg());
686 for (SsaInsn use : getUseListForRegister(spec.getReg())) {
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DLocalVariableInfo.java174 * register spec. This throws an exception if the instruction
177 * <b>Note:</b> Although the instruction contains its own spec for
179 * method, since the spec that is stored here should always have a
184 * @param spec {@code non-null;} the associated register spec
186 public void addAssignment(Insn insn, RegisterSpec spec) { argument
193 if (spec == null) {
194 throw new NullPointerException("spec == null");
197 insnAssignments.put(insn, spec);
H A DBasicBlockList.java386 * Processes the given register spec.
388 * @param spec {@code non-null;} the register spec
390 private void processReg(RegisterSpec spec) { argument
391 int reg = spec.getNextReg();
H A DRegisterSpecList.java34 * @param spec {@code non-null;} the element
37 public static RegisterSpecList make(RegisterSpec spec) { argument
39 result.set(0, spec);
184 * @param spec {@code non-null;} the value to store
186 public void set(int n, RegisterSpec spec) { argument
187 set0(n, spec);
203 RegisterSpec spec = (RegisterSpec) get0(i);
204 if (spec != null) {
205 int min = spec.getNextReg();
220 * @param spec {
223 withFirst(RegisterSpec spec) argument
[all...]
H A DRegisterSpecSet.java92 RegisterSpec spec = specs[i];
93 int oneHash = (spec == null) ? 0 : spec.hashCode();
110 RegisterSpec spec = specs[i];
111 if (spec != null) {
117 sb.append(spec);
178 * spec, if any. This is just a convenient shorthand for
179 * {@code get(spec.getReg())}.
181 * @param spec {@code non-null;} spec wit
185 get(RegisterSpec spec) argument
198 findMatchingLocal(RegisterSpec spec) argument
263 put(RegisterSpec spec) argument
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DLocalsArray.java88 * Sets the type for the local indicated by the given register spec
89 * to that register spec (which includes type and optional name
91 * {@code set(spec.getReg(), spec)}.
93 * @param spec {@code non-null;} register spec to use as the basis for the update
95 public abstract void set(RegisterSpec spec); argument
H A DLocalsArraySet.java208 public void set(RegisterSpec spec) { argument
209 set(spec.getReg(), spec);
H A DOneLocalsArray.java135 public void set(RegisterSpec spec) { argument
136 set(spec.getReg(), spec);
/dalvik/dx/src/com/android/dx/rop/code/
H A DLocalVariableInfo.java177 * register spec. This throws an exception if the instruction
180 * <b>Note:</b> Although the instruction contains its own spec for
182 * method, since the spec that is stored here should always have a
187 * @param spec {@code non-null;} the associated register spec
189 public void addAssignment(Insn insn, RegisterSpec spec) { argument
196 if (spec == null) {
197 throw new NullPointerException("spec == null");
200 insnAssignments.put(insn, spec);
H A DBasicBlockList.java384 * Processes the given register spec.
386 * @param spec {@code non-null;} the register spec
388 private void processReg(RegisterSpec spec) { argument
389 int reg = spec.getNextReg();
H A DRegisterSpecSet.java91 RegisterSpec spec = specs[i];
92 int oneHash = (spec == null) ? 0 : spec.hashCode();
109 RegisterSpec spec = specs[i];
110 if (spec != null) {
116 sb.append(spec);
177 * spec, if any. This is just a convenient shorthand for
178 * {@code get(spec.getReg())}.
180 * @param spec {@code non-null;} spec wit
184 get(RegisterSpec spec) argument
197 findMatchingLocal(RegisterSpec spec) argument
262 put(RegisterSpec spec) argument
[all...]
H A DRegisterSpecList.java35 * @param spec {@code non-null;} the element
38 public static RegisterSpecList make(RegisterSpec spec) { argument
40 result.set(0, spec);
185 * @param spec {@code non-null;} the value to store
187 public void set(int n, RegisterSpec spec) { argument
188 set0(n, spec);
204 RegisterSpec spec = (RegisterSpec) get0(i);
205 if (spec != null) {
206 int min = spec.getNextReg();
221 * @param spec {
224 withFirst(RegisterSpec spec) argument
[all...]

Completed in 164 milliseconds