Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cc151 static const size_t kStrlcpyBufSize = 8; variable
154 retval = internal_strlcpy(dbuf, sbuf, kStrlcpyBufSize); in test_internal_strlcpy()
155 EXPECT_EQ(internal_strncmp(dbuf, sbuf, kStrlcpyBufSize - 1), 0); in test_internal_strlcpy()
157 std::min(internal_strlen(sbuf), (uptr)(kStrlcpyBufSize - 1))); in test_internal_strlcpy()
176 char dbuf[kStrlcpyBufSize] = {}; in TEST()
190 char dcatbuf[kStrlcpyBufSize] = {}; in TEST()
196 retval = internal_strlcat(dcatbuf, "123", kStrlcpyBufSize); in TEST()
201 retval = internal_strlcat(dcatbuf, "123", kStrlcpyBufSize); in TEST()
206 retval = internal_strlcat(dcatbuf, "123", kStrlcpyBufSize); in TEST()