Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 1390) sorted by relevance

12345678910>>...56

/sqlite-3.40.0/test/
H A Dauth.test443 if {$code=="SQLITE_SELECT"} {
452 if {$code=="SQLITE_SELECT"} {
461 if {$code=="SQLITE_SELECT"} {
1536 if {$code=="SQLITE_PRAGMA"} {
1552 if {$code=="SQLITE_PRAGMA"} {
1568 if {$code=="SQLITE_PRAGMA"} {
1899 proc auth {code args} {
1900 if {$code=="SQLITE_REINDEX"} {
1982 proc auth {code args} {
2005 proc auth {code args} {
[all …]
H A Dtkt3424.test3 # The author disclaims copyright to this source code. In place of
20 CREATE TABLE names(id INTEGER, data TEXT, code TEXT);
24 CREATE TABLE orig(code TEXT, data TEXT);
37 ON names.data = orig.data AND names.code = orig.code;
42 execsql { CREATE INDEX udx_orig_code_data ON orig(code, data) }
49 ON names.data = orig.data AND names.code = orig.code;
H A Dfts3al.test3 # The author disclaims copyright to this source code.
8 # FTS3 module. Unfortunately, this code isn't a really principled set
44 # The snippet-generation code has calls to isspace() which are sort of
54 # The trailing and leading hi-bit chars help with code which tests for
57 # UPDATE: The above is no longer true; there is no such code in fts3.
H A Dfts4check.test3 # The author disclaims copyright to this source code. In place of
41 # 1.1: Run the integrity check code to check it passes.
45 # this causes the integrity-check code to fail.
85 # 2.1: Run the integrity check code to check it passes.
89 # this causes the integrity-check code to fail.
119 # 3.1: Run the integrity check code to check it passes.
123 # this causes the integrity-check code to fail.
H A Dauth3.test3 # The author disclaims copyright to this source code. In place of
32 proc auth {code arg1 arg2 arg3 arg4 args} {
33 if {$code=="SQLITE_DELETE"} {
119 proc auth {code args} {
120 if {$code=="SQLITE_READ" && [regexp {DoNotRead} $args]} {
H A Dfts1j.test3 # The author disclaims copyright to this source code.
50 # In older code, this appears to work fine, but the t2_* tables used
68 # In older code, this broke because the fts1 code attempted to create
71 # fts1 code would never be called in the first place.
H A Dfts3aj.test3 # The author disclaims copyright to this source code.
48 # In older code, this appears to work fine, but the t2_* tables used
66 # In older code, this broke because the fts3 code attempted to create
69 # fts3 code would never be called in the first place.
H A Dfts2j.test3 # The author disclaims copyright to this source code.
50 # In older code, this appears to work fine, but the t2_* tables used
68 # In older code, this broke because the fts2 code attempted to create
71 # fts2 code would never be called in the first place.
H A De_blobwrite.test3 # The author disclaims copyright to this source code. In place of
43 # SQLITE_OK. Otherwise, an error code or an extended error code is
72 # the error code as the Tcl exception message.
88 # function sets the database connection error code and message
137 # handle fails with an error code of SQLITE_ABORT.
H A Dvtab3.test3 # The author disclaims copyright to this source code. In place of
28 proc auth {code arg1 arg2 arg3 arg4 args} {
29 if {[lsearch $::auth_filter $code]>-1} {
32 lappend ::auth_log $code $arg1 $arg2 $arg3 $arg4
H A Dfts1k.test3 # The author disclaims copyright to this source code.
8 # FTS1 module. Unfortunately, this code isn't a really principled set
44 # The snippet-generation code has calls to isspace() which are sort of
54 # The trailing and leading hi-bit chars help with code which tests for
H A Dfts2l.test3 # The author disclaims copyright to this source code.
8 # FTS2 module. Unfortunately, this code isn't a really principled set
44 # The snippet-generation code has calls to isspace() which are sort of
54 # The trailing and leading hi-bit chars help with code which tests for
H A Dprogress.test3 # The author disclaims copyright to this source code. In place of
48 db progress 1 "[namespace code {incr counter}] ; expr 0"
65 db progress 1 "[namespace code {incr counter}] ; expr 1"
77 db progress 1 "[namespace code {incr five_rows}] ; expr 0"
128 db progress 0 "[namespace code {incr counter}] ; expr 0"
H A Dinterrupt.test3 # The author disclaims copyright to this source code. In place of
34 set ::code [db errorcode]
35 expr {$::code==0 || $::code==9}
37 if {$::code==9} {
/sqlite-3.40.0/ext/fts3/unicode/
H A Dparseunicode.tcl33 code
64 set iCode [expr "0x$code"]
107 code
133 set iCode [expr "0x$code"]
172 code
198 lappend lRet [list $code $general_category]
H A Dmkunicode.tcl108 foreach {code char flag} $m {}
110 if {$code && $char == ""} { lappend lCode $code }
345 set mapping $tl_lookup_table($code)
347 set iFirst $code
348 set nOff [expr $mapping - $code]
360 set iFirst $code
361 set nOff [expr $mapping - $code]
545 proc code {txt} { procedure
620 puts [code {
698 puts [code {
[all …]
/sqlite-3.40.0/
H A DREADME.md3 This repository contains the complete source code for the
24 If you pulled your SQLite source code from a secondary source and want to
117 code, adding the "DEBUG=1" argument to one of the above command lines is
122 a lot of generated code and Tcl is used to do much of that code generation.
139 Additional test code is found in other source repositories.
143 The **ext/** subdirectory contains code for extensions. The
149 for building generated source code files or for testing or for generating
207 source code files into a single big source code file allows the C compiler
224 all of the source code is contained within a single translation unit so
242 complex code. So there is a lot of complexity in the current SQLite
[all …]
/sqlite-3.40.0/tool/
H A Dmksqlite3c-noext.tcl65 ** version $VERSION. By combining all the individual C code files into this
66 ** single large file, the entire code can be compiled as a single translation
77 ** of the embedded sqlite3.h header file.) Additional code files may be needed
79 ** language. The code for the "sqlite3" command-line shell is also in a
80 ** separate file. This file contains only code for the core SQLite library.
H A Dmksqlite3c.tcl88 ** version $VERSION. By combining all the individual C code files into this
89 ** single large file, the entire code can be compiled as a single translation
100 ** of the embedded sqlite3.h header file.) Additional code files may be needed
102 ** language. The code for the "sqlite3" command-line shell is also in a
103 ** separate file. This file contains only code for the core SQLite library.
H A Dmkshellc.tcl18 ** code from various constituent source files of SQLite into this single
21 ** Most of the code found below comes from the "src/shell.c.in" file in
26 ** The code from multiple files is combined into this single "shell.c"
/sqlite-3.40.0/ext/fts2/
H A DREADME.tokenizers58 See "Sample code" below for an example of calling the fts2_tokenizer()
59 function from C code.
84 4. Sample code.
86 The following two code samples illustrate the way C code should invoke
H A Dmkfts2amal.tcl30 ** code files into this single large file, the entire code can be compiled
33 ** makes the code easier to import into other projects.
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5unicode3.test3 # The author disclaims copyright to this source code. In place of
39 foreach {code ascii f} $y {}
45 set aDiacritic($code,$f) $int
46 if {$f==0} { set aDiacritic($code,1) $int }
H A Dfts5aux.test3 # The author disclaims copyright to this source code. In place of
113 # the query is abandoned. And that if it returns an error code other than
125 proc xCallback {rowid code cmd} {
128 if {$r==$rowid} { return $code }
132 proc phrasequery {cmd code} {
134 $cmd xQueryPhrase 1 [list xCallback [$cmd xRowid] $code]
/sqlite-3.40.0/ext/fts3/
H A DREADME.tokenizers60 See "Sample code" below for an example of calling the fts3_tokenizer()
61 function from C code.
86 4. Sample code.
88 The following two code samples illustrate the way C code should invoke

12345678910>>...56