You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
8.2 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.4"/>
  7. <title>rml Namespace Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <!-- end header part -->
  16. <!-- Generated by Doxygen 1.8.4 -->
  17. <div id="navrow1" class="tabs">
  18. <ul class="tablist">
  19. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  20. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  21. <li><a href="modules.html"><span>Modules</span></a></li>
  22. <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
  23. <li><a href="annotated.html"><span>Classes</span></a></li>
  24. <li><a href="files.html"><span>Files</span></a></li>
  25. </ul>
  26. </div>
  27. <div id="navrow2" class="tabs2">
  28. <ul class="tablist">
  29. <li><a href="namespaces.html"><span>Namespace&#160;List</span></a></li>
  30. <li><a href="namespacemembers.html"><span>Namespace&#160;Members</span></a></li>
  31. </ul>
  32. </div>
  33. </div><!-- top -->
  34. <div class="header">
  35. <div class="summary">
  36. <a href="#nested-classes">Classes</a> &#124;
  37. <a href="#typedef-members">Typedefs</a> &#124;
  38. <a href="#enum-members">Enumerations</a> &#124;
  39. <a href="#func-members">Functions</a> </div>
  40. <div class="headertitle">
  41. <div class="title">rml Namespace Reference</div> </div>
  42. </div><!--header-->
  43. <div class="contents">
  44. <p>The namespace rml contains components of low-level memory pool interface.
  45. <a href="#details">More...</a></p>
  46. <table class="memberdecls">
  47. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  48. Classes</h2></td></tr>
  49. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00076.html">MemPoolPolicy</a></td></tr>
  50. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  51. </table><table class="memberdecls">
  52. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
  53. Typedefs</h2></td></tr>
  54. <tr class="memitem:ae13d09a0a00d9cae537655207c8560a2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae13d09a0a00d9cae537655207c8560a2"></a>
  55. typedef void *(*&#160;</td><td class="memItemRight" valign="bottom"><b>rawAllocType</b> )(intptr_t pool_id, size_t &amp;bytes)</td></tr>
  56. <tr class="separator:ae13d09a0a00d9cae537655207c8560a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  57. <tr class="memitem:a44f982f3478d462e81a1300dd516cb8e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44f982f3478d462e81a1300dd516cb8e"></a>
  58. typedef int(*&#160;</td><td class="memItemRight" valign="bottom"><b>rawFreeType</b> )(intptr_t pool_id, void *raw_ptr, size_t raw_bytes)</td></tr>
  59. <tr class="separator:a44f982f3478d462e81a1300dd516cb8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  60. </table><table class="memberdecls">
  61. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
  62. Enumerations</h2></td></tr>
  63. <tr class="memitem:a09eea006328e62aac7cbbbd9a3fb7958"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>MemPoolError</b> { <br/>
  64. &#160;&#160;<b>POOL_OK</b> = TBBMALLOC_OK,
  65. <b>INVALID_POLICY</b> = TBBMALLOC_INVALID_PARAM,
  66. <b>UNSUPPORTED_POLICY</b> = TBBMALLOC_UNSUPPORTED,
  67. <b>NO_MEMORY</b> = TBBMALLOC_NO_MEMORY,
  68. <br/>
  69. &#160;&#160;<b>NO_EFFECT</b> = TBBMALLOC_NO_EFFECT
  70. <br/>
  71. }</td></tr>
  72. <tr class="separator:a09eea006328e62aac7cbbbd9a3fb7958"><td class="memSeparator" colspan="2">&#160;</td></tr>
  73. </table><table class="memberdecls">
  74. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  75. Functions</h2></td></tr>
  76. <tr class="memitem:a152cad3c009030ad9364bc1f3ff0c648"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a152cad3c009030ad9364bc1f3ff0c648"></a>
  77. MemPoolError&#160;</td><td class="memItemRight" valign="bottom"><b>pool_create_v1</b> (intptr_t pool_id, const <a class="el" href="a00076.html">MemPoolPolicy</a> *policy, rml::MemoryPool **pool)</td></tr>
  78. <tr class="separator:a152cad3c009030ad9364bc1f3ff0c648"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. <tr class="memitem:a19a32c0a2ff3a0d8c3eeba0ac894f887"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19a32c0a2ff3a0d8c3eeba0ac894f887"></a>
  80. bool&#160;</td><td class="memItemRight" valign="bottom"><b>pool_destroy</b> (MemoryPool *memPool)</td></tr>
  81. <tr class="separator:a19a32c0a2ff3a0d8c3eeba0ac894f887"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. <tr class="memitem:a5e8b6e757a521a8f2a186b8577aefb98"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e8b6e757a521a8f2a186b8577aefb98"></a>
  83. void *&#160;</td><td class="memItemRight" valign="bottom"><b>pool_malloc</b> (MemoryPool *memPool, size_t size)</td></tr>
  84. <tr class="separator:a5e8b6e757a521a8f2a186b8577aefb98"><td class="memSeparator" colspan="2">&#160;</td></tr>
  85. <tr class="memitem:af9ac1381bacb2cbe1f4bca08e99dd2ee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9ac1381bacb2cbe1f4bca08e99dd2ee"></a>
  86. void *&#160;</td><td class="memItemRight" valign="bottom"><b>pool_realloc</b> (MemoryPool *memPool, void *object, size_t size)</td></tr>
  87. <tr class="separator:af9ac1381bacb2cbe1f4bca08e99dd2ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:a8ac1e82af435d8bef5f7c21506c5f831"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ac1e82af435d8bef5f7c21506c5f831"></a>
  89. void *&#160;</td><td class="memItemRight" valign="bottom"><b>pool_aligned_malloc</b> (MemoryPool *mPool, size_t size, size_t alignment)</td></tr>
  90. <tr class="separator:a8ac1e82af435d8bef5f7c21506c5f831"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:a3b2c69d3eae3f7bdcf36df5af9b2eb2e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b2c69d3eae3f7bdcf36df5af9b2eb2e"></a>
  92. void *&#160;</td><td class="memItemRight" valign="bottom"><b>pool_aligned_realloc</b> (MemoryPool *mPool, void *ptr, size_t size, size_t alignment)</td></tr>
  93. <tr class="separator:a3b2c69d3eae3f7bdcf36df5af9b2eb2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:a61700754fe0ba9d761fab34ad51e3bc2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a61700754fe0ba9d761fab34ad51e3bc2"></a>
  95. bool&#160;</td><td class="memItemRight" valign="bottom"><b>pool_reset</b> (MemoryPool *memPool)</td></tr>
  96. <tr class="separator:a61700754fe0ba9d761fab34ad51e3bc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a06eff2efabb77248f880b86eecc08c6e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a06eff2efabb77248f880b86eecc08c6e"></a>
  98. bool&#160;</td><td class="memItemRight" valign="bottom"><b>pool_free</b> (MemoryPool *memPool, void *object)</td></tr>
  99. <tr class="separator:a06eff2efabb77248f880b86eecc08c6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. </table>
  101. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  102. <div class="textblock"><p>The namespace rml contains components of low-level memory pool interface. </p>
  103. <p>Assert that x is true.</p>
  104. <p>If x is false, print assertion failure message. If the comment argument is not NULL, it is printed as part of the failure message. The comment argument has no other effect. </p>
  105. </div></div><!-- contents -->
  106. <hr>
  107. <p></p>
  108. Copyright &copy; 2005-2014 Intel Corporation. All Rights Reserved.
  109. <p></p>
  110. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  111. registered trademarks or trademarks of Intel Corporation or its
  112. subsidiaries in the United States and other countries.
  113. <p></p>
  114. * Other names and brands may be claimed as the property of others.