/freebsd/contrib/ncurses/ |
H A D | MANIFEST | 11 ./Ada95/gen/adacurses-config.in 16 ./Ada95/gen/terminal_interface-curses-aux.ads.m4 17 ./Ada95/gen/terminal_interface-curses-forms-field_types.ads.m4 18 ./Ada95/gen/terminal_interface-curses-forms-field_user_data.ads.m4 19 ./Ada95/gen/terminal_interface-curses-forms-form_user_data.ads.m4 20 ./Ada95/gen/terminal_interface-curses-forms.ads.m4 21 ./Ada95/gen/terminal_interface-curses-menus-item_user_data.ads.m4 22 ./Ada95/gen/terminal_interface-curses-menus-menu_user_data.ads.m4 23 ./Ada95/gen/terminal_interface-curses-menus.ads.m4 24 ./Ada95/gen/terminal_interface-curses-mouse.ads.m4 [all …]
|
/freebsd/contrib/ntp/kernel/sys/ |
H A D | pcl720.h | 23 #define pcl720_data(base,bit) (base+(bit>>3)) argument 24 #define pcl720_data_0_7(base) (base+0) argument 25 #define pcl720_data_8_15(base) (base+1) argument 26 #define pcl720_data_16_23(base) (base+2) argument 27 #define pcl720_data_24_31(base) (base+3) argument 28 #define pcl720_cntr(base,cntr) (base+4+cntr) /* cntr: 0..2 */ argument 29 #define pcl720_cntr_0(base) (base+4) argument 30 #define pcl720_cntr_1(base) (base+5) argument 31 #define pcl720_cntr_2(base) (base+6) argument 32 #define pcl720_ctrl(base) (base+7) argument [all …]
|
/freebsd/tools/tools/ath/athaggrstats/ |
H A D | athaggrstats.c | 1 /*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 101 { 3, "p10", "p10", "" }, 103 { 3, "p11", "p11", "" }, 105 { 3, "p12", "p12", "" }, 107 { 3, "p13", "p13", "" }, 109 { 3, "p14", "p14", "" }, 111 { 3, "p15", "p15", "" }, 113 { 3, "p16", "p16", "" }, 115 { 3, "p17", "p17", "" }, [all …]
|
/freebsd/usr.bin/hexdump/ |
H A D | odsyntax.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 15 * 3. Neither the name of the University nor the names of its contributors 63 /* Add initial (default) address format. -A may change it later. */ in oldsyntax() 70 while ((ch = getopt(argc, argv, "A:aBbcDdeFfHhIij:LlN:Oost:vXx")) != -1) in oldsyntax() 74 case 'd': case 'o': case 'x': in oldsyntax() 75 fshead->nextfu->fmt[TYPE_OFFSET] = *optarg; in oldsyntax() 76 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] = in oldsyntax() 80 fshead->nextfu->fmt = empty; in oldsyntax() 81 fshead->nextfs->nextfu->fmt = padding; in oldsyntax() [all …]
|
/freebsd/sys/dev/mii/ |
H A D | mii.h | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 66 #define BMCR_SPEED(x) ((x) & (BMCR_SPEED0|BMCR_SPEED1)) argument 69 #define BMSR_100T4 0x8000 /* 100 base T4 capable */ 70 #define BMSR_100TXFDX 0x4000 /* 100 base Tx full duplex capable */ 71 #define BMSR_100TXHDX 0x2000 /* 100 base Tx half duplex capable */ 72 #define BMSR_10TFDX 0x1000 /* 10 base T full duplex capable */ 73 #define BMSR_10THDX 0x0800 /* 10 base T half duplex capable */ 74 #define BMSR_100T2FDX 0x0400 /* 100 base T2 full duplex capable */ 75 #define BMSR_100T2HDX 0x0200 /* 100 base T2 half duplex capable */ [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/Serialization/ |
H A D | APISetVisitor.h | 1 //===- ExtractAPI/Serialization/APISetVisitor.h ----------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 22 // A helper macro to implement short-circuiting when recursing. It 28 if (!getDerived()->CALL_EXPR) \ 32 /// The base interface of visitors for API information, the interface and usage 38 /// 3. given a (record, class) combination where 'class' is some base class of 39 /// the dynamic type of 'record', call a user-overridable function to actually 43 /// 1. traverseRecord(APIRecord *x) does task #1, it is the entry point for [all …]
|
/freebsd/sys/arm/mv/ |
H A D | mv_common.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (C) 2008-2011 MARVELL INTERNATIONAL LTD. 17 * 3. Neither the name of MARVELL nor the names of contributors 121 static void decode_win_eth_dump(u_long base); 122 static void decode_win_neta_dump(u_long base); 123 static void decode_win_idma_dump(u_long base); 124 static void decode_win_xor_dump(u_long base); 125 static void decode_win_ahci_dump(u_long base); 212 { "marvell,armada-370-neta", &decode_win_neta_setup, [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | fsl-ls1028a-qds-7777.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2019-2021 NXP 8 * Requires a SCH-30841 card without lane A/C rewire and with a FW with muxing 12 /dts-v1/; 16 #address-cells = <1>; 17 #size-cells = <0>; 20 slot1_sxgmii0: ethernet-phy@0 { 22 compatible = "ethernet-phy-ieee802.3-c45"; 25 slot1_sxgmii1: ethernet-phy@1 { 27 compatible = "ethernet-phy-ieee802.3-c45"; [all …]
|
H A D | fsl-ls1028a-qds-7777.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2019-2021 NXP 8 * Requires a SCH-30841 card without lane A/C rewire and with a FW with muxing 12 /dts-v1/; 16 #address-cells = <1>; 17 #size-cells = <0>; 20 slot1_sxgmii0: ethernet-phy@0 { 22 compatible = "ethernet-phy-ieee802.3-c45"; 25 slot1_sxgmii1: ethernet-phy@1 { 27 compatible = "ethernet-phy-ieee802.3-c45"; [all …]
|
/freebsd/tools/tools/mwl/mwlstats/ |
H A D | mwlstats.c | 1 /*- 227 #define S_ANT_TX2 (S_RX_SIGNAL+3) 230 { 8, "tx3", "ant3(tx)", "frames tx on antenna 3" }, 235 #define S_ANT_RX2 (S_ANT_TX3+3) 238 { 8, "rx3", "ant3(rx)", "frames rx on antenna 3" }, 240 /* NB: this intentionally avoids per-antenna stats */ 244 struct mwlstatfoo base; member 256 strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name)); in mwl_setifname() 262 wf->if in mwl_collect() 306 STAT(x) mwl_get_curstat() argument 308 HWSTAT(x) mwl_get_curstat() argument 310 RXANT(x) mwl_get_curstat() argument 312 TXANT(x) mwl_get_curstat() argument 412 STAT(x) mwl_get_totstat() argument 414 HWSTAT(x) mwl_get_totstat() argument 416 TXANT(x) mwl_get_totstat() argument 418 RXANT(x) mwl_get_totstat() argument [all...] |
/freebsd/sbin/ipf/libipf/ |
H A D | inet_addr.c | 4 * - 16 * 3. All advertising materials mentioning features or use of this software 35 * - 53 * - 54 * --Copyright-- 64 # define __P(x) x argument 69 * Because the ctype(3) posix definition, if used "safely" in code everywhere, 72 #define ISALNUM(x) isalnum((u_char)(x)) argument 73 #define ISALPHA(x) isalpha((u_char)(x)) argument 74 #define ISASCII(x) isascii((u_char)(x)) argument [all …]
|
/freebsd/contrib/byacc/test/ |
H A D | calc2.y | 1 %parse-param { int regs[26] } 2 %parse-param { int *base } 4 %lex-param { int *base } 11 #define YYLEX_PARAM base 13 #define YYERROR_DECL() yyerror(int regs[26], int *base, const char *s) 26 %left '+' '-' 41 { regs[$1] = $3; } 47 { $$ = $1 + $3; } 48 | expr '-' expr 49 { $$ = $1 - $3; } [all …]
|
H A D | calc3.y | 1 %pure-parser 3 %parse-param { int regs[26] } 4 %parse-param { int *base } 6 %lex-param { int *base } 14 #define YYLEX_PARAM base 16 #define YYERROR_DECL() yyerror(int regs[26], int *base, const char *s) 29 %left '+' '-' 44 { regs[$1] = $3; } 50 { $$ = $1 + $3; } 51 | expr '-' expr [all …]
|
H A D | err_syntax27.y | 1 %pure-parser 3 %parse-param { int regs[26] 4 %parse-param { int *base 6 %lex-param { int *base 14 #define YYLEX_PARAM base 16 #define YYERROR_DECL() yyerror(int regs[26], int *base, const char *s) 29 %left '+' '-' 44 { regs[$1] = $3; } 50 { $$ = $1 + $3; } 51 | expr '-' expr [all …]
|
/freebsd/contrib/jemalloc/src/ |
H A D | malloc_io.c | 54 /* Function prototypes for non-inline static functions. */ 57 #define U2S_BUFSIZE ((1U << (LG_SIZEOF_INTMAX_T + 3)) + 1) 58 static char *u2s(uintmax_t x, unsigned base, bool uppercase, char *s, 61 static char *d2s(intmax_t x, char sign, char *s, size_t *slen_p); 63 static char *o2s(uintmax_t x, bool alt_form, char *s, size_t *slen_p); 65 static char *x2s(uintmax_t x, bool alt_form, bool uppercase, char *s, 106 * glibc provides a non-standard strerror_r() when _GNU_SOURCE is defined, so 119 buf[buflen-1] = '\0'; in buferror() 128 malloc_strtoumax(const char *restrict nptr, char **restrict endptr, int base) { in malloc_strtoumax() argument 135 if (base < 0 || base == 1 || base > 36) { in malloc_strtoumax() [all …]
|
/freebsd/bin/pkill/tests/ |
H A D | pgrep-j_test.sh | 6 jls -j "$check_name" -s | tr ' ' '\n' | grep jid= | sed -e 's/.*=//g' 9 base=pgrep_j_test 11 if [ "$(id -u)" -ne 0 ]; then 19 ln -sf /bin/sleep $sleep 21 name="pgrep -j <jid>" 23 jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \ 24 command=daemon -p ${PWD}/${base}_1_1.pid $sleep $sleep_amount & 26 jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \ 27 command=daemon -p ${PWD}/${base}_1_2.pid $sleep $sleep_amount & 31 jid1=$(jail_name_to_jid ${base}_1_1) [all …]
|
/freebsd/lib/msun/man/ |
H A D | math.3 | 12 .\" 3. Neither the name of the University nor the names of its contributors 33 .Nd "floating-point mathematical library" 40 .Bl -column "<complex.h>" "polymorphic (type-generic) versions of functions" -compact -offset indent 49 .Xr complex 3 , 50 .Xr tgmath 3 , 52 .Xr fenv 3 72 .Fn acos "double x" 75 .Fn acosf "float x" 78 .Fn acosl "long double x" , 86 .Bl -column "isgreaterequal" "bessel function of the second kind of the order 0" [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/vf/ |
H A D | vf610-zii-scu4-aib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2016-2018 Zodiac Inflight Innovations 5 /dts-v1/; 10 compatible = "zii,vf610scu4-aib", "zii,vf610dev", "fsl,vf610"; 13 stdout-path = &uart0; 21 gpio-leds { 22 compatible = "gpio-leds"; 23 pinctrl- [all...] |
/freebsd/lib/libc/stdlib/ |
H A D | bsearch.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 15 * 3. Neither the name of the University nor the names of its contributors 37 #define COMPAR(x,y) CALL_BLOCK(compar, x, y) argument 40 #define COMPAR(x,y) compar(x, y) argument 52 * the base up one item past p: e.g., when lim is 5 we change base 53 * to item 3 and make lim 2 so that we will look at items 3 and 4. 56 * have to make lim 3, then halve, obtaining 1, so that we will only 57 * look at item 3. 69 const char *base = base0; in bsearch_b() local [all …]
|
H A D | strtoll.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 20 * 3. Neither the name of the University nor the names of its contributors 50 strtoll_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoll_l() argument 61 * Skip white space and pick up leading +/- sign if any. in strtoll_l() 62 * If base is 0, allow 0b for binary, 0x for hex, and 0 for in strtoll_l() 63 * octal, else assume decimal; if base is already 2, allow in strtoll_l() 64 * 0b; if base is already 16, allow 0x. in strtoll_l() 70 if (c == '-') { in strtoll_l() 78 if ((base == 0 || base == 16) && in strtoll_l() [all …]
|
H A D | strtoimax.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 20 * 3. Neither the name of the University nor the names of its contributors 50 strtoimax_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoimax_l() argument 61 * Skip white space and pick up leading +/- sign if any. in strtoimax_l() 62 * If base is 0, allow 0x for hex and 0 for octal, else in strtoimax_l() 63 * assume decimal; if base is already 16, allow 0x. in strtoimax_l() 69 if (c == '-') { in strtoimax_l() 77 if ((base == 0 || base == 16) && in strtoimax_l() 78 c == '0' && (*s == 'x' || *s == 'X') && in strtoimax_l() [all …]
|
H A D | strtol.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 20 * 3. Neither the name of the University nor the names of its contributors 50 strtol_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtol_l() argument 61 * Skip white space and pick up leading +/- sign if any. in strtol_l() 62 * If base is 0, allow 0x for hex and 0 for octal, else in strtol_l() 63 * assume decimal; if base is already 16, allow 0x. in strtol_l() 69 if (c == '-') { in strtol_l() 77 if ((base == 0 || base == 16) && in strtol_l() 78 c == '0' && (*s == 'x' || *s == 'X') && in strtol_l() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_scanf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 18 * 3. Neither the name of the University nor the names of its contributors 70 #define SIGNOK 0x40 /* +/- is (still) legal */ 74 #define EXPOK 0x200 /* (float) exponent (e+3, etc) still legal */ 76 #define PFXOK 0x100 /* 0x prefix is (still) legal */ 85 #define CT_INT 3 /* integer, i.e., strtoq or strtouq */ 116 int base; /* base argument to strtoq/strtouq */ in vsscanf() local 123 { 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }; in vsscanf() 130 base = 0; /* XXX just to keep gcc happy */ in vsscanf() [all …]
|
/freebsd/lib/libc/iconv/ |
H A D | _strtoul.h | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 17 * 3. Neither the name of the University nor the names of its contributors 47 _FUNCNAME(const char *nptr, char **endptr, int base) in _FUNCNAME() argument 54 /* check base value */ in _FUNCNAME() 55 if (base && (base < 2 || base > 36)) { in _FUNCNAME() 60 panic("%s: invalid base %d", __func__, base); in _FUNCNAME() 65 * Skip white space and pick up leading +/- sign if any. in _FUNCNAME() 66 * If base is 0, allow 0x for hex and 0 for octal, else in _FUNCNAME() 67 * assume decimal; if base is already 16, allow 0x. in _FUNCNAME() [all …]
|
/freebsd/sys/libkern/ |
H A D | strtol.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 18 * 3. Neither the name of the University nor the names of its contributors 47 strtol(const char *nptr, char **endptr, int base) in strtol() argument 56 * Skip white space and pick up leading +/- sign if any. in strtol() 57 * If base is 0, allow 0x for hex and 0 for octal, else in strtol() 58 * assume decimal; if base is already 16, allow 0x. in strtol() 63 if (c == '-') { in strtol() 68 if ((base == 0 || base == 16) && in strtol() 69 c == '0' && (*s == 'x' || *s == 'X')) { in strtol() [all …]
|