Searched refs:prototype (Results 1 - 12 of 12) sorted by last modified time

/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DProtoIdItem.java28 * Representation of a method prototype reference inside a Dalvik file.
34 /** {@code non-null;} the wrapped prototype */
35 private final Prototype prototype; field in class:ProtoIdItem
37 /** {@code non-null;} the short-form of the prototype */
42 * prototype has no parameters
49 * @param prototype {@code non-null;} the constant for the prototype
51 public ProtoIdItem(Prototype prototype) { argument
52 if (prototype == null) {
53 throw new NullPointerException("prototype
70 makeShortForm(Prototype prototype) argument
[all...]
H A DProtoIdsSection.java28 * Proto (method prototype) identifiers list section of a
87 * @param prototype {@code non-null;} the prototype to intern
90 public ProtoIdItem intern(Prototype prototype) { argument
91 if (prototype == null) {
92 throw new NullPointerException("prototype == null");
97 ProtoIdItem result = protoIds.get(prototype);
100 result = new ProtoIdItem(prototype);
101 protoIds.put(prototype, result);
108 * Gets the index of the given prototype, whic
114 indexOf(Prototype prototype) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DCstBaseMethodRef.java31 /** {@code non-null;} the raw prototype for this method */
32 private final Prototype prototype; field in class:CstBaseMethodRef
35 * {@code null-ok;} the prototype for this method taken to be an instance
50 this.prototype = Prototype.intern(descriptor);
55 * Gets the raw prototype of this method. This doesn't include a
58 * @return {@code non-null;} the method prototype
61 return prototype;
65 * Gets the prototype of this method as either a
68 * prototype. In the case of an instance method, this has an
73 * @return {@code non-null;} the method prototype
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DBaseMachine.java36 /* {@code non-null;} the prototype for the associated method */
37 private final Prototype prototype; field in class:BaseMachine
84 * @param prototype {@code non-null;} the prototype for the
87 public BaseMachine(Prototype prototype) { argument
88 if (prototype == null) {
89 throw new NullPointerException("prototype == null");
92 this.prototype = prototype;
101 return prototype;
141 popArgs(Frame frame, Prototype prototype) argument
[all...]
H A DMachine.java33 * Gets the effective prototype of the method that this instance is
34 * being used for. The <i>effective</i> prototype includes an initial
37 * @return {@code non-null;} the method prototype
59 * order, so the first prototype argument type is for the deepest
65 * @param prototype {@code non-null;} prototype indicating arguments to pop
67 public void popArgs(Frame frame, Prototype prototype); argument
H A DSimulator.java560 * Checks whether the prototype is compatible with returning the
569 * Check to see if the prototype's return type is
575 fail("return type mismatch: prototype " +
701 * Get the instance or static prototype, and use it to
705 Prototype prototype
707 machine.popArgs(frame, prototype);
713 Prototype prototype = invokeDynamicRef.getPrototype();
714 machine.popArgs(frame, prototype);
723 * create. Make a prototype of that many "int"
730 Prototype prototype
[all...]
H A DValueAwareMachine.java34 * @param prototype {@code non-null;} the prototype for the associated
37 public ValueAwareMachine(Prototype prototype) { argument
38 super(prototype);
/dalvik/dx/src/com/android/dx/dex/file/
H A DProtoIdItem.java28 * Representation of a method prototype reference inside a Dalvik file.
31 /** {@code non-null;} the wrapped prototype */
32 private final Prototype prototype; field in class:ProtoIdItem
34 /** {@code non-null;} the short-form of the prototype */
39 * prototype has no parameters
46 * @param prototype {@code non-null;} the constant for the prototype
48 public ProtoIdItem(Prototype prototype) { argument
49 if (prototype == null) {
50 throw new NullPointerException("prototype
67 makeShortForm(Prototype prototype) argument
[all...]
H A DProtoIdsSection.java28 * Proto (method prototype) identifiers list section of a
102 * @param prototype {@code non-null;} the prototype to intern
105 public synchronized ProtoIdItem intern(Prototype prototype) { argument
106 if (prototype == null) {
107 throw new NullPointerException("prototype == null");
112 ProtoIdItem result = protoIds.get(prototype);
115 result = new ProtoIdItem(prototype);
116 protoIds.put(prototype, result);
123 * Gets the index of the given prototype, whic
129 indexOf(Prototype prototype) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstBaseMethodRef.java31 /** {@code non-null;} the raw prototype for this method */
32 private final Prototype prototype; field in class:CstBaseMethodRef
35 * {@code null-ok;} the prototype for this method taken to be an instance
51 // The prototype for signature polymorphic methods is used to
53 // target (invoke() or invokeExact(). The prototype is created
56 this.prototype = Prototype.fromDescriptor(descriptor);
58 this.prototype = Prototype.intern(descriptor);
64 * Gets the raw prototype of this method. This doesn't include a
67 * @return {@code non-null;} the method prototype
70 return prototype;
[all...]
H A DCstInvokeDynamic.java35 /** {@code non-null;} the prototype derived from {@code nat} */
36 private final Prototype prototype; field in class:CstInvokeDynamic
68 this.prototype = Prototype.fromDescriptor(nat.getDescriptor().toHuman());
160 * @return the {@code invokedynamic} call site prototype
163 return prototype;
172 return prototype.getReturnType();
H A DCstProtoRef.java26 /** {@code non-null;} the prototype */
27 private final Prototype prototype; field in class:CstProtoRef
29 public CstProtoRef(Prototype prototype) { argument
30 this.prototype = prototype;
41 Prototype prototype = Prototype.fromDescriptor(descriptor.getString());
42 return new CstProtoRef(prototype);
57 return prototype.hashCode();
76 return prototype.compareTo(otherCstProtoRef.getPrototype());
82 return prototype
[all...]

Completed in 180 milliseconds