| /freebsd/contrib/ntp/sntp/libopts/ |
| H A D | ao-strs.c | 1 /* -*- buffer-read-only: t -*- vi: set ro: 3 * DO NOT EDIT THIS FILE (ao-strs.c) 5 * It has been AutoGen-ed 6 * From the definitions ao-strs.def 9 * Copyright (C) 2011-2018 Bruce Korb, all rights reserved. 39 #include "ao-strs.h" 42 /* 0 */ "-_^\0" 43 /* 4 */ " %s%s\n\0" 44 /* 12 */ "<?auto-options\0" 45 /* 27 */ "<?program\0" [all …]
|
| /freebsd/share/doc/papers/sysperf/ |
| H A D | appendix.ms | 9 'ds - \(mi 10 'ds / \\h'\\w' 'u-\\w'/'u'/ 11 'ds /* \\h'\\w' 'u-\\w'/'u'/* 14 'nr cm 0 23 \f2\s12\h'\\n(.lu-\w'\\*(=f'u'\\*(=f\fP\s0\h'|0u' 36 'if \\n(cm=1 'ft 2 45 'ds -K 47 'de -C 48 'nr cm 0 51 'ds -K \fP [all …]
|
| /freebsd/contrib/ofed/opensm/opensm/ |
| H A D | main.c | 2 * Copyright (c) 2004-2009 Voltaire, Inc. All rights reserved. 3 * Copyright (c) 2002-2011 Mellanox Technologies LTD. All rights reserved. 4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. 7 * Copyright (c) 2009-2011 ZIH, TU Dresden, Federal Republic of Germany. All rights reserved. 19 * - Redistributions of source code must retain the above 23 * - Redistributions in binary form must reproduce the above 67 volatile unsigned int osm_exit_flag = 0; 69 static volatile unsigned int osm_hup_flag = 0; 70 static volatile unsigned int osm_usr1_flag = 0; 74 #define INVALID_GUID (0xFFFFFFFFFFFFFFFFULL) [all …]
|
| H A D | osm_subnet.c | 2 * Copyright (c) 2004-2009 Voltaire, Inc. All rights reserved. 3 * Copyright (c) 2002-2011 Mellanox Technologies LTD. All rights reserved. 4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. 8 * Copyright (c) 2009-2015 ZIH, TU Dresden, Federal Republic of Germany. All rights reserved. 21 * - Redistributions of source code must retain the above 25 * - Redistributions in binary form must reproduce the above 86 #define ARR_SIZE(a) (sizeof(a)/sizeof((a)[0])) 200 for (i = 0; i < MOD_NAME_STR_UNKNOWN_VAL; i++) { in find_module_name() 201 if (strcmp(name, module_name_str[i]) == 0) { in find_module_name() 204 return 0; in find_module_name() [all …]
|
| /freebsd/crypto/heimdal/lib/wind/ |
| H A D | UnicodeData.txt | 1 0000;<control>;Cc;0;BN;;;;;N;NULL;;;; 2 0001;<control>;Cc;0;BN;;;;;N;START OF HEADING;;;; 3 0002;<control>;Cc;0;BN;;;;;N;START OF TEXT;;;; 4 0003;<control>;Cc;0;BN;;;;;N;END OF TEXT;;;; 5 0004;<control>;Cc;0;BN;;;;;N;END OF TRANSMISSION;;;; 6 0005;<control>;Cc;0;BN;;;;;N;ENQUIRY;;;; 7 0006;<control>;Cc;0;BN;;;;;N;ACKNOWLEDGE;;;; 8 0007;<control>;Cc;0;BN;;;;;N;BELL;;;; 9 0008;<control>;Cc;0;BN;;;;;N;BACKSPACE;;;; 10 0009;<control>;Cc;0;S;;;;;N;CHARACTER TABULATION;;;; [all …]
|
| /freebsd/crypto/krb5/src/lib/krb5/unicode/ |
| H A D | UnicodeData.txt | 1 0000;<control>;Cc;0;BN;;;;;N;NULL;;;; 2 0001;<control>;Cc;0;BN;;;;;N;START OF HEADING;;;; 3 0002;<control>;Cc;0;BN;;;;;N;START OF TEXT;;;; 4 0003;<control>;Cc;0;BN;;;;;N;END OF TEXT;;;; 5 0004;<control>;Cc;0;BN;;;;;N;END OF TRANSMISSION;;;; 6 0005;<control>;Cc;0;BN;;;;;N;ENQUIRY;;;; 7 0006;<control>;Cc;0;BN;;;;;N;ACKNOWLEDGE;;;; 8 0007;<control>;Cc;0;BN;;;;;N;BELL;;;; 9 0008;<control>;Cc;0;BN;;;;;N;BACKSPACE;;;; 10 0009;<control>;Cc;0;S;;;;;N;CHARACTER TABULATION;;;; [all …]
|
| /freebsd/cddl/contrib/opensolaris/cmd/plockstat/ |
| H A D | plockstat.c | 52 #define E_SUCCESS 0 58 * user-land, it's not invalid to release a sychonization primitive that 59 * another thread acquired; rwlocks require a thread-local associative array 65 "plockstat$target:::rw-acquire\n" 66 "{\n" 67 " self->rwhold[arg0] = timestamp;\n" 68 "}\n" 69 "plockstat$target:::mutex-acquire\n" 70 "/arg1 == 0/\n" 71 "{\n" [all …]
|
| /freebsd/share/doc/papers/timecounter/ |
| H A D | tmac.usenix | 10 .nr * 0 1 22 .vs \n(VS 37 .nr Ia 0 38 .nr Ic 0 51 . nr Ib \\n(Ia 68 .nr Ic -0.2i 72 'sp |10.4i-\\n(FUu 74 'sp |10.4i-\\n(FUu \" how many traps could there be? 76 'sp |10.4i-\\n(FUu 89 .wh 0 hh [all …]
|
| /freebsd/contrib/netbsd-tests/bin/sh/ |
| H A D | t_arith.sh | 31 # (number of bits in "long" is not specified - but should be at least 32). 33 # These tests use -o inline:"..." rather than -o match:'...' as we have 44 if ! ${TEST_SH} -c ': $(( 0x10000 ))' 2>/dev/null 49 test $( ${TEST_SH} -c 'echo $(( 0x1FFFF ))' ) = 131071 || return 60 # Tests do not use 0x8000... because that value can have weird 64 if ! ${TEST_SH} -c ': $(( 0xC0000000 ))' 2>/dev/null 71 -c 'case $(( 0xC0000000 )); in (-*) exit 0;; esac; exit 1' 76 if ${TEST_SH} -c '[ $(( 0xC0000000 )) != 3221225472 ]' 2>/dev/null 82 if ! ${TEST_SH} -c ': $(( 0xC000000000000000 ))' 2>/dev/null 88 -c 'case $(( 0xC000000000000000 )); in (-*) exit 0;; esac; exit 1' [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeFloatTypes.cpp | 1 //===-------- LegalizeFloatTypes.cpp - Legalization of float types --------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 19 //===----------------------------------------------------------------------===// 27 #define DEBUG_TYPE "legalize-types" 29 /// GetFPLibCall - Return the right libcall for the given floating point type. 47 //===----------------------------------------------------------------------===// 49 //===----------------------------------------------------------------------===// 51 void DAGTypeLegalizer::SoftenFloatResult(SDNode *N, unsigned ResNo) { in SoftenFloatResult() argument [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/ |
| H A D | exp2f_data.c | 4 * Copyright (c) 2017-2018, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 10 #define N (1 << EXP2F_TABLE_BITS) macro 13 /* tab[i] = uint(2^(i/N)) - (i << 52-BITS) 14 used for computing 2^(k/N) for an int |k| < 150 N as 15 double(tab[k%N] + (k << 52-BITS)) */ 17 #if N == 8 18 0x3ff0000000000000, 0x3fef72b83c7d517b, 0x3fef06fe0a31b715, 0x3feebfdad5362a27, 19 0x3feea09e667f3bcd, 0x3feeace5422aa0db, 0x3feee89f995ad3ad, 0x3fef5818dcfba487, 20 #elif N == 16 [all …]
|
| /freebsd/usr.sbin/bluetooth/hccontrol/ |
| H A D | link_control.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> 40 static void hci_inquiry_response (int n, uint8_t **b); 52 cp.lap[2] = 0x9e; in hci_inquiry() 53 cp.lap[1] = 0x8b; in hci_inquiry() 54 cp.lap[0] = 0x33; in hci_inquiry() 61 /* number of responses, range 0x00 - 0xff */ in hci_inquiry() 62 if (sscanf(argv[2], "%d", &n0) != 1 || n0 < 0 || n0 > 0xff) in hci_inquiry() 65 cp.num_responses = (n0 & 0xff); in hci_inquiry() [all …]
|
| H A D | host_controller_baseband.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> 44 if ('0' <= *a && *a <= '9') in hci_hexa2int4() 45 return (*a - '0'); in hci_hexa2int4() 48 return (*a - 'A' + 0xa); in hci_hexa2int4() 51 return (*a - 'a' + 0xa); in hci_hexa2int4() 53 return (-1); in hci_hexa2int4() 63 if (hi < 0 || lo < 0) in hci_hexa2int8() 64 return (-1); in hci_hexa2int8() [all …]
|
| /freebsd/sbin/ipf/ipf/ |
| H A D | ipfcomp.c | 14 int n; member 21 static int count = 0; 35 #define FRC_IFN 0 68 if (fr->fr_family == 6) in printc() 70 if ((fr->fr_type != FR_T_IPF) && (fr->fr_type != FR_T_NONE)) in printc() 72 if ((fr->fr_type == FR_T_IPF) && in printc() 73 ((fr->fr_datype != FRI_NORMAL) || (fr->fr_satype != FRI_NORMAL))) in printc() 81 if (count == 0) { in printc() 436 static mc_t *n = NULL; emitGroup() local 970 int i, n, rn; printCgroup() local [all...] |
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
| H A D | tst.index.d.out | 5 printf("perl => index(\"foobarbaz\", \"barbaz\") = %d\n", 7 printf(" D => index(\"foobarbaz\", \"barbaz\") = 3\n"); 12 printf("perl => rindex(\"foobarbaz\", \"barbaz\") = %d\n", 14 printf(" D => rindex(\"foobarbaz\", \"barbaz\") = 3\n"); 18 if (index("foofoofoo", "foo") != 0) { 19 printf("perl => index(\"foofoofoo\", \"foo\") = %d\n", 21 printf(" D => index(\"foofoofoo\", \"foo\") = 0\n"); 26 printf("perl => rindex(\"foofoofoo\", \"foo\") = %d\n", 28 printf(" D => rindex(\"foofoofoo\", \"foo\") = 6\n"); 33 printf("perl => index(\"boofoofoo\", \"foo\") = %d\n", [all …]
|
| /freebsd/sbin/growfs/ |
| H A D | debug.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 4 * Copyright (c) 2000 Christoph Herrmann, Thomas-Henning von Kamptz 9 * Christoph Herrmann and Thomas-Henning von Kamptz, Munich and Frankfurt. 23 * Herrmann and Thomas-Henning von Kamptz. 57 static unsigned int indent = 0; 70 if (strcmp(fn, "-") in dbg_open() [all...] |
| /freebsd/sbin/pfctl/ |
| H A D | pf.os | 3 # ------------------------- 7 # (C) Copyright 2000-2003 by Michal Zalewski <lcamtuf@coredump.cx> 34 # - Window size (WSS) - a highly OS dependent setting used for TCP/IP 53 # - Overall packet size - a function of all IP and TCP options and bugs. 57 # - Initial TTL - We check the actual TTL of a received packet. It can't 61 # NEW SIGNATURE: *Never* copy TTL from a p0f-reported signature literally. 70 # - Don't fragment flag (DF) - some modern OSes set this to implement PMTU 75 # - Maximum segment size (MSS) - this setting is usually link-dependent. P0f 84 # - Window scaling (WSCALE) - this feature is used to scale WSS. 92 # - Timestamp - some systems that implement timestamps set them to [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | xmss_fast.c | 34 * takes n byte sk_seed and returns n byte seed using 32 byte address addr. 36 static void get_seed(unsigned char *seed, const unsigned char *sk_seed, int n, uint32_t addr[8]) in get_seed() argument 39 // Make sure that chain addr, hash addr, and key bit are 0! in get_seed() 40 setChainADRS(addr,0); in get_seed() 41 setHashADRS(addr,0); in get_seed() 42 setKeyAndMask(addr,0); in get_seed() 45 prf(seed, bytes, sk_seed, n); in get_seed() 53 int xmss_set_params(xmss_params *params, int n, int h, int w, int k) in xmss_set_params() argument 55 if (k >= h || k < 2 || (h - k) % 2) { in xmss_set_params() 56 fprintf(stderr, "For BDS traversal, H - K must be even, with H > K >= 2!\n"); in xmss_set_params() [all …]
|
| /freebsd/contrib/bc/ |
| H A D | configure.sh | 3 # SPDX-License-Identifier: BSD-2-Clause 5 # Copyright (c) 2018-2025 Gavin D. Howard and contributors. 30 script="$0" 42 if [ $# -gt 0 ]; then 46 printf '%s\n\n' "$1" 49 _usage_val=0 52 printf 'usage:\n' 53 printf ' %s -h\n' "$script" 54 printf ' %s --help\n' "$script" 55 …printf ' %s [-a|-bD|-dB|-c] [-CeEfgGHilmMNPrtTvz] [-O OPT_LEVEL] [-k KARATSUBA_LEN]\\\n' "$scri… [all …]
|
| H A D | configure | 3 # SPDX-License-Identifier: BSD-2-Clause 5 # Copyright (c) 2018-2025 Gavin D. Howard and contributors. 30 script="$0" 42 if [ $# -gt 0 ]; then 46 printf '%s\n\n' " [all...] |
| /freebsd/sys/powerpc/include/ |
| H A D | atomic.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 46 * Note that not all Book-E processors accept the light-weight sync variant. 48 * 64-bit capable CPUs to accept lwsync properly and pressimize 32-bit CPUs 49 * to use the heavier-weight sync. 84 "1: lwarx %0, 0, %2\n" \ 85 " add %0, %3, %0\n" \ 86 " stwcx. %0, 0, %2\n" \ 87 " bne- 1b\n" \ 96 "1: ldarx %0, 0, %2\n" \ [all …]
|
| /freebsd/crypto/heimdal/lib/asn1/ |
| H A D | gen_encode.c | 2 * Copyright (c) 1997 - 2006 Kungliga Tekniska Högskolan 42 "e = der_put_%s(p, len, %s, &l);\n" in encode_primitive() 43 "if (e) return e;\np -= l; len -= l; ret += l;\n\n", in encode_primitive() 96 { -1, NULL } in valuename() 99 for(p = values; p->value != -1; p++) in valuename() 100 if(p->valu in valuename() 355 char *n = NULL; encode_type() local [all...] |
| /freebsd/contrib/ofed/infiniband-diags/src/ |
| H A D | ibsendtrap.c | 3 * Copyright (c) 2008-2009 Voltaire Inc. All rights reserved. 20 * - Redistributions of source code must retain the above 24 * - Redistributions in binary form must reproduce the above 60 uint8_t data[IB_SMP_DATA_SIZE] = { 0 }; in get_node_type() 62 if (smp_query_via(data, port, IB_ATTR_NODE_INFO, 0, 0, srcport)) in get_node_type() 63 node_type = (uint16_t) mad_get_field(data, 0, IB_NODE_TYPE_F); in get_node_type() 69 uint8_t data[IB_SMP_DATA_SIZE] = { 0 }; in get_cap_mask() 70 uint32_t cap_mask = 0; in get_cap_mask() 72 if (smp_query_via(data, port, IB_ATTR_PORT_INFO, 0, 0, srcport)) in get_cap_mask() 73 cap_mask = (uint32_t) mad_get_field(data, 0, IB_PORT_CAPMASK_F); in get_cap_mask() [all …]
|
| /freebsd/contrib/file/src/ |
| H A D | file_opts.h | 2 * Table of command-line options 4 * The first column specifies the short name, if any, or 0 if none. 12 * N.B. The long options' order must correspond to the code in file.c, 13 * and OPTSTRING must be kept up-to-date with the short options. 14 * Pay particular attention to the numbers of long-only options in the 18 OPT_LONGONLY("help", 0, 0, 19 " display this help and exit\n", OPT_HELP) 20 OPT('v', "version", 0, 0, 21 " output version information and exit\n") 22 OPT('m', "magic-file", 1, 0, [all …]
|
| /freebsd/sbin/nvmecontrol/ |
| H A D | identify_ext.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2012-2013 Intel Corporation 6 * Copyright (C) 2018-2019 Alexander Motin <mav@FreeBSD.org> 58 oncs = cdata->oncs; in nvme_print_controller() 63 oacs = cdata->oacs; in nvme_print_controller() 69 fw_num_slots = NVMEV(NVME_CTRLR_DATA_FRMW_NUM_SLOTS, cdata->frmw); in nvme_print_controller() 70 fw_slot1_ro = NVMEV(NVME_CTRLR_DATA_FRMW_SLOT1_RO, cdata->frmw); in nvme_print_controller() 71 fwug = cdata->fwug; in nvme_print_controller() 73 ns_smart = NVMEV(NVME_CTRLR_DATA_LPA_NS_SMART, cdata->lpa); in nvme_print_controller() [all …]
|