/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | tinjpage.c | 74 void munmap_reserve(void *page, int size) in munmap_reserve() argument 76 if (munmap(page, size) < 0) in munmap_reserve() 78 if (mmap(page, size, PROT_NONE, MAP_PRIVATE|MAP_FIXED, 0, 0) < 0) in munmap_reserve() 164 void inject_madvise(char *page) in inject_madvise() argument 166 if (madvise(page, PS, MADV_POISON) != 0) { in inject_madvise() 175 u64 page_to_pfn(char *page) in page_to_pfn() argument 187 ((u64)page / PS)*sizeof(u64)) != sizeof(u64)) in page_to_pfn() 200 * Slightly racy with page migration because we don't mlock the page. 202 void inject_mce_inject(char *page) in inject_mce_inject() argument 229 poison(char *msg, char *page, enum rmode mode) poison() argument 254 recover(char *msg, char *page, enum rmode mode) recover() argument 290 testmem(char *msg, char *page, enum rmode mode) testmem() argument 357 char *page; dirty_anonymous() local 364 char *page; dirty_anonymous_unmap() local 372 char *page; mlocked_anonymous() local 379 char *page; do_file_clean() local 415 char *page; do_file_dirty() local 469 char *page; file_hole() local 486 char *page; nonlinear() local 534 char *page; global() member 567 char *page; under_io_dirty() local 588 char *page; under_io_clean() local 793 char *page; anonymous_hugepage() local 808 char *page; file_backed_hugepage() local 826 char *page; shm_hugepage() local [all...] |
H A D | tsimpleinj.c | 39 void testmem(char *msg, char *page, int write) in testmem() argument 41 printf("%s page %p\n", msg, page); in testmem() 44 if (madvise(page, PS, MADV_POISON) != 0) { in testmem() 49 *page = 2; in testmem() 51 printf("%x\n", *(unsigned char *)page); in testmem() 81 char *page; in main() local 90 page = mmap(NULL, PS, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_POPULATE, 0, 0); in main() 91 testmem("dirty", page, 1); in main() 93 page in main() [all...] |
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | tinjpage.c | 74 void munmap_reserve(void *page, int size) in munmap_reserve() argument 76 if (munmap(page, size) < 0) in munmap_reserve() 78 if (mmap(page, size, PROT_NONE, MAP_PRIVATE|MAP_FIXED, 0, 0) < 0) in munmap_reserve() 164 void inject_madvise(char *page) in inject_madvise() argument 166 if (madvise(page, PS, MADV_POISON) != 0) { in inject_madvise() 175 u64 page_to_pfn(char *page) in page_to_pfn() argument 187 ((u64)page / PS)*sizeof(u64)) != sizeof(u64)) in page_to_pfn() 200 * Slightly racy with page migration because we don't mlock the page. 202 void inject_mce_inject(char *page) in inject_mce_inject() argument 229 poison(char *msg, char *page, enum rmode mode) poison() argument 254 recover(char *msg, char *page, enum rmode mode) recover() argument 290 testmem(char *msg, char *page, enum rmode mode) testmem() argument 357 char *page; dirty_anonymous() local 364 char *page; dirty_anonymous_unmap() local 372 char *page; mlocked_anonymous() local 379 char *page; do_file_clean() local 415 char *page; do_file_dirty() local 469 char *page; file_hole() local 486 char *page; nonlinear() local 534 char *page; global() member 567 char *page; under_io_dirty() local 588 char *page; under_io_clean() local 793 char *page; anonymous_hugepage() local 808 char *page; file_backed_hugepage() local 826 char *page; shm_hugepage() local [all...] |
H A D | tsimpleinj.c | 39 void testmem(char *msg, char *page, int write) in testmem() argument 41 printf("%s page %p\n", msg, page); in testmem() 44 if (madvise(page, PS, MADV_POISON) != 0) { in testmem() 49 *page = 2; in testmem() 51 printf("%x\n", *(unsigned char *)page); in testmem() 81 char *page; in main() local 90 page = mmap(NULL, PS, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_POPULATE, 0, 0); in main() 91 testmem("dirty", page, 1); in main() 93 page in main() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | large-spaces.cc | 41 FATAL("Code page is too large."); 52 FATAL("Code page is too large."); 57 LargePage* page = static_cast<LargePage*>(chunk); member 58 page->SetFlag(MemoryChunk::LARGE_PAGE); 59 page->list_node().Initialize(); 60 return page; 119 LargePage* page = first_page(); in TearDown() local 122 reinterpret_cast<void*>(page->address()))); in TearDown() 123 memory_chunk_list_.Remove(page); in TearDown() 125 page); in TearDown() 156 LargePage* page = AllocateLargePage(object_size, executable); AllocateRaw() local 171 heap()->NotifyOldGenerationExpansion(identity(), page); AllocateRaw() local 192 LargePage* page = AllocateLargePage(object_size, executable); AllocateRawBackground() local 212 LargePage* page = heap()->memory_allocator()->AllocateLargePage( AllocateLargePage() local 241 LargePage* page = it->second; FindPage() local 264 InsertChunkMapEntries(LargePage* page) InsertChunkMapEntries() argument 272 RemoveChunkMapEntries(LargePage* page) RemoveChunkMapEntries() argument 280 PromoteNewLargeObject(LargePage* page) PromoteNewLargeObject() argument 292 AddPage(LargePage* page, size_t object_size) AddPage() argument 303 RemovePage(LargePage* page, size_t object_size) RemovePage() argument 389 Page* page = Page::FromHeapObject(object); Verify() local 515 LargePage* page = AllocateLargePage(object_size, NOT_EXECUTABLE); AllocateRaw() local 559 LargePage* page = *it; FreeDeadObjects() local 603 AddPage(LargePage* page, size_t object_size) AddPage() argument 608 RemovePage(LargePage* page, size_t object_size) RemovePage() argument [all...] |
H A D | paged-spaces.cc | 50 Page* page) in PagedSpaceObjectIterator() 54 page_range_(page), in PagedSpaceObjectIterator() 63 AllocationSpace owner = page->owner_identity(); in PagedSpaceObjectIterator() 68 // We have hit the end of the page and should advance to the next block of 69 // objects. This happens at the end of the page. 81 Page* page = static_cast<Page*>(chunk); in InitializePage() local 83 MemoryChunkLayout::AllocatableMemoryInMemoryChunk(page->owner_identity()), in InitializePage() 84 page->area_size()); in InitializePage() 86 page->ResetAllocationStatistics(); in InitializePage() 87 page in InitializePage() 48 PagedSpaceObjectIterator(Heap* heap, PagedSpace* space, Page* page) PagedSpaceObjectIterator() argument 254 RefineAllocatedBytesAfterSweeping(Page* page) RefineAllocatedBytesAfterSweeping() argument 272 Page* page = free_list()->GetPageForSize(size_in_bytes); RemovePageSafe() local 278 AddPage(Page* page) AddPage() argument 293 RemovePage(Page* page) RemovePage() argument 320 ShrinkPageToHighWaterMark(Page* page) ShrinkPageToHighWaterMark() argument 346 Page* page = heap()->memory_allocator()->AllocatePage( Expand() local 358 Page* page = heap()->memory_allocator()->AllocatePage( ExpandBackground() local 500 ReleasePage(Page* page) ReleasePage() argument 583 Page* page = Page::FromHeapObject(new_node); TryAllocationFromFreeListMain() local 698 Page* page = Page::FromHeapObject(new_node); TryAllocationFromFreeListBackground() local 825 PagedSpaceObjectIterator it(heap(), this, page); VerifyLiveBytes() local 913 Page* page = PagedSpace::Expand(); Expand() local 924 Page* page = Expand(); TryExpand() local 927 heap()->NotifyOldGenerationExpansion(identity(), page); TryExpand() local 963 Page* page = main_space->RemovePageSafe(size_in_bytes); RawRefillLabMain() local 1011 AddRangeToActiveSystemPages(Page* page, Address start, Address end) AddRangeToActiveSystemPages() argument 1025 ReduceActiveSystemPages( Page* page, ActiveSystemPages active_system_pages) ReduceActiveSystemPages() argument [all...] |
H A D | sweeper.cc | 157 // evacuating a page, already swept pages will have enough free bytes to in StartSweeping() 230 Address free_start, Address free_end, Page* page, Space* space, in FreeAndProcessFreedMemory() 243 page->heap()->CreateFillerObjectAtBackground( in FreeAndProcessFreedMemory() 249 if (should_reduce_memory_) page->DiscardUnusedMemory(free_start, size); in FreeAndProcessFreedMemory() 255 Address free_start, Address free_end, Page* page, bool record_free_ranges, in CleanupRememberedSetEntriesForFreedMemory() 265 RememberedSet<OLD_TO_NEW>::RemoveRange(page, free_start, free_end, in CleanupRememberedSetEntriesForFreedMemory() 270 RememberedSet<OLD_TO_OLD>::RemoveRange(page, free_start, free_end, in CleanupRememberedSetEntriesForFreedMemory() 273 DCHECK_NULL(page->slot_set<OLD_TO_OLD>()); in CleanupRememberedSetEntriesForFreedMemory() 278 RememberedSet<OLD_TO_SHARED>::RemoveRange(page, free_start, free_end, in CleanupRememberedSetEntriesForFreedMemory() 283 static_cast<uint32_t>(free_start - page in CleanupRememberedSetEntriesForFreedMemory() 229 FreeAndProcessFreedMemory( Address free_start, Address free_end, Page* page, Space* space, FreeListRebuildingMode free_list_mode, FreeSpaceTreatmentMode free_space_mode) FreeAndProcessFreedMemory() argument 254 CleanupRememberedSetEntriesForFreedMemory( Address free_start, Address free_end, Page* page, bool record_free_ranges, TypedSlotSet::FreeRangesMap* free_ranges_map, SweepingMode sweeping_mode, InvalidatedSlotsCleanup* old_to_new_cleanup) CleanupRememberedSetEntriesForFreedMemory() argument 290 CleanupInvalidTypedSlotsOfFreeRanges( Page* page, const TypedSlotSet::FreeRangesMap& free_ranges_map, SweepingMode sweeping_mode) CleanupInvalidTypedSlotsOfFreeRanges() argument 314 ClearMarkBitsAndHandleLivenessStatistics( Page* page, size_t live_bytes, FreeListRebuildingMode free_list_mode) ClearMarkBitsAndHandleLivenessStatistics() argument 464 Page* page = GetSweepingPageSafe(identity); ConcurrentSweepSpace() local 492 Page* page = nullptr; ParallelSweepSpace() local 509 ParallelSweepPage(Page* page, AllocationSpace identity, SweepingMode sweeping_mode) ParallelSweepPage() argument 543 EnsurePageIsSwept(Page* page) EnsurePageIsSwept() argument 567 TryRemoveSweepingPageSafe(AllocationSpace space, Page* page) TryRemoveSweepingPageSafe() argument 590 AddPage(AllocationSpace space, Page* page, Sweeper::AddPageMode mode) AddPage() argument 607 PrepareToBeSweptPage(AllocationSpace space, Page* page) PrepareToBeSweptPage() argument 626 Page* page = nullptr; GetSweepingPageSafe() local 695 AddPageForIterability(Page* page) AddPageForIterability() argument 707 MakeIterable(Page* page) MakeIterable() argument [all...] |
H A D | new-spaces.cc | 24 Page* page = static_cast<Page*>(chunk); in InitializePage() local 25 page->SetYoungGenerationPageFlags(heap()->incremental_marking()->IsMarking()); in InitializePage() 26 page->list_node().Initialize(); in InitializePage() 28 page->AllocateYoungGenerationBitmap(); in InitializePage() 32 ->ClearLiveness(page); in InitializePage() 34 page->InitializationMemoryFence(); in InitializePage() 35 return page; in InitializePage() 70 // Clear new space flags to avoid this page being treated as a new in EnsureCurrentCapacity() 71 // space page that is potentially being swept. in EnsureCurrentCapacity() 199 // Duplicate the flags that was set on the old page in GrowTo() 261 RemovePage(Page* page) RemovePage() argument 276 PrependPage(Page* page) PrependPage() argument 289 MovePageToTheEnd(Page* page) MovePageToTheEnd() argument 332 Page* page = current_page(); AddRangeToActiveSystemPages() local 417 Page* page = Page::FromAllocationAreaAddress(start); AssertValidRange() local 617 Page* page = Page::FromAddress(start); AddParkedAllocationBuffer() local 688 Page* page = Page::FromAddress(to_top - kTaggedSize); MakeLinearAllocationAreaIterable() local 776 Page* page = Page::FromAllocationAreaAddress(current)->next_page(); Verify() local [all...] |
H A D | conservative-stack-visitor.cc | 22 bool ConservativeStackVisitor::CheckPage(Address address, MemoryChunk* page) { in CheckPage() argument 23 if (address < page->area_start() || address >= page->area_end()) return false; in CheckPage() 25 auto base_ptr = page->object_start_bitmap()->FindBasePtr(address); in CheckPage() 43 page->SetFlag(BasicMemoryChunk::Flag::PINNED); in CheckPage() 60 for (Page* page : *isolate_->heap()->old_space()) { in VisitConservativelyIfPointer() 61 if (CheckPage(address, page)) { in VisitConservativelyIfPointer() 66 for (LargePage* page : *isolate_->heap()->lo_space()) { in VisitConservativelyIfPointer() 67 if (address >= page->area_start() && address < page in VisitConservativelyIfPointer() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_log.c | 152 struct u_log_page *page = ctx->cur; in u_log_chunk() local 156 if (!page) { in u_log_chunk() 158 page = ctx->cur; in u_log_chunk() 159 if (!page) in u_log_chunk() 163 if (page->num_entries >= page->max_entries) { in u_log_chunk() 164 unsigned new_max_entries = MAX2(16, page->num_entries * 2); in u_log_chunk() 165 struct page_entry *new_entries = REALLOC(page->entries, in u_log_chunk() 166 page->max_entries * sizeof(*page in u_log_chunk() 209 struct u_log_page *page = ctx->cur; u_log_new_page() local 218 u_log_page_destroy(struct u_log_page *page) u_log_page_destroy() argument 235 u_log_page_print(struct u_log_page *page, FILE *stream) u_log_page_print() argument [all...] |
/third_party/cups-filters/filter/pdftopdf/ |
H A D | pdftopdf_processor.cc | 40 page.dump(); in dump() 65 fprintf(stderr,"page range: "); in dump() 192 int pw = param.page.right-param.page.left; in processPDFTOPDF() 193 int ph = param.page.top-param.page.bottom; in processPDFTOPDF() 195 if ((param.page.width == pw) && (param.page.height == ph)) in processPDFTOPDF() 203 if ((w > param.page.width || h > param.page in processPDFTOPDF() 261 std::shared_ptr<PDFTOPDF_PageHandle> page = pages[i]; processPDFTOPDF() local 323 std::shared_ptr<PDFTOPDF_PageHandle> page; processPDFTOPDF() local [all...] |
H A D | qpdf_tools.cc | 3 QPDFObjectHandle getMediaBox(QPDFObjectHandle page) // {{{ in getMediaBox() argument 5 return page.getKey("/MediaBox"); in getMediaBox() 9 QPDFObjectHandle getCropBox(QPDFObjectHandle page) // {{{ in getCropBox() argument 11 if (page.hasKey("/CropBox")) { in getCropBox() 12 return page.getKey("/CropBox"); in getCropBox() 14 return page.getKey("/MediaBox"); in getCropBox() 18 QPDFObjectHandle getBleedBox(QPDFObjectHandle page) // {{{ in getBleedBox() argument 20 if (page.hasKey("/BleedBox")) { in getBleedBox() 21 return page.getKey("/BleedBox"); in getBleedBox() 23 return getCropBox(page); in getBleedBox() 27 getTrimBox(QPDFObjectHandle page) getTrimBox() argument 36 getArtBox(QPDFObjectHandle page) getArtBox() argument [all...] |
H A D | qpdf_pdftopdf_processor.cc | 29 QPDF_PDFTOPDF_PageHandle::QPDF_PDFTOPDF_PageHandle(QPDFObjectHandle page,int orig_no) // {{{ in QPDF_PDFTOPDF_PageHandle() argument 30 : page(page), in QPDF_PDFTOPDF_PageHandle() 42 page=QPDFObjectHandle::parse( in QPDF_PDFTOPDF_PageHandle() 51 page.replaceKey("/MediaBox",makeBox(0,0,width,height)); in QPDF_PDFTOPDF_PageHandle() 52 page.replaceKey("/Contents",QPDFObjectHandle::newStream(pdf)); in QPDF_PDFTOPDF_PageHandle() 56 page=pdf->makeIndirectObject(page); // stores *pdf in QPDF_PDFTOPDF_PageHandle() 63 page.assertInitialized(); in getRect() 64 PageRect ret=getBoxAsRect(getTrimBox(page)); in getRect() 98 ungetRect(PageRect rect,const QPDF_PDFTOPDF_PageHandle &ph,Rotation rotation,QPDFObjectHandle page) ungetRect() argument 600 add_page(std::shared_ptr<PDFTOPDF_PageHandle> page,bool front) add_page() argument 649 QPDFObjectHandle page=orig_pages[iA]; autoRotateAll() local [all...] |
/third_party/lzma/CPP/Windows/Control/ |
H A D | PropertyPage.cpp | 90 my_compatib_PROPSHEETPAGEA page;
in MyPropertySheet() local 91 memset(&page, 0, sizeof(page));
in MyPropertySheet() 92 page.dwSize = sizeof(page);
in MyPropertySheet() 93 page.dwFlags = PSP_HASHELP;
in MyPropertySheet() 94 page.hInstance = g_hInstance;
in MyPropertySheet() 95 page.pszTemplate = MAKEINTRESOURCEA(pageInfo.ID);
in MyPropertySheet() 96 // page.pszIcon = NULL;
in MyPropertySheet() 97 page in MyPropertySheet() 111 my_compatib_PROPSHEETPAGEW page; MyPropertySheet() local [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | sweeper.cc | 18 #include "src/heap/cppgc/heap-page.h" 45 void Verify(NormalPage& page) { in Verify() argument 47 Traverse(page); in Verify() 52 bool VisitNormalPage(NormalPage& page) { in VisitNormalPage() argument 54 bitmap_ = &page.object_start_bitmap(); in VisitNormalPage() 86 BasePage& page) in DiscardingFreeHandler() 87 : page_allocator_(page_allocator), free_list_(free_list), page_(page) {} in DiscardingFreeHandler() 126 BasePage& page) in RegularFreeHandler() 181 BasePage* page = nullptr; member 222 InlinedFinalizationBuilder(BasePage& page, PageAllocato argument 85 DiscardingFreeHandler(PageAllocator& page_allocator, FreeList& free_list, BasePage& page) DiscardingFreeHandler() argument 125 RegularFreeHandler(PageAllocator& page_allocator, FreeList& free_list, BasePage& page) RegularFreeHandler() argument 246 DeferredFinalizationBuilder(BasePage& page, PageAllocator& page_allocator) DeferredFinalizationBuilder() argument 293 SweepNormalPage( NormalPage* page, PageAllocator& page_allocator) SweepNormalPage() argument 414 BasePage* page = page_state->page; FinalizePage() local 501 SweepPage(BasePage& page) SweepPage() argument 548 VisitNormalPage(NormalPage& page) VisitNormalPage() argument 572 VisitLargePage(LargePage& page) VisitLargePage() argument 610 Traverse(**page); global() variable 622 VisitNormalPage(NormalPage& page) VisitNormalPage() argument 640 VisitLargePage(LargePage& page) VisitLargePage() argument [all...] |
H A D | heap-page.cc | 5 #include "src/heap/cppgc/heap-page.h" 18 #include "src/heap/cppgc/page-memory.h" 48 void BasePage::Destroy(BasePage* page) { in Destroy() argument 49 if (page->discarded_memory()) { in Destroy() 50 page->space() in Destroy() 54 ->DecrementDiscardedMemory(page->discarded_memory()); in Destroy() 56 if (page->is_large()) { in Destroy() 57 LargePage::Destroy(LargePage::From(page)); in Destroy() 59 NormalPage::Destroy(NormalPage::From(page)); in Destroy() 132 // b) memory retrieved from the page poo in Create() 153 Destroy(NormalPage* page) Destroy() argument 232 LargePage* page = new (memory) LargePage(*heap, space, size); Create() local 239 Destroy(LargePage* page) Destroy() argument [all...] |
H A D | object-allocator.cc | 13 #include "src/heap/cppgc/heap-page.h" 19 #include "src/heap/cppgc/page-memory.h" 29 void MarkRangeAsYoung(BasePage* page, Address begin, Address end) { in MarkRangeAsYoung() argument 38 const uintptr_t young_offset_begin = (begin == page->PayloadStart()) in MarkRangeAsYoung() 41 const uintptr_t young_offset_end = (end == page->PayloadEnd()) in MarkRangeAsYoung() 45 auto& age_table = page->heap().caged_heap().local_data().age_table; in MarkRangeAsYoung() 53 if (begin != page->PayloadStart() && !IsAligned(offset_begin, kEntrySize)) in MarkRangeAsYoung() 55 if (end != page->PayloadEnd() && !IsAligned(offset_end, kEntrySize)) in MarkRangeAsYoung() 84 auto* page = NormalPage::From(BasePage::FromPayload(new_buffer)); in ReplaceLinearAllocationBuffer() local 87 page in ReplaceLinearAllocationBuffer() 95 LargePage* page = LargePage::Create(page_backend, space, size); AllocateLargeObject() local [all...] |
H A D | heap-visitor.h | 8 #include "src/heap/cppgc/heap-page.h" 35 for (auto* page : space) { in Traverse() 36 Traverse(*page); in Traverse() 40 void Traverse(BasePage& page) { in Traverse() argument 41 if (page.is_large()) { in Traverse() 42 auto* large_page = LargePage::From(&page); in Traverse() 46 auto* normal_page = NormalPage::From(&page); in Traverse() 74 bool VisitNormalPageImpl(NormalPage& page) { in VisitNormalPageImpl() argument 75 return ToDerived().VisitNormalPage(page); in VisitNormalPageImpl() 77 bool VisitLargePageImpl(LargePage& page) { in VisitLargePageImpl() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | libzvbi-teletextdec.c | 166 /* Draw a page as text */ 167 static int gen_sub_text(TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_top) in gen_sub_text() argument 177 sz = vbi_print_page_region(page, vbi_text, TEXT_MAXSZ-1, "UTF-8", in gen_sub_text() 180 page->columns, page->rows-chop_top); in gen_sub_text() 234 static void bprint_color(const char *type, AVBPrint *buf, vbi_page *page, unsigned ci) in bprint_color() argument 236 int r = VBI_R(page->color_map[ci]); in bprint_color() 237 int g = VBI_G(page->color_map[ci]); in bprint_color() 238 int b = VBI_B(page->color_map[ci]); in bprint_color() 245 static void get_trim_info(vbi_page *page, vbi_cha argument 265 decode_string(vbi_page *page, vbi_char *row, AVBPrint *buf, int start, int end, vbi_color *cur_color, vbi_color *cur_back_color) decode_string() argument 295 gen_sub_ass(TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_top) gen_sub_ass() argument 412 fix_transparency(TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_top, int resx, int resy) fix_transparency() argument 451 gen_sub_bitmap(TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_top) gen_sub_bitmap() argument 512 vbi_page page; handler() local 609 int page = vbi_unham16p(p + 2); slice_to_vbi_lines() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | oggenc.c | 63 unsigned page_count; ///< number of page buffered 64 OGGPage page; ///< current page member 70 OGGPage page; member 77 int pref_size; ///< preferred page size (0 => fill all segments) 78 int64_t pref_duration; ///< preferred page duration (0 => fill all segments) 88 { "oggpagesize", "Set preferred Ogg page size.", 90 { "pagesize", "preferred page size in bytes (deprecated)", 92 { "page_duration", "preferred page duration, in microseconds", 104 static void ogg_write_page(AVFormatContext *s, OGGPage *page, in argument 149 ogg_compare_granule(AVFormatContext *s, OGGPage *next, OGGPage *page) ogg_compare_granule() argument 230 OGGPage *page = &oggstream->page; ogg_buffer_data() local [all...] |
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/ |
H A D | page-poisoning.c | 125 printf("Usage: page-poisoning [OPTION]...\n" in help() 130 " -h print this page\n" in help() 134 " -s, --shmsize=SIZE each shared memory segment is SIZE-page based.\n" in help() 195 static void munmap_reserve(void *page, int size) in munmap_reserve() argument 197 munmap(page, size); in munmap_reserve() 198 mmap(page, size, PROT_NONE, MAP_PRIVATE | MAP_FIXED, 0, 0); in munmap_reserve() 234 static void poison(char *msg, char *page, enum rmode mode) in poison() argument 236 expected_addr = page; in poison() 240 if (madvise(page, PS, MADV_POISON) != 0) { in poison() 267 static void recover(char *msg, char *page, enu argument 303 testmem(char *msg, char *page, enum rmode mode) testmem() argument 358 char *page; dirty_anonymous() local 374 char *page; dirty_anonymous_unmap() local 391 char *page; mlocked_anonymous() local 406 char *page; do_file_clean() local 458 char *page; do_file_dirty() local 563 char *page; clean_anonymous() local [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_configdialog.py | 114 page = cls.page = dialog.fontpage 115 dialog.note.select(page) 116 page.set_samples = Func() # Mask instance method. 117 page.update() 121 del cls.page.set_samples # Unmask instance method. 130 d = self.page 144 d = self.page 173 d = self.page 196 d = self.page [all...] |
/third_party/node/test/cctest/ |
H A D | test_crypto_clienthello.cc | 5 // catch the memory violation, so do not use a guard page. 51 size_t page = GetPageSize(); in OverrunGuardedBuffer() local 52 CHECK_GE(page, N); in OverrunGuardedBuffer() 55 // Place the packet right before a guard page, which, when accessed, causes in OverrunGuardedBuffer() 57 alloc_base = static_cast<uint8_t*>(aligned_alloc(page, 2 * page)); in OverrunGuardedBuffer() 59 uint8_t* second_page = alloc_base + page; in OverrunGuardedBuffer() 60 CHECK_EQ(mprotect(second_page, page, PROT_NONE), 0); in OverrunGuardedBuffer() 65 VirtualAlloc(nullptr, 2 * page, MEM_COMMIT, PAGE_READWRITE)); in OverrunGuardedBuffer() 67 uint8_t* second_page = alloc_base + page; in OverrunGuardedBuffer() 87 size_t page = GetPageSize(); ~OverrunGuardedBuffer() local [all...] |
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
H A D | pagemap.h | 31 #include "asm/page.h" 43 #define PageLocked(page) 1 44 #define Page_Uptodate(page) 0 45 #define UnlockPage(page) 46 #define PAGE_BUG(page) BUG() 47 #define ClearPageUptodate(page) 48 #define SetPageError(page) 49 #define ClearPageError(page) 50 #define SetPageUptodate(page)
|
/third_party/json/docs/docset/ |
H A D | Makefile | 25 # remove "JSON for Modern C++" from page titles (fallback) 27 # replace page titles with name from index, if available 28 for page in $(MKDOCS_PAGES); do \ 29 case "$$page" in \ 30 */index.md) path=$${page/\/index.md/} ;; \ 31 *) path=$${page/.md/} ;; \ 57 @for page in $(MKDOCS_PAGES); do \ 58 case "$$page" in \ 59 */index.md) path=$${page/\/index.md/} ;; \ 60 *) path=$${page/ [all...] |