Searched refs:str_enc (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/shared/ |
D | device-nodes.c | 19 int encode_devnode_name(const char *str, char *str_enc, size_t len) { in encode_devnode_name() argument 22 if (!str || !str_enc) in encode_devnode_name() 34 memcpy(&str_enc[j], &str[i], seqlen); in encode_devnode_name() 43 sprintf(&str_enc[j], "\\x%02x", (unsigned char) str[i]); in encode_devnode_name() 50 str_enc[j] = str[i]; in encode_devnode_name() 58 str_enc[j] = '\0'; in encode_devnode_name()
|
D | device-nodes.h | 6 int encode_devnode_name(const char *str, char *str_enc, size_t len);
|
/systemd-251/src/libudev/ |
D | libudev-util.c | 25 _public_ int udev_util_encode_string(const char *str, char *str_enc, size_t len) { in udev_util_encode_string() argument 26 return encode_devnode_name(str, str_enc, len); in udev_util_encode_string()
|
D | libudev.h | 185 int udev_util_encode_string(const char *str, char *str_enc, size_t len);
|