Home
last modified time | relevance | path

Searched refs:prototype (Results 1 – 10 of 10) sorted by relevance

/dalvik/dx/src/com/android/dx/dex/file/
DProtoIdItem.java32 private final Prototype prototype; field in ProtoIdItem
48 public ProtoIdItem(Prototype prototype) { in ProtoIdItem() argument
49 if (prototype == null) { in ProtoIdItem()
53 this.prototype = prototype; in ProtoIdItem()
54 this.shortForm = makeShortForm(prototype); in ProtoIdItem()
56 StdTypeList parameters = prototype.getParameterTypes(); in ProtoIdItem()
67 private static CstString makeShortForm(Prototype prototype) { in makeShortForm() argument
68 StdTypeList parameters = prototype.getParameterTypes(); in makeShortForm()
72 sb.append(shortFormCharFor(prototype.getReturnType())); in makeShortForm()
116 typeIds.intern(prototype.getReturnType()); in addContents()
[all …]
DProtoIdsSection.java89 public ProtoIdItem intern(Prototype prototype) { in intern() argument
90 if (prototype == null) { in intern()
96 ProtoIdItem result = protoIds.get(prototype); in intern()
99 result = new ProtoIdItem(prototype); in intern()
100 protoIds.put(prototype, result); in intern()
113 public int indexOf(Prototype prototype) { in indexOf() argument
114 if (prototype == null) { in indexOf()
120 ProtoIdItem item = protoIds.get(prototype); in indexOf()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DProtoIdItem.java35 private final Prototype prototype; field in ProtoIdItem
51 public ProtoIdItem(Prototype prototype) { in ProtoIdItem() argument
52 if (prototype == null) { in ProtoIdItem()
56 this.prototype = prototype; in ProtoIdItem()
57 this.shortForm = makeShortForm(prototype); in ProtoIdItem()
59 StdTypeList parameters = prototype.getParameterTypes(); in ProtoIdItem()
70 private static CstUtf8 makeShortForm(Prototype prototype) { in makeShortForm() argument
71 StdTypeList parameters = prototype.getParameterTypes(); in makeShortForm()
75 sb.append(shortFormCharFor(prototype.getReturnType())); in makeShortForm()
119 typeIds.intern(prototype.getReturnType()); in addContents()
[all …]
DProtoIdsSection.java90 public ProtoIdItem intern(Prototype prototype) { in intern() argument
91 if (prototype == null) { in intern()
97 ProtoIdItem result = protoIds.get(prototype); in intern()
100 result = new ProtoIdItem(prototype); in intern()
101 protoIds.put(prototype, result); in intern()
114 public int indexOf(Prototype prototype) { in indexOf() argument
115 if (prototype == null) { in indexOf()
121 ProtoIdItem item = protoIds.get(prototype); in indexOf()
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstBaseMethodRef.java32 private final Prototype prototype; field in CstBaseMethodRef
50 this.prototype = Prototype.intern(descriptor); in CstBaseMethodRef()
61 return prototype; in getPrototype()
77 return prototype; in getPrototype()
81 instancePrototype = prototype.withFirstParameter(thisType); in getPrototype()
97 return prototype.compareTo(otherMethod.prototype); in compareTo0()
108 return prototype.getReturnType(); in getType()
/dalvik/dx/src/com/android/dx/rop/cst/
DCstBaseMethodRef.java32 private final Prototype prototype; field in CstBaseMethodRef
50 this.prototype = Prototype.intern(descriptor); in CstBaseMethodRef()
61 return prototype; in getPrototype()
77 return prototype; in getPrototype()
81 instancePrototype = prototype.withFirstParameter(thisType); in getPrototype()
97 return prototype.compareTo(otherMethod.prototype); in compareTo0()
108 return prototype.getReturnType(); in getType()
/dalvik/dx/src/com/android/dx/cf/code/
DBaseMachine.java37 private final Prototype prototype; field in BaseMachine
87 public BaseMachine(Prototype prototype) { in BaseMachine() argument
88 if (prototype == null) { in BaseMachine()
92 this.prototype = prototype; in BaseMachine()
100 return prototype; in getPrototype()
137 public void popArgs(Frame frame, Prototype prototype) { in popArgs() argument
138 StdTypeList types = prototype.getParameterTypes(); in popArgs()
DMachine.java67 public void popArgs(Frame frame, Prototype prototype); in popArgs() argument
DValueAwareMachine.java36 public ValueAwareMachine(Prototype prototype) { in ValueAwareMachine() argument
37 super(prototype); in ValueAwareMachine()
DSimulator.java653 Prototype prototype = in visitConstant() local
655 machine.popArgs(frame, prototype); in visitConstant()
663 Prototype prototype = in visitConstant() local
665 machine.popArgs(frame, prototype); in visitConstant()
678 Prototype prototype = in visitConstant() local
680 machine.popArgs(frame, prototype); in visitConstant()