Searched refs:needle (Results 1 - 4 of 4) sorted by path

/system/connectivity/shill/
H A Ddevice.cc439 size_t needle = id.find('_'); local
440 DLOG_IF(ERROR, needle == string::npos) << "No _ in storage id?!?!";
441 id.replace(id.begin() + needle + 1, id.end(), hardware_address_);
/system/core/libutils/
H A DUnicode.cpp294 const char16_t needle = *target++; local
296 if (needle != '\0') {
302 } while (*src++ != needle);
/system/core/logcat/tests/
H A Dlogcat_test.cpp87 char needle[32]; local
97 strftime(needle, sizeof(needle), "[ %Y-", ptm);
108 if (!strncmp(buffer, needle, strlen(needle))) {
/system/core/logd/
H A DLogKlog.cpp308 static const char *strnstr(const char *s, size_t len, const char *needle) { argument
314 if ((c = *needle++) != 0) {
315 size_t needleLen = strlen(needle);
323 } while (fast<memcmp>(s, needle, needleLen));

Completed in 78 milliseconds