Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dzstd_cwksp.h143 void* workspaceEnd; member
169 assert(ws->allocStart <= ws->workspaceEnd); in ZSTD_cwksp_assert_internal_consistency()
231 return (ptr != NULL) && (ws->workspace <= ptr) && (ptr <= ws->workspaceEnd); in ZSTD_cwksp_owns_buffer()
346 if (ws->phase != ZSTD_cwksp_alloc_objects || end > ws->workspaceEnd) { in ZSTD_cwksp_reserve_object()
445 size_t size = (BYTE*)ws->workspaceEnd - (BYTE*)ws->tableValidEnd; in ZSTD_cwksp_clear()
456 size_t size = (BYTE*)ws->workspaceEnd - (BYTE*)ws->objectEnd; in ZSTD_cwksp_clear()
462 ws->allocStart = ws->workspaceEnd; in ZSTD_cwksp_clear()
479 ws->workspaceEnd = (BYTE*)start + size; in ZSTD_cwksp_init()
514 return (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->workspace); in ZSTD_cwksp_sizeof()
519 + (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->allocStart); in ZSTD_cwksp_used()