Home
last modified time | relevance | path

Searched refs:phaystack (Results 1 – 25 of 25) sorted by relevance

/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dmemutil.h119 inline const char* memstr(const char* phaystack, size_t haylen, in memstr() argument
121 return int_memmatch<true>(phaystack, haylen, pneedle, strlen(pneedle)); in memstr()
124 inline const char* memcasestr(const char* phaystack, size_t haylen, in memcasestr() argument
126 return int_memmatch<false>(phaystack, haylen, pneedle, strlen(pneedle)); in memcasestr()
129 inline const char* memmem(const char* phaystack, size_t haylen, in memmem() argument
131 return int_memmatch<true>(phaystack, haylen, pneedle, needlelen); in memmem()
134 inline const char* memcasemem(const char* phaystack, size_t haylen, in memcasemem() argument
136 return int_memmatch<false>(phaystack, haylen, pneedle, needlelen); in memcasemem()
141 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle,
Dmemutil.cc89 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle, in memmatch() argument
92 return phaystack; // even if haylen is 0 in memmatch()
97 const char* hayend = phaystack + haylen - neelen + 1; in memmatch()
101 memchr(phaystack, pneedle[0], hayend - phaystack)))) { in memmatch()
105 phaystack = match + 1; in memmatch()
Dmemutil_test.cc34 static const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
37 return phaystack; // even if haylen is 0 in memcasematch()
42 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
44 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
48 phaystack = match + 1; in memcasematch()
Dmemutil_benchmark.cc225 const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
228 return phaystack; // even if haylen is 0 in memcasematch()
233 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
235 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
239 phaystack = match + 1; in memcasematch()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dmemutil.h119 inline const char* memstr(const char* phaystack, size_t haylen, in memstr() argument
121 return int_memmatch<true>(phaystack, haylen, pneedle, strlen(pneedle)); in memstr()
124 inline const char* memcasestr(const char* phaystack, size_t haylen, in memcasestr() argument
126 return int_memmatch<false>(phaystack, haylen, pneedle, strlen(pneedle)); in memcasestr()
129 inline const char* memmem(const char* phaystack, size_t haylen, in memmem() argument
131 return int_memmatch<true>(phaystack, haylen, pneedle, needlelen); in memmem()
134 inline const char* memcasemem(const char* phaystack, size_t haylen, in memcasemem() argument
136 return int_memmatch<false>(phaystack, haylen, pneedle, needlelen); in memcasemem()
141 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle,
Dmemutil.cc89 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle, in memmatch() argument
92 return phaystack; // even if haylen is 0 in memmatch()
97 const char* hayend = phaystack + haylen - neelen + 1; in memmatch()
101 memchr(phaystack, pneedle[0], hayend - phaystack)))) { in memmatch()
105 phaystack = match + 1; in memmatch()
Dmemutil_test.cc34 static const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
37 return phaystack; // even if haylen is 0 in memcasematch()
42 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
44 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
48 phaystack = match + 1; in memcasematch()
Dmemutil_benchmark.cc225 const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
228 return phaystack; // even if haylen is 0 in memcasematch()
233 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
235 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
239 phaystack = match + 1; in memcasematch()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dmemutil.h119 inline const char* memstr(const char* phaystack, size_t haylen, in memstr() argument
121 return int_memmatch<true>(phaystack, haylen, pneedle, strlen(pneedle)); in memstr()
124 inline const char* memcasestr(const char* phaystack, size_t haylen, in memcasestr() argument
126 return int_memmatch<false>(phaystack, haylen, pneedle, strlen(pneedle)); in memcasestr()
129 inline const char* memmem(const char* phaystack, size_t haylen, in memmem() argument
131 return int_memmatch<true>(phaystack, haylen, pneedle, needlelen); in memmem()
134 inline const char* memcasemem(const char* phaystack, size_t haylen, in memcasemem() argument
136 return int_memmatch<false>(phaystack, haylen, pneedle, needlelen); in memcasemem()
141 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle,
Dmemutil.cc89 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle, in memmatch() argument
92 return phaystack; // even if haylen is 0 in memmatch()
97 const char* hayend = phaystack + haylen - neelen + 1; in memmatch()
101 memchr(phaystack, pneedle[0], hayend - phaystack)))) { in memmatch()
105 phaystack = match + 1; in memmatch()
Dmemutil_test.cc34 static const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
37 return phaystack; // even if haylen is 0 in memcasematch()
42 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
44 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
48 phaystack = match + 1; in memcasematch()
Dmemutil_benchmark.cc225 const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
228 return phaystack; // even if haylen is 0 in memcasematch()
233 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
235 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
239 phaystack = match + 1; in memcasematch()
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dmemutil.h119 inline const char* memstr(const char* phaystack, size_t haylen, in memstr() argument
121 return int_memmatch<true>(phaystack, haylen, pneedle, strlen(pneedle)); in memstr()
124 inline const char* memcasestr(const char* phaystack, size_t haylen, in memcasestr() argument
126 return int_memmatch<false>(phaystack, haylen, pneedle, strlen(pneedle)); in memcasestr()
129 inline const char* memmem(const char* phaystack, size_t haylen, in memmem() argument
131 return int_memmatch<true>(phaystack, haylen, pneedle, needlelen); in memmem()
134 inline const char* memcasemem(const char* phaystack, size_t haylen, in memcasemem() argument
136 return int_memmatch<false>(phaystack, haylen, pneedle, needlelen); in memcasemem()
141 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle,
Dmemutil.cc89 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle, in memmatch() argument
92 return phaystack; // even if haylen is 0 in memmatch()
97 const char* hayend = phaystack + haylen - neelen + 1; in memmatch()
101 memchr(phaystack, pneedle[0], hayend - phaystack)))) { in memmatch()
105 phaystack = match + 1; in memmatch()
Dmemutil_test.cc34 static const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
37 return phaystack; // even if haylen is 0 in memcasematch()
42 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
44 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
48 phaystack = match + 1; in memcasematch()
Dmemutil_benchmark.cc225 const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
228 return phaystack; // even if haylen is 0 in memcasematch()
233 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
235 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
239 phaystack = match + 1; in memcasematch()
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dmemutil.h119 inline const char* memstr(const char* phaystack, size_t haylen, in memstr() argument
121 return int_memmatch<true>(phaystack, haylen, pneedle, strlen(pneedle)); in memstr()
124 inline const char* memcasestr(const char* phaystack, size_t haylen, in memcasestr() argument
126 return int_memmatch<false>(phaystack, haylen, pneedle, strlen(pneedle)); in memcasestr()
129 inline const char* memmem(const char* phaystack, size_t haylen, in memmem() argument
131 return int_memmatch<true>(phaystack, haylen, pneedle, needlelen); in memmem()
134 inline const char* memcasemem(const char* phaystack, size_t haylen, in memcasemem() argument
136 return int_memmatch<false>(phaystack, haylen, pneedle, needlelen); in memcasemem()
141 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle,
Dmemutil.cc89 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle, in memmatch() argument
92 return phaystack; // even if haylen is 0 in memmatch()
97 const char* hayend = phaystack + haylen - neelen + 1; in memmatch()
101 memchr(phaystack, pneedle[0], hayend - phaystack)))) { in memmatch()
105 phaystack = match + 1; in memmatch()
Dmemutil_test.cc34 static const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
37 return phaystack; // even if haylen is 0 in memcasematch()
42 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
44 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
48 phaystack = match + 1; in memcasematch()
Dmemutil_benchmark.cc225 const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
228 return phaystack; // even if haylen is 0 in memcasematch()
233 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
235 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
239 phaystack = match + 1; in memcasematch()
/external/abseil-cpp/absl/strings/internal/
Dmemutil.h119 inline const char* memstr(const char* phaystack, size_t haylen, in memstr() argument
121 return int_memmatch<true>(phaystack, haylen, pneedle, strlen(pneedle)); in memstr()
124 inline const char* memcasestr(const char* phaystack, size_t haylen, in memcasestr() argument
126 return int_memmatch<false>(phaystack, haylen, pneedle, strlen(pneedle)); in memcasestr()
129 inline const char* memmem(const char* phaystack, size_t haylen, in memmem() argument
131 return int_memmatch<true>(phaystack, haylen, pneedle, needlelen); in memmem()
134 inline const char* memcasemem(const char* phaystack, size_t haylen, in memcasemem() argument
136 return int_memmatch<false>(phaystack, haylen, pneedle, needlelen); in memcasemem()
141 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle,
Dmemutil.cc89 const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle, in memmatch() argument
92 return phaystack; // even if haylen is 0 in memmatch()
97 const char* hayend = phaystack + haylen - neelen + 1; in memmatch()
101 memchr(phaystack, pneedle[0], hayend - phaystack)))) { in memmatch()
105 phaystack = match + 1; in memmatch()
Dmemutil_test.cc34 static const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
37 return phaystack; // even if haylen is 0 in memcasematch()
42 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
44 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
48 phaystack = match + 1; in memcasematch()
Dmemutil_benchmark.cc225 const char* memcasematch(const char* phaystack, size_t haylen, in memcasematch() argument
228 return phaystack; // even if haylen is 0 in memcasematch()
233 const char* hayend = phaystack + haylen - neelen + 1; in memcasematch()
235 memcasechr(phaystack, pneedle[0], hayend - phaystack)))) { in memcasematch()
239 phaystack = match + 1; in memcasematch()
/external/libtextclassifier/native/utils/strings/
Dstringpiece.h121 const char* memmatch(const char* phaystack, size_t haylen, in memmatch() argument
124 return phaystack; // Even if haylen is 0. in memmatch()
131 const char* hayend = phaystack + haylen - neelen + 1; in memmatch()
133 memchr(phaystack, pneedle[0], hayend - phaystack)))) { in memmatch()
137 phaystack = match + 1; in memmatch()