/dalvik/vm/mterp/out/ |
H A D | InterpC-armv7-a-neon.cpp | 147 static inline s8 getLongFromArray(const u4* ptr, int idx) argument 152 ptr += idx; 153 conv.parts[0] = ptr[0]; 154 conv.parts[1] = ptr[1]; 158 memcpy(&val, &ptr[idx], 8); 164 static inline void putLongToArray(u4* ptr, int idx, s8 val) argument 169 ptr += idx; 171 ptr[0] = conv.parts[0]; 172 ptr[1] = conv.parts[1]; 174 memcpy(&ptr[id 179 getDoubleFromArray(const u4* ptr, int idx) argument 196 putDoubleToArray(u4* ptr, int idx, double dval) argument [all...] |
H A D | InterpC-armv7-a.cpp | 147 static inline s8 getLongFromArray(const u4* ptr, int idx) argument 152 ptr += idx; 153 conv.parts[0] = ptr[0]; 154 conv.parts[1] = ptr[1]; 158 memcpy(&val, &ptr[idx], 8); 164 static inline void putLongToArray(u4* ptr, int idx, s8 val) argument 169 ptr += idx; 171 ptr[0] = conv.parts[0]; 172 ptr[1] = conv.parts[1]; 174 memcpy(&ptr[id 179 getDoubleFromArray(const u4* ptr, int idx) argument 196 putDoubleToArray(u4* ptr, int idx, double dval) argument [all...] |
H A D | InterpC-allstubs.cpp | 147 static inline s8 getLongFromArray(const u4* ptr, int idx) argument 152 ptr += idx; 153 conv.parts[0] = ptr[0]; 154 conv.parts[1] = ptr[1]; 158 memcpy(&val, &ptr[idx], 8); 164 static inline void putLongToArray(u4* ptr, int idx, s8 val) argument 169 ptr += idx; 171 ptr[0] = conv.parts[0]; 172 ptr[1] = conv.parts[1]; 174 memcpy(&ptr[id 179 getDoubleFromArray(const u4* ptr, int idx) argument 196 putDoubleToArray(u4* ptr, int idx, double dval) argument [all...] |
H A D | InterpC-portable.cpp | 147 static inline s8 getLongFromArray(const u4* ptr, int idx) argument 152 ptr += idx; 153 conv.parts[0] = ptr[0]; 154 conv.parts[1] = ptr[1]; 158 memcpy(&val, &ptr[idx], 8); 164 static inline void putLongToArray(u4* ptr, int idx, s8 val) argument 169 ptr += idx; 171 ptr[0] = conv.parts[0]; 172 ptr[1] = conv.parts[1]; 174 memcpy(&ptr[id 179 getDoubleFromArray(const u4* ptr, int idx) argument 196 putDoubleToArray(u4* ptr, int idx, double dval) argument [all...] |
H A D | InterpC-x86-atom.cpp | 147 static inline s8 getLongFromArray(const u4* ptr, int idx) argument 152 ptr += idx; 153 conv.parts[0] = ptr[0]; 154 conv.parts[1] = ptr[1]; 158 memcpy(&val, &ptr[idx], 8); 164 static inline void putLongToArray(u4* ptr, int idx, s8 val) argument 169 ptr += idx; 171 ptr[0] = conv.parts[0]; 172 ptr[1] = conv.parts[1]; 174 memcpy(&ptr[id 179 getDoubleFromArray(const u4* ptr, int idx) argument 196 putDoubleToArray(u4* ptr, int idx, double dval) argument [all...] |
H A D | InterpC-x86.cpp | 147 static inline s8 getLongFromArray(const u4* ptr, int idx) argument 152 ptr += idx; 153 conv.parts[0] = ptr[0]; 154 conv.parts[1] = ptr[1]; 158 memcpy(&val, &ptr[idx], 8); 164 static inline void putLongToArray(u4* ptr, int idx, s8 val) argument 169 ptr += idx; 171 ptr[0] = conv.parts[0]; 172 ptr[1] = conv.parts[1]; 174 memcpy(&ptr[id 179 getDoubleFromArray(const u4* ptr, int idx) argument 196 putDoubleToArray(u4* ptr, int idx, double dval) argument [all...] |
/dalvik/vm/oo/ |
H A D | ObjectInlines.h | 82 s4* ptr = &((JValue*)BYTE_OFFSET(obj, offset))->i; local 83 return (bool)android_atomic_acquire_load(ptr); 86 s4* ptr = &((JValue*)BYTE_OFFSET(obj, offset))->i; local 87 return (s1)android_atomic_acquire_load(ptr); 90 s4* ptr = &((JValue*)BYTE_OFFSET(obj, offset))->i; local 91 return (s2)android_atomic_acquire_load(ptr); 94 s4* ptr = &((JValue*)BYTE_OFFSET(obj, offset))->i; local 95 return (u2)android_atomic_acquire_load(ptr); 98 s4* ptr = &((JValue*)BYTE_OFFSET(obj, offset))->i; local 99 return android_atomic_acquire_load(ptr); 103 s4* ptr = &((JValue*)BYTE_OFFSET(obj, offset))->i; local 121 Object** ptr = &((JValue*)BYTE_OFFSET(obj, offset))->l; local 157 s4* ptr = &((JValue*)BYTE_OFFSET(obj, offset))->i; local 194 Object** ptr = &((JValue*)BYTE_OFFSET(obj, offset))->l; local 238 const s4* ptr = &(sfield->value.i); local 242 const s4* ptr = &(sfield->value.i); local 246 const s4* ptr = &(sfield->value.i); local 250 const s4* ptr = &(sfield->value.i); local 254 const s4* ptr = &(sfield->value.i); local 259 const s4* ptr = &(sfield->value.i); local 277 Object* const* ptr = &(sfield->value.l); local 312 s4* ptr = &sfield->value.i; local 344 Object** ptr = &(sfield->value.l); local [all...] |
/dalvik/vm/alloc/ |
H A D | Copying.cpp | 661 bool dvmHeapSourceContainsAddress(const void *ptr) argument 664 return dvmHeapBitmapCoversAddress(&heapSource->allocBits, ptr); 685 bool dvmHeapSourceGetPtrFlag(const void *ptr, HeapSourcePtrFlag flag) argument 691 size_t dvmHeapSourceChunkSize(const void *ptr) argument
|
H A D | HeapSource.cpp | 230 * Returns the heap that <ptr> could have come from, or NULL 233 static Heap *ptr2heap(const HeapSource *hs, const void *ptr) argument 237 if (ptr != NULL) { 241 if ((const char *)ptr >= heap->base && (const char *)ptr < heap->limit) { 257 static void countAllocation(Heap *heap, const void *ptr) argument 261 heap->bytesAllocated += mspace_usable_size(heap->msp, ptr) + 265 dvmHeapBitmapSetObjectBit(&hs->liveBits, ptr); 270 static void countFree(Heap *heap, const void *ptr, size_t *numBytes) argument 272 size_t delta = mspace_usable_size(heap->msp, ptr) 805 void* ptr = mspace_calloc(heap->msp, 1, n); local 841 void* ptr = dvmHeapSourceAlloc(n); local 861 void* ptr = dvmHeapSourceAlloc(n); local 976 dvmHeapSourceContainsAddress(const void *ptr) argument 986 dvmHeapSourceContains(const void *ptr) argument 1021 dvmHeapSourceChunkSize(const void *ptr) argument [all...] |
H A D | MarkSweep.cpp | 503 const u1 *ptr; local 507 for (ptr = base; ptr < limit; ptr += HB_OBJECT_ALIGNMENT) { 508 if (dvmHeapBitmapIsObjectBitSet(markBits, ptr)) 509 return (Object *)ptr; 529 const u1 *ptr = prevAddr ? prevAddr : (u1*)dvmAddrFromCard(card); 530 const u1 *limit = ptr + GC_CARD_SIZE; 531 while (ptr < limit) { 532 Object *obj = nextGrayObject(ptr, limi [all...] |
/dalvik/vm/analysis/ |
H A D | DexPrepare.cpp | 463 for (cpe = gDvm.bootClassPath; cpe->ptr != NULL; cpe++) { 1107 return dvmGetJarFileCacheFileName((JarFile*) cpe->ptr); 1109 return dvmGetRawDexFileCacheFileName((RawDexFile*) cpe->ptr); 1126 pDvmDex = dvmGetJarFileDex((JarFile*) cpe->ptr); 1129 pDvmDex = dvmGetRawDexFileDex((RawDexFile*) cpe->ptr); 1270 const u1* ptr; local 1273 ptr = depData; 1274 val = read4LE(&ptr); 1280 val = read4LE(&ptr); 1285 val = read4LE(&ptr); 1398 u1* ptr = buf + 4*4; local [all...] |
H A D | RegisterMap.cpp | 560 * Advance "ptr" to ensure 32-bit alignment. 562 static inline u1* align32(u1* ptr) argument 564 return (u1*) (((int) ptr + 3) & ~0x03); 588 const u1* ptr = pMap->data; local 589 int len = readUnsignedLeb128(&ptr); 590 return len + (ptr - (u1*) pMap); 642 u1* ptr = *pPtr; local 651 pMethodPool = (RegisterMapMethodPool*) ptr; 652 ptr += offsetof(RegisterMapMethodPool, methodData); 672 if (!writeMapForMethod(&clazz->directMethods[i], &ptr)) { 708 u1* ptr = basePtr; local 1682 toggleBit(u1* ptr, int idx) argument [all...] |
/dalvik/vm/reflect/ |
H A D | Annotation.cpp | 142 static s4 readSignedInt(const u1* ptr, int zwidth) 148 val = ((u4)val >> 8) | (((s4)*ptr++) << 24); 158 static u4 readUnsignedInt(const u1* ptr, int zwidth, bool fillOnRight) argument 165 val = (val >> 8) | (((u4)*ptr++) << 24); 169 val = (val >> 8) | (((u4)*ptr++) << 24); 177 static s8 readSignedLong(const u1* ptr, int zwidth) argument 183 val = ((u8)val >> 8) | (((s8)*ptr++) << 56); 193 static u8 readUnsignedLong(const u1* ptr, int zwidth, bool fillOnRight) argument 200 val = (val >> 8) | (((u8)*ptr++) << 56); 204 val = (val >> 8) | (((u8)*ptr 324 const u1* ptr = *pPtr; local 745 const u1* ptr; local 865 const u1* ptr = pAnnoItem->annotation; local 890 const u1* ptr; local 936 const u1* ptr = pAnnoItem->annotation; local 955 const u1* ptr = *pPtr; local 1020 const u1* ptr; local 1083 const u1* ptr = pAnnoItem->annotation; local 1100 searchEncodedAnnotation(const ClassObject* clazz, const u1* ptr, const char* name) argument 1143 const u1* ptr; local 1412 const u1* ptr; local 1469 const u1* ptr; local 1833 const u1* ptr; local [all...] |
/dalvik/dexdump/ |
H A D | DexDump.cpp | 1517 * Advance "ptr" to ensure 32-bit alignment. 1519 static inline const u1* align32(const u1* ptr) argument 1521 return (u1*) (((int) ptr + 3) & ~0x03); 1642 const u1* ptr; local 1652 ptr = pClassPool; 1653 numClasses = get4LE(ptr); 1654 ptr += sizeof(u4); 1655 classOffsets = (const u4*) ptr;
|
/dalvik/libdex/ |
H A D | DexSwapVerify.cpp | 92 static inline u4 fileOffset(const CheckState* state, const void* ptr) { argument 93 return ((const u1*) ptr) - state->fileStart; 547 static void* swapStringIdItem(const CheckState* state, void* ptr) { argument 548 DexStringId* item = (DexStringId*) ptr; 557 static void* crossVerifyStringIdItem(const CheckState* state, void* ptr) { argument 558 const DexStringId* item = (const DexStringId*) ptr; 580 static void* swapTypeIdItem(const CheckState* state, void* ptr) { argument 581 DexTypeId* item = (DexTypeId*) ptr; 590 static void* crossVerifyTypeIdItem(const CheckState* state, void* ptr) { argument 591 const DexTypeId* item = (const DexTypeId*) ptr; 614 swapProtoIdItem(const CheckState* state, void* ptr) argument 671 crossVerifyProtoIdItem(const CheckState* state, void* ptr) argument 764 swapFieldIdItem(const CheckState* state, void* ptr) argument 776 crossVerifyFieldIdItem(const CheckState* state, void* ptr) argument 836 swapMethodIdItem(const CheckState* state, void* ptr) argument 848 crossVerifyMethodIdItem(const CheckState* state, void* ptr) argument 902 swapClassDefItem(const CheckState* state, void* ptr) argument 968 crossVerifyClassDefItem(const CheckState* state, void* ptr) argument 1149 swapAnnotationsDirectoryItem(const CheckState* state, void* ptr) argument 1278 crossVerifyAnnotationsDirectoryItem(const CheckState* state, void* ptr) argument 1318 swapTypeList(const CheckState* state, void* ptr) argument 1340 swapAnnotationSetRefList(const CheckState* state, void* ptr) argument 1360 crossVerifyAnnotationSetRefList(const CheckState* state, void* ptr) argument 1379 swapAnnotationSetItem(const CheckState* state, void* ptr) argument 1406 crossVerifyAnnotationSetItem(const CheckState* state, void* ptr) argument 1548 intraVerifyClassDataItem(const CheckState* state, void* ptr) argument 1601 crossVerifyClassDataItem(const CheckState* state, void* ptr) argument 1657 const u1* ptr = handlersBase + offset; local 1801 swapCodeItem(const CheckState* state, void* ptr) argument 1860 intraVerifyStringDataItem(const CheckState* state, void* ptr) argument 1961 intraVerifyDebugInfoItem(const CheckState* state, void* ptr) argument 2339 intraVerifyEncodedArrayItem(const CheckState* state, void* ptr) argument 2344 intraVerifyAnnotationItem(const CheckState* state, void* ptr) argument 2365 crossVerifyAnnotationItem(const CheckState* state, void* ptr) argument 2397 u1* ptr = (u1*) filePointer(state, newOffset); local 2527 const u1* ptr = (const u1*) filePointer(state, lastOffset); local [all...] |
H A D | DexFile.h | 616 const u1* ptr = pDexFile->baseAddr + pStringId->stringDataOff; local 619 while (*(ptr++) > 0x7f) /* empty */ ; 621 return (const char*) ptr;
|
/dalvik/vm/compiler/codegen/arm/ |
H A D | Assemble.cpp | 1328 u4 *ptr = (u4 *) cUnit->codeBuffer; local 1331 if (ptr[i] == gDvmJit.signatureBreakpoint[0]) { 1333 if (ptr[i+j] != gDvmJit.signatureBreakpoint[j]) {
|
/dalvik/tools/dmtracedump/ |
H A D | TraceDump.c | 2645 DiffEntry* ptr = diffs; local 2654 ptr->method1 = methods1[i]; 2655 ptr->method2 = methods2[match]; 2657 uint64_t e1 = ptr->method1->elapsedExclusive; 2658 uint64_t e2 = ptr->method2->elapsedExclusive; 2660 ptr->differenceExclusive = e2 - e1; 2661 ptr->differenceExclusivePercentage = ((double)e2 / (double)e1) * 100.0; 2664 uint64_t i1 = ptr->method1->elapsedInclusive; 2665 uint64_t i2 = ptr->method2->elapsedInclusive; 2667 ptr [all...] |
/dalvik/vm/ |
H A D | CheckJni.cpp | 373 void checkNonNull(const void* ptr) { argument 374 if (ptr == NULL) { 854 //dvmThrowRuntimeException("invalid use of JNI env ptr");
|
H A D | Debugger.cpp | 1353 if (strcmp(name, "this") == 0) // only remap "this" ptr 1691 * Convert a thread object to a Thread ptr. 1997 ObjectId* ptr; local 1998 ptr = *ppThreadIds = (ObjectId*) malloc(sizeof(ObjectId) * count); 2021 *ptr++ = objectToObjectId(thread->threadObj);
|
H A D | Jni.cpp | 998 Object** ptr = pRefTable->nextEntry; local 999 while (--ptr >= top) { 1000 if (!dvmUnlockObject(self, *ptr)) { 1001 ALOGW("Unable to unlock monitor %p at thread detach", *ptr); 1003 LOGVV("--- detach-releasing monitor %p", *ptr);
|