/freebsd/crypto/heimdal/lib/wind/ |
H A D | punycode.c | 6 * Redistribution and use in source and binary forms, with or without 13 * 2. Redistributions in binary form must reproduce the above copyright 65 while (delta > ((base - t_min) * t_max) / 2) { in adapt() 66 delta /= base - t_min; in adapt() 69 return k + (((base - t_min + 1) * delta) / (delta + skew)); in adapt() 73 * Convert an UCS4 string to a puny-coded DNS label string suitable 78 * @param out the resulting puny-coded string. The string is not NUL 120 memcpy(out, "xn--", 4); in wind_punycode_label_toascii() 125 m = (unsigned)-1; in wind_punycode_label_toascii() 130 delta += (m - n) * (h + 1); in wind_punycode_label_toascii() [all …]
|
/freebsd/lib/libc/locale/ |
H A D | gbk.5 | 4 .\" Redistribution and use in source and binary forms, with or without 9 .\" 2. Redistributions in binary form must reproduce the above copyright 35 GBK is a backwards-compatible extension of the GB\ 2312-1980 encoding 41 .No GB\ 11383-1981 Pq Tn ASCII 44 the range 0x80-0xFE and ending with a byte in the range 0x40-0xFE. 56 …National Standard GB 18030-2000: Information Technology -- Chinese ideograms coded character set f… 61 GB\ 18030-2000.
|
H A D | gb18030.5 | 4 .\" Redistribution and use in source and binary forms, with or without 9 .\" 2. Redistributions in binary form must reproduce the above copyright 37 encoding implements GB 18030-2000, a PRC national standard for the encoding of 39 It is a superset of the older GB\ 2312-1980 and GBK encodings, 49 .No GB\ 11383-1981 Pq Tn ASCII 54 0x81-0xFE and end with a byte either in the range 0x40-0x7E or 0x80-0xFE. 57 0x81-0xFE, have a second byte in the range 0x30-0x39, a third byte in the range 58 0x81-0xFE and a fourth byte in the range 0x30-0x39. 65 …National Standard GB 18030-2000: Information Technology -- Chinese ideograms coded character set f… 76 encoding is believed to be compatible with GB 18030-2000.
|
H A D | setlocale.3 | 7 .\" Redistribution and use in source and binary forms, with or without 12 .\" 2. Redistributions in binary form must reproduce the above copyright 57 .Bl -tag -width LC_MONETARY 73 alphabetic or non-alphabetic characters, 100 and coded character set in the absence of more specific locale 158 .Bl -tag -width /usr/share/locale/locale/category -compact 172 .Bd -literal 181 following manner before using any of the locale-specific information: 182 .Bd -literal 203 .St -isoC-99 .
|
H A D | localeconv.3 | 7 .\" Redistribution and use in source and binary forms, with or without 12 .\" 2. Redistributions in binary form must reproduce the above copyright 53 .Bd -literal -offset indent 83 .Bl -tag -width mon_decimal_point 123 in an international-style currency value. 146 coded as follows: 148 .Bl -tag -width 3n -compact 218 If a thread-local locale is in effect then the return value from 230 .St -isoC-99 .
|
/freebsd/lib/libc/xdr/ |
H A D | xdr.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 8 * Redistribution and use in source and binary forms, with or without 14 * * Redistributions in binary form must reproduce the above 39 * These are the "generic" xdr routines used to serialize and de-serialize 54 #include "un-namespace.h" 100 switch (xdrs->x_op) { in xdr_int() 128 switch (xdrs->x_op) { in xdr_u_int() 151 * same as xdr_u_long - open coded to save a proc call! 156 switch (xdrs->x_op) { in xdr_long() [all …]
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | snmp_hostres.3 | 2 .\" Copyright (C) 2005-2006 8 .\" Redistribution and use in source and binary forms, with or without 13 .\" 2. Redistributions in binary form must reproduce the above copyright 41 module implements the HOST-RESOURCES-MIB as standardized in RFC 2790. 45 .Bl -tag -width indent 70 Also the names of the disks are hard-coded in the module. 73 .Bl -tag -width indent 77 .It Pa /usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt 78 .It Pa /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt 79 .It Pa /usr/share/snmp/mibs/BEGEMOT-HOSTRES-MIB.txt [all …]
|
/freebsd/share/man/man4/ |
H A D | ds1307.4 | 5 .\" Redistribution and use in source and binary forms, with or without 10 .\" 2. Redistributions in binary form must reproduce the above copyright 30 .Nd 64 x 8, serial, i2c real-time clock (RTC) 38 serial real-time clock (RTC) is a low-power, full binary-coded decimal (BCD) 43 has a built-in power-sense circuit that detects power failures and 52 .Bd -literal 62 .Bl -tag -width ".Va dev.ds1307.%d.sqw_freq" 64 If set to 1, the SQW pin drives a square-wave of 70 Select the frequency of the SQW pin when the square-wave output is enabled on 89 .Bl -tag -width ".Va hint.ds1307.%d.addr" [all …]
|
H A D | fdt.4 | 7 .\" Redistribution and use in source and binary forms, with or without 12 .\" 2. Redistributions in binary form must reproduce the above copyright 48 Configuration data, which cannot be self discovered in run-time, has to be 52 The idea is inherited from Open Firmware IEEE 1275 device-tree notion, and has 55 .Bl -bullet 60 self-enumerating information is gathered. 64 into a binary object i.e. a flattened device tree 73 particular first-stage bootloader or firmware features. 83 embedded applications (eliminates hard-coded configuration approach, enforces 87 .Bl -tag -width Ar [all …]
|
H A D | nda.4 | 4 .\" Redistribution and use in source and binary forms, with or without 10 .\" 2. Redistributions in binary form must reproduce the above copyright 48 .Bl -tag -width 12 106 The following report per-device settings, and are read-only unless 111 .Bl -tag -width 12 115 Its value is hard coded to 0 indicating flash. 122 .Bl -tag -width 12 189 .Bl -tag -width ".Pa /dev/nda*" -compact
|
/freebsd/sys/contrib/device-tree/Bindings/usb/ |
H A D | generic.txt | 4 - maximum-speed: tells USB controllers we want to work up to a certain 5 speed. Valid arguments are "super-speed-plus", 6 "super-speed", "high-speed", "full-speed" and 7 "low-speed". In case this isn't passed via DT, USB 10 - dr_mode: tells Dual-Role USB controllers that we want to work on a 15 - phy_type: tells USB controllers that we want to configure the core to support 16 a UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is 20 - otg-rev: tells usb driver the release number of the OTG and EH supplement 22 in binary-coded decimal (i.e. 2.0 is 0200H). This 24 is enabled, if ADP is required, otg-rev should be [all …]
|
H A D | usb-drd.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-drd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 13 otg-rev: 16 which the device and its descriptors are compliant, in binary-coded 18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be 25 Tells Dual-Role USB controllers that we want to work on a particular 32 hnp-disable: [all …]
|
H A D | aspeed,usb-vhub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/aspeed,usb-vhub.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Benjamin Herrenschmidt <benh@kernel.crashing.org> 26 - aspeed,ast2400-usb-vhub 27 - aspeed,ast2500-usb-vhub 28 - aspeed,ast2600-usb-vhub 39 aspeed,vhub-downstream-ports: 46 aspeed,vhub-generic-endpoints: [all …]
|
/freebsd/tools/test/netfibs/ |
H A D | README | 3 exercising multi-IP FIBs. At this time only IPv6 test cases are provided. 22 interface in the same broadcast domain (be it cross-over or on a 24 group (BMWG) prefix. The prefix is hard coded into some tests. 26 reflector needs the reflect binary. Apart from that the scripts 40 unrelated to multi-FIB test leading to a panic(9). "delay" calls
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BCD.h | 1 //===- llvm/Support/BCD.h - Binary-Coded Decimal utility functions -*- C++ -*-// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 30 size_t RunLen = ByteLen - static_cast<unsigned>(IsSigned); 36 uint8_t DecodedByteValue = (Ptr[ByteLen - 1] >> 4) & 0x0f; 37 uint8_t Sign = Ptr[ByteLen - 1] & 0x0f; 40 Value *= -1;
|
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_z14/ |
H A D | extended.json | 5 "BriefDescription": "L1D Read-only Exclusive Writes", 6 …blicDescription": "A directory write to the Level-1 Data cache where the line was originally in a … 18 …data cache. Incremented by one for every TLB2 miss in progress for the Level-1 Data cache on this … 23 "BriefDescription": "DTLB2 One-Megabyte Page Writes", 24 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page… 29 "BriefDescription": "DTLB2 Two-Gigabyte Page Writes", 30 …"PublicDescription": "A translation entry for a two-gigabyte page was written into the Level-2 TLB" 36 …on": "A directory write to the Level-1 Data cache directory where the returned cache line was sour… 48 …tion cache. Incremented by one for every TLB2 miss in progress for the Level-1 Instruction cache i… 54 … "A directory write to the Level-1 Instruction cache directory where the returned cache line was s… [all …]
|
/freebsd/sys/cam/mmc/ |
H A D | mmc.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2014-2016 Ilya Bakulin. All rights reserved. 6 * Redistribution and use in source and binary forms, with or without 11 * 2. Redistributions in binary form must reproduce the above copyright 33 * Group. This Simplified Specification is provided on a non-confidential 36 * Association, SD Group, SD-3C LLC or other third parties. 42 * is provided "AS-IS" without any representations or warranties of any 43 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD 45 * right of the SD Group, SD-3C LLC, the SD Card Association or any third [all …]
|
/freebsd/lib/libcalendar/ |
H A D | calendar.3 | 4 .\" Redistribution and use in source and binary forms, with or without 9 .\" 2. Redistributions in binary form must reproduce the above copyright 179 .Bd -literal -offset indent 180 int y; /\(** year (0000 - ????) \(**/ 181 int m; /\(** month (1 - 12) \(**/ 182 int d; /\(** day of month (1 - 31) \(**/ 201 The library was coded with great care so there are no bugs left.
|
/freebsd/sys/isa/ |
H A D | rtc.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 10 * Redistribution and use in source and binary forms, with or without 15 * 2. Redistributions in binary form must reproduce the above copyright 74 #define RTCSB_BCD 0x04 /* 0 = BCD, 1 = Binary coded time */ 76 #define RTCSB_UINTR 0x10 /* 1 = enable update-ended interrupt */ 90 #define RTC_DIAG 0x0e /* status register E - bios diagnostic */ 93 #define RTC_RESET 0x0f /* status register F - reset code byte */
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | prng.c | 2 A C-program for MT19937, with initialization improved 2002/1/26. 3 Coded by Takuji Nishimura and Makoto Matsumoto. 5 Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, 8 Redistribution and use in source and binary forms, with or without 15 2. Redistributions in binary form must reproduce the above copyright 37 http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html 38 email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space) 53 #define UPPER_MASK 0x80000000UL /* most significant w-r bits */ 66 (1812433253UL * (mt[mti-1] ^ (mt[mti-1] >> 30)) + in init_genrand() 78 /* generates a random number on [0,0xffffffff]-interval */ [all …]
|
/freebsd/contrib/opencsd/decoder/include/opencsd/stm/ |
H A D | trc_pkt_types_stm.h | 9 * Redistribution and use in source and binary forms, with or without modification, 15 * 2. Redistributions in binary form must reproduce the above copyright notice, 63 …STM_PKT_GERR, /**< Global error packet - protocol error but unknown which master had error */ 64 …STM_PKT_MERR, /**< Master error packet - current master detected an error (e.g. dropped trac… 80 STM_PKT_RESERVED, /**< Reserved packet header / not supported by CS-STM */ 86 CS-STM supports Natural binary and grey encodings. 91 STM_TS_NATBINARY, /**< TS encoding natural binary */ 92 STM_TS_GREY /**< TS encoding grey coded. */ 107 …uint64_t timestamp; /**< latest timestamp value -> as binary - packet processor does g… 117 …t D16; /**< payload for D16 data packet, or reserved opcode in bad packet header (1-3 nibbles) */ [all …]
|
/freebsd/share/man/man7/ |
H A D | ascii.7 | 4 .\" Redistribution and use in source and binary forms, with or without 9 .\" 2. Redistributions in binary form must reproduce the above copyright 33 .Nd octal, hexadecimal, decimal and binary 40 .Bd -literal -offset left 46 050 ( 051 ) 052 * 053 + 054 , 055 - 056 . 057 / 62 .Bd -literal -offset left 68 28 ( 29 ) 2a * 2b + 2c , 2d - 2e . 2f / 84 .Bd -literal -offset left 90 40 ( 41 ) 42 * 43 + 44 , 45 - 46 . 47 / 104 .Nm binary [all …]
|
/freebsd/lib/msun/bsdsrc/ |
H A D | b_exp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 7 * Redistribution and use in source and binary forms, with or without 12 * 2. Redistributions in binary form must reproduce the above copyright 35 * CODED IN C BY K.C. NG, 1/19/85; 51 * exp(r) = 1 + r + r*R1/(2-R1), 53 * R1 = x - x^2*(p1+x^2*(p2+x^2*(p3+x^2*(p4+p5*x^2)))). 59 * exp(-INF)= 0; 68 p1 = 1.6666666666666660e-01, /* 0x3fc55555, 0x55555553 */ 69 p2 = -2.7777777777564776e-03, /* 0xbf66c16c, 0x16c0ac3c */ [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | addrtostr.c | 6 * Redistribution and use in source and binary forms, with or without 13 * 2. Redistributions in binary form must reproduce the above copyright 41 #include "netdissect-stdinc.h" 94 * Convert IPv6 binary address into presentation (printable) format. 103 * Keep this in mind if you think this function should have been coded in addrtostr6() 125 best.base = -1; in addrtostr6() 127 cur.base = -1; in addrtostr6() 130 if (cur.base == -1) in addrtostr6() 133 } else if (cur.base != -1) { in addrtostr6() 134 if (best.base == -1 || cur.len > best.len) in addrtostr6() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_fattime.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2006 Poul-Henning Kamp 7 * Redistribution and use in source and binary forms, with or without 12 * 2. Redistributions in binary form must reproduce the above copyright 28 * Convert MS-DOS FAT format timestamps to and from unix timespecs 33 * yyyyyyymmmmddddd (year - 198 103 uint16_t coded; /* encoded year + month information */ global() member [all...] |