Home
last modified time | relevance | path

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

/dports/security/ssdeep/ssdeep-2.14.1/
H A Dfuzzy.h77 struct fuzzy_state;
86 extern /*@only@*/ /*@null@*/ struct fuzzy_state *fuzzy_new(void);
97 extern /*@only@*/ /*@null@*/ struct fuzzy_state *fuzzy_clone(const struct fuzzy_state *state);
108 extern int fuzzy_set_total_input_length(struct fuzzy_state *state, uint_least64_t total_fixed_lengt…
120 extern int fuzzy_update(struct fuzzy_state *state,
136 extern int fuzzy_digest(const struct fuzzy_state *state,
144 extern void fuzzy_free(/*@only@*/ struct fuzzy_state *state);
H A Dfuzzy.c127 struct fuzzy_state struct
149 struct fuzzy_state *self; in fuzzy_new()
169 /*@only@*/ /*@null@*/ struct fuzzy_state *fuzzy_clone(const struct fuzzy_state *state) in fuzzy_clone()
171 struct fuzzy_state *newstate; in fuzzy_clone()
175 memcpy(newstate, state, sizeof(struct fuzzy_state)); in fuzzy_clone()
323 int fuzzy_update(struct fuzzy_state *self, in fuzzy_update()
360 int fuzzy_digest(const struct fuzzy_state *self, in fuzzy_digest()
495 void fuzzy_free(/*@only@*/ struct fuzzy_state *self) in fuzzy_free()
504 struct fuzzy_state *ctx; in fuzzy_hash_buf()
540 struct fuzzy_state *ctx; in fuzzy_hash_stream()
[all …]
/dports/security/pev/pev/lib/libfuzzy/
H A Dfuzzy.h77 struct fuzzy_state;
86 extern /*@only@*/ /*@null@*/ struct fuzzy_state *fuzzy_new(void);
97 extern int fuzzy_update(struct fuzzy_state *state,
112 extern int fuzzy_digest(const struct fuzzy_state *state,
119 extern void fuzzy_free(/*@only@*/ struct fuzzy_state *state);
H A Dfuzzy.c116 struct fuzzy_state struct
126 /*@only@*/ /*@null@*/ struct fuzzy_state *fuzzy_new(void) in fuzzy_new() argument
128 struct fuzzy_state *self; in fuzzy_new()
129 if(NULL == (self = malloc(sizeof(struct fuzzy_state)))) in fuzzy_new()
142 static void fuzzy_try_fork_blockhash(struct fuzzy_state *self) in fuzzy_try_fork_blockhash()
156 static void fuzzy_try_reduce_blockhash(struct fuzzy_state *self) in fuzzy_try_reduce_blockhash()
227 int fuzzy_update(struct fuzzy_state *self, in fuzzy_update()
266 int fuzzy_digest(const struct fuzzy_state *self, in fuzzy_digest()
365 void fuzzy_free(/*@only@*/ struct fuzzy_state *self) in fuzzy_free()
374 struct fuzzy_state *ctx; in fuzzy_hash_buf()
[all …]