Home
last modified time | relevance | path

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

/external/zstd/tests/regression/
Dmethod.h26 } method_state_t; typedef
40 method_state_t* (*create)(data_t const* data);
48 result_t (*compress)(method_state_t* state, config_t const* config);
52 void (*destroy)(method_state_t* state);
Dmethod.c39 method_state_t base;
55 static method_state_t* buffer_state_create(data_t const* data) { in buffer_state_create()
68 static void buffer_state_destroy(method_state_t* base) { in buffer_state_destroy()
94 static result_t simple_compress(method_state_t* base, config_t const* config) { in simple_compress()
142 method_state_t* base, in compress_cctx_compress()
241 static method_state_t* method_state_create(data_t const* data) { in method_state_create()
242 method_state_t* state = (method_state_t*)malloc(sizeof(method_state_t)); in method_state_create()
249 static void method_state_destroy(method_state_t* state) { in method_state_destroy()
253 static result_t cli_compress(method_state_t* state, config_t const* config) { in cli_compress()
325 method_state_t* base, in advanced_one_pass_compress_output_adjustment()
[all …]
Dtest.c259 method_state_t* state = methods[method]->create(data[datum]); in run_all()