diff options
Diffstat (limited to 'runtime/docs/html/map_8c.html')
-rw-r--r-- | runtime/docs/html/map_8c.html | 144 |
1 files changed, 74 insertions, 70 deletions
diff --git a/runtime/docs/html/map_8c.html b/runtime/docs/html/map_8c.html index d69f77a8..22df45e4 100644 --- a/runtime/docs/html/map_8c.html +++ b/runtime/docs/html/map_8c.html @@ -1,17 +1,18 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> -<title>SystemTap: SystemTap Runtime Library</title> +<title>SystemTap: map.c File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> -<div class="qindex"><a class="qindex" href="index.html">Intro</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_defs.html">Defines</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumeration Values</a></div> - <!-- Generated by Doxygen 1.4.1 --> -<h1>map.c File Reference</h1> +<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> +<h1>map.c File Reference</h1>Implements maps (associative arrays) and lists. <a href="#_details">More...</a> +<p> + <p> <a href="map_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> -<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structmap__root.html">MAP</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a3">_stp_map_new</a> (unsigned max_entries, enum <a class="el" href="map_8h.html#a19">valtype</a> type)</td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structmap__root.html">MAP</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a3">_stp_map_new</a> (unsigned max_entries, enum valtype type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new map. <a href="#a3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a5">_stp_map_key_del</a> (<a class="el" href="structmap__root.html">MAP</a> map)</td></tr> @@ -68,7 +69,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a24">_stp_map_stat_add</a> (<a class="el" href="structmap__root.html">MAP</a> map, int64_t val)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add to the current element's statistics. <a href="#a24"></a><br></td></tr> -<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structmap__root.html">MAP</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a25">_stp_list_new</a> (unsigned max_entries, enum <a class="el" href="map_8h.html#a19">valtype</a> type)</td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structmap__root.html">MAP</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a25">_stp_list_new</a> (unsigned max_entries, enum valtype type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new list. <a href="#a25"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a26">_stp_list_clear</a> (<a class="el" href="structmap__root.html">MAP</a> map)</td></tr> @@ -84,7 +85,12 @@ <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the number of elements in a list. <a href="#a29"></a><br></td></tr> </table> -<hr><h2>Function Documentation</h2> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Implements maps (associative arrays) and lists. +<p> + +<p> +Definition in file <a class="el" href="map_8c-source.html">map.c</a>.<hr><h2>Function Documentation</h2> <a class="anchor" name="a28" doxytag="map.c::_stp_list_add_int64"></a><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -129,9 +135,9 @@ Adds an int64 to a list. </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00839">839</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00846">846</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8c-source.html#l00415">_stp_map_key_long()</a>, <a class="el" href="map_8c-source.html#l00525">_stp_map_set_int64()</a>, and <a class="el" href="map_8h-source.html#l00053">map_root::num</a>. </td> +References <a class="el" href="map_8c-source.html#l00420">_stp_map_key_long()</a>, <a class="el" href="map_8c-source.html#l00531">_stp_map_set_int64()</a>, and <a class="el" href="map_8h-source.html#l00062">map_root::num</a>. </td> </tr> </table> <a class="anchor" name="a27" doxytag="map.c::_stp_list_add_str"></a><p> @@ -178,11 +184,9 @@ Adds a string to a list. </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00828">828</a> of file <a class="el" href="map_8c-source.html">map.c</a>. -<p> -References <a class="el" href="map_8c-source.html#l00415">_stp_map_key_long()</a>, <a class="el" href="map_8c-source.html#l00571">_stp_map_set_str()</a>, and <a class="el" href="map_8h-source.html#l00053">map_root::num</a>. +Definition at line <a class="el" href="map_8c-source.html#l00835">835</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -Referenced by <a class="el" href="copy_8c-source.html#l00115">_stp_copy_argv_from_user()</a>. </td> +References <a class="el" href="map_8c-source.html#l00420">_stp_map_key_long()</a>, <a class="el" href="map_8c-source.html#l00578">_stp_map_set_str()</a>, and <a class="el" href="map_8h-source.html#l00062">map_root::num</a>. </td> </tr> </table> <a class="anchor" name="a26" doxytag="map.c::_stp_list_clear"></a><p> @@ -196,7 +200,7 @@ Referenced by <a class="el" href="copy_8c-source.html#l00115">_stp_copy_argv_fro <td class="md" nowrap valign="top"><a class="el" href="structmap__root.html">MAP</a> </td> <td class="mdname1" valign="top" nowrap> <em>map</em> </td> <td class="md" valign="top"> ) </td> - <td class="md" nowrap><code> [inline]</code></td> + <td class="md" nowrap></td> </tr> </table> </td> @@ -219,9 +223,9 @@ All elements in the list are deleted. <dl compact><dt><b>Parameters:</b></dt><dd </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00788">788</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00795">795</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="alloc_8h-source.html#l00057">_stp_free()</a>, <a class="el" href="io_8c-source.html#l00011">dlog()</a>, <a class="el" href="map_8h-source.html#l00059">map_root::head</a>, <a class="el" href="map_8h-source.html#l00022">map_node::hnode</a>, <a class="el" href="map_8h-source.html#l00021">map_node::lnode</a>, <a class="el" href="map_8h-source.html#l00050">map_root::maxnum</a>, <a class="el" href="map_8h-source.html#l00053">map_root::num</a>, and <a class="el" href="map_8h-source.html#l00063">map_root::pool</a>. </td> +References <a class="el" href="map_8h-source.html#l00068">map_root::head</a>, <a class="el" href="map_8h-source.html#l00031">map_node::hnode</a>, <a class="el" href="map_8h-source.html#l00030">map_node::lnode</a>, <a class="el" href="map_8h-source.html#l00059">map_root::maxnum</a>, <a class="el" href="map_8h-source.html#l00062">map_root::num</a>, and <a class="el" href="map_8h-source.html#l00072">map_root::pool</a>. </td> </tr> </table> <a class="anchor" name="a25" doxytag="map.c::_stp_list_new"></a><p> @@ -238,7 +242,7 @@ References <a class="el" href="alloc_8h-source.html#l00057">_stp_free()</a>, <a <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> - <td class="md" nowrap>enum <a class="el" href="map_8h.html#a19">valtype</a> </td> + <td class="md" nowrap>enum valtype </td> <td class="mdname" nowrap> <em>type</em></td> </tr> <tr> @@ -270,9 +274,9 @@ A list is a map that internally has an incrementing long key for each member. Li <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="map_8h.html#a8">foreach</a> </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00776">776</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00783">783</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8c-source.html#l00043">_stp_map_new()</a>, and <a class="el" href="map_8h-source.html#l00056">map_root::no_wrap</a>. </td> +References <a class="el" href="map_8c-source.html#l00047">_stp_map_new()</a>, and <a class="el" href="map_8h-source.html#l00065">map_root::no_wrap</a>. </td> </tr> </table> <a class="anchor" name="a29" doxytag="map.c::_stp_list_size"></a><p> @@ -310,9 +314,9 @@ Get the number of elements in a list. <dl compact><dt><b>Returns:</b></dt><dd>The number of elements in a list. </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00850">850</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00857">857</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8h-source.html#l00053">map_root::num</a>. </td> +References <a class="el" href="map_8h-source.html#l00062">map_root::num</a>. </td> </tr> </table> <a class="anchor" name="a18" doxytag="map.c::_stp_map_add_int64"></a><p> @@ -358,9 +362,10 @@ If the element doesn't exist, it is created. If no current element (key) is set <tr><td valign="top"></td><td valign="top"><em>val</em> </td><td>value </td></tr> </table> </dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="map_8c.html#a17">_stp_map_set_int64</a> </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00541">541</a> of file <a class="el" href="map_8c-source.html">map.c</a>. </td> +Definition at line <a class="el" href="map_8c-source.html#l00548">548</a> of file <a class="el" href="map_8c-source.html">map.c</a>. </td> </tr> </table> <a class="anchor" name="a8" doxytag="map.c::_stp_map_del"></a><p> @@ -397,9 +402,9 @@ Deletes a map, freeing all memory in all elements. Normally done only when the m </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00190">190</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00195">195</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="alloc_8h-source.html#l00067">_stp_vfree()</a>, <a class="el" href="map_8h-source.html#l00059">map_root::head</a>, <a class="el" href="map_8h-source.html#l00021">map_node::lnode</a>, and <a class="el" href="map_8h-source.html#l00081">map_root::membuf</a>. </td> +References <a class="el" href="map_8h-source.html#l00068">map_root::head</a>, <a class="el" href="map_8h-source.html#l00030">map_node::lnode</a>, and <a class="el" href="map_8h-source.html#l00090">map_root::membuf</a>. </td> </tr> </table> <a class="anchor" name="a19" doxytag="map.c::_stp_map_get_int64"></a><p> @@ -437,9 +442,9 @@ Gets the current element's value. <dl compact><dt><b>Returns:</b></dt><dd>The value. If the current element is not set or doesn't exist, returns 0. </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00551">551</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00558">558</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8h-source.html#l00070">map_root::create</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00066">map_root::key</a>, and <a class="el" href="map_8h-source.html#l00032">map_node_int64::val</a>. </td> +References <a class="el" href="map_8h-source.html#l00079">map_root::create</a>, and <a class="el" href="map_8h-source.html#l00075">map_root::key</a>. </td> </tr> </table> <a class="anchor" name="a23" doxytag="map.c::_stp_map_get_stat"></a><p> @@ -477,9 +482,9 @@ Gets the current element's value. <dl compact><dt><b>Returns:</b></dt><dd>A pointer to the stats struct. If the current element is not set or doesn't exist, returns NULL. </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00715">715</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00722">722</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8h-source.html#l00070">map_root::create</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00066">map_root::key</a>, and <a class="el" href="map_8h-source.html#l00042">map_node_stat::stats</a>. </td> +References <a class="el" href="map_8h-source.html#l00079">map_root::create</a>, and <a class="el" href="map_8h-source.html#l00075">map_root::key</a>. </td> </tr> </table> <a class="anchor" name="a21" doxytag="map.c::_stp_map_get_str"></a><p> @@ -517,9 +522,9 @@ Gets the current element's value. <dl compact><dt><b>Returns:</b></dt><dd>A string pointer. If the current element is not set or doesn't exist, returns NULL. </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00632">632</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00639">639</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8h-source.html#l00070">map_root::create</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00066">map_root::key</a>, and <a class="el" href="map_8h-source.html#l00037">map_node_str::str</a>. </td> +References <a class="el" href="map_8h-source.html#l00079">map_root::create</a>, and <a class="el" href="map_8h-source.html#l00075">map_root::key</a>. </td> </tr> </table> <a class="anchor" name="a7" doxytag="map.c::_stp_map_iter"></a><p> @@ -568,9 +573,9 @@ Get the next element in a map. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="map_8h.html#a8">foreach</a> </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00172">172</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00176">176</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00059">map_root::head</a>, and <a class="el" href="map_8h-source.html#l00021">map_node::lnode</a>. </td> +References <a class="el" href="map_8h-source.html#l00068">map_root::head</a>, and <a class="el" href="map_8h-source.html#l00030">map_node::lnode</a>. </td> </tr> </table> <a class="anchor" name="a5" doxytag="map.c::_stp_map_key_del"></a><p> @@ -607,11 +612,11 @@ If no current element (key) for this map is set, this function does nothing. <dl </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00104">104</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00108">108</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="alloc_8h-source.html#l00057">_stp_free()</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00022">map_node::hnode</a>, and <a class="el" href="map_8h-source.html#l00021">map_node::lnode</a>. +References <a class="el" href="map_8h-source.html#l00079">map_root::create</a>, <a class="el" href="map_8h-source.html#l00031">map_node::hnode</a>, <a class="el" href="map_8h-source.html#l00075">map_root::key</a>, and <a class="el" href="map_8h-source.html#l00030">map_node::lnode</a>. <p> -Referenced by <a class="el" href="map_8c-source.html#l00656">_stp_map_set_stat()</a>, and <a class="el" href="map_8c-source.html#l00571">_stp_map_set_str()</a>. </td> +Referenced by <a class="el" href="map_8c-source.html#l00663">_stp_map_set_stat()</a>, and <a class="el" href="map_8c-source.html#l00578">_stp_map_set_str()</a>. </td> </tr> </table> <a class="anchor" name="a14" doxytag="map.c::_stp_map_key_long"></a><p> @@ -658,11 +663,11 @@ This sets the current element based on a long key. If the key is not found, a ne </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00415">415</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00420">420</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8c-source.html#l00218">_stp_map_key_long_long()</a>, <a class="el" href="map_8h-source.html#l00072">map_root::c_key2type</a>, and <a class="el" href="map_8h.html#a18a11">NONE</a>. +References <a class="el" href="map_8c-source.html#l00223">_stp_map_key_long_long()</a>, and <a class="el" href="map_8h-source.html#l00081">map_root::c_key2type</a>. <p> -Referenced by <a class="el" href="map_8c-source.html#l00839">_stp_list_add_int64()</a>, and <a class="el" href="map_8c-source.html#l00828">_stp_list_add_str()</a>. </td> +Referenced by <a class="el" href="map_8c-source.html#l00846">_stp_list_add_int64()</a>, and <a class="el" href="map_8c-source.html#l00835">_stp_list_add_str()</a>. </td> </tr> </table> <a class="anchor" name="a9" doxytag="map.c::_stp_map_key_long_long"></a><p> @@ -716,11 +721,11 @@ This sets the current element based on a key of two strings. If the keys are not </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00218">218</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00223">223</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8h-source.html#l00074">map_root::c_key1</a>, <a class="el" href="map_8h-source.html#l00071">map_root::c_key1type</a>, <a class="el" href="map_8h-source.html#l00075">map_root::c_key2</a>, <a class="el" href="map_8h-source.html#l00072">map_root::c_key2type</a>, <a class="el" href="map_8h-source.html#l00073">map_root::c_keyhead</a>, <a class="el" href="map_8h-source.html#l00070">map_root::create</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00078">map_root::hashes</a>, <a class="el" href="map_8h-source.html#l00066">map_root::key</a>, <a class="el" href="map_8h-source.html#l00023">map_node::key1</a>, <a class="el" href="map_8h.html#a18a12">LONG</a>, and <a class="el" href="map_8h-source.html#l00012">key_data::val</a>. +References <a class="el" href="map_8h-source.html#l00083">map_root::c_key1</a>, <a class="el" href="map_8h-source.html#l00080">map_root::c_key1type</a>, <a class="el" href="map_8h-source.html#l00084">map_root::c_key2</a>, <a class="el" href="map_8h-source.html#l00081">map_root::c_key2type</a>, <a class="el" href="map_8h-source.html#l00082">map_root::c_keyhead</a>, <a class="el" href="map_8h-source.html#l00079">map_root::create</a>, <a class="el" href="map_8h-source.html#l00087">map_root::hashes</a>, <a class="el" href="map_8h-source.html#l00075">map_root::key</a>, <a class="el" href="map_8h-source.html#l00032">map_node::key1</a>, and <a class="el" href="map_8h-source.html#l00020">key_data::val</a>. <p> -Referenced by <a class="el" href="map_8c-source.html#l00415">_stp_map_key_long()</a>. </td> +Referenced by <a class="el" href="map_8c-source.html#l00420">_stp_map_key_long()</a>. </td> </tr> </table> <a class="anchor" name="a12" doxytag="map.c::_stp_map_key_long_str"></a><p> @@ -774,9 +779,9 @@ This sets the current element based on a key of a long and a string. If the keys </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00358">358</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00363">363</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8h-source.html#l00074">map_root::c_key1</a>, <a class="el" href="map_8h-source.html#l00071">map_root::c_key1type</a>, <a class="el" href="map_8h-source.html#l00075">map_root::c_key2</a>, <a class="el" href="map_8h-source.html#l00072">map_root::c_key2type</a>, <a class="el" href="map_8h-source.html#l00073">map_root::c_keyhead</a>, <a class="el" href="map_8h-source.html#l00070">map_root::create</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00078">map_root::hashes</a>, <a class="el" href="map_8h-source.html#l00066">map_root::key</a>, <a class="el" href="map_8h-source.html#l00023">map_node::key1</a>, <a class="el" href="map_8h-source.html#l00024">map_node::key2</a>, <a class="el" href="map_8h.html#a18a12">LONG</a>, <a class="el" href="map_8h.html#a18a13">STR</a>, <a class="el" href="map_8h-source.html#l00013">key_data::str</a>, and <a class="el" href="map_8h-source.html#l00012">key_data::val</a>. </td> +References <a class="el" href="map_8h-source.html#l00083">map_root::c_key1</a>, <a class="el" href="map_8h-source.html#l00080">map_root::c_key1type</a>, <a class="el" href="map_8h-source.html#l00084">map_root::c_key2</a>, <a class="el" href="map_8h-source.html#l00081">map_root::c_key2type</a>, <a class="el" href="map_8h-source.html#l00082">map_root::c_keyhead</a>, <a class="el" href="map_8h-source.html#l00079">map_root::create</a>, <a class="el" href="map_8h-source.html#l00087">map_root::hashes</a>, <a class="el" href="map_8h-source.html#l00075">map_root::key</a>, <a class="el" href="map_8h-source.html#l00032">map_node::key1</a>, <a class="el" href="map_8h-source.html#l00033">map_node::key2</a>, <a class="el" href="map_8h-source.html#l00021">key_data::str</a>, and <a class="el" href="map_8h-source.html#l00020">key_data::val</a>. </td> </tr> </table> <a class="anchor" name="a13" doxytag="map.c::_stp_map_key_str"></a><p> @@ -823,9 +828,9 @@ This sets the current element based on a string key. If the key is not found, a </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00399">399</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00404">404</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8c-source.html#l00261">_stp_map_key_str_str()</a>, <a class="el" href="map_8h-source.html#l00072">map_root::c_key2type</a>, and <a class="el" href="map_8h.html#a18a11">NONE</a>. </td> +References <a class="el" href="map_8c-source.html#l00266">_stp_map_key_str_str()</a>, and <a class="el" href="map_8h-source.html#l00081">map_root::c_key2type</a>. </td> </tr> </table> <a class="anchor" name="a11" doxytag="map.c::_stp_map_key_str_long"></a><p> @@ -879,9 +884,9 @@ This sets the current element based on a key of a string and a long. If the keys </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00310">310</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00315">315</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8h-source.html#l00074">map_root::c_key1</a>, <a class="el" href="map_8h-source.html#l00071">map_root::c_key1type</a>, <a class="el" href="map_8h-source.html#l00075">map_root::c_key2</a>, <a class="el" href="map_8h-source.html#l00072">map_root::c_key2type</a>, <a class="el" href="map_8h-source.html#l00073">map_root::c_keyhead</a>, <a class="el" href="map_8h-source.html#l00070">map_root::create</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00078">map_root::hashes</a>, <a class="el" href="map_8h-source.html#l00066">map_root::key</a>, <a class="el" href="map_8h-source.html#l00023">map_node::key1</a>, <a class="el" href="map_8h-source.html#l00024">map_node::key2</a>, <a class="el" href="map_8h.html#a18a12">LONG</a>, <a class="el" href="map_8h.html#a18a13">STR</a>, <a class="el" href="map_8h-source.html#l00013">key_data::str</a>, and <a class="el" href="map_8h-source.html#l00012">key_data::val</a>. </td> +References <a class="el" href="map_8h-source.html#l00083">map_root::c_key1</a>, <a class="el" href="map_8h-source.html#l00080">map_root::c_key1type</a>, <a class="el" href="map_8h-source.html#l00084">map_root::c_key2</a>, <a class="el" href="map_8h-source.html#l00081">map_root::c_key2type</a>, <a class="el" href="map_8h-source.html#l00082">map_root::c_keyhead</a>, <a class="el" href="map_8h-source.html#l00079">map_root::create</a>, <a class="el" href="map_8h-source.html#l00087">map_root::hashes</a>, <a class="el" href="map_8h-source.html#l00075">map_root::key</a>, <a class="el" href="map_8h-source.html#l00032">map_node::key1</a>, <a class="el" href="map_8h-source.html#l00033">map_node::key2</a>, <a class="el" href="map_8h-source.html#l00021">key_data::str</a>, and <a class="el" href="map_8h-source.html#l00020">key_data::val</a>. </td> </tr> </table> <a class="anchor" name="a10" doxytag="map.c::_stp_map_key_str_str"></a><p> @@ -935,11 +940,11 @@ This sets the current element based on a key of two strings. If the keys are not </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00261">261</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00266">266</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8h-source.html#l00074">map_root::c_key1</a>, <a class="el" href="map_8h-source.html#l00071">map_root::c_key1type</a>, <a class="el" href="map_8h-source.html#l00075">map_root::c_key2</a>, <a class="el" href="map_8h-source.html#l00072">map_root::c_key2type</a>, <a class="el" href="map_8h-source.html#l00073">map_root::c_keyhead</a>, <a class="el" href="map_8h-source.html#l00070">map_root::create</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00078">map_root::hashes</a>, <a class="el" href="map_8h-source.html#l00066">map_root::key</a>, <a class="el" href="map_8h-source.html#l00023">map_node::key1</a>, <a class="el" href="map_8h-source.html#l00024">map_node::key2</a>, <a class="el" href="map_8h.html#a18a13">STR</a>, and <a class="el" href="map_8h-source.html#l00013">key_data::str</a>. +References <a class="el" href="map_8h-source.html#l00083">map_root::c_key1</a>, <a class="el" href="map_8h-source.html#l00080">map_root::c_key1type</a>, <a class="el" href="map_8h-source.html#l00084">map_root::c_key2</a>, <a class="el" href="map_8h-source.html#l00081">map_root::c_key2type</a>, <a class="el" href="map_8h-source.html#l00082">map_root::c_keyhead</a>, <a class="el" href="map_8h-source.html#l00079">map_root::create</a>, <a class="el" href="map_8h-source.html#l00087">map_root::hashes</a>, <a class="el" href="map_8h-source.html#l00075">map_root::key</a>, <a class="el" href="map_8h-source.html#l00032">map_node::key1</a>, <a class="el" href="map_8h-source.html#l00033">map_node::key2</a>, and <a class="el" href="map_8h-source.html#l00021">key_data::str</a>. <p> -Referenced by <a class="el" href="map_8c-source.html#l00399">_stp_map_key_str()</a>. </td> +Referenced by <a class="el" href="map_8c-source.html#l00404">_stp_map_key_str()</a>. </td> </tr> </table> <a class="anchor" name="a3" doxytag="map.c::_stp_map_new"></a><p> @@ -956,7 +961,7 @@ Referenced by <a class="el" href="map_8c-source.html#l00399">_stp_map_key_str()< <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> - <td class="md" nowrap>enum <a class="el" href="map_8h.html#a19">valtype</a> </td> + <td class="md" nowrap>enum valtype </td> <td class="mdname" nowrap> <em>type</em></td> </tr> <tr> @@ -987,11 +992,11 @@ Maps must be created at module initialization time. <dl compact><dt><b>Parameter <dl compact><dt><b>Returns:</b></dt><dd>A MAP on success or NULL on failure. </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00043">43</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00047">47</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="alloc_8h-source.html#l00043">_stp_valloc()</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h.html#a19a17">END</a>, <a class="el" href="map_8h-source.html#l00059">map_root::head</a>, <a class="el" href="map_8h-source.html#l00050">map_root::maxnum</a>, <a class="el" href="map_8h-source.html#l00081">map_root::membuf</a>, <a class="el" href="map_8h-source.html#l00063">map_root::pool</a>, and <a class="el" href="map_8h-source.html#l00047">map_root::type</a>. +References <a class="el" href="map_8h-source.html#l00068">map_root::head</a>, <a class="el" href="map_8h-source.html#l00059">map_root::maxnum</a>, <a class="el" href="map_8h-source.html#l00090">map_root::membuf</a>, <a class="el" href="map_8h-source.html#l00072">map_root::pool</a>, and <a class="el" href="map_8h-source.html#l00058">map_root::type</a>. <p> -Referenced by <a class="el" href="map_8c-source.html#l00776">_stp_list_new()</a>. </td> +Referenced by <a class="el" href="map_8c-source.html#l00783">_stp_list_new()</a>. </td> </tr> </table> <a class="anchor" name="a17" doxytag="map.c::_stp_map_set_int64"></a><p> @@ -1037,11 +1042,12 @@ If the element doesn't exist, it is created. If no current element (key) is set <tr><td valign="top"></td><td valign="top"><em>val</em> </td><td>new value </td></tr> </table> </dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="map_8c.html#a18">_stp_map_add_int64</a> </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00525">525</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00531">531</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -Referenced by <a class="el" href="map_8c-source.html#l00839">_stp_list_add_int64()</a>. </td> +Referenced by <a class="el" href="map_8c-source.html#l00846">_stp_list_add_int64()</a>. </td> </tr> </table> <a class="anchor" name="a22" doxytag="map.c::_stp_map_set_stat"></a><p> @@ -1090,11 +1096,11 @@ If the element doesn't exist, it is created. If no current element (key) is set <dl compact><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>Histograms don't work yet. </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00656">656</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00663">663</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="alloc_8h-source.html#l00028">_stp_calloc()</a>, <a class="el" href="map_8c-source.html#l00104">_stp_map_key_del()</a>, <a class="el" href="map_8h-source.html#l00070">map_root::create</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00059">map_root::head</a>, <a class="el" href="map_8h-source.html#l00022">map_node::hnode</a>, <a class="el" href="map_8h-source.html#l00066">map_root::key</a>, <a class="el" href="map_8h-source.html#l00021">map_node::lnode</a>, <a class="el" href="map_8h-source.html#l00050">map_root::maxnum</a>, <a class="el" href="map_8h-source.html#l00041">map_node_stat::n</a>, <a class="el" href="map_8h-source.html#l00056">map_root::no_wrap</a>, <a class="el" href="map_8h-source.html#l00063">map_root::pool</a>, and <a class="el" href="map_8h-source.html#l00042">map_node_stat::stats</a>. +References <a class="el" href="map_8c-source.html#l00108">_stp_map_key_del()</a>, <a class="el" href="map_8h-source.html#l00079">map_root::create</a>, <a class="el" href="map_8h-source.html#l00068">map_root::head</a>, <a class="el" href="map_8h-source.html#l00075">map_root::key</a>, <a class="el" href="map_8h-source.html#l00059">map_root::maxnum</a>, <a class="el" href="map_8h-source.html#l00065">map_root::no_wrap</a>, and <a class="el" href="map_8h-source.html#l00072">map_root::pool</a>. <p> -Referenced by <a class="el" href="map_8c-source.html#l00736">_stp_map_stat_add()</a>. </td> +Referenced by <a class="el" href="map_8c-source.html#l00743">_stp_map_stat_add()</a>. </td> </tr> </table> <a class="anchor" name="a20" doxytag="map.c::_stp_map_set_str"></a><p> @@ -1142,11 +1148,11 @@ If the element doesn't exist, it is created. If no current element (key) is set </dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00571">571</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00578">578</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="alloc_8h-source.html#l00012">_stp_alloc()</a>, <a class="el" href="alloc_8h-source.html#l00028">_stp_calloc()</a>, <a class="el" href="alloc_8h-source.html#l00057">_stp_free()</a>, <a class="el" href="map_8c-source.html#l00104">_stp_map_key_del()</a>, <a class="el" href="map_8h-source.html#l00070">map_root::create</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00059">map_root::head</a>, <a class="el" href="map_8h-source.html#l00022">map_node::hnode</a>, <a class="el" href="map_8h-source.html#l00066">map_root::key</a>, <a class="el" href="map_8h-source.html#l00021">map_node::lnode</a>, <a class="el" href="map_8h-source.html#l00050">map_root::maxnum</a>, <a class="el" href="map_8h-source.html#l00036">map_node_str::n</a>, <a class="el" href="map_8h-source.html#l00056">map_root::no_wrap</a>, <a class="el" href="map_8h-source.html#l00063">map_root::pool</a>, and <a class="el" href="map_8h-source.html#l00037">map_node_str::str</a>. +References <a class="el" href="map_8c-source.html#l00108">_stp_map_key_del()</a>, <a class="el" href="map_8h-source.html#l00079">map_root::create</a>, <a class="el" href="map_8h-source.html#l00068">map_root::head</a>, <a class="el" href="map_8h-source.html#l00075">map_root::key</a>, <a class="el" href="map_8h-source.html#l00059">map_root::maxnum</a>, <a class="el" href="map_8h-source.html#l00065">map_root::no_wrap</a>, and <a class="el" href="map_8h-source.html#l00072">map_root::pool</a>. <p> -Referenced by <a class="el" href="map_8c-source.html#l00828">_stp_list_add_str()</a>. </td> +Referenced by <a class="el" href="map_8c-source.html#l00835">_stp_list_add_str()</a>. </td> </tr> </table> <a class="anchor" name="a6" doxytag="map.c::_stp_map_start"></a><p> @@ -1185,9 +1191,9 @@ Get the first element in a map. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="map_8h.html#a8">foreach</a> </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00149">149</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00153">153</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, and <a class="el" href="map_8h-source.html#l00059">map_root::head</a>. </td> +References <a class="el" href="map_8h-source.html#l00068">map_root::head</a>. </td> </tr> </table> <a class="anchor" name="a24" doxytag="map.c::_stp_map_stat_add"></a><p> @@ -1236,13 +1242,11 @@ If the element doesn't exist, it is created. If no current element (key) is set <dl compact><dt><b><a class="el" href="todo.html#_todo000003">Todo:</a></b></dt><dd>Histograms don't work yet. </dd></dl> <p> -Definition at line <a class="el" href="map_8c-source.html#l00736">736</a> of file <a class="el" href="map_8c-source.html">map.c</a>. +Definition at line <a class="el" href="map_8c-source.html#l00743">743</a> of file <a class="el" href="map_8c-source.html">map.c</a>. <p> -References <a class="el" href="map_8c-source.html#l00656">_stp_map_set_stat()</a>, <a class="el" href="map_8h-source.html#l00005">stat::count</a>, <a class="el" href="map_8h-source.html#l00070">map_root::create</a>, <a class="el" href="runtime_8h-source.html#l00020">dbug</a>, <a class="el" href="map_8h-source.html#l00066">map_root::key</a>, <a class="el" href="map_8h-source.html#l00007">stat::max</a>, <a class="el" href="map_8h-source.html#l00007">stat::min</a>, <a class="el" href="map_8h-source.html#l00042">map_node_stat::stats</a>, and <a class="el" href="map_8h-source.html#l00006">stat::sum</a>. </td> +References <a class="el" href="map_8c-source.html#l00663">_stp_map_set_stat()</a>, <a class="el" href="map_8h-source.html#l00079">map_root::create</a>, and <a class="el" href="map_8h-source.html#l00075">map_root::key</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Mon Mar 21 13:29:45 2005 for SystemTap by -<a href="http://www.doxygen.org/index.html"> -<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.1 </small></address> -</body> +<hr size="1"><address style="align: right;"><small> +Generated on Tue Mar 22 00:32:02 2005 for SystemTap.</small></body> </html> |