/bionic/linker/ |
linker_allocator.cpp | 204 void* map_ptr = mmap(nullptr, PAGE_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); local 205 if (map_ptr == MAP_FAILED) { 209 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_ptr, PAGE_SIZE, "linker_alloc_small_objects"); 211 page_info* info = reinterpret_cast<page_info*>(map_ptr); 218 create_page_record(map_ptr, free_blocks_cnt); 247 void* map_ptr = mmap(nullptr, allocated_size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, local 250 if (map_ptr == MAP_FAILED) { 254 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_ptr, allocated_size, "linker_alloc_lob"); 256 page_info* info = reinterpret_cast<page_info*>(map_ptr);
|
/external/libxcam/modules/ocl/ |
cl_geo_map_handler.cpp | 128 float *map_ptr = NULL; local 134 XCamReturn ret = _geo_map->enqueue_map ((void *&)map_ptr, 0, size); 145 map_ptr [start] = data [idx].x; 146 map_ptr [start + 1] = data [idx].y; 149 _geo_map->enqueue_unmap ((void *&)map_ptr); 203 float *map_ptr = NULL; local 210 ret = _geo_map->enqueue_map ((void *&)map_ptr, 0, size); 217 map_ptr [idx] /= image_w; 218 map_ptr [idx + 1] /= image_h; 221 _geo_map->enqueue_unmap ((void *&)map_ptr); [all...] |
cl_fisheye_handler.cpp | 390 float *map_ptr = NULL; local 395 XCamReturn ret = _geo_table->enqueue_map ((void *&)map_ptr, origin, region, &row_pitch, &slice_pitch, CL_MAP_WRITE); 400 map_ptr[row * row_pitch / 4 + col * 4] = map_table[row * table_width + col].x / fisheye_width; 401 map_ptr[row * row_pitch / 4 + col * 4 + 1] = map_table[row * table_width + col].y / fisheye_height; 404 _geo_table->enqueue_unmap ((void *&)map_ptr);
|
/system/bt/btcore/src/ |
module.cc | 150 auto map_ptr = metadata.find(module); local 152 return (map_ptr != metadata.end()) ? map_ptr->second : MODULE_STATE_NONE;
|
/system/bt/bta/gatt/ |
bta_gattc_queue.cc | 90 auto map_ptr = gatt_op_queue.find(conn_id); local 91 if (map_ptr == gatt_op_queue.end() || map_ptr->second.empty()) { 104 std::list<gatt_operation>& gatt_ops = map_ptr->second;
|
/external/e2fsprogs/lib/ext2fs/ |
tdb.c | 227 void *map_ptr; /* where it is currently mapped */ member in struct:tdb_context 892 if (tdb->map_ptr) { 893 memcpy(off + (char *)tdb->map_ptr, buf, len); 922 if (tdb->map_ptr) { 923 memcpy(buf, off + (char *)tdb->map_ptr, len); 951 if (tdb->map_ptr) { 953 if (0 != *(u32 *)(TDB_HASH_TOP(h) + (unsigned char *)tdb->map_ptr)) { 975 if (tdb->map_ptr) { 976 int ret = munmap(tdb->map_ptr, tdb->real_map_size); 982 tdb->map_ptr = NULL [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_llvm.c | 662 LLVMValueRef map_ptr, 697 map_ptr, 720 LLVMValueRef map_ptr, 768 fetch_type, FALSE, map_ptr, offset, 1536 LLVMValueRef map_ptr[PIPE_MAX_ATTRIBS]; local [all...] |
/external/v8/samples/ |
process.cc | 345 Local<External> map_ptr = External::New(GetIsolate(), obj); local 348 result->SetInternalField(0, map_ptr);
|
/toolchain/binutils/binutils-2.27/gas/config/ |
tc-nds32.c | 4689 struct nds32_hint_map *map_ptr = hint_map; local [all...] |