Home
last modified time | relevance | path

Searched +full:encode +full:- +full:only (Results 1 – 25 of 231) sorted by relevance

12345678910

/openbmc/qemu/tests/tcg/aarch64/
H A Dpauth-2.c13 /* There is only one insn below that is allowed to fault. */ in sigill()
15 assert(test == uc->uc_mcontext.pc); in sigill()
24 uint64_t encode, decode; in do_test() local
27 * With TBI enabled and a 48-bit VA, there are 7 bits of auth, in do_test()
28 * and so a 1/128 chance of encode = pac(value,key,salt) producing in do_test()
30 * Iterate until we find a salt for which encode != value. in do_test()
33 asm volatile("pacda %0, %2" : "=r"(encode) : "0"(value), "r"(salt1)); in do_test()
34 if (encode != value) { in do_test()
40 asm volatile("autda %0, %2" : "=r"(decode) : "0"(encode), "r"(salt1)); in do_test()
52 : "=r"(decode) : "0"(encode), "r"(salt2)); in do_test()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/perl/
H A Dlibxml-sax-perl_1.02.bb2 HOMEPAGE = "http://search.cpan.org/dist/XML-SAX/"
8 come from the Java JAXP specification (SAX part), only without the \
12 LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
13 DEPENDS += "libxml-namespacesupport-perl-native"
14 RDEPENDS:${PN} += "libxml-namespacesupport-perl libxml-sax-base-perl perl-module-file-temp"
18 SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-SAX-${PV}.tar.gz"
22 S = "${WORKDIR}/XML-SAX-${PV}"
24 inherit cpan ptest-perl
27 cp -r ${B}/testfiles ${D}${PTEST_PATH}
28 chown -R root:root ${D}${PTEST_PATH}/testfiles
[all …]
/openbmc/qemu/crypto/
H A Dder.h34 * @value: the starting address of |value| part of 'Tag-Length-Value' pattern.
49 * Decode integer from DER-encoded data.
54 * part of the decoded INTEGER will be returned. Otherwise, -1 is
65 * Decode sequence from DER-encoded data, similar with der_decode_int.
76 * part of the decoded SEQUENCE will be returned. Otherwise, -1 is
88 * Decode OID from DER-encoded data, similar with der_decode_int.
99 * part of the decoded OID will be returned. Otherwise, -1 is
111 * Decode OCTET STRING from DER-encoded data, similar with der_decode_int.
122 * part of the decoded OCTET STRING will be returned. Otherwise, -1 is
134 * Decode BIT STRING from DER-encoded data, similar with der_decode_int.
[all …]
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libxml/
H A Dlibxml-libxml-perl_2.0134.bb4 interface and a XML::XPath-like interface to XPath API of libxml2. \
6 section; unless stated otherwise, you only need to use XML::LibXML; in \
9 HOMEPAGE = "https://metacpan.org/dist/XML-LibXML"
11 LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
13 libxml-sax-perl-native \
18 libxml-sax-perl \
19 libxml-sax-base-perl \
20 perl-module-encode \
21 perl-module-data-dumper \
25 SRC_URI = "${CPAN_MIRROR}/authors/id/S/SH/SHLOMIF/XML-LibXML-${PV}.tar.gz;name=libxml \
[all …]
/openbmc/libbej/src/
H A Dbej_encoder_core.c10 * @brief Encode a unsigned value with nnint format.
17 RETURN_IF_IERROR(output->recvOutput(&nnintLengthByte, sizeof(uint8_t), in bejEncodeNnint()
18 output->handlerContext)); in bejEncodeNnint()
20 return output->recvOutput(&value, nnintLengthByte, output->handlerContext); in bejEncodeNnint()
24 * @brief Encode a BejTupleF type.
29 return output->recvOutput(format, sizeof(struct BejTupleF), in bejEncodeFormat()
30 output->handlerContext); in bejEncodeFormat()
34 * @brief Encode a BejSet or BejArray type.
39 // Encode Sequence number. in bejEncodeBejSetOrArray()
40 RETURN_IF_IERROR(bejEncodeNnint(node->metaData.sequenceNumber, output)); in bejEncodeBejSetOrArray()
[all …]
H A Dbej_encoder_metadata.c19 * Maximum bytes possible for an integer is 8. Therefore to encode the length of
20 * an integer using a nnint, we only need two bytes. [byte1: nnint length,
21 * byte2: integer length [0-8]]
40 * @param[in] name - property name.
55 * @param[in] dictionaries - available dictionaries for encoding.
56 * @param[in] parentDictionary - dictionary used for the parent of this node.
57 * @param[in] nodeName - name of the interested node. Can be NULL if the node
75 if (parentDictionary == dictionaries->annotationDictionary) in bejGetRelatedDictionary()
77 return dictionaries->annotationDictionary; in bejGetRelatedDictionary()
79 return bejIsAnnotation(nodeName) ? dictionaries->annotationDictionary in bejGetRelatedDictionary()
[all …]
/openbmc/openbmc/meta-security/recipes-scanners/buck-security/
H A Dbuck-security_0.7.bb2 DESCRIPTION = "Buck-Security is a security scanner for Debian and Ubuntu Linux. It runs a couple of…
5 LICENSE = "GPL-2.0-only"
6 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
8 SRC_URI = "http://sourceforge.net/projects/buck-security/files/buck-security/buck-security_${PV}/${…
19 install -d ${D}${bindir}/buck
20 cp -r ${S}/* ${D}${bindir}/buck
21 cp -r ${S}/buck-security ${D}${bindir}
22 …sed -i 's!use lib "checks"!use lib File::Spec->catfile(dirname(File::Spec->rel2abs(__FILE__)), "bu…
23 …sed -i 's!use lib "checks/lib"!use lib File::Spec->catfile(dirname(File::Spec->rel2abs(__FILE__)),…
24 …sed -i 's!use lib "lib"!use lib File::Spec->catfile(dirname(File::Spec->rel2abs(__FILE__)), "buck/…
[all …]
/openbmc/libpldm/
H A DREADME.md7 - keeping it light weight
8 - implementation in C
9 - minimal dynamic memory allocations
10 - endian-safe
11 - no OpenBMC specific dependencies
20 encode_foo_req() - encode a foo request
21 decode_foo_resp() - decode a response to foo
27 decode_foo_req() - decode a foo request
28 encode_foo_resp() - encode a response to foo
47 meson setup build && meson compile -C build
[all …]
H A DCHANGELOG.md11 - Added
12 - Changed
13 - Deprecated
14 - Removed
15 - Fixed
16 - Security
22 - platform: Added file descriptor PDR encoding support
23 - Added `encode_pldm_platform_file_descriptor_pdr()`
24 - utils: Added `pldm_edac_crc32_extend()`
25 - base: Added `decode_pldm_base_negotiate_transfer_params_req()`
[all …]
/openbmc/qemu/tests/functional/qemu_test/
H A Dcmd.py5 # Original Author (Avocado-based tests):
12 # later. See the COPYING file in the top-level directory.
35 # @success: a non-None string to look for
98 success_message_b = success_message.encode()
102 failure_message_b = failure_message.encode()
106 vm.console_socket.sendall(send_string.encode())
108 send_string = None # send only once
110 # Only consume console output if waiting for something
192 test.log.debug('Looking for and selecting a qemu-img binary')
194 # If qemu-img has been built, use it, otherwise the system wide one
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-prctl/
H A D0001-support-cross-complication.patch3 Date: Thu, 21 Apr 2016 03:05:57 -0400
4 Subject: [PATCH] support cross-complication
6 Upstream-Status: Inappropriate [oe specific]
8 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
10 ---
11 setup.py | 35 -----------------------------------
12 1 file changed, 35 deletions(-)
14 diff --git a/setup.py b/setup.py
16 --- a/setup.py
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dbuildstats.py4 # SPDX-License-Identifier: GPL-2.0-only
44 # environments like Linux-VServer. Silently skip collecting
47 # In practice, this class gets instantiated only once in
71 self.min_seconds = 1.0 - self.tolerance
118 prev = self.net_stats[iface][-1] if self.net_stats[iface] else (0, 0, 0, 0)
119 receive_diff = receive_bytes - prev[0]
120 transmit_diff = transmit_bytes - prev[1]
129 f"{iface}: {net_data[-1][0]} {net_data[-1][1]} {net_data[-1][2]} {net_data[-1][3]}"
133 return time, result_str.encode('ascii')
156 interval = time - self.diskstats_ltime
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dcompression.py4 # SPDX-License-Identifier: GPL-2.0-only
39 self._file_helper("b", "Hello".encode("utf-8"))
55 self._pipe_helper("b", "Hello".encode("utf-8"))
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A Dgomod.py14 - version
19 - mod
20 Fetch and unpack the go.mod file only instead of the complete module.
24 The default is "0", set mod=1 for the go.mod file only.
26 - sha256sum
28 only the go.mod file. Alternatively, set the SRC_URI varible flag for
31 - protocol
35 - repo
39 - srcrev
43 - subdir
[all …]
/openbmc/libbej/include/libbej/
H A Dbej_tree.h15 * @brief Holds info needed to encode a parent in the JSON tree.
26 // Size needed to encode Sequence number, Format and Length of the
38 * @brief Holds info needed to encode a leaf type in the JSON tree.
44 // Size needed to encode Sequence number, Format and Length of the
77 // Points to the last child. Technically we only need the firstChild
161 * @param[in] node - pointer to a RedfishPropertyParent struct.
162 * @param[in] name - name of the node.
169 * @param[in] node - pointer to a RedfishPropertyParent struct.
170 * @param[in] name - name of the node.
177 * @param[in] node - pointer to a RedfishPropertyParent struct.
[all …]
/openbmc/openbmc/poky/scripts/
H A Doepydevshell-internal.py5 # SPDX-License-Identifier: GPL-2.0-only
30 if len(sys.argv) != 3 or sys.argv[1] in ('-h', '--help'):
31 print('oepydevshell-internal.py: error: the following arguments are required: pty, pid\n'
32 'Usage: oepydevshell-internal.py pty pid\n\n'
33 …'OpenEmbedded oepydevshell-internal.py - internal script called from meta/classes/devshell.bbclass…
38 ' -h, --help show this help message and exit\n')
48 histfile = os.path.expanduser("~/.oepydevshell-history")
62 pty.write(str(os.getpid()).encode('utf-8') + b"\n")
73 i = i + readdata.decode('utf-8')
82 o = input().encode('utf-8')
[all …]
H A Drelocate_sdk.py5 # SPDX-License-Identifier: GPL-2.0-only
28 return x.encode(sys.getfilesystemencoding())
38 # ei_data = 1 for little-endian & 0 for big-endian
64 sys.exit(-1)
70 sys.exit(-1)
123 # External SDKs with mixed pre-compiled binaries should not get
136 dl_path = new_dl_path + b("\0") * (p_filesz - len(new_dl_path))
171 """ look only into SHT_PROGBITS sections """
190 sys.exit(-1)
192 new_ldsocache_path += b("\0") * (sh_size - len(new_ldsocache_path))
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/libtool/
H A Dlibtool-2.5.4.inc7 LICENSE = "GPL-2.0-only & LGPL-2.1-only"
11 SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
12 file://0001-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch \
13 file://0002-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch \
14 file://0003-libtool-remove-help2man-dependency.patch \
15 file://0004-libtool.m4-Change-libtool-to-handle-sysroots-by-defa.patch \
16 file://0005-libtool-Check-for-static-libs-for-internal-compiler-.patch \
17 file://0006-libtool-Fix-tools-path-issues.patch \
18 file://0007-libtool-Fix-problem-with-libtoolize-in-multilib.patch \
24 EXTRA_AUTORECONF = "--exclude=libtoolize"
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-installer/
H A Dinterpreter.patch4 Subject: [PATCH] python3-installer: add installer module
8 are simple (assume the spaces are only used to separate arguments) and
11 Upstream-Status: Inappropriate
12 Signed-off-by: Ross Burton <ross.burton@arm.com>
14 ---
15 src/installer/__main__.py | 9 ++++++++-
16 src/installer/scripts.py | 15 +--------------
17 2 files changed, 9 insertions(+), 15 deletions(-)
19 diff --git a/src/installer/__main__.py b/src/installer/__main__.py
21 --- a/src/installer/__main__.py
[all …]
/openbmc/u-boot/tools/
H A Drkcommon.h1 /* SPDX-License-Identifier: GPL-2.0+ */
22 * rkcommon_check_params() - check params
24 * @return 0 if OK, -1 if ERROR.
29 * rkcommon_get_spl_hdr() - get 4-bytes spl hdr for a Rockchip boot image
31 * Rockchip's bootrom requires the spl loader to start with a 4-bytes
37 * rkcommon_get_spl_size() - get spl size for a Rockchip boot image
47 * rkcommon_set_header() - set up the header for a Rockchip boot image
53 * @return 0 if OK, -ENOSPC if too large
59 * rkcommon_verify_header() - verify the header for a Rockchip boot image
69 * rkcommon_print_header() - print the header for a Rockchip boot image
[all …]
/openbmc/openbmc/poky/bitbake/lib/bs4/
H A Ddammit.py1 # -*- coding: utf-8 -*-
24 # * charset-normalizer
31 # Debian package: python-chardet
36 # PyPI package: charset-normalizer
57 'html' : re.compile(html_meta.encode("ascii"), re.I),
58 'xml' : re.compile(xml_encoding.encode("ascii"), re.I),
74 This function returns a 3-tuple containing two dictionaries
77 unicode_to_name - A mapping of Unicode strings like "⦨" to
79 multiple entity names, we try to choose the most commonly-used
99 … # - https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/asyncrpc/
H A Dconnection.py4 # SPDX-License-Identifier: GPL-2.0-only
23 if len(msg) < max_chunk - 1:
26 yield "".join((json.dumps({"chunk-stream": None}), "\n"))
28 args = [iter(msg)] * (max_chunk - 1)
53 self.writer.write(c.encode("utf-8"))
63 if "chunk-stream" in m:
76 self.writer.write(("%s\n" % msg).encode("utf-8"))
91 line = line.decode("utf-8")
/openbmc/openbmc/poky/meta/recipes-devtools/libtool/libtool/
H A D0002-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch4 Subject: [PATCH 2/7] ltmain.in: Don't encode RATHS which match default linker
14 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00013.htm…
17 ---
18 build-aux/ltmain.in | 34 ++++++++++++++++++++++++++++------
19 1 file changed, 28 insertions(+), 6 deletions(-)
21 diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
23 --- a/build-aux/ltmain.in
24 +++ b/build-aux/ltmain.in
25 @@ -7782,8 +7782,16 @@ func_mode_link ()
[all …]
/openbmc/u-boot/arch/arm/lib/
H A Dcmd_boot.c1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2008-2011
13 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
25 * interworking BLX and BX instructions do encode the ARM/Thumb
29 * ARMv7-M Instruction Set A4.1.1:
30 * "ARMv7-M only supports the Thumb instruction execution state,
/openbmc/qemu/pc-bios/
HDopenbios-sparc32 ... ABCDEFGHIJKLMNOPQRSTUVWXYZ This CPU is not supported yet, freezing. encode-int cache-line-size property cache-

12345678910