|
Files |
file | oscl_bin_stream.h |
| Defines a set of binary stream classes which handle portable input / output of binary data regardless of the native byte order.
|
file | oscl_math.h |
| Provides math functions.
|
file | oscl_media_data.h |
| Defines a container class for media data made up of a collection of memory fragments.
|
file | oscl_media_status.h |
| Defines a status values for the MediaData containers.
|
file | oscl_priqueue.h |
| Implements a priority queue data structure similar to STL.
|
file | oscl_rand.h |
| Provides pseudo-random number generation.
|
file | oscl_registry_access_client.h |
| Client-side implementation Registry Access implementation.
|
file | oscl_registry_client.h |
| Client-side implementation of OsclRegistry.
|
file | oscl_registry_client_impl.h |
| Client-side implementation of OsclRegistryInterface.
|
file | oscl_registry_serv_impl.h |
| Server-side implementation of OsclRegistry interfaces.
|
file | oscl_registry_types.h |
| Common types used in Oscl registry interfaces.
|
file | oscl_snprintf.h |
| Provides a portable implementation of snprintf.
|
file | oscl_str_ptr_len.h |
| Defines a data structure for string containment/manipulations where the storage for the string is maintained externally.
|
file | oscl_string.h |
| Provides a standardized set of string containers that can be used in place of character arrays.
|
file | oscl_string_containers.h |
| Provides a standardized set of string containers that can be used in place of character arrays.
|
file | oscl_string_rep.h |
| Contains some internal implementation for string containers.
|
file | oscl_string_uri.h |
| Utilities to unescape URIs.
|
file | oscl_string_utf8.h |
| Utilities to validate and truncate UTF-8 encoded strings.
|
file | oscl_string_utils.h |
| Utilities to parse and convert strings.
|
file | oscl_string_xml.h |
| Utilities to escape special characters in XML strings.
|
file | oscl_tickcount.h |
| Defines a data structure for string containment/manipulations where the storage for the string is maintained externally.
|
file | oscl_utf8conv.h |
| Utilities to convert unicode to utf8 and vice versa.
|
Data Structures |
class | BufferFragment |
class | BufferMgr |
class | BufferState |
class | BufFragGroup |
class | BufFragStatusClass |
class | CFastRep |
class | CHeapRep |
class | CStackRep |
class | MediaData |
class | MediaStatusClass |
class | MemAllocator |
class | OSCL_FastString |
class | OSCL_HeapString |
class | OSCL_HeapStringA |
class | OSCL_StackString |
class | OSCL_String |
class | OSCL_wFastString |
class | OSCL_wHeapString |
class | OSCL_wHeapStringA |
class | OSCL_wStackString |
class | OSCL_wString |
class | OsclBinIStream |
class | OsclBinIStreamBigEndian |
class | OsclBinIStreamLittleEndian |
class | OsclBinOStream |
| Class OsclBinOStream implements the basic stream functions for an output stream. More...
|
class | OsclBinOStreamBigEndian |
| Class OsclBinOStreamBigEndian implements a binary output stream using big endian byte ordering. More...
|
class | OsclBinOStreamLittleEndian |
| Class OsclBinOStreamLittleEndian implements a binary output stream using little endian byte ordering. More...
|
class | OsclBinStream |
class | OsclCompareLess |
class | OsclComponentRegistry |
class | OsclComponentRegistryData |
class | OsclComponentRegistryElement |
class | OsclPriorityQueue |
class | OsclPriorityQueueBase |
class | OsclRand |
class | OsclRegistryAccessClient |
class | OsclRegistryAccessClientImpl |
class | OsclRegistryAccessClientTlsImpl |
class | OsclRegistryAccessElement |
class | OsclRegistryClient |
class | OsclRegistryClientImpl |
class | OsclRegistryClientTlsImpl |
class | OsclRegistryServTlsImpl |
class | OsclTickCount |
struct | StrCSumPtrLen |
| same as StrPtrLen, but includes checksum field and method to speed up querying More...
|
struct | StrPtrLen |
| This data structure encapsulates a set of functions used to perform. More...
|
struct | WStrPtrLen |
| This data structure encapsulates a set of functions used to perform. More...
|
Defines |
#define | oscl_isdigit(c) ((c) >= '0' && (c) <= '9') |
#define | OSCLTICKCOUNT_MAX_TICKS 0xffffffff |
Typedefs |
typedef OsclAny * | OsclComponentFactory |
typedef void(* | BufferFreeFuncPtr )(void *) |
typedef uint32 | MediaTimestamp |
typedef StrPtrLen | StrPtrLen |
| This data structure encapsulates a set of functions used to perform.
|
typedef WStrPtrLen | WStrPtrLen |
| This data structure encapsulates a set of functions used to perform.
|
typedef StrCSumPtrLen | StrCSumPtrLen |
| same as StrPtrLen, but includes checksum field and method to speed up querying
|
typedef WStrPtrLen | OSCL_TStrPtrLen |
Functions |
OSCL_IMPORT_REF const char * | skip_whitespace (const char *ptr) |
OSCL_IMPORT_REF char * | skip_whitespace (char *ptr) |
OSCL_IMPORT_REF const char * | skip_whitespace (const char *start, const char *end) |
OSCL_IMPORT_REF const char * | skip_to_whitespace (const char *start, const char *end) |
OSCL_IMPORT_REF const char * | skip_to_line_term (const char *start_ptr, const char *end_ptr) |
OSCL_IMPORT_REF const char * | skip_whitespace_and_line_term (const char *start, const char *end) |
OSCL_IMPORT_REF int | extract_string (const char *in_ptr, char *outstring, int maxsize) |
OSCL_IMPORT_REF int | extract_string (const char *start, const char *end, char *outstring, int maxsize) |
OSCL_IMPORT_REF bool | PV_atoi (const char *buf, const char new_format, uint32 &value) |
OSCL_IMPORT_REF bool | PV_atoi (const char *buf, const char new_format, int length, uint32 &value) |
OSCL_IMPORT_REF bool | PV_atoi (const char *buf, const char new_format, int length, uint64 &value) |
OSCL_IMPORT_REF bool | PV_atof (const char *buf, OsclFloat &value) |
OSCL_IMPORT_REF bool | PV_atof (const char *buf, int length, OsclFloat &value) |
OSCL_IMPORT_REF int | oscl_abs (int aVal) |
OSCL_COND_IMPORT_REF double | oscl_log (double value) |
OSCL_COND_IMPORT_REF double | oscl_log10 (double value) |
OSCL_COND_IMPORT_REF double | oscl_sqrt (double value) |
OSCL_COND_IMPORT_REF double | oscl_pow (double x, double y) |
OSCL_COND_IMPORT_REF double | oscl_exp (double value) |
OSCL_COND_IMPORT_REF double | oscl_sin (double value) |
OSCL_COND_IMPORT_REF double | oscl_cos (double value) |
OSCL_COND_IMPORT_REF double | oscl_tan (double value) |
OSCL_COND_IMPORT_REF double | oscl_asin (double value) |
OSCL_COND_IMPORT_REF double | oscl_atan (double value) |
OSCL_COND_IMPORT_REF double | oscl_floor (double value) |
OSCL_IMPORT_REF int32 | oscl_snprintf (char *str, uint32 count, const char *fmt,...) |
OSCL_IMPORT_REF int32 | oscl_snprintf (oscl_wchar *str, uint32 count, const oscl_wchar *fmt,...) |
OSCL_IMPORT_REF int32 | oscl_vsnprintf (char *str, uint32 count, const char *fmt, va_list args) |
OSCL_IMPORT_REF int32 | oscl_vsnprintf (oscl_wchar *str, uint32 count, const oscl_wchar *fmt, va_list args) |
OSCL_IMPORT_REF bool | oscl_str_unescape_uri (const char *str_buf_in, char *str_buf_out, uint32 max_out_buf_bytes, uint32 max_bytes, uint32 &out_buf_len) |
| unescape any of the special escape sequence in the uri string
|
OSCL_IMPORT_REF bool | oscl_str_unescape_uri (const OSCL_String &oscl_str_in, OSCL_String &oscl_str_out, uint32 &out_buf_len) |
| unescape any of the special escape sequence in the uri string
|
OSCL_IMPORT_REF bool | oscl_str_is_valid_utf8 (const uint8 *str_buf, uint32 &num_valid_characters, uint32 max_bytes=0, uint32 max_char_2_valid=0, uint32 *num_byte_4_char=NULL) |
| 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.
|
OSCL_IMPORT_REF int32 | oscl_str_truncate_utf8 (uint8 *str_buf, uint32 max_char, uint32 max_bytes=0) |
| Truncates the UTF-8 string upto the required size.
|
OSCL_IMPORT_REF bool | oscl_str_need_escape_xml (const char *str_buf, uint32 &num_escape_bytes, uint32 max_bytes=0) |
| 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.
|
OSCL_IMPORT_REF int32 | oscl_str_escape_xml (const char *str_buf_in, char *str_buf_out, uint32 max_out_buf_bytes, uint32 max_bytes=0, uint32 *num_bytes_written=NULL) |
| Escape any of the following special characters in the string Special ASCII characters: &, <, >, ', ".
|
OSCL_IMPORT_REF int32 | oscl_UTF8ToUnicode (const char *input, int32 inLength, oscl_wchar *output, int32 outLength) |
| Convert UTF8 byte sequence to Unicode string.
|
OSCL_IMPORT_REF int32 | oscl_UnicodeToUTF8 (const oscl_wchar *input, int32 inLength, char *output, int32 outLength) |
| Convert Unicode string to UTF8 byte sequence.
|
BufferFragment * | GetFragment (const int32 idx) |
BufferState * | GetBufferState (const int32 idx) |
uint32 | get_size () const |
uint32 | get_size () const |
uint32 | get_maxsize () const |
uint32 | get_maxsize () const |
const chartype * | get_cstr () const |
const chartype * | get_cstr () const |
chartype * | get_str () const |
chartype * | get_str () const |
| OSCL_HeapString () |
| OSCL_wHeapString () |
| OSCL_HeapString (const chartype *cstr) |
| OSCL_wHeapString (const chartype *cstr) |
void | set (const chartype *buf, uint32 length) |
void | set (const chartype *buf, uint32 length) |
| OSCL_HeapString (const chartype *buf, uint32 length) |
| OSCL_wHeapString (const chartype *buf, uint32 length) |
| OSCL_HeapString (const OSCL_HeapString &src) |
| OSCL_wHeapString (const OSCL_wHeapString &src) |
| OSCL_HeapString (const OSCL_String &src) |
| OSCL_wHeapString (const OSCL_wString &src) |
| ~OSCL_HeapString () |
| ~OSCL_wHeapString () |
OSCL_HeapString & | operator= (const OSCL_HeapString &src) |
OSCL_wHeapString & | operator= (const OSCL_wHeapString &src) |
OSCL_HeapString & | operator= (const OSCL_String &src) |
OSCL_wHeapString & | operator= (const OSCL_wString &src) |
OSCL_HeapString & | operator= (const chartype *cstr) |
OSCL_wHeapString & | operator= (const chartype *cstr) |
uint32 | get_size () const |
uint32 | get_size () const |
uint32 | get_maxsize () const |
uint32 | get_maxsize () const |
const chartype * | get_cstr () const |
const chartype * | get_cstr () const |
chartype * | get_str () const |
chartype * | get_str () const |
| OSCL_StackString () |
| OSCL_wStackString () |
| OSCL_StackString (const chartype *cstr) |
| OSCL_wStackString (const chartype *cstr) |
void | set (const chartype *buf, uint32 length) |
void | set (const chartype *buf, uint32 length) |
| OSCL_StackString (const chartype *buf, uint32 length) |
| OSCL_wStackString (const chartype *buf, uint32 length) |
| OSCL_StackString (const OSCL_StackString &src) |
| OSCL_wStackString (const OSCL_wStackString &src) |
| OSCL_StackString (const OSCL_String &src) |
| OSCL_wStackString (const OSCL_wString &src) |
| ~OSCL_StackString () |
| ~OSCL_wStackString () |
OSCL_StackString & | operator= (const OSCL_StackString &src) |
OSCL_wStackString & | operator= (const OSCL_wStackString &src) |
OSCL_StackString & | operator= (const OSCL_String &src) |
OSCL_wStackString & | operator= (const OSCL_wString &src) |
OSCL_StackString & | operator= (const chartype *cstr) |
OSCL_wStackString & | operator= (const chartype *cstr) |
Variables |
const int32 | APPEND_MEDIA_AT_END = -1 |
const uint8 | OSCL_ASCII_CASE_MAGIC_BIT = 0x20 |