/freebsd/crypto/openssl/util/ |
H A D | indent.pro | 1 -bap 2 -bbo 3 -br 4 -brs 5 -c33 6 -cd33 7 -ce 8 -ci4 9 -cli0 10 -cp33 [all …]
|
/freebsd/bin/test/tests/ |
H A D | legacy_test.sh | 3 #- 29 # TEST.sh - check if test(1) or builtin test works 35 t () function 37 # $1 -> exit code 38 # $2 -> $test expression 44 if test -n "$syntax"; then 45 printf "not ok %s - (syntax error)\n" "$count $2" 47 printf "not ok %s - (got $ret, expected $1)\n" "$count $2" 56 t 0 'b = b' 57 t 0 'b == b' [all …]
|
/freebsd/sys/teken/ |
H A D | teken_subr.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008-2009 Ed Schouten <ed@FreeBSD.org> 36 teken_tab_isset(const teken_t *t, unsigned int col) in teken_tab_isset() argument 46 return (t->t_tabstops[b] & (1U << o)); in teken_tab_isset() 50 teken_tab_clear(teken_t *t, unsigned int col) in teken_tab_clear() argument 60 t->t_tabstops[b] &= ~(1U << o); in teken_tab_clear() 64 teken_tab_set(teken_t *t, unsigned int col) in teken_tab_set() argument 74 t->t_tabstops[b] |= 1U << o; in teken_tab_set() 78 teken_tab_default(teken_t *t) in teken_tab_default() argument [all …]
|
H A D | teken.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008-2009 Ed Schouten <ed@FreeBSD.org> 60 #define TS_8BIT 0x0020 /* UTF-8 disabled. */ 80 teken_funcs_bell(const teken_t *t) in teken_funcs_bell() argument 83 teken_assert(t->t_funcs->tf_bell != NULL); in teken_funcs_bell() 84 t->t_funcs->tf_bell(t->t_softc); in teken_funcs_bell() 88 teken_funcs_cursor(const teken_t *t) in teken_funcs_cursor() argument 91 teken_assert(t->t_cursor.tp_row < t->t_winsize.tp_row); in teken_funcs_cursor() 92 teken_assert(t->t_cursor.tp_col < t->t_winsize.tp_col); in teken_funcs_cursor() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | throughput.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 46 throughput_init(struct pppThroughput *t, int period) in throughput_init() argument 48 t->OctetsIn = t->OctetsOut = t->PacketsIn = t->PacketsOut = 0; in throughput_init() 49 t->SamplePeriod = period; in throughput_init() 50 t->in.SampleOctets = (long long *) in throughput_init() 51 calloc(period, sizeof *t->in.SampleOctets); in throughput_init() 52 t->in.OctetsPerSecond = 0; in throughput_init() 53 t->out.SampleOctets = (long long *) in throughput_init() 54 calloc(period, sizeof *t->out.SampleOctets); in throughput_init() [all …]
|
/freebsd/contrib/expat/doc/ |
H A D | xmlwf.1 | 1 '\" -*- coding: us-ascii -*- 10 xmlwf \- Determines if an XML document is well-formed 19 'in \n(.iu-\nxu 28 \fB-h\fR | \fB--help\fR 29 'in \n(.iu-\nxu 38 \fB-v\fR | \fB--version\fR 39 'in \n(.iu-\nxu 44 determine if an XML document is well-formed. It is 45 non-validating. 47 If you do not specify any files on the command-line, and you [all …]
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | devinfo.c | 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 51 return !(gid->raw[8] | gid->raw[9] | gid->raw[10] | gid->raw[11] | in null_gid() 52 gid->raw[12] | gid->raw[13] | gid->raw[14] | gid->raw[15]); in null_gid() 178 …printf("\t\t\tGID[%3d]:\t\t%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x… in print_all_port_gids() 233 printf("\t\t\t\t\tRESIZE_MAX_WR\n"); in print_device_cap_flags() 235 printf("\t\t\t\t\tBAD_PKEY_CNTR\n"); in print_device_cap_flags() 237 printf("\t\t\t\t\tBAD_QKEY_CNTR\n"); in print_device_cap_flags() 239 printf("\t\t\t\t\tRAW_MULTI\n"); in print_device_cap_flags() 241 printf("\t\t\t\t\tAUTO_PATH_MIG\n"); in print_device_cap_flags() [all …]
|
/freebsd/contrib/libfido2/tools/ |
H A D | test.sh | 1 #!/bin/sh -ex 3 # Copyright (c) 2021-2022 Yubico AB. All rights reserved. 4 # Use of this source code is governed by a BSD-style 6 # SPDX-License-Identifier: BSD-2-Clause 8 # usage: ./test.sh "$(mktemp -d fido2test-XXXXXXXX)" device 11 # - is incomplete; 12 # - assumes CTAP 2.1-like hmac-secret; 13 # - should pass as-is on a YubiKey with a PIN set; 14 # - may otherwise require set +e above; 15 # - can be executed with UV=1 to run additional UV tests; [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | atomic | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 //===----------------------------------------------------------------------===// 31 consume, // load-consume 32 acquire, // load-acquire 33 release, // store-release 34 acq_rel, // store-release load-acquire 35 seq_cst // store-release load-acquire 45 template <class T> T kill_dependency(T y) noexcept; [all …]
|
H A D | type_traits | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 //===----------------------------------------------------------------------===// 20 template <class T, T v> struct integral_constant; 30 template <bool, class T = void> struct enable_if; 31 template <bool, class T, class F> struct conditional; 34 template <class T> struct is_void; 35 template <class T> struct is_null_pointer; // C++14 36 template <class T> struct is_integral; [all …]
|
H A D | functional | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 //===----------------------------------------------------------------------===// 34 template <class T> 41 typedef T type; 47 constexpr reference_wrapper(const reference_wrapper<T>& x) noexcept; // constexpr since C++20 51 operator=(const reference_wrapper<T>& x) noexcept; // constexpr since C++20 54 constexpr operator T& () const noexcept; // constexpr since C++20 55 constexpr T& get() const noexcept; // constexpr since C++20 [all …]
|
H A D | memory | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 //===----------------------------------------------------------------------===// 13 // clang-format off 24 template <class T, class Alloc> struct uses_allocator; 38 template <class T> 39 struct pointer_traits<T*> 41 typedef T* pointer; 42 typedef T element_type; [all …]
|
H A D | numbers | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 //===----------------------------------------------------------------------===// 17 template<class T> inline constexpr T e_v = unspecified; 18 template<class T> inline constexpr T log2e_v = unspecified; 19 template<class T> inline constexpr T log10e_v = unspecified; 20 template<class T> inline constexpr T pi_v = unspecified; 21 template<class T> inline constexpr T inv_pi_v = unspecified; 22 template<class T> inline constexpr T inv_sqrtpi_v = unspecified; [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_helper.c | 2 * Copyright (c) 2004-2009 Voltaire, Inc. All rights reserved. 3 * Copyright (c) 2002-2015 Mellanox Technologies LTD. All rights reserved. 4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. 18 * - Redistributions of source code must retain the above 22 * - Redistributions in binary form must reproduce the above 63 /* we use two tables - one for queries and one for responses */ 90 #define OSM_SA_METHOD_STR_UNKNOWN_VAL (ARR_SIZE(ib_sa_method_str) - 1) 154 #define OSM_SM_METHOD_STR_UNKNOWN_VAL (ARR_SIZE(ib_sm_method_str) - 1) 190 "UNKNOWN" /* 21 - always highest value */ 193 #define OSM_SM_ATTR_STR_UNKNOWN_VAL (ARR_SIZE(ib_sm_attr_str) - 1) [all …]
|
H A D | osm_torus.c | 3 * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains 5 * Copyright (c) 2009-2011 ZIH, TU Dresden, Federal Republic of Germany. All rights reserved. 6 * Copyright (c) 2010-2012 Mellanox Technologies LTD. All rights reserved. 18 * - Redistributions of source code must retain the above 22 * - Redistributions in binary form must reproduce the above 70 * UNKNOWN - Uninitialized endpoint. 71 * SRCSINK - generates or consumes traffic, and thus has an associated LID; 73 * PASSTHRU - Has no associated LID; i.e. a switch port. 75 * If it is possible to communicate in-band with a switch, it will require 92 * ==> This endpoint is the switch port used for in-band communication [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_posix.c | 1 /*- 2 * Copyright (c) 2003-2009 Tim Kientzle 3 * Copyright (c) 2010-2012 Michihiro NAKAJIMA 28 /* This is the tree-walking code for POSIX systems. */ 58 * As the include guards don't agree, the order of include is important. 111 #define dirfd(x) ((x)->__dd_fd) 115 /*- 116 * This is a new directory-walking system that addresses a number 118 * pathname-length limits (other than the size of 'int'), handles 124 * Non-directories are not kept in memory: they are pulled from [all …]
|
/freebsd/usr.sbin/pw/ |
H A D | pw.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 104 static int mode = -1; 105 static int which = -1; 123 conf.fd = -1; in main() 133 if (*argv[1] == '-') { in main() 135 * Special case, allow pw - in main() [all...] |
/freebsd/contrib/arm-optimized-routines/math/test/ |
H A D | runulp.sh | 5 # Copyright (c) 2019-2023, Arm Limited. 6 # SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 8 #set -x 9 set -eu 16 flags="${ULPFLAGS:--q}" 22 t() { function 24 $emu ./ulp -r $r -e $Lt $flags "$@" && PASS=$((PASS+1)) || FAIL=$((FAIL+1)) 28 $emu ./ulp -f -q "$@" >/dev/null 35 t exp 0 0xffff000000000000 10000 36 t exp 0x1p-6 0x1p6 40000 [all …]
|
/freebsd/bin/date/ |
H A D | vary.c | 1 /*- 44 { -1, NULL } 50 { -1, NULL } 57 domktime(struct tm *t, char type) in domktime() argument 61 while ((ret = mktime(t)) == -1 && t->tm_year > 68 && t->tm_year < 138) in domktime() 63 adjhour(t, type == '-' ? type : '+', 1, 0); in domktime() 69 trans(const struct trans t[], const char *arg) in trans() argument 73 for (f = 0; t[f].val != -1; f++) in trans() 74 if (!strncasecmp(t[f].str, arg, 3) || in trans() 75 !strncasecmp(t[f].str, arg, strlen(t[f].str))) in trans() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | CustomizableOptional.h | 1 //===- CustomizableOptional.h - Optional with custom storage ----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 28 template <typename T> class CustomizableOptional { 29 optional_detail::OptionalStorage<T> Storage; 32 using value_type = T; 37 constexpr CustomizableOptional(const T &y) : Storage(std::in_place, y) {} in CustomizableOptional() 40 constexpr CustomizableOptional(T &&y) in CustomizableOptional() 48 // Allow conversion from std::optional<T>. 49 constexpr CustomizableOptional(const std::optional<T> &y) in CustomizableOptional() [all …]
|
/freebsd/contrib/atf/atf-c++/detail/ |
H A D | auto_array.hpp | 33 // ------------------------------------------------------------------------ 35 // ------------------------------------------------------------------------ 37 template< class T > 39 T* m_ptr; 41 explicit auto_array_ref(T*); 44 template< class T > 45 auto_array_ref< T >::auto_array_ref(T* ptr) : in auto_array_ref() 50 template< class T > 52 T* m_ptr; 55 auto_array(T* = NULL) throw(); [all …]
|
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/ |
H A D | SIGNATURE | 7 % cpansign -v 14 -----BEGIN PGP SIGNED MESSAGE----- 27 SHA1 8efad25309730a4d501fb40fc03eda4697303372 t/author-pod-syntax.t 28 SHA1 19cc343f8a85c6805bbeb02580487483a6283887 t/author-signature.t 29 SHA1 ae085010c9f08576ef8584f224e38e6a98c1c178 t/basic.t 30 SHA1 006feb1a0b1e5780db52aa79bd38933664a8339a t/broken.t 31 SHA1 dee8cef1fcd43ce5de462018f8539d4a0fbc460f t/delimiters.t 32 SHA1 304955c4280159ec3a4c0f2717dcff9c887bb487 t/error.t 33 SHA1 c862dfc08e00e76b3f2aee953583d3cc8e5524a2 t/exported.t 34 SHA1 50ef92bda3b6b5cbd5a9307e6f17ce49ee8f245c t/hash.t [all …]
|
/freebsd/contrib/nvi/common/ |
H A D | encoding.c | 1 /*- 16 #define T 1 /* character appears in plain ASCII text */ macro 17 #define I 2 /* character appears in ISO-8859 text */ 18 #define X 3 /* character appears in non-ISO extended ASCII (Mac, IBM PC) */ 22 F, F, F, F, F, F, F, T, T, T, T, F, T, T, F, F, /* 0x0X */ 24 F, F, F, F, F, F, F, F, F, F, F, T, F, F, F, F, /* 0x1X */ 25 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x2X */ 26 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x3X */ 27 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x4X */ 28 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x5X */ [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ArrayRef.h | 1 //===- ArrayRef.h - Array Reference Wrapper ---------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 27 template<typename T> class [[nodiscard]] MutableArrayRef; 29 /// ArrayRef - Represent a constant reference to an array (0 or more elements 40 template<typename T> 43 using value_type = T; 57 const T *Data = nullptr; 73 /*implicit*/ ArrayRef(const T &OneElt) in ArrayRef() 77 constexpr /*implicit*/ ArrayRef(const T *data, size_t length) in ArrayRef() [all …]
|
/freebsd/lib/libc/db/recno/ |
H A D | rec_get.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 45 * __REC_GET -- Get a record from the btree. 59 BTREE *t; in __rec_get() local 64 t = dbp->internal; in __rec_get() 67 if (t->bt_pinned != NULL) { in __rec_get() 68 mpool_put(t->bt_mp, t->bt_pinned, 0); in __rec_get() 69 t->bt_pinned = NULL; in __rec_get() 72 /* Get currently doesn't take any flags, and keys of 0 are illegal. */ in __rec_get() 73 if (flags || (nrec = *(recno_t *)key->data) == 0) { in __rec_get() [all …]
|