Home
last modified time | relevance | path

Searched refs:new_pages (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dlow_level_alloc.cc551 void *new_pages; in DoAllocWithArena() local
553 new_pages = VirtualAlloc(0, new_pages_size, in DoAllocWithArena()
555 ABSL_RAW_CHECK(new_pages != nullptr, "VirtualAlloc failed"); in DoAllocWithArena()
559 new_pages = base_internal::DirectMmap(nullptr, new_pages_size, in DoAllocWithArena()
562 new_pages = mmap(nullptr, new_pages_size, PROT_WRITE | PROT_READ, in DoAllocWithArena()
566 new_pages = mmap(nullptr, new_pages_size, PROT_WRITE | PROT_READ, in DoAllocWithArena()
569 if (new_pages == MAP_FAILED) { in DoAllocWithArena()
575 s = reinterpret_cast<AllocList *>(new_pages); in DoAllocWithArena()
/third_party/abseil-cpp/absl/base/internal/
Dlow_level_alloc.cc551 void *new_pages; in DoAllocWithArena() local
553 new_pages = VirtualAlloc(0, new_pages_size, in DoAllocWithArena()
555 ABSL_RAW_CHECK(new_pages != nullptr, "VirtualAlloc failed"); in DoAllocWithArena()
559 new_pages = base_internal::DirectMmap(nullptr, new_pages_size, in DoAllocWithArena()
562 new_pages = mmap(nullptr, new_pages_size, PROT_WRITE | PROT_READ, in DoAllocWithArena()
566 new_pages = mmap(nullptr, new_pages_size, PROT_WRITE | PROT_READ, in DoAllocWithArena()
569 if (new_pages == MAP_FAILED) { in DoAllocWithArena()
575 s = reinterpret_cast<AllocList *>(new_pages); in DoAllocWithArena()
/third_party/boost/boost/interprocess/
Dmapped_region.hpp327 const std::size_t new_pages = (m_size + m_page_offset - bytes - 1)/page_size + 1; in priv_shrink_param_check() local
328 shrink_page_start = static_cast<char*>(this->priv_map_address()) + new_pages*page_size; in priv_shrink_param_check()
329 shrink_page_bytes = m_page_offset + m_size - new_pages*page_size; in priv_shrink_param_check()
/third_party/ffmpeg/libavcodec/
Dlibzvbi-teletextdec.c510 TeletextPage *new_pages; in handler() local
540 if ((new_pages = av_realloc_array(ctx->pages, ctx->nb_pages + 1, sizeof(TeletextPage)))) { in handler()
541 TeletextPage *cur_page = new_pages + ctx->nb_pages; in handler()
542 ctx->pages = new_pages; in handler()