-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
…ate-settings-daemon.git:gh-pages
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,305 @@ | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Cppcheck - HTML report - mate-settings-daemon</title> | ||
<link rel="stylesheet" href="style.css"> | ||
<style> | ||
pre { line-height: 125%; } | ||
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } | ||
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } | ||
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } | ||
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } | ||
.highlight .hll { background-color: #ffffcc } | ||
.highlight { background: #ffffff; } | ||
.highlight .c { color: #888888 } /* Comment */ | ||
.highlight .err { color: #FF0000; background-color: #FFAAAA } /* Error */ | ||
.highlight .k { color: #008800; font-weight: bold } /* Keyword */ | ||
.highlight .o { color: #333333 } /* Operator */ | ||
.highlight .ch { color: #888888 } /* Comment.Hashbang */ | ||
.highlight .cm { color: #888888 } /* Comment.Multiline */ | ||
.highlight .cp { color: #557799 } /* Comment.Preproc */ | ||
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */ | ||
.highlight .c1 { color: #888888 } /* Comment.Single */ | ||
.highlight .cs { color: #cc0000; font-weight: bold } /* Comment.Special */ | ||
.highlight .gd { color: #A00000 } /* Generic.Deleted */ | ||
.highlight .ge { font-style: italic } /* Generic.Emph */ | ||
.highlight .gr { color: #FF0000 } /* Generic.Error */ | ||
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ | ||
.highlight .gi { color: #00A000 } /* Generic.Inserted */ | ||
.highlight .go { color: #888888 } /* Generic.Output */ | ||
.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ | ||
.highlight .gs { font-weight: bold } /* Generic.Strong */ | ||
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ | ||
.highlight .gt { color: #0044DD } /* Generic.Traceback */ | ||
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ | ||
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ | ||
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ | ||
.highlight .kp { color: #003388; font-weight: bold } /* Keyword.Pseudo */ | ||
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ | ||
.highlight .kt { color: #333399; font-weight: bold } /* Keyword.Type */ | ||
.highlight .m { color: #6600EE; font-weight: bold } /* Literal.Number */ | ||
.highlight .s { background-color: #fff0f0 } /* Literal.String */ | ||
.highlight .na { color: #0000CC } /* Name.Attribute */ | ||
.highlight .nb { color: #007020 } /* Name.Builtin */ | ||
.highlight .nc { color: #BB0066; font-weight: bold } /* Name.Class */ | ||
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ | ||
.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ | ||
.highlight .ni { color: #880000; font-weight: bold } /* Name.Entity */ | ||
.highlight .ne { color: #FF0000; font-weight: bold } /* Name.Exception */ | ||
.highlight .nf { color: #0066BB; font-weight: bold } /* Name.Function */ | ||
.highlight .nl { color: #997700; font-weight: bold } /* Name.Label */ | ||
.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ | ||
.highlight .nt { color: #007700 } /* Name.Tag */ | ||
.highlight .nv { color: #996633 } /* Name.Variable */ | ||
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */ | ||
.highlight .w { color: #bbbbbb } /* Text.Whitespace */ | ||
.highlight .mb { color: #6600EE; font-weight: bold } /* Literal.Number.Bin */ | ||
.highlight .mf { color: #6600EE; font-weight: bold } /* Literal.Number.Float */ | ||
.highlight .mh { color: #005588; font-weight: bold } /* Literal.Number.Hex */ | ||
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ | ||
.highlight .mo { color: #4400EE; font-weight: bold } /* Literal.Number.Oct */ | ||
.highlight .sa { background-color: #fff0f0 } /* Literal.String.Affix */ | ||
.highlight .sb { background-color: #fff0f0 } /* Literal.String.Backtick */ | ||
.highlight .sc { color: #0044DD } /* Literal.String.Char */ | ||
.highlight .dl { background-color: #fff0f0 } /* Literal.String.Delimiter */ | ||
.highlight .sd { color: #DD4422 } /* Literal.String.Doc */ | ||
.highlight .s2 { background-color: #fff0f0 } /* Literal.String.Double */ | ||
.highlight .se { color: #666666; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */ | ||
.highlight .sh { background-color: #fff0f0 } /* Literal.String.Heredoc */ | ||
.highlight .si { background-color: #eeeeee } /* Literal.String.Interpol */ | ||
.highlight .sx { color: #DD2200; background-color: #fff0f0 } /* Literal.String.Other */ | ||
.highlight .sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */ | ||
.highlight .s1 { background-color: #fff0f0 } /* Literal.String.Single */ | ||
.highlight .ss { color: #AA6600 } /* Literal.String.Symbol */ | ||
.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ | ||
.highlight .fm { color: #0066BB; font-weight: bold } /* Name.Function.Magic */ | ||
.highlight .vc { color: #336699 } /* Name.Variable.Class */ | ||
.highlight .vg { color: #dd7700; font-weight: bold } /* Name.Variable.Global */ | ||
.highlight .vi { color: #3333BB } /* Name.Variable.Instance */ | ||
.highlight .vm { color: #996633 } /* Name.Variable.Magic */ | ||
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ | ||
</style> | ||
<script> | ||
function getStyle(el, styleProp) { | ||
var y; | ||
|
||
if (el.currentStyle) { | ||
y = el.currentStyle[styleProp]; | ||
} else if (window.getComputedStyle) { | ||
y = document.defaultView.getComputedStyle(el, null).getPropertyValue(styleProp); | ||
} | ||
|
||
return y; | ||
} | ||
|
||
function toggle() { | ||
var el = this.expandable_content; | ||
var mark = this.expandable_marker; | ||
|
||
if (el.style.display === "block") { | ||
el.style.display = "none"; | ||
mark.textContent = "[+]"; | ||
} else { | ||
el.style.display = "block"; | ||
mark.textContent = "[-]"; | ||
} | ||
} | ||
|
||
function initExpandables() { | ||
var elements = document.querySelectorAll(".expandable"); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
var el = elements[i]; | ||
var clickable = el.querySelector("span"); | ||
var marker = clickable.querySelector(".marker"); | ||
var content = el.querySelector(".content"); | ||
var width = clickable.clientWidth - parseInt(getStyle(content, "padding-left")) - parseInt(getStyle(content, "padding-right")); | ||
content.style.width = width + "px"; | ||
clickable.expandable_content = content; | ||
clickable.expandable_marker = marker; | ||
clickable.addEventListener("click", toggle); | ||
} | ||
} | ||
|
||
function toggleDisplay(cb) { | ||
var elements = document.querySelectorAll("." + cb.id); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
elements[i].classList.toggle("id-filtered", !cb.checked); | ||
} | ||
|
||
updateFileRows(); | ||
} | ||
|
||
function toggleSeverity(cb) { | ||
cb.parentElement.classList.toggle("unchecked", !cb.checked); | ||
var elements = document.querySelectorAll(".sev_" + cb.id); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
elements[i].classList.toggle("severity-filtered", !cb.checked); | ||
} | ||
|
||
updateFileRows(); | ||
} | ||
|
||
function toggleTool(cb) { | ||
cb.parentElement.classList.toggle("unchecked", !cb.checked); | ||
|
||
var elements; | ||
if (cb.id == "clang-tidy") | ||
elements = document.querySelectorAll("[class^=clang-tidy-]"); | ||
else | ||
elements = document.querySelectorAll(".issue:not([class^=clang-tidy-])"); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
elements[i].classList.toggle("tool-filtered", !cb.checked); | ||
} | ||
|
||
updateFileRows(); | ||
} | ||
|
||
function toggleAll() { | ||
var elements = document.querySelectorAll(".idToggle"); | ||
|
||
// starting from 1 since 0 is the "toggle all" input | ||
for (var i = 1, len = elements.length; i < len; i++) { | ||
var changed = elements[i].checked != elements[0].checked; | ||
if (changed) { | ||
elements[i].checked = elements[0].checked; | ||
toggleDisplay(elements[i]); | ||
} | ||
} | ||
} | ||
|
||
function filterFile(filter) { | ||
var elements = document.querySelectorAll(".fileEntry"); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
var visible = elements[i].querySelector("tr").querySelector("td").textContent.toLowerCase().includes(filter.toLowerCase()); | ||
elements[i].classList.toggle("text-filtered", !visible); | ||
} | ||
} | ||
|
||
function filterText(text) { | ||
filter = text.toLowerCase(); | ||
var elements = document.querySelectorAll(".issue"); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
var visible = false; | ||
var fields = elements[i].querySelectorAll("td"); | ||
for (var n = 0, num = fields.length; n < num; n++) { | ||
if (fields[n].textContent.toLowerCase().includes(filter)) { | ||
visible = true; | ||
break; | ||
} | ||
} | ||
elements[i].classList.toggle("text-filtered", !visible); | ||
} | ||
|
||
updateFileRows(); | ||
} | ||
|
||
function updateFileRows(element) { | ||
var elements = document.querySelectorAll(".fileEntry"); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
var visible = elements[i].querySelector(".issue:not(.id-filtered):not(.severity-filtered):not(.tool-filtered):not(.text-filtered)"); | ||
elements[i].classList.toggle("file-filtered", !visible); | ||
} | ||
} | ||
|
||
window.addEventListener("load", initExpandables); | ||
</script> | ||
</head> | ||
<body> | ||
<div id="wrapper"> | ||
<div id="header" class="header"> | ||
<h1>Cppcheck report - mate-settings-daemon: mate-settings-daemon/mate-settings-bus.h</h1> | ||
|
||
</div> | ||
|
||
<div id="menu"> | ||
<p><a href="index.html">Defects:</a> mate-settings-bus.h</p> | ||
<a href="4.html#line-26"> missingIncludeSystem 26</a> | ||
</div> | ||
<div id="content"> | ||
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal"> 1</span> | ||
<span class="normal"> 2</span> | ||
<span class="normal"> 3</span> | ||
<span class="normal"> 4</span> | ||
<span class="normal"> 5</span> | ||
<span class="normal"> 6</span> | ||
<span class="normal"> 7</span> | ||
<span class="normal"> 8</span> | ||
<span class="normal"> 9</span> | ||
<span class="normal">10</span> | ||
<span class="normal">11</span> | ||
<span class="normal">12</span> | ||
<span class="normal">13</span> | ||
<span class="normal">14</span> | ||
<span class="normal">15</span> | ||
<span class="normal">16</span> | ||
<span class="normal">17</span> | ||
<span class="normal">18</span> | ||
<span class="normal">19</span> | ||
<span class="normal">20</span> | ||
<span class="normal">21</span> | ||
<span class="normal">22</span> | ||
<span class="normal">23</span> | ||
<span class="normal">24</span> | ||
<span class="normal">25</span> | ||
<span class="normal">26</span> | ||
<span class="normal">27</span> | ||
<span class="normal">28</span> | ||
<span class="normal">29</span> | ||
<span class="normal">30</span> | ||
<span class="normal">31</span> | ||
<span class="normal">32</span> | ||
<span class="normal">33</span> | ||
<span class="normal">34</span></pre></div></td><td class="code"><div><pre><span></span><a id="line-1" name="line-1"></a><span class="cm">/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-</span> | ||
<a id="line-2" name="line-2"></a><span class="cm"> *</span> | ||
<a id="line-3" name="line-3"></a><span class="cm"> * Copyright (C) 2010-2011 Richard Hughes <richard@hughsie.com></span> | ||
<a id="line-4" name="line-4"></a><span class="cm"> * Copyright (C) 2012-2021 MATE Developers</span> | ||
<a id="line-5" name="line-5"></a><span class="cm"> *</span> | ||
<a id="line-6" name="line-6"></a><span class="cm"> * Licensed under the GNU General Public License Version 2</span> | ||
<a id="line-7" name="line-7"></a><span class="cm"> *</span> | ||
<a id="line-8" name="line-8"></a><span class="cm"> * This program is free software; you can redistribute it and/or modify</span> | ||
<a id="line-9" name="line-9"></a><span class="cm"> * it under the terms of the GNU General Public License as published by</span> | ||
<a id="line-10" name="line-10"></a><span class="cm"> * the Free Software Foundation; either version 2 of the License, or</span> | ||
<a id="line-11" name="line-11"></a><span class="cm"> * (at your option) any later version.</span> | ||
<a id="line-12" name="line-12"></a><span class="cm"> *</span> | ||
<a id="line-13" name="line-13"></a><span class="cm"> * This program is distributed in the hope that it will be useful,</span> | ||
<a id="line-14" name="line-14"></a><span class="cm"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> | ||
<a id="line-15" name="line-15"></a><span class="cm"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> | ||
<a id="line-16" name="line-16"></a><span class="cm"> * GNU General Public License for more details.</span> | ||
<a id="line-17" name="line-17"></a><span class="cm"> *</span> | ||
<a id="line-18" name="line-18"></a><span class="cm"> * You should have received a copy of the GNU General Public License</span> | ||
<a id="line-19" name="line-19"></a><span class="cm"> * along with this program; if not, write to the Free Software</span> | ||
<a id="line-20" name="line-20"></a><span class="cm"> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span> | ||
<a id="line-21" name="line-21"></a><span class="cm"> */</span> | ||
<a id="line-22" name="line-22"></a> | ||
<a id="line-23" name="line-23"></a><span class="cp">#ifndef __MATE_SETTINGS_BUS_H</span> | ||
<a id="line-24" name="line-24"></a><span class="cp">#define __MATE_SETTINGS_BUS_H</span> | ||
<a id="line-25" name="line-25"></a> | ||
<a id="line-26" name="line-26"></a><span class="hll"><span class="cp">#include</span><span class="w"> </span><span class="cpf"><glib-object.h></span><span class="error2"><--- Include file: <glib-object.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.</span> | ||
</span><a id="line-27" name="line-27"></a> | ||
<a id="line-28" name="line-28"></a><span class="n">G_BEGIN_DECLS</span> | ||
<a id="line-29" name="line-29"></a> | ||
<a id="line-30" name="line-30"></a><span class="kt">char</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">mate_settings_get_chassis_type</span><span class="w"> </span><span class="p">(</span><span class="kt">void</span><span class="p">);</span> | ||
<a id="line-31" name="line-31"></a> | ||
<a id="line-32" name="line-32"></a><span class="n">G_END_DECLS</span> | ||
<a id="line-33" name="line-33"></a> | ||
<a id="line-34" name="line-34"></a><span class="cp">#endif </span><span class="cm">/* __MATE_SETTINGS_BUS_H */</span> | ||
</pre></div></td></tr></table></div> | ||
|
||
</div> | ||
<div id="footer" class="footer"> | ||
<p> | ||
Created by Cppcheck 2.12.1 (<a href="https://cppcheck.sourceforge.io">Sourceforge</a>, <a href="irc://irc.freenode.net/cppcheck">IRC</a>) | ||
</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |