HomeSort by relevance Sort by last modified time
    Searched refs:mapAddr (Results 1 - 11 of 11) sorted by null

  /dalvik/vm/
LinearAlloc.cpp 142 pHdr->mapAddr = (char*)mmap(NULL, pHdr->mapLength, PROT_READ | PROT_WRITE,
144 if (pHdr->mapAddr == MAP_FAILED) {
156 pHdr->mapAddr = mmap(NULL, pHdr->mapLength, PROT_READ | PROT_WRITE,
158 if (pHdr->mapAddr == MAP_FAILED) {
167 assert(((int) pHdr->mapAddr & (SYSTEM_PAGE_SIZE-1)) == 0);
170 assert(*(u4*) (pHdr->mapAddr + pHdr->curOffset) == 0);
189 if (mprotect(pHdr->mapAddr, pHdr->mapLength, PROT_NONE) != 0) {
194 if (mprotect(pHdr->mapAddr + SYSTEM_PAGE_SIZE, SYSTEM_PAGE_SIZE,
215 pHdr->mapAddr, pHdr->mapAddr + pHdr->mapLength-1)
    [all...]
LinearAlloc.h 37 char* mapAddr; /* start of mmap()ed region */
  /external/chromium_org/third_party/icu/source/common/
udatamem.h 35 void *mapAddr; /* For mapped or allocated memory, the start addr. */
41 /* beyond the mapAddr is needed to do that. */
umapfile.c 196 pData->mapAddr = data;
206 size_t dataLen = (char *)pData->map - (char *)pData->mapAddr;
207 if(munmap(pData->mapAddr, dataLen)==-1) {
211 pData->mapAddr=NULL;
269 pData->mapAddr=p;
278 pData->mapAddr = NULL;
404 pData->mapAddr = data;
458 pData->mapAddr = NULL;
udata.cpp 803 copyPData.mapAddr = 0; /* which will unmap it when ICU is shut down. */
    [all...]
  /external/icu4c/common/
udatamem.h 35 void *mapAddr; /* For mapped or allocated memory, the start addr. */
41 /* beyond the mapAddr is needed to do that. */
umapfile.c 192 pData->mapAddr = data;
202 size_t dataLen = (char *)pData->map - (char *)pData->mapAddr;
203 if(munmap(pData->mapAddr, dataLen)==-1) {
207 pData->mapAddr=NULL;
265 pData->mapAddr=p;
274 pData->mapAddr = NULL;
400 pData->mapAddr = data;
454 pData->mapAddr = NULL;
udata.cpp 825 copyPData.mapAddr = 0; /* which will unmap it when ICU is shut down. */
    [all...]
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
Exynos_OSAL_SharedMemory.c 51 OMX_PTR mapAddr;
108 if (ion_unmap(pDeleteElement->mapAddr, pDeleteElement->allocSize))
111 pDeleteElement->mapAddr = NULL;
193 pElement->mapAddr = pBuffer;
235 if (pSMList->mapAddr == pBuffer) {
240 (((EXYNOS_SHAREDMEM_LIST *)(pCurrentElement->pNextMemory))->mapAddr != pBuffer))
244 (((EXYNOS_SHAREDMEM_LIST *)(pCurrentElement->pNextMemory))->mapAddr == pBuffer)) {
255 if (ion_unmap(pDeleteElement->mapAddr, pDeleteElement->allocSize)) {
259 pDeleteElement->mapAddr = NULL;
307 pElement->mapAddr = pBuffer
    [all...]
  /system/core/liblog/
event_tag_map.c 41 void* mapAddr;
88 newTagMap->mapAddr = mmap(NULL, end, PROT_READ | PROT_WRITE, MAP_PRIVATE,
90 if (newTagMap->mapAddr == MAP_FAILED) {
117 munmap(map->mapAddr, map->mapLen);
231 cp = (const char*) map->mapAddr;
268 cp = (char*) map->mapAddr;
  /dalvik/vm/analysis/
DexPrepare.cpp 565 void* mapAddr;
566 mapAddr = mmap(NULL, dexOffset + dexLength, PROT_READ|PROT_WRITE,
568 if (mapAddr == MAP_FAILED) {
602 success = rewriteDex(((u1*) mapAddr) + dexOffset, dexLength,
607 u1* dexAddr = ((u1*) mapAddr) + dexOffset;
634 if (msync(mapAddr, dexOffset + dexLength, MS_SYNC) != 0) {
645 if (munmap(mapAddr, dexOffset + dexLength) != 0) {
    [all...]

Completed in 185 milliseconds