qharfbuzz.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qharfbuzz.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5extern "C" {-
6-
7void HB_GetUnicodeCharProperties(HB_UChar32 ch, HB_CharCategory *category, int *combiningClass)-
8{-
9 const QUnicodeTables::Properties *prop = QUnicodeTables::properties(ch);-
10 *category = (HB_CharCategory)prop->category;-
11 *combiningClass = prop->combiningClass;-
12}
never executed: end of block
0
13-
14HB_CharCategory HB_GetUnicodeCharCategory(HB_UChar32 ch)-
15{-
16 return
never executed: return (HB_CharCategory)QChar::category(ch);
(HB_CharCategory)QChar::category(ch);
never executed: return (HB_CharCategory)QChar::category(ch);
0
17}-
18-
19int HB_GetUnicodeCharCombiningClass(HB_UChar32 ch)-
20{-
21 return
never executed: return QChar::combiningClass(ch);
QChar::combiningClass(ch);
never executed: return QChar::combiningClass(ch);
0
22}-
23-
24HB_UChar16 HB_GetMirroredChar(HB_UChar16 ch)-
25{-
26 return
never executed: return QChar::mirroredChar(ch);
QChar::mirroredChar(ch);
never executed: return QChar::mirroredChar(ch);
0
27}-
28-
29void (*HB_Library_Resolve(const char *library, int version, const char *symbol))()-
30{-
31-
32-
33-
34-
35-
36-
37 return
executed 10 times by 2 tests: return QLibrary::resolve(QLatin1String(library), version, symbol);
Executed by:
  • tst_QLabel
  • tst_QTextLayout
QLibrary::resolve(QLatin1String(library), version, symbol);
executed 10 times by 2 tests: return QLibrary::resolve(QLatin1String(library), version, symbol);
Executed by:
  • tst_QLabel
  • tst_QTextLayout
10
38-
39}-
40-
41}-
42-
43-
44-
45HB_Bool qShapeItem(HB_ShaperItem *item)-
46{-
47 return
never executed: return HB_ShapeItem(item);
HB_ShapeItem(item);
never executed: return HB_ShapeItem(item);
0
48}-
49-
50HB_Face qHBNewFace(void *font, HB_GetFontTableFunc tableFunc)-
51{-
52 return
never executed: return HB_AllocFace(font, tableFunc);
HB_AllocFace(font, tableFunc);
never executed: return HB_AllocFace(font, tableFunc);
0
53}-
54-
55HB_Face qHBLoadFace(HB_Face face)-
56{-
57 return
never executed: return HB_LoadFace(face);
HB_LoadFace(face);
never executed: return HB_LoadFace(face);
0
58}-
59-
60void qHBFreeFace(HB_Face face)-
61{-
62 HB_FreeFace(face);-
63}
never executed: end of block
0
64-
65-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9