/external/elfutils/src/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/mesa3d/src/gallium/winsys/sw/android/ |
D | android_sw_winsys.cpp | 58 void *mapped; member 99 assert(!adt->mapped); in android_displaytarget_destroy() 112 if (adt->mapped && sw_gralloc_handle_t::validate(adt->handle) >= 0) { in android_displaytarget_unmap() 113 adt->mapped = NULL; in android_displaytarget_unmap() 118 if (adt->mapped) { in android_displaytarget_unmap() 120 adt->mapped = NULL; in android_displaytarget_unmap() 137 adt->mapped = reinterpret_cast<void *>(swhandle->base); in android_displaytarget_map() 139 return adt->mapped; in android_displaytarget_map() 143 if (!adt->mapped) { in android_displaytarget_map() 146 adt->usage, 0, 0, adt->width, adt->height, &adt->mapped); in android_displaytarget_map() [all …]
|
/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/libunwind/src/ |
D | elfxx.h | 87 if (ei->u.mapped.size <= EI_VERSION) { in elf_w() 91 uint8_t* e_ident = (uint8_t*) ei->u.mapped.image; in elf_w() 92 return (memcmp (ei->u.mapped.image, ELFMAG, SELFMAG) == 0 in elf_w() 129 ei->u.mapped.size = stat.st_size; in elf_map_image() 130 ei->u.mapped.image = mmap (NULL, ei->u.mapped.size, PROT_READ, MAP_PRIVATE, fd, 0); in elf_map_image() 132 if (ei->u.mapped.image == MAP_FAILED) { in elf_map_image() 138 munmap (ei->u.mapped.image, ei->u.mapped.size); in elf_map_image() 142 ei->mapped = true; in elf_map_image()
|
D | elfxx.c | 275 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; in Elf_W() 277 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->u.mapped.size) { in Elf_W() 280 (unsigned long) ei->u.mapped.size); in Elf_W() 284 return (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + soff); in Elf_W() 288 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; in elf_w() 290 if (str_soff + ehdr->e_shentsize > ei->u.mapped.size) { in elf_w() 293 (unsigned long) ei->u.mapped.size); in elf_w() 296 Elf_W(Shdr)* str_shdr = (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + str_soff); in elf_w() 298 if (str_shdr->sh_offset + str_shdr->sh_size > ei->u.mapped.size) { in elf_w() 301 (unsigned long) ei->u.mapped.size); in elf_w() [all …]
|
D | os-linux.c | 64 cur_map->ei.mapped = false; in map_create_list() 91 munmap (ei.u.mapped.image, ei.u.mapped.size); in map_create_list() 124 ei.mapped = false; in map_create_list()
|
D | Los-common.c | 70 if (!new_list->ei.mapped) in move_cached_elf_data() 73 old_list->ei.mapped = false; in move_cached_elf_data() 192 if (ei->mapped) in local_get_elf_image()
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/back/ |
D | FirstFitAllocator.java | 44 private final BitSet mapped; field in FirstFitAllocator 51 mapped = new BitSet(ssaMeth.getRegCount()); in FirstFitAllocator() 81 if (mapped.get(i)) { in allocateRegisters() 109 if (mapped.get(j) || isDefinitionMoveParam(j)) { in allocateRegisters() 128 mapped.set(j); in allocateRegisters() 132 mapped.set(i); in allocateRegisters()
|
/external/v8/tools/testrunner/local/ |
D | statusfile.py | 89 mapped = DEFS[new] 90 if type(mapped) == list: 91 for m in mapped: 93 elif type(mapped) == str: 94 _AddOutcome(result, mapped)
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/ |
D | CaseIterator.java | 230 String mapped = UCharacter.foldCase(cp, defaultmapping); 231 if (mapped.equals(cp)) continue; 233 if (maxLength < mapped.length()) maxLength = mapped.length(); 237 Set s = (Set) fromCaseFold.get(mapped); 240 s.add(mapped); // add the case fold result itself 241 fromCaseFold.put(mapped, s); in fromCaseFold.put() argument 244 toCaseFold.put(cp, mapped); in toCaseFold.put() argument 245 toCaseFold.put(mapped, mapped); // add mapping to self in toCaseFold.put() argument
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
D | BaseCodeCursor.java | 46 int mapped = baseAddressMap.get(cursor); in baseAddressForCursor() local 47 return (mapped >= 0) ? mapped : cursor; in baseAddressForCursor()
|
/external/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 266 if (!ei->mapped) { in dwarf_find_unwind_table() 274 ehdr = ei->u.mapped.image; in dwarf_find_unwind_table() 275 phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); in dwarf_find_unwind_table() 294 if ((uintptr_t) ei->u.mapped.image + phdr->p_filesz > max_load_addr) in dwarf_find_unwind_table() 295 max_load_addr = (uintptr_t) ei->u.mapped.image + phdr->p_filesz; in dwarf_find_unwind_table() 335 Elf_W(Dyn) *dyn = (Elf_W(Dyn) *)(pdyn->p_offset + (char *) ei->u.mapped.image); in dwarf_find_unwind_table() 336 while ((char*) dyn - (char*) ei->u.mapped.image + sizeof(Elf_W(Dyn)) < ei->u.mapped.size in dwarf_find_unwind_table() 350 + (char *) ei->u.mapped.image); in dwarf_find_unwind_table() 419 + (addr - (uintptr_t) ei->u.mapped.image in dwarf_find_unwind_table() 428 + ((uintptr_t) hdr - (uintptr_t) ei->u.mapped.image in dwarf_find_unwind_table()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_so.c | 90 void *mapped; in llvmpipe_set_stream_output_buffers() local 104 mapped = res->data; in llvmpipe_set_stream_output_buffers() 106 map_buffers[i] = ((char*)mapped) + offsets[i]; in llvmpipe_set_stream_output_buffers() 110 map_buffers[i] = mapped; in llvmpipe_set_stream_output_buffers()
|
/external/deqp/modules/glshared/ |
D | glsShaderConstExprTests.cpp | 153 const string mapped = shaderTemplate.specialize(shaderTemplateParams); in createTests() local 164 mapped))); in createTests() 175 mapped))); in createTests() 187 const string mapped = shaderTemplate.specialize(shaderTemplateParams); in createTests() local 198 mapped))); in createTests() 209 mapped))); in createTests()
|
/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/jetty/src/java/org/eclipse/jetty/http/ |
D | PathMap.java | 184 String mapped=spec.substring(0,spec.length()-2); in put() local 185 entry.setMapped(mapped); in put() 186 _prefixMap.put(mapped,entry); in put() 187 _exactMap.put(mapped,entry); in put() 547 private String mapped; field in PathMap.Entry 581 return mapped; in getMapped() 584 void setMapped(String mapped) in setMapped() argument 586 this.mapped = mapped; in setMapped()
|
/external/mesa3d/src/gallium/winsys/sw/dri/ |
D | dri_sw_winsys.c | 48 void *mapped; member 137 dri_sw_dt->mapped = dri_sw_dt->data; in dri_sw_displaytarget_map() 138 return dri_sw_dt->mapped; in dri_sw_displaytarget_map() 146 dri_sw_dt->mapped = NULL; in dri_sw_displaytarget_unmap()
|
/external/elfutils/src/libdwfl/ |
D | gzip.c | 79 void *mapped, size_t mapped_size, in unzip() argument 131 if (mapped == NULL) in unzip() 144 mapped = input_buffer; in unzip() 155 (mapped_size <= sizeof magic || memcmp (mapped, magic, sizeof magic - 1)) in unzip() 172 z_stream z = { .next_in = mapped, .avail_in = mapped_size }; in unzip()
|
D | open.c | 57 void *const mapped = ((*elf)->map_address == NULL ? NULL in decompress() local 63 error = __libdw_gunzip (fd, offset, mapped, mapped_size, &buffer, &size); in decompress() 65 error = __libdw_bunzip2 (fd, offset, mapped, mapped_size, &buffer, &size); in decompress() 67 error = __libdw_unlzma (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
|
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/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/winsys/sw/fbdev/ |
D | fbdev_sw_winsys.c | 49 void *mapped; member 132 fbdt->mapped = NULL; in fbdev_displaytarget_unmap() 141 fbdt->mapped = fbdt->data; in fbdev_displaytarget_map() 142 return fbdt->mapped; in fbdev_displaytarget_map()
|
/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/skia/src/gpu/gl/ |
D | SkNullGLContext.cpp | 41 void setMapped(bool mapped) { fMapped = mapped; } in setMapped() argument 42 bool mapped() const { return fMapped; } in mapped() function in BufferObj 253 SkASSERT(!buffer->mapped()); in nullGLMapBufferRange() 274 SkASSERT(!buffer->mapped()); in nullGLMapBuffer() 301 SkASSERT(buffer->mapped()); in nullGLUnmapBuffer() 326 if (buffer->mapped()) { in nullGLGetBufferParameteriv()
|
D | GrGLCreateNullInterface.cpp | 43 void setMapped(bool mapped) { fMapped = mapped; } in setMapped() argument 44 bool mapped() const { return fMapped; } in mapped() function in __anon55d0e5790111::BufferObj 259 SkASSERT(!buffer->mapped()); in nullGLMapBufferRange() 280 SkASSERT(!buffer->mapped()); in nullGLMapBuffer() 307 SkASSERT(buffer->mapped()); in nullGLUnmapBuffer() 332 if (buffer->mapped()) { in nullGLGetBufferParameteriv()
|