/external/elfutils/lib/ |
D | crc32_file.c | 53 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/ |
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() 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/ |
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/tensorflow/tensorflow/compiler/xla/service/ |
D | conditional_to_select_test.cc | 74 HloComputation* mapped = root->called_computations()[0]; in TEST_F() local 75 EXPECT_THAT(mapped->root_instruction(), in TEST_F() 127 HloComputation* mapped = root->called_computations()[0]; in TEST_F() local 129 mapped->root_instruction(), in TEST_F() 183 HloComputation* mapped = root->called_computations()[0]; in TEST_F() local 184 EXPECT_THAT(mapped->root_instruction(), in TEST_F()
|
/external/libxkbcommon/xkbcommon/test/data/symbols/ |
D | altwin | 1 // 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/OpenCL-CTS/test_conformance/multiple_device_context/ |
D | test_multiple_contexts.cpp | 233 cl_uint *mapped = (cl_uint *)clEnqueueMapBuffer( in UseTestItem() local 236 if( NULL == mapped || CL_SUCCESS != error ) in UseTestItem() 247 mapped[j] = genrand_int32(item->d); in UseTestItem() 249 error = clEnqueueUnmapMemObject( item->q, item->m[0], mapped, 0, NULL, NULL ); in UseTestItem() 264 mapped = (cl_uint *)clEnqueueMapBuffer( in UseTestItem() 267 if( NULL == mapped || CL_SUCCESS != error ) in UseTestItem() 278 mapped[i] = 0xdeaddead; in UseTestItem() 280 error = clEnqueueUnmapMemObject( item->q, item->m[1], mapped, 0, NULL, NULL ); in UseTestItem() 328 mapped = (cl_uint *)clEnqueueMapBuffer( in UseTestItem() 331 if( NULL == mapped || CL_SUCCESS != error ) in UseTestItem() [all …]
|
/external/u-boot/arch/x86/cpu/quark/ |
D | Kconfig | 71 Embedded SRAM (eSRAM) memory-mapped base address. 81 Root Complex register block memory-mapped base address. 87 ACPI Power Management 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/cpython3/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/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/cldr/tools/java/org/unicode/cldr/util/ |
D | CaseIterator.java | 232 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/honggfuzz/examples/externalfuzzers/ |
D | rangeFuzz.py | 14 mapped = mmap.mmap(f.fileno(), 0) variable 22 mapped[byte_pos] = byte_new 25 mapped.close()
|
/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/panfrost/lib/ |
D | decode_common.c | 141 struct pandecode_mapped_memory *mapped; in pointer_as_memory_reference() local 146 mapped = pandecode_find_mapped_gpu_mem_containing_rw(ptr); in pointer_as_memory_reference() 148 if (mapped) { in pointer_as_memory_reference() 149 snprintf(out, 128, "%s + %d", mapped->name, (int) (ptr - mapped->gpu_va)); in pointer_as_memory_reference()
|
/external/jemalloc_new/test/unit/ |
D | base.c | 31 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/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_transfer.c | 139 trans->mapped + (ptrans->box.z + z) * res_level->layer_stride, in etna_transfer_unmap() 146 util_copy_box(trans->mapped, rsc->base.format, res_level->stride, in etna_transfer_unmap() 167 etna_patch_data(trans->mapped, ptrans); in etna_transfer_unmap() 424 trans->mapped = etna_bo_map(rsc->bo); in etna_transfer_map() 425 if (!trans->mapped) in etna_transfer_map() 434 trans->mapped += res_level->offset + in etna_transfer_map() 440 etna_unpatch_data(trans->mapped, ptrans); in etna_transfer_map() 442 return trans->mapped; in etna_transfer_map() 453 trans->mapped += res_level->offset; in etna_transfer_map() 466 trans->mapped + (ptrans->box.z + z) * res_level->layer_stride, in etna_transfer_map() [all …]
|
/external/jemalloc_new/src/ |
D | base.c | 220 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/guava/android/guava-tests/test/com/google/common/net/ |
D | InetAddressesTest.java | 359 InetAddress mapped = InetAddresses.forString(mappedStr); in testMappedIPv4Addresses() local 360 assertThat(mapped).isNotInstanceOf(Inet6Address.class); in testMappedIPv4Addresses() 361 assertEquals(InetAddress.getByName("192.168.0.1"), mapped); in testMappedIPv4Addresses() 366 mapped = InetAddresses.forString(mappedStr); in testMappedIPv4Addresses() 367 assertThat(mapped).isNotInstanceOf(Inet6Address.class); in testMappedIPv4Addresses() 368 assertEquals(InetAddress.getByName("192.168.0.1"), mapped); in testMappedIPv4Addresses() 372 mapped = InetAddresses.forString(mappedStr); in testMappedIPv4Addresses() 373 assertThat(mapped).isNotInstanceOf(Inet6Address.class); in testMappedIPv4Addresses() 374 assertEquals(InetAddress.getByName("1.2.3.4"), mapped); in testMappedIPv4Addresses() 378 mapped = InetAddresses.forString(mappedStr); in testMappedIPv4Addresses() [all …]
|
/external/guava/guava-tests/test/com/google/common/net/ |
D | InetAddressesTest.java | 359 InetAddress mapped = InetAddresses.forString(mappedStr); in testMappedIPv4Addresses() local 360 assertThat(mapped).isNotInstanceOf(Inet6Address.class); in testMappedIPv4Addresses() 361 assertEquals(InetAddress.getByName("192.168.0.1"), mapped); in testMappedIPv4Addresses() 366 mapped = InetAddresses.forString(mappedStr); in testMappedIPv4Addresses() 367 assertThat(mapped).isNotInstanceOf(Inet6Address.class); in testMappedIPv4Addresses() 368 assertEquals(InetAddress.getByName("192.168.0.1"), mapped); in testMappedIPv4Addresses() 372 mapped = InetAddresses.forString(mappedStr); in testMappedIPv4Addresses() 373 assertThat(mapped).isNotInstanceOf(Inet6Address.class); in testMappedIPv4Addresses() 374 assertEquals(InetAddress.getByName("1.2.3.4"), mapped); in testMappedIPv4Addresses() 378 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/mesa3d/src/gallium/winsys/sw/kms-dri/ |
D | kms_dri_sw_winsys.c | 81 void *mapped; member 180 kms_sw_dt->mapped = MAP_FAILED; in kms_sw_displaytarget_create() 267 void **ptr = (flags == PIPE_MAP_READ) ? &kms_sw_dt->ro_mapped : &kms_sw_dt->mapped; in kms_sw_displaytarget_map() 338 kms_sw_dt->mapped = MAP_FAILED; in kms_sw_displaytarget_add_from_prime() 373 DEBUG_PRINT("KMS-DEBUG: unmapped buffer %u (was %p)\n", kms_sw_dt->handle, kms_sw_dt->mapped); in kms_sw_displaytarget_unmap() 376 if (kms_sw_dt->mapped != MAP_FAILED) { in kms_sw_displaytarget_unmap() 377 munmap(kms_sw_dt->mapped, kms_sw_dt->size); in kms_sw_displaytarget_unmap() 378 kms_sw_dt->mapped = MAP_FAILED; in kms_sw_displaytarget_unmap()
|
/external/angle/third_party/spirv-tools/src/utils/vscode/src/lsp/protocol/ |
D | log.go | 69 type mapped struct { struct 75 var maps = &mapped{ 84 func (m *mapped) client(id string, del bool) req { argument 94 func (m *mapped) server(id string, del bool) req { argument 104 func (m *mapped) setClient(id string, r req) { argument 110 func (m *mapped) setServer(id string, r req) { argument
|
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/ |
D | log.go | 69 type mapped struct { struct 75 var maps = &mapped{ 84 func (m *mapped) client(id string, del bool) req { argument 94 func (m *mapped) server(id string, del bool) req { argument 104 func (m *mapped) setClient(id string, r req) { argument 110 func (m *mapped) setServer(id string, r req) { argument
|