Go to the source code of this file.
|
#define | OSMBDFLTSEGSIZE 1024 |
|
#define | OSMEMBUFPTR(pmb) ((pmb)->buffer + (pmb)->startidx) |
|
#define | OSMEMBUFENDPTR(pmb) ((pmb)->buffer + (pmb)->startidx + (pmb)->usedcnt) |
|
#define | OSMEMBUFUSEDSIZE(pmb) ((OSSIZE)(pmb)->usedcnt) |
|
#define | OSMBAPPENDSTR(pmb, str) |
|
#define | OSMBAPPENDSTRL(pmb, str) rtxMemBufAppend(pmb,(OSOCTET*)str,OSCRTLSTRLEN(str)) |
|
#define | OSMBAPPENDUTF8(pmb, str) |
|
|
int | rtxMemBufAppend (OSRTMEMBUF *pMemBuf, const OSOCTET *pdata, OSSIZE nbytes) |
|
int | rtxMemBufCut (OSRTMEMBUF *pMemBuf, OSSIZE fromOffset, OSSIZE nbytes) |
|
void | rtxMemBufFree (OSRTMEMBUF *pMemBuf) |
|
OSOCTET * | rtxMemBufGetData (const OSRTMEMBUF *pMemBuf, int *length) |
|
OSOCTET * | rtxMemBufGetDataExt (const OSRTMEMBUF *pMemBuf, OSSIZE *length) |
|
OSSIZE | rtxMemBufGetDataLen (const OSRTMEMBUF *pMemBuf) |
|
void | rtxMemBufInit (OSCTXT *pCtxt, OSRTMEMBUF *pMemBuf, OSSIZE segsize) |
|
void | rtxMemBufInitBuffer (OSCTXT *pCtxt, OSRTMEMBUF *pMemBuf, OSOCTET *buf, OSSIZE bufsize, OSSIZE segsize) |
|
int | rtxMemBufPreAllocate (OSRTMEMBUF *pMemBuf, OSSIZE nbytes) |
|
void | rtxMemBufReset (OSRTMEMBUF *pMemBuf) |
|
int | rtxMemBufSet (OSRTMEMBUF *pMemBuf, OSOCTET value, OSSIZE nbytes) |
|
OSBOOL | rtxMemBufSetExpandable (OSRTMEMBUF *pMemBuf, OSBOOL isExpandable) |
|
OSBOOL | rtxMemBufSetUseSysMem (OSRTMEMBUF *pMemBuf, OSBOOL value) |
|
OSSIZE | rtxMemBufTrimW (OSRTMEMBUF *pMemBuf) |
|