Home
last modified time | relevance | path

Searched refs:clockVfs (Results 1 – 7 of 7) sorted by relevance

/sqlite-3.40.0/test/
H A Dossfuzz.c37 static sqlite3_vfs *clockVfs = 0; in timeOfDay() local
39 if( clockVfs==0 ){ in timeOfDay()
40 clockVfs = sqlite3_vfs_find(0); in timeOfDay()
41 if( clockVfs==0 ) return 0; in timeOfDay()
43 if( clockVfs->iVersion>=2 && clockVfs->xCurrentTimeInt64!=0 ){ in timeOfDay()
44 clockVfs->xCurrentTimeInt64(clockVfs, &t); in timeOfDay()
47 clockVfs->xCurrentTime(clockVfs, &r); in timeOfDay()
H A Dwordcount.c106 static sqlite3_vfs *clockVfs = 0; in realTime() local
108 if( clockVfs==0 ) clockVfs = sqlite3_vfs_find(0); in realTime()
109 if( clockVfs->iVersion>=1 && clockVfs->xCurrentTimeInt64!=0 ){ in realTime()
110 clockVfs->xCurrentTimeInt64(clockVfs, &t); in realTime()
113 clockVfs->xCurrentTime(clockVfs, &r); in realTime()
H A Dkvtest.c664 static sqlite3_vfs *clockVfs = 0; in timeOfDay() local
666 if( clockVfs==0 ) clockVfs = sqlite3_vfs_find(0); in timeOfDay()
667 if( clockVfs->iVersion>=2 && clockVfs->xCurrentTimeInt64!=0 ){ in timeOfDay()
668 clockVfs->xCurrentTimeInt64(clockVfs, &t); in timeOfDay()
671 clockVfs->xCurrentTime(clockVfs, &r); in timeOfDay()
H A Dfuzzcheck.c565 static sqlite3_vfs *clockVfs = 0; in timeOfDay() local
567 if( clockVfs==0 ){ in timeOfDay()
568 clockVfs = sqlite3_vfs_find(0); in timeOfDay()
569 if( clockVfs==0 ) return 0; in timeOfDay()
571 if( clockVfs->iVersion>=1 && clockVfs->xCurrentTimeInt64!=0 ){ in timeOfDay()
572 clockVfs->xCurrentTimeInt64(clockVfs, &t); in timeOfDay()
575 clockVfs->xCurrentTime(clockVfs, &r); in timeOfDay()
H A Dspeedtest1.c268 static sqlite3_vfs *clockVfs = 0; in speedtest1_timestamp()
270 if( clockVfs==0 ) clockVfs = sqlite3_vfs_find(0); in speedtest1_timestamp()
272 if( clockVfs->iVersion>=2 && clockVfs->xCurrentTimeInt64!=0 ){ in speedtest1_timestamp()
273 clockVfs->xCurrentTimeInt64(clockVfs, &t); in speedtest1_timestamp()
278 clockVfs->xCurrentTime(clockVfs, &r); in speedtest1_timestamp()
/sqlite-3.40.0/tool/
H A Dfuzzershell.c776 static sqlite3_vfs *clockVfs = 0; in timeOfDay() local
778 if( clockVfs==0 ) clockVfs = sqlite3_vfs_find(0); in timeOfDay()
779 if( clockVfs->iVersion>=1 && clockVfs->xCurrentTimeInt64!=0 ){ in timeOfDay()
780 clockVfs->xCurrentTimeInt64(clockVfs, &t); in timeOfDay()
783 clockVfs->xCurrentTime(clockVfs, &r); in timeOfDay()
/sqlite-3.40.0/src/
H A Dshell.c.in268 static sqlite3_vfs *clockVfs = 0; local
270 if( clockVfs==0 ) clockVfs = sqlite3_vfs_find(0);
271 if( clockVfs==0 ) return 0; /* Never actually happens */
272 if( clockVfs->iVersion>=2 && clockVfs->xCurrentTimeInt64!=0 ){
273 clockVfs->xCurrentTimeInt64(clockVfs, &t);
276 clockVfs->xCurrentTime(clockVfs, &r);