Home
last modified time | relevance | path

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

12345678910

/openbmc/u-boot/env/
H A Dattr.c115 char *regex; member
124 char regex[strlen(name) + 3]; in regex_callback() local
127 sprintf(regex, "^%s$", name); in regex_callback()
128 if (slre_compile(&slre, regex)) { in regex_callback()
133 free(cbp->regex); in regex_callback()
138 cbp->regex = malloc(strlen(regex) + 1); in regex_callback()
139 if (cbp->regex) { in regex_callback()
140 strcpy(cbp->regex, regex); in regex_callback()
152 free(cbp->regex); in regex_callback()
153 cbp->regex = NULL; in regex_callback()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/enscript/enscript/
H A D0001-enscript-does-not-build-with-C23-standard.patch10 …../../enscript-1.6.6/compat/regex.c:3565:13: error: too many arguments to function 're_match_2_int…
17 compat/regex.c | 2 +-
20 diff --git a/compat/regex.c b/compat/regex.c
22 --- a/compat/regex.c
23 +++ b/compat/regex.c
/openbmc/openbmc-build-scripts/config/
H A D.gitlint61 # [title-match-regex]
62 # python-style regex that the commit-msg title must match
63 # Note that the regex can contradict with other rules if not used correctly
65 # regex=^US[0-9]*
84 # [body-match-regex]
85 # python-style regex that the commit-msg body must match.
87 # regex=My-Commit-Tag: foo$
90 # python-style regex that the commit author email address must match.
91 # For example, use the following regex if you only want to allow email addresses from foo.com
92 # regex=[^@]+@foo.com
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/
H A Dcontext.py33 def _hasPackage(self, manifest, pkg, regex=False): argument
34 if regex:
46 def hasHostPackage(self, pkg, regex=False): argument
47 return self._hasPackage(self.host_pkg_manifest, pkg, regex=regex)
49 def hasTargetPackage(self, pkg, multilib=False, regex=False): argument
52 return self._hasPackage(self.target_pkg_manifest, pkg, regex=regex)
/openbmc/phosphor-hwmon/
H A Dsensorset.cpp26 static const std::regex sensors_regex = std::regex(
27 "^(fan|in|temp|power|energy|curr)([0-9]+)_([a-z]*)", std::regex::extended);
/openbmc/openpower-pnor-code-mgmt/
H A Dmsl_verify.cpp61 std::regex regex{"v-?([0-9]+)\\.([0-9]+)\\.([0-9]+)", std::regex::extended}; in parse() local
63 if (!std::regex_search(versionStr, match, regex)) in parse()
66 std::regex regexShort{"v-?([0-9]+)\\.([0-9]+)", std::regex::extended}; in parse()
/openbmc/openbmc/poky/scripts/
H A Dtask-time66 for name, regex in field_regexes:
67 match = re.match(regex, line)
73 for name, regex in field_regexes:
76 .format(path, regex),
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-catalina/plat-svc/files/clemente/
H A Dinit-sma64 local regex="y ([0-9]?[0-9])"
76 if [[ $ret =~ $regex ]]; then
84 if [[ $ret =~ $regex ]]; then
115 local regex="[0-9]+\.[0-9]+\.([0-9]+)\.[0-9]"
122 if [[ $version =~ $regex ]]; then
186 local regex="[a-z]+ ([0-9]+) [0-9]+ \".+\" (true|false)"
196 if [[ $res =~ $regex ]]; then
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dpmbus_driver_device.cpp204 std::regex regex{"in(\\d+)_label"}; in isLabelFile() local
206 if (std::regex_match(fileName, results, regex)) in isLabelFile()
238 std::regex regex{"vout(\\d+)"}; in readPageFromLabelFile() local
240 if (std::regex_match(contents, results, regex)) in readPageFromLabelFile()
/openbmc/openbmc-test-automation/lib/
H A Dgen_robot_plug_in.py169 regex = " Running [^/]+/cp_"
170 cmd_buf = "egrep '" + regex + "' " + temp_file_path
193 regex = "^" + bash_var_regex + ":[ ]*"
196 + regex
H A Dgen_robot_print.py36 regex = "(" + "|".join(gp.valid_fmts()) + "|terse)"
37 kwargs["fmt"] = re.sub(regex, "gp.\\1()", kwargs["fmt"])
H A Dvar_funcs.py778 def match_struct(structure, match_dict, regex=False): argument
824 if regex:
838 def filter_struct(structure, filter_dict, regex=False, invert=False): argument
905 if match_struct(element, filter_dict, regex) != invert:
913 if match_struct(struct_value, filter_dict, regex) != invert:
/openbmc/openbmc/meta-google/recipes-phosphor/flash/gbmc-update/
H A D40-gbmc-upgrade.sh71 local regex="$1"
75 if [[ "$item" =~ $regex ]]; then
88 local regex="$1"
93 if [[ "$item" =~ $regex ]]; then
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddevice_callouts.cpp91 std::regex regex{"i2c-[0-9]+/([0-9]+)-00([0-9a-f]{2})"}; in getI2CSearchKeys() local
93 regex_search(devPath, match, regex); in getI2CSearchKeys()
122 std::regex regex{"slave@([0-9a-f]{2}):"}; in getFSISearchKeys() local
125 while (regex_search(search, match, regex)) in getFSISearchKeys()
165 std::regex regex{"spi_master/spi(\\d+)/"}; in getSPISearchKeys() local
167 regex_search(devPath, match, regex); in getSPISearchKeys()
/openbmc/openbmc/poky/meta/lib/oeqa/sdkext/
H A Dcontext.py15 def hasHostPackage(self, pkg, regex=False): argument
19 return self._hasPackage(self.host_pkg_manifest, pkg, regex)
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/
H A DHPSpecific.pm1909 my $regex = $_[0];
1916 if (&B_match_line($nsswitch_conf, '^\s*passwd:.*('. $regex . ')')) {
1958 my $regex = $_[0];
1968 &B_append_line($nsswitch,'\s*passwd:', "passwd: $regex\n");
1969 &B_append_line($nsswitch,'\s*group:', "group: $regex\n");
1970 &B_append_line($nsswitch,'\s*hosts:', "hosts: $regex\n");
1971 &B_append_line($nsswitch,'\s*networks:', "networks: $regex\n");
1972 &B_append_line($nsswitch,'\s*protocols:', "protocols: $regex\n");
1973 &B_append_line($nsswitch,'\s*rpc:', "rpc: $regex\n");
1974 &B_append_line($nsswitch,'\s*publickey:', "publickey: $regex\n");
[all …]
/openbmc/entity-manager/src/
H A Dutils.cpp30 std::regex search(matchString); in findFiles()
48 std::regex search(matchString); in findFiles()
90 std::regex searchPath(std::string(R"(i2c-\d+$)")); in getI2cDevicePaths()
92 std::regex searchBus(std::string(R"(\w[^-]*$)")); in getI2cDevicePaths()
142 std::regex search(probe); in match()
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-numpy/
H A Dfix_reproducibility.patch4 Subject: [PATCH] This regex decides whether to use O3 opimisation on numpy or
10 The regex will run against all compiler options including things like:
16 Reduce the regex to something deterministic for our builds, assuming
/openbmc/openpower-occ-control/
H A Dpowercap.cpp107 fs::path minName = getPcapFilename(std::regex{"power\\d+_cap_min$"}); in updatePcapBounds()
109 getPcapFilename(std::regex{"power\\d+_cap_min_soft$"}); in updatePcapBounds()
110 fs::path maxName = getPcapFilename(std::regex{"power\\d+_cap_max$"}); in updatePcapBounds()
277 fs::path PowerCap::getPcapFilename(const std::regex& expr) in getPcapFilename()
317 fs::path fileName = getPcapFilename(std::regex{"power\\d+_cap_user$"}); in writeOcc()
353 fs::path userCapName = getPcapFilename(std::regex{"power\\d+_cap_user$"}); in readUserCapHwmon()
/openbmc/u-boot/tools/
H A Dproftool.c48 regex_t regex; /* Regex to use if name starts with / */ member
300 static int regex_report_error(regex_t *regex, int err, const char *op, in regex_report_error() argument
305 regerror(err, regex, buf, sizeof(buf)); in regex_report_error()
317 err = regexec(&item->regex, func->name, 0, NULL, 0); in check_trace_config_line()
324 regex_report_error(&item->regex, err, "match", in check_trace_config_line()
432 err = regcomp(&line->regex, tok, REG_NOSUB); in read_trace_config()
434 int r = regex_report_error(&line->regex, err, in read_trace_config()
/openbmc/openbmc/poky/contrib/git-hooks/
H A Dsendemail-validate.sample36 regex = re.compile(r"^(.*>).*$")
37 match = regex.match(proc.stdout)
/openbmc/phosphor-power/
H A Dcompatible_system_types_finder.cpp70 std::regex pattern{"\\.(system|chassis)\\.", std::regex::icase}; in interfaceFoundCallback()
/openbmc/openbmc/poky/meta/recipes-devtools/intltool/intltool/
H A Dperl-522-deprecations.patch1 Perl 5.22 has deprecated some regex features, which causes warnings when
4 Unescaped left brace in regex is deprecated, passed through in regex; marked by
/openbmc/openbmc-tools/i2c/
H A Dtree.py24 regex = re.compile(r"(i2c-\d+)\s+i2c\s+(.*)\s+I2C adapter")
25 m = regex.match(line)
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dcooker.py30 regex = re.compile(pattern)
37 return (collection, pattern, regex, priority)

12345678910