| /PHP_5_3/ext/sqlite/libsqlite/src/ |
| H A D | attach.c | 29 char *zFile, *zName; local 61 zName = 0; 62 sqliteSetNString(&zName, pDbname->z, pDbname->n, 0); 63 if( zName==0 ) return; 64 sqliteDequote(zName); 66 if( db->aDb[i].zName && sqliteStrICmp(db->aDb[i].zName, zName)==0 ){ 67 sqliteErrorMsg(pParse, "database %z is already in use", zName); 89 aNew->zName [all...] |
| H A D | auth.c | 135 zCol = pTab->aCol[pExpr->iColumn].zName; 138 zCol = pTab->aCol[pTab->iPKey].zName; 143 zDBase = db->aDb[pExpr->iDb].zName; 144 rc = db->xAuth(db->pAuthArg, SQLITE_READ, pTab->zName, zCol, zDBase, 151 zDBase, pTab->zName, zCol); 153 sqliteErrorMsg(pParse, "access to %s.%s is prohibited", pTab->zName,zCol);
|
| H A D | build.c | 105 Table *sqliteFindTable(sqlite *db, const char *zName, const char *zDatabase){ argument 110 if( zDatabase!=0 && sqliteStrICmp(zDatabase, db->aDb[j].zName) ) continue; 111 p = sqliteHashFind(&db->aDb[j].tblHash, zName, strlen(zName)+1); 128 Table *sqliteLocateTable(Parse *pParse, const char *zName, const char *zDbase){ argument 131 p = sqliteFindTable(pParse->db, zName, zDbase); 134 sqliteErrorMsg(pParse, "no such table: %s.%s", zDbase, zName); 135 }else if( sqliteFindTable(pParse->db, zName, 0)!=0 ){ 137 zName, zDbase); 139 sqliteErrorMsg(pParse, "no such table: %s", zName); 157 sqliteFindIndex(sqlite *db, const char *zName, const char *zDb) argument 390 char *zName = sqliteStrNDup(pName->z, pName->n); local 432 char *zName; local 1159 char *zName; local 1483 char *zName = 0; local 1987 sqliteIdListIndex(IdList *pList, const char *zName) argument [all...] |
| H A D | copy.c | 52 zDb = db->aDb[pTab->iDb].zName; 53 if( sqliteAuthCheck(pParse, SQLITE_INSERT, pTab->zName, 0, zDb) 54 || sqliteAuthCheck(pParse, SQLITE_COPY, pTab->zName, zFile, zDb) ){
|
| H A D | date.c | 860 char *zName; member in struct:__anon384 874 sqlite_create_function(db, aFuncs[i].zName, 877 sqlite_function_type(db, aFuncs[i].zName, aFuncs[i].dataType);
|
| H A D | delete.c | 28 const char *zTab = pSrc->a[i].zName; 43 sqliteErrorMsg(pParse, "table %s may not be modified", pTab->zName); 47 sqliteErrorMsg(pParse, "cannot modify %s because it is a view",pTab->zName); 103 zDb = db->aDb[pTab->iDb].zName; 104 if( sqliteAuthCheck(pParse, SQLITE_DELETE, pTab->zName, 0, zDb) ){ 136 sqliteAuthContextPush(pParse, &sContext, pTab->zName);
|
| H A D | expr.c | 173 pItem->zName = sqliteStrDup(p->a[i].zName); 193 pNewItem->zName = sqliteStrDup(pOldItem->zName); 216 pNewItem->zName = sqliteStrDup(pOldItem->zName); 272 sqliteSetNString(&pItem->zName, pName->z, pName->n, 0); 273 sqliteDequote(pItem->zName); 289 sqliteFree(pList->a[i].zName); 460 char *zTabName = pTab->zName; 1630 sqliteFindFunction( sqlite *db, const char *zName, int nName, int nArg, int createFlag ) argument [all...] |
| H A D | insert.c | 125 zTab = pTabList->a[0].zName; 132 zDb = db->aDb[pTab->iDb].zName; 133 if( sqliteAuthCheck(pParse, SQLITE_INSERT, pTab->zName, 0, zDb) ){ 287 if( sqliteStrICmp(pColumn->a[i].zName, pTab->aCol[j].zName)==0 ){ 296 if( sqliteIsRowid(pColumn->a[i].zName) ){ 300 pTabList, 0, pColumn->a[i].zName); 674 sqliteSetString(&zMsg, pTab->zName, ".", pTab->aCol[i].zName, 808 char *zCol = pTab->aCol[pIdx->aiColumn[j]].zName; [all...] |
| H A D | main.c | 103 pIndex = sqliteFindIndex(db, argv[1], db->aDb[iDb].zName); 148 assert( sqliteStrICmp(pTab->zName, argv[0])==0 ); 171 assert( sqliteStrICmp(pTab->zName, argv[0])==0 ); 249 pTab = sqliteFindTable(db, zMasterName, db->aDb[iDb].zName); 306 db->aDb[iDb].zName, (char*)0); 309 "database: ", db->aDb[iDb].zName, (char*)0); 340 db->aDb[iDb].zName, "\".", zMasterName, (char*)0); 344 db->aDb[iDb].zName, "\".", zMasterName, 513 db->aDb[0].zName = "main"; 514 db->aDb[1].zName 993 sqlite_create_function( sqlite *db, const char *zName, int nArg, void (*xFunc)(sqlite_func*,int,const char**), void *pUserData ) argument 1014 sqlite_create_aggregate( sqlite *db, const char *zName, int nArg, void (*xStep)(sqlite_func*,int,const char**), void (*xFinalize)(sqlite_func*), void *pUserData ) argument 1042 sqlite_function_type(sqlite *db, const char *zName, int dataType) argument [all...] |
| H A D | pragma.c | 116 const char *zName; /* Name of the pragma */ member in struct:__anon392 128 if( sqliteStrICmp(zLeft, aPragma[i].zName)==0 ){ 132 sqliteVdbeOp3(v, OP_ColumnName, 0, 1, aPragma[i].zName, P3_STATIC); 383 sqliteVdbeOp3(v, OP_String, 0, 0, pTab->aCol[i].zName, 0); 413 sqliteVdbeOp3(v, OP_String, 0, 0, pTab->aCol[cnum].zName, 0); 438 sqliteVdbeOp3(v, OP_String, 0, 0, pIdx->zName, 0); 473 pTab->aCol[pFK->aCol[j].iFrom].zName, 0); 494 assert( db->aDb[i].zName!=0 ); 496 sqliteVdbeOp3(v, OP_String, 0, 0, db->aDb[i].zName, 0); 627 sqliteVdbeChangeP3(v, addr+13, db->aDb[i].zName, P3_STATI [all...] |
| H A D | printf.c | 586 (*func)(arg, pItem->zName, strlen(pItem->zName));
|
| H A D | select.c | 142 if( sqliteStrICmp(pTab->aCol[i].zName, zCol)==0 ) return i; 167 dummy.z = pTab1->zName; 170 dummy.z = pTab2->zName; 231 if( columnIndex(pOther->pTab, pTab->aCol[j].zName)>=0 ){ 232 addWhereTerm(pTab->aCol[j].zName, pTab, pOther->pTab, &p->pWhere); 271 if( columnIndex(pTerm->pTab, pList->a[j].zName)<0 || 272 columnIndex(pOther->pTab, pList->a[j].zName)<0 ){ 274 "not present in both tables", pList->a[j].zName); 277 addWhereTerm(pList->a[j].zName, pTerm->pTab, pOther->pTab, &p->pWhere); 719 if( pEList->a[i].zName ){ 720 char *zName = pEList->a[i].zName; local 742 char *zName = 0; local 756 char zName[30]; local 981 char *zName = pTab->aCol[j].zName; local 1128 char *zName, *zLabel; local [all...] |
| H A D | sqlite.h.in | 455 const char *zName, /* Name of the new function */ 462 const char *zName, /* Name of the function */ 482 const char *zName, /* Name of the function */
|
| H A D | sqlite.w32.h | 425 const char *zName, /* Name of the new function */ 432 const char *zName, /* Name of the function */ 453 const char *zName, /* Name of the function */
|
| H A D | sqliteInt.h | 261 char *zName; /* Name of this database */ member in struct:Db 443 char *zName; /* Name of this column */ member in struct:Column 449 u8 dottedName; /* True if zName contains a "." character */ 470 ** Table.zName is the name of the table. The case of the original 497 char *zName; /* Name of the table */ member in struct:Table 620 char *zName; /* Name of this index */ member in struct:Index 718 ** also be used as the argument to a function, in which case the a.zName 726 char *zName; /* Token associated with this expression */ member in struct:ExprList::ExprList_item 752 char *zName; /* Name of the identifier */ member in struct:IdList::IdList_item 753 int idx; /* Index in some Table.aCol[] of a column named zName */ 773 char *zName; /* Name of the table */ member in struct:SrcList::SrcList_item [all...] |
| H A D | tokenize.c | 31 char *zName; /* The keyword name */ member in struct:Keyword 166 aKeywordTable[i].len = strlen(aKeywordTable[i].zName); 167 h = sqliteHashNoCase(aKeywordTable[i].zName, aKeywordTable[i].len); 179 if( p->len==n && sqliteStrNICmp(p->zName, z, n)==0 ){
|
| H A D | trigger.c | 54 char *zName = 0; /* Name of the trigger */ local 81 "database %s", db->aDb[tab->iDb].zName); 85 zName = sqliteStrNDup(pName->z, pName->n); 86 sqliteDequote(zName); 87 if( sqliteHashFind(&(db->aDb[iDb].trigHash), zName,pName->n+1) ){ 91 if( sqliteStrNICmp(tab->zName, "sqlite_", 7)==0 ){ 109 const char *zDb = db->aDb[tab->iDb].zName; 110 const char *zDbTrig = isTemp ? db->aDb[1].zName : zDb; 112 if( sqliteAuthCheck(pParse, code, zName, tab->zName, zDbTri 392 const char *zName; local 480 const char *zName = pTrigger->name; local [all...] |
| H A D | update.c | 124 if( sqliteStrICmp(pTab->aCol[j].zName, pChanges->a[i].zName)==0 ){ 134 if( sqliteIsRowid(pChanges->a[i].zName) ){ 138 sqliteErrorMsg(pParse, "no such column: %s", pChanges->a[i].zName); 145 rc = sqliteAuthCheck(pParse, SQLITE_UPDATE, pTab->zName, 146 pTab->aCol[j].zName, db->aDb[pTab->iDb].zName); 207 sqliteAuthContextPush(pParse, &sContext, pTab->zName);
|
| H A D | where.c | 709 pTab->zName, P3_STATIC); 713 sqliteVdbeOp3(v, OP_OpenRead, pWInfo->a[i].iCur, pIx->tnum, pIx->zName,0);
|
| /PHP_5_3/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 1346 ** The zName field holds the name of the VFS module. The name must 1478 const char *zName; /* Name of this virtual file system */ member in struct:sqlite3_vfs 1480 int (*xOpen)(sqlite3_vfs*, const char *zName, sqlite3_file*, 1482 int (*xDelete)(sqlite3_vfs*, const char *zName, int syncDir); 1483 int (*xAccess)(sqlite3_vfs*, const char *zName, int flags, int *pResOut); 1484 int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut); 1502 int (*xSetSystemCall)(sqlite3_vfs*, const char *zName, sqlite3_syscall_ptr); 1503 sqlite3_syscall_ptr (*xGetSystemCall)(sqlite3_vfs*, const char *zName); 1504 const char *(*xNextSystemCall)(sqlite3_vfs*, const char *zName); 3654 SQLITE_API int sqlite3_bind_parameter_index(sqlite3_stmt*, const char *zName); 9271 char *zName; /* Name of this database */ member in struct:Db 9595 char *zName; /* SQL name of the function. */ member in struct:FuncDef 9675 char *zName; /* Savepoint name (nul-terminated) */ member in struct:Savepoint 9696 const char *zName; /* Name passed to create_module() */ member in struct:Module 9706 char *zName; /* Name of this column */ member in struct:Column 9741 char *zName; /* Name of the collating sequence, UTF-8 encoded */ member in struct:CollSeq 9882 char *zName; /* Name of the table or view */ member in struct:Table 10084 char *zName; /* Name of this index */ member in struct:Index 10369 char *zName; /* Token associated with this expression */ member in struct:ExprList::ExprList_item 10406 char *zName; /* Name of the identifier */ member in struct:IdList::IdList_item 10451 char *zName; /* Name of the table */ member in struct:SrcList::SrcList_item 10912 char *zName; /* The name of the trigger */ member in struct:Trigger 23800 os2Open( sqlite3_vfs *pVfs, const char *zName, sqlite3_file *id, int flags, int *pOutFlags ) argument 24777 const char *zName; /* Name of the sytem call */ member in struct:unix_syscall 24874 unixSetSystemCall( sqlite3_vfs *pNotUsed, const char *zName, sqlite3_syscall_ptr pNewFunc ) argument 24936 unixNextSystemCall(sqlite3_vfs *p, const char *zName) argument 29401 const char *zName = zPath; local 31887 WCHAR *zName = utf8ToUnicode(zFilename); local 33514 winOpen( sqlite3_vfs *pVfs, const char *zName, sqlite3_file *id, int flags, int *pOutFlags ) argument 44380 static char zName[15]; local 44381 sqlite3_snprintf(sizeof(zName), zName, "READ-LOCK[%d]", local 59246 sqlite3VdbeSetColName( Vdbe *p, int idx, int var, const char *zName, void (*xDel)(void*) ) argument 61348 const char *zName = context->pFunc->zName; local 61991 sqlite3VdbeParameterIndex(Vdbe *p, const char *zName, int nName) argument 62006 sqlite3_bind_parameter_index(sqlite3_stmt *pStmt, const char *zName) argument 63039 char *zName; /* Name of savepoint */ member in struct:vdbeExecUnion::OP_Savepoint_stack_vars 69576 sqlite3JournalOpen( sqlite3_vfs *pVfs, const char *zName, sqlite3_file *pJfd, int flags, int nBuf ) argument 75313 reloadTableSchema(Parse *pParse, Table *pTab, const char *zName) argument 75362 isSystemTable(Parse *pParse, const char *zName) argument 75382 char *zName = 0; /* NULL-terminated version of pName */ local 75850 const char *zName; member in struct:__anon419 76601 const char *zName; local 76785 const char *zName = (const char *)sqlite3_value_text(argv[0]); local 76801 sqlite3_snprintf(sizeof(zErr),zErr, "no such database: %s", zName); local 76805 sqlite3_snprintf(sizeof(zErr),zErr, "cannot detach database %s", zName); local 76814 sqlite3_snprintf(sizeof(zErr),zErr, "database %s is locked", zName); local 77385 const char *zName; /* Name of the table */ member in struct:TableLock 77607 sqlite3FindTable(sqlite3 *db, const char *zName, const char *zDatabase) argument 77635 sqlite3LocateTable( Parse *pParse, int isView, const char *zName, const char *zDbase ) argument 77674 sqlite3FindIndex(sqlite3 *db, const char *zName, const char *zDb) argument 77860 char *zName = pIndex->zName; local 77922 char *zName; local 77952 sqlite3FindDbName(sqlite3 *db, const char *zName) argument 77975 char *zName; /* Name we are searching for */ local 78035 sqlite3CheckObjectName(Parse *pParse, const char *zName) argument 78071 char *zName = 0; /* The name of the new table */ local 78610 sqlite3LocateCollSeq(Parse *pParse, const char *zName) argument 78986 const char *zName = (const char *)pParse->sNameToken.z; local 79746 char *zName = 0; /* Name of the index */ local 80401 sqlite3IdListIndex(IdList *pList, const char *zName) argument 80752 char *zName = sqlite3NameFromToken(pParse->db, pName); local 81119 callCollNeeded(sqlite3 *db, int enc, const char *zName) argument 81217 const char *zName = pColl->zName; local 81245 findCollSeqEntry( sqlite3 *db, const char *zName, int create ) argument 81298 sqlite3FindCollSeq( sqlite3 *db, u8 enc, const char *zName, int create ) argument 81421 sqlite3FindFunction( sqlite3 *db, const char *zName, int nName, int nArg, u8 enc, int createFlag ) argument 83646 setLikeOptFlag(sqlite3 *db, const char *zName, u8 flagVal) argument 88250 const char *zName; /* Name of the pragma */ member in struct:sPragmaType 88332 const char *zName; local 89331 char *zName; member in struct:EncName 90817 char *zName; /* Name of column in the right table */ local 90856 char *zName; /* Name of the term in the USING clause */ local 91641 char *zName = pEList->a[i].zName; local 91663 char *zName = 0; local 91702 char *zName; /* Column name */ local 93779 char *zName = pTab->aCol[j].zName; local 95230 char *zName = 0; /* Name of the trigger */ local 95400 char *zName; /* Name of trigger */ local 95616 const char *zName; local 95723 sqlite3UnlinkAndDeleteTrigger(sqlite3 *db, int iDb, const char *zName) argument 97298 createModule( sqlite3 *db, const char *zName, const sqlite3_module *pModule, void *pAux, void (*xDestroy)(void *) ) argument 97340 sqlite3_create_module( sqlite3 *db, const char *zName, const sqlite3_module *pModule, void *pAux ) argument 97352 sqlite3_create_module_v2( sqlite3 *db, const char *zName, const sqlite3_module *pModule, void *pAux, void (*xDestroy)(void *) ) argument 97663 const char *zName = pTab->zName; local 109123 sqlite3_overload_function( sqlite3 *db, const char *zName, int nArg ) argument 109539 createCollation( sqlite3* db, const char *zName, u8 enc, u8 collType, void* pCtx, int(*xCompare)(void*,int,const void*,int,const void*), void(*xDel)(void*) ) argument 110267 sqlite3_create_collation( sqlite3* db, const char *zName, int enc, void* pCtx, int(*xCompare)(void*,int,const void*,int,const void*) ) argument 110286 sqlite3_create_collation_v2( sqlite3* db, const char *zName, int enc, void* pCtx, int(*xCompare)(void*,int,const void*,int,const void*), void(*xDel)(void*) ) argument 110307 sqlite3_create_collation16( sqlite3* db, const void *zName, int enc, void* pCtx, int(*xCompare)(void*,int,const void*,int,const void*) ) argument 111943 const char *zName; /* virtual table name */ member in struct:Fts3Table 114883 fts3FindFunctionMethod( sqlite3_vtab *pVtab, int nArg, const char *zName, void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), void **ppArg ) argument 114891 const char *zName; member in struct:Overloaded 117699 queryTestTokenizer( sqlite3 *db, const char *zName, const sqlite3_tokenizer_module **pp ) argument 118960 const unsigned char *zName; local 119146 const char *zName; local 119223 registerTokenizer( sqlite3 *db, char *zName, const sqlite3_tokenizer_module *p ) argument 119245 queryTokenizer( sqlite3 *db, char *zName, const sqlite3_tokenizer_module **pp ) argument 124534 char *zName; /* Name of r-tree table */ member in struct:Rtree 127868 icuFunctionError( sqlite3_context *pCtx, const char *zName, UErrorCode e ) argument 128083 const char *zName; /* SQL Collation sequence name (eg. "japanese") */ local 128116 const char *zName; /* Function name */ member in struct:IcuScalar [all...] |
| H A D | sqlite3.h | 799 ** The zName field holds the name of the VFS module. The name must 931 const char *zName; /* Name of this virtual file system */ member in struct:sqlite3_vfs 933 int (*xOpen)(sqlite3_vfs*, const char *zName, sqlite3_file*, 935 int (*xDelete)(sqlite3_vfs*, const char *zName, int syncDir); 936 int (*xAccess)(sqlite3_vfs*, const char *zName, int flags, int *pResOut); 937 int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut); 955 int (*xSetSystemCall)(sqlite3_vfs*, const char *zName, sqlite3_syscall_ptr); 956 sqlite3_syscall_ptr (*xGetSystemCall)(sqlite3_vfs*, const char *zName); 957 const char *(*xNextSystemCall)(sqlite3_vfs*, const char *zName); 3107 SQLITE_API int sqlite3_bind_parameter_index(sqlite3_stmt*, const char *zName); [all...] |
| H A D | sqlite3ext.h | 43 int (*bind_parameter_index)(sqlite3_stmt*,const char*zName);
|