| /freebsd/sys/crypto/openssl/aarch64/ |
| H A D | chacha-armv8-sve.S | 28 .quad 0x3320646e61707865,0x6b20657479622d32 // endian-neutral 30 .word 0x02010003,0x04040404,0x02010003,0x04040404 40 .inst 0x04a0e3e5 //cntw x5, ALL, MUL #1 43 mov x7,0 56 .inst 0x04aa4d3f //index z31.s,w9,w10 78 .inst 0x2599e3e0 //ptrues p0.s,ALL 98 .inst 0x05a03ae0 //dup z0.s,w23 99 .inst 0x05a03af9 //dup z25.s,w23 103 .inst 0x05a03904 //dup z4.s,w8 104 .inst 0x05a0391a //dup z26.s,w8 [all …]
|
| H A D | armv8-mont.S | 35 add x29,sp,#0 40 ldr x9,[x2],#8 // bp[0] 42 ldp x7,x8,[x1],#16 // ap[0..1] 46 ldp x13,x14,[x3],#16 // np[0..1] 48 mul x6,x7,x9 // ap[0]*bp[0] 51 mul x10,x8,x9 // ap[1]*bp[0] 54 mul x15,x6,x4 // "tp[0]"*n0 57 // (*) mul x12,x13,x15 // np[0]*m1 83 mul x10,x8,x9 // ap[j]*bp[0] 113 ldr x23,[sp] // tp[0] [all …]
|
| /freebsd/sys/dev/sound/pcm/ |
| H A D | sound.c | 55 &snd_unit_auto, 0, "assign default unit to a newly attached device"); 57 SYSCTL_NODE(_hw, OID_AUTO, snd, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, 97 struct snddev_info *d; in snd_setup_intr() local 101 d = device_get_softc(dev); in snd_setup_intr() 102 if (d != NULL && (flags & INTR_MPSAFE)) in snd_setup_intr() 103 d->flags |= SD_F_MPSAFE; in snd_setup_intr() 111 struct snddev_info *d; in sysctl_hw_snd_default_unit() local 115 error = sysctl_handle_int(oidp, &unit, 0, req); in sysctl_hw_snd_default_unit() 116 if (error == 0 && req->newptr != NULL) { in sysctl_hw_snd_default_unit() 118 d = devclass_get_softc(pcm_devclass, unit); in sysctl_hw_snd_default_unit() [all …]
|
| /freebsd/sys/riscv/riscv/ |
| H A D | db_disasm.c | 53 #define RD_MASK (0x1f << RD_SHIFT) 55 #define RS1_MASK (0x1f << RS1_SHIFT) 57 #define RS2_MASK (0x1f << RS2_SHIFT) 59 #define IMM_MASK (0xfff << IMM_SHIFT) 87 if (((insn ^ op->match) & op->mask) == 0) in m_op() 90 return (0); in m_op() 104 { "jalr", "d,o(s)", MATCH_JALR, MASK_JALR, m_op }, 105 { "jal", "d,a", MATCH_JAL, MASK_JAL, m_op }, 106 { "lui", "d,u", MATCH_LUI, MASK_LUI, m_op }, 107 { "auipc", "d,u", MATCH_AUIPC, MASK_AUIPC, m_op }, [all …]
|
| /freebsd/cddl/lib/libdtrace/ |
| H A D | socket.d | 29 #pragma D depends_on module kernel 34 #pragma D binding "1.13" SO_DEBUG 35 inline int SO_DEBUG = 0x0001; /* turn on debugging info recording */ 36 #pragma D binding "1.13" SO_ACCEPTCONN 37 inline int SO_ACCEPTCONN = 0x0002; /* socket has had listen() */ 38 #pragma D binding "1.13" SO_REUSEADDR 39 inline int SO_REUSEADDR = 0x0004; /* allow local address reuse */ 40 #pragma D binding "1.13" SO_KEEPALIVE 41 inline int SO_KEEPALIVE = 0x0008; /* keep connections alive */ 42 #pragma D binding "1.13" SO_DONTROUTE [all …]
|
| H A D | io.d | 28 #pragma D depends_on module kernel 29 #pragma D depends_on provider io 41 #pragma D binding "1.0" translator 42 translator devinfo_t < struct devstat *D > { 43 dev_major = D->device_number; 44 dev_minor = D->unit_number; 45 dev_instance = 0; 46 dev_type = D->device_type; 47 dev_name = stringof(D->device_name); 48 dev_statname = stringof(D->device_name); [all …]
|
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
| H A D | tst.index.d.out | 5 printf("perl => index(\"foobarbaz\", \"barbaz\") = %d\n", 7 printf(" D => index(\"foobarbaz\", \"barbaz\") = 3\n"); 12 printf("perl => rindex(\"foobarbaz\", \"barbaz\") = %d\n", 14 printf(" D => rindex(\"foobarbaz\", \"barbaz\") = 3\n"); 18 if (index("foofoofoo", "foo") != 0) { 19 printf("perl => index(\"foofoofoo\", \"foo\") = %d\n", 21 printf(" D => index(\"foofoofoo\", \"foo\") = 0\n"); 26 printf("perl => rindex(\"foofoofoo\", \"foo\") = %d\n", 28 printf(" D => rindex(\"foofoofoo\", \"foo\") = 6\n"); 33 printf("perl => index(\"boofoofoo\", \"foo\") = %d\n", [all …]
|
| /freebsd/lib/libnetmap/ |
| H A D | nmport.c | 52 nmport_push_cleanup(struct nmport_d *d, struct nmport_cleanup_d *c) in nmport_push_cleanup() argument 54 c->next = d->clist; in nmport_push_cleanup() 55 d->clist = c; in nmport_push_cleanup() 59 nmport_pop_cleanup(struct nmport_d *d) in nmport_pop_cleanup() argument 63 top = d->clist; in nmport_pop_cleanup() 64 d->clist = d->clist->next; in nmport_pop_cleanup() 65 (*top->cleanup)(top, d); in nmport_pop_cleanup() 66 nmctx_free(d->ctx, top); in nmport_pop_cleanup() 69 void nmport_do_cleanup(struct nmport_d *d) in nmport_do_cleanup() argument 71 while (d->clist != NULL) { in nmport_do_cleanup() [all …]
|
| /freebsd/lib/libc/tests/stdio/ |
| H A D | scanfloat_test.c | 56 double d = 0.0; in ATF_TC_BODY() local 59 buf[0] = '\0'; in ATF_TC_BODY() 65 ATF_REQUIRE_EQ(1, sscanf("3.141592653589793", "%lf", &d)); in ATF_TC_BODY() 66 ATF_REQUIRE(eq(DBL, d, 3.141592653589793)); in ATF_TC_BODY() 71 ATF_REQUIRE_EQ(1, sscanf("-1.234568e6", "%lF", &d)); in ATF_TC_BODY() 72 ATF_REQUIRE(eq(DBL, d, -1.234568e6)); in ATF_TC_BODY() 77 ATF_REQUIRE_EQ(1, sscanf("0.1", "%la", &d)); in ATF_TC_BODY() 78 ATF_REQUIRE(eq(DBL, d, 0.1)); in ATF_TC_BODY() 80 ATF_REQUIRE_EQ(1, sscanf("00.2", "%lA", &d)); in ATF_TC_BODY() 81 ATF_REQUIRE(eq(DBL, d, 0.2)); in ATF_TC_BODY() [all …]
|
| /freebsd/sys/opencrypto/ |
| H A D | rmd160.c | 45 (cp)[0] = (value); } while (0) 51 (cp)[0] = (value); } while (0) 53 #define H0 0x67452301U 54 #define H1 0xEFCDAB89U 55 #define H2 0x98BADCFEU 56 #define H3 0x10325476U 57 #define H4 0xC3D2E1F0U 59 #define K0 0x00000000U 60 #define K1 0x5A827999U 61 #define K2 0x6ED9EBA1U [all …]
|
| /freebsd/crypto/heimdal/kdc/ |
| H A D | connect.c | 76 if(strcmp(protocol, "udp") == 0) in add_port() 78 else if(strcmp(protocol, "tcp") == 0) in add_port() 82 for(i = 0; i < num_ports; i++){ in add_port() 129 port = htons(strtol(str, &end, 0)); in add_port_string() 175 if(strcmp(p, "+") == 0) { in parse_ports() 183 *q++ = 0; in parse_ports() 222 init_descr(struct descr *d) in init_descr() argument 224 memset(d, 0, sizeof(*d)); in init_descr() 225 d->sa = (struct sockaddr *)&d->__ss; in init_descr() 226 d->s = rk_INVALID_SOCKET; in init_descr() [all …]
|
| /freebsd/crypto/openssl/crypto/md5/ |
| H A D | md5_dgst.c | 24 #define INIT_DATA_A (unsigned long)0x67452301L 25 #define INIT_DATA_B (unsigned long)0xefcdab89L 26 #define INIT_DATA_C (unsigned long)0x98badcfeL 27 #define INIT_DATA_D (unsigned long)0x10325476L 31 memset(c, 0, sizeof(*c)); in MD5_Init() 35 c->D = INIT_DATA_D; in MD5_Init() 46 register unsigned MD32_REG_T A, B, C, D, l; in md5_block_data_order() local 60 D = c->D; in md5_block_data_order() 64 X(0) = l; in md5_block_data_order() 67 /* Round 0 */ in md5_block_data_order() [all …]
|
| /freebsd/contrib/bsddialog/lib/ |
| H A D | lib_util.c | 138 memset(&mbs, 0, sizeof(mbs)); in alloc_mbstows() 139 while ((charlen = mbrlen(pmbstring, MB_CUR_MAX, &mbs)) != 0 && in alloc_mbstows() 156 ws[0] = wch; in mvwaddwch() 157 ws[1] = L'\0'; in mvwaddwch() 172 ncol = 0; in str_props() 173 memset(&mbs, 0, sizeof(mbs)); in str_props() 174 while ((charlen = mbrlen(mbstring, mb_cur_max, &mbs)) != 0 && in str_props() 176 if (mbtowc(&wch, mbstring, mb_cur_max) < 0) in str_props() 179 ncol += (w < 0) ? 0 : w; in str_props() 190 return (0); in str_props() [all …]
|
| H A D | textbox.c | 44 int margin; /* 2 with multicolumn char, 0 otherwise */ 45 int printrows; /* d.h - BORDERS - HBUTTONS */ 48 static void updateborders(struct dialog *d, struct scrolltext *st) in updateborders() argument 53 if (d->conf->no_lines) in updateborders() 54 setcchar(&borderch, L" ", 0, 0, NULL); in updateborders() 55 else if (d->conf->ascii_lines) in updateborders() 56 setcchar(&borderch, L"|", 0, 0, NULL); in updateborders() 60 if (st->xpad > 0) { in updateborders() 61 arrowch = LARROW(d->conf) | t.dialog.arrowcolor; in updateborders() 62 mvwvline(d->widget, (d->h / 2) - 2, 0, arrowch, 4); in updateborders() [all …]
|
| H A D | messagebox.c | 41 static void textupdate(struct dialog *d, struct scroll *s) in textupdate() argument 43 if (s->htext > 0 && s->htextpad > s->printrows) { in textupdate() 44 wattron(d->widget, t.dialog.arrowcolor); in textupdate() 45 mvwprintw(d->widget, d->h - HBUTTONS - BORDER, in textupdate() 46 d->w - 4 - TEXTHMARGIN - BORDER, in textupdate() 47 "%3d%%", 100 * (s->ypad + s->printrows) / s->htextpad); in textupdate() 48 wattroff(d->widget, t.dialog.arrowcolor); in textupdate() 49 wnoutrefresh(d->widget); in textupdate() 51 rtextpad(d, s->ypad, 0, 0, HBUTTONS); in textupdate() 54 static int message_size_position(struct dialog *d, int *htext) in message_size_position() argument [all …]
|
| H A D | barbox.c | 46 #define WBOX(d) ((d)->w - BORDERS - BARPADDING - BARPADDING) argument 47 #define WBAR(d) (WBOX(d) - BOXBORDERS) argument 85 barlen = b->perc > 0 ? (b->perc * b->w) / 100 : 0; in draw_bar() 98 mvwaddnstr(b->win, b->y, xlabel, label, MAX((b->x+barlen) - xlabel, 0)); in draw_bar() 106 static void update_barbox(struct dialog *d, struct bar *b, bool buttons) in update_barbox() argument 110 y = d->y + d->h - BORDER - HBOX; in update_barbox() 113 update_box(d->conf, b->win, y, d->x + BORDER + BARPADDING, HBOX, in update_barbox() 114 WBOX(d), RAISED); in update_barbox() 126 struct dialog d; in bsddialog_gauge() local 128 if (prepare_dialog(conf, text, rows, cols, &d) != 0) in bsddialog_gauge() [all …]
|
| /freebsd/contrib/lua/src/ |
| H A D | ldump.c | 36 #define dumpVector(D,v,n) dumpBlock(D,v,(n)*sizeof((v)[0])) argument 38 #define dumpLiteral(D, s) dumpBlock(D,s,sizeof(s) - sizeof(char)) argument 41 static void dumpBlock (DumpState *D, const void *b, size_t size) { in dumpBlock() argument 42 if (D->status == 0 && size > 0) { in dumpBlock() 43 lua_unlock(D->L); in dumpBlock() 44 D->status = (*D->writer)(D->L, b, size, D->data); in dumpBlock() 45 lua_lock(D->L); in dumpBlock() 50 #define dumpVar(D,x) dumpVector(D,&x,1) argument 53 static void dumpByte (DumpState *D, int y) { in dumpByte() argument 55 dumpVar(D, x); in dumpByte() [all …]
|
| H A D | luac.c | 34 static int listing=0; /* list bytecodes? */ 36 static int stripping=0; /* strip debug information? */ 74 #define IS(s) (strcmp(argv[i],s)==0) 79 int version=0; in doargs() 80 if (argv[0]!=NULL && *argv[0]!=0) progname=argv[0]; in doargs() 98 if (output==NULL || *output==0 || (*output=='-' && output[1]!=0)) in doargs() 103 dumping=0; in doargs() 113 dumping=0; in doargs() 136 *size=0; in reader() 153 for (i=0; i<n; i++) in combine() [all …]
|
| /freebsd/tools/tools/ath/athalq/ |
| H A D | ar9300_ds.c | 39 static uint32_t last_ts = 0; 47 printf("[%u.%06u] [%llu] TXPUSH txq=%d, nframes=%d, fifodepth=%d, frmcount=%d\n", in ath_alq_print_edma_tx_fifo_push() 65 printf("[%u.%06u] [%llu] TXSTATUS TxTimestamp=%u (%u), DescId=0x%04x, QCU=%d\n", in ar9300_decode_txstatus() 73 printf(" DescId=0x%08x\n", txs.status1); in ar9300_decode_txstatus() 77 printf(" DescLen=%d, TxQcuNum=%d, CtrlStat=%d, DescId=0x%04x\n", in ar9300_decode_txstatus() 78 txs.ds_info & 0xff, in ar9300_decode_txstatus() 85 printf(" TxDone=%d, SeqNo=%d, TxOpExceed=%d, TXBFStatus=%d\n", in ar9300_decode_txstatus() 91 printf(" TXBfMismatch=%d, BFStreamMiss=%d, FinalTxIdx=%d\n", in ar9300_decode_txstatus() 96 printf(" TxBfDestMiss=%d, TxBfExpired=%d, PwrMgmt=%d, Tid=%d," in ar9300_decode_txstatus() 97 " FastTsBit=%d\n", in ar9300_decode_txstatus() [all …]
|
| H A D | ar5416_ds.c | 46 printf("[%u.%06u] [%llu] TXSTATUS: TxDone=%d, FrmOk=%d, filt=%d, TS=0x%08x\n", in ar5416_decode_txstatus() 56 printf(" RX RSSI 0 [%d %d %d]", in ar5416_decode_txstatus() 57 MS(txs.u.tx.status[0], AR_TxRSSIAnt00), in ar5416_decode_txstatus() 58 MS(txs.u.tx.status[0], AR_TxRSSIAnt01), in ar5416_decode_txstatus() 59 MS(txs.u.tx.status[0], AR_TxRSSIAnt02)); in ar5416_decode_txstatus() 62 printf(" RX RSSI 1 [%d %d %d] Comb=%d\n", in ar5416_decode_txstatus() 69 printf(" BA Valid=%d", in ar5416_decode_txstatus() 70 MF(txs.u.tx.status[0], AR_TxBaStatus)); in ar5416_decode_txstatus() 73 printf(", Frmok=%d, xretries=%d, fifounderrun=%d, filt=%d\n", in ar5416_decode_txstatus() 78 printf(" DelimUnderrun=%d, DataUnderun=%d, DescCfgErr=%d," in ar5416_decode_txstatus() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_md5.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 21 #define STEP(f, a, b, c, d, x, t, s) \ argument 22 (a) += f((b), (c), (d)) + (x) + (t); \ 23 (a) = (((a) << (s)) | (((a) & 0xffffffff) >> (32 - (s)))); \ 36 MD5_u32plus a, b, c, d; member 43 MD5_u32plus a, b, c, d; in body() local 49 d = ctx->d; in body() 55 saved_d = d; in body() 57 STEP(F, a, b, c, d, SET(0), 0xd76aa478, 7) in body() 58 STEP(F, d, a, b, c, SET(1), 0xe8c7b756, 12) in body() [all …]
|
| /freebsd/crypto/openssl/crypto/md4/ |
| H A D | md4_dgst.c | 24 #define INIT_DATA_A (unsigned long)0x67452301L 25 #define INIT_DATA_B (unsigned long)0xefcdab89L 26 #define INIT_DATA_C (unsigned long)0x98badcfeL 27 #define INIT_DATA_D (unsigned long)0x10325476L 31 memset(c, 0, sizeof(*c)); in MD4_Init() 35 c->D = INIT_DATA_D; in MD4_Init() 46 register unsigned MD32_REG_T A, B, C, D, l; in md4_block_data_order() local 60 D = c->D; in md4_block_data_order() 64 X(0) = l; in md4_block_data_order() 67 /* Round 0 */ in md4_block_data_order() [all …]
|
| /freebsd/share/man/man4/ |
| H A D | ena.4 | 102 1d0f:0ec2 - ENA PF 104 1d0f:1ec2 - ENA PF with LLQ support 106 1d0f:ec20 - ENA VF 108 1d0f:ec21 - ENA VF with LLQ support 127 The default is 0. 129 If set to 0, page size mbufs will be used instead. 141 If the node value is set to 0, the regular size LLQ header will be used, which 160 The higher the logging level, the more logs will be printed out. 0 means all 169 0 - ENA_ERR - Enable driver error messages and ena_com error logs. 224 sysctl dev.ena.0.rx_queue_size=8192 [all …]
|
| /freebsd/tools/sched/ |
| H A D | schedgraph.d | 35 * # ./schedgraph.d > /tmp/sched.out 40 #pragma D option quiet 41 #pragma D option bufpolicy=ring 43 inline int TDF_IDLETD = 0x00000020; 49 inline int TDI_SUSPENDED = 0x0001; /* On suspension queue. */ 50 inline int TDI_SLEEPING = 0x0002; /* Actually asleep! (tricky). */ 51 inline int TDI_SWAPPED = 0x0004; /* Stack not in mem. Bad juju if run. */ 52 inline int TDI_LOCK = 0x0008; /* Stopped on a lock. */ 53 inline int TDI_IWAIT = 0x0010; /* Awaiting interrupt. */ 56 (((td)->td_inhibitors & TDI_SLEEPING) != 0 ? "sleep" : \ [all …]
|
| /freebsd/contrib/libfido2/src/ |
| H A D | io.c | 34 tx_pkt(fido_dev_t *d, const void *pkt, size_t len, int *ms) 39 if (fido_time_now(&ts) != 0) 42 n = d->io.write(d->io_handle, pkt, len); 44 if (fido_time_delta(&ts, ms) != 0) 51 tx_empty(fido_dev_t *d, uint8_t cmd, int *ms) in tx_empty() argument 55 const size_t len = d->tx_len + 1; in tx_empty() 58 memset(&pkt, 0, sizeof(pkt)); in tx_empty() 60 fp->cid = d->cid; in tx_empty() 63 if (len > sizeof(pkt) || (n = tx_pkt(d, pkt, len, ms)) < 0 || in tx_empty() 67 return (0); in tx_empty() [all …]
|