Lines Matching refs:BYTE
147 BYTE allocFailed;
211 ws->allocStart = (BYTE*)ws->allocStart - ((size_t)ws->allocStart & (sizeof(U32)-1)); in ZSTD_cwksp_internal_advance_phase()
235 alloc = (BYTE *)ws->allocStart - bytes; in ZSTD_cwksp_reserve_internal()
262 MEM_STATIC BYTE* ZSTD_cwksp_reserve_buffer(ZSTD_cwksp* ws, size_t bytes) { in ZSTD_cwksp_reserve_buffer()
263 return (BYTE*)ZSTD_cwksp_reserve_internal(ws, bytes, ZSTD_cwksp_alloc_buffers); in ZSTD_cwksp_reserve_buffer()
282 void* end = (BYTE *)alloc + bytes; in ZSTD_cwksp_reserve_table()
308 void* end = (BYTE*)alloc + roundedBytes; in ZSTD_cwksp_reserve_object()
359 ZSTD_memset(ws->tableValidEnd, 0, (BYTE*)ws->tableEnd - (BYTE*)ws->tableValidEnd); in ZSTD_cwksp_clean_tables()
403 ws->workspaceEnd = (BYTE*)start + size; in ZSTD_cwksp_init()
438 return (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->workspace); in ZSTD_cwksp_sizeof()
442 return (size_t)((BYTE*)ws->tableEnd - (BYTE*)ws->workspace) in ZSTD_cwksp_used()
443 + (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->allocStart); in ZSTD_cwksp_used()
455 return (size_t)((BYTE*)ws->allocStart - (BYTE*)ws->tableEnd); in ZSTD_cwksp_available_space()