diff options
Diffstat (limited to 'build/doc/html/array_8h.html')
-rw-r--r-- | build/doc/html/array_8h.html | 381 |
1 files changed, 381 insertions, 0 deletions
diff --git a/build/doc/html/array_8h.html b/build/doc/html/array_8h.html new file mode 100644 index 00000000..e133bef3 --- /dev/null +++ b/build/doc/html/array_8h.html @@ -0,0 +1,381 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.15"/> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>PipeWire: array.h File Reference</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtreedata.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ + $(document).ready(initResizable); +/* @license-end */</script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">PipeWire +  <span id="projectnumber">0.2.9</span> + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.15 --> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +$(function() { + initMenu('',false,false,'search.php','Search'); +}); +/* @license-end */</script> +<div id="main-nav"></div> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + <div id="nav-sync" class="sync"></div> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +$(document).ready(function(){initNavTree('array_8h.html','');}); +/* @license-end */ +</script> +<div id="doc-content"> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Data Structures</a> | +<a href="#define-members">Macros</a> </div> + <div class="headertitle"> +<div class="title">array.h File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><div class="dynheader"> +Include dependency graph for array.h:</div> +<div class="dyncontent"> +<div class="center"><img src="array_8h__incl.png" border="0" usemap="#array_8h" alt=""/></div> +<map name="array_8h" id="array_8h"> +<area shape="rect" title=" " alt="" coords="65,5,131,32"/> +<area shape="rect" title=" " alt="" coords="5,80,73,107"/> +<area shape="rect" title=" " alt="" coords="97,80,219,107"/> +</map> +</div> +</div><div class="textblock"><div class="dynheader"> +This graph shows which files directly or indirectly include this file:</div> +<div class="dyncontent"> +<div class="center"><img src="array_8h__dep__incl.png" border="0" usemap="#array_8hdep" alt=""/></div> +<map name="array_8hdep" id="array_8hdep"> +<area shape="rect" title=" " alt="" coords="152,5,219,32"/> +<area shape="rect" href="map_8h.html" title=" " alt="" coords="49,80,111,107"/> +<area shape="rect" href="properties_8c.html" title=" " alt="" coords="136,80,235,107"/> +<area shape="rect" href="utils_8c.html" title=" " alt="" coords="259,80,320,107"/> +<area shape="rect" href="core_8c.html" title=" " alt="" coords="5,155,67,181"/> +<area shape="rect" href="mem_8c.html" title=" " alt="" coords="91,155,157,181"/> +</map> +</div> +</div> +<p><a href="array_8h_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> +Data Structures</h2></td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html">pw_array</a></td></tr> +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">An array object. <a href="structpw__array.html#details">More...</a><br /></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> +Macros</h2></td></tr> +<tr class="memitem:a20b2d5c76f5bd422da680284e2709164"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="array_8h.html#a20b2d5c76f5bd422da680284e2709164">PW_ARRAY_INIT</a>(extend)   (struct <a class="el" href="structpw__array.html">pw_array</a>) { NULL, 0, 0, extend }</td></tr> +<tr class="separator:a20b2d5c76f5bd422da680284e2709164"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aedd836346a7503ad9b55f6db1135c7eb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="array_8h.html#aedd836346a7503ad9b55f6db1135c7eb">pw_array_get_len_s</a>(a, s)   ((a)->size / (s))</td></tr> +<tr class="separator:aedd836346a7503ad9b55f6db1135c7eb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9bf5018e1a0d7466dc4fcac3e3207939"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="array_8h.html#a9bf5018e1a0d7466dc4fcac3e3207939">pw_array_get_unchecked_s</a>(a, idx, s, t)   SPA_MEMBER((a)-><a class="el" href="structdata.html">data</a>,(idx)*(s),t)</td></tr> +<tr class="separator:a9bf5018e1a0d7466dc4fcac3e3207939"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a47a9004f4bdadccc2f702b83c16e468d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="array_8h.html#a47a9004f4bdadccc2f702b83c16e468d">pw_array_check_index_s</a>(a, idx, s)   ((idx) < <a class="el" href="array_8h.html#aedd836346a7503ad9b55f6db1135c7eb">pw_array_get_len_s</a>(a,s))</td></tr> +<tr class="separator:a47a9004f4bdadccc2f702b83c16e468d"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a85440beb42b600e73e18daa0f3733f18"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="array_8h.html#a85440beb42b600e73e18daa0f3733f18">pw_array_first</a>(a)   ((a)-><a class="el" href="structdata.html">data</a>)</td></tr> +<tr class="separator:a85440beb42b600e73e18daa0f3733f18"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ae9cb8580392ca2b9f97868eb9931968a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="array_8h.html#ae9cb8580392ca2b9f97868eb9931968a">pw_array_end</a>(a)   SPA_MEMBER((a)-><a class="el" href="structdata.html">data</a>, (a)->size, void)</td></tr> +<tr class="separator:ae9cb8580392ca2b9f97868eb9931968a"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a2625032cf701f2e966cbebec6b960596"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="array_8h.html#a2625032cf701f2e966cbebec6b960596">pw_array_check</a>(a, p)   (SPA_MEMBER(p,sizeof(*p),void) <= <a class="el" href="array_8h.html#ae9cb8580392ca2b9f97868eb9931968a">pw_array_end</a>(a))</td></tr> +<tr class="separator:a2625032cf701f2e966cbebec6b960596"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa960ca693013e1b7fce13b0968db70b8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="array_8h.html#aa960ca693013e1b7fce13b0968db70b8">pw_array_for_each</a>(pos, array)</td></tr> +<tr class="separator:aa960ca693013e1b7fce13b0968db70b8"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a7acbb5b8fe524379b21e6eb8b9958aeb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="array_8h.html#a7acbb5b8fe524379b21e6eb8b9958aeb">pw_array_remove</a>(a, p)</td></tr> +<tr class="separator:a7acbb5b8fe524379b21e6eb8b9958aeb"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Macro Definition Documentation</h2> +<a id="a2625032cf701f2e966cbebec6b960596"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a2625032cf701f2e966cbebec6b960596">◆ </a></span>pw_array_check</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_array_check</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">a, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">p </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   (SPA_MEMBER(p,sizeof(*p),void) <= <a class="el" href="array_8h.html#ae9cb8580392ca2b9f97868eb9931968a">pw_array_end</a>(a))</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a47a9004f4bdadccc2f702b83c16e468d"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a47a9004f4bdadccc2f702b83c16e468d">◆ </a></span>pw_array_check_index_s</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_array_check_index_s</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">a, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">idx, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">s </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   ((idx) < <a class="el" href="array_8h.html#aedd836346a7503ad9b55f6db1135c7eb">pw_array_get_len_s</a>(a,s))</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="ae9cb8580392ca2b9f97868eb9931968a"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ae9cb8580392ca2b9f97868eb9931968a">◆ </a></span>pw_array_end</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_array_end</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">a</td><td>)</td> + <td>   SPA_MEMBER((a)-><a class="el" href="structdata.html">data</a>, (a)->size, void)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a85440beb42b600e73e18daa0f3733f18"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a85440beb42b600e73e18daa0f3733f18">◆ </a></span>pw_array_first</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_array_first</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">a</td><td>)</td> + <td>   ((a)-><a class="el" href="structdata.html">data</a>)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="aa960ca693013e1b7fce13b0968db70b8"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aa960ca693013e1b7fce13b0968db70b8">◆ </a></span>pw_array_for_each</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_array_for_each</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">pos, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">array </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> +<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">for</span> (pos = (__typeof__(pos)) <a class="code" href="array_8h.html#a85440beb42b600e73e18daa0f3733f18">pw_array_first</a>(array); \</div><div class="line"> pw_array_check(array, pos); \</div><div class="line"> (pos)++)</div><div class="ttc" id="array_8h_html_a85440beb42b600e73e18daa0f3733f18"><div class="ttname"><a href="array_8h.html#a85440beb42b600e73e18daa0f3733f18">pw_array_first</a></div><div class="ttdeci">#define pw_array_first(a)</div><div class="ttdef"><b>Definition:</b> array.h:63</div></div> +</div><!-- fragment --> +</div> +</div> +<a id="aedd836346a7503ad9b55f6db1135c7eb"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aedd836346a7503ad9b55f6db1135c7eb">◆ </a></span>pw_array_get_len_s</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_array_get_len_s</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">a, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">s </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   ((a)->size / (s))</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a9bf5018e1a0d7466dc4fcac3e3207939"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a9bf5018e1a0d7466dc4fcac3e3207939">◆ </a></span>pw_array_get_unchecked_s</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_array_get_unchecked_s</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">a, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">idx, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">s, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">t </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   SPA_MEMBER((a)-><a class="el" href="structdata.html">data</a>,(idx)*(s),t)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a20b2d5c76f5bd422da680284e2709164"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a20b2d5c76f5bd422da680284e2709164">◆ </a></span>PW_ARRAY_INIT</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PW_ARRAY_INIT</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">extend</td><td>)</td> + <td>   (struct <a class="el" href="structpw__array.html">pw_array</a>) { NULL, 0, 0, extend }</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a7acbb5b8fe524379b21e6eb8b9958aeb"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a7acbb5b8fe524379b21e6eb8b9958aeb">◆ </a></span>pw_array_remove</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_array_remove</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">a, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">p </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> +<b>Value:</b><div class="fragment"><div class="line">(a)->size -= <span class="keyword">sizeof</span>(*(p)); \</div><div class="line"> memmove(p, SPA_MEMBER((p), <span class="keyword">sizeof</span>(*(p)), <span class="keywordtype">void</span>), \</div><div class="line"> SPA_PTRDIFF(<a class="code" href="array_8h.html#ae9cb8580392ca2b9f97868eb9931968a">pw_array_end</a>(a),(p)));</div><div class="ttc" id="array_8h_html_ae9cb8580392ca2b9f97868eb9931968a"><div class="ttname"><a href="array_8h.html#ae9cb8580392ca2b9f97868eb9931968a">pw_array_end</a></div><div class="ttdeci">#define pw_array_end(a)</div><div class="ttdef"><b>Definition:</b> array.h:64</div></div> +</div><!-- fragment --> +</div> +</div> +</div><!-- contents --> +</div><!-- doc-content --> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_7129a66c92fe7beef816c2ac906ef0b3.html">pipewire</a></li><li class="navelem"><a class="el" href="array_8h.html">array.h</a></li> + <li class="footer">Generated by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> + </ul> +</div> +</body> +</html> |