Home
last modified time | relevance | path

Searched refs:str_enc (Results 1 – 5 of 5) sorted by relevance

/third_party/eudev/src/shared/
Ddevice-nodes.c41 int encode_devnode_name(const char *str, char *str_enc, size_t len) { in encode_devnode_name() argument
44 if (str == NULL || str_enc == NULL) in encode_devnode_name()
56 memcpy(&str_enc[j], &str[i], seqlen); in encode_devnode_name()
65 sprintf(&str_enc[j], "\\x%02x", (unsigned char) str[i]); in encode_devnode_name()
72 str_enc[j] = str[i]; in encode_devnode_name()
80 str_enc[j] = '\0'; in encode_devnode_name()
Ddevice-nodes.h22 int encode_devnode_name(const char *str, char *str_enc, size_t len);
/third_party/eudev/src/libudev/
Dlibudev-util.c302 _public_ int udev_util_encode_string(const char *str, char *str_enc, size_t len) in udev_util_encode_string() argument
304 return encode_devnode_name(str, str_enc, len); in udev_util_encode_string()
Dlibudev.h201 int udev_util_encode_string(const char *str, char *str_enc, size_t len);
/third_party/eudev/export_include/
Dlibudev.h201 int udev_util_encode_string(const char *str, char *str_enc, size_t len);