| /freebsd/lib/msun/ld128/ |
| H A D | s_logl.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2013 Bruce D. Evans 30 * Implementation of the natural logarithm of x for 128-bit format. 38 * [-1.0/256, 1.0/256), [1.0/256, 3.0/256), .... [2.0-1.0/256, 2.0+1.0/256) 47 * log(1 + d) = p( [all...] |
| /freebsd/lib/msun/ld80/ |
| H A D | s_logl.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2013 Bruce D. Evans 30 * Implementation of the natural logarithm of x for Intel 80-bit format. 38 * [-1.0/256, 1.0/256), [1.0/256, 3.0/256), .... [2.0-1.0/256, 2.0+1.0/256) 47 * log(1 + d) = p( [all...] |
| /freebsd/usr.sbin/ppp/ |
| H A D | physical.c | 11 * me to include this copyright-stuff instead of placing this in the 146 physical_SetDescriptor(struct physical *p) in physical_SetDescriptor() argument 148 p->desc.type = PHYSICAL_DESCRIPTOR; in physical_SetDescriptor() 149 p->desc.UpdateSet = physical_UpdateSet; in physical_SetDescriptor() 150 p->desc.IsSet = physical_IsSet; in physical_SetDescriptor() 151 p->desc.Read = physical_DescriptorRead; in physical_SetDescriptor() 152 p->desc.Write = physical_DescriptorWrite; in physical_SetDescriptor() 158 struct physical *p; in physical_Create() local 160 p = (struct physical *)malloc(sizeof(struct physical)); in physical_Create() 161 if (!p) in physical_Create() [all …]
|
| H A D | prompt.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 83 prompt_Display(struct prompt *p) in prompt_Display() argument 85 /* XXX: See Index2Nam() - should we only figure this out once ? */ in prompt_Display() 89 if (p->TermMode || !p->needprompt) in prompt_Display() 92 p->needprompt = 0; in prompt_Display() 94 if (p->nonewline) in prompt_Display() 95 p->nonewline = 0; in prompt_Display() 97 fprintf(p->Term, "\n"); in prompt_Display() 99 if (p->auth == LOCAL_AUTH) in prompt_Display() [all …]
|
| /freebsd/contrib/bc/tests/bc/errors/ |
| H A D | 03.txt | 2 …-p(srt()-s(ssqrt()-p(sstss(ssqrt()-p(ssssq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s()-p(sq(ssqrt()-p(ss…
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_ppmd7.c | 1 /* Ppmd7.c -- PPMdH codec 2 2010-03-12 : Igor Pavlov : Public domain 12 #define Ppmd7_GetPtr(p, ptr) (ptr) argument 13 #define Ppmd7_GetContext(p, ptr) (ptr) argument 14 #define Ppmd7_GetStats(p, ctx) ((ctx)->Stats) argument 16 #define Ppmd7_GetPtr(p, offs) ((void *)((p)->Base + (offs))) argument 17 #define Ppmd7_GetContext(p, offs) ((CPpmd7_Context *)Ppmd7_GetPtr((p), (offs))) argument 18 #define Ppmd7_GetStats(p, ctx) ((CPpmd_State *)Ppmd7_GetPtr((p), ((ctx)->Stats))) argument 21 #define Ppmd7_GetBinSumm(p) \ argument 22 &p->BinSumm[Ppmd7Context_OneState(p->MinContext)->Freq - 1][p->PrevSuccess + \ [all …]
|
| H A D | archive_ppmd8.c | 1 /* Ppmd8.c -- PPMdI codec 2 2016-05-21 : Igor Pavlov : Public domain 18 #define U2I(nu) (p->Units2Indx[(nu) - 1]) 19 #define I2U(indx) (p->Indx2Units[indx]) 24 #define REF(ptr) ((UInt32)((Byte *)(ptr) - (p)->Base)) 29 #define CTX(ref) ((CPpmd8_Context *)Ppmd8_GetContext(p, ref)) 30 #define STATS(ctx) Ppmd8_GetStats(p, ctx) 32 #define SUFFIX(ctx) CTX((ctx)->Suffix) 59 #define NODE(offs) ((CPpmd8_Node *)(p->Base + (offs))) 64 void Ppmd8_Construct(CPpmd8 *p) in Ppmd8_Construct() argument [all …]
|
| /freebsd/contrib/mandoc/ |
| H A D | term.c | 3 * Copyright (c) 2010-2022, 2025 Ingo Schwarze <schwarze@openbsd.org> 47 term_setcol(struct termp *p, size_t maxtcol) in term_setcol() argument 49 if (maxtcol > p->maxtcol) { in term_setcol() 50 p->tcols = mandoc_recallocarray(p->tcols, in term_setcol() 51 p->maxtco in term_setcol() 59 term_free(struct termp * p) term_free() argument 70 term_begin(struct termp * p,term_margin head,term_margin foot,const struct roff_meta * arg) term_begin() argument 81 term_end(struct termp * p) term_end() argument 95 term_flushln(struct termp * p) term_flushln() argument 260 term_fill(struct termp * p,size_t * nbr,size_t * vbr,size_t vtarget) term_fill() argument 366 term_field(struct termp * p,size_t vbl,size_t nbr) term_field() argument 437 endline(struct termp * p) endline() argument 461 term_newln(struct termp * p) term_newln() argument 476 term_vspace(struct termp * p) term_vspace() argument 490 term_fontlast(struct termp * p) term_fontlast() argument 501 term_fontrepl(struct termp * p,enum termfont f) term_fontrepl() argument 510 term_fontpush(struct termp * p,enum termfont f) term_fontpush() argument 524 term_fontpopq(struct termp * p,int i) term_fontpopq() argument 534 term_fontpop(struct termp * p) term_fontpop() argument 547 term_word(struct termp * p,const char * word) term_word() argument 813 bufferc(struct termp * p,char c) bufferc() argument 828 term_tab_ref(struct termp * p) term_tab_ref() argument 841 encode1(struct termp * p,int c) encode1() argument 886 encode(struct termp * p,const char * word,size_t sz) encode() argument 926 term_setwidth(struct termp * p,const char * wstr) term_setwidth() argument 955 term_len(const struct termp * p,size_t sz) term_len() argument 962 cond_width(const struct termp * p,int c,int * skip) cond_width() argument 973 term_strlen(const struct termp * p,const char * cp) term_strlen() argument 1107 term_vspan(const struct termp * p,const struct roffsu * su) term_vspan() argument 1152 term_hspan(const struct termp * p,const struct roffsu * su) term_hspan() argument 1162 term_hen(const struct termp * p,const struct roffsu * su) term_hen() argument [all...] |
| H A D | term_ps.c | 3 * Copyright (c) 2014-2017, 2020, 2025 Ingo Schwarze <schwarze@openbsd.org> 44 #define PNT2AFM(p, x) \ argument 45 (size_t)((double)(x) * (1000.0 / (double)(p)->ps->scale)) 48 #define AFM2PNT(p, x) \ argument 49 ((double)(x) / (1000.0 / (double)(p)->ps->scale)) 74 char last; /* last non-backspac 529 struct termp *p; pspdf_alloc() local 626 ps_setwidth(struct termp * p,int iop,int width) ps_setwidth() argument 645 struct termp *p; pspdf_free() local 657 ps_printf(struct termp * p,const char * fmt,...) ps_printf() argument 694 ps_putchar(struct termp * p,char c) ps_putchar() argument 714 pdf_obj(struct termp * p,size_t obj) pdf_obj() argument 730 ps_closepage(struct termp * p) ps_closepage() argument 781 ps_end(struct termp * p) ps_end() argument 848 ps_begin(struct termp * p) ps_begin() argument 957 ps_pletter(struct termp * p,int c) ps_pletter() argument 1037 ps_pclose(struct termp * p) ps_pclose() argument 1063 ps_plast(struct termp * p) ps_plast() argument 1105 ps_letter(struct termp * p,int arg) ps_letter() argument 1201 ps_advance(struct termp * p,size_t len) ps_advance() argument 1217 ps_endline(struct termp * p) ps_endline() argument 1263 ps_setfont(struct termp * p,enum termfont f) ps_setfont() argument 1285 ps_width(const struct termp * p,int c) ps_width() argument 1297 ps_hspan(const struct termp * p,const struct roffsu * su) ps_hspan() argument 1352 ps_growbuf(struct termp * p,size_t sz) ps_growbuf() argument [all...] |
| H A D | mdoc_term.c | 3 * Copyright (c) 2010,2012-2020,2022,2025 Ingo Schwarze <schwarze@openbsd.org> 20 * for ASCII, UTF-8, PostScript, and PDF output. 47 #define DECL_ARGS struct termp *p, \ 123 static const struct mdoc_term_act mdoc_term_acts[MDOC_MAX - MDOC_Dd] = { 172 { NULL, termp____post }, /* %P */ 252 struct termp *p; in terminal_mdoc() local 254 p = (struct termp *)arg; in terminal_mdoc() 255 p->tcol->rmargi in terminal_mdoc() 442 print_mdoc_foot(struct termp * p,const struct roff_meta * meta) print_mdoc_foot() argument 491 print_mdoc_head(struct termp * p,const struct roff_meta * meta) print_mdoc_head() argument 560 a2width(const struct termp * p,const char * v) a2width() argument 579 print_bvspace(struct termp * p,struct roff_node * bl,struct roff_node * n) print_bvspace() argument 1178 synopsis_pre(struct termp * p,struct roff_node * n) synopsis_pre() argument [all...] |
| H A D | man_term.c | 3 * Copyright (c) 2010-2020,2022-23,2025 Ingo Schwarze <schwarze@openbsd.org> 4 * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> 19 * for ASCII, UTF-8, PostScript, and PDF output. 51 #define DECL_ARGS struct termp *p, \ 100 static const struct man_term_act man_term_acts[MAN_MAX - MAN_TH] = { 108 { pre_PP, NULL, 0 }, /* P */ 147 return man_term_acts + (tok - MAN_TH); in man_term_act() 154 struct termp *p; in terminal_man() local 157 p in terminal_man() 205 print_bvspace(struct termp * p,struct roff_node * n,int pardist) print_bvspace() argument 1015 print_man_foot(struct termp * p,const struct roff_meta * meta) print_man_foot() argument 1094 print_man_head(struct termp * p,const struct roff_meta * meta) print_man_head() argument [all...] |
| /freebsd/sys/amd64/linux/ |
| H A D | linux_systrace_args.c | 6 * DO NOT EDIT-- this file is automatically @generated. 17 struct read_args *p = params; in systrace_args() local 18 iarg[a++] = p->fd; /* int */ in systrace_args() 19 uarg[a++] = (intptr_t)p->buf; /* char * */ in systrace_args() 20 iarg[a++] = p->nbyte; /* l_size_t */ in systrace_args() 26 struct linux_write_args *p = params; in systrace_args() local 27 iarg[a++] = p->fd; /* int */ in systrace_args() 28 uarg[a++] = (intptr_t)p->buf; /* char * */ in systrace_args() 29 iarg[a++] = p->nbyte; /* l_size_t */ in systrace_args() 35 struct linux_open_args *p = params; in systrace_args() local [all …]
|
| /freebsd/sys/arm64/linux/ |
| H A D | linux_systrace_args.c | 6 * DO NOT EDIT-- this file is automatically @generated. 17 struct linux_setxattr_args *p = params; in systrace_args() local 18 uarg[a++] = (intptr_t)p->path; /* const char * */ in systrace_args() 19 uarg[a++] = (intptr_t)p->name; /* const char * */ in systrace_args() 20 uarg[a++] = (intptr_t)p->value; /* void * */ in systrace_args() 21 iarg[a++] = p->size; /* l_size_t */ in systrace_args() 22 iarg[a++] = p->flags; /* l_int */ in systrace_args() 28 struct linux_lsetxattr_args *p = params; in systrace_args() local 29 uarg[a++] = (intptr_t)p->path; /* const char * */ in systrace_args() 30 uarg[a++] = (intptr_t)p->name; /* const char * */ in systrace_args() [all …]
|
| /freebsd/sys/kern/ |
| H A D | systrace_args.c | 6 * DO NOT EDIT-- this file is automatically @generated. 22 struct _exit_args *p = params; in systrace_args() local 23 iarg[a++] = p->rval; /* int */ in systrace_args() 34 struct read_args *p = params; in systrace_args() local 35 iarg[a++] = p->fd; /* int */ in systrace_args() 36 uarg[a++] = (intptr_t)p->buf; /* void * */ in systrace_args() 37 uarg[a++] = p->nbyte; /* size_t */ in systrace_args() 43 struct write_args *p = params; in systrace_args() local 44 iarg[a++] = p->fd; /* int */ in systrace_args() 45 uarg[a++] = (intptr_t)p->buf; /* const void * */ in systrace_args() [all …]
|
| /freebsd/sys/compat/freebsd32/ |
| H A D | freebsd32_systrace_args.c | 9 * DO NOT EDIT-- this file is automatically @generated. 25 struct _exit_args *p = params; in systrace_args() local 26 iarg[a++] = p->rval; /* int */ in systrace_args() 37 struct read_args *p = params; in systrace_args() local 38 iarg[a++] = p->fd; /* int */ in systrace_args() 39 uarg[a++] = (intptr_t)p->buf; /* void * */ in systrace_args() 40 uarg[a++] = p->nbyte; /* size_t */ in systrace_args() 46 struct write_args *p = params; in systrace_args() local 47 iarg[a++] = p->fd; /* int */ in systrace_args() 48 uarg[a++] = (intptr_t)p->buf; /* const void * */ in systrace_args() [all …]
|
| /freebsd/sys/i386/linux/ |
| H A D | linux_systrace_args.c | 6 * DO NOT EDIT-- this file is automatically @generated. 17 struct linux_exit_args *p = params; in systrace_args() local 18 iarg[a++] = p->rval; /* int */ in systrace_args() 29 struct read_args *p = params; in systrace_args() local 30 iarg[a++] = p->fd; /* int */ in systrace_args() 31 uarg[a++] = (intptr_t)p->buf; /* char * */ in systrace_args() 32 uarg[a++] = p->nbyte; /* u_int */ in systrace_args() 38 struct linux_write_args *p = params; in systrace_args() local 39 iarg[a++] = p->fd; /* int */ in systrace_args() 40 uarg[a++] = (intptr_t)p->buf; /* char * */ in systrace_args() [all …]
|
| /freebsd/sys/amd64/linux32/ |
| H A D | linux32_systrace_args.c | 6 * DO NOT EDIT-- this file is automatically @generated. 17 struct linux_exit_args *p = params; in systrace_args() local 18 iarg[a++] = p->rval; /* int */ in systrace_args() 29 struct read_args *p = params; in systrace_args() local 30 iarg[a++] = p->fd; /* int */ in systrace_args() 31 uarg[a++] = (intptr_t)p->buf; /* char * */ in systrace_args() 32 uarg[a++] = p->nbyte; /* u_int */ in systrace_args() 38 struct linux_write_args *p = params; in systrace_args() local 39 iarg[a++] = p->fd; /* int */ in systrace_args() 40 uarg[a++] = (intptr_t)p->buf; /* char * */ in systrace_args() [all …]
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_os.h | 2 * kmp_os.h -- KPTS runtime header file. 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 32 /* -------------------------- Compiler variations ------------------------ */ 52 /* ------------------------- Compiler recognition ---------------------- */ 98 /* Check for quad-precision extension. */ 106 /* Clang doesn't support a software-implemented 107 128-bit extended precision type yet */ 233 // macros to cast out qualifiers and to re-interpret types [all …]
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | params.c | 2 * Copyright 2019-2025 The OpenSSL Project Authors. All Rights Reserved. 53 OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate() argument 55 if (p != NULL && key != NULL) in OSSL_PARAM_locate() 56 for (; p->key != NULL; p++) in OSSL_PARAM_locate() 57 if (strcmp(key, p->key) == 0) in OSSL_PARAM_locate() 58 return p; in OSSL_PARAM_locate() 62 const OSSL_PARAM *OSSL_PARAM_locate_const(const OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate_const() argument 64 return OSSL_PARAM_locate((OSSL_PARAM *)p, key); in OSSL_PARAM_locate_const() 80 int OSSL_PARAM_modified(const OSSL_PARAM *p) in OSSL_PARAM_modified() argument 82 return p != NULL && p->return_size != OSSL_PARAM_UNMODIFIED; in OSSL_PARAM_modified() [all …]
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | debug.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2020 Realtek Corporation 109 iter_data->buf = buf; in rtw89_debugfs_iter_data_setup() 110 iter_data->bufsz = bufsz; in rtw89_debugfs_iter_data_setup() 111 iter_data->written_sz = 0; in rtw89_debugfs_iter_data_setup() 117 iter_data->buf = buf; in rtw89_debugfs_iter_data_next() 118 iter_data->bufsz = bufsz; in rtw89_debugfs_iter_data_next() 119 iter_data->written_sz += written_sz; in rtw89_debugfs_iter_data_next() 142 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debugfs_file_read_helper() 145 n = debugfs_priv->cb_read(rtwdev, debugfs_priv, buf, bufsz); in rtw89_debugfs_file_read_helper() [all …]
|
| /freebsd/sys/contrib/ena-com/ena_defs/ |
| H A D | ena_eth_io_defs.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2015-2023 Amazon.com, Inc. or its affiliates. 53 /* 15:0 : length - Buffer length in bytes, must 55 * to update like End-to-End CRC, Authentication GMAC 58 * the 4-byte added in the end for 802.3 Ethernet FCS 59 * 21:16 : req_id_hi - Request ID[15:10] 60 * 22 : reserved22 - MBZ 61 * 23 : meta_desc - MBZ 63 * 25 : reserved1 - MBZ [all …]
|
| /freebsd/tools/tools/net80211/w00t/prga/ |
| H A D | prga.c | 1 /*- 81 void usage(char *p) in usage() argument 84 "-h\thelp\n" in usage() 85 "-b\t<bssid>\n" in usage() 86 "-t\t<tap>\n" in usage() 87 , p); in usage() 91 void load_prga(struct params *p) in load_prga() argument 96 fd = open(p->fname, O_RDONLY); in load_prga() 97 if (fd == -1) { in load_prga() 98 p->prga_len = 0; in load_prga() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | VOPInstructions.td | 1 //===-- VOPInstructions.td - Vector Instruction Definitions ---------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 58 class VOP_Pseudo <string opName, string suffix, VOPProfile P, dag outs, dag ins, 69 bit IsTrue16 = P.IsTrue16; 70 bit IsInvalidSingleUseConsumer = P.IsInvalidSingleUseConsumer; 71 bit IsInvalidSingleUseProducer = P.IsInvalidSingleUseProducer; 72 VOPProfile Pfl = P; 85 let AddedComplexity = -1000; 97 // need a post-isel hook to insert copies in order to avoid [all …]
|
| /freebsd/contrib/bc/src/ |
| H A D | bc_parse.c | 4 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2018-2025 Gavin D. Howard and contributors. 59 bc_parse_else(BcParse* p); 62 bc_parse_stmt(BcParse* p); 65 bc_parse_expr_err(BcParse* p, uint8_t flags, BcParseNext next); 68 bc_parse_expr_status(BcParse* p, uint8_t flags, BcParseNext next); 90 * @param p The parser. 94 bc_parse_isDelimiter(const BcParse* p) in bc_parse_isDelimiter() argument 96 BcLexType t = p->l.t; in bc_parse_isDelimiter() 105 // to check for a "dangling" else, where there was no brace-delimited block in bc_parse_isDelimiter() [all …]
|
| /freebsd/contrib/ncurses/ |
| H A D | announce.html.in | 1 <!-- 4 * Copyright 2018-2023,2024 Thomas E. Dickey * 30 --> 31 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> 37 <link rel="author" href="mailto:bug-ncurses@gnu.org"> 38 <meta http-equiv="Content-Type" content= 39 "text/html; charset=us-ascii"> 41 p,li { max-width:700px; } 42 dd { max-width:630px; } 43 *.main-name { [all …]
|