Searched defs:matches (Results 1 - 14 of 14) sorted by relevance

/system/libvintf/
H A DRegex.cpp41 bool Regex::matches(const std::string& s) const { function in class:android::vintf::details::Regex
/system/security/keystore/
H A Dkeystore_cli.cpp195 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 Dkeystore_client_impl.cpp375 std::vector<::android::String16> matches; local
376 auto binder_result = keystore_->list(prefix16, kDefaultUID, &matches);
379 for (const auto& match : matches) {
H A DKeyStore.cpp478 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 Dkey_store_service.cpp250 ::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 DVtsHalNetNetdTestUtils.cpp75 int matches = 0; local
81 matches++;
86 return matches;
/system/keymaster/android_keymaster/
H A Dkeymaster_configuration.cpp83 regmatch_t matches[kPlatformVersionMatchCount]; local
85 regexec(&regex, 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(&regex, 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 DControllers.cpp136 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 DStringHelper.cpp74 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 DVolumeManager.h70 bool matches(const std::string& sysPath) { function in class:VolumeManager::DiskSource
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
H A Dutil.c248 /* 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 Dp2p_manager.cc340 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 Dliblog_test.cpp1102 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 Dcheck_seapp.c531 size_t matches = 0; local
562 matches++;
568 if (matches == rmA->length) {

Completed in 3075 milliseconds