Home
last modified time | relevance | path

Searched refs:pRet (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/public-domain/sqlite/dist/
H A Dsqlite3.c66194 Wal *pRet; /* Object to allocate and return */
66247 pRet = (Wal*)sqlite3MallocZero(sizeof(Wal) + pVfs->szOsFile);
66248 if( !pRet ){
66252 pRet->pVfs = pVfs;
66253 pRet->pWalFd = (sqlite3_file *)&pRet[1];
66254 pRet->pDbFd = pDbFd;
66255 pRet->readLock = -1;
66256 pRet->mxWalSize = mxWalSize;
66257 pRet->zWalName = zWalName;
66258 pRet->syncHeader = 1;
[all …]
H A Dshell.c12013 void *pRet; in idxMalloc() local
12016 pRet = sqlite3_malloc(nByte); in idxMalloc()
12017 if( pRet ){ in idxMalloc()
12018 memset(pRet, 0, nByte); in idxMalloc()
12022 return pRet; in idxMalloc()
15539 void *pRet = 0; in recoverMalloc() local
15542 pRet = sqlite3_malloc64(nByte); in recoverMalloc()
15543 if( pRet ){ in recoverMalloc()
15544 memset(pRet, 0, nByte); in recoverMalloc()
15549 return pRet; in recoverMalloc()
[all …]
/netbsd-src/external/public-domain/sqlite/dist/tea/generic/
H A Dtclsqlite3.c2836 Tcl_Obj *pRet = Tcl_NewObj(); in DbObjCmd() local
2837 Tcl_IncrRefCount(pRet); in DbObjCmd()
2844 Tcl_ListObjAppendElement(interp, pRet, dbEvalColumnValue(&sEval, i)); in DbObjCmd()
2849 Tcl_SetObjResult(interp, pRet); in DbObjCmd()
2852 Tcl_DecrRefCount(pRet); in DbObjCmd()
3592 Tcl_Obj *pRet; in DbObjCmd()
3597 pRet = Tcl_NewIntObj(sqlite3_preupdate_depth(pDb->db)); in DbObjCmd()
3598 Tcl_SetObjResult(interp, pRet); in DbObjCmd()