Lines Matching refs:pBlob
58538 Incrblob *pBlob;
58549 pBlob = (Incrblob *)sqlite3DbMallocZero(db, sizeof(Incrblob));
58551 sqlite3DbFree(db, pBlob);
58554 pBlob->flags = flags;
58555 pBlob->pCsr = v->apCsr[0]->pCursor;
58556 sqlite3BtreeEnterCursor(pBlob->pCsr);
58557 sqlite3BtreeCacheOverflow(pBlob->pCsr);
58558 sqlite3BtreeLeaveCursor(pBlob->pCsr);
58559 pBlob->pStmt = (sqlite3_stmt *)v;
58560 pBlob->iOffset = v->apCsr[0]->aOffset[iCol];
58561 pBlob->nByte = sqlite3VdbeSerialTypeLen(type);
58562 pBlob->db = db;
58563 *ppBlob = (sqlite3_blob *)pBlob;
58587 SQLITE_API int sqlite3_blob_close(sqlite3_blob *pBlob){
58588 Incrblob *p = (Incrblob *)pBlob;
58608 sqlite3_blob *pBlob,
58615 Incrblob *p = (Incrblob *)pBlob;
58657 SQLITE_API int sqlite3_blob_read(sqlite3_blob *pBlob, void *z, int n, int iOffset){
58658 return blobReadWrite(pBlob, z, n, iOffset, sqlite3BtreeData);
58664 SQLITE_API int sqlite3_blob_write(sqlite3_blob *pBlob, const void *z, int n, int iOffset){
58665 return blobReadWrite(pBlob, (void *)z, n, iOffset, sqlite3BtreePutData);
58674 SQLITE_API int sqlite3_blob_bytes(sqlite3_blob *pBlob){
58675 Incrblob *p = (Incrblob *)pBlob;
72119 const unsigned char *pBlob;
72123 pBlob = sqlite3_value_blob(argv[0]);
72125 assert( pBlob==sqlite3_value_blob(argv[0]) ); /* No encoding change */
72128 for(i=0; i<n; i++, pBlob++){
72129 unsigned char c = *pBlob;