Home
last modified time | relevance | path

Searched refs:zFrom (Results 1 – 14 of 14) sorted by relevance

/sqlite-3.40.0/ext/misc/
H A Dfuzzer.c196 char *zFrom; /* Transform from */ member
301 const char *zFrom = (const char *)sqlite3_column_text(pStmt, 1); in fuzzerLoadOneRule() local
310 if( zFrom==0 ) zFrom = ""; in fuzzerLoadOneRule()
312 nFrom = (int)strlen(zFrom); in fuzzerLoadOneRule()
316 if( strcmp(zFrom, zTo)==0 ){ in fuzzerLoadOneRule()
345 pRule->zFrom = pRule->zTo; in fuzzerLoadOneRule()
346 pRule->zFrom += nTo + 1; in fuzzerLoadOneRule()
348 memcpy(pRule->zFrom, zFrom, nFrom+1); in fuzzerLoadOneRule()
740 || memcmp(&pStem->zBasis[pStem->n], pRule->zFrom, pRule->nFrom)==0 in fuzzerAdvance()
998 pCur->nullRule.zFrom = ""; in fuzzerFilter()
H A Damatch.c483 char *zFrom; /* Transform from (a string from user input) */ member
574 const char *zFrom = (const char *)sqlite3_column_text(pStmt, 1); in amatchLoadOneRule() local
583 if( zFrom==0 ) zFrom = ""; in amatchLoadOneRule()
585 nFrom = (int)strlen(zFrom); in amatchLoadOneRule()
589 if( strcmp(zFrom, zTo)==0 ){ in amatchLoadOneRule()
590 if( zFrom[0]=='?' && zFrom[1]==0 ){ in amatchLoadOneRule()
615 if( strcmp(zFrom,"")==0 && strcmp(zTo,"?")==0 ){ in amatchLoadOneRule()
618 if( strcmp(zFrom,"?")==0 && strcmp(zTo,"")==0 ){ in amatchLoadOneRule()
627 pRule->zFrom = &pRule->zTo[nTo+1]; in amatchLoadOneRule()
629 memcpy(pRule->zFrom, zFrom, nFrom+1); in amatchLoadOneRule()
[all …]
H A Dspellfix.c757 const char *zFrom = (const char*)sqlite3_column_text(pStmt, 1); in editDist3ConfigLoad() local
758 int nFrom = zFrom ? sqlite3_column_bytes(pStmt, 1) : 0; in editDist3ConfigLoad()
763 assert( zFrom!=0 || nFrom==0 ); in editDist3ConfigLoad()
782 if( nFrom==1 && zFrom[0]=='?' && nTo==0 ){ in editDist3ConfigLoad()
786 }else if( nFrom==1 && nTo==1 && zFrom[0]=='?' && zTo[0]=='?' ){ in editDist3ConfigLoad()
797 memcpy(pCost->a, zFrom, nFrom); in editDist3ConfigLoad()
/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest6.c253 static void copy_file(const char *zFrom, const char *zTo, int isDatabase){ in copy_file() argument
255 if( access(zFrom, F_OK) ){ in copy_file()
265 fd1 = open(zFrom, O_RDONLY | _O_BINARY, 0644); in copy_file()
291 void testCopyLsmdb(const char *zFrom, const char *zTo){ in testCopyLsmdb() argument
292 char *zLog1 = testMallocPrintf("%s-log", zFrom); in testCopyLsmdb()
294 char *zShm1 = testMallocPrintf("%s-shm", zFrom); in testCopyLsmdb()
300 copy_file(zFrom, zTo, 1); in testCopyLsmdb()
H A Dlsmtest.h219 void testCopyLsmdb(const char *zFrom, const char *zTo);
/sqlite-3.40.0/ext/fts3/
H A Dfts3_porter.c271 const char *zFrom, /* If the ending matches this... (Reversed) */ in stem() argument
276 while( *zFrom && *zFrom==*z ){ z++; zFrom++; } in stem()
277 if( *zFrom!=0 ) return 0; in stem()
/sqlite-3.40.0/ext/fts2/
H A Dfts2_porter.c272 const char *zFrom, /* If the ending matches this... (Reversed) */ in stem() argument
277 while( *zFrom && *zFrom==*z ){ z++; zFrom++; } in stem()
278 if( *zFrom!=0 ) return 0; in stem()
H A Dfts2.c539 static void nappend(StringBuffer *sb, const char *zFrom, int nFrom){ in nappend() argument
543 dataBufferAppend2(&sb->b, zFrom, nFrom, "", 1); in nappend()
546 static void append(StringBuffer *sb, const char *zFrom){ in append() argument
547 nappend(sb, zFrom, strlen(zFrom)); in append()
/sqlite-3.40.0/ext/fts1/
H A Dfts1_porter.c270 const char *zFrom, /* If the ending matches this... (Reversed) */ in stem() argument
275 while( *zFrom && *zFrom==*z ){ z++; zFrom++; } in stem()
276 if( *zFrom!=0 ) return 0; in stem()
H A Dfts1.c78 static void nappend(StringBuffer *sb, const char *zFrom, int nFrom){ in nappend() argument
87 memcpy(sb->s + sb->len, zFrom, nFrom); in nappend()
91 static void append(StringBuffer *sb, const char *zFrom){ in append() argument
92 nappend(sb, zFrom, strlen(zFrom)); in append()
/sqlite-3.40.0/src/
H A Dfkey.c1226 char const *zFrom; /* Name of child table */ in fkActionTrigger() local
1315 zFrom = pFKey->pFrom->zName; in fkActionTrigger()
1316 nFrom = sqlite3Strlen30(zFrom); in fkActionTrigger()
1324 tFrom.z = zFrom; in fkActionTrigger()
1353 memcpy((char *)pStep->zTarget, zFrom, nFrom); in fkActionTrigger()
H A Dshell.c.in6368 const char *zFrom = (const char*)sqlite3_column_text(pSql, 2); local
6402 zIndent, zFrom, zTarget
/sqlite-3.40.0/test/
H A Dthreadtest3.c884 const char *zFrom, in filecopy_x() argument
888 i64 nByte = filesize_x(pErr, zFrom); in filecopy_x()
890 test_error_x(pErr, sqlite3_mprintf("no such file: %s", zFrom)); in filecopy_x()
898 fd1 = open(zFrom, O_RDONLY|O_BINARY); in filecopy_x()
/sqlite-3.40.0/ext/session/
H A Dsqlite3session.c1700 const char *zFrom, in sessionDiffFindModified() argument
1706 pSession->zDb, zFrom, pTab->zName, pTab->azCol, pTab->abPK in sessionDiffFindModified()
1713 pSession->zDb, pTab->zName, zFrom, pTab->zName, zExpr, zExpr2 in sessionDiffFindModified()
1739 const char *zFrom, in sqlite3session_diff() argument
1772 rc = sessionTableInfo(0, db, zFrom, zTbl, &nCol, 0, &azCol, &abPK); in sqlite3session_diff()
1800 zDb, zFrom, pTo->zName, pTo->azCol, pTo->abPK in sqlite3session_diff()
1806 rc = sessionDiffFindNew(SQLITE_INSERT, pSession, pTo, zDb, zFrom, zExpr); in sqlite3session_diff()
1811 rc = sessionDiffFindNew(SQLITE_DELETE, pSession, pTo, zFrom, zDb, zExpr); in sqlite3session_diff()
1816 rc = sessionDiffFindModified(pSession, pTo, zFrom, zExpr); in sqlite3session_diff()