/external/elfutils/lib/ |
crc32_file.c | 52 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); local 53 if (mapped == MAP_FAILED && errno == ENOMEM) 58 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, 62 if (mapped != MAP_FAILED) 68 *resp = crc32 (crc, mapped, st.st_size); 69 munmap (mapped, mapsize); 72 crc = crc32 (crc, mapped, mapsize); 75 } while (mmap (mapped, mapsize, PROT_READ, MAP_FIXED|MAP_PRIVATE, 76 fd, off) == mapped); 77 munmap (mapped, mapsize) [all...] |
/external/honggfuzz/examples/externalfuzzers/ |
rangeFuzz.py | 14 mapped = mmap.mmap(f.fileno(), 0) variable 22 mapped[byte_pos] = byte_new 25 mapped.close()
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
BaseCodeCursor.java | 46 int mapped = baseAddressMap.get(cursor); local 47 return (mapped >= 0) ? mapped : cursor;
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
goldfish_dma.h | 45 void* mapped; member in struct:goldfish_dma_context
|
/external/pdfium/core/fpdfdoc/ |
cpdf_structelement.cpp | 38 ByteString mapped = pTree->GetRoleMap()->GetStringFor(m_Type); local 39 if (!mapped.IsEmpty()) 40 m_Type = mapped;
|
/system/vold/ |
FileDeviceUtils.cpp | 88 auto mapped = fiemap->fm_mapped_extents; local 89 if (mapped < 1 || mapped > extent_count) { 90 LOG(ERROR) << "Extent count not in bounds 1 <= " << mapped << " <= " << extent_count
|
secdiscard.cpp | 129 auto mapped = fiemap.fm_mapped_extents; local 130 if (!(fiemap.fm_extents[mapped - 1].fe_flags & FIEMAP_EXTENT_LAST)) { 131 LOG(ERROR) << "Extent " << mapped -1 << " was not the last in " << path; 134 for (uint32_t i = 0; i < mapped; i++) {
|
/frameworks/support/lifecycle/livedata/src/test/java/androidx/lifecycle/ |
TransformationsTest.java | 61 LiveData<Integer> mapped = Transformations.map(source, new Function<String, Integer>() { local 68 mapped.observe(mOwner, observer);
|
/device/google/cuttlefish_common/guest/hals/gralloc/ |
mapper.cpp | 78 void* mapped = local 80 if (mapped == MAP_FAILED) { 88 uintptr_t base = uintptr_t(mapped); 96 buffer->vaddr = mapped;
|
gralloc.cpp | 135 void* mapped = reference_buffer(hnd); local 136 if (mapped == NULL) { 140 *vaddr = mapped; 160 void* mapped; local 161 int retval = lock(module, handle, usage, l, t, w, h, &mapped); 167 formatToYcbcr(hnd->format, w, h, mapped, ycbcr);
|
/external/elfutils/libdwfl/ |
open.c | 52 void *const mapped = ((*elf)->map_address == NULL ? NULL local 58 error = __libdw_gunzip (fd, offset, mapped, mapped_size, &buffer, &size); 60 error = __libdw_bunzip2 (fd, offset, mapped, mapped_size, &buffer, &size); 62 error = __libdw_unlzma (fd, offset, mapped, mapped_size, &buffer, &size);
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_transfer.c | 83 void *mapped = etna_bo_map(rsc->bo) + res_level->offset; local 88 mapped + ptrans->box.z * res_level->layer_stride, 93 util_copy_box(mapped, rsc->base.format, res_level->stride, 274 void *mapped = etna_bo_map(rsc->bo); local 275 if (!mapped) 284 return mapped + res_level->offset + 297 mapped += res_level->offset; 311 mapped + ptrans->box.z * res_level->layer_stride, 319 ptrans->box.depth, mapped, res_level->stride,
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
FirstFitAllocator.java | 41 /** indexed by old reg; the set of old regs we've mapped */ 42 private final BitSet mapped; field in class:FirstFitAllocator 49 mapped = new BitSet(ssaMeth.getRegCount()); 79 if (mapped.get(i)) { 107 if (mapped.get(j) || isDefinitionMoveParam(j)) { 126 mapped.set(j); 130 mapped.set(i);
|
/external/deqp/modules/glshared/ |
glsShaderConstExprTests.cpp | 154 const string mapped = shaderTemplate.specialize(shaderTemplateParams); local 165 spec.programs[0].sources << glu::VertexSource(mapped); 186 spec.programs[0].sources << glu::FragmentSource(mapped); 208 const string mapped = shaderTemplate.specialize(shaderTemplateParams); local 219 spec.programs[0].sources << glu::VertexSource(mapped); 240 spec.programs[0].sources << glu::FragmentSource(mapped);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
intel_copy_image.c | 46 void *mapped, *src_mapped, *dst_mapped; local 78 &mapped, &src_stride); 83 src_mapped = mapped + ((src_y - map_y1) / src_bh) * src_stride + 85 dst_mapped = mapped + ((dst_y - map_y1) / src_bh) * dst_stride +
|
/external/tensorflow/tensorflow/contrib/session_bundle/ |
signature.cc | 249 const auto mapped = bindings.find(entry.first); local 250 if (mapped == bindings.end()) { 254 bound_inputs->push_back({mapped->second.tensor_name(), entry.second}); 266 const auto mapped = bindings.find(entry); local 267 if (mapped == bindings.end()) { 271 bound_names->push_back(mapped->second.tensor_name());
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
regions.cpp | 183 auto mapped = regionalBand.withConfig(tunerBand); local 184 out.insert(out.end(), mapped.begin(), mapped.end()); 189 ALOGI("Mapped %zu tuner bands to %zu regional bands", bands.size(), out.size());
|
/libcore/luni/src/test/java/libcore/java/nio/ |
BufferTest.java | 53 File f = File.createTempFile("mapped", "tmp"); 76 // Read from mapped /dev/zero, and overwrite this array. 911 MappedByteBuffer mapped = (MappedByteBuffer) allocateMapped(1); local 919 MappedByteBuffer mapped = (MappedByteBuffer) allocateMapped(1); local [all...] |
/external/apache-http/src/org/apache/commons/codec/language/ |
Soundex.java | 97 * Every letter of the alphabet is "mapped" to a numerical value. This char array holds the values to which each 98 * letter is mapped. This implementation contains a default map for US_ENGLISH 116 * Every letter of the alphabet is "mapped" to a numerical value. This char array holds the values to which each 117 * letter is mapped. This implementation contains a default map for US_ENGLISH 137 * if a character is not mapped 153 * if a character is not mapped 170 * if the character is not mapped 214 * Thrown if <code>ch</code> is not mapped. 219 throw new IllegalArgumentException("The character is not mapped: " + ch); 252 * if a character is not mapped 263 char last, mapped; local [all...] |
/external/drm_gralloc/ |
gralloc_drm.cpp | 396 int mapped = bo->locked_for & local 402 if (mapped)
|
/external/jemalloc/include/jemalloc/internal/ |
stats.h | 102 /* Number of bytes currently mapped. */ 103 size_t mapped; member in struct:arena_stats_s 107 * disabled/bypassed. Retained bytes are technically mapped (though 108 * always decommitted or purged), but they are excluded from the mapped 123 * Number of bytes currently mapped purely for metadata purposes, and
|
/external/jemalloc/test/unit/ |
stats.c | 6 size_t sz, allocated, active, resident, mapped; local 20 assert_d_eq(mallctl("stats.mapped", (void *)&mapped, &sz, NULL, 0), 30 assert_zu_lt(active, mapped, 31 "active should be less than mapped"); 82 size_t mapped; local 107 assert_d_eq(mallctl("stats.arenas.0.mapped", (void *)&mapped, &sz, NULL,
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug_flush.c | 31 * - Flush while synchronously mapped. 32 * - Command stream reference while synchronously mapped. 35 * - Unmap while not mapped. 61 boolean mapped; member in struct:debug_flush_buf 219 if (fbuf->mapped) { 229 fbuf->mapped = TRUE; 258 if (!fbuf->mapped) 259 debug_flush_alert("Unmap not previously mapped detected.", "Map", 263 fbuf->mapped = FALSE; 282 debug_flush_alert("Reference of mapped buffer detected.", "Reference" [all...] |
/external/mesa3d/src/gallium/winsys/sw/dri/ |
dri_sw_winsys.c | 49 void *mapped; member in struct:dri_sw_displaytarget 139 dri_sw_dt->mapped = dri_sw_dt->data; 146 return dri_sw_dt->mapped; 159 dri_sw_dt->mapped = NULL;
|
/external/mesa3d/src/gallium/winsys/sw/kms-dri/ |
kms_dri_sw_winsys.c | 72 void *mapped; member in struct:kms_sw_displaytarget 201 kms_sw_dt->mapped = mmap(0, kms_sw_dt->size, prot, MAP_SHARED, 204 if (kms_sw_dt->mapped == MAP_FAILED) 207 DEBUG_PRINT("KMS-DEBUG: mapped buffer %u (size %u) at %p\n", 208 kms_sw_dt->handle, kms_sw_dt->size, kms_sw_dt->mapped); 210 return kms_sw_dt->mapped; 280 DEBUG_PRINT("KMS-DEBUG: unmapped buffer %u (was %p)\n", kms_sw_dt->handle, kms_sw_dt->mapped); 282 munmap(kms_sw_dt->mapped, kms_sw_dt->size); 283 kms_sw_dt->mapped = NULL;
|