123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- <!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.17"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>GRPC C++: include/grpc/impl/codegen/slice.h Source File</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="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></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">GRPC C++
-  <span id="projectnumber">1.36.1</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.17 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <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('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <div id="nav-path" class="navpath">
- <ul>
- <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_9d7a14d6d9adcbe4c35dbdb88d867e2e.html">grpc</a></li><li class="navelem"><a class="el" href="dir_4b3e2ed696753daba329e2683e0f6479.html">impl</a></li><li class="navelem"><a class="el" href="dir_7a167954ab48275cc692d783196d1f28.html">codegen</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="headertitle">
- <div class="title">slice.h</div> </div>
- </div><!--header-->
- <div class="contents">
- <a href="grpc_2impl_2codegen_2slice_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
- <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright 2015 gRPC authors.</span></div>
- <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span></div>
- <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * you may not use this file except in compliance with the License.</span></div>
- <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * You may obtain a copy of the License at</span></div>
- <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
- <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
- <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div>
- <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
- <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div>
- <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * limitations under the License.</span></div>
- <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> */</span></div>
- <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
- <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef GRPC_IMPL_CODEGEN_SLICE_H</span></div>
- <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define GRPC_IMPL_CODEGEN_SLICE_H</span></div>
- <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
- <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <<a class="code" href="impl_2codegen_2port__platform_8h.html">grpc/impl/codegen/port_platform.h</a>></span></div>
- <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
- <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <stddef.h></span></div>
- <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
- <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="gpr__slice_8h.html">grpc/impl/codegen/gpr_slice.h</a>></span></div>
- <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
- <div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="grpc_2impl_2codegen_2slice_8h.html#a2a5f8eaa5d8784bfec46ac983644dca2"> 28</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structgrpc__slice.html">grpc_slice</a> <a class="code" href="structgrpc__slice.html">grpc_slice</a>;</div>
- <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
- <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment">/* Inlined half of grpc_slice is allowed to expand the size of the overall type</span></div>
- <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> by this many bytes */</span></div>
- <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="grpc_2impl_2codegen_2slice_8h.html#a6a30245ea694a3915b1413a2f50c9b54"> 45</a></span> <span class="preprocessor">#define GRPC_SLICE_INLINE_EXTRA_SIZE sizeof(void*)</span></div>
- <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
- <div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="grpc_2impl_2codegen_2slice_8h.html#ae65fc74cb3afbcd3299a1c93f90bae20"> 47</a></span> <span class="preprocessor">#define GRPC_SLICE_INLINED_SIZE \</span></div>
- <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"> (sizeof(size_t) + sizeof(uint8_t*) - 1 + GRPC_SLICE_INLINE_EXTRA_SIZE)</span></div>
- <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
- <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">struct </span>grpc_slice_refcount;</div>
- <div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structgrpc__slice.html"> 60</a></span> <span class="keyword">struct </span><a class="code" href="structgrpc__slice.html">grpc_slice</a> {</div>
- <div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structgrpc__slice.html#a467ef319d024f1897c7ff3bdadb78493"> 61</a></span>  <span class="keyword">struct </span>grpc_slice_refcount* <a class="code" href="structgrpc__slice.html#a467ef319d024f1897c7ff3bdadb78493">refcount</a>;</div>
- <div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="uniongrpc__slice_1_1grpc__slice__data.html"> 62</a></span>  <span class="keyword">union </span><a class="code" href="uniongrpc__slice_1_1grpc__slice__data.html">grpc_slice_data</a> {</div>
- <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted.html"> 63</a></span>  <span class="keyword">struct </span><a class="code" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted.html">grpc_slice_refcounted</a> {</div>
- <div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted.html#abb0e321a6dfc5609ce4a7eb940484ee0"> 64</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted.html#abb0e321a6dfc5609ce4a7eb940484ee0">length</a>;</div>
- <div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted.html#abeb23ef5c6395ccd04908b9d7227a566"> 65</a></span>  uint8_t* <a class="code" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted.html#abeb23ef5c6395ccd04908b9d7227a566">bytes</a>;</div>
- <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  } <a class="code" href="uniongrpc__slice_1_1grpc__slice__data.html#a6b1bb3c74a54421cc98b2b0b3bfd1069">refcounted</a>;</div>
- <div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined.html"> 67</a></span>  <span class="keyword">struct </span><a class="code" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined.html">grpc_slice_inlined</a> {</div>
- <div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined.html#a252a85cb15f1793625ef88b1fa4f9f89"> 68</a></span>  uint8_t <a class="code" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined.html#a252a85cb15f1793625ef88b1fa4f9f89">length</a>;</div>
- <div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined.html#ae4d2db52d28392a565aae5d5ba698c28"> 69</a></span>  uint8_t <a class="code" href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined.html#ae4d2db52d28392a565aae5d5ba698c28">bytes</a>[<a class="code" href="grpc_2impl_2codegen_2slice_8h.html#ae65fc74cb3afbcd3299a1c93f90bae20">GRPC_SLICE_INLINED_SIZE</a>];</div>
- <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  } <a class="code" href="uniongrpc__slice_1_1grpc__slice__data.html#ad3ffc4dc1a9dbde58f03a45e558e72a6">inlined</a>;</div>
- <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  } <a class="code" href="structgrpc__slice.html#a935f767d484585d016725be83e34917c">data</a>;</div>
- <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> };</div>
- <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div>
- <div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="grpc_2impl_2codegen_2slice_8h.html#a81db47a2be0a079aa797cd77f3864809"> 74</a></span> <span class="preprocessor">#define GRPC_SLICE_BUFFER_INLINE_ELEMENTS 8</span></div>
- <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
- <div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structgrpc__slice__buffer.html"> 78</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structgrpc__slice__buffer.html">grpc_slice_buffer</a> {</div>
- <div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structgrpc__slice__buffer.html#a52a8e83b31006d685d98ce4db16520d8"> 81</a></span>  <a class="code" href="structgrpc__slice.html">grpc_slice</a>* <a class="code" href="structgrpc__slice__buffer.html#a52a8e83b31006d685d98ce4db16520d8">base_slices</a>;</div>
- <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
- <div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structgrpc__slice__buffer.html#ac37e9d19ec31eab8f429d2b4af908256"> 84</a></span>  <a class="code" href="structgrpc__slice.html">grpc_slice</a>* <a class="code" href="structgrpc__slice__buffer.html#ac37e9d19ec31eab8f429d2b4af908256">slices</a>;</div>
- <div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structgrpc__slice__buffer.html#ac6b9b99f100ac02280fe6ba0edc754cc"> 86</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structgrpc__slice__buffer.html#ac6b9b99f100ac02280fe6ba0edc754cc">count</a>;</div>
- <div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="structgrpc__slice__buffer.html#a8f35fa07c9a4d9f9a4e088a1155e5833"> 89</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structgrpc__slice__buffer.html#a8f35fa07c9a4d9f9a4e088a1155e5833">capacity</a>;</div>
- <div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structgrpc__slice__buffer.html#ad796dcdd16fbb680a7a5368228d20127"> 91</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structgrpc__slice__buffer.html#ad796dcdd16fbb680a7a5368228d20127">length</a>;</div>
- <div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structgrpc__slice__buffer.html#a27c76a4e972a41ab5ac6504c4426fab9"> 93</a></span>  <a class="code" href="structgrpc__slice.html">grpc_slice</a> <a class="code" href="structgrpc__slice__buffer.html#a27c76a4e972a41ab5ac6504c4426fab9">inlined</a>[<a class="code" href="grpc_2impl_2codegen_2slice_8h.html#a81db47a2be0a079aa797cd77f3864809">GRPC_SLICE_BUFFER_INLINE_ELEMENTS</a>];</div>
- <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> } <a class="code" href="grpc_2impl_2codegen_2slice_8h.html#a7aef9f4bf29684d4c69b6fdd3d9399be">grpc_slice_buffer</a>;</div>
- <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
- <div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="grpc_2impl_2codegen_2slice_8h.html#a8a15783c251cdeb18c3f8b0ad41d0352"> 96</a></span> <span class="preprocessor">#define GRPC_SLICE_START_PTR(slice) \</span></div>
- <div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor"> ((slice).refcount ? (slice).data.refcounted.bytes \</span></div>
- <div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor"> : (slice).data.inlined.bytes)</span></div>
- <div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="grpc_2impl_2codegen_2slice_8h.html#ae965fb2ee1a646253cdbd49d82b0b6c5"> 99</a></span> <span class="preprocessor">#define GRPC_SLICE_LENGTH(slice) \</span></div>
- <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor"> ((slice).refcount ? (slice).data.refcounted.length \</span></div>
- <div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="preprocessor"> : (slice).data.inlined.length)</span></div>
- <div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="grpc_2impl_2codegen_2slice_8h.html#a6791fa7be0a1a9144e005cfea7baea84"> 102</a></span> <span class="preprocessor">#define GRPC_SLICE_SET_LENGTH(slice, newlen) \</span></div>
- <div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor"> ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \</span></div>
- <div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor"> : ((slice).data.inlined.length = (uint8_t)(newlen)))</span></div>
- <div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="grpc_2impl_2codegen_2slice_8h.html#a96535019e10a540192c1f276ec049a56"> 105</a></span> <span class="preprocessor">#define GRPC_SLICE_END_PTR(slice) \</span></div>
- <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="preprocessor"> GRPC_SLICE_START_PTR(slice) + GRPC_SLICE_LENGTH(slice)</span></div>
- <div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="grpc_2impl_2codegen_2slice_8h.html#a829178b3baec8b96a992a5607ad3ed93"> 107</a></span> <span class="preprocessor">#define GRPC_SLICE_IS_EMPTY(slice) (GRPC_SLICE_LENGTH(slice) == 0)</span></div>
- <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  </div>
- <div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="preprocessor">#ifdef GRPC_ALLOW_GPR_SLICE_FUNCTIONS</span></div>
- <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
- <div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="comment">/* Duplicate GPR_* definitions */</span></div>
- <div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="preprocessor">#define GPR_SLICE_START_PTR(slice) \</span></div>
- <div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor"> ((slice).refcount ? (slice).data.refcounted.bytes \</span></div>
- <div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="preprocessor"> : (slice).data.inlined.bytes)</span></div>
- <div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="preprocessor">#define GPR_SLICE_LENGTH(slice) \</span></div>
- <div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="preprocessor"> ((slice).refcount ? (slice).data.refcounted.length \</span></div>
- <div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor"> : (slice).data.inlined.length)</span></div>
- <div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="preprocessor">#define GPR_SLICE_SET_LENGTH(slice, newlen) \</span></div>
- <div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor"> ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \</span></div>
- <div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor"> : ((slice).data.inlined.length = (uint8_t)(newlen)))</span></div>
- <div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor">#define GPR_SLICE_END_PTR(slice) \</span></div>
- <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor"> GRPC_SLICE_START_PTR(slice) + GRPC_SLICE_LENGTH(slice)</span></div>
- <div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor">#define GPR_SLICE_IS_EMPTY(slice) (GRPC_SLICE_LENGTH(slice) == 0)</span></div>
- <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div>
- <div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor">#endif </span><span class="comment">/* GRPC_ALLOW_GPR_SLICE_FUNCTIONS */</span><span class="preprocessor"></span></div>
- <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
- <div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="preprocessor">#endif </span><span class="comment">/* GRPC_IMPL_CODEGEN_SLICE_H */</span><span class="preprocessor"></span></div>
- </div><!-- fragment --></div><!-- contents -->
- <div class="ttc" id="astructgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined_html_ae4d2db52d28392a565aae5d5ba698c28"><div class="ttname"><a href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined.html#ae4d2db52d28392a565aae5d5ba698c28">grpc_slice::grpc_slice_data::grpc_slice_inlined::bytes</a></div><div class="ttdeci">uint8_t bytes[(sizeof(size_t)+sizeof(uint8_t *) - 1+sizeof(void *))]</div><div class="ttdef"><b>Definition:</b> slice.h:69</div></div>
- <div class="ttc" id="astructgrpc__slice__buffer_html_a27c76a4e972a41ab5ac6504c4426fab9"><div class="ttname"><a href="structgrpc__slice__buffer.html#a27c76a4e972a41ab5ac6504c4426fab9">grpc_slice_buffer::inlined</a></div><div class="ttdeci">grpc_slice inlined[8]</div><div class="ttdoc">inlined elements to avoid allocations</div><div class="ttdef"><b>Definition:</b> slice.h:93</div></div>
- <div class="ttc" id="astructgrpc__slice_html_a467ef319d024f1897c7ff3bdadb78493"><div class="ttname"><a href="structgrpc__slice.html#a467ef319d024f1897c7ff3bdadb78493">grpc_slice::refcount</a></div><div class="ttdeci">struct grpc_slice_refcount * refcount</div><div class="ttdef"><b>Definition:</b> slice.h:61</div></div>
- <div class="ttc" id="astructgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted_html_abb0e321a6dfc5609ce4a7eb940484ee0"><div class="ttname"><a href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted.html#abb0e321a6dfc5609ce4a7eb940484ee0">grpc_slice::grpc_slice_data::grpc_slice_refcounted::length</a></div><div class="ttdeci">size_t length</div><div class="ttdef"><b>Definition:</b> slice.h:64</div></div>
- <div class="ttc" id="agrpc_2impl_2codegen_2slice_8h_html_a81db47a2be0a079aa797cd77f3864809"><div class="ttname"><a href="grpc_2impl_2codegen_2slice_8h.html#a81db47a2be0a079aa797cd77f3864809">GRPC_SLICE_BUFFER_INLINE_ELEMENTS</a></div><div class="ttdeci">#define GRPC_SLICE_BUFFER_INLINE_ELEMENTS</div><div class="ttdef"><b>Definition:</b> slice.h:74</div></div>
- <div class="ttc" id="astructgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted_html"><div class="ttname"><a href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted.html">grpc_slice::grpc_slice_data::grpc_slice_refcounted</a></div><div class="ttdef"><b>Definition:</b> slice.h:63</div></div>
- <div class="ttc" id="astructgrpc__slice__buffer_html_ac37e9d19ec31eab8f429d2b4af908256"><div class="ttname"><a href="structgrpc__slice__buffer.html#ac37e9d19ec31eab8f429d2b4af908256">grpc_slice_buffer::slices</a></div><div class="ttdeci">grpc_slice * slices</div><div class="ttdoc">slices in the array (Points to the first valid grpc_slice in the array)</div><div class="ttdef"><b>Definition:</b> slice.h:84</div></div>
- <div class="ttc" id="astructgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined_html"><div class="ttname"><a href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined.html">grpc_slice::grpc_slice_data::grpc_slice_inlined</a></div><div class="ttdef"><b>Definition:</b> slice.h:67</div></div>
- <div class="ttc" id="auniongrpc__slice_1_1grpc__slice__data_html"><div class="ttname"><a href="uniongrpc__slice_1_1grpc__slice__data.html">grpc_slice::grpc_slice_data</a></div><div class="ttdef"><b>Definition:</b> slice.h:62</div></div>
- <div class="ttc" id="astructgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined_html_a252a85cb15f1793625ef88b1fa4f9f89"><div class="ttname"><a href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__inlined.html#a252a85cb15f1793625ef88b1fa4f9f89">grpc_slice::grpc_slice_data::grpc_slice_inlined::length</a></div><div class="ttdeci">uint8_t length</div><div class="ttdef"><b>Definition:</b> slice.h:68</div></div>
- <div class="ttc" id="astructgrpc__slice__buffer_html_ac6b9b99f100ac02280fe6ba0edc754cc"><div class="ttname"><a href="structgrpc__slice__buffer.html#ac6b9b99f100ac02280fe6ba0edc754cc">grpc_slice_buffer::count</a></div><div class="ttdeci">size_t count</div><div class="ttdoc">the number of slices in the array</div><div class="ttdef"><b>Definition:</b> slice.h:86</div></div>
- <div class="ttc" id="agrpc_2impl_2codegen_2slice_8h_html_a7aef9f4bf29684d4c69b6fdd3d9399be"><div class="ttname"><a href="grpc_2impl_2codegen_2slice_8h.html#a7aef9f4bf29684d4c69b6fdd3d9399be">grpc_slice_buffer</a></div><div class="ttdeci">struct grpc_slice_buffer grpc_slice_buffer</div><div class="ttdoc">Represents an expandable array of slices, to be interpreted as a single item.</div></div>
- <div class="ttc" id="auniongrpc__slice_1_1grpc__slice__data_html_ad3ffc4dc1a9dbde58f03a45e558e72a6"><div class="ttname"><a href="uniongrpc__slice_1_1grpc__slice__data.html#ad3ffc4dc1a9dbde58f03a45e558e72a6">grpc_slice::grpc_slice_data::inlined</a></div><div class="ttdeci">struct grpc_slice::grpc_slice_data::grpc_slice_inlined inlined</div></div>
- <div class="ttc" id="astructgrpc__slice__buffer_html_ad796dcdd16fbb680a7a5368228d20127"><div class="ttname"><a href="structgrpc__slice__buffer.html#ad796dcdd16fbb680a7a5368228d20127">grpc_slice_buffer::length</a></div><div class="ttdeci">size_t length</div><div class="ttdoc">the combined length of all slices in the array</div><div class="ttdef"><b>Definition:</b> slice.h:91</div></div>
- <div class="ttc" id="astructgrpc__slice_html"><div class="ttname"><a href="structgrpc__slice.html">grpc_slice</a></div><div class="ttdoc">A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1].</div><div class="ttdef"><b>Definition:</b> slice.h:60</div></div>
- <div class="ttc" id="auniongrpc__slice_1_1grpc__slice__data_html_a6b1bb3c74a54421cc98b2b0b3bfd1069"><div class="ttname"><a href="uniongrpc__slice_1_1grpc__slice__data.html#a6b1bb3c74a54421cc98b2b0b3bfd1069">grpc_slice::grpc_slice_data::refcounted</a></div><div class="ttdeci">struct grpc_slice::grpc_slice_data::grpc_slice_refcounted refcounted</div></div>
- <div class="ttc" id="aimpl_2codegen_2port__platform_8h_html"><div class="ttname"><a href="impl_2codegen_2port__platform_8h.html">port_platform.h</a></div></div>
- <div class="ttc" id="astructgrpc__slice_html_a935f767d484585d016725be83e34917c"><div class="ttname"><a href="structgrpc__slice.html#a935f767d484585d016725be83e34917c">grpc_slice::data</a></div><div class="ttdeci">union grpc_slice::grpc_slice_data data</div></div>
- <div class="ttc" id="astructgrpc__slice__buffer_html_a52a8e83b31006d685d98ce4db16520d8"><div class="ttname"><a href="structgrpc__slice__buffer.html#a52a8e83b31006d685d98ce4db16520d8">grpc_slice_buffer::base_slices</a></div><div class="ttdeci">grpc_slice * base_slices</div><div class="ttdoc">This is for internal use only.</div><div class="ttdef"><b>Definition:</b> slice.h:81</div></div>
- <div class="ttc" id="astructgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted_html_abeb23ef5c6395ccd04908b9d7227a566"><div class="ttname"><a href="structgrpc__slice_1_1grpc__slice__data_1_1grpc__slice__refcounted.html#abeb23ef5c6395ccd04908b9d7227a566">grpc_slice::grpc_slice_data::grpc_slice_refcounted::bytes</a></div><div class="ttdeci">uint8_t * bytes</div><div class="ttdef"><b>Definition:</b> slice.h:65</div></div>
- <div class="ttc" id="agrpc_2impl_2codegen_2slice_8h_html_ae65fc74cb3afbcd3299a1c93f90bae20"><div class="ttname"><a href="grpc_2impl_2codegen_2slice_8h.html#ae65fc74cb3afbcd3299a1c93f90bae20">GRPC_SLICE_INLINED_SIZE</a></div><div class="ttdeci">#define GRPC_SLICE_INLINED_SIZE</div><div class="ttdef"><b>Definition:</b> slice.h:47</div></div>
- <div class="ttc" id="astructgrpc__slice__buffer_html_a8f35fa07c9a4d9f9a4e088a1155e5833"><div class="ttname"><a href="structgrpc__slice__buffer.html#a8f35fa07c9a4d9f9a4e088a1155e5833">grpc_slice_buffer::capacity</a></div><div class="ttdeci">size_t capacity</div><div class="ttdoc">the number of slices allocated in the array.</div><div class="ttdef"><b>Definition:</b> slice.h:89</div></div>
- <div class="ttc" id="agpr__slice_8h_html"><div class="ttname"><a href="gpr__slice_8h.html">gpr_slice.h</a></div></div>
- <div class="ttc" id="astructgrpc__slice__buffer_html"><div class="ttname"><a href="structgrpc__slice__buffer.html">grpc_slice_buffer</a></div><div class="ttdoc">Represents an expandable array of slices, to be interpreted as a single item.</div><div class="ttdef"><b>Definition:</b> slice.h:78</div></div>
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated on Wed Mar 3 2021 19:17:18 for GRPC C++ by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.17
- </small></address>
- </body>
- </html>
|