Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 146) sorted by relevance

123456

/dalvik/dexgen/src/com/android/dexgen/rop/code/
DLocalItem.java26 private final CstUtf8 name; field in LocalItem
40 public static LocalItem make(CstUtf8 name, CstUtf8 signature) { in make() argument
41 if (name == null && signature == null) { in make()
45 return new LocalItem (name, signature); in make()
54 private LocalItem(CstUtf8 name, CstUtf8 signature) { in LocalItem() argument
55 this.name = name; in LocalItem()
94 ret = compareHandlesNulls(name, local.name); in compareTo()
109 return (name == null ? 0 : name.hashCode()) * 31 in hashCode()
116 if (name != null && signature == null) { in toString()
117 return name.toQuoted(); in toString()
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
DLocalItem.java26 private final CstString name; field in LocalItem
40 public static LocalItem make(CstString name, CstString signature) { in make() argument
41 if (name == null && signature == null) { in make()
45 return new LocalItem (name, signature); in make()
54 private LocalItem(CstString name, CstString signature) { in LocalItem() argument
55 this.name = name; in LocalItem()
95 ret = compareHandlesNulls(name, local.name); in compareTo()
110 return (name == null ? 0 : name.hashCode()) * 31 in hashCode()
117 if (name != null && signature == null) { in toString()
118 return name.toQuoted(); in toString()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstNat.java35 private final CstUtf8 name; field in CstNat
46 public CstNat(CstUtf8 name, CstUtf8 descriptor) { in CstNat() argument
47 if (name == null) { in CstNat()
55 this.name = name; in CstNat()
67 return name.equals(otherNat.name) && in equals()
74 return (name.hashCode() * 31) ^ descriptor.hashCode(); in hashCode()
81 int cmp = name.compareTo(otherNat.name); in compareTo0()
114 return name; in getName()
133 return name.toHuman() + ':' + descriptor.toHuman(); in toHuman()
156 return name.getString().equals("<init>"); in isInstanceInit()
[all …]
/dalvik/dx/src/com/android/dx/rop/cst/
DCstNat.java35 private final CstString name; field in CstNat
46 public CstNat(CstString name, CstString descriptor) { in CstNat() argument
47 if (name == null) { in CstNat()
55 this.name = name; in CstNat()
67 return name.equals(otherNat.name) && in equals()
74 return (name.hashCode() * 31) ^ descriptor.hashCode(); in hashCode()
81 int cmp = name.compareTo(otherNat.name); in compareTo0()
114 return name; in getName()
134 return name.toHuman() + ':' + descriptor.toHuman(); in toHuman()
157 return name.getString().equals("<init>"); in isInstanceInit()
[all …]
/dalvik/dx/src/com/android/dx/rop/annotation/
DNameValuePair.java27 private final CstString name; field in NameValuePair
38 public NameValuePair(CstString name, Constant value) { in NameValuePair() argument
39 if (name == null) { in NameValuePair()
47 this.name = name; in NameValuePair()
54 return name.toHuman() + ":" + value; in toString()
60 return name.hashCode() * 31 + value.hashCode(); in hashCode()
72 return name.equals(otherPair.name) in equals()
84 int result = name.compareTo(other.name); in compareTo()
99 return name; in getName()
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
DNameValuePair.java28 private final CstUtf8 name; field in NameValuePair
39 public NameValuePair(CstUtf8 name, Constant value) { in NameValuePair() argument
40 if (name == null) { in NameValuePair()
53 this.name = name; in NameValuePair()
59 return name.toHuman() + ":" + value; in toString()
64 return name.hashCode() * 31 + value.hashCode(); in hashCode()
75 return name.equals(otherPair.name) in equals()
86 int result = name.compareTo(other.name); in compareTo()
101 return name; in getName()
/dalvik/dx/tests/014-field-attrib-ConstantValue/
Dexpected.txt46 name: a
51 name: ConstantValue
59 name: b
64 name: ConstantValue
72 name: c
77 name: ConstantValue
85 name: d
90 name: ConstantValue
98 name: e
103 name: ConstantValue
[all …]
Dsmall-class.txt55 0005 # name
65 0005 # name
75 0005 # name
85 0005 # name
95 0005 # name
105 0005 # name
115 0005 # name
125 0005 # name
135 0005 # name
/dalvik/dexgen/src/com/android/dexgen/rop/
DBaseAttribute.java26 private final String name; field in BaseAttribute
33 public BaseAttribute(String name) { in BaseAttribute() argument
34 if (name == null) { in BaseAttribute()
38 this.name = name; in BaseAttribute()
43 return name; in getName()
DStdAttributeList.java54 public Attribute findFirst(String name) { in findFirst() argument
59 if (att.getName().equals(name)) { in findFirst()
83 String name = attrib.getName(); in findNext() local
87 if (att.getName().equals(name)) { in findNext()
/dalvik/dx/src/com/android/dx/cf/attrib/
DBaseAttribute.java27 private final String name; field in BaseAttribute
34 public BaseAttribute(String name) { in BaseAttribute() argument
35 if (name == null) { in BaseAttribute()
39 this.name = name; in BaseAttribute()
45 return name; in getName()
DRawAttribute.java42 public RawAttribute(String name, ByteArray data, ConstantPool pool) { in RawAttribute() argument
43 super(name); in RawAttribute()
62 public RawAttribute(String name, ByteArray data, int offset, in RawAttribute() argument
64 this(name, data.slice(offset, offset + length), pool); in RawAttribute()
/dalvik/dx/src/com/android/dx/command/dump/
DMain.java89 String name = args[at]; in run() local
90 System.out.println("reading " + name + "..."); in run()
91 byte[] bytes = FileUtils.readFile(name); in run()
92 if (!name.endsWith(".class")) { in run()
101 processOne(name, bytes); in run()
119 private void processOne(String name, byte[] bytes) { in processOne() argument
121 DotDumper.dump(bytes, name, parsedArgs); in processOne()
123 BlockDumper.dump(bytes, System.out, name, false, parsedArgs); in processOne()
125 BlockDumper.dump(bytes, System.out, name, true, parsedArgs); in processOne()
129 SsaDumper.dump(bytes, System.out, name, parsedArgs); in processOne()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DDop.java36 private final String name; field in Dop
50 boolean hasResult, String name) { in Dop() argument
63 if (name == null) { in Dop()
71 this.name = name; in Dop()
77 return name; in toString()
123 return name; in getName()
/dalvik/dx/src/com/android/dx/cf/direct/
DAttributeFactory.java79 CstString name = null; in parse() local
87 name = (CstString) pool.get(nameIdx); in parse()
91 "name: " + name.toHuman()); in parse()
96 return parse0(cf, context, name.getString(), offset + 6, length, in parse()
100 ((name != null) ? (name.toHuman() + " ") : "") + in parse()
121 protected Attribute parse0(DirectClassFile cf, int context, String name, in parse0() argument
126 Attribute result = new RawAttribute(name, bytes, offset, length, pool); in parse0()
DStdAttributeFactory.java84 protected Attribute parse0(DirectClassFile cf, int context, String name, in parse0() argument
88 if (name == AttBootstrapMethods.ATTRIBUTE_NAME) { in parse0()
91 if (name == AttDeprecated.ATTRIBUTE_NAME) { in parse0()
94 if (name == AttEnclosingMethod.ATTRIBUTE_NAME) { in parse0()
97 if (name == AttInnerClasses.ATTRIBUTE_NAME) { in parse0()
100 if (name == AttRuntimeInvisibleAnnotations.ATTRIBUTE_NAME) { in parse0()
104 if (name == AttRuntimeVisibleAnnotations.ATTRIBUTE_NAME) { in parse0()
108 if (name == AttSynthetic.ATTRIBUTE_NAME) { in parse0()
111 if (name == AttSignature.ATTRIBUTE_NAME) { in parse0()
114 if (name == AttSourceDebugExtension.ATTRIBUTE_NAME) { in parse0()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DSection.java29 private final String name; field in Section
69 public Section(String name, DexFile file, int alignment) { in Section() argument
76 this.name = name; in Section()
161 if (name != null) { in writeTo()
162 out.annotate(0, "\n" + name + ":"); in writeTo()
285 return name; in getName()
DStatistics.java82 sortedData.put(data.name, data); in writeAnnotation()
98 sortedData.put(data.name, data); in toHuman()
113 private final String name; field in Statistics.Data
133 public Data(Item item, String name) { in Data() argument
136 this.name = name; in Data()
180 sb.append(" " + name + ": " + in toHuman()
/dalvik/dx/src/com/android/dx/dex/file/
DSection.java28 private final String name; field in Section
68 public Section(String name, DexFile file, int alignment) { in Section() argument
75 this.name = name; in Section()
160 if (name != null) { in writeTo()
161 out.annotate(0, "\n" + name + ":"); in writeTo()
284 return name; in getName()
DStatistics.java81 sortedData.put(data.name, data); in writeAnnotation()
97 sortedData.put(data.name, data); in toHuman()
112 private final String name; field in Statistics.Data
132 public Data(Item item, String name) { in Data() argument
135 this.name = name; in Data()
179 sb.append(" " + name + ": " + in toHuman()
/dalvik/dx/src/com/android/dx/cf/code/
DLocalVariableList.java145 public void set(int n, int startPc, int length, CstString name, in set() argument
147 set0(n, new Item(startPc, length, name, descriptor, signature, index)); in set()
210 private final CstString name; field in LocalVariableList.Item
235 public Item(int startPc, int length, CstString name, in Item() argument
245 if (name == null) { in Item()
260 this.name = name; in Item()
299 return LocalItem.make(name, signature); in getLocalItem()
339 return new Item(startPc, length, name, descriptor, newSignature, in withSignature()
370 && name.equals(other.name); in matchesAllButType()
/dalvik/dx/tests/010-class-attrib-InnerClasses/
Dexpected.txt26 name: InnerClasses
31 name: (none)
35 name: string{"Small"}
39 name: (none)
43 name: string{"Zorch"}
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java695 private boolean processFileBytes(String name, long lastModified, byte[] bytes) { in processFileBytes() argument
697 boolean isClass = name.endsWith(".class"); in processFileBytes()
698 boolean isClassesDex = name.equals(DexFormat.DEX_IN_JAR_NAME); in processFileBytes()
703 context.out.println("ignored resource " + name); in processFileBytes()
709 context.out.println("processing " + name + "..."); in processFileBytes()
712 String fixedName = fixPath(name); in processFileBytes()
749 private boolean processClass(String name, byte[] bytes) { in processClass() argument
751 checkClassName(name); in processClass()
755 new DirectClassFileConsumer(name, bytes, null).call( in processClass()
756 new ClassParserTask(name, bytes).call()); in processClass()
[all …]
/dalvik/dx/src/com/android/multidex/
DClassReferenceListBuilder.java70 String name = entry.getName(); in addRoots() local
71 if (name.endsWith(CLASS_EXTENSION)) { in addRoots()
72 classNames.add(name.substring(0, name.length() - CLASS_EXTENSION.length())); in addRoots()
80 String name = entry.getName(); in addRoots() local
81 if (name.endsWith(CLASS_EXTENSION)) { in addRoots()
84 classFile = path.getClass(name); in addRoots()
86 throw new IOException("Class " + name + in addRoots()
/dalvik/dexgen/src/com/android/dexgen/util/
DFixedSizeList.java71 String name = getClass().getName(); in toString() local
73 return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', in toString()
86 String name = getClass().getName(); in toHuman() local
88 return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', in toHuman()

123456