Searched refs:workspaceEnd (Results 1 – 2 of 2) sorted by relevance
147 void* workspaceEnd; member173 assert(ws->allocStart <= ws->workspaceEnd); in ZSTD_cwksp_assert_internal_consistency()306 RETURN_ERROR_IF(objectEnd > ws->workspaceEnd, memory_allocation, in ZSTD_cwksp_internal_advance_phase()324 return (ptr != NULL) && (ws->workspace <= ptr) && (ptr <= ws->workspaceEnd); in ZSTD_cwksp_owns_buffer()442 if (ws->phase != ZSTD_cwksp_alloc_objects || end > ws->workspaceEnd) { in ZSTD_cwksp_reserve_object()542 size_t size = (BYTE*)ws->workspaceEnd - (BYTE*)ws->tableValidEnd; in ZSTD_cwksp_clear()553 size_t size = (BYTE*)ws->workspaceEnd - (BYTE*)ws->objectEnd; in ZSTD_cwksp_clear()559 ws->allocStart = ws->workspaceEnd; in ZSTD_cwksp_clear()576 ws->workspaceEnd = (BYTE*)start + size; in ZSTD_cwksp_init()611 return (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->workspace); in ZSTD_cwksp_sizeof()[all …]
133 void* workspaceEnd; member158 assert(ws->allocStart <= ws->workspaceEnd); in ZSTD_cwksp_assert_internal_consistency()218 return (ptr != NULL) && (ws->workspace <= ptr) && (ptr <= ws->workspaceEnd); in ZSTD_cwksp_owns_buffer()326 if (ws->phase != ZSTD_cwksp_alloc_objects || end > ws->workspaceEnd) { in ZSTD_cwksp_reserve_object()419 size_t size = (BYTE*)ws->workspaceEnd - (BYTE*)ws->tableValidEnd; in ZSTD_cwksp_clear()426 size_t size = (BYTE*)ws->workspaceEnd - (BYTE*)ws->objectEnd; in ZSTD_cwksp_clear()432 ws->allocStart = ws->workspaceEnd; in ZSTD_cwksp_clear()449 ws->workspaceEnd = (BYTE*)start + size; in ZSTD_cwksp_init()483 return (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->workspace); in ZSTD_cwksp_sizeof()