1 <!-- HTML header for doxygen 1.8.9.1-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7 <meta name="generator" content="Doxygen 1.8.11"/>
8 <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
9 <title>ARM Compute Library: arm_compute/core/Error.h File Reference</title>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <script type="text/javascript" src="jquery.js"></script>
12 <script type="text/javascript" src="dynsections.js"></script>
13 <link href="navtree.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="resize.js"></script>
15 <script type="text/javascript" src="navtreedata.js"></script>
16 <script type="text/javascript" src="navtree.js"></script>
17 <script type="text/javascript">
18 $(document).ready(initResizable);
19 $(window).load(resizeHeight);
21 <link href="search/search.css" rel="stylesheet" type="text/css"/>
22 <script type="text/javascript" src="search/searchdata.js"></script>
23 <script type="text/javascript" src="search/search.js"></script>
24 <script type="text/javascript">
25 $(document).ready(function() { init_search(); });
27 <script type="text/x-mathjax-config">
29 extensions: ["tex2jax.js"],
30 jax: ["input/TeX","output/HTML-CSS"],
32 </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
33 <link href="doxygen.css" rel="stylesheet" type="text/css" />
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
38 <table cellspacing="0" cellpadding="0">
40 <tr style="height: 56px;">
41 <td style="padding-left: 0.5em;">
42 <div id="projectname">ARM Compute Library
43  <span id="projectnumber">17.04</span>
50 <!-- end header part -->
51 <!-- Generated by Doxygen 1.8.11 -->
52 <script type="text/javascript">
53 var searchBox = new SearchBox("searchBox", "search",false,'Search');
55 <div id="navrow1" class="tabs">
57 <li><a href="index.xhtml"><span>Main Page</span></a></li>
58 <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
59 <li><a href="annotated.xhtml"><span>Data Structures</span></a></li>
60 <li class="current"><a href="files.xhtml"><span>Files</span></a></li>
62 <div id="MSearchBox" class="MSearchBoxInactive">
64 <img id="MSearchSelect" src="search/mag_sel.png"
65 onmouseover="return searchBox.OnSearchSelectShow()"
66 onmouseout="return searchBox.OnSearchSelectHide()"
68 <input type="text" id="MSearchField" value="Search" accesskey="S"
69 onfocus="searchBox.OnSearchFieldFocus(true)"
70 onblur="searchBox.OnSearchFieldFocus(false)"
71 onkeyup="searchBox.OnSearchFieldChange(event)"/>
72 </span><span class="right">
73 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
79 <div id="navrow2" class="tabs2">
81 <li><a href="files.xhtml"><span>File List</span></a></li>
82 <li><a href="globals.xhtml"><span>Globals</span></a></li>
86 <div id="side-nav" class="ui-resizable side-nav-resizable">
88 <div id="nav-tree-contents">
89 <div id="nav-sync" class="sync"></div>
92 <div id="splitbar" style="-moz-user-select:none;"
93 class="ui-resizable-handle">
96 <script type="text/javascript">
97 $(document).ready(function(){initNavTree('_error_8h.xhtml','');});
99 <div id="doc-content">
100 <!-- window showing the filter options -->
101 <div id="MSearchSelectWindow"
102 onmouseover="return searchBox.OnSearchSelectShow()"
103 onmouseout="return searchBox.OnSearchSelectHide()"
104 onkeydown="return searchBox.OnSearchSelectKey(event)">
107 <!-- iframe showing the search results (closed by default) -->
108 <div id="MSearchResultsWindow">
109 <iframe src="javascript:void(0)" frameborder="0"
110 name="MSearchResults" id="MSearchResults">
115 <div class="summary">
116 <a href="#namespaces">Namespaces</a> |
117 <a href="#define-members">Macros</a> |
118 <a href="#func-members">Functions</a> </div>
119 <div class="headertitle">
120 <div class="title">Error.h File Reference</div> </div>
122 <div class="contents">
124 <p><a href="_error_8h_source.xhtml">Go to the source code of this file.</a></p>
125 <table class="memberdecls">
126 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
127 Namespaces</h2></td></tr>
128 <tr class="memitem:namespacearm__compute"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></td></tr>
129 <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
130 </table><table class="memberdecls">
131 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
132 Macros</h2></td></tr>
133 <tr class="memitem:a05b19c75afe9c24200a62b9724734bbd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a05b19c75afe9c24200a62b9724734bbd">ARM_COMPUTE_ERROR</a>(...)   ::<a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">arm_compute::error</a>(__func__, __FILE__, __LINE__, __VA_ARGS__)</td></tr>
134 <tr class="memdesc:a05b19c75afe9c24200a62b9724734bbd"><td class="mdescLeft"> </td><td class="mdescRight">Print the given message then throw an std::runtime_error. <a href="#a05b19c75afe9c24200a62b9724734bbd">More...</a><br /></td></tr>
135 <tr class="separator:a05b19c75afe9c24200a62b9724734bbd"><td class="memSeparator" colspan="2"> </td></tr>
136 <tr class="memitem:af93757c5021d1802b094dfbead459391"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#af93757c5021d1802b094dfbead459391">ARM_COMPUTE_ERROR_LOC</a>(func, file, line, ...)   ::<a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">arm_compute::error</a>(func, file, line, __VA_ARGS__)</td></tr>
137 <tr class="memdesc:af93757c5021d1802b094dfbead459391"><td class="mdescLeft"> </td><td class="mdescRight">Print the given message then throw an std::runtime_error. <a href="#af93757c5021d1802b094dfbead459391">More...</a><br /></td></tr>
138 <tr class="separator:af93757c5021d1802b094dfbead459391"><td class="memSeparator" colspan="2"> </td></tr>
139 <tr class="memitem:a4103adbb45806b2f2002d44b91d0d206"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a4103adbb45806b2f2002d44b91d0d206">ARM_COMPUTE_UNUSED</a>(var)   (void)(var)</td></tr>
140 <tr class="memdesc:a4103adbb45806b2f2002d44b91d0d206"><td class="mdescLeft"> </td><td class="mdescRight">To avoid unused variables warnings. <a href="#a4103adbb45806b2f2002d44b91d0d206">More...</a><br /></td></tr>
141 <tr class="separator:a4103adbb45806b2f2002d44b91d0d206"><td class="memSeparator" colspan="2"> </td></tr>
142 <tr class="memitem:a5bbdcf574d3f5e412fa6a1117911e67b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(cond, ...)</td></tr>
143 <tr class="separator:a5bbdcf574d3f5e412fa6a1117911e67b"><td class="memSeparator" colspan="2"> </td></tr>
144 <tr class="memitem:a1b62e396a1789909dadda61ea4cda96f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a1b62e396a1789909dadda61ea4cda96f">ARM_COMPUTE_ERROR_ON_LOC_MSG</a>(cond, func, file, line, ...)</td></tr>
145 <tr class="separator:a1b62e396a1789909dadda61ea4cda96f"><td class="memSeparator" colspan="2"> </td></tr>
146 <tr class="memitem:a50048c593c53405cca5b0d69dfe25554"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a50048c593c53405cca5b0d69dfe25554">ARM_COMPUTE_CONST_ON_ERROR</a>(cond, val, msg)   val</td></tr>
147 <tr class="separator:a50048c593c53405cca5b0d69dfe25554"><td class="memSeparator" colspan="2"> </td></tr>
148 <tr class="memitem:a54a6080c9f4df1f908e57a9bbb46f5da"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(cond)   <a class="el" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(cond, #cond)</td></tr>
149 <tr class="memdesc:a54a6080c9f4df1f908e57a9bbb46f5da"><td class="mdescLeft"> </td><td class="mdescRight">If the condition is true then an error message is printed and an exception thrown. <a href="#a54a6080c9f4df1f908e57a9bbb46f5da">More...</a><br /></td></tr>
150 <tr class="separator:a54a6080c9f4df1f908e57a9bbb46f5da"><td class="memSeparator" colspan="2"> </td></tr>
151 <tr class="memitem:ac90c3bce005225cbaa4a43740917bb58"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#ac90c3bce005225cbaa4a43740917bb58">ARM_COMPUTE_ERROR_ON_LOC</a>(cond, func, file, line)   <a class="el" href="_error_8h.xhtml#a1b62e396a1789909dadda61ea4cda96f">ARM_COMPUTE_ERROR_ON_LOC_MSG</a>(cond, func, file, line, #cond)</td></tr>
152 <tr class="memdesc:ac90c3bce005225cbaa4a43740917bb58"><td class="mdescLeft"> </td><td class="mdescRight">If the condition is true then an error message is printed and an exception thrown. <a href="#ac90c3bce005225cbaa4a43740917bb58">More...</a><br /></td></tr>
153 <tr class="separator:ac90c3bce005225cbaa4a43740917bb58"><td class="memSeparator" colspan="2"> </td></tr>
154 </table><table class="memberdecls">
155 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
156 Functions</h2></td></tr>
157 <tr class="memitem:a568b0fbfa3d903099d9c9f7b6acf188d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">error</a> (const char *function, const char *file, const int line, const char *msg,...)</td></tr>
158 <tr class="memdesc:a568b0fbfa3d903099d9c9f7b6acf188d"><td class="mdescLeft"> </td><td class="mdescRight">Print an error message then throw an std::runtime_error. <a href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">More...</a><br /></td></tr>
159 <tr class="separator:a568b0fbfa3d903099d9c9f7b6acf188d"><td class="memSeparator" colspan="2"> </td></tr>
161 <h2 class="groupheader">Macro Definition Documentation</h2>
162 <a class="anchor" id="a50048c593c53405cca5b0d69dfe25554"></a>
163 <div class="memitem">
164 <div class="memproto">
165 <table class="memname">
167 <td class="memname">#define ARM_COMPUTE_CONST_ON_ERROR</td>
169 <td class="paramtype"> </td>
170 <td class="paramname">cond, </td>
173 <td class="paramkey"></td>
175 <td class="paramtype"> </td>
176 <td class="paramname">val, </td>
179 <td class="paramkey"></td>
181 <td class="paramtype"> </td>
182 <td class="paramname">msg </td>
187 <td></td><td>   val</td>
190 </div><div class="memdoc">
192 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00093">93</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
196 <a class="anchor" id="a05b19c75afe9c24200a62b9724734bbd"></a>
197 <div class="memitem">
198 <div class="memproto">
199 <table class="memname">
201 <td class="memname">#define ARM_COMPUTE_ERROR</td>
203 <td class="paramtype"> </td>
204 <td class="paramname"><em>...</em></td><td>)</td>
205 <td>   ::<a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">arm_compute::error</a>(__func__, __FILE__, __LINE__, __VA_ARGS__)</td>
208 </div><div class="memdoc">
210 <p>Print the given message then throw an std::runtime_error. </p>
211 <dl class="params"><dt>Parameters</dt><dd>
212 <table class="params">
213 <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Message to display before aborting. </td></tr>
218 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00031">31</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
220 <p>Referenced by <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00098">arm_compute::data_size_from_type()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00195">arm_compute::data_type_from_format()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00169">arm_compute::element_size_from_data_type()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00142">PPMLoader::fill_image()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00283">arm_compute::num_planes_from_format()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00094">PPMLoader::open()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00131">arm_compute::pixel_size_from_format()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00236">arm_compute::plane_idx_from_channel()</a>, and <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00245">test_helpers::save_to_ppm()</a>.</p>
224 <a class="anchor" id="af93757c5021d1802b094dfbead459391"></a>
225 <div class="memitem">
226 <div class="memproto">
227 <table class="memname">
229 <td class="memname">#define ARM_COMPUTE_ERROR_LOC</td>
231 <td class="paramtype"> </td>
232 <td class="paramname">func, </td>
235 <td class="paramkey"></td>
237 <td class="paramtype"> </td>
238 <td class="paramname">file, </td>
241 <td class="paramkey"></td>
243 <td class="paramtype"> </td>
244 <td class="paramname">line, </td>
247 <td class="paramkey"></td>
249 <td class="paramtype"> </td>
250 <td class="paramname"><em>...</em> </td>
255 <td></td><td>   ::<a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">arm_compute::error</a>(func, file, line, __VA_ARGS__)</td>
258 </div><div class="memdoc">
260 <p>Print the given message then throw an std::runtime_error. </p>
261 <dl class="params"><dt>Parameters</dt><dd>
262 <table class="params">
263 <tr><td class="paramdir">[in]</td><td class="paramname">func</td><td>Function in which the error occurred. </td></tr>
264 <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>File in which the error occurred. </td></tr>
265 <tr><td class="paramdir">[in]</td><td class="paramname">line</td><td>Line in which the error occurred. </td></tr>
266 <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Message to display before aborting. </td></tr>
271 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00040">40</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
275 <a class="anchor" id="a54a6080c9f4df1f908e57a9bbb46f5da"></a>
276 <div class="memitem">
277 <div class="memproto">
278 <table class="memname">
280 <td class="memname">#define ARM_COMPUTE_ERROR_ON</td>
282 <td class="paramtype"> </td>
283 <td class="paramname">cond</td><td>)</td>
284 <td>   <a class="el" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(cond, #cond)</td>
287 </div><div class="memdoc">
289 <p>If the condition is true then an error message is printed and an exception thrown. </p>
290 <dl class="params"><dt>Parameters</dt><dd>
291 <table class="params">
292 <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to evaluate </td></tr>
297 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00100">100</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
299 <p>Referenced by <a class="el" href="_i_access_window_8h_source.xhtml#l00217">AccessWindowHorizontal::AccessWindowHorizontal()</a>, <a class="el" href="_i_access_window_8h_source.xhtml#l00132">AccessWindowRectangle::AccessWindowRectangle()</a>, <a class="el" href="_i_access_window_8h_source.xhtml#l00196">AccessWindowVertical::AccessWindowVertical()</a>, <a class="el" href="_i_access_window_8h_source.xhtml#l00047">arm_compute::adjust_down()</a>, <a class="el" href="_i_access_window_8h_source.xhtml#l00063">arm_compute::adjust_up()</a>, <a class="el" href="_i_array_8h_source.xhtml#l00117">IArray< NELKInternalKeypoint >::at()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00042">arm_compute::ceil_to_multiple()</a>, <a class="el" href="_c_l_array_8h_source.xhtml#l00075">CLArray< T >::cl_buffer()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00550">arm_compute::colorconvert_iyuv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00445">arm_compute::colorconvert_iyuv_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00737">arm_compute::colorconvert_iyuv_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00591">arm_compute::colorconvert_nv12_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00389">arm_compute::colorconvert_nv12_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00686">arm_compute::colorconvert_nv12_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00825">arm_compute::colorconvert_rgb_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00789">arm_compute::colorconvert_rgb_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00303">arm_compute::colorconvert_rgb_to_rgbx()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00862">arm_compute::colorconvert_rgb_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00327">arm_compute::colorconvert_rgbx_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00633">arm_compute::colorconvert_yuyv_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00502">arm_compute::colorconvert_yuyv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00351">arm_compute::colorconvert_yuyv_to_rgb()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00142">PPMLoader::fill_image()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00050">arm_compute::floor_to_multiple()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00125">PPMLoader::init_image()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00094">PPMLoader::open()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00102">Dimensions< size_t >::operator[]()</a>, <a class="el" href="_i_array_8h_source.xhtml#l00078">IArray< NELKInternalKeypoint >::push_back()</a>, <a class="el" href="_i_array_8h_source.xhtml#l00128">IArray< NELKInternalKeypoint >::resize()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00245">test_helpers::save_to_ppm()</a>, <a class="el" href="_window_8inl_source.xhtml#l00053">Window::scale()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00073">Dimensions< size_t >::set()</a>, <a class="el" href="_window_8inl_source.xhtml#l00040">Window::set()</a>, <a class="el" href="_window_8inl_source.xhtml#l00062">Window::set_dimension_step()</a>, <a class="el" href="_window_8inl_source.xhtml#l00046">Window::shift()</a>, <a class="el" href="_window_8inl_source.xhtml#l00085">Window::split_window()</a>, <a class="el" href="_tensor_shape_8h_source.xhtml#l00068">TensorShape::total_size()</a>, <a class="el" href="_tensor_shape_8h_source.xhtml#l00082">TensorShape::total_size_upper()</a>, and <a class="el" href="_window_8inl_source.xhtml#l00068">Window::validate()</a>.</p>
303 <a class="anchor" id="ac90c3bce005225cbaa4a43740917bb58"></a>
304 <div class="memitem">
305 <div class="memproto">
306 <table class="memname">
308 <td class="memname">#define ARM_COMPUTE_ERROR_ON_LOC</td>
310 <td class="paramtype"> </td>
311 <td class="paramname">cond, </td>
314 <td class="paramkey"></td>
316 <td class="paramtype"> </td>
317 <td class="paramname">func, </td>
320 <td class="paramkey"></td>
322 <td class="paramtype"> </td>
323 <td class="paramname">file, </td>
326 <td class="paramkey"></td>
328 <td class="paramtype"> </td>
329 <td class="paramname">line </td>
334 <td></td><td>   <a class="el" href="_error_8h.xhtml#a1b62e396a1789909dadda61ea4cda96f">ARM_COMPUTE_ERROR_ON_LOC_MSG</a>(cond, func, file, line, #cond)</td>
337 </div><div class="memdoc">
339 <p>If the condition is true then an error message is printed and an exception thrown. </p>
340 <dl class="params"><dt>Parameters</dt><dd>
341 <table class="params">
342 <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to evaluate </td></tr>
343 <tr><td class="paramdir">[in]</td><td class="paramname">func</td><td>Function in which the error occurred. </td></tr>
344 <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>File in which the error occurred. </td></tr>
345 <tr><td class="paramdir">[in]</td><td class="paramname">line</td><td>Line in which the error occurred. </td></tr>
350 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00110">110</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
352 <p>Referenced by <a class="el" href="_validate_8h_source.xhtml#l00292">arm_compute::error_on_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00227">arm_compute::error_on_data_type_not_in()</a>, and <a class="el" href="_validate_8h_source.xhtml#l00196">arm_compute::error_on_format_not_in()</a>.</p>
356 <a class="anchor" id="a1b62e396a1789909dadda61ea4cda96f"></a>
357 <div class="memitem">
358 <div class="memproto">
359 <table class="memname">
361 <td class="memname">#define ARM_COMPUTE_ERROR_ON_LOC_MSG</td>
363 <td class="paramtype"> </td>
364 <td class="paramname">cond, </td>
367 <td class="paramkey"></td>
369 <td class="paramtype"> </td>
370 <td class="paramname">func, </td>
373 <td class="paramkey"></td>
375 <td class="paramtype"> </td>
376 <td class="paramname">file, </td>
379 <td class="paramkey"></td>
381 <td class="paramtype"> </td>
382 <td class="paramname">line, </td>
385 <td class="paramkey"></td>
387 <td class="paramtype"> </td>
388 <td class="paramname"><em>...</em> </td>
396 </div><div class="memdoc">
398 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00092">92</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
400 <p>Referenced by <a class="el" href="_validate_8h_source.xhtml#l00259">arm_compute::error_on_data_type_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00227">arm_compute::error_on_data_type_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00196">arm_compute::error_on_format_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00162">arm_compute::error_on_mismatching_data_types()</a>, and <a class="el" href="_validate_8h_source.xhtml#l00132">arm_compute::error_on_mismatching_shapes()</a>.</p>
404 <a class="anchor" id="a5bbdcf574d3f5e412fa6a1117911e67b"></a>
405 <div class="memitem">
406 <div class="memproto">
407 <table class="memname">
409 <td class="memname">#define ARM_COMPUTE_ERROR_ON_MSG</td>
411 <td class="paramtype"> </td>
412 <td class="paramname">cond, </td>
415 <td class="paramkey"></td>
417 <td class="paramtype"> </td>
418 <td class="paramname"><em>...</em> </td>
426 </div><div class="memdoc">
428 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00091">91</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
430 <p>Referenced by <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00142">PPMLoader::fill_image()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00094">PPMLoader::open()</a>, and <a class="el" href="_utils_8cpp_source.xhtml#l00136">test_helpers::parse_ppm_header()</a>.</p>
434 <a class="anchor" id="a4103adbb45806b2f2002d44b91d0d206"></a>
435 <div class="memitem">
436 <div class="memproto">
437 <table class="memname">
439 <td class="memname">#define ARM_COMPUTE_UNUSED</td>
441 <td class="paramtype"> </td>
442 <td class="paramname">var</td><td>)</td>
443 <td>   (void)(var)</td>
446 </div><div class="memdoc">
448 <p>To avoid unused variables warnings. </p>
449 <p>This is useful if for example a variable is only used in debug builds and generates a warning in release builds.</p>
450 <dl class="params"><dt>Parameters</dt><dd>
451 <table class="params">
452 <tr><td class="paramdir">[in]</td><td class="paramname">var</td><td>Variable which is unused </td></tr>
457 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00049">49</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
459 <p>Referenced by <a class="el" href="_validate_8h_source.xhtml#l00292">arm_compute::error_on_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00259">arm_compute::error_on_data_type_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00227">arm_compute::error_on_data_type_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00196">arm_compute::error_on_format_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00162">arm_compute::error_on_mismatching_data_types()</a>, <a class="el" href="_validate_8h_source.xhtml#l00132">arm_compute::error_on_mismatching_shapes()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00142">PPMLoader::fill_image()</a>, <a class="el" href="neon__copy__objects_8cpp_source.xhtml#l00035">main_neon_copy_objects()</a>, and <a class="el" href="_utils_8cpp_source.xhtml#l00136">test_helpers::parse_ppm_header()</a>.</p>
463 </div><!-- contents -->
464 </div><!-- doc-content -->
465 <!-- start footer part -->
466 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
468 <li class="navelem"><a class="el" href="dir_214608ef36d61442cb2b0c1c4e9a7def.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="dir_1fb090f0c6070330bfaccc4236d3ca0d.xhtml">core</a></li><li class="navelem"><a class="el" href="_error_8h.xhtml">Error.h</a></li>
469 <li class="footer">Generated on Wed Apr 12 2017 14:26:05 for ARM Compute Library by
470 <a href="http://www.doxygen.org/index.html">
471 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>