Home
last modified time | relevance | path

Searched refs:zType (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
Dvtab.c493 char *zType = pTab->aCol[iCol].zType; in vtabCallConstructor() local
496 if( !zType ) continue; in vtabCallConstructor()
497 nType = sqlite3Strlen30(zType); in vtabCallConstructor()
498 if( sqlite3StrNICmp("hidden", zType, 6)||(zType[6] && zType[6]!=' ') ){ in vtabCallConstructor()
500 if( (0==sqlite3StrNICmp(" hidden", &zType[i], 7)) in vtabCallConstructor()
501 && (zType[i+7]=='\0' || zType[i+7]==' ') in vtabCallConstructor()
510 int nDel = 6 + (zType[i+6] ? 1 : 0); in vtabCallConstructor()
512 zType[j] = zType[j+nDel]; in vtabCallConstructor()
514 if( zType[i]=='\0' && i>0 ){ in vtabCallConstructor()
515 assert(zType[i-1]==' '); in vtabCallConstructor()
[all …]
Dresolve.c53 const char *zType /* "GROUP" or "ORDER" or "" */ in resolveAlias() argument
64 if( pOrig->op!=TK_COLUMN && zType[0]!='G' ){ in resolveAlias()
711 const char *zType, /* "ORDER" or "GROUP" */ in resolveOutOfRangeError() argument
717 "between 1 and %d", i, zType, mx); in resolveOutOfRangeError()
829 const char *zType /* "ORDER" or "GROUP" */ in sqlite3ResolveOrderGroupBy() argument
839 sqlite3ErrorMsg(pParse, "too many terms in %s BY clause", zType); in sqlite3ResolveOrderGroupBy()
848 resolveOutOfRangeError(pParse, zType, i+1, pEList->nExpr); in sqlite3ResolveOrderGroupBy()
851 resolveAlias(pParse, pEList, pItem->iCol-1, pItem->pExpr, zType); in sqlite3ResolveOrderGroupBy()
879 const char *zType /* Either "ORDER" or "GROUP", as appropriate */ in resolveOrderGroupBy() argument
906 resolveOutOfRangeError(pParse, zType, i+1, nResult); in resolveOrderGroupBy()
[all …]
Dattach.c413 const char *zType, /* "view", "trigger", or "index" */ in sqlite3FixInit() argument
423 pFix->zType = zType; in sqlite3FixInit()
458 pFix->zType, pFix->pName, pItem->zDatabase); in sqlite3FixSrcList()
Dbuild.c492 sqlite3DbFree(db, pCol->zType); in sqliteDeleteColumnNames()
1079 assert( pCol->zType==0 ); in sqlite3AddColumnType()
1080 pCol->zType = sqlite3NameFromToken(pParse->db, pType); in sqlite3AddColumnType()
1081 pCol->affinity = sqlite3AffinityType(pCol->zType); in sqlite3AddColumnType()
1145 char *zType = 0; in sqlite3AddPrimaryKey() local
1171 zType = pTab->aCol[iCol].zType; in sqlite3AddPrimaryKey()
1173 if( zType && sqlite3StrICmp(zType, "INTEGER")==0 in sqlite3AddPrimaryKey()
1411 const char *zType; in createTableStmt() local
1425 zType = azType[pCol->affinity - SQLITE_AFF_TEXT]; in createTableStmt()
1426 len = sqlite3Strlen30(zType); in createTableStmt()
[all …]
Dtclsqlite.c808 const char *zType = (pVar->typePtr ? pVar->typePtr->name : ""); in tclSqlFunc() local
809 char c = zType[0]; in tclSqlFunc()
810 if( c=='b' && strcmp(zType,"bytearray")==0 && pVar->bytes==0 ){ in tclSqlFunc()
815 }else if( c=='b' && strcmp(zType,"boolean")==0 ){ in tclSqlFunc()
818 }else if( c=='d' && strcmp(zType,"double")==0 ){ in tclSqlFunc()
822 }else if( (c=='w' && strcmp(zType,"wideInt")==0) || in tclSqlFunc()
823 (c=='i' && strcmp(zType,"int")==0) ){ in tclSqlFunc()
1143 const char *zType = (pVar->typePtr ? pVar->typePtr->name : ""); in dbPrepareAndBind() local
1144 char c = zType[0]; in dbPrepareAndBind()
1146 (c=='b' && strcmp(zType,"bytearray")==0 && pVar->bytes==0) ){ in dbPrepareAndBind()
[all …]
Dselect.c983 char const *zType = 0; in columnType() local
1050 zType = columnType(&sNC, p, &zOriginDb, &zOriginTab, &zOriginCol); in columnType()
1058 zType = "INTEGER"; in columnType()
1061 zType = pTab->aCol[iCol].zType; in columnType()
1085 zType = columnType(&sNC, p, &zOriginDb, &zOriginTab, &zOriginCol); in columnType()
1097 return zType; in columnType()
1117 const char *zType; in generateColumnTypes() local
1122 zType = columnType(&sNC, p, &zOrigDb, &zOrigTab, &zOrigCol); in generateColumnTypes()
1132 zType = columnType(&sNC, p, 0, 0, 0); in generateColumnTypes()
1134 sqlite3VdbeSetColName(v, i, COLNAME_DECLTYPE, zType, SQLITE_TRANSIENT); in generateColumnTypes()
[all …]
Dutil.c1032 static void logBadConnection(const char *zType){ in logBadConnection() argument
1035 zType in logBadConnection()
Dos_unix.c538 char *zOpName, *zType; in lockTrace() local
551 zType = "RDLCK"; in lockTrace()
553 zType = "WRLCK"; in lockTrace()
555 zType = "UNLCK"; in lockTrace()
563 threadid, fd, zOpName, zType, (int)p->l_start, (int)p->l_len, in lockTrace()
570 zType = "RDLCK"; in lockTrace()
572 zType = "WRLCK"; in lockTrace()
574 zType = "UNLCK"; in lockTrace()
579 zType, (int)l2.l_start, (int)l2.l_len, (int)l2.l_pid); in lockTrace()
Dpragma.c888 pCol->zType ? pCol->zType : "", 0); in sqlite3Pragma()
Dalter.c808 pCol->zType = 0; in sqlite3AlterBeginAddColumn()
Dshell.c1193 const char *zType; in dump_callback() local
1201 zType = azArg[1]; in dump_callback()
1227 if( strcmp(zType, "table")==0 ){ in dump_callback()
DsqliteInt.h1098 char *zType; /* Data type for this column */ member
2383 const char *zType; /* Type of the container - used for error messages */ member
Dmain.c2344 zDataType = pCol->zType; in sqlite3_table_column_metadata()
/external/chromium_org/third_party/sqlite/src/tool/
Dshowwal.c241 const char *zType = "unknown"; in decode_btree_page() local
246 case 2: zType = "index interior node"; break; in decode_btree_page()
247 case 5: zType = "table interior node"; break; in decode_btree_page()
248 case 10: zType = "index leaf"; break; in decode_btree_page()
249 case 13: zType = "table leaf"; break; in decode_btree_page()
252 print_decode_line(a, 0, 1, 0, zType); in decode_btree_page()
Dshowdb.c348 const char *zType = "unknown"; in decode_btree_page() local
356 case 2: zType = "index interior node"; break; in decode_btree_page()
357 case 5: zType = "table interior node"; break; in decode_btree_page()
358 case 10: zType = "index leaf"; break; in decode_btree_page()
359 case 13: zType = "table leaf"; break; in decode_btree_page()
369 print_decode_line(a, 0, 1, zType); in decode_btree_page()
/external/sqlite/dist/
Dsqlite3.c10779 char *zType; /* Data type for this column */ member
12144 const char *zType; /* Type of the container - used for error messages */ member
23373 static void logBadConnection(const char *zType){
23376 zType
24954 char *zOpName, *zType;
24967 zType = "RDLCK";
24969 zType = "WRLCK";
24971 zType = "UNLCK";
24979 threadid, fd, zOpName, zType, (int)p->l_start, (int)p->l_len,
24986 zType = "RDLCK";
[all …]
Dshell.c1458 const char *zType; in dump_callback() local
1466 zType = azArg[1]; in dump_callback()
1492 if( strcmp(zType, "table")==0 ){ in dump_callback()
/external/sqlite/dist/orig/
Dsqlite3.c10779 char *zType; /* Data type for this column */ member
12144 const char *zType; /* Type of the container - used for error messages */ member
23373 static void logBadConnection(const char *zType){
23376 zType
24936 char *zOpName, *zType;
24949 zType = "RDLCK";
24951 zType = "WRLCK";
24953 zType = "UNLCK";
24961 threadid, fd, zOpName, zType, (int)p->l_start, (int)p->l_len,
24968 zType = "RDLCK";
[all …]
Dshell.c1453 const char *zType; in dump_callback() local
1461 zType = azArg[1]; in dump_callback()
1487 if( strcmp(zType, "table")==0 ){ in dump_callback()
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c9443 char *zType; /* Data type for this column */ member
10728 const char *zType; /* Type of the container - used for error messages */ member
21252 static void logBadConnection(const char *zType){ in logBadConnection() argument
21255 zType in logBadConnection()
24679 char *zOpName, *zType;
24692 zType = "RDLCK";
24694 zType = "WRLCK";
24696 zType = "UNLCK";
24704 threadid, fd, zOpName, zType, (int)p->l_start, (int)p->l_len,
24711 zType = "RDLCK";
[all …]