Searched refs:dst_len (Results 1 – 2 of 2) sorted by relevance
82 size_t dst_len = 1024; in vsyslog() local83 char* dst = reinterpret_cast<char*>(malloc(dst_len)); in vsyslog()87 for (; dst_len > 0 && *src != '\0'; ++src) { in vsyslog()90 size_t n = strlcpy(dst, strerror(caller_errno), dst_len); in vsyslog()91 if (n >= dst_len) { in vsyslog()92 n = dst_len; in vsyslog()95 dst_len -= n; in vsyslog()99 if (dst_len <= 2) { in vsyslog()102 *dst++ = '%'; --dst_len; in vsyslog()103 *dst++ = '%'; --dst_len; in vsyslog()[all …]
35 __u8 dst_len; member