/external/chromium_org/third_party/sqlite/src/src/ |
test6.c | 129 char *zName; 221 printf("Sync %s (is %s crash)\n", pFile->zName, (isCrash?"a":"not a")); 289 pWrite->nBuf, (int)pWrite->iOffset, pWrite->pFile->zName 301 pWrite->nBuf, (int)pWrite->iOffset, pWrite->pFile->zName 316 1+iLast-iFirst, iFirst, pWrite->pFile->zName 469 const char *zName = pCrash->zName; 471 int nName = strlen(zName); 479 if( nName==nCrashFile && 0==memcmp(zName, zCrashFile, nName) ){ 583 const char *zName, [all...] |
test_onefile.c | 100 const char *zName; 164 static int fsDelete(sqlite3_vfs*, const char *zName, int syncDir); 165 static int fsAccess(sqlite3_vfs*, const char *zName, int flags, int *); 166 static int fsFullPathname(sqlite3_vfs*, const char *zName, int nOut,char *zOut); 189 FS_VFS_NAME, /* zName */ 585 const char *zName, 609 nName = strlen(zName)-((eType==JOURNAL_FILE)?8:0); 611 for(; pReal && strncmp(pReal->zName, zName, nName); pReal=pReal->pNext); 626 pReal->zName = zName [all...] |
delete.c | 35 pTab = sqlite3LocateTable(pParse, 0, pItem->zName, pItem->zDatabase); 69 sqlite3ErrorMsg(pParse, "table %s may not be modified", pTab->zName); 75 sqlite3ErrorMsg(pParse,"cannot modify %s because it is a view",pTab->zName); 107 pFrom->a[0].zAlias = sqlite3DbStrDup(db, pView->zName); 289 zDb = db->aDb[iDb].zName; 290 rcauth = sqlite3AuthCheck(pParse, SQLITE_DELETE, pTab->zName, 0, zDb); 308 sqlite3AuthContextPush(pParse, &sContext, pTab->zName); 356 pTab->zName, P4_STATIC); 548 sqlite3VdbeChangeP4(v, -1, pTab->zName, P4_TRANSIENT);
|
test_devsym.c | 62 static int devsymDelete(sqlite3_vfs*, const char *zName, int syncDir); 63 static int devsymAccess(sqlite3_vfs*, const char *zName, int flags, int *); 64 static int devsymFullPathname(sqlite3_vfs*, const char *zName, int, char *zOut); 80 DEVSYM_VFS_NAME, /* zName */ 268 const char *zName, 276 rc = sqlite3OsOpen(g.pVfs, zName, p->pReal, flags, pOutFlags);
|
journal.c | 197 const char *zName, /* Name of the journal file */ 210 return sqlite3OsOpen(pVfs, zName, pJfd, flags, 0); 215 p->zJournal = zName;
|
select.c | 187 if( sqlite3StrICmp(pTab->aCol[i].zName, zCol)==0 ) return i; 347 char *zName; /* Name of column in the right table */ 351 zName = pRightTab->aCol[j].zName; 352 if( tableAndColumnIndex(pSrc, i+1, zName, &iLeft, &iLeftCol) ){ 386 char *zName; /* Name of the term in the USING clause */ 391 zName = pList->a[j].zName; 392 iRightCol = columnIndex(pRightTab, zName); 394 || !tableAndColumnIndex(pSrc, i+1, zName, &iLeft, &iLeftCol [all...] |
test9.c | 186 char *zName; 196 Tcl_CreateObjCommand(interp, aObjCmd[i].zName,
|
update.c | 66 VdbeComment((v, "%s.%s", pTab->zName, pCol->zName)); 199 if( sqlite3StrICmp(pTab->aCol[j].zName, pChanges->a[i].zName)==0 ){ 209 if( sqlite3IsRowid(pChanges->a[i].zName) ){ 213 sqlite3ErrorMsg(pParse, "no such column: %s", pChanges->a[i].zName); 221 rc = sqlite3AuthCheck(pParse, SQLITE_UPDATE, pTab->zName, 222 pTab->aCol[j].zName, db->aDb[iDb].zName); 291 sqlite3AuthContextPush(pParse, &sContext, pTab->zName); [all...] |
test_vfstrace.c | 68 static int vfstraceDelete(sqlite3_vfs*, const char *zName, int syncDir); 69 static int vfstraceAccess(sqlite3_vfs*, const char *zName, int flags, int *); 70 static int vfstraceFullPathname(sqlite3_vfs*, const char *zName, int, char *); 82 static const char *vfstraceNextSystemCall(sqlite3_vfs*, const char *zName); 484 const char *zName, 494 p->zFName = zName ? fileTail(zName) : "<temp>"; 496 rc = pRoot->xOpen(pRoot, zName, p->pReal, flags, pOutFlags); 684 const char *zName, 689 return pRoot->xSetSystemCall(pRoot, zName, pFunc) [all...] |
sqlite.h.in | [all...] |
test1.c | 117 const char *zName = 0; 119 case SQLITE_OK: zName = "SQLITE_OK"; break; 120 case SQLITE_ERROR: zName = "SQLITE_ERROR"; break; 121 case SQLITE_INTERNAL: zName = "SQLITE_INTERNAL"; break; 122 case SQLITE_PERM: zName = "SQLITE_PERM"; break; 123 case SQLITE_ABORT: zName = "SQLITE_ABORT"; break; 124 case SQLITE_BUSY: zName = "SQLITE_BUSY"; break; 125 case SQLITE_LOCKED: zName = "SQLITE_LOCKED"; break; 126 case SQLITE_LOCKED_SHAREDCACHE: zName = "SQLITE_LOCKED_SHAREDCACHE";break; 127 case SQLITE_NOMEM: zName = "SQLITE_NOMEM"; break [all...] |
test_vfs.c | 80 char *zName; /* Name of this VFS */ 174 static int tvfsDelete(sqlite3_vfs*, const char *zName, int syncDir); 175 static int tvfsAccess(sqlite3_vfs*, const char *zName, int flags, int *); 176 static int tvfsFullPathname(sqlite3_vfs*, const char *zName, int, char *zOut); 525 const char *zName, 540 pFd->zFilename = zName; 576 rc = sqlite3OsOpen(PARENTVFS(pVfs), zName, pFd->pReal, flags, pOutFlags); 951 char *zName; 983 char *zName; 988 zName = ckalloc(p->pParent->mxPathname) [all...] |
fkey.c | 216 if( !sqlite3StrICmp(pParent->aCol[pParent->iPKey].zName, zKey) ) return 0; 262 zIdxCol = pParent->aCol[iCol].zName; 515 zCol = pFKey->pFrom->aCol[iCol].zName; 582 int nName = sqlite3Strlen30(pTab->zName); 583 return (FKey *)sqlite3HashFind(&pTab->pSchema->fkeyHash, pTab->zName, nName); 702 zDb = db->aDb[iDb].zName; 746 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName; 747 rcauth = sqlite3AuthReadCol(pParse, pTo->zName, zCol, iDb); 756 sqlite3TableLock(pParse, iDb, pTo->tnum, 0, pTo->zName); [all...] |
test_quota.c | 289 const char *zName, /* Name of file to be opened */ 305 return pOrigVfs->xOpen(pOrigVfs, zName, pConn, flags, pOutFlags); 312 pGroup = quotaGroupFind(zName); 314 rc = pOrigVfs->xOpen(pOrigVfs, zName, pConn, flags, pOutFlags); 320 rc = pOrigVfs->xOpen(pOrigVfs, zName, pSubOpen, flags, pOutFlags); 322 for(pFile=pGroup->pFiles; pFile && strcmp(pFile->zFilename, zName); 325 int nName = strlen(zName); 334 memcpy(pFile->zFilename, zName, nName+1); 590 gQuota.sThisVfs.zName = "quota"; 790 const char *zName; /* Name of new quota VFS * [all...] |
insert.c | 31 sqlite3TableLock(p, iDb, pTab->tnum, (opcode==OP_OpenWrite)?1:0, pTab->zName); 34 VdbeComment((v, "%s", pTab->zName)); 243 sqlite3VdbeAddOp4(v, OP_String8, 0, memId-1, 0, p->pTab->zName, 0); 488 zTab = pTabList->a[0].zName; 497 zDb = pDb->zName; 498 if( sqlite3AuthCheck(pParse, SQLITE_INSERT, pTab->zName, 0, zDb) ){ 717 if( sqlite3StrICmp(pColumn->a[i].zName, pTab->aCol[j].zName)==0 ){ 726 if( sqlite3IsRowid(pColumn->a[i].zName) ){ 730 pTabList, 0, pColumn->a[i].zName); [all...] |
wal.h | 49 int sqlite3WalOpen(sqlite3_vfs*, sqlite3_file*, const char *zName, int, Wal**);
|
resolve.c | 167 assert( pTab!=0 && pTab->zName!=0 ); 175 char *zTabName = pTab->zName; 179 if( zDb!=0 && sqlite3StrICmp(db->aDb[iDb].zName, zDb)!=0 ){ 191 if( sqlite3StrICmp(pCol->zName, zCol)==0 ){ 212 if( sqlite3StrICmp(pUsing->a[k].zName, zCol)==0 ){ 248 if( sqlite3StrICmp(pCol->zName, zCol)==0 ){ 302 char *zAs = pEList->a[j].zName; 542 auth = sqlite3AuthCheck(pParse, SQLITE_FUNCTION, 0, pDef->zName, 0); 546 pDef->zName); 635 char *zAs = pEList->a[i].zName; [all...] |
sqliteInt.h | 662 char *zName; /* Name of this database */ [all...] |
main.c | [all...] |
vdbeapi.c | 324 rc = db->xWalCallback(db->pWalArg, db, db->aDb[i].zName, nEntry); 546 const char *zName = context->pFunc->zName; 550 "unable to use function %s in the requested context", zName); [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
sqlite3.h | [all...] |
/external/sqlite/dist/orig/ |
sqlite3.h | [all...] |
/external/sqlite/dist/ |
sqlite3.h | [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
malloc_common.tcl | 552 set zName "transient" 558 set zName "persistent" 564 set zName "ridiculous" 585 set testname "$name.$zName.$iFail" 586 do_test "$name.$zName.$iLimit.$iFail" [list set {} $res] $str 641 foreach {nRepeat zName} $modes { 648 do_test $name.$zName.$iFail [list set {} $res] {0 {}} 654 do_test $name.$zName.$iFail [list set {} $res] $str
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
fulltext.c | 475 * zName. This may be more convenient than sqlite_mprintf() 478 static char *string_format(const char *zFormat, const char *zName){ 481 size_t nName = strlen(zName); 494 memcpy(r, zName, nName); 505 static int sql_exec(sqlite3 *db, const char *zName, const char *zFormat){ 506 char *zCommand = string_format(zFormat, zName); 512 static int sql_prepare(sqlite3 *db, const char *zName, sqlite3_stmt **ppStmt, 514 char *zCommand = string_format(zFormat, zName); 565 const char *zName; /* virtual table name */ 600 int rc = sql_prepare(v->db, v->zName, &v->pFulltextStatements[iStmt] [all...] |