Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 19 of 19) sorted by relevance

/hardware/interfaces/security/keymint/support/
Dkeymint_utils.cpp58 regex_t regex; in getOsVersion() local
59 if (regcomp(&regex, kPlatformVersionRegex, REG_EXTENDED)) { in getOsVersion()
65 regexec(&regex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in getOsVersion()
66 regfree(&regex); in getOsVersion()
81 regex_t regex; in getPatchlevel() local
82 if (regcomp(&regex, kPatchlevelRegex, REG_EXTENDED) != 0) { in getPatchlevel()
87 int not_match = regexec(&regex, patchlevel_str, kPatchlevelMatchCount, matches, 0 /* flags */); in getPatchlevel()
88 regfree(&regex); in getPatchlevel()
/hardware/qcom/sm7250/display/sde-drm/
Ddrm_utils.cpp42 using std::regex;
52 regex exp_base("[[:alnum:]]{4}(/[[:digit:]]/([[:digit:]]){1,3})?"); in ParseFormats()
53 regex exp_modifier("[[:alnum:]]{4}(/[[:digit:]]/([[:digit:]]){1,3})"); in ParseFormats()
/hardware/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp222 regex_t regex; in getOsVersion() local
223 if (regcomp(&regex, kPlatformVersionRegex, REG_EXTENDED)) { in getOsVersion()
229 regexec(&regex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in getOsVersion()
230 regfree(&regex); in getOsVersion()
248 regex_t regex; in getOsPatchlevel() local
249 if (regcomp(&regex, kPlatformPatchlevelRegex, REG_EXTENDED) != 0) { in getOsPatchlevel()
255 regexec(&regex, patchlevel_str, kPlatformPatchlevelMatchCount, matches, 0 /* flags */); in getOsPatchlevel()
256 regfree(&regex); in getOsPatchlevel()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DConnectionDetector.h65 BaseDynamicSensorDaemon *d, const std::string &path, const std::string &regex);
80 std::regex mRegex;
DConnectionDetector.cpp111 BaseDynamicSensorDaemon *d, const std::string &path, const std::string &regex) in FileConnectionDetector() argument
112 : ConnectionDetector(d), Thread(false /*callCallJava*/), mPath(path), mRegex(regex), in FileConnectionDetector()
/hardware/google/graphics/common/libmemtrack/
Ddmabuf.cpp49 regex rex("\\s*ion-(\\d+)\\s+(\\d+)\\s+(\\d+).*"); in build_dmabuf_footprint()
68 regex rexion("\\[ *(\\d+)\\] +[[:alnum:]\\-_]+ +(\\w+) +([x[:xdigit:]]+) +(\\d+).*"); in complete_dmabuf_footprint()
/hardware/interfaces/radio/1.6/vts/functional/
Dradio_hidl_hal_misc.cpp46 static const std::regex kOperatorNumericRe("^[0-9]{5,6}$"); in TEST_P()
/hardware/interfaces/security/keymint/aidl/vts/performance/
DREADME22 `--benchmark_filter=<regex>` or `benchmark_out_format={json|console|csv}`.
/hardware/google/camera/common/hal/hidl_service/
Dhidl_camera_provider.h91 static const std::regex kDeviceNameRegex;
Dhidl_camera_provider.cc44 const std::regex HidlCameraProvider::kDeviceNameRegex(
/hardware/interfaces/automotive/can/1.0/default/
DCanController.cpp47 static const std::regex kTtyRe("^tty[A-Z]+[0-9]+$");
66 static const std::regex nameRE("^[a-zA-Z0-9_]{1,32}$"); in isValidName()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DEmulatedVehicleHal.cpp121 std::regex reg_json(".*[.]json", std::regex::icase); in getAllPropertiesOverride()
/hardware/interfaces/audio/common/7.0/enums/include/
Dandroid_audio_policy_configuration_V7_0-enums.h236 static const std::regex vendorExtension("VX_[A-Z0-9]{3,}_[_A-Z0-9]+"); in isVendorExtension()
/hardware/interfaces/camera/provider/2.4/default/
DExternalCameraProviderImpl_2_4.cpp42 const std::regex kDeviceNameRE("device@([0-9]+\\.[0-9]+)/external/(.+)");
DLegacyCameraProviderImpl_2_4.cpp43 const std::regex kDeviceNameRE("device@([0-9]+\\.[0-9]+)/legacy/(.+)");
/hardware/interfaces/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp389 std::regex re("^[A-Z0-9][A-Z0-9 ]{0,5}[A-Z0-9]$"); in TEST_P()
/hardware/interfaces/graphics/composer/2.4/vts/functional/
DVtsHalGraphicsComposerV2_4TargetTest.cpp721 std::regex reverseDomainName("^[a-zA-Z-]{2,}(\\.[a-zA-Z0-9-]+)+$"); in TEST_P()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDevice.cpp50 const std::regex kDevicePathRE("/dev/video([0-9]+)");
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp218 std::regex e(pattern.string()); in matchDeviceName()