Go to the source code of this file.
Classes | |
struct | simple_tokenizer |
struct | simple_tokenizer_cursor |
Functions | |
static int | isDelim (simple_tokenizer *t, unsigned char c) |
static int | simpleCreate (int argc, const char *const *argv, sqlite3_tokenizer **ppTokenizer) |
static int | simpleDestroy (sqlite3_tokenizer *pTokenizer) |
static int | simpleOpen (sqlite3_tokenizer *pTokenizer, const char *pInput, int nBytes, sqlite3_tokenizer_cursor **ppCursor) |
static int | simpleClose (sqlite3_tokenizer_cursor *pCursor) |
static int | simpleNext (sqlite3_tokenizer_cursor *pCursor, const char **ppToken, int *pnBytes, int *piStartOffset, int *piEndOffset, int *piPosition) |
void | sqlite3Fts1SimpleTokenizerModule (sqlite3_tokenizer_module const **ppModule) |
Variables | |
static const sqlite3_tokenizer_module | simpleTokenizerModule |
static int isDelim | ( | simple_tokenizer * | t, | |
unsigned char | c | |||
) | [static] |
Definition at line 47 of file fts1_tokenizer1.c.
References simple_tokenizer::delim.
static int simpleClose | ( | sqlite3_tokenizer_cursor * | pCursor | ) | [static] |
Definition at line 136 of file fts1_tokenizer1.c.
References simple_tokenizer_cursor::pToken, and SQLITE_OK.
static int simpleCreate | ( | int | argc, | |
const char *const * | argv, | |||
sqlite3_tokenizer ** | ppTokenizer | |||
) | [static] |
Definition at line 54 of file fts1_tokenizer1.c.
References simple_tokenizer::base, simple_tokenizer::delim, SQLITE_ERROR, SQLITE_NOMEM, and SQLITE_OK.
static int simpleDestroy | ( | sqlite3_tokenizer * | pTokenizer | ) | [static] |
Definition at line 94 of file fts1_tokenizer1.c.
References SQLITE_OK.
static int simpleNext | ( | sqlite3_tokenizer_cursor * | pCursor, | |
const char ** | ppToken, | |||
int * | pnBytes, | |||
int * | piStartOffset, | |||
int * | piEndOffset, | |||
int * | piPosition | |||
) | [static] |
Definition at line 147 of file fts1_tokenizer1.c.
References simple_tokenizer_cursor::iOffset, isDelim, simple_tokenizer_cursor::iToken, simple_tokenizer_cursor::nBytes, simple_tokenizer_cursor::nTokenAllocated, simple_tokenizer_cursor::pInput, simple_tokenizer_cursor::pToken, sqlite3_tokenizer_cursor::pTokenizer, SQLITE_DONE, SQLITE_NOMEM, and SQLITE_OK.
static int simpleOpen | ( | sqlite3_tokenizer * | pTokenizer, | |
const char * | pInput, | |||
int | nBytes, | |||
sqlite3_tokenizer_cursor ** | ppCursor | |||
) | [static] |
Definition at line 105 of file fts1_tokenizer1.c.
References simple_tokenizer_cursor::base, simple_tokenizer_cursor::iOffset, simple_tokenizer_cursor::iToken, simple_tokenizer_cursor::nBytes, simple_tokenizer_cursor::nTokenAllocated, simple_tokenizer_cursor::pInput, simple_tokenizer_cursor::pToken, SQLITE_NOMEM, and SQLITE_OK.
void sqlite3Fts1SimpleTokenizerModule | ( | sqlite3_tokenizer_module const ** | ppModule | ) |
Definition at line 215 of file fts1_tokenizer1.c.
Referenced by constructVtab().
static const sqlite3_tokenizer_module simpleTokenizerModule [static] |
{ 0, simpleCreate, simpleDestroy, simpleOpen, simpleClose, simpleNext, }
Definition at line 45 of file fts1_tokenizer1.c.
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:58 2011 by Doxygen 1.6.1