Searched refs:Strnlen (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/core/lib/strings/ |
D | str_util_test.cc | 433 TEST(Strnlen, Basic) { in TEST() argument 434 EXPECT_EQ(0, str_util::Strnlen("ab", 0)); in TEST() 435 EXPECT_EQ(1, str_util::Strnlen("a", 1)); in TEST() 436 EXPECT_EQ(2, str_util::Strnlen("abcd", 2)); in TEST() 437 EXPECT_EQ(3, str_util::Strnlen("abc", 10)); in TEST() 438 EXPECT_EQ(4, str_util::Strnlen("a \t\n", 10)); in TEST()
|
D | str_util.h | 229 size_t Strnlen(const char* str, const size_t string_max_len);
|
D | str_util.cc | 457 size_t Strnlen(const char* str, const size_t string_max_len) { in Strnlen() function
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | binary_strnlen_s_test.cpp | 20 TEST(Strnlen, Samples) { in TEST() argument
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | binary_strnlen_s_test.cpp | 20 TEST(Strnlen, Samples) { in TEST() argument
|