/dalvik/vm/native/ |
D | sun_misc_Unsafe.c | 27 static void Dalvik_sun_misc_Unsafe_objectFieldOffset0(const u4* args, in Dalvik_sun_misc_Unsafe_objectFieldOffset0() argument 30 Object* fieldObject = (Object*) args[0]; in Dalvik_sun_misc_Unsafe_objectFieldOffset0() 40 static void Dalvik_sun_misc_Unsafe_arrayBaseOffset0(const u4* args, in Dalvik_sun_misc_Unsafe_arrayBaseOffset0() argument 44 UNUSED_PARAMETER(args); in Dalvik_sun_misc_Unsafe_arrayBaseOffset0() 51 static void Dalvik_sun_misc_Unsafe_arrayIndexScale0(const u4* args, in Dalvik_sun_misc_Unsafe_arrayIndexScale0() argument 54 ClassObject* clazz = (ClassObject*) args[0]; in Dalvik_sun_misc_Unsafe_arrayIndexScale0() 62 static void Dalvik_sun_misc_Unsafe_compareAndSwapInt(const u4* args, in Dalvik_sun_misc_Unsafe_compareAndSwapInt() argument 66 Object* obj = (Object*) args[1]; in Dalvik_sun_misc_Unsafe_compareAndSwapInt() 67 s8 offset = GET_ARG_LONG(args, 2); in Dalvik_sun_misc_Unsafe_compareAndSwapInt() 68 s4 expectedValue = args[4]; in Dalvik_sun_misc_Unsafe_compareAndSwapInt() [all …]
|
D | java_lang_VMClassLoader.c | 31 static void Dalvik_java_lang_VMClassLoader_defineClass(const u4* args, in Dalvik_java_lang_VMClassLoader_defineClass() argument 34 Object* loader = (Object*) args[0]; in Dalvik_java_lang_VMClassLoader_defineClass() 35 StringObject* nameObj = (StringObject*) args[1]; in Dalvik_java_lang_VMClassLoader_defineClass() 36 const u1* data = (const u1*) args[2]; in Dalvik_java_lang_VMClassLoader_defineClass() 37 int offset = args[3]; in Dalvik_java_lang_VMClassLoader_defineClass() 38 int len = args[4]; in Dalvik_java_lang_VMClassLoader_defineClass() 39 Object* pd = (Object*) args[5]; in Dalvik_java_lang_VMClassLoader_defineClass() 60 static void Dalvik_java_lang_VMClassLoader_defineClass2(const u4* args, in Dalvik_java_lang_VMClassLoader_defineClass2() argument 63 Object* loader = (Object*) args[0]; in Dalvik_java_lang_VMClassLoader_defineClass2() 64 const u1* data = (const u1*) args[1]; in Dalvik_java_lang_VMClassLoader_defineClass2() [all …]
|
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.c | 30 const u4* args, JValue* pResult) in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_threadNotify() argument 32 bool enable = (args[0] != 0); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_threadNotify() 45 const u4* args, JValue* pResult) in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_getThreadStats() argument 47 UNUSED_PARAMETER(args); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_getThreadStats() 60 const u4* args, JValue* pResult) in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapInfoNotify() argument 62 int when = args[0]; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapInfoNotify() 76 const u4* args, JValue* pResult) in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapSegmentNotify() argument 78 int when = args[0]; // 0=never (off), 1=during GC in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapSegmentNotify() 79 int what = args[1]; // 0=merged objects, 1=distinct objects in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapSegmentNotify() 80 bool native = (args[2] != 0); // false=virtual heap, true=native heap in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapSegmentNotify() [all …]
|
D | java_lang_VMThread.c | 31 static void Dalvik_java_lang_VMThread_create(const u4* args, JValue* pResult) in Dalvik_java_lang_VMThread_create() argument 33 Object* threadObj = (Object*) args[0]; in Dalvik_java_lang_VMThread_create() 34 s8 stackSize = GET_ARG_LONG(args, 1); in Dalvik_java_lang_VMThread_create() 44 static void Dalvik_java_lang_VMThread_currentThread(const u4* args, in Dalvik_java_lang_VMThread_currentThread() argument 47 UNUSED_PARAMETER(args); in Dalvik_java_lang_VMThread_currentThread() 58 static void Dalvik_java_lang_VMThread_getStatus(const u4* args, JValue* pResult) in Dalvik_java_lang_VMThread_getStatus() argument 60 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_VMThread_getStatus() 81 static void Dalvik_java_lang_VMThread_holdsLock(const u4* args, JValue* pResult) in Dalvik_java_lang_VMThread_holdsLock() argument 83 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_VMThread_holdsLock() 84 Object* object = (Object*) args[1]; in Dalvik_java_lang_VMThread_holdsLock() [all …]
|
D | java_lang_Object.c | 29 static void Dalvik_java_lang_Object_internalClone(const u4* args, in Dalvik_java_lang_Object_internalClone() argument 32 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_Object_internalClone() 42 static void Dalvik_java_lang_Object_hashCode(const u4* args, JValue* pResult) in Dalvik_java_lang_Object_hashCode() argument 44 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_Object_hashCode() 51 static void Dalvik_java_lang_Object_getClass(const u4* args, JValue* pResult) in Dalvik_java_lang_Object_getClass() argument 53 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_Object_getClass() 64 static void Dalvik_java_lang_Object_notify(const u4* args, JValue* pResult, in Dalvik_java_lang_Object_notify() argument 67 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_Object_notify() 76 static void Dalvik_java_lang_Object_notifyAll(const u4* args, JValue* pResult, in Dalvik_java_lang_Object_notifyAll() argument 79 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_Object_notifyAll() [all …]
|
D | java_lang_reflect_Method.c | 30 static void Dalvik_java_lang_reflect_Method_getMethodModifiers(const u4* args, in Dalvik_java_lang_reflect_Method_getMethodModifiers() argument 34 ClassObject* declaringClass = (ClassObject*) args[1]; in Dalvik_java_lang_reflect_Method_getMethodModifiers() 35 int slot = args[2]; in Dalvik_java_lang_reflect_Method_getMethodModifiers() 48 static void Dalvik_java_lang_reflect_Method_invokeNative(const u4* args, in Dalvik_java_lang_reflect_Method_invokeNative() argument 52 Object* methObj = (Object*) args[1]; // null for static methods in Dalvik_java_lang_reflect_Method_invokeNative() 53 ArrayObject* argList = (ArrayObject*) args[2]; in Dalvik_java_lang_reflect_Method_invokeNative() 54 ClassObject* declaringClass = (ClassObject*) args[3]; in Dalvik_java_lang_reflect_Method_invokeNative() 55 ArrayObject* params = (ArrayObject*) args[4]; in Dalvik_java_lang_reflect_Method_invokeNative() 56 ClassObject* returnType = (ClassObject*) args[5]; in Dalvik_java_lang_reflect_Method_invokeNative() 57 int slot = args[6]; in Dalvik_java_lang_reflect_Method_invokeNative() [all …]
|
D | dalvik_system_VMRuntime.c | 33 const u4* args, JValue* pResult) in Dalvik_dalvik_system_VMRuntime_getTargetHeapUtilization() argument 35 UNUSED_PARAMETER(args); in Dalvik_dalvik_system_VMRuntime_getTargetHeapUtilization() 49 const u4* args, JValue* pResult) in Dalvik_dalvik_system_VMRuntime_nativeSetTargetHeapUtilization() argument 51 dvmSetTargetHeapUtilization(dvmU4ToFloat(args[1])); in Dalvik_dalvik_system_VMRuntime_nativeSetTargetHeapUtilization() 64 const u4* args, JValue* pResult) in Dalvik_dalvik_system_VMRuntime_nativeMinimumHeapSize() argument 66 s8 longSize = GET_ARG_LONG(args, 1); in Dalvik_dalvik_system_VMRuntime_nativeMinimumHeapSize() 68 bool set = (args[3] != 0); in Dalvik_dalvik_system_VMRuntime_nativeMinimumHeapSize() 90 static void Dalvik_dalvik_system_VMRuntime_gcSoftReferences(const u4* args, in Dalvik_dalvik_system_VMRuntime_gcSoftReferences() argument 107 static void Dalvik_dalvik_system_VMRuntime_runFinalizationSync(const u4* args, in Dalvik_dalvik_system_VMRuntime_runFinalizationSync() argument 125 const u4* args, JValue* pResult) in Dalvik_dalvik_system_VMRuntime_trackExternalAllocation() argument [all …]
|
D | java_lang_reflect_Constructor.c | 28 const u4* args, JValue* pResult) in Dalvik_java_lang_reflect_Constructor_getConstructorModifiers() argument 31 ClassObject* declaringClass = (ClassObject*) args[1]; in Dalvik_java_lang_reflect_Constructor_getConstructorModifiers() 32 int slot = args[2]; in Dalvik_java_lang_reflect_Constructor_getConstructorModifiers() 50 const u4* args, JValue* pResult) in Dalvik_java_lang_reflect_Constructor_constructNative() argument 53 ArrayObject* argList = (ArrayObject*) args[1]; in Dalvik_java_lang_reflect_Constructor_constructNative() 54 ClassObject* declaringClass = (ClassObject*) args[2]; in Dalvik_java_lang_reflect_Constructor_constructNative() 55 ArrayObject* params = (ArrayObject*) args[3]; in Dalvik_java_lang_reflect_Constructor_constructNative() 56 int slot = args[4]; in Dalvik_java_lang_reflect_Constructor_constructNative() 57 bool noAccessCheck = (args[5] != 0); in Dalvik_java_lang_reflect_Constructor_constructNative() 95 const u4* args, JValue* pResult) in Dalvik_java_lang_reflect_Constructor_getDeclaredAnnotations() argument [all …]
|
D | java_lang_Class.c | 31 static void Dalvik_java_lang_Class_desiredAssertionStatus(const u4* args, in Dalvik_java_lang_Class_desiredAssertionStatus() argument 34 ClassObject* thisPtr = (ClassObject*) args[0]; in Dalvik_java_lang_Class_desiredAssertionStatus() 123 static void Dalvik_java_lang_Class_classForName(const u4* args, JValue* pResult) in Dalvik_java_lang_Class_classForName() argument 125 StringObject* nameObj = (StringObject*) args[0]; in Dalvik_java_lang_Class_classForName() 126 bool initialize = (args[1] != 0); in Dalvik_java_lang_Class_classForName() 127 Object* loader = (Object*) args[2]; in Dalvik_java_lang_Class_classForName() 137 static void Dalvik_java_lang_Class_getClassLoader(const u4* args, in Dalvik_java_lang_Class_getClassLoader() argument 140 ClassObject* clazz = (ClassObject*) args[0]; in Dalvik_java_lang_Class_getClassLoader() 151 static void Dalvik_java_lang_Class_getComponentType(const u4* args, in Dalvik_java_lang_Class_getComponentType() argument 154 ClassObject* thisPtr = (ClassObject*) args[0]; in Dalvik_java_lang_Class_getComponentType() [all …]
|
D | java_lang_reflect_Field.c | 146 const u4* args, JValue* pResult) in Dalvik_java_lang_reflect_Field_getFieldModifiers() argument 149 ClassObject* declaringClass = (ClassObject*) args[1]; in Dalvik_java_lang_reflect_Field_getFieldModifiers() 150 int slot = args[2]; in Dalvik_java_lang_reflect_Field_getFieldModifiers() 163 static void Dalvik_java_lang_reflect_Field_getField(const u4* args, in Dalvik_java_lang_reflect_Field_getField() argument 167 Object* obj = (Object*) args[1]; in Dalvik_java_lang_reflect_Field_getField() 168 ClassObject* declaringClass = (ClassObject*) args[2]; in Dalvik_java_lang_reflect_Field_getField() 169 ClassObject* fieldType = (ClassObject*) args[3]; in Dalvik_java_lang_reflect_Field_getField() 170 int slot = args[4]; in Dalvik_java_lang_reflect_Field_getField() 171 bool noAccessCheck = (args[5] != 0); in Dalvik_java_lang_reflect_Field_getField() 204 static void Dalvik_java_lang_reflect_Field_setField(const u4* args, in Dalvik_java_lang_reflect_Field_setField() argument [all …]
|
D | dalvik_system_VMDebug.c | 114 static void Dalvik_dalvik_system_VMDebug_getVmFeatureList(const u4* args, in Dalvik_dalvik_system_VMDebug_getVmFeatureList() argument 238 static void Dalvik_dalvik_system_VMDebug_startAllocCounting(const u4* args, in Dalvik_dalvik_system_VMDebug_startAllocCounting() argument 241 UNUSED_PARAMETER(args); in Dalvik_dalvik_system_VMDebug_startAllocCounting() 252 static void Dalvik_dalvik_system_VMDebug_stopAllocCounting(const u4* args, in Dalvik_dalvik_system_VMDebug_stopAllocCounting() argument 255 UNUSED_PARAMETER(args); in Dalvik_dalvik_system_VMDebug_stopAllocCounting() 264 static void Dalvik_dalvik_system_VMDebug_getAllocCount(const u4* args, in Dalvik_dalvik_system_VMDebug_getAllocCount() argument 268 unsigned int kind = args[0]; in Dalvik_dalvik_system_VMDebug_getAllocCount() 321 static void Dalvik_dalvik_system_VMDebug_resetAllocCount(const u4* args, in Dalvik_dalvik_system_VMDebug_resetAllocCount() argument 324 unsigned int kinds = args[0]; in Dalvik_dalvik_system_VMDebug_resetAllocCount() 340 static void Dalvik_dalvik_system_VMDebug_startMethodTracingNative(const u4* args, in Dalvik_dalvik_system_VMDebug_startMethodTracingNative() argument [all …]
|
D | java_lang_Runtime.c | 30 static void Dalvik_java_lang_Runtime_gc(const u4* args, JValue* pResult) in Dalvik_java_lang_Runtime_gc() argument 32 UNUSED_PARAMETER(args); in Dalvik_java_lang_Runtime_gc() 44 static void Dalvik_java_lang_Runtime_nativeExit(const u4* args, in Dalvik_java_lang_Runtime_nativeExit() argument 47 int status = args[0]; in Dalvik_java_lang_Runtime_nativeExit() 48 bool isExit = (args[1] != 0); in Dalvik_java_lang_Runtime_nativeExit() 70 static void Dalvik_java_lang_Runtime_nativeLoad(const u4* args, in Dalvik_java_lang_Runtime_nativeLoad() argument 73 StringObject* fileNameObj = (StringObject*) args[0]; in Dalvik_java_lang_Runtime_nativeLoad() 74 Object* classLoader = (Object*) args[1]; in Dalvik_java_lang_Runtime_nativeLoad() 104 static void Dalvik_java_lang_Runtime_runFinalization(const u4* args, in Dalvik_java_lang_Runtime_runFinalization() argument 107 bool forced = (args[0] != 0); in Dalvik_java_lang_Runtime_runFinalization() [all …]
|
D | org_apache_harmony_dalvik_ddmc_DdmServer.c | 31 const u4* args, JValue* pResult) in Dalvik_org_apache_harmony_dalvik_ddmc_DdmServer_nativeSendChunk() argument 33 int type = args[0]; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmServer_nativeSendChunk() 34 ArrayObject* data = (ArrayObject*) args[1]; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmServer_nativeSendChunk() 35 int offset = args[2]; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmServer_nativeSendChunk() 36 int length = args[3]; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmServer_nativeSendChunk()
|
D | java_lang_SystemProperties.c | 39 static void Dalvik_java_lang_SystemProperties_preInit(const u4* args, in Dalvik_java_lang_SystemProperties_preInit() argument 42 dvmCreateDefaultProperties((Object*) args[0]); in Dalvik_java_lang_SystemProperties_preInit() 51 static void Dalvik_java_lang_SystemProperties_postInit(const u4* args, in Dalvik_java_lang_SystemProperties_postInit() argument 54 dvmSetCommandLineProperties((Object*) args[0]); in Dalvik_java_lang_SystemProperties_postInit()
|
D | java_lang_reflect_Proxy.c | 31 static void Dalvik_java_lang_reflect_Proxy_generateProxy(const u4* args, in Dalvik_java_lang_reflect_Proxy_generateProxy() argument 34 StringObject* str = (StringObject*) args[0]; in Dalvik_java_lang_reflect_Proxy_generateProxy() 35 ArrayObject* interfaces = (ArrayObject*) args[1]; in Dalvik_java_lang_reflect_Proxy_generateProxy() 36 Object* loader = (Object*) args[2]; in Dalvik_java_lang_reflect_Proxy_generateProxy()
|
D | dalvik_system_VMStack.c | 29 static void Dalvik_dalvik_system_VMStack_getCallingClassLoader(const u4* args, in Dalvik_dalvik_system_VMStack_getCallingClassLoader() argument 34 UNUSED_PARAMETER(args); in Dalvik_dalvik_system_VMStack_getCallingClassLoader() 46 static void Dalvik_dalvik_system_VMStack_getCallingClassLoader2(const u4* args, in Dalvik_dalvik_system_VMStack_getCallingClassLoader2() argument 51 UNUSED_PARAMETER(args); in Dalvik_dalvik_system_VMStack_getCallingClassLoader2() 63 static void Dalvik_dalvik_system_VMStack_getStackClass2(const u4* args, in Dalvik_dalvik_system_VMStack_getStackClass2() argument 68 UNUSED_PARAMETER(args); in Dalvik_dalvik_system_VMStack_getStackClass2() 80 static void Dalvik_dalvik_system_VMStack_getClasses(const u4* args, in Dalvik_dalvik_system_VMStack_getClasses() argument 84 unsigned int maxSize = args[0]; in Dalvik_dalvik_system_VMStack_getClasses() 85 bool stopAtPrivileged = args[1]; in Dalvik_dalvik_system_VMStack_getClasses() 176 static void Dalvik_dalvik_system_VMStack_getThreadStackTrace(const u4* args, in Dalvik_dalvik_system_VMStack_getThreadStackTrace() argument [all …]
|
D | java_lang_Throwable.c | 27 static void Dalvik_java_lang_Throwable_nativeFillInStackTrace(const u4* args, in Dalvik_java_lang_Throwable_nativeFillInStackTrace() argument 32 UNUSED_PARAMETER(args); in Dalvik_java_lang_Throwable_nativeFillInStackTrace() 44 static void Dalvik_java_lang_Throwable_nativeGetStackTrace(const u4* args, in Dalvik_java_lang_Throwable_nativeGetStackTrace() argument 47 Object* stackState = (Object*) args[0]; in Dalvik_java_lang_Throwable_nativeGetStackTrace()
|
D | java_lang_System.c | 58 static void Dalvik_java_lang_System_arraycopy(const u4* args, JValue* pResult) in Dalvik_java_lang_System_arraycopy() argument 69 srcArray = (ArrayObject*) args[0]; in Dalvik_java_lang_System_arraycopy() 70 srcPos = args[1]; in Dalvik_java_lang_System_arraycopy() 71 dstArray = (ArrayObject*) args[2]; in Dalvik_java_lang_System_arraycopy() 72 dstPos = args[3]; in Dalvik_java_lang_System_arraycopy() 73 length = args[4]; in Dalvik_java_lang_System_arraycopy() 247 static void Dalvik_java_lang_System_currentTimeMillis(const u4* args, in Dalvik_java_lang_System_currentTimeMillis() argument 252 UNUSED_PARAMETER(args); in Dalvik_java_lang_System_currentTimeMillis() 267 static void Dalvik_java_lang_System_nanoTime(const u4* args, JValue* pResult) in Dalvik_java_lang_System_nanoTime() argument 269 UNUSED_PARAMETER(args); in Dalvik_java_lang_System_nanoTime() [all …]
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | BaseMachine.java | 40 private TypeBearer[] args; field in BaseMachine 89 args = new TypeBearer[10]; in BaseMachine() 119 if (count > args.length) { in popArgs() 121 args = new TypeBearer[count + 10]; in popArgs() 125 args[i] = stack.pop(); in popArgs() 142 if (! Merger.isPossiblyAssignableFrom(types.getType(i), args[i])) { in popArgs() 145 " but found " + args[i].getType().toHuman()); in popArgs() 155 if (! Merger.isPossiblyAssignableFrom(type, args[0])) { in popArgs() 157 " but found " + args[0].getType().toHuman()); in popArgs() 168 if (! Merger.isPossiblyAssignableFrom(type1, args[0])) { in popArgs() [all …]
|
/dalvik/tests/023-many-interfaces/src/ |
D | Main.java | 2 static public void main(String[] args) throws Exception { in main() argument 3 boolean timing = (args.length >= 1) && args[0].equals("--timing"); in main()
|
/dalvik/dx/src/junit/textui/ |
D | TestRunner.java | 135 public static void main(String args[]) { in main() argument 138 TestResult r= aTestRunner.start(args); in main() 152 protected TestResult start(String args[]) throws Exception { in start() argument 156 for (int i= 0; i < args.length; i++) { in start() 157 if (args[i].equals("-wait")) in start() 159 else if (args[i].equals("-c")) in start() 160 testCase= extractClassName(args[++i]); in start() 161 else if (args[i].equals("-v")) in start() 164 testCase= args[i]; in start()
|
/dalvik/dx/src/com/android/dx/command/dexer/ |
D | Main.java | 131 private static Arguments args; field in Main 173 args = arguments; in run() 174 args.makeCfOptions(); in run() 186 if (args.jarOutput) { in run() 190 if (!createJar(args.outName, outArray)) { in run() 207 if (args.jarOutput) { in processAllFiles() 211 if (args.dumpWidth != 0) { in processAllFiles() 212 outputDex.setDumpWidth(args.dumpWidth); in processAllFiles() 216 String[] fileNames = args.fileNames; in processAllFiles() 240 if (!(any || args.emptyOk)) { in processAllFiles() [all …]
|
/dalvik/dx/src/com/android/dx/command/ |
D | Main.java | 74 public static void main(String[] args) { in main() argument 79 for (int i = 0; i < args.length; i++) { in main() 80 String arg = args[i]; in main() 89 com.android.dx.command.dexer.Main.main(without(args, i)); in main() 92 com.android.dx.command.dump.Main.main(without(args, i)); in main() 96 without(args, i)); in main() 99 TestRunner.main(without(args, i)); in main()
|
/dalvik/vm/ |
D | Native.h | 79 void dvmResolveNativeMethod(const u4* args, JValue* pResult, 99 INLINE s8 dvmGetArgLong(const u4* args, int elem) in dvmGetArgLong() argument 103 conv.parts[0] = args[elem]; in dvmGetArgLong() 104 conv.parts[1] = args[elem+1]; in dvmGetArgLong() 109 memcpy(&val, &args[elem], 8); in dvmGetArgLong()
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
D | Main.java | 38 public static void main(String[] args) { in main() argument 40 main.run(args); in main() 46 void run(String[] args) { in run() argument 48 parseArgs(args); in run() 161 void parseArgs(String[] args) { in parseArgs() argument 164 for (idx = 0; idx < args.length; idx++) { in parseArgs() 165 String arg = args[idx]; in parseArgs() 185 if (idx != args.length - 1) { in parseArgs() 189 mInputFileName = args[idx]; in parseArgs()
|