Home
last modified time | relevance | path

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

/external/cpu_features/test/
Dstring_view_test.cc61 TEST(StringViewTest, CpuFeatures_StringView_StartsWith) { in TEST() argument
62 EXPECT_TRUE(CpuFeatures_StringView_StartsWith(str("test"), str("te"))); in TEST()
63 EXPECT_TRUE(CpuFeatures_StringView_StartsWith(str("test"), str("test"))); in TEST()
64 EXPECT_FALSE(CpuFeatures_StringView_StartsWith(str("test"), str("st"))); in TEST()
65 EXPECT_FALSE(CpuFeatures_StringView_StartsWith(str("test"), str("est"))); in TEST()
66 EXPECT_FALSE(CpuFeatures_StringView_StartsWith(str("test"), str(""))); in TEST()
68 CpuFeatures_StringView_StartsWith(str("test"), kEmptyStringView)); in TEST()
70 CpuFeatures_StringView_StartsWith(kEmptyStringView, str("test"))); in TEST()
/external/cpu_features/src/
Dstring_view.c49 if (CpuFeatures_StringView_StartsWith(remainder, sub_view)) { in CpuFeatures_StringView_IndexOf()
65 bool CpuFeatures_StringView_StartsWith(const StringView a, const StringView b) { in CpuFeatures_StringView_StartsWith() function
134 if (CpuFeatures_StringView_StartsWith(view, hex_prefix)) { in CpuFeatures_StringView_ParsePositiveNumber()
Dimpl_x86_freebsd.c42 if (!CpuFeatures_StringView_StartsWith(line, str(" Features"))) continue; in DetectFeaturesFromOs()
/external/cpu_features/include/internal/
Dstring_view.h61 bool CpuFeatures_StringView_StartsWith(const StringView a, const StringView b);