theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3Lite_Internal_String_TCL_API

Sq3Lite PACKAGE - functions related to index 'Internal' and doc 'String' … More...

+ Collaboration diagram for Sq3Lite_Internal_String_TCL_API:

Functions

static OT_ProcRet tclsq3lite_Sq3Lite_StrGlob (OtClass_ARGS)
  Tcl: (static) int32 [Sq3Lite StrGlob zGlob:string zStr:string] C-API
String Globbing …
 
static OT_ProcRet tclsq3lite_Sq3Lite_StrIcmp (OtClass_ARGS)
  Tcl: (static) int32 [Sq3Lite StrIcmp arg0:string arg1:string] C-API
String Comparison …
 
static OT_ProcRet tclsq3lite_Sq3Lite_StrLike (OtClass_ARGS)
  Tcl: (static) int32 [Sq3Lite StrLike zGlob:string zStr:string cEsc:int32] C-API
String LIKE Matching …
 
static OT_ProcRet tclsq3lite_Sq3Lite_StrNicmp (OtClass_ARGS)
  Tcl: (static) int32 [Sq3Lite StrNicmp arg0:string arg1:string arg2:int32] C-API
String Comparison …
 

Detailed Description

Sq3Lite PACKAGE - functions related to index 'Internal' and doc 'String' …

String Comparison:

String Globbing:

String LIKE Matching:

Reference code from sqlite3:

// String Comparison:
SQLITE_API int sqlite3_stricmp(const char *, const char *);
SQLITE_API int sqlite3_strnicmp(const char *, const char *, int);
// String Globbing:
SQLITE_API int sqlite3_strglob(const char *zGlob, const char *zStr);
// String LIKE Matching:
SQLITE_API int sqlite3_strlike(const char *zGlob, const char *zStr, unsigned int cEsc);
#define SQLITE_API
SQLITE_API int sqlite3_strglob(const char *zGlob, const char *zStr)
SQLITE_API int sqlite3_strlike(const char *zGlob, const char *zStr, unsigned int cEsc)
SQLITE_API int sqlite3_strnicmp(const char *, const char *, int)
SQLITE_API int sqlite3_stricmp(const char *, const char *)

Function Documentation

◆ tclsq3lite_Sq3Lite_StrGlob()

static OT_ProcRet tclsq3lite_Sq3Lite_StrGlob ( OtClass_ARGS )
static

Tcl: (static) int32 [Sq3Lite StrGlob zGlob:string zStr:string] C-API
String Globbing …

Definition at line 4952 of file LibSq3Lite_tcl.c.

4952 {
4955 MK_STRN zGlob = 0;
4957 MK_STRN zStr = 0;
4960 OT_retObj_SET_I32(Sq3StrGlob (zGlob, zStr));
4961 goto end;
4962 error:
4964 end:
4966}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_I32(nat)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_CHECK_STRN(val)
#define OT_SETUP_hdl_static
#define StrGlob_doc
const MK_STRB * MK_STRN
static MK_I32 Sq3StrGlob(MK_STRN zGlob, MK_STRN zStr)
String Globbing …

◆ tclsq3lite_Sq3Lite_StrIcmp()

static OT_ProcRet tclsq3lite_Sq3Lite_StrIcmp ( OtClass_ARGS )
static

Tcl: (static) int32 [Sq3Lite StrIcmp arg0:string arg1:string] C-API
String Comparison …

Definition at line 4969 of file LibSq3Lite_tcl.c.

4969 {
4972 MK_STRN arg0 = 0;
4974 MK_STRN arg1 = 0;
4977 OT_retObj_SET_I32(Sq3StrIcmp (arg0, arg1));
4978 goto end;
4979 error:
4981 end:
4983}
#define StrIcmp_doc
static MK_I32 Sq3StrIcmp(MK_STRN arg0, MK_STRN arg1)
String Comparison …

◆ tclsq3lite_Sq3Lite_StrLike()

static OT_ProcRet tclsq3lite_Sq3Lite_StrLike ( OtClass_ARGS )
static

Tcl: (static) int32 [Sq3Lite StrLike zGlob:string zStr:string cEsc:int32] C-API
String LIKE Matching …

Definition at line 4986 of file LibSq3Lite_tcl.c.

4986 {
4989 MK_STRN zGlob = 0;
4991 MK_STRN zStr = 0;
4993 MK_I32 cEsc = 0;
4996 OT_retObj_SET_I32(Sq3StrLike (zGlob, zStr, cEsc));
4997 goto end;
4998 error:
5000 end:
5002}
#define OT_CHECK_NI4(val)
#define StrLike_doc
signed int MK_I32
static MK_I32 Sq3StrLike(MK_STRN zGlob, MK_STRN zStr, MK_I32 cEsc)
String LIKE Matching …

◆ tclsq3lite_Sq3Lite_StrNicmp()

static OT_ProcRet tclsq3lite_Sq3Lite_StrNicmp ( OtClass_ARGS )
static

Tcl: (static) int32 [Sq3Lite StrNicmp arg0:string arg1:string arg2:int32] C-API
String Comparison …

Definition at line 5005 of file LibSq3Lite_tcl.c.

5005 {
5008 MK_STRN arg0 = 0;
5010 MK_STRN arg1 = 0;
5012 MK_I32 arg2 = 0;
5015 OT_retObj_SET_I32(Sq3StrNicmp (arg0, arg1, arg2));
5016 goto end;
5017 error:
5019 end:
5021}
#define StrNicmp_doc
static MK_I32 Sq3StrNicmp(MK_STRN arg0, MK_STRN arg1, MK_I32 arg2)
String Comparison …