Home
last modified time | relevance | path

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

123456

/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()
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/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/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()
53 return name.toHuman() + ":" + value; in toString()
58 return name.hashCode() * 31 + value.hashCode(); in hashCode()
69 return name.equals(otherPair.name) in equals()
80 int result = name.compareTo(other.name); in compareTo()
95 return name; in getName()
/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()
133 return name.toHuman() + ':' + descriptor.toHuman(); in toHuman()
156 return name.getString().equals("<init>"); in isInstanceInit()
[all …]
/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/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()
44 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/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/dx/src/com/android/dx/command/dump/
DMain.java85 String name = args[at]; in main() local
86 System.out.println("reading " + name + "..."); in main()
87 byte[] bytes = FileUtils.readFile(name); in main()
88 if (!name.endsWith(".class")) { in main()
97 processOne(name, bytes); in main()
115 private static void processOne(String name, byte[] bytes) { in processOne() argument
117 DotDumper.dump(bytes, name, parsedArgs); in processOne()
119 BlockDumper.dump(bytes, System.out, name, false, parsedArgs); in processOne()
121 BlockDumper.dump(bytes, System.out, name, true, parsedArgs); in processOne()
125 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.java79 protected Attribute parse0(DirectClassFile cf, int context, String name, in parse0() argument
83 if (name == AttDeprecated.ATTRIBUTE_NAME) { in parse0()
86 if (name == AttEnclosingMethod.ATTRIBUTE_NAME) { in parse0()
89 if (name == AttInnerClasses.ATTRIBUTE_NAME) { in parse0()
92 if (name == AttRuntimeInvisibleAnnotations.ATTRIBUTE_NAME) { in parse0()
96 if (name == AttRuntimeVisibleAnnotations.ATTRIBUTE_NAME) { in parse0()
100 if (name == AttSynthetic.ATTRIBUTE_NAME) { in parse0()
103 if (name == AttSignature.ATTRIBUTE_NAME) { in parse0()
106 if (name == AttSourceFile.ATTRIBUTE_NAME) { in parse0()
112 if (name == AttConstantValue.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/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/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/src/com/android/dx/cf/iface/
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/tests/127-merge-stress/
Drun23 dexes=`find $ANDROID_BUILD_TOP/out -name '*.dex' -printf '%p '`
24 dexesinjars=`find $ANDROID_BUILD_TOP/libcore $ANDROID_BUILD_TOP/out -name '*.jar' -exec sh -c 'unzi…
25 dexesinapks=`find $ANDROID_BUILD_TOP/libcore $ANDROID_BUILD_TOP/out -name '*.apk' -exec sh -c 'unzi…
/dalvik/dx/src/com/android/multidex/
DClassReferenceListBuilder.java71 String name = entry.getName(); in addRoots() local
72 if (name.endsWith(CLASS_EXTENSION)) { in addRoots()
73 classNames.add(name.substring(0, name.length() - CLASS_EXTENSION.length())); in addRoots()
81 String name = entry.getName(); in addRoots() local
82 if (name.endsWith(CLASS_EXTENSION)) { in addRoots()
85 classFile = path.getClass(name); in addRoots()
87 throw new IOException("Class " + name + in addRoots()

123456