Searched defs:locals (Results 1 - 25 of 64) sorted by relevance

123

/external/compiler-rt/test/lsan/TestCases/
H A Dstale_stack_leak.cc18 void *locals[2048]; local
19 locals[0] = p;
20 pp = &locals[0];
21 fprintf(stderr, "Test alloc: %p.\n", locals[0]);
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/
H A DFrameSnapshot.java29 private final Object[] locals; field in class:FrameSnapshot
32 private FrameSnapshot(final Object[] locals, final Object[] stack) { argument
33 this.locals = locals;
48 if (analyzer == null || analyzer.locals == null) {
51 final Object[] locals = reduce(analyzer.locals, 0);
53 return new FrameSnapshot(locals, stack);
77 if (locals != null) {
78 mv.visitFrame(Opcodes.F_NEW, locals
[all...]
/external/r8/src/main/java/com/android/tools/r8/graph/
H A DDexDebugEntry.java18 public final ImmutableMap<Integer, DebugLocalInfo> locals; field in class:DexDebugEntry
25 ImmutableMap<Integer, DebugLocalInfo> locals) {
31 this.locals = locals;
48 if (!locals.isEmpty()) {
49 builder.append(", locals: [");
50 SortedSet<Integer> keys = new TreeSet<>(locals.keySet());
58 builder.append(register).append(" -> ").append(locals.get(register));
20 DexDebugEntry(int address, int line, DexString sourceFile, boolean prologueEnd, boolean epilogueBegin, ImmutableMap<Integer, DebugLocalInfo> locals) argument
H A DDexDebugEntryBuilder.java45 private final Map<Integer, LocalEntry> locals = new HashMap<>(); field in class:DexDebugEntryBuilder
47 // Delayed construction of an entry. Is finalized once locals information has been collected.
50 // Canonicalization of locals (the IR/Dex builders assume identity of locals).
153 LocalEntry entry = locals.get(register);
156 locals.put(register, entry);
163 for (Integer register : locals.keySet()) {
164 LocalEntry entry = locals.get(register);
H A DDexDebugEventBuilder.java35 // In order list of non-this argument locals.
41 // Mapping from register to local for currently open/visible locals.
44 // Conservative pending-state of locals to avoid some equality checks on locals.
48 // State of pc, line, file and locals in the emitted event stream.
78 // Initialize locals state on block entry.
128 Int2ReferenceMap<DebugLocalInfo> locals = instruction.getBlock().getLocalsAtEntry();
129 if (locals == null) {
132 pendingLocals = new Int2ReferenceOpenHashMap<>(locals);
136 initialize(locals);
140 initialize(Int2ReferenceMap<DebugLocalInfo> locals) argument
[all...]
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
H A DJavassistHelper.java99 LocalVariableAttribute locals = null;
104 locals = (LocalVariableAttribute) attribute;
127 sb.append(parameterNameFor(method, locals, i));
149 * locals attributes about local variables from the classfile. Note: This is
153 * @param locals
157 static String parameterNameFor(CtBehavior method, LocalVariableAttribute locals, int i) { argument
159 if (locals == null) {
177 String variableName = locals.variableName(j);
/external/javassist/src/main/javassist/bytecode/analysis/
H A DFrame.java24 private Type[] locals; field in class:Frame
33 * @param locals the number of local variable table entries
36 public Frame(int locals, int stack) { argument
37 this.locals = new Type[locals];
48 return locals[index];
58 locals[index] = type;
108 return locals.length;
151 Frame frame = new Frame(locals.length, stack.length);
152 System.arraycopy(locals,
[all...]
/external/javassist/src/main/javassist/convert/
H A DTransformBefore.java25 protected int locals; field in class:TransformBefore
39 locals = 0;
46 locals = 0;
80 public int extraLocals() { return locals; }
105 locals = var - maxLocals;
/external/javassist/src/main/javassist/expr/
H A DExprEditor.java100 context.updateMax(h.locals(), h.stack());
105 // so I check the current value of max-locals.
160 LoopContext(int locals) { argument
161 maxLocals = locals;
166 void updateMax(int locals, int stack) { argument
167 if (maxLocals < locals)
168 maxLocals = locals;
245 context.updateMax(expr.locals(), expr.stack());
H A DExpr.java80 protected final int locals() { method in class:Expr
312 int newLocals = locals();
/external/mesa3d/src/compiler/glsl/
H A Dlink_functions.cpp50 this->locals = _mesa_set_create(NULL, _mesa_hash_pointer,
56 _mesa_set_destroy(this->locals, NULL);
61 _mesa_set_add(locals, ir);
222 if (_mesa_set_search(locals, ir->var) == NULL) {
307 set *locals; member in class:__anon14608::call_link_visitor
/external/freetype/src/cff/
H A Dcffgload.h189 FT_Byte** locals; member in struct:CFF_Decoder_
/external/javassist/src/main/javassist/bytecode/stackmap/
H A DTypedBlock.java70 sbuf.append("}, locals={");
98 public void setStackMap(int st, TypeData[] stack, int nl, TypeData[] locals) argument
104 localsTypes = locals;
156 TypeData[] locals = new TypeData[maxLocals];
158 locals[0] = new TypeData.UninitThis(className);
160 locals[0] = new TypeData.ClassName(className);
165 while ((i = descToTag(methodDesc, i, ++n, locals)) > 0)
166 if (locals[n].is2WordType())
167 locals[++n] = TypeTag.TOP;
175 localsTypes = locals;
[all...]
/external/pdfium/third_party/freetype/src/cff/
H A Dcffgload.h189 FT_Byte** locals; member in struct:CFF_Decoder_
/external/javassist/src/main/javassist/bytecode/
H A DCodeAttribute.java53 * @param locals <code>max_locals</code>
57 public CodeAttribute(ConstPool cp, int stack, int locals, byte[] code, argument
62 maxLocals = locals;
H A DStackMap.java146 pos = locals(pos + 4, offset, numLoc);
153 * Invoked when <code>locals</code> of <code>stack_map_frame</code>
156 public int locals(int pos, int offset, int num) { method in class:StackMap.Walker
173 * @param isLocals true if this array is for <code>locals</code>.
242 public int locals(int pos, int offset, int num) { method in class:StackMap.Copier
244 return super.locals(pos, offset, num);
313 public int locals(int pos, int offset, int num) { method in class:StackMap.SimpleCopy
315 return super.locals(pos, offset, num);
392 public int locals(int pos, int offset, int num) { method in class:StackMap.Shifter
396 return super.locals(po
490 public int locals(int pos, int offset, int num) { method in class:StackMap.Printer
[all...]
H A DBytecode.java247 * to that number plus <code>locals</code>.
252 * @param locals the number of local variables excluding
256 int locals) {
258 ++locals;
267 locals += 2;
269 ++locals;
273 maxLocals = locals;
255 setMaxLocals(boolean isStatic, CtClass[] params, int locals) argument
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
H A DJarState.java28 * The abstract state is defined by the abstract contents of locals and contents of the stack.
130 // Immutable recording of the state (locals and stack should not be mutated).
132 public final Local[] locals; field in class:JarState.Snapshot
135 public Snapshot(Local[] locals, ImmutableList<Slot> stack) { argument
136 this.locals = locals;
142 return "locals: " + localsToString(Arrays.asList(locals))
151 // 1) reference-type locals have registers in range: [0; localsSize[
152 // 2) single-width locals hav
162 private final Local[] locals; field in class:JarState
376 recordStateForTarget(int target, Local[] locals, ImmutableList<Slot> stack, JarSourceCode source) argument
497 localsToString(Collection<Local> locals) argument
[all...]
/external/r8/src/test/java/com/android/tools/r8/smali/
H A DSmaliTestBase.java206 " .locals 0",
214 int locals, String... instructions) {
220 return addStaticMethod(returnType, name, parameters, locals, builder.toString());
224 int locals, String code) {
235 builder.append(".locals ");
236 builder.append(locals);
261 public MethodSignature addMainMethod(int locals, String... instructions) { argument
263 "void", "main", Collections.singletonList("java.lang.String[]"), locals, instructions);
428 * @param locals number of locals neede
213 addStaticMethod(String returnType, String name, List<String> parameters, int locals, String... instructions) argument
223 addStaticMethod(String returnType, String name, List<String> parameters, int locals, String code) argument
432 singleMethodApplication(String returnType, List<String> parameters, int locals, String... instructions) argument
455 oneMethodApplication(String returnType, List<String> parameters, int locals, String... instructions) argument
[all...]
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
H A DCode.java74 * <li>{@link #compareLongs compareLongs()} compares two locals each
79 * locals; both {@code float} primitives or both {@code double}
84 * <li>{@link #compare compare()} compares two locals. The {@link
204 private final List<Local<?>> locals = new ArrayList<Local<?>>(); field in class:Code
232 throw new IllegalStateException("Cannot allocate locals after adding instructions");
235 locals.add(result);
271 * Assigns registers to locals. From the spec:
277 * In addition to assigning registers to each of the locals, this creates
288 for (Local<?> local : locals) {
472 // instructions: locals
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_from_tgsi.cpp947 std::set<Location> locals; member in class:tgsi::Source
1221 locals.insert(
4018 if (set->test(i) && l && !conv.code->locals.count(*l))
/external/python/cpython2/Objects/
H A Dframeobject.c506 /* locals */
539 /* locals */
623 PyObject *locals)
632 (locals != NULL && !PyMapping_Check(locals))) {
723 locals = PyDict_New();
724 if (locals == NULL) {
728 f->f_locals = locals;
731 if (locals == NULL)
732 locals
622 PyFrame_New(PyThreadState *tstate, PyCodeObject *code, PyObject *globals, PyObject *locals) argument
870 PyObject *locals, *map; local
922 PyObject *locals, *map; local
[all...]
/external/python/cpython2/Modules/
H A D_hotshot.c1086 "runcode(code, globals[, locals])\n"
1087 "Execute a code object while collecting profile data. If locals is\n"
1088 "omitted, globals is used for the locals as well.");
1096 PyObject *locals = NULL; local
1101 &locals)) {
1103 if (locals == NULL || locals == Py_None)
1104 locals = globals;
1105 else if (!PyDict_Check(locals)) {
1107 "locals mus
[all...]
/external/v8/src/ast/
H A Dscopes.h190 ThreadedList<Variable>* locals() { return &locals_; } function in class:v8::internal::Scope
794 // Adds a local variable in this scope's locals list. This is for adjusting
/external/v8/src/crankshaft/
H A Dtyping.cc65 int locals = scope_->StackLocalCount(); local
74 for (int i = 0; i < locals; i++) {
89 for (Variable* var : *scope_->locals()) {
774 // Stack locals have the range [0 .. l]

Completed in 2546 milliseconds

123