FreeBASIC  0.91.0
rtl-string.bas File Reference
#include "fb.bi"
#include "fbint.bi"
#include "ast.bi"
#include "rtl.bi"
Include dependency graph for rtl-string.bas:

Go to the source code of this file.

Functions

sub rtlStringModInit ()
 
sub rtlStringModEnd ()
 
function_as_ASTNODE_ptr rtlStrCompare (byval_as_ASTNODE_ptr str1, byval_as_integer sdtype1, byval_as_ASTNODE_ptr str2, byval_as_integer sdtype2)
 
function_as_ASTNODE_ptr rtlWstrCompare (byval_as_ASTNODE_ptr str1, byval_as_ASTNODE_ptr str2)
 
function_as_ASTNODE_ptr rtlStrConcat (byval_as_ASTNODE_ptr str1, byval_as_integer sdtype1, byval_as_ASTNODE_ptr str2, byval_as_integer sdtype2)
 
function_as_ASTNODE_ptr rtlWstrConcatWA (byval_as_ASTNODE_ptr str1, byval_as_ASTNODE_ptr str2, byval_as_integer sdtype2)
 
function_as_ASTNODE_ptr rtlWstrConcatAW (byval_as_ASTNODE_ptr str1, byval_as_integer sdtype1, byval_as_ASTNODE_ptr str2)
 
function_as_ASTNODE_ptr rtlWstrConcat (byval_as_ASTNODE_ptr str1, byval_as_integer sdtype1, byval_as_ASTNODE_ptr str2, byval_as_integer sdtype2)
 
function_as_ASTNODE_ptr rtlStrConcatAssign (byval_as_ASTNODE_ptr dst, byval_as_ASTNODE_ptr src)
 
function_as_ASTNODE_ptr rtlWstrConcatAssign (byval_as_ASTNODE_ptr dst, byval_as_ASTNODE_ptr src)
 
function_as_ASTNODE_ptr rtlWstrAssignWA (byval_as_ASTNODE_ptr dst, byval_as_ASTNODE_ptr src, byval_as_integer sdtype)
 
function_as_ASTNODE_ptr rtlWstrAssignAW (byval_as_ASTNODE_ptr dst, byval_as_integer ddtype, byval_as_ASTNODE_ptr src, byval_as_integer is_ini)
 
function_as_ASTNODE_ptr rtlStrAssign (byval_as_ASTNODE_ptr dst, byval_as_ASTNODE_ptr src, byval_as_integer is_ini)
 
function_as_ASTNODE_ptr rtlWstrAssign (byval_as_ASTNODE_ptr dst, byval_as_ASTNODE_ptr src, byval_as_integer is_ini)
 
function_as_ASTNODE_ptr rtlStrDelete (byval_as_ASTNODE_ptr strg)
 
function_as_ASTNODE_ptr rtlStrAllocTmpResult (byval_as_ASTNODE_ptr strg)
 
function_as_ASTNODE_ptr rtlStrAllocTmpDesc (byval_as_ASTNODE_ptr strexpr)
 
function_as_ASTNODE_ptr rtlWstrAlloc (byval_as_ASTNODE_ptr lenexpr)
 
function_as_ASTNODE_ptr rtlWstrToA (byval_as_ASTNODE_ptr expr)
 
function_as_ASTNODE_ptr rtlAToWstr (byval_as_ASTNODE_ptr expr)
 
function_as_ASTNODE_ptr rtlToStr (byval_as_ASTNODE_ptr expr, byval_as_integer pad)
 
function_as_ASTNODE_ptr rtlToWstr (byval_as_ASTNODE_ptr expr)
 
function_as_ASTNODE_ptr rtlStrToVal (byval_as_ASTNODE_ptr expr, byval_as_integer to_dtype)
 
function_as_ASTNODE_ptr rtlStrMid (byval_as_ASTNODE_ptr expr1, byval_as_ASTNODE_ptr expr2, byval_as_ASTNODE_ptr expr3)
 
function_as_ASTNODE_ptr rtlStrAssignMid (byval_as_ASTNODE_ptr expr1, byval_as_ASTNODE_ptr expr2, byval_as_ASTNODE_ptr expr3, byval_as_ASTNODE_ptr expr4)
 
function_as_integer rtlStrLRSet (byval_as_ASTNODE_ptr dstexpr, byval_as_ASTNODE_ptr srcexpr, byval_as_integer is_rset)
 
function_as_ASTNODE_ptr rtlStrFill (byval_as_ASTNODE_ptr expr1, byval_as_ASTNODE_ptr expr2)
 
function_as_ASTNODE_ptr rtlWstrFill (byval_as_ASTNODE_ptr expr1, byval_as_ASTNODE_ptr expr2)
 
function_as_ASTNODE_ptr rtlStrLen (byval_as_ASTNODE_ptr expr)
 
function_as_ASTNODE_ptr rtlWstrLen (byval_as_ASTNODE_ptr expr)
 
function_as_ASTNODE_ptr rtlStrAsc (byval_as_ASTNODE_ptr expr, byval_as_ASTNODE_ptr posexpr)
 
function_as_ASTNODE_ptr rtlStrChr (byval_as_integer args, as_ASTNODE_ptr exprtb[+1], byval_as_integer is_wstr[+1])
 
function_as_ASTNODE_ptr rtlStrInstr (byval_as_ASTNODE_ptr nd_start, byval_as_ASTNODE_ptr nd_text, byval_as_ASTNODE_ptr nd_pattern, byval_as_integer search_any)
 
function_as_ASTNODE_ptr rtlStrInstrRev (byval_as_ASTNODE_ptr nd_start, byval_as_ASTNODE_ptr nd_text, byval_as_ASTNODE_ptr nd_pattern, byval_as_integer search_any)
 
function_as_ASTNODE_ptr rtlStrTrim (byval_as_ASTNODE_ptr nd_text, byval_as_ASTNODE_ptr nd_pattern, byval_as_integer is_any)
 
function_as_ASTNODE_ptr rtlStrRTrim (byval_as_ASTNODE_ptr nd_text, byval_as_ASTNODE_ptr nd_pattern, byval_as_integer is_any)
 
function_as_ASTNODE_ptr rtlStrLTrim (byval_as_ASTNODE_ptr nd_text, byval_as_ASTNODE_ptr nd_pattern, byval_as_integer is_any)
 
private function_as_FBSYMBOL_ptr hEvalAscCase (byval_as_FBSYMBOL_ptr literal, byval_as_integer is_lcase)
 
function_as_ASTNODE_ptr rtlStrCase (byval_as_ASTNODE_ptr expr, byval_as_ASTNODE_ptr mode, byval_as_integer is_lcase)
 
function_as_integer rtlStrSwap (byval_as_ASTNODE_ptr str1, byval_as_ASTNODE_ptr str2)
 
function_as_integer rtlWstrSwap (byval_as_ASTNODE_ptr str1, byval_as_ASTNODE_ptr str2)
 

Variables

FB_RTL_PROCDEF funcdata [to...+1] =
 

Function Documentation

private function_as_FBSYMBOL_ptr hEvalAscCase ( byval_as_FBSYMBOL_ptr  literal,
byval_as_integer  is_lcase 
)

Definition at line 3643 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlAToWstr ( byval_as_ASTNODE_ptr  expr)

Definition at line 2747 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrAllocTmpDesc ( byval_as_ASTNODE_ptr  strexpr)

Definition at line 2632 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrAllocTmpResult ( byval_as_ASTNODE_ptr  strg)

Definition at line 2610 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrAsc ( byval_as_ASTNODE_ptr  expr,
byval_as_ASTNODE_ptr  posexpr 
)

Definition at line 3287 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrAssign ( byval_as_ASTNODE_ptr  dst,
byval_as_ASTNODE_ptr  src,
byval_as_integer  is_ini 
)

Definition at line 2456 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrAssignMid ( byval_as_ASTNODE_ptr  expr1,
byval_as_ASTNODE_ptr  expr2,
byval_as_ASTNODE_ptr  expr3,
byval_as_ASTNODE_ptr  expr4 
)

Definition at line 3086 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrCase ( byval_as_ASTNODE_ptr  expr,
byval_as_ASTNODE_ptr  mode,
byval_as_integer  is_lcase 
)

Definition at line 3715 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrChr ( byval_as_integer  args,
as_ASTNODE_ptr  exprtb[+1],
byval_as_integer  is_wstr[+1] 
)

Definition at line 3323 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrCompare ( byval_as_ASTNODE_ptr  str1,
byval_as_integer  sdtype1,
byval_as_ASTNODE_ptr  str2,
byval_as_integer  sdtype2 
)

Definition at line 2034 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrConcat ( byval_as_ASTNODE_ptr  str1,
byval_as_integer  sdtype1,
byval_as_ASTNODE_ptr  str2,
byval_as_integer  sdtype2 
)

Definition at line 2107 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrConcatAssign ( byval_as_ASTNODE_ptr  dst,
byval_as_ASTNODE_ptr  src 
)

Definition at line 2277 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrDelete ( byval_as_ASTNODE_ptr  strg)

Definition at line 2577 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrFill ( byval_as_ASTNODE_ptr  expr1,
byval_as_ASTNODE_ptr  expr2 
)

Definition at line 3181 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub rtlStringModEnd ( )

Definition at line 2026 of file rtl-string.bas.

Here is the caller graph for this function:

sub rtlStringModInit ( )

Definition at line 2019 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrInstr ( byval_as_ASTNODE_ptr  nd_start,
byval_as_ASTNODE_ptr  nd_text,
byval_as_ASTNODE_ptr  nd_pattern,
byval_as_integer  search_any 
)

Definition at line 3380 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrInstrRev ( byval_as_ASTNODE_ptr  nd_start,
byval_as_ASTNODE_ptr  nd_text,
byval_as_ASTNODE_ptr  nd_pattern,
byval_as_integer  search_any 
)

Definition at line 3431 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrLen ( byval_as_ASTNODE_ptr  expr)

Definition at line 3246 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer rtlStrLRSet ( byval_as_ASTNODE_ptr  dstexpr,
byval_as_ASTNODE_ptr  srcexpr,
byval_as_integer  is_rset 
)

Definition at line 3141 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrLTrim ( byval_as_ASTNODE_ptr  nd_text,
byval_as_ASTNODE_ptr  nd_pattern,
byval_as_integer  is_any 
)

Definition at line 3588 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrMid ( byval_as_ASTNODE_ptr  expr1,
byval_as_ASTNODE_ptr  expr2,
byval_as_ASTNODE_ptr  expr3 
)

Definition at line 3050 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrRTrim ( byval_as_ASTNODE_ptr  nd_text,
byval_as_ASTNODE_ptr  nd_pattern,
byval_as_integer  is_any 
)

Definition at line 3535 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer rtlStrSwap ( byval_as_ASTNODE_ptr  str1,
byval_as_ASTNODE_ptr  str2 
)

Definition at line 3774 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrToVal ( byval_as_ASTNODE_ptr  expr,
byval_as_integer  to_dtype 
)

Definition at line 2981 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlStrTrim ( byval_as_ASTNODE_ptr  nd_text,
byval_as_ASTNODE_ptr  nd_pattern,
byval_as_integer  is_any 
)

Definition at line 3482 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlToStr ( byval_as_ASTNODE_ptr  expr,
byval_as_integer  pad 
)

Definition at line 2768 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlToWstr ( byval_as_ASTNODE_ptr  expr)

Definition at line 2890 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrAlloc ( byval_as_ASTNODE_ptr  lenexpr)

Definition at line 2705 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrAssign ( byval_as_ASTNODE_ptr  dst,
byval_as_ASTNODE_ptr  src,
byval_as_integer  is_ini 
)

Definition at line 2524 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrAssignAW ( byval_as_ASTNODE_ptr  dst,
byval_as_integer  ddtype,
byval_as_ASTNODE_ptr  src,
byval_as_integer  is_ini 
)

Definition at line 2411 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrAssignWA ( byval_as_ASTNODE_ptr  dst,
byval_as_ASTNODE_ptr  src,
byval_as_integer  sdtype 
)

Definition at line 2368 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrCompare ( byval_as_ASTNODE_ptr  str1,
byval_as_ASTNODE_ptr  str2 
)

Definition at line 2079 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrConcat ( byval_as_ASTNODE_ptr  str1,
byval_as_integer  sdtype1,
byval_as_ASTNODE_ptr  str2,
byval_as_integer  sdtype2 
)

Definition at line 2235 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrConcatAssign ( byval_as_ASTNODE_ptr  dst,
byval_as_ASTNODE_ptr  src 
)

Definition at line 2331 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrConcatAW ( byval_as_ASTNODE_ptr  str1,
byval_as_integer  sdtype1,
byval_as_ASTNODE_ptr  str2 
)

Definition at line 2198 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrConcatWA ( byval_as_ASTNODE_ptr  str1,
byval_as_ASTNODE_ptr  str2,
byval_as_integer  sdtype2 
)

Definition at line 2161 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrFill ( byval_as_ASTNODE_ptr  expr1,
byval_as_ASTNODE_ptr  expr2 
)

Definition at line 3215 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrLen ( byval_as_ASTNODE_ptr  expr)

Definition at line 3270 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer rtlWstrSwap ( byval_as_ASTNODE_ptr  str1,
byval_as_ASTNODE_ptr  str2 
)

Definition at line 3828 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr rtlWstrToA ( byval_as_ASTNODE_ptr  expr)

Definition at line 2726 of file rtl-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

FB_RTL_PROCDEF funcdata[to...+1] =

Definition at line 11 of file rtl-string.bas.