Home
last modified time | relevance | path

Searched refs:aBuf (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/sqlite3/
H A Dshell.c7939 char *aBuf = aStatic; in fsdirColumn() local
7944 n = readlink(pCur->zPath, aBuf, nBuf); in fsdirColumn()
7946 if( aBuf!=aStatic ) sqlite3_free(aBuf); in fsdirColumn()
7948 aBuf = sqlite3_malloc64(nBuf); in fsdirColumn()
7949 if( aBuf==0 ){ in fsdirColumn()
7955 sqlite3_result_text(ctx, aBuf, n, SQLITE_TRANSIENT); in fsdirColumn()
7956 if( aBuf!=aStatic ) sqlite3_free(aBuf); in fsdirColumn()
9937 static u16 zipfileGetU16(const u8 *aBuf){ in zipfileGetU16() argument
9938 return (aBuf[1] << 8) + aBuf[0]; in zipfileGetU16()
9944 static u32 zipfileGetU32(const u8 *aBuf){ in zipfileGetU32() argument
[all …]
H A Dsqlite3.c66319 u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */
66332 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0);
66342 magic = sqlite3Get4byte(&aBuf[0]);
66343 szPage = sqlite3Get4byte(&aBuf[8]);
66353 pWal->nCkpt = sqlite3Get4byte(&aBuf[12]);
66354 memcpy(&pWal->hdr.aSalt, &aBuf[16], 8);
66358 aBuf, WAL_HDRSIZE-2*4, 0, pWal->hdr.aFrameCksum
66360 if( pWal->hdr.aFrameCksum[0]!=sqlite3Get4byte(&aBuf[24])
66361 || pWal->hdr.aFrameCksum[1]!=sqlite3Get4byte(&aBuf[28])
66368 version = sqlite3Get4byte(&aBuf[4]);
[all …]