/system/keymaster/android_keymaster/ |
D | keymaster_configuration.cpp | 89 regmatch_t matches[kPlatformVersionMatchCount]; in GetOsVersion() local 91 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in GetOsVersion() 98 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); in GetOsVersion() 99 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); in GetOsVersion() 100 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); in GetOsVersion() 117 regmatch_t matches[kPlatformPatchlevelMatchCount]; in GetOsPatchlevel() local 119 regexec(®ex, patchlevel_str, kPlatformPatchlevelMatchCount, matches, 0 /* flags */); in GetOsPatchlevel() 126 uint32_t year = match_to_uint32(patchlevel_str, matches[kYearMatch]); in GetOsPatchlevel() 127 uint32_t month = match_to_uint32(patchlevel_str, matches[kMonthMatch]); in GetOsPatchlevel()
|
/system/tools/hidl/build/ |
D | fqName.go | 37 matches := re_package.FindAllStringSubmatch(f, 3) 39 if matches == nil { 44 packageComponents: strings.Split(matches[0][1], "."), 45 major: matches[0][2], 46 minor: matches[0][3],
|
/system/tools/hidl/docs/src/lexer/ |
D | HidlLexer.kt | 61 val matches = matchToDocEnd.find(line)?.groups in <lambda>() constant 62 if (matches != null) { in <lambda>() 63 if (!matches[2]!!.value.isNullOrBlank()) { in <lambda>() 67 sb.append(matches[1]!!.value) in <lambda>()
|
D | Token.kt | 150 matchInt.matches(value) -> INTEGER in getFromValueOrDefault() 151 matchFloat.matches(value) -> DECIMAL in getFromValueOrDefault()
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
D | util.c | 289 regmatch_t matches[MAX_LINE_MATCHES]; in procline() local 343 matches[m++] = pmatch; in procline() 373 printline(l, ':', matches, m); in procline() 375 printline(l, '-', matches, m); in procline() 444 printline(struct str *line, int sep, regmatch_t *matches, int m) in printline() argument 476 fwrite(line->dat + a, matches[i].rm_so - a, 1, in printline() 481 fwrite(line->dat + matches[i].rm_so, in printline() 482 matches[i].rm_eo - matches[i].rm_so, 1, in printline() 487 a = matches[i].rm_eo; in printline()
|
D | grep.h | 147 void printline(struct str *line, int sep, regmatch_t *matches, int m);
|
/system/tools/hidl/host_utils/ |
D | StringHelper.cpp | 74 std::vector<std::string> matches; in Tokenize() local 80 matches.push_back(match.str(0)); in Tokenize() 82 matches.push_back(match.str(0)); in Tokenize() 84 matches.push_back(match.str(0)); in Tokenize() 85 if (!matches.empty()) { in Tokenize() 86 std::string &maxmatch = matches[0]; in Tokenize() 87 for (std::string &match : matches) in Tokenize() 92 matches.clear(); in Tokenize()
|
/system/hardware/interfaces/net/netd/testutils/ |
D | VtsHalNetNetdTestUtils.cpp | 75 int matches = 0; in countMatchingIpRules() local 81 matches++; in countMatchingIpRules() 86 return matches; in countMatchingIpRules()
|
/system/security/keystore/ |
D | keystore_cli.cpp | 195 std::vector<String16> matches; in list() local 196 ::android::binder::Status ret = service->list(name, uid, &matches); in list() 202 std::vector<String16>::const_iterator it = matches.begin(); in list() 203 for (; it != matches.end(); ++it) { in list()
|
D | KeyStore.cpp | 150 std::list<LockedKeyBlobEntry> matches; in resetUser() local 154 std::tie(rc, matches) = LockedKeyBlobEntry::list(userDirName); in resetUser() 159 for (LockedKeyBlobEntry& lockedEntry : matches) { in resetUser() 221 std::list<LockedKeyBlobEntry> matches; in isEmpty() local 225 std::tie(rc, matches) = LockedKeyBlobEntry::list(userDirName); in isEmpty() 227 return rc == ResponseCode::SYSTEM_ERROR || matches.size() == 0; in isEmpty()
|
D | blob.cpp | 730 std::list<LockedKeyBlobEntry> matches; in list() local 743 std::move(matches)}; in list() 768 matches.push_back(*iterator); in list() 772 std::move(matches)}; in list()
|
/system/netd/server/ |
D | Controllers.cpp | 140 std::smatch matches; in findExistingChildChains() local 144 if (std::regex_search(rule, matches, CHILD_CHAIN_REGEX) && matches[1] == parentChain) { in findExistingChildChains() 145 existing.insert(matches[2]); in findExistingChildChains()
|
D | TetherController.cpp | 839 std::smatch matches; in addForwardChainStats() local 840 if (!std::regex_search(line, matches, IP_RE)) return -EREMOTEIO; in addForwardChainStats() 847 int64_t packets = strtoul(matches[PACKET_COUNTS].str().c_str(), nullptr, 10); in addForwardChainStats() 848 int64_t bytes = strtoul(matches[BYTE_COUNTS].str().c_str(), nullptr, 10); in addForwardChainStats() 849 std::string iface0 = matches[IFACE0_NAME].str(); in addForwardChainStats() 850 std::string iface1 = matches[IFACE1_NAME].str(); in addForwardChainStats() 851 std::string rest = matches[SOURCE].str(); in addForwardChainStats()
|
/system/libvintf/include/vintf/ |
D | Regex.h | 40 bool matches(const std::string& s) const;
|
/system/libvintf/ |
D | Regex.cpp | 41 bool Regex::matches(const std::string& s) const { in matches() function in android::vintf::details::Regex
|
D | MatrixInstance.cpp | 77 return regex.matches(e); in matchInstance()
|
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
D | DistroVersion.java | 69 if (!RULES_VERSION_PATTERN.matcher(rulesVersion).matches()) { in DistroVersion() 80 if (!matcher.matches()) { in fromBytes()
|
/system/update_engine/ |
D | p2p_manager.cc | 331 vector<pair<FilePath, Time>> matches; in PerformHousekeeping() local 353 matches.push_back(std::make_pair(name, time)); in PerformHousekeeping() 361 std::sort(matches.begin(), matches.end(), MatchCompareFunc); in PerformHousekeeping() 363 for (i = matches.begin() + num_files_to_keep_; i < matches.end(); ++i) { in PerformHousekeeping()
|
/system/extras/boottime_tools/bootanalyze/ |
D | README.md | 10 event1_name: <pattern that matches log message>
|
/system/apex/tests/src/com/android/tests/apex/ |
D | MediaHostTest.java | 77 if (m.matches()) { in checkMediaExtractor()
|
D | MediaSwCodecHostTest.java | 82 if (m.matches()) { in checkCodecs()
|
D | ApexTestUtils.java | 66 if (m.matches()) { in getApexInfo()
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | seapp_contexts | 26 # isSystemServer=true only matches the system server. 34 # seinfo= matches aginst the seinfo tag for the app, determined from 37 # name= matches against the package name of the app. 38 # path= matches against the directory path when labeling app directories.
|
/system/sepolicy/private/ |
D | seapp_contexts | 26 # isSystemServer=true only matches the system server. 34 # seinfo= matches aginst the seinfo tag for the app, determined from 37 # name= matches against the package name of the app. 38 # path= matches against the directory path when labeling app directories.
|
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | Utils.java | 53 if (!matcher.matches()) { in parseUtcOffsetToMillis()
|