Home
last modified time | relevance | path

Searched refs:pTable (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libsqlite/src/
H A Dbuild.c199 if( pIndex->pTable->pIndex==pIndex ){ in sqliteUnlinkAndDeleteIndex()
200 pIndex->pTable->pIndex = pIndex->pNext; in sqliteUnlinkAndDeleteIndex()
203 for(p=pIndex->pTable->pIndex; p && p->pNext!=pIndex; p=p->pNext){} in sqliteUnlinkAndDeleteIndex()
321 void sqliteDeleteTable(sqlite *db, Table *pTable){ in sqliteDeleteTable() argument
326 if( pTable==0 ) return; in sqliteDeleteTable()
330 for(pIndex = pTable->pIndex; pIndex; pIndex=pNext){ in sqliteDeleteTable()
332 assert( pIndex->iDb==pTable->iDb || (pTable->iDb==0 && pIndex->iDb==1) ); in sqliteDeleteTable()
339 for(pFKey=pTable->pFKey; pFKey; pFKey=pNextFKey){ in sqliteDeleteTable()
341 assert( pTable->iDb<db->nDb ); in sqliteDeleteTable()
342 assert( sqliteHashFind(&db->aDb[pTable->iDb].aFKey, in sqliteDeleteTable()
[all …]
H A Dtrigger.c426 Table *pTable; in sqliteDropTriggerPtr() local
436 pTable = sqliteFindTable(db, pTrigger->table,db->aDb[pTrigger->iTabDb].zName); in sqliteDropTriggerPtr()
437 assert(pTable); in sqliteDropTriggerPtr()
438 assert( pTable->iDb==pTrigger->iDb || pTrigger->iDb==1 ); in sqliteDropTriggerPtr()
445 if( sqliteAuthCheck(pParse, code, pTrigger->name, pTable->zName, zDb) || in sqliteDropTriggerPtr()
454 if( pTable!=0 && !nested && (v = sqliteGetVdbe(pParse))!=0 ){ in sqliteDropTriggerPtr()
485 if( pTable->pTrigger == pTrigger ){ in sqliteDropTriggerPtr()
486 pTable->pTrigger = pTrigger->pNext; in sqliteDropTriggerPtr()
488 Trigger *cc = pTable->pTrigger; in sqliteDropTriggerPtr()
H A Dexpr.c667 Token *pTable; in sqliteExprResolveIds() local
674 pTable = &pExpr->pLeft->token; in sqliteExprResolveIds()
679 pTable = &pRight->pLeft->token; in sqliteExprResolveIds()
682 if( lookupName(pParse, pDb, pTable, pColumn, pSrcList, 0, pExpr) ){ in sqliteExprResolveIds()
H A Dpragma.c409 pTab = pIdx->pTable; in sqlitePragma()
H A DsqliteInt.h626 Table *pTable; /* The SQL table being indexed */ member
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c223 static int htable_sizeinbytes(HashTable *pTable);
224 static int htable_put(HashTable *pTable, void *key, void *pData);
225 static int htable_get(HashTable *pTable, void *key, void **ppData);
226 static int htable_misc(HashTable *pTable, void *key, void *pData);
227 static int htable_remove(HashTable *pTable, void *key, void **ppData);
228 static int htable_removeall(HashTable *pTable, void *pData);
233 static int htable_free(HashTable *pTable);
1728 htable_sizeinbytes(HashTable *pTable)
1730 if (!pTable)
1733 return (pTable->size * sizeof(HashTableNode));
[all …]