/system/keymaster/android_keymaster/ |
D | keymaster_configuration.cpp | 78 regmatch_t matches[kPatchlevelMatchCount]; in GetPatchlevel() local 79 int not_match = regexec(®ex, patchlevel_str, kPatchlevelMatchCount, matches, 0 /* flags */); in GetPatchlevel() 86 uint32_t year = match_to_uint32(patchlevel_str, matches[kYearMatch]); in GetPatchlevel() 87 uint32_t month = match_to_uint32(patchlevel_str, matches[kMonthMatch]); in GetPatchlevel() 96 uint32_t day = match_to_uint32(patchlevel_str, matches[kDayMatch]); in GetPatchlevel() 130 regmatch_t matches[kPlatformVersionMatchCount]; in GetOsVersion() local 132 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in GetOsVersion() 140 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); in GetOsVersion() 141 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); in GetOsVersion() 142 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); in GetOsVersion()
|
/system/bt/gd/rust/facade/src/ |
D | main.rs | 31 let matches = App::new("bluetooth_with_facades") in async_main() localVariable 52 let root_server_port = value_t!(matches, "root-server-port", u16).unwrap(); in async_main() 53 let grpc_port = value_t!(matches, "grpc-port", u16).unwrap(); in async_main() 54 let signal_port = value_t!(matches, "signal-port", u16).unwrap(); in async_main() 55 let rootcanal_port = value_t!(matches, "rootcanal-port", u16).ok(); in async_main() 62 matches.value_of("btsnoop").map(String::from), in async_main()
|
/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/extras/simpleperf/ |
D | ProbeEvents.cpp | 59 std::smatch matches; in ParseKprobeEventName() local 60 if (std::regex_search(args[0], matches, name_reg)) { in ParseKprobeEventName() 61 if (matches[1].length() > 0) { in ParseKprobeEventName() 62 event->group_name = matches[1].str(); in ParseKprobeEventName() 65 event->event_name = matches[2].str(); in ParseKprobeEventName()
|
/system/tools/hidl/host_utils/ |
D | StringHelper.cpp | 113 std::vector<std::string> matches; in Tokenize() local 116 if (std::regex_search(copy, match, kStartLowercase)) matches.push_back(match.str(0)); in Tokenize() 117 if (std::regex_search(copy, match, kStartCapcase)) matches.push_back(match.str(0)); in Tokenize() 118 if (std::regex_search(copy, match, kStartUppercase)) matches.push_back(match.str(0)); in Tokenize() 119 if (std::regex_search(copy, match, kStartNumcase)) matches.push_back(match.str(0)); in Tokenize() 121 if (!matches.empty()) { in Tokenize() 122 std::string& maxmatch = matches[0]; in Tokenize() 123 for (std::string& match : matches) in Tokenize() 127 matches.clear(); in Tokenize()
|
/system/security/keystore2/src/km_compat/ |
D | lib.rs | 396 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics() 403 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics() 407 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics() 414 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics() 421 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics() 425 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics() 432 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics() 436 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics() 443 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics() 447 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics() [all …]
|
/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/keystore2/src/database/ |
D | perboot.rs | 101 let mut matches: Vec<_> = reader.iter().filter(|x| p(&x.0)).collect(); in find_auth_token_entry() localVariable 102 matches.sort_by_key(|x| x.0.time_received); in find_auth_token_entry() 103 matches.last().map(|x| x.0.clone()) in find_auth_token_entry()
|
/system/netd/server/ |
D | Controllers.cpp | 141 std::smatch matches; in findExistingChildChains() local 145 if (std::regex_search(rule, matches, CHILD_CHAIN_REGEX) && matches[1] == parentChain) { in findExistingChildChains() 146 existing.insert(matches[2]); in findExistingChildChains()
|
D | TetherController.cpp | 860 std::smatch matches; in addForwardChainStats() local 861 if (!std::regex_search(line, matches, IP_RE)) return -EREMOTEIO; in addForwardChainStats() 868 int64_t packets = strtoul(matches[PACKET_COUNTS].str().c_str(), nullptr, 10); in addForwardChainStats() 869 int64_t bytes = strtoul(matches[BYTE_COUNTS].str().c_str(), nullptr, 10); in addForwardChainStats() 870 std::string iface0 = matches[IFACE0_NAME].str(); in addForwardChainStats() 871 std::string iface1 = matches[IFACE1_NAME].str(); in addForwardChainStats() 872 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 | 87 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/cros/ |
D | p2p_manager.cc | 325 vector<pair<FilePath, Time>> matches; in PerformHousekeeping() local 348 matches.push_back(std::make_pair(name, time)); in PerformHousekeeping() 356 std::sort(matches.begin(), matches.end(), MatchCompareFunc); in PerformHousekeeping() 358 for (i = matches.begin() + num_files_to_keep_; i < matches.end(); ++i) { in PerformHousekeeping()
|
/system/apex/tests/src/com/android/tests/apex/ |
D | MediaSwCodecHostTest.java | 60 if (m.matches()) { in checkCodecs()
|
D | MediaHostTest.java | 64 if (m.matches()) { in checkMediaExtractor()
|
/system/extras/boottime_tools/bootanalyze/ |
D | README.md | 34 event1_name: <pattern that matches log message>
|
/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/prebuilts/api/30.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/prebuilts/api/31.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/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | Utils.java | 53 if (!matcher.matches()) { in parseUtcOffsetToMillis()
|
/system/core/init/ |
D | README.ueventd.md | 87 When a uevent that matches the pattern `/sys/devices/system/cpu/cpu*` is sent, the matching sysfs 95 `no_fnm_pathname`, ueventd matches the entry by `fnmatch(entry_path, incoming_path, 0)` 96 2. Otherwise, ueventd matches the entry by `fnmatch(entry_path, incoming_path, FNM_PATHNAME)`
|
/system/vold/ |
D | VolumeManager.h | 67 bool matches(const std::string& sysPath) { in matches() function
|