/dports/devel/hyperscan/hyperscan-5.4.0/src/ |
H A D | hs_common.h | 33 #define HS_CDECL __cdecl macro 35 #define HS_CDECL macro 84 hs_error_t HS_CDECL hs_free_database(hs_database_t *db); 137 hs_error_t HS_CDECL hs_deserialize_database(const char *bytes, 169 hs_error_t HS_CDECL hs_deserialize_database_at(const char *bytes, 187 hs_error_t HS_CDECL hs_stream_size(const hs_database_t *database, 288 typedef void *(HS_CDECL *hs_alloc_t)(size_t size); 297 typedef void (HS_CDECL *hs_free_t)(void *ptr); 325 hs_error_t HS_CDECL hs_set_allocator(hs_alloc_t alloc_func, 450 const char * HS_CDECL hs_version(void); [all …]
|
H A D | hs_runtime.h | 125 typedef int (HS_CDECL *match_event_handler)(unsigned int id, 188 hs_error_t HS_CDECL hs_scan_stream(hs_stream_t *id, const char *data, 291 hs_error_t HS_CDECL hs_copy_stream(hs_stream_t **to_id, 324 hs_error_t HS_CDECL hs_reset_and_copy_stream(hs_stream_t *to_id, 395 hs_error_t HS_CDECL hs_expand_stream(const hs_database_t *db, 438 hs_error_t HS_CDECL hs_reset_and_expand_stream(hs_stream_t *to_stream, 522 hs_error_t HS_CDECL hs_scan_vector(const hs_database_t *db, 555 hs_error_t HS_CDECL hs_alloc_scratch(const hs_database_t *db, 576 hs_error_t HS_CDECL hs_clone_scratch(const hs_scratch_t *src, 593 hs_error_t HS_CDECL hs_scratch_size(const hs_scratch_t *scratch, [all …]
|
H A D | hs_compile.h | 360 hs_error_t HS_CDECL hs_compile(const char *expression, unsigned int flags, 443 hs_error_t HS_CDECL hs_compile_multi(const char *const *expressions, 534 hs_error_t HS_CDECL hs_compile_ext_multi(const char *const *expressions, 608 hs_error_t HS_CDECL hs_compile_lit(const char *expression, unsigned flags, 690 hs_error_t HS_CDECL hs_compile_lit_multi(const char * const *expressions, 710 hs_error_t HS_CDECL hs_free_compile_error(hs_compile_error_t *error); 773 hs_error_t HS_CDECL hs_expression_info(const char *expression, 844 hs_error_t HS_CDECL hs_expression_ext_info(const char *expression, 860 hs_error_t HS_CDECL hs_populate_platform(hs_platform_info_t *platform);
|
H A D | alloc.c | 70 hs_error_t HS_CDECL hs_set_allocator(hs_alloc_t allocfunc, hs_free_t freefunc) { in hs_set_allocator() 80 hs_error_t HS_CDECL hs_set_database_allocator(hs_alloc_t allocfunc, in hs_set_database_allocator() 89 hs_error_t HS_CDECL hs_set_misc_allocator(hs_alloc_t allocfunc, in hs_set_misc_allocator() 98 hs_error_t HS_CDECL hs_set_scratch_allocator(hs_alloc_t allocfunc, in hs_set_scratch_allocator() 107 hs_error_t HS_CDECL hs_set_stream_allocator(hs_alloc_t allocfunc, in hs_set_stream_allocator()
|
H A D | database.c | 52 hs_error_t HS_CDECL hs_free_database(hs_database_t *db) { in hs_free_database() 62 hs_error_t HS_CDECL hs_serialize_database(const hs_database_t *db, char **bytes, in hs_serialize_database() 200 hs_error_t HS_CDECL hs_deserialize_database_at(const char *bytes, in hs_deserialize_database_at() 243 hs_error_t HS_CDECL hs_deserialize_database(const char *bytes, in hs_deserialize_database() 293 hs_error_t HS_CDECL hs_database_size(const hs_database_t *db, size_t *size) { in hs_database_size() 308 hs_error_t HS_CDECL hs_serialized_database_size(const char *bytes, in hs_serialized_database_size() 426 hs_error_t HS_CDECL hs_serialized_database_info(const char *bytes, in hs_serialized_database_info() 446 hs_error_t HS_CDECL hs_database_info(const hs_database_t *db, char **info) { in hs_database_info()
|
H A D | hs.cpp | 412 hs_error_t HS_CDECL hs_compile(const char *expression, unsigned flags, in hs_compile() 431 hs_error_t HS_CDECL hs_compile_multi(const char *const *expressions, in hs_compile_multi() 443 hs_error_t HS_CDECL hs_compile_ext_multi(const char * const *expressions, in hs_compile_ext_multi() 455 hs_error_t HS_CDECL hs_compile_lit(const char *expression, unsigned flags, in hs_compile_lit() 475 hs_error_t HS_CDECL hs_compile_lit_multi(const char * const *expressions, in hs_compile_lit_multi() 590 hs_error_t HS_CDECL hs_expression_info(const char *expression, in hs_expression_info() 599 hs_error_t HS_CDECL hs_expression_ext_info(const char *expression, in hs_expression_ext_info() 609 hs_error_t HS_CDECL hs_populate_platform(hs_platform_info_t *platform) { in hs_populate_platform() 623 hs_error_t HS_CDECL hs_free_compile_error(hs_compile_error_t *error) { in hs_free_compile_error()
|
H A D | runtime.c | 70 int HS_CDECL null_onEvent(UNUSED unsigned id, UNUSED unsigned long long from, in null_onEvent() 316 hs_error_t HS_CDECL hs_scan(const hs_database_t *db, const char *data, in hs_scan() 542 hs_error_t HS_CDECL hs_open_stream(const hs_database_t *db, in hs_open_stream() 713 hs_error_t HS_CDECL hs_copy_stream(hs_stream_t **to_id, in hs_copy_stream() 741 hs_error_t HS_CDECL hs_reset_and_copy_stream(hs_stream_t *to_id, in hs_reset_and_copy_stream() 980 hs_error_t HS_CDECL hs_scan_stream(hs_stream_t *id, const char *data, in hs_scan_stream() 999 hs_error_t HS_CDECL hs_close_stream(hs_stream_t *id, hs_scratch_t *scratch, in hs_close_stream() 1057 hs_error_t HS_CDECL hs_stream_size(const hs_database_t *db, in hs_stream_size() 1105 hs_error_t HS_CDECL hs_scan_vector(const hs_database_t *db, in hs_scan_vector() 1203 hs_error_t HS_CDECL hs_expand_stream(const hs_database_t *db, in hs_expand_stream() [all …]
|
H A D | scratch.c | 244 hs_error_t HS_CDECL hs_alloc_scratch(const hs_database_t *db, in hs_alloc_scratch() 392 hs_error_t HS_CDECL hs_clone_scratch(const hs_scratch_t *src, in hs_clone_scratch() 410 hs_error_t HS_CDECL hs_free_scratch(hs_scratch_t *scratch) { in hs_free_scratch() 434 hs_error_t HS_CDECL hs_scratch_size(const hs_scratch_t *scratch, size_t *size) { in hs_scratch_size()
|
H A D | hs_version.c | 34 const char * HS_CDECL hs_version(void) { in hs_version()
|
H A D | hs_valid_platform.c | 34 hs_error_t HS_CDECL hs_valid_platform(void) { in hs_valid_platform()
|
H A D | scratch.h | 95 int (HS_CDECL *userCallback)(unsigned int id, unsigned long long from, member
|
/dports/devel/hyperscan/hyperscan-5.4.0/chimera/ |
H A D | ch_common.h | 81 ch_error_t HS_CDECL ch_free_database(ch_database_t *db); 91 const char * HS_CDECL ch_version(void); 106 ch_error_t HS_CDECL ch_database_size(const ch_database_t *database, 124 ch_error_t HS_CDECL ch_database_info(const ch_database_t *database, 140 typedef void *(HS_CDECL *ch_alloc_t)(size_t size); 149 typedef void (HS_CDECL *ch_free_t)(void *ptr); 177 ch_error_t HS_CDECL ch_set_allocator(ch_alloc_t alloc_func, 209 ch_error_t HS_CDECL ch_set_database_allocator(ch_alloc_t alloc_func, 235 ch_error_t HS_CDECL ch_set_misc_allocator(ch_alloc_t alloc_func, 262 ch_error_t HS_CDECL ch_set_scratch_allocator(ch_alloc_t alloc_func,
|
H A D | ch_runtime.h | 204 typedef ch_callback_t (HS_CDECL *ch_match_event_handler)(unsigned int id, 240 typedef ch_callback_t (HS_CDECL *ch_error_event_handler)( 285 ch_error_t HS_CDECL ch_scan(const ch_database_t *db, const char *data, 318 ch_error_t HS_CDECL ch_alloc_scratch(const ch_database_t *db, 339 ch_error_t HS_CDECL ch_clone_scratch(const ch_scratch_t *src, 356 ch_error_t HS_CDECL ch_scratch_size(const ch_scratch_t *scratch, 372 ch_error_t HS_CDECL ch_free_scratch(ch_scratch_t *scratch);
|
H A D | ch_compile.h | 121 ch_error_t HS_CDECL ch_compile(const char *expression, unsigned int flags, 192 ch_error_t HS_CDECL ch_compile_multi(const char *const *expressions, 273 ch_error_t HS_CDECL ch_compile_ext_multi(const char *const *expressions, 295 ch_error_t HS_CDECL ch_free_compile_error(ch_compile_error_t *error);
|
H A D | ch_alloc.c | 69 ch_error_t HS_CDECL ch_set_allocator(ch_alloc_t allocfunc, in ch_set_allocator() 82 ch_error_t HS_CDECL ch_set_database_allocator(ch_alloc_t allocfunc, in ch_set_database_allocator() 92 ch_error_t HS_CDECL ch_set_misc_allocator(ch_alloc_t allocfunc, in ch_set_misc_allocator() 102 ch_error_t HS_CDECL ch_set_scratch_allocator(ch_alloc_t allocfunc, in ch_set_scratch_allocator()
|
H A D | ch_database.c | 54 ch_error_t HS_CDECL ch_free_database(ch_database_t *hydb) { in ch_free_database() 64 ch_error_t HS_CDECL ch_database_size(const ch_database_t *hydb, size_t *size) { in ch_database_size() 82 ch_error_t HS_CDECL ch_database_info(const ch_database_t *hydb, char **info) { in ch_database_info()
|
H A D | ch_scratch.c | 140 ch_error_t HS_CDECL ch_alloc_scratch(const ch_database_t *hydb, in ch_alloc_scratch() 237 ch_error_t HS_CDECL ch_clone_scratch(const ch_scratch_t *src, in ch_clone_scratch() 266 ch_error_t HS_CDECL ch_free_scratch(ch_scratch_t *scratch) { in ch_free_scratch() 297 ch_error_t HS_CDECL ch_scratch_size(const ch_scratch_t *scratch, size_t *size) { in ch_scratch_size()
|
H A D | ch_runtime.c | 95 int HS_CDECL null_onEvent(UNUSED unsigned id, UNUSED unsigned long long from, in null_onEvent() 111 int (HS_CDECL *match_callback)(unsigned int id, unsigned long long from, member 116 int (HS_CDECL *error_callback)(ch_error_event_t error_type, unsigned int id, member 366 int HS_CDECL multiCallback(unsigned int id, unsigned long long from, in multiCallback() 629 ch_error_t HS_CDECL ch_scan(const ch_database_t *hydb, const char *data, in ch_scan() 641 const char * HS_CDECL ch_version(void) { in ch_version()
|
H A D | ch_compile.cpp | 672 ch_error_t HS_CDECL ch_compile(const char *expression, unsigned flags, in ch_compile() 734 ch_error_t HS_CDECL ch_compile_multi(const char *const *expressions, in ch_compile_multi() 802 ch_error_t HS_CDECL ch_compile_ext_multi( in ch_compile_ext_multi() 875 ch_error_t HS_CDECL ch_free_compile_error(ch_compile_error_t *error) { in ch_free_compile_error()
|
/dports/devel/hyperscan/hyperscan-5.4.0/util/ |
H A D | expressions.h | 43 void HS_CDECL loadExpressions(const std::string &inDir, ExpressionMap &exprMap); 45 void HS_CDECL loadExpressionsFromFile(const std::string &fname, ExpressionMap &exprMap); 48 void HS_CDECL loadSignatureList(const std::string &inFile, SignatureSet &signatures);
|
H A D | expressions.cpp | 106 void HS_CDECL loadExpressionsFromFile(const string &fname, ExpressionMap &exprMap) { in loadExpressionsFromFile() 201 void HS_CDECL loadExpressions(const string &inPath, ExpressionMap &exprMap) { in loadExpressions() 257 void HS_CDECL loadSignatureList(const string &inFile, in loadSignatureList()
|
H A D | ExpressionParser.h | 38 bool HS_CDECL readExpression(const std::string &line, std::string &expr,
|
/dports/devel/hyperscan/hyperscan-5.4.0/unit/internal/ |
H A D | main.cpp | 33 int HS_CDECL main(int argc, char **argv) { in main()
|
/dports/devel/hyperscan/hyperscan-5.4.0/tools/hsbench/ |
H A D | engine_chimera.cpp | 71 int HS_CDECL onMatch(unsigned int, unsigned long long, unsigned long long, in onMatch() 86 int HS_CDECL onMatchEcho(unsigned int id, unsigned long long, in onMatchEcho()
|
H A D | engine_hyperscan.cpp | 90 int HS_CDECL onMatch(unsigned int, unsigned long long, in onMatch() 104 int HS_CDECL onMatchEcho(unsigned int id, unsigned long long, in onMatchEcho()
|