Home
last modified time | relevance | path

Searched refs:size_map (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c1605 int fd, stride, size_map; in dri2_wl_swrast_allocate_buffer() local
1609 size_map = h * stride; in dri2_wl_swrast_allocate_buffer()
1612 fd = os_create_anonymous_file(size_map); in dri2_wl_swrast_allocate_buffer()
1616 data_map = mmap(NULL, size_map, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in dri2_wl_swrast_allocate_buffer()
1623 pool = wl_shm_create_pool(dri2_dpy->wl_shm, fd, size_map); in dri2_wl_swrast_allocate_buffer()
1630 *size = size_map; in dri2_wl_swrast_allocate_buffer()
/external/v8/src/heap/
Dheap.cc2337 std::map<MemoryChunk*, size_t> size_map; in VerifyNewSpace() local
2349 size_map[mc] += ExternalString::cast(obj)->ExternalPayloadSize(); in VerifyNewSpace()
2351 for (std::map<MemoryChunk*, size_t>::iterator it = size_map.begin(); in VerifyNewSpace()
2352 it != size_map.end(); it++) in VerifyNewSpace()
2360 std::map<MemoryChunk*, size_t> size_map; in Verify() local
2373 size_map[mc] += ExternalString::cast(obj)->ExternalPayloadSize(); in Verify()
2375 for (std::map<MemoryChunk*, size_t>::iterator it = size_map.begin(); in Verify()
2376 it != size_map.end(); it++) in Verify()