Searched refs:baseAddr (Results 1 – 8 of 8) sorted by relevance
/dalvik/libdex/ |
D | SysUtil.c | 126 pMap->baseAddr = pMap->addr = memPtr; in sysLoadFileInShmem() 162 pMap->baseAddr = pMap->addr = memPtr; in sysMapFileInShmem() 187 pMap->baseAddr = pMap->addr = memPtr; in sysMapFileInShmem() 235 pMap->baseAddr = memPtr; in sysMapFileSegmentInShmem() 242 pMap->baseAddr, (int) pMap->baseLength, in sysMapFileSegmentInShmem() 258 if (pMap->baseAddr == NULL && pMap->baseLength == 0) in sysReleaseShmem() 261 if (munmap(pMap->baseAddr, pMap->baseLength) < 0) { in sysReleaseShmem() 263 pMap->baseAddr, (int)pMap->baseLength, strerror(errno)); in sysReleaseShmem() 265 LOGV("munmap(%p, %d) succeeded\n", pMap->baseAddr, pMap->baseLength); in sysReleaseShmem() 266 pMap->baseAddr = NULL; in sysReleaseShmem() [all …]
|
D | DexFile.h | 524 const u1* baseAddr; member 593 return (const DexMapList*) (pDexFile->baseAddr + mapOff); in dexGetMap() 600 const u1* ptr = pDexFile->baseAddr + pStringId->stringDataOff; in dexGetStringData() 666 (pDexFile->baseAddr + pProtoId->parametersOff); in dexGetProtoParameters() 682 (pDexFile->baseAddr + pClassDef->interfacesOff); in dexGetInterfacesList() 704 (pDexFile->baseAddr + pClassDef->staticValuesOff); in dexGetStaticValuesList() 714 (pDexFile->baseAddr + pClassDef->annotationsOff); in dexGetAnnotationsDirectoryItem() 750 return pDexFile->baseAddr + pCode->debugInfoOff; in dexGetDebugInfoStream() 805 return (const u1*) (pDexFile->baseAddr + pClassDef->classDataOff); in dexGetClassData() 812 return (const DexAnnotationSetItem*) (pDexFile->baseAddr + offset); in dexGetAnnotationSetItem() [all …]
|
D | SysUtil.h | 31 void* baseAddr; /* page-aligned base address */ member
|
D | DexFile.c | 284 const u1* ptr = pDexFile->baseAddr + pStringId->stringDataOff; in dexStringAndSizeById() 357 (const char*) (pDexFile->baseAddr + stringOff); in classLookupAdd() 359 (const DexClassDef*) (pDexFile->baseAddr + classDefOff); in classLookupAdd() 441 (u1*)pString - pDexFile->baseAddr, in dexCreateClassLookup() 442 (u1*)pClassDef - pDexFile->baseAddr, &numProbes); in dexCreateClassLookup() 466 pDexFile->baseAddr = data; in dexFileSetupBasicPointers() 859 str = (const char*) (pDexFile->baseAddr + offset); in dexFindClass() 862 (pDexFile->baseAddr + pLookup->table[idx].classDefOffset); in dexFindClass()
|
D | DexClass.h | 114 return (const DexCode*) (pDexFile->baseAddr + pDexMethod->codeOff); in dexGetCode()
|
/dalvik/libcore/archive/src/main/native/ |
D | java_util_zip_Inflater.c | 122 U_8 *baseAddr; in Java_java_util_zip_Inflater_setInputImpl() local 127 baseAddr = jclmem_allocate_memory (env, len); in Java_java_util_zip_Inflater_setInputImpl() 128 if (baseAddr == NULL) in Java_java_util_zip_Inflater_setInputImpl() 133 stream->inaddr = baseAddr; in Java_java_util_zip_Inflater_setInputImpl() 134 stream->stream->next_in = (Bytef *) baseAddr; in Java_java_util_zip_Inflater_setInputImpl() 139 memcpy (baseAddr, (in + off), len); in Java_java_util_zip_Inflater_setInputImpl() 150 U_8 * baseAddr; in Java_java_util_zip_Inflater_setFileInputImpl() local 156 baseAddr = jclmem_allocate_memory(env, len); in Java_java_util_zip_Inflater_setFileInputImpl() 157 if (baseAddr == NULL) in Java_java_util_zip_Inflater_setFileInputImpl() 162 stream->inaddr = baseAddr; in Java_java_util_zip_Inflater_setFileInputImpl()
|
/dalvik/vm/reflect/ |
D | Annotation.c | 396 (ptr-1) - (u1*)clazz->pDvmDex->pDexFile->baseAddr); in processAnnotationValue() 819 *pPtr, *pPtr - (u1*) clazz->pDvmDex->pDexFile->baseAddr, in processEncodedAnnotation() 958 (ptr-1) - (u1*)clazz->pDvmDex->pDexFile->baseAddr); in skipAnnotationValue()
|
/dalvik/dexdump/ |
D | DexDump.c | 599 printf("%06x:", ((u1*)insns - pDexFile->baseAddr) + insnIdx*2); in dumpInstruction() 923 startAddr = ((u1*)pCode - pDexFile->baseAddr); in dumpBytecodes()
|