Searched refs:CpuFeatures_StringView_StartsWith (Results 1 – 4 of 4) sorted by relevance
/external/cpu_features/test/ |
D | string_view_test.cc | 61 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/ |
D | string_view.c | 49 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()
|
D | impl_x86_freebsd.c | 42 if (!CpuFeatures_StringView_StartsWith(line, str(" Features"))) continue; in DetectFeaturesFromOs()
|
/external/cpu_features/include/internal/ |
D | string_view.h | 61 bool CpuFeatures_StringView_StartsWith(const StringView a, const StringView b);
|