| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | static bool ft_getSfntTable(void *user_data, uint tag, uchar *buffer, uint *length) | - |
| 17 | { | - |
| 18 | FT_Face face = (FT_Face)user_data; | - |
| 19 | | - |
| 20 | bool result = false; | - |
| 21 | if ((| TRUE | evaluated 2001 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 83 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QTextLayout
|
face->face_flags & ( 1L << 3 ) )| TRUE | evaluated 2001 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 83 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QTextLayout
|
) { | 83-2001 |
| 22 | FT_ULong len = *length; | - |
| 23 | result = FT_Load_Sfnt_Table(face, tag, 0, buffer, &len) == FT_Err_Ok; | - |
| 24 | *length = len; | - |
| 25 | ((!(!result || int(*length) > 0)) ? qt_assert("!result || int(*length) > 0",__FILE__,94) : qt_noop()); | - |
| 26 | }executed 2001 times by 111 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2001 |
| 27 | | - |
| 28 | returnexecuted 2084 times by 111 tests: return result;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
result;executed 2084 times by 111 tests: return result;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2084 |
| 29 | } | - |
| 30 | | - |
| 31 | static QFontEngineFT::Glyph emptyGlyph = {0, 0, 0, 0, 0, 0, 0, 0}; | - |
| 32 | | - |
| 33 | static const QFontEngine::HintStyle ftInitialDefaultHintStyle = | - |
| 34 | | - |
| 35 | | - |
| 36 | | - |
| 37 | QFontEngineFT::HintNone; | - |
| 38 | | - |
| 39 | | - |
| 40 | | - |
| 41 | | - |
| 42 | class QtFreetypeData | - |
| 43 | { | - |
| 44 | public: | - |
| 45 | QtFreetypeData() | - |
| 46 | : library(0) | - |
| 47 | { }executed 134 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 134 |
| 48 | ~QtFreetypeData(); | - |
| 49 | | - |
| 50 | FT_Library library; | - |
| 51 | QHash<QFontEngine::FaceId, QFreetypeFace *> faces; | - |
| 52 | }; | - |
| 53 | | - |
| 54 | QtFreetypeData::~QtFreetypeData() | - |
| 55 | { | - |
| 56 | for (QHash<QFontEngine::FaceId, QFreetypeFace *>::ConstIterator iter = faces.cbegin(); iter != faces.cend()| TRUE | evaluated 8 times by 8 testsEvaluated by:- tst_QPainter
- tst_qabstractitemview - unknown status
- tst_qdoublespinbox - unknown status
- tst_qfontdialog - unknown status
- tst_qfontmetrics - unknown status
- tst_qgraphicsitem - unknown status
- tst_qitemdelegate - unknown status
- tst_qlistwidget - unknown status
| | FALSE | evaluated 133 times by 124 testsEvaluated by:- tst_QApplication
- tst_QPainter
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdialog - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdockwidget - unknown status
- ...
|
; ++iter) | 8-133 |
| 57 | iter.value()->cleanup();executed 8 times by 8 tests: iter.value()->cleanup();Executed by:- tst_QPainter
- tst_qabstractitemview - unknown status
- tst_qdoublespinbox - unknown status
- tst_qfontdialog - unknown status
- tst_qfontmetrics - unknown status
- tst_qgraphicsitem - unknown status
- tst_qitemdelegate - unknown status
- tst_qlistwidget - unknown status
| 8 |
| 58 | faces.clear(); | - |
| 59 | FT_Done_FreeType(library); | - |
| 60 | library = 0; | - |
| 61 | }executed 133 times by 124 tests: end of blockExecuted by:- tst_QApplication
- tst_QPainter
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdialog - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdockwidget - unknown status
- ...
| 133 |
| 62 | namespace { namespace Q_QGS_theFreetypeData { typedef QThreadStorage<QtFreetypeData *> Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized| TRUE | evaluated 123 times by 122 testsEvaluated by:- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdialog - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdockwidget - unknown status
- tst_qdoublespinbox - unknown status
- tst_qerrormessage - unknown status
- ...
| | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 123 times by 122 tests: guard.store(QtGlobalStatic::Destroyed);Executed by:- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdialog - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdockwidget - unknown status
- tst_qdoublespinbox - unknown status
- tst_qerrormessage - unknown status
- ...
}executed 123 times by 122 tests: end of blockExecuted by:- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdialog - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdockwidget - unknown status
- tst_qdoublespinbox - unknown status
- tst_qerrormessage - unknown status
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 3703 times by 238 tests: return &holder.value;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
&holder.value;executed 3703 times by 238 tests: return &holder.value;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
} } } static QGlobalStatic<QThreadStorage<QtFreetypeData *>, Q_QGS_theFreetypeData::innerFunction, Q_QGS_theFreetypeData::guard> theFreetypeData; | 0-3703 |
| 63 | | - |
| 64 | QtFreetypeData *qt_getFreetypeData() | - |
| 65 | { | - |
| 66 | QtFreetypeData *&freetypeData = theFreetypeData()->localData(); | - |
| 67 | if (!freetypeData| TRUE | evaluated 134 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 3569 times by 169 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
|
) | 134-3569 |
| 68 | freetypeData = new QtFreetypeData;executed 134 times by 123 tests: freetypeData = new QtFreetypeData;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 134 |
| 69 | returnexecuted 3703 times by 238 tests: return freetypeData;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
freetypeData;executed 3703 times by 238 tests: return freetypeData;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 3703 |
| 70 | } | - |
| 71 | | - |
| 72 | | - |
| 73 | FT_Library qt_getFreetype() | - |
| 74 | { | - |
| 75 | QtFreetypeData *freetypeData = qt_getFreetypeData(); | - |
| 76 | if (!freetypeData->library| TRUE | evaluated 21 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| | FALSE | evaluated 23 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
) | 21-23 |
| 77 | FT_Init_FreeType(&freetypeData->library);executed 21 times by 5 tests: FT_Init_FreeType(&freetypeData->library);Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 21 |
| 78 | returnexecuted 44 times by 5 tests: return freetypeData->library;Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
freetypeData->library;executed 44 times by 5 tests: return freetypeData->library;Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 44 |
| 79 | } | - |
| 80 | | - |
| 81 | int QFreetypeFace::fsType() const | - |
| 82 | { | - |
| 83 | int fsType = 0; | - |
| 84 | TT_OS2 *os2 = (TT_OS2 *)FT_Get_Sfnt_Table(face, ft_sfnt_os2); | - |
| 85 | if (os2| TRUE | evaluated 1935 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 75 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QTextLayout
|
) | 75-1935 |
| 86 | fsType = os2->fsType;executed 1935 times by 123 tests: fsType = os2->fsType;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 1935 |
| 87 | returnexecuted 2010 times by 123 tests: return fsType;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
fsType;executed 2010 times by 123 tests: return fsType;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2010 |
| 88 | } | - |
| 89 | | - |
| 90 | int QFreetypeFace::getPointInOutline(glyph_t glyph, int flags, quint32 point, QFixed *xpos, QFixed *ypos, quint32 *nPoints) | - |
| 91 | { | - |
| 92 | if (int error = FT_Load_Glyph(face, glyph, flags)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 93 | return never executed: return error; error;never executed: return error; | 0 |
| 94 | | - |
| 95 | if (face->glyph->format != FT_GLYPH_FORMAT_OUTLINE| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 96 | return never executed: return Err_Invalid_SubTable; Err_Invalid_SubTable;never executed: return Err_Invalid_SubTable; | 0 |
| 97 | | - |
| 98 | *nPoints = face->glyph->outline.n_points; | - |
| 99 | if (!(*nPoints)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 100 | return never executed: return Err_Ok; Err_Ok;never executed: return Err_Ok; | 0 |
| 101 | | - |
| 102 | if (point > *nPoints| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 103 | return never executed: return Err_Invalid_SubTable; Err_Invalid_SubTable;never executed: return Err_Invalid_SubTable; | 0 |
| 104 | | - |
| 105 | *xpos = QFixed::fromFixed(face->glyph->outline.points[point].x); | - |
| 106 | *ypos = QFixed::fromFixed(face->glyph->outline.points[point].y); | - |
| 107 | | - |
| 108 | return never executed: return Err_Ok; Err_Ok;never executed: return Err_Ok; | 0 |
| 109 | } | - |
| 110 | | - |
| 111 | extern QByteArray qt_fontdata_from_index(int); | - |
| 112 | QFreetypeFace *QFreetypeFace::getFace(const QFontEngine::FaceId &face_id, | - |
| 113 | const QByteArray &fontData) | - |
| 114 | { | - |
| 115 | if (face_id.filename.isEmpty()| TRUE | evaluated 1249 times by 1 test | | FALSE | evaluated 759 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
&& fontData.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 1249 times by 1 test |
) | 0-1249 |
| 116 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 117 | | - |
| 118 | QtFreetypeData *freetypeData = qt_getFreetypeData(); | - |
| 119 | if (!freetypeData->library| TRUE | evaluated 1351 times by 122 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 657 times by 51 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- ...
|
) | 657-1351 |
| 120 | FT_Init_FreeType(&freetypeData->library);executed 1351 times by 122 tests: FT_Init_FreeType(&freetypeData->library);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 1351 |
| 121 | | - |
| 122 | QFreetypeFace *freetype = freetypeData->faces.value(face_id, 0); | - |
| 123 | if (freetype| TRUE | evaluated 346 times by 24 testsEvaluated by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QMenu
- tst_QPainter
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- tst_QToolTip
- tst_QTreeWidget
- tst_QWizard
| | FALSE | evaluated 1662 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 346-1662 |
| 124 | freetype->ref.ref(); | - |
| 125 | }executed 346 times by 24 tests: end of blockExecuted by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QMenu
- tst_QPainter
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- tst_QToolTip
- tst_QTreeWidget
- tst_QWizard
else { | 346 |
| 126 | QScopedPointer<QFreetypeFace> newFreetype(new QFreetypeFace); | - |
| 127 | FT_Face face; | - |
| 128 | if (!face_id.filename.isEmpty()| TRUE | evaluated 413 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 1249 times by 1 test |
) { | 413-1249 |
| 129 | QString fileName = QFile::decodeName(face_id.filename); | - |
| 130 | if (face_id.filename.startsWith(":qmemoryfonts/")| TRUE | never evaluated | | FALSE | evaluated 413 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 0-413 |
| 131 | | - |
| 132 | QByteArray idx = face_id.filename; | - |
| 133 | idx.remove(0, 14); | - |
| 134 | bool ok = false; | - |
| 135 | newFreetype->fontData = qt_fontdata_from_index(idx.toInt(&ok)); | - |
| 136 | if (!ok| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 137 | newFreetype->fontData = QByteArray(); never executed: newFreetype->fontData = QByteArray(); | 0 |
| 138 | } never executed: end of block else if (!QFileInfo(fileName).isNativePath()| TRUE | evaluated 21 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| | FALSE | evaluated 392 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 0-392 |
| 139 | QFile file(fileName); | - |
| 140 | if (!file.open(QIODevice::ReadOnly)| TRUE | never evaluated | | FALSE | evaluated 21 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
) { | 0-21 |
| 141 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 142 | } | - |
| 143 | newFreetype->fontData = file.readAll(); | - |
| 144 | }executed 21 times by 4 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 21 |
| 145 | }executed 413 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else { | 413 |
| 146 | newFreetype->fontData = fontData; | - |
| 147 | }executed 1249 times by 1 test: end of block | 1249 |
| 148 | if (!newFreetype->fontData.isEmpty()| TRUE | evaluated 1270 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| | FALSE | evaluated 392 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 392-1270 |
| 149 | if (FT_New_Memory_Face(freetypeData->library, (const FT_Byte *)newFreetype->fontData.constData(), newFreetype->fontData.size(), face_id.index, &face)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 1268 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
) { | 2-1268 |
| 150 | returnexecuted 2 times by 1 test: return 0; 0;executed 2 times by 1 test: return 0; | 2 |
| 151 | } | - |
| 152 | }executed 1268 times by 4 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
else if (FT_New_Face(freetypeData->library, face_id.filename, face_id.index, &face)| TRUE | never evaluated | | FALSE | evaluated 392 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 0-1268 |
| 153 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 154 | } | - |
| 155 | newFreetype->face = face; | - |
| 156 | | - |
| 157 | newFreetype->hbFace = 0; | - |
| 158 | newFreetype->hbFace_destroy_func = 0; | - |
| 159 | | - |
| 160 | newFreetype->ref.store(1); | - |
| 161 | newFreetype->xsize = 0; | - |
| 162 | newFreetype->ysize = 0; | - |
| 163 | newFreetype->matrix.xx = 0x10000; | - |
| 164 | newFreetype->matrix.yy = 0x10000; | - |
| 165 | newFreetype->matrix.xy = 0; | - |
| 166 | newFreetype->matrix.yx = 0; | - |
| 167 | newFreetype->unicode_map = 0; | - |
| 168 | newFreetype->symbol_map = 0; | - |
| 169 | | - |
| 170 | memset(newFreetype->cmapCache, 0, sizeof(newFreetype->cmapCache)); | - |
| 171 | | - |
| 172 | for (int i = 0; i < newFreetype->face->num_charmaps| TRUE | evaluated 5897 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 1660 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
; ++i) { | 1660-5897 |
| 173 | FT_CharMap cm = newFreetype->face->charmaps[i]; | - |
| 174 | switch(cm->encoding) { | - |
| 175 | caseexecuted 4283 times by 123 tests: case FT_ENCODING_UNICODE:Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
FT_ENCODING_UNICODE:executed 4283 times by 123 tests: case FT_ENCODING_UNICODE:Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 4283 |
| 176 | newFreetype->unicode_map = cm; | - |
| 177 | break;executed 4283 times by 123 tests: break;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 4283 |
| 178 | caseexecuted 1537 times by 123 tests: case FT_ENCODING_APPLE_ROMAN:Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
FT_ENCODING_APPLE_ROMAN:executed 1537 times by 123 tests: case FT_ENCODING_APPLE_ROMAN:Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 1537 |
| 179 | case never executed: case FT_ENCODING_ADOBE_LATIN_1: FT_ENCODING_ADOBE_LATIN_1:never executed: case FT_ENCODING_ADOBE_LATIN_1: | 0 |
| 180 | if (!newFreetype->unicode_map| TRUE | evaluated 11 times by 3 testsEvaluated by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| | FALSE | evaluated 1526 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
|| newFreetype->unicode_map->encoding != FT_ENCODING_UNICODE| TRUE | never evaluated | | FALSE | evaluated 1526 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 0-1526 |
| 181 | newFreetype->unicode_map = cm;executed 11 times by 3 tests: newFreetype->unicode_map = cm;Executed by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| 11 |
| 182 | break;executed 1537 times by 123 tests: break;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 1537 |
| 183 | caseexecuted 6 times by 3 tests: case FT_ENCODING_ADOBE_CUSTOM:Executed by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
FT_ENCODING_ADOBE_CUSTOM:executed 6 times by 3 tests: case FT_ENCODING_ADOBE_CUSTOM:Executed by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| 6 |
| 184 | case never executed: case FT_ENCODING_MS_SYMBOL: FT_ENCODING_MS_SYMBOL:never executed: case FT_ENCODING_MS_SYMBOL: | 0 |
| 185 | if (!newFreetype->symbol_map| TRUE | evaluated 6 times by 3 testsEvaluated by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| | FALSE | never evaluated |
) | 0-6 |
| 186 | newFreetype->symbol_map = cm;executed 6 times by 3 tests: newFreetype->symbol_map = cm;Executed by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| 6 |
| 187 | break;executed 6 times by 3 tests: break;Executed by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| 6 |
| 188 | defaultexecuted 71 times by 7 tests: default:Executed by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QPushButton
- tst_QTextLayout
:executed 71 times by 7 tests: default:Executed by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QPushButton
- tst_QTextLayout
| 71 |
| 189 | break;executed 71 times by 7 tests: break;Executed by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QPushButton
- tst_QTextLayout
| 71 |
| 190 | } | - |
| 191 | } | - |
| 192 | | - |
| 193 | if (!( newFreetype->face->face_flags & ( 1L << 0 ) )| TRUE | never evaluated | | FALSE | evaluated 1660 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
&& newFreetype->face->num_fixed_sizes == 1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-1660 |
| 194 | FT_Set_Char_Size(face, newFreetype->face->available_sizes[0].x_ppem, newFreetype->face->available_sizes[0].y_ppem, 0, 0); never executed: FT_Set_Char_Size(face, newFreetype->face->available_sizes[0].x_ppem, newFreetype->face->available_sizes[0].y_ppem, 0, 0); | 0 |
| 195 | | - |
| 196 | FT_Set_Charmap(newFreetype->face, newFreetype->unicode_map); | - |
| 197 | if (true) { | - |
| 198 | freetypeData->faces.insert(face_id, newFreetype.data()); | - |
| 199 | }executed 1660 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else {dead code: { newFreetype.take()->release(face_id); qt_noop(); } | - |
| 200 | newFreetype.take()->release(face_id); dead code: { newFreetype.take()->release(face_id); qt_noop(); } | - |
| 201 | | - |
| 202 | qt_noop(); dead code: { newFreetype.take()->release(face_id); qt_noop(); } | - |
| 203 | } dead code: { newFreetype.take()->release(face_id); qt_noop(); } | - |
| 204 | freetype = newFreetype.take(); | - |
| 205 | }executed 1660 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 1660 |
| 206 | returnexecuted 2006 times by 123 tests: return freetype;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
freetype;executed 2006 times by 123 tests: return freetype;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2006 |
| 207 | } | - |
| 208 | | - |
| 209 | void QFreetypeFace::cleanup() | - |
| 210 | { | - |
| 211 | if (hbFace| TRUE | evaluated 1659 times by 129 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| | FALSE | never evaluated |
&& hbFace_destroy_func| TRUE | evaluated 1659 times by 129 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| | FALSE | never evaluated |
) { | 0-1659 |
| 212 | hbFace_destroy_func(hbFace); | - |
| 213 | hbFace = 0; | - |
| 214 | }executed 1659 times by 129 tests: end of blockExecuted by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 1659 |
| 215 | FT_Done_Face(face); | - |
| 216 | face = 0; | - |
| 217 | }executed 1659 times by 129 tests: end of blockExecuted by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 1659 |
| 218 | | - |
| 219 | void QFreetypeFace::release(const QFontEngine::FaceId &face_id) | - |
| 220 | { | - |
| 221 | if (!ref.deref()| TRUE | evaluated 1654 times by 126 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| | FALSE | evaluated 350 times by 26 testsEvaluated by:- tst_QFontCache
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_qabstractitemview - unknown status
- tst_qcombobox - unknown status
- tst_qfont - unknown status
- tst_qfontcombobox - unknown status
- tst_qfontdialog - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgridlayout - unknown status
- tst_qmenu - unknown status
- tst_qpainter - unknown status
- tst_qplaintextedit - unknown status
- tst_qrawfont - unknown status
- tst_qstatictext - unknown status
- tst_qstyle - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtextdocumentlayout - unknown status
- tst_qtextedit - unknown status
- tst_qtextlayout - unknown status
- tst_qtooltip - unknown status
- tst_qtreewidget - unknown status
- ...
|
) { | 350-1654 |
| 222 | if (face| TRUE | evaluated 1651 times by 125 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- ...
| | FALSE | evaluated 3 times by 3 testsEvaluated by:- tst_QPainter
- tst_qfontdialog - unknown status
- tst_qfontmetrics - unknown status
|
) { | 3-1651 |
| 223 | QtFreetypeData *freetypeData = qt_getFreetypeData(); | - |
| 224 | | - |
| 225 | cleanup(); | - |
| 226 | | - |
| 227 | if (freetypeData->faces.contains(face_id)| TRUE | evaluated 1651 times by 125 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- ...
| | FALSE | never evaluated |
) | 0-1651 |
| 228 | freetypeData->faces.take(face_id);executed 1651 times by 125 tests: freetypeData->faces.take(face_id);Executed by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- ...
| 1651 |
| 229 | | - |
| 230 | if (freetypeData->faces.isEmpty()| TRUE | evaluated 1363 times by 120 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| | FALSE | evaluated 288 times by 49 testsEvaluated by:- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractitemview - unknown status
- tst_qaccessibility - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcssparser - unknown status
- tst_qdatetimeedit - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qfilesystemmodel - unknown status
- tst_qfont - unknown status
- tst_qfontcombobox - unknown status
- tst_qfontdialog - unknown status
- tst_qfontmetrics - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qheaderview - unknown status
- tst_qitemdelegate - unknown status
- ...
|
) { | 288-1363 |
| 231 | FT_Done_FreeType(freetypeData->library); | - |
| 232 | freetypeData->library = 0; | - |
| 233 | }executed 1363 times by 120 tests: end of blockExecuted by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| 1363 |
| 234 | }executed 1651 times by 125 tests: end of blockExecuted by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- ...
| 1651 |
| 235 | | - |
| 236 | delete this; | - |
| 237 | }executed 1654 times by 126 tests: end of blockExecuted by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 1654 |
| 238 | }executed 2004 times by 127 tests: end of blockExecuted by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 2004 |
| 239 | | - |
| 240 | | - |
| 241 | void QFreetypeFace::computeSize(const QFontDef &fontDef, int *xsize, int *ysize, bool *outline_drawing) | - |
| 242 | { | - |
| 243 | *ysize = qRound(fontDef.pixelSize * 64); | - |
| 244 | *xsize = *ysize * fontDef.stretch / 100; | - |
| 245 | *outline_drawing = false; | - |
| 246 | | - |
| 247 | | - |
| 248 | | - |
| 249 | | - |
| 250 | | - |
| 251 | if (!(face->face_flags & ( 1L << 0 ))| TRUE | never evaluated | | FALSE | evaluated 2010 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 0-2010 |
| 252 | int best = 0; | - |
| 253 | for (int i = 1; i < face->num_fixed_sizes| TRUE | never evaluated | | FALSE | never evaluated |
; i++) { | 0 |
| 254 | if (qAbs(*ysize - face->available_sizes[i].y_ppem) <| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 255 | qAbs(*ysize - face->available_sizes[best].y_ppem)| TRUE | never evaluated | | FALSE | never evaluated |
|| | 0 |
| 256 | (qAbs(*ysize - face->available_sizes[i].y_ppem) ==| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 257 | qAbs(*ysize - face->available_sizes[best].y_ppem)| TRUE | never evaluated | | FALSE | never evaluated |
&& | 0 |
| 258 | qAbs(*xsize - face->available_sizes[i].x_ppem) <| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 259 | qAbs(*xsize - face->available_sizes[best].x_ppem)| TRUE | never evaluated | | FALSE | never evaluated |
)) { | 0 |
| 260 | best = i; | - |
| 261 | } never executed: end of block | 0 |
| 262 | } never executed: end of block | 0 |
| 263 | if (FT_Set_Char_Size(face, face->available_sizes[best].x_ppem, face->available_sizes[best].y_ppem, 0, 0) == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 264 | *xsize = face->available_sizes[best].x_ppem; | - |
| 265 | *ysize = face->available_sizes[best].y_ppem; | - |
| 266 | } never executed: end of block else { | 0 |
| 267 | int err = 1; | - |
| 268 | if (!(face->face_flags & ( 1L << 0 ))| TRUE | never evaluated | | FALSE | never evaluated |
&& ysize == 0| TRUE | never evaluated | | FALSE | never evaluated |
&& face->num_fixed_sizes >= 1| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 269 | | - |
| 270 | err = FT_Set_Pixel_Sizes(face, face->available_sizes[0].width, face->available_sizes[0].height); | - |
| 271 | if (err| TRUE | never evaluated | | FALSE | never evaluated |
&& face->num_fixed_sizes == 1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 272 | err = 0; never executed: err = 0; | 0 |
| 273 | } never executed: end of block | 0 |
| 274 | | - |
| 275 | if (err| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 276 | * never executed: *xsize = *ysize = 0; xsize = *ysize = 0;never executed: *xsize = *ysize = 0; | 0 |
| 277 | } never executed: end of block | 0 |
| 278 | } else { | - |
| 279 | *outline_drawing = (*| TRUE | evaluated 84 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QTextLayout
- tst_QToolTip
| | FALSE | evaluated 1926 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
xsize > (64<<6)| TRUE | evaluated 84 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QTextLayout
- tst_QToolTip
| | FALSE | evaluated 1926 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
|| *| TRUE | never evaluated | | FALSE | evaluated 1926 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
ysize > (64<<6)| TRUE | never evaluated | | FALSE | evaluated 1926 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
); | 0-1926 |
| 280 | }executed 2010 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2010 |
| 281 | } | - |
| 282 | | - |
| 283 | QFontEngine::Properties QFreetypeFace::properties() const | - |
| 284 | { | - |
| 285 | QFontEngine::Properties p; | - |
| 286 | p.postscriptName = FT_Get_Postscript_Name(face); | - |
| 287 | PS_FontInfoRec font_info; | - |
| 288 | if (FT_Get_PS_Font_Info(face, &font_info) == 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 289 | p.copyright = font_info.notice; never executed: p.copyright = font_info.notice; | 0 |
| 290 | if ((| TRUE | never evaluated | | FALSE | never evaluated |
face->face_flags & ( 1L << 0 ) )| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 291 | p.ascent = face->ascender; | - |
| 292 | p.descent = -face->descender; | - |
| 293 | p.leading = face->height - face->ascender + face->descender; | - |
| 294 | p.emSquare = face->units_per_EM; | - |
| 295 | p.boundingBox = QRectF(face->bbox.xMin, -face->bbox.yMax, | - |
| 296 | face->bbox.xMax - face->bbox.xMin, | - |
| 297 | face->bbox.yMax - face->bbox.yMin); | - |
| 298 | } never executed: end of block else { | 0 |
| 299 | p.ascent = QFixed::fromFixed(face->size->metrics.ascender); | - |
| 300 | p.descent = QFixed::fromFixed(-face->size->metrics.descender); | - |
| 301 | p.leading = QFixed::fromFixed(face->size->metrics.height - face->size->metrics.ascender + face->size->metrics.descender); | - |
| 302 | p.emSquare = face->size->metrics.y_ppem; | - |
| 303 | | - |
| 304 | p.boundingBox = QRectF(0, -p.ascent.toReal(), | - |
| 305 | face->size->metrics.max_advance/64, (p.ascent + p.descent).toReal() ); | - |
| 306 | } never executed: end of block | 0 |
| 307 | p.italicAngle = 0; | - |
| 308 | p.capHeight = p.ascent; | - |
| 309 | p.lineWidth = face->underline_thickness; | - |
| 310 | return never executed: return p; p;never executed: return p; | 0 |
| 311 | } | - |
| 312 | | - |
| 313 | bool QFreetypeFace::getSfntTable(uint tag, uchar *buffer, uint *length) const | - |
| 314 | { | - |
| 315 | return never executed: return ft_getSfntTable(face, tag, buffer, length); ft_getSfntTable(face, tag, buffer, length);never executed: return ft_getSfntTable(face, tag, buffer, length); | 0 |
| 316 | } | - |
| 317 | static void scaleOutline(FT_Face face, FT_GlyphSlot g, FT_Fixed x_scale, FT_Fixed y_scale) | - |
| 318 | { | - |
| 319 | x_scale = FT_MulDiv(x_scale, 1 << 10, face->units_per_EM); | - |
| 320 | y_scale = FT_MulDiv(y_scale, 1 << 10, face->units_per_EM); | - |
| 321 | FT_Vector *p = g->outline.points; | - |
| 322 | const FT_Vector *e = p + g->outline.n_points; | - |
| 323 | while (p < e| TRUE | evaluated 3260 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) { | 163-3260 |
| 324 | p->x = FT_MulFix_x86_64( p->x, x_scale ); | - |
| 325 | p->y = FT_MulFix_x86_64( p->y, y_scale ); | - |
| 326 | ++p; | - |
| 327 | }executed 3260 times by 6 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 3260 |
| 328 | }executed 163 times by 6 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 163 |
| 329 | | - |
| 330 | | - |
| 331 | void QFreetypeFace::addGlyphToPath(FT_Face face, FT_GlyphSlot g, const QFixedPoint &point, QPainterPath *path, FT_Fixed x_scale, FT_Fixed y_scale) | - |
| 332 | { | - |
| 333 | const qreal factor = 1/64.; | - |
| 334 | scaleOutline(face, g, x_scale, y_scale); | - |
| 335 | | - |
| 336 | QPointF cp = point.toPointF(); | - |
| 337 | | - |
| 338 | | - |
| 339 | int i = 0; | - |
| 340 | for (int j = 0; j < g->outline.n_contours| TRUE | evaluated 216 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
; ++j) { | 163-216 |
| 341 | int last_point = g->outline.contours[j]; | - |
| 342 | while (false) QMessageLogger().noDebug() << "contour:" << i << "to" << last_point; dead code: QMessageLogger().noDebug() << "contour:" << i << "to" << last_point; | - |
| 343 | QPointF start = QPointF(g->outline.points[i].x*factor, -g->outline.points[i].y*factor); | - |
| 344 | if (!(g->outline.tags[i] & 1)| TRUE | never evaluated | | FALSE | evaluated 216 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) { | 0-216 |
| 345 | if (!(g->outline.tags[last_point] & 1)| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 346 | while (false) QMessageLogger().noDebug() << " start and end point are not on curve"; dead code: QMessageLogger().noDebug() << " start and end point are not on curve"; | - |
| 347 | start = (QPointF(g->outline.points[last_point].x*factor, | - |
| 348 | -g->outline.points[last_point].y*factor) + start) / 2.0; | - |
| 349 | } never executed: end of block else { | 0 |
| 350 | while (false) QMessageLogger().noDebug() << " end point is on curve, start is not"; dead code: QMessageLogger().noDebug() << " end point is on curve, start is not"; | - |
| 351 | start = QPointF(g->outline.points[last_point].x*factor, | - |
| 352 | -g->outline.points[last_point].y*factor); | - |
| 353 | } never executed: end of block | 0 |
| 354 | --i; | - |
| 355 | } never executed: end of block | 0 |
| 356 | start += cp; | - |
| 357 | while (false) QMessageLogger().noDebug() << " start at" << start; dead code: QMessageLogger().noDebug() << " start at" << start; | - |
| 358 | | - |
| 359 | path->moveTo(start); | - |
| 360 | QPointF c[4]; | - |
| 361 | c[0] = start; | - |
| 362 | int n = 1; | - |
| 363 | while (i < last_point| TRUE | evaluated 3818 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | evaluated 216 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) { | 216-3818 |
| 364 | ++i; | - |
| 365 | c[n] = cp + QPointF(g->outline.points[i].x*factor, -g->outline.points[i].y*factor); | - |
| 366 | while (false) QMessageLogger().noDebug() << " " << i << c[n] << "tag =" << (int)g->outline.tags[i] dead code: QMessageLogger().noDebug() << " " << i << c[n] << "tag =" << (int)g->outline.tags[i] << ": on curve =" << (bool)(g->outline.tags[i] & 1); | - |
| 367 | << ": on curve =" << (bool)(g->outline.tags[i] & 1); dead code: QMessageLogger().noDebug() << " " << i << c[n] << "tag =" << (int)g->outline.tags[i] << ": on curve =" << (bool)(g->outline.tags[i] & 1); | - |
| 368 | ++n; | - |
| 369 | switch (g->outline.tags[i] & 3) { | - |
| 370 | case never executed: case 2: 2:never executed: case 2: | 0 |
| 371 | | - |
| 372 | if (n < 4| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 373 | continue; never executed: continue; | 0 |
| 374 | c[3] = (c[3] + c[2])/2; | - |
| 375 | --i; | - |
| 376 | break; never executed: break; | 0 |
| 377 | caseexecuted 2322 times by 6 tests: case 0:Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
0:executed 2322 times by 6 tests: case 0:Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 2322 |
| 378 | | - |
| 379 | if (n < 3| TRUE | evaluated 1548 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | evaluated 774 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) | 774-1548 |
| 380 | continue;executed 1548 times by 6 tests: continue;Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 1548 |
| 381 | c[3] = (c[1] + c[2])/2; | - |
| 382 | c[2] = (2*c[1] + c[3])/3; | - |
| 383 | c[1] = (2*c[1] + c[0])/3; | - |
| 384 | --i; | - |
| 385 | break;executed 774 times by 6 tests: break;Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 774 |
| 386 | caseexecuted 1496 times by 6 tests: case 1:Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
1:executed 1496 times by 6 tests: case 1:Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 1496 |
| 387 | case never executed: case 3: 3:never executed: case 3: | 0 |
| 388 | if (n == 2| TRUE | evaluated 834 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | evaluated 662 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) { | 662-834 |
| 389 | while (false) QMessageLogger().noDebug() << " lineTo" << c[1]; dead code: QMessageLogger().noDebug() << " lineTo" << c[1]; | - |
| 390 | path->lineTo(c[1]); | - |
| 391 | c[0] = c[1]; | - |
| 392 | n = 1; | - |
| 393 | continue;executed 834 times by 6 tests: continue;Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 834 |
| 394 | } else if (n == 3| TRUE | evaluated 662 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | never evaluated |
) { | 0-662 |
| 395 | c[3] = c[2]; | - |
| 396 | c[2] = (2*c[1] + c[3])/3; | - |
| 397 | c[1] = (2*c[1] + c[0])/3; | - |
| 398 | }executed 662 times by 6 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 662 |
| 399 | break;executed 662 times by 6 tests: break;Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 662 |
| 400 | } | - |
| 401 | while (false) QMessageLogger().noDebug() << " cubicTo" << c[1] << c[2] << c[3]; dead code: QMessageLogger().noDebug() << " cubicTo" << c[1] << c[2] << c[3]; | - |
| 402 | path->cubicTo(c[1], c[2], c[3]); | - |
| 403 | c[0] = c[3]; | - |
| 404 | n = 1; | - |
| 405 | }executed 1436 times by 6 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 1436 |
| 406 | | - |
| 407 | if (n == 1| TRUE | evaluated 104 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | evaluated 112 times by 5 testsEvaluated by:- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) { | 104-112 |
| 408 | while (false) QMessageLogger().noDebug() << " closeSubpath"; dead code: QMessageLogger().noDebug() << " closeSubpath"; | - |
| 409 | path->closeSubpath(); | - |
| 410 | }executed 104 times by 6 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
else { | 104 |
| 411 | c[3] = start; | - |
| 412 | if (n == 2| TRUE | evaluated 112 times by 5 testsEvaluated by:- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | never evaluated |
) { | 0-112 |
| 413 | c[2] = (2*c[1] + c[3])/3; | - |
| 414 | c[1] = (2*c[1] + c[0])/3; | - |
| 415 | }executed 112 times by 5 tests: end of blockExecuted by:- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 112 |
| 416 | while (false) QMessageLogger().noDebug() << " close cubicTo" << c[1] << c[2] << c[3]; dead code: QMessageLogger().noDebug() << " close cubicTo" << c[1] << c[2] << c[3]; | - |
| 417 | path->cubicTo(c[1], c[2], c[3]); | - |
| 418 | }executed 112 times by 5 tests: end of blockExecuted by:- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 112 |
| 419 | ++i; | - |
| 420 | }executed 216 times by 6 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 216 |
| 421 | }executed 163 times by 6 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 163 |
| 422 | | - |
| 423 | extern void qt_addBitmapToPath(qreal x0, qreal y0, const uchar *image_data, int bpl, int w, int h, QPainterPath *path); | - |
| 424 | | - |
| 425 | void QFreetypeFace::addBitmapToPath(FT_GlyphSlot slot, const QFixedPoint &point, QPainterPath *path) | - |
| 426 | { | - |
| 427 | if (slot->format != FT_GLYPH_FORMAT_BITMAP| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 428 | || slot->bitmap.pixel_mode != FT_PIXEL_MODE_MONO| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 429 | return; never executed: return; | 0 |
| 430 | | - |
| 431 | QPointF cp = point.toPointF(); | - |
| 432 | qt_addBitmapToPath(cp.x() + ((slot->metrics.horiBearingX) >> 6), cp.y() - ((slot->metrics.horiBearingY) >> 6), | - |
| 433 | slot->bitmap.buffer, slot->bitmap.pitch, slot->bitmap.width, slot->bitmap.rows, path); | - |
| 434 | } never executed: end of block | 0 |
| 435 | | - |
| 436 | QFontEngineFT::Glyph::~Glyph() | - |
| 437 | { | - |
| 438 | delete [] data; | - |
| 439 | }executed 11783 times by 119 tests: end of blockExecuted by:- tst_QApplication
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 11783 |
| 440 | | - |
| 441 | struct LcdFilterDummy | - |
| 442 | { | - |
| 443 | static inline void filterPixel(uchar &, uchar &, uchar &) | - |
| 444 | {} | - |
| 445 | }; | - |
| 446 | | - |
| 447 | struct LcdFilterLegacy | - |
| 448 | { | - |
| 449 | static inline void filterPixel(uchar &red, uchar &green, uchar &blue) | - |
| 450 | { | - |
| 451 | uint r = red, g = green, b = blue; | - |
| 452 | | - |
| 453 | red = (r * uint(65538 * 9/13) + g * uint(65538 * 1/6) + b * uint(65538 * 1/13)) / 65536; | - |
| 454 | green = (r * uint(65538 * 3/13) + g * uint(65538 * 4/6) + b * uint(65538 * 3/13)) / 65536; | - |
| 455 | blue = (r * uint(65538 * 1/13) + g * uint(65538 * 1/6) + b * uint(65538 * 9/13)) / 65536; | - |
| 456 | } never executed: end of block | 0 |
| 457 | }; | - |
| 458 | | - |
| 459 | template <typename LcdFilter> | - |
| 460 | static void convertRGBToARGB_helper(const uchar *src, uint *dst, int width, int height, int src_pitch, bool bgr) | - |
| 461 | { | - |
| 462 | const int offs = bgr ? -1 : 1; | - |
| 463 | const int w = width * 3; | - |
| 464 | while (height--| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 465 | uint *dd = dst; | - |
| 466 | for (int x = 0; x < w| TRUE | never evaluated | | FALSE | never evaluated |
; x += 3) { | 0 |
| 467 | uchar red = src[x + 1 - offs]; | - |
| 468 | uchar green = src[x + 1]; | - |
| 469 | uchar blue = src[x + 1 + offs]; | - |
| 470 | LcdFilter::filterPixel(red, green, blue); | - |
| 471 | | - |
| 472 | *dd++ = (green << 24) | (red << 16) | (green << 8) | blue; | - |
| 473 | } never executed: end of block | 0 |
| 474 | dst += width; | - |
| 475 | src += src_pitch; | - |
| 476 | } never executed: end of block | 0 |
| 477 | } never executed: end of block | 0 |
| 478 | | - |
| 479 | static inline void convertRGBToARGB(const uchar *src, uint *dst, int width, int height, int src_pitch, bool bgr, bool legacyFilter) | - |
| 480 | { | - |
| 481 | if (!legacyFilter| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 482 | convertRGBToARGB_helper<LcdFilterDummy>(src, dst, width, height, src_pitch, bgr); never executed: convertRGBToARGB_helper<LcdFilterDummy>(src, dst, width, height, src_pitch, bgr); | 0 |
| 483 | else | - |
| 484 | convertRGBToARGB_helper<LcdFilterLegacy>(src, dst, width, height, src_pitch, bgr); never executed: convertRGBToARGB_helper<LcdFilterLegacy>(src, dst, width, height, src_pitch, bgr); | 0 |
| 485 | } | - |
| 486 | | - |
| 487 | template <typename LcdFilter> | - |
| 488 | static void convertRGBToARGB_V_helper(const uchar *src, uint *dst, int width, int height, int src_pitch, bool bgr) | - |
| 489 | { | - |
| 490 | const int offs = bgr ? -src_pitch : src_pitch; | - |
| 491 | while (height--| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 492 | for (int x = 0; x < width| TRUE | never evaluated | | FALSE | never evaluated |
; x++) { | 0 |
| 493 | uchar red = src[x + src_pitch - offs]; | - |
| 494 | uchar green = src[x + src_pitch]; | - |
| 495 | uchar blue = src[x + src_pitch + offs]; | - |
| 496 | LcdFilter::filterPixel(red, green, blue); | - |
| 497 | | - |
| 498 | *dst++ = (green << 24) | (red << 16) | (green << 8) | blue; | - |
| 499 | } never executed: end of block | 0 |
| 500 | src += 3*src_pitch; | - |
| 501 | } never executed: end of block | 0 |
| 502 | } never executed: end of block | 0 |
| 503 | | - |
| 504 | static inline void convertRGBToARGB_V(const uchar *src, uint *dst, int width, int height, int src_pitch, bool bgr, bool legacyFilter) | - |
| 505 | { | - |
| 506 | if (!legacyFilter| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 507 | convertRGBToARGB_V_helper<LcdFilterDummy>(src, dst, width, height, src_pitch, bgr); never executed: convertRGBToARGB_V_helper<LcdFilterDummy>(src, dst, width, height, src_pitch, bgr); | 0 |
| 508 | else | - |
| 509 | convertRGBToARGB_V_helper<LcdFilterLegacy>(src, dst, width, height, src_pitch, bgr); never executed: convertRGBToARGB_V_helper<LcdFilterLegacy>(src, dst, width, height, src_pitch, bgr); | 0 |
| 510 | } | - |
| 511 | | - |
| 512 | static inline void convertGRAYToARGB(const uchar *src, uint *dst, int width, int height, int src_pitch) | - |
| 513 | { | - |
| 514 | while (height--| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 515 | const uchar *p = src; | - |
| 516 | const uchar * const e = p + width; | - |
| 517 | while (p < e| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 518 | uchar gray = *p++; | - |
| 519 | *dst++ = (0xFF << 24) | (gray << 16) | (gray << 8) | gray; | - |
| 520 | } never executed: end of block | 0 |
| 521 | src += src_pitch; | - |
| 522 | } never executed: end of block | 0 |
| 523 | } never executed: end of block | 0 |
| 524 | | - |
| 525 | static void convoluteBitmap(const uchar *src, uchar *dst, int width, int height, int pitch) | - |
| 526 | { | - |
| 527 | | - |
| 528 | | - |
| 529 | | - |
| 530 | | - |
| 531 | int h = height; | - |
| 532 | while (h--| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 533 | dst[0] = dst[1] = 0; | - |
| 534 | | - |
| 535 | for (int x = 2; x < width - 2| TRUE | never evaluated | | FALSE | never evaluated |
; ++x) { | 0 |
| 536 | uint sum = src[x-2] + 3*src[x-1] + 8*src[x] + 3*src[x+1] + src[x+2]; | - |
| 537 | dst[x] = (uchar) (sum >> 4); | - |
| 538 | } never executed: end of block | 0 |
| 539 | dst[width - 2] = dst[width - 1] = 0; | - |
| 540 | src += pitch; | - |
| 541 | dst += pitch; | - |
| 542 | } never executed: end of block | 0 |
| 543 | } never executed: end of block | 0 |
| 544 | | - |
| 545 | QFontEngineFT::QFontEngineFT(const QFontDef &fd) | - |
| 546 | : QFontEngine(Freetype) | - |
| 547 | { | - |
| 548 | fontDef = fd; | - |
| 549 | matrix.xx = 0x10000; | - |
| 550 | matrix.yy = 0x10000; | - |
| 551 | matrix.xy = 0; | - |
| 552 | matrix.yx = 0; | - |
| 553 | cache_cost = 100 * 1024; | - |
| 554 | kerning_pairs_loaded = false; | - |
| 555 | transform = false; | - |
| 556 | embolden = false; | - |
| 557 | obliquen = false; | - |
| 558 | antialias = true; | - |
| 559 | freetype = 0; | - |
| 560 | default_load_flags = ( 1L << 9 ); | - |
| 561 | default_hint_style = ftInitialDefaultHintStyle; | - |
| 562 | subpixelType = Subpixel_None; | - |
| 563 | lcdFilterType = 0; | - |
| 564 | | - |
| 565 | lcdFilterType = (int)((quintptr) FT_LCD_FILTER_DEFAULT); | - |
| 566 | | - |
| 567 | defaultFormat = Format_None; | - |
| 568 | embeddedbitmap = false; | - |
| 569 | const QByteArray env = qgetenv("QT_NO_FT_CACHE"); | - |
| 570 | cacheEnabled = env.isEmpty()| TRUE | evaluated 2012 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
|| env.toInt() == 0| TRUE | never evaluated | | FALSE | never evaluated |
; | 0-2012 |
| 571 | m_subPixelPositionCount = 4; | - |
| 572 | forceAutoHint = false; | - |
| 573 | }executed 2012 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2012 |
| 574 | | - |
| 575 | QFontEngineFT::~QFontEngineFT() | - |
| 576 | { | - |
| 577 | if (freetype| TRUE | evaluated 2004 times by 127 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| | FALSE | evaluated 2 times by 1 test |
) | 2-2004 |
| 578 | freetype->release(face_id);executed 2004 times by 127 tests: freetype->release(face_id);Executed by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 2004 |
| 579 | }executed 2006 times by 127 tests: end of blockExecuted by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 2006 |
| 580 | | - |
| 581 | bool QFontEngineFT::init(FaceId faceId, bool antialias, GlyphFormat format, | - |
| 582 | const QByteArray &fontData) | - |
| 583 | { | - |
| 584 | returnexecuted 2008 times by 123 tests: return init(faceId, antialias, format, QFreetypeFace::getFace(faceId, fontData));Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
init(faceId, antialias, format, QFreetypeFace::getFace(faceId, fontData));executed 2008 times by 123 tests: return init(faceId, antialias, format, QFreetypeFace::getFace(faceId, fontData));Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2008 |
| 585 | } | - |
| 586 | | - |
| 587 | bool QFontEngineFT::init(FaceId faceId, bool antialias, GlyphFormat format, | - |
| 588 | QFreetypeFace *freetypeFace) | - |
| 589 | { | - |
| 590 | freetype = freetypeFace; | - |
| 591 | if (!freetype| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2010 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 2-2010 |
| 592 | xsize = 0; | - |
| 593 | ysize = 0; | - |
| 594 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
| 595 | } | - |
| 596 | defaultFormat = format; | - |
| 597 | this->antialias = antialias; | - |
| 598 | | - |
| 599 | if (!antialias| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QStaticText
- tst_QWizard
| | FALSE | evaluated 2007 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 3-2007 |
| 600 | glyphFormat = QFontEngine::Format_Mono;executed 3 times by 2 tests: glyphFormat = QFontEngine::Format_Mono;Executed by:- tst_QStaticText
- tst_QWizard
| 3 |
| 601 | else | - |
| 602 | glyphFormat = defaultFormat;executed 2007 times by 123 tests: glyphFormat = defaultFormat;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2007 |
| 603 | | - |
| 604 | face_id = faceId; | - |
| 605 | | - |
| 606 | symbol = freetype->symbol_map != 0; | - |
| 607 | PS_FontInfoRec psrec; | - |
| 608 | | - |
| 609 | if (FT_Get_PS_Font_Info(freetype->face, &psrec) == FT_Err_Ok| TRUE | evaluated 80 times by 7 testsEvaluated by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QPushButton
- tst_QTextLayout
| | FALSE | evaluated 1930 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 80-1930 |
| 610 | symbol = bool(fontDef.family.contains(QLatin1String("symbol"), Qt::CaseInsensitive)); | - |
| 611 | }executed 80 times by 7 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QPushButton
- tst_QTextLayout
| 80 |
| 612 | | - |
| 613 | freetype->computeSize(fontDef, &xsize, &ysize, &defaultGlyphSet.outline_drawing); | - |
| 614 | | - |
| 615 | FT_Face face = lockFace(); | - |
| 616 | | - |
| 617 | if ((| TRUE | evaluated 2010 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
face->face_flags & ( 1L << 0 ) )| TRUE | evaluated 2010 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
) { | 0-2010 |
| 618 | bool fake_oblique = (| TRUE | evaluated 190 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QTextLayout
| | FALSE | evaluated 1820 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
fontDef.style != QFont::StyleNormal)| TRUE | evaluated 190 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QTextLayout
| | FALSE | evaluated 1820 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
&& !(face->style_flags & ( 1 << 0 ))| TRUE | never evaluated | | FALSE | evaluated 190 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QTextLayout
|
; | 0-1820 |
| 619 | if (fake_oblique| TRUE | never evaluated | | FALSE | evaluated 2010 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 0-2010 |
| 620 | obliquen = true; never executed: obliquen = true; | 0 |
| 621 | FT_Set_Transform(face, &matrix, 0); | - |
| 622 | freetype->matrix = matrix; | - |
| 623 | | - |
| 624 | if ((| TRUE | evaluated 251 times by 37 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QStandardItemModel
- tst_QStaticText
- tst_QStyleSheetStyle
- ...
| | FALSE | evaluated 1759 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
fontDef.weight >= QFont::Bold)| TRUE | evaluated 251 times by 37 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QStandardItemModel
- tst_QStaticText
- tst_QStyleSheetStyle
- ...
| | FALSE | evaluated 1759 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
&& !(face->style_flags & ( 1 << 1 ))| TRUE | never evaluated | | FALSE | evaluated 251 times by 37 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QStandardItemModel
- tst_QStaticText
- tst_QStyleSheetStyle
- ...
|
&& !( face->face_flags & ( 1L << 2 ) )| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-1759 |
| 625 | if (const| TRUE | never evaluated | | FALSE | never evaluated |
TT_OS2 *os2 = reinterpret_cast<const TT_OS2 *>(FT_Get_Sfnt_Table(face, ft_sfnt_os2))| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 626 | if (os2->usWeightClass < 750| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 627 | embolden = true; never executed: embolden = true; | 0 |
| 628 | } never executed: end of block | 0 |
| 629 | } never executed: end of block | 0 |
| 630 | | - |
| 631 | line_thickness = QFixed::fromFixed(FT_MulFix_x86_64( face->underline_thickness, face->size->metrics.y_scale )); | - |
| 632 | underline_position = QFixed::fromFixed(-FT_MulFix_x86_64( face->underline_position, face->size->metrics.y_scale )); | - |
| 633 | }executed 2010 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else { | 2010 |
| 634 | | - |
| 635 | int score = fontDef.weight * fontDef.pixelSize; | - |
| 636 | line_thickness = score / 700; | - |
| 637 | | - |
| 638 | if (line_thickness < 2| TRUE | never evaluated | | FALSE | never evaluated |
&& score >= 1050| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 639 | line_thickness = 2; never executed: line_thickness = 2; | 0 |
| 640 | underline_position = ((line_thickness * 2) + 3) / 6; | - |
| 641 | } never executed: end of block | 0 |
| 642 | if (line_thickness < 1| TRUE | evaluated 1715 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 295 times by 18 testsEvaluated by:- tst_QAbstractItemView
- tst_QApplication
- tst_QCssParser
- tst_QFont
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QMenu
- tst_QPainter
- tst_QRawFont
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QToolTip
- tst_QTreeWidget
|
) | 295-1715 |
| 643 | line_thickness = 1;executed 1715 times by 123 tests: line_thickness = 1;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 1715 |
| 644 | | - |
| 645 | metrics = face->size->metrics; | - |
| 646 | if ((| TRUE | evaluated 2010 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
face->face_flags & ( 1L << 0 ) )| TRUE | evaluated 2010 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
) { | 0-2010 |
| 647 | for (int i = 0; i < face->num_fixed_sizes| TRUE | never evaluated | | FALSE | evaluated 2010 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
; ++i) { | 0-2010 |
| 648 | if (xsize == face->available_sizes[i].x_ppem| TRUE | never evaluated | | FALSE | never evaluated |
&& ysize == face->available_sizes[i].y_ppem| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 649 | face->face_flags &= ~( 1L << 0 ); | - |
| 650 | | - |
| 651 | FT_Select_Size(face, i); | - |
| 652 | if (face->size->metrics.ascender + face->size->metrics.descender > 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 653 | metrics.ascender = face->size->metrics.ascender; | - |
| 654 | metrics.descender = face->size->metrics.descender; | - |
| 655 | } never executed: end of block | 0 |
| 656 | FT_Set_Char_Size(face, xsize, ysize, 0, 0); | - |
| 657 | | - |
| 658 | face->face_flags |= ( 1L << 0 ); | - |
| 659 | break; never executed: break; | 0 |
| 660 | } | - |
| 661 | } never executed: end of block | 0 |
| 662 | }executed 2010 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2010 |
| 663 | | - |
| 664 | fontDef.styleName = QString::fromUtf8(face->style_name); | - |
| 665 | | - |
| 666 | if (!freetype->hbFace| TRUE | evaluated 1660 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 350 times by 24 testsEvaluated by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QMenu
- tst_QPainter
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- tst_QToolTip
- tst_QTreeWidget
- tst_QWizard
|
) { | 350-1660 |
| 667 | faceData.user_data = face; | - |
| 668 | faceData.get_font_table = ft_getSfntTable; | - |
| 669 | freetype->hbFace = harfbuzzFace(); | - |
| 670 | freetype->hbFace_destroy_func = face_destroy_func; | - |
| 671 | }executed 1660 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else { | 1660 |
| 672 | ((!(!face_)) ? qt_assert("!face_",__FILE__,776) : qt_noop()); | - |
| 673 | face_ = freetype->hbFace; | - |
| 674 | }executed 350 times by 24 tests: end of blockExecuted by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QMenu
- tst_QPainter
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- tst_QToolTip
- tst_QTreeWidget
- tst_QWizard
| 350 |
| 675 | face_destroy_func = 0; | - |
| 676 | | - |
| 677 | unlockFace(); | - |
| 678 | | - |
| 679 | fsType = freetype->fsType(); | - |
| 680 | returnexecuted 2010 times by 123 tests: return true;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
true;executed 2010 times by 123 tests: return true;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2010 |
| 681 | } | - |
| 682 | | - |
| 683 | void QFontEngineFT::setQtDefaultHintStyle(QFont::HintingPreference hintingPreference) | - |
| 684 | { | - |
| 685 | switch (hintingPreference) { | - |
| 686 | caseexecuted 311 times by 1 test: case QFont::PreferNoHinting: QFont::PreferNoHinting:executed 311 times by 1 test: case QFont::PreferNoHinting: | 311 |
| 687 | setDefaultHintStyle(HintNone); | - |
| 688 | break;executed 311 times by 1 test: break; | 311 |
| 689 | caseexecuted 311 times by 1 test: case QFont::PreferFullHinting: QFont::PreferFullHinting:executed 311 times by 1 test: case QFont::PreferFullHinting: | 311 |
| 690 | setDefaultHintStyle(HintFull); | - |
| 691 | break;executed 311 times by 1 test: break; | 311 |
| 692 | caseexecuted 311 times by 1 test: case QFont::PreferVerticalHinting: QFont::PreferVerticalHinting:executed 311 times by 1 test: case QFont::PreferVerticalHinting: | 311 |
| 693 | setDefaultHintStyle(HintLight); | - |
| 694 | break;executed 311 times by 1 test: break; | 311 |
| 695 | caseexecuted 314 times by 1 test: case QFont::PreferDefaultHinting: QFont::PreferDefaultHinting:executed 314 times by 1 test: case QFont::PreferDefaultHinting: | 314 |
| 696 | setDefaultHintStyle(ftInitialDefaultHintStyle); | - |
| 697 | break;executed 314 times by 1 test: break; | 314 |
| 698 | } | - |
| 699 | }executed 1247 times by 1 test: end of block | 1247 |
| 700 | | - |
| 701 | void QFontEngineFT::setDefaultHintStyle(HintStyle style) | - |
| 702 | { | - |
| 703 | default_hint_style = style; | - |
| 704 | }executed 3253 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 3253 |
| 705 | | - |
| 706 | int QFontEngineFT::loadFlags(QGlyphSet *set, GlyphFormat format, int flags, | - |
| 707 | bool &hsubpixel, int &vfactor) const | - |
| 708 | { | - |
| 709 | int load_flags = 0x0 | default_load_flags; | - |
| 710 | int load_target = default_hint_style == HintLight| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 25766 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
| 14-25766 |
| 711 | ? ( (FT_Int32)( (FT_RENDER_MODE_LIGHT) & 15 ) << 16 ) | - |
| 712 | : ( (FT_Int32)( (FT_RENDER_MODE_NORMAL) & 15 ) << 16 ); | - |
| 713 | | - |
| 714 | if (format == Format_Mono| TRUE | evaluated 114 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| | FALSE | evaluated 25666 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 114-25666 |
| 715 | load_target = ( (FT_Int32)( (FT_RENDER_MODE_MONO) & 15 ) << 16 ); | - |
| 716 | }executed 114 times by 3 tests: end of blockExecuted by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
else if (format == Format_A32| TRUE | never evaluated | | FALSE | evaluated 25666 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 0-25666 |
| 717 | if (subpixelType == Subpixel_RGB| TRUE | never evaluated | | FALSE | never evaluated |
|| subpixelType == Subpixel_BGR| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 718 | if (default_hint_style == HintFull| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 719 | load_target = ( (FT_Int32)( (FT_RENDER_MODE_LCD) & 15 ) << 16 ); never executed: load_target = ( (FT_Int32)( (FT_RENDER_MODE_LCD) & 15 ) << 16 ); | 0 |
| 720 | hsubpixel = true; | - |
| 721 | } never executed: end of block else if (subpixelType == Subpixel_VRGB| TRUE | never evaluated | | FALSE | never evaluated |
|| subpixelType == Subpixel_VBGR| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 722 | if (default_hint_style == HintFull| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 723 | load_target = ( (FT_Int32)( (FT_RENDER_MODE_LCD_V) & 15 ) << 16 ); never executed: load_target = ( (FT_Int32)( (FT_RENDER_MODE_LCD_V) & 15 ) << 16 ); | 0 |
| 724 | vfactor = 3; | - |
| 725 | } never executed: end of block | 0 |
| 726 | } never executed: end of block | 0 |
| 727 | | - |
| 728 | if (set| TRUE | evaluated 25780 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
&& set->| TRUE | evaluated 41 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| | FALSE | evaluated 25739 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
outline_drawing| TRUE | evaluated 41 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| | FALSE | evaluated 25739 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 0-25780 |
| 729 | load_flags |= ( 1L << 3 );executed 41 times by 4 tests: load_flags |= ( 1L << 3 );Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| 41 |
| 730 | | - |
| 731 | if (default_hint_style == HintNone| TRUE | evaluated 1055 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPainter
- tst_QPrinter
- tst_QRawFont
- tst_QStaticText
| | FALSE | evaluated 24725 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
|| (| TRUE | never evaluated | | FALSE | evaluated 24725 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
flags & DesignMetrics)| TRUE | never evaluated | | FALSE | evaluated 24725 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
|| (set| TRUE | evaluated 24725 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
&& set->| TRUE | evaluated 41 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| | FALSE | evaluated 24684 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
outline_drawing| TRUE | evaluated 41 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| | FALSE | evaluated 24684 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
)) | 0-24725 |
| 732 | load_flags |= ( 1L << 1 );executed 1096 times by 10 tests: load_flags |= ( 1L << 1 );Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPainter
- tst_QPrinter
- tst_QRawFont
- tst_QStaticText
- tst_QToolTip
| 1096 |
| 733 | else | - |
| 734 | load_flags |= load_target;executed 24684 times by 114 tests: load_flags |= load_target;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 24684 |
| 735 | | - |
| 736 | if (forceAutoHint| TRUE | never evaluated | | FALSE | evaluated 25780 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 0-25780 |
| 737 | load_flags |= ( 1L << 5 ); never executed: load_flags |= ( 1L << 5 ); | 0 |
| 738 | | - |
| 739 | returnexecuted 25780 times by 114 tests: return load_flags;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
load_flags;executed 25780 times by 114 tests: return load_flags;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 25780 |
| 740 | } | - |
| 741 | | - |
| 742 | static inline bool areMetricsTooLarge(const QFontEngineFT::GlyphInfo &info) | - |
| 743 | { | - |
| 744 | | - |
| 745 | returnexecuted 25778 times by 114 tests: return (short)(info.linearAdvance) != info.linearAdvance || (signed char)(info.xOff) != info.xOff || (uchar)(info.width) != info.width || (uchar)(info.height) != info.height || (signed char)(info.x) != info.x || (signed char)(info.y) != info.y;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
(| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 25768 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
short)(info.linearAdvance) != info.linearAdvance| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 25768 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
executed 25778 times by 114 tests: return (short)(info.linearAdvance) != info.linearAdvance || (signed char)(info.xOff) != info.xOff || (uchar)(info.width) != info.width || (uchar)(info.height) != info.height || (signed char)(info.x) != info.x || (signed char)(info.y) != info.y;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 10-25778 |
| 746 | || (| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 25762 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
signed char)(info.xOff) != info.xOff| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 25762 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
executed 25778 times by 114 tests: return (short)(info.linearAdvance) != info.linearAdvance || (signed char)(info.xOff) != info.xOff || (uchar)(info.width) != info.width || (uchar)(info.height) != info.height || (signed char)(info.x) != info.x || (signed char)(info.y) != info.y;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 6-25778 |
| 747 | || (| TRUE | never evaluated | | FALSE | evaluated 25762 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
uchar)(info.width) != info.width| TRUE | never evaluated | | FALSE | evaluated 25762 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
executed 25778 times by 114 tests: return (short)(info.linearAdvance) != info.linearAdvance || (signed char)(info.xOff) != info.xOff || (uchar)(info.width) != info.width || (uchar)(info.height) != info.height || (signed char)(info.x) != info.x || (signed char)(info.y) != info.y;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 0-25778 |
| 748 | || (| TRUE | never evaluated | | FALSE | evaluated 25762 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
uchar)(info.height) != info.height| TRUE | never evaluated | | FALSE | evaluated 25762 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
executed 25778 times by 114 tests: return (short)(info.linearAdvance) != info.linearAdvance || (signed char)(info.xOff) != info.xOff || (uchar)(info.width) != info.width || (uchar)(info.height) != info.height || (signed char)(info.x) != info.x || (signed char)(info.y) != info.y;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 0-25778 |
| 749 | || (| TRUE | never evaluated | | FALSE | evaluated 25762 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
signed char)(info.x) != info.x| TRUE | never evaluated | | FALSE | evaluated 25762 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
executed 25778 times by 114 tests: return (short)(info.linearAdvance) != info.linearAdvance || (signed char)(info.xOff) != info.xOff || (uchar)(info.width) != info.width || (uchar)(info.height) != info.height || (signed char)(info.x) != info.x || (signed char)(info.y) != info.y;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 0-25778 |
| 750 | || (| TRUE | never evaluated | | FALSE | evaluated 25762 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
signed char)(info.y) != info.y| TRUE | never evaluated | | FALSE | evaluated 25762 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
;executed 25778 times by 114 tests: return (short)(info.linearAdvance) != info.linearAdvance || (signed char)(info.xOff) != info.xOff || (uchar)(info.width) != info.width || (uchar)(info.height) != info.height || (signed char)(info.x) != info.x || (signed char)(info.y) != info.y;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 0-25778 |
| 751 | } | - |
| 752 | | - |
| 753 | QFontEngineFT::Glyph *QFontEngineFT::loadGlyph(QGlyphSet *set, uint glyph, | - |
| 754 | QFixed subPixelPosition, | - |
| 755 | GlyphFormat format, | - |
| 756 | bool fetchMetricsOnly) const | - |
| 757 | { | - |
| 758 | | - |
| 759 | | - |
| 760 | if (format == Format_None| TRUE | evaluated 7447 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 18333 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 7447-18333 |
| 761 | format = defaultFormat != Format_None| TRUE | evaluated 7447 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
? defaultFormat : Format_Mono;executed 7447 times by 114 tests: format = defaultFormat != Format_None ? defaultFormat : Format_Mono;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 0-7447 |
| 762 | ((!(format != Format_None)) ? qt_assert("format != Format_None",__FILE__,866) : qt_noop()); | - |
| 763 | | - |
| 764 | Glyph *g = set| TRUE | evaluated 25780 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
? set->getGlyph(glyph, subPixelPosition) : 0; | 0-25780 |
| 765 | if (g| TRUE | evaluated 13533 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
| | FALSE | evaluated 12247 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
&& g->format == format| TRUE | evaluated 13532 times by 55 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
| | FALSE | evaluated 1 time by 1 test |
&& (fetchMetricsOnly| TRUE | never evaluated | | FALSE | evaluated 13532 times by 55 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
|| g->data| TRUE | never evaluated | | FALSE | evaluated 13532 times by 55 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
)) | 0-13533 |
| 766 | return never executed: return g; g;never executed: return g; | 0 |
| 767 | | - |
| 768 | if (!g| TRUE | evaluated 12247 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 13533 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
&& set| TRUE | evaluated 12247 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
&& set->| TRUE | never evaluated | | FALSE | evaluated 12247 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
isGlyphMissing(glyph)| TRUE | never evaluated | | FALSE | evaluated 12247 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 0-13533 |
| 769 | return never executed: return &emptyGlyph; &emptyGlyph;never executed: return &emptyGlyph; | 0 |
| 770 | | - |
| 771 | | - |
| 772 | FT_Face face = freetype->face; | - |
| 773 | | - |
| 774 | FT_Matrix matrix = freetype->matrix; | - |
| 775 | | - |
| 776 | FT_Vector v; | - |
| 777 | v.x = format == Format_Mono| TRUE | evaluated 114 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| | FALSE | evaluated 25666 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
? 0 : FT_Pos(subPixelPosition.value()); | 114-25666 |
| 778 | v.y = 0; | - |
| 779 | FT_Set_Transform(face, &matrix, &v); | - |
| 780 | | - |
| 781 | bool hsubpixel = false; | - |
| 782 | int vfactor = 1; | - |
| 783 | int load_flags = loadFlags(set, format, 0, hsubpixel, vfactor); | - |
| 784 | | - |
| 785 | bool transform = matrix.xx != 0x10000| TRUE | evaluated 2552 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| | FALSE | evaluated 23228 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
| 2552-23228 |
| 786 | || matrix.yy != 0x10000| TRUE | never evaluated | | FALSE | evaluated 23228 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
| 0-23228 |
| 787 | || matrix.xy != 0| TRUE | never evaluated | | FALSE | evaluated 23228 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
| 0-23228 |
| 788 | || matrix.yx != 0| TRUE | never evaluated | | FALSE | evaluated 23228 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
; | 0-23228 |
| 789 | | - |
| 790 | if (transform| TRUE | evaluated 2552 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| | FALSE | evaluated 23228 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
|| (format != Format_Mono| TRUE | evaluated 23114 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 114 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
|
&& !embeddedbitmap| TRUE | evaluated 23114 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
)) | 0-23228 |
| 791 | load_flags |= ( 1L << 3 );executed 25666 times by 114 tests: load_flags |= ( 1L << 3 );Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 25666 |
| 792 | | - |
| 793 | FT_Error err = FT_Load_Glyph(face, glyph, load_flags); | - |
| 794 | if (err| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 25778 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
&& (| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
load_flags & ( 1L << 3 ))| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-25778 |
| 795 | load_flags &= ~( 1L << 3 ); | - |
| 796 | err = FT_Load_Glyph(face, glyph, load_flags); | - |
| 797 | }executed 2 times by 1 test: end of block | 2 |
| 798 | if (err == FT_Err_Too_Few_Arguments| TRUE | never evaluated | | FALSE | evaluated 25780 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 0-25780 |
| 799 | | - |
| 800 | load_flags |= ( 1L << 5 ); | - |
| 801 | err = FT_Load_Glyph(face, glyph, load_flags); | - |
| 802 | } never executed: end of block else if (err == FT_Err_Execution_Too_Long| TRUE | never evaluated | | FALSE | evaluated 25780 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 0-25780 |
| 803 | | - |
| 804 | | - |
| 805 | QMessageLogger(__FILE__, 909, __PRETTY_FUNCTION__).warning("load glyph failed due to broken hinting bytecode in font, switching to auto hinting"); | - |
| 806 | default_load_flags |= ( 1L << 5 ); | - |
| 807 | load_flags |= ( 1L << 5 ); | - |
| 808 | err = FT_Load_Glyph(face, glyph, load_flags); | - |
| 809 | } never executed: end of block | 0 |
| 810 | if (err != FT_Err_Ok| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 25778 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 2-25778 |
| 811 | QMessageLogger(__FILE__, 915, __PRETTY_FUNCTION__).warning("load glyph failed err=%x face=%p, glyph=%d", err, face, glyph); | - |
| 812 | if (set| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 813 | set->executed 2 times by 1 test: set->setGlyphMissing(glyph); setGlyphMissing(glyph);executed 2 times by 1 test: set->setGlyphMissing(glyph); | 2 |
| 814 | returnexecuted 2 times by 1 test: return &emptyGlyph; &emptyGlyph;executed 2 times by 1 test: return &emptyGlyph; | 2 |
| 815 | } | - |
| 816 | | - |
| 817 | FT_GlyphSlot slot = face->glyph; | - |
| 818 | | - |
| 819 | if (embolden| TRUE | never evaluated | | FALSE | evaluated 25778 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 0-25778 |
| 820 | FT_GlyphSlot_Embolden(slot); never executed: FT_GlyphSlot_Embolden(slot); | 0 |
| 821 | if (obliquen| TRUE | never evaluated | | FALSE | evaluated 25778 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 0-25778 |
| 822 | FT_GlyphSlot_Oblique(slot); | - |
| 823 | | - |
| 824 | | - |
| 825 | | - |
| 826 | transform = true; | - |
| 827 | FT_Matrix m; | - |
| 828 | m.xx = 0x10000; | - |
| 829 | m.yx = 0x0; | - |
| 830 | m.xy = 0x6000; | - |
| 831 | m.yy = 0x10000; | - |
| 832 | | - |
| 833 | FT_Matrix_Multiply(&m, &matrix); | - |
| 834 | } never executed: end of block | 0 |
| 835 | | - |
| 836 | GlyphInfo info; | - |
| 837 | info.linearAdvance = slot->linearHoriAdvance >> 10; | - |
| 838 | info.xOff = (((((slot->advance.x)+32) & -64)) >> 6); | - |
| 839 | info.yOff = 0; | - |
| 840 | | - |
| 841 | if ((set| TRUE | evaluated 25778 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
&& set->| TRUE | evaluated 41 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| | FALSE | evaluated 25737 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
outline_drawing| TRUE | evaluated 41 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| | FALSE | evaluated 25737 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) || fetchMetricsOnly| TRUE | evaluated 7405 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 0-25778 |
| 842 | int left = ((slot->metrics.horiBearingX) & -64); | - |
| 843 | int right = (((slot->metrics.horiBearingX + slot->metrics.width)+63) & -64); | - |
| 844 | int top = (((slot->metrics.horiBearingY)+63) & -64); | - |
| 845 | int bottom = ((slot->metrics.horiBearingY - slot->metrics.height) & -64); | - |
| 846 | info.x = ((left) >> 6); | - |
| 847 | info.y = ((top) >> 6); | - |
| 848 | info.width = ((right - left) >> 6); | - |
| 849 | info.height = ((top - bottom) >> 6); | - |
| 850 | | - |
| 851 | | - |
| 852 | if (areMetricsTooLarge(info)| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 7430 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 16-7430 |
| 853 | returnexecuted 16 times by 1 test: return 0; 0;executed 16 times by 1 test: return 0; | 16 |
| 854 | | - |
| 855 | g = new Glyph; | - |
| 856 | g->data = 0; | - |
| 857 | g->linearAdvance = info.linearAdvance; | - |
| 858 | g->width = info.width; | - |
| 859 | g->height = info.height; | - |
| 860 | g->x = info.x; | - |
| 861 | g->y = info.y; | - |
| 862 | g->advance = info.xOff; | - |
| 863 | g->format = format; | - |
| 864 | | - |
| 865 | if (set| TRUE | evaluated 7430 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
) | 0-7430 |
| 866 | set->executed 7430 times by 114 tests: set->setGlyph(glyph, subPixelPosition, g);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
setGlyph(glyph, subPixelPosition, g);executed 7430 times by 114 tests: set->setGlyph(glyph, subPixelPosition, g);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 7430 |
| 867 | | - |
| 868 | returnexecuted 7430 times by 114 tests: return g;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
g;executed 7430 times by 114 tests: return g;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 7430 |
| 869 | } | - |
| 870 | | - |
| 871 | int glyph_buffer_size = 0; | - |
| 872 | QScopedArrayPointer<uchar> glyph_buffer; | - |
| 873 | | - |
| 874 | bool useFreetypeRenderGlyph = false; | - |
| 875 | if (slot->format == FT_GLYPH_FORMAT_OUTLINE| TRUE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
&& (hsubpixel| TRUE | never evaluated | | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| vfactor != 1| TRUE | never evaluated | | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
)) { | 0-18332 |
| 876 | err = FT_Library_SetLcdFilter(slot->library, (FT_LcdFilter)lcdFilterType); | - |
| 877 | if (err == FT_Err_Ok| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 878 | useFreetypeRenderGlyph = true; never executed: useFreetypeRenderGlyph = true; | 0 |
| 879 | } never executed: end of block | 0 |
| 880 | | - |
| 881 | if (useFreetypeRenderGlyph| TRUE | never evaluated | | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 0-18332 |
| 882 | err = FT_Render_Glyph(slot, hsubpixel ? FT_RENDER_MODE_LCD : FT_RENDER_MODE_LCD_V); | - |
| 883 | | - |
| 884 | if (err != FT_Err_Ok| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 885 | QMessageLogger(__FILE__, 989, __PRETTY_FUNCTION__).warning("render glyph failed err=%x face=%p, glyph=%d", err, face, glyph); never executed: QMessageLogger(__FILE__, 989, __PRETTY_FUNCTION__).warning("render glyph failed err=%x face=%p, glyph=%d", err, face, glyph); | 0 |
| 886 | | - |
| 887 | FT_Library_SetLcdFilter(slot->library, FT_LCD_FILTER_NONE); | - |
| 888 | | - |
| 889 | info.height = slot->bitmap.rows / vfactor; | - |
| 890 | info.width = hsubpixel| TRUE | never evaluated | | FALSE | never evaluated |
? slot->bitmap.width / 3 : slot->bitmap.width; | 0 |
| 891 | info.x = slot->bitmap_left; | - |
| 892 | info.y = slot->bitmap_top; | - |
| 893 | | - |
| 894 | glyph_buffer_size = info.width * info.height * 4; | - |
| 895 | glyph_buffer.reset(new uchar[glyph_buffer_size]); | - |
| 896 | | - |
| 897 | if (hsubpixel| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 898 | convertRGBToARGB(slot->bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, slot->bitmap.pitch, subpixelType != Subpixel_RGB, false); never executed: convertRGBToARGB(slot->bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, slot->bitmap.pitch, subpixelType != Subpixel_RGB, false); | 0 |
| 899 | else if (vfactor != 1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 900 | convertRGBToARGB_V(slot->bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, slot->bitmap.pitch, subpixelType != Subpixel_VRGB, false); never executed: convertRGBToARGB_V(slot->bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, slot->bitmap.pitch, subpixelType != Subpixel_VRGB, false); | 0 |
| 901 | } never executed: end of block else | 0 |
| 902 | | - |
| 903 | { | - |
| 904 | int left = slot->metrics.horiBearingX; | - |
| 905 | int right = slot->metrics.horiBearingX + slot->metrics.width; | - |
| 906 | int top = slot->metrics.horiBearingY; | - |
| 907 | int bottom = slot->metrics.horiBearingY - slot->metrics.height; | - |
| 908 | if(transform| TRUE | evaluated 2552 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| | FALSE | evaluated 15780 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& slot->format != FT_GLYPH_FORMAT_BITMAP| TRUE | evaluated 2552 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| | FALSE | never evaluated |
) { | 0-15780 |
| 909 | int l, r, t, b; | - |
| 910 | FT_Vector vector; | - |
| 911 | vector.x = left; | - |
| 912 | vector.y = top; | - |
| 913 | FT_Vector_Transform(&vector, &matrix); | - |
| 914 | l = r = vector.x; | - |
| 915 | t = b = vector.y; | - |
| 916 | vector.x = right; | - |
| 917 | vector.y = top; | - |
| 918 | FT_Vector_Transform(&vector, &matrix); | - |
| 919 | if (l > vector.x| TRUE | evaluated 656 times by 1 test | | FALSE | evaluated 1896 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) l = vector.x;executed 656 times by 1 test: l = vector.x; | 656-1896 |
| 920 | if (r < vector.x| TRUE | evaluated 1279 times by 5 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| | FALSE | evaluated 1273 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) r = vector.x;executed 1279 times by 5 tests: r = vector.x;Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| 1273-1279 |
| 921 | if (t < vector.y| TRUE | evaluated 736 times by 3 testsEvaluated by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QTabWidget
| | FALSE | evaluated 1816 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) t = vector.y;executed 736 times by 3 tests: t = vector.y;Executed by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QTabWidget
| 736-1816 |
| 922 | if (b > vector.y| TRUE | evaluated 688 times by 5 testsEvaluated by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QStaticText
- tst_QTabWidget
| | FALSE | evaluated 1864 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) b = vector.y;executed 688 times by 5 tests: b = vector.y;Executed by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QStaticText
- tst_QTabWidget
| 688-1864 |
| 923 | vector.x = right; | - |
| 924 | vector.y = bottom; | - |
| 925 | FT_Vector_Transform(&vector, &matrix); | - |
| 926 | if (l > vector.x| TRUE | evaluated 590 times by 5 testsEvaluated by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QStaticText
- tst_QTabWidget
| | FALSE | evaluated 1962 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) l = vector.x;executed 590 times by 5 tests: l = vector.x;Executed by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QStaticText
- tst_QTabWidget
| 590-1962 |
| 927 | if (r < vector.x| TRUE | evaluated 631 times by 3 testsEvaluated by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QTabWidget
| | FALSE | evaluated 1921 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) r = vector.x;executed 631 times by 3 tests: r = vector.x;Executed by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QTabWidget
| 631-1921 |
| 928 | if (t < vector.y| TRUE | evaluated 572 times by 1 test | | FALSE | evaluated 1980 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) t = vector.y;executed 572 times by 1 test: t = vector.y; | 572-1980 |
| 929 | if (b > vector.y| TRUE | evaluated 1186 times by 5 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| | FALSE | evaluated 1366 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) b = vector.y;executed 1186 times by 5 tests: b = vector.y;Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| 1186-1366 |
| 930 | vector.x = left; | - |
| 931 | vector.y = bottom; | - |
| 932 | FT_Vector_Transform(&vector, &matrix); | - |
| 933 | if (l > vector.x| TRUE | evaluated 334 times by 3 testsEvaluated by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QStaticText
| | FALSE | evaluated 2218 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) l = vector.x;executed 334 times by 3 tests: l = vector.x;Executed by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QStaticText
| 334-2218 |
| 934 | if (r < vector.x| TRUE | evaluated 320 times by 1 test | | FALSE | evaluated 2232 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) r = vector.x;executed 320 times by 1 test: r = vector.x; | 320-2232 |
| 935 | if (t < vector.y| TRUE | evaluated 256 times by 1 test | | FALSE | evaluated 2296 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) t = vector.y;executed 256 times by 1 test: t = vector.y; | 256-2296 |
| 936 | if (b > vector.y| TRUE | evaluated 320 times by 1 test | | FALSE | evaluated 2232 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) b = vector.y;executed 320 times by 1 test: b = vector.y; | 320-2232 |
| 937 | left = l; | - |
| 938 | right = r; | - |
| 939 | top = t; | - |
| 940 | bottom = b; | - |
| 941 | }executed 2552 times by 7 tests: end of blockExecuted by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| 2552 |
| 942 | left = ((left) & -64); | - |
| 943 | right = (((right)+63) & -64); | - |
| 944 | bottom = ((bottom) & -64); | - |
| 945 | top = (((top)+63) & -64); | - |
| 946 | | - |
| 947 | int hpixels = ((right - left) >> 6); | - |
| 948 | | - |
| 949 | if (subPixelPosition > 0| TRUE | evaluated 50 times by 1 test | | FALSE | evaluated 18282 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& format != Format_Mono| TRUE | evaluated 50 times by 1 test | | FALSE | never evaluated |
) | 0-18282 |
| 950 | hpixels++;executed 50 times by 1 test: hpixels++; | 50 |
| 951 | | - |
| 952 | if (hsubpixel| TRUE | never evaluated | | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-18332 |
| 953 | hpixels = hpixels*3 + 8; never executed: hpixels = hpixels*3 + 8; | 0 |
| 954 | info.width = hpixels; | - |
| 955 | info.height = ((top - bottom) >> 6); | - |
| 956 | info.x = ((left) >> 6); | - |
| 957 | info.y = ((top) >> 6); | - |
| 958 | if (hsubpixel| TRUE | never evaluated | | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 0-18332 |
| 959 | info.width /= 3; | - |
| 960 | info.x -= 1; | - |
| 961 | } never executed: end of block | 0 |
| 962 | | - |
| 963 | | - |
| 964 | if (areMetricsTooLarge(info)| TRUE | never evaluated | | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-18332 |
| 965 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 966 | | - |
| 967 | int pitch = (format == Format_Mono| TRUE | evaluated 66 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| | FALSE | evaluated 18266 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? ((info.width + 31) & ~31) >> 3 : | 66-18266 |
| 968 | (format == Format_A8| TRUE | evaluated 18266 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
? (info.width + 3) & ~3 : info.width * 4)); | 0-18266 |
| 969 | if (glyph_buffer_size < pitch * info.height| TRUE | evaluated 4599 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 13733 times by 57 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
) { | 4599-13733 |
| 970 | glyph_buffer_size = pitch * info.height; | - |
| 971 | glyph_buffer.reset(new uchar[glyph_buffer_size]); | - |
| 972 | memset(glyph_buffer.data(), 0, glyph_buffer_size); | - |
| 973 | }executed 4599 times by 76 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 4599 |
| 974 | | - |
| 975 | if (slot->format == FT_GLYPH_FORMAT_OUTLINE| TRUE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
) { | 0-18332 |
| 976 | FT_Bitmap bitmap; | - |
| 977 | bitmap.rows = info.height*vfactor; | - |
| 978 | bitmap.width = hpixels; | - |
| 979 | bitmap.pitch = format == Format_Mono| TRUE | evaluated 66 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| | FALSE | evaluated 18266 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? (((info.width + 31) & ~31) >> 3) : ((bitmap.width + 3) & ~3); | 66-18266 |
| 980 | int bitmap_buffer_size = bitmap.rows * bitmap.pitch; | - |
| 981 | if (!hsubpixel| TRUE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
&& vfactor == 1| TRUE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
&& format != Format_A32| TRUE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
) { | 0-18332 |
| 982 | ((!(glyph_buffer_size <= bitmap_buffer_size)) ? qt_assert("glyph_buffer_size <= bitmap_buffer_size",__FILE__,1086) : qt_noop()); | - |
| 983 | bitmap.buffer = glyph_buffer.data(); | - |
| 984 | }executed 18332 times by 76 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
else { | 18332 |
| 985 | bitmap.buffer = new uchar[bitmap_buffer_size]; | - |
| 986 | memset(bitmap.buffer, 0, bitmap_buffer_size); | - |
| 987 | } never executed: end of block | 0 |
| 988 | bitmap.pixel_mode = format == Format_Mono| TRUE | evaluated 66 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| | FALSE | evaluated 18266 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? FT_PIXEL_MODE_MONO : FT_PIXEL_MODE_GRAY; | 66-18266 |
| 989 | FT_Matrix matrix; | - |
| 990 | matrix.xx = (hsubpixel| TRUE | never evaluated | | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? 3 : 1) << 16; | 0-18332 |
| 991 | matrix.yy = vfactor << 16; | - |
| 992 | matrix.yx = matrix.xy = 0; | - |
| 993 | | - |
| 994 | FT_Outline_Transform(&slot->outline, &matrix); | - |
| 995 | FT_Outline_Translate (&slot->outline, (hsubpixel ? -3*left +(4<<6) : -left), -bottom*vfactor); | - |
| 996 | FT_Outline_Get_Bitmap(slot->library, &slot->outline, &bitmap); | - |
| 997 | if (hsubpixel| TRUE | never evaluated | | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 0-18332 |
| 998 | ((!(bitmap.pixel_mode == FT_PIXEL_MODE_GRAY)) ? qt_assert("bitmap.pixel_mode == FT_PIXEL_MODE_GRAY",__FILE__,1102) : qt_noop()); | - |
| 999 | ((!(antialias)) ? qt_assert("antialias",__FILE__,1103) : qt_noop()); | - |
| 1000 | uchar *convoluted = new uchar[bitmap_buffer_size]; | - |
| 1001 | bool useLegacyLcdFilter = false; | - |
| 1002 | | - |
| 1003 | | - |
| 1004 | | - |
| 1005 | uchar *buffer = bitmap.buffer; | - |
| 1006 | if (!useLegacyLcdFilter| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1007 | convoluteBitmap(bitmap.buffer, convoluted, bitmap.width, info.height, bitmap.pitch); | - |
| 1008 | buffer = convoluted; | - |
| 1009 | } never executed: end of block | 0 |
| 1010 | convertRGBToARGB(buffer + 1, (uint *)glyph_buffer.data(), info.width, info.height, bitmap.pitch, subpixelType != Subpixel_RGB, useLegacyLcdFilter); | - |
| 1011 | delete [] convoluted; | - |
| 1012 | } never executed: end of block else if (vfactor != 1| TRUE | never evaluated | | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 0-18332 |
| 1013 | convertRGBToARGB_V(bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, bitmap.pitch, subpixelType != Subpixel_VRGB, true); | - |
| 1014 | } never executed: end of block else if (format == Format_A32| TRUE | never evaluated | | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& bitmap.pixel_mode == FT_PIXEL_MODE_GRAY| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-18332 |
| 1015 | convertGRAYToARGB(bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, bitmap.pitch); | - |
| 1016 | } never executed: end of block | 0 |
| 1017 | | - |
| 1018 | if (bitmap.buffer != glyph_buffer.data()| TRUE | never evaluated | | FALSE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-18332 |
| 1019 | delete [] bitmap.buffer; never executed: delete [] bitmap.buffer; | 0 |
| 1020 | }executed 18332 times by 76 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
else if (slot->format == FT_GLYPH_FORMAT_BITMAP| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-18332 |
| 1021 | ((!(slot->bitmap.pixel_mode == FT_PIXEL_MODE_MONO)) ? qt_assert("slot->bitmap.pixel_mode == FT_PIXEL_MODE_MONO",__FILE__,1125) : qt_noop()); | - |
| 1022 | uchar *src = slot->bitmap.buffer; | - |
| 1023 | uchar *dst = glyph_buffer.data(); | - |
| 1024 | int h = slot->bitmap.rows; | - |
| 1025 | if (format == Format_Mono| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1026 | int bytes = ((info.width + 7) & ~7) >> 3; | - |
| 1027 | while (h--| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1028 | memcpy (dst, src, bytes); | - |
| 1029 | dst += pitch; | - |
| 1030 | src += slot->bitmap.pitch; | - |
| 1031 | } never executed: end of block | 0 |
| 1032 | } never executed: end of block else { | 0 |
| 1033 | if (hsubpixel| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1034 | while (h--| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1035 | uint *dd = (uint *)dst; | - |
| 1036 | *dd++ = 0; | - |
| 1037 | for (int x = 0; x < static_cast<int>(slot->bitmap.width)| TRUE | never evaluated | | FALSE | never evaluated |
; x++) { | 0 |
| 1038 | uint a = ((| TRUE | never evaluated | | FALSE | never evaluated |
src[x >> 3] & (0x80 >> (x & 7)))| TRUE | never evaluated | | FALSE | never evaluated |
? 0xffffff : 0x000000); | 0 |
| 1039 | *dd++ = a; | - |
| 1040 | } never executed: end of block | 0 |
| 1041 | *dd++ = 0; | - |
| 1042 | dst += pitch; | - |
| 1043 | src += slot->bitmap.pitch; | - |
| 1044 | } never executed: end of block | 0 |
| 1045 | } never executed: end of block else if (vfactor != 1| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1046 | while (h--| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1047 | uint *dd = (uint *)dst; | - |
| 1048 | for (int x = 0; x < static_cast<int>(slot->bitmap.width)| TRUE | never evaluated | | FALSE | never evaluated |
; x++) { | 0 |
| 1049 | uint a = ((| TRUE | never evaluated | | FALSE | never evaluated |
src[x >> 3] & (0x80 >> (x & 7)))| TRUE | never evaluated | | FALSE | never evaluated |
? 0xffffff : 0x000000); | 0 |
| 1050 | *dd++ = a; | - |
| 1051 | } never executed: end of block | 0 |
| 1052 | dst += pitch; | - |
| 1053 | src += slot->bitmap.pitch; | - |
| 1054 | } never executed: end of block | 0 |
| 1055 | } never executed: end of block else { | 0 |
| 1056 | while (h--| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1057 | for (int x = 0; x < static_cast<int>(slot->bitmap.width)| TRUE | never evaluated | | FALSE | never evaluated |
; x++) { | 0 |
| 1058 | unsigned char a = ((| TRUE | never evaluated | | FALSE | never evaluated |
src[x >> 3] & (0x80 >> (x & 7)))| TRUE | never evaluated | | FALSE | never evaluated |
? 0xff : 0x00); | 0 |
| 1059 | dst[x] = a; | - |
| 1060 | } never executed: end of block | 0 |
| 1061 | dst += pitch; | - |
| 1062 | src += slot->bitmap.pitch; | - |
| 1063 | } never executed: end of block | 0 |
| 1064 | } never executed: end of block | 0 |
| 1065 | } | - |
| 1066 | } else { | - |
| 1067 | QMessageLogger(__FILE__, 1171, __PRETTY_FUNCTION__).warning("QFontEngine: Glyph neither outline nor bitmap format=%d", slot->format); | - |
| 1068 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 1069 | } | - |
| 1070 | } | - |
| 1071 | | - |
| 1072 | | - |
| 1073 | if (!g| TRUE | evaluated 4799 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 13533 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
) { | 4799-13533 |
| 1074 | g = new Glyph; | - |
| 1075 | g->data = 0; | - |
| 1076 | }executed 4799 times by 76 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 4799 |
| 1077 | | - |
| 1078 | g->linearAdvance = info.linearAdvance; | - |
| 1079 | g->width = info.width; | - |
| 1080 | g->height = info.height; | - |
| 1081 | g->x = info.x; | - |
| 1082 | g->y = info.y; | - |
| 1083 | g->advance = info.xOff; | - |
| 1084 | g->format = format; | - |
| 1085 | delete [] g->data; | - |
| 1086 | g->data = glyph_buffer.take(); | - |
| 1087 | | - |
| 1088 | if (set| TRUE | evaluated 18332 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
) | 0-18332 |
| 1089 | set->executed 18332 times by 76 tests: set->setGlyph(glyph, subPixelPosition, g);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
setGlyph(glyph, subPixelPosition, g);executed 18332 times by 76 tests: set->setGlyph(glyph, subPixelPosition, g);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 18332 |
| 1090 | | - |
| 1091 | returnexecuted 18332 times by 76 tests: return g;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
g;executed 18332 times by 76 tests: return g;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 18332 |
| 1092 | } | - |
| 1093 | | - |
| 1094 | QFontEngine::FaceId QFontEngineFT::faceId() const | - |
| 1095 | { | - |
| 1096 | returnexecuted 3670 times by 123 tests: return face_id;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
face_id;executed 3670 times by 123 tests: return face_id;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 3670 |
| 1097 | } | - |
| 1098 | | - |
| 1099 | QFontEngine::Properties QFontEngineFT::properties() const | - |
| 1100 | { | - |
| 1101 | Properties p = freetype->properties(); | - |
| 1102 | if (p.postscriptName.isEmpty()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1103 | p.postscriptName = QFontEngine::convertToPostscriptFontFamilyName(fontDef.family.toUtf8()); | - |
| 1104 | } never executed: end of block | 0 |
| 1105 | | - |
| 1106 | return never executed: return freetype->properties(); freetype->properties();never executed: return freetype->properties(); | 0 |
| 1107 | } | - |
| 1108 | | - |
| 1109 | QFixed QFontEngineFT::emSquareSize() const | - |
| 1110 | { | - |
| 1111 | if ((| TRUE | evaluated 2311 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
freetype->face->face_flags & ( 1L << 0 ) )| TRUE | evaluated 2311 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
) | 0-2311 |
| 1112 | returnexecuted 2311 times by 123 tests: return freetype->face->units_per_EM;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
freetype->face->units_per_EM;executed 2311 times by 123 tests: return freetype->face->units_per_EM;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2311 |
| 1113 | else | - |
| 1114 | return never executed: return freetype->face->size->metrics.y_ppem; freetype->face->size->metrics.y_ppem;never executed: return freetype->face->size->metrics.y_ppem; | 0 |
| 1115 | } | - |
| 1116 | | - |
| 1117 | bool QFontEngineFT::getSfntTableData(uint tag, uchar *buffer, uint *length) const | - |
| 1118 | { | - |
| 1119 | returnexecuted 935 times by 110 tests: return ft_getSfntTable(freetype->face, tag, buffer, length);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
ft_getSfntTable(freetype->face, tag, buffer, length);executed 935 times by 110 tests: return ft_getSfntTable(freetype->face, tag, buffer, length);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 935 |
| 1120 | } | - |
| 1121 | | - |
| 1122 | int QFontEngineFT::synthesized() const | - |
| 1123 | { | - |
| 1124 | int s = 0; | - |
| 1125 | if ((| TRUE | never evaluated | | FALSE | never evaluated |
fontDef.style != QFont::StyleNormal)| TRUE | never evaluated | | FALSE | never evaluated |
&& !(freetype->face->style_flags & ( 1 << 0 ))| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1126 | s = SynthesizedItalic; never executed: s = SynthesizedItalic; | 0 |
| 1127 | if ((| TRUE | never evaluated | | FALSE | never evaluated |
fontDef.weight >= QFont::Bold)| TRUE | never evaluated | | FALSE | never evaluated |
&& !(freetype->face->style_flags & ( 1 << 1 ))| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1128 | s |= SynthesizedBold; never executed: s |= SynthesizedBold; | 0 |
| 1129 | if (fontDef.stretch != 100| TRUE | never evaluated | | FALSE | never evaluated |
&& (| TRUE | never evaluated | | FALSE | never evaluated |
freetype->face->face_flags & ( 1L << 0 ) )| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1130 | s |= SynthesizedStretch; never executed: s |= SynthesizedStretch; | 0 |
| 1131 | return never executed: return s; s;never executed: return s; | 0 |
| 1132 | } | - |
| 1133 | | - |
| 1134 | QFixed QFontEngineFT::ascent() const | - |
| 1135 | { | - |
| 1136 | returnexecuted 793506 times by 121 tests: return QFixed::fromFixed(metrics.ascender);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
QFixed::fromFixed(metrics.ascender);executed 793506 times by 121 tests: return QFixed::fromFixed(metrics.ascender);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 793506 |
| 1137 | } | - |
| 1138 | | - |
| 1139 | QFixed QFontEngineFT::descent() const | - |
| 1140 | { | - |
| 1141 | returnexecuted 789516 times by 121 tests: return QFixed::fromFixed(-metrics.descender);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
QFixed::fromFixed(-metrics.descender);executed 789516 times by 121 tests: return QFixed::fromFixed(-metrics.descender);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 789516 |
| 1142 | } | - |
| 1143 | | - |
| 1144 | QFixed QFontEngineFT::leading() const | - |
| 1145 | { | - |
| 1146 | returnexecuted 726541 times by 117 tests: return QFixed::fromFixed(metrics.height - metrics.ascender + metrics.descender);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
QFixed::fromFixed(metrics.height - metrics.ascender + metrics.descender);executed 726541 times by 117 tests: return QFixed::fromFixed(metrics.height - metrics.ascender + metrics.descender);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 726541 |
| 1147 | } | - |
| 1148 | | - |
| 1149 | QFixed QFontEngineFT::xHeight() const | - |
| 1150 | { | - |
| 1151 | TT_OS2 *os2 = (TT_OS2 *)FT_Get_Sfnt_Table(freetype->face, ft_sfnt_os2); | - |
| 1152 | if (os2| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
&& os2->sxHeight| TRUE | never evaluated | | FALSE | evaluated 12 times by 1 test |
) { | 0-12 |
| 1153 | lockFace(); | - |
| 1154 | QFixed answer = QFixed(os2->sxHeight * freetype->face->size->metrics.y_ppem) / emSquareSize(); | - |
| 1155 | unlockFace(); | - |
| 1156 | return never executed: return answer; answer;never executed: return answer; | 0 |
| 1157 | } | - |
| 1158 | returnexecuted 12 times by 1 test: return QFontEngine::xHeight(); QFontEngine::xHeight();executed 12 times by 1 test: return QFontEngine::xHeight(); | 12 |
| 1159 | } | - |
| 1160 | | - |
| 1161 | QFixed QFontEngineFT::averageCharWidth() const | - |
| 1162 | { | - |
| 1163 | TT_OS2 *os2 = (TT_OS2 *)FT_Get_Sfnt_Table(freetype->face, ft_sfnt_os2); | - |
| 1164 | if (os2| TRUE | evaluated 217 times by 22 testsEvaluated by:- tst_QApplication
- tst_QDataWidgetMapper
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressDialog
- tst_QSplitter
- tst_QStackedLayout
- tst_QTabWidget
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QWidget
- tst_QWizard
| | FALSE | never evaluated |
&& os2->xAvgCharWidth| TRUE | evaluated 217 times by 22 testsEvaluated by:- tst_QApplication
- tst_QDataWidgetMapper
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressDialog
- tst_QSplitter
- tst_QStackedLayout
- tst_QTabWidget
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QWidget
- tst_QWizard
| | FALSE | never evaluated |
) { | 0-217 |
| 1165 | lockFace(); | - |
| 1166 | QFixed answer = QFixed(os2->xAvgCharWidth * freetype->face->size->metrics.x_ppem) / emSquareSize(); | - |
| 1167 | unlockFace(); | - |
| 1168 | returnexecuted 217 times by 22 tests: return answer;Executed by:- tst_QApplication
- tst_QDataWidgetMapper
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressDialog
- tst_QSplitter
- tst_QStackedLayout
- tst_QTabWidget
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QWidget
- tst_QWizard
answer;executed 217 times by 22 tests: return answer;Executed by:- tst_QApplication
- tst_QDataWidgetMapper
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressDialog
- tst_QSplitter
- tst_QStackedLayout
- tst_QTabWidget
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QWidget
- tst_QWizard
| 217 |
| 1169 | } | - |
| 1170 | return never executed: return QFontEngine::averageCharWidth(); QFontEngine::averageCharWidth();never executed: return QFontEngine::averageCharWidth(); | 0 |
| 1171 | } | - |
| 1172 | | - |
| 1173 | qreal QFontEngineFT::maxCharWidth() const | - |
| 1174 | { | - |
| 1175 | returnexecuted 2960 times by 49 tests: return metrics.max_advance >> 6;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QHeaderView
- ...
metrics.max_advance >> 6;executed 2960 times by 49 tests: return metrics.max_advance >> 6;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QHeaderView
- ...
| 2960 |
| 1176 | } | - |
| 1177 | | - |
| 1178 | QFixed QFontEngineFT::lineThickness() const | - |
| 1179 | { | - |
| 1180 | returnexecuted 454 times by 24 tests: return line_thickness;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPrinter
- tst_QPushButton
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QWizard
- tst_languageChange
line_thickness;executed 454 times by 24 tests: return line_thickness;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPrinter
- tst_QPushButton
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QWizard
- tst_languageChange
| 454 |
| 1181 | } | - |
| 1182 | | - |
| 1183 | QFixed QFontEngineFT::underlinePosition() const | - |
| 1184 | { | - |
| 1185 | returnexecuted 451 times by 23 tests: return underline_position;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPrinter
- tst_QPushButton
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QWizard
- tst_languageChange
underline_position;executed 451 times by 23 tests: return underline_position;Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPrinter
- tst_QPushButton
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QWizard
- tst_languageChange
| 451 |
| 1186 | } | - |
| 1187 | | - |
| 1188 | void QFontEngineFT::doKerning(QGlyphLayout *g, QFontEngine::ShaperFlags flags) const | - |
| 1189 | { | - |
| 1190 | if (!kerning_pairs_loaded| TRUE | evaluated 24 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
| | FALSE | evaluated 3089 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
|
) { | 24-3089 |
| 1191 | kerning_pairs_loaded = true; | - |
| 1192 | lockFace(); | - |
| 1193 | if (freetype->face->size->metrics.x_ppem != 0| TRUE | evaluated 24 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
| | FALSE | never evaluated |
) { | 0-24 |
| 1194 | QFixed scalingFactor = emSquareSize() / QFixed(freetype->face->size->metrics.x_ppem); | - |
| 1195 | unlockFace(); | - |
| 1196 | const_cast<QFontEngineFT *>(this)->loadKerningPairs(scalingFactor); | - |
| 1197 | }executed 24 times by 6 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
else { | 24 |
| 1198 | unlockFace(); | - |
| 1199 | } never executed: end of block | 0 |
| 1200 | } | - |
| 1201 | | - |
| 1202 | if (shouldUseDesignMetrics(flags)| TRUE | never evaluated | | FALSE | evaluated 3113 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
|
&& !(fontDef.styleStrategy & QFont::ForceIntegerMetrics)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-3113 |
| 1203 | flags |= DesignMetrics; never executed: flags |= DesignMetrics; | 0 |
| 1204 | else | - |
| 1205 | flags &= ~DesignMetrics;executed 3113 times by 6 tests: flags &= ~DesignMetrics;Executed by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
| 3113 |
| 1206 | | - |
| 1207 | QFontEngine::doKerning(g, flags); | - |
| 1208 | }executed 3113 times by 6 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
| 3113 |
| 1209 | | - |
| 1210 | static inline FT_Matrix QTransformToFTMatrix(const QTransform &matrix) | - |
| 1211 | { | - |
| 1212 | FT_Matrix m; | - |
| 1213 | | - |
| 1214 | m.xx = FT_Fixed(matrix.m11() * 65536); | - |
| 1215 | m.xy = FT_Fixed(-matrix.m21() * 65536); | - |
| 1216 | m.yx = FT_Fixed(-matrix.m12() * 65536); | - |
| 1217 | m.yy = FT_Fixed(matrix.m22() * 65536); | - |
| 1218 | | - |
| 1219 | returnexecuted 406773 times by 76 tests: return m;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
m;executed 406773 times by 76 tests: return m;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 406773 |
| 1220 | } | - |
| 1221 | | - |
| 1222 | QFontEngineFT::QGlyphSet *QFontEngineFT::loadGlyphSet(const QTransform &matrix) | - |
| 1223 | { | - |
| 1224 | if (matrix.type() > QTransform::TxShear| TRUE | never evaluated | | FALSE | evaluated 406773 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| !cacheEnabled| TRUE | never evaluated | | FALSE | evaluated 406773 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-406773 |
| 1225 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 1226 | | - |
| 1227 | | - |
| 1228 | if (!( freetype->face->face_flags & ( 1L << 0 ) )| TRUE | never evaluated | | FALSE | evaluated 406773 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-406773 |
| 1229 | return never executed: return matrix.type() <= QTransform::TxTranslate ? &defaultGlyphSet : nullptr; matrix.type() <= QTransform::TxTranslate| TRUE | never evaluated | | FALSE | never evaluated |
? &defaultGlyphSet : nullptr;never executed: return matrix.type() <= QTransform::TxTranslate ? &defaultGlyphSet : nullptr; | 0 |
| 1230 | | - |
| 1231 | FT_Matrix m = QTransformToFTMatrix(matrix); | - |
| 1232 | | - |
| 1233 | QGlyphSet *gs = 0; | - |
| 1234 | | - |
| 1235 | for (int i = 0; i < transformedGlyphSets.count()| TRUE | evaluated 407885 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 267 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
; ++i) { | 267-407885 |
| 1236 | const QGlyphSet &g = transformedGlyphSets.at(i); | - |
| 1237 | if (g.transformationMatrix.xx == m.xx| TRUE | evaluated 406548 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 1337 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
| 1337-406548 |
| 1238 | && g.transformationMatrix.xy == m.xy| TRUE | evaluated 406506 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 42 times by 3 testsEvaluated by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QTabWidget
|
| 42-406506 |
| 1239 | && g.transformationMatrix.yx == m.yx| TRUE | evaluated 406506 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
| 0-406506 |
| 1240 | && g.transformationMatrix.yy == m.yy| TRUE | evaluated 406506 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
) { | 0-406506 |
| 1241 | | - |
| 1242 | | - |
| 1243 | transformedGlyphSets.move(i, 0); | - |
| 1244 | gs = &transformedGlyphSets[0]; | - |
| 1245 | break;executed 406506 times by 76 tests: break;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 406506 |
| 1246 | } | - |
| 1247 | }executed 1379 times by 7 tests: end of blockExecuted by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| 1379 |
| 1248 | | - |
| 1249 | if (!gs| TRUE | evaluated 267 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 406506 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 267-406506 |
| 1250 | | - |
| 1251 | if (transformedGlyphSets.count() >= 10| TRUE | evaluated 125 times by 2 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsView
| | FALSE | evaluated 142 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 125-142 |
| 1252 | transformedGlyphSets.move(transformedGlyphSets.size() - 1, 0); | - |
| 1253 | }executed 125 times by 2 tests: end of blockExecuted by:- tst_QGraphicsItem
- tst_QGraphicsView
else { | 125 |
| 1254 | transformedGlyphSets.prepend(QGlyphSet()); | - |
| 1255 | }executed 142 times by 76 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 142 |
| 1256 | gs = &transformedGlyphSets[0]; | - |
| 1257 | gs->clear(); | - |
| 1258 | gs->transformationMatrix = m; | - |
| 1259 | gs->outline_drawing = fontDef.pixelSize * fontDef.pixelSize * qAbs(matrix.det()) >= 64 * 64; | - |
| 1260 | }executed 267 times by 76 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 267 |
| 1261 | ((!(gs != 0)) ? qt_assert("gs != 0",__FILE__,1365) : qt_noop()); | - |
| 1262 | | - |
| 1263 | returnexecuted 406773 times by 76 tests: return gs;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
gs;executed 406773 times by 76 tests: return gs;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 406773 |
| 1264 | } | - |
| 1265 | | - |
| 1266 | void QFontEngineFT::getUnscaledGlyph(glyph_t glyph, QPainterPath *path, glyph_metrics_t *metrics) | - |
| 1267 | { | - |
| 1268 | FT_Face face = lockFace(Unscaled); | - |
| 1269 | FT_Set_Transform(face, 0, 0); | - |
| 1270 | FT_Load_Glyph(face, glyph, ( 1L << 3 )); | - |
| 1271 | | - |
| 1272 | int left = face->glyph->metrics.horiBearingX; | - |
| 1273 | int right = face->glyph->metrics.horiBearingX + face->glyph->metrics.width; | - |
| 1274 | int top = face->glyph->metrics.horiBearingY; | - |
| 1275 | int bottom = face->glyph->metrics.horiBearingY - face->glyph->metrics.height; | - |
| 1276 | | - |
| 1277 | QFixedPoint p; | - |
| 1278 | p.x = 0; | - |
| 1279 | p.y = 0; | - |
| 1280 | | - |
| 1281 | metrics->width = QFixed::fromFixed(right-left); | - |
| 1282 | metrics->height = QFixed::fromFixed(top-bottom); | - |
| 1283 | metrics->x = QFixed::fromFixed(left); | - |
| 1284 | metrics->y = QFixed::fromFixed(-top); | - |
| 1285 | metrics->xoff = QFixed::fromFixed(face->glyph->advance.x); | - |
| 1286 | | - |
| 1287 | if (!( freetype->face->face_flags & ( 1L << 0 ) )| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1288 | QFreetypeFace::addBitmapToPath(face->glyph, p, path); never executed: QFreetypeFace::addBitmapToPath(face->glyph, p, path); | 0 |
| 1289 | else | - |
| 1290 | QFreetypeFace::addGlyphToPath(face, face->glyph, p, path, face->units_per_EM << 6, face->units_per_EM << 6); never executed: QFreetypeFace::addGlyphToPath(face, face->glyph, p, path, face->units_per_EM << 6, face->units_per_EM << 6); | 0 |
| 1291 | | - |
| 1292 | FT_Set_Transform(face, &freetype->matrix, 0); | - |
| 1293 | unlockFace(); | - |
| 1294 | } never executed: end of block | 0 |
| 1295 | | - |
| 1296 | bool QFontEngineFT::supportsTransformation(const QTransform &transform) const | - |
| 1297 | { | - |
| 1298 | returnexecuted 43 times by 4 tests: return transform.type() <= QTransform::TxRotate;Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QStaticText
transform.type() <= QTransform::TxRotate;executed 43 times by 4 tests: return transform.type() <= QTransform::TxRotate;Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QStaticText
| 43 |
| 1299 | } | - |
| 1300 | | - |
| 1301 | void QFontEngineFT::addOutlineToPath(qreal x, qreal y, const QGlyphLayout &glyphs, QPainterPath *path, QTextItem::RenderFlags flags) | - |
| 1302 | { | - |
| 1303 | if (!glyphs.numGlyphs| TRUE | never evaluated | | FALSE | evaluated 5 times by 3 testsEvaluated by:- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) | 0-5 |
| 1304 | return; never executed: return; | 0 |
| 1305 | | - |
| 1306 | if ((| TRUE | evaluated 5 times by 3 testsEvaluated by:- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | never evaluated |
freetype->face->face_flags & ( 1L << 0 ) )| TRUE | evaluated 5 times by 3 testsEvaluated by:- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | never evaluated |
) { | 0-5 |
| 1307 | QFontEngine::addOutlineToPath(x, y, glyphs, path, flags); | - |
| 1308 | }executed 5 times by 3 tests: end of blockExecuted by:- tst_QPicture
- tst_QStaticText
- tst_QTextTable
else { | 5 |
| 1309 | QVarLengthArray<QFixedPoint> positions; | - |
| 1310 | QVarLengthArray<glyph_t> positioned_glyphs; | - |
| 1311 | QTransform matrix; | - |
| 1312 | matrix.translate(x, y); | - |
| 1313 | getGlyphPositions(glyphs, matrix, flags, positioned_glyphs, positions); | - |
| 1314 | | - |
| 1315 | FT_Face face = lockFace(Unscaled); | - |
| 1316 | for (int gl = 0; gl < glyphs.numGlyphs| TRUE | never evaluated | | FALSE | never evaluated |
; gl++) { | 0 |
| 1317 | FT_UInt glyph = positioned_glyphs[gl]; | - |
| 1318 | FT_Load_Glyph(face, glyph, ( (FT_Int32)( (FT_RENDER_MODE_MONO) & 15 ) << 16 )); | - |
| 1319 | QFreetypeFace::addBitmapToPath(face->glyph, positions[gl], path); | - |
| 1320 | } never executed: end of block | 0 |
| 1321 | unlockFace(); | - |
| 1322 | } never executed: end of block | 0 |
| 1323 | } | - |
| 1324 | | - |
| 1325 | void QFontEngineFT::addGlyphsToPath(glyph_t *glyphs, QFixedPoint *positions, int numGlyphs, | - |
| 1326 | QPainterPath *path, QTextItem::RenderFlags) | - |
| 1327 | { | - |
| 1328 | FT_Face face = lockFace(Unscaled); | - |
| 1329 | | - |
| 1330 | for (int gl = 0; gl < numGlyphs| TRUE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | evaluated 21 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
; gl++) { | 21-163 |
| 1331 | FT_UInt glyph = glyphs[gl]; | - |
| 1332 | | - |
| 1333 | FT_Load_Glyph(face, glyph, ( 1L << 3 )); | - |
| 1334 | | - |
| 1335 | FT_GlyphSlot g = face->glyph; | - |
| 1336 | if (g->format != FT_GLYPH_FORMAT_OUTLINE| TRUE | never evaluated | | FALSE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) | 0-163 |
| 1337 | continue; never executed: continue; | 0 |
| 1338 | if (embolden| TRUE | never evaluated | | FALSE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) | 0-163 |
| 1339 | FT_GlyphSlot_Embolden(g); never executed: FT_GlyphSlot_Embolden(g); | 0 |
| 1340 | if (obliquen| TRUE | never evaluated | | FALSE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) | 0-163 |
| 1341 | FT_GlyphSlot_Oblique(g); never executed: FT_GlyphSlot_Oblique(g); | 0 |
| 1342 | QFreetypeFace::addGlyphToPath(face, g, positions[gl], path, xsize, ysize); | - |
| 1343 | }executed 163 times by 6 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 163 |
| 1344 | unlockFace(); | - |
| 1345 | }executed 21 times by 6 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 21 |
| 1346 | | - |
| 1347 | glyph_t QFontEngineFT::glyphIndex(uint ucs4) const | - |
| 1348 | { | - |
| 1349 | glyph_t glyph = ucs4 < QFreetypeFace::cmapCacheSize| TRUE | evaluated 5388109 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 15209 times by 32 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentLayout
- ...
|
? freetype->cmapCache[ucs4] : 0; | 15209-5388109 |
| 1350 | if (glyph == 0| TRUE | evaluated 16281 times by 67 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| | FALSE | evaluated 5387037 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 16281-5387037 |
| 1351 | FT_Face face = freetype->face; | - |
| 1352 | glyph = FT_Get_Char_Index(face, ucs4); | - |
| 1353 | if (glyph == 0| TRUE | evaluated 250 times by 5 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QRawFont
- tst_QTextLayout
| | FALSE | evaluated 16031 times by 67 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
|
) { | 250-16031 |
| 1354 | | - |
| 1355 | | - |
| 1356 | if (ucs4 == QChar::Nbsp| TRUE | never evaluated | | FALSE | evaluated 250 times by 5 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QRawFont
- tst_QTextLayout
|
|| ucs4 == QChar::Tabulation| TRUE | never evaluated | | FALSE | evaluated 250 times by 5 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QRawFont
- tst_QTextLayout
|
) { | 0-250 |
| 1357 | glyph = FT_Get_Char_Index(face, QChar::Space); | - |
| 1358 | } never executed: end of block else if (freetype->symbol_map| TRUE | evaluated 39 times by 1 test | | FALSE | evaluated 211 times by 5 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QRawFont
- tst_QTextLayout
|
) { | 0-211 |
| 1359 | | - |
| 1360 | | - |
| 1361 | | - |
| 1362 | | - |
| 1363 | | - |
| 1364 | | - |
| 1365 | FT_Set_Charmap(face, freetype->symbol_map); | - |
| 1366 | glyph = FT_Get_Char_Index(face, ucs4); | - |
| 1367 | FT_Set_Charmap(face, freetype->unicode_map); | - |
| 1368 | }executed 39 times by 1 test: end of block | 39 |
| 1369 | }executed 250 times by 5 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QRawFont
- tst_QTextLayout
| 250 |
| 1370 | if (ucs4 < QFreetypeFace::cmapCacheSize| TRUE | evaluated 1072 times by 54 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 15209 times by 32 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentLayout
- ...
|
) | 1072-15209 |
| 1371 | freetype->cmapCache[ucs4] = glyph;executed 1072 times by 54 tests: freetype->cmapCache[ucs4] = glyph;Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 1072 |
| 1372 | }executed 16281 times by 67 tests: end of blockExecuted by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| 16281 |
| 1373 | | - |
| 1374 | returnexecuted 5403318 times by 114 tests: return glyph;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
glyph;executed 5403318 times by 114 tests: return glyph;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 5403318 |
| 1375 | } | - |
| 1376 | | - |
| 1377 | bool QFontEngineFT::stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, | - |
| 1378 | QFontEngine::ShaperFlags flags) const | - |
| 1379 | { | - |
| 1380 | ((!(glyphs->numGlyphs >= *nglyphs)) ? qt_assert("glyphs->numGlyphs >= *nglyphs",__FILE__,1484) : qt_noop()); | - |
| 1381 | if (*| TRUE | never evaluated | | FALSE | evaluated 663953 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
nglyphs < len| TRUE | never evaluated | | FALSE | evaluated 663953 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 0-663953 |
| 1382 | *nglyphs = len; | - |
| 1383 | return never executed: return false; false;never executed: return false; | 0 |
| 1384 | } | - |
| 1385 | | - |
| 1386 | int glyph_pos = 0; | - |
| 1387 | if (freetype->symbol_map| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 663952 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 1-663952 |
| 1388 | FT_Face face = freetype->face; | - |
| 1389 | QStringIterator it(str, str + len); | - |
| 1390 | while (it.hasNext()| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 1 time by 1 test |
) { | 1-8 |
| 1391 | uint uc = it.next(); | - |
| 1392 | glyphs->glyphs[glyph_pos] = uc < QFreetypeFace::cmapCacheSize| TRUE | evaluated 8 times by 1 test | | FALSE | never evaluated |
? freetype->cmapCache[uc] : 0; | 0-8 |
| 1393 | if ( !glyphs->glyphs[glyph_pos]| TRUE | evaluated 8 times by 1 test | | FALSE | never evaluated |
) { | 0-8 |
| 1394 | | - |
| 1395 | | - |
| 1396 | | - |
| 1397 | | - |
| 1398 | | - |
| 1399 | | - |
| 1400 | glyph_t glyph = FT_Get_Char_Index(face, uc); | - |
| 1401 | | - |
| 1402 | | - |
| 1403 | if (!glyph| TRUE | evaluated 8 times by 1 test | | FALSE | never evaluated |
&& (uc == 0xa0| TRUE | never evaluated | | FALSE | evaluated 8 times by 1 test |
|| uc == 0x9| TRUE | never evaluated | | FALSE | evaluated 8 times by 1 test |
)) { | 0-8 |
| 1404 | uc = 0x20; | - |
| 1405 | glyph = FT_Get_Char_Index(face, uc); | - |
| 1406 | } never executed: end of block | 0 |
| 1407 | if (!glyph| TRUE | evaluated 8 times by 1 test | | FALSE | never evaluated |
) { | 0-8 |
| 1408 | FT_Set_Charmap(face, freetype->symbol_map); | - |
| 1409 | glyph = FT_Get_Char_Index(face, uc); | - |
| 1410 | FT_Set_Charmap(face, freetype->unicode_map); | - |
| 1411 | }executed 8 times by 1 test: end of block | 8 |
| 1412 | glyphs->glyphs[glyph_pos] = glyph; | - |
| 1413 | if (uc < QFreetypeFace::cmapCacheSize| TRUE | evaluated 8 times by 1 test | | FALSE | never evaluated |
) | 0-8 |
| 1414 | freetype->cmapCache[uc] = glyph;executed 8 times by 1 test: freetype->cmapCache[uc] = glyph; | 8 |
| 1415 | }executed 8 times by 1 test: end of block | 8 |
| 1416 | ++glyph_pos; | - |
| 1417 | }executed 8 times by 1 test: end of block | 8 |
| 1418 | }executed 1 time by 1 test: end of block else { | 1 |
| 1419 | FT_Face face = freetype->face; | - |
| 1420 | QStringIterator it(str, str + len); | - |
| 1421 | while (it.hasNext()| TRUE | evaluated 5397305 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 663952 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 663952-5397305 |
| 1422 | uint uc = it.next(); | - |
| 1423 | glyphs->glyphs[glyph_pos] = uc < QFreetypeFace::cmapCacheSize| TRUE | evaluated 5384467 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 12838 times by 30 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- ...
|
? freetype->cmapCache[uc] : 0; | 12838-5384467 |
| 1424 | if (!glyphs->glyphs[glyph_pos]| TRUE | evaluated 17370 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 5379935 times by 109 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 17370-5379935 |
| 1425 | { | - |
| 1426 | redo: | - |
| 1427 | glyph_t glyph = FT_Get_Char_Index(face, uc); | - |
| 1428 | if (!glyph| TRUE | evaluated 323 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QTextLayout
| | FALSE | evaluated 17047 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
&& (uc == 0xa0| TRUE | never evaluated | | FALSE | evaluated 323 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QTextLayout
|
|| uc == 0x9| TRUE | never evaluated | | FALSE | evaluated 323 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QTextLayout
|
)) { | 0-17047 |
| 1429 | uc = 0x20; | - |
| 1430 | goto never executed: goto redo; redo;never executed: goto redo; | 0 |
| 1431 | } | - |
| 1432 | glyphs->glyphs[glyph_pos] = glyph; | - |
| 1433 | if (uc < QFreetypeFace::cmapCacheSize| TRUE | evaluated 4532 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 12838 times by 30 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- ...
|
) | 4532-12838 |
| 1434 | freetype->cmapCache[uc] = glyph;executed 4532 times by 111 tests: freetype->cmapCache[uc] = glyph;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 4532 |
| 1435 | } | - |
| 1436 | }executed 17370 times by 111 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 17370 |
| 1437 | ++glyph_pos; | - |
| 1438 | }executed 5397305 times by 111 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5397305 |
| 1439 | }executed 663952 times by 111 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 663952 |
| 1440 | | - |
| 1441 | *nglyphs = glyph_pos; | - |
| 1442 | glyphs->numGlyphs = glyph_pos; | - |
| 1443 | | - |
| 1444 | if (!(flags & GlyphIndicesOnly)| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 663952 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 1-663952 |
| 1445 | recalcAdvances(glyphs, flags);executed 1 time by 1 test: recalcAdvances(glyphs, flags); | 1 |
| 1446 | | - |
| 1447 | returnexecuted 663953 times by 111 tests: return true;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
true;executed 663953 times by 111 tests: return true;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 663953 |
| 1448 | } | - |
| 1449 | | - |
| 1450 | bool QFontEngineFT::shouldUseDesignMetrics(QFontEngine::ShaperFlags flags) const | - |
| 1451 | { | - |
| 1452 | if (!( freetype->face->face_flags & ( 1L << 0 ) )| TRUE | never evaluated | | FALSE | evaluated 5404483 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 0-5404483 |
| 1453 | return never executed: return false; false;never executed: return false; | 0 |
| 1454 | | - |
| 1455 | returnexecuted 5404483 times by 113 tests: return default_hint_style == HintNone || default_hint_style == HintLight || (flags & DesignMetrics);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
default_hint_style == HintNone| TRUE | evaluated 65 times by 2 tests | | FALSE | evaluated 5404418 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
|| default_hint_style == HintLight| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 5404406 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
|| (flags & DesignMetrics);executed 5404483 times by 113 tests: return default_hint_style == HintNone || default_hint_style == HintLight || (flags & DesignMetrics);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 12-5404483 |
| 1456 | } | - |
| 1457 | | - |
| 1458 | void QFontEngineFT::recalcAdvances(QGlyphLayout *glyphs, QFontEngine::ShaperFlags flags) const | - |
| 1459 | { | - |
| 1460 | FT_Face face = 0; | - |
| 1461 | bool design = shouldUseDesignMetrics(flags); | - |
| 1462 | for (int i = 0; i < glyphs->numGlyphs| TRUE | evaluated 5401568 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 5401370 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
; i++) { | 5401370-5401568 |
| 1463 | Glyph *g = cacheEnabled| TRUE | evaluated 5401568 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | never evaluated |
? defaultGlyphSet.getGlyph(glyphs->glyphs[i]) : 0; | 0-5401568 |
| 1464 | | - |
| 1465 | GlyphFormat acceptableFormat = (| TRUE | evaluated 5401568 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | never evaluated |
defaultFormat != Format_None)| TRUE | evaluated 5401568 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | never evaluated |
? defaultFormat : Format_Mono; | 0-5401568 |
| 1466 | if (g| TRUE | evaluated 5394363 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 7205 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
&& g->format == acceptableFormat| TRUE | evaluated 5394363 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | never evaluated |
) { | 0-5394363 |
| 1467 | glyphs->advances[i] = design| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 5394347 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
? QFixed::fromFixed(g->linearAdvance) : QFixed(g->advance); | 16-5394347 |
| 1468 | }executed 5394363 times by 111 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
else { | 5394363 |
| 1469 | if (!face| TRUE | evaluated 7133 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 72 times by 3 testsEvaluated by:- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
) | 72-7133 |
| 1470 | face = lockFace();executed 7133 times by 113 tests: face = lockFace();Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 7133 |
| 1471 | g = loadGlyph(cacheEnabled ? &defaultGlyphSet : 0, glyphs->glyphs[i], 0, Format_None, true); | - |
| 1472 | if (g| TRUE | evaluated 7189 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 16 times by 1 test |
) | 16-7189 |
| 1473 | glyphs->advances[i] = design| TRUE | evaluated 81 times by 2 tests | | FALSE | evaluated 7108 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
? QFixed::fromFixed(g->linearAdvance) : QFixed(g->advance);executed 7189 times by 113 tests: glyphs->advances[i] = design ? QFixed::fromFixed(g->linearAdvance) : QFixed(g->advance);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 81-7189 |
| 1474 | else | - |
| 1475 | glyphs->advances[i] = design| TRUE | never evaluated | | FALSE | evaluated 16 times by 1 test |
? QFixed::fromFixed(face->glyph->linearHoriAdvance >> 10)executed 16 times by 1 test: glyphs->advances[i] = design ? QFixed::fromFixed(face->glyph->linearHoriAdvance >> 10) : QFixed::fromFixed(face->glyph->metrics.horiAdvance).round(); | 0-16 |
| 1476 | : QFixed::fromFixed(face->glyph->metrics.horiAdvance).round();executed 16 times by 1 test: glyphs->advances[i] = design ? QFixed::fromFixed(face->glyph->linearHoriAdvance >> 10) : QFixed::fromFixed(face->glyph->metrics.horiAdvance).round(); | 16 |
| 1477 | if (!cacheEnabled| TRUE | never evaluated | | FALSE | evaluated 7205 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
&& g != &emptyGlyph| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-7205 |
| 1478 | delete g; never executed: delete g; | 0 |
| 1479 | }executed 7205 times by 113 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 7205 |
| 1480 | } | - |
| 1481 | if (face| TRUE | evaluated 7133 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 5394237 times by 111 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 7133-5394237 |
| 1482 | unlockFace();executed 7133 times by 113 tests: unlockFace();Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 7133 |
| 1483 | | - |
| 1484 | if (fontDef.styleStrategy & QFont::ForceIntegerMetrics| TRUE | evaluated 156 times by 1 test | | FALSE | evaluated 5401214 times by 113 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 156-5401214 |
| 1485 | for (int i = 0; i < glyphs->numGlyphs| TRUE | evaluated 310 times by 1 test | | FALSE | evaluated 156 times by 1 test |
; ++i) | 156-310 |
| 1486 | glyphs->advances[i] = glyphs->advances[i].round();executed 310 times by 1 test: glyphs->advances[i] = glyphs->advances[i].round(); | 310 |
| 1487 | }executed 156 times by 1 test: end of block | 156 |
| 1488 | }executed 5401370 times by 113 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5401370 |
| 1489 | | - |
| 1490 | glyph_metrics_t QFontEngineFT::boundingBox(const QGlyphLayout &glyphs) | - |
| 1491 | { | - |
| 1492 | FT_Face face = 0; | - |
| 1493 | | - |
| 1494 | glyph_metrics_t overall; | - |
| 1495 | | - |
| 1496 | overall.y = -ascent(); | - |
| 1497 | overall.height = ascent() + descent(); | - |
| 1498 | | - |
| 1499 | QFixed ymax = 0; | - |
| 1500 | QFixed xmax = 0; | - |
| 1501 | for (int i = 0; i < glyphs.numGlyphs| TRUE | evaluated 55548 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
| | FALSE | evaluated 3590 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
|
; i++) { | 3590-55548 |
| 1502 | Glyph *g = cacheEnabled| TRUE | evaluated 55548 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
| | FALSE | never evaluated |
? defaultGlyphSet.getGlyph(glyphs.glyphs[i]) : 0; | 0-55548 |
| 1503 | if (!g| TRUE | never evaluated | | FALSE | evaluated 55548 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
|
) { | 0-55548 |
| 1504 | if (!face| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1505 | face = lockFace(); never executed: face = lockFace(); | 0 |
| 1506 | g = loadGlyph(cacheEnabled ? &defaultGlyphSet : 0, glyphs.glyphs[i], 0, Format_None, true); | - |
| 1507 | } never executed: end of block | 0 |
| 1508 | if (g| TRUE | evaluated 55548 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
| | FALSE | never evaluated |
) { | 0-55548 |
| 1509 | QFixed x = overall.xoff + glyphs.offsets[i].x + g->x; | - |
| 1510 | QFixed y = overall.yoff + glyphs.offsets[i].y - g->y; | - |
| 1511 | overall.x = qMin(overall.x, x); | - |
| 1512 | overall.y = qMin(overall.y, y); | - |
| 1513 | xmax = qMax(xmax, x + g->width); | - |
| 1514 | ymax = qMax(ymax, y + g->height); | - |
| 1515 | overall.xoff += g->advance; | - |
| 1516 | if (!cacheEnabled| TRUE | never evaluated | | FALSE | evaluated 55548 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
|
&& g != &emptyGlyph| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-55548 |
| 1517 | delete g; never executed: delete g; | 0 |
| 1518 | }executed 55548 times by 21 tests: end of blockExecuted by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
else { | 55548 |
| 1519 | int left = ((face->glyph->metrics.horiBearingX) & -64); | - |
| 1520 | int right = (((face->glyph->metrics.horiBearingX + face->glyph->metrics.width)+63) & -64); | - |
| 1521 | int top = (((face->glyph->metrics.horiBearingY)+63) & -64); | - |
| 1522 | int bottom = ((face->glyph->metrics.horiBearingY - face->glyph->metrics.height) & -64); | - |
| 1523 | | - |
| 1524 | QFixed x = overall.xoff + glyphs.offsets[i].x - (-((left) >> 6)); | - |
| 1525 | QFixed y = overall.yoff + glyphs.offsets[i].y - ((top) >> 6); | - |
| 1526 | overall.x = qMin(overall.x, x); | - |
| 1527 | overall.y = qMin(overall.y, y); | - |
| 1528 | xmax = qMax(xmax, x + ((right - left) >> 6)); | - |
| 1529 | ymax = qMax(ymax, y + ((top - bottom) >> 6)); | - |
| 1530 | overall.xoff += int((((((face->glyph->advance.x)+32) & -64)) >> 6)); | - |
| 1531 | } never executed: end of block | 0 |
| 1532 | } | - |
| 1533 | overall.height = qMax(overall.height, ymax - overall.y); | - |
| 1534 | overall.width = xmax - overall.x; | - |
| 1535 | | - |
| 1536 | if (face| TRUE | never evaluated | | FALSE | evaluated 3590 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
|
) | 0-3590 |
| 1537 | unlockFace(); never executed: unlockFace(); | 0 |
| 1538 | | - |
| 1539 | returnexecuted 3590 times by 21 tests: return overall;Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
overall;executed 3590 times by 21 tests: return overall;Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
| 3590 |
| 1540 | } | - |
| 1541 | | - |
| 1542 | glyph_metrics_t QFontEngineFT::boundingBox(glyph_t glyph) | - |
| 1543 | { | - |
| 1544 | FT_Face face = 0; | - |
| 1545 | glyph_metrics_t overall; | - |
| 1546 | Glyph *g = cacheEnabled| TRUE | evaluated 287176 times by 110 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
? defaultGlyphSet.getGlyph(glyph) : 0; | 0-287176 |
| 1547 | if (!g| TRUE | evaluated 242 times by 7 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QTextLayout
| | FALSE | evaluated 286934 times by 110 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 242-286934 |
| 1548 | face = lockFace(); | - |
| 1549 | g = loadGlyph(cacheEnabled ? &defaultGlyphSet : 0, glyph, 0, Format_None, true); | - |
| 1550 | }executed 242 times by 7 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QTextLayout
| 242 |
| 1551 | if (g| TRUE | evaluated 287176 times by 110 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | never evaluated |
) { | 0-287176 |
| 1552 | overall.x = g->x; | - |
| 1553 | overall.y = -g->y; | - |
| 1554 | overall.width = g->width; | - |
| 1555 | overall.height = g->height; | - |
| 1556 | overall.xoff = g->advance; | - |
| 1557 | if (fontDef.styleStrategy & QFont::ForceIntegerMetrics| TRUE | never evaluated | | FALSE | evaluated 287176 times by 110 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 0-287176 |
| 1558 | overall.xoff = overall.xoff.round(); never executed: overall.xoff = overall.xoff.round(); | 0 |
| 1559 | if (!cacheEnabled| TRUE | never evaluated | | FALSE | evaluated 287176 times by 110 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
&& g != &emptyGlyph| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-287176 |
| 1560 | delete g; never executed: delete g; | 0 |
| 1561 | }executed 287176 times by 110 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else { | 287176 |
| 1562 | int left = ((face->glyph->metrics.horiBearingX) & -64); | - |
| 1563 | int right = (((face->glyph->metrics.horiBearingX + face->glyph->metrics.width)+63) & -64); | - |
| 1564 | int top = (((face->glyph->metrics.horiBearingY)+63) & -64); | - |
| 1565 | int bottom = ((face->glyph->metrics.horiBearingY - face->glyph->metrics.height) & -64); | - |
| 1566 | | - |
| 1567 | overall.width = ((right-left) >> 6); | - |
| 1568 | overall.height = ((top-bottom) >> 6); | - |
| 1569 | overall.x = ((left) >> 6); | - |
| 1570 | overall.y = -((top) >> 6); | - |
| 1571 | overall.xoff = (((((face->glyph->advance.x)+32) & -64)) >> 6); | - |
| 1572 | } never executed: end of block | 0 |
| 1573 | if (face| TRUE | evaluated 242 times by 7 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QTextLayout
| | FALSE | evaluated 286934 times by 110 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 242-286934 |
| 1574 | unlockFace();executed 242 times by 7 tests: unlockFace();Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QTextLayout
| 242 |
| 1575 | returnexecuted 287176 times by 110 tests: return overall;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
overall;executed 287176 times by 110 tests: return overall;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 287176 |
| 1576 | } | - |
| 1577 | | - |
| 1578 | glyph_metrics_t QFontEngineFT::boundingBox(glyph_t glyph, const QTransform &matrix) | - |
| 1579 | { | - |
| 1580 | return never executed: return alphaMapBoundingBox(glyph, 0, matrix, QFontEngine::Format_None); alphaMapBoundingBox(glyph, 0, matrix, QFontEngine::Format_None);never executed: return alphaMapBoundingBox(glyph, 0, matrix, QFontEngine::Format_None); | 0 |
| 1581 | } | - |
| 1582 | | - |
| 1583 | glyph_metrics_t QFontEngineFT::alphaMapBoundingBox(glyph_t glyph, QFixed subPixelPosition, const QTransform &matrix, QFontEngine::GlyphFormat format) | - |
| 1584 | { | - |
| 1585 | Glyph *g = loadGlyphFor(glyph, subPixelPosition, format, matrix, true); | - |
| 1586 | | - |
| 1587 | glyph_metrics_t overall; | - |
| 1588 | if (g| TRUE | evaluated 11 times by 1 test | | FALSE | never evaluated |
) { | 0-11 |
| 1589 | overall.x = g->x; | - |
| 1590 | overall.y = -g->y; | - |
| 1591 | overall.width = g->width; | - |
| 1592 | overall.height = g->height; | - |
| 1593 | overall.xoff = g->advance; | - |
| 1594 | if (!cacheEnabled| TRUE | never evaluated | | FALSE | evaluated 11 times by 1 test |
&& g != &emptyGlyph| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-11 |
| 1595 | delete g; never executed: delete g; | 0 |
| 1596 | }executed 11 times by 1 test: end of block else { | 11 |
| 1597 | FT_Face face = lockFace(); | - |
| 1598 | int left = ((face->glyph->metrics.horiBearingX) & -64); | - |
| 1599 | int right = (((face->glyph->metrics.horiBearingX + face->glyph->metrics.width)+63) & -64); | - |
| 1600 | int top = (((face->glyph->metrics.horiBearingY)+63) & -64); | - |
| 1601 | int bottom = ((face->glyph->metrics.horiBearingY - face->glyph->metrics.height) & -64); | - |
| 1602 | | - |
| 1603 | overall.width = ((right-left) >> 6); | - |
| 1604 | overall.height = ((top-bottom) >> 6); | - |
| 1605 | overall.x = ((left) >> 6); | - |
| 1606 | overall.y = -((top) >> 6); | - |
| 1607 | overall.xoff = (((((face->glyph->advance.x)+32) & -64)) >> 6); | - |
| 1608 | unlockFace(); | - |
| 1609 | } never executed: end of block | 0 |
| 1610 | returnexecuted 11 times by 1 test: return overall; overall;executed 11 times by 1 test: return overall; | 11 |
| 1611 | } | - |
| 1612 | | - |
| 1613 | static inline QImage alphaMapFromGlyphData(QFontEngineFT::Glyph *glyph, QFontEngine::GlyphFormat glyphFormat) | - |
| 1614 | { | - |
| 1615 | if (glyph == nullptr| TRUE | never evaluated | | FALSE | evaluated 406762 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| glyph->height == 0| TRUE | evaluated 13722 times by 58 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
| | FALSE | evaluated 393040 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| glyph->width == 0| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 393028 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-406762 |
| 1616 | returnexecuted 13734 times by 58 tests: return QImage();Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
QImage();executed 13734 times by 58 tests: return QImage();Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
| 13734 |
| 1617 | | - |
| 1618 | QImage::Format format = QImage::Format_Invalid; | - |
| 1619 | int bytesPerLine = -1; | - |
| 1620 | switch (glyphFormat) { | - |
| 1621 | caseexecuted 365 times by 3 tests: case QFontEngine::Format_Mono:Executed by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
QFontEngine::Format_Mono:executed 365 times by 3 tests: case QFontEngine::Format_Mono:Executed by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| 365 |
| 1622 | format = QImage::Format_Mono; | - |
| 1623 | bytesPerLine = ((glyph->width + 31) & ~31) >> 3; | - |
| 1624 | break;executed 365 times by 3 tests: break;Executed by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| 365 |
| 1625 | caseexecuted 392663 times by 76 tests: case QFontEngine::Format_A8:Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
QFontEngine::Format_A8:executed 392663 times by 76 tests: case QFontEngine::Format_A8:Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 392663 |
| 1626 | format = QImage::Format_Alpha8; | - |
| 1627 | bytesPerLine = (glyph->width + 3) & ~3; | - |
| 1628 | break;executed 392663 times by 76 tests: break;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 392663 |
| 1629 | case never executed: case QFontEngine::Format_A32: QFontEngine::Format_A32:never executed: case QFontEngine::Format_A32: | 0 |
| 1630 | format = QImage::Format_ARGB32; | - |
| 1631 | bytesPerLine = glyph->width * 4; | - |
| 1632 | break; never executed: break; | 0 |
| 1633 | default never executed: default: :never executed: default: | 0 |
| 1634 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,1738) : qt_noop()); __builtin_unreachable(); } while (0); | - |
| 1635 | } never executed: end of block ; | 0 |
| 1636 | | - |
| 1637 | QImage img(static_cast<const uchar *>(glyph->data), glyph->width, glyph->height, bytesPerLine, format); | - |
| 1638 | if (format == QImage::Format_Mono| TRUE | evaluated 365 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| | FALSE | evaluated 392663 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 365-392663 |
| 1639 | img.setColor(1, QColor(Qt::white).rgba());executed 365 times by 3 tests: img.setColor(1, QColor(Qt::white).rgba());Executed by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| 365 |
| 1640 | returnexecuted 393028 times by 76 tests: return img;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
img;executed 393028 times by 76 tests: return img;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 393028 |
| 1641 | } | - |
| 1642 | | - |
| 1643 | QImage *QFontEngineFT::lockedAlphaMapForGlyph(glyph_t glyphIndex, QFixed subPixelPosition, | - |
| 1644 | QFontEngine::GlyphFormat neededFormat, | - |
| 1645 | const QTransform &t, QPoint *offset) | - |
| 1646 | { | - |
| 1647 | ((!(currentlyLockedAlphaMap.isNull())) ? qt_assert("currentlyLockedAlphaMap.isNull()",__FILE__,1751) : qt_noop()); | - |
| 1648 | | - |
| 1649 | if (isBitmapFont()| TRUE | evaluated 388 times by 2 testsEvaluated by:- tst_QStaticText
- tst_QWizard
| | FALSE | evaluated 406363 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 388-406363 |
| 1650 | neededFormat = Format_Mono;executed 388 times by 2 tests: neededFormat = Format_Mono;Executed by:- tst_QStaticText
- tst_QWizard
| 388 |
| 1651 | else if (neededFormat == Format_None| TRUE | evaluated 394499 times by 72 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| | FALSE | evaluated 11864 times by 9 testsEvaluated by:- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QHeaderView
- tst_QPainter
- tst_QPrinter
- tst_QStaticText
- tst_QTextDocument
- tst_QTreeView
- tst_QTreeWidget
|
&& defaultFormat != Format_None| TRUE | evaluated 394499 times by 72 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| | FALSE | never evaluated |
) | 0-394499 |
| 1652 | neededFormat = defaultFormat;executed 394499 times by 72 tests: neededFormat = defaultFormat;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| 394499 |
| 1653 | else if (neededFormat == Format_None| TRUE | never evaluated | | FALSE | evaluated 11864 times by 9 testsEvaluated by:- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QHeaderView
- tst_QPainter
- tst_QPrinter
- tst_QStaticText
- tst_QTextDocument
- tst_QTreeView
- tst_QTreeWidget
|
) | 0-11864 |
| 1654 | neededFormat = Format_A8; never executed: neededFormat = Format_A8; | 0 |
| 1655 | | - |
| 1656 | Glyph *glyph = loadGlyphFor(glyphIndex, subPixelPosition, neededFormat, t); | - |
| 1657 | | - |
| 1658 | if (offset != 0| TRUE | evaluated 406751 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
&& glyph != 0| TRUE | evaluated 406751 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
) | 0-406751 |
| 1659 | *executed 406751 times by 76 tests: *offset = QPoint(glyph->x, -glyph->y);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
offset = QPoint(glyph->x, -glyph->y);executed 406751 times by 76 tests: *offset = QPoint(glyph->x, -glyph->y);Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 406751 |
| 1660 | | - |
| 1661 | currentlyLockedAlphaMap = alphaMapFromGlyphData(glyph, neededFormat); | - |
| 1662 | | - |
| 1663 | const bool glyphHasGeometry = glyph != nullptr| TRUE | evaluated 406751 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
&& glyph->height != 0| TRUE | evaluated 393029 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 13722 times by 58 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
|
&& glyph->width != 0| TRUE | evaluated 393017 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 12 times by 1 test |
; | 0-406751 |
| 1664 | if (!cacheEnabled| TRUE | never evaluated | | FALSE | evaluated 406751 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& glyph != &emptyGlyph| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-406751 |
| 1665 | currentlyLockedAlphaMap = currentlyLockedAlphaMap.copy(); | - |
| 1666 | delete glyph; | - |
| 1667 | } never executed: end of block | 0 |
| 1668 | | - |
| 1669 | if (!glyphHasGeometry| TRUE | evaluated 13734 times by 58 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
| | FALSE | evaluated 393017 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 13734-393017 |
| 1670 | returnexecuted 13734 times by 58 tests: return nullptr;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
nullptr;executed 13734 times by 58 tests: return nullptr;Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
| 13734 |
| 1671 | | - |
| 1672 | if (currentlyLockedAlphaMap.isNull()| TRUE | never evaluated | | FALSE | evaluated 393017 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-393017 |
| 1673 | return never executed: return QFontEngine::lockedAlphaMapForGlyph(glyphIndex, subPixelPosition, neededFormat, t, offset); QFontEngine::lockedAlphaMapForGlyph(glyphIndex, subPixelPosition, neededFormat, t, offset);never executed: return QFontEngine::lockedAlphaMapForGlyph(glyphIndex, subPixelPosition, neededFormat, t, offset); | 0 |
| 1674 | | - |
| 1675 | QImageData *data = currentlyLockedAlphaMap.data_ptr(); | - |
| 1676 | data->is_locked = true; | - |
| 1677 | | - |
| 1678 | returnexecuted 393017 times by 76 tests: return ¤tlyLockedAlphaMap;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
¤tlyLockedAlphaMap;executed 393017 times by 76 tests: return ¤tlyLockedAlphaMap;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 393017 |
| 1679 | } | - |
| 1680 | | - |
| 1681 | void QFontEngineFT::unlockAlphaMapForGlyph() | - |
| 1682 | { | - |
| 1683 | QFontEngine::unlockAlphaMapForGlyph(); | - |
| 1684 | }executed 393017 times by 76 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 393017 |
| 1685 | | - |
| 1686 | static inline bool is2dRotation(const QTransform &t) | - |
| 1687 | { | - |
| 1688 | returnexecuted 2552 times by 7 tests: return qFuzzyCompare(t.m11(), t.m22()) && qFuzzyCompare(t.m12(), -t.m21()) && qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), qreal(1.0));Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
qFuzzyCompare(t.m11(), t.m22())| TRUE | evaluated 2456 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| | FALSE | evaluated 96 times by 1 test |
&& qFuzzyCompare(t.m12(), -t.m21())| TRUE | evaluated 2456 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| | FALSE | never evaluated |
executed 2552 times by 7 tests: return qFuzzyCompare(t.m11(), t.m22()) && qFuzzyCompare(t.m12(), -t.m21()) && qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), qreal(1.0));Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| 0-2552 |
| 1689 | && qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), qreal(1.0))| TRUE | evaluated 1616 times by 4 testsEvaluated by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QStaticText
- tst_QTabWidget
| | FALSE | evaluated 840 times by 5 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
|
;executed 2552 times by 7 tests: return qFuzzyCompare(t.m11(), t.m22()) && qFuzzyCompare(t.m12(), -t.m21()) && qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), qreal(1.0));Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| 840-2552 |
| 1690 | } | - |
| 1691 | | - |
| 1692 | QFontEngineFT::Glyph *QFontEngineFT::loadGlyphFor(glyph_t g, | - |
| 1693 | QFixed subPixelPosition, | - |
| 1694 | GlyphFormat format, | - |
| 1695 | const QTransform &t, | - |
| 1696 | bool fetchBoundingBox) | - |
| 1697 | { | - |
| 1698 | QGlyphSet *glyphSet = loadGlyphSet(t); | - |
| 1699 | if (glyphSet != 0| TRUE | evaluated 406773 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
&& glyphSet->outline_drawing| TRUE | never evaluated | | FALSE | evaluated 406773 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& !fetchBoundingBox| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-406773 |
| 1700 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 1701 | | - |
| 1702 | Glyph *glyph = glyphSet != 0| TRUE | evaluated 406773 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
? glyphSet->getGlyph(g, subPixelPosition) : 0; | 0-406773 |
| 1703 | if (!glyph| TRUE | evaluated 4800 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | evaluated 401973 times by 75 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
|
|| glyph->format != format| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 401972 times by 75 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
|
|| (!fetchBoundingBox| TRUE | evaluated 401961 times by 75 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| | FALSE | evaluated 11 times by 1 test |
&& !glyph->data| TRUE | evaluated 13532 times by 55 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
| | FALSE | evaluated 388429 times by 75 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
|
)) { | 1-401973 |
| 1704 | QScopedValueRollback<HintStyle> saved_default_hint_style(default_hint_style); | - |
| 1705 | if (t.type() >= QTransform::TxScale| TRUE | evaluated 2552 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| | FALSE | evaluated 15781 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& !is2dRotation(t)| TRUE | evaluated 936 times by 5 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| | FALSE | evaluated 1616 times by 4 testsEvaluated by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QStaticText
- tst_QTabWidget
|
) | 936-15781 |
| 1706 | default_hint_style = HintNone;executed 936 times by 5 tests: default_hint_style = HintNone;Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| 936 |
| 1707 | | - |
| 1708 | lockFace(); | - |
| 1709 | FT_Matrix m = this->matrix; | - |
| 1710 | FT_Matrix ftMatrix = glyphSet != 0| TRUE | evaluated 18333 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| | FALSE | never evaluated |
? glyphSet->transformationMatrix : QTransformToFTMatrix(t); | 0-18333 |
| 1711 | FT_Matrix_Multiply(&ftMatrix, &m); | - |
| 1712 | freetype->matrix = m; | - |
| 1713 | glyph = loadGlyph(glyphSet, g, subPixelPosition, format, false); | - |
| 1714 | unlockFace(); | - |
| 1715 | }executed 18333 times by 76 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 18333 |
| 1716 | | - |
| 1717 | returnexecuted 406773 times by 76 tests: return glyph;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
glyph;executed 406773 times by 76 tests: return glyph;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 406773 |
| 1718 | } | - |
| 1719 | | - |
| 1720 | QImage QFontEngineFT::alphaMapForGlyph(glyph_t g, QFixed subPixelPosition) | - |
| 1721 | { | - |
| 1722 | return never executed: return alphaMapForGlyph(g, subPixelPosition, QTransform()); alphaMapForGlyph(g, subPixelPosition, QTransform());never executed: return alphaMapForGlyph(g, subPixelPosition, QTransform()); | 0 |
| 1723 | } | - |
| 1724 | | - |
| 1725 | QImage QFontEngineFT::alphaMapForGlyph(glyph_t g, QFixed subPixelPosition, const QTransform &t) | - |
| 1726 | { | - |
| 1727 | const GlyphFormat neededFormat = antialias| TRUE | evaluated 11 times by 1 test | | FALSE | never evaluated |
? Format_A8 : Format_Mono; | 0-11 |
| 1728 | | - |
| 1729 | Glyph *glyph = loadGlyphFor(g, subPixelPosition, neededFormat, t); | - |
| 1730 | | - |
| 1731 | QImage img = alphaMapFromGlyphData(glyph, neededFormat); | - |
| 1732 | img = img.copy(); | - |
| 1733 | | - |
| 1734 | if (!cacheEnabled| TRUE | never evaluated | | FALSE | evaluated 11 times by 1 test |
&& glyph != &emptyGlyph| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-11 |
| 1735 | delete glyph; never executed: delete glyph; | 0 |
| 1736 | | - |
| 1737 | if (!img.isNull()| TRUE | evaluated 11 times by 1 test | | FALSE | never evaluated |
) | 0-11 |
| 1738 | returnexecuted 11 times by 1 test: return img; img;executed 11 times by 1 test: return img; | 11 |
| 1739 | | - |
| 1740 | return never executed: return QFontEngine::alphaMapForGlyph(g); QFontEngine::alphaMapForGlyph(g);never executed: return QFontEngine::alphaMapForGlyph(g); | 0 |
| 1741 | } | - |
| 1742 | | - |
| 1743 | QImage QFontEngineFT::alphaRGBMapForGlyph(glyph_t g, QFixed subPixelPosition, const QTransform &t) | - |
| 1744 | { | - |
| 1745 | if (t.type() > QTransform::TxRotate| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1746 | return never executed: return QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t); QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t);never executed: return QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t); | 0 |
| 1747 | | - |
| 1748 | const GlyphFormat neededFormat = Format_A32; | - |
| 1749 | | - |
| 1750 | Glyph *glyph = loadGlyphFor(g, subPixelPosition, neededFormat, t); | - |
| 1751 | | - |
| 1752 | QImage img = alphaMapFromGlyphData(glyph, neededFormat); | - |
| 1753 | img = img.copy(); | - |
| 1754 | | - |
| 1755 | if (!cacheEnabled| TRUE | never evaluated | | FALSE | never evaluated |
&& glyph != &emptyGlyph| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1756 | delete glyph; never executed: delete glyph; | 0 |
| 1757 | | - |
| 1758 | if (!img.isNull()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1759 | return never executed: return img; img;never executed: return img; | 0 |
| 1760 | | - |
| 1761 | return never executed: return QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t); QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t);never executed: return QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t); | 0 |
| 1762 | } | - |
| 1763 | | - |
| 1764 | void QFontEngineFT::removeGlyphFromCache(glyph_t glyph) | - |
| 1765 | { | - |
| 1766 | defaultGlyphSet.removeGlyphFromCache(glyph, 0); | - |
| 1767 | } never executed: end of block | 0 |
| 1768 | | - |
| 1769 | int QFontEngineFT::glyphCount() const | - |
| 1770 | { | - |
| 1771 | int count = 0; | - |
| 1772 | FT_Face face = lockFace(); | - |
| 1773 | if (face| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1774 | count = face->num_glyphs; | - |
| 1775 | unlockFace(); | - |
| 1776 | } never executed: end of block | 0 |
| 1777 | return never executed: return count; count;never executed: return count; | 0 |
| 1778 | } | - |
| 1779 | | - |
| 1780 | FT_Face QFontEngineFT::lockFace(Scaling scale) const | - |
| 1781 | { | - |
| 1782 | freetype->lock(); | - |
| 1783 | FT_Face face = freetype->face; | - |
| 1784 | if (scale == Unscaled| TRUE | evaluated 21 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| | FALSE | evaluated 27959 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 21-27959 |
| 1785 | FT_Set_Char_Size(face, face->units_per_EM << 6, face->units_per_EM << 6, 0, 0); | - |
| 1786 | freetype->xsize = face->units_per_EM << 6; | - |
| 1787 | freetype->ysize = face->units_per_EM << 6; | - |
| 1788 | }executed 21 times by 6 tests: end of blockExecuted by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
else if (freetype->xsize != xsize| TRUE | evaluated 2052 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 25907 times by 115 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
|| freetype->ysize != ysize| TRUE | never evaluated | | FALSE | evaluated 25907 times by 115 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 0-25907 |
| 1789 | FT_Set_Char_Size(face, xsize, ysize, 0, 0); | - |
| 1790 | freetype->xsize = xsize; | - |
| 1791 | freetype->ysize = ysize; | - |
| 1792 | }executed 2052 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2052 |
| 1793 | if (freetype->matrix.xx != matrix.xx| TRUE | evaluated 2551 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| | FALSE | evaluated 25429 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
|| | 2551-25429 |
| 1794 | freetype->matrix.yy != matrix.yy| TRUE | never evaluated | | FALSE | evaluated 25429 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
|| | 0-25429 |
| 1795 | freetype->matrix.xy != matrix.xy| TRUE | never evaluated | | FALSE | evaluated 25429 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
|| | 0-25429 |
| 1796 | freetype->matrix.yx != matrix.yx| TRUE | never evaluated | | FALSE | evaluated 25429 times by 123 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) { | 0-25429 |
| 1797 | freetype->matrix = matrix; | - |
| 1798 | FT_Set_Transform(face, &freetype->matrix, 0); | - |
| 1799 | }executed 2551 times by 7 tests: end of blockExecuted by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| 2551 |
| 1800 | | - |
| 1801 | returnexecuted 27980 times by 123 tests: return face;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
face;executed 27980 times by 123 tests: return face;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 27980 |
| 1802 | } | - |
| 1803 | | - |
| 1804 | void QFontEngineFT::unlockFace() const | - |
| 1805 | { | - |
| 1806 | freetype->unlock(); | - |
| 1807 | }executed 27980 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 27980 |
| 1808 | | - |
| 1809 | FT_Face QFontEngineFT::non_locked_face() const | - |
| 1810 | { | - |
| 1811 | return never executed: return freetype->face; freetype->face;never executed: return freetype->face; | 0 |
| 1812 | } | - |
| 1813 | | - |
| 1814 | | - |
| 1815 | QFontEngineFT::QGlyphSet::QGlyphSet() | - |
| 1816 | : outline_drawing(false) | - |
| 1817 | { | - |
| 1818 | transformationMatrix.xx = 0x10000; | - |
| 1819 | transformationMatrix.yy = 0x10000; | - |
| 1820 | transformationMatrix.xy = 0; | - |
| 1821 | transformationMatrix.yx = 0; | - |
| 1822 | memset(fast_glyph_data, 0, sizeof(fast_glyph_data)); | - |
| 1823 | fast_glyph_count = 0; | - |
| 1824 | }executed 2154 times by 123 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2154 |
| 1825 | | - |
| 1826 | QFontEngineFT::QGlyphSet::~QGlyphSet() | - |
| 1827 | { | - |
| 1828 | clear(); | - |
| 1829 | }executed 2284 times by 199 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| 2284 |
| 1830 | | - |
| 1831 | void QFontEngineFT::QGlyphSet::clear() | - |
| 1832 | { | - |
| 1833 | if (fast_glyph_count > 0| TRUE | evaluated 681 times by 119 testsEvaluated by:- tst_QApplication
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| | FALSE | evaluated 1870 times by 99 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
|
) { | 681-1870 |
| 1834 | for (int i = 0; i < 256| TRUE | evaluated 174336 times by 119 testsEvaluated by:- tst_QApplication
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| | FALSE | evaluated 681 times by 119 testsEvaluated by:- tst_QApplication
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
|
; ++i) { | 681-174336 |
| 1835 | if (fast_glyph_data[i]| TRUE | evaluated 11451 times by 119 testsEvaluated by:- tst_QApplication
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| | FALSE | evaluated 162885 times by 119 testsEvaluated by:- tst_QApplication
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
|
) { | 11451-162885 |
| 1836 | delete fast_glyph_data[i]; | - |
| 1837 | fast_glyph_data[i] = 0; | - |
| 1838 | }executed 11451 times by 119 tests: end of blockExecuted by:- tst_QApplication
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 11451 |
| 1839 | }executed 174336 times by 119 tests: end of blockExecuted by:- tst_QApplication
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 174336 |
| 1840 | fast_glyph_count = 0; | - |
| 1841 | }executed 681 times by 119 tests: end of blockExecuted by:- tst_QApplication
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 681 |
| 1842 | qDeleteAll(glyph_data); | - |
| 1843 | glyph_data.clear(); | - |
| 1844 | }executed 2551 times by 199 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| 2551 |
| 1845 | | - |
| 1846 | void QFontEngineFT::QGlyphSet::removeGlyphFromCache(glyph_t index, QFixed subPixelPosition) | - |
| 1847 | { | - |
| 1848 | if (useFastGlyphData(index, subPixelPosition)| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1849 | if (fast_glyph_data[index]| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1850 | delete fast_glyph_data[index]; | - |
| 1851 | fast_glyph_data[index] = 0; | - |
| 1852 | if (fast_glyph_count > 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1853 | -- never executed: --fast_glyph_count; fast_glyph_count;never executed: --fast_glyph_count; | 0 |
| 1854 | } never executed: end of block | 0 |
| 1855 | } never executed: end of block else { | 0 |
| 1856 | delete glyph_data.take(GlyphAndSubPixelPosition(index, subPixelPosition)); | - |
| 1857 | } never executed: end of block | 0 |
| 1858 | } | - |
| 1859 | | - |
| 1860 | void QFontEngineFT::QGlyphSet::setGlyph(glyph_t index, QFixed subPixelPosition, Glyph *glyph) | - |
| 1861 | { | - |
| 1862 | if (useFastGlyphData(index, subPixelPosition)| TRUE | evaluated 25429 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 333 times by 34 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPainter
- tst_QPlainTextEdit
- tst_QPushButton
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- ...
|
) { | 333-25429 |
| 1863 | if (!fast_glyph_data[index]| TRUE | evaluated 11896 times by 114 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| | FALSE | evaluated 13533 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
) | 11896-13533 |
| 1864 | ++executed 11896 times by 114 tests: ++fast_glyph_count;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
fast_glyph_count;executed 11896 times by 114 tests: ++fast_glyph_count;Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 11896 |
| 1865 | fast_glyph_data[index] = glyph; | - |
| 1866 | }executed 25429 times by 114 tests: end of blockExecuted by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else { | 25429 |
| 1867 | glyph_data.insert(GlyphAndSubPixelPosition(index, subPixelPosition), glyph); | - |
| 1868 | }executed 333 times by 34 tests: end of blockExecuted by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPainter
- tst_QPlainTextEdit
- tst_QPushButton
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- ...
| 333 |
| 1869 | } | - |
| 1870 | | - |
| 1871 | int QFontEngineFT::getPointInOutline(glyph_t glyph, int flags, quint32 point, QFixed *xpos, QFixed *ypos, quint32 *nPoints) | - |
| 1872 | { | - |
| 1873 | lockFace(); | - |
| 1874 | bool hsubpixel = true; | - |
| 1875 | int vfactor = 1; | - |
| 1876 | int load_flags = loadFlags(0, Format_A8, flags, hsubpixel, vfactor); | - |
| 1877 | int result = freetype->getPointInOutline(glyph, load_flags, point, xpos, ypos, nPoints); | - |
| 1878 | unlockFace(); | - |
| 1879 | return never executed: return result; result;never executed: return result; | 0 |
| 1880 | } | - |
| 1881 | | - |
| 1882 | bool QFontEngineFT::initFromFontEngine(const QFontEngineFT *fe) | - |
| 1883 | { | - |
| 1884 | if (!init(fe->faceId(), fe->antialias, fe->defaultFormat, fe->freetype)| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) | 0-4 |
| 1885 | return never executed: return false; false;never executed: return false; | 0 |
| 1886 | | - |
| 1887 | | - |
| 1888 | | - |
| 1889 | freetype->ref.ref(); | - |
| 1890 | | - |
| 1891 | default_load_flags = fe->default_load_flags; | - |
| 1892 | default_hint_style = fe->default_hint_style; | - |
| 1893 | antialias = fe->antialias; | - |
| 1894 | transform = fe->transform; | - |
| 1895 | embolden = fe->embolden; | - |
| 1896 | obliquen = fe->obliquen; | - |
| 1897 | subpixelType = fe->subpixelType; | - |
| 1898 | lcdFilterType = fe->lcdFilterType; | - |
| 1899 | embeddedbitmap = fe->embeddedbitmap; | - |
| 1900 | | - |
| 1901 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
| 1902 | } | - |
| 1903 | | - |
| 1904 | QFontEngine *QFontEngineFT::cloneWithSize(qreal pixelSize) const | - |
| 1905 | { | - |
| 1906 | QFontDef fontDef(this->fontDef); | - |
| 1907 | fontDef.pixelSize = pixelSize; | - |
| 1908 | QFontEngineFT *fe = new QFontEngineFT(fontDef); | - |
| 1909 | if (!fe->initFromFontEngine(this)| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
| 1910 | delete fe; | - |
| 1911 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 1912 | } else { | - |
| 1913 | returnexecuted 4 times by 1 test: return fe; fe;executed 4 times by 1 test: return fe; | 4 |
| 1914 | } | - |
| 1915 | } | - |
| 1916 | | - |
| 1917 | Qt::HANDLE QFontEngineFT::handle() const | - |
| 1918 | { | - |
| 1919 | return never executed: return non_locked_face(); non_locked_face();never executed: return non_locked_face(); | 0 |
| 1920 | } | - |
| 1921 | | - |
| 1922 | | - |
| | |