/openbmc/qemu/tests/tcg/s390x/ |
H A D | vfminmax.c | 55 …/* -inf -Fn -0 +0 +Fn +inf QNaN … 56 …{/* -inf */ "T(a)", "T(a)", "T(a)", "T(a)", "T(a)", "T(a)", "T(a)", … 57 …{/* -Fn */ "T(b)", "T(M(a,b))", "T(a)", "T(a)", "T(a)", "T(a)", "T(a)", … 58 …{/* -0 */ "T(b)", "T(b)", "T(a)", "T(a)", "T(a)", "T(a)", "T(a)", … 59 …{/* +0 */ "T(b)", "T(b)", "T(b)", "T(a)", "T(a)", "T(a)", "T(a)", … 60 …{/* +Fn */ "T(b)", "T(b)", "T(b)", "T(b)", "T(M(a,b))", "T(a)", "T(a)", … 61 …{/* +inf */ "T(b)", "T(b)", "T(b)", "T(b)", "T(b)", "T(a)", "T(a)", … 62 …{/* QNaN */ "T(b)", "T(b)", "T(b)", "T(b)", "T(b)", "T(b)", "T(a)", … 63 …{/* SNaN */ "Xi: T(a*)", "Xi: T(a*)", "Xi: T(a*)", "Xi: T(a*)", "Xi: T(a*)", "Xi: T(a*)", "Xi: T(a… 71 …/* -inf -Fn -0 +0 +Fn +inf QNaN … [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | int128.h | 15 static inline Int128 int128_make64(uint64_t a) in int128_make64() argument 17 return a; in int128_make64() 20 static inline Int128 int128_makes64(int64_t a) in int128_makes64() argument 22 return a; in int128_makes64() 30 static inline uint64_t int128_get64(Int128 a) in int128_get64() argument 32 uint64_t r = a; in int128_get64() 33 assert(r == a); in int128_get64() 37 static inline uint64_t int128_getlo(Int128 a) in int128_getlo() argument 39 return a; in int128_getlo() 42 static inline int64_t int128_gethi(Int128 a) in int128_gethi() argument [all …]
|
/openbmc/linux/net/ceph/crush/ |
H A D | hash.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Robert Jenkins' function for mixing 32-bit values 11 * a, b = random bits, c = input and output 13 #define crush_hashmix(a, b, c) do { \ argument 14 a = a-b; a = a-c; a = a^(c>>13); \ 15 b = b-c; b = b-a; b = b^(a<<8); \ 16 c = c-a; c = c-b; c = c^(b>>13); \ 17 a = a-b; a = a-c; a = a^(c>>12); \ 18 b = b-c; b = b-a; b = b^(a<<16); \ 19 c = c-a; c = c-b; c = c^(b>>5); \ [all …]
|
/openbmc/rest-dbus/resources/ |
H A D | jquery.min.js | 2 …a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):fu… function 4 …a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;if(k&… argument 5 …a,b,c,d,e)}m.Tween=Za,Za.prototype={constructor:Za,init:function(a,b,c,d,e,f){this.elem=a,this.pro… argument
|
H A D | jstree.min.js | 1 /*! jsTree - v3.2.0 - 2015-08-06 - (MIT) */ 2 …a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof mod… argument 3 …b.children(".jstree-children")[0]),r=b.children(".jstree-anchor")[0]===i.activeElement,b.remove();… argument 4 …b,this.element.addClass("jstree-"+b),this.element[this.settings.core.themes.responsive?"addClass":… argument 5 …a(b.target).closest(".jstree-node")[0]!==b.currentTarget)return!0;if("touchstart"===b.type&&(!this… argument
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | ui-bootstrap-tpls-0.11.0.js | 2 * angular-ui-bootstrap 3 * http://angular-ui.github.io/bootstrap/ 5 * Version: 0.11.0 - 2014-05-01 8 …-group.html","template/accordion/accordion.html","template/alert/alert.html","template/carousel/ca… argument 9 …a.replace(b,function(a,b){return(b?c:"")+a.toLowerCase()})}var b={placement:"top",animation:!0,pop… function
|
H A D | ui-bootstrap-tpls-0.11.0.min.js | 2 * angular-ui-bootstrap 3 * http://angular-ui.github.io/bootstrap/ 5 * Version: 0.11.0 - 2014-05-01 8 …-group.html","template/accordion/accordion.html","template/alert/alert.html","template/carousel/ca… argument 9 …a.replace(b,function(a,b){return(b?c:"")+a.toLowerCase()})}var b={placement:"top",animation:!0,pop… function
|
/openbmc/qemu/target/openrisc/ |
H A D | disas.c | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * You should have received a copy of the GNU General Public License 21 #include "disas/dis-asm.h" 27 /* Include the auto-generated decoder. */ 28 #include "decode-insns.c.inc" 31 (info->fprintf_func(info->stream, "%-9s " format, \ 40 status = info->read_memory_func(addr, buffer, 4, info); in print_insn_or1k() 42 info->memory_error_func(status, addr, info); in print_insn_or1k() 43 return -1; in print_insn_or1k() 54 static bool trans_l_##opcode(disassemble_info *info, arg_l_##opcode *a) \ [all …]
|
/openbmc/qemu/target/loongarch/ |
H A D | vec.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 #define B(x) B[(x) ^ 15] macro 22 #define B(x) B[x] macro 33 #define DO_ADD(a, b) (a + b) argument 34 #define DO_SUB(a, b) (a - b) argument 35 #define DO_VAVG(a, b) ((a >> 1) + (b >> 1) + (a & b & 1)) argument 36 #define DO_VAVGR(a, b) ((a >> 1) + (b >> 1) + ((a | b) & 1)) argument 37 #define DO_VABSD(a, b) ((a > b) ? (a -b) : (b-a)) argument 38 #define DO_VABS(a) ((a < 0) ? (-a) : (a)) argument 39 #define DO_MIN(a, b) (a < b ? a : b) argument [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | ppc-opcode.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 #include <asm/asm-const.h> 120 * 16-bit immediate helper macros: HA() is for use with sign-extending instrs 121 * (e.g. LD, ADDI). If the bottom 16 bits is "-ve", add another bit into the 131 * 18-bit immediate helper for prefix 18-bit upper immediate si0 field. 322 #define ___PPC_RA(a) (((a) & 0x1f) << 16) argument 323 #define ___PPC_RB(b) (((b) & 0x1f) << 11) argument 330 #define __PPC_RA(a) ___PPC_RA(__REG_##a) argument 331 #define __PPC_RA0(a) ___PPC_RA(__REGA0_##a) argument 332 #define __PPC_RB(b) ___PPC_RB(__REG_##b) argument [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bs4/ |
H A D | dammit.py | 1 # -*- coding: utf-8 -*- 4 This library converts a bytestream to Unicode through any means 7 XML or HTML to reflect a new encoding; that's the tree builder's job. 19 # Import a library to autodetect character encodings. We'll support 20 # any of a number of libraries that all support the same API: 24 # * charset-normalizer 31 # Debian package: python-chardet 36 # PyPI package: charset-normalizer 52 # a declared encoding inside an XML or HTML document. 74 This function returns a 3-tuple containing two dictionaries [all …]
|
/openbmc/linux/net/ceph/ |
H A D | ceph_hash.c | 10 #define mix(a, b, c) \ argument 12 a = a - b; a = a - c; a = a ^ (c >> 13); \ 13 b = b - c; b = b - a; b = b ^ (a << 8); \ 14 c = c - a; c = c - b; c = c ^ (b >> 13); \ 15 a = a - b; a = a - c; a = a ^ (c >> 12); \ 16 b = b - c; b = b - a; b = b ^ (a << 16); \ 17 c = c - a; c = c - b; c = c ^ (b >> 5); \ 18 a = a - b; a = a - c; a = a ^ (c >> 3); \ 19 b = b - c; b = b - a; b = b ^ (a << 10); \ 20 c = c - a; c = c - b; c = c ^ (b >> 15); \ [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_jhash.h | 1 // SPDX-License-Identifier: GPL-2.0 9 return (word << shift) | (word >> ((-shift) & 31)); in rol32() 12 #define __jhash_mix(a, b, c) \ argument 14 a -= c; a ^= rol32(c, 4); c += b; \ 15 b -= a; b ^= rol32(a, 6); a += c; \ 16 c -= b; c ^= rol32(b, 8); b += a; \ 17 a -= c; a ^= rol32(c, 16); c += b; \ 18 b -= a; b ^= rol32(a, 19); a += c; \ 19 c -= b; c ^= rol32(b, 4); b += a; \ 22 #define __jhash_final(a, b, c) \ argument [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
H A D | math_support.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 21 #define IS_ODD(a) ((a) & 0x1) argument 22 #define IS_EVEN(a) (!IS_ODD(a)) argument 24 /* force a value to a lower even value */ 31 /* A => B */ 32 #define IMPLIES(a, b) (!(a) || (b)) argument 36 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) argument 37 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) argument 39 #define ROUND_DIV(a, b) (((b) != 0) ? ((a) + ((b) >> 1)) / (b) : 0) argument [all …]
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | sha1.c | 6 SHA-1 in C 10 Test Vectors (from FIPS PUB 180-1) 12 A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D 15 A million repetitions of "a" 30 SHA-1 in C 47 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) 52 #define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \ 53 |(rol(block->l[i],8)&0x00FF00FF)) 55 #define blk0(i) block->l[i] 59 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ [all …]
|
/openbmc/linux/tools/perf/pmu-events/ |
H A D | metric_test.py | 2 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 14 a = Event('a') 15 b = Event('b') 16 self.assertEqual((a | b).ToPerfJson(), 'a | b') 17 self.assertEqual((a ^ b).ToPerfJson(), 'a ^ b') 18 self.assertEqual((a & b).ToPerfJson(), 'a & b') 19 self.assertEqual((a < b).ToPerfJson(), 'a < b') 20 self.assertEqual((a > b).ToPerfJson(), 'a > b') 21 self.assertEqual((a + b).ToPerfJson(), 'a + b') 22 self.assertEqual((a - b).ToPerfJson(), 'a - b') [all …]
|
/openbmc/linux/fs/smb/common/ |
H A D | cifs_md4.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright (c) Andrew Tridgell 1997-1998. 32 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 50 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 51 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 52 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 56 u32 a, b, c, d; in md4_transform() local 58 a = hash[0]; in md4_transform() 59 b = hash[1]; in md4_transform() 63 ROUND1(a, b, c, d, in[0], 3); in md4_transform() [all …]
|
/openbmc/linux/include/linux/ |
H A D | jhash.h | 14 * These are functions for producing 32-bit hashes for hash table lookup. 20 * Copyright (C) 2009-2010 Jozsef Kadlecsik (kadlec@netfilter.org) 32 #define jhash_mask(n) (jhash_size(n)-1) 34 /* __jhash_mix -- mix 3 32-bit values reversibly. */ 35 #define __jhash_mix(a, b, c) \ argument 37 a -= c; a ^= rol32(c, 4); c += b; \ 38 b -= a; b ^= rol32(a, 6); a += c; \ 39 c -= b; c ^= rol32(b, 8); b += a; \ 40 a -= c; a ^= rol32(c, 16); c += b; \ 41 b -= a; b ^= rol32(a, 19); a += c; \ [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | jhash.h | 14 * These are functions for producing 32-bit hashes for hash table lookup. 20 * Copyright (C) 2009-2010 Jozsef Kadlecsik (kadlec@blackhole.kfki.hu) 32 #define jhash_mask(n) (jhash_size(n)-1) 34 /* __jhash_mix -- mix 3 32-bit values reversibly. */ 35 #define __jhash_mix(a, b, c) \ argument 37 a -= c; a ^= rol32(c, 4); c += b; \ 38 b -= a; b ^= rol32(a, 6); a += c; \ 39 c -= b; c ^= rol32(b, 8); b += a; \ 40 a -= c; a ^= rol32(c, 16); c += b; \ 41 b -= a; b ^= rol32(a, 19); a += c; \ [all …]
|
/openbmc/qemu/target/hexagon/ |
H A D | fma_emu.c | 2 * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * You should have received a copy of the GNU General Public License 68 Double a = { .i = f64 }; in float64_getmant() local 70 return a.mant | 1ULL << 52; in float64_getmant() 76 return a.mant; in float64_getmant() 83 Double a = { .i = f64 }; in float64_getexp() local 85 return a.exp; in float64_getexp() 88 return a.exp + 1; in float64_getexp() 90 return -1; in float64_getexp() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_reg_defs.h | 1 /* SPDX-License-Identifier: MIT */ 11 #define DISPLAY_MMIO_BASE(dev_priv) (DISPLAY_INFO(dev_priv)->mmio_offset) 18 #define _PIPE(pipe, a, b) _PICK_EVEN(pipe, a, b) argument 19 #define _PLANE(plane, a, b) _PICK_EVEN(plane, a, b) argument 20 #define _TRANS(tran, a, b) _PICK_EVEN(tran, a, b) argument 21 #define _PORT(port, a, b) _PICK_EVEN(port, a, b) argument 22 #define _PLL(pll, a, b) _PICK_EVEN(pll, a, b) argument 23 #define _PHY(phy, a, b) _PICK_EVEN(phy, a, b) argument 25 #define _MMIO_PIPE(pipe, a, b) _MMIO(_PIPE(pipe, a, b)) argument 26 #define _MMIO_PLANE(plane, a, b) _MMIO(_PLANE(plane, a, b)) argument [all …]
|
/openbmc/u-boot/lib/ |
H A D | sha1.c | 1 // SPDX-License-Identifier: LGPL-2.1 5 * FIPS-180-1 compliant SHA-1 implementation 7 * Copyright (C) 2003-2006 Christophe Devine 10 * The SHA-1 standard was published by NIST in 1993. 12 * http://www.itl.nist.gov/fipspubs/fip180-1.htm 26 #include <u-boot/sha1.h> 34 * 32-bit integer manipulation macros (big endian) 37 #define GET_UINT32_BE(n,b,i) { \ argument 38 (n) = ( (unsigned long) (b)[(i) ] << 24 ) \ 39 | ( (unsigned long) (b)[(i) + 1] << 16 ) \ [all …]
|
/openbmc/linux/crypto/ |
H A D | md4.c | 11 * Copyright (c) Andrew Tridgell 1997-1998. 45 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 63 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 64 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 65 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 69 u32 a, b, c, d; in md4_transform() local 71 a = hash[0]; in md4_transform() 72 b = hash[1]; in md4_transform() 76 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 77 ROUND1(d, a, b, c, in[1], 7); in md4_transform() [all …]
|
H A D | md5.c | 38 (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x) 42 u32 a, b, c, d; in md5_transform() local 44 a = hash[0]; in md5_transform() 45 b = hash[1]; in md5_transform() 49 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform() 50 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform() 51 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform() 52 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform() 53 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in md5_transform() 54 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in md5_transform() [all …]
|
/openbmc/linux/drivers/crypto/cavium/cpt/ |
H A D | cpt_common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 24 #define cpt_sriov_enabled(cpt) ((cpt)->flags & CPT_FLAG_SRIOV_ENABLED) 25 #define cpt_vf_driver(cpt) ((cpt)->flags & CPT_FLAG_VF_DRIVER) 26 #define cpt_device_ready(cpt) ((cpt)->flags & CPT_FLAG_DEVICE_READY) 39 #define CPTX_PF_CONSTANTS(a) (0x0ll + ((u64)(a) << 36)) argument 40 #define CPTX_PF_RESET(a) (0x100ll + ((u64)(a) << 36)) argument 41 #define CPTX_PF_DIAG(a) (0x120ll + ((u64)(a) << 36)) argument 42 #define CPTX_PF_BIST_STATUS(a) (0x160ll + ((u64)(a) << 36)) argument 43 #define CPTX_PF_ECC0_CTL(a) (0x200ll + ((u64)(a) << 36)) argument 44 #define CPTX_PF_ECC0_FLIP(a) (0x210ll + ((u64)(a) << 36)) argument [all …]
|