Function report |
Source Code:lib\ts_fsm.c |
Create Date:2022-07-28 07:10:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fsm_init
Proto:static struct ts_config *fsm_init(const void *pattern, unsigned int len, gfp_t gfp_mask, int flags)
Type:struct ts_config
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | pattern | |
| unsigned int | len | |
| gfp_t | gfp_mask | |
| int | flags |
| 265 | If len % sizeof(structts_fsm_token) || ntokens < 1 Then Go to errout |
| 268 | If flags & Searches string case insensitively Then Go to errout |
| 274 | If type > TS_FSM_TYPE_MAX || recur > TS_FSM_RECUR_MAX Then Go to errout |
| 282 | conf = alloc_ts_config(priv_size, gfp_mask) |
| 287 | fsm = ts_config_priv(conf) |
| 289 | No 3D Now!(tokens, pattern, len) |
| 296 | Return conf |
| 298 | errout : |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |