Searched defs:name (Results 51 - 75 of 95) sorted by relevance

1234

/dalvik/tests/079-phantom/src/
H A DBitmap.java35 Bitmap(String name, int width, int height, Bitmap.NativeWrapper nativeData) { argument
36 mName = name;
/dalvik/vm/alloc/
H A DHeapBitmap.cpp27 const char *name)
33 assert(name != NULL);
35 bits = dvmAllocRegion(bitsLen, PROT_READ | PROT_WRITE, name);
37 ALOGE("Could not mmap %zd-byte ashmem region '%s'", bitsLen, name);
26 dvmHeapBitmapInit(HeapBitmap *hb, const void *base, size_t maxSize, const char *name) argument
/dalvik/vm/native/
H A Djava_lang_System.cpp341 char* name; local
349 name = dvmCreateCstrFromString(nameObj);
350 mappedName = dvmCreateSystemLibraryName(name);
356 free(name);
H A Ddalvik_system_DexFile.cpp24 * Return true if the given name ends with ".dex".
26 static bool hasDexExtension(const char* name) { argument
27 size_t len = strlen(name);
30 && (name[len - 5] != '/')
31 && (strcmp(&name[len - 4], ".dex") == 0);
190 * out because variations in name (e.g. "/system/framework/./ext.jar")
204 * Try to open it directly as a DEX if the name ends with ".dex".
335 * private static Class defineClass(String name, ClassLoader loader,
343 * The class name is a "binary name",
357 char* name; local
474 char* name; local
[all...]
H A Djava_lang_Class.cpp49 * length of the package portion of the class name string.
81 * "pkgOrClass" holds a fully-qualified class name, converted from
115 * static public Class<?> classForName(String name, boolean initialize,
119 * the specified name.
121 * "name" is in "binary name" format, e.g. "dalvik.system.Debug$1".
162 * dimensional array, we have to do the lookup by name.
260 * static Field getDeclaredField(Class klass, String name)
291 * Class clazz, String name, Class[] args);
356 * Return the class' name
373 const char* name; local
[all...]
/dalvik/vm/oo/
H A DResolve.cpp36 * Find the class corresponding to "classIdx", which maps to a class name
203 const char* name = dexStringById(pDvmDex->pDexFile, pMethodId->nameIdx); local
214 resMethod = dvmFindDirectMethod(resClass, name, &proto);
216 resMethod = dvmFindDirectMethodHier(resClass, name, &proto);
218 resMethod = dvmFindVirtualMethodHier(resClass, name, &proto);
222 dvmThrowNoSuchMethodError(name);
227 methodIdx, resClass->descriptor, resMethod->name);
231 dvmThrowAbstractMethodError(name);
268 resMethod->clazz->descriptor, resMethod->name,
345 methodIdx, resClass->descriptor, resMethod->name);
[all...]
H A DObject.cpp36 * Find a field with a matching name and signature. The Java programming
37 * language does not allow you to have two fields with the same name
39 * bail out early when the name matches.
43 if (strcmp(fieldName, pField->name) == 0 &&
94 * Find a field with a matching name and signature. As with instance
95 * fields, the VM allows you to have two fields with the same name so
100 if (strcmp(fieldName, pField->name) == 0 &&
205 * Compare the given name, return type, and argument types with the contents
214 if (strcmp(methodName, method->name) != 0) {
350 /* Copy the rest of a class name
365 findMethodInListByDescriptor(const ClassObject* clazz, bool findVirtual, bool isHier, const char* name, const char* descriptor) argument
425 findMethodInListByProto(const ClassObject* clazz, MethodType wantedType, bool isHier, const char* name, const DexProto* proto) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DDexFile.java137 * than one class with the same name.
146 * Gets the class definition with the given name, if any.
148 * @param name {@code non-null;} the class name to look for
149 * @return {@code null-ok;} the class with the given name, or {@code null}
152 public ClassDefItem getClassOrNull(String name) { argument
154 Type type = Type.internClassName(name);
/dalvik/dx/etc/
H A Djasmin.jar ... java.lang.String) throws jas.jasError String name String type String add public void addValue (java.lang ...
/dalvik/dx/src/com/android/dx/command/dump/
H A DBaseDumper.java146 public void startParsingMember(ByteArray bytes, int offset, String name, argument
152 public void endParsingMember(ByteArray bytes, int offset, String name, argument
/dalvik/dx/src/com/android/dx/dex/file/
H A DDexFile.java158 * than one class with the same name.
167 * Gets the class definition with the given name, if any.
169 * @param name {@code non-null;} the class name to look for
170 * @return {@code null-ok;} the class with the given name, or {@code null}
173 public ClassDefItem getClassOrNull(String name) { argument
175 Type type = Type.internClassName(name);
/dalvik/hit/src/com/android/hit/
H A DHeap.java47 public Heap(String name) { argument
48 mName = name;
108 public final ClassObj getClass(String name) { argument
109 return mClassesByName.get(name);
161 String name = theClass.mClassName;
/dalvik/libdex/
H A DDexDebugInfo.cpp113 const char *name; member in struct:LocalInfo
125 localInReg[reg].name,
167 localInReg[argReg].name = "this";
181 const char *name; local
189 name = readStringIdx(pDexFile, &stream);
202 if (name != NULL) {
203 localInReg[reg].name = name;
239 localInReg[reg].name = readStringIdx(pDexFile, &stream);
269 if (localInReg[reg].name
[all...]
H A Dsha1.cpp402 "%s [-c|-h][-q] file name[s]\n"
434 char name[MAXFILE]; local
464 fnsplit(argv[i], drive, dir, name, ext);
/dalvik/vm/
H A DInitRefs.cpp24 static bool initClassReference(ClassObject** pClass, const char* name) { argument
29 if (name[0] == '[') {
30 result = dvmFindArrayClass(name, NULL);
32 result = dvmFindSystemClassNoInit(name);
36 ALOGE("Could not find essential class %s", name);
45 static struct { ClassObject** ref; const char* name; } classes[] = { member in struct:__anon19
147 if (!initClassReference(classes[i].ref, classes[i].name)) {
156 const char* name, const char* type) {
157 int offset = dvmFindFieldOffset(clazz, name, type);
159 ALOGE("Could not find essential field %s.%s of type %s", clazz->descriptor, name, typ
155 initFieldOffset(ClassObject* clazz, int *pOffset, const char* name, const char* type) argument
170 const char* name; member in struct:FieldInfo
258 static struct { const char* name; const struct FieldInfo* fields; } classes[] = { member in struct:__anon20
297 initDirectMethodReferenceByClass(Method** pMethod, ClassObject* clazz, const char* name, const char* descriptor) argument
311 initDirectMethodReference(Method** pMethod, const char* className, const char* name, const char* descriptor) argument
324 static struct { Method** method; const char* name; const char* descriptor; } constructors[] = { member in struct:__anon21
357 const char* name; member in struct:__anon22
394 initVirtualMethodOffset(int* pOffset, const char* className, const char* name, const char* descriptor) argument
419 const char* name; member in struct:__anon23
453 verifyStringOffset(const char* name, int actual, int expected) argument
[all...]
H A DInit.cpp81 dvmFprintf(stderr, " -ea[:<package name>... |:<class name>]\n");
82 dvmFprintf(stderr, " -da[:<package name>... |:<class name>]\n");
302 * Handle one of the JDWP name/value pairs.
312 * onthrow=<exception-name>: connect to debugger when exception thrown
318 static bool handleJdwpOption(const char* name, const char* value) argument
320 if (strcmp(name, "transport") == 0) {
329 } else if (strcmp(name, "server") == 0) {
338 } else if (strcmp(name, "suspen
391 char* name = mangle; local
1410 loadJniLibrary(const char* name) argument
[all...]
H A DMisc.cpp293 result += field->name;
304 result += method->name;
316 * name for the given type descriptor. That is, The initial "L" and
349 * corresponding to the "dot version" of the given class name. That
394 * Return a newly-allocated string for the internal-form class name for
417 * internal-form class name. That is, a non-array class name will get
607 void *dvmAllocRegion(size_t byteCount, int prot, const char *name) { argument
612 fd = ashmem_create_region(name, byteCount);
/dalvik/vm/analysis/
H A DLiveness.cpp72 meth->clazz->descriptor, meth->name, meth->shorty);
738 const char* name, const char* descriptor, const char* signature)
745 startAddress, endAddress, reg, name, descriptor);
737 markLocalsCb(void* ctxt, u2 reg, u4 startAddress, u4 endAddress, const char* name, const char* descriptor, const char* signature) argument
/dalvik/vm/compiler/
H A DUtility.cpp176 cUnit->method->name);
225 methodStats->method->name,
387 void dvmGetBlockName(BasicBlock *bb, char *name) argument
391 snprintf(name, BLOCK_NAME_LEN, "entry");
394 snprintf(name, BLOCK_NAME_LEN, "exit");
397 snprintf(name, BLOCK_NAME_LEN, "block%04x", bb->startOffset);
400 snprintf(name, BLOCK_NAME_LEN, "chain%04x", bb->startOffset);
403 snprintf(name, BLOCK_NAME_LEN, "exception%04x", bb->startOffset);
406 snprintf(name, BLOCK_NAME_LEN, "??");
H A DDataflow.cpp909 char *getSSAName(const CompilationUnit *cUnit, int ssaReg, char *name) argument
913 sprintf(name, "v%d_%d",
915 return name;
/dalvik/tools/dmtracedump/
H A DCreateTestTrace.c103 * and the third column is the method (actually just the class name). The
226 /* Parse the name to support "class.method signature" */
276 char *name = callStack[threadId].frames[indentLevel - 1]->fullName; local
277 if (strcmp(name, records[nextRecord].fullName) == 0) {
279 printf(" Exiting %s\n", name);
393 * same name.
/dalvik/dexgen/src/com/android/dexgen/rop/type/
H A DType.java167 * suffix on the name helps disambiguate this from the instance
174 * suffix on the name helps disambiguate this from the instance
181 * suffix on the name helps disambiguate this from the instance
188 * suffix on the name helps disambiguate this from the instance
195 * suffix on the name helps disambiguate this from the instance
202 * suffix on the name helps disambiguate this from the instance
209 * suffix on the name helps disambiguate this from the instance
216 * suffix on the name helps disambiguate this from the instance
223 * suffix on the name helps disambiguate this from the instance
273 * {@code null-ok;} the internal-form class name correspondin
448 internClassName(String name) argument
[all...]
/dalvik/dx/src/com/android/dx/command/dexer/
H A DMain.java106 * {@code non-null;} name of the standard manifest file in {@code .jar}
112 * {@code non-null;} attribute name for the (quasi-standard?)
197 "error: no incremental output name specified");
389 public boolean processFileBytes(String name, long lastModified, byte[] bytes) {
391 threadPool.execute(new ParallelProcessor(name, lastModified, bytes));
394 return Main.processFileBytes(name, lastModified, bytes);
424 * @param name {@code non-null;} name of the file
428 private static boolean processFileBytes(String name, long lastModified, byte[] bytes) { argument
429 boolean isClass = name
477 processClass(String name, byte[] bytes) argument
510 checkClassName(String name) argument
702 openOutput(String name) argument
[all...]
/dalvik/dx/src/com/android/dx/io/
H A DDexBuffer.java205 public Section appendSection(int maxByteCount, String name) { argument
207 Section result = new Section(name, length, limit);
304 private final String name; field in class:DexBuffer.Section
309 private Section(String name, int position, int limit) { argument
310 this.name = name;
543 throw new DexException("Section limit " + limit + " exceeded by " + name);
610 throw new DexException("Section limit " + limit + " exceeded by " + name);
619 throw new DexException("Section limit " + limit + " exceeded by " + name);
/dalvik/dx/src/com/android/dx/rop/type/
H A DType.java152 * suffix on the name helps disambiguate this from the instance
159 * suffix on the name helps disambiguate this from the instance
166 * suffix on the name helps disambiguate this from the instance
173 * suffix on the name helps disambiguate this from the instance
180 * suffix on the name helps disambiguate this from the instance
187 * suffix on the name helps disambiguate this from the instance
194 * suffix on the name helps disambiguate this from the instance
201 * suffix on the name helps disambiguate this from the instance
208 * suffix on the name helps disambiguate this from the instance
258 * {@code null-ok;} the internal-form class name correspondin
407 internClassName(String name) argument
[all...]

Completed in 327 milliseconds

1234