/hardware/nxp/keymint/KM200/ |
D | keymint_utils.cpp | 57 regex_t regex; in getOsVersion() local 58 if (regcomp(®ex, kPlatformVersionRegex, REG_EXTENDED)) { in getOsVersion() 64 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in getOsVersion() 65 regfree(®ex); in getOsVersion() 80 regex_t regex; in getPatchlevel() local 81 if (regcomp(®ex, kPatchlevelRegex, REG_EXTENDED) != 0) { in getPatchlevel() 86 int not_match = regexec(®ex, patchlevel_str, kPatchlevelMatchCount, matches, 0 /* flags */); in getPatchlevel() 87 regfree(®ex); in getPatchlevel()
|
/hardware/interfaces/security/keymint/support/ |
D | keymint_utils.cpp | 58 regex_t regex; in getOsVersion() local 59 if (regcomp(®ex, kPlatformVersionRegex, REG_EXTENDED)) { in getOsVersion() 65 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in getOsVersion() 66 regfree(®ex); in getOsVersion() 81 regex_t regex; in getPatchlevel() local 82 if (regcomp(®ex, kPatchlevelRegex, REG_EXTENDED) != 0) { in getPatchlevel() 87 int not_match = regexec(®ex, patchlevel_str, kPatchlevelMatchCount, matches, 0 /* flags */); in getPatchlevel() 88 regfree(®ex); in getPatchlevel()
|
/hardware/nxp/keymint/KM300/ |
D | keymint_utils.cpp | 60 regex_t regex; in getOsVersion() local 61 if (regcomp(®ex, kPlatformVersionRegex, REG_EXTENDED)) { in getOsVersion() 67 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in getOsVersion() 68 regfree(®ex); in getOsVersion() 83 regex_t regex; in getPatchlevel() local 84 if (regcomp(®ex, kPatchlevelRegex, REG_EXTENDED) != 0) { in getPatchlevel() 89 int not_match = regexec(®ex, patchlevel_str, kPatchlevelMatchCount, matches, 0 /* flags */); in getPatchlevel() 90 regfree(®ex); in getPatchlevel()
|
/hardware/interfaces/biometrics/common/util/include/util/ |
D | Util.h | 64 std::regex regex(sep); in split() 66 std::sregex_token_iterator(str.begin(), str.end(), regex, -1), in split() 109 std::regex ex("((\\d+)(-\\[([\\d|,]+)\\])?)"); in parseEnrollmentCaptureSingle() 139 while (regex_search(s, sms, std::regex("^(,)?(\\d+(-\\[[\\d|,]+\\])?)"))) { in parseEnrollmentCapture()
|
/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_utils.cpp | 42 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/ |
D | keymaster_utils.cpp | 222 regex_t regex; in getOsVersion() local 223 if (regcomp(®ex, kPlatformVersionRegex, REG_EXTENDED)) { in getOsVersion() 229 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in getOsVersion() 230 regfree(®ex); in getOsVersion() 248 regex_t regex; in getOsPatchlevel() local 249 if (regcomp(®ex, kPlatformPatchlevelRegex, REG_EXTENDED) != 0) { in getOsPatchlevel() 255 regexec(®ex, patchlevel_str, kPlatformPatchlevelMatchCount, matches, 0 /* flags */); in getOsPatchlevel() 256 regfree(®ex); in getOsPatchlevel()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/ |
D | translate_math.js | 25 …const regex = new RegExp( escapeRegex(delim.left) + "([\\S\\s]*?)" + escapeRegex(delim.right), "g"… constant 26 html = html.replace( regex,
|
/hardware/google/pixel/pixelstats/ |
D | BrownoutDetectedReporter.cpp | 52 const std::regex kTimestampPattern("^\\S+\\s[0-9]+:[0-9]+:[0-9]+\\S+$"); 53 const std::regex kIrqPattern("^(\\S+)\\striggered\\sat\\s\\S+$"); 54 const std::regex kOdpmPattern("^CH\\d+\\[(\\S+)\\],\\s(\\d+)$"); 55 const std::regex kDvfsPattern("^([A-Z1-9]+):(\\d+)$"); 56 const std::regex kFgPattern("^(voltage_now):(\\d+)$"); 57 const std::regex kBatteryTempPattern("^(battery):(\\d+)$"); 58 const std::regex kBatteryCyclePattern("^(battery_cycle):(\\d+)$"); 59 const std::regex kBatterySocPattern("^(soc):(\\d+)$"); 60 const std::regex kAlreadyUpdatedPattern("^(LASTMEAL_UPDATED)$"); 92 bool BrownoutDetectedReporter::updateIfFound(std::string line, std::regex pattern, in updateIfFound()
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | ConnectionDetector.h | 65 BaseDynamicSensorDaemon *d, const std::string &path, const std::string ®ex); 80 std::regex mRegex;
|
D | ConnectionDetector.cpp | 111 BaseDynamicSensorDaemon *d, const std::string &path, const std::string ®ex) in FileConnectionDetector() argument 112 : ConnectionDetector(d), Thread(false /*callCallJava*/), mPath(path), mRegex(regex), in FileConnectionDetector()
|
/hardware/google/aemu/base/include/aemu/base/testing/ |
D | TestUtils.h | 30 std::regex reg(regStr);
|
/hardware/google/graphics/common/libmemtrack/ |
D | dmabuf.cpp | 49 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/ |
D | radio_hidl_hal_misc.cpp | 46 static const std::regex kOperatorNumericRe("^[0-9]{5,6}$"); in TEST_P()
|
/hardware/interfaces/keymaster/4.0/vts/performance/ |
D | README | 18 …ded by the microbenchmark library are valid, such as `--benchmark_filter=<regex>` or `benchmark_ou…
|
/hardware/interfaces/security/keymint/aidl/vts/performance/ |
D | README | 22 `--benchmark_filter=<regex>` or `benchmark_out_format={json|console|csv}`.
|
/hardware/google/pixel/pixelstats/include/pixelstats/ |
D | BrownoutDetectedReporter.h | 125 bool updateIfFound(std::string line, std::regex pattern, int *current_value, Update flag);
|
/hardware/google/camera/common/hal/aidl_service/ |
D | aidl_camera_provider.h | 78 static const std::regex kDeviceNameRegex;
|
/hardware/interfaces/automotive/can/1.0/default/ |
D | CanController.cpp | 47 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/can/aidl/default/ |
D | CanController.cpp | 45 static const std::regex kTtyRe("^tty[A-Z]+[0-9]+$"); 60 static const std::regex nameRE("^[a-zA-Z0-9_]{1,32}$"); in isValidName()
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | DefaultVehicleHalServer.cpp | 474 std::regex reg_json(".*[.]json", std::regex::icase); in overrideProperties()
|
/hardware/interfaces/audio/aidl/common/include/ |
D | Utils.h | 146 static const std::regex vendorExtension("VX_[A-Z0-9]{3,}_[_A-Z0-9]+"); in isVendorExtension()
|
/hardware/interfaces/audio/common/7.0/enums/include/ |
D | android_audio_policy_configuration_V7_0-enums.h | 236 static const std::regex vendorExtension("VX_[A-Z0-9]{3,}_[_A-Z0-9]+"); in isVendorExtension()
|
/hardware/interfaces/audio/common/7.1/enums/include/ |
D | android_audio_policy_configuration_V7_1-enums.h | 239 static const std::regex vendorExtension("VX_[A-Z0-9]{3,}_[_A-Z0-9]+"); in isVendorExtension()
|
/hardware/interfaces/camera/provider/2.4/default/ |
D | ExternalCameraProviderImpl_2_4.cpp | 43 const std::regex kDeviceNameRE("device@([0-9]+\\.[0-9]+)/external/(.+)");
|
/hardware/interfaces/camera/provider/2.7/default/ |
D | ExternalCameraProviderImpl_2_7.cpp | 41 const std::regex kDeviceNameRE("device@([0-9]+\\.[0-9]+)/external/(.+)");
|