• Home
  • Raw
  • Download

Lines Matching refs:strings_internal

45     if (absl::strings_internal::memcasecmp(match, pneedle, neelen) == 0)  in memcasematch()
56 absl::strings_internal::memcat(a, 0, "hello", sizeof("hello") - 1); in TEST()
57 absl::strings_internal::memcat(a, 5, " there", sizeof(" there") - 1); in TEST()
59 EXPECT_EQ(absl::strings_internal::memcasecmp(a, "heLLO there", in TEST()
62 EXPECT_EQ(absl::strings_internal::memcasecmp(a, "heLLO therf", in TEST()
65 EXPECT_EQ(absl::strings_internal::memcasecmp(a, "heLLO therf", in TEST()
68 EXPECT_EQ(absl::strings_internal::memcasecmp(a, "whatever", 0), 0); in TEST()
70 char* p = absl::strings_internal::memdup("hello", 5); in TEST()
73 p = absl::strings_internal::memrchr("hello there", 'e', in TEST()
76 p = absl::strings_internal::memrchr("hello there", 'e', in TEST()
79 p = absl::strings_internal::memrchr("hello there", 'u', in TEST()
83 int len = absl::strings_internal::memspn("hello there", in TEST()
86 len = absl::strings_internal::memspn("hello there", sizeof("hello there") - 1, in TEST()
89 len = absl::strings_internal::memspn("hello there", sizeof("hello there") - 1, in TEST()
92 len = absl::strings_internal::memspn("hello there", sizeof("hello there") - 1, in TEST()
95 len = absl::strings_internal::memspn("hello there!", in TEST()
98 len = absl::strings_internal::memspn("hello there!", in TEST()
102 len = absl::strings_internal::memcspn("hello there", in TEST()
105 len = absl::strings_internal::memcspn("hello there", in TEST()
108 len = absl::strings_internal::memcspn("hello there", in TEST()
111 len = absl::strings_internal::memcspn("hello there", in TEST()
115 p = absl::strings_internal::mempbrk("hello there", sizeof("hello there") - 1, in TEST()
118 p = absl::strings_internal::mempbrk("hello there", sizeof("hello there") - 1, in TEST()
121 p = absl::strings_internal::mempbrk("hello there!", in TEST()
124 p = absl::strings_internal::mempbrk("hello there", sizeof("hello there") - 1, in TEST()
130 EXPECT_EQ(absl::strings_internal::memmem(kHaystack, 0, "", 0), kHaystack); in TEST()
131 EXPECT_EQ(absl::strings_internal::memmem(kHaystack, 10, "012", 3), in TEST()
133 EXPECT_EQ(absl::strings_internal::memmem(kHaystack, 10, "0xx", 1), in TEST()
135 EXPECT_EQ(absl::strings_internal::memmem(kHaystack, 10, "789", 3), in TEST()
137 EXPECT_EQ(absl::strings_internal::memmem(kHaystack, 10, "9xx", 1), in TEST()
139 EXPECT_TRUE(absl::strings_internal::memmem(kHaystack, 10, "9xx", 3) == in TEST()
141 EXPECT_TRUE(absl::strings_internal::memmem(kHaystack, 10, "xxx", 1) == in TEST()
146 EXPECT_EQ(absl::strings_internal::memcasemem(kHaystack, 0, "", 0), in TEST()
148 EXPECT_EQ(absl::strings_internal::memcasemem(kHaystack, 10, "Abc", 3), in TEST()
150 EXPECT_EQ(absl::strings_internal::memcasemem(kHaystack, 10, "Axx", 1), in TEST()
152 EXPECT_EQ(absl::strings_internal::memcasemem(kHaystack, 10, "hIj", 3), in TEST()
154 EXPECT_EQ(absl::strings_internal::memcasemem(kHaystack, 10, "jxx", 1), in TEST()
156 EXPECT_TRUE(absl::strings_internal::memcasemem(kHaystack, 10, "jxx", 3) == in TEST()
158 EXPECT_TRUE(absl::strings_internal::memcasemem(kHaystack, 10, "xxx", 1) == in TEST()
163 EXPECT_EQ(absl::strings_internal::memmatch(kHaystack, 0, "", 0), kHaystack); in TEST()
164 EXPECT_EQ(absl::strings_internal::memmatch(kHaystack, 10, "012", 3), in TEST()
166 EXPECT_EQ(absl::strings_internal::memmatch(kHaystack, 10, "0xx", 1), in TEST()
168 EXPECT_EQ(absl::strings_internal::memmatch(kHaystack, 10, "789", 3), in TEST()
170 EXPECT_EQ(absl::strings_internal::memmatch(kHaystack, 10, "9xx", 1), in TEST()
172 EXPECT_TRUE(absl::strings_internal::memmatch(kHaystack, 10, "9xx", 3) == in TEST()
174 EXPECT_TRUE(absl::strings_internal::memmatch(kHaystack, 10, "xxx", 1) == in TEST()