/packages/modules/StatsD/statsd/src/utils/ |
D | Regex.h | 28 class Regex { 30 Regex(regex_t impl); // Do not use. It is public for std::make_unique. Use Regex::create. 31 ~Regex(); 32 Regex& operator=(const Regex&) = delete; 33 Regex(const Regex&) = delete; 36 static std::unique_ptr<Regex> create(const std::string& pattern);
|
D | Regex.cpp | 28 Regex::Regex(regex_t impl) : mImpl(std::move(impl)) { in Regex() function in android::os::statsd::Regex 31 Regex::~Regex() { in ~Regex() 35 unique_ptr<Regex> Regex::create(const string& pattern) { in create() 55 return std::make_unique<Regex>(impl); in create() 59 bool Regex::replace(string& str, const string& replacement) { in replace()
|
/packages/services/Car/ |
D | .clang-format | 28 - Regex: '^<[[:alnum:]_]+\.h>' 30 …- Regex: '^<sys/(auxv|cachectl|capability|cdefs|endian|epoll|errno|eventfd|fcntl|file|fs… 32 - Regex: '^<[[:alnum:]_]+>' 34 - Regex: '^<.*/[[:alnum:]_]+\.h>$|^<[[:alnum:]_]+\.sysprop\.h>$' 36 - Regex: '^".*'
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | ConcurrentInterpreter.kt | 13 typealias InterpretMatcher<T> = Pair<Regex, (ConcurrentInterpreter<T>, T, MatchResult) -> Any?> in <lambda>() 178 Regex("") to { _, _, _ -> null }, in getDefaultInstructions() 180 Regex("(.*)//.*") to { i, t, r -> i.interpret(r.strArg(1), t) }, in r() 182 Regex("""(.*)\s*time\s*(\d+)\.\.(\d+)""") to { i, t, r -> in r() 204 Regex("""(.*)\s*=\s*(null|\d+)""") to { i, t, r -> in r() 210 Regex("""sleep(\((\d+)\))?""") to { i, t, r -> in r() 213 Regex("""(.*)\s*fails""") to { i, t, r -> in r()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | TrackRecordTest.kt | 405 Regex("(.*)\\s+is\\s+(even|odd)") to { i, t, r -> in r() 411 Regex("""add\((\d+)\)""") to { i, t, r -> in r() 416 Regex("""poll\((\d+),\s*(\d+)\)\s*(\{.*\})?""") to { i, t, r -> in r() 423 Regex("""poll\((\d+)?\)\s*(\{.*\})?""") to { i, t, r -> in r() 429 Regex("mark") to { i, t, _ -> (t as ArrayTrackRecord<Int>.ReadHead).mark }, in t() 431 Regex("peek\\(\\)") to { i, t, _ -> (t as ArrayTrackRecord<Int>.ReadHead).peek() } in t() 438 val match = Regex("""\{\s*([<>=])\s*(\d+)\s*\}""").matchEntire(spec) in makePredicate()
|
/packages/modules/StatsD/statsd/benchmark/ |
D | string_transform_benchmark.cpp | 25 using android::os::statsd::Regex; 82 unique_ptr<Regex> re = Regex::create(R"([0-9]+$)"); in BM_RemoveTrailingNumbersCRegex()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/ |
D | TestableNetworkCallbackTest.kt | 423 Regex("""(.*)\s+=\s+($EntryList)\((\d+)\)""") to { i, cb, t -> in t() 436 Regex("""on($EntryList)\((\d+)\)""") to { i, cb, t -> in t() 452 Regex("""poll\((\d+)\)""") to { i, cb, t -> cb.poll(t.timeArg(1)) }, in t() 456 Regex("""eventually\(($EntryList)\((\d+)\),\s+(\d+)\)""") to { i, cb, t -> in t()
|
/packages/modules/StatsD/statsd/ |
D | .clang-format | 16 - Regex: '^"Log\.h"'
|
D | Android.bp | 127 "src/utils/Regex.cpp",
|
/packages/modules/StatsD/lib/ |
D | .clang-format | 16 - Regex: '^"Log\.h"'
|
/packages/modules/StatsD/apex/ |
D | .clang-format | 16 - Regex: '^"Log\.h"'
|
/packages/modules/Virtualization/compos/src/ |
D | compilation.rs | 20 use regex::Regex; 215 let pattern = Regex::new(r"^export ([^ ]+) ([^ ]+)$").context("Failed to construct Regex")?; in load_classpath_vars()
|
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ |
D | PermissionGroupPreferenceUtils.kt | 45 Regex("^[^\\d]*(\\d+)[^\\d]*(\\d+)[^\\d]*\$").find(summaryText)?.groupValues in getUsageCountsFromUi()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsEventLoggerTest.kt | 162 val regex = Regex(pollReasonNameOf(reason) + "[^0-9]+" + expectedCount) in assertCountForReason()
|
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/handheld/ |
D | ManageStandardPermissionsFragmentTest.kt | 102 Regex("^[^\\d]*(\\d+)[^\\d]*\$") in getAdditionalPermissionCount()
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | matcher_util.cpp | 137 unique_ptr<Regex> re = Regex::create(matcher.replace_string().regex()); in getTransformedEvent()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | FullScoreTest.kt | 112 fun getAllPolicies() = Regex("POLICY_.*").let { nameRegex -> in <lambda>()
|
/packages/modules/Virtualization/virtualizationmanager/src/ |
D | payload.rs | 34 use regex::Regex; 359 let pattern = Regex::new(r"^export [^ ]+ ([^ ]+)$").context("Failed to construct Regex")?; in find_apex_names_in_classpath()
|
D | crosvm.rs | 28 use regex::{Captures, Regex}; 1182 let re = Regex::new(r"/proc/self/fd/[\d]+").unwrap(); in print_crosvm_args()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | TestNotificationListener.kt | 324 .contains(Regex("""mNotificationDismissedAt=\d+""")) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/network/apn/ |
D | ApnStatus.kt | 275 return if (validEnabled && mmsc != "" && !mmsc.matches(Regex("^https?:\\/\\/.+"))) in validateMMSC()
|
/packages/modules/StatsD/statsd/src/ |
D | statsd_config.proto | 60 // Regex for matching the string.
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
D | state_machine.rs | 12 use regex::Regex; 292 let re = Regex::new(r"bluetooth([0-9]+).pid").unwrap(); in get_hci_index_from_pid_path()
|
/packages/apps/TV/libs/m2/ |
D | checker-qual-2.8.1.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/checkerframework/
org/ ... |
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ |
D | SafetyCenterManagerTest.kt | 3814 .map { line -> Regex("""\[\d+] (.+) -> (\d+)""").matchEntire(line.trim()) } in <lambda>()
|