Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 23 of 23) sorted by relevance

/build/tools/component_tools/static_check/
Dcsct_online_prehandle.py38 pattern = "diff --git"
39 if not line.startswith(pattern):
52 pattern = "new file"
53 if not line.startswith(pattern):
61 pattern = "---\ (a/)?.*"
62 if re.match(pattern, line) is None:
70 pattern = "\+\+\+\ b/(.*)"
71 if re.match(pattern, line) is None:
77 res = re.match(pattern, line)
89 pattern = "@@\ -[0-9]+,[0-9]+\ \+([0-9]+)(,[0-9]+)?\ @@.*"
[all …]
/build/ohos/statistics/
Dbuild_overlap_statistics.py73 pattern = '*.o'
75 pattern = '*.build_config'
77 for file in fnmatch.filter(files, pattern):
106 pattern = '{}*'.format(path)
108 pattern = '../../{}*'.format(path)
111 for obj in fnmatch.filter(objs, pattern):
/build/scripts/
Dfind.py34 if fnmatch.filter(d, options.pattern):
40 if fnmatch.filter(d, options.pattern):
48 for f in fnmatch.filter(files, options.pattern):
Dgenerate_component_package.py247 pattern = r"^(\d+)\.(\d+)(-[a-zA-Z]+)?$" # 正则表达式匹配a.b[-后缀]格式的字符串
248 match = re.match(pattern, bundle_data["version"])
/build/tools/component_tools/
Dcomponents_dependence_analysis.py71 pattern = re.compile(r'ohos_shared_library.*?\}', re.DOTALL)
72 results = pattern.findall(file_data)
77 pattern = re.compile(r'ohos_executable.*?\}', re.DOTALL)
78 results = pattern.findall(file_data)
/build/toolchain/mac/
Dfilter_libtool.py26 for pattern in BLOCKLIST_PATTERNS:
29 if pattern.match(line):
/build/config/security/
Dsecurity_config.gni66 auto_var_init == "pattern" || auto_var_init == "zero" ||
68 …"auto_var_init can only be set to pattern, zero or uninit, for example, auto_var_init = \"pattern\…
70 if (auto_var_init == "pattern") {
DBUILD.gn33 # Set the uninitialized local variables to pattern.
35 cflags = [ "-ftrivial-auto-var-init=pattern" ]
39 # Currently, enabling the config of pattern for all components is impractical and may cause system
41 # the config of pattern.
/build/tools/component_tools/static_check/gn_check/
Dgn_common_tools.py91 def find_paragraph_iter(pattern: str, content: str) -> typing.Iterator:
101 ptrn = re.compile(pattern, flags=re.S | re.M)
Dcheck_gn.py123 pattern = 'product_name|device_name'
128 pattern, self.abs_check_path, excludes=self.black_dir)
154 pattern = 'product_name|device_name'
159 pattern, self.abs_check_path, excludes=self.black_dir)
/build/ohos/ndk/
Dscan_ndk_targets.py85 pattern = re.escape(template_name) + r"\(\"(.*)\"\)"
86 targets = re.findall(pattern, ''.join(contents))
/build/hb/util/
Dcomponent_util.py86 pattern = re.compile(r'(?<=module_list = )\[([^\[\]]*)\]')
87 results = pattern.findall(target_info)
Dlog_util.py107 pattern = re.compile(choice, re.DOTALL)
108 match = pattern.search(data)
/build/templates/common/
Dcheck_deps_handler.py140 for pattern in part_pattern:
141 if dep_path.startswith(pattern):
Dgenerate_component_package.py258 pattern = r'^(\d+)\.(\d+)(-[a-zA-Z]+)?$' # 正则表达式匹配a.b[-后缀]格式的字符串
259 match = re.match(pattern, bundle_data['version'])
/build/scripts/util/
Dbuild_utils.py306 pattern=None, argument
322 if pattern is not None:
323 if not fnmatch.fnmatch(name, pattern):
/build/ohos/sdk/
DBUILD.gn242 "--skip-pattern",
/build/hb/
DREADME_zh.md213 …--ls [LS ...] Default:[]. Help:Lists all targets matching the given pattern for the …
DREADME.md212 …--ls [LS ...] Default:[]. Help:Lists all targets matching the given pattern for the …
/build/config/
DBUILDCONFIG.gn288 # the above pattern for isolating the build logic in a forwarding group
654 # must match the pattern (so you need "*.cc" to match all .cc files, for
/build/lite/ndk/doc/config/
DDoxyfile_CPP810 # exclude all test directories for example use the pattern */test/*
821 # exclude all test directories use the pattern */test/*
832 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
868 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
869 # basis. Doxygen will compare the file name with each pattern and apply the
870 # filter if there is a match. The filters are a list of the form: pattern=filter
885 # pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
886 # it is also possible to disable source filtering for a specific pattern using
DDoxyfile_C810 # exclude all test directories for example use the pattern */test/*
821 # exclude all test directories use the pattern */test/*
832 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
868 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
869 # basis. Doxygen will compare the file name with each pattern and apply the
870 # filter if there is a match. The filters are a list of the form: pattern=filter
885 # pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
886 # it is also possible to disable source filtering for a specific pattern using
/build/docs/
D编译构建调试文档.md106 …nfig的所有信息 | gn desc <out_dir> <label or pattern> [<what to show>]…