Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/rop/cst/
DCstProtoRef.java27 private final Prototype prototype; field in CstProtoRef
29 public CstProtoRef(Prototype prototype) { in CstProtoRef() argument
30 this.prototype = prototype; in CstProtoRef()
41 Prototype prototype = Prototype.fromDescriptor(descriptor.getString()); in make() local
42 return new CstProtoRef(prototype); in make()
57 return prototype.hashCode(); in hashCode()
76 return prototype.compareTo(otherCstProtoRef.getPrototype()); in compareTo0()
82 return prototype.getDescriptor(); in toHuman()
92 return prototype; in getPrototype()
DCstBaseMethodRef.java32 private final Prototype prototype; field in CstBaseMethodRef
56 this.prototype = Prototype.fromDescriptor(descriptor); in CstBaseMethodRef()
58 this.prototype = Prototype.intern(descriptor); in CstBaseMethodRef()
70 return prototype; in getPrototype()
86 return prototype; in getPrototype()
90 instancePrototype = prototype.withFirstParameter(thisType); in getPrototype()
106 return prototype.compareTo(otherMethod.prototype); in compareTo0()
118 return prototype.getReturnType(); in getType()
DCstInvokeDynamic.java36 private final Prototype prototype; field in CstInvokeDynamic
68 this.prototype = Prototype.fromDescriptor(nat.getDescriptor().toHuman()); in CstInvokeDynamic()
163 return prototype; in getPrototype()
172 return prototype.getReturnType(); in getReturnType()
/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/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.java105 public synchronized ProtoIdItem intern(Prototype prototype) { in intern() argument
106 if (prototype == null) { in intern()
112 ProtoIdItem result = protoIds.get(prototype); in intern()
115 result = new ProtoIdItem(prototype); in intern()
116 protoIds.put(prototype, result); in intern()
129 public int indexOf(Prototype prototype) { in indexOf() argument
130 if (prototype == null) { in indexOf()
136 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/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()
101 return prototype; in getPrototype()
141 public void popArgs(Frame frame, Prototype prototype) { in popArgs() argument
142 StdTypeList types = prototype.getParameterTypes(); in popArgs()
DMachine.java67 public void popArgs(Frame frame, Prototype prototype); in popArgs() argument
DValueAwareMachine.java37 public ValueAwareMachine(Prototype prototype) { in ValueAwareMachine() argument
38 super(prototype); in ValueAwareMachine()
DSimulator.java705 Prototype prototype in visitConstant() local
707 machine.popArgs(frame, prototype); in visitConstant()
713 Prototype prototype = invokeDynamicRef.getPrototype(); in visitConstant() local
714 machine.popArgs(frame, prototype); in visitConstant()
730 Prototype prototype = in visitConstant() local
732 machine.popArgs(frame, prototype); in visitConstant()