Home
last modified time | relevance | path

Searched refs:re (Results 1 – 24 of 24) sorted by relevance

/base/global/i18n/tools/
Ddata_process.py17 import re
26 loc_pattern = re.compile("\(.*\)")
27 tz_pattern = re.compile("\[.*\]")
35 loc = re.search(loc_pattern, line).group()
36 tz = re.search(tz_pattern, line).group()
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
Dzip_helper.cpp84 std::regex re(regex); in SplitString() local
85 std::sregex_token_iterator first {input.begin(), input.end(), re, -1}, last; in SplitString()
102 std::regex re("^[a-zA-Z][a-zA-Z0-9_]*$"); in IsNameValid() local
104 if (!std::regex_match(splitName, re)) { in IsNameValid()
/base/security/selinux_adapter/scripts/
Dbuild_policy.py22 import re
Dbuild_contexts.py22 import re
117 pattern = re.compile(r'(\S+)\s+u:object_r:\S+:s0')
189 pattern = re.compile(
Dbuild_policy_api.py21 import re
261 pattern_type = re.compile(r'^\(type (.*)\)$')
262 pattern_typeattribute = re.compile(r'^\(type_attribute (base_typeattr_[0-9]+)\)$')
/base/hiviewdfx/hiview/utility/common_utils/
Dtbox.cpp130 regex re("(.+?)-(.+)==(.+)"); in GetStackName() local
131 stackname = regex_replace(stackname, re, "$1$3"); in GetStackName()
/base/update/packaging_tools/
Dtransfers_manager.py21 import re
81 no_version_name = re.sub(VERSION_NAME_RE, REPLACE_CONTENT, base_name)
Dscript_generator.py21 import re
406 re.sub(r'%s_WRITE_FLAG' % key, '%s' % show_progress_content,
DREADME.md25 ├── gigraph_process.py # Stash for re-sorting the ActionList
/base/global/resource_management_lite/
DREADME_zh.md40 int32_t re = GLOBAL_GetValueById(id, "/system/data/resources.index", &values); // 调用指定应用下某一条资源,并写入v…
DREADME.md40 int32_t re = GLOBAL_GetValueById(id, "/system/data/resources.index", &values); // Obtain the resour…
/base/notification/eventhandler/
DREADME_en.md4 {**When you're done, you can delete the content in this README and update the file with details for…
/base/print/print_fwk/
DREADME.md5 {**When you're done, you can delete the content in this README and update the file with details for…
/base/security/certificate_manager/
DREADME.en.md4 {**When you're done, you can delete the content in this README and update the file with details for…
/base/update/sys_installer/
DREADME.en.md4 {**When you're done, you can delete the content in this README and update the file with details for…
/base/sensors/medical_sensor/
DREADME.md4 {**When you're done, you can delete the content in this README and update the file with details for…
/base/update/updater/test/unittest/test_data/diffpatch/
Dpatchtest.new26 # Always base helper targets on target_name so they're unique. Target name
/base/web/webview/interfaces/inner_api/src/
Dweb_clipboard_controller.cpp118 std::regex re(IMG_TAG_SRC_PATTERN); in SplitHtmlWithImgSrcLabel() local
123 while (std::regex_search(iterStart, iterEnd, match, re)) { in SplitHtmlWithImgSrcLabel()
/base/startup/init/services/modules/seccomp/scripts/
Dgenerate_code_from_policy.py22 import re
149 const_pattern = re.compile(
151 mark_pattern = re.compile(r'\b[A-Za-z_][A-Za-z0-9_]+\b')
171 s = re.search(r"libsyscall_to_nr_([^/]+)", file_name)
/base/hiviewdfx/hitrace/cmd/src/
Dhitrace_cmd.cpp429 regex re("[a-zA-Z]{4,6}"); in ParseLongOpt() local
430 if (regex_match(optarg, re)) { in ParseLongOpt()
/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/
Dhvigor-wrapper.js16re={fromCallback:function(e){return Object.defineProperty((function(...t){if("function"!=typeof t[…
/base/startup/hvb/tools/
Dhvbtool.py21 import re
207 bitlen = int(re.findall(b'\d+', line.split(self.BIT_LENGTH_KEYWORD)[-1])[0])
/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/
Doutput_p.inl1274 /* we're done! */
/base/update/updater/test/unittest/test_data/applypatch/
DTestGZipModeImagePatch.old.gz