Home
last modified time | relevance | path

Searched refs:HS_CDECL (Results 1 – 25 of 32) sorted by relevance

12

/dports/devel/hyperscan/hyperscan-5.4.0/src/
H A Dhs_common.h33 #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 Dhs_runtime.h125 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 Dhs_compile.h360 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 Dalloc.c70 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 Ddatabase.c52 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 Dhs.cpp412 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 Druntime.c70 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 Dscratch.c244 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 Dhs_version.c34 const char * HS_CDECL hs_version(void) { in hs_version()
H A Dhs_valid_platform.c34 hs_error_t HS_CDECL hs_valid_platform(void) { in hs_valid_platform()
H A Dscratch.h95 int (HS_CDECL *userCallback)(unsigned int id, unsigned long long from, member
/dports/devel/hyperscan/hyperscan-5.4.0/chimera/
H A Dch_common.h81 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 Dch_runtime.h204 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 Dch_compile.h121 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 Dch_alloc.c69 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 Dch_database.c54 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 Dch_scratch.c140 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 Dch_runtime.c95 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 Dch_compile.cpp672 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 Dexpressions.h43 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 Dexpressions.cpp106 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 DExpressionParser.h38 bool HS_CDECL readExpression(const std::string &line, std::string &expr,
/dports/devel/hyperscan/hyperscan-5.4.0/unit/internal/
H A Dmain.cpp33 int HS_CDECL main(int argc, char **argv) { in main()
/dports/devel/hyperscan/hyperscan-5.4.0/tools/hsbench/
H A Dengine_chimera.cpp71 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 Dengine_hyperscan.cpp90 int HS_CDECL onMatch(unsigned int, unsigned long long, in onMatch()
104 int HS_CDECL onMatchEcho(unsigned int id, unsigned long long, in onMatchEcho()

12