Home
last modified time | relevance | path

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

/sqlite-3.40.0/ext/lsm1/
H A Dlsm_unix.c477 #define BLOCK_HDR_SIZE ROUND8( sizeof(size_t) ) macro
481 N += BLOCK_HDR_SIZE; in lsmPosixOsMalloc()
484 return m + BLOCK_HDR_SIZE; in lsmPosixOsMalloc()
489 free( ((unsigned char *)p) - BLOCK_HDR_SIZE ); in lsmPosixOsFree()
502 m -= BLOCK_HDR_SIZE; in lsmPosixOsRealloc()
509 re = realloc( m, N + BLOCK_HDR_SIZE ); in lsmPosixOsRealloc()
513 return m + BLOCK_HDR_SIZE; in lsmPosixOsRealloc()
522 return *((size_t*)(m-BLOCK_HDR_SIZE)); in lsmPosixOsMSize()
524 #undef BLOCK_HDR_SIZE
/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest_mem.c92 #define BLOCK_HDR_SIZE (ROUND8( sizeof(TmBlockHdr) )) macro
112 nReq = BLOCK_HDR_SIZE + nByte + 4; in tmMalloc()
139 pUser = &((u8 *)pNew)[BLOCK_HDR_SIZE]; in tmMalloc()
186 pHdr = (TmBlockHdr *)(pUser - BLOCK_HDR_SIZE); in tmFree()
221 pHdr = (TmBlockHdr *)(pUser - BLOCK_HDR_SIZE); in tmRealloc()