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

/system/security/keystore/
H A Dkeystore_cli.cpp197 Vector<String16> matches; local
198 int32_t ret = service->list(name, uid, &matches);
206 Vector<String16>::const_iterator it = matches.begin();
207 for (; it != matches.end(); ++it) {
H A Dkeystore.cpp371 android::Vector<android::String16>* matches, uid_t userId) {
402 matches->push(android::String16(match, extra));
370 list(const android::String8& prefix, android::Vector<android::String16>* matches, uid_t userId) argument
H A Dkeystore_client_impl.cpp365 android::Vector<String16> matches; local
366 int32_t error_code = mapKeystoreError(keystore_->list(prefix16, kDefaultUID, &matches));
368 for (const auto& match : matches) {
H A DIKeystoreService.cpp582 virtual int32_t list(const String16& prefix, int uid, Vector<String16>* matches) argument
596 matches->push(reply.readString16());
1449 Vector<String16> matches; local
1450 int32_t ret = list(prefix, uid, &matches);
1452 reply->writeInt32(matches.size());
1453 Vector<String16>::const_iterator it = matches.begin();
1454 for (; it != matches.end(); ++it) {
H A Dkey_store_service.cpp141 int32_t KeyStoreService::list(const String16& prefix, int targetUid, Vector<String16>* matches) { argument
149 if (mKeyStore->list(filename, matches, get_user_id(targetUid)) != ::NO_ERROR) {
/system/connectivity/shill/test-scripts/
H A Drouting.py82 def matches(self, ip): member in class:Route
137 if rr.isUsable() and rr.matches(ip):
/system/keymaster/
H A Dkeymaster_configuration.cpp91 regmatch_t matches[kPlatformVersionMatchCount]; local
92 if (regexec(&regex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */)) {
97 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]);
98 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]);
99 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]);
111 regmatch_t matches[kPlatformPatchlevelMatchCount]; local
112 if (regexec(&regex, patchlevel_str, kPlatformPatchlevelMatchCount, matches, 0 /* flags */)) {
117 uint32_t year = match_to_uint32(patchlevel_str, matches[kYearMatch]);
118 uint32_t month = match_to_uint32(patchlevel_str, matches[kMonthMatch]);
/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/vold/
H A DVolumeManager.h103 bool matches(const std::string& sysPath) { function in class:VolumeManager::DiskSource
/system/update_engine/
H A Dp2p_manager.cc337 vector<pair<FilePath, Time>> matches; local
359 matches.push_back(std::make_pair(name, time));
364 // sort list of matches, newest (biggest time) to oldest (lowest
367 std::sort(matches.begin(), matches.end(), MatchCompareFunc);
369 for (i = matches.begin() + num_files_to_keep_; i < matches.end(); ++i) {
/system/core/liblog/tests/
H A Dliblog_test.cpp927 bool matches = false; local
960 matches = true;
967 EXPECT_EQ(true, matches);
2475 fprintf(stderr, "Reboot, ensure file %s matches\n"
/system/sepolicy/tools/
H A Dcheck_seapp.c502 size_t matches = 0; local
533 matches++;
539 if (matches == rmA->length) {

Completed in 632 milliseconds