KVIrc  4.9.2
DeveloperAPIs
Macros | Functions
libkvistr.cpp File Reference
#include "KviModule.h"
#include "KviLocale.h"
#include "KviControlCodes.h"
#include "KviQString.h"
#include "kvi_debug.h"
#include "kvi_settings.h"
#include "KviMemory.h"
#include "KviKvsArrayCast.h"
#include "KviOptions.h"
#include <QRegExp>
#include <QClipboard>
#include <QCryptographicHash>

Macros

#define INCREMENT_MEM
 
#define INCREMENT_MEM_BY(numchars)
 
#define MEMINCREMENT   32
 

Functions

static bool str_kvs_cmd_toClipboard (KviKvsModuleCommandCall *c)
 
static bool str_kvs_fnc_append (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_charsum (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_chop (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_cmp (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_contains (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_digest (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_equal (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_evpSign (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_evpVerify (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_find (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_findfirst (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_findlast (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_fromclipboard (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_grep (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_insert (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_isempty (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_isnumber (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_isunsignednumber (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_join (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_left (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_lefttofirst (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_lefttolast (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_len (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_localelowcase (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_localeupcase (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_lowcase (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_match (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_mid (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_prepend (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_printf (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_replace (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_right (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_rightfromfirst (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_rightfromlast (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_section (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_split (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_strip (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_stripcolors (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_stripleft (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_stripright (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_token (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_upcase (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_urlencode (KviKvsModuleFunctionCall *c)
 
static bool str_kvs_fnc_word (KviKvsModuleFunctionCall *c)
 
static bool str_module_cleanup (KviModule *)
 
static bool str_module_init (KviModule *m)
 

Macro Definition Documentation

#define INCREMENT_MEM
Value:
{ \
allocsize += MEMINCREMENT; \
buffer = (QChar *)KviMemory::reallocate(buffer, sizeof(QChar) * allocsize); \
p = buffer + reallen; \
}
#define MEMINCREMENT
void * reallocate(void *ptr, int size)
Definition: KviMemory.h:118
#define p
Definition: detector.cpp:80

Referenced by str_kvs_fnc_printf().

#define INCREMENT_MEM_BY (   numchars)
Value:
{ \
allocsize += numchars + MEMINCREMENT; \
buffer = (QChar *)KviMemory::reallocate(buffer, sizeof(QChar) * allocsize); \
p = buffer + reallen; \
}
#define MEMINCREMENT
void * reallocate(void *ptr, int size)
Definition: KviMemory.h:118
#define p
Definition: detector.cpp:80

Referenced by str_kvs_fnc_printf().

#define MEMINCREMENT   32

Referenced by str_kvs_fnc_printf().

Function Documentation

static bool str_kvs_cmd_toClipboard ( KviKvsModuleCommandCall c)
static
static bool str_kvs_fnc_append ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_charsum ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_chop ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_cmp ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_contains ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_digest ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_equal ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_evpSign ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_evpVerify ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_find ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_findfirst ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_findlast ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_fromclipboard ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_grep ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_insert ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_isempty ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_isnumber ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_isunsignednumber ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_join ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_left ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_lefttofirst ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_lefttolast ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_len ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_localelowcase ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_localeupcase ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_lowcase ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_match ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_mid ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_prepend ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_printf ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_replace ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_right ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_rightfromfirst ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_rightfromlast ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_section ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_split ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_strip ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_stripcolors ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_stripleft ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_stripright ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_token ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_upcase ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_urlencode ( KviKvsModuleFunctionCall c)
static
static bool str_kvs_fnc_word ( KviKvsModuleFunctionCall c)
static
static bool str_module_cleanup ( KviModule )
static
static bool str_module_init ( KviModule m)
static