Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/platform/
Dstr_util_test.cc371 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()
Dstr_util.h170 size_t Strnlen(const char* str, const size_t string_max_len);
Dstr_util.cc170 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/angle/third_party/vulkan-deps/spirv-tools/src/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