| Package | Description |
|---|---|
| org.bytedeco.hyperscan.global |
| Modifier and Type | Method and Description |
|---|---|
static int |
hyperscan.hs_alloc_scratch(hs_database_t db,
hs_scratch_t scratch) |
static int |
hyperscan.hs_alloc_scratch(hs_database_t db,
PointerPointer scratch)
Allocate a "scratch" space for use by Hyperscan.
|
static int |
hyperscan.hs_compile_ext_multi(byte[] expressions,
int[] flags,
int[] ids,
hs_expr_ext_t ext,
int elements,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile_ext_multi(ByteBuffer expressions,
IntBuffer flags,
IntBuffer ids,
hs_expr_ext_t ext,
int elements,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile_ext_multi(BytePointer expressions,
IntPointer flags,
IntPointer ids,
hs_expr_ext_t ext,
int elements,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile_lit_multi(byte[] expressions,
int[] flags,
int[] ids,
SizeTPointer lens,
int elements,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile_lit_multi(ByteBuffer expressions,
IntBuffer flags,
IntBuffer ids,
SizeTPointer lens,
int elements,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile_lit_multi(BytePointer expressions,
IntPointer flags,
IntPointer ids,
SizeTPointer lens,
int elements,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile_lit(BytePointer expression,
int flags,
long len,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile_lit(String expression,
int flags,
long len,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile_multi(byte[] expressions,
int[] flags,
int[] ids,
int elements,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile_multi(ByteBuffer expressions,
IntBuffer flags,
IntBuffer ids,
int elements,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile_multi(BytePointer expressions,
IntPointer flags,
IntPointer ids,
int elements,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile(BytePointer expression,
int flags,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_compile(String expression,
int flags,
int mode,
hs_platform_info_t platform,
hs_database_t db,
hs_compile_error_t error) |
static int |
hyperscan.hs_database_info(hs_database_t database,
byte[] info) |
static int |
hyperscan.hs_database_info(hs_database_t database,
ByteBuffer info) |
static int |
hyperscan.hs_database_info(hs_database_t database,
BytePointer info) |
static int |
hyperscan.hs_database_info(hs_database_t database,
PointerPointer info)
Utility function providing information about a database.
|
static int |
hyperscan.hs_database_size(hs_database_t database,
SizeTPointer database_size)
Provides the size of the given database in bytes.
|
static int |
hyperscan.hs_deserialize_database_at(BytePointer bytes,
long length,
hs_database_t db)
Reconstruct a pattern database from a stream of bytes previously generated
by \ref hs_serialize_database() at a given memory location.
|
static int |
hyperscan.hs_deserialize_database_at(String bytes,
long length,
hs_database_t db) |
static int |
hyperscan.hs_deserialize_database(BytePointer bytes,
long length,
hs_database_t db) |
static int |
hyperscan.hs_deserialize_database(String bytes,
long length,
hs_database_t db) |
static int |
hyperscan.hs_expand_stream(hs_database_t db,
hs_stream_t stream,
BytePointer buf,
long buf_size) |
static int |
hyperscan.hs_expand_stream(hs_database_t db,
hs_stream_t stream,
String buf,
long buf_size) |
static int |
hyperscan.hs_expand_stream(hs_database_t db,
PointerPointer stream,
BytePointer buf,
long buf_size)
Decompresses a compressed representation created by \ref hs_compress_stream()
into a new stream.
|
static int |
hyperscan.hs_free_database(hs_database_t db)
Free a compiled pattern database.
|
static int |
hyperscan.hs_open_stream(hs_database_t db,
int flags,
hs_stream_t stream) |
static int |
hyperscan.hs_open_stream(hs_database_t db,
int flags,
PointerPointer stream)
Open and initialise a stream.
|
static int |
hyperscan.hs_scan_vector(hs_database_t db,
byte[] data,
int[] length,
int count,
int flags,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer context) |
static int |
hyperscan.hs_scan_vector(hs_database_t db,
ByteBuffer data,
IntBuffer length,
int count,
int flags,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer context) |
static int |
hyperscan.hs_scan_vector(hs_database_t db,
BytePointer data,
IntPointer length,
int count,
int flags,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer context) |
static int |
hyperscan.hs_scan_vector(hs_database_t db,
PointerPointer data,
IntPointer length,
int count,
int flags,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer context)
The vectored regular expression scanner.
|
static int |
hyperscan.hs_scan(hs_database_t db,
BytePointer data,
int length,
int flags,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer context)
The block (non-streaming) regular expression scanner.
|
static int |
hyperscan.hs_scan(hs_database_t db,
String data,
int length,
int flags,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer context) |
static int |
hyperscan.hs_serialize_database(hs_database_t db,
byte[] bytes,
SizeTPointer length) |
static int |
hyperscan.hs_serialize_database(hs_database_t db,
ByteBuffer bytes,
SizeTPointer length) |
static int |
hyperscan.hs_serialize_database(hs_database_t db,
BytePointer bytes,
SizeTPointer length) |
static int |
hyperscan.hs_serialize_database(hs_database_t db,
PointerPointer bytes,
SizeTPointer length)
Serialize a pattern database to a stream of bytes.
|
static int |
hyperscan.hs_stream_size(hs_database_t database,
SizeTPointer stream_size)
Provides the size of the stream state allocated by a single stream opened
against the given database.
|
Copyright © 2020. All rights reserved.