1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3 <title>OSCL Util</title> 4 <link href="doxygen.css" rel="stylesheet" type="text/css"> 5 </head><body> 6 <!-- Generated by Doxygen 1.2.18 --> 7 <center> 8 <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9 <hr><h1>OSCL Util</h1><table border=0 cellpadding=0 cellspacing=0> 10 <tr><td></td></tr> 11 <tr><td colspan=2><br><h2>Files</h2></td></tr> 12 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__bin__stream_8h.html">oscl_bin_stream.h</a></td></tr> 13 <tr><td> </td><td><font size=-1><em>Defines a set of binary stream classes which handle portable input / output of binary data regardless of the native byte order.</em></font><br><br></td></tr> 14 15 <p> 16 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__math_8h.html">oscl_math.h</a></td></tr> 17 <tr><td> </td><td><font size=-1><em>Provides math functions.</em></font><br><br></td></tr> 18 19 <p> 20 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__media__data_8h.html">oscl_media_data.h</a></td></tr> 21 <tr><td> </td><td><font size=-1><em>Defines a container class for media data made up of a collection of memory fragments.</em></font><br><br></td></tr> 22 23 <p> 24 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__media__status_8h.html">oscl_media_status.h</a></td></tr> 25 <tr><td> </td><td><font size=-1><em>Defines a status values for the <a class="el" href="classMediaData.html">MediaData</a> containers.</em></font><br><br></td></tr> 26 27 <p> 28 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__priqueue_8h.html">oscl_priqueue.h</a></td></tr> 29 <tr><td> </td><td><font size=-1><em>Implements a priority queue data structure similar to STL.</em></font><br><br></td></tr> 30 31 <p> 32 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__rand_8h.html">oscl_rand.h</a></td></tr> 33 <tr><td> </td><td><font size=-1><em>Provides pseudo-random number generation.</em></font><br><br></td></tr> 34 35 <p> 36 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__registry__access__client_8h.html">oscl_registry_access_client.h</a></td></tr> 37 <tr><td> </td><td><font size=-1><em>Client-side implementation Registry Access implementation.</em></font><br><br></td></tr> 38 39 <p> 40 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__registry__client_8h.html">oscl_registry_client.h</a></td></tr> 41 <tr><td> </td><td><font size=-1><em>Client-side implementation of OsclRegistry.</em></font><br><br></td></tr> 42 43 <p> 44 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__registry__client__impl_8h.html">oscl_registry_client_impl.h</a></td></tr> 45 <tr><td> </td><td><font size=-1><em>Client-side implementation of OsclRegistryInterface.</em></font><br><br></td></tr> 46 47 <p> 48 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__registry__serv__impl_8h.html">oscl_registry_serv_impl.h</a></td></tr> 49 <tr><td> </td><td><font size=-1><em>Server-side implementation of OsclRegistry interfaces.</em></font><br><br></td></tr> 50 51 <p> 52 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__registry__types_8h.html">oscl_registry_types.h</a></td></tr> 53 <tr><td> </td><td><font size=-1><em>Common types used in Oscl registry interfaces.</em></font><br><br></td></tr> 54 55 <p> 56 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__snprintf_8h.html">oscl_snprintf.h</a></td></tr> 57 <tr><td> </td><td><font size=-1><em>Provides a portable implementation of snprintf.</em></font><br><br></td></tr> 58 59 <p> 60 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__str__ptr__len_8h.html">oscl_str_ptr_len.h</a></td></tr> 61 <tr><td> </td><td><font size=-1><em>Defines a data structure for string containment/manipulations where the storage for the string is maintained externally.</em></font><br><br></td></tr> 62 63 <p> 64 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__string_8h.html">oscl_string.h</a></td></tr> 65 <tr><td> </td><td><font size=-1><em>Provides a standardized set of string containers that can be used in place of character arrays.</em></font><br><br></td></tr> 66 67 <p> 68 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__string__containers_8h.html">oscl_string_containers.h</a></td></tr> 69 <tr><td> </td><td><font size=-1><em>Provides a standardized set of string containers that can be used in place of character arrays.</em></font><br><br></td></tr> 70 71 <p> 72 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__string__rep_8h.html">oscl_string_rep.h</a></td></tr> 73 <tr><td> </td><td><font size=-1><em>Contains some internal implementation for string containers.</em></font><br><br></td></tr> 74 75 <p> 76 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__string__uri_8h.html">oscl_string_uri.h</a></td></tr> 77 <tr><td> </td><td><font size=-1><em>Utilities to unescape URIs.</em></font><br><br></td></tr> 78 79 <p> 80 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__string__utf8_8h.html">oscl_string_utf8.h</a></td></tr> 81 <tr><td> </td><td><font size=-1><em>Utilities to validate and truncate UTF-8 encoded strings.</em></font><br><br></td></tr> 82 83 <p> 84 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__string__utils_8h.html">oscl_string_utils.h</a></td></tr> 85 <tr><td> </td><td><font size=-1><em>Utilities to parse and convert strings.</em></font><br><br></td></tr> 86 87 <p> 88 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__string__xml_8h.html">oscl_string_xml.h</a></td></tr> 89 <tr><td> </td><td><font size=-1><em>Utilities to escape special characters in XML strings.</em></font><br><br></td></tr> 90 91 <p> 92 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__tickcount_8h.html">oscl_tickcount.h</a></td></tr> 93 <tr><td> </td><td><font size=-1><em>Defines a data structure for string containment/manipulations where the storage for the string is maintained externally.</em></font><br><br></td></tr> 94 95 <p> 96 <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__utf8conv_8h.html">oscl_utf8conv.h</a></td></tr> 97 <tr><td> </td><td><font size=-1><em>Utilities to convert unicode to utf8 and vice versa.</em></font><br><br></td></tr> 98 99 <p> 100 <tr><td colspan=2><br><h2>Data Structures</h2></td></tr> 101 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classBufferFragment.html">BufferFragment</a></td></tr> 102 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classBufferMgr.html">BufferMgr</a></td></tr> 103 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classBufferState.html">BufferState</a></td></tr> 104 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classBufFragGroup.html">BufFragGroup</a></td></tr> 105 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classBufFragStatusClass.html">BufFragStatusClass</a></td></tr> 106 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classCFastRep.html">CFastRep</a></td></tr> 107 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classCHeapRep.html">CHeapRep</a></td></tr> 108 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classCStackRep.html">CStackRep</a></td></tr> 109 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classMediaData.html">MediaData</a></td></tr> 110 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classMediaStatusClass.html">MediaStatusClass</a></td></tr> 111 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classMemAllocator.html">MemAllocator</a></td></tr> 112 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOSCL__FastString.html">OSCL_FastString</a></td></tr> 113 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOSCL__HeapString.html">OSCL_HeapString</a></td></tr> 114 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOSCL__HeapStringA.html">OSCL_HeapStringA</a></td></tr> 115 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOSCL__StackString.html">OSCL_StackString</a></td></tr> 116 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOSCL__String.html">OSCL_String</a></td></tr> 117 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOSCL__wFastString.html">OSCL_wFastString</a></td></tr> 118 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOSCL__wHeapString.html">OSCL_wHeapString</a></td></tr> 119 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOSCL__wHeapStringA.html">OSCL_wHeapStringA</a></td></tr> 120 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOSCL__wStackString.html">OSCL_wStackString</a></td></tr> 121 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOSCL__wString.html">OSCL_wString</a></td></tr> 122 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclBinIStream.html">OsclBinIStream</a></td></tr> 123 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclBinIStreamBigEndian.html">OsclBinIStreamBigEndian</a></td></tr> 124 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclBinIStreamLittleEndian.html">OsclBinIStreamLittleEndian</a></td></tr> 125 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclBinOStream.html">OsclBinOStream</a></td></tr> 126 <tr><td> </td><td><font size=-1><em>Class OsclBinOStream implements the basic stream functions for an output stream.</em> <a href="classOsclBinOStream.html#_details">More...</a><em></em></font><br><br></td></tr> 127 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclBinOStreamBigEndian.html">OsclBinOStreamBigEndian</a></td></tr> 128 <tr><td> </td><td><font size=-1><em>Class OsclBinOStreamBigEndian implements a binary output stream using big endian byte ordering.</em> <a href="classOsclBinOStreamBigEndian.html#_details">More...</a><em></em></font><br><br></td></tr> 129 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclBinOStreamLittleEndian.html">OsclBinOStreamLittleEndian</a></td></tr> 130 <tr><td> </td><td><font size=-1><em>Class OsclBinOStreamLittleEndian implements a binary output stream using little endian byte ordering.</em> <a href="classOsclBinOStreamLittleEndian.html#_details">More...</a><em></em></font><br><br></td></tr> 131 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclBinStream.html">OsclBinStream</a></td></tr> 132 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclCompareLess.html">OsclCompareLess</a></td></tr> 133 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclComponentRegistry.html">OsclComponentRegistry</a></td></tr> 134 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclComponentRegistryData.html">OsclComponentRegistryData</a></td></tr> 135 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclComponentRegistryElement.html">OsclComponentRegistryElement</a></td></tr> 136 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclPriorityQueue.html">OsclPriorityQueue</a></td></tr> 137 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclPriorityQueueBase.html">OsclPriorityQueueBase</a></td></tr> 138 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclRand.html">OsclRand</a></td></tr> 139 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclRegistryAccessClient.html">OsclRegistryAccessClient</a></td></tr> 140 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclRegistryAccessClientImpl.html">OsclRegistryAccessClientImpl</a></td></tr> 141 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclRegistryAccessClientTlsImpl.html">OsclRegistryAccessClientTlsImpl</a></td></tr> 142 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclRegistryAccessElement.html">OsclRegistryAccessElement</a></td></tr> 143 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclRegistryClient.html">OsclRegistryClient</a></td></tr> 144 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclRegistryClientImpl.html">OsclRegistryClientImpl</a></td></tr> 145 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclRegistryClientTlsImpl.html">OsclRegistryClientTlsImpl</a></td></tr> 146 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclRegistryServTlsImpl.html">OsclRegistryServTlsImpl</a></td></tr> 147 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclTickCount.html">OsclTickCount</a></td></tr> 148 <tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structStrCSumPtrLen.html">StrCSumPtrLen</a></td></tr> 149 <tr><td> </td><td><font size=-1><em>same as <a class="el" href="structStrPtrLen.html">StrPtrLen</a>, but includes checksum field and method to speed up querying</em> <a href="structStrCSumPtrLen.html#_details">More...</a><em></em></font><br><br></td></tr> 150 <tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structStrPtrLen.html">StrPtrLen</a></td></tr> 151 <tr><td> </td><td><font size=-1><em>This data structure encapsulates a set of functions used to perform.</em> <a href="structStrPtrLen.html#_details">More...</a><em></em></font><br><br></td></tr> 152 <tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structWStrPtrLen.html">WStrPtrLen</a></td></tr> 153 <tr><td> </td><td><font size=-1><em>This data structure encapsulates a set of functions used to perform.</em> <a href="structWStrPtrLen.html#_details">More...</a><em></em></font><br><br></td></tr> 154 <tr><td colspan=2><br><h2>Defines</h2></td></tr> 155 <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group__osclutil.html#a46">oscl_isdigit</a>(c) ((c) >= '0' && (c) <= '9')</td></tr> 156 <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group__osclutil.html#a47">OSCLTICKCOUNT_MAX_TICKS</a> 0xffffffff</td></tr> 157 <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> 158 <tr><td nowrap align=right valign=top>typedef <a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td><td valign=bottom><a class="el" href="group__osclutil.html#a0">OsclComponentFactory</a></td></tr> 159 <tr><td nowrap align=right valign=top>typedef void(* </td><td valign=bottom><a class="el" href="group__osclutil.html#a1">BufferFreeFuncPtr</a> )(void *)</td></tr> 160 <tr><td nowrap align=right valign=top>typedef uint32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a2">MediaTimestamp</a></td></tr> 161 <tr><td nowrap align=right valign=top>typedef StrPtrLen </td><td valign=bottom><a class="el" href="group__osclutil.html#a5">StrPtrLen</a></td></tr> 162 <tr><td> </td><td><font size=-1><em>This data structure encapsulates a set of functions used to perform.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> 163 <tr><td nowrap align=right valign=top>typedef WStrPtrLen </td><td valign=bottom><a class="el" href="group__osclutil.html#a6">WStrPtrLen</a></td></tr> 164 <tr><td> </td><td><font size=-1><em>This data structure encapsulates a set of functions used to perform.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> 165 <tr><td nowrap align=right valign=top>typedef StrCSumPtrLen </td><td valign=bottom><a class="el" href="group__osclutil.html#a7">StrCSumPtrLen</a></td></tr> 166 <tr><td> </td><td><font size=-1><em>same as <a class="el" href="structStrPtrLen.html">StrPtrLen</a>, but includes checksum field and method to speed up querying</em> <a href="#a7"></a><em></em></font><br><br></td></tr> 167 <tr><td nowrap align=right valign=top>typedef <a class="el" href="structWStrPtrLen.html">WStrPtrLen</a> </td><td valign=bottom><a class="el" href="group__osclutil.html#a8">OSCL_TStrPtrLen</a></td></tr> 168 <tr><td colspan=2><br><h2>Functions</h2></td></tr> 169 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF const char * </td><td valign=bottom><a class="el" href="group__osclutil.html#a9">skip_whitespace</a> (const char *ptr)</td></tr> 170 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF char * </td><td valign=bottom><a class="el" href="group__osclutil.html#a10">skip_whitespace</a> (char *ptr)</td></tr> 171 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF const char * </td><td valign=bottom><a class="el" href="group__osclutil.html#a11">skip_whitespace</a> (const char *start, const char *end)</td></tr> 172 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF const char * </td><td valign=bottom><a class="el" href="group__osclutil.html#a12">skip_to_whitespace</a> (const char *start, const char *end)</td></tr> 173 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF const char * </td><td valign=bottom><a class="el" href="group__osclutil.html#a13">skip_to_line_term</a> (const char *start_ptr, const char *end_ptr)</td></tr> 174 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF const char * </td><td valign=bottom><a class="el" href="group__osclutil.html#a14">skip_whitespace_and_line_term</a> (const char *start, const char *end)</td></tr> 175 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int </td><td valign=bottom><a class="el" href="group__osclutil.html#a15">extract_string</a> (const char *in_ptr, char *outstring, int maxsize)</td></tr> 176 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int </td><td valign=bottom><a class="el" href="group__osclutil.html#a16">extract_string</a> (const char *start, const char *end, char *outstring, int maxsize)</td></tr> 177 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclutil.html#a17">PV_atoi</a> (const char *buf, const char new_format, uint32 &value)</td></tr> 178 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclutil.html#a18">PV_atoi</a> (const char *buf, const char new_format, int length, uint32 &value)</td></tr> 179 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclutil.html#a19">PV_atoi</a> (const char *buf, const char new_format, int length, <a class="el" href="group__osclbase.html#a31">uint64</a> &value)</td></tr> 180 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclutil.html#a20">PV_atof</a> (const char *buf, <a class="el" href="group__osclbase.html#a29">OsclFloat</a> &value)</td></tr> 181 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclutil.html#a21">PV_atof</a> (const char *buf, int length, <a class="el" href="group__osclbase.html#a29">OsclFloat</a> &value)</td></tr> 182 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int </td><td valign=bottom><a class="el" href="group__osclutil.html#a22">oscl_abs</a> (int aVal)</td></tr> 183 <tr><td nowrap align=right valign=top>OSCL_COND_IMPORT_REF double </td><td valign=bottom><a class="el" href="group__osclutil.html#a23">oscl_log</a> (double value)</td></tr> 184 <tr><td nowrap align=right valign=top>OSCL_COND_IMPORT_REF double </td><td valign=bottom><a class="el" href="group__osclutil.html#a24">oscl_log10</a> (double value)</td></tr> 185 <tr><td nowrap align=right valign=top>OSCL_COND_IMPORT_REF double </td><td valign=bottom><a class="el" href="group__osclutil.html#a25">oscl_sqrt</a> (double value)</td></tr> 186 <tr><td nowrap align=right valign=top>OSCL_COND_IMPORT_REF double </td><td valign=bottom><a class="el" href="group__osclutil.html#a26">oscl_pow</a> (double x, double y)</td></tr> 187 <tr><td nowrap align=right valign=top>OSCL_COND_IMPORT_REF double </td><td valign=bottom><a class="el" href="group__osclutil.html#a27">oscl_exp</a> (double value)</td></tr> 188 <tr><td nowrap align=right valign=top>OSCL_COND_IMPORT_REF double </td><td valign=bottom><a class="el" href="group__osclutil.html#a28">oscl_sin</a> (double value)</td></tr> 189 <tr><td nowrap align=right valign=top>OSCL_COND_IMPORT_REF double </td><td valign=bottom><a class="el" href="group__osclutil.html#a29">oscl_cos</a> (double value)</td></tr> 190 <tr><td nowrap align=right valign=top>OSCL_COND_IMPORT_REF double </td><td valign=bottom><a class="el" href="group__osclutil.html#a30">oscl_tan</a> (double value)</td></tr> 191 <tr><td nowrap align=right valign=top>OSCL_COND_IMPORT_REF double </td><td valign=bottom><a class="el" href="group__osclutil.html#a31">oscl_asin</a> (double value)</td></tr> 192 <tr><td nowrap align=right valign=top>OSCL_COND_IMPORT_REF double </td><td valign=bottom><a class="el" href="group__osclutil.html#a32">oscl_atan</a> (double value)</td></tr> 193 <tr><td nowrap align=right valign=top>OSCL_COND_IMPORT_REF double </td><td valign=bottom><a class="el" href="group__osclutil.html#a33">oscl_floor</a> (double value)</td></tr> 194 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a34">oscl_snprintf</a> (char *str, uint32 count, const char *fmt,...)</td></tr> 195 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a35">oscl_snprintf</a> (<a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *str, uint32 count, const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *fmt,...)</td></tr> 196 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a36">oscl_vsnprintf</a> (char *str, uint32 count, const char *fmt, va_list args)</td></tr> 197 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a37">oscl_vsnprintf</a> (<a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *str, uint32 count, const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *fmt, va_list args)</td></tr> 198 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclutil.html#a38">oscl_str_unescape_uri</a> (const char *str_buf_in, char *str_buf_out, uint32 max_out_buf_bytes, uint32 max_bytes, uint32 &out_buf_len)</td></tr> 199 <tr><td> </td><td><font size=-1><em>unescape any of the special escape sequence in the uri string</em> <a href="#a38"></a><em></em></font><br><br></td></tr> 200 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclutil.html#a39">oscl_str_unescape_uri</a> (const <a class="el" href="classOSCL__String.html">OSCL_String</a> &oscl_str_in, <a class="el" href="classOSCL__String.html">OSCL_String</a> &oscl_str_out, uint32 &out_buf_len)</td></tr> 201 <tr><td> </td><td><font size=-1><em>unescape any of the special escape sequence in the uri string</em> <a href="#a39"></a><em></em></font><br><br></td></tr> 202 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclutil.html#a40">oscl_str_is_valid_utf8</a> (const uint8 *str_buf, uint32 &num_valid_characters, uint32 max_bytes=0, uint32 max_char_2_valid=0, uint32 *num_byte_4_char=NULL)</td></tr> 203 <tr><td> </td><td><font size=-1><em>Check if the input string contains any illegal UTF-8 character. The function scans the string and validate that each character is a valid utf-8. It stops at the first NULL character, invalid character or the max_byte value. The string is valid if and only if every character is a valid utf-8 character and the scanning stopped on a character boundary.</em> <a href="#a40"></a><em></em></font><br><br></td></tr> 204 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a41">oscl_str_truncate_utf8</a> (uint8 *str_buf, uint32 max_char, uint32 max_bytes=0)</td></tr> 205 <tr><td> </td><td><font size=-1><em>Truncates the UTF-8 string upto the required size.</em> <a href="#a41"></a><em></em></font><br><br></td></tr> 206 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclutil.html#a42">oscl_str_need_escape_xml</a> (const char *str_buf, uint32 &num_escape_bytes, uint32 max_bytes=0)</td></tr> 207 <tr><td> </td><td><font size=-1><em>Check if the input string contains any special ASCII character like &, <, >, ', ". The function scans the string and check if each character is a special character. It stops at the first NULL character (if max_bytes = 0), or the max_byte value.</em> <a href="#a42"></a><em></em></font><br><br></td></tr> 208 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a43">oscl_str_escape_xml</a> (const char *str_buf_in, char *str_buf_out, uint32 max_out_buf_bytes, uint32 max_bytes=0, uint32 *num_bytes_written=NULL)</td></tr> 209 <tr><td> </td><td><font size=-1><em>Escape any of the following special characters in the string Special ASCII characters: &, <, >, ', ".</em> <a href="#a43"></a><em></em></font><br><br></td></tr> 210 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a44">oscl_UTF8ToUnicode</a> (const char *input, int32 inLength, <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *output, int32 outLength)</td></tr> 211 <tr><td> </td><td><font size=-1><em>Convert UTF8 byte sequence to Unicode string.</em> <a href="#a44"></a><em></em></font><br><br></td></tr> 212 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a45">oscl_UnicodeToUTF8</a> (const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *input, int32 inLength, char *output, int32 outLength)</td></tr> 213 <tr><td> </td><td><font size=-1><em>Convert Unicode string to UTF8 byte sequence.</em> <a href="#a45"></a><em></em></font><br><br></td></tr> 214 <tr><td nowrap align=right valign=top><a class="el" href="classBufferFragment.html">BufferFragment</a> * </td><td valign=bottom><a class="el" href="group__osclutil.html#a48">GetFragment</a> (const int32 idx)</td></tr> 215 <tr><td nowrap align=right valign=top><a class="el" href="classBufferState.html">BufferState</a> * </td><td valign=bottom><a class="el" href="group__osclutil.html#a49">GetBufferState</a> (const int32 idx)</td></tr> 216 <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a62">get_size</a> () const</td></tr> 217 <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a63">get_size</a> () const</td></tr> 218 <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a66">get_maxsize</a> () const</td></tr> 219 <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a67">get_maxsize</a> () const</td></tr> 220 <tr><td nowrap align=right valign=top>const chartype * </td><td valign=bottom><a class="el" href="group__osclutil.html#a68">get_cstr</a> () const</td></tr> 221 <tr><td nowrap align=right valign=top>const chartype * </td><td valign=bottom><a class="el" href="group__osclutil.html#a69">get_cstr</a> () const</td></tr> 222 <tr><td nowrap align=right valign=top>chartype * </td><td valign=bottom><a class="el" href="group__osclutil.html#a70">get_str</a> () const</td></tr> 223 <tr><td nowrap align=right valign=top>chartype * </td><td valign=bottom><a class="el" href="group__osclutil.html#a71">get_str</a> () const</td></tr> 224 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a74">OSCL_HeapString</a> ()</td></tr> 225 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a75">OSCL_wHeapString</a> ()</td></tr> 226 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a76">OSCL_HeapString</a> (const chartype *cstr)</td></tr> 227 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a77">OSCL_wHeapString</a> (const chartype *cstr)</td></tr> 228 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__osclutil.html#a78">set</a> (const chartype *buf, uint32 length)</td></tr> 229 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__osclutil.html#a79">set</a> (const chartype *buf, uint32 length)</td></tr> 230 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a80">OSCL_HeapString</a> (const chartype *buf, uint32 length)</td></tr> 231 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a81">OSCL_wHeapString</a> (const chartype *buf, uint32 length)</td></tr> 232 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a82">OSCL_HeapString</a> (const OSCL_HeapString &src)</td></tr> 233 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a83">OSCL_wHeapString</a> (const OSCL_wHeapString &src)</td></tr> 234 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a84">OSCL_HeapString</a> (const <a class="el" href="classOSCL__String.html">OSCL_String</a> &src)</td></tr> 235 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a85">OSCL_wHeapString</a> (const <a class="el" href="classOSCL__wString.html">OSCL_wString</a> &src)</td></tr> 236 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a86">~OSCL_HeapString</a> ()</td></tr> 237 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a87">~OSCL_wHeapString</a> ()</td></tr> 238 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__HeapString.html">OSCL_HeapString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a88">operator=</a> (const <a class="el" href="classOSCL__HeapString.html">OSCL_HeapString</a> &src)</td></tr> 239 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__wHeapString.html">OSCL_wHeapString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a89">operator=</a> (const <a class="el" href="classOSCL__wHeapString.html">OSCL_wHeapString</a> &src)</td></tr> 240 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__HeapString.html">OSCL_HeapString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a90">operator=</a> (const <a class="el" href="classOSCL__String.html">OSCL_String</a> &src)</td></tr> 241 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__wHeapString.html">OSCL_wHeapString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a91">operator=</a> (const <a class="el" href="classOSCL__wString.html">OSCL_wString</a> &src)</td></tr> 242 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__HeapString.html">OSCL_HeapString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a92">operator=</a> (const chartype *cstr)</td></tr> 243 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__wHeapString.html">OSCL_wHeapString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a93">operator=</a> (const chartype *cstr)</td></tr> 244 <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a104">get_size</a> () const</td></tr> 245 <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a105">get_size</a> () const</td></tr> 246 <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a106">get_maxsize</a> () const</td></tr> 247 <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a107">get_maxsize</a> () const</td></tr> 248 <tr><td nowrap align=right valign=top>const chartype * </td><td valign=bottom><a class="el" href="group__osclutil.html#a108">get_cstr</a> () const</td></tr> 249 <tr><td nowrap align=right valign=top>const chartype * </td><td valign=bottom><a class="el" href="group__osclutil.html#a109">get_cstr</a> () const</td></tr> 250 <tr><td nowrap align=right valign=top>chartype * </td><td valign=bottom><a class="el" href="group__osclutil.html#a110">get_str</a> () const</td></tr> 251 <tr><td nowrap align=right valign=top>chartype * </td><td valign=bottom><a class="el" href="group__osclutil.html#a111">get_str</a> () const</td></tr> 252 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a114">OSCL_StackString</a> ()</td></tr> 253 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a115">OSCL_wStackString</a> ()</td></tr> 254 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a116">OSCL_StackString</a> (const chartype *cstr)</td></tr> 255 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a117">OSCL_wStackString</a> (const chartype *cstr)</td></tr> 256 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__osclutil.html#a118">set</a> (const chartype *buf, uint32 length)</td></tr> 257 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__osclutil.html#a119">set</a> (const chartype *buf, uint32 length)</td></tr> 258 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a120">OSCL_StackString</a> (const chartype *buf, uint32 length)</td></tr> 259 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a121">OSCL_wStackString</a> (const chartype *buf, uint32 length)</td></tr> 260 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a122">OSCL_StackString</a> (const OSCL_StackString &src)</td></tr> 261 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a123">OSCL_wStackString</a> (const OSCL_wStackString &src)</td></tr> 262 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a124">OSCL_StackString</a> (const <a class="el" href="classOSCL__String.html">OSCL_String</a> &src)</td></tr> 263 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a125">OSCL_wStackString</a> (const <a class="el" href="classOSCL__wString.html">OSCL_wString</a> &src)</td></tr> 264 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a126">~OSCL_StackString</a> ()</td></tr> 265 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="group__osclutil.html#a127">~OSCL_wStackString</a> ()</td></tr> 266 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__StackString.html">OSCL_StackString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a128">operator=</a> (const <a class="el" href="classOSCL__StackString.html">OSCL_StackString</a> &src)</td></tr> 267 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__wStackString.html">OSCL_wStackString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a129">operator=</a> (const <a class="el" href="classOSCL__wStackString.html">OSCL_wStackString</a> &src)</td></tr> 268 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__StackString.html">OSCL_StackString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a130">operator=</a> (const <a class="el" href="classOSCL__String.html">OSCL_String</a> &src)</td></tr> 269 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__wStackString.html">OSCL_wStackString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a131">operator=</a> (const <a class="el" href="classOSCL__wString.html">OSCL_wString</a> &src)</td></tr> 270 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__StackString.html">OSCL_StackString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a132">operator=</a> (const chartype *cstr)</td></tr> 271 <tr><td nowrap align=right valign=top><a class="el" href="classOSCL__wStackString.html">OSCL_wStackString</a> & </td><td valign=bottom><a class="el" href="group__osclutil.html#a133">operator=</a> (const chartype *cstr)</td></tr> 272 <tr><td colspan=2><br><h2>Variables</h2></td></tr> 273 <tr><td nowrap align=right valign=top>const int32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a3">APPEND_MEDIA_AT_END</a> = -1</td></tr> 274 <tr><td nowrap align=right valign=top>const uint8 </td><td valign=bottom><a class="el" href="group__osclutil.html#a4">OSCL_ASCII_CASE_MAGIC_BIT</a> = 0x20</td></tr> 275 </table> 276 <hr><h2>Define Documentation</h2> 277 <a name="a46" doxytag="oscl_string_utils.h::oscl_isdigit"></a><p> 278 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 279 <tr> 280 <td class="md"> 281 <table cellpadding="0" cellspacing="0" border="0"> 282 <tr> 283 <td class="md" nowrap valign="top"> #define oscl_isdigit</td> 284 <td class="md" valign="top">( </td> 285 <td class="md" nowrap valign="top">c </td> 286 <td class="mdname1" valign="top" nowrap> </td> 287 <td class="md" valign="top">) </td> 288 <td class="md" nowrap> ((c) >= '0' && (c) <= '9') 289 </table> 290 </td> 291 </tr> 292 </table> 293 <table cellspacing=5 cellpadding=0 border=0> 294 <tr> 295 <td> 296 297 </td> 298 <td> 299 300 <p> 301 </td> 302 </tr> 303 </table> 304 <a name="a47" doxytag="oscl_tickcount.h::OSCLTICKCOUNT_MAX_TICKS"></a><p> 305 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 306 <tr> 307 <td class="md"> 308 <table cellpadding="0" cellspacing="0" border="0"> 309 <tr> 310 <td class="md" nowrap valign="top"> #define OSCLTICKCOUNT_MAX_TICKS 0xffffffff 311 </table> 312 </td> 313 </tr> 314 </table> 315 <table cellspacing=5 cellpadding=0 border=0> 316 <tr> 317 <td> 318 319 </td> 320 <td> 321 322 <p> 323 </td> 324 </tr> 325 </table> 326 <hr><h2>Typedef Documentation</h2> 327 <a name="a1" doxytag="oscl_media_data.h::BufferFreeFuncPtr"></a><p> 328 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 329 <tr> 330 <td class="md"> 331 <table cellpadding="0" cellspacing="0" border="0"> 332 <tr> 333 <td class="md" nowrap valign="top"> typedef void(* BufferFreeFuncPtr)(void *) 334 </table> 335 </td> 336 </tr> 337 </table> 338 <table cellspacing=5 cellpadding=0 border=0> 339 <tr> 340 <td> 341 342 </td> 343 <td> 344 345 <p> 346 </td> 347 </tr> 348 </table> 349 <a name="a2" doxytag="oscl_media_data.h::MediaTimestamp"></a><p> 350 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 351 <tr> 352 <td class="md"> 353 <table cellpadding="0" cellspacing="0" border="0"> 354 <tr> 355 <td class="md" nowrap valign="top"> typedef uint32 MediaTimestamp 356 </table> 357 </td> 358 </tr> 359 </table> 360 <table cellspacing=5 cellpadding=0 border=0> 361 <tr> 362 <td> 363 364 </td> 365 <td> 366 367 <p> 368 </td> 369 </tr> 370 </table> 371 <a name="a8" doxytag="oscl_str_ptr_len.h::OSCL_TStrPtrLen"></a><p> 372 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 373 <tr> 374 <td class="md"> 375 <table cellpadding="0" cellspacing="0" border="0"> 376 <tr> 377 <td class="md" nowrap valign="top"> typedef <a class="el" href="structWStrPtrLen.html">WStrPtrLen</a> OSCL_TStrPtrLen 378 </table> 379 </td> 380 </tr> 381 </table> 382 <table cellspacing=5 cellpadding=0 border=0> 383 <tr> 384 <td> 385 386 </td> 387 <td> 388 389 <p> 390 </td> 391 </tr> 392 </table> 393 <a name="a0" doxytag="oscl_registry_types.h::OsclComponentFactory"></a><p> 394 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 395 <tr> 396 <td class="md"> 397 <table cellpadding="0" cellspacing="0" border="0"> 398 <tr> 399 <td class="md" nowrap valign="top"> typedef <a class="el" href="group__osclbase.html#a25">OsclAny</a>* OsclComponentFactory 400 </table> 401 </td> 402 </tr> 403 </table> 404 <table cellspacing=5 cellpadding=0 border=0> 405 <tr> 406 <td> 407 408 </td> 409 <td> 410 411 <p> 412 OsclComponentFactory is an opaque pointer. </td> 413 </tr> 414 </table> 415 <a name="a7" doxytag="oscl_str_ptr_len.h::StrCSumPtrLen"></a><p> 416 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 417 <tr> 418 <td class="md"> 419 <table cellpadding="0" cellspacing="0" border="0"> 420 <tr> 421 <td class="md" nowrap valign="top"> typedef StrCSumPtrLen StrCSumPtrLen 422 </table> 423 </td> 424 </tr> 425 </table> 426 <table cellspacing=5 cellpadding=0 border=0> 427 <tr> 428 <td> 429 430 </td> 431 <td> 432 433 <p> 434 same as <a class="el" href="structStrPtrLen.html">StrPtrLen</a>, but includes checksum field and method to speed up querying 435 <p> 436 </td> 437 </tr> 438 </table> 439 <a name="a5" doxytag="oscl_str_ptr_len.h::StrPtrLen"></a><p> 440 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 441 <tr> 442 <td class="md"> 443 <table cellpadding="0" cellspacing="0" border="0"> 444 <tr> 445 <td class="md" nowrap valign="top"> typedef struct StrPtrLen StrPtrLen 446 </table> 447 </td> 448 </tr> 449 </table> 450 <table cellspacing=5 cellpadding=0 border=0> 451 <tr> 452 <td> 453 454 </td> 455 <td> 456 457 <p> 458 This data structure encapsulates a set of functions used to perform. 459 <p> 460 standard string operations. It should be used for null-terminated constant (non-modifiable) strings of char type. </td> 461 </tr> 462 </table> 463 <a name="a6" doxytag="oscl_str_ptr_len.h::WStrPtrLen"></a><p> 464 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 465 <tr> 466 <td class="md"> 467 <table cellpadding="0" cellspacing="0" border="0"> 468 <tr> 469 <td class="md" nowrap valign="top"> typedef struct WStrPtrLen WStrPtrLen 470 </table> 471 </td> 472 </tr> 473 </table> 474 <table cellspacing=5 cellpadding=0 border=0> 475 <tr> 476 <td> 477 478 </td> 479 <td> 480 481 <p> 482 This data structure encapsulates a set of functions used to perform. 483 <p> 484 standard string operations. It should be used for null-terminated constant strings (non-modifiable) of wchar type. </td> 485 </tr> 486 </table> 487 <hr><h2>Function Documentation</h2> 488 <a name="a16" doxytag="oscl_string_utils.h::extract_string"></a><p> 489 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 490 <tr> 491 <td class="md"> 492 <table cellpadding="0" cellspacing="0" border="0"> 493 <tr> 494 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int extract_string </td> 495 <td class="md" valign="top">( </td> 496 <td class="md" nowrap valign="top">const char * </td> 497 <td class="mdname" nowrap> <em>start</em>, </td> 498 </tr> 499 <tr> 500 <td></td> 501 <td></td> 502 <td class="md" nowrap>const char * </td> 503 <td class="mdname" nowrap> <em>end</em>, </td> 504 </tr> 505 <tr> 506 <td></td> 507 <td></td> 508 <td class="md" nowrap>char * </td> 509 <td class="mdname" nowrap> <em>outstring</em>, </td> 510 </tr> 511 <tr> 512 <td></td> 513 <td></td> 514 <td class="md" nowrap>int </td> 515 <td class="mdname" nowrap> <em>maxsize</em></td> 516 </tr> 517 <tr> 518 <td></td> 519 <td class="md">) </td> 520 <td class="md" colspan="2"></td> 521 </tr> 522 523 </table> 524 </td> 525 </tr> 526 </table> 527 <table cellspacing=5 cellpadding=0 border=0> 528 <tr> 529 <td> 530 531 </td> 532 <td> 533 534 <p> 535 </td> 536 </tr> 537 </table> 538 <a name="a15" doxytag="oscl_string_utils.h::extract_string"></a><p> 539 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 540 <tr> 541 <td class="md"> 542 <table cellpadding="0" cellspacing="0" border="0"> 543 <tr> 544 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int extract_string </td> 545 <td class="md" valign="top">( </td> 546 <td class="md" nowrap valign="top">const char * </td> 547 <td class="mdname" nowrap> <em>in_ptr</em>, </td> 548 </tr> 549 <tr> 550 <td></td> 551 <td></td> 552 <td class="md" nowrap>char * </td> 553 <td class="mdname" nowrap> <em>outstring</em>, </td> 554 </tr> 555 <tr> 556 <td></td> 557 <td></td> 558 <td class="md" nowrap>int </td> 559 <td class="mdname" nowrap> <em>maxsize</em></td> 560 </tr> 561 <tr> 562 <td></td> 563 <td class="md">) </td> 564 <td class="md" colspan="2"></td> 565 </tr> 566 567 </table> 568 </td> 569 </tr> 570 </table> 571 <table cellspacing=5 cellpadding=0 border=0> 572 <tr> 573 <td> 574 575 </td> 576 <td> 577 578 <p> 579 </td> 580 </tr> 581 </table> 582 <a name="a109" doxytag="OSCL_wStackString::get_cstr"></a><p> 583 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 584 <tr> 585 <td class="md"> 586 <table cellpadding="0" cellspacing="0" border="0"> 587 <tr> 588 <td class="md" colspan="4"> 589 template<uint32 MaxBufSize> </td> 590 </tr> 591 <tr> 592 <td class="md" nowrap valign="top"> const OSCL_wStackString< MaxBufSize >::<a class="el" href="classOSCL__wStackString.html#s0">chartype</a> * OSCL_wStackString< MaxBufSize >::get_cstr </td> 593 <td class="md" valign="top">( </td> 594 <td class="mdname1" valign="top" nowrap> </td> 595 <td class="md" valign="top">) </td> 596 <td class="md" nowrap><code> [virtual, inherited]</code></td> 597 </tr> 598 599 </table> 600 </td> 601 </tr> 602 </table> 603 <table cellspacing=5 cellpadding=0 border=0> 604 <tr> 605 <td> 606 607 </td> 608 <td> 609 610 <p> 611 612 <p> 613 Implements <a class="el" href="classOSCL__wString.html#a2">OSCL_wString</a>. </td> 614 </tr> 615 </table> 616 <a name="a108" doxytag="OSCL_StackString::get_cstr"></a><p> 617 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 618 <tr> 619 <td class="md"> 620 <table cellpadding="0" cellspacing="0" border="0"> 621 <tr> 622 <td class="md" colspan="4"> 623 template<uint32 MaxBufSize> </td> 624 </tr> 625 <tr> 626 <td class="md" nowrap valign="top"> const OSCL_StackString< MaxBufSize >::<a class="el" href="classOSCL__StackString.html#s0">chartype</a> * OSCL_StackString< MaxBufSize >::get_cstr </td> 627 <td class="md" valign="top">( </td> 628 <td class="mdname1" valign="top" nowrap> </td> 629 <td class="md" valign="top">) </td> 630 <td class="md" nowrap><code> [virtual, inherited]</code></td> 631 </tr> 632 633 </table> 634 </td> 635 </tr> 636 </table> 637 <table cellspacing=5 cellpadding=0 border=0> 638 <tr> 639 <td> 640 641 </td> 642 <td> 643 644 <p> 645 This function returns the C-style string for read access. 646 <p> 647 Implements <a class="el" href="classOSCL__String.html#a2">OSCL_String</a>. </td> 648 </tr> 649 </table> 650 <a name="a69" doxytag="OSCL_wHeapString::get_cstr"></a><p> 651 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 652 <tr> 653 <td class="md"> 654 <table cellpadding="0" cellspacing="0" border="0"> 655 <tr> 656 <td class="md" colspan="4"> 657 template<class Alloc> </td> 658 </tr> 659 <tr> 660 <td class="md" nowrap valign="top"> const OSCL_wHeapString< Alloc >::<a class="el" href="classOSCL__wHeapString.html#s0">chartype</a> * OSCL_wHeapString< Alloc >::get_cstr </td> 661 <td class="md" valign="top">( </td> 662 <td class="mdname1" valign="top" nowrap> </td> 663 <td class="md" valign="top">) </td> 664 <td class="md" nowrap><code> [virtual, inherited]</code></td> 665 </tr> 666 667 </table> 668 </td> 669 </tr> 670 </table> 671 <table cellspacing=5 cellpadding=0 border=0> 672 <tr> 673 <td> 674 675 </td> 676 <td> 677 678 <p> 679 680 <p> 681 Implements <a class="el" href="classOSCL__wString.html#a2">OSCL_wString</a>. </td> 682 </tr> 683 </table> 684 <a name="a68" doxytag="OSCL_HeapString::get_cstr"></a><p> 685 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 686 <tr> 687 <td class="md"> 688 <table cellpadding="0" cellspacing="0" border="0"> 689 <tr> 690 <td class="md" colspan="4"> 691 template<class Alloc> </td> 692 </tr> 693 <tr> 694 <td class="md" nowrap valign="top"> const OSCL_HeapString< Alloc >::<a class="el" href="classOSCL__HeapString.html#s0">chartype</a> * OSCL_HeapString< Alloc >::get_cstr </td> 695 <td class="md" valign="top">( </td> 696 <td class="mdname1" valign="top" nowrap> </td> 697 <td class="md" valign="top">) </td> 698 <td class="md" nowrap><code> [virtual, inherited]</code></td> 699 </tr> 700 701 </table> 702 </td> 703 </tr> 704 </table> 705 <table cellspacing=5 cellpadding=0 border=0> 706 <tr> 707 <td> 708 709 </td> 710 <td> 711 712 <p> 713 This function returns the C-style string for read access. 714 <p> 715 Implements <a class="el" href="classOSCL__String.html#a2">OSCL_String</a>. </td> 716 </tr> 717 </table> 718 <a name="a107" doxytag="OSCL_wStackString::get_maxsize"></a><p> 719 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 720 <tr> 721 <td class="md"> 722 <table cellpadding="0" cellspacing="0" border="0"> 723 <tr> 724 <td class="md" colspan="4"> 725 template<uint32 MaxBufSize> </td> 726 </tr> 727 <tr> 728 <td class="md" nowrap valign="top"> uint32 OSCL_wStackString< MaxBufSize >::get_maxsize </td> 729 <td class="md" valign="top">( </td> 730 <td class="mdname1" valign="top" nowrap> </td> 731 <td class="md" valign="top">) </td> 732 <td class="md" nowrap><code> [virtual, inherited]</code></td> 733 </tr> 734 735 </table> 736 </td> 737 </tr> 738 </table> 739 <table cellspacing=5 cellpadding=0 border=0> 740 <tr> 741 <td> 742 743 </td> 744 <td> 745 746 <p> 747 748 <p> 749 Implements <a class="el" href="classOSCL__wString.html#a1">OSCL_wString</a>. </td> 750 </tr> 751 </table> 752 <a name="a106" doxytag="OSCL_StackString::get_maxsize"></a><p> 753 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 754 <tr> 755 <td class="md"> 756 <table cellpadding="0" cellspacing="0" border="0"> 757 <tr> 758 <td class="md" colspan="4"> 759 template<uint32 MaxBufSize> </td> 760 </tr> 761 <tr> 762 <td class="md" nowrap valign="top"> uint32 OSCL_StackString< MaxBufSize >::get_maxsize </td> 763 <td class="md" valign="top">( </td> 764 <td class="mdname1" valign="top" nowrap> </td> 765 <td class="md" valign="top">) </td> 766 <td class="md" nowrap><code> [virtual, inherited]</code></td> 767 </tr> 768 769 </table> 770 </td> 771 </tr> 772 </table> 773 <table cellspacing=5 cellpadding=0 border=0> 774 <tr> 775 <td> 776 777 </td> 778 <td> 779 780 <p> 781 This function returns the maximum available storage size, not including null terminator. The maximum size may be larger than the current string size. 782 <p> 783 Implements <a class="el" href="classOSCL__String.html#a1">OSCL_String</a>. </td> 784 </tr> 785 </table> 786 <a name="a67" doxytag="OSCL_wHeapString::get_maxsize"></a><p> 787 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 788 <tr> 789 <td class="md"> 790 <table cellpadding="0" cellspacing="0" border="0"> 791 <tr> 792 <td class="md" colspan="4"> 793 template<class Alloc> </td> 794 </tr> 795 <tr> 796 <td class="md" nowrap valign="top"> uint32 OSCL_wHeapString< Alloc >::get_maxsize </td> 797 <td class="md" valign="top">( </td> 798 <td class="mdname1" valign="top" nowrap> </td> 799 <td class="md" valign="top">) </td> 800 <td class="md" nowrap><code> [virtual, inherited]</code></td> 801 </tr> 802 803 </table> 804 </td> 805 </tr> 806 </table> 807 <table cellspacing=5 cellpadding=0 border=0> 808 <tr> 809 <td> 810 811 </td> 812 <td> 813 814 <p> 815 816 <p> 817 Implements <a class="el" href="classOSCL__wString.html#a1">OSCL_wString</a>. </td> 818 </tr> 819 </table> 820 <a name="a66" doxytag="OSCL_HeapString::get_maxsize"></a><p> 821 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 822 <tr> 823 <td class="md"> 824 <table cellpadding="0" cellspacing="0" border="0"> 825 <tr> 826 <td class="md" colspan="4"> 827 template<class Alloc> </td> 828 </tr> 829 <tr> 830 <td class="md" nowrap valign="top"> uint32 OSCL_HeapString< Alloc >::get_maxsize </td> 831 <td class="md" valign="top">( </td> 832 <td class="mdname1" valign="top" nowrap> </td> 833 <td class="md" valign="top">) </td> 834 <td class="md" nowrap><code> [virtual, inherited]</code></td> 835 </tr> 836 837 </table> 838 </td> 839 </tr> 840 </table> 841 <table cellspacing=5 cellpadding=0 border=0> 842 <tr> 843 <td> 844 845 </td> 846 <td> 847 848 <p> 849 This function returns the maximum available storage size, not including null terminator. The maximum size may be larger than the current string size. 850 <p> 851 Implements <a class="el" href="classOSCL__String.html#a1">OSCL_String</a>. </td> 852 </tr> 853 </table> 854 <a name="a105" doxytag="OSCL_wStackString::get_size"></a><p> 855 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 856 <tr> 857 <td class="md"> 858 <table cellpadding="0" cellspacing="0" border="0"> 859 <tr> 860 <td class="md" colspan="4"> 861 template<uint32 MaxBufSize> </td> 862 </tr> 863 <tr> 864 <td class="md" nowrap valign="top"> uint32 OSCL_wStackString< MaxBufSize >::get_size </td> 865 <td class="md" valign="top">( </td> 866 <td class="mdname1" valign="top" nowrap> </td> 867 <td class="md" valign="top">) </td> 868 <td class="md" nowrap><code> [virtual, inherited]</code></td> 869 </tr> 870 871 </table> 872 </td> 873 </tr> 874 </table> 875 <table cellspacing=5 cellpadding=0 border=0> 876 <tr> 877 <td> 878 879 </td> 880 <td> 881 882 <p> 883 884 <p> 885 Implements <a class="el" href="classOSCL__wString.html#a0">OSCL_wString</a>. </td> 886 </tr> 887 </table> 888 <a name="a104" doxytag="OSCL_StackString::get_size"></a><p> 889 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 890 <tr> 891 <td class="md"> 892 <table cellpadding="0" cellspacing="0" border="0"> 893 <tr> 894 <td class="md" colspan="4"> 895 template<uint32 MaxBufSize> </td> 896 </tr> 897 <tr> 898 <td class="md" nowrap valign="top"> uint32 OSCL_StackString< MaxBufSize >::get_size </td> 899 <td class="md" valign="top">( </td> 900 <td class="mdname1" valign="top" nowrap> </td> 901 <td class="md" valign="top">) </td> 902 <td class="md" nowrap><code> [virtual, inherited]</code></td> 903 </tr> 904 905 </table> 906 </td> 907 </tr> 908 </table> 909 <table cellspacing=5 cellpadding=0 border=0> 910 <tr> 911 <td> 912 913 </td> 914 <td> 915 916 <p> 917 Pure virtuals from <a class="el" href="classOSCL__String.html">OSCL_String</a> 918 <p> 919 Implements <a class="el" href="classOSCL__String.html#a0">OSCL_String</a>. </td> 920 </tr> 921 </table> 922 <a name="a63" doxytag="OSCL_wHeapString::get_size"></a><p> 923 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 924 <tr> 925 <td class="md"> 926 <table cellpadding="0" cellspacing="0" border="0"> 927 <tr> 928 <td class="md" colspan="4"> 929 template<class Alloc> </td> 930 </tr> 931 <tr> 932 <td class="md" nowrap valign="top"> uint32 OSCL_wHeapString< Alloc >::get_size </td> 933 <td class="md" valign="top">( </td> 934 <td class="mdname1" valign="top" nowrap> </td> 935 <td class="md" valign="top">) </td> 936 <td class="md" nowrap><code> [virtual, inherited]</code></td> 937 </tr> 938 939 </table> 940 </td> 941 </tr> 942 </table> 943 <table cellspacing=5 cellpadding=0 border=0> 944 <tr> 945 <td> 946 947 </td> 948 <td> 949 950 <p> 951 952 <p> 953 Implements <a class="el" href="classOSCL__wString.html#a0">OSCL_wString</a>. </td> 954 </tr> 955 </table> 956 <a name="a62" doxytag="OSCL_HeapString::get_size"></a><p> 957 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 958 <tr> 959 <td class="md"> 960 <table cellpadding="0" cellspacing="0" border="0"> 961 <tr> 962 <td class="md" colspan="4"> 963 template<class Alloc> </td> 964 </tr> 965 <tr> 966 <td class="md" nowrap valign="top"> uint32 OSCL_HeapString< Alloc >::get_size </td> 967 <td class="md" valign="top">( </td> 968 <td class="mdname1" valign="top" nowrap> </td> 969 <td class="md" valign="top">) </td> 970 <td class="md" nowrap><code> [virtual, inherited]</code></td> 971 </tr> 972 973 </table> 974 </td> 975 </tr> 976 </table> 977 <table cellspacing=5 cellpadding=0 border=0> 978 <tr> 979 <td> 980 981 </td> 982 <td> 983 984 <p> 985 Pure virtuals from <a class="el" href="classOSCL__String.html">OSCL_String</a> 986 <p> 987 Implements <a class="el" href="classOSCL__String.html#a0">OSCL_String</a>. </td> 988 </tr> 989 </table> 990 <a name="a111" doxytag="OSCL_wStackString::get_str"></a><p> 991 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 992 <tr> 993 <td class="md"> 994 <table cellpadding="0" cellspacing="0" border="0"> 995 <tr> 996 <td class="md" colspan="4"> 997 template<uint32 MaxBufSize> </td> 998 </tr> 999 <tr> 1000 <td class="md" nowrap valign="top"> OSCL_wStackString< MaxBufSize >::<a class="el" href="classOSCL__wStackString.html#s0">chartype</a> * OSCL_wStackString< MaxBufSize >::get_str </td> 1001 <td class="md" valign="top">( </td> 1002 <td class="mdname1" valign="top" nowrap> </td> 1003 <td class="md" valign="top">) </td> 1004 <td class="md" nowrap><code> [virtual, inherited]</code></td> 1005 </tr> 1006 1007 </table> 1008 </td> 1009 </tr> 1010 </table> 1011 <table cellspacing=5 cellpadding=0 border=0> 1012 <tr> 1013 <td> 1014 1015 </td> 1016 <td> 1017 1018 <p> 1019 1020 <p> 1021 Implements <a class="el" href="classOSCL__wString.html#a4">OSCL_wString</a>. </td> 1022 </tr> 1023 </table> 1024 <a name="a110" doxytag="OSCL_StackString::get_str"></a><p> 1025 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1026 <tr> 1027 <td class="md"> 1028 <table cellpadding="0" cellspacing="0" border="0"> 1029 <tr> 1030 <td class="md" colspan="4"> 1031 template<uint32 MaxBufSize> </td> 1032 </tr> 1033 <tr> 1034 <td class="md" nowrap valign="top"> OSCL_StackString< MaxBufSize >::<a class="el" href="classOSCL__StackString.html#s0">chartype</a> * OSCL_StackString< MaxBufSize >::get_str </td> 1035 <td class="md" valign="top">( </td> 1036 <td class="mdname1" valign="top" nowrap> </td> 1037 <td class="md" valign="top">) </td> 1038 <td class="md" nowrap><code> [virtual, inherited]</code></td> 1039 </tr> 1040 1041 </table> 1042 </td> 1043 </tr> 1044 </table> 1045 <table cellspacing=5 cellpadding=0 border=0> 1046 <tr> 1047 <td> 1048 1049 </td> 1050 <td> 1051 1052 <p> 1053 This function returns the C-style string for write access. If the string is not writable it returns NULL. 1054 <p> 1055 Implements <a class="el" href="classOSCL__String.html#a4">OSCL_String</a>. </td> 1056 </tr> 1057 </table> 1058 <a name="a71" doxytag="OSCL_wHeapString::get_str"></a><p> 1059 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1060 <tr> 1061 <td class="md"> 1062 <table cellpadding="0" cellspacing="0" border="0"> 1063 <tr> 1064 <td class="md" colspan="4"> 1065 template<class Alloc> </td> 1066 </tr> 1067 <tr> 1068 <td class="md" nowrap valign="top"> OSCL_wHeapString< Alloc >::<a class="el" href="classOSCL__wHeapString.html#s0">chartype</a> * OSCL_wHeapString< Alloc >::get_str </td> 1069 <td class="md" valign="top">( </td> 1070 <td class="mdname1" valign="top" nowrap> </td> 1071 <td class="md" valign="top">) </td> 1072 <td class="md" nowrap><code> [virtual, inherited]</code></td> 1073 </tr> 1074 1075 </table> 1076 </td> 1077 </tr> 1078 </table> 1079 <table cellspacing=5 cellpadding=0 border=0> 1080 <tr> 1081 <td> 1082 1083 </td> 1084 <td> 1085 1086 <p> 1087 1088 <p> 1089 Implements <a class="el" href="classOSCL__wString.html#a4">OSCL_wString</a>. </td> 1090 </tr> 1091 </table> 1092 <a name="a70" doxytag="OSCL_HeapString::get_str"></a><p> 1093 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1094 <tr> 1095 <td class="md"> 1096 <table cellpadding="0" cellspacing="0" border="0"> 1097 <tr> 1098 <td class="md" colspan="4"> 1099 template<class Alloc> </td> 1100 </tr> 1101 <tr> 1102 <td class="md" nowrap valign="top"> OSCL_HeapString< Alloc >::<a class="el" href="classOSCL__HeapString.html#s0">chartype</a> * OSCL_HeapString< Alloc >::get_str </td> 1103 <td class="md" valign="top">( </td> 1104 <td class="mdname1" valign="top" nowrap> </td> 1105 <td class="md" valign="top">) </td> 1106 <td class="md" nowrap><code> [virtual, inherited]</code></td> 1107 </tr> 1108 1109 </table> 1110 </td> 1111 </tr> 1112 </table> 1113 <table cellspacing=5 cellpadding=0 border=0> 1114 <tr> 1115 <td> 1116 1117 </td> 1118 <td> 1119 1120 <p> 1121 This function returns the C-style string for write access. If the string is not writable it returns NULL. 1122 <p> 1123 Implements <a class="el" href="classOSCL__String.html#a4">OSCL_String</a>. </td> 1124 </tr> 1125 </table> 1126 <a name="a49" doxytag="BufFragGroup::GetBufferState"></a><p> 1127 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1128 <tr> 1129 <td class="md"> 1130 <table cellpadding="0" cellspacing="0" border="0"> 1131 <tr> 1132 <td class="md" colspan="4"> 1133 template<class ChainClass, uint32 max_frags> </td> 1134 </tr> 1135 <tr> 1136 <td class="md" nowrap valign="top"> <a class="el" href="classBufferState.html">BufferState</a> * BufFragGroup< ChainClass, max_frags >::GetBufferState </td> 1137 <td class="md" valign="top">( </td> 1138 <td class="md" nowrap valign="top">const int32 </td> 1139 <td class="mdname1" valign="top" nowrap> <em>idx</em> </td> 1140 <td class="md" valign="top">) </td> 1141 <td class="md" nowrap><code> [inline, inherited]</code></td> 1142 </tr> 1143 1144 </table> 1145 </td> 1146 </tr> 1147 </table> 1148 <table cellspacing=5 cellpadding=0 border=0> 1149 <tr> 1150 <td> 1151 1152 </td> 1153 <td> 1154 1155 <p> 1156 </td> 1157 </tr> 1158 </table> 1159 <a name="a48" doxytag="BufFragGroup::GetFragment"></a><p> 1160 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1161 <tr> 1162 <td class="md"> 1163 <table cellpadding="0" cellspacing="0" border="0"> 1164 <tr> 1165 <td class="md" colspan="4"> 1166 template<class ChainClass, uint32 max_frags> </td> 1167 </tr> 1168 <tr> 1169 <td class="md" nowrap valign="top"> <a class="el" href="classBufferFragment.html">BufferFragment</a> * BufFragGroup< ChainClass, max_frags >::GetFragment </td> 1170 <td class="md" valign="top">( </td> 1171 <td class="md" nowrap valign="top">const int32 </td> 1172 <td class="mdname1" valign="top" nowrap> <em>idx</em> </td> 1173 <td class="md" valign="top">) </td> 1174 <td class="md" nowrap><code> [inline, inherited]</code></td> 1175 </tr> 1176 1177 </table> 1178 </td> 1179 </tr> 1180 </table> 1181 <table cellspacing=5 cellpadding=0 border=0> 1182 <tr> 1183 <td> 1184 1185 </td> 1186 <td> 1187 1188 <p> 1189 </td> 1190 </tr> 1191 </table> 1192 <a name="a133" doxytag="OSCL_wStackString::operator="></a><p> 1193 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1194 <tr> 1195 <td class="md"> 1196 <table cellpadding="0" cellspacing="0" border="0"> 1197 <tr> 1198 <td class="md" colspan="4"> 1199 template<uint32 MaxBufSize> </td> 1200 </tr> 1201 <tr> 1202 <td class="md" nowrap valign="top"> OSCL_wStackString< MaxBufSize > & OSCL_wStackString< MaxBufSize >::operator= </td> 1203 <td class="md" valign="top">( </td> 1204 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wStackString.html#s0">chartype</a> * </td> 1205 <td class="mdname1" valign="top" nowrap> <em>cstr</em> </td> 1206 <td class="md" valign="top">) </td> 1207 <td class="md" nowrap><code> [inherited]</code></td> 1208 </tr> 1209 1210 </table> 1211 </td> 1212 </tr> 1213 </table> 1214 <table cellspacing=5 cellpadding=0 border=0> 1215 <tr> 1216 <td> 1217 1218 </td> 1219 <td> 1220 1221 <p> 1222 1223 <p> 1224 Reimplemented from <a class="el" href="classOSCL__wString.html#a6">OSCL_wString</a>. </td> 1225 </tr> 1226 </table> 1227 <a name="a132" doxytag="OSCL_StackString::operator="></a><p> 1228 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1229 <tr> 1230 <td class="md"> 1231 <table cellpadding="0" cellspacing="0" border="0"> 1232 <tr> 1233 <td class="md" colspan="4"> 1234 template<uint32 MaxBufSize> </td> 1235 </tr> 1236 <tr> 1237 <td class="md" nowrap valign="top"> OSCL_StackString< MaxBufSize > & OSCL_StackString< MaxBufSize >::operator= </td> 1238 <td class="md" valign="top">( </td> 1239 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__StackString.html#s0">chartype</a> * </td> 1240 <td class="mdname1" valign="top" nowrap> <em>cstr</em> </td> 1241 <td class="md" valign="top">) </td> 1242 <td class="md" nowrap><code> [inherited]</code></td> 1243 </tr> 1244 1245 </table> 1246 </td> 1247 </tr> 1248 </table> 1249 <table cellspacing=5 cellpadding=0 border=0> 1250 <tr> 1251 <td> 1252 1253 </td> 1254 <td> 1255 1256 <p> 1257 Assignment operator <dl compact><dt><b>am: null-terminated string</b></dt><dd> 1258 </dl> 1259 <p> 1260 Reimplemented from <a class="el" href="classOSCL__String.html#a6">OSCL_String</a>. </td> 1261 </tr> 1262 </table> 1263 <a name="a131" doxytag="OSCL_wStackString::operator="></a><p> 1264 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1265 <tr> 1266 <td class="md"> 1267 <table cellpadding="0" cellspacing="0" border="0"> 1268 <tr> 1269 <td class="md" colspan="4"> 1270 template<uint32 MaxBufSize> </td> 1271 </tr> 1272 <tr> 1273 <td class="md" nowrap valign="top"> OSCL_wStackString< MaxBufSize > & OSCL_wStackString< MaxBufSize >::operator= </td> 1274 <td class="md" valign="top">( </td> 1275 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wString.html">OSCL_wString</a> & </td> 1276 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 1277 <td class="md" valign="top">) </td> 1278 <td class="md" nowrap><code> [inherited]</code></td> 1279 </tr> 1280 1281 </table> 1282 </td> 1283 </tr> 1284 </table> 1285 <table cellspacing=5 cellpadding=0 border=0> 1286 <tr> 1287 <td> 1288 1289 </td> 1290 <td> 1291 1292 <p> 1293 1294 <p> 1295 Reimplemented from <a class="el" href="classOSCL__wString.html#a5">OSCL_wString</a>. </td> 1296 </tr> 1297 </table> 1298 <a name="a130" doxytag="OSCL_StackString::operator="></a><p> 1299 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1300 <tr> 1301 <td class="md"> 1302 <table cellpadding="0" cellspacing="0" border="0"> 1303 <tr> 1304 <td class="md" colspan="4"> 1305 template<uint32 MaxBufSize> </td> 1306 </tr> 1307 <tr> 1308 <td class="md" nowrap valign="top"> OSCL_StackString< MaxBufSize > & OSCL_StackString< MaxBufSize >::operator= </td> 1309 <td class="md" valign="top">( </td> 1310 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> 1311 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 1312 <td class="md" valign="top">) </td> 1313 <td class="md" nowrap><code> [inherited]</code></td> 1314 </tr> 1315 1316 </table> 1317 </td> 1318 </tr> 1319 </table> 1320 <table cellspacing=5 cellpadding=0 border=0> 1321 <tr> 1322 <td> 1323 1324 </td> 1325 <td> 1326 1327 <p> 1328 Assignment operator 1329 <p> 1330 Reimplemented from <a class="el" href="classOSCL__String.html#a5">OSCL_String</a>. </td> 1331 </tr> 1332 </table> 1333 <a name="a129" doxytag="OSCL_wStackString::operator="></a><p> 1334 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1335 <tr> 1336 <td class="md"> 1337 <table cellpadding="0" cellspacing="0" border="0"> 1338 <tr> 1339 <td class="md" colspan="4"> 1340 template<uint32 MaxBufSize> </td> 1341 </tr> 1342 <tr> 1343 <td class="md" nowrap valign="top"> OSCL_wStackString< MaxBufSize > & OSCL_wStackString< MaxBufSize >::operator= </td> 1344 <td class="md" valign="top">( </td> 1345 <td class="md" nowrap valign="top">const OSCL_wStackString< MaxBufSize > & </td> 1346 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 1347 <td class="md" valign="top">) </td> 1348 <td class="md" nowrap><code> [inherited]</code></td> 1349 </tr> 1350 1351 </table> 1352 </td> 1353 </tr> 1354 </table> 1355 <table cellspacing=5 cellpadding=0 border=0> 1356 <tr> 1357 <td> 1358 1359 </td> 1360 <td> 1361 1362 <p> 1363 </td> 1364 </tr> 1365 </table> 1366 <a name="a128" doxytag="OSCL_StackString::operator="></a><p> 1367 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1368 <tr> 1369 <td class="md"> 1370 <table cellpadding="0" cellspacing="0" border="0"> 1371 <tr> 1372 <td class="md" colspan="4"> 1373 template<uint32 MaxBufSize> </td> 1374 </tr> 1375 <tr> 1376 <td class="md" nowrap valign="top"> OSCL_StackString< MaxBufSize > & OSCL_StackString< MaxBufSize >::operator= </td> 1377 <td class="md" valign="top">( </td> 1378 <td class="md" nowrap valign="top">const OSCL_StackString< MaxBufSize > & </td> 1379 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 1380 <td class="md" valign="top">) </td> 1381 <td class="md" nowrap><code> [inherited]</code></td> 1382 </tr> 1383 1384 </table> 1385 </td> 1386 </tr> 1387 </table> 1388 <table cellspacing=5 cellpadding=0 border=0> 1389 <tr> 1390 <td> 1391 1392 </td> 1393 <td> 1394 1395 <p> 1396 Assignment operators </td> 1397 </tr> 1398 </table> 1399 <a name="a93" doxytag="OSCL_wHeapString::operator="></a><p> 1400 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1401 <tr> 1402 <td class="md"> 1403 <table cellpadding="0" cellspacing="0" border="0"> 1404 <tr> 1405 <td class="md" colspan="4"> 1406 template<class Alloc> </td> 1407 </tr> 1408 <tr> 1409 <td class="md" nowrap valign="top"> OSCL_wHeapString< Alloc > & OSCL_wHeapString< Alloc >::operator= </td> 1410 <td class="md" valign="top">( </td> 1411 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wHeapString.html#s0">chartype</a> * </td> 1412 <td class="mdname1" valign="top" nowrap> <em>cstr</em> </td> 1413 <td class="md" valign="top">) </td> 1414 <td class="md" nowrap><code> [inherited]</code></td> 1415 </tr> 1416 1417 </table> 1418 </td> 1419 </tr> 1420 </table> 1421 <table cellspacing=5 cellpadding=0 border=0> 1422 <tr> 1423 <td> 1424 1425 </td> 1426 <td> 1427 1428 <p> 1429 1430 <p> 1431 Reimplemented from <a class="el" href="classOSCL__wString.html#a6">OSCL_wString</a>. </td> 1432 </tr> 1433 </table> 1434 <a name="a92" doxytag="OSCL_HeapString::operator="></a><p> 1435 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1436 <tr> 1437 <td class="md"> 1438 <table cellpadding="0" cellspacing="0" border="0"> 1439 <tr> 1440 <td class="md" colspan="4"> 1441 template<class Alloc> </td> 1442 </tr> 1443 <tr> 1444 <td class="md" nowrap valign="top"> OSCL_HeapString< Alloc > & OSCL_HeapString< Alloc >::operator= </td> 1445 <td class="md" valign="top">( </td> 1446 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__HeapString.html#s0">chartype</a> * </td> 1447 <td class="mdname1" valign="top" nowrap> <em>cstr</em> </td> 1448 <td class="md" valign="top">) </td> 1449 <td class="md" nowrap><code> [inherited]</code></td> 1450 </tr> 1451 1452 </table> 1453 </td> 1454 </tr> 1455 </table> 1456 <table cellspacing=5 cellpadding=0 border=0> 1457 <tr> 1458 <td> 1459 1460 </td> 1461 <td> 1462 1463 <p> 1464 Assignment operator <dl compact><dt><b>am: null-terminated string</b></dt><dd> 1465 </dl> 1466 <p> 1467 Reimplemented from <a class="el" href="classOSCL__String.html#a6">OSCL_String</a>. </td> 1468 </tr> 1469 </table> 1470 <a name="a91" doxytag="OSCL_wHeapString::operator="></a><p> 1471 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1472 <tr> 1473 <td class="md"> 1474 <table cellpadding="0" cellspacing="0" border="0"> 1475 <tr> 1476 <td class="md" colspan="4"> 1477 template<class Alloc> </td> 1478 </tr> 1479 <tr> 1480 <td class="md" nowrap valign="top"> OSCL_wHeapString< Alloc > & OSCL_wHeapString< Alloc >::operator= </td> 1481 <td class="md" valign="top">( </td> 1482 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wString.html">OSCL_wString</a> & </td> 1483 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 1484 <td class="md" valign="top">) </td> 1485 <td class="md" nowrap><code> [inherited]</code></td> 1486 </tr> 1487 1488 </table> 1489 </td> 1490 </tr> 1491 </table> 1492 <table cellspacing=5 cellpadding=0 border=0> 1493 <tr> 1494 <td> 1495 1496 </td> 1497 <td> 1498 1499 <p> 1500 1501 <p> 1502 Reimplemented from <a class="el" href="classOSCL__wString.html#a5">OSCL_wString</a>. </td> 1503 </tr> 1504 </table> 1505 <a name="a90" doxytag="OSCL_HeapString::operator="></a><p> 1506 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1507 <tr> 1508 <td class="md"> 1509 <table cellpadding="0" cellspacing="0" border="0"> 1510 <tr> 1511 <td class="md" colspan="4"> 1512 template<class Alloc> </td> 1513 </tr> 1514 <tr> 1515 <td class="md" nowrap valign="top"> OSCL_HeapString< Alloc > & OSCL_HeapString< Alloc >::operator= </td> 1516 <td class="md" valign="top">( </td> 1517 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> 1518 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 1519 <td class="md" valign="top">) </td> 1520 <td class="md" nowrap><code> [inherited]</code></td> 1521 </tr> 1522 1523 </table> 1524 </td> 1525 </tr> 1526 </table> 1527 <table cellspacing=5 cellpadding=0 border=0> 1528 <tr> 1529 <td> 1530 1531 </td> 1532 <td> 1533 1534 <p> 1535 Assignment operator 1536 <p> 1537 Reimplemented from <a class="el" href="classOSCL__String.html#a5">OSCL_String</a>. </td> 1538 </tr> 1539 </table> 1540 <a name="a89" doxytag="OSCL_wHeapString::operator="></a><p> 1541 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1542 <tr> 1543 <td class="md"> 1544 <table cellpadding="0" cellspacing="0" border="0"> 1545 <tr> 1546 <td class="md" colspan="4"> 1547 template<class Alloc> </td> 1548 </tr> 1549 <tr> 1550 <td class="md" nowrap valign="top"> OSCL_wHeapString< Alloc > & OSCL_wHeapString< Alloc >::operator= </td> 1551 <td class="md" valign="top">( </td> 1552 <td class="md" nowrap valign="top">const OSCL_wHeapString< Alloc > & </td> 1553 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 1554 <td class="md" valign="top">) </td> 1555 <td class="md" nowrap><code> [inherited]</code></td> 1556 </tr> 1557 1558 </table> 1559 </td> 1560 </tr> 1561 </table> 1562 <table cellspacing=5 cellpadding=0 border=0> 1563 <tr> 1564 <td> 1565 1566 </td> 1567 <td> 1568 1569 <p> 1570 </td> 1571 </tr> 1572 </table> 1573 <a name="a88" doxytag="OSCL_HeapString::operator="></a><p> 1574 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1575 <tr> 1576 <td class="md"> 1577 <table cellpadding="0" cellspacing="0" border="0"> 1578 <tr> 1579 <td class="md" colspan="4"> 1580 template<class Alloc> </td> 1581 </tr> 1582 <tr> 1583 <td class="md" nowrap valign="top"> OSCL_HeapString< Alloc > & OSCL_HeapString< Alloc >::operator= </td> 1584 <td class="md" valign="top">( </td> 1585 <td class="md" nowrap valign="top">const OSCL_HeapString< Alloc > & </td> 1586 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 1587 <td class="md" valign="top">) </td> 1588 <td class="md" nowrap><code> [inherited]</code></td> 1589 </tr> 1590 1591 </table> 1592 </td> 1593 </tr> 1594 </table> 1595 <table cellspacing=5 cellpadding=0 border=0> 1596 <tr> 1597 <td> 1598 1599 </td> 1600 <td> 1601 1602 <p> 1603 Assignment operators </td> 1604 </tr> 1605 </table> 1606 <a name="a22" doxytag="oscl_string_utils.h::oscl_abs"></a><p> 1607 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1608 <tr> 1609 <td class="md"> 1610 <table cellpadding="0" cellspacing="0" border="0"> 1611 <tr> 1612 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int oscl_abs </td> 1613 <td class="md" valign="top">( </td> 1614 <td class="md" nowrap valign="top">int </td> 1615 <td class="mdname1" valign="top" nowrap> <em>aVal</em> </td> 1616 <td class="md" valign="top">) </td> 1617 <td class="md" nowrap></td> 1618 </tr> 1619 1620 </table> 1621 </td> 1622 </tr> 1623 </table> 1624 <table cellspacing=5 cellpadding=0 border=0> 1625 <tr> 1626 <td> 1627 1628 </td> 1629 <td> 1630 1631 <p> 1632 </td> 1633 </tr> 1634 </table> 1635 <a name="a31" doxytag="oscl_math.h::oscl_asin"></a><p> 1636 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1637 <tr> 1638 <td class="md"> 1639 <table cellpadding="0" cellspacing="0" border="0"> 1640 <tr> 1641 <td class="md" nowrap valign="top"> OSCL_COND_IMPORT_REF double oscl_asin </td> 1642 <td class="md" valign="top">( </td> 1643 <td class="md" nowrap valign="top">double </td> 1644 <td class="mdname1" valign="top" nowrap> <em>value</em> </td> 1645 <td class="md" valign="top">) </td> 1646 <td class="md" nowrap></td> 1647 </tr> 1648 1649 </table> 1650 </td> 1651 </tr> 1652 </table> 1653 <table cellspacing=5 cellpadding=0 border=0> 1654 <tr> 1655 <td> 1656 1657 </td> 1658 <td> 1659 1660 <p> 1661 Calculates the arc since of a number<dl compact><dt><b>Parameters: </b></dt><dd> 1662 <table border=0 cellspacing=2 cellpadding=0> 1663 <tr><td valign=top><em>value</em> </td><td> 1664 source value </td></tr> 1665 </table> 1666 </dl> </td> 1667 </tr> 1668 </table> 1669 <a name="a32" doxytag="oscl_math.h::oscl_atan"></a><p> 1670 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1671 <tr> 1672 <td class="md"> 1673 <table cellpadding="0" cellspacing="0" border="0"> 1674 <tr> 1675 <td class="md" nowrap valign="top"> OSCL_COND_IMPORT_REF double oscl_atan </td> 1676 <td class="md" valign="top">( </td> 1677 <td class="md" nowrap valign="top">double </td> 1678 <td class="mdname1" valign="top" nowrap> <em>value</em> </td> 1679 <td class="md" valign="top">) </td> 1680 <td class="md" nowrap></td> 1681 </tr> 1682 1683 </table> 1684 </td> 1685 </tr> 1686 </table> 1687 <table cellspacing=5 cellpadding=0 border=0> 1688 <tr> 1689 <td> 1690 1691 </td> 1692 <td> 1693 1694 <p> 1695 Calculates the arc tangent of a number<dl compact><dt><b>Parameters: </b></dt><dd> 1696 <table border=0 cellspacing=2 cellpadding=0> 1697 <tr><td valign=top><em>value</em> </td><td> 1698 source value </td></tr> 1699 </table> 1700 </dl> </td> 1701 </tr> 1702 </table> 1703 <a name="a29" doxytag="oscl_math.h::oscl_cos"></a><p> 1704 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1705 <tr> 1706 <td class="md"> 1707 <table cellpadding="0" cellspacing="0" border="0"> 1708 <tr> 1709 <td class="md" nowrap valign="top"> OSCL_COND_IMPORT_REF double oscl_cos </td> 1710 <td class="md" valign="top">( </td> 1711 <td class="md" nowrap valign="top">double </td> 1712 <td class="mdname1" valign="top" nowrap> <em>value</em> </td> 1713 <td class="md" valign="top">) </td> 1714 <td class="md" nowrap></td> 1715 </tr> 1716 1717 </table> 1718 </td> 1719 </tr> 1720 </table> 1721 <table cellspacing=5 cellpadding=0 border=0> 1722 <tr> 1723 <td> 1724 1725 </td> 1726 <td> 1727 1728 <p> 1729 Calculates the cosine of a number<dl compact><dt><b>Parameters: </b></dt><dd> 1730 <table border=0 cellspacing=2 cellpadding=0> 1731 <tr><td valign=top><em>value</em> </td><td> 1732 source value </td></tr> 1733 </table> 1734 </dl> </td> 1735 </tr> 1736 </table> 1737 <a name="a27" doxytag="oscl_math.h::oscl_exp"></a><p> 1738 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1739 <tr> 1740 <td class="md"> 1741 <table cellpadding="0" cellspacing="0" border="0"> 1742 <tr> 1743 <td class="md" nowrap valign="top"> OSCL_COND_IMPORT_REF double oscl_exp </td> 1744 <td class="md" valign="top">( </td> 1745 <td class="md" nowrap valign="top">double </td> 1746 <td class="mdname1" valign="top" nowrap> <em>value</em> </td> 1747 <td class="md" valign="top">) </td> 1748 <td class="md" nowrap></td> 1749 </tr> 1750 1751 </table> 1752 </td> 1753 </tr> 1754 </table> 1755 <table cellspacing=5 cellpadding=0 border=0> 1756 <tr> 1757 <td> 1758 1759 </td> 1760 <td> 1761 1762 <p> 1763 Calculates the exponential of e for a number<dl compact><dt><b>Parameters: </b></dt><dd> 1764 <table border=0 cellspacing=2 cellpadding=0> 1765 <tr><td valign=top><em>value</em> </td><td> 1766 source value </td></tr> 1767 </table> 1768 </dl> </td> 1769 </tr> 1770 </table> 1771 <a name="a33" doxytag="oscl_math.h::oscl_floor"></a><p> 1772 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1773 <tr> 1774 <td class="md"> 1775 <table cellpadding="0" cellspacing="0" border="0"> 1776 <tr> 1777 <td class="md" nowrap valign="top"> OSCL_COND_IMPORT_REF double oscl_floor </td> 1778 <td class="md" valign="top">( </td> 1779 <td class="md" nowrap valign="top">double </td> 1780 <td class="mdname1" valign="top" nowrap> <em>value</em> </td> 1781 <td class="md" valign="top">) </td> 1782 <td class="md" nowrap></td> 1783 </tr> 1784 1785 </table> 1786 </td> 1787 </tr> 1788 </table> 1789 <table cellspacing=5 cellpadding=0 border=0> 1790 <tr> 1791 <td> 1792 1793 </td> 1794 <td> 1795 1796 <p> 1797 Calculates the floor of a number<dl compact><dt><b>Parameters: </b></dt><dd> 1798 <table border=0 cellspacing=2 cellpadding=0> 1799 <tr><td valign=top><em>value</em> </td><td> 1800 source value </td></tr> 1801 </table> 1802 </dl> </td> 1803 </tr> 1804 </table> 1805 <a name="a84" doxytag="OSCL_HeapString::OSCL_HeapString"></a><p> 1806 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1807 <tr> 1808 <td class="md"> 1809 <table cellpadding="0" cellspacing="0" border="0"> 1810 <tr> 1811 <td class="md" colspan="4"> 1812 template<class Alloc> </td> 1813 </tr> 1814 <tr> 1815 <td class="md" nowrap valign="top"> OSCL_HeapString< Alloc >::OSCL_HeapString </td> 1816 <td class="md" valign="top">( </td> 1817 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> 1818 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 1819 <td class="md" valign="top">) </td> 1820 <td class="md" nowrap><code> [inherited]</code></td> 1821 </tr> 1822 1823 </table> 1824 </td> 1825 </tr> 1826 </table> 1827 <table cellspacing=5 cellpadding=0 border=0> 1828 <tr> 1829 <td> 1830 1831 </td> 1832 <td> 1833 1834 <p> 1835 </td> 1836 </tr> 1837 </table> 1838 <a name="a82" doxytag="OSCL_HeapString::OSCL_HeapString"></a><p> 1839 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1840 <tr> 1841 <td class="md"> 1842 <table cellpadding="0" cellspacing="0" border="0"> 1843 <tr> 1844 <td class="md" colspan="4"> 1845 template<class Alloc> </td> 1846 </tr> 1847 <tr> 1848 <td class="md" nowrap valign="top"> OSCL_HeapString< Alloc >::OSCL_HeapString </td> 1849 <td class="md" valign="top">( </td> 1850 <td class="md" nowrap valign="top">const OSCL_HeapString< Alloc > & </td> 1851 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 1852 <td class="md" valign="top">) </td> 1853 <td class="md" nowrap><code> [inherited]</code></td> 1854 </tr> 1855 1856 </table> 1857 </td> 1858 </tr> 1859 </table> 1860 <table cellspacing=5 cellpadding=0 border=0> 1861 <tr> 1862 <td> 1863 1864 </td> 1865 <td> 1866 1867 <p> 1868 Creates a heap string that contains a copy of the input string. <dl compact><dt><b>Parameters: </b></dt><dd> 1869 <table border=0 cellspacing=2 cellpadding=0> 1870 <tr><td valign=top><em>src:</em> </td><td> 1871 input string. </td></tr> 1872 </table> 1873 </dl> </td> 1874 </tr> 1875 </table> 1876 <a name="a80" doxytag="OSCL_HeapString::OSCL_HeapString"></a><p> 1877 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1878 <tr> 1879 <td class="md"> 1880 <table cellpadding="0" cellspacing="0" border="0"> 1881 <tr> 1882 <td class="md" colspan="4"> 1883 template<class Alloc> </td> 1884 </tr> 1885 <tr> 1886 <td class="md" nowrap valign="top"> OSCL_HeapString< Alloc >::OSCL_HeapString </td> 1887 <td class="md" valign="top">( </td> 1888 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__HeapString.html#s0">chartype</a> * </td> 1889 <td class="mdname" nowrap> <em>buf</em>, </td> 1890 </tr> 1891 <tr> 1892 <td></td> 1893 <td></td> 1894 <td class="md" nowrap>uint32 </td> 1895 <td class="mdname" nowrap> <em>length</em></td> 1896 </tr> 1897 <tr> 1898 <td></td> 1899 <td class="md">) </td> 1900 <td class="md" colspan="2"><code> [inherited]</code></td> 1901 </tr> 1902 1903 </table> 1904 </td> 1905 </tr> 1906 </table> 1907 <table cellspacing=5 cellpadding=0 border=0> 1908 <tr> 1909 <td> 1910 1911 </td> 1912 <td> 1913 1914 <p> 1915 Creates a heap string that contains a copy of the input string or character array. <dl compact><dt><b>Parameters: </b></dt><dd> 1916 <table border=0 cellspacing=2 cellpadding=0> 1917 <tr><td valign=top><em>src:</em> </td><td> 1918 character array, not necessarily null-terminated. </td></tr> 1919 <tr><td valign=top><em>length:</em> </td><td> 1920 number of characters to copy. </td></tr> 1921 </table> 1922 </dl> </td> 1923 </tr> 1924 </table> 1925 <a name="a76" doxytag="OSCL_HeapString::OSCL_HeapString"></a><p> 1926 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1927 <tr> 1928 <td class="md"> 1929 <table cellpadding="0" cellspacing="0" border="0"> 1930 <tr> 1931 <td class="md" colspan="4"> 1932 template<class Alloc> </td> 1933 </tr> 1934 <tr> 1935 <td class="md" nowrap valign="top"> OSCL_HeapString< Alloc >::OSCL_HeapString </td> 1936 <td class="md" valign="top">( </td> 1937 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__HeapString.html#s0">chartype</a> * </td> 1938 <td class="mdname1" valign="top" nowrap> <em>cstr</em> </td> 1939 <td class="md" valign="top">) </td> 1940 <td class="md" nowrap><code> [inherited]</code></td> 1941 </tr> 1942 1943 </table> 1944 </td> 1945 </tr> 1946 </table> 1947 <table cellspacing=5 cellpadding=0 border=0> 1948 <tr> 1949 <td> 1950 1951 </td> 1952 <td> 1953 1954 <p> 1955 Creates a heap string that contains a copy of the input string. <dl compact><dt><b>Parameters: </b></dt><dd> 1956 <table border=0 cellspacing=2 cellpadding=0> 1957 <tr><td valign=top><em>cp:</em> </td><td> 1958 null-terminated string. </td></tr> 1959 </table> 1960 </dl> </td> 1961 </tr> 1962 </table> 1963 <a name="a74" doxytag="OSCL_HeapString::OSCL_HeapString"></a><p> 1964 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1965 <tr> 1966 <td class="md"> 1967 <table cellpadding="0" cellspacing="0" border="0"> 1968 <tr> 1969 <td class="md" colspan="4"> 1970 template<class Alloc> </td> 1971 </tr> 1972 <tr> 1973 <td class="md" nowrap valign="top"> OSCL_HeapString< Alloc >::OSCL_HeapString </td> 1974 <td class="md" valign="top">( </td> 1975 <td class="mdname1" valign="top" nowrap> </td> 1976 <td class="md" valign="top">) </td> 1977 <td class="md" nowrap><code> [inherited]</code></td> 1978 </tr> 1979 1980 </table> 1981 </td> 1982 </tr> 1983 </table> 1984 <table cellspacing=5 cellpadding=0 border=0> 1985 <tr> 1986 <td> 1987 1988 </td> 1989 <td> 1990 1991 <p> 1992 The default constructor creates an empty string. </td> 1993 </tr> 1994 </table> 1995 <a name="a23" doxytag="oscl_math.h::oscl_log"></a><p> 1996 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 1997 <tr> 1998 <td class="md"> 1999 <table cellpadding="0" cellspacing="0" border="0"> 2000 <tr> 2001 <td class="md" nowrap valign="top"> OSCL_COND_IMPORT_REF double oscl_log </td> 2002 <td class="md" valign="top">( </td> 2003 <td class="md" nowrap valign="top">double </td> 2004 <td class="mdname1" valign="top" nowrap> <em>value</em> </td> 2005 <td class="md" valign="top">) </td> 2006 <td class="md" nowrap></td> 2007 </tr> 2008 2009 </table> 2010 </td> 2011 </tr> 2012 </table> 2013 <table cellspacing=5 cellpadding=0 border=0> 2014 <tr> 2015 <td> 2016 2017 </td> 2018 <td> 2019 2020 <p> 2021 Calculates the natural log of a number<dl compact><dt><b>Parameters: </b></dt><dd> 2022 <table border=0 cellspacing=2 cellpadding=0> 2023 <tr><td valign=top><em>value</em> </td><td> 2024 source value </td></tr> 2025 </table> 2026 </dl> </td> 2027 </tr> 2028 </table> 2029 <a name="a24" doxytag="oscl_math.h::oscl_log10"></a><p> 2030 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2031 <tr> 2032 <td class="md"> 2033 <table cellpadding="0" cellspacing="0" border="0"> 2034 <tr> 2035 <td class="md" nowrap valign="top"> OSCL_COND_IMPORT_REF double oscl_log10 </td> 2036 <td class="md" valign="top">( </td> 2037 <td class="md" nowrap valign="top">double </td> 2038 <td class="mdname1" valign="top" nowrap> <em>value</em> </td> 2039 <td class="md" valign="top">) </td> 2040 <td class="md" nowrap></td> 2041 </tr> 2042 2043 </table> 2044 </td> 2045 </tr> 2046 </table> 2047 <table cellspacing=5 cellpadding=0 border=0> 2048 <tr> 2049 <td> 2050 2051 </td> 2052 <td> 2053 2054 <p> 2055 Calculates tthe logarithm to base 10 of a number<dl compact><dt><b>Parameters: </b></dt><dd> 2056 <table border=0 cellspacing=2 cellpadding=0> 2057 <tr><td valign=top><em>value</em> </td><td> 2058 source value </td></tr> 2059 </table> 2060 </dl> </td> 2061 </tr> 2062 </table> 2063 <a name="a26" doxytag="oscl_math.h::oscl_pow"></a><p> 2064 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2065 <tr> 2066 <td class="md"> 2067 <table cellpadding="0" cellspacing="0" border="0"> 2068 <tr> 2069 <td class="md" nowrap valign="top"> OSCL_COND_IMPORT_REF double oscl_pow </td> 2070 <td class="md" valign="top">( </td> 2071 <td class="md" nowrap valign="top">double </td> 2072 <td class="mdname" nowrap> <em>x</em>, </td> 2073 </tr> 2074 <tr> 2075 <td></td> 2076 <td></td> 2077 <td class="md" nowrap>double </td> 2078 <td class="mdname" nowrap> <em>y</em></td> 2079 </tr> 2080 <tr> 2081 <td></td> 2082 <td class="md">) </td> 2083 <td class="md" colspan="2"></td> 2084 </tr> 2085 2086 </table> 2087 </td> 2088 </tr> 2089 </table> 2090 <table cellspacing=5 cellpadding=0 border=0> 2091 <tr> 2092 <td> 2093 2094 </td> 2095 <td> 2096 2097 <p> 2098 Calculates the value of x to the power of y<dl compact><dt><b>Parameters: </b></dt><dd> 2099 <table border=0 cellspacing=2 cellpadding=0> 2100 <tr><td valign=top><em>x</em> </td><td> 2101 base value </td></tr> 2102 <tr><td valign=top><em>y</em> </td><td> 2103 power </td></tr> 2104 </table> 2105 </dl> </td> 2106 </tr> 2107 </table> 2108 <a name="a28" doxytag="oscl_math.h::oscl_sin"></a><p> 2109 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2110 <tr> 2111 <td class="md"> 2112 <table cellpadding="0" cellspacing="0" border="0"> 2113 <tr> 2114 <td class="md" nowrap valign="top"> OSCL_COND_IMPORT_REF double oscl_sin </td> 2115 <td class="md" valign="top">( </td> 2116 <td class="md" nowrap valign="top">double </td> 2117 <td class="mdname1" valign="top" nowrap> <em>value</em> </td> 2118 <td class="md" valign="top">) </td> 2119 <td class="md" nowrap></td> 2120 </tr> 2121 2122 </table> 2123 </td> 2124 </tr> 2125 </table> 2126 <table cellspacing=5 cellpadding=0 border=0> 2127 <tr> 2128 <td> 2129 2130 </td> 2131 <td> 2132 2133 <p> 2134 Calculates the sine of a number<dl compact><dt><b>Parameters: </b></dt><dd> 2135 <table border=0 cellspacing=2 cellpadding=0> 2136 <tr><td valign=top><em>value</em> </td><td> 2137 source value </td></tr> 2138 </table> 2139 </dl> </td> 2140 </tr> 2141 </table> 2142 <a name="a35" doxytag="oscl_snprintf.h::oscl_snprintf"></a><p> 2143 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2144 <tr> 2145 <td class="md"> 2146 <table cellpadding="0" cellspacing="0" border="0"> 2147 <tr> 2148 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 oscl_snprintf </td> 2149 <td class="md" valign="top">( </td> 2150 <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> 2151 <td class="mdname" nowrap> <em>str</em>, </td> 2152 </tr> 2153 <tr> 2154 <td></td> 2155 <td></td> 2156 <td class="md" nowrap>uint32 </td> 2157 <td class="mdname" nowrap> <em>count</em>, </td> 2158 </tr> 2159 <tr> 2160 <td></td> 2161 <td></td> 2162 <td class="md" nowrap>const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> 2163 <td class="mdname" nowrap> <em>fmt</em>, </td> 2164 </tr> 2165 <tr> 2166 <td></td> 2167 <td></td> 2168 <td class="md" nowrap>... </td> 2169 <td class="mdname" nowrap> </td> 2170 </tr> 2171 <tr> 2172 <td></td> 2173 <td class="md">) </td> 2174 <td class="md" colspan="2"></td> 2175 </tr> 2176 2177 </table> 2178 </td> 2179 </tr> 2180 </table> 2181 <table cellspacing=5 cellpadding=0 border=0> 2182 <tr> 2183 <td> 2184 2185 </td> 2186 <td> 2187 2188 <p> 2189 </td> 2190 </tr> 2191 </table> 2192 <a name="a34" doxytag="oscl_snprintf.h::oscl_snprintf"></a><p> 2193 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2194 <tr> 2195 <td class="md"> 2196 <table cellpadding="0" cellspacing="0" border="0"> 2197 <tr> 2198 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 oscl_snprintf </td> 2199 <td class="md" valign="top">( </td> 2200 <td class="md" nowrap valign="top">char * </td> 2201 <td class="mdname" nowrap> <em>str</em>, </td> 2202 </tr> 2203 <tr> 2204 <td></td> 2205 <td></td> 2206 <td class="md" nowrap>uint32 </td> 2207 <td class="mdname" nowrap> <em>count</em>, </td> 2208 </tr> 2209 <tr> 2210 <td></td> 2211 <td></td> 2212 <td class="md" nowrap>const char * </td> 2213 <td class="mdname" nowrap> <em>fmt</em>, </td> 2214 </tr> 2215 <tr> 2216 <td></td> 2217 <td></td> 2218 <td class="md" nowrap>... </td> 2219 <td class="mdname" nowrap> </td> 2220 </tr> 2221 <tr> 2222 <td></td> 2223 <td class="md">) </td> 2224 <td class="md" colspan="2"></td> 2225 </tr> 2226 2227 </table> 2228 </td> 2229 </tr> 2230 </table> 2231 <table cellspacing=5 cellpadding=0 border=0> 2232 <tr> 2233 <td> 2234 2235 </td> 2236 <td> 2237 2238 <p> 2239 </td> 2240 </tr> 2241 </table> 2242 <a name="a25" doxytag="oscl_math.h::oscl_sqrt"></a><p> 2243 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2244 <tr> 2245 <td class="md"> 2246 <table cellpadding="0" cellspacing="0" border="0"> 2247 <tr> 2248 <td class="md" nowrap valign="top"> OSCL_COND_IMPORT_REF double oscl_sqrt </td> 2249 <td class="md" valign="top">( </td> 2250 <td class="md" nowrap valign="top">double </td> 2251 <td class="mdname1" valign="top" nowrap> <em>value</em> </td> 2252 <td class="md" valign="top">) </td> 2253 <td class="md" nowrap></td> 2254 </tr> 2255 2256 </table> 2257 </td> 2258 </tr> 2259 </table> 2260 <table cellspacing=5 cellpadding=0 border=0> 2261 <tr> 2262 <td> 2263 2264 </td> 2265 <td> 2266 2267 <p> 2268 Calculates the square root of a number<dl compact><dt><b>Parameters: </b></dt><dd> 2269 <table border=0 cellspacing=2 cellpadding=0> 2270 <tr><td valign=top><em>value</em> </td><td> 2271 source value </td></tr> 2272 </table> 2273 </dl> </td> 2274 </tr> 2275 </table> 2276 <a name="a124" doxytag="OSCL_StackString::OSCL_StackString"></a><p> 2277 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2278 <tr> 2279 <td class="md"> 2280 <table cellpadding="0" cellspacing="0" border="0"> 2281 <tr> 2282 <td class="md" colspan="4"> 2283 template<uint32 MaxBufSize> </td> 2284 </tr> 2285 <tr> 2286 <td class="md" nowrap valign="top"> OSCL_StackString< MaxBufSize >::OSCL_StackString </td> 2287 <td class="md" valign="top">( </td> 2288 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> 2289 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 2290 <td class="md" valign="top">) </td> 2291 <td class="md" nowrap><code> [inherited]</code></td> 2292 </tr> 2293 2294 </table> 2295 </td> 2296 </tr> 2297 </table> 2298 <table cellspacing=5 cellpadding=0 border=0> 2299 <tr> 2300 <td> 2301 2302 </td> 2303 <td> 2304 2305 <p> 2306 </td> 2307 </tr> 2308 </table> 2309 <a name="a122" doxytag="OSCL_StackString::OSCL_StackString"></a><p> 2310 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2311 <tr> 2312 <td class="md"> 2313 <table cellpadding="0" cellspacing="0" border="0"> 2314 <tr> 2315 <td class="md" colspan="4"> 2316 template<uint32 MaxBufSize> </td> 2317 </tr> 2318 <tr> 2319 <td class="md" nowrap valign="top"> OSCL_StackString< MaxBufSize >::OSCL_StackString </td> 2320 <td class="md" valign="top">( </td> 2321 <td class="md" nowrap valign="top">const OSCL_StackString< MaxBufSize > & </td> 2322 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 2323 <td class="md" valign="top">) </td> 2324 <td class="md" nowrap><code> [inherited]</code></td> 2325 </tr> 2326 2327 </table> 2328 </td> 2329 </tr> 2330 </table> 2331 <table cellspacing=5 cellpadding=0 border=0> 2332 <tr> 2333 <td> 2334 2335 </td> 2336 <td> 2337 2338 <p> 2339 Creates an OSCL_StackString with a copy of the input string. The string may be truncated to fit the available storage. <dl compact><dt><b>Parameters: </b></dt><dd> 2340 <table border=0 cellspacing=2 cellpadding=0> 2341 <tr><td valign=top><em>src:</em> </td><td> 2342 input string. </td></tr> 2343 </table> 2344 </dl> </td> 2345 </tr> 2346 </table> 2347 <a name="a120" doxytag="OSCL_StackString::OSCL_StackString"></a><p> 2348 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2349 <tr> 2350 <td class="md"> 2351 <table cellpadding="0" cellspacing="0" border="0"> 2352 <tr> 2353 <td class="md" colspan="4"> 2354 template<uint32 MaxBufSize> </td> 2355 </tr> 2356 <tr> 2357 <td class="md" nowrap valign="top"> OSCL_StackString< MaxBufSize >::OSCL_StackString </td> 2358 <td class="md" valign="top">( </td> 2359 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__StackString.html#s0">chartype</a> * </td> 2360 <td class="mdname" nowrap> <em>buf</em>, </td> 2361 </tr> 2362 <tr> 2363 <td></td> 2364 <td></td> 2365 <td class="md" nowrap>uint32 </td> 2366 <td class="mdname" nowrap> <em>length</em></td> 2367 </tr> 2368 <tr> 2369 <td></td> 2370 <td class="md">) </td> 2371 <td class="md" colspan="2"><code> [inherited]</code></td> 2372 </tr> 2373 2374 </table> 2375 </td> 2376 </tr> 2377 </table> 2378 <table cellspacing=5 cellpadding=0 border=0> 2379 <tr> 2380 <td> 2381 2382 </td> 2383 <td> 2384 2385 <p> 2386 Creates an OSCL_StackString with a copy of the input string. The string may be truncated to fit the available storage. <dl compact><dt><b>Parameters: </b></dt><dd> 2387 <table border=0 cellspacing=2 cellpadding=0> 2388 <tr><td valign=top><em>src:</em> </td><td> 2389 a character array, not necessarily null-terminated. </td></tr> 2390 <tr><td valign=top><em>length:</em> </td><td> 2391 the number of characters to copy. </td></tr> 2392 </table> 2393 </dl> </td> 2394 </tr> 2395 </table> 2396 <a name="a116" doxytag="OSCL_StackString::OSCL_StackString"></a><p> 2397 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2398 <tr> 2399 <td class="md"> 2400 <table cellpadding="0" cellspacing="0" border="0"> 2401 <tr> 2402 <td class="md" colspan="4"> 2403 template<uint32 MaxBufSize> </td> 2404 </tr> 2405 <tr> 2406 <td class="md" nowrap valign="top"> OSCL_StackString< MaxBufSize >::OSCL_StackString </td> 2407 <td class="md" valign="top">( </td> 2408 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__StackString.html#s0">chartype</a> * </td> 2409 <td class="mdname1" valign="top" nowrap> <em>cstr</em> </td> 2410 <td class="md" valign="top">) </td> 2411 <td class="md" nowrap><code> [inherited]</code></td> 2412 </tr> 2413 2414 </table> 2415 </td> 2416 </tr> 2417 </table> 2418 <table cellspacing=5 cellpadding=0 border=0> 2419 <tr> 2420 <td> 2421 2422 </td> 2423 <td> 2424 2425 <p> 2426 Creates an OSCL_StackString with a copy of the input string. The string may be truncated to fit the available storage. <dl compact><dt><b>Parameters: </b></dt><dd> 2427 <table border=0 cellspacing=2 cellpadding=0> 2428 <tr><td valign=top><em>cp:</em> </td><td> 2429 a null-terminated string. </td></tr> 2430 </table> 2431 </dl> </td> 2432 </tr> 2433 </table> 2434 <a name="a114" doxytag="OSCL_StackString::OSCL_StackString"></a><p> 2435 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2436 <tr> 2437 <td class="md"> 2438 <table cellpadding="0" cellspacing="0" border="0"> 2439 <tr> 2440 <td class="md" colspan="4"> 2441 template<uint32 MaxBufSize> </td> 2442 </tr> 2443 <tr> 2444 <td class="md" nowrap valign="top"> OSCL_StackString< MaxBufSize >::OSCL_StackString </td> 2445 <td class="md" valign="top">( </td> 2446 <td class="mdname1" valign="top" nowrap> </td> 2447 <td class="md" valign="top">) </td> 2448 <td class="md" nowrap><code> [inherited]</code></td> 2449 </tr> 2450 2451 </table> 2452 </td> 2453 </tr> 2454 </table> 2455 <table cellspacing=5 cellpadding=0 border=0> 2456 <tr> 2457 <td> 2458 2459 </td> 2460 <td> 2461 2462 <p> 2463 Creates an OSCL_StackString initialized with an empty string. </td> 2464 </tr> 2465 </table> 2466 <a name="a43" doxytag="oscl_string_xml.h::oscl_str_escape_xml"></a><p> 2467 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2468 <tr> 2469 <td class="md"> 2470 <table cellpadding="0" cellspacing="0" border="0"> 2471 <tr> 2472 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 oscl_str_escape_xml </td> 2473 <td class="md" valign="top">( </td> 2474 <td class="md" nowrap valign="top">const char * </td> 2475 <td class="mdname" nowrap> <em>str_buf_in</em>, </td> 2476 </tr> 2477 <tr> 2478 <td></td> 2479 <td></td> 2480 <td class="md" nowrap>char * </td> 2481 <td class="mdname" nowrap> <em>str_buf_out</em>, </td> 2482 </tr> 2483 <tr> 2484 <td></td> 2485 <td></td> 2486 <td class="md" nowrap>uint32 </td> 2487 <td class="mdname" nowrap> <em>max_out_buf_bytes</em>, </td> 2488 </tr> 2489 <tr> 2490 <td></td> 2491 <td></td> 2492 <td class="md" nowrap>uint32 </td> 2493 <td class="mdname" nowrap> <em>max_bytes</em> = 0, </td> 2494 </tr> 2495 <tr> 2496 <td></td> 2497 <td></td> 2498 <td class="md" nowrap>uint32 * </td> 2499 <td class="mdname" nowrap> <em>num_bytes_written</em> = NULL</td> 2500 </tr> 2501 <tr> 2502 <td></td> 2503 <td class="md">) </td> 2504 <td class="md" colspan="2"></td> 2505 </tr> 2506 2507 </table> 2508 </td> 2509 </tr> 2510 </table> 2511 <table cellspacing=5 cellpadding=0 border=0> 2512 <tr> 2513 <td> 2514 2515 </td> 2516 <td> 2517 2518 <p> 2519 Escape any of the following special characters in the string Special ASCII characters: &, <, >, ', ". 2520 <p> 2521 The function scans the string and replaces each special character with its corresponding escape sequence. It stops at the first NULL character, the max_byte value.<dl compact><dt><b>Parameters: </b></dt><dd> 2522 <table border=0 cellspacing=2 cellpadding=0> 2523 <tr><td valign=top><em>str_buf_in</em> </td><td> 2524 Ptr to an input string </td></tr> 2525 <tr><td valign=top><em>str_buf_out</em> </td><td> 2526 Ptr to an output buffer which stores the modified string </td></tr> 2527 <tr><td valign=top><em>max_out_buf_bytes</em> </td><td> 2528 The size of str_buf_out. </td></tr> 2529 <tr><td valign=top><em>max_bytes</em> </td><td> 2530 The maximum number of bytes to read (a zero value means read to the first NULL character). It is the length of str_buf_in. </td></tr> 2531 <tr><td valign=top><em>num_bytes_written</em> </td><td> 2532 Number of bytes written in the output buffer, str_buf_out </td></tr> 2533 </table> 2534 </dl><dl compact><dt><b>Returns: </b></dt><dd> 2535 It returns the number of bytes in the str_buf_outring if succeeded. It returns negative number if failed, and its absolute value indicates the total number bytes written to the output buffer, str_buf_out, if str_buf_out != null. </dl> </td> 2536 </tr> 2537 </table> 2538 <a name="a40" doxytag="oscl_string_utf8.h::oscl_str_is_valid_utf8"></a><p> 2539 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2540 <tr> 2541 <td class="md"> 2542 <table cellpadding="0" cellspacing="0" border="0"> 2543 <tr> 2544 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF bool oscl_str_is_valid_utf8 </td> 2545 <td class="md" valign="top">( </td> 2546 <td class="md" nowrap valign="top">const uint8 * </td> 2547 <td class="mdname" nowrap> <em>str_buf</em>, </td> 2548 </tr> 2549 <tr> 2550 <td></td> 2551 <td></td> 2552 <td class="md" nowrap>uint32 & </td> 2553 <td class="mdname" nowrap> <em>num_valid_characters</em>, </td> 2554 </tr> 2555 <tr> 2556 <td></td> 2557 <td></td> 2558 <td class="md" nowrap>uint32 </td> 2559 <td class="mdname" nowrap> <em>max_bytes</em> = 0, </td> 2560 </tr> 2561 <tr> 2562 <td></td> 2563 <td></td> 2564 <td class="md" nowrap>uint32 </td> 2565 <td class="mdname" nowrap> <em>max_char_2_valid</em> = 0, </td> 2566 </tr> 2567 <tr> 2568 <td></td> 2569 <td></td> 2570 <td class="md" nowrap>uint32 * </td> 2571 <td class="mdname" nowrap> <em>num_byte_4_char</em> = NULL</td> 2572 </tr> 2573 <tr> 2574 <td></td> 2575 <td class="md">) </td> 2576 <td class="md" colspan="2"></td> 2577 </tr> 2578 2579 </table> 2580 </td> 2581 </tr> 2582 </table> 2583 <table cellspacing=5 cellpadding=0 border=0> 2584 <tr> 2585 <td> 2586 2587 </td> 2588 <td> 2589 2590 <p> 2591 Check if the input string contains any illegal UTF-8 character. The function scans the string and validate that each character is a valid utf-8. It stops at the first NULL character, invalid character or the max_byte value. The string is valid if and only if every character is a valid utf-8 character and the scanning stopped on a character boundary. 2592 <p> 2593 <dl compact><dt><b>Parameters: </b></dt><dd> 2594 <table border=0 cellspacing=2 cellpadding=0> 2595 <tr><td valign=top><em>str_buf</em> </td><td> 2596 Ptr to an input string, which may not terminate with null, to be checked </td></tr> 2597 <tr><td valign=top><em>num_valid_chars</em> </td><td> 2598 This is an output parameter which is the number of valid utf-8 characters actually read. </td></tr> 2599 <tr><td valign=top><em>max_bytes</em> </td><td> 2600 The maximum number of bytes to read (a zero value means read to the first NULL character). </td></tr> 2601 <tr><td valign=top><em>max_char_2_valid</em> </td><td> 2602 This is an input parameter. Specify the number of utf-8 characters the caller wants to validate. </td></tr> 2603 <tr><td valign=top><em>num_byte_4_char</em> </td><td> 2604 This is an output parameter. The number of bytes used by the max_char characters </td></tr> 2605 </table> 2606 </dl><dl compact><dt><b>Returns: </b></dt><dd> 2607 True if the string is valid and false otherwise. </dl> </td> 2608 </tr> 2609 </table> 2610 <a name="a42" doxytag="oscl_string_xml.h::oscl_str_need_escape_xml"></a><p> 2611 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2612 <tr> 2613 <td class="md"> 2614 <table cellpadding="0" cellspacing="0" border="0"> 2615 <tr> 2616 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF bool oscl_str_need_escape_xml </td> 2617 <td class="md" valign="top">( </td> 2618 <td class="md" nowrap valign="top">const char * </td> 2619 <td class="mdname" nowrap> <em>str_buf</em>, </td> 2620 </tr> 2621 <tr> 2622 <td></td> 2623 <td></td> 2624 <td class="md" nowrap>uint32 & </td> 2625 <td class="mdname" nowrap> <em>num_escape_bytes</em>, </td> 2626 </tr> 2627 <tr> 2628 <td></td> 2629 <td></td> 2630 <td class="md" nowrap>uint32 </td> 2631 <td class="mdname" nowrap> <em>max_bytes</em> = 0</td> 2632 </tr> 2633 <tr> 2634 <td></td> 2635 <td class="md">) </td> 2636 <td class="md" colspan="2"></td> 2637 </tr> 2638 2639 </table> 2640 </td> 2641 </tr> 2642 </table> 2643 <table cellspacing=5 cellpadding=0 border=0> 2644 <tr> 2645 <td> 2646 2647 </td> 2648 <td> 2649 2650 <p> 2651 Check if the input string contains any special ASCII character like &, <, >, ', ". The function scans the string and check if each character is a special character. It stops at the first NULL character (if max_bytes = 0), or the max_byte value. 2652 <p> 2653 <dl compact><dt><b>Parameters: </b></dt><dd> 2654 <table border=0 cellspacing=2 cellpadding=0> 2655 <tr><td valign=top><em>str_buf</em> </td><td> 2656 Ptr to an input string, which may not terminate with null, to be checked </td></tr> 2657 <tr><td valign=top><em>num_escape_bytes</em> </td><td> 2658 This is an output parameter which is the number of bytes needed to hold the result string. Value 0 indicates that there is no special character found. If max_bytes = 0, the return value does not include the null character. </td></tr> 2659 <tr><td valign=top><em>max_bytes</em> </td><td> 2660 The maximum number of bytes to read (a zero value means read to the first NULL character). </td></tr> 2661 </table> 2662 </dl><dl compact><dt><b>Returns: </b></dt><dd> 2663 True if the function succeeds, and num_escape_bytes = 0 means that no special character is found, num_escape_bytes >0 means the number of bytes of the result string. False if there is any error occurred. </dl> </td> 2664 </tr> 2665 </table> 2666 <a name="a41" doxytag="oscl_string_utf8.h::oscl_str_truncate_utf8"></a><p> 2667 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2668 <tr> 2669 <td class="md"> 2670 <table cellpadding="0" cellspacing="0" border="0"> 2671 <tr> 2672 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 oscl_str_truncate_utf8 </td> 2673 <td class="md" valign="top">( </td> 2674 <td class="md" nowrap valign="top">uint8 * </td> 2675 <td class="mdname" nowrap> <em>str_buf</em>, </td> 2676 </tr> 2677 <tr> 2678 <td></td> 2679 <td></td> 2680 <td class="md" nowrap>uint32 </td> 2681 <td class="mdname" nowrap> <em>max_char</em>, </td> 2682 </tr> 2683 <tr> 2684 <td></td> 2685 <td></td> 2686 <td class="md" nowrap>uint32 </td> 2687 <td class="mdname" nowrap> <em>max_bytes</em> = 0</td> 2688 </tr> 2689 <tr> 2690 <td></td> 2691 <td class="md">) </td> 2692 <td class="md" colspan="2"></td> 2693 </tr> 2694 2695 </table> 2696 </td> 2697 </tr> 2698 </table> 2699 <table cellspacing=5 cellpadding=0 border=0> 2700 <tr> 2701 <td> 2702 2703 </td> 2704 <td> 2705 2706 <p> 2707 Truncates the UTF-8 string upto the required size. 2708 <p> 2709 The function will modify the str_buf so that it contains AT MOST len valid utf-8 characters. If a NULL character is found before reading len utf-8 characters, then the function does not modify the string and simply returns the number of characters. If an invalid character is found, then it will insert a NULL character after the last valid character and return the length. Otherwise, it will insert a NULL character after len valid utf-8 characters and return the length. <dl compact><dt><b>Parameters: </b></dt><dd> 2710 <table border=0 cellspacing=2 cellpadding=0> 2711 <tr><td valign=top><em>str_buf</em> </td><td> 2712 Ptr to an input string which may not terminate with null </td></tr> 2713 <tr><td valign=top><em>max_char</em> </td><td> 2714 The max number of the UTF-8 CHARACTERS </td></tr> 2715 <tr><td valign=top><em>max_bytes</em> </td><td> 2716 The maximum number of bytes to read (a zero value means read to the first NULL character). </td></tr> 2717 </table> 2718 </dl><dl compact><dt><b>Returns: </b></dt><dd> 2719 It returns the length of the truncated string in utf-8 characters. </dl> </td> 2720 </tr> 2721 </table> 2722 <a name="a39" doxytag="oscl_string_uri.h::oscl_str_unescape_uri"></a><p> 2723 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2724 <tr> 2725 <td class="md"> 2726 <table cellpadding="0" cellspacing="0" border="0"> 2727 <tr> 2728 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF bool oscl_str_unescape_uri </td> 2729 <td class="md" valign="top">( </td> 2730 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> 2731 <td class="mdname" nowrap> <em>oscl_str_in</em>, </td> 2732 </tr> 2733 <tr> 2734 <td></td> 2735 <td></td> 2736 <td class="md" nowrap><a class="el" href="classOSCL__String.html">OSCL_String</a> & </td> 2737 <td class="mdname" nowrap> <em>oscl_str_out</em>, </td> 2738 </tr> 2739 <tr> 2740 <td></td> 2741 <td></td> 2742 <td class="md" nowrap>uint32 & </td> 2743 <td class="mdname" nowrap> <em>out_buf_len</em></td> 2744 </tr> 2745 <tr> 2746 <td></td> 2747 <td class="md">) </td> 2748 <td class="md" colspan="2"></td> 2749 </tr> 2750 2751 </table> 2752 </td> 2753 </tr> 2754 </table> 2755 <table cellspacing=5 cellpadding=0 border=0> 2756 <tr> 2757 <td> 2758 2759 </td> 2760 <td> 2761 2762 <p> 2763 unescape any of the special escape sequence in the uri string 2764 <p> 2765 The function scans the string and replaces each escape sequence with its corresponding character. It stops at the first null character, or the max_byte value. It returns false if the string contains any illegal escape sequence or the output buffer is not big enough. The out_buf_len value indicates the needed buffer length or the index of the byte that causes the error respectively.<dl compact><dt><b>Parameters: </b></dt><dd> 2766 <table border=0 cellspacing=2 cellpadding=0> 2767 <tr><td valign=top><em>oscl_str_in</em> </td><td> 2768 Ptr to an input <a class="el" href="classOSCL__String.html">OSCL_String</a> </td></tr> 2769 <tr><td valign=top><em>oscl_str_out</em> </td><td> 2770 Ptr to an output <a class="el" href="classOSCL__String.html">OSCL_String</a> which stores the modified string </td></tr> 2771 <tr><td valign=top><em>out_buf_len</em> </td><td> 2772 The length of the result string (not including the null character) </td></tr> 2773 </table> 2774 </dl><dl compact><dt><b>Returns: </b></dt><dd> 2775 It returns true if succeeds, otherwise false. </dl> </td> 2776 </tr> 2777 </table> 2778 <a name="a38" doxytag="oscl_string_uri.h::oscl_str_unescape_uri"></a><p> 2779 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2780 <tr> 2781 <td class="md"> 2782 <table cellpadding="0" cellspacing="0" border="0"> 2783 <tr> 2784 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF bool oscl_str_unescape_uri </td> 2785 <td class="md" valign="top">( </td> 2786 <td class="md" nowrap valign="top">const char * </td> 2787 <td class="mdname" nowrap> <em>str_buf_in</em>, </td> 2788 </tr> 2789 <tr> 2790 <td></td> 2791 <td></td> 2792 <td class="md" nowrap>char * </td> 2793 <td class="mdname" nowrap> <em>str_buf_out</em>, </td> 2794 </tr> 2795 <tr> 2796 <td></td> 2797 <td></td> 2798 <td class="md" nowrap>uint32 </td> 2799 <td class="mdname" nowrap> <em>max_out_buf_bytes</em>, </td> 2800 </tr> 2801 <tr> 2802 <td></td> 2803 <td></td> 2804 <td class="md" nowrap>uint32 </td> 2805 <td class="mdname" nowrap> <em>max_bytes</em>, </td> 2806 </tr> 2807 <tr> 2808 <td></td> 2809 <td></td> 2810 <td class="md" nowrap>uint32 & </td> 2811 <td class="mdname" nowrap> <em>out_buf_len</em></td> 2812 </tr> 2813 <tr> 2814 <td></td> 2815 <td class="md">) </td> 2816 <td class="md" colspan="2"></td> 2817 </tr> 2818 2819 </table> 2820 </td> 2821 </tr> 2822 </table> 2823 <table cellspacing=5 cellpadding=0 border=0> 2824 <tr> 2825 <td> 2826 2827 </td> 2828 <td> 2829 2830 <p> 2831 unescape any of the special escape sequence in the uri string 2832 <p> 2833 The function scans the string and replaces each escape sequence with its corresponding character. It stops at the first null character, or the max_byte value. It returns false if the string contains any illegal escape sequence or the output buffer is not big enough. The out_buf_len value indicates the needed buffer length or the index of the byte that causes the error respectively.<dl compact><dt><b>Parameters: </b></dt><dd> 2834 <table border=0 cellspacing=2 cellpadding=0> 2835 <tr><td valign=top><em>str_buf_in</em> </td><td> 2836 Ptr to an input string </td></tr> 2837 <tr><td valign=top><em>str_buf_out</em> </td><td> 2838 Ptr to an output buffer which stores the modified string </td></tr> 2839 <tr><td valign=top><em>max_out_buf_bytes</em> </td><td> 2840 The size of str_buf_out. </td></tr> 2841 <tr><td valign=top><em>max_bytes</em> </td><td> 2842 The maximum number of bytes to read. It is the length of str_buf_in. </td></tr> 2843 <tr><td valign=top><em>out_buf_len</em> </td><td> 2844 The length of the result string (not including the null character) </td></tr> 2845 </table> 2846 </dl><dl compact><dt><b>Returns: </b></dt><dd> 2847 It returns true if succeeds, otherwise false. </dl> </td> 2848 </tr> 2849 </table> 2850 <a name="a30" doxytag="oscl_math.h::oscl_tan"></a><p> 2851 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2852 <tr> 2853 <td class="md"> 2854 <table cellpadding="0" cellspacing="0" border="0"> 2855 <tr> 2856 <td class="md" nowrap valign="top"> OSCL_COND_IMPORT_REF double oscl_tan </td> 2857 <td class="md" valign="top">( </td> 2858 <td class="md" nowrap valign="top">double </td> 2859 <td class="mdname1" valign="top" nowrap> <em>value</em> </td> 2860 <td class="md" valign="top">) </td> 2861 <td class="md" nowrap></td> 2862 </tr> 2863 2864 </table> 2865 </td> 2866 </tr> 2867 </table> 2868 <table cellspacing=5 cellpadding=0 border=0> 2869 <tr> 2870 <td> 2871 2872 </td> 2873 <td> 2874 2875 <p> 2876 Calculates the tangential of a number<dl compact><dt><b>Parameters: </b></dt><dd> 2877 <table border=0 cellspacing=2 cellpadding=0> 2878 <tr><td valign=top><em>value</em> </td><td> 2879 source value </td></tr> 2880 </table> 2881 </dl> </td> 2882 </tr> 2883 </table> 2884 <a name="a45" doxytag="oscl_utf8conv.h::oscl_UnicodeToUTF8"></a><p> 2885 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2886 <tr> 2887 <td class="md"> 2888 <table cellpadding="0" cellspacing="0" border="0"> 2889 <tr> 2890 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 oscl_UnicodeToUTF8 </td> 2891 <td class="md" valign="top">( </td> 2892 <td class="md" nowrap valign="top">const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> 2893 <td class="mdname" nowrap> <em>input</em>, </td> 2894 </tr> 2895 <tr> 2896 <td></td> 2897 <td></td> 2898 <td class="md" nowrap>int32 </td> 2899 <td class="mdname" nowrap> <em>inLength</em>, </td> 2900 </tr> 2901 <tr> 2902 <td></td> 2903 <td></td> 2904 <td class="md" nowrap>char * </td> 2905 <td class="mdname" nowrap> <em>output</em>, </td> 2906 </tr> 2907 <tr> 2908 <td></td> 2909 <td></td> 2910 <td class="md" nowrap>int32 </td> 2911 <td class="mdname" nowrap> <em>outLength</em></td> 2912 </tr> 2913 <tr> 2914 <td></td> 2915 <td class="md">) </td> 2916 <td class="md" colspan="2"></td> 2917 </tr> 2918 2919 </table> 2920 </td> 2921 </tr> 2922 </table> 2923 <table cellspacing=5 cellpadding=0 border=0> 2924 <tr> 2925 <td> 2926 2927 </td> 2928 <td> 2929 2930 <p> 2931 Convert Unicode string to UTF8 byte sequence. 2932 <p> 2933 The function converts Unicode string to UTF8 byte sequence. The length of input Unicode string is specified. It stops at two conditions: (A) Whole input Unicode string is successfully converted. (B) Destination buferr is not enough for output. In case of (A), it adds a terminated '\0' at the end of the output UTF8 byte sequence. and returns length of the output UTF8 byte sequence(without counting terminated '\0'). In case of (B), it converts as much as possible to the output buffer and adds a terminated '\0' at the end of the output UTF8 byte sequence"(no '\0' added if outLength is less than or equal to 0, return 0)", and returns 0.<dl compact><dt><b>Parameters: </b></dt><dd> 2934 <table border=0 cellspacing=2 cellpadding=0> 2935 <tr><td valign=top><em>input</em> </td><td> 2936 Ptr to an input Unicode string. '\0' termanation is not neccesary. </td></tr> 2937 <tr><td valign=top><em>inLength</em> </td><td> 2938 The length of the input Unicode string, without counting terminated '\0'(if any). </td></tr> 2939 <tr><td valign=top><em>output</em> </td><td> 2940 Ptr to an output buffer which output UTF8 byte sequence is written in. </td></tr> 2941 <tr><td valign=top><em>outLength</em> </td><td> 2942 The size of output buffer, also the maximum number of char could be written in. </td></tr> 2943 </table> 2944 </dl><dl compact><dt><b>Returns: </b></dt><dd> 2945 length of output (excludes '\0') : completely converts all input string and appends '\0' to output; 0 : insufficient buffer or error in conversion </dl> </td> 2946 </tr> 2947 </table> 2948 <a name="a44" doxytag="oscl_utf8conv.h::oscl_UTF8ToUnicode"></a><p> 2949 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 2950 <tr> 2951 <td class="md"> 2952 <table cellpadding="0" cellspacing="0" border="0"> 2953 <tr> 2954 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 oscl_UTF8ToUnicode </td> 2955 <td class="md" valign="top">( </td> 2956 <td class="md" nowrap valign="top">const char * </td> 2957 <td class="mdname" nowrap> <em>input</em>, </td> 2958 </tr> 2959 <tr> 2960 <td></td> 2961 <td></td> 2962 <td class="md" nowrap>int32 </td> 2963 <td class="mdname" nowrap> <em>inLength</em>, </td> 2964 </tr> 2965 <tr> 2966 <td></td> 2967 <td></td> 2968 <td class="md" nowrap><a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> 2969 <td class="mdname" nowrap> <em>output</em>, </td> 2970 </tr> 2971 <tr> 2972 <td></td> 2973 <td></td> 2974 <td class="md" nowrap>int32 </td> 2975 <td class="mdname" nowrap> <em>outLength</em></td> 2976 </tr> 2977 <tr> 2978 <td></td> 2979 <td class="md">) </td> 2980 <td class="md" colspan="2"></td> 2981 </tr> 2982 2983 </table> 2984 </td> 2985 </tr> 2986 </table> 2987 <table cellspacing=5 cellpadding=0 border=0> 2988 <tr> 2989 <td> 2990 2991 </td> 2992 <td> 2993 2994 <p> 2995 Convert UTF8 byte sequence to Unicode string. 2996 <p> 2997 The function converts UTF8 byte sequence (or ASCII sequence) to Unicode string. The length of input UTF8 byte sequence is specified. It stops at two conditions: (A) Whole input UTF8 byte sequence is successfully converted. (B) Output buferr is not enough for output, or parse error. In case of (A), it adds a terminated '\0' at the end of the output Unicode string, and returns length of the output Unicode string(without counting terminated '\0'). In case of (B), it converts as much as possible to the output buffer and adds a terminated '\0' at the end of the output Unicode string"(no '\0' added if outLength is less than or equal to 0, return 0)", and returns 0.<dl compact><dt><b>Parameters: </b></dt><dd> 2998 <table border=0 cellspacing=2 cellpadding=0> 2999 <tr><td valign=top><em>input</em> </td><td> 3000 Ptr to an input UTF8 byte sequence. '\0' termanation is not neccesary. </td></tr> 3001 <tr><td valign=top><em>inLength</em> </td><td> 3002 The length of the input UTF8 byte sequence, without counting terminated '\0'(if any). </td></tr> 3003 <tr><td valign=top><em>output</em> </td><td> 3004 Ptr to an output buffer which output Unicode string is written in. </td></tr> 3005 <tr><td valign=top><em>outLength</em> </td><td> 3006 The size of output buffer, also the maximum number of oscl_wchar could be written in. </td></tr> 3007 </table> 3008 </dl><dl compact><dt><b>Returns: </b></dt><dd> 3009 Length of output (excludes '\0') : completely converts all input string and appends '\0' to output; 0 : insufficient buffer or error in conversion </dl> </td> 3010 </tr> 3011 </table> 3012 <a name="a37" doxytag="oscl_snprintf.h::oscl_vsnprintf"></a><p> 3013 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3014 <tr> 3015 <td class="md"> 3016 <table cellpadding="0" cellspacing="0" border="0"> 3017 <tr> 3018 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 oscl_vsnprintf </td> 3019 <td class="md" valign="top">( </td> 3020 <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> 3021 <td class="mdname" nowrap> <em>str</em>, </td> 3022 </tr> 3023 <tr> 3024 <td></td> 3025 <td></td> 3026 <td class="md" nowrap>uint32 </td> 3027 <td class="mdname" nowrap> <em>count</em>, </td> 3028 </tr> 3029 <tr> 3030 <td></td> 3031 <td></td> 3032 <td class="md" nowrap>const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> 3033 <td class="mdname" nowrap> <em>fmt</em>, </td> 3034 </tr> 3035 <tr> 3036 <td></td> 3037 <td></td> 3038 <td class="md" nowrap>va_list </td> 3039 <td class="mdname" nowrap> <em>args</em></td> 3040 </tr> 3041 <tr> 3042 <td></td> 3043 <td class="md">) </td> 3044 <td class="md" colspan="2"></td> 3045 </tr> 3046 3047 </table> 3048 </td> 3049 </tr> 3050 </table> 3051 <table cellspacing=5 cellpadding=0 border=0> 3052 <tr> 3053 <td> 3054 3055 </td> 3056 <td> 3057 3058 <p> 3059 </td> 3060 </tr> 3061 </table> 3062 <a name="a36" doxytag="oscl_snprintf.h::oscl_vsnprintf"></a><p> 3063 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3064 <tr> 3065 <td class="md"> 3066 <table cellpadding="0" cellspacing="0" border="0"> 3067 <tr> 3068 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 oscl_vsnprintf </td> 3069 <td class="md" valign="top">( </td> 3070 <td class="md" nowrap valign="top">char * </td> 3071 <td class="mdname" nowrap> <em>str</em>, </td> 3072 </tr> 3073 <tr> 3074 <td></td> 3075 <td></td> 3076 <td class="md" nowrap>uint32 </td> 3077 <td class="mdname" nowrap> <em>count</em>, </td> 3078 </tr> 3079 <tr> 3080 <td></td> 3081 <td></td> 3082 <td class="md" nowrap>const char * </td> 3083 <td class="mdname" nowrap> <em>fmt</em>, </td> 3084 </tr> 3085 <tr> 3086 <td></td> 3087 <td></td> 3088 <td class="md" nowrap>va_list </td> 3089 <td class="mdname" nowrap> <em>args</em></td> 3090 </tr> 3091 <tr> 3092 <td></td> 3093 <td class="md">) </td> 3094 <td class="md" colspan="2"></td> 3095 </tr> 3096 3097 </table> 3098 </td> 3099 </tr> 3100 </table> 3101 <table cellspacing=5 cellpadding=0 border=0> 3102 <tr> 3103 <td> 3104 3105 </td> 3106 <td> 3107 3108 <p> 3109 </td> 3110 </tr> 3111 </table> 3112 <a name="a85" doxytag="OSCL_wHeapString::OSCL_wHeapString"></a><p> 3113 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3114 <tr> 3115 <td class="md"> 3116 <table cellpadding="0" cellspacing="0" border="0"> 3117 <tr> 3118 <td class="md" colspan="4"> 3119 template<class Alloc> </td> 3120 </tr> 3121 <tr> 3122 <td class="md" nowrap valign="top"> OSCL_wHeapString< Alloc >::OSCL_wHeapString </td> 3123 <td class="md" valign="top">( </td> 3124 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wString.html">OSCL_wString</a> & </td> 3125 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 3126 <td class="md" valign="top">) </td> 3127 <td class="md" nowrap><code> [inherited]</code></td> 3128 </tr> 3129 3130 </table> 3131 </td> 3132 </tr> 3133 </table> 3134 <table cellspacing=5 cellpadding=0 border=0> 3135 <tr> 3136 <td> 3137 3138 </td> 3139 <td> 3140 3141 <p> 3142 </td> 3143 </tr> 3144 </table> 3145 <a name="a83" doxytag="OSCL_wHeapString::OSCL_wHeapString"></a><p> 3146 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3147 <tr> 3148 <td class="md"> 3149 <table cellpadding="0" cellspacing="0" border="0"> 3150 <tr> 3151 <td class="md" colspan="4"> 3152 template<class Alloc> </td> 3153 </tr> 3154 <tr> 3155 <td class="md" nowrap valign="top"> OSCL_wHeapString< Alloc >::OSCL_wHeapString </td> 3156 <td class="md" valign="top">( </td> 3157 <td class="md" nowrap valign="top">const OSCL_wHeapString< Alloc > & </td> 3158 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 3159 <td class="md" valign="top">) </td> 3160 <td class="md" nowrap><code> [inherited]</code></td> 3161 </tr> 3162 3163 </table> 3164 </td> 3165 </tr> 3166 </table> 3167 <table cellspacing=5 cellpadding=0 border=0> 3168 <tr> 3169 <td> 3170 3171 </td> 3172 <td> 3173 3174 <p> 3175 </td> 3176 </tr> 3177 </table> 3178 <a name="a81" doxytag="OSCL_wHeapString::OSCL_wHeapString"></a><p> 3179 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3180 <tr> 3181 <td class="md"> 3182 <table cellpadding="0" cellspacing="0" border="0"> 3183 <tr> 3184 <td class="md" colspan="4"> 3185 template<class Alloc> </td> 3186 </tr> 3187 <tr> 3188 <td class="md" nowrap valign="top"> OSCL_wHeapString< Alloc >::OSCL_wHeapString </td> 3189 <td class="md" valign="top">( </td> 3190 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wHeapString.html#s0">chartype</a> * </td> 3191 <td class="mdname" nowrap> <em>buf</em>, </td> 3192 </tr> 3193 <tr> 3194 <td></td> 3195 <td></td> 3196 <td class="md" nowrap>uint32 </td> 3197 <td class="mdname" nowrap> <em>length</em></td> 3198 </tr> 3199 <tr> 3200 <td></td> 3201 <td class="md">) </td> 3202 <td class="md" colspan="2"><code> [inherited]</code></td> 3203 </tr> 3204 3205 </table> 3206 </td> 3207 </tr> 3208 </table> 3209 <table cellspacing=5 cellpadding=0 border=0> 3210 <tr> 3211 <td> 3212 3213 </td> 3214 <td> 3215 3216 <p> 3217 </td> 3218 </tr> 3219 </table> 3220 <a name="a77" doxytag="OSCL_wHeapString::OSCL_wHeapString"></a><p> 3221 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3222 <tr> 3223 <td class="md"> 3224 <table cellpadding="0" cellspacing="0" border="0"> 3225 <tr> 3226 <td class="md" colspan="4"> 3227 template<class Alloc> </td> 3228 </tr> 3229 <tr> 3230 <td class="md" nowrap valign="top"> OSCL_wHeapString< Alloc >::OSCL_wHeapString </td> 3231 <td class="md" valign="top">( </td> 3232 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wHeapString.html#s0">chartype</a> * </td> 3233 <td class="mdname1" valign="top" nowrap> <em>cstr</em> </td> 3234 <td class="md" valign="top">) </td> 3235 <td class="md" nowrap><code> [inherited]</code></td> 3236 </tr> 3237 3238 </table> 3239 </td> 3240 </tr> 3241 </table> 3242 <table cellspacing=5 cellpadding=0 border=0> 3243 <tr> 3244 <td> 3245 3246 </td> 3247 <td> 3248 3249 <p> 3250 </td> 3251 </tr> 3252 </table> 3253 <a name="a75" doxytag="OSCL_wHeapString::OSCL_wHeapString"></a><p> 3254 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3255 <tr> 3256 <td class="md"> 3257 <table cellpadding="0" cellspacing="0" border="0"> 3258 <tr> 3259 <td class="md" colspan="4"> 3260 template<class Alloc> </td> 3261 </tr> 3262 <tr> 3263 <td class="md" nowrap valign="top"> OSCL_wHeapString< Alloc >::OSCL_wHeapString </td> 3264 <td class="md" valign="top">( </td> 3265 <td class="mdname1" valign="top" nowrap> </td> 3266 <td class="md" valign="top">) </td> 3267 <td class="md" nowrap><code> [inherited]</code></td> 3268 </tr> 3269 3270 </table> 3271 </td> 3272 </tr> 3273 </table> 3274 <table cellspacing=5 cellpadding=0 border=0> 3275 <tr> 3276 <td> 3277 3278 </td> 3279 <td> 3280 3281 <p> 3282 </td> 3283 </tr> 3284 </table> 3285 <a name="a125" doxytag="OSCL_wStackString::OSCL_wStackString"></a><p> 3286 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3287 <tr> 3288 <td class="md"> 3289 <table cellpadding="0" cellspacing="0" border="0"> 3290 <tr> 3291 <td class="md" colspan="4"> 3292 template<uint32 MaxBufSize> </td> 3293 </tr> 3294 <tr> 3295 <td class="md" nowrap valign="top"> OSCL_wStackString< MaxBufSize >::OSCL_wStackString </td> 3296 <td class="md" valign="top">( </td> 3297 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wString.html">OSCL_wString</a> & </td> 3298 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 3299 <td class="md" valign="top">) </td> 3300 <td class="md" nowrap><code> [inherited]</code></td> 3301 </tr> 3302 3303 </table> 3304 </td> 3305 </tr> 3306 </table> 3307 <table cellspacing=5 cellpadding=0 border=0> 3308 <tr> 3309 <td> 3310 3311 </td> 3312 <td> 3313 3314 <p> 3315 </td> 3316 </tr> 3317 </table> 3318 <a name="a123" doxytag="OSCL_wStackString::OSCL_wStackString"></a><p> 3319 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3320 <tr> 3321 <td class="md"> 3322 <table cellpadding="0" cellspacing="0" border="0"> 3323 <tr> 3324 <td class="md" colspan="4"> 3325 template<uint32 MaxBufSize> </td> 3326 </tr> 3327 <tr> 3328 <td class="md" nowrap valign="top"> OSCL_wStackString< MaxBufSize >::OSCL_wStackString </td> 3329 <td class="md" valign="top">( </td> 3330 <td class="md" nowrap valign="top">const OSCL_wStackString< MaxBufSize > & </td> 3331 <td class="mdname1" valign="top" nowrap> <em>src</em> </td> 3332 <td class="md" valign="top">) </td> 3333 <td class="md" nowrap><code> [inherited]</code></td> 3334 </tr> 3335 3336 </table> 3337 </td> 3338 </tr> 3339 </table> 3340 <table cellspacing=5 cellpadding=0 border=0> 3341 <tr> 3342 <td> 3343 3344 </td> 3345 <td> 3346 3347 <p> 3348 </td> 3349 </tr> 3350 </table> 3351 <a name="a121" doxytag="OSCL_wStackString::OSCL_wStackString"></a><p> 3352 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3353 <tr> 3354 <td class="md"> 3355 <table cellpadding="0" cellspacing="0" border="0"> 3356 <tr> 3357 <td class="md" colspan="4"> 3358 template<uint32 MaxBufSize> </td> 3359 </tr> 3360 <tr> 3361 <td class="md" nowrap valign="top"> OSCL_wStackString< MaxBufSize >::OSCL_wStackString </td> 3362 <td class="md" valign="top">( </td> 3363 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wStackString.html#s0">chartype</a> * </td> 3364 <td class="mdname" nowrap> <em>buf</em>, </td> 3365 </tr> 3366 <tr> 3367 <td></td> 3368 <td></td> 3369 <td class="md" nowrap>uint32 </td> 3370 <td class="mdname" nowrap> <em>length</em></td> 3371 </tr> 3372 <tr> 3373 <td></td> 3374 <td class="md">) </td> 3375 <td class="md" colspan="2"><code> [inherited]</code></td> 3376 </tr> 3377 3378 </table> 3379 </td> 3380 </tr> 3381 </table> 3382 <table cellspacing=5 cellpadding=0 border=0> 3383 <tr> 3384 <td> 3385 3386 </td> 3387 <td> 3388 3389 <p> 3390 </td> 3391 </tr> 3392 </table> 3393 <a name="a117" doxytag="OSCL_wStackString::OSCL_wStackString"></a><p> 3394 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3395 <tr> 3396 <td class="md"> 3397 <table cellpadding="0" cellspacing="0" border="0"> 3398 <tr> 3399 <td class="md" colspan="4"> 3400 template<uint32 MaxBufSize> </td> 3401 </tr> 3402 <tr> 3403 <td class="md" nowrap valign="top"> OSCL_wStackString< MaxBufSize >::OSCL_wStackString </td> 3404 <td class="md" valign="top">( </td> 3405 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wStackString.html#s0">chartype</a> * </td> 3406 <td class="mdname1" valign="top" nowrap> <em>cstr</em> </td> 3407 <td class="md" valign="top">) </td> 3408 <td class="md" nowrap><code> [inherited]</code></td> 3409 </tr> 3410 3411 </table> 3412 </td> 3413 </tr> 3414 </table> 3415 <table cellspacing=5 cellpadding=0 border=0> 3416 <tr> 3417 <td> 3418 3419 </td> 3420 <td> 3421 3422 <p> 3423 </td> 3424 </tr> 3425 </table> 3426 <a name="a115" doxytag="OSCL_wStackString::OSCL_wStackString"></a><p> 3427 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3428 <tr> 3429 <td class="md"> 3430 <table cellpadding="0" cellspacing="0" border="0"> 3431 <tr> 3432 <td class="md" colspan="4"> 3433 template<uint32 MaxBufSize> </td> 3434 </tr> 3435 <tr> 3436 <td class="md" nowrap valign="top"> OSCL_wStackString< MaxBufSize >::OSCL_wStackString </td> 3437 <td class="md" valign="top">( </td> 3438 <td class="mdname1" valign="top" nowrap> </td> 3439 <td class="md" valign="top">) </td> 3440 <td class="md" nowrap><code> [inherited]</code></td> 3441 </tr> 3442 3443 </table> 3444 </td> 3445 </tr> 3446 </table> 3447 <table cellspacing=5 cellpadding=0 border=0> 3448 <tr> 3449 <td> 3450 3451 </td> 3452 <td> 3453 3454 <p> 3455 </td> 3456 </tr> 3457 </table> 3458 <a name="a21" doxytag="oscl_string_utils.h::PV_atof"></a><p> 3459 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3460 <tr> 3461 <td class="md"> 3462 <table cellpadding="0" cellspacing="0" border="0"> 3463 <tr> 3464 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF bool PV_atof </td> 3465 <td class="md" valign="top">( </td> 3466 <td class="md" nowrap valign="top">const char * </td> 3467 <td class="mdname" nowrap> <em>buf</em>, </td> 3468 </tr> 3469 <tr> 3470 <td></td> 3471 <td></td> 3472 <td class="md" nowrap>int </td> 3473 <td class="mdname" nowrap> <em>length</em>, </td> 3474 </tr> 3475 <tr> 3476 <td></td> 3477 <td></td> 3478 <td class="md" nowrap><a class="el" href="group__osclbase.html#a29">OsclFloat</a> & </td> 3479 <td class="mdname" nowrap> <em>value</em></td> 3480 </tr> 3481 <tr> 3482 <td></td> 3483 <td class="md">) </td> 3484 <td class="md" colspan="2"></td> 3485 </tr> 3486 3487 </table> 3488 </td> 3489 </tr> 3490 </table> 3491 <table cellspacing=5 cellpadding=0 border=0> 3492 <tr> 3493 <td> 3494 3495 </td> 3496 <td> 3497 3498 <p> 3499 </td> 3500 </tr> 3501 </table> 3502 <a name="a20" doxytag="oscl_string_utils.h::PV_atof"></a><p> 3503 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3504 <tr> 3505 <td class="md"> 3506 <table cellpadding="0" cellspacing="0" border="0"> 3507 <tr> 3508 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF bool PV_atof </td> 3509 <td class="md" valign="top">( </td> 3510 <td class="md" nowrap valign="top">const char * </td> 3511 <td class="mdname" nowrap> <em>buf</em>, </td> 3512 </tr> 3513 <tr> 3514 <td></td> 3515 <td></td> 3516 <td class="md" nowrap><a class="el" href="group__osclbase.html#a29">OsclFloat</a> & </td> 3517 <td class="mdname" nowrap> <em>value</em></td> 3518 </tr> 3519 <tr> 3520 <td></td> 3521 <td class="md">) </td> 3522 <td class="md" colspan="2"></td> 3523 </tr> 3524 3525 </table> 3526 </td> 3527 </tr> 3528 </table> 3529 <table cellspacing=5 cellpadding=0 border=0> 3530 <tr> 3531 <td> 3532 3533 </td> 3534 <td> 3535 3536 <p> 3537 </td> 3538 </tr> 3539 </table> 3540 <a name="a19" doxytag="oscl_string_utils.h::PV_atoi"></a><p> 3541 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3542 <tr> 3543 <td class="md"> 3544 <table cellpadding="0" cellspacing="0" border="0"> 3545 <tr> 3546 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF bool PV_atoi </td> 3547 <td class="md" valign="top">( </td> 3548 <td class="md" nowrap valign="top">const char * </td> 3549 <td class="mdname" nowrap> <em>buf</em>, </td> 3550 </tr> 3551 <tr> 3552 <td></td> 3553 <td></td> 3554 <td class="md" nowrap>const char </td> 3555 <td class="mdname" nowrap> <em>new_format</em>, </td> 3556 </tr> 3557 <tr> 3558 <td></td> 3559 <td></td> 3560 <td class="md" nowrap>int </td> 3561 <td class="mdname" nowrap> <em>length</em>, </td> 3562 </tr> 3563 <tr> 3564 <td></td> 3565 <td></td> 3566 <td class="md" nowrap><a class="el" href="group__osclbase.html#a31">uint64</a> & </td> 3567 <td class="mdname" nowrap> <em>value</em></td> 3568 </tr> 3569 <tr> 3570 <td></td> 3571 <td class="md">) </td> 3572 <td class="md" colspan="2"></td> 3573 </tr> 3574 3575 </table> 3576 </td> 3577 </tr> 3578 </table> 3579 <table cellspacing=5 cellpadding=0 border=0> 3580 <tr> 3581 <td> 3582 3583 </td> 3584 <td> 3585 3586 <p> 3587 </td> 3588 </tr> 3589 </table> 3590 <a name="a18" doxytag="oscl_string_utils.h::PV_atoi"></a><p> 3591 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3592 <tr> 3593 <td class="md"> 3594 <table cellpadding="0" cellspacing="0" border="0"> 3595 <tr> 3596 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF bool PV_atoi </td> 3597 <td class="md" valign="top">( </td> 3598 <td class="md" nowrap valign="top">const char * </td> 3599 <td class="mdname" nowrap> <em>buf</em>, </td> 3600 </tr> 3601 <tr> 3602 <td></td> 3603 <td></td> 3604 <td class="md" nowrap>const char </td> 3605 <td class="mdname" nowrap> <em>new_format</em>, </td> 3606 </tr> 3607 <tr> 3608 <td></td> 3609 <td></td> 3610 <td class="md" nowrap>int </td> 3611 <td class="mdname" nowrap> <em>length</em>, </td> 3612 </tr> 3613 <tr> 3614 <td></td> 3615 <td></td> 3616 <td class="md" nowrap>uint32 & </td> 3617 <td class="mdname" nowrap> <em>value</em></td> 3618 </tr> 3619 <tr> 3620 <td></td> 3621 <td class="md">) </td> 3622 <td class="md" colspan="2"></td> 3623 </tr> 3624 3625 </table> 3626 </td> 3627 </tr> 3628 </table> 3629 <table cellspacing=5 cellpadding=0 border=0> 3630 <tr> 3631 <td> 3632 3633 </td> 3634 <td> 3635 3636 <p> 3637 </td> 3638 </tr> 3639 </table> 3640 <a name="a17" doxytag="oscl_string_utils.h::PV_atoi"></a><p> 3641 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3642 <tr> 3643 <td class="md"> 3644 <table cellpadding="0" cellspacing="0" border="0"> 3645 <tr> 3646 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF bool PV_atoi </td> 3647 <td class="md" valign="top">( </td> 3648 <td class="md" nowrap valign="top">const char * </td> 3649 <td class="mdname" nowrap> <em>buf</em>, </td> 3650 </tr> 3651 <tr> 3652 <td></td> 3653 <td></td> 3654 <td class="md" nowrap>const char </td> 3655 <td class="mdname" nowrap> <em>new_format</em>, </td> 3656 </tr> 3657 <tr> 3658 <td></td> 3659 <td></td> 3660 <td class="md" nowrap>uint32 & </td> 3661 <td class="mdname" nowrap> <em>value</em></td> 3662 </tr> 3663 <tr> 3664 <td></td> 3665 <td class="md">) </td> 3666 <td class="md" colspan="2"></td> 3667 </tr> 3668 3669 </table> 3670 </td> 3671 </tr> 3672 </table> 3673 <table cellspacing=5 cellpadding=0 border=0> 3674 <tr> 3675 <td> 3676 3677 </td> 3678 <td> 3679 3680 <p> 3681 </td> 3682 </tr> 3683 </table> 3684 <a name="a119" doxytag="OSCL_wStackString::set"></a><p> 3685 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3686 <tr> 3687 <td class="md"> 3688 <table cellpadding="0" cellspacing="0" border="0"> 3689 <tr> 3690 <td class="md" colspan="4"> 3691 template<uint32 MaxBufSize> </td> 3692 </tr> 3693 <tr> 3694 <td class="md" nowrap valign="top"> void OSCL_wStackString< MaxBufSize >::set </td> 3695 <td class="md" valign="top">( </td> 3696 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wStackString.html#s0">chartype</a> * </td> 3697 <td class="mdname" nowrap> <em>buf</em>, </td> 3698 </tr> 3699 <tr> 3700 <td></td> 3701 <td></td> 3702 <td class="md" nowrap>uint32 </td> 3703 <td class="mdname" nowrap> <em>length</em></td> 3704 </tr> 3705 <tr> 3706 <td></td> 3707 <td class="md">) </td> 3708 <td class="md" colspan="2"><code> [inherited]</code></td> 3709 </tr> 3710 3711 </table> 3712 </td> 3713 </tr> 3714 </table> 3715 <table cellspacing=5 cellpadding=0 border=0> 3716 <tr> 3717 <td> 3718 3719 </td> 3720 <td> 3721 3722 <p> 3723 </td> 3724 </tr> 3725 </table> 3726 <a name="a118" doxytag="OSCL_StackString::set"></a><p> 3727 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3728 <tr> 3729 <td class="md"> 3730 <table cellpadding="0" cellspacing="0" border="0"> 3731 <tr> 3732 <td class="md" colspan="4"> 3733 template<uint32 MaxBufSize> </td> 3734 </tr> 3735 <tr> 3736 <td class="md" nowrap valign="top"> void OSCL_StackString< MaxBufSize >::set </td> 3737 <td class="md" valign="top">( </td> 3738 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__StackString.html#s0">chartype</a> * </td> 3739 <td class="mdname" nowrap> <em>buf</em>, </td> 3740 </tr> 3741 <tr> 3742 <td></td> 3743 <td></td> 3744 <td class="md" nowrap>uint32 </td> 3745 <td class="mdname" nowrap> <em>length</em></td> 3746 </tr> 3747 <tr> 3748 <td></td> 3749 <td class="md">) </td> 3750 <td class="md" colspan="2"><code> [inherited]</code></td> 3751 </tr> 3752 3753 </table> 3754 </td> 3755 </tr> 3756 </table> 3757 <table cellspacing=5 cellpadding=0 border=0> 3758 <tr> 3759 <td> 3760 3761 </td> 3762 <td> 3763 3764 <p> 3765 Set the contents of this string to a new string or character array. <dl compact><dt><b>Parameters: </b></dt><dd> 3766 <table border=0 cellspacing=2 cellpadding=0> 3767 <tr><td valign=top><em>buf:</em> </td><td> 3768 string or character array. </td></tr> 3769 <tr><td valign=top><em>length:</em> </td><td> 3770 number of characters to copy. </td></tr> 3771 </table> 3772 </dl> </td> 3773 </tr> 3774 </table> 3775 <a name="a79" doxytag="OSCL_wHeapString::set"></a><p> 3776 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3777 <tr> 3778 <td class="md"> 3779 <table cellpadding="0" cellspacing="0" border="0"> 3780 <tr> 3781 <td class="md" colspan="4"> 3782 template<class Alloc> </td> 3783 </tr> 3784 <tr> 3785 <td class="md" nowrap valign="top"> void OSCL_wHeapString< Alloc >::set </td> 3786 <td class="md" valign="top">( </td> 3787 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__wHeapString.html#s0">chartype</a> * </td> 3788 <td class="mdname" nowrap> <em>buf</em>, </td> 3789 </tr> 3790 <tr> 3791 <td></td> 3792 <td></td> 3793 <td class="md" nowrap>uint32 </td> 3794 <td class="mdname" nowrap> <em>length</em></td> 3795 </tr> 3796 <tr> 3797 <td></td> 3798 <td class="md">) </td> 3799 <td class="md" colspan="2"><code> [inherited]</code></td> 3800 </tr> 3801 3802 </table> 3803 </td> 3804 </tr> 3805 </table> 3806 <table cellspacing=5 cellpadding=0 border=0> 3807 <tr> 3808 <td> 3809 3810 </td> 3811 <td> 3812 3813 <p> 3814 </td> 3815 </tr> 3816 </table> 3817 <a name="a78" doxytag="OSCL_HeapString::set"></a><p> 3818 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3819 <tr> 3820 <td class="md"> 3821 <table cellpadding="0" cellspacing="0" border="0"> 3822 <tr> 3823 <td class="md" colspan="4"> 3824 template<class Alloc> </td> 3825 </tr> 3826 <tr> 3827 <td class="md" nowrap valign="top"> void OSCL_HeapString< Alloc >::set </td> 3828 <td class="md" valign="top">( </td> 3829 <td class="md" nowrap valign="top">const <a class="el" href="classOSCL__HeapString.html#s0">chartype</a> * </td> 3830 <td class="mdname" nowrap> <em>buf</em>, </td> 3831 </tr> 3832 <tr> 3833 <td></td> 3834 <td></td> 3835 <td class="md" nowrap>uint32 </td> 3836 <td class="mdname" nowrap> <em>length</em></td> 3837 </tr> 3838 <tr> 3839 <td></td> 3840 <td class="md">) </td> 3841 <td class="md" colspan="2"><code> [inherited]</code></td> 3842 </tr> 3843 3844 </table> 3845 </td> 3846 </tr> 3847 </table> 3848 <table cellspacing=5 cellpadding=0 border=0> 3849 <tr> 3850 <td> 3851 3852 </td> 3853 <td> 3854 3855 <p> 3856 Set the contents of this string to a new string or character array. <dl compact><dt><b>Parameters: </b></dt><dd> 3857 <table border=0 cellspacing=2 cellpadding=0> 3858 <tr><td valign=top><em>buf:</em> </td><td> 3859 string or character array. </td></tr> 3860 <tr><td valign=top><em>length:</em> </td><td> 3861 number of characters to copy. </td></tr> 3862 </table> 3863 </dl> </td> 3864 </tr> 3865 </table> 3866 <a name="a13" doxytag="oscl_string_utils.h::skip_to_line_term"></a><p> 3867 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3868 <tr> 3869 <td class="md"> 3870 <table cellpadding="0" cellspacing="0" border="0"> 3871 <tr> 3872 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF const char* skip_to_line_term </td> 3873 <td class="md" valign="top">( </td> 3874 <td class="md" nowrap valign="top">const char * </td> 3875 <td class="mdname" nowrap> <em>start_ptr</em>, </td> 3876 </tr> 3877 <tr> 3878 <td></td> 3879 <td></td> 3880 <td class="md" nowrap>const char * </td> 3881 <td class="mdname" nowrap> <em>end_ptr</em></td> 3882 </tr> 3883 <tr> 3884 <td></td> 3885 <td class="md">) </td> 3886 <td class="md" colspan="2"></td> 3887 </tr> 3888 3889 </table> 3890 </td> 3891 </tr> 3892 </table> 3893 <table cellspacing=5 cellpadding=0 border=0> 3894 <tr> 3895 <td> 3896 3897 </td> 3898 <td> 3899 3900 <p> 3901 </td> 3902 </tr> 3903 </table> 3904 <a name="a12" doxytag="oscl_string_utils.h::skip_to_whitespace"></a><p> 3905 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3906 <tr> 3907 <td class="md"> 3908 <table cellpadding="0" cellspacing="0" border="0"> 3909 <tr> 3910 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF const char* skip_to_whitespace </td> 3911 <td class="md" valign="top">( </td> 3912 <td class="md" nowrap valign="top">const char * </td> 3913 <td class="mdname" nowrap> <em>start</em>, </td> 3914 </tr> 3915 <tr> 3916 <td></td> 3917 <td></td> 3918 <td class="md" nowrap>const char * </td> 3919 <td class="mdname" nowrap> <em>end</em></td> 3920 </tr> 3921 <tr> 3922 <td></td> 3923 <td class="md">) </td> 3924 <td class="md" colspan="2"></td> 3925 </tr> 3926 3927 </table> 3928 </td> 3929 </tr> 3930 </table> 3931 <table cellspacing=5 cellpadding=0 border=0> 3932 <tr> 3933 <td> 3934 3935 </td> 3936 <td> 3937 3938 <p> 3939 </td> 3940 </tr> 3941 </table> 3942 <a name="a11" doxytag="oscl_string_utils.h::skip_whitespace"></a><p> 3943 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3944 <tr> 3945 <td class="md"> 3946 <table cellpadding="0" cellspacing="0" border="0"> 3947 <tr> 3948 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF const char* skip_whitespace </td> 3949 <td class="md" valign="top">( </td> 3950 <td class="md" nowrap valign="top">const char * </td> 3951 <td class="mdname" nowrap> <em>start</em>, </td> 3952 </tr> 3953 <tr> 3954 <td></td> 3955 <td></td> 3956 <td class="md" nowrap>const char * </td> 3957 <td class="mdname" nowrap> <em>end</em></td> 3958 </tr> 3959 <tr> 3960 <td></td> 3961 <td class="md">) </td> 3962 <td class="md" colspan="2"></td> 3963 </tr> 3964 3965 </table> 3966 </td> 3967 </tr> 3968 </table> 3969 <table cellspacing=5 cellpadding=0 border=0> 3970 <tr> 3971 <td> 3972 3973 </td> 3974 <td> 3975 3976 <p> 3977 </td> 3978 </tr> 3979 </table> 3980 <a name="a10" doxytag="oscl_string_utils.h::skip_whitespace"></a><p> 3981 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 3982 <tr> 3983 <td class="md"> 3984 <table cellpadding="0" cellspacing="0" border="0"> 3985 <tr> 3986 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF char* skip_whitespace </td> 3987 <td class="md" valign="top">( </td> 3988 <td class="md" nowrap valign="top">char * </td> 3989 <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td> 3990 <td class="md" valign="top">) </td> 3991 <td class="md" nowrap></td> 3992 </tr> 3993 3994 </table> 3995 </td> 3996 </tr> 3997 </table> 3998 <table cellspacing=5 cellpadding=0 border=0> 3999 <tr> 4000 <td> 4001 4002 </td> 4003 <td> 4004 4005 <p> 4006 </td> 4007 </tr> 4008 </table> 4009 <a name="a9" doxytag="oscl_string_utils.h::skip_whitespace"></a><p> 4010 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 4011 <tr> 4012 <td class="md"> 4013 <table cellpadding="0" cellspacing="0" border="0"> 4014 <tr> 4015 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF const char* skip_whitespace </td> 4016 <td class="md" valign="top">( </td> 4017 <td class="md" nowrap valign="top">const char * </td> 4018 <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td> 4019 <td class="md" valign="top">) </td> 4020 <td class="md" nowrap></td> 4021 </tr> 4022 4023 </table> 4024 </td> 4025 </tr> 4026 </table> 4027 <table cellspacing=5 cellpadding=0 border=0> 4028 <tr> 4029 <td> 4030 4031 </td> 4032 <td> 4033 4034 <p> 4035 </td> 4036 </tr> 4037 </table> 4038 <a name="a14" doxytag="oscl_string_utils.h::skip_whitespace_and_line_term"></a><p> 4039 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 4040 <tr> 4041 <td class="md"> 4042 <table cellpadding="0" cellspacing="0" border="0"> 4043 <tr> 4044 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF const char* skip_whitespace_and_line_term </td> 4045 <td class="md" valign="top">( </td> 4046 <td class="md" nowrap valign="top">const char * </td> 4047 <td class="mdname" nowrap> <em>start</em>, </td> 4048 </tr> 4049 <tr> 4050 <td></td> 4051 <td></td> 4052 <td class="md" nowrap>const char * </td> 4053 <td class="mdname" nowrap> <em>end</em></td> 4054 </tr> 4055 <tr> 4056 <td></td> 4057 <td class="md">) </td> 4058 <td class="md" colspan="2"></td> 4059 </tr> 4060 4061 </table> 4062 </td> 4063 </tr> 4064 </table> 4065 <table cellspacing=5 cellpadding=0 border=0> 4066 <tr> 4067 <td> 4068 4069 </td> 4070 <td> 4071 4072 <p> 4073 </td> 4074 </tr> 4075 </table> 4076 <a name="a86" doxytag="OSCL_HeapString::~OSCL_HeapString"></a><p> 4077 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 4078 <tr> 4079 <td class="md"> 4080 <table cellpadding="0" cellspacing="0" border="0"> 4081 <tr> 4082 <td class="md" colspan="4"> 4083 template<class Alloc> </td> 4084 </tr> 4085 <tr> 4086 <td class="md" nowrap valign="top"> OSCL_HeapString< Alloc >::~OSCL_HeapString </td> 4087 <td class="md" valign="top">( </td> 4088 <td class="mdname1" valign="top" nowrap> </td> 4089 <td class="md" valign="top">) </td> 4090 <td class="md" nowrap><code> [inherited]</code></td> 4091 </tr> 4092 4093 </table> 4094 </td> 4095 </tr> 4096 </table> 4097 <table cellspacing=5 cellpadding=0 border=0> 4098 <tr> 4099 <td> 4100 4101 </td> 4102 <td> 4103 4104 <p> 4105 </td> 4106 </tr> 4107 </table> 4108 <a name="a126" doxytag="OSCL_StackString::~OSCL_StackString"></a><p> 4109 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 4110 <tr> 4111 <td class="md"> 4112 <table cellpadding="0" cellspacing="0" border="0"> 4113 <tr> 4114 <td class="md" colspan="4"> 4115 template<uint32 MaxBufSize> </td> 4116 </tr> 4117 <tr> 4118 <td class="md" nowrap valign="top"> OSCL_StackString< MaxBufSize >::~OSCL_StackString </td> 4119 <td class="md" valign="top">( </td> 4120 <td class="mdname1" valign="top" nowrap> </td> 4121 <td class="md" valign="top">) </td> 4122 <td class="md" nowrap><code> [inherited]</code></td> 4123 </tr> 4124 4125 </table> 4126 </td> 4127 </tr> 4128 </table> 4129 <table cellspacing=5 cellpadding=0 border=0> 4130 <tr> 4131 <td> 4132 4133 </td> 4134 <td> 4135 4136 <p> 4137 </td> 4138 </tr> 4139 </table> 4140 <a name="a87" doxytag="OSCL_wHeapString::~OSCL_wHeapString"></a><p> 4141 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 4142 <tr> 4143 <td class="md"> 4144 <table cellpadding="0" cellspacing="0" border="0"> 4145 <tr> 4146 <td class="md" colspan="4"> 4147 template<class Alloc> </td> 4148 </tr> 4149 <tr> 4150 <td class="md" nowrap valign="top"> OSCL_wHeapString< Alloc >::~OSCL_wHeapString </td> 4151 <td class="md" valign="top">( </td> 4152 <td class="mdname1" valign="top" nowrap> </td> 4153 <td class="md" valign="top">) </td> 4154 <td class="md" nowrap><code> [inherited]</code></td> 4155 </tr> 4156 4157 </table> 4158 </td> 4159 </tr> 4160 </table> 4161 <table cellspacing=5 cellpadding=0 border=0> 4162 <tr> 4163 <td> 4164 4165 </td> 4166 <td> 4167 4168 <p> 4169 </td> 4170 </tr> 4171 </table> 4172 <a name="a127" doxytag="OSCL_wStackString::~OSCL_wStackString"></a><p> 4173 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 4174 <tr> 4175 <td class="md"> 4176 <table cellpadding="0" cellspacing="0" border="0"> 4177 <tr> 4178 <td class="md" colspan="4"> 4179 template<uint32 MaxBufSize> </td> 4180 </tr> 4181 <tr> 4182 <td class="md" nowrap valign="top"> OSCL_wStackString< MaxBufSize >::~OSCL_wStackString </td> 4183 <td class="md" valign="top">( </td> 4184 <td class="mdname1" valign="top" nowrap> </td> 4185 <td class="md" valign="top">) </td> 4186 <td class="md" nowrap><code> [inherited]</code></td> 4187 </tr> 4188 4189 </table> 4190 </td> 4191 </tr> 4192 </table> 4193 <table cellspacing=5 cellpadding=0 border=0> 4194 <tr> 4195 <td> 4196 4197 </td> 4198 <td> 4199 4200 <p> 4201 </td> 4202 </tr> 4203 </table> 4204 <hr><h2>Variable Documentation</h2> 4205 <a name="a3" doxytag="oscl_media_status.h::APPEND_MEDIA_AT_END"></a><p> 4206 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 4207 <tr> 4208 <td class="md"> 4209 <table cellpadding="0" cellspacing="0" border="0"> 4210 <tr> 4211 <td class="md" nowrap valign="top"> const int32 APPEND_MEDIA_AT_END = -1 4212 </table> 4213 </td> 4214 </tr> 4215 </table> 4216 <table cellspacing=5 cellpadding=0 border=0> 4217 <tr> 4218 <td> 4219 4220 </td> 4221 <td> 4222 4223 <p> 4224 </td> 4225 </tr> 4226 </table> 4227 <a name="a4" doxytag="oscl_str_ptr_len.h::OSCL_ASCII_CASE_MAGIC_BIT"></a><p> 4228 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 4229 <tr> 4230 <td class="md"> 4231 <table cellpadding="0" cellspacing="0" border="0"> 4232 <tr> 4233 <td class="md" nowrap valign="top"> const uint8 OSCL_ASCII_CASE_MAGIC_BIT = 0x20 4234 </table> 4235 </td> 4236 </tr> 4237 </table> 4238 <table cellspacing=5 cellpadding=0 border=0> 4239 <tr> 4240 <td> 4241 4242 </td> 4243 <td> 4244 4245 <p> 4246 </td> 4247 </tr> 4248 </table> 4249 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 4250 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 4251 </small></address> 4252 </body> 4253 </html> 4254