FreeBASIC  0.91.0
str_core.c File Reference
#include "fb.h"
#include <stddef.h>
Include dependency graph for str_core.c:

Go to the source code of this file.

Macros

#define hStrRoundSize(size)   (((size) + 31) & ~31)
 

Functions

FBCALL FBSTRINGfb_hStrAllocTmpDesc (void)
 
static void fb_hStrFreeTmpDesc (FB_STR_TMPDESC *dsc)
 
FBCALL int fb_hStrDelTempDesc (FBSTRING *str)
 
FBCALL FBSTRINGfb_hStrAlloc (FBSTRING *str, ssize_t size)
 
FBCALL FBSTRINGfb_hStrRealloc (FBSTRING *str, ssize_t size, int preserve)
 
FBCALL FBSTRINGfb_hStrAllocTemp_NoLock (FBSTRING *str, ssize_t size)
 
FBCALL FBSTRINGfb_hStrAllocTemp (FBSTRING *str, ssize_t size)
 
FBCALL int fb_hStrDelTemp_NoLock (FBSTRING *str)
 
FBCALL int fb_hStrDelTemp (FBSTRING *str)
 
FBCALL void fb_hStrCopy (char *dst, const char *src, ssize_t bytes)
 

Variables

static FB_LIST tmpdsList = { 0, NULL, NULL, NULL }
 
static FB_STR_TMPDESC fb_tmpdsTB [FB_STR_TMPDESCRIPTORS]
 

Macro Definition Documentation

#define hStrRoundSize (   size)    (((size) + 31) & ~31)

Definition at line 71 of file str_core.c.

Function Documentation

FBCALL FBSTRING* fb_hStrAlloc ( FBSTRING str,
ssize_t  size 
)

Definition at line 73 of file str_core.c.

Here is the caller graph for this function:

FBCALL FBSTRING* fb_hStrAllocTemp ( FBSTRING str,
ssize_t  size 
)

Definition at line 174 of file str_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL FBSTRING* fb_hStrAllocTemp_NoLock ( FBSTRING str,
ssize_t  size 
)

Definition at line 151 of file str_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL FBSTRING* fb_hStrAllocTmpDesc ( void  )

Definition at line 22 of file str_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL void fb_hStrCopy ( char *  dst,
const char *  src,
ssize_t  bytes 
)

Definition at line 213 of file str_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_hStrDelTemp ( FBSTRING str)

Definition at line 200 of file str_core.c.

Here is the call graph for this function:

FBCALL int fb_hStrDelTemp_NoLock ( FBSTRING str)

Definition at line 187 of file str_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_hStrDelTempDesc ( FBSTRING str)

Definition at line 52 of file str_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void fb_hStrFreeTmpDesc ( FB_STR_TMPDESC dsc)
static

Definition at line 42 of file str_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL FBSTRING* fb_hStrRealloc ( FBSTRING str,
ssize_t  size,
int  preserve 
)

Definition at line 97 of file str_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

Definition at line 20 of file str_core.c.

FB_LIST tmpdsList = { 0, NULL, NULL, NULL }
static

Definition at line 18 of file str_core.c.