Home
last modified time | relevance | path

Searched refs:inputRegex (Results 1 – 3 of 3) sorted by relevance

/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/
H A DFileContent.pm934 my $inputRegex=$_[0];
938 my @lines=&B_return_matched_lines($file, $inputRegex);
940 return &B_getValueFromString($inputRegex,join('/n',@lines));
966 my $inputRegex=$_[0];
973 &B_log("DEBUG","B_getvaluefromstring called with regex: $inputRegex and input: " .
975 foreach my $line (grep(/$inputRegex/,@lines)) {
976 $line =~ /$inputRegex/;
989 &B_log("DEBUG","B_getValueFromString Found: $value ; using: $inputRegex");
/openbmc/dbus-sensors/src/adc/
H A DADCSensorMain.cpp60 static std::regex inputRegex(R"(in(\d+)_input)"); variable
121 std::regex_search(pathStr, match, inputRegex); in createSensors()
/openbmc/dbus-sensors/src/fan/
H A DFanMain.cpp76 static std::regex inputRegex(R"(fan(\d+)_input)"); variable
306 std::regex_search(pathStr, match, inputRegex); in createSensors()