Function report |
Source Code:arch\x86\boot\string.c |
Create Date:2022-07-28 07:27:04 |
| Last Modify:2022-05-21 21:56:45 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:simple_strtoull - convert a string to an unsigned long long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use
Proto:unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base)
Type:unsigned long long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | cp | |
| char ** | endp | |
| unsigned int | base |
| 123 | result = 0 |
| 125 | If Not base Then base = simple_guess_base(cp) |
| 128 | If base == 16 && cp[0] == '0' && Works only for digits and letters, but small and fast (cp[1]) == 'x' Then cp += 2 |
| 134 | value = If isdigit( * cp) Then cp - '0' Else Works only for digits and letters, but small and fast ( * cp) - 'a' + 10 |
| 138 | cp++ |
| 143 | Return result |
| Name | Describe |
|---|---|
| parse_earlyprintk | |
| parse_console_uart8250 | |
| simple_strtol | |
| parse_memmap_one | |
| mtrr_write | seq_file can seek but we ignore it.* Format of control line:* "base=%Lx size=%Lx type=%s" or "disable=%d" |
| early_serial_init | |
| kdbgetu64arg |
| 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 |