Lines Matching refs:name
24 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()
170 const char* name; in initFieldOffsets() member
258 static struct { const char* name; const struct FieldInfo* fields; } classes[] = { in initFieldOffsets() member
276 for (i = 0; classes[i].name != NULL; i++) { in initFieldOffsets()
277 const char* className = classes[i].name; in initFieldOffsets()
288 if (!initFieldOffset(clazz, fields[j].offset, fields[j].name, fields[j].type)) { in initFieldOffsets()
298 const char* name, const char* descriptor) { in initDirectMethodReferenceByClass() argument
299 Method* method = dvmFindDirectMethodByDescriptor(clazz, name, descriptor); in initDirectMethodReferenceByClass()
303 clazz->descriptor, name, descriptor); in initDirectMethodReferenceByClass()
312 const char* name, const char* descriptor) { in initDirectMethodReference() argument
320 return initDirectMethodReferenceByClass(pMethod, clazz, name, descriptor); in initDirectMethodReference()
324 static struct { Method** method; const char* name; const char* descriptor; } constructors[] = { in initConstructorReferences() member
344 if (!initDirectMethodReference(constructors[i].method, constructors[i].name, in initConstructorReferences()
357 const char* name; in initDirectMethodReferences() member
386 methods[i].name, methods[i].descriptor)) { in initDirectMethodReferences()
395 const char* name, const char* descriptor) { in initVirtualMethodOffset() argument
403 Method* method = dvmFindVirtualMethodByDescriptor(clazz, name, descriptor); in initVirtualMethodOffset()
407 clazz->descriptor, name, descriptor); in initVirtualMethodOffset()
419 const char* name; in initVirtualMethodOffsets() member
438 methods[i].name, methods[i].descriptor)) { in initVirtualMethodOffsets()
453 static bool verifyStringOffset(const char* name, int actual, int expected) { in verifyStringOffset() argument
455 ALOGE("InitRefs: String.%s offset = %d; expected %d", name, actual, expected); in verifyStringOffset()