Home
last modified time | relevance | path

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

1234567

/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()
/external/chromium_org/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/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/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/skia/tests/
DPathOpsCubicQuadIntersectionTest.cpp174 SkIntersections locals; in DEF_TEST() local
175 locals.allowNear(false); in DEF_TEST()
176 locals.intersect(quad, nearby); in DEF_TEST()
177 if (locals.used() != 1) { in DEF_TEST()
209 SkDVector dist = liner.pt(0) - locals.pt(0); in DEF_TEST()
210 SkDVector qV = nearby.dxdyAtT(locals[0][0]); in DEF_TEST()
218 double quadT = tStart + (tEnd - tStart) * locals[0][0]; in DEF_TEST()
241 locals.pt(0).fX, locals.pt(0).fY, quadT, cubicT, dist.length(), qxc); in DEF_TEST()
254 locals.pt(0).fX, locals.pt(0).fY); in DEF_TEST()
/external/chromium_org/third_party/skia/tests/
DPathOpsCubicQuadIntersectionTest.cpp174 SkIntersections locals; in DEF_TEST() local
175 locals.allowNear(false); in DEF_TEST()
176 locals.intersect(quad, nearby); in DEF_TEST()
177 if (locals.used() != 1) { in DEF_TEST()
209 SkDVector dist = liner.pt(0) - locals.pt(0); in DEF_TEST()
210 SkDVector qV = nearby.dxdyAtT(locals[0][0]); in DEF_TEST()
218 double quadT = tStart + (tEnd - tStart) * locals[0][0]; in DEF_TEST()
241 locals.pt(0).fX, locals.pt(0).fY, quadT, cubicT, dist.length(), qxc); in DEF_TEST()
254 locals.pt(0).fX, locals.pt(0).fY); in DEF_TEST()
/external/chromium_org/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/chromium_org/base/android/jni_generator/
DtestMotionEvent.javap7835 stack=3, locals=1, args_size=1
853 stack=3, locals=1, args_size=1
871 stack=3, locals=16, args_size=14
900 stack=3, locals=15, args_size=13
931 stack=3, locals=14, args_size=12
958 stack=3, locals=15, args_size=13
989 stack=3, locals=8, args_size=6
1010 stack=3, locals=1, args_size=1
1026 stack=3, locals=1, args_size=1
1042 stack=3, locals=1, args_size=1
[all …]
/external/chromium_org/tools/site_compare/drivers/
D__init__.py11 keyboard = __import__(platform_dir+".keyboard", globals(), locals(), [''])
12 mouse = __import__(platform_dir+".mouse", globals(), locals(), [''])
13 windowing = __import__(platform_dir+".windowing", globals(), locals(), [''])
/external/chromium_org/tools/gyp/pylib/gyp/generator/
Dgypsh.py44 locals = {
54 (sys.version, sys.platform, repr(sorted(locals.keys())))
56 code.interact(banner, local=locals)
/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()
/external/skia/experimental/Intersection/
DCubicIntersection.cpp122 Intersections locals; in intersect3() local
123 intersectWithOrder(s1, o1, s2, o2, locals); in intersect3()
126 int tCount = locals.used(); in intersect3()
128 double to1 = t1Start + (t1 - t1Start) * locals.fT[0][tIdx]; in intersect3()
129 double to2 = t2Start + (t2 - t2Start) * locals.fT[1][tIdx]; in intersect3()
134 if (locals.fIsCoincident[0] & 1 << tIdx) { in intersect3()
156 (t1Start + (t1 - t1Start) * locals.fT[0][tIdx - 1] + to1) / 2; in intersect3()
159 (t1Start + (t1 - t1Start) * locals.fT[0][tIdx + 1] + to1) / 2; in intersect3()
189 (t2Start + (t2 - t2Start) * locals.fT[1][tIdx - 1] + to2) / 2; in intersect3()
191 (t2Start + (t2 - t2Start) * locals.fT[1][tIdx + 1] + to2) / 2; in intersect3()
[all …]
/external/chromium_org/third_party/skia/experimental/Intersection/
DCubicIntersection.cpp122 Intersections locals; in intersect3() local
123 intersectWithOrder(s1, o1, s2, o2, locals); in intersect3()
126 int tCount = locals.used(); in intersect3()
128 double to1 = t1Start + (t1 - t1Start) * locals.fT[0][tIdx]; in intersect3()
129 double to2 = t2Start + (t2 - t2Start) * locals.fT[1][tIdx]; in intersect3()
134 if (locals.fIsCoincident[0] & 1 << tIdx) { in intersect3()
156 (t1Start + (t1 - t1Start) * locals.fT[0][tIdx - 1] + to1) / 2; in intersect3()
159 (t1Start + (t1 - t1Start) * locals.fT[0][tIdx + 1] + to1) / 2; in intersect3()
189 (t2Start + (t2 - t2Start) * locals.fT[1][tIdx - 1] + to2) / 2; in intersect3()
191 (t2Start + (t2 - t2Start) * locals.fT[1][tIdx + 1] + to2) / 2; in intersect3()
[all …]
/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/chromium_org/third_party/mesa/src/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

1234567