aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/oscl__int64__utils_8h_source.html
blob: 1b0f0261b831dbcabc357f417b65a0ba296d896d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>oscl: oscl_int64_utils.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>oscl_int64_utils.h</h1><a href="oscl__int64__utils_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00002"></a>00002 <span class="preprocessor">#ifndef OSCL_INT64_UTILS_H_INCLUDED</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_INT64_UTILS_H_INCLUDED</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span>
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="oscl__base_8h.html" title="The file oscl_base.h is the public header that should be included to pick up the...">oscl_base.h</a>&quot;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#endif</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span>
<a name="l00010"></a>00010 
<a name="l00016"></a><a class="code" href="classOscl__Int64__Utils.html">00016</a> <span class="keyword">class </span><a class="code" href="classOscl__Int64__Utils.html" title="The Oscl_Int64_Utils class provides a wrapper for commonly used int64/uint64 operations...">Oscl_Int64_Utils</a>
<a name="l00017"></a>00017 {
<a name="l00018"></a>00018     <span class="keyword">public</span>:
<a name="l00019"></a>00019         <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classOscl__Int64__Utils.html#a9139000d3dbfac39007a0b7b6e0f1b44">set_int64</a>(<a class="code" href="group__osclbase.html#gad3ba4095e745890683ed3aa53c47384d">int64</a>&amp; input_value, <span class="keyword">const</span> int32 upper, <span class="keyword">const</span> uint32 lower);
<a name="l00020"></a>00020 
<a name="l00021"></a>00021         <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">static</span> int32 <a class="code" href="classOscl__Int64__Utils.html#a8d30e4c8ba26a13a72cc5ba656e3f65d">get_int64_upper32</a>(<span class="keyword">const</span> <a class="code" href="group__osclbase.html#gad3ba4095e745890683ed3aa53c47384d">int64</a>&amp; input_value);
<a name="l00022"></a>00022 
<a name="l00023"></a>00023         <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">static</span> uint32 <a class="code" href="classOscl__Int64__Utils.html#a6b554c200ed5152f92b64d186cdfcbdd">get_int64_lower32</a>(<span class="keyword">const</span> <a class="code" href="group__osclbase.html#gad3ba4095e745890683ed3aa53c47384d">int64</a>&amp; input_value);
<a name="l00024"></a>00024 
<a name="l00025"></a>00025         <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">static</span> uint32 <a class="code" href="classOscl__Int64__Utils.html#ada253b7a416a643e01d57e1626b645f8">get_int64_middle32</a>(<span class="keyword">const</span> <a class="code" href="group__osclbase.html#gad3ba4095e745890683ed3aa53c47384d">int64</a>&amp; input_value);
<a name="l00026"></a>00026 
<a name="l00027"></a>00027         <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classOscl__Int64__Utils.html#a0058699535cd954e7aa69103a45353a6">set_uint64</a>(<a class="code" href="group__osclbase.html#gaeee93fd1c6230965ea7adc3e63fac06e">uint64</a>&amp; input_value, <span class="keyword">const</span> uint32 upper, <span class="keyword">const</span> uint32 lower);
<a name="l00028"></a>00028 
<a name="l00029"></a>00029         <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">static</span> uint32 <a class="code" href="classOscl__Int64__Utils.html#a7fb82cce7dd6bee5b8b1c8d47896ff5c">get_uint64_upper32</a>(<span class="keyword">const</span> <a class="code" href="group__osclbase.html#gaeee93fd1c6230965ea7adc3e63fac06e">uint64</a>&amp; input_value);
<a name="l00030"></a>00030 
<a name="l00031"></a>00031         <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">static</span> uint32 <a class="code" href="classOscl__Int64__Utils.html#a4c5388b64e5e0fe08b9eb54dcc708209">get_uint64_lower32</a>(<span class="keyword">const</span> <a class="code" href="group__osclbase.html#gaeee93fd1c6230965ea7adc3e63fac06e">uint64</a>&amp; input_value);
<a name="l00032"></a>00032 
<a name="l00033"></a>00033         <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">static</span> uint32 <a class="code" href="classOscl__Int64__Utils.html#af65af326714abe25ec025daefc0d64b4">get_uint64_middle32</a>(<span class="keyword">const</span> <a class="code" href="group__osclbase.html#gaeee93fd1c6230965ea7adc3e63fac06e">uint64</a>&amp; input_value);
<a name="l00034"></a>00034 };
<a name="l00035"></a>00035 
<a name="l00043"></a><a class="code" href="structOsclInteger64Transport.html">00043</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structOsclInteger64Transport.html">OsclInteger64Transport</a>
<a name="l00044"></a>00044 {
<a name="l00045"></a><a class="code" href="structOsclInteger64Transport.html#af7bf5c64bc05d5c88562f915239bebaf">00045</a>     uint32 <a class="code" href="structOsclInteger64Transport.html#af7bf5c64bc05d5c88562f915239bebaf">iHigh</a>;
<a name="l00046"></a><a class="code" href="structOsclInteger64Transport.html#a9a5280cd3b7b7b63467f6d44a4630103">00046</a>     uint32 <a class="code" href="structOsclInteger64Transport.html#a9a5280cd3b7b7b63467f6d44a4630103">iLow</a>;
<a name="l00047"></a>00047 } <a class="code" href="structOsclInteger64Transport.html">_OsclInteger64Transport</a>;
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="preprocessor">#endif</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: CORE_9.002.1.1 </small>
</small></address>
</body>
</html>