![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <unicode/utypes.h>#include <unicode/uregex.h>#include <unicode/ustring.h>#include <unicode/ucol.h>#include <assert.h>#include "sqlite3ext.h"
Include dependency graph for sqliteicu.c:Macros | |
| #define | SQLITE_DIRECTONLY 0x000080000 |
| #define | SQLITE_INNOCUOUS 0x000200000 |
| #define | SQLITE_MAX_LIKE_PATTERN_LENGTH 50000 |
| #define | SQLITE_ICU_READ_UTF8(zIn, c) |
| #define | SQLITE_ICU_SKIP_UTF8(zIn) |
| #define | SQLITEICU_EXTRAFLAGS (SQLITE_DETERMINISTIC|SQLITE_INNOCUOUS) |
Functions | |
| static void | icuFunctionError (sqlite3_context *pCtx, const char *zName, UErrorCode e) |
| static void | xFree (void *p) |
| static int | icuLikeCompare (const uint8_t *zPattern, const uint8_t *zString, const UChar32 uEsc) |
| static void | icuLikeFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
| static void | icuRegexpDelete (void *p) |
| static void | icuRegexpFunc (sqlite3_context *p, int nArg, sqlite3_value **apArg) |
| static void | icuCaseFunc16 (sqlite3_context *p, int nArg, sqlite3_value **apArg) |
| static void | icuCollationDel (void *pCtx) |
| static int | icuCollationColl (void *pCtx, int nLeft, const void *zLeft, int nRight, const void *zRight) |
| static void | icuLoadCollation (sqlite3_context *p, int nArg, sqlite3_value **apArg) |
| int | sqlite3IcuInit (sqlite3 *db) |
| int | sqlite3_icu_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
Variables | |
| static const unsigned char | icuUtf8Trans1 [] |
| #define SQLITE_DIRECTONLY 0x000080000 |
| #define SQLITE_ICU_READ_UTF8 | ( | zIn, | |
| c | |||
| ) |
| #define SQLITE_ICU_SKIP_UTF8 | ( | zIn | ) |
| #define SQLITE_INNOCUOUS 0x000200000 |
| #define SQLITE_MAX_LIKE_PATTERN_LENGTH 50000 |
| #define SQLITEICU_EXTRAFLAGS (SQLITE_DETERMINISTIC|SQLITE_INNOCUOUS) |
|
static |
References icuFunctionError(), and xFree().
Referenced by sqlite3IcuInit().
|
static |
Referenced by icuLoadCollation().
Referenced by icuLoadCollation().
|
static |
Referenced by icuCaseFunc16(), icuLoadCollation(), and icuRegexpFunc().
|
static |
References icuLikeCompare(), SQLITE_ICU_READ_UTF8, and SQLITE_ICU_SKIP_UTF8.
Referenced by icuLikeCompare(), and icuLikeFunc().
|
static |
References icuLikeCompare(), and SQLITE_MAX_LIKE_PATTERN_LENGTH.
Referenced by sqlite3IcuInit().
|
static |
References icuCollationColl(), icuCollationDel(), icuFunctionError(), and void().
Referenced by sqlite3IcuInit().
Referenced by icuRegexpFunc().
|
static |
References icuFunctionError(), icuRegexpDelete(), and void().
Referenced by sqlite3IcuInit().
| int sqlite3_icu_init | ( | sqlite3 * | db, |
| char ** | pzErrMsg, | ||
| const sqlite3_api_routines * | pApi | ||
| ) |
References sqlite3IcuInit().
| int sqlite3IcuInit | ( | sqlite3 * | db | ) |
References icuCaseFunc16(), icuLikeFunc(), icuLoadCollation(), icuRegexpFunc(), SQLITE_DIRECTONLY, SQLITEICU_EXTRAFLAGS, and void().
Referenced by dt_database_init(), and sqlite3_icu_init().
Referenced by icuCaseFunc16().
|
static |