Home
last modified time | relevance | path

Searched refs:locals (Results 1 – 25 of 150) sorted by relevance

123456

/external/javassist/src/main/javassist/bytecode/analysis/
DFrame.java24 private Type[] locals; field in Frame
36 public Frame(int locals, int stack) { in Frame() argument
37 this.locals = new Type[locals]; in Frame()
48 return locals[index]; in getLocal()
58 locals[index] = type; in setLocal()
108 return locals.length; in localsLength()
151 Frame frame = new Frame(locals.length, stack.length); in copy()
152 System.arraycopy(locals, 0, frame.locals, 0, locals.length); in copy()
165 Frame frame = new Frame(locals.length, stack.length); in copyStack()
212 for (int i = 0; i < locals.length; i++) { in merge()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DLocalSnapshot.java31 private final RegisterSpecSet locals; field in LocalSnapshot
40 public LocalSnapshot(SourcePosition position, RegisterSpecSet locals) { in LocalSnapshot() argument
43 if (locals == null) { in LocalSnapshot()
47 this.locals = locals; in LocalSnapshot()
53 return new LocalSnapshot(getPosition(), locals.withOffset(delta)); in withRegisterOffset()
59 return new LocalSnapshot(getPosition(), locals); in withRegisters()
68 return locals; in getLocals()
74 return locals.toString(); in argString()
80 int sz = locals.size(); in listingString0()
81 int max = locals.getMaxSize(); in listingString0()
[all …]
DRopTranslator.java63 private final LocalVariableInfo locals; field in RopTranslator
103 LocalVariableInfo locals, int paramSize, DexOptions dexOptions) { in translate() argument
105 new RopTranslator(method, positionInfo, locals, paramSize, dexOptions); in translate()
120 private RopTranslator(RopMethod method, int positionInfo, LocalVariableInfo locals, in RopTranslator() argument
125 this.locals = locals; in RopTranslator()
142 if (locals != null) { in RopTranslator()
149 maxInsns += bsz + locals.getAssignmentCount(); in RopTranslator()
161 if (locals != null) { in RopTranslator()
163 new LocalVariableAwareTranslationVisitor(output, locals); in RopTranslator()
252 if (locals != null) { in outputBlock()
[all …]
DDalvCode.java63 private LocalList locals; field in DalvCode
96 this.locals = null; in DalvCode()
110 locals = LocalList.make(insns); in finishProcessingIfNecessary()
216 return locals; in getLocals()
DLocalList.java377 private static void debugVerify(LocalList locals) { in debugVerify() argument
379 debugVerify0(locals); in debugVerify()
381 int sz = locals.size(); in debugVerify()
383 System.err.println(locals.get(i)); in debugVerify()
393 private static void debugVerify0(LocalList locals) { in debugVerify0() argument
394 int sz = locals.size(); in debugVerify0()
398 Entry e = locals.get(i); in debugVerify0()
421 Entry test = locals.get(j); in debugVerify0()
/external/v8/test/mjsunit/
Ddebug-evaluate-locals-optimized.js40 { locals: {a0: 1, b0: 2}, property
42 { locals: {a1: 3, b1: 4}, property
44 { locals: {a2: 5, b2: 6}, property
46 { locals: {a3: 7, b3: 8}, property
48 { locals: {a4: 9, b4: 10}, property
66 var expected_locals = expected[i].locals;
69 var locals = {};
71 locals[frame.localName(j)] = frame.localValue(j).value();
73 assertPropertiesEqual(expected_locals, locals);
174 var a0 = expected[i].locals.a0;
[all …]
Ddebug-evaluate-locals-optimized-double.js48 { locals: {a0: 1.01, b0: 2.02}, property
50 { locals: {a1: 3.03, b1: 4.04}, property
52 { locals: {a2: 5.05, b2: 6.06}, property
54 { locals: {a3: 7.07, b3: 8.08}, property
57 { locals: {a4: 9.09, b4: 10.10}, property
75 var expected_locals = expected[i].locals;
78 var locals = {};
80 locals[frame.localName(j)] = frame.localValue(j).value();
82 assertPropertiesEqual(expected_locals, locals);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DDebugInfo.java106 final LocalInfo[] locals = new LocalInfo[registerCount]; in iterator() local
107 Arrays.fill(locals, EMPTY_LOCAL_INFO); in iterator()
124 locals[parameterIndex++] = new LocalInfo() { in iterator()
131 locals[parameterIndex++] = parameterIterator.next(); in iterator()
138 LocalInfo currentLocal = locals[parameterIndex]; in iterator()
147 locals[localIndex] = currentLocal; in iterator()
148 locals[parameterIndex] = EMPTY_LOCAL_INFO; in iterator()
181 locals[register] = startLocal; in iterator()
191 locals[register] = startLocal; in iterator()
196 LocalInfo localInfo = locals[register]; in iterator()
[all …]
/external/javassist/src/main/javassist/bytecode/stackmap/
DTypedBlock.java98 public void setStackMap(int st, TypeData[] stack, int nl, TypeData[] locals) in setStackMap() argument
104 localsTypes = locals; in setStackMap()
156 TypeData[] locals = new TypeData[maxLocals]; in initFirstBlock() local
158 locals[0] = new TypeData.UninitThis(className); in initFirstBlock()
160 locals[0] = new TypeData.ClassName(className); in initFirstBlock()
165 while ((i = descToTag(methodDesc, i, ++n, locals)) > 0) in initFirstBlock()
166 if (locals[n].is2WordType()) in initFirstBlock()
167 locals[++n] = TypeTag.TOP; in initFirstBlock()
175 localsTypes = locals; in initFirstBlock()
/external/compiler-rt/test/lsan/TestCases/
Dstale_stack_leak.cc18 void *locals[2048]; in PutPointerOnStaleStack() local
19 locals[0] = p; in PutPointerOnStaleStack()
20 pp = &locals[0]; in PutPointerOnStaleStack()
21 fprintf(stderr, "Test alloc: %p.\n", locals[0]); in PutPointerOnStaleStack()
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/
Drcssmin.py114 escape = r'(?:\\(?:%(unicoded)s|%(escaped)s))' % locals()
141 nl_escaped = r'(?:\\%(nl)s)' % locals()
143 space = r'(?:%(spacechar)s|%(comment)s)' % locals()
159 r')') % locals()
165 ) % locals()).sub
170 ) % locals()).sub
173 ) % locals()).sub
206 ) % locals()).sub
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
DJavassistHelper.java99 LocalVariableAttribute locals = null; in getSignature() local
104 locals = (LocalVariableAttribute) attribute; in getSignature()
127 sb.append(parameterNameFor(method, locals, i)); in getSignature()
157 static String parameterNameFor(CtBehavior method, LocalVariableAttribute locals, int i) { in parameterNameFor() argument
159 if (locals == null) { in parameterNameFor()
177 String variableName = locals.variableName(j); in parameterNameFor()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/
Dcollector.py268 locals = f.f_locals
269 if not hasattr(locals, 'has_key'):
273 globals.get('__name__', 'unknown'), locals))
274 locals = {}
284 if '__traceback_supplement__' in locals:
286 tbs = locals['__traceback_supplement__']
311 tbi = locals.get('__traceback_info__', None)
321 tbh = locals.get(name, globals.get(name, marker))
/external/v8/test/mjsunit/regress/
Dregress-crbug-357137.js5 var locals = ""; variable
6 for (var i = 0; i < 1024; i++) locals += "var v" + i + ";";
7 eval("function f() {" + locals + "f();}");
Dregress-crbug-385002.js12 var locals = ""; variable
13 for (var i = 0; i < 1024; i++) locals += "var v" + i + ";";
14 eval("function g() {" + locals + "f();}");
/external/javassist/src/main/javassist/convert/
DTransformBefore.java25 protected int locals; field in TransformBefore
39 locals = 0; in TransformBefore()
46 locals = 0; in initialize()
80 public int extraLocals() { return locals; } in extraLocals()
105 locals = var - maxLocals; in makeCode2()
/external/javassist/src/main/javassist/expr/
DExprEditor.java100 context.updateMax(h.locals(), h.stack()); in doit()
160 LoopContext(int locals) { in LoopContext() argument
161 maxLocals = locals; in LoopContext()
166 void updateMax(int locals, int stack) { in updateMax() argument
167 if (maxLocals < locals) in updateMax()
168 maxLocals = locals; in updateMax()
245 context.updateMax(expr.locals(), expr.stack()); in loopBody()
/external/javassist/src/main/javassist/bytecode/
DStackMap.java146 pos = locals(pos + 4, offset, numLoc); in visit()
156 public int locals(int pos, int offset, int num) { in locals() method in StackMap.Walker
242 public int locals(int pos, int offset, int num) { in locals() method in StackMap.Copier
244 return super.locals(pos, offset, num); in locals()
313 public int locals(int pos, int offset, int num) { in locals() method in StackMap.SimpleCopy
315 return super.locals(pos, offset, num); in locals()
392 public int locals(int pos, int offset, int num) { in locals() method in StackMap.Shifter
396 return super.locals(pos, offset, num); in locals()
490 public int locals(int pos, int offset, int num) { in locals() method in StackMap.Printer
492 return super.locals(pos, offset, num); in locals()
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DFrame.java61 private int locals; field in Frame
76 this.locals = nLocals; in Frame()
85 this(src.locals, src.values.length - src.locals); in Frame()
107 return locals; in getLocals()
118 if (i >= locals) { in getLocal()
134 if (i >= locals) { in setLocal()
159 return values[i + locals]; in getStack()
179 return values[--top + locals]; in pop()
189 if (top + locals >= values.length) { in push()
192 values[top++ + locals] = value; in push()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DDebugInfoDecoder.java52 private final ArrayList<LocalEntry> locals; field in DebugInfoDecoder
108 locals = new ArrayList<LocalEntry>(); in DebugInfoDecoder()
199 return locals; in getLocals()
256 locals.add(thisEntry); in decode0()
278 locals.add(le); in decode0()
294 locals.add(le); in decode0()
307 locals.add(le); in decode0()
333 locals.add(le); in decode0()
359 locals.add(le); in decode0()
DDebugInfoEncoder.java62 private final LocalList locals; field in DebugInfoEncoder
108 public DebugInfoEncoder(PositionList positions, LocalList locals, in DebugInfoEncoder() argument
112 this.locals = locals; in DebugInfoEncoder()
207 int localsSz = locals.size(); in convert0()
231 nextAddrL = locals.get(curLocalIdx).getAddress(); in convert0()
280 int sz = locals.size(); in emitLocalsAtAddress()
285 && (locals.get(curLocalIdx).getAddress() == address)) { in emitLocalsAtAddress()
286 LocalList.Entry entry = locals.get(curLocalIdx++); in emitLocalsAtAddress()
532 int sz = locals.size(); in extractMethodArguments()
535 LocalList.Entry e = locals.get(i); in extractMethodArguments()
/external/mesa3d/src/glsl/
Dlink_functions.cpp48 this->locals = hash_table_ctor(0, hash_table_pointer_hash, in call_link_visitor()
54 hash_table_dtor(this->locals); in ~call_link_visitor()
59 hash_table_insert(locals, ir, ir); in visit()
178 if (hash_table_find(locals, ir->var) == NULL) { in visit()
241 hash_table *locals; member in call_link_visitor
/external/javassist/src/main/javassist/
DCodeConverter.java514 int locals = 0; in doit() local
518 if (s > locals) in doit()
519 locals = s; in doit()
529 if (locals > 0) in doit()
530 codeAttr.setMaxLocals(codeAttr.getMaxLocals() + locals); in doit()
/external/lldb/examples/python/
Dpytracer.py260 locals = frame.getLocals()
261 for local in locals:
264 strout = strout + ("%s = %s " % (local,locals[local]))
281 locals = frame.getLocals()
282 for local in locals:
285 strout = strout + ("%s = %s " % (local,locals[local]))
/external/lldb/source/API/
DSBBlock.cpp259 bool locals, in GetVariables() argument
293 add_variable = locals; in GetVariables()
320 bool locals, in GetVariables() argument
355 add_variable = locals; in GetVariables()

123456