Function report |
Source Code:lib\string_helpers.c |
Create Date:2022-07-28 06:25:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:escape_space
Proto:static bool escape_space(unsigned char c, char **dst, char *end)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned char | c | |
| char ** | dst | |
| char * | end |
| 319 | Case c == '\n' |
| 320 | to = 'n' |
| 321 | Break |
| 322 | Case c == '\r' |
| 323 | to = 'r' |
| 324 | Break |
| 325 | Case c == '\t' |
| 326 | to = 't' |
| 327 | Break |
| 328 | Case c == '\v' |
| 329 | to = 'v' |
| 330 | Break |
| 331 | Case c == '\f' |
| 332 | to = 'f' |
| 333 | Break |
| 334 | Default |
| 335 | Return false |
| 340 | ++out |
| 343 | ++out |
| 346 | Return true |
| Name | Describe |
|---|---|
| string_escape_mem | string_escape_mem - quote characters in the given memory buffer*@src: source buffer (unescaped)*@isz: source buffer size*@dst: destination buffer (escaped)*@osz: destination buffer size*@flags: combination of the flags*@only: NULL-terminated string |
| 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 |