/external/elfutils/lib/ |
D | crc32_file.c | 52 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); in crc32_file() local 53 if (mapped == MAP_FAILED && errno == ENOMEM) in crc32_file() 58 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, in crc32_file() 62 if (mapped != MAP_FAILED) in crc32_file() 68 *resp = crc32 (crc, mapped, st.st_size); in crc32_file() 69 munmap (mapped, mapsize); in crc32_file() 72 crc = crc32 (crc, mapped, mapsize); in crc32_file() 75 } while (mmap (mapped, mapsize, PROT_READ, MAP_FIXED|MAP_PRIVATE, in crc32_file() 76 fd, off) == mapped); in crc32_file() 77 munmap (mapped, mapsize); in crc32_file()
|
/external/libunwind/src/ |
D | elfxx.c | 277 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 …]
|
D | elfxx.h | 93 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()
|
D | os-linux.c | 64 cur_map->ei.mapped = false; in map_create_list() 93 munmap (ei.u.mapped.image, ei.u.mapped.size); in map_create_list() 132 ei.mapped = false; in map_create_list()
|
/external/apache-http/src/org/apache/commons/codec/language/ |
D | Soundex.java | 263 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/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_transfer.c | 83 void *mapped = etna_bo_map(rsc->bo) + res_level->offset; in etna_transfer_unmap() local 88 mapped + ptrans->box.z * res_level->layer_stride, in etna_transfer_unmap() 93 util_copy_box(mapped, rsc->base.format, res_level->stride, in etna_transfer_unmap() 274 void *mapped = etna_bo_map(rsc->bo); in etna_transfer_map() local 275 if (!mapped) in etna_transfer_map() 284 return mapped + res_level->offset + in etna_transfer_map() 297 mapped += res_level->offset; in etna_transfer_map() 311 mapped + ptrans->box.z * res_level->layer_stride, in etna_transfer_map() 319 ptrans->box.depth, mapped, res_level->stride, in etna_transfer_map()
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | README | 27 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/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
D | CaseIterator.java | 229 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/ |
D | Gfind_unwind_table.c | 265 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/winsys/sw/kms-dri/ |
D | kms_dri_sw_winsys.c | 72 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/guava/guava-tests/test/com/google/common/net/ |
D | InetAddressesTest.java | 389 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/ |
D | glsShaderConstExprTests.cpp | 154 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/elfutils/libdwfl/ |
D | open.c | 52 void *const mapped = ((*elf)->map_address == NULL ? NULL in decompress() local 58 error = __libdw_gunzip (fd, offset, mapped, mapped_size, &buffer, &size); in decompress() 60 error = __libdw_bunzip2 (fd, offset, mapped, mapped_size, &buffer, &size); in decompress() 62 error = __libdw_unlzma (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
|
D | gzip.c | 170 void *mapped, size_t _mapped_size, in unzip() argument 186 if (mapped == NULL) in unzip() 199 mapped = state.input_buffer; in unzip() 211 memcmp (mapped, magic, sizeof magic - 1)) in unzip() 228 z_stream z = { .next_in = mapped, .avail_in = state.mapped_size }; in unzip()
|
D | image-header.c | 61 void *mapped, size_t mapped_size) in __libdw_image_header() argument 65 const void *header = mapped; in __libdw_image_header()
|
/external/v8/tools/testrunner/local/ |
D | statusfile.py | 101 mapped = DEFS[new] 102 if type(mapped) == list: 103 for m in mapped: 105 elif type(mapped) == str: 106 _AddOutcome(result, mapped)
|
/external/mesa3d/src/gallium/winsys/sw/dri/ |
D | dri_sw_winsys.c | 49 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/libunwind/src/mi/ |
D | map.c | 121 if (map->ei.mapped) in map_destroy_list() 122 munmap (map->ei.u.mapped.image, map->ei.u.mapped.size); in map_destroy_list()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_debug_flush.c | 61 boolean mapped; member 219 if (fbuf->mapped) { in debug_flush_map() 229 fbuf->mapped = TRUE; in debug_flush_map() 258 if (!fbuf->mapped) in debug_flush_unmap() 263 fbuf->mapped = FALSE; in debug_flush_unmap()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_copy_image.c | 46 void *mapped, *src_mapped, *dst_mapped; in copy_image_with_memcpy() local 78 &mapped, &src_stride); in copy_image_with_memcpy() 83 src_mapped = mapped + ((src_y - map_y1) / src_bh) * src_stride + in copy_image_with_memcpy() 85 dst_mapped = mapped + ((dst_y - map_y1) / src_bh) * dst_stride + in copy_image_with_memcpy()
|
/external/iptables/extensions/ |
D | libxt_SNAT.man | 19 mapped to other ports below 512: those between 512 and 1023 inclusive 20 will be mapped to ports below 1024, and other ports will be mapped to
|
/external/jemalloc/test/unit/ |
D | stats.c | 6 size_t sz, allocated, active, resident, mapped; in TEST_BEGIN() local 20 assert_d_eq(mallctl("stats.mapped", (void *)&mapped, &sz, NULL, 0), in TEST_BEGIN() 30 assert_zu_lt(active, mapped, in TEST_BEGIN() 82 size_t mapped; in TEST_BEGIN() local 107 assert_d_eq(mallctl("stats.arenas.0.mapped", (void *)&mapped, &sz, NULL, in TEST_BEGIN()
|
/external/python/cpython2/Doc/library/ |
D | simplehttpserver.rst | 60 The request is mapped to a local file by interpreting the request as a 63 If the request was mapped to a directory, the directory is checked for a 70 If the request was mapped to a file, it is opened and the contents are 72 mapped to a ``404``, ``'File not found'`` error. Otherwise, the content
|
/external/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 66 void *mapped; member 238 xlib_dt->mapped = xlib_dt->data; in xlib_displaytarget_map() 239 return xlib_dt->mapped; in xlib_displaytarget_map() 248 xlib_dt->mapped = NULL; in xlib_displaytarget_unmap()
|
/external/skia/src/gpu/gl/ |
D | GrGLCreateNullInterface.cpp | 116 void setMapped(bool mapped) { fMapped = mapped; } in setMapped() argument 117 bool mapped() const { return fMapped; } in mapped() function in __anon0b8a6d580111::Buffer 630 SkASSERT(!buffer->mapped()); in mapBufferRange() 641 SkASSERT(!buffer->mapped()); in mapBuffer() 654 SkASSERT(buffer->mapped()); in unmapBuffer() 670 if (buffer->mapped()) { in getBufferParameteriv()
|