Searched refs:Strnlen (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/platform/ |
D | str_util_test.cc | 371 TEST(Strnlen, Basic) { in TEST() argument 372 EXPECT_EQ(0, str_util::Strnlen("ab", 0)); in TEST() 373 EXPECT_EQ(1, str_util::Strnlen("a", 1)); in TEST() 374 EXPECT_EQ(2, str_util::Strnlen("abcd", 2)); in TEST() 375 EXPECT_EQ(3, str_util::Strnlen("abc", 10)); in TEST() 376 EXPECT_EQ(4, str_util::Strnlen("a \t\n", 10)); in TEST()
|
D | str_util.h | 170 size_t Strnlen(const char* str, const size_t string_max_len);
|
D | str_util.cc | 170 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/angle/third_party/vulkan-deps/spirv-tools/src/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
|