Home
last modified time | relevance | path

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

12345678910>>...12

/external/elfutils/lib/
Dcrc32_file.c52 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/
Dandroid_sw_winsys.cpp58 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/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()
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/
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/dexmaker/src/dx/java/com/android/dx/ssa/back/
DFirstFitAllocator.java44 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/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DCaseIterator.java227 String mapped = UCharacter.foldCase(cp, defaultmapping);
228 if (mapped.equals(cp)) continue;
230 if (maxLength < mapped.length()) maxLength = mapped.length();
234 Set s = (Set) fromCaseFold.get(mapped);
237 s.add(mapped); // add the case fold result itself
238 fromCaseFold.put(mapped, s); in fromCaseFold.put() argument
241 toCaseFold.put(cp, mapped); in toCaseFold.put() argument
242 toCaseFold.put(mapped, mapped); // add mapping to self in toCaseFold.put() argument
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DCaseIterator.java231 String mapped = UCharacter.foldCase(cp, defaultmapping);
232 if (mapped.equals(cp)) continue;
234 if (maxLength < mapped.length()) maxLength = mapped.length();
238 Set s = (Set) fromCaseFold.get(mapped);
241 s.add(mapped); // add the case fold result itself
242 fromCaseFold.put(mapped, s); in fromCaseFold.put() argument
245 toCaseFold.put(cp, mapped); in toCaseFold.put() argument
246 toCaseFold.put(mapped, mapped); // add mapping to self in toCaseFold.put() argument
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
DCaseIterator.java230 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/
DBaseCodeCursor.java46 int mapped = baseAddressMap.get(cursor); in baseAddressForCursor() local
47 return (mapped >= 0) ? mapped : cursor; in baseAddressForCursor()
/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/v8/tools/testrunner/local/
Dstatusfile.py99 mapped = DEFS[new]
100 if type(mapped) == list:
101 for m in mapped:
103 elif type(mapped) == str:
104 _AddOutcome(result, mapped)
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_so.c90 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/jetty/src/java/org/eclipse/jetty/http/
DPathMap.java184 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/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/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c48 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/libdwfl/
Dopen.c52 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()
Dgzip.c170 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()
Dimage-header.c61 void *mapped, size_t mapped_size) in __libdw_image_header() argument
65 const void *header = mapped; in __libdw_image_header()
/external/mesa3d/src/gallium/winsys/sw/fbdev/
Dfbdev_sw_winsys.c49 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/libunwind/src/mi/
Dmap.c121 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/iptables/extensions/
Dlibxt_SNAT.man19 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/
DGrGLCreateNullInterface.cpp43 void setMapped(bool mapped) { fMapped = mapped; } in setMapped() argument
44 bool mapped() const { return fMapped; } in mapped() function in __anon8a6c51da0111::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()

12345678910>>...12