Home
last modified time | relevance | path

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

12345678910

/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()
/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/vm/native/
Djava_lang_VMClassLoader.cpp39 char* name = NULL; in Dalvik_java_lang_VMClassLoader_defineClass() local
41 name = dvmCreateCstrFromString(nameObj); in Dalvik_java_lang_VMClassLoader_defineClass()
43 loader, name, data, offset, len); in Dalvik_java_lang_VMClassLoader_defineClass()
47 free(name); in Dalvik_java_lang_VMClassLoader_defineClass()
84 char* name = NULL; in Dalvik_java_lang_VMClassLoader_findLoadedClass() local
95 name = dvmCreateCstrFromString(nameObj); in Dalvik_java_lang_VMClassLoader_findLoadedClass()
96 if (name == NULL) in Dalvik_java_lang_VMClassLoader_findLoadedClass()
99 descriptor = dvmDotToDescriptor(name); in Dalvik_java_lang_VMClassLoader_findLoadedClass()
107 free(name); in Dalvik_java_lang_VMClassLoader_findLoadedClass()
137 char* name; in Dalvik_java_lang_VMClassLoader_getBootClassPathResource() local
[all …]
DInternalNative.cpp114 if (pMeth->name == NULL) in dvmLookupInternalNativeMethod()
117 if (dvmCompareNameDescriptorAndMethod(pMeth->name, in dvmLookupInternalNativeMethod()
181 char* name = NULL; in dvmFindClassByName() local
188 name = dvmCreateCstrFromString(nameObj); in dvmFindClassByName()
195 if (!dexIsValidClassName(name, true)) { in dvmFindClassByName()
196 ALOGW("dvmFindClassByName rejecting '%s'", name); in dvmFindClassByName()
197 dvmThrowClassNotFoundException(name); in dvmFindClassByName()
201 descriptor = dvmDotToDescriptor(name); in dvmFindClassByName()
217 dvmThrowChainedClassNotFoundException(name, oldExcep); in dvmFindClassByName()
225 free(name); in dvmFindClassByName()
Ddalvik_system_DexFile.cpp26 static bool hasDexExtension(const char* name) { in hasDexExtension() argument
27 size_t len = strlen(name); in hasDexExtension()
30 && (name[len - 5] != '/') in hasDexExtension()
31 && (strcmp(&name[len - 4], ".dex") == 0); in hasDexExtension()
358 char* name; in Dalvik_dalvik_system_DexFile_defineClass() local
361 name = dvmCreateCstrFromString(nameObj); in Dalvik_dalvik_system_DexFile_defineClass()
362 descriptor = dvmDotToDescriptor(name); in Dalvik_dalvik_system_DexFile_defineClass()
365 free(name); in Dalvik_dalvik_system_DexFile_defineClass()
475 char* name; in Dalvik_dalvik_system_DexFile_isDexOptNeeded() local
479 name = dvmCreateCstrFromString(nameObj); in Dalvik_dalvik_system_DexFile_isDexOptNeeded()
[all …]
/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/tests/068-classloader/src/
DFancyLoader.java68 protected Class<?> findClass(String name) throws ClassNotFoundException in findClass() argument
71 return findClassDalvik(name); in findClass()
73 return findClassNonDalvik(name); in findClass()
80 private Class<?> findClassDalvik(String name) in findClassDalvik() argument
121 meth.invoke(mDexFile, name, this); in findClassDalvik()
135 private Class<?> findClassNonDalvik(String name) in findClassNonDalvik() argument
138 String pathName = CLASS_PATH + name + ".class"; in findClassNonDalvik()
168 return defineClass(name, fileData, 0, fileData.length); in findClassNonDalvik()
184 protected Class<?> loadClass(String name, boolean resolve) in loadClass() argument
195 res = findLoadedClass(name); in loadClass()
[all …]
/dalvik/vm/
DInitRefs.cpp24 static bool initClassReference(ClassObject** pClass, const char* name) { in initClassReference() argument
29 if (name[0] == '[') { in initClassReference()
30 result = dvmFindArrayClass(name, NULL); in initClassReference()
32 result = dvmFindSystemClassNoInit(name); in initClassReference()
36 ALOGE("Could not find essential class %s", name); in initClassReference()
45 static struct { ClassObject** ref; const char* name; } classes[] = { in initClassReferences() member
147 if (!initClassReference(classes[i].ref, classes[i].name)) { in initClassReferences()
156 const char* name, const char* type) { in initFieldOffset() argument
157 int offset = dvmFindFieldOffset(clazz, name, type); in initFieldOffset()
159 ALOGE("Could not find essential field %s.%s of type %s", clazz->descriptor, name, type); in initFieldOffset()
[all …]
/dalvik/dx/src/com/android/dx/command/dump/
DMain.java86 String name = args[at]; in main() local
87 System.out.println("reading " + name + "..."); in main()
88 byte[] bytes = FileUtils.readFile(name); in main()
89 if (!name.endsWith(".class")) { in main()
98 processOne(name, bytes); in main()
116 private static void processOne(String name, byte[] bytes) { in processOne() argument
118 DotDumper.dump(bytes, name, parsedArgs); in processOne()
120 BlockDumper.dump(bytes, System.out, name, false, parsedArgs); in processOne()
122 BlockDumper.dump(bytes, System.out, name, true, parsedArgs); in processOne()
126 SsaDumper.dump(bytes, System.out, name, parsedArgs); in processOne()
[all …]
/dalvik/tests/083-jit-regressions/src/
DZeroTests.java31 private static void longTest(String name, boolean divide) throws Exception { in longTest() argument
42 throw new AssertionError(name + " threw during warmup"); in longTest()
55 throw new AssertionError(name + " failed to throw: " + i); in longTest()
60 if (catchCount != 10000) throw new AssertionError(name + " failed: " + catchCount); in longTest()
62 System.out.println(name + " passes"); in longTest()
/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()
/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()
/dalvik/dx/src/com/android/dx/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/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"}

12345678910