Файловый менеджер - Редактировать - /opt/alt/alt-nodejs20/root/usr/share/doc/alt-nodejs20-libicu-doc/putil_8h_source.html
Назад
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>ICU 78.3: common/unicode/putil.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">ICU 78.3  <span id="projectnumber">78.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_f59c6450ff718ff1b085cfd1c36acbd7.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">putil.h</div> </div> </div><!--header--> <div class="contents"> <a href="putil_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// © 2016 and later: Unicode, Inc. and others.</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// License & terms of use: http://www.unicode.org/copyright.html</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">/*</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">******************************************************************************</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">*</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">* Copyright (C) 1997-2014, International Business Machines</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">* Corporation and others. All Rights Reserved.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">*</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">******************************************************************************</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">*</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* FILE NAME : putil.h</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">*</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">* Date Name Description</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">* 05/14/98 nos Creation (content moved here from utypes.h).</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">* 06/17/99 erm Added IEEE_754</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">* 07/22/98 stephen Added IEEEremainder, max, min, trunc</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">* 08/13/98 stephen Added isNegativeInfinity, isPositiveInfinity</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">* 08/24/98 stephen Added longBitsFromDouble</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">* 03/02/99 stephen Removed openFile(). Added AS400 support.</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">* 04/15/99 stephen Converted to C</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">* 11/15/99 helena Integrated S/390 changes for IEEE support.</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">* 01/11/00 helena Added u_getVersion.</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">******************************************************************************</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">*/</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#ifndef PUTIL_H</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#define PUTIL_H</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">/*==========================================================================*/</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">/* Platform utilities */</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">/*==========================================================================*/</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* U_EXPORT2 <a class="code" href="putil_8h.html#af6a3529729ba576d2e152b77811ea5ba">u_getDataDirectory</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <span class="keywordtype">void</span> U_EXPORT2 <a class="code" href="putil_8h.html#a550ea8502df5fed47ae4359be7f8e6a2">u_setDataDirectory</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *directory);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <span class="keyword">const</span> <span class="keywordtype">char</span> * U_EXPORT2 <a class="code" href="putil_8h.html#a8ac481f4934202fe69e5b04ffc22ff4a">u_getTimeZoneFilesDirectory</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <span class="keywordtype">void</span> U_EXPORT2 <a class="code" href="putil_8h.html#a484fde8db11cf58a9137e8bb4c92ed2b">u_setTimeZoneFilesDirectory</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *path, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor">#if U_PLATFORM_USES_ONLY_WIN32_API</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor"># define U_FILE_SEP_CHAR '\\'</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="preprocessor"># define U_FILE_ALT_SEP_CHAR '/'</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor"># define U_PATH_SEP_CHAR ';'</span></div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor"># define U_FILE_SEP_STRING "\\"</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="preprocessor"># define U_FILE_ALT_SEP_STRING "/"</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="preprocessor"># define U_PATH_SEP_STRING ";"</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="putil_8h.html#a4d41826cae0108d7ce4c480c733631c0"> 130</a></span> <span class="preprocessor"># define U_FILE_SEP_CHAR '/'</span></div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="putil_8h.html#a86281839c42e8f044313eed5f1417d5a"> 131</a></span> <span class="preprocessor"># define U_FILE_ALT_SEP_CHAR '/'</span></div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="putil_8h.html#a5e053f4748f1e82d84c3bac48b3ccb10"> 132</a></span> <span class="preprocessor"># define U_PATH_SEP_CHAR ':'</span></div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="putil_8h.html#a957d91eea919db7dd317dbaddd4ba090"> 133</a></span> <span class="preprocessor"># define U_FILE_SEP_STRING "/"</span></div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="putil_8h.html#aea13f8d98aa39d79cfcf3b9007879139"> 134</a></span> <span class="preprocessor"># define U_FILE_ALT_SEP_STRING "/"</span></div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="putil_8h.html#a91afb504ca1d147907144a873fabb3f9"> 135</a></span> <span class="preprocessor"># define U_PATH_SEP_STRING ":"</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <span class="keywordtype">void</span> U_EXPORT2</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <a class="code" href="putil_8h.html#a6db061c4a169d891297fb31c7ce772ed">u_charsToUChars</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cs, <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *us, int32_t length);</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <span class="keywordtype">void</span> U_EXPORT2</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <a class="code" href="putil_8h.html#a0ac329d8421bab442f45d57cb179b636">u_UCharsToChars</a>(<span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *us, <span class="keywordtype">char</span> *cs, int32_t length);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="putil_8h_html_a8ac481f4934202fe69e5b04ffc22ff4a"><div class="ttname"><a href="putil_8h.html#a8ac481f4934202fe69e5b04ffc22ff4a">u_getTimeZoneFilesDirectory</a></div><div class="ttdeci">U_CAPI const char * u_getTimeZoneFilesDirectory(UErrorCode *status)</div><div class="ttdoc">Return the time zone files override directory, or an empty string if no directory was specified...</div></div> <div class="ttc" id="umachine_8h_html_a676114b1a64bb7c2de15c919a00b28df"><div class="ttname"><a href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a></div><div class="ttdeci">#define U_CAPI</div><div class="ttdoc">This is used to declare a function as a public ICU C API. </div><div class="ttdef"><b>Definition:</b> <a href="umachine_8h_source.html#l00110">umachine.h:110</a></div></div> <div class="ttc" id="putil_8h_html_af6a3529729ba576d2e152b77811ea5ba"><div class="ttname"><a href="putil_8h.html#af6a3529729ba576d2e152b77811ea5ba">u_getDataDirectory</a></div><div class="ttdeci">U_CAPI const char * u_getDataDirectory(void)</div><div class="ttdoc">Platform utilities isolates the platform dependencies of the library. </div></div> <div class="ttc" id="putil_8h_html_a0ac329d8421bab442f45d57cb179b636"><div class="ttname"><a href="putil_8h.html#a0ac329d8421bab442f45d57cb179b636">u_UCharsToChars</a></div><div class="ttdeci">U_CAPI void u_UCharsToChars(const UChar *us, char *cs, int32_t length)</div><div class="ttdoc">Convert UChar characters to char characters. </div></div> <div class="ttc" id="putil_8h_html_a550ea8502df5fed47ae4359be7f8e6a2"><div class="ttname"><a href="putil_8h.html#a550ea8502df5fed47ae4359be7f8e6a2">u_setDataDirectory</a></div><div class="ttdeci">U_CAPI void u_setDataDirectory(const char *directory)</div><div class="ttdoc">Set the ICU data directory. </div></div> <div class="ttc" id="putil_8h_html_a484fde8db11cf58a9137e8bb4c92ed2b"><div class="ttname"><a href="putil_8h.html#a484fde8db11cf58a9137e8bb4c92ed2b">u_setTimeZoneFilesDirectory</a></div><div class="ttdeci">U_CAPI void u_setTimeZoneFilesDirectory(const char *path, UErrorCode *status)</div><div class="ttdoc">Set the time zone files override directory. </div></div> <div class="ttc" id="umachine_8h_html_a6bb9fad572d65b305324ef288165e2ac"><div class="ttname"><a href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a></div><div class="ttdeci">char16_t UChar</div><div class="ttdoc">The base type for UTF-16 code units and pointers. </div><div class="ttdef"><b>Definition:</b> <a href="umachine_8h_source.html#l00400">umachine.h:400</a></div></div> <div class="ttc" id="utypes_8h_html_a3343c1c8a8377277046774691c98d78c"><div class="ttname"><a href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a></div><div class="ttdeci">UErrorCode</div><div class="ttdoc">Standard ICU4C error code type, a substitute for exceptions. </div><div class="ttdef"><b>Definition:</b> <a href="utypes_8h_source.html#l00509">utypes.h:509</a></div></div> <div class="ttc" id="putil_8h_html_a6db061c4a169d891297fb31c7ce772ed"><div class="ttname"><a href="putil_8h.html#a6db061c4a169d891297fb31c7ce772ed">u_charsToUChars</a></div><div class="ttdeci">U_CAPI void u_charsToUChars(const char *cs, UChar *us, int32_t length)</div><div class="ttdoc">Convert char characters to UChar characters. </div></div> <div class="ttc" id="utypes_8h_html"><div class="ttname"><a href="utypes_8h.html">utypes.h</a></div><div class="ttdoc">Basic definitions for ICU, for both C and C++ APIs. </div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>
| ver. 1.6 |
Github
|
.
| PHP 8.3.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка