63 OSUNICHAR* outbuf,
size_t outbufsiz);
79 OS32BITCHAR* outbuf,
size_t outbufsiz);
102 EXTERNRT
size_t rtxUTF8Len (
const OSUTF8CHAR* inbuf);
103 EXTERNRT
size_t rtxCalcUTF8Len (
const OSUTF8CHAR* inbuf,
size_t inbufBytes);
146 (
OSCTXT* pctxt,
const OSUTF8CHAR* pinbuf,
int* pInsize);
157 EXTERNRT OS32BITCHAR
rtxUTF8CharToWC (
const OSUTF8CHAR* buf, OSUINT32* len);
169 OS32BITCHAR utf8char);
194 (
OSCTXT* pctxt,
const OSUTF8CHAR* utf8str,
size_t nbytes);
208 (
OSCTXT* pctxt,
const OSUTF8CHAR* utf8str);
218 (
const OSUTF8CHAR* utf8str1,
const OSUTF8CHAR* utf8str2);
231 const OSUTF8CHAR* utf8str2,
246 const OSUTF8CHAR* utf8str2);
262 const OSUTF8CHAR* utf8str2,
275 (OSUTF8CHAR* dest,
size_t bufsiz,
const OSUTF8CHAR* src);
290 (OSUTF8CHAR* dest,
size_t bufsiz,
const OSUTF8CHAR* src,
size_t nchars);
317 (
OSCTXT* pctxt,
const OSUTF8CHAR* str1,
const OSUTF8CHAR* str2,
318 const OSUTF8CHAR* str3,
const OSUTF8CHAR* str4,
const OSUTF8CHAR* str5);
342 (
const OSUTF8CHAR* utf8str,
size_t nbytes, OSBOOL* pvalue);
374 (
const OSUTF8CHAR* utf8str,
size_t nbytes, OSREAL* pvalue);
388 EXTERNRT
int rtxUTF8StrToInt (
const OSUTF8CHAR* utf8str, OSINT32* pvalue);
390 #define rtxUTF8StrToInt32 rtxUTF8StrToInt 407 (
const OSUTF8CHAR* utf8str,
size_t nbytes, OSINT32* pvalue);
418 EXTERNRT
int rtxUTF8StrToUInt (
const OSUTF8CHAR* utf8str, OSUINT32* pvalue);
420 #define rtxUTF8StrToUInt32 rtxUTF8StrToUInt 434 (
const OSUTF8CHAR* utf8str,
size_t nbytes, OSUINT32* pvalue);
459 (
const OSUTF8CHAR* utf8str,
size_t nbytes,
size_t* pvalue);
461 #ifndef _NO_INT64_SUPPORT 485 (
const OSUTF8CHAR* utf8str,
size_t nbytes, OSINT64* pvalue);
510 (
const OSUTF8CHAR* utf8str,
size_t nbytes, OSUINT64* pvalue);
528 (
OSCTXT* pctxt,
const OSUTF8CHAR* utf8str,
529 const OSUNICHAR** ppdata, OSUINT32* pnchars);
545 (
OSCTXT* pctxt,
const OSUTF8CHAR* utf8str,
546 const OS32BITCHAR** ppdata, OSUINT32* pnchars);
559 (
const OSUTF8CHAR* utf8instr,
size_t nbytes,
const OSUTF8CHAR** putf8outstr);
567 #define RTUTF8STRCMPL(name,lstr) \ 568 rtxUTF8Strcmp(name,(const OSUTF8CHAR*)lstr) 585 (
OSCTXT* pctxt,
const OSUTF8CHAR* utf8str, OSDynOctStr* pvalue);
603 (
OSCTXT* pctxt,
const OSUTF8CHAR* utf8str,
size_t nbytes, OSDynOctStr* pvalue);
621 const OSBitMapItem* pBitMap, OSOCTET* pvalue, OSUINT32* pnbits,
643 (OSUTF8CHAR* utf8str, OSUTF8CHAR** ppNext);
645 #define OSRTCHKUTF8LEN(str,lower,upper,stat) \ 646 do { size_t nchars = rtxUTF8Len (str); \ 647 stat = (nchars >= lower && nchars <= upper) ? 0 : RTERR_CONSVIO; } while(0) OSBOOL rtxUTF8StrEqual(const OSUTF8CHAR *utf8str1, const OSUTF8CHAR *utf8str2)
int rtxUTF8StrToInt64(const OSUTF8CHAR *utf8str, OSINT64 *pvalue)
OSUTF8CHAR * rtxUTF8Strcpy(OSUTF8CHAR *dest, size_t bufsiz, const OSUTF8CHAR *src)
OSUTF8CHAR * rtxUTF8Strdup(OSCTXT *pctxt, const OSUTF8CHAR *utf8str)
OSUTF8CHAR * rtxUTF8StrChr(OSUTF8CHAR *utf8str, OS32BITCHAR utf8char)
int rtxUTF8Strcmp(const OSUTF8CHAR *utf8str1, const OSUTF8CHAR *utf8str2)
OSUINT32 rtxUTF8StrHash(const OSUTF8CHAR *str)
int rtxUTF8StrToUInt(const OSUTF8CHAR *utf8str, OSUINT32 *pvalue)
int rtxUTF8StrnToInt64(const OSUTF8CHAR *utf8str, size_t nbytes, OSINT64 *pvalue)
int rtxUTF8ToDynUniStr(OSCTXT *pctxt, const OSUTF8CHAR *utf8str, const OSUNICHAR **ppdata, OSUINT32 *pnchars)
const OSUTF8CHAR * rtxUTF8StrNextTok(OSUTF8CHAR *utf8str, OSUTF8CHAR **ppNext)
long rtxUTF8ToUnicode(OSCTXT *pctxt, const OSUTF8CHAR *inbuf, OSUNICHAR *outbuf, size_t outbufsiz)
int rtxUTF8RemoveWhiteSpace(const OSUTF8CHAR *utf8instr, size_t nbytes, const OSUTF8CHAR **putf8outstr)
long rtxUTF8ToUnicode32(OSCTXT *pctxt, const OSUTF8CHAR *inbuf, OS32BITCHAR *outbuf, size_t outbufsiz)
int rtxUTF8CharSize(OS32BITCHAR wc)
int rtxValidateUTF8(OSCTXT *pctxt, const OSUTF8CHAR *inbuf)
int rtxUTF8StrToNamedBits(OSCTXT *pctxt, const OSUTF8CHAR *utf8str, const OSBitMapItem *pBitMap, OSOCTET *pvalue, OSUINT32 *pnbits, OSUINT32 bufsize)
int rtxUTF8StrToUInt64(const OSUTF8CHAR *utf8str, OSUINT64 *pvalue)
int rtxUTF8StrnToUInt(const OSUTF8CHAR *utf8str, size_t nbytes, OSUINT32 *pvalue)
size_t rtxUTF8LenBytes(const OSUTF8CHAR *inbuf)
int rtxUTF8StrToSize(const OSUTF8CHAR *utf8str, size_t *pvalue)
int rtxUTF8EncodeChar(OS32BITCHAR wc, OSOCTET *buf, size_t bufsiz)
int rtxUTF8StrnToDouble(const OSUTF8CHAR *utf8str, size_t nbytes, OSREAL *pvalue)
OSUTF8CHAR * rtxUTF8Strndup(OSCTXT *pctxt, const OSUTF8CHAR *utf8str, size_t nbytes)
int rtxUTF8StrnToSize(const OSUTF8CHAR *utf8str, size_t nbytes, size_t *pvalue)
int rtxUTF8StrnToUInt64(const OSUTF8CHAR *utf8str, size_t nbytes, OSUINT64 *pvalue)
int rtxUTF8Strncmp(const OSUTF8CHAR *utf8str1, const OSUTF8CHAR *utf8str2, size_t count)
int rtxUTF8StrnToBool(const OSUTF8CHAR *utf8str, size_t nbytes, OSBOOL *pvalue)
int rtxUTF8StrToBool(const OSUTF8CHAR *utf8str, OSBOOL *pvalue)
int rtxUTF8StrToDouble(const OSUTF8CHAR *utf8str, OSREAL *pvalue)
int rtxUTF8StrToDynHexStr(OSCTXT *pctxt, const OSUTF8CHAR *utf8str, OSDynOctStr *pvalue)
size_t rtxUTF8Len(const OSUTF8CHAR *inbuf)
int rtxUTF8StrToInt(const OSUTF8CHAR *utf8str, OSINT32 *pvalue)
int rtxUTF8StrnToInt(const OSUTF8CHAR *utf8str, size_t nbytes, OSINT32 *pvalue)
int rtxUTF8DecodeChar(OSCTXT *pctxt, const OSUTF8CHAR *pinbuf, int *pInsize)
OSUTF8CHAR * rtxUTF8Strncpy(OSUTF8CHAR *dest, size_t bufsiz, const OSUTF8CHAR *src, size_t nchars)
Definition: rtxContext.h:189
OSBOOL rtxUTF8StrnEqual(const OSUTF8CHAR *utf8str1, const OSUTF8CHAR *utf8str2, size_t count)
int rtxUTF8StrnToDynHexStr(OSCTXT *pctxt, const OSUTF8CHAR *utf8str, size_t nbytes, OSDynOctStr *pvalue)
const OSUTF8CHAR * rtxUTF8StrJoin(OSCTXT *pctxt, const OSUTF8CHAR *str1, const OSUTF8CHAR *str2, const OSUTF8CHAR *str3, const OSUTF8CHAR *str4, const OSUTF8CHAR *str5)
OSUTF8CHAR * rtxUTF8StrRefOrDup(OSCTXT *pctxt, const OSUTF8CHAR *utf8str)
OS32BITCHAR rtxUTF8CharToWC(const OSUTF8CHAR *buf, OSUINT32 *len)
int rtxUTF8ToDynUniStr32(OSCTXT *pctxt, const OSUTF8CHAR *utf8str, const OS32BITCHAR **ppdata, OSUINT32 *pnchars)