1<!DOCTYPE html> 2<html lang="en"> 3<head> 4<meta charset="UTF-8"> 5<title>sampleFile - OpenGrok cross reference for /sampleFile</title></head><body> 6<script type="text/javascript">/* <![CDATA[ */ 7function get_sym_list(){return [["Function","xf",[["Ancestor",37],["addInstance",84],["createTaggedAncestor",183],["definitionContains",223],["getDef",112],["getFieldName",100],["getInstOffset",124],["getNumInstances",118],["getPath",133],["getTag",106],["listTaggedAncestors",143],["~Ancestor",51]]]];} /* ]]> */</script><a class="l" name="1" href="#1">1</a><span class='fold-space'> </span><span class="c">/* 8<a class="l" name="2" href="#2">2</a><span class='fold-space'> </span> * CDDL HEADER START 9<a class="l" name="3" href="#3">3</a><span class='fold-space'> </span> * 10<a class="l" name="4" href="#4">4</a><span class='fold-space'> </span> * The contents of this file are subject to the terms of the 11<a class="l" name="5" href="#5">5</a><span class='fold-space'> </span> * Common Development and Distribution License, Version 1.0 only 12<a class="l" name="6" href="#6">6</a><span class='fold-space'> </span> * (the "License"). You may not use this file except in compliance 13<a class="l" name="7" href="#7">7</a><span class='fold-space'> </span> * with the License. 14<a class="l" name="8" href="#8">8</a><span class='fold-space'> </span> * 15<a class="l" name="9" href="#9">9</a><span class='fold-space'> </span> * You can obtain a copy of the license at <a href="/source/s?path=usr/">usr</a>/<a href="/source/s?path=usr/src/">src</a>/<a href="/source/s?path=usr/src/OPENSOLARIS.LICENSE">OPENSOLARIS.LICENSE</a> 16<a class="hl" name="10" href="#10">10</a><span class='fold-space'> </span> * or <a href="http://www.opensolaris.org/os/licensing">http://www.opensolaris.org/os/licensing</a>. 17<a class="l" name="11" href="#11">11</a><span class='fold-space'> </span> * See the License for the specific language governing permissions 18<a class="l" name="12" href="#12">12</a><span class='fold-space'> </span> * and limitations under the License. 19<a class="l" name="13" href="#13">13</a><span class='fold-space'> </span> * 20<a class="l" name="14" href="#14">14</a><span class='fold-space'> </span> * When distributing Covered Code, include this CDDL HEADER in each 21<a class="l" name="15" href="#15">15</a><span class='fold-space'> </span> * file and include the License file at <a href="/source/s?path=usr/">usr</a>/<a href="/source/s?path=usr/src/">src</a>/<a href="/source/s?path=usr/src/OPENSOLARIS.LICENSE">OPENSOLARIS.LICENSE</a>. 22<a class="l" name="16" href="#16">16</a><span class='fold-space'> </span> * If applicable, add the following below this CDDL HEADER, with the 23<a class="l" name="17" href="#17">17</a><span class='fold-space'> </span> * fields enclosed by brackets "[]" replaced with your own identifying 24<a class="l" name="18" href="#18">18</a><span class='fold-space'> </span> * information: Portions Copyright [yyyy] [name of copyright owner] 25<a class="l" name="19" href="#19">19</a><span class='fold-space'> </span> * 26<a class="hl" name="20" href="#20">20</a><span class='fold-space'> </span> * CDDL HEADER END 27<a class="l" name="21" href="#21">21</a><span class='fold-space'> </span> */</span> 28<a class="l" name="22" href="#22">22</a><span class='fold-space'> </span><span class="c">/* 29<a class="l" name="23" href="#23">23</a><span class='fold-space'> </span> * Copyright (c) 2000-2001 by Sun Microsystems, Inc. 30<a class="l" name="24" href="#24">24</a><span class='fold-space'> </span> * All rights reserved. 31<a class="l" name="25" href="#25">25</a><span class='fold-space'> </span> */</span> 32<a class="l" name="26" href="#26">26</a><span class='fold-space'> </span> 33<a class="l" name="27" href="#27">27</a><span class='fold-space'> </span>#<b>pragma</b> <b>ident</b> <span class="s">"%Z%%M% %I% %E% SMI"</span> 34<a class="l" name="28" href="#28">28</a><span class='fold-space'> </span> 35<a class="l" name="29" href="#29">29</a><span class='fold-space'> </span>#<b>include</b> <<a href="/source/s?path=stdlib.h">stdlib.h</a>> 36<a class="hl" name="30" href="#30">30</a><span class='fold-space'> </span>#<b>include</b> <<a href="/source/s?path=string.h">string.h</a>> 37<a class="l" name="31" href="#31">31</a><span class='fold-space'> </span> 38<a class="l" name="32" href="#32">32</a><span class='fold-space'> </span>#<b>include</b> "<a href="/source/s?path=Ancestor.ext1">Ancestor.ext1</a>" 39<a class="l" name="33" href="#33">33</a><span class='fold-space'> </span> 40<a class="l" name="34" href="#34">34</a><span class='fold-space'> </span><span class="c">/* ========================================================================= */</span> 41<a class="l" name="35" href="#35">35</a><span class='fold-space'> </span><span class="c">/* Ancestor object definitions. */</span> 42<a class="l" name="36" href="#36">36</a><span class='fold-space'> </span> 43<span id='scope_id_bf1516f1' class='scope-head'><span class='scope-signature'>Ancestor(Str field,fru_tag_t t,const fru_regdef_t * d)</span><a class="l" name="37" href="#37">37</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_bf1516f1_fold_icon'><span class='fold-icon'> </span></a><a class="xf" name="Ancestor"/><a href="/source/s?refs=Ancestor" class="xf intelliWindow-symbol" data-definition-place="def">Ancestor</a>::<a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>(<a href="/source/s?defs=Str" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Str</a> <a class="xa" name="field"/><a href="/source/s?refs=field" class="xa intelliWindow-symbol" data-definition-place="def">field</a>, <a href="/source/s?defs=fru_tag_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_tag_t</a> <a class="xa" name="t"/><a href="/source/s?refs=t" class="xa intelliWindow-symbol" data-definition-place="def">t</a>, <b>const</b> <a href="/source/s?defs=fru_regdef_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_regdef_t</a> *<a class="xa" name="d"/><a href="/source/s?refs=d" class="xa intelliWindow-symbol" data-definition-place="def">d</a>)</span> 44<span id='scope_id_bf1516f1_fold' class='scope-body'><a class="l" name="38" href="#38">38</a><span class='fold-space'> </span> : <a href="/source/s?defs=field_name" class="intelliWindow-symbol" data-definition-place="undefined-in-file">field_name</a>(<a class="d intelliWindow-symbol" href="#field" data-definition-place="defined-in-file">field</a>), 45<a class="l" name="39" href="#39">39</a><span class='fold-space'> </span> <a class="d intelliWindow-symbol" href="#tag" data-definition-place="defined-in-file">tag</a>(<a class="d intelliWindow-symbol" href="#t" data-definition-place="defined-in-file">t</a>), 46<a class="hl" name="40" href="#40">40</a><span class='fold-space'> </span> <a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>(<a href="/source/s?defs=d" class="intelliWindow-symbol" data-definition-place="undefined-in-file">d</a>), 47<a class="l" name="41" href="#41">41</a><span class='fold-space'> </span> <a href="/source/s?defs=numInstances" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numInstances</a>(<span class="n">0</span>), 48<a class="l" name="42" href="#42">42</a><span class='fold-space'> </span> <a href="/source/s?defs=numBufs" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numBufs</a>(<span class="n">1</span>), 49<a class="l" name="43" href="#43">43</a><span class='fold-space'> </span> <a href="/source/s?defs=next" class="intelliWindow-symbol" data-definition-place="undefined-in-file">next</a>(<a href="/source/s?defs=NULL" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NULL</a>) 50<a class="l" name="44" href="#44">44</a><span class='fold-space'> </span>{ 51<a class="l" name="45" href="#45">45</a><span class='fold-space'> </span> <a href="/source/s?defs=offsets" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offsets</a> = (<a href="/source/s?defs=uint32_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">uint32_t</a> *)<a href="/source/s?defs=malloc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">malloc</a>(<b>sizeof</b> (<a href="/source/s?defs=uint32_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">uint32_t</a>) 52<a class="l" name="46" href="#46">46</a><span class='fold-space'> </span> * <a href="/source/s?defs=ANCESTOR_INST_BUF_SIZE" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ANCESTOR_INST_BUF_SIZE</a>); 53<a class="l" name="47" href="#47">47</a><span class='fold-space'> </span> <a href="/source/s?defs=paths" class="intelliWindow-symbol" data-definition-place="undefined-in-file">paths</a> = (<b>char</b> **)<a href="/source/s?defs=malloc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">malloc</a>(<b>sizeof</b> (<b>char</b> *) 54<a class="l" name="48" href="#48">48</a><span class='fold-space'> </span> * <a href="/source/s?defs=ANCESTOR_INST_BUF_SIZE" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ANCESTOR_INST_BUF_SIZE</a>); 55<a class="l" name="49" href="#49">49</a><span class='fold-space'> </span>} 56</span><a class="hl" name="50" href="#50">50</a><span class='fold-space'> </span> 57<span id='scope_id_b47c3d16' class='scope-head'><span class='scope-signature'>~Ancestor()</span><a class="l" name="51" href="#51">51</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_b47c3d16_fold_icon'><span class='fold-icon'> </span></a><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>::~<a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>()</span> 58<span id='scope_id_b47c3d16_fold' class='scope-body'><a class="l" name="52" href="#52">52</a><span class='fold-space'> </span>{ 59<a class="l" name="53" href="#53">53</a><span class='fold-space'> </span> <a href="/source/s?defs=free" class="intelliWindow-symbol" data-definition-place="undefined-in-file">free</a>(<a href="/source/s?defs=offsets" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offsets</a>); 60<a class="l" name="54" href="#54">54</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=paths" class="intelliWindow-symbol" data-definition-place="undefined-in-file">paths</a> != <a href="/source/s?defs=NULL" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NULL</a>) { 61<a class="l" name="55" href="#55">55</a><span class='fold-space'> </span> <b>for</b> (<b>int</b> <a class="xl" name="i"/><a href="/source/s?refs=i" class="xl intelliWindow-symbol" data-definition-place="def">i</a> = <span class="n">0</span>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> < <a href="/source/s?defs=numInstances" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numInstances</a> && <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> < <span class="n">0xFFFFFF</span>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>++) { 62<a class="l" name="56" href="#56">56</a><span class='fold-space'> </span> <a href="/source/s?defs=free" class="intelliWindow-symbol" data-definition-place="undefined-in-file">free</a>(<a href="/source/s?defs=paths" class="intelliWindow-symbol" data-definition-place="undefined-in-file">paths</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>]); 63<a class="l" name="57" href="#57">57</a><span class='fold-space'> </span> } 64<a class="l" name="58" href="#58">58</a><span class='fold-space'> </span> } 65<a class="l" name="59" href="#59">59</a><span class='fold-space'> </span> <a href="/source/s?defs=free" class="intelliWindow-symbol" data-definition-place="undefined-in-file">free</a>(<a href="/source/s?defs=paths" class="intelliWindow-symbol" data-definition-place="undefined-in-file">paths</a>); 66<a class="hl" name="60" href="#60">60</a><span class='fold-space'> </span> <b>delete</b> <a href="/source/s?defs=next" class="intelliWindow-symbol" data-definition-place="undefined-in-file">next</a>; 67<a class="l" name="61" href="#61">61</a><span class='fold-space'> </span>} 68</span><a class="l" name="62" href="#62">62</a><span class='fold-space'> </span> 69<a class="l" name="63" href="#63">63</a><span class='fold-space'> </span><span class="c">/* 70<a class="l" name="64" href="#64">64</a><span class='fold-space'> </span>void 71<a class="l" name="65" href="#65">65</a><span class='fold-space'> </span>Ancestor::print(void) 72<a class="l" name="66" href="#66">66</a><span class='fold-space'> </span>{ 73<a class="l" name="67" href="#67">67</a><span class='fold-space'> </span> fprintf(stderr, "Ancestor Information\n"); 74<a class="l" name="68" href="#68">68</a><span class='fold-space'> </span> fprintf(stderr, "Tag Name: %s\n", def->name); 75<a class="l" name="69" href="#69">69</a><span class='fold-space'> </span> fprintf(stderr, "Tag Type: %s\n", 76<a class="hl" name="70" href="#70">70</a><span class='fold-space'> </span> get_tagtype_str(get_tag_type(&tag))); 77<a class="l" name="71" href="#71">71</a><span class='fold-space'> </span> fprintf(stderr, "Num instances: %d\n", numInstances); 78<a class="l" name="72" href="#72">72</a><span class='fold-space'> </span> fprintf(stderr, " offsets:\n"); 79<a class="l" name="73" href="#73">73</a><span class='fold-space'> </span> for (int i = 0; i < numInstances; i++) { 80<a class="l" name="74" href="#74">74</a><span class='fold-space'> </span> fprintf(stderr, " %d\n", offsets[i]); 81<a class="l" name="75" href="#75">75</a><span class='fold-space'> </span> } 82<a class="l" name="76" href="#76">76</a><span class='fold-space'> </span> 83<a class="l" name="77" href="#77">77</a><span class='fold-space'> </span> if (next != NULL) { 84<a class="l" name="78" href="#78">78</a><span class='fold-space'> </span> next->print(); 85<a class="l" name="79" href="#79">79</a><span class='fold-space'> </span> } 86<a class="hl" name="80" href="#80">80</a><span class='fold-space'> </span>} 87<a class="l" name="81" href="#81">81</a><span class='fold-space'> </span>*/</span> 88<a class="l" name="82" href="#82">82</a><span class='fold-space'> </span> 89<a class="l" name="83" href="#83">83</a><span class='fold-space'> </span><b>void</b> 90<span id='scope_id_6d4220d6' class='scope-head'><span class='scope-signature'>addInstance(const char * path,uint32_t offset)</span><a class="l" name="84" href="#84">84</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_6d4220d6_fold_icon'><span class='fold-icon'> </span></a><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>::<a class="xf" name="addInstance"/><a href="/source/s?refs=addInstance" class="xf intelliWindow-symbol" data-definition-place="def">addInstance</a>(<b>const</b> <b>char</b> *<a class="xa" name="path"/><a href="/source/s?refs=path" class="xa intelliWindow-symbol" data-definition-place="def">path</a>, <a href="/source/s?defs=uint32_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">uint32_t</a> <a class="xa" name="offset"/><a href="/source/s?refs=offset" class="xa intelliWindow-symbol" data-definition-place="def">offset</a>)</span> 91<span id='scope_id_6d4220d6_fold' class='scope-body'><a class="l" name="85" href="#85">85</a><span class='fold-space'> </span>{ 92<a class="l" name="86" href="#86">86</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=numInstances" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numInstances</a> >= <a href="/source/s?defs=ANCESTOR_INST_BUF_SIZE" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ANCESTOR_INST_BUF_SIZE</a>) { 93<a class="l" name="87" href="#87">87</a><span class='fold-space'> </span> <a href="/source/s?defs=numBufs" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numBufs</a>++; 94<a class="l" name="88" href="#88">88</a><span class='fold-space'> </span> <a href="/source/s?defs=offsets" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offsets</a> = (<a href="/source/s?defs=uint32_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">uint32_t</a> *)<a href="/source/s?defs=realloc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">realloc</a>(<a href="/source/s?defs=offsets" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offsets</a>, 95<a class="l" name="89" href="#89">89</a><span class='fold-space'> </span> (<b>sizeof</b> (<a href="/source/s?defs=uint32_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">uint32_t</a>) * 96<a class="hl" name="90" href="#90">90</a><span class='fold-space'> </span> (<a href="/source/s?defs=ANCESTOR_INST_BUF_SIZE" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ANCESTOR_INST_BUF_SIZE</a> * <a href="/source/s?defs=numBufs" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numBufs</a>))); 97<a class="l" name="91" href="#91">91</a><span class='fold-space'> </span> <a href="/source/s?defs=paths" class="intelliWindow-symbol" data-definition-place="undefined-in-file">paths</a> = (<b>char</b> **)<a href="/source/s?defs=realloc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">realloc</a>(<a href="/source/s?defs=offsets" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offsets</a>, 98<a class="l" name="92" href="#92">92</a><span class='fold-space'> </span> (<b>sizeof</b> (<b>char</b> *) * 99<a class="l" name="93" href="#93">93</a><span class='fold-space'> </span> (<a href="/source/s?defs=ANCESTOR_INST_BUF_SIZE" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ANCESTOR_INST_BUF_SIZE</a> * <a href="/source/s?defs=numBufs" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numBufs</a>))); 100<a class="l" name="94" href="#94">94</a><span class='fold-space'> </span> } 101<a class="l" name="95" href="#95">95</a><span class='fold-space'> </span> <a href="/source/s?defs=offsets" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offsets</a>[<a href="/source/s?defs=numInstances" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numInstances</a>] = <a href="/source/s?defs=offset" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offset</a>; 102<a class="l" name="96" href="#96">96</a><span class='fold-space'> </span> <a href="/source/s?defs=paths" class="intelliWindow-symbol" data-definition-place="undefined-in-file">paths</a>[<a href="/source/s?defs=numInstances" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numInstances</a>++] = <a href="/source/s?defs=strdup" class="intelliWindow-symbol" data-definition-place="undefined-in-file">strdup</a>(<a href="/source/s?defs=path" class="intelliWindow-symbol" data-definition-place="undefined-in-file">path</a>); 103<a class="l" name="97" href="#97">97</a><span class='fold-space'> </span>} 104</span><a class="l" name="98" href="#98">98</a><span class='fold-space'> </span> 105<a class="l" name="99" href="#99">99</a><span class='fold-space'> </span><a href="/source/s?defs=Str" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Str</a> 106<span id='scope_id_4049424d' class='scope-head'><span class='scope-signature'>getFieldName(void)</span><a class="hl" name="100" href="#100">100</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_4049424d_fold_icon'><span class='fold-icon'> </span></a><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>::<a class="xf" name="getFieldName"/><a href="/source/s?refs=getFieldName" class="xf intelliWindow-symbol" data-definition-place="def">getFieldName</a>(<b>void</b>)</span> 107<span id='scope_id_4049424d_fold' class='scope-body'><a class="l" name="101" href="#101">101</a><span class='fold-space'> </span>{ 108<a class="l" name="102" href="#102">102</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=field_name" class="intelliWindow-symbol" data-definition-place="undefined-in-file">field_name</a>); 109<a class="l" name="103" href="#103">103</a><span class='fold-space'> </span>} 110</span><a class="l" name="104" href="#104">104</a><span class='fold-space'> </span> 111<a class="l" name="105" href="#105">105</a><span class='fold-space'> </span><a href="/source/s?defs=fru_tag_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_tag_t</a> 112<span id='scope_id_fa90d2c8' class='scope-head'><span class='scope-signature'>getTag(void)</span><a class="l" name="106" href="#106">106</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_fa90d2c8_fold_icon'><span class='fold-icon'> </span></a><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>::<a class="xf" name="getTag"/><a href="/source/s?refs=getTag" class="xf intelliWindow-symbol" data-definition-place="def">getTag</a>(<b>void</b>)</span> 113<span id='scope_id_fa90d2c8_fold' class='scope-body'><a class="l" name="107" href="#107">107</a><span class='fold-space'> </span>{ 114<a class="l" name="108" href="#108">108</a><span class='fold-space'> </span> <b>return</b> (<a class="d intelliWindow-symbol" href="#tag" data-definition-place="defined-in-file">tag</a>); 115<a class="l" name="109" href="#109">109</a><span class='fold-space'> </span>} 116</span><a class="hl" name="110" href="#110">110</a><span class='fold-space'> </span> 117<a class="l" name="111" href="#111">111</a><span class='fold-space'> </span><b>const</b> <a href="/source/s?defs=fru_regdef_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_regdef_t</a> * 118<span id='scope_id_48ba0a8e' class='scope-head'><span class='scope-signature'>getDef(void)</span><a class="l" name="112" href="#112">112</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_48ba0a8e_fold_icon'><span class='fold-icon'> </span></a><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>::<a class="xf" name="getDef"/><a href="/source/s?refs=getDef" class="xf intelliWindow-symbol" data-definition-place="def">getDef</a>(<b>void</b>)</span> 119<span id='scope_id_48ba0a8e_fold' class='scope-body'><a class="l" name="113" href="#113">113</a><span class='fold-space'> </span>{ 120<a class="l" name="114" href="#114">114</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>); 121<a class="l" name="115" href="#115">115</a><span class='fold-space'> </span>} 122</span><a class="l" name="116" href="#116">116</a><span class='fold-space'> </span> 123<a class="l" name="117" href="#117">117</a><span class='fold-space'> </span><b>int</b> 124<span id='scope_id_60f31463' class='scope-head'><span class='scope-signature'>getNumInstances(void)</span><a class="l" name="118" href="#118">118</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_60f31463_fold_icon'><span class='fold-icon'> </span></a><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>::<a class="xf" name="getNumInstances"/><a href="/source/s?refs=getNumInstances" class="xf intelliWindow-symbol" data-definition-place="def">getNumInstances</a>(<b>void</b>)</span> 125<span id='scope_id_60f31463_fold' class='scope-body'><a class="l" name="119" href="#119">119</a><span class='fold-space'> </span>{ 126<a class="hl" name="120" href="#120">120</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=numInstances" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numInstances</a>); 127<a class="l" name="121" href="#121">121</a><span class='fold-space'> </span>} 128</span><a class="l" name="122" href="#122">122</a><span class='fold-space'> </span> 129<a class="l" name="123" href="#123">123</a><span class='fold-space'> </span><a href="/source/s?defs=uint32_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">uint32_t</a> 130<span id='scope_id_22430380' class='scope-head'><span class='scope-signature'>getInstOffset(int num)</span><a class="l" name="124" href="#124">124</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_22430380_fold_icon'><span class='fold-icon'> </span></a><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>::<a class="xf" name="getInstOffset"/><a href="/source/s?refs=getInstOffset" class="xf intelliWindow-symbol" data-definition-place="def">getInstOffset</a>(<b>int</b> <a class="xa" name="num"/><a href="/source/s?refs=num" class="xa intelliWindow-symbol" data-definition-place="def">num</a>)</span> 131<span id='scope_id_22430380_fold' class='scope-body'><a class="l" name="125" href="#125">125</a><span class='fold-space'> </span>{ 132<a class="l" name="126" href="#126">126</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=num" class="intelliWindow-symbol" data-definition-place="undefined-in-file">num</a> < <a href="/source/s?defs=numInstances" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numInstances</a>) 133<a class="l" name="127" href="#127">127</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=offsets" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offsets</a>[<a href="/source/s?defs=num" class="intelliWindow-symbol" data-definition-place="undefined-in-file">num</a>]); 134<a class="l" name="128" href="#128">128</a><span class='fold-space'> </span> <b>else</b> 135<a class="l" name="129" href="#129">129</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=offsets" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offsets</a>[<a href="/source/s?defs=numInstances" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numInstances</a>]); 136<a class="hl" name="130" href="#130">130</a><span class='fold-space'> </span>} 137</span><a class="l" name="131" href="#131">131</a><span class='fold-space'> </span> 138<a class="l" name="132" href="#132">132</a><span class='fold-space'> </span><b>const</b> <b>char</b> * 139<span id='scope_id_97e04132' class='scope-head'><span class='scope-signature'>getPath(int num)</span><a class="l" name="133" href="#133">133</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_97e04132_fold_icon'><span class='fold-icon'> </span></a><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>::<a class="xf" name="getPath"/><a href="/source/s?refs=getPath" class="xf intelliWindow-symbol" data-definition-place="def">getPath</a>(<b>int</b> <a class="xa" name="num"/><a href="/source/s?refs=num" class="xa intelliWindow-symbol" data-definition-place="def">num</a>)</span> 140<span id='scope_id_97e04132_fold' class='scope-body'><a class="l" name="134" href="#134">134</a><span class='fold-space'> </span>{ 141<a class="l" name="135" href="#135">135</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=num" class="intelliWindow-symbol" data-definition-place="undefined-in-file">num</a> < <a href="/source/s?defs=numInstances" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numInstances</a>) 142<a class="l" name="136" href="#136">136</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=paths" class="intelliWindow-symbol" data-definition-place="undefined-in-file">paths</a>[<a href="/source/s?defs=num" class="intelliWindow-symbol" data-definition-place="undefined-in-file">num</a>]); 143<a class="l" name="137" href="#137">137</a><span class='fold-space'> </span> <b>else</b> 144<a class="l" name="138" href="#138">138</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=paths" class="intelliWindow-symbol" data-definition-place="undefined-in-file">paths</a>[<a href="/source/s?defs=numInstances" class="intelliWindow-symbol" data-definition-place="undefined-in-file">numInstances</a>]); 145<a class="l" name="139" href="#139">139</a><span class='fold-space'> </span>} 146</span><a class="hl" name="140" href="#140">140</a><span class='fold-space'> </span> 147<a class="l" name="141" href="#141">141</a><span class='fold-space'> </span> 148<a class="l" name="142" href="#142">142</a><span class='fold-space'> </span><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a> * 149<span id='scope_id_64edfdcb' class='scope-head'><span class='scope-signature'>listTaggedAncestors(char * element)</span><a class="l" name="143" href="#143">143</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_64edfdcb_fold_icon'><span class='fold-icon'> </span></a><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>::<a class="xf" name="listTaggedAncestors"/><a href="/source/s?refs=listTaggedAncestors" class="xf intelliWindow-symbol" data-definition-place="def">listTaggedAncestors</a>(<b>char</b> *<a class="xa" name="element"/><a href="/source/s?refs=element" class="xa intelliWindow-symbol" data-definition-place="def">element</a>)</span> 150<span id='scope_id_64edfdcb_fold' class='scope-body'><a class="l" name="144" href="#144">144</a><span class='fold-space'> </span>{ 151<a class="l" name="145" href="#145">145</a><span class='fold-space'> </span> <a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a> *<a class="xl" name="rc"/><a href="/source/s?refs=rc" class="xl intelliWindow-symbol" data-definition-place="def">rc</a> = <a href="/source/s?defs=NULL" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NULL</a>; 152<a class="l" name="146" href="#146">146</a><span class='fold-space'> </span> <a href="/source/s?defs=fru_regdef_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_regdef_t</a> *<a class="xl" name="def"/><a href="/source/s?refs=def" class="xl intelliWindow-symbol" data-definition-place="def">def</a> = <a href="/source/s?defs=NULL" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NULL</a>; 153<a class="l" name="147" href="#147">147</a><span class='fold-space'> </span> <b>int</b> <a class="xl" name="i"/><a href="/source/s?refs=i" class="xl intelliWindow-symbol" data-definition-place="def">i</a> = <span class="n">0</span>; 154<a class="l" name="148" href="#148">148</a><span class='fold-space'> </span> 155<a class="l" name="149" href="#149">149</a><span class='fold-space'> </span> <b>unsigned</b> <b>int</b> <a class="xl" name="number"/><a href="/source/s?refs=number" class="xl intelliWindow-symbol" data-definition-place="def">number</a> = <span class="n">0</span>; 156<a class="hl" name="150" href="#150">150</a><span class='fold-space'> </span> <b>char</b> **<a class="xl" name="data_elems"/><a href="/source/s?refs=data_elems" class="xl intelliWindow-symbol" data-definition-place="def">data_elems</a> = <a href="/source/s?defs=fru_reg_list_entries" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_reg_list_entries</a>(&<a class="d intelliWindow-symbol" href="#number" data-definition-place="defined-in-file">number</a>); 157<a class="l" name="151" href="#151">151</a><span class='fold-space'> </span> 158<a class="l" name="152" href="#152">152</a><span class='fold-space'> </span> <b>if</b> (<a class="d intelliWindow-symbol" href="#data_elems" data-definition-place="defined-in-file">data_elems</a> == <a href="/source/s?defs=NULL" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NULL</a>) { 159<a class="l" name="153" href="#153">153</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=NULL" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NULL</a>); 160<a class="l" name="154" href="#154">154</a><span class='fold-space'> </span> } 161<a class="l" name="155" href="#155">155</a><span class='fold-space'> </span> 162<a class="l" name="156" href="#156">156</a><span class='fold-space'> </span> <span class="c">// look through all the elements.</span> 163<a class="l" name="157" href="#157">157</a><span class='fold-space'> </span> <b>for</b> (<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> = <span class="n">0</span>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> < <a class="d intelliWindow-symbol" href="#number" data-definition-place="defined-in-file">number</a>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>++) { 164<a class="l" name="158" href="#158">158</a><span class='fold-space'> </span> <a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a> = (<a href="/source/s?defs=fru_regdef_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_regdef_t</a> *) 165<a class="l" name="159" href="#159">159</a><span class='fold-space'> </span> <a href="/source/s?defs=fru_reg_lookup_def_by_name" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_reg_lookup_def_by_name</a>(<a class="d intelliWindow-symbol" href="#data_elems" data-definition-place="defined-in-file">data_elems</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>]); 166<a class="hl" name="160" href="#160">160</a><span class='fold-space'> </span> <a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a> *<a class="xl" name="ant"/><a href="/source/s?refs=ant" class="xl intelliWindow-symbol" data-definition-place="def">ant</a> = <a class="d intelliWindow-symbol" href="#createTaggedAncestor" data-definition-place="defined-in-file">createTaggedAncestor</a>(<a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>, <a href="/source/s?defs=element" class="intelliWindow-symbol" data-definition-place="undefined-in-file">element</a>); 167<a class="l" name="161" href="#161">161</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=ant" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ant</a> != <a href="/source/s?defs=NULL" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NULL</a>) { 168<a class="l" name="162" href="#162">162</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=rc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">rc</a> == <a href="/source/s?defs=NULL" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NULL</a>) { 169<a class="l" name="163" href="#163">163</a><span class='fold-space'> </span> <a href="/source/s?defs=rc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">rc</a> = <a href="/source/s?defs=ant" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ant</a>; 170<a class="l" name="164" href="#164">164</a><span class='fold-space'> </span> } <b>else</b> { 171<a class="l" name="165" href="#165">165</a><span class='fold-space'> </span> <a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a> *<a class="xl" name="tmp"/><a href="/source/s?refs=tmp" class="xl intelliWindow-symbol" data-definition-place="def">tmp</a> = <a href="/source/s?defs=rc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">rc</a>; 172<a class="l" name="166" href="#166">166</a><span class='fold-space'> </span> <b>while</b> (<a href="/source/s?defs=tmp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tmp</a>-><a href="/source/s?defs=next" class="intelliWindow-symbol" data-definition-place="undefined-in-file">next</a> != <a href="/source/s?defs=NULL" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NULL</a>) { 173<a class="l" name="167" href="#167">167</a><span class='fold-space'> </span> <a href="/source/s?defs=tmp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tmp</a> = <a href="/source/s?defs=tmp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tmp</a>-><a href="/source/s?defs=next" class="intelliWindow-symbol" data-definition-place="undefined-in-file">next</a>; 174<a class="l" name="168" href="#168">168</a><span class='fold-space'> </span> } 175<a class="l" name="169" href="#169">169</a><span class='fold-space'> </span> <a href="/source/s?defs=tmp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tmp</a>-><a href="/source/s?defs=next" class="intelliWindow-symbol" data-definition-place="undefined-in-file">next</a> = <a href="/source/s?defs=ant" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ant</a>; 176<a class="hl" name="170" href="#170">170</a><span class='fold-space'> </span> } 177<a class="l" name="171" href="#171">171</a><span class='fold-space'> </span> } 178<a class="l" name="172" href="#172">172</a><span class='fold-space'> </span> } 179<a class="l" name="173" href="#173">173</a><span class='fold-space'> </span> 180<a class="l" name="174" href="#174">174</a><span class='fold-space'> </span> <b>for</b> (<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> = <span class="n">0</span>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> < <a class="d intelliWindow-symbol" href="#number" data-definition-place="defined-in-file">number</a>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>++) { 181<a class="l" name="175" href="#175">175</a><span class='fold-space'> </span> <a href="/source/s?defs=free" class="intelliWindow-symbol" data-definition-place="undefined-in-file">free</a>(<a class="d intelliWindow-symbol" href="#data_elems" data-definition-place="defined-in-file">data_elems</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>]); 182<a class="l" name="176" href="#176">176</a><span class='fold-space'> </span> } 183<a class="l" name="177" href="#177">177</a><span class='fold-space'> </span> <a href="/source/s?defs=free" class="intelliWindow-symbol" data-definition-place="undefined-in-file">free</a>(<a class="d intelliWindow-symbol" href="#data_elems" data-definition-place="defined-in-file">data_elems</a>); 184<a class="l" name="178" href="#178">178</a><span class='fold-space'> </span> 185<a class="l" name="179" href="#179">179</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=rc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">rc</a>); 186<a class="hl" name="180" href="#180">180</a><span class='fold-space'> </span>} 187</span><a class="l" name="181" href="#181">181</a><span class='fold-space'> </span> 188<a class="l" name="182" href="#182">182</a><span class='fold-space'> </span><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a> * 189<span id='scope_id_5a365a3f' class='scope-head'><span class='scope-signature'>createTaggedAncestor(const fru_regdef_t * def,Str element)</span><a class="l" name="183" href="#183">183</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_5a365a3f_fold_icon'><span class='fold-icon'> </span></a><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>::<a class="xf" name="createTaggedAncestor"/><a href="/source/s?refs=createTaggedAncestor" class="xf intelliWindow-symbol" data-definition-place="def">createTaggedAncestor</a>(<b>const</b> <a href="/source/s?defs=fru_regdef_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_regdef_t</a> *<a class="xa" name="def"/><a href="/source/s?refs=def" class="xa intelliWindow-symbol" data-definition-place="def">def</a>, <a href="/source/s?defs=Str" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Str</a> <a class="xa" name="element"/><a href="/source/s?refs=element" class="xa intelliWindow-symbol" data-definition-place="def">element</a>)</span> 190<span id='scope_id_5a365a3f_fold' class='scope-body'><a class="l" name="184" href="#184">184</a><span class='fold-space'> </span>{ 191<a class="l" name="185" href="#185">185</a><span class='fold-space'> </span> <span class="c">// ancestors have to be tagged.</span> 192<a class="l" name="186" href="#186">186</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=tagType" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tagType</a> == <a href="/source/s?defs=FRU_X" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FRU_X</a>) 193<a class="l" name="187" href="#187">187</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=NULL" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NULL</a>); 194<a class="l" name="188" href="#188">188</a><span class='fold-space'> </span> 195<a class="l" name="189" href="#189">189</a><span class='fold-space'> </span> <a href="/source/s?defs=fru_tag_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_tag_t</a> <a class="xl" name="tag"/><a href="/source/s?refs=tag" class="xl intelliWindow-symbol" data-definition-place="def">tag</a>; 196<a class="hl" name="190" href="#190">190</a><span class='fold-space'> </span> <a href="/source/s?defs=mk_tag" class="intelliWindow-symbol" data-definition-place="undefined-in-file">mk_tag</a>(<a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=tagType" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tagType</a>, <a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=tagDense" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tagDense</a>, <a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=payloadLen" class="intelliWindow-symbol" data-definition-place="undefined-in-file">payloadLen</a>, &<a class="d intelliWindow-symbol" href="#tag" data-definition-place="defined-in-file">tag</a>); 197<a class="l" name="191" href="#191">191</a><span class='fold-space'> </span> <a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a> *<a class="xl" name="rc"/><a href="/source/s?refs=rc" class="xl intelliWindow-symbol" data-definition-place="def">rc</a> = <b>new</b> <a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>(<a href="/source/s?defs=element" class="intelliWindow-symbol" data-definition-place="undefined-in-file">element</a>, <a class="d intelliWindow-symbol" href="#tag" data-definition-place="defined-in-file">tag</a>, <a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>); 198<a class="l" name="192" href="#192">192</a><span class='fold-space'> </span> 199<a class="l" name="193" href="#193">193</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=element" class="intelliWindow-symbol" data-definition-place="undefined-in-file">element</a>.<a href="/source/s?defs=compare" class="intelliWindow-symbol" data-definition-place="undefined-in-file">compare</a>(<a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=name" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a>) == <span class="n">0</span>) { 200<a class="l" name="194" href="#194">194</a><span class='fold-space'> </span> <a href="/source/s?defs=rc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">rc</a>-><a class="d intelliWindow-symbol" href="#addInstance" data-definition-place="defined-in-file">addInstance</a>(<span class="s">""</span>, <span class="n">0</span>); 201<a class="l" name="195" href="#195">195</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=rc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">rc</a>); 202<a class="l" name="196" href="#196">196</a><span class='fold-space'> </span> } 203<a class="l" name="197" href="#197">197</a><span class='fold-space'> </span> 204<a class="l" name="198" href="#198">198</a><span class='fold-space'> </span> <b>int</b> <a class="xl" name="found"/><a href="/source/s?refs=found" class="xl intelliWindow-symbol" data-definition-place="def">found</a> = <span class="n">0</span>; 205<a class="l" name="199" href="#199">199</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=dataType" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dataType</a> == <a href="/source/s?defs=FDTYPE_Record" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FDTYPE_Record</a>) { 206<a class="hl" name="200" href="#200">200</a><span class='fold-space'> </span> <a href="/source/s?defs=uint32_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">uint32_t</a> <a class="xl" name="offset"/><a href="/source/s?refs=offset" class="xl intelliWindow-symbol" data-definition-place="def">offset</a> = <span class="n">0</span>; 207<a class="l" name="201" href="#201">201</a><span class='fold-space'> </span> <b>for</b> (<b>int</b> <a class="xl" name="i"/><a href="/source/s?refs=i" class="xl intelliWindow-symbol" data-definition-place="def">i</a> = <span class="n">0</span>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> < <a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=enumCount" class="intelliWindow-symbol" data-definition-place="undefined-in-file">enumCount</a>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>++) { 208<a class="l" name="202" href="#202">202</a><span class='fold-space'> </span> <b>const</b> <a href="/source/s?defs=fru_regdef_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_regdef_t</a> *<a class="xl" name="tmp"/><a href="/source/s?refs=tmp" class="xl intelliWindow-symbol" data-definition-place="def">tmp</a> 209<a class="l" name="203" href="#203">203</a><span class='fold-space'> </span> = <a href="/source/s?defs=fru_reg_lookup_def_by_name" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_reg_lookup_def_by_name</a> 210<a class="l" name="204" href="#204">204</a><span class='fold-space'> </span> ((<b>char</b> *)<a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=enumTable" class="intelliWindow-symbol" data-definition-place="undefined-in-file">enumTable</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>].<a href="/source/s?defs=text" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a>); 211<a class="l" name="205" href="#205">205</a><span class='fold-space'> </span> <a href="/source/s?defs=Str" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Str</a> <a class="xl" name="path"/><a href="/source/s?refs=path" class="xl intelliWindow-symbol" data-definition-place="def">path</a> = <span class="s">"/"</span>; 212<a class="l" name="206" href="#206">206</a><span class='fold-space'> </span> <a href="/source/s?defs=path" class="intelliWindow-symbol" data-definition-place="undefined-in-file">path</a> << <a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=name" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a>; 213<a class="l" name="207" href="#207">207</a><span class='fold-space'> </span> <b>int</b> <a class="xl" name="f"/><a href="/source/s?refs=f" class="xl intelliWindow-symbol" data-definition-place="def">f</a> = <a class="d intelliWindow-symbol" href="#definitionContains" data-definition-place="defined-in-file">definitionContains</a>(<a href="/source/s?defs=tmp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tmp</a>, <a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>, <a href="/source/s?defs=element" class="intelliWindow-symbol" data-definition-place="undefined-in-file">element</a>, 214<a class="l" name="208" href="#208">208</a><span class='fold-space'> </span> <a href="/source/s?defs=offset" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offset</a>, <a href="/source/s?defs=rc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">rc</a>, <a href="/source/s?defs=path" class="intelliWindow-symbol" data-definition-place="undefined-in-file">path</a>); 215<a class="l" name="209" href="#209">209</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=f" class="intelliWindow-symbol" data-definition-place="undefined-in-file">f</a> == <span class="n">1</span>) <a href="/source/s?defs=found" class="intelliWindow-symbol" data-definition-place="undefined-in-file">found</a> = <span class="n">1</span>; <span class="c">// found needs to latch at one.</span> 216<a class="hl" name="210" href="#210">210</a><span class='fold-space'> </span> <a href="/source/s?defs=offset" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offset</a> += <a href="/source/s?defs=tmp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tmp</a>-><a href="/source/s?defs=payloadLen" class="intelliWindow-symbol" data-definition-place="undefined-in-file">payloadLen</a>; 217<a class="l" name="211" href="#211">211</a><span class='fold-space'> </span> } 218<a class="l" name="212" href="#212">212</a><span class='fold-space'> </span> } 219<a class="l" name="213" href="#213">213</a><span class='fold-space'> </span> 220<a class="l" name="214" href="#214">214</a><span class='fold-space'> </span> <b>if</b> (!<a href="/source/s?defs=found" class="intelliWindow-symbol" data-definition-place="undefined-in-file">found</a>) { 221<a class="l" name="215" href="#215">215</a><span class='fold-space'> </span> <b>delete</b> <a href="/source/s?defs=rc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">rc</a>; 222<a class="l" name="216" href="#216">216</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=NULL" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NULL</a>); 223<a class="l" name="217" href="#217">217</a><span class='fold-space'> </span> } 224<a class="l" name="218" href="#218">218</a><span class='fold-space'> </span> 225<a class="l" name="219" href="#219">219</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=rc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">rc</a>); 226<a class="hl" name="220" href="#220">220</a><span class='fold-space'> </span>} 227</span><a class="l" name="221" href="#221">221</a><span class='fold-space'> </span> 228<a class="l" name="222" href="#222">222</a><span class='fold-space'> </span><b>int</b> 229<span id='scope_id_cb360f13' class='scope-head'><span class='scope-signature'>definitionContains(const fru_regdef_t * def,const fru_regdef_t * parent_def,Str element,uint32_t offset,Ancestor * ant,Str path)</span><a class="l" name="223" href="#223">223</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_cb360f13_fold_icon'><span class='fold-icon'> </span></a><a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a>::<a class="xf" name="definitionContains"/><a href="/source/s?refs=definitionContains" class="xf intelliWindow-symbol" data-definition-place="def">definitionContains</a>(<b>const</b> <a href="/source/s?defs=fru_regdef_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_regdef_t</a> *<a class="xa" name="def"/><a href="/source/s?refs=def" class="xa intelliWindow-symbol" data-definition-place="def">def</a>,</span> 230<span id='scope_id_cb360f13_fold' class='scope-body'><a class="l" name="224" href="#224">224</a><span class='fold-space'> </span> <b>const</b> <a href="/source/s?defs=fru_regdef_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_regdef_t</a> *<a class="d intelliWindow-symbol" href="#parent_def" data-definition-place="defined-in-file">parent_def</a>, 231<a class="l" name="225" href="#225">225</a><span class='fold-space'> </span> <a href="/source/s?defs=Str" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Str</a> <a href="/source/s?defs=element" class="intelliWindow-symbol" data-definition-place="undefined-in-file">element</a>, 232<a class="l" name="226" href="#226">226</a><span class='fold-space'> </span> <a href="/source/s?defs=uint32_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">uint32_t</a> <a href="/source/s?defs=offset" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offset</a>, 233<a class="l" name="227" href="#227">227</a><span class='fold-space'> </span> <a class="d intelliWindow-symbol" href="#Ancestor" data-definition-place="defined-in-file">Ancestor</a> *<a href="/source/s?defs=ant" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ant</a>, 234<a class="l" name="228" href="#228">228</a><span class='fold-space'> </span> <a href="/source/s?defs=Str" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Str</a> <a href="/source/s?defs=path" class="intelliWindow-symbol" data-definition-place="undefined-in-file">path</a>) 235<a class="l" name="229" href="#229">229</a><span class='fold-space'> </span>{ 236<a class="hl" name="230" href="#230">230</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=element" class="intelliWindow-symbol" data-definition-place="undefined-in-file">element</a>.<a href="/source/s?defs=compare" class="intelliWindow-symbol" data-definition-place="undefined-in-file">compare</a>(<a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=name" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a>) == <span class="n">0</span>) { 237<a class="l" name="231" href="#231">231</a><span class='fold-space'> </span> <b>if</b> (<a class="d intelliWindow-symbol" href="#parent_def" data-definition-place="defined-in-file">parent_def</a>-><a href="/source/s?defs=iterationType" class="intelliWindow-symbol" data-definition-place="undefined-in-file">iterationType</a> != <a href="/source/s?defs=FRU_NOT_ITERATED" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FRU_NOT_ITERATED</a>) { 238<a class="l" name="232" href="#232">232</a><span class='fold-space'> </span> <a href="/source/s?defs=offset" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offset</a> += <span class="n">4</span>; 239<a class="l" name="233" href="#233">233</a><span class='fold-space'> </span> <b>for</b> (<b>int</b> <a class="xl" name="i"/><a href="/source/s?refs=i" class="xl intelliWindow-symbol" data-definition-place="def">i</a> = <span class="n">0</span>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> < <a class="d intelliWindow-symbol" href="#parent_def" data-definition-place="defined-in-file">parent_def</a>-><a href="/source/s?defs=iterationCount" class="intelliWindow-symbol" data-definition-place="undefined-in-file">iterationCount</a>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>++) { 240<a class="l" name="234" href="#234">234</a><span class='fold-space'> </span> <a href="/source/s?defs=Str" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Str</a> <a class="xl" name="tmp"/><a href="/source/s?refs=tmp" class="xl intelliWindow-symbol" data-definition-place="def">tmp</a> = <a href="/source/s?defs=path" class="intelliWindow-symbol" data-definition-place="undefined-in-file">path</a>; 241<a class="l" name="235" href="#235">235</a><span class='fold-space'> </span> <a href="/source/s?defs=tmp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tmp</a> << <span class="s">"["</span> << <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> << <span class="s">"]/"</span>; 242<a class="l" name="236" href="#236">236</a><span class='fold-space'> </span> <a href="/source/s?defs=ant" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ant</a>-><a class="d intelliWindow-symbol" href="#addInstance" data-definition-place="defined-in-file">addInstance</a>(<a href="/source/s?defs=tmp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tmp</a>.<a href="/source/s?defs=peak" class="intelliWindow-symbol" data-definition-place="undefined-in-file">peak</a>(), <a href="/source/s?defs=offset" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offset</a>); 243<a class="l" name="237" href="#237">237</a><span class='fold-space'> </span> <a href="/source/s?defs=offset" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offset</a> += (<a class="d intelliWindow-symbol" href="#parent_def" data-definition-place="defined-in-file">parent_def</a>-><a href="/source/s?defs=payloadLen" class="intelliWindow-symbol" data-definition-place="undefined-in-file">payloadLen</a> - <span class="n">4</span>) / 244<a class="l" name="238" href="#238">238</a><span class='fold-space'> </span> <a class="d intelliWindow-symbol" href="#parent_def" data-definition-place="defined-in-file">parent_def</a>-><a href="/source/s?defs=iterationCount" class="intelliWindow-symbol" data-definition-place="undefined-in-file">iterationCount</a>; 245<a class="l" name="239" href="#239">239</a><span class='fold-space'> </span> } 246<a class="hl" name="240" href="#240">240</a><span class='fold-space'> </span> } <b>else</b> { 247<a class="l" name="241" href="#241">241</a><span class='fold-space'> </span> <a href="/source/s?defs=path" class="intelliWindow-symbol" data-definition-place="undefined-in-file">path</a> << <span class="s">"/"</span>; 248<a class="l" name="242" href="#242">242</a><span class='fold-space'> </span> <a href="/source/s?defs=ant" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ant</a>-><a class="d intelliWindow-symbol" href="#addInstance" data-definition-place="defined-in-file">addInstance</a>(<a href="/source/s?defs=path" class="intelliWindow-symbol" data-definition-place="undefined-in-file">path</a>.<a href="/source/s?defs=peak" class="intelliWindow-symbol" data-definition-place="undefined-in-file">peak</a>(), <a href="/source/s?defs=offset" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offset</a>); 249<a class="l" name="243" href="#243">243</a><span class='fold-space'> </span> } 250<a class="l" name="244" href="#244">244</a><span class='fold-space'> </span> <b>return</b> (<span class="n">1</span>); 251<a class="l" name="245" href="#245">245</a><span class='fold-space'> </span> } 252<a class="l" name="246" href="#246">246</a><span class='fold-space'> </span> 253<a class="l" name="247" href="#247">247</a><span class='fold-space'> </span> <b>int</b> <a class="xl" name="found"/><a href="/source/s?refs=found" class="xl intelliWindow-symbol" data-definition-place="def">found</a> = <span class="n">0</span>; 254<a class="l" name="248" href="#248">248</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=dataType" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dataType</a> == <a href="/source/s?defs=FDTYPE_Record" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FDTYPE_Record</a>) { 255<a class="l" name="249" href="#249">249</a><span class='fold-space'> </span> <b>for</b> (<b>int</b> <a class="xl" name="i"/><a href="/source/s?refs=i" class="xl intelliWindow-symbol" data-definition-place="def">i</a> = <span class="n">0</span>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> < <a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=enumCount" class="intelliWindow-symbol" data-definition-place="undefined-in-file">enumCount</a>; <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>++) { 256<a class="hl" name="250" href="#250">250</a><span class='fold-space'> </span> <b>const</b> <a href="/source/s?defs=fru_regdef_t" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_regdef_t</a> *<a class="xl" name="tmp"/><a href="/source/s?refs=tmp" class="xl intelliWindow-symbol" data-definition-place="def">tmp</a> 257<a class="l" name="251" href="#251">251</a><span class='fold-space'> </span> = <a href="/source/s?defs=fru_reg_lookup_def_by_name" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fru_reg_lookup_def_by_name</a> 258<a class="l" name="252" href="#252">252</a><span class='fold-space'> </span> ((<b>char</b> *)<a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=enumTable" class="intelliWindow-symbol" data-definition-place="undefined-in-file">enumTable</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>].<a href="/source/s?defs=text" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a>); 259<a class="l" name="253" href="#253">253</a><span class='fold-space'> </span> <a href="/source/s?defs=Str" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Str</a> <a class="xl" name="newPath"/><a href="/source/s?refs=newPath" class="xl intelliWindow-symbol" data-definition-place="def">newPath</a> = <a href="/source/s?defs=path" class="intelliWindow-symbol" data-definition-place="undefined-in-file">path</a>; 260<a class="l" name="254" href="#254">254</a><span class='fold-space'> </span> <a class="d intelliWindow-symbol" href="#newPath" data-definition-place="defined-in-file">newPath</a> << <span class="s">"/"</span> << <a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>-><a href="/source/s?defs=name" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a>; 261<a class="l" name="255" href="#255">255</a><span class='fold-space'> </span> <b>int</b> <a class="xl" name="f"/><a href="/source/s?refs=f" class="xl intelliWindow-symbol" data-definition-place="def">f</a> = <a class="d intelliWindow-symbol" href="#definitionContains" data-definition-place="defined-in-file">definitionContains</a>(<a href="/source/s?defs=tmp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tmp</a>, <a href="/source/s?defs=def" class="intelliWindow-symbol" data-definition-place="undefined-in-file">def</a>, <a href="/source/s?defs=element" class="intelliWindow-symbol" data-definition-place="undefined-in-file">element</a>, 262<a class="l" name="256" href="#256">256</a><span class='fold-space'> </span> <a href="/source/s?defs=offset" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offset</a>, <a href="/source/s?defs=ant" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ant</a>, <a class="d intelliWindow-symbol" href="#newPath" data-definition-place="defined-in-file">newPath</a>); 263<a class="l" name="257" href="#257">257</a><span class='fold-space'> </span> <b>if</b> (<a href="/source/s?defs=f" class="intelliWindow-symbol" data-definition-place="undefined-in-file">f</a> == <span class="n">1</span>) <a href="/source/s?defs=found" class="intelliWindow-symbol" data-definition-place="undefined-in-file">found</a> = <span class="n">1</span>; <span class="c">// found needs to latch at one.</span> 264<a class="l" name="258" href="#258">258</a><span class='fold-space'> </span> <a href="/source/s?defs=offset" class="intelliWindow-symbol" data-definition-place="undefined-in-file">offset</a> += <a href="/source/s?defs=tmp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tmp</a>-><a href="/source/s?defs=payloadLen" class="intelliWindow-symbol" data-definition-place="undefined-in-file">payloadLen</a>; 265<a class="l" name="259" href="#259">259</a><span class='fold-space'> </span> } 266<a class="hl" name="260" href="#260">260</a><span class='fold-space'> </span> } 267<a class="l" name="261" href="#261">261</a><span class='fold-space'> </span> 268<a class="l" name="262" href="#262">262</a><span class='fold-space'> </span> <b>int</b> <a class="xl" name="d"/><a href="/source/s?refs=d" class="xl intelliWindow-symbol" data-definition-place="def">d</a> = <span class="n">42</span>; 269<a class="l" name="263" href="#263">263</a><span class='fold-space'> </span> <b>int</b> <a class="xl" name="o"/><a href="/source/s?refs=o" class="xl intelliWindow-symbol" data-definition-place="def">o</a> = <span class="n">052</span>; 270<a class="l" name="264" href="#264">264</a><span class='fold-space'> </span> <b>int</b> <a class="xl" name="x"/><a href="/source/s?refs=x" class="xl intelliWindow-symbol" data-definition-place="def">x</a> = <span class="n">0x2a</span>; 271<a class="l" name="265" href="#265">265</a><span class='fold-space'> </span> <b>int</b> <a class="xl" name="X"/><a href="/source/s?refs=X" class="xl intelliWindow-symbol" data-definition-place="def">X</a> = <span class="n">0X2A</span>; 272<a class="l" name="266" href="#266">266</a><span class='fold-space'> </span> <b>int</b> <a class="xl" name="b"/><a href="/source/s?refs=b" class="xl intelliWindow-symbol" data-definition-place="def">b</a> = <span class="n">0b101010</span>; <span class="c">// C++14</span> 273<a class="l" name="267" href="#267">267</a><span class='fold-space'> </span> <b>unsigned</b> <b>long</b> <b>long</b> <a class="xl" name="l1"/><a href="/source/s?refs=l1" class="xl intelliWindow-symbol" data-definition-place="def">l1</a> = <span class="n">18446744073709550592ull</span>; <span class="c">// C++11</span> 274<a class="l" name="268" href="#268">268</a><span class='fold-space'> </span> <b>unsigned</b> <b>long</b> <b>long</b> <a class="xl" name="l2"/><a href="/source/s?refs=l2" class="xl intelliWindow-symbol" data-definition-place="def">l2</a> = <span class="n">18'446'744'073'709'550'592llu</span>; <span class="c">// C++14</span> 275<a class="l" name="269" href="#269">269</a><span class='fold-space'> </span> <b>unsigned</b> <b>long</b> <b>long</b> <a class="xl" name="l3"/><a href="/source/s?refs=l3" class="xl intelliWindow-symbol" data-definition-place="def">l3</a> = <span class="n">1844'6744'0737'0955'0592uLL</span>; <span class="c">// C++14</span> 276<a class="hl" name="270" href="#270">270</a><span class='fold-space'> </span> <b>unsigned</b> <b>long</b> <b>long</b> <a class="xl" name="l4"/><a href="/source/s?refs=l4" class="xl intelliWindow-symbol" data-definition-place="def">l4</a> = <span class="n">184467'440737'0'95505'92LLU</span>; <span class="c">// C++14</span> 277<a class="l" name="271" href="#271">271</a><span class='fold-space'> </span> <b>double</b> <a class="xl" name="d"/><a href="/source/s?refs=d" class="xl intelliWindow-symbol" data-definition-place="def">d</a> = <span class="n">0x1.2p3</span>; <span class="c">// hex frac 1.2 (dec 1.125) scaled by 2^3, i.e. 9.0</span> 278<a class="l" name="272" href="#272">272</a><span class='fold-space'> </span> <a href="/source/s?defs=d" class="intelliWindow-symbol" data-definition-place="undefined-in-file">d</a> = <span class="n">123.456e-67</span>; 279<a class="l" name="273" href="#273">273</a><span class='fold-space'> </span> <a href="/source/s?defs=d" class="intelliWindow-symbol" data-definition-place="undefined-in-file">d</a> = <span class="n">.1E4f</span>; 280<a class="l" name="274" href="#274">274</a><span class='fold-space'> </span> <a href="/source/s?defs=d" class="intelliWindow-symbol" data-definition-place="undefined-in-file">d</a> = <span class="n">58.</span>; 281<a class="l" name="275" href="#275">275</a><span class='fold-space'> </span> <a href="/source/s?defs=d" class="intelliWindow-symbol" data-definition-place="undefined-in-file">d</a> = <span class="n">-4e2</span>; 282<a class="l" name="276" href="#276">276</a><span class='fold-space'> </span> 283<a class="l" name="277" href="#277">277</a><span class='fold-space'> </span> <b>return</b> (<a href="/source/s?defs=found" class="intelliWindow-symbol" data-definition-place="undefined-in-file">found</a>); 284<a class="l" name="278" href="#278">278</a><span class='fold-space'> </span>} 285</span><a class="l" name="279" href="#279">279</a><span class='fold-space'> </span> 286<a class="hl" name="280" href="#280">280</a><span class='fold-space'> </span><span class="c">/*<a href="http://example.com">http://example.com</a>*/</span> 287<a class="l" name="281" href="#281">281</a><span class='fold-space'> </span></body> 288</html> 289