Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/PrintStream.cpp |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | - | |||||||
3 | - | |||||||
4 | namespace WTF { | - | ||||||
5 | - | |||||||
6 | PrintStream::PrintStream() { } | - | ||||||
7 | PrintStream::~PrintStream() { } | - | ||||||
8 | - | |||||||
9 | void 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 | - | |||||||
27 | void PrintStream::flush() | - | ||||||
28 | { | - | ||||||
29 | } | - | ||||||
30 | - | |||||||
31 | void printInternal(PrintStream& out, const char* string) | - | ||||||
32 | { | - | ||||||
33 | out.printf("%s", string); | - | ||||||
34 | } never executed: end of block | 0 | ||||||
35 | - | |||||||
36 | void printInternal(PrintStream& out, bool value) | - | ||||||
37 | { | - | ||||||
38 | if (value
| 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 | - | |||||||
44 | void printInternal(PrintStream& out, int value) | - | ||||||
45 | { | - | ||||||
46 | out.printf("%d", value); | - | ||||||
47 | } never executed: end of block | 0 | ||||||
48 | - | |||||||
49 | void printInternal(PrintStream& out, unsigned value) | - | ||||||
50 | { | - | ||||||
51 | out.printf("%u", value); | - | ||||||
52 | } never executed: end of block | 0 | ||||||
53 | - | |||||||
54 | void printInternal(PrintStream& out, long value) | - | ||||||
55 | { | - | ||||||
56 | out.printf("%ld", value); | - | ||||||
57 | } never executed: end of block | 0 | ||||||
58 | - | |||||||
59 | void printInternal(PrintStream& out, unsigned long value) | - | ||||||
60 | { | - | ||||||
61 | out.printf("%lu", value); | - | ||||||
62 | } never executed: end of block | 0 | ||||||
63 | - | |||||||
64 | void printInternal(PrintStream& out, long long value) | - | ||||||
65 | { | - | ||||||
66 | - | |||||||
67 | - | |||||||
68 | - | |||||||
69 | out.printf("%lld", value); | - | ||||||
70 | - | |||||||
71 | } never executed: end of block | 0 | ||||||
72 | - | |||||||
73 | void 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 | - | |||||||
82 | void printInternal(PrintStream& out, float value) | - | ||||||
83 | { | - | ||||||
84 | out.print(static_cast<double>(value)); | - | ||||||
85 | } never executed: end of block | 0 | ||||||
86 | - | |||||||
87 | void printInternal(PrintStream& out, double value) | - | ||||||
88 | { | - | ||||||
89 | out.printf("%lf", value); | - | ||||||
90 | } never executed: end of block | 0 | ||||||
91 | - | |||||||
92 | void printInternal(PrintStream& out, RawPointer value) | - | ||||||
93 | { | - | ||||||
94 | out.printf("%p", value.value()); | - | ||||||
95 | } never executed: end of block | 0 | ||||||
96 | - | |||||||
97 | void dumpCharacter(PrintStream& out, char value) | - | ||||||
98 | { | - | ||||||
99 | out.printf("%c", value); | - | ||||||
100 | } never executed: end of block | 0 | ||||||
101 | - | |||||||
102 | } | - | ||||||
Switch to Source code | Preprocessed file |