| /freebsd/sys/contrib/device-tree/Bindings/iio/imu/ |
| H A D | bosch,bmi323.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Bosch BMI323 6-Axis IMU 10 - Jagath Jog J <jagathjog1996@gmail.com> 13 BMI323 is a 6-axis inertial measurement unit that supports acceleration and 14 gyroscopic measurements with hardware fifo buffering. Sensor also provides 15 events information such as motion, steps, orientation, single and double 25 vdd-supply: true 26 vddio-supply: true [all …]
|
| /freebsd/contrib/bearssl/src/aead/ |
| H A D | eax.c | 31 * The combined CTR + CBC-MAC functions can only handle full blocks, 32 * so some buffering is necessary. Moreover, EAX has a special padding 33 * rule for CBC-MAC, which implies that we cannot compute the MAC over 37 * - 'ptr' contains a value from 1 to 16, which is the number of bytes 42 * OMAC^t works on an input that is at least one-block long. 44 * - When processing the message itself, CTR encryption/decryption is 46 * contains the encrypted bytes, while the last '16 - ptr' bytes of 50 * - The current counter and running CBC-MAC values are kept in 'ctr' 53 * - The derived keys for padding are kept in L2 and L4 (double and 58 * Start an OMAC computation; the first block is the big-endian [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/display/ |
| H A D | xylon,logicvc-display.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/xylon,logicvc-display.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Paul Kocialkowski <paul.kocialkowski@bootlin.com> 16 with Xilinx Zynq-7000 SoCs and Xilinx FPGAs. 20 synthesis time. As a result, many of the device-tree bindings are meant to 24 Layers are declared in the "layers" sub-node and have dedicated configuration. 32 - xylon,logicvc-3.02.a-display 33 - xylon,logicvc-4.01.a-display [all …]
|
| /freebsd/sys/dev/usb/controller/ |
| H A D | musb_otg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 227 #define MUSB2_MASK_FIFODB 0x10 /* set if double buffering, r/w */ 242 #define MUSB2_MASK_FIFOADD 0xFFF /* unit is 8-bytes */ 269 #define MUSB2_MASK_DB(n) (1 << (n)) /* disable double buffer, n = [0..15] */ 289 bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, reg) 292 bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data) 295 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg) 298 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data)
|
| H A D | musb_otg.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 35 * 2.0 High Speed Dual-Role controller. 87 MUSBOTG_BUS2SC(USB_DMATAG_TO_XROOT((pc)->tag_parent)->bus) 167 .ep_end = -1, 177 ep = td->ep_no; in musbotg_channel_alloc() 180 if (sc->sc_mode == MUSB2_DEVICE_MODE) { in musbotg_channel_alloc() 189 if (sc->sc_channel_mask & (1 << 0)) in musbotg_channel_alloc() 190 return (-1); in musbotg_channel_alloc() 191 sc->sc_channel_mask |= (1 << 0); in musbotg_channel_alloc() [all …]
|
| /freebsd/lib/libc/stdio/ |
| H A D | vfwprintf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 62 #include "un-namespace.h" 79 wchar_t thousands_sep; /* locale-specific thousands separator */ 80 const char *grouping; /* locale-specific numeric grouping rules */ 96 nconv = mbrtowc(&decpt, localeconv_l(locale)->decimal_point, MB_CUR_MAX, &mbs); in get_decpt() 97 if (nconv == (size_t)-1 || nconv == (size_t)-2) in get_decpt() 110 nconv = mbrtowc(&thousep, localeconv_l(locale)->thousands_sep, in get_thousep() 112 if (nconv == (size_t)-1 || nconv == (size_t)-2) in get_thousep() 126 gs->grouping = localeconv_l(locale)->grouping; in grouping_init() [all …]
|
| H A D | vfprintf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 63 #include "un-namespace.h" 80 char *thousands_sep; /* locale-specific thousands separator */ 82 const char *grouping; /* locale-specific numeric grouping rules */ 99 gs->grouping = locale->grouping; in grouping_init() 100 gs->thousands_sep = locale->thousands_sep; in grouping_init() 101 gs->thousep_len = strlen(gs->thousands_sep); in grouping_init() 103 gs->nseps = gs->nrepeats = 0; in grouping_init() 104 gs->lead = ndigits; in grouping_init() [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | Stream.h | 1 //===-- Stream.h -------- [all...] |
| /freebsd/sys/contrib/device-tree/Bindings/timer/ |
| H A D | renesas,rz-mtu3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timer/renesas,rz-mtu [all...] |
| /freebsd/share/doc/psd/01.cacm/ |
| H A D | p2 | 74 faced with large, single-file data bases 149 also, typewriter-like terminals 160 It is possible to generate an end-of-file 171 To do random (direct-access) I/O 215 .IT i-number 219 its i-number is used as an index into 221 .IT i-list \|) 226 .IT i-node \|) 230 the user and group-\*sID\*n of its owner 249 into an i-number [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | raw_ostream.cpp | 1 //===--- raw_ostream.cpp - Implement the raw_ostream classes --------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 81 "raw_ostream destructor called with non-empty buffer!"); in ~raw_ostream() 115 assert(GetNumBytesInBuffer() == 0 && "Current buffer is non-empty!"); in SetBufferAndMode() 164 *this << "-"; in write_uuid() 198 // Always use a full 3-character octal escape. in write_escaped() 215 raw_ostream &raw_ostream::operator<<(double N) { in operator <<() 222 size_t Length = OutBufCur - OutBufStart; in flush_nonempty() [all …]
|
| H A D | JSON.cpp | 1 //=== JSON.cpp - JSON value, parsing and serialization - C++ -----------*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===---------------------------------------------------------------------===// 25 return try_emplace(K, nullptr).first->getSecond(); in operator []() 28 return try_emplace(std::move(K), nullptr).first->getSecond(); in operator []() 34 return &I->second; in get() 40 return &I->second; in get() 44 return V->getAsNull(); in getNull() 49 return V->getAsBoolean(); in getBoolean() 52 std::optional<double> Object::getNumber(StringRef K) const { in getNumber() [all …]
|
| /freebsd/bin/dd/ |
| H A D | dd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 106 while (files_cnt--) in main() 116 if (close(out.fd) == -1 && errno != EINTR) in main() 149 if (in.fd == -1) in setup() 156 if (caph_rights_limit(in.fd, &rights) == -1) in setup() 160 errx(1, "files is not supported for non-tape devices"); in setup() 171 if (oflags == -1) in setup() 174 if (fcntl(out.fd, F_SETFL, oflags) == -1) in setup() 193 if (out.fd == -1) { in setup() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | YAMLTraits.h | 1 //===- llvm/Support/YAMLTraits.h --------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 96 /// to/from a YAML scalar where there is a one-to-one mapping between 97 /// in-memory values and a string in YAML. For example: 128 /// Some non-printable characters need to be double-quoted, while some others 129 /// are fine with simple-quoting, and some don't need any quoting. 130 enum class QuotingType { None, Single, Double }; enumerator 290 /// return poly->getKind(); 321 static double test(...); [all …]
|
| /freebsd/contrib/libxo/encoder/csv/ |
| H A D | enc_csv.c | 12 * CSV encoder generates comma-separated value files for specific 18 * <total-blocks>4</total-blocks> 19 * <used-blocks>4</used-blocks> 20 * <available-blocks>0</available-blocks> 21 * <used-percent>100</used-percent> 22 * <mounted-on>/proc</mounted-on> 27 * #+name,total-blocks,used-blocks,available-blocks,used-percent,mounted-on 33 * buffering. 37 * - Fields containing a line-break, double-quote or commas should be 40 * - A (double) quote character in a field must be represented by two [all …]
|
| /freebsd/contrib/pam-krb5/tests/tap/ |
| H A D | basic.c | 13 * documentation is at <https://www.eyrie.org/~eagle/software/c-tap-harness/>. 16 * Copyright 2009-2019 Russ Allbery <eagle@eyrie.org> 17 * Copyright 2001-2002, 2004-2008, 2011-2014 38 * SPDX-License-Identifier: MIT 168 if (length >= UINT_MAX - strlen(string)) in concat() 211 size = file->bufsize > INT_MAX ? INT_MAX : (int) file->bufsize; in handle_diag_file_line() 212 if (fgets(file->buffer, size, file->file) == NULL) { in handle_diag_file_line() 213 if (ferror(file->file)) in handle_diag_file_line() 214 sysbail("cannot read from %s", file->name); in handle_diag_file_line() 222 length = strlen(file->buffer); in handle_diag_file_line() [all …]
|
| /freebsd/usr.bin/fmt/ |
| H A D | fmt.c | 13 * 1. Tabs are expanded, assuming 8-space tab stops. 14 * If the `-t <n>' option is given, we assume <n>-space 25 * If the `-p' option is given then the first line of a 28 * If the `-m' option is given then a line that looks 30 * preceded by a non-blank non-message-header line, is 32 * any subsequent lines with non-empty leading whitespace. 33 * Unless the `-n' option is given, lines beginning with 38 * space, or two spaces if it ends with a sentence-end 39 * character. (See the `-d' option for how to change that.) 40 * If the `-s' option has been given, then a word's trailing [all …]
|
| /freebsd/contrib/tcsh/ |
| H A D | sh.func.c | 4 /*- 41 static iconv_t catgets_iconv; /* Or (iconv_t)-1 */ 52 static int zlast = -1; 69 Char *cp = t->t_dcom[0]; in isbfunc() 88 if (t->t_dflg & F_AMPERSAND) { in isbfunc() 89 t->t_dflg &= ~F_AMPERSAND; in isbfunc() 101 * non-builtin command. -- JDK 2/4/88 in isbfunc() 114 bp = bp1 + ((bp2 - bp1) >> 1); in isbfunc() 115 if ((i = ((char) *cp) - *bp->bname) == 0 && in isbfunc() 116 (i = StrQcmp(cp, str2short(bp->bname))) == 0) in isbfunc() [all …]
|
| /freebsd/usr.bin/compress/ |
| H A D | zopen.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 38 /*- 39 * fcompress.c - File compression ala IEEE Computer, June 1984. 42 * Spencer W. Thomas (decvax!utah-cs!thomas) 75 /* A code_int must be able to hold 2**BITS values of type int, and also -1. */ 92 #define MAXCODE(n_bits) ((1 << (n_bits)) - 1) 109 * Block compression parameters -- after all codes are used up, 139 #define fp zs->zs_fp 140 #define zmode zs->zs_mode [all …]
|
| /freebsd/sys/dev/ath/ath_hal/ar5312/ |
| H A D | ar5312_reset.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 62 #define V(r, c) (ia)->data[((r)*(ia)->cols) + (c)] in write_common() 66 for (i = 0; i < ia->rows; i++) { in write_common() 110 HALASSERT(ah->ah_magic == AR5212_MAGIC); in ar5312Reset() 111 ee = AH_PRIVATE(ah)->ah_eeprom; in ar5312Reset() 121 __func__, chan->ic_freq, chan->ic_flags); in ar5312Reset() 136 HALASSERT(ahp->ah_eeversion >= AR_EEPROM_VER3); in ar5312Reset() [all …]
|
| /freebsd/contrib/less/ |
| H A D | NEWS | 16 * Add --cmd option (github #624). 20 * Change --incsearch so that after typing each character of the pattern, 32 * Fix bug using -g and -J (github #636). 34 * Fix bug when pasting a search pattern while --incsearch is active 47 in da2a9ecdf16beb642d0c030e35f0351c5f2e5a12 and released in less-673. 58 * Fix unexpected exit using -K if a key press is received while reading 65 * Treat -r in LESS environment variable as -R. 67 * Add ESC-j and ESC-k commands (github #560). 69 * Add --no-paste option (github #523). 71 * Add --no-edit-warn option (github #513). [all …]
|
| /freebsd/sys/dev/lge/ |
| H A D | if_lge.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 19 * 4. Neither the name of the author nor the names of any co-contributors 41 * The Level 1 chip is used on some D-Link, SMC and Addtron NICs. 42 * It's a 64-bit PCI part that supports TCP/IP checksum offload, 47 * of double buffer DMA where the packet data is copied to a 48 * pre-allocated DMA buffer who's physical address has been loaded 52 * for double buffering. This may be true in Windows NT and the like, 57 * Also, the VLAN tagging is done using a 16-entry table which allows 63 * - Jeff James at Intel, for arranging to have the LXT1001 manual [all …]
|
| /freebsd/share/doc/psd/02.implement/ |
| H A D | implement | 4 .\" Copyright (C) Caldera International Inc. 2001-2002. All rights reserved. 40 .EH 'PSD:2-%''UNIX Implementation' 41 .OH 'UNIX Implementation''PSD:2-%' 55 \&\\$3\s-1\\$1\\s0\&\\$2 69 .AU "MH 2C-523" 2394 75 This paper describes in high-level terms the 120 but have that way be the least-common divisor 125 It is a soap-box platform on 159 from a read-only text segment, 165 from shared-text segments. [all …]
|
| /freebsd/share/doc/psd/12.make/ |
| H A D | tutorial.ms | 33 .EH 'PSD:12-%''PMake \*- A Tutorial' 34 .OH 'PMake \*- A Tutorial''PSD:12-%' 36 .\" into a table-of-contents, properly indented, etc. If the first argument 56 .\" CW is used to place a string in fixed-width or switch to a 57 .\" fixed-width font. 64 .\" Anything I put in a display I want to be in fixed-width 76 .po -0.5i 84 \D's -1u'\D't 5u' 86 …50u'\D'l 71u 0u'\D'l 50u 50u'\D'l 0u 71u'\D'l -50u 50u'\D'l -71u 0u'\D'l -50u -50u'\D'l 0u -71u'\D… 91 \h'53u'\D'p 14 68u 0u 46u 46u 0u 68u -46u 46u -68u 0u -47u -46u 0u -68u 47u -46u' [all …]
|
| /freebsd/contrib/bmake/PSD.doc/ |
| H A D | tutorial.ms | 68 .EH 'PSD:12-%''PMake \*- A Tutorial' 69 .OH 'PMake \*- A Tutorial''PSD:12-%' 81 .\" into a table-of-contents, properly indented, etc. If the first argument 100 .\" CW is used to place a string in fixed-width or switch to a 101 .\" fixed-width font. 108 .\" Anything I put in a display I want to be in fixed-width 122 .po -\\n(g3u 129 .po -0.5i 144 \d\D'p -0.19i 0.0i 0.0i -0.13i 0.30i 0.0i 0.0i 0.13i' 151 \h'85u'\v'0.85n'\h-\w\\*(g9u/2u\&\\*(g9 [all …]
|