/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 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->maxtcol, maxtcol, sizeof(*p->tcols)); in term_setcol() 52 p->maxtcol = maxtcol; in term_setcol() 54 p->lasttcol = maxtcol - 1; in term_setcol() 55 p->tcol = p->tcols; in term_setcol() 59 term_free(struct termp *p) in term_free() argument 62 for (p->tcol = p->tcols; p->tcol < p->tcols + p->maxtcol; p->tcol++) in term_free() [all …]
|
H A D | term_ps.c | 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-backspace seen */ 119 * normal (roman). The following table hard-codes the font metrics for 120 * ASCII, i.e., 32--127. 124 { "Times-Roman", { 221 { "Times-Bold", { 318 { "Times-Italic", { [all …]
|
H A D | mdoc_term.c | 3 * Copyright (c) 2010, 2012-2020, 2022 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->rmargin = p->maxrmargin = p->defrmargin; in terminal_mdoc() 256 term_tab_set(p, NULL); in terminal_mdoc() 257 term_tab_set(p, "T"); in terminal_mdoc() [all …]
|
H A D | man_term.c | 3 * Copyright (c) 2010-15,2017-20,2022-23 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 = (struct termp *)arg; in terminal_man() 158 p->tcol->rmargin = p->maxrmargin = p->defrmargin; in terminal_man() [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/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/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/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/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 …]
|
H A D | kmp_error.cpp | 2 * kmp_error.cpp -- KPTS functions for error checking at runtime 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 18 /* ------------------------------------------------------------------------ */ 25 "work-sharing", /* this is not called "for" 28 "\"ordered\" work-sharing", /* this is not called "for ordered" because of 31 "work-sharing", /* this is not called "single" because of lowering of 41 #define get_src(ident) ((ident) == NULL ? NULL : (ident)->psource) 45 #define POP_MSG(p) \ argument [all …]
|
/freebsd/crypto/openssl/crypto/ |
H A D | params.c | 2 * Copyright 2019-2023 The OpenSSL Project Authors. All Rights Reserved. 29 OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate() argument 31 if (p != NULL && key != NULL) in OSSL_PARAM_locate() 32 for (; p->key != NULL; p++) in OSSL_PARAM_locate() 33 if (strcmp(key, p->key) == 0) in OSSL_PARAM_locate() 34 return p; in OSSL_PARAM_locate() 38 const OSSL_PARAM *OSSL_PARAM_locate_const(const OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate_const() argument 40 return OSSL_PARAM_locate((OSSL_PARAM *)p, key); in OSSL_PARAM_locate_const() 56 int OSSL_PARAM_modified(const OSSL_PARAM *p) in OSSL_PARAM_modified() argument 58 return p != NULL && p->return_size != OSSL_PARAM_UNMODIFIED; in OSSL_PARAM_modified() [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-2024 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 …]
|