Home | History | Annotate | Download | only in test

Lines Matching refs:len

30 // hexdump writes |msg| to |fp| followed by the hex encoding of |len| bytes
32 void hexdump(FILE *fp, const char *msg, const void *in, size_t len);
38 : data(data_arg), len(len_arg) {}
40 : data(reinterpret_cast<const uint8_t *>(data_arg)), len(len_arg) {}
43 : data(reinterpret_cast<const uint8_t *>(str)), len(strlen(str)) {}
45 : data(reinterpret_cast<const uint8_t *>(str.data())), len(str.size()) {}
47 : data(vec.data()), len(vec.size()) {}
50 explicit Bytes(const uint8_t (&array)[N]) : data(array), len(N) {}
53 size_t len;
57 return a.len == b.len && OPENSSL_memcmp(a.data, b.data, a.len) == 0;