Home
last modified time | relevance | path

Searched refs:mapped (Results 1 – 25 of 598) sorted by relevance

12345678910>>...24

/external/elfutils/lib/
Dcrc32_file.c53 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); in crc32_file() local
54 if (mapped == MAP_FAILED && errno == ENOMEM) in crc32_file()
59 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, in crc32_file()
63 if (mapped != MAP_FAILED) in crc32_file()
69 *resp = crc32 (crc, mapped, st.st_size); in crc32_file()
70 munmap (mapped, mapsize); in crc32_file()
73 crc = crc32 (crc, mapped, mapsize); in crc32_file()
76 } while (mmap (mapped, mapsize, PROT_READ, MAP_FIXED|MAP_PRIVATE, in crc32_file()
77 fd, off) == mapped); in crc32_file()
78 munmap (mapped, mapsize); in crc32_file()
/external/libunwind/src/
Delfxx.c277 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; in Elf_W()
279 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->u.mapped.size) { in Elf_W()
282 (unsigned long) ei->u.mapped.size); in Elf_W()
286 return (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + soff); in Elf_W()
290 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; in elf_w()
292 if (str_soff + ehdr->e_shentsize > ei->u.mapped.size) { in elf_w()
295 (unsigned long) ei->u.mapped.size); in elf_w()
298 Elf_W(Shdr)* str_shdr = (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + str_soff); in elf_w()
300 if (str_shdr->sh_offset + str_shdr->sh_size > ei->u.mapped.size) { in elf_w()
303 (unsigned long) ei->u.mapped.size); in elf_w()
[all …]
Delfxx.h93 if (ei->u.mapped.size <= EI_VERSION) { in elf_w()
97 uint8_t* e_ident = (uint8_t*) ei->u.mapped.image; in elf_w()
98 return (memcmp (ei->u.mapped.image, ELFMAG, SELFMAG) == 0 in elf_w()
135 ei->u.mapped.size = stat.st_size; in elf_map_image()
136 ei->u.mapped.image = mmap (NULL, ei->u.mapped.size, PROT_READ, MAP_PRIVATE, fd, 0); in elf_map_image()
138 if (ei->u.mapped.image == MAP_FAILED) { in elf_map_image()
144 munmap (ei->u.mapped.image, ei->u.mapped.size); in elf_map_image()
148 ei->mapped = true; in elf_map_image()
214 } else if (map->ei.valid && !map->ei.mapped && map->ei.u.memory.as != as) { in elf_map_cached_image()
Dos-linux.c64 cur_map->ei.mapped = false; in map_create_list()
94 munmap (ei.u.mapped.image, ei.u.mapped.size); in map_create_list()
133 ei.mapped = false; in map_create_list()
/external/apache-http/src/org/apache/commons/codec/language/
DSoundex.java263 char last, mapped; in soundex() local
268 mapped = getMappingCode(str, incount++); in soundex()
269 if (mapped != 0) { in soundex()
270 if ((mapped != '0') && (mapped != last)) { in soundex()
271 out[count++] = mapped; in soundex()
273 last = mapped; in soundex()
/external/libxkbcommon/xkbcommon/test/data/symbols/
Daltwin1 // Meta is mapped to second level of Alt keys.
11 // Alt is mapped to the Win keys (and the usual Alt keys).
19 // Ctrl is mapped to the Win keys (and the usual Ctrl keys).
27 // Ctrl is mapped to the Alt keys, Alt to the Win keys, and Win to the Ctrl keys.
42 // Meta is mapped to the Win keys.
54 // Meta is mapped to the left Win key.
63 // Hyper is mapped to the Win keys.
71 // Menu is mapped to the Menu key.
/external/u-boot/arch/x86/cpu/quark/
DKconfig71 Embedded SRAM (eSRAM) memory-mapped base address.
81 Root Complex register block memory-mapped base address.
87 ACPI Power Managment 1 (PM1) i/o-mapped base address.
94 ACPI Processor Block (PBLK) i/o-mapped base address.
101 SPI DMA i/o-mapped base address.
107 GPIO i/o-mapped base address.
113 ACPI General Purpose Event 0 (GPE0) i/o-mapped base address.
120 Watchdog timer i/o-mapped base address.
/external/python/cpython2/Modules/cjkcodecs/
DREADME27 Because unicode 0x5341, 0x5345, 0xFF0F, 0xFF3C is mapped to another
67 - U+FF3C FULLWIDTH REVERSE SOLIDUS is mapped to EUC-JP A1C0 (vice versa)
68 - U+00A5 YEN SIGN is mapped to EUC-JP 0x5c. (one way)
69 - U+203E OVERLINE is mapped to EUC-JP 0x7e. (one way)
76 - U+005C REVERSE SOLIDUS is mapped to SHIFT-JIS 0x5c.
77 - U+007E TILDE is mapped to SHIFT-JIS 0x7e.
78 - U+FF3C FULL-WIDTH REVERSE SOLIDUS is mapped to SHIFT-JIS 815f.
/external/python/cpython3/Modules/cjkcodecs/
DREADME27 Because unicode 0x5341, 0x5345, 0xFF0F, 0xFF3C is mapped to another
67 - U+FF3C FULLWIDTH REVERSE SOLIDUS is mapped to EUC-JP A1C0 (vice versa)
68 - U+00A5 YEN SIGN is mapped to EUC-JP 0x5c. (one way)
69 - U+203E OVERLINE is mapped to EUC-JP 0x7e. (one way)
76 - U+005C REVERSE SOLIDUS is mapped to SHIFT-JIS 0x5c.
77 - U+007E TILDE is mapped to SHIFT-JIS 0x7e.
78 - U+FF3C FULL-WIDTH REVERSE SOLIDUS is mapped to SHIFT-JIS 815f.
/external/cldr/tools/java/org/unicode/cldr/util/
DCaseIterator.java232 String mapped = UCharacter.foldCase(cp, defaultmapping);
233 if (mapped.equals(cp)) continue;
235 if (maxLength < mapped.length()) maxLength = mapped.length();
239 Set s = (Set) fromCaseFold.get(mapped);
242 s.add(mapped); // add the case fold result itself
243 fromCaseFold.put(mapped, s); in fromCaseFold.put() argument
246 toCaseFold.put(cp, mapped); in toCaseFold.put() argument
247 toCaseFold.put(mapped, mapped); // add mapping to self in toCaseFold.put() argument
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DCaseIterator.java229 String mapped = UCharacter.foldCase(cp, defaultmapping);
230 if (mapped.equals(cp)) continue;
232 if (maxLength < mapped.length()) maxLength = mapped.length();
236 Set s = (Set) fromCaseFold.get(mapped);
239 s.add(mapped); // add the case fold result itself
240 fromCaseFold.put(mapped, s); in fromCaseFold.put() argument
243 toCaseFold.put(cp, mapped); in toCaseFold.put() argument
244 toCaseFold.put(mapped, mapped); // add mapping to self in toCaseFold.put() argument
/external/libunwind/src/dwarf/
DGfind_unwind_table.c265 if (!ei->mapped) { in dwarf_find_unwind_table()
273 ehdr = ei->u.mapped.image; in dwarf_find_unwind_table()
274 phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); in dwarf_find_unwind_table()
293 if ((uintptr_t) ei->u.mapped.image + phdr->p_filesz > max_load_addr) in dwarf_find_unwind_table()
294 max_load_addr = (uintptr_t) ei->u.mapped.image + phdr->p_filesz; in dwarf_find_unwind_table()
334 Elf_W(Dyn) *dyn = (Elf_W(Dyn) *)(pdyn->p_offset + (char *) ei->u.mapped.image); in dwarf_find_unwind_table()
335 while ((char*) dyn - (char*) ei->u.mapped.image + sizeof(Elf_W(Dyn)) < ei->u.mapped.size in dwarf_find_unwind_table()
349 + (char *) ei->u.mapped.image); in dwarf_find_unwind_table()
418 + (addr - (uintptr_t) ei->u.mapped.image in dwarf_find_unwind_table()
427 + ((uintptr_t) hdr - (uintptr_t) ei->u.mapped.image in dwarf_find_unwind_table()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_transfer.c94 void *mapped = etna_bo_map(rsc->bo) + res_level->offset; in etna_transfer_unmap() local
98 mapped + ptrans->box.z * res_level->layer_stride, in etna_transfer_unmap()
103 util_copy_box(mapped, rsc->base.format, res_level->stride, in etna_transfer_unmap()
329 void *mapped = etna_bo_map(rsc->bo); in etna_transfer_map() local
330 if (!mapped) in etna_transfer_map()
339 return mapped + res_level->offset + in etna_transfer_map()
352 mapped += res_level->offset; in etna_transfer_map()
364 mapped + ptrans->box.z * res_level->layer_stride, in etna_transfer_map()
372 ptrans->box.depth, mapped, res_level->stride, in etna_transfer_map()
/external/mesa3d/src/gallium/winsys/sw/kms-dri/
Dkms_dri_sw_winsys.c72 void *mapped; member
201 kms_sw_dt->mapped = mmap(0, kms_sw_dt->size, prot, MAP_SHARED, in kms_sw_displaytarget_map()
204 if (kms_sw_dt->mapped == MAP_FAILED) in kms_sw_displaytarget_map()
208 kms_sw_dt->handle, kms_sw_dt->size, kms_sw_dt->mapped); in kms_sw_displaytarget_map()
210 return kms_sw_dt->mapped; in kms_sw_displaytarget_map()
280 DEBUG_PRINT("KMS-DEBUG: unmapped buffer %u (was %p)\n", kms_sw_dt->handle, kms_sw_dt->mapped); in kms_sw_displaytarget_unmap()
282 munmap(kms_sw_dt->mapped, kms_sw_dt->size); in kms_sw_displaytarget_unmap()
283 kms_sw_dt->mapped = NULL; in kms_sw_displaytarget_unmap()
/external/jemalloc_new/test/unit/
Dbase.c31 size_t allocated0, allocated1, resident, mapped, n_thp; in TEST_BEGIN() local
37 base_stats_get(tsdn, base, &allocated0, &resident, &mapped, in TEST_BEGIN()
51 base_stats_get(tsdn, base, &allocated1, &resident, &mapped, in TEST_BEGIN()
64 size_t allocated0, allocated1, resident, mapped, n_thp; in TEST_BEGIN() local
80 base_stats_get(tsdn, base, &allocated0, &resident, &mapped, in TEST_BEGIN()
94 base_stats_get(tsdn, base, &allocated1, &resident, &mapped, in TEST_BEGIN()
/external/jemalloc_new/src/
Dbase.c220 assert(base->resident <= base->mapped); in base_extent_bump_alloc_post()
226 assert(base->mapped >= base->n_thp << LG_HUGEPAGE); in base_extent_bump_alloc_post()
329 base->mapped += block->size; in base_extent_alloc()
338 assert(base->resident <= base->mapped); in base_extent_alloc()
339 assert(base->n_thp << LG_HUGEPAGE <= base->mapped); in base_extent_alloc()
381 base->mapped = block->size; in base_new()
386 assert(base->resident <= base->mapped); in base_new()
387 assert(base->n_thp << LG_HUGEPAGE <= base->mapped); in base_new()
482 size_t *mapped, size_t *n_thp) { in base_stats_get() argument
487 assert(base->resident <= base->mapped); in base_stats_get()
[all …]
/external/honggfuzz/examples/externalfuzzers/
DrangeFuzz.py14 mapped = mmap.mmap(f.fileno(), 0) variable
22 mapped[byte_pos] = byte_new
25 mapped.close()
/external/guava/guava-tests/test/com/google/common/net/
DInetAddressesTest.java389 InetAddress mapped = InetAddresses.forString(mappedStr); in testMappedIPv4Addresses() local
390 assertFalse(mapped instanceof Inet6Address); in testMappedIPv4Addresses()
391 assertEquals(InetAddress.getByName("192.168.0.1"), mapped); in testMappedIPv4Addresses()
396 mapped = InetAddresses.forString(mappedStr); in testMappedIPv4Addresses()
397 assertFalse(mapped instanceof Inet6Address); in testMappedIPv4Addresses()
398 assertEquals(InetAddress.getByName("192.168.0.1"), mapped); in testMappedIPv4Addresses()
402 mapped = InetAddresses.forString(mappedStr); in testMappedIPv4Addresses()
403 assertFalse(mapped instanceof Inet6Address); in testMappedIPv4Addresses()
404 assertEquals(InetAddress.getByName("1.2.3.4"), mapped); in testMappedIPv4Addresses()
408 mapped = InetAddresses.forString(mappedStr); in testMappedIPv4Addresses()
[all …]
/external/deqp/modules/glshared/
DglsShaderConstExprTests.cpp154 const string mapped = shaderTemplate.specialize(shaderTemplateParams); in createTests() local
165 spec.programs[0].sources << glu::VertexSource(mapped); in createTests()
186 spec.programs[0].sources << glu::FragmentSource(mapped); in createTests()
208 const string mapped = shaderTemplate.specialize(shaderTemplateParams); in createTests() local
219 spec.programs[0].sources << glu::VertexSource(mapped); in createTests()
240 spec.programs[0].sources << glu::FragmentSource(mapped); in createTests()
/external/tensorflow/tensorflow/contrib/session_bundle/
Dsignature.cc249 const auto mapped = bindings.find(entry.first); in BindGenericInputs() local
250 if (mapped == bindings.end()) { in BindGenericInputs()
254 bound_inputs->push_back({mapped->second.tensor_name(), entry.second}); in BindGenericInputs()
266 const auto mapped = bindings.find(entry); in BindGenericNames() local
267 if (mapped == bindings.end()) { in BindGenericNames()
271 bound_names->push_back(mapped->second.tensor_name()); in BindGenericNames()
/external/elfutils/libdwfl/
Dopen.c56 void *const mapped = ((*elf)->map_address == NULL ? NULL in decompress() local
62 error = __libdw_gunzip (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
64 error = __libdw_bunzip2 (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
66 error = __libdw_unlzma (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dinsert_node_type.pass.cpp24 typename Container::mapped_type const& mapped) in node_factory() argument
27 auto p = c.insert({key, mapped}); in node_factory()
66 assert(irt.node.key() == 0 && irt.node.mapped() == 42); in test()
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Dinsert_node_type.pass.cpp25 typename Container::mapped_type const& mapped) in node_factory() argument
28 auto p = c.insert({key, mapped}); in node_factory()
67 assert(irt.node.key() == 0 && irt.node.mapped() == 42); in test()
/external/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c49 void *mapped; member
139 dri_sw_dt->mapped = dri_sw_dt->data; in dri_sw_displaytarget_map()
146 return dri_sw_dt->mapped; in dri_sw_displaytarget_map()
159 dri_sw_dt->mapped = NULL; in dri_sw_displaytarget_unmap()
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_flush.c61 boolean mapped; member
220 if (fbuf->mapped) { in debug_flush_map()
230 fbuf->mapped = TRUE; in debug_flush_map()
259 if (!fbuf->mapped) in debug_flush_unmap()
264 fbuf->mapped = FALSE; in debug_flush_unmap()

12345678910>>...24