Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: third_party/sqlite/src/ext/fts2/fts2_porter.c

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 ** 2006 September 30 2 ** 2006 September 30
3 ** 3 **
4 ** The author disclaims copyright to this source code. In place of 4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing: 5 ** a legal notice, here is a blessing:
6 ** 6 **
7 ** May you do good and not evil. 7 ** May you do good and not evil.
8 ** May you find forgiveness for yourself and forgive others. 8 ** May you find forgiveness for yourself and forgive others.
9 ** May you share freely, never taking more than you give. 9 ** May you share freely, never taking more than you give.
10 ** 10 **
(...skipping 11 matching lines...) Expand all
22 ** * The FTS2 module is being built into the core of 22 ** * The FTS2 module is being built into the core of
23 ** SQLite (in which case SQLITE_ENABLE_FTS2 is defined). 23 ** SQLite (in which case SQLITE_ENABLE_FTS2 is defined).
24 */ 24 */
25 #if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS2) 25 #if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS2)
26 26
27 27
28 #include <assert.h> 28 #include <assert.h>
29 #include <stdlib.h> 29 #include <stdlib.h>
30 #include <stdio.h> 30 #include <stdio.h>
31 #include <string.h> 31 #include <string.h>
32 #include <ctype.h>
33 32
34 #include "fts2_tokenizer.h" 33 #include "fts2_tokenizer.h"
35 34
36 /* 35 /*
37 ** Class derived from sqlite3_tokenizer 36 ** Class derived from sqlite3_tokenizer
38 */ 37 */
39 typedef struct porter_tokenizer { 38 typedef struct porter_tokenizer {
40 sqlite3_tokenizer base; /* Base class */ 39 sqlite3_tokenizer base; /* Base class */
41 } porter_tokenizer; 40 } porter_tokenizer;
42 41
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 ** Allocate a new porter tokenizer. Return a pointer to the new 632 ** Allocate a new porter tokenizer. Return a pointer to the new
634 ** tokenizer in *ppModule 633 ** tokenizer in *ppModule
635 */ 634 */
636 void sqlite3Fts2PorterTokenizerModule( 635 void sqlite3Fts2PorterTokenizerModule(
637 sqlite3_tokenizer_module const**ppModule 636 sqlite3_tokenizer_module const**ppModule
638 ){ 637 ){
639 *ppModule = &porterTokenizerModule; 638 *ppModule = &porterTokenizerModule;
640 } 639 }
641 640
642 #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS2) */ 641 #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS2) */
OLDNEW
« no previous file with comments | « third_party/sqlite/src/ext/fts2/fts2.c ('k') | third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698