Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\string_helpers.c Create Date:2022-07-28 06:25:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:unescape_hex

Proto:static bool unescape_hex(char **src, char **dst)

Type:bool

Parameter:

TypeParameterName
char **src
char **dst
182  p = dst , q = src
186  If q++ != 'x' Then Return false
189  num = digit = hex_to_bin( * q++)
190  If digit < 0 Then Return false
193  digit = hex_to_bin( * q)
194  If digit >= 0 Then
195  q++
196  num = num << 4 | digit
198  p = num
199  dst += 1
200  src = q
201  Return true
Caller
NameDescribe
string_unescapestring_unescape - unquote characters in the given string*@src: source buffer (escaped)*@dst: destination buffer (unescaped)*@size: size of the destination buffer (0 to unlimit)*@flags: combination of the flags.* Description: