Home
last modified time | relevance | path

Searched full:match (Results 1 – 25 of 1940) sorted by relevance

12345678910>>...78

/openbmc/phosphor-fan-presence/control/
H A Dmatches.hpp13 namespace match namespace
17 using namespace sdbusplus::bus::match;
20 * @brief A match function that constructs a PropertiesChanged match string
21 * @details Constructs a PropertiesChanged match string with a given object
27 * @return - A PropertiesChanged match string
35 * @brief A match function that constructs an InterfacesAdded match string
36 * @details Constructs an InterfacesAdded match string with a given object
41 * @return - An InterfacesAdded match string
49 * @brief A match function that constructs an InterfacesRemoved match string
50 * @details Constructs an InterfacesRemoved match string with a given object
[all …]
H A Dtriggers.cpp23 Trigger signal(const std::string& match, SignalHandler&& handler) in signal() argument
25 return [match = std::move(match), handler = std::move(handler)]( in signal()
30 std::make_unique<EventData>(group, match, handler, actions); in signal()
32 if (!match.empty()) in signal()
34 // Subscribe to signal match in signal()
36 zone.getBus(), match.c_str(), in signal()
42 // When match is empty, handle if zone object member in signal()
/openbmc/sdbusplus/include/sdbusplus/async/
H A Dmatch.hpp4 #include <sdbusplus/bus/match.hpp> // IWYU pragma: export
20 /** Generator of dbus match Senders.
22 * This class registers a signal match pattern with the dbus and generates
25 class match : private bus::details::bus_friend class
28 match() = delete;
29 match(const match&) = delete;
30 match& operator=(const match&) = delete;
31 match(match&&) = delete;
32 match& operator=(match&&) = delete;
33 ~match();
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dkernel-arch.bbclass9 # modules). return value must match one of the architecture directories
31 if re.match('(i.86|athlon|x86.64)$', a): return 'x86'
32 elif re.match('arceb$', a): return 'arc'
33 elif re.match('armeb$', a): return 'arm'
34 elif re.match('aarch64$', a): return 'arm64'
35 elif re.match('aarch64_be$', a): return 'arm64'
36 elif re.match('aarch64_ilp32$', a): return 'arm64'
37 elif re.match('aarch64_be_ilp32$', a): return 'arm64'
38 elif re.match('loongarch(32|64|)$', a): return 'loongarch'
39 elif re.match('mips(isa|)(32|64|)(r6|)(el|)$', a): return 'mips'
[all …]
/openbmc/u-boot/include/
H A Dslre.h35 * ^ Match beginning of a buffer
36 * $ Match end of a buffer
38 * [...] Match any character from set
39 * [^...] Match any character but ones from set
40 * \s Match whitespace
41 * \S Match non-whitespace
42 * \d Match decimal digit
43 * \r Match carriage return
44 * \n Match newline
45 * + Match one or more times (greedy)
[all …]
/openbmc/openbmc/poky/meta/recipes-core/musl/
H A Dlibucontext_1.2.bb33 elif re.match('(i.86|athlon)$', a): return 'x86'
34 elif re.match('x86.64$', a): return 'x86_64'
35 elif re.match('armeb$', a): return 'arm'
36 elif re.match('aarch64$', a): return 'aarch64'
37 elif re.match('aarch64_be$', a): return 'aarch64'
38 elif re.match('aarch64_ilp32$', a): return 'aarch64'
39 elif re.match('aarch64_be_ilp32$', a): return 'aarch64'
40 elif re.match('mips(isa|)(32|)(r6|)(el|)$', a): return 'mips'
41 elif re.match('mips(isa|)64(r6|)(el|)$', a): return 'mips64'
42 elif re.match('p(pc64|owerpc64)(le)', a): return 'ppc64'
[all …]
/openbmc/boost-dbus/include/dbus/
H A Dmatch.hpp17 /// Simple placeholder object for a match rule.
19 * A match rule determines what messages will be received by this application.
21 * Each rule will be represented by an instance of match. To remove that rule,
24 class match { class
29 match(connection_ptr c, BOOST_ASIO_MOVE_ARG(std::string) e) in match() function in dbus::match
34 ~match() { connection_->delete_match(*this); } in ~match()
38 match(match&&) = delete;
39 match& operator=(match&&) = delete;
44 #include <dbus/impl/match.ipp>
/openbmc/qemu/tests/tcg/plugins/
H A Dinsn.c35 } Match; typedef
40 Match *match; member
51 static Instruction * get_insn_record(const char *disas, uint64_t vaddr, Match *m) in get_insn_record()
70 record->match = m; in get_insn_record()
111 Match *insn_match = insn->match; in vcpu_insn_matched_exec_before()
112 MatchCount *match = qemu_plugin_scoreboard_find(insn_match->counts, in vcpu_insn_matched_exec_before() local
118 uint64_t delta = icount - match->last_hit; in vcpu_insn_matched_exec_before()
120 match->hits++; in vcpu_insn_matched_exec_before()
121 match->total_delta += delta; in vcpu_insn_matched_exec_before()
122 match->last_hit = icount; in vcpu_insn_matched_exec_before()
[all …]
/openbmc/u-boot/doc/device-tree-bindings/memory/
H A Dmemory.txt6 ID masks. To match a set of board ids, a board-id node may define match-mask
7 and match-value ints to define a mask to apply to the board id, and the value
8 that the result should have for the match to be considered valid. The mask
9 defaults to -1, meaning that the value must fully match the board id.
23 match-mask - A mask to apply to the board id. This must be accompanied by
24 match-value.
25 match-value - The required resulting value of the board id mask for the given
26 node to be considered a match.
46 match-value = <17>;
51 match-mask = <2>;
[all …]
/openbmc/openbmc/poky/bitbake/contrib/vim/syntax/
H A Dbitbake.vim30 syn case match
33 syn match bbUnmatched "."
38 syn match bbComment "#.*$" contains=@bbCommentGroup
41 syn match bbQuote +['"]+ contained
42 syn match bbDelimiter "[(){}=]" contained
43 syn match bbArrayBrackets "[\[\]]" contained
46 syn match bbContinue "\\$"
51 syn match bbExport "^export" nextgroup=bbIdentifier skipwhite
53 syn match bbIdentifier "[a-zA-Z0-9\-_\.\/\+]\+" display contained
54 syn match bbVarDeref "${[a-zA-Z0-9\-_:\.\/\+]\+}" contained
[all …]
/openbmc/sdbusplus/include/sdbusplus/bus/
H A Dmatch.hpp16 namespace match namespace
19 struct match : private sdbusplus::bus::details::bus_friend struct
21 /** @brief Register a signal match.
24 * @param[in] match - The match to register.
28 match(sdbusplus::bus_t& bus, const char* _match,
30 inline match(sdbusplus::bus_t& bus, const std::string& _match, in match() function
32 match(bus, _match.c_str(), handler, context) in match()
35 /** @brief Register a signal match.
38 * @param[in] match - The match to register.
42 match(sdbusplus::bus_t& bus, const char* _match, callback_t callback);
[all …]
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dsearch.py47 match = False
49 match = True
51 if not match:
59 match = True
71 match = True
73 if match:
83 match = False
85 match = True
89 match = True
91 if not match:
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dgo.py10 if re.match('i.86', a):
14 elif re.match('arm.*', a):
16 elif re.match('aarch64.*', a):
18 elif re.match('mips64el.*', a):
20 elif re.match('mips64.*', a):
26 elif re.match('p(pc|owerpc)(64le)', a):
28 elif re.match('p(pc|owerpc)(64)', a):
/openbmc/u-boot/lib/
H A Dlz4.c111 const BYTE* match; in LZ4_decompress_generic() local
152 match = cpy - LZ4_readLE16(ip); ip+=2; in LZ4_decompress_generic()
153 …if ((checkOffset) && (unlikely(match < lowLimit))) goto _output_error; /* Error : offset outside… in LZ4_decompress_generic()
171 if ((dict==usingExtDict) && (match < lowPrefix)) in LZ4_decompress_generic()
175 if (length <= (size_t)(lowPrefix-match)) in LZ4_decompress_generic()
177 /* match can be copied as a single segment from external dictionary */ in LZ4_decompress_generic()
178 match = dictEnd - (lowPrefix-match); in LZ4_decompress_generic()
179 memmove(op, match, length); op += length; in LZ4_decompress_generic()
183 /* match encompass external dictionary and current segment */ in LZ4_decompress_generic()
184 size_t copySize = (size_t)(lowPrefix-match); in LZ4_decompress_generic()
[all …]
/openbmc/sdbusplus/test/bus/
H A Dmatch.cpp2 #include <sdbusplus/bus/match.hpp>
6 class Match : public ::testing::Test class
11 static constexpr auto busName = "xyz.openbmc_project.sdbusplus.test.Match";
15 using namespace sdbusplus::bus::match::rules; in matchRule()
29 TEST_F(Match, FunctorIs_sd_bus_message_handler_t) in TEST_F() argument
39 auto m2 = std::move(m); // ensure match is move-safe. in TEST_F()
50 TEST_F(Match, FunctorIs_LambdaTakingMessage) in TEST_F() argument
58 auto m2 = std::move(m); // ensure match is move-safe. in TEST_F()
69 TEST_F(Match, FunctorIs_MemberFunctionTakingMessage) in TEST_F() argument
86 auto m2 = std::move(m); // ensure match is move-safe. in TEST_F()
/openbmc/u-boot/tools/patman/
H A Dcheckpatch.py91 match = re_stats_full.match(line)
92 if not match:
93 match = re_stats.match(line)
94 if match:
95 result.errors = int(match.group(1))
96 result.warnings = int(match.group(2))
97 if len(match.groups()) == 4:
98 result.checks = int(match.group(3))
99 result.lines = int(match.group(4))
101 result.lines = int(match.group(3))
[all …]
/openbmc/sdbusplus/src/bus/
H A Dmatch.cpp3 #include <sdbusplus/bus/match.hpp>
7 namespace sdbusplus::bus::match namespace
22 match::match(sdbusplus::bus_t& bus, const char* _match, in match() function in sdbusplus::bus::match::match
32 auto c = static_cast<match::callback_t*>(context); in matchCallback()
38 match::match(sdbusplus::bus_t& bus, const char* _match, callback_t callback) : in match() function in sdbusplus::bus::match::match
44 } // namespace sdbusplus::bus::match
/openbmc/qemu/scripts/coccinelle/
H A Dqom-parent-type.cocci4 @match@
13 @script:python filter depends on match@
14 obj_t << match.obj_t;
20 identifier match.obj_t, match.fld;
21 type match.parent_t;
H A Dtcg_gen_extract.cocci40 @match@
62 @script:python verify_len depends on match@
63 ret_s << match.ret;
64 msk_s << match.msk;
65 shr_p << match.shr_p;
86 identifier match.ret;
87 metavariable match.arg;
88 constant match.ofs, match.msk;
89 position match.shr_p, match.and_p;
/openbmc/entity-manager/src/
H A Dutils.cpp12 #include <sdbusplus/bus/match.hpp>
30 std::smatch match; in findFiles() local
34 if (std::regex_search(path, match, search)) in findFiles()
48 std::smatch match; in findFiles() local
65 if (std::regex_search(path, match, search)) in findFiles()
112 /// Default match JSON/DBus match implementation
117 /// \param probe the probe statement to match against
120 static bool match(const nlohmann::json& probe, const T& value) in match() function
132 /// \param probe the probe statement to match against
135 static bool match(const nlohmann::json& probe, const std::string& value) in match() function
[all …]
/openbmc/sdbusplus/src/async/
H A Dmatch.cpp1 #include <sdbusplus/async/match.hpp>
6 slot_t match::makeMatch(context& ctx, const std::string_view& pattern) in makeMatch()
11 static_cast<match*>(ctx)->handle_match(message_t{msg}); in makeMatch()
20 throw exception::SdBusError(-r, "sd_bus_add_match (async::match)"); in makeMatch()
26 match::match(context& ctx, const std::string_view& pattern) : in match() function in sdbusplus::async::match
30 match::~match() in ~match()
71 void match::handle_match(message_t&& msg) noexcept in handle_match()
80 void match::handle_completion(std::unique_lock<std::mutex>&& l) noexcept in handle_completion()
/openbmc/phosphor-hwmon/
H A Dsensorset.cpp36 std::smatch match; in SensorSet() local
38 std::regex_search(fileName.native(), match, sensors_regex); in SensorSet()
40 if (match.size() != sensor_regex_match_count) in SensorSet()
45 if (match[3] == hwmon::entry::label) in SensorSet()
50 _container[make_pair(match[1], match[2])].emplace(match[3]); in SensorSet()
/openbmc/qemu/include/authz/
H A Dlist.h40 * list of globs. Each match rule has an associated policy
52 * { "match": "fred", "policy": "allow", "format": "exact" },
53 * { "match": "bob", "policy": "allow", "format": "exact" },
54 * { "match": "danb", "policy": "deny", "format": "exact" },
55 * { "match": "dan*", "policy": "allow", "format": "glob" }
78 const char *match,
84 const char *match,
91 const char *match);
/openbmc/u-boot/cmd/
H A Dethsw.c633 int (*match)(enum ethsw_keyword_id key_id, int argc, char *const argv[], member
638 .match = &keyword_match_gen,
641 .match = &keyword_match_gen,
644 .match = &keyword_match_port
647 .match = &keyword_match_gen,
650 .match = &keyword_match_gen,
653 .match = &keyword_match_gen,
656 .match = &keyword_match_gen,
659 .match = &keyword_match_gen,
662 .match = &keyword_match_gen,
[all …]
/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dsignal.cpp26 #include <sdbusplus/bus/match.hpp>
40 using namespace sdbusplus::bus::match;
42 void subscribe(const std::string& match, SignalPkg&& signalPkg, in subscribe() argument
45 auto& signalData = mgr->getSignal(match); in subscribe()
53 if (!match.empty()) in subscribe()
57 mgr->getBus(), match.c_str(), in subscribe()
66 // Only a single signal data entry tied to each match is supported in subscribe()
101 const auto match = in propertiesChanged() local
113 subscribe(match, std::move(signalPkg), isSameSig, mgr); in propertiesChanged()
125 const auto match = in interfacesAdded() local
[all …]

12345678910>>...78