OpenCoverage

PageAllocation.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/PageAllocation.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7namespace WTF {-
8class PageAllocation : private PageBlock {-
9public:-
10 PageAllocation()-
11 {-
12 }-
13-
14 using PageBlock::size;-
15 using PageBlock::base;-
16-
17-
18 using PageBlock::operator bool;-
19-
20-
21-
22-
23-
24 bool operator<(const PageAllocation &b) { return
never executed: return base() < b.base();
base() < b.base();
never executed: return base() < b.base();
}
0
25-
26 static PageAllocation allocate(size_t size,-
27 OSAllocator::Usage usage = OSAllocator::UnknownUsage,-
28 bool writable = true, bool executable = false,-
29 bool includesGuardPages = false)-
30 {-
31 (!(isPageAligned(size)) ? (qmlWTFReportAssertionFailure(__FILE__, 96, __PRETTY_FUNCTION__, "isPageAligned(size)"), (qmlWTFReportBacktrace(), qmlWTFInvokeCrashHook(), (*(int *)(uintptr_t)0xbbadbeef = 0), __builtin_trap())) : (void)0);-
32 return
executed 505426 times by 153 tests: return PageAllocation(OSAllocator::reserveAndCommit(size, usage, writable, executable, includesGuardPages), size, includesGuardPages);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
PageAllocation(OSAllocator::reserveAndCommit(size, usage, writable, executable,
executed 505426 times by 153 tests: return PageAllocation(OSAllocator::reserveAndCommit(size, usage, writable, executable, includesGuardPages), size, includesGuardPages);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
505426
33 includesGuardPages), size,
executed 505426 times by 153 tests: return PageAllocation(OSAllocator::reserveAndCommit(size, usage, writable, executable, includesGuardPages), size, includesGuardPages);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
505426
34 includesGuardPages);
executed 505426 times by 153 tests: return PageAllocation(OSAllocator::reserveAndCommit(size, usage, writable, executable, includesGuardPages), size, includesGuardPages);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
505426
35 }-
36-
37 void deallocate()-
38 {-
39-
40-
41 PageAllocation tmp;-
42 std::swap(tmp, *this);-
43-
44 (!(tmp) ? (qmlWTFReportAssertionFailure(__FILE__, 109, __PRETTY_FUNCTION__, "tmp"), (qmlWTFReportBacktrace(), qmlWTFInvokeCrashHook(), (*(int *)(uintptr_t)0xbbadbeef = 0), __builtin_trap())) : (void)0);-
45 (!(!*this) ? (qmlWTFReportAssertionFailure(__FILE__, 110, __PRETTY_FUNCTION__, "!*this"), (qmlWTFReportBacktrace(), qmlWTFInvokeCrashHook(), (*(int *)(uintptr_t)0xbbadbeef = 0), __builtin_trap())) : (void)0);-
46-
47 OSAllocator::decommitAndRelease(tmp.realBase(), tmp.realSize());-
48 }
executed 505824 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
505824
49-
50private:-
51 PageAllocation(void* base, size_t size, bool includesGuardPages = false)-
52 : PageBlock(base, size, includesGuardPages)-
53 {-
54 }
executed 506359 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
506359
55};-
56-
57}-
58-
59using WTF::PageAllocation;-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0