Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/strings/
Dstr_util_test.cc433 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()
Dstr_util.h229 size_t Strnlen(const char* str, const size_t string_max_len);
Dstr_util.cc457 size_t Strnlen(const char* str, const size_t string_max_len) { in Strnlen() function
/external/swiftshader/third_party/SPIRV-Tools/test/
Dbinary_strnlen_s_test.cpp20 TEST(Strnlen, Samples) { in TEST() argument
/external/deqp-deps/SPIRV-Tools/test/
Dbinary_strnlen_s_test.cpp20 TEST(Strnlen, Samples) { in TEST() argument