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_string_utils.h Source File</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_string_utils.h</h1><a href="oscl__string__utils_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span> 1000002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 1100003 1200004 <span class="comment">// O S C L _ S T R I N G _ U T I L S</span> 1300005 1400006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 1500007 1600018 <span class="preprocessor">#ifndef OSCL_STRING_UTILS_H_INCLUDED</span> 1700019 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_STRING_UTILS_H_INCLUDED</span> 1800020 <span class="preprocessor"></span> 1900021 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span> 2000022 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span> 2100023 <span class="preprocessor">#endif</span> 2200024 <span class="preprocessor"></span> 23<a name="l00025"></a><a class="code" href="group__osclutil.html#a46">00025</a> <span class="preprocessor">#define oscl_isdigit(c) ((c) >= '0' && (c) <= '9')</span> 2400026 <span class="preprocessor"></span> 2500027 OSCL_IMPORT_REF <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__osclutil.html#a11">skip_whitespace</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *ptr); 2600028 2700029 OSCL_IMPORT_REF <span class="keywordtype">char</span> * <a class="code" href="group__osclutil.html#a11">skip_whitespace</a>(<span class="keywordtype">char</span> * ptr); 2800030 2900031 OSCL_IMPORT_REF <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__osclutil.html#a11">skip_whitespace</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *start, <span class="keyword">const</span> <span class="keywordtype">char</span> *end); 3000032 3100033 OSCL_IMPORT_REF <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__osclutil.html#a12">skip_to_whitespace</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *start, <span class="keyword">const</span> <span class="keywordtype">char</span> *end); 3200034 3300035 OSCL_IMPORT_REF <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__osclutil.html#a13">skip_to_line_term</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *start_ptr, <span class="keyword">const</span> <span class="keywordtype">char</span> *end_ptr); 3400036 3500037 OSCL_IMPORT_REF <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__osclutil.html#a14">skip_whitespace_and_line_term</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *start, <span class="keyword">const</span> <span class="keywordtype">char</span> *end); 3600038 3700039 OSCL_IMPORT_REF <span class="keywordtype">int</span> <a class="code" href="group__osclutil.html#a16">extract_string</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * in_ptr, <span class="keywordtype">char</span> *outstring, <span class="keywordtype">int</span> maxsize); 3800040 3900041 OSCL_IMPORT_REF <span class="keywordtype">int</span> <a class="code" href="group__osclutil.html#a16">extract_string</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * start, <span class="keyword">const</span> <span class="keywordtype">char</span> *end, <span class="keywordtype">char</span> *outstring, <span class="keywordtype">int</span> maxsize); 4000042 4100043 OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#a19">PV_atoi</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *buf, <span class="keyword">const</span> <span class="keywordtype">char</span> new_format, uint32& value); 4200044 4300045 OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#a19">PV_atoi</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *buf, <span class="keyword">const</span> <span class="keywordtype">char</span> new_format, <span class="keywordtype">int</span> length, uint32& value); 4400046 OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#a19">PV_atoi</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *buf, <span class="keyword">const</span> <span class="keywordtype">char</span> new_format, <span class="keywordtype">int</span> length, <a class="code" href="group__osclbase.html#a31">uint64</a>& value); 4500047 OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#a21">PV_atof</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *buf, <a class="code" href="group__osclbase.html#a29">OsclFloat</a>& value); 4600048 OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#a21">PV_atof</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *buf, <span class="keywordtype">int</span> length, <a class="code" href="group__osclbase.html#a29">OsclFloat</a>& value); 4700049 OSCL_IMPORT_REF <span class="keywordtype">int</span> <a class="code" href="group__osclutil.html#a22">oscl_abs</a>(<span class="keywordtype">int</span> aVal); 4800050 <span class="preprocessor">#endif // OSCL_STRING_UTILS_H_INCLUDED</span> 4900051 <span class="preprocessor"></span> 50</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 51<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 52</small></address> 53</body> 54</html> 55