Function report |
Source Code:lib\vsprintf.c |
Create Date:2022-07-28 06:12:21 |
| Last Modify:2022-05-21 09:47:42 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static __attribute__((__noinline__)) char *pointer(const char *fmt, char *buf, char *end, void *ptr, struct printf_spec spec)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | fmt | |
| char * | buf | |
| char * | end | |
| void * | ptr | |
| struct printf_spec | spec |
| 2183 | Case fmt == 'S' |
| 2184 | Case fmt == 's' |
| 2185 | ptr = dereference_symbol_descriptor(ptr) |
| 2187 | Case fmt == 'B' |
| 2189 | Case fmt == 'R' |
| 2190 | Case fmt == 'r' |
| 2192 | Case fmt == 'h' |
| 2194 | Case fmt == 'b' |
| 2196 | Case fmt[1] == 'l' |
| 2198 | Default |
| 2201 | Case fmt == 'M' |
| 2202 | Case fmt == 'm' |
| 2210 | Case fmt == 'I' |
| 2214 | Case fmt == 'i' |
| 2216 | Case fmt == 'E' |
| 2218 | Case fmt == 'U' |
| 2220 | Case fmt == 'V' |
| 2222 | Case fmt == 'K' |
| 2223 | Return restricted_pointer(buf, end, ptr, spec) |
| 2224 | Case fmt == 'N' |
| 2226 | Case fmt == 'a' |
| 2228 | Case fmt == 'd' |
| 2230 | Case fmt == 't' |
| 2232 | Case fmt == 'C' |
| 2234 | Case fmt == 'D' |
| 2237 | Case fmt == 'g' |
| 2241 | Case fmt == 'G' |
| 2243 | Case fmt == 'O' |
| 2245 | Case fmt == 'f' |
| 2247 | Case fmt == 'x' |
| 2248 | Return pointer_string(buf, end, ptr, spec) |
| 2249 | Case fmt == 'e' |
| Name | Describe |
|---|---|
| vsnprintf | vsnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@args: Arguments for the format string* This function generally |
| 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 |