/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | tegra.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jonathan Hunter <jonathanh@nvidia.com> 18 - items: 19 - enum: 20 - compal,paz00 21 - compulab,trimslice 22 - nvidia,harmony [all …]
|
/freebsd/lib/msun/tests/ |
H A D | fmaxmin_test.c | 1 /*- 37 #include "test-utils.h" 58 testall_r(long double big, long double small, int rmode) in testall_r() argument 60 long double expected_max = isnan(big) ? small : big; in testall_r() 61 long double expected_min = isnan(small) ? big : small; in testall_r() 62 TEST(fmaxf, float, big, small, expected_max, rmode); in testall_r() 63 TEST(fmaxf, float, small, big, expected_max, rmode); in testall_r() 64 TEST(fmax, double, big, small, expected_max, rmode); in testall_r() 65 TEST(fmax, double, small, big, expected_max, rmode); in testall_r() 66 TEST(fmaxl, long double, big, small, expected_max, rmode); in testall_r() [all …]
|
/freebsd/contrib/ntp/util/ |
H A D | byteorder.c | 21 int big; in main() local 33 if (u.c[0] == 0x08) big = 1; in main() 34 else big = 0; in main() 36 if (u.c[0] == 0x04) big = 1; in main() 37 else big = 0; in main() 40 if (big == 1 && (u.c[i] == (sizeof(long) - i))) { in main() 42 } else if (big == 0 && (u.c[i] == (i+1))) { in main() 45 big = -1; in main() 50 if (big == 1) { in main() 52 } else if (big == 0) { in main()
|
/freebsd/sys/dev/ocs_fc/ |
H A D | sli4.h | 1 /*- 34 * Define common SLI-4 structures and function prototypes. 43 #define SLI_SUB_PAGE_MASK (SLI_PAGE_SIZE - 1) 53 uint32_t mask = page_size - 1; in sli_page_count() 93 * Common SLI-4 register offsets and field definitions 97 * @brief SLI_INTF - SLI Interface Definition Register 119 * @brief ASIC_ID - SLI ASIC Type and Revision Register 135 * @brief BMBX - Bootstrap Mailbox Register 150 * @brief EQCQ_DOORBELL - EQ and CQ Doorbell Register 168 * @brief SLIPORT_CONTROL - SLI Port Control Register [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/phy/ |
H A D | lantiq,vrx200-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/lantiq,vrx200-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 13 "#phy-cells": 15 description: selects the PHY mode as defined in <dt-bindings/phy/phy-lantiq-vrx200-pcie.h> 19 - lantiq,vrx200-pcie-phy 20 - lantiq,arx300-pcie-phy 27 - description: PHY module clock [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/i386/ |
H A D | floatundisf.S | 3 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 // a write-small read-large stall, so the software implementation here is 14 // This is a branch-free implementation. A branchy implementation might be 18 /* branch-free x87 implementation - one cycle slower than without x87. 28 #define TWOp64 twop64-0b(%ecx,%eax,8) 52 // branch-free, x87-free implementation - faster at the expense of code size 72 #define TWOp52 twop52-0b(%ecx) 73 #define STICKY sticky-0b(%ecx,%eax,8) 87 sarl $31, %eax // (big input) ? -1 : 0 88 movsd STICKY, %xmm1 // (big input) ? 0xfff : 0 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/regmap/ |
H A D | regmap.txt | 5 little-endian, 6 big-endian, 7 native-endian: See common-properties.txt for a definition 10 Regmap defaults to little-endian register access on MMIO based 12 architectures that typically run big-endian operating systems 13 (e.g. PowerPC), registers can be defined as big-endian and must 16 On SoCs that can be operated in both big-endian and little-endian 19 chips), "native-endian" is used to allow using the same device tree 23 Scenario 1 : a register set in big-endian mode. 27 big-endian;
|
/freebsd/lib/libc/string/ |
H A D | strstr.3 | 44 .Fn strstr "const char *big" "const char *little" 46 .Fn strcasestr "const char *big" "const char *little" 48 .Fn strnstr "const char *big" "const char *little" "size_t len" 52 .Fn strcasestr_l "const char *big" "const char *little" "locale_t loc" 57 locates the first occurrence of the null-terminated string 59 in the null-terminated string 60 .Fa big . 77 locates the first occurrence of the null-terminated string 80 .Fa big , 96 .Fa big [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Endian.h | 1 //===- Endian.h - Utilities for IO with endian specific data ----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 146 (sizeof(value_type) * 8) - startBit; in readAtBitAlignment() 147 lowerVal &= ((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1; in readAtBitAlignment() 151 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); in readAtBitAlignment() 179 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; in writeAtBitAlignment() 181 (sizeof(value_type) * 8) - startBit; in writeAtBitAlignment() 187 lowerVal &= (((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1); in writeAtBitAlignment() [all …]
|
/freebsd/contrib/file/doc/ |
H A D | magic.man | 37 .Bl -tag -width ".Dv message" 42 .Bl -bullet -compact 50 A continuation offset relative to the end of the last up-level field 60 .Bl -tag -width ".Dv lestring16" 62 A one-byte value. 64 A two-byte value in this machine's native byte order. 66 A four-byte value in this machine's native byte order. 68 An eight-byte value in this machine's native byte order. 70 A 32-bit single precision IEEE floating point number in this machine's native byte order. 72 A 64-bit double precision IEEE floating point number in this machine's native byte order. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/usb/ |
H A D | generic-ohci.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/generic-ohci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Greg Kroah-Hartma [all...] |
H A D | generic-ehci.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/generic-ehci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 13 - $ref: usb-hcd.yaml 14 - if: 19 const: ibm,usb-ehci-440epx 28 - items: 29 - enum: [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | coverage | 2 #------------------------------------------------------------------------------ 7 # 2016-05-21, Georg Sauthoff <mail@georg.so> 10 # - GCC gcno - written by GCC at compile time when compiling with 11 # gcc -ftest-coverage 12 # - GCC gcda - written by a program that was compiled with 13 # gcc -fprofile-arcs 14 # - LLVM raw profiles - generated by a program compiled with 15 # clang -fprofile-instr-generate -fcoverage-mapping ... 16 # - LLVM indexed profiles - generated by 17 # llvm-profdata [all …]
|
H A D | aout | 2 #------------------------------------------------------------------------------ 9 # Little-endian 32-bit-int a.out, merged from bsdi (for BSD/OS, from 12 # XXX - is there anything we can look at to distinguish BSD/OS 386 from 18 0 lelong 0407 a.out little-endian 32-bit executable 22 0 lelong 0410 a.out little-endian 32-bit pure executable 26 0 lelong 0413 a.out little-endian 32-bit demand paged pure executable 31 # Big-endian 32-bit-int a.out, merged from sun (for old 68010 SunOS a.out), 32 # mips (for old 68020(!) SGI a.out), and netbsd (for old big-endian a.out). 34 # XXX - is there anything we can look at to distinguish old SunOS 68010 38 0 belong 0407 a.out big-endian 32-bit executable [all …]
|
H A D | scientific | 2 #------------------------------------------------------------------------------ 13 >52 byte 1 , Little-endian 14 >55 byte 1 , Big-endian 22 0 string/c :-)\040Origin BRIX Electron Density Map 32 >212 byte 17 \b, Big-endian 34 >212 byte 68 \b, Little-endian 38 # X-Ray Area Detector images 39 0 string R-AXIS4\ \ \ R-Axis Area Detector Image: 40 >796 lelong <20 Little-endian, IP #%d, 43 >796 belong <20 Big-endian, IP #%d, [all …]
|
H A D | lammps | 2 #------------------------------------------------------------------------------ 8 # Updated: 2021-03-14 by akohlmey@gmail.com 15 >>>0x10 lelong 0x1000 Big Endian 19 0 lequad -8 25 # written on a big endian machine 26 0 bequad -8 29 >>>0x10 lelong 0x1000 Big Endian, 34 0 lequad -10 40 # written on a big endian machine 41 0 bequad -10 [all …]
|
/freebsd/usr.sbin/fstyp/ |
H A D | hammer_disk.h | 1 /*- 47 * The structures below represent the on-disk format for a HAMMER 48 * filesystem. Note that all fields for on-disk structures are naturally 49 * aligned. HAMMER uses little endian for fields in on-disk structures. 50 * HAMMER doesn't support big endian arch, but is planned. 63 * 64K X-bufs are used for blocks >= a file's 1MB mark. 65 * Per-volume storage limit: 52 bits 4096 TB 66 * Per-Zone storage limit: 60 bits 1 MTB 67 * Per-filesystem storage limit: 60 bits 1 MTB 73 #define HAMMER_BUFMASK (HAMMER_BUFSIZE - 1) [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/ls/ |
H A D | ls1021a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright 2013-2014 Freescale Semiconductor, Inc. 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #address-cells = <2>; 11 #size-cells = <2>; 12 interrupt-parent = <&gic>; 30 #address-cells = <1>; 31 #size-cells = <0>; 34 compatible = "arm,cortex-a7"; [all …]
|
/freebsd/contrib/netbsd-tests/lib/libbluetooth/ |
H A D | t_sdp_set.c | 3 /*- 32 #include <atf-c.h> 102 ATF_CHECK_EQ(sdp_set_uint(&test, UINT8_MAX + 1), false); /* too big */ in ATF_TC_BODY() 111 ATF_CHECK_EQ(sdp_set_uint(&test, UINT16_MAX + 1), false); /* too big */ in ATF_TC_BODY() 116 ATF_CHECK_EQ(sdp_set_uint(&test, (uintmax_t)UINT32_MAX + 1), false); /* too big */ in ATF_TC_BODY() 181 ATF_REQUIRE(sdp_set_int(&test, -1)); in ATF_TC_BODY() 182 ATF_CHECK_EQ(sdp_set_int(&test, INT8_MAX + 1), false); /* too big */ in ATF_TC_BODY() 191 ATF_CHECK_EQ(sdp_set_int(&test, INT16_MIN - 1), false); /* too big */ in ATF_TC_BODY() 195 ATF_REQUIRE(sdp_set_int(&test, -4567)); in ATF_TC_BODY() 196 ATF_CHECK_EQ(sdp_set_int(&test, (intmax_t)INT32_MAX + 1), false); /* too big */ in ATF_TC_BODY() [all …]
|
/freebsd/lib/libc/db/hash/ |
H A D | hash_bigkey.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 38 * Big key/data handling for the hashing package. 75 * You need to do an insert and the key/data pair is too big 79 *-1 ==> ERROR 90 cp = bufp->page; /* Character pointer of p. */ in __big_insert() 93 key_data = (char *)key->data; in __big_insert() 94 key_size = key->size; in __big_insert() 95 val_data = (char *)val->data; in __big_insert() 96 val_size = val->size; in __big_insert() [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BN_bn2bin.pod | 8 BN_print, BN_print_fp, BN_bn2mpi, BN_mpi2bn - format conversions 37 BN_bn2bin() converts the absolute value of B<a> into big-endian form 41 BN_bn2binpad() also converts the absolute value of B<a> into big-endian form 46 BN_bin2bn() converts the positive integer in big-endian form of length 51 BN_bin2bn() except the buffer is in little-endian format. 55 byte first on big-endian platforms, and least significant byte first on 56 little-endian platforms. 60 numbers, the string is prefaced with a leading '-'. The string must be 64 including the leading character '-' which means negative, to form a valid 72 with a leading '-' for negative numbers, to the B<BIO> or B<FILE> [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/algs/skein/ |
H A D | skein_port.h | 2 * Platform-specific definitions for Skein hash function. 21 #define RotL_64(x, N) (((x) << (N)) | ((x) >> (64 - (N)))) 25 * Skein is "natively" little-endian (unlike SHA-xxx), for optimal 29 * SKEIN_NEED_SWAP: 0 for little-endian, 1 for big-endian 38 * Otherwise, an "auto-detect" of endianness is attempted below. 40 * platform-specific code instead (e.g., for big-endian CPUs). 43 #ifndef SKEIN_NEED_SWAP /* compile-time "override" for endianness? */ 48 /* here for big-endian CPUs */ 51 /* here for x86 and x86-64 CPUs (and other detected little-endian CPUs) */ 63 #ifndef Skein_Swap64 /* swap for big-endian, nop for little-endian */ [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | fsl,spdif.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 20 - fsl,imx35-spdif 21 - fsl,vf610-spdif 22 - fsl,imx6sx-spdif 23 - fsl,imx8qm-spdif 24 - fsl,imx8qxp-spdif 25 - fsl,imx8mq-spdif [all …]
|
/freebsd/contrib/elftoolchain/libelftc/ |
H A D | elftc_bfd_find_target.3 | 1 .\" Copyright (c) 2010-2011 Joseph Koshy. All rights reserved. 24 .\" $Id: elftc_bfd_find_target.3 3752 2019-06-28 01:12:53Z emaste $ 63 .Bl -column -offset "XXXX" ".Li elf32-x86-64-freebsd" "Object format" "Byte Order" "Bit Width" 65 .It Li binary Ta Binary Ta - Ta - 66 .It Li efi-app-ia32 Ta PE Ta LSB Ta 32 67 .It Li efi-app-x86_64 Ta PE Ta LSB Ta 64 68 .It Li elf32-avr Ta ELF Ta LSB Ta 32 69 .It Li elf32-big Ta ELF Ta MSB Ta 32 70 .It Li elf32-bigarm Ta ELF Ta MSB Ta 32 71 .It Li elf32-bigmips Ta ELF Ta MSB Ta 32 [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | snap6.sh | 24 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 28 mount | grep "on `df /var | tail -1 | awk '{print $NF}'`" | 29 grep -q 'journaled soft-updates' && exit 0 30 rm -f $root/.snap/stress2 $root/big $root/big2 31 trap "rm -f $root/.snap/stress2 $root/big $root/big2" 0 32 free=`df $root | tail -1 | awk '{print $4}'` 33 timeout 5m dd if=/dev/zero of=$root/big bs=1m count=$(( free / 1024 - 90)) \ 38 while [ $((`date +%s` - start)) -lt 300 ]; do 40 nice -20 mksnap_ffs $root $root/.snap/stress2 & 43 [ -f $root/.snap/stress2 ] && exit 0 [all …]
|