Searched refs:aBuf (Results 1 – 2 of 2) sorted by relevance
| /netbsd/src/external/public-domain/sqlite/dist/ |
| D | shell.c | 7861 char *aBuf = aStatic; in fsdirColumn() local 7866 n = readlink(pCur->zPath, aBuf, nBuf); in fsdirColumn() 7868 if( aBuf!=aStatic ) sqlite3_free(aBuf); in fsdirColumn() 7870 aBuf = sqlite3_malloc64(nBuf); in fsdirColumn() 7871 if( aBuf==0 ){ in fsdirColumn() 7877 sqlite3_result_text(ctx, aBuf, n, SQLITE_TRANSIENT); in fsdirColumn() 7878 if( aBuf!=aStatic ) sqlite3_free(aBuf); in fsdirColumn() 9859 static u16 zipfileGetU16(const u8 *aBuf){ in zipfileGetU16() argument 9860 return (aBuf[1] << 8) + aBuf[0]; in zipfileGetU16() 9866 static u32 zipfileGetU32(const u8 *aBuf){ in zipfileGetU32() argument [all …]
|
| D | sqlite3.c | 65960 u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */ 65973 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0); 65983 magic = sqlite3Get4byte(&aBuf[0]); 65984 szPage = sqlite3Get4byte(&aBuf[8]); 65994 pWal->nCkpt = sqlite3Get4byte(&aBuf[12]); 65995 memcpy(&pWal->hdr.aSalt, &aBuf[16], 8); 65999 aBuf, WAL_HDRSIZE-2*4, 0, pWal->hdr.aFrameCksum 66001 if( pWal->hdr.aFrameCksum[0]!=sqlite3Get4byte(&aBuf[24]) 66002 || pWal->hdr.aFrameCksum[1]!=sqlite3Get4byte(&aBuf[28]) 66009 version = sqlite3Get4byte(&aBuf[4]); [all …]
|