Searched refs:str_enc (Results 1 – 5 of 5) sorted by relevance
/third_party/eudev/src/shared/ |
D | device-nodes.c | 41 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()
|
D | device-nodes.h | 22 int encode_devnode_name(const char *str, char *str_enc, size_t len);
|
/third_party/eudev/src/libudev/ |
D | libudev-util.c | 302 _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()
|
D | libudev.h | 201 int udev_util_encode_string(const char *str, char *str_enc, size_t len);
|
/third_party/eudev/export_include/ |
D | libudev.h | 201 int udev_util_encode_string(const char *str, char *str_enc, size_t len);
|