OpenCoverage

PageBlock.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/PageBlock.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11namespace WTF {-
12-
13static size_t s_pageSize;-
14static size_t s_pageMask;-
15-
16-
17-
18inline size_t systemPageSize()-
19{-
20 return
executed 389 times by 178 tests: return ::sysconf( _SC_PAGESIZE );
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_geometry
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_nokeywords
  • tst_parserstress
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • ...
::sysconf(
executed 389 times by 178 tests: return ::sysconf( _SC_PAGESIZE );
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_geometry
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_nokeywords
  • tst_parserstress
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • ...
389
21 _SC_PAGESIZE
executed 389 times by 178 tests: return ::sysconf( _SC_PAGESIZE );
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_geometry
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_nokeywords
  • tst_parserstress
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • ...
389
22 );
executed 389 times by 178 tests: return ::sysconf( _SC_PAGESIZE );
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_geometry
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_nokeywords
  • tst_parserstress
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • ...
389
23}-
24size_t pageSize()-
25{-
26 if (!s_pageSize
!s_pageSizeDescription
TRUEevaluated 389 times by 178 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_geometry
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_nokeywords
  • tst_parserstress
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • ...
FALSEevaluated 14491157 times by 153 tests
Evaluated 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
  • ...
)
389-14491157
27 s_pageSize = systemPageSize();
executed 389 times by 178 tests: s_pageSize = systemPageSize();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_geometry
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_nokeywords
  • tst_parserstress
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • ...
389
28 (!(isPowerOfTwo(s_pageSize)) ? (qmlWTFReportAssertionFailure(__FILE__, 71, __PRETTY_FUNCTION__, "isPowerOfTwo(s_pageSize)"), (qmlWTFReportBacktrace(), qmlWTFInvokeCrashHook(), (*(int *)(uintptr_t)0xbbadbeef = 0), __builtin_trap())) : (void)0);-
29 return
executed 14494567 times by 178 tests: return s_pageSize;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_geometry
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_nokeywords
  • tst_parserstress
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • ...
s_pageSize;
executed 14494567 times by 178 tests: return s_pageSize;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_geometry
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_nokeywords
  • tst_parserstress
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • ...
14494567
30}-
31-
32size_t pageMask()-
33{-
34 if (!s_pageMask
!s_pageMaskDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
35 s_pageMask = ~(pageSize() - 1);
never executed: s_pageMask = ~(pageSize() - 1);
0
36 return
never executed: return s_pageMask;
s_pageMask;
never executed: return s_pageMask;
0
37}-
38-
39}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0