/external/elfutils/libelf/ |
D | elf_begin.c | 40 file_read_ar (int fildes, void *map_address, off_t offset, size_t maxsize, in file_read_ar() argument 46 elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, in file_read_ar() 62 get_shnum (void *map_address, unsigned char *e_ident, int fildes, off_t offset, in get_shnum() argument 75 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum() 77 || (((size_t) ((char *) map_address + offset)) in get_shnum() 80 ehdr.p = (char *) map_address + offset; in get_shnum() 118 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum() 120 || (((size_t) ((char *) map_address + offset)) in get_shnum() 123 result = ((Elf32_Shdr *) ((char *) map_address in get_shnum() 154 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum() [all …]
|
D | elf_readall.c | 37 if (child->map_address == NULL) in set_address() 39 child->map_address = elf->map_address; in set_address() 60 if (elf->map_address == NULL && unlikely (elf->fildes == -1)) 68 if (elf->map_address == NULL) 91 elf->map_address = mem; 115 return (char *) elf->map_address;
|
D | elf_getshstrndx.c | 90 if (elf->map_address != NULL 93 || (((size_t) ((char *) elf->map_address + offset)) 96 num = ((Elf32_Shdr *) (elf->map_address + offset))->sh_link; 129 if (elf->map_address != NULL 132 || (((size_t) ((char *) elf->map_address + offset)) 135 num = ((Elf64_Shdr *) (elf->map_address + offset))->sh_link;
|
D | elf_update.c | 48 if (elf->map_address == NULL && elf->cmd == ELF_C_WRITE_MMAP) in write_file() 50 elf->map_address = mmap (NULL, size, PROT_READ | PROT_WRITE, in write_file() 52 if (unlikely (elf->map_address == MAP_FAILED)) in write_file() 53 elf->map_address = NULL; in write_file() 56 if (elf->map_address != NULL) in write_file()
|
D | elf_getarsym.c | 77 if (elf->map_address == NULL) 102 index_hdr = (struct ar_hdr *) (elf->map_address 129 if (elf->map_address == NULL) 141 n = *(uint32_t *) (elf->map_address + elf->start_offset 170 if (elf->map_address == NULL) 214 file_data = (uint32_t *) (elf->map_address + elf->start_offset
|
D | gelf_freechunk.c | 41 if (ptr < (char *) elf->map_address + elf->start_offset 42 || ptr >= ((char *) elf->map_address + elf->start_offset
|
D | elf_end.c | 135 if (elf->map_address == NULL) 186 if (elf->map_address != NULL && parent == NULL) 190 free (elf->map_address); 192 munmap (elf->map_address, elf->maximum_size);
|
D | elf32_updatefile.c | 112 (*fctp) ((char *) elf->map_address + elf->start_offset, ehdr, in __elfw2() 116 memcpy (elf->map_address + elf->start_offset, ehdr, in __elfw2() 135 memset (elf->map_address + elf->start_offset + ehdr->e_ehsize, in __elfw2() 149 (*fctp) (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2() 154 memcpy (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2() 163 last_position = ((char *) elf->map_address + elf->start_offset in __elfw2() 174 char *shdr_start = ((char *) elf->map_address + elf->start_offset in __elfw2() 186 ((char *) elf->map_address + elf->start_offset + ehdr->e_shoff); in __elfw2() 202 scn_start = ((char *) elf->map_address in __elfw2() 292 && last_position < ((char *) elf->map_address + elf->start_offset in __elfw2() [all …]
|
D | elf_rawfile.c | 44 if (elf->map_address == NULL && __libelf_readall (elf) == NULL) 50 return (char *) elf->map_address + elf->start_offset;
|
D | common.h | 56 allocate_elf (int fildes, void *map_address, off_t offset, size_t maxsize, in allocate_elf() argument 70 result->map_address = map_address; in allocate_elf()
|
D | gelf_rawchunk.c | 53 if (elf->map_address != NULL) 54 return (char *) elf->map_address + elf->start_offset + offset;
|
D | elf32_getphdr.c | 83 if (elf->map_address != NULL) 92 ((char *) elf->map_address + elf->start_offset + ehdr->e_phoff); 117 ((char *) elf->map_address 122 memcpy (notcvt, ((char *) elf->map_address +
|
D | elf32_getshdr.c | 87 if (elf->map_address != NULL) 104 ((char *) elf->map_address 109 memcpy (notcvt, ((char *) elf->map_address
|
D | elf_cntl.c | 49 if (elf->map_address == NULL && __libelf_readall (elf) == NULL)
|
D | elf_clone.c | 44 retval = allocate_elf (elf->fildes, elf->map_address, elf->start_offset, in elf_clone()
|
D | libelfP.h | 247 void *map_address; member 405 extern Elf *__libelf_read_mmaped_file (int fildes, void *map_address,
|
D | elf_getdata.c | 249 if (elf->map_address != NULL) in __libelf_set_rawdata() 261 = (char *) elf->map_address + elf->start_offset + offset; in __libelf_set_rawdata()
|
/external/v8/src/ia32/ |
D | ic-ia32.cc | 1293 Address map_address = test_instruction_address + delta + 3; in PatchInlinedLoad() local 1294 *(reinterpret_cast<Object**>(map_address)) = map; in PatchInlinedLoad() 1348 Address map_address = mov_instruction_address + delta + 3; in PatchInlinedContextualLoad() local 1349 *(reinterpret_cast<Object**>(map_address)) = map; in PatchInlinedContextualLoad() 1380 Address map_address = map_check_address + 3; in PatchInlinedStore() local 1381 *(reinterpret_cast<Object**>(map_address)) = map; in PatchInlinedStore() 1425 Address map_address = test_instruction_address + delta + 3; in PatchInlinedMapCheck() local 1427 *(reinterpret_cast<Object**>(map_address)) = map; in PatchInlinedMapCheck()
|
/external/v8/src/x64/ |
D | ic-x64.cc | 1317 Address map_address = test_instruction_address + delta + 2; in PatchInlinedLoad() local 1318 *(reinterpret_cast<Object**>(map_address)) = map; in PatchInlinedLoad() 1359 Address map_address = map_check_address + 2; in PatchInlinedStore() local 1360 *(reinterpret_cast<Object**>(map_address)) = map; in PatchInlinedStore() 1407 Address map_address = test_instruction_address + delta + 2; in PatchInlinedMapCheck() local 1409 *(reinterpret_cast<Object**>(map_address)) = map; in PatchInlinedMapCheck()
|
/external/v8/src/ |
D | heap.cc | 235 Address map_address = map_word.DecodeMapAddress(HEAP->map_space()); in GcSafeSizeOfOldObjectWithEncodedMap() local 236 Map* map = reinterpret_cast<Map*>(HeapObject::FromAddress(map_address)); in GcSafeSizeOfOldObjectWithEncodedMap() 4237 Address map_address = start; in IteratePointersInDirtyMaps() local 4241 while (map_address < end) { in IteratePointersInDirtyMaps() 4242 ASSERT(!heap->InNewSpace(Memory::Object_at(map_address))); in IteratePointersInDirtyMaps() 4243 ASSERT(Memory::Object_at(map_address)->IsMap()); in IteratePointersInDirtyMaps() 4245 Address pointer_fields_start = map_address + Map::kPointerFieldsBeginOffset; in IteratePointersInDirtyMaps() 4246 Address pointer_fields_end = map_address + Map::kPointerFieldsEndOffset; in IteratePointersInDirtyMaps() 4255 map_address += Map::kSize; in IteratePointersInDirtyMaps()
|
D | objects-inl.h | 1094 MapWord MapWord::EncodeAddress(Address map_address, int offset) { in EncodeAddress() argument 1103 Page* map_page = Page::FromAddress(map_address); in EncodeAddress() 1107 map_page->Offset(map_address) >> kMapAlignmentBits; in EncodeAddress()
|
D | objects.h | 1027 static inline MapWord EncodeAddress(Address map_address, int offset);
|