Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 74) sorted by relevance

123

/sqlite-3.40.0/ext/wasm/api/
H A Dsqlite3-opfs-async-proxy.js56 state.verbose = 2;
262 Atomics.store(state.sabOPView, state.opIds.rc, value);
263 Atomics.notify(state.sabOPView, state.opIds.rc);
635 if(state.s11n) return state.s11n;
638 viewU8 = new Uint8Array(state.sabIO, state.sabS11nOffset, state.sabS11nSize),
639 viewDV = new DataView(state.sabIO, state.sabS11nOffset, state.sabS11nSize);
725 state.s11n.storeException = state.asyncS11nExceptions
755 state.sabOPView, state.opIds.whichOp, 0, waitTime
799 state.sabOPView = new Int32Array(state.sabOP);
801 state.sabFileBufView = new Uint8Array(state.sabIO, 0, state.fileBufferSize);
[all …]
H A Dsqlite3-api-opfs.js255 state.sabS11nOffset = state.fileBufferSize;
359 Atomics.store(state.sabOPView, state.opIds.rc, -1);
361 Atomics.notify(state.sabOPView, state.opIds.whichOp)
364 Atomics.wait(state.sabOPView, state.opIds.rc, -1)
438 if(state.s11n) return state.s11n;
441 viewU8 = new Uint8Array(state.sabIO, state.sabS11nOffset, state.sabS11nSize),
442 viewDV = new DataView(state.sabIO, state.sabS11nOffset, state.sabS11nSize);
1195 state.sabOPView[state.opIds.xOpen]);
1259 state.sabOPView = new Int32Array(state.sabOP);
1260 state.sabFileBufView = new Uint8Array(state.sabIO, 0, state.fileBufferSize);
[all …]
H A DREADME.md19 Note that the structure described here is the current state of things,
20 not necessarily the "final" state.
43 and C structs, such that changes to the struct state from either JS
90 to communicate their state to the files which follow them. This file
/sqlite-3.40.0/ext/rbu/
H A Drbu_common.tcl18 proc check_prestep_state {target state} { argument
49 set state [rbu state]
51 check_prestep_state $target $state
53 check_poststep_state $rc $target $state
63 set state [rbu state]
64 check_prestep_state $target $state
66 check_poststep_state $rc $target $state
76 set state [rbu state]
77 check_prestep_state $target $state
96 set state [rbu state]
[all …]
H A Drburesume.test51 forcedelete state.db
52 sqlite3rbu_vacuum rbu test.db state.db
89 forcedelete state.db state.db-shm state.db-oal state.db-wal
90 sqlite3rbu_vacuum rbu test.db state.db
108 forcecopy state.db state.db2
141 forcedelete state.db state.db-shm state.db-oal state.db-wal
143 sqlite3rbu_vacuum rbu test.db state.db
149 sqlite3rbu_vacuum rbu test.db state.db
167 forcecopy state.db state.db2
214 forcedelete state.db state.db-shm state.db-oal state.db-wal
[all …]
H A Drbuvacuum2.test20 foreach {ttt state} {
21 s state.db t test.db-vacuum n {}
35 do_rbu_vacuum_test 1.2 $step $state
52 do_rbu_vacuum_test 1.6 $step $state
73 do_rbu_vacuum_test 2.2 $step $state
90 do_rbu_vacuum_test 2.6 $step $state
113 do_rbu_vacuum_test 3.2 $step $state
126 do_rbu_vacuum_test 3.5 $step $state
153 do_rbu_vacuum_test 4.3 $step $state
169 # * Use <database>-vacuum as the state db, and
[all …]
H A Drbuvacuum3.test31 forcedelete state.db
33 sqlite3rbu_vacuum rbu test.db state.db
43 sqlite3rbu_vacuum rbu test.db state.db
54 sqlite3rbu_vacuum rbu test.db state.db
H A Drbu1.test109 # Same as [step_rbu], except using an external state database - "state.db"
113 sqlite3rbu rbu $target $rbu state.db
228 forcedelete state.db
253 do_test $tn3.1.$tn2.$tn.6 { file exists state.db } 1
256 do_test $tn3.1.$tn2.$tn.8 { file exists state.db } 0
394 forcedelete state.db
411 do_test $tn3.4.$tn2.$tn.4 { file exists state.db } 1
414 do_test $tn3.4.$tn2.$tn.6 { file exists state.db } 0
443 forcedelete state.db
460 do_test $tn3.5.$tn2.$tn.4 { file exists state.db } 1
[all …]
H A Drbuvacuum.test294 sqlite3rbu_vacuum rbu test.db state.db
302 sqlite3rbu_vacuum rbu test.db state.db
322 sqlite3rbu_vacuum rbu test.db state.db
330 sqlite3rbu_vacuum rbu test.db state.db
343 forcedelete state.db
365 sqlite3rbu_vacuum rbu test.db state.db
371 sqlite3rbu_vacuum rbu test.db state.db
379 sqlite3rbu_vacuum rbu test.db state.db
387 sqlite3rbu_vacuum rbu test.db state.db
/sqlite-3.40.0/tool/
H A Dstripccomments.c62 enum states state = S_NONE /* current state */; in do_it_all() local
72 switch(state){ in do_it_all()
114 state = S_SLASH1; in do_it_all()
132 state = S_C; in do_it_all()
148 state = S_CPP; in do_it_all()
156 state = S_NONE; in do_it_all()
166 state = S_NONE; in do_it_all()
186 state = S_NONE; in do_it_all()
H A Ddbhash.c33 unsigned int state[5]; member
149 state[0] += a; in SHA1Transform()
150 state[1] += b; in SHA1Transform()
151 state[2] += c; in SHA1Transform()
152 state[3] += d; in SHA1Transform()
153 state[4] += e; in SHA1Transform()
160 g.cx.state[0] = 0x67452301; in hash_init()
161 g.cx.state[1] = 0xEFCDAB89; in hash_init()
162 g.cx.state[2] = 0x98BADCFE; in hash_init()
163 g.cx.state[3] = 0x10325476; in hash_init()
[all …]
H A Dlemon.c358 struct state { struct
967 struct state *stp; in getstate()
1081 struct state *stp; in FindLinks()
1154 struct state *stp; in FindActions()
2263 x,psp->state); in parseonetoken()
3422 struct state *stp; in ReportOutput()
4295 struct state *stp; in ReportTable()
5108 const struct state *pA = *(const struct state**)a; in stateResortCompare()
5109 const struct state *pB = *(const struct state**)b; in stateResortCompare()
5621 newstate = (struct state *)calloc(1, sizeof(struct state) ); in State_new()
[all …]
H A Dmksourceid.c532 unsigned int state[5]; member
582 unsigned int state[5], in SHA1Transform()
630 state[0] += a; in SHA1Transform()
631 state[1] += b; in SHA1Transform()
632 state[2] += c; in SHA1Transform()
633 state[3] += d; in SHA1Transform()
634 state[4] += e; in SHA1Transform()
643 context->state[0] = 0x67452301; in SHA1Init()
644 context->state[1] = 0xEFCDAB89; in SHA1Init()
645 context->state[2] = 0x98BADCFE; in SHA1Init()
[all …]
/sqlite-3.40.0/ext/misc/
H A Dsha1.c37 unsigned int state[5]; member
126 state[0] += a; in SHA1Transform()
127 state[1] += b; in SHA1Transform()
128 state[2] += c; in SHA1Transform()
129 state[3] += d; in SHA1Transform()
130 state[4] += e; in SHA1Transform()
143 p->state[0] = 0x67452301; in hash_init()
144 p->state[1] = 0xEFCDAB89; in hash_init()
145 p->state[2] = 0x98BADCFE; in hash_init()
146 p->state[3] = 0x10325476; in hash_init()
[all …]
/sqlite-3.40.0/test/
H A Dwalcrash3.test41 if {$::state==1} {
44 set ::state 2
46 if {$::state==0 && $method=="xTruncate" && [file tail $file]=="test.db-wal"} {
47 set ::state 1
55 # files set sets $::state to 2. So that the copied files are in the same
56 # state as the real database and WAL files would be if an application crash
59 set ::state 0
66 if {$::state==2} {
H A Dioerr5.test13 # memory from a pager that is in the error-state, SQLite does not
15 # once the pager is in error state).
97 # PAGER_ERROR state. If there are no other read-only cursors open,
99 # switches to PAGER_OPEN state. This read-only cursor stops that
100 # from happening, leaving the pager stuck in PAGER_ERROR state.
105 # within this operation, which moves the pager into the error state.
126 # from the pager that is in error state. Including that associated
137 # memory from the pager in error state.
H A Dwapptest.tcl45 set G(state) "config"
57 set G(state) "running"
116 if { $G(state)=="config" } {
407 set G(state) "stopped"
481 switch $G(state) {
524 set script "script/$G(state).js"
602 if {$::G(state)=="config"} {
623 set G(state) "stopped"
638 set G(state) "config"
642 if {$::G(state) == "running"} {
H A Dmalloctraceviewer.tcl44 $::O(text) configure -state normal
65 $::O(text) configure -state disabled
69 $::O(text) configure -state normal
100 $::O(text) configure -state disabled
H A Dtestrunner.tcl62 state TEXT CHECK( state IN ('ready', 'running', 'done') ),
290 INSERT INTO script(config, filename, slow, state)
H A Dcrash.test48 # crash-1.3: Ensure the database is in the same state as after crash-1.1.
51 # crash-1.5: Ensure the database is in the same state as after crash-1.1.
54 # crash-1.7: Ensure the database is in the same state as after crash-1.1.
130 # crash-2.4: Ensure the database is in the same state as after crash-2.1.
/sqlite-3.40.0/src/
H A Dcomplete.c105 u8 state = 0; /* Current state, using numbers defined in header comment */ in sqlite3_complete() local
176 if( *zSql==0 ) return state==1; in sqlite3_complete()
257 state = trans[state][token]; in sqlite3_complete()
260 return state==1; in sqlite3_complete()
/sqlite-3.40.0/doc/
H A DF2FS.txt64 the database file is in the state that it was in before
73 state that it was in before F2FS_IOC_START_ATOMIC_WRITE was invoked.
75 state indicating that all write() calls were successfully committed
79 completed then the file is automatically restored to the state that
83 half-committed state before the rollback operation occurs.
/sqlite-3.40.0/contrib/
H A Dsqlitecon.tcl603 $m entryconf Copy -state disabled
604 $m entryconf Cut -state disabled
607 $m entryconf Copy -state normal
608 $m entryconf Cut -state normal
611 $m entryconf Copy -state normal
612 $m entryconf Cut -state disabled
/sqlite-3.40.0/ext/wasm/common/
H A Dwhwasmutil.js1030 target.scopedAllocPop = function(state){ argument
1033 ? cache.scopedAlloc.indexOf(state)
1036 if(0===arguments.length) state = cache.scopedAlloc[n];
1038 for(let p; (p = state.pop()); ) target.dealloc(p);
/sqlite-3.40.0/ext/rtree/
H A Dviewrtree.tcl129 .b configure -state normal
130 if {$iNode == 1} {.b configure -state disabled}

123