/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/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/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/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/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/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->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() 63 free(p->tcol->buf); 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)) 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->tcol)); in pspdf_alloc() 536 p->maxtcol = 1; in pspdf_alloc() 537 p->type = type; in pspdf_alloc() 539 p->enc = TERMENC_ASCII; in pspdf_alloc() [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, ".5i"); in terminal_mdoc() 261 if (p->synopsisonly) { in terminal_mdoc() 272 p->flags |= TERMP_NOSPACE; in terminal_mdoc() [all …]
|
H A D | man_term.c | 51 #define DECL_ARGS struct termp *p, \ 108 { pre_PP, NULL, 0 }, /* P */ 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() 159 term_tab_set(p, NULL); in terminal_man() 160 term_tab_set(p, "T"); in terminal_man() 161 term_tab_set(p, ".5i"); in terminal_man() 164 mt.lmargin[mt.lmargincur] = term_len(p, 7); in terminal_man() 165 mt.offset = term_len(p, p->defindent); in terminal_man() [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/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 | 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() 61 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 …]
|