diff options
author | Craig Tiller <ctiller@google.com> | 2015-08-05 08:18:21 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-08-05 08:18:21 -0700 |
commit | 68f4e0f6abc6bb99ff334542d5b5003edc3e651e (patch) | |
tree | 320e1f4aa189f06af9dbccce9f709c9c36c3bb6c /doc/ref/core.internal/html/slice_8h.html | |
parent | 3bbacf1b5ece50a8f9a945c88e2f81d3f8594e47 (diff) |
Initial Doxygen import for core, c++
Diffstat (limited to 'doc/ref/core.internal/html/slice_8h.html')
-rw-r--r-- | doc/ref/core.internal/html/slice_8h.html | 643 |
1 files changed, 643 insertions, 0 deletions
diff --git a/doc/ref/core.internal/html/slice_8h.html b/doc/ref/core.internal/html/slice_8h.html new file mode 100644 index 0000000000..cc4a227680 --- /dev/null +++ b/doc/ref/core.internal/html/slice_8h.html @@ -0,0 +1,643 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.6"/> +<title>GRPC Core: include/grpc/support/slice.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="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { searchBox.OnSelectItem(0); }); +</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 style="padding-left: 0.5em;"> + <div id="projectname">GRPC Core +  <span id="projectnumber">0.10.0.0</span> + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.6 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="annotated.html"><span>Data Structures</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>Globals</span></a></li> + </ul> + </div> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></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_cad3142e04109052413f2d2a2d1813b0.html">support</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Data Structures</a> | +<a href="#define-members">Macros</a> | +<a href="#typedef-members">Typedefs</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">slice.h File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <<a class="el" href="sync_8h_source.html">grpc/support/sync.h</a>></code><br/> +<code>#include <stddef.h></code><br/> +</div> +<p><a href="slice_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">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structgpr__slice__refcount.html">gpr_slice_refcount</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structgpr__slice.html">gpr_slice</a></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:a4063c3d8d4820472a4cf2655dd662a31"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#a4063c3d8d4820472a4cf2655dd662a31">GPR_SLICE_INLINED_SIZE</a>   (sizeof(size_t) + sizeof(<a class="el" href="port__platform_8h.html#aeeb41e29e7c7a916a4e0fb6cfb9f92e0">gpr_uint8</a> *) - 1)</td></tr> +<tr class="separator:a4063c3d8d4820472a4cf2655dd662a31"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ab8258afc3398c1426974b0b48dbf5a15"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#ab8258afc3398c1426974b0b48dbf5a15">GPR_SLICE_START_PTR</a>(slice)</td></tr> +<tr class="separator:ab8258afc3398c1426974b0b48dbf5a15"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ae97c2f992c1ebccaf44ceeee1f9fdabb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#ae97c2f992c1ebccaf44ceeee1f9fdabb">GPR_SLICE_LENGTH</a>(slice)</td></tr> +<tr class="separator:ae97c2f992c1ebccaf44ceeee1f9fdabb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1f5333a1260aef2efe086d4e2188e613"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#a1f5333a1260aef2efe086d4e2188e613">GPR_SLICE_SET_LENGTH</a>(slice, newlen)</td></tr> +<tr class="separator:a1f5333a1260aef2efe086d4e2188e613"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9b7e9acd0eb92039a9bc897712a62a14"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#a9b7e9acd0eb92039a9bc897712a62a14">GPR_SLICE_END_PTR</a>(slice)   <a class="el" href="slice_8h.html#ab8258afc3398c1426974b0b48dbf5a15">GPR_SLICE_START_PTR</a>(slice) + <a class="el" href="slice_8h.html#ae97c2f992c1ebccaf44ceeee1f9fdabb">GPR_SLICE_LENGTH</a>(slice)</td></tr> +<tr class="separator:a9b7e9acd0eb92039a9bc897712a62a14"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad4fe3efa7a8938045ce79271d79f79ef"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#ad4fe3efa7a8938045ce79271d79f79ef">GPR_SLICE_IS_EMPTY</a>(slice)   (<a class="el" href="slice_8h.html#ae97c2f992c1ebccaf44ceeee1f9fdabb">GPR_SLICE_LENGTH</a>(slice) == 0)</td></tr> +<tr class="separator:ad4fe3efa7a8938045ce79271d79f79ef"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> +Typedefs</h2></td></tr> +<tr class="memitem:af8841873e741f6cf38b2192147ea4f3e"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structgpr__slice__refcount.html">gpr_slice_refcount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#af8841873e741f6cf38b2192147ea4f3e">gpr_slice_refcount</a></td></tr> +<tr class="separator:af8841873e741f6cf38b2192147ea4f3e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a91fe16db371db7c53d6e3adc90a6678c"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#a91fe16db371db7c53d6e3adc90a6678c">gpr_slice</a></td></tr> +<tr class="separator:a91fe16db371db7c53d6e3adc90a6678c"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:ad28a2bcca348046cbe660a44180e75ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#ad28a2bcca348046cbe660a44180e75ca">gpr_slice_ref</a> (<a class="el" href="structgpr__slice.html">gpr_slice</a> s)</td></tr> +<tr class="separator:ad28a2bcca348046cbe660a44180e75ca"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a024429b0dd15e43a09e48e35ca8810d7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#a024429b0dd15e43a09e48e35ca8810d7">gpr_slice_unref</a> (<a class="el" href="structgpr__slice.html">gpr_slice</a> s)</td></tr> +<tr class="separator:a024429b0dd15e43a09e48e35ca8810d7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aea43587a11bfe2e06fb8532035229bb2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#aea43587a11bfe2e06fb8532035229bb2">gpr_slice_new</a> (void *p, size_t len, void(*destroy)(void *))</td></tr> +<tr class="separator:aea43587a11bfe2e06fb8532035229bb2"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:affd1fef2ffaca67e0b2e7b60923da812"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#affd1fef2ffaca67e0b2e7b60923da812">gpr_slice_new_with_len</a> (void *p, size_t len, void(*destroy)(void *, size_t))</td></tr> +<tr class="separator:affd1fef2ffaca67e0b2e7b60923da812"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ab57463740ccedc00b50721dce66ebd7b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#ab57463740ccedc00b50721dce66ebd7b">gpr_slice_malloc</a> (size_t length)</td></tr> +<tr class="separator:ab57463740ccedc00b50721dce66ebd7b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:adf4df32e55b1b09d3f11c39447dcc68b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#adf4df32e55b1b09d3f11c39447dcc68b">gpr_slice_from_copied_string</a> (const char *source)</td></tr> +<tr class="separator:adf4df32e55b1b09d3f11c39447dcc68b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a83e8110a7a98132963f01eb9c7f7418e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#a83e8110a7a98132963f01eb9c7f7418e">gpr_slice_from_copied_buffer</a> (const char *source, size_t len)</td></tr> +<tr class="separator:a83e8110a7a98132963f01eb9c7f7418e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac9d4e6e264e22c6c6d3748f522da91eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#ac9d4e6e264e22c6c6d3748f522da91eb">gpr_slice_sub</a> (<a class="el" href="structgpr__slice.html">gpr_slice</a> s, size_t begin, size_t end)</td></tr> +<tr class="separator:ac9d4e6e264e22c6c6d3748f522da91eb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:accf08ddad530a5f1cca82c834dc70965"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#accf08ddad530a5f1cca82c834dc70965">gpr_slice_sub_no_ref</a> (<a class="el" href="structgpr__slice.html">gpr_slice</a> s, size_t begin, size_t end)</td></tr> +<tr class="separator:accf08ddad530a5f1cca82c834dc70965"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a51315f2a9217a1d42711f48bfec9d39e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#a51315f2a9217a1d42711f48bfec9d39e">gpr_slice_split_tail</a> (<a class="el" href="structgpr__slice.html">gpr_slice</a> *s, size_t split)</td></tr> +<tr class="separator:a51315f2a9217a1d42711f48bfec9d39e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a842ea6b4a9ab4d0d3becd6fda03bbc24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#a842ea6b4a9ab4d0d3becd6fda03bbc24">gpr_slice_split_head</a> (<a class="el" href="structgpr__slice.html">gpr_slice</a> *s, size_t split)</td></tr> +<tr class="separator:a842ea6b4a9ab4d0d3becd6fda03bbc24"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1a8906400c956fb8c508326a072b0662"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#a1a8906400c956fb8c508326a072b0662">gpr_empty_slice</a> (void)</td></tr> +<tr class="separator:a1a8906400c956fb8c508326a072b0662"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:add3c8736c46bea7517991f178c82ba3c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#add3c8736c46bea7517991f178c82ba3c">gpr_slice_cmp</a> (<a class="el" href="structgpr__slice.html">gpr_slice</a> a, <a class="el" href="structgpr__slice.html">gpr_slice</a> b)</td></tr> +<tr class="separator:add3c8736c46bea7517991f178c82ba3c"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aef752203db50c932010a74c6845872c2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="slice_8h.html#aef752203db50c932010a74c6845872c2">gpr_slice_str_cmp</a> (<a class="el" href="structgpr__slice.html">gpr_slice</a> a, const char *b)</td></tr> +<tr class="separator:aef752203db50c932010a74c6845872c2"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Macro Definition Documentation</h2> +<a class="anchor" id="a9b7e9acd0eb92039a9bc897712a62a14"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define GPR_SLICE_END_PTR</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">slice</td><td>)</td> + <td>   <a class="el" href="slice_8h.html#ab8258afc3398c1426974b0b48dbf5a15">GPR_SLICE_START_PTR</a>(slice) + <a class="el" href="slice_8h.html#ae97c2f992c1ebccaf44ceeee1f9fdabb">GPR_SLICE_LENGTH</a>(slice)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a4063c3d8d4820472a4cf2655dd662a31"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define GPR_SLICE_INLINED_SIZE   (sizeof(size_t) + sizeof(<a class="el" href="port__platform_8h.html#aeeb41e29e7c7a916a4e0fb6cfb9f92e0">gpr_uint8</a> *) - 1)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ad4fe3efa7a8938045ce79271d79f79ef"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define GPR_SLICE_IS_EMPTY</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">slice</td><td>)</td> + <td>   (<a class="el" href="slice_8h.html#ae97c2f992c1ebccaf44ceeee1f9fdabb">GPR_SLICE_LENGTH</a>(slice) == 0)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ae97c2f992c1ebccaf44ceeee1f9fdabb"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define GPR_SLICE_LENGTH</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">slice</td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> +<b>Value:</b><div class="fragment"><div class="line">((slice).refcount ? (slice).data.refcounted.length \</div> +<div class="line"> : (slice).data.inlined.length)</div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="a1f5333a1260aef2efe086d4e2188e613"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define GPR_SLICE_SET_LENGTH</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">slice, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">newlen </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">((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \</div> +<div class="line"> : ((slice).data.inlined.length = (<a class="code" href="port__platform_8h.html#aeeb41e29e7c7a916a4e0fb6cfb9f92e0">gpr_uint8</a>)(newlen)))</div> +<div class="ttc" id="port__platform_8h_html_aeeb41e29e7c7a916a4e0fb6cfb9f92e0"><div class="ttname"><a href="port__platform_8h.html#aeeb41e29e7c7a916a4e0fb6cfb9f92e0">gpr_uint8</a></div><div class="ttdeci">uint8_t gpr_uint8</div><div class="ttdef"><b>Definition:</b> port_platform.h:307</div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="ab8258afc3398c1426974b0b48dbf5a15"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define GPR_SLICE_START_PTR</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">slice</td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> +<b>Value:</b><div class="fragment"><div class="line">((slice).refcount ? (slice).data.refcounted.bytes \</div> +<div class="line"> : (slice).data.inlined.bytes)</div> +</div><!-- fragment --> +</div> +</div> +<h2 class="groupheader">Typedef Documentation</h2> +<a class="anchor" id="a91fe16db371db7c53d6e3adc90a6678c"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef struct <a class="el" href="structgpr__slice.html">gpr_slice</a> <a class="el" href="structgpr__slice.html">gpr_slice</a></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="af8841873e741f6cf38b2192147ea4f3e"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef struct <a class="el" href="structgpr__slice__refcount.html">gpr_slice_refcount</a> <a class="el" href="structgpr__slice__refcount.html">gpr_slice_refcount</a></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<h2 class="groupheader">Function Documentation</h2> +<a class="anchor" id="a1a8906400c956fb8c508326a072b0662"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgpr__slice.html">gpr_slice</a> gpr_empty_slice </td> + <td>(</td> + <td class="paramtype">void </td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="add3c8736c46bea7517991f178c82ba3c"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int gpr_slice_cmp </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td> + <td class="paramname"><em>a</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td> + <td class="paramname"><em>b</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a83e8110a7a98132963f01eb9c7f7418e"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgpr__slice.html">gpr_slice</a> gpr_slice_from_copied_buffer </td> + <td>(</td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>source</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>len</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="adf4df32e55b1b09d3f11c39447dcc68b"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgpr__slice.html">gpr_slice</a> gpr_slice_from_copied_string </td> + <td>(</td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>source</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ab57463740ccedc00b50721dce66ebd7b"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgpr__slice.html">gpr_slice</a> gpr_slice_malloc </td> + <td>(</td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>length</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="aea43587a11bfe2e06fb8532035229bb2"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgpr__slice.html">gpr_slice</a> gpr_slice_new </td> + <td>(</td> + <td class="paramtype">void * </td> + <td class="paramname"><em>p</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>len</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">void(*)(void *) </td> + <td class="paramname"><em>destroy</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="affd1fef2ffaca67e0b2e7b60923da812"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgpr__slice.html">gpr_slice</a> gpr_slice_new_with_len </td> + <td>(</td> + <td class="paramtype">void * </td> + <td class="paramname"><em>p</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>len</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">void(*)(void *, size_t) </td> + <td class="paramname"><em>destroy</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ad28a2bcca348046cbe660a44180e75ca"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgpr__slice.html">gpr_slice</a> gpr_slice_ref </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td> + <td class="paramname"><em>s</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a842ea6b4a9ab4d0d3becd6fda03bbc24"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgpr__slice.html">gpr_slice</a> gpr_slice_split_head </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__slice.html">gpr_slice</a> * </td> + <td class="paramname"><em>s</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>split</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a51315f2a9217a1d42711f48bfec9d39e"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgpr__slice.html">gpr_slice</a> gpr_slice_split_tail </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__slice.html">gpr_slice</a> * </td> + <td class="paramname"><em>s</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>split</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="aef752203db50c932010a74c6845872c2"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int gpr_slice_str_cmp </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td> + <td class="paramname"><em>a</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>b</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ac9d4e6e264e22c6c6d3748f522da91eb"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgpr__slice.html">gpr_slice</a> gpr_slice_sub </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td> + <td class="paramname"><em>s</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>begin</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>end</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="accf08ddad530a5f1cca82c834dc70965"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgpr__slice.html">gpr_slice</a> gpr_slice_sub_no_ref </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td> + <td class="paramname"><em>s</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>begin</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>end</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a024429b0dd15e43a09e48e35ca8810d7"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void gpr_slice_unref </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__slice.html">gpr_slice</a> </td> + <td class="paramname"><em>s</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated on Wed Aug 5 2015 08:17:07 for GRPC Core by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.6 +</small></address> +</body> +</html> |