| /freebsd/contrib/bc/tests/dc/ |
| H A D | stdin.txt | 2 1 2+p 5 1+p 6 2+p 7 3+p 8 4+p 9 5+p 10 6+p 11 7+p 12 8+p 13 9+p [all …]
|
| /freebsd/contrib/bc/tests/dc/errors/ |
| H A D | 26.txt | 7 1 2+p+p 8 3+p 9 4+p 10 5+p 11 6+p 12 7+p 13 8+p 14 9+p 15 10+p 16 11+p [all …]
|
| H A D | 15.txt | 9 1 2+p+p 10 3+p 11 4+p 12 5+p 13 6+p 14 7+p 15 8+p 16 9+p 17 16+p 18 17+p [all …]
|
| /freebsd/lib/msun/ld128/ |
| H A D | s_logl.c | 47 * log(1 + d) = p(d) 49 * where p(d) = d - 0.5*d*d + ... is a special minimax polynomial of 53 * sometimes (if |k| is not large) the first term in p(d) must be evaluated 55 * rest of p(d). In the worst case when k = 0 and log(X_i) is 0, the final 56 * error is controlled mainly by the error in the second term in p(d). The 67 * degree of p(d)) small by using a large number of intervals. Using 69 * factor of 2 for a given number of intervals. p(d) is special only 94 * |log(1 + d)/d - p(d)| < 2**-122.7 98 P3 = 3.33333333333333333333333333333233795e-1L, /* 0x15555555555555555555555554d42.0p-114L */ 99 P4 = -2.49999999999999999999999999941139296e-1L, /* -0x1ffffffffffffffffffffffdab14e.0p [all...] |
| /freebsd/lib/msun/ld80/ |
| H A D | s_logl.c | 47 * log(1 + d) = p(d) 49 * where p(d) = d - 0.5*d*d + ... is a special minimax polynomial of 53 * sometimes (if |k| is not large) the first term in p(d) must be evaluated 55 * rest of p(d). In the worst case when k = 0 and log(X_i) is 0, the final 56 * error is controlled mainly by the error in the second term in p(d). The 67 * degree of p(d)) small by using a large number of intervals. Using 69 * factor of 2 for a given number of intervals. p(d) is special only 99 * |log(1 + d)/d - p(d)| < 2**-70.7 103 P3 = 3.3333333333333359e-1, /* 0x1555555555555a.0p-54 */ 104 P4 = -2.5000000000004424e-1, /* -0x1000000000031d.0p [all...] |
| /freebsd/usr.sbin/ppp/ |
| H A D | physical.c | 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() 164 p->link.type = PHYSICAL_LINK; in physical_Create() [all …]
|
| H A D | prompt.c | 83 prompt_Display(struct prompt *p) in prompt_Display() argument 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() 104 if (p->bundle->ncp.ipcp.fsm.state == ST_OPENED) in prompt_Display() 107 else if (!Enabled(p->bundle, OPT_IPCP) && in prompt_Display() 108 p->bundle->ncp.ipv6cp.fsm.state == ST_OPENED) 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(ssq…
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_ppmd7.c | 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 + \ 23 p->NS2BSIndx[Ppmd7_GetContext(p, p->MinContext->Suffix)->NumStats - 1] + \ 24 (p->HiBitsFlag = p->HB2Flag[p->FoundState->Symbol]) + \ [all …]
|
| H A D | archive_ppmd8.c | 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) 59 #define NODE(offs) ((CPpmd8_Node *)(p->Base + (offs))) 64 void Ppmd8_Construct(CPpmd8 *p) in Ppmd8_Construct() argument 68 p->Base = 0; in Ppmd8_Construct() 73 do { p->Units2Indx[k++] = (Byte)i; } while (--step); in Ppmd8_Construct() 74 p->Indx2Units[i] = (Byte)k; in Ppmd8_Construct() [all …]
|
| /freebsd/sys/amd64/linux/ |
| H A D | linux_systrace_args.c | 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 36 uarg[a++] = (intptr_t)p->path; /* char * */ in systrace_args() [all …]
|
| /freebsd/sys/arm64/linux/ |
| H A D | linux_systrace_args.c | 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() 31 uarg[a++] = (intptr_t)p->value; /* void * */ in systrace_args() [all …]
|
| /freebsd/sys/kern/ |
| H A D | systrace_args.c | 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() 46 uarg[a++] = p->nbyte; /* size_t */ in systrace_args() [all …]
|
| /freebsd/sys/compat/freebsd32/ |
| H A D | freebsd32_systrace_args.c | 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() 49 uarg[a++] = p->nbyte; /* size_t */ in systrace_args() [all …]
|
| /freebsd/contrib/mandoc/ |
| H A D | term.c | 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 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 | 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)) 529 struct termp *p; in pspdf_alloc() local 534 p = mandoc_calloc(1, sizeof(*p)); in pspdf_alloc() 535 p->tcol = p->tcols = mandoc_calloc(1, sizeof(*p in pspdf_alloc() 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 | 47 #define DECL_ARGS struct termp *p, \ 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() 258 term_tab_set(p, " 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...] |
| /freebsd/sys/i386/linux/ |
| H A D | linux_systrace_args.c | 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() 41 iarg[a++] = p->nbyte; /* l_size_t */ in systrace_args() [all …]
|
| /freebsd/sys/amd64/linux32/ |
| H A D | linux32_systrace_args.c | 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() 41 iarg[a++] = p->nbyte; /* l_size_t */ in systrace_args() [all …]
|
| /freebsd/contrib/tcpdump/ |
| H A D | extract.h | 31 #define EXTRACT_U_1(p) ((uint8_t)(*(p))) argument 32 #define EXTRACT_S_1(p) ((int8_t)(*(p))) argument 89 EXTRACT_BE_U_2(const void *p) in EXTRACT_BE_U_2() argument 91 return ((uint16_t)ntohs(*(const uint16_t *)(p))); in EXTRACT_BE_U_2() 95 EXTRACT_BE_S_2(const void *p) in EXTRACT_BE_S_2() argument 97 return ((int16_t)ntohs(*(const int16_t *)(p))); in EXTRACT_BE_S_2() 101 EXTRACT_BE_U_4(const void *p) in EXTRACT_BE_U_4() argument 103 return ((uint32_t)ntohl(*(const uint32_t *)(p))); in EXTRACT_BE_U_4() 107 EXTRACT_BE_S_4(const void *p) in EXTRACT_BE_S_4() argument 109 return ((int32_t)ntohl(*(const int32_t *)(p))); in EXTRACT_BE_S_4() [all …]
|
| /freebsd/sys/sys/ |
| H A D | atomic_common.h | 39 #define __atomic_load_bool_relaxed(p) (*(const volatile _Bool *)(p)) argument 40 #define __atomic_store_bool_relaxed(p, v) \ argument 41 (*(volatile _Bool *)(p) = (_Bool)(v)) 43 #define __atomic_load_char_relaxed(p) (*(const volatile u_char *)(p)) argument 44 #define __atomic_load_short_relaxed(p) (*(const volatile u_short *)(p)) argument 45 #define __atomic_load_int_relaxed(p) (*(const volatile u_int *)(p)) argument 46 #define __atomic_load_long_relaxed(p) (*(const volatile u_long *)(p)) argument 47 #define __atomic_load_8_relaxed(p) (*(const volatile uint8_t *)(p)) argument 48 #define __atomic_load_16_relaxed(p) (*(const volatile uint16_t *)(p)) argument 49 #define __atomic_load_32_relaxed(p) (*(const volatile uint32_t *)(p)) argument [all …]
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | params.c | 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() 85 void OSSL_PARAM_set_all_unmodified(OSSL_PARAM *p) in OSSL_PARAM_set_all_unmodified() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | MachineIRBuilder.h | 144 SrcOp(const CmpInst::Predicate P) : Pred(P), Ty(SrcType::Ty_Predicate) {} in SrcOp() argument 343 /// Set the insertion point to the end of \p MBB. 344 /// \pre \p MBB must be contained by getMF(). 381 /// Set the debug location to \p DL for all the next build instructions. 387 /// Set the PC sections metadata to \p MD for all the next build instructions. 393 /// Set the PC sections metadata to \p MD for all the next build instructions. 399 /// Build and insert <empty> = \p Opcode <empty>. 410 /// Build but don't insert <empty> = \p Opcode <empty>. 421 /// associated \p Variable lives in \p Reg (suitably modified by \p Expr). 426 /// associated \p Variable lives in memory at \p Reg (suitably modified by \p [all …]
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_os.h | 479 #define KMP_TEST_THEN_INC32(p) InterlockedExchangeAdd((volatile long *)(p), 1) 480 #define KMP_TEST_THEN_INC_ACQ32(p) \ 481 InterlockedExchangeAdd((volatile long *)(p), 1) 482 #define KMP_TEST_THEN_ADD4_32(p) InterlockedExchangeAdd((volatile long *)(p), 4) 483 #define KMP_TEST_THEN_ADD4_ACQ32(p) \ 484 InterlockedExchangeAdd((volatile long *)(p), 4) 485 #define KMP_TEST_THEN_DEC32(p) InterlockedExchangeAdd((volatile long *)(p), -1) 486 #define KMP_TEST_THEN_DEC_ACQ32(p) \ 487 InterlockedExchangeAdd((volatile long *)(p), -1) 488 #define KMP_TEST_THEN_ADD32(p, v) \ [all …]
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | debug.c | 273 char *p = buf, *end = buf + bufsz; in rtw89_debug_priv_read_reg_get() local 298 p += scnprintf(p, end - p, "get %d bytes at 0x%08x=0x%08x\n", len, in rtw89_debug_priv_read_reg_get() 301 return p - buf; in rtw89_debug_priv_read_reg_get() 307 p += scnprintf(p, end - p, "%08xh : ", 0x18600000 + addr); in rtw89_debug_priv_read_reg_get() 310 p += scnprintf(p, end - p, "%08x ", data); in rtw89_debug_priv_read_reg_get() 312 p += scnprintf(p, end - p, "\n"); in rtw89_debug_priv_read_reg_get() 315 return p - buf; in rtw89_debug_priv_read_reg_get() 386 char *p = buf, *end = buf + bufsz; in rtw89_debug_priv_read_rf_get() local 396 p += scnprintf(p, end - p, "path %d, rf register 0x%08x=0x%08x\n", in rtw89_debug_priv_read_rf_get() 399 return p - buf; in rtw89_debug_priv_read_rf_get() [all …]
|