Function report |
Source Code:lib\vsprintf.c |
Create Date:2022-07-28 06:12:15 |
Last Modify:2022-05-21 09:47:42 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:escaped_string
Proto:static __attribute__((__noinline__)) char *escaped_string(char *buf, char *end, u8 *addr, struct printf_spec spec, const char *fmt)
Type:char
Parameter:
Type | Parameter | Name |
---|---|---|
char * | buf | |
char * | end | |
u8 * | addr | |
struct printf_spec | spec | |
const char * | fmt |
1588 | bool found = true |
1589 | count = 1 |
1590 | flags = 0 |
1593 | If width of output field == 0 Then Return buf |
1599 | Do |
1602 | flags |= ESCAPE_ANY |
1603 | Break |
1605 | flags |= ESCAPE_SPECIAL |
1606 | Break |
1608 | flags |= ESCAPE_HEX |
1609 | Break |
1611 | flags |= ESCAPE_NULL |
1612 | Break |
1614 | flags |= ESCAPE_OCTAL |
1615 | Break |
1620 | flags |= ESCAPE_SPACE |
1621 | Break |
1622 | Default |
1623 | found = false |
1624 | Break |
1628 | If Not flags Then flags = ESCAPE_ANY_NP |
1631 | len = If width of output field < 0 Then 1 Else width of output field |
1640 | Return buf |
Name | Describe |
---|---|
pointer | Show a '%p' thing. A kernel extension is that the '%p' is followed* by an extra set of alphanumeric characters that are extended format* specifiers.* Please update scripts/checkpatch.pl when adding/removing conversion* characters |
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 |