/external/elfutils/lib/ |
crc32_file.c | 52 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); local 53 if (mapped == MAP_FAILED && errno == ENOMEM) 58 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, 62 if (mapped != MAP_FAILED) 68 *resp = crc32 (crc, mapped, st.st_size); 69 munmap (mapped, mapsize); 72 crc = crc32 (crc, mapped, mapsize); 75 } while (mmap (mapped, mapsize, PROT_READ, MAP_FIXED|MAP_PRIVATE, 76 fd, off) == mapped); 77 munmap (mapped, mapsize) [all...] |
/dalvik/dx/src/com/android/dx/io/instructions/ |
BaseCodeCursor.java | 46 int mapped = baseAddressMap.get(cursor); local 47 return (mapped >= 0) ? mapped : cursor;
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
goldfish_dma.cpp | 38 res->mapped = NULL; 68 cxt->mapped = mmap(0, cxt->sz, PROT_WRITE, MAP_SHARED, cxt->fd, 0); 69 ALOGV("%s: mapped addr=%p errno=%d", __FUNCTION__, cxt->mapped, errno); 71 if (cxt->mapped == MAP_FAILED) { 72 cxt->mapped = NULL; 74 return cxt->mapped; 78 munmap(cxt->mapped, cxt->sz); 79 cxt->mapped = NULL; 87 ALOGV("%s: mapped addr=%p", __FUNCTION__, cxt->mapped) [all...] |
goldfish_dma.h | 45 void* mapped; member in struct:goldfish_dma_context
|
/external/honggfuzz/examples/externalfuzzers/ |
rangeFuzz.py | 14 mapped = mmap.mmap(f.fileno(), 0) variable 22 mapped[byte_pos] = byte_new 25 mapped.close()
|
/external/apache-http/src/org/apache/commons/codec/language/ |
Soundex.java | 97 * Every letter of the alphabet is "mapped" to a numerical value. This char array holds the values to which each 98 * letter is mapped. This implementation contains a default map for US_ENGLISH 116 * Every letter of the alphabet is "mapped" to a numerical value. This char array holds the values to which each 117 * letter is mapped. This implementation contains a default map for US_ENGLISH 137 * if a character is not mapped 153 * if a character is not mapped 170 * if the character is not mapped 214 * Thrown if <code>ch</code> is not mapped. 219 throw new IllegalArgumentException("The character is not mapped: " + ch); 252 * if a character is not mapped 263 char last, mapped; local [all...] |
/external/jemalloc/include/jemalloc/internal/ |
base.h | 14 size_t *mapped);
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
FirstFitAllocator.java | 41 /** indexed by old reg; the set of old regs we've mapped */ 42 private final BitSet mapped; field in class:FirstFitAllocator 49 mapped = new BitSet(ssaMeth.getRegCount()); 79 if (mapped.get(i)) { 107 if (mapped.get(j) || isDefinitionMoveParam(j)) { 126 mapped.set(j); 130 mapped.set(i);
|
/external/libunwind/src/ |
elfxx.h | 93 if (ei->u.mapped.size <= EI_VERSION) { 97 uint8_t* e_ident = (uint8_t*) ei->u.mapped.image; 98 return (memcmp (ei->u.mapped.image, ELFMAG, SELFMAG) == 0 135 ei->u.mapped.size = stat.st_size; 136 ei->u.mapped.image = mmap (NULL, ei->u.mapped.size, PROT_READ, MAP_PRIVATE, fd, 0); 138 if (ei->u.mapped.image == MAP_FAILED) { 144 munmap (ei->u.mapped.image, ei->u.mapped.size); 148 ei->mapped = true [all...] |
os-linux.c | 64 cur_map->ei.mapped = false; 68 /* Indicate mapped memory of devices is special and should not 93 munmap (ei.u.mapped.image, ei.u.mapped.size); 132 ei.mapped = false;
|
elfxx.c | 274 // Functions to read elf data from the mapped elf image. 277 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; 279 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->u.mapped.size) { 282 (unsigned long) ei->u.mapped.size); 286 return (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + soff); 290 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; 292 if (str_soff + ehdr->e_shentsize > ei->u.mapped.size) { 295 (unsigned long) ei->u.mapped.size); 298 Elf_W(Shdr)* str_shdr = (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + str_soff); 300 if (str_shdr->sh_offset + str_shdr->sh_size > ei->u.mapped.size) [all...] |
os-common.c | 53 if (ei->mapped)
|
/device/google/cuttlefish_common/guest/hals/gralloc/ |
mapper.cpp | 78 void* mapped = local 80 if (mapped == MAP_FAILED) { 88 uintptr_t base = uintptr_t(mapped); 96 buffer->vaddr = mapped;
|
/system/vold/ |
FileDeviceUtils.cpp | 88 auto mapped = fiemap->fm_mapped_extents; local 89 if (mapped < 1 || mapped > extent_count) { 90 LOG(ERROR) << "Extent count not in bounds 1 <= " << mapped << " <= " << extent_count
|
secdiscard.cpp | 129 auto mapped = fiemap.fm_mapped_extents; local 130 if (!(fiemap.fm_extents[mapped - 1].fe_flags & FIEMAP_EXTENT_LAST)) { 131 LOG(ERROR) << "Extent " << mapped -1 << " was not the last in " << path; 134 for (uint32_t i = 0; i < mapped; i++) {
|
/external/elfutils/libdwfl/ |
image-header.c | 61 void *mapped, size_t mapped_size) 65 const void *header = mapped;
|
open.c | 52 void *const mapped = ((*elf)->map_address == NULL ? NULL local 58 error = __libdw_gunzip (fd, offset, mapped, mapped_size, &buffer, &size); 60 error = __libdw_bunzip2 (fd, offset, mapped, mapped_size, &buffer, &size); 62 error = __libdw_unlzma (fd, offset, mapped, mapped_size, &buffer, &size);
|
/prebuilts/go/darwin-x86/misc/cgo/testgodefs/ |
issue8478.go | 9 // Issue 8478. Test that void* is consistently mapped to *byte.
|
/prebuilts/go/linux-x86/misc/cgo/testgodefs/ |
issue8478.go | 9 // Issue 8478. Test that void* is consistently mapped to *byte.
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_transfer.c | 83 void *mapped = etna_bo_map(rsc->bo) + res_level->offset; local 88 mapped + ptrans->box.z * res_level->layer_stride, 93 util_copy_box(mapped, rsc->base.format, res_level->stride, 274 void *mapped = etna_bo_map(rsc->bo); local 275 if (!mapped) 284 return mapped + res_level->offset + 297 mapped += res_level->offset; 311 mapped + ptrans->box.z * res_level->layer_stride, 319 ptrans->box.depth, mapped, res_level->stride,
|
/external/libunwind/src/mi/ |
map.c | 121 if (map->ei.mapped) 122 munmap (map->ei.u.mapped.image, map->ei.u.mapped.size);
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
EntityDeletionAdapterWriter.kt | 61 val mapped = FieldWithIndex.byOrder(entity.primaryKey.fields) 64 fieldsWithIndices = mapped,
|
/toolchain/binutils/binutils-2.27/gprof/ |
symtab.h | 55 mapped:1, /* This symbol was mapped to another name. */ 54 mapped:1, \/* This symbol was mapped to another name. *\/ member in struct:sym
|
/external/libunwind/src/dwarf/ |
Gfind_unwind_table.c | 265 if (!ei->mapped) { 273 ehdr = ei->u.mapped.image; 274 phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); 293 if ((uintptr_t) ei->u.mapped.image + phdr->p_filesz > max_load_addr) 294 max_load_addr = (uintptr_t) ei->u.mapped.image + phdr->p_filesz; 334 Elf_W(Dyn) *dyn = (Elf_W(Dyn) *)(pdyn->p_offset + (char *) ei->u.mapped.image); 335 while ((char*) dyn - (char*) ei->u.mapped.image + sizeof(Elf_W(Dyn)) < ei->u.mapped.size 349 + (char *) ei->u.mapped.image); 418 + (addr - (uintptr_t) ei->u.mapped.imag [all...] |
/external/mesa3d/src/gallium/winsys/sw/kms-dri/ |
kms_dri_sw_winsys.c | 72 void *mapped; member in struct:kms_sw_displaytarget 201 kms_sw_dt->mapped = mmap(0, kms_sw_dt->size, prot, MAP_SHARED, 204 if (kms_sw_dt->mapped == MAP_FAILED) 207 DEBUG_PRINT("KMS-DEBUG: mapped buffer %u (size %u) at %p\n", 208 kms_sw_dt->handle, kms_sw_dt->size, kms_sw_dt->mapped); 210 return kms_sw_dt->mapped; 280 DEBUG_PRINT("KMS-DEBUG: unmapped buffer %u (was %p)\n", kms_sw_dt->handle, kms_sw_dt->mapped); 282 munmap(kms_sw_dt->mapped, kms_sw_dt->size); 283 kms_sw_dt->mapped = NULL;
|