Go to the source code of this file.
Classes | |
struct | fts1Hash |
struct | fts1Hash::_fts1ht |
struct | fts1HashElem |
Defines | |
#define | FTS1_HASH_STRING 1 |
#define | FTS1_HASH_BINARY 2 |
#define | fts1HashInit sqlite3Fts1HashInit |
#define | fts1HashInsert sqlite3Fts1HashInsert |
#define | fts1HashFind sqlite3Fts1HashFind |
#define | fts1HashClear sqlite3Fts1HashClear |
#define | fts1HashFirst(H) ((H)->first) |
#define | fts1HashNext(E) ((E)->next) |
#define | fts1HashData(E) ((E)->data) |
#define | fts1HashKey(E) ((E)->pKey) |
#define | fts1HashKeysize(E) ((E)->nKey) |
#define | fts1HashCount(H) ((H)->count) |
Typedefs | |
typedef struct fts1Hash | fts1Hash |
typedef struct fts1HashElem | fts1HashElem |
Functions | |
void | sqlite3Fts1HashInit (fts1Hash *, int keytype, int copyKey) |
void * | sqlite3Fts1HashInsert (fts1Hash *, const void *pKey, int nKey, void *pData) |
void * | sqlite3Fts1HashFind (const fts1Hash *, const void *pKey, int nKey) |
void | sqlite3Fts1HashClear (fts1Hash *) |
#define FTS1_HASH_BINARY 2 |
Definition at line 71 of file fts1_hash.h.
Referenced by compareFunction(), hashFunction(), and sqlite3Fts1HashInit().
#define FTS1_HASH_STRING 1 |
Definition at line 70 of file fts1_hash.h.
Referenced by compareFunction(), fulltextUpdate(), hashFunction(), and sqlite3Fts1HashInit().
#define fts1HashClear sqlite3Fts1HashClear |
Definition at line 87 of file fts1_hash.h.
Referenced by fulltextUpdate(), and removeElementGivenHash().
#define fts1HashCount | ( | H | ) | ((H)->count) |
Definition at line 110 of file fts1_hash.h.
#define fts1HashData | ( | E | ) | ((E)->data) |
Definition at line 103 of file fts1_hash.h.
Referenced by fulltextUpdate().
#define fts1HashFind sqlite3Fts1HashFind |
Definition at line 86 of file fts1_hash.h.
Referenced by buildTerms().
#define fts1HashFirst | ( | H | ) | ((H)->first) |
Definition at line 101 of file fts1_hash.h.
Referenced by fulltextUpdate().
#define fts1HashInit sqlite3Fts1HashInit |
Definition at line 84 of file fts1_hash.h.
Referenced by fulltextUpdate().
#define fts1HashInsert sqlite3Fts1HashInsert |
Definition at line 85 of file fts1_hash.h.
Referenced by buildTerms().
#define fts1HashKey | ( | E | ) | ((E)->pKey) |
Definition at line 104 of file fts1_hash.h.
Referenced by fulltextUpdate().
#define fts1HashKeysize | ( | E | ) | ((E)->nKey) |
Definition at line 105 of file fts1_hash.h.
Referenced by fulltextUpdate().
#define fts1HashNext | ( | E | ) | ((E)->next) |
Definition at line 102 of file fts1_hash.h.
Referenced by fulltextUpdate().
Definition at line 21 of file fts1_hash.h.
typedef struct fts1HashElem fts1HashElem |
Definition at line 22 of file fts1_hash.h.
void sqlite3Fts1HashClear | ( | fts1Hash * | ) |
Definition at line 69 of file fts1_hash.c.
References fts1Hash::copyKey, fts1Hash::count, fts1Hash::first, fts1Hash::ht, fts1Hash::htsize, fts1HashElem::next, fts1HashElem::pKey, and fts1Hash::xFree.
void* sqlite3Fts1HashFind | ( | const fts1Hash * | , | |
const void * | pKey, | |||
int | nKey | |||
) |
Definition at line 278 of file fts1_hash.c.
References fts1HashElem::data, findElementGivenHash(), hashFunction(), fts1Hash::ht, fts1Hash::htsize, and fts1Hash::keyClass.
void sqlite3Fts1HashInit | ( | fts1Hash * | , | |
int | keytype, | |||
int | copyKey | |||
) |
Definition at line 52 of file fts1_hash.c.
References fts1Hash::copyKey, fts1Hash::count, fts1Hash::first, FTS1_HASH_BINARY, FTS1_HASH_STRING, fts1Hash::ht, fts1Hash::htsize, fts1Hash::keyClass, malloc_and_zero(), fts1Hash::xFree, and fts1Hash::xMalloc.
void* sqlite3Fts1HashInsert | ( | fts1Hash * | , | |
const void * | pKey, | |||
int | nKey, | |||
void * | pData | |||
) |
Definition at line 307 of file fts1_hash.c.
References fts1Hash::copyKey, fts1Hash::count, fts1HashElem::data, findElementGivenHash(), hashFunction(), fts1Hash::ht, fts1Hash::htsize, insertElement(), fts1Hash::keyClass, fts1HashElem::nKey, fts1HashElem::pKey, rehash(), removeElementGivenHash(), fts1Hash::xFree, and fts1Hash::xMalloc.
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:58 2011 by Doxygen 1.6.1