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

  /dalvik/vm/
LinearAlloc.c 142 pHdr->mapAddr = 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/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 224 pData->mapAddr = data;
233 size_t dataLen = (char *)pData->map - (char *)pData->mapAddr;
234 if(munmap(pData->mapAddr, dataLen)==-1) {
238 pData->mapAddr=NULL;
296 pData->mapAddr=p;
305 pData->mapAddr = NULL;
431 pData->mapAddr = data;
487 pData->mapAddr = NULL;
udata.c 886 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 197 pData->mapAddr = data;
209 size_t dataLen = (char *)pData->map - (char *)pData->mapAddr;
210 if(munmap(pData->mapAddr, dataLen)==-1) {
214 pData->mapAddr=NULL;
272 pData->mapAddr=p;
281 pData->mapAddr = NULL;
407 pData->mapAddr = data;
463 pData->mapAddr = NULL;
udata.c     [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.c 514 void* mapAddr;
515 mapAddr = mmap(NULL, dexOffset + dexLength, PROT_READ|PROT_WRITE,
517 if (mapAddr == MAP_FAILED) {
534 success = rewriteDex(((u1*) mapAddr) + dexOffset, dexLength,
539 u1* dexAddr = ((u1*) mapAddr) + dexOffset;
566 if (msync(mapAddr, dexOffset + dexLength, MS_SYNC) != 0) {
577 if (munmap(mapAddr, dexOffset + dexLength) != 0) {
    [all...]

Completed in 589 milliseconds