OpenCoverage

PrintStream.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/PrintStream.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4namespace WTF {-
5-
6PrintStream::PrintStream() { }-
7PrintStream::~PrintStream() { }-
8-
9void PrintStream::printf(const char* format, ...)-
10{-
11 va_list argList;-
12 -
13 __builtin_va_start(-
14 argList-
15 ,-
16 format-
17 )-
18 ;-
19 vprintf(format, argList);-
20 -
21 __builtin_va_end(-
22 argList-
23 )-
24 ;-
25}
never executed: end of block
0
26-
27void PrintStream::flush()-
28{-
29}-
30-
31void printInternal(PrintStream& out, const char* string)-
32{-
33 out.printf("%s", string);-
34}
never executed: end of block
0
35-
36void printInternal(PrintStream& out, bool value)-
37{-
38 if (value
valueDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
39 out.print("true");
never executed: out.print("true");
0
40 else-
41 out.print("false");
never executed: out.print("false");
0
42}-
43-
44void printInternal(PrintStream& out, int value)-
45{-
46 out.printf("%d", value);-
47}
never executed: end of block
0
48-
49void printInternal(PrintStream& out, unsigned value)-
50{-
51 out.printf("%u", value);-
52}
never executed: end of block
0
53-
54void printInternal(PrintStream& out, long value)-
55{-
56 out.printf("%ld", value);-
57}
never executed: end of block
0
58-
59void printInternal(PrintStream& out, unsigned long value)-
60{-
61 out.printf("%lu", value);-
62}
never executed: end of block
0
63-
64void printInternal(PrintStream& out, long long value)-
65{-
66-
67-
68-
69 out.printf("%lld", value);-
70-
71}
never executed: end of block
0
72-
73void printInternal(PrintStream& out, unsigned long long value)-
74{-
75-
76-
77-
78 out.printf("%llu", value);-
79-
80}
never executed: end of block
0
81-
82void printInternal(PrintStream& out, float value)-
83{-
84 out.print(static_cast<double>(value));-
85}
never executed: end of block
0
86-
87void printInternal(PrintStream& out, double value)-
88{-
89 out.printf("%lf", value);-
90}
never executed: end of block
0
91-
92void printInternal(PrintStream& out, RawPointer value)-
93{-
94 out.printf("%p", value.value());-
95}
never executed: end of block
0
96-
97void dumpCharacter(PrintStream& out, char value)-
98{-
99 out.printf("%c", value);-
100}
never executed: end of block
0
101-
102}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0