Home
last modified time | relevance | path

Searched +full:- +full:- +full:match (Results 1 – 25 of 1067) sorted by relevance

12345678910>>...43

/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
24 * @param[in] obj - Object's path name
25 * @param[in] iface - Interface name
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
39 * @param[in] obj - Object's path name
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dkernel-arch.bbclass4 # SPDX-License-Identifier: MIT
9 # 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'
[all …]
/openbmc/qemu/tests/tcg/plugins/
H A Dinsn.c5 * See the COPYING file in the top-level directory.
15 #include <qemu-plugin.h>
35 } Match; typedef
40 Match *match; member
51 static Instruction * get_insn_record(const char *disas, uint64_t vaddr, Match *m) in get_insn_record()
68 record->disas = g_strdup(disas); in get_insn_record()
69 record->vaddr = vaddr; in get_insn_record()
70 record->match = m; in get_insn_record()
76 qemu_plugin_outs(ts->str); in get_insn_record()
93 for (int i = 0; i < reg_list->len; i++) { in vcpu_init()
[all …]
/openbmc/u-boot/doc/device-tree-bindings/memory/
H A Dmemory.txt3 The memory binding for U-Boot is as in the ePAPR with the following additions:
6 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.
13 - #address-cells: should be 1.
14 - #size-cells: should be 0.
18 reg - board ID or mask for this subnode
19 memory-banks - list of memory banks in the same format as normal
23 match-mask - A mask to apply to the board id. This must be accompanied by
[all …]
/openbmc/u-boot/include/
H A Dslre.h2 * Copyright (c) 2004-2005 Sergey Lyubka <valenok@gmail.com>
5 * "THE BEER-WARE LICENSE" (Revision 42):
35 * ^ 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
[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/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/recipes-core/musl/
H A Dlibucontext_1.2.bb4 SUMMARY = "ucontext implementation featuring glibc-compatible ABI"
17 COMPATIBLE_HOST = ".*-musl.*"
33 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'
[all …]
/openbmc/sdbusplus/include/sdbusplus/bus/
H A Dmatch.hpp3 #include <systemd/sd-bus.h>
16 namespace match namespace
19 struct match : private sdbusplus::bus::details::bus_friend struct
21 /** @brief Register a signal match.
23 * @param[in] bus - The bus to register on.
24 * @param[in] match - The match to register.
25 * @param[in] handler - The callback for matches.
26 * @param[in] context - An optional context to pass to the handler.
28 match(sdbusplus::bus_t& bus, const char* _match,
30 inline match(sdbusplus::bus_t& bus, const std::string& _match, in match() function
[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
31 connection_->new_match(*this); in 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/u-boot/lib/
H A Dlz4.c1 // SPDX-License-Identifier: BSD-2-Clause
3 LZ4 - Fast LZ compression algorithm
4 Copyright (C) 2011-2015, Yann Collet.
7 - LZ4 source repository : https://github.com/Cyan4973/lz4
8 - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
41 #define MAX_DISTANCE ((1 << MAXD_LOG) - 1)
44 #define ML_MASK ((1U<<ML_BITS)-1)
45 #define RUN_BITS (8-ML_BITS)
46 #define RUN_MASK ((1U<<RUN_BITS)-1)
90 const BYTE* const lowLimit = lowPrefix - dictSize; in LZ4_decompress_generic()
[all …]
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dsearch.py1 # Development tool - search command plugin
5 # SPDX-License-Identifier: GPL-2.0-only
47 match = False
49 match = True
51 if not match:
59 match = True
71 match = True
73 if match:
83 match = False
85 match = True
[all …]
/openbmc/u-boot/tools/patman/
H A Dcheckpatch.py1 # SPDX-License-Identifier: GPL-2.0+
36 sys.exit('Cannot find checkpatch.pl - please put it in your ' +
37 '~/bin directory or use --no-check')
65 result.stdout = command.Output(chk, '--no-tree', fname,
91 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))
[all …]
/openbmc/sdbusplus/src/bus/
H A Dmatch.cpp1 #include <systemd/sd-bus.h>
3 #include <sdbusplus/bus/match.hpp>
7 namespace sdbusplus::bus::match namespace
14 int r = intf->sd_bus_add_match(bus, &slot, _match, handler, context); in makeMatch()
17 throw exception::SdBusError(-r, "sd_bus_match"); in makeMatch()
22 match::match(sdbusplus::bus_t& bus, const char* _match, in match() function in sdbusplus::bus::match::match
28 // The callback is 'noexcept' because it is called from C code (sd-bus).
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 Dtcg_gen_extract.cocci3 // Copyright: (C) 2017 Philippe Mathieu-Daudé. GPLv2+.
5 // Options: --macro-file scripts/cocci-macro-file.h
8 // http://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg05211.html
10 // http://lists.nongnu.org/archive/html/qemu-devel/2017-05/msg01466.html
15 // --macro-file scripts/cocci-macro-file.h \
16 // --sp-file scripts/coccinelle/tcg_gen_extract.cocci \
17 // --keep-comments --in-place \
18 // --use-gitgrep --dir target
20 // $ docker run --rm -v $PWD:$PWD -w $PWD philmd/coccinelle \
21 // --macro-file scripts/cocci-macro-file.h \
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dgo.py4 # SPDX-License-Identifier: MIT
10 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/entity-manager/src/
H A Dutils.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright 2017 Intel Corporation
7 #include <phosphor-logging/lg2.hpp>
8 #include <sdbusplus/bus/match.hpp>
31 std::smatch match; in findFiles() local
35 if (std::regex_search(path, match, search)) in findFiles()
49 std::smatch match; in findFiles() local
66 if (std::regex_search(path, match, search)) in findFiles()
90 std::regex searchPath(std::string(R"(i2c-\d+$)")); in getI2cDevicePaths()
92 std::regex searchBus(std::string(R"(\w[^-]*$)")); in getI2cDevicePaths()
[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/cmd/
H A Dethsw.c1 // SPDX-License-Identifier: GPL-2.0+
18 "{ [help] | [clear] } - show an l2 switch port's statistics"
29 "- enable/disable/show learning configuration on a port"
40 "- Add/delete a mac entry in FDB; use show to see FDB entries; " \
52 "- set/show PVID (ingress and egress VLAN tagging) for a port"
63 "- add a VLAN to a port (VLAN members)"
74 " - set egress tagging mode for a port"
85 "- Configure VID source for egress tag. " \
97 "- make VLAN learning shared or private"
108 "- enable/disable VLAN ingress filtering on port"
[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()
8 // C-style callback to redirect into this::handle_match. 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()
41 c->stop(); 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()
[all …]
/openbmc/qemu/include/authz/
H A Dlist.h25 #include "qapi/qapi-types-authz.h"
28 #define TYPE_QAUTHZ_LIST "authz-list"
40 * list of globs. Each match rule has an associated policy
46 * "execute": "object-add",
48 * "qom-type": "authz-list",
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,
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/strace/strace/
H A Dupdate-gawk-paths.patch3 Date: Mon, 18 Jan 2016 11:01:00 -0800
4 Subject: [PATCH] update gawk paths, /bin/gawk -> /usr/bin/gawk
9 …st/tests/unix-yy-accept.awk_strace-ptest contained in package strace-ptest requires /bin/gawk, but…
11 Upstream-Status: Inappropriate [configuration]
13 Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
14 ---
15 src/mpers.awk | 2 +-
16 tests-m32/caps-abbrev.awk | 2 +-
17 tests-m32/caps.awk | 2 +-
18 tests-m32/match.awk | 2 +-
[all …]
/openbmc/phosphor-hwmon/
H A Dsensorset.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
24 // TODO: Issue#2 - STL regex generates really bloated code. Use POSIX regex
27 "^(fan|in|temp|power|energy|curr)([0-9]+)_([a-z]*)", std::regex::extended);
36 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/openbmc/meta-openembedded/meta-oe/recipes-extended/md5deep/files/
H A D0001-Fix-literal-and-identifier-spacing-as-dictated-by-C-.patch3 Date: Thu, 6 Sep 2018 23:21:22 -0700
8 …on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
9 | status(" Known files not found: %"PRIu64, this->match.unused);
11 Upstream-Status: Submitted [https://github.com/jessek/hashdeep/pull/385/commits/18a6b5d57f7a648d2b7…
12 Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 ---
14 src/display.cpp | 16 ++++++++--------
15 src/files.cpp | 4 ++--
16 src/hash.cpp | 2 +-
17 src/hashlist.cpp | 4 ++--
[all …]
/openbmc/qemu/authz/
H A Dlist.c25 #include "qapi/qapi-visit-authz.h"
33 QAuthZListRuleList *rules = lauthz->rules; in qauthz_list_is_allowed()
36 QAuthZListRule *rule = rules->value; in qauthz_list_is_allowed()
37 QAuthZListFormat format = rule->has_format ? rule->format : in qauthz_list_is_allowed()
40 trace_qauthz_list_check_rule(authz, rule->match, identity, in qauthz_list_is_allowed()
41 format, rule->policy); in qauthz_list_is_allowed()
44 if (g_str_equal(rule->match, identity)) { in qauthz_list_is_allowed()
45 return rule->policy == QAUTHZ_LIST_POLICY_ALLOW; in qauthz_list_is_allowed()
49 if (g_pattern_match_simple(rule->match, identity)) { in qauthz_list_is_allowed()
50 return rule->policy == QAUTHZ_LIST_POLICY_ALLOW; in qauthz_list_is_allowed()
[all …]

12345678910>>...43