Searched refs:pList (Results 1 - 17 of 17) sorted by relevance

/osnet-11/usr/src/lib/libsqlite/src/
H A Dbuild.c664 ** Designate the PRIMARY KEY for the table. pList is a list of names
665 ** of columns that form the primary key. If pList is NULL, then the
683 void sqliteAddPrimaryKey(Parse *pParse, IdList *pList, int onError){ argument
694 if( pList==0 ){
698 for(i=0; i<pList->nId; i++){
700 if( sqliteStrICmp(pList->a[i].zName, pTab->aCol[iCol].zName)==0 ) break;
704 if( pList->nId>1 ) iCol = -1;
714 sqliteCreateIndex(pParse, 0, 0, pList, onError, 0, 0);
715 pList = 0;
719 sqliteIdListDelete(pList);
1475 sqliteCreateIndex( Parse *pParse, Token *pName, SrcList *pTable, IdList *pList, int onError, Token *pStart, Token *pEnd ) argument
1843 sqliteIdListAppend(IdList *pList, Token *pToken) argument
1899 sqliteSrcListAppend(SrcList *pList, Token *pTable, Token *pDatabase) argument
1953 sqliteSrcListAssignCursors(Parse *pParse, SrcList *pList) argument
1965 sqliteSrcListAddAlias(SrcList *pList, Token *pToken) argument
1976 sqliteIdListDelete(IdList *pList) argument
1990 sqliteIdListIndex(IdList *pList, const char *zName) argument
2002 sqliteSrcListDelete(SrcList *pList) argument
[all...]
H A Dexpr.c77 Expr *sqliteExprFunction(ExprList *pList, Token *pToken){ argument
81 /* sqliteExprListDelete(pList); // Leak pList when malloc fails */
85 pNew->pList = pList;
105 sqliteExprListDelete(p->pList);
138 pNew->pList = sqliteExprListDup(p->pList);
248 ** Add a new element to the end of an expression list. If pList is
251 ExprList *sqliteExprListAppend(ExprList *pList, Exp argument
285 sqliteExprListDelete(ExprList *pList) argument
771 ExprList *pList = pExpr->pList; local
993 ExprList *pList = p->pList; local
1153 ExprList *pList = pExpr->pList; local
1273 sqliteExprCodeExprList( Parse *pParse, ExprList *pList, int includeTypes ) argument
[all...]
H A Dattach.c223 SrcList *pList /* The Source list to check and modify */
228 if( pList==0 ) return 0;
230 for(i=0; i<pList->nSrc; i++){
231 if( pList->a[i].zDatabase==0 ){
232 pList->a[i].zDatabase = sqliteStrDup(zDb);
233 }else if( sqliteStrICmp(pList->a[i].zDatabase,zDb)!=0 ){
237 pList->a[i].zDatabase);
240 if( sqliteFixSelect(pFix, pList->a[i].pSelect) ) return 1;
241 if( sqliteFixExpr(pFix, pList->a[i].pOn) ) return 1;
274 if( sqliteFixExprList(pFix, pExpr->pList) ){
[all...]
H A Dbtree_rb.c1320 static void execute_rollback_list(Rbtree *pRbtree, BtRollbackOp *pList) argument
1328 while( pList ){
1329 switch( pList->eOp ){
1331 cur.pTree = sqliteHashFind( &pRbtree->tblHash, 0, pList->iTab );
1333 cur.iTree = pList->iTab;
1335 memRbtreeInsert( &cur, pList->pKey,
1336 pList->nKey, pList->pData, pList->nData );
1339 cur.pTree = sqliteHashFind( &pRbtree->tblHash, 0, pList
[all...]
H A Dinsert.c32 ** The pList parameter holds EXPRLIST in the first form of the INSERT
33 ** statement above, and pSelect is NULL. For the second form, pList is
92 ExprList *pList, /* List of values to be inserted */
243 assert( pList!=0 );
246 assert( pList );
247 nColumn = pList->nExpr;
250 if( sqliteExprResolveIds(pParse, &dummy, 0, pList->a[i].pExpr) ){
253 if( sqliteExprCheck(pParse, pList->a[i].pExpr, 0, 0) ){
372 sqliteExprCode(pParse, pList->a[keyColumn].pExpr);
396 sqliteExprCode(pParse, pList
89 sqliteInsert( Parse *pParse, SrcList *pTabList, ExprList *pList, Select *pSelect, IdList *pColumn, int onError ) argument
[all...]
H A Dparse.y582 ExprList *pList = sqliteExprListAppend(0, Y, 0);
583 pList = sqliteExprListAppend(pList, X, 0);
584 A = sqliteExprFunction(pList, 0);
589 ExprList *pList = sqliteExprListAppend(0, Y, 0);
590 pList = sqliteExprListAppend(pList, X, 0);
591 A = sqliteExprFunction(pList, 0);
647 ExprList *pList = sqliteExprListAppend(0, X, 0);
648 pList
[all...]
H A Dselect.c267 IdList *pList; local
270 pList = pTerm->pUsing;
271 for(j=0; j<pList->nId; j++){
272 if( columnIndex(pTerm->pTab, pList->a[j].zName)<0 ||
273 columnIndex(pOther->pTab, pList->a[j].zName)<0 ){
275 "not present in both tables", pList->a[j].zName);
278 addWhereTerm(pList->a[j].zName, pTerm->pTab, pOther->pTab, &p->pWhere);
1535 assert( pExpr->pLeft==0 && pExpr->pRight==0 && pExpr->pList==0 );
1544 assert( pExpr->pList==0 );
1545 pExpr->pList
1559 substExprList(ExprList *pList, int iTable, ExprList *pEList) argument
1646 ExprList *pList; /* The result set of the outer query */ local
1856 ExprList *pEList, *pList, eList; local
[all...]
H A Dpager.c1260 static int pager_write_pagelist(PgHdr *pList){ argument
1264 if( pList==0 ) return SQLITE_OK;
1265 pPager = pList->pPager;
1266 while( pList ){
1267 assert( pList->dirty );
1268 sqliteOsSeek(&pPager->fd, (pList->pgno-1)*(off_t)SQLITE_PAGE_SIZE);
1269 CODEC(pPager, PGHDR_TO_DATA(pList), pList->pgno, 6);
1270 TRACE2("STORE %d\n", pList->pgno);
1271 rc = sqliteOsWrite(&pPager->fd, PGHDR_TO_DATA(pList), SQLITE_PAGE_SIZ
1286 PgHdr *p, *pList; local
[all...]
H A Dtest1.c694 Tcl_Obj *pList, *pElem; local
698 pList = Tcl_NewObj();
701 Tcl_ListObjAppendElement(interp, pList, pElem);
703 Tcl_SetObjResult(interp, pList);
H A DvdbeInt.h266 Keylist *pList; /* A list of ROWIDs */ member in struct:Vdbe
H A Dtclsqlite.c233 Tcl_Obj *pList = (Tcl_Obj*)clientData; local
251 Tcl_ListObjAppendElement(0, pList, pElem);
810 Tcl_Obj *pList = Tcl_NewObj(); local
812 rc = sqlite_exec(pDb->db, zSql, DbEvalCallback2, pList, &zErrMsg);
813 Tcl_SetObjResult(interp, pList);
H A Dvdbe.c3772 pKeylist = p->pList;
3779 pKeylist->pNext = p->pList;
3780 p->pList = pKeylist;
3799 while( p->pList ){
3800 pTop = p->pList;
3801 p->pList = pTop->pNext;
3805 p->pList = pRev;
3818 pKeylist = p->pList;
3827 p->pList = pKeylist->pNext;
3841 if( p->pList ){
[all...]
H A Dwhere.c139 if( p->pList ){
141 for(i=0; i<p->pList->nExpr; i++){
142 mask |= exprTableUsage(pMaskSet, p->pList->a[i].pExpr);
757 }else if( pX->pList ){
801 if( pX->pList ){
H A Dvdbeaux.c787 if( p->pList ){
788 sqliteVdbeKeylistFree(p->pList);
789 p->pList = 0;
H A DsqliteInt.h658 ** Expr.pRight and Expr.pLeft are subexpressions. Expr.pList is a list
690 ExprList *pList; /* A list of expressions used as function arguments member in struct:Expr
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_iscsi.c560 suri_iscsi_disc_addr_props *pList; local
577 if ((ret = suri_iscsi_send_targets(sh, props, &pList)) != ESURI_OK)
580 for (i = 0; i < pList->name_count; ++i) {
581 if (wcscmp(wiqn, pList->names[i]) == 0)
585 if (i >= pList->name_count) {
586 free(pList);
589 free(pList);
/osnet-11/usr/src/lib/libsun_ima/common/
H A Dima.c2031 SUN_IMA_DISC_ADDRESS_KEY_PROPERTIES *pList; local
2048 &pList);
2049 for (j = 0; j < pList->keyCount; j++) {
2050 if (wcsncmp(pList->keys[j].name, targetProps.name,
2051 wslen(pList->keys[j].name)) == 0) {
2055 (void) IMA_FreeMemory(pList);
2068 &pList);
2069 for (j = 0; j < pList->keyCount; j++) {
2070 if (wcsncmp(pList->keys[j].name, targetProps.name,
2071 wslen(pList
[all...]

Completed in 68 milliseconds