Lines Matching refs:pWith
5625 With *pWith, /* Existing WITH clause, or NULL */ in sqlite3WithAdd() argument
5633 return pWith; in sqlite3WithAdd()
5639 if( zName && pWith ){ in sqlite3WithAdd()
5641 for(i=0; i<pWith->nCte; i++){ in sqlite3WithAdd()
5642 if( sqlite3StrICmp(zName, pWith->a[i].zName)==0 ){ in sqlite3WithAdd()
5648 if( pWith ){ in sqlite3WithAdd()
5649 sqlite3_int64 nByte = sizeof(*pWith) + (sizeof(pWith->a[1]) * pWith->nCte); in sqlite3WithAdd()
5650 pNew = sqlite3DbRealloc(db, pWith, nByte); in sqlite3WithAdd()
5652 pNew = sqlite3DbMallocZero(db, sizeof(*pWith)); in sqlite3WithAdd()
5658 pNew = pWith; in sqlite3WithAdd()
5670 void sqlite3WithDelete(sqlite3 *db, With *pWith){ in sqlite3WithDelete() argument
5671 if( pWith ){ in sqlite3WithDelete()
5673 for(i=0; i<pWith->nCte; i++){ in sqlite3WithDelete()
5674 cteClear(db, &pWith->a[i]); in sqlite3WithDelete()
5676 sqlite3DbFree(db, pWith); in sqlite3WithDelete()