summaryrefslogtreecommitdiff
path: root/rep/ept/core/desktopfile.h.gcov.html
diff options
context:
space:
mode:
Diffstat (limited to 'rep/ept/core/desktopfile.h.gcov.html')
-rw-r--r--rep/ept/core/desktopfile.h.gcov.html205
1 files changed, 0 insertions, 205 deletions
diff --git a/rep/ept/core/desktopfile.h.gcov.html b/rep/ept/core/desktopfile.h.gcov.html
deleted file mode 100644
index 9ed8552..0000000
--- a/rep/ept/core/desktopfile.h.gcov.html
+++ /dev/null
@@ -1,205 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html lang="en">
-
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <title>LCOV - lcov.info - ept/core/desktopfile.h</title>
- <link rel="stylesheet" type="text/css" href="../../gcov.css">
-</head>
-
-<body>
-
- <table width="100%" border=0 cellspacing=0 cellpadding=0>
- <tr><td class="title">LTP GCOV extension - code coverage report</td></tr>
- <tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
-
- <tr>
- <td width="100%">
- <table cellpadding=1 border=0 width="100%">
- <tr>
- <td class="headerItem" width="20%">Current&nbsp;view:</td>
- <td class="headerValue" width="80%" colspan=4><a href="../../index.html">directory</a> - <a href="index.html">ept/core</a> - desktopfile.h</td>
- </tr>
- <tr>
- <td class="headerItem" width="20%">Test:</td>
- <td class="headerValue" width="80%" colspan=4>lcov.info</td>
- </tr>
- <tr>
- <td class="headerItem" width="20%">Date:</td>
- <td class="headerValue" width="20%">2008-08-14</td>
- <td width="20%"></td>
- <td class="headerItem" width="20%">Instrumented&nbsp;lines:</td>
- <td class="headerValue" width="20%">77</td>
- </tr>
- <tr>
- <td class="headerItem" width="20%">Code&nbsp;covered:</td>
- <td class="headerValue" width="20%">75.3 %</td>
- <td width="20%"></td>
- <td class="headerItem" width="20%">Executed&nbsp;lines:</td>
- <td class="headerValue" width="20%">58</td>
- </tr>
- </table>
- </td>
- </tr>
- <tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
- </table>
-
- <table cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td><br></td>
- </tr>
- <tr>
- <td><pre class="source">
-<span class="lineNum"> 1 </span> : /// -*- C++ -*- (c) 2006, 2007 Petr Rockai &lt;me@mornfall.net&gt;
-<span class="lineNum"> 2 </span> :
-<span class="lineNum"> 3 </span> : #include &lt;iostream&gt;
-<span class="lineNum"> 4 </span> : #include &lt;string&gt;
-<span class="lineNum"> 5 </span> : #include &lt;map&gt;
-<span class="lineNum"> 6 </span> :
-<span class="lineNum"> 7 </span> : #ifndef EPT_CORE_DESKTOPFILE_H
-<span class="lineNum"> 8 </span> : #define EPT_CORE_DESKTOPFILE_H
-<span class="lineNum"> 9 </span> :
-<span class="lineNum"> 10 </span> : namespace ept {
-<span class="lineNum"> 11 </span> : namespace core {
-<span class="lineNum"> 12 </span> : namespace desktop {
-<span class="lineNum"> 13 </span> :
-<span class="lineNum"> 14 </span><span class="lineCov"> 32 : struct File {</span>
-<span class="lineNum"> 15 </span><span class="lineCov"> 13540 : struct Entry {</span>
-<span class="lineNum"> 16 </span> : std::string key;
-<span class="lineNum"> 17 </span> : std::string value;
-<span class="lineNum"> 18 </span> : };
-<span class="lineNum"> 19 </span> : typedef std::map&lt; std::string, Entry &gt; EntryMap;
-<span class="lineNum"> 20 </span> :
-<span class="lineNum"> 21 </span><span class="lineCov"> 144 : struct Group {</span>
-<span class="lineNum"> 22 </span> : std::string name;
-<span class="lineNum"> 23 </span> : EntryMap entries;
-<span class="lineNum"> 24 </span><span class="lineCov"> 88 : Entry &amp;entry( std::string k ) { return entries[ k ]; }</span>
-<span class="lineNum"> 25 </span> : };
-<span class="lineNum"> 26 </span> :
-<span class="lineNum"> 27 </span> : typedef std::map&lt; std::string, Group &gt; GroupMap;
-<span class="lineNum"> 28 </span> : GroupMap groups;
-<span class="lineNum"> 29 </span><span class="lineCov"> 16 : Group &amp;group( std::string k ) { return groups[ k ]; }</span>
-<span class="lineNum"> 30 </span> : };
-<span class="lineNum"> 31 </span> :
-<span class="lineNum"> 32 </span><span class="lineCov"> 1228 : inline std::istream &amp;operator &gt;&gt;( std::istream &amp;i, File::Entry &amp;e )</span>
-<span class="lineNum"> 33 </span> : {
-<span class="lineNum"> 34 </span><span class="lineCov"> 1228 : std::string spaces = &quot;&quot;; char c; bool started = false;</span>
-<span class="lineNum"> 35 </span> :
-<span class="lineNum"> 36 </span><span class="lineCov"> 1228 : e.key = &quot;&quot;;</span>
-<span class="lineNum"> 37 </span> : // read key
-<span class="lineNum"> 38 </span><span class="lineCov"> 16056 : while ( i.peek() != EOF ) {</span>
-<span class="lineNum"> 39 </span><span class="lineCov"> 14820 : c = i.get();</span>
-<span class="lineNum"> 40 </span><span class="lineCov"> 14820 : if ( !started &amp;&amp; c == '\n' )</span>
-<span class="lineNum"> 41 </span><span class="lineCov"> 8 : return i &gt;&gt; e;</span>
-<span class="lineNum"> 42 </span><span class="lineCov"> 14812 : if ( isspace( c ) ) {</span>
-<span class="lineNum"> 43 </span><span class="lineNoCov"> 0 : spaces += c;</span>
-<span class="lineNum"> 44 </span><span class="lineNoCov"> 0 : continue;</span>
-<span class="lineNum"> 45 </span> : }
-<span class="lineNum"> 46 </span><span class="lineCov"> 14812 : if ( !started &amp;&amp; c == '#' ) {</span>
-<span class="lineNum"> 47 </span><span class="lineNoCov"> 0 : while ( i.peek() != EOF &amp;&amp; i.get() != '\n' )</span>
-<span class="lineNum"> 48 </span> : ; // read till eol
-<span class="lineNum"> 49 </span><span class="lineNoCov"> 0 : return i &gt;&gt; e; // restart reading</span>
-<span class="lineNum"> 50 </span> : }
-<span class="lineNum"> 51 </span><span class="lineCov"> 14812 : started = true;</span>
-<span class="lineNum"> 52 </span><span class="lineCov"> 14812 : if ( c == '=' )</span>
-<span class="lineNum"> 53 </span><span class="lineCov"> 1212 : break;</span>
-<span class="lineNum"> 54 </span><span class="lineCov"> 13600 : e.key += spaces;</span>
-<span class="lineNum"> 55 </span><span class="lineCov"> 13600 : e.key += c;</span>
-<span class="lineNum"> 56 </span><span class="lineCov"> 13600 : spaces = &quot;&quot;;</span>
-<span class="lineNum"> 57 </span> : }
-<span class="lineNum"> 58 </span> : // std::cerr &lt;&lt; &quot;read key: &quot; &lt;&lt; e.key &lt;&lt; std::endl;
-<span class="lineNum"> 59 </span> :
-<span class="lineNum"> 60 </span><span class="lineCov"> 1220 : started = false;</span>
-<span class="lineNum"> 61 </span><span class="lineCov"> 1220 : bool backslash = false;</span>
-<span class="lineNum"> 62 </span> : // read value
-<span class="lineNum"> 63 </span><span class="lineCov"> 37496 : while ( i.peek() != EOF ) {</span>
-<span class="lineNum"> 64 </span><span class="lineCov"> 36268 : c = i.get();</span>
-<span class="lineNum"> 65 </span><span class="lineCov"> 36268 : if ( c == '\n' ) {</span>
-<span class="lineNum"> 66 </span><span class="lineCov"> 1212 : if ( backslash )</span>
-<span class="lineNum"> 67 </span><span class="lineNoCov"> 0 : e.value += '\\';</span>
-<span class="lineNum"> 68 </span><span class="lineCov"> 1212 : return i;</span>
-<span class="lineNum"> 69 </span> : }
-<span class="lineNum"> 70 </span><span class="lineCov"> 35056 : if ( !started &amp;&amp; isspace( c ) )</span>
-<span class="lineNum"> 71 </span><span class="lineNoCov"> 0 : continue;</span>
-<span class="lineNum"> 72 </span><span class="lineCov"> 35056 : started = true;</span>
-<span class="lineNum"> 73 </span><span class="lineCov"> 35056 : if ( backslash ) { // interpret escape sequences</span>
-<span class="lineNum"> 74 </span><span class="lineNoCov"> 0 : if ( c == '\\' ) e.value += '\\';</span>
-<span class="lineNum"> 75 </span><span class="lineNoCov"> 0 : else if ( c == 'n' ) e.value += '\n';</span>
-<span class="lineNum"> 76 </span><span class="lineNoCov"> 0 : else if ( c == 't' ) e.value += '\t';</span>
-<span class="lineNum"> 77 </span><span class="lineNoCov"> 0 : else if ( c == 'r' ) e.value += '\r';</span>
-<span class="lineNum"> 78 </span><span class="lineNoCov"> 0 : else if ( c == 's' ) e.value += ' ';</span>
-<span class="lineNum"> 79 </span><span class="lineNoCov"> 0 : else { e.value += '\\'; e.value += c; }</span>
-<span class="lineNum"> 80 </span><span class="lineNoCov"> 0 : backslash = false;</span>
-<span class="lineNum"> 81 </span><span class="lineNoCov"> 0 : continue;</span>
-<span class="lineNum"> 82 </span> : }
-<span class="lineNum"> 83 </span><span class="lineCov"> 35056 : if ( c == '\\' ) {</span>
-<span class="lineNum"> 84 </span><span class="lineNoCov"> 0 : backslash = true;</span>
-<span class="lineNum"> 85 </span><span class="lineNoCov"> 0 : continue;</span>
-<span class="lineNum"> 86 </span> : }
-<span class="lineNum"> 87 </span><span class="lineCov"> 35056 : e.value += c;</span>
-<span class="lineNum"> 88 </span> : }
-<span class="lineNum"> 89 </span><span class="lineCov"> 8 : return i;</span>
-<span class="lineNum"> 90 </span> : }
-<span class="lineNum"> 91 </span> :
-<span class="lineNum"> 92 </span><span class="lineCov"> 16 : inline std::istream &amp;operator &gt;&gt;( std::istream &amp;i, File::Group &amp;g )</span>
-<span class="lineNum"> 93 </span> : {
-<span class="lineNum"> 94 </span><span class="lineCov"> 16 : bool started = false; char c;</span>
-<span class="lineNum"> 95 </span><span class="lineCov"> 16 : g.name = &quot;&quot;;</span>
-<span class="lineNum"> 96 </span><span class="lineCov"> 256 : while ( i.peek() != EOF ) {</span>
-<span class="lineNum"> 97 </span><span class="lineCov"> 240 : c = i.get();</span>
-<span class="lineNum"> 98 </span><span class="lineCov"> 240 : if ( !started &amp;&amp; isspace( c ) )</span>
-<span class="lineNum"> 99 </span><span class="lineNoCov"> 0 : continue;</span>
-<span class="lineNum"> 100 </span><span class="lineCov"> 240 : if ( !started &amp;&amp; c == '#' ) {</span>
-<span class="lineNum"> 101 </span><span class="lineNoCov"> 0 : while( i.peek() != EOF &amp;&amp; i.get() != '\n' )</span>
-<span class="lineNum"> 102 </span> : ; // read till eol
-<span class="lineNum"> 103 </span><span class="lineNoCov"> 0 : return i &gt;&gt; g; // restart reading</span>
-<span class="lineNum"> 104 </span> : }
-<span class="lineNum"> 105 </span><span class="lineCov"> 240 : if ( !started &amp;&amp; c == '[' ) {</span>
-<span class="lineNum"> 106 </span><span class="lineCov"> 16 : started = true;</span>
-<span class="lineNum"> 107 </span><span class="lineCov"> 16 : continue;</span>
-<span class="lineNum"> 108 </span> : }
-<span class="lineNum"> 109 </span><span class="lineCov"> 224 : if ( started &amp;&amp; c == ']' ) {</span>
-<span class="lineNum"> 110 </span><span class="lineCov"> 16 : while( i.peek() != EOF &amp;&amp; i.get() != '\n' )</span>
-<span class="lineNum"> 111 </span> : ; // read till eol
-<span class="lineNum"> 112 </span><span class="lineCov"> 16 : break;</span>
-<span class="lineNum"> 113 </span> : }
-<span class="lineNum"> 114 </span><span class="lineCov"> 208 : g.name += c;</span>
-<span class="lineNum"> 115 </span> : }
-<span class="lineNum"> 116 </span><span class="lineCov"> 1236 : while ( i.peek() != EOF ) {</span>
-<span class="lineNum"> 117 </span><span class="lineCov"> 1220 : File::Entry e;</span>
-<span class="lineNum"> 118 </span><span class="lineCov"> 1220 : i &gt;&gt; e;</span>
-<span class="lineNum"> 119 </span><span class="lineCov"> 1220 : g.entries[ e.key ] = e;</span>
-<span class="lineNum"> 120 </span> : }
-<span class="lineNum"> 121 </span><span class="lineCov"> 16 : return i;</span>
-<span class="lineNum"> 122 </span> : }
-<span class="lineNum"> 123 </span> :
-<span class="lineNum"> 124 </span><span class="lineCov"> 16 : inline std::istream &amp;operator &gt;&gt;( std::istream &amp;i, File &amp;f )</span>
-<span class="lineNum"> 125 </span> : {
-<span class="lineNum"> 126 </span><span class="lineCov"> 32 : while ( i.peek() != EOF ) {</span>
-<span class="lineNum"> 127 </span><span class="lineCov"> 16 : File::Group g;</span>
-<span class="lineNum"> 128 </span><span class="lineCov"> 16 : i &gt;&gt; g;</span>
-<span class="lineNum"> 129 </span><span class="lineCov"> 16 : f.groups[ g.name ] = g;</span>
-<span class="lineNum"> 130 </span> : }
-<span class="lineNum"> 131 </span><span class="lineCov"> 16 : return i;</span>
-<span class="lineNum"> 132 </span> : }
-<span class="lineNum"> 133 </span> :
-<span class="lineNum"> 134 </span> : }
-<span class="lineNum"> 135 </span> : }
-<span class="lineNum"> 136 </span> : }
-<span class="lineNum"> 137 </span> :
-<span class="lineNum"> 138 </span> : #endif
-</pre>
- </td>
- </tr>
- </table>
- <br>
-
- <table width="100%" border=0 cellspacing=0 cellpadding=0>
- <tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
- <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LTP GCOV extension version 1.6</a></td></tr>
- </table>
- <br>
-
-</body>
-</html>