/system/libvintf/ |
H A D | Regex.cpp | 41 bool Regex::matches(const std::string& s) const { function in class:android::vintf::details::Regex
|
/system/security/keystore/ |
H A D | keystore_cli.cpp | 195 std::vector<String16> matches; local 196 ::android::binder::Status ret = service->list(name, uid, &matches); 202 std::vector<String16>::const_iterator it = matches.begin(); 203 for (; it != matches.end(); ++it) {
|
H A D | keystore_client_impl.cpp | 375 std::vector<::android::String16> matches; local 376 auto binder_result = keystore_->list(prefix16, kDefaultUID, &matches); 379 for (const auto& match : matches) {
|
H A D | KeyStore.cpp | 478 android::Vector<android::String16>* matches, uid_t userId) { 509 matches->push(android::String16(match, extra)); 477 list(const android::String8& prefix, android::Vector<android::String16>* matches, uid_t userId) argument
|
H A D | key_store_service.cpp | 250 ::std::vector<::android::String16>* matches) { 263 matches->clear(); 265 matches->push_back(matches_internal[i]); 249 list(const String16& prefix, int targetUid, ::std::vector<::android::String16>* matches) argument
|
/system/hardware/interfaces/net/netd/testutils/ |
H A D | VtsHalNetNetdTestUtils.cpp | 75 int matches = 0; local 81 matches++; 86 return matches;
|
/system/keymaster/android_keymaster/ |
H A D | keymaster_configuration.cpp | 83 regmatch_t matches[kPlatformVersionMatchCount]; local 85 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); 92 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); 93 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); 94 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); 112 regmatch_t matches[kPlatformPatchlevelMatchCount]; local 114 regexec(®ex, patchlevel_str, kPlatformPatchlevelMatchCount, matches, 0 /* flags */); 121 uint32_t year = match_to_uint32(patchlevel_str, matches[kYearMatch]); 122 uint32_t month = match_to_uint32(patchlevel_str, matches[kMonthMatch]);
|
/system/netd/server/ |
H A D | Controllers.cpp | 136 std::smatch matches; local 140 if (std::regex_search(rule, matches, CHILD_CHAIN_REGEX) && matches[1] == parentChain) { 141 existing.insert(matches[2]);
|
/system/tools/hidl/utils/ |
H A D | StringHelper.cpp | 74 std::vector<std::string> matches; local 80 matches.push_back(match.str(0)); 82 matches.push_back(match.str(0)); 84 matches.push_back(match.str(0)); 85 if (!matches.empty()) { 86 std::string &maxmatch = matches[0]; 87 for (std::string &match : matches) 92 matches.clear();
|
/system/vold/ |
H A D | VolumeManager.h | 70 bool matches(const std::string& sysPath) { function in class:VolumeManager::DiskSource
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
H A D | util.c | 248 /* Count the matches if we have a match limit */ 283 * matches. The matching lines are passed to printline() to display the 289 regmatch_t matches[MAX_LINE_MATCHES]; local 343 matches[m++] = pmatch; 344 /* matches - skip further patterns */ 353 /* One pass if we are not recording matches */ 358 break; /* No matches */ 373 printline(l, ':', matches, m); 375 printline(l, '-', matches, m); 444 printline(struct str *line, int sep, regmatch_t *matches, in argument [all...] |
/system/update_engine/ |
H A D | p2p_manager.cc | 340 vector<pair<FilePath, Time>> matches; local 362 matches.push_back(std::make_pair(name, time)); 367 // sort list of matches, newest (biggest time) to oldest (lowest 370 std::sort(matches.begin(), matches.end(), MatchCompareFunc); 372 for (i = matches.begin() + num_files_to_keep_; i < matches.end(); ++i) {
|
/system/core/liblog/tests/ |
H A D | liblog_test.cpp | 1102 bool matches = false; local 1135 matches = true; 1143 EXPECT_EQ(true, matches); 1147 EXPECT_EQ(false, matches); 3075 "Reboot, ensure file %s matches\n"
|
/system/sepolicy/tools/ |
H A D | check_seapp.c | 531 size_t matches = 0; local 562 matches++; 568 if (matches == rmA->length) {
|