/freebsd/contrib/elftoolchain/libelftc/ |
H A D | libelftc_dem_arm.c | 71 #define VEC_PUSH_STR(d,s) vector_str_push((d), (s), strlen((s))) argument 100 struct demangle_data d; in cpp_demangle_ARM() local 108 if (init_demangle_data(&d) == false) in cpp_demangle_ARM() 114 d.p = org; in cpp_demangle_ARM() 115 if (read_func_name(&d) == false) in cpp_demangle_ARM() 118 if (d.type == ENCODE_OP_CT) { in cpp_demangle_ARM() 119 if (push_CTDT("::", 2, &d.vec) == false) in cpp_demangle_ARM() 125 if (d.type == ENCODE_OP_DT) { in cpp_demangle_ARM() 126 if (push_CTDT("::~", 3, &d.vec) == false) in cpp_demangle_ARM() 132 if (d.type == ENCODE_OP_USER) in cpp_demangle_ARM() [all …]
|
H A D | libelftc_dem_gnu2.c | 69 #define VEC_PUSH_STR(d,s) vector_str_push((d), (s), strlen((s))) argument 98 struct demangle_data d; in cpp_demangle_gnu2() local 106 if (init_demangle_data(&d) == false) in cpp_demangle_gnu2() 112 d.p = org; in cpp_demangle_gnu2() 113 if (read_func_name(&d) == false) in cpp_demangle_gnu2() 116 switch (d.type) { in cpp_demangle_gnu2() 122 if (push_CTDT("::", 2, &d.vec) == false) in cpp_demangle_gnu2() 127 if (push_CTDT("::~", 3, &d.vec) == false) in cpp_demangle_gnu2() 130 if (VEC_PUSH_STR(&d.vec, "(void)") == false) in cpp_demangle_gnu2() 141 if (*d.p == 'F') in cpp_demangle_gnu2() [all …]
|
/freebsd/cddl/usr.sbin/dtrace/tests/common/aggs/ |
H A D | Makefile | 8 err.D_AGG_FUNC.bad.d \ 9 err.D_AGG_MDIM.bad.d \ 10 err.D_AGG_NULL.bad.d \ 11 err.D_AGG_REDEF.redef.d \ 12 err.D_AGG_SCALAR.avgtoofew.d \ 13 err.D_AGG_SCALAR.maxnoarg.d \ 14 err.D_AGG_SCALAR.mintoofew.d \ 15 err.D_AGG_SCALAR.quantizetoofew.d \ 16 err.D_AGG_SCALAR.stddevtoofew.d \ 17 err.D_AGG_SCALAR.sumtoofew.d \ [all …]
|
/freebsd/cddl/usr.sbin/dtrace/tests/common/dtraceUtil/ |
H A D | Makefile | 8 err.D_PDESC_ZERO.InvalidDescription1.d \ 9 man.APIVersion.d \ 10 man.AddSearchPath.d \ 11 man.CoalesceTrace.d \ 12 man.ELFGeneration.d \ 13 man.IncludedFilePath.d \ 14 man.ShowCompilerCode.d \ 15 man.VerboseStabilityReport.d \ 16 tst.AddSearchPath.d.ksh \ 17 tst.BufsizeGiga.d.ksh \ [all …]
|
/freebsd/cddl/usr.sbin/dtrace/tests/common/funcs/ |
H A D | Makefile | 8 err.D_FUNC_UNDEF.progenyofbad1.d \ 9 err.D_OP_VFPTR.badop.d \ 10 err.D_PROTO_ARG.chillbadarg.d \ 11 err.D_PROTO_ARG.copyoutbadarg.d \ 12 err.D_PROTO_ARG.mobadarg.d \ 13 err.D_PROTO_ARG.raisebadarg.d \ 14 err.D_PROTO_ARG.tolower.d \ 15 err.D_PROTO_ARG.toupper.d \ 16 err.D_PROTO_LEN.allocanoarg.d \ 17 err.D_PROTO_LEN.badbreakpoint.d \ [all …]
|
/freebsd/sys/geom/ |
H A D | geom_bsd_enc.c | 56 bsd_partition_le_dec(u_char *ptr, struct partition *d) in bsd_partition_le_dec() argument 58 d->p_size = le32dec(ptr + 0); in bsd_partition_le_dec() 59 d->p_offset = le32dec(ptr + 4); in bsd_partition_le_dec() 60 d->p_fsize = le32dec(ptr + 8); in bsd_partition_le_dec() 61 d->p_fstype = ptr[12]; in bsd_partition_le_dec() 62 d->p_frag = ptr[13]; in bsd_partition_le_dec() 63 d->p_cpg = le16dec(ptr + 14); in bsd_partition_le_dec() 67 bsd_disklabel_le_dec(u_char *ptr, struct disklabel *d, int maxpart) in bsd_disklabel_le_dec() argument 73 d->d_magic = le32dec(ptr + 0); in bsd_disklabel_le_dec() 74 if (d->d_magic != DISKMAGIC) in bsd_disklabel_le_dec() [all …]
|
/freebsd/sys/net/ |
H A D | bpf.c | 328 bpfd_ref(struct bpf_d *d) in bpfd_ref() argument 331 refcount_acquire(&d->bd_refcnt); in bpfd_ref() 335 bpfd_rele(struct bpf_d *d) in bpfd_rele() argument 338 if (!refcount_release(&d->bd_refcnt)) in bpfd_rele() 340 NET_EPOCH_CALL(bpfd_free, &d->epoch_ctx); in bpfd_rele() 370 bpf_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, void *src, in bpf_append_bytes() argument 374 BPFD_LOCK_ASSERT(d); in bpf_append_bytes() 376 switch (d->bd_bufmode) { in bpf_append_bytes() 378 return (bpf_buffer_append_bytes(d, buf, offset, src, len)); in bpf_append_bytes() 381 counter_u64_add(d->bd_zcopy, 1); in bpf_append_bytes() [all …]
|
/freebsd/lib/libc/tests/stdio/ |
H A D | scanfloat_test.c | 56 double d = 0.0; in ATF_TC_BODY() local 65 sscanf("3.141592653589793", "%lf", &d); in ATF_TC_BODY() 66 ATF_REQUIRE(eq(DBL, d, 3.141592653589793)); in ATF_TC_BODY() 71 sscanf("-1.234568e6", "%lF", &d); in ATF_TC_BODY() 72 ATF_REQUIRE(eq(DBL, d, -1.234568e6)); in ATF_TC_BODY() 77 sscanf("0.1", "%la", &d); in ATF_TC_BODY() 78 ATF_REQUIRE(eq(DBL, d, 0.1)); in ATF_TC_BODY() 80 sscanf("00.2", "%lA", &d); in ATF_TC_BODY() 81 ATF_REQUIRE(eq(DBL, d, 0.2)); in ATF_TC_BODY() 83 sscanf("123456", "%5le%s", &d, buf); in ATF_TC_BODY() [all …]
|
/freebsd/cddl/usr.sbin/dtrace/tests/common/speculation/ |
H A D | Makefile | 8 bug.1001148.SpecSizeVariations.d \ 9 err.BufSizeVariations1.d \ 10 err.BufSizeVariations2.d \ 11 err.D_ACT_SPEC.SpeculateWithBreakPoint.d \ 12 err.D_ACT_SPEC.SpeculateWithChill.d \ 13 err.D_ACT_SPEC.SpeculateWithCopyOut.d \ 14 err.D_ACT_SPEC.SpeculateWithCopyOutStr.d \ 15 err.D_ACT_SPEC.SpeculateWithPanic.d \ 16 err.D_ACT_SPEC.SpeculateWithRaise.d \ 17 err.D_ACT_SPEC.SpeculateWithStop.d \ [all …]
|
/freebsd/sys/dev/sound/pcm/ |
H A D | sound.c | 99 struct snddev_info *d; in snd_setup_intr() local 103 d = device_get_softc(dev); in snd_setup_intr() 104 if (d != NULL && (flags & INTR_MPSAFE)) in snd_setup_intr() 105 d->flags |= SD_F_MPSAFE; in snd_setup_intr() 111 pcm_chnalloc(struct snddev_info *d, struct pcm_channel **ch, int direction, in pcm_chnalloc() argument 118 KASSERT(d != NULL && ch != NULL && in pcm_chnalloc() 121 __func__, d, ch, direction, pid)); in pcm_chnalloc() 122 PCM_BUSYASSERT(d); in pcm_chnalloc() 125 vchancount = (direction == PCMDIR_PLAY) ? d->pvchancount : in pcm_chnalloc() 126 d->rvchancount; in pcm_chnalloc() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/tracemem/ |
H A D | tst.dynsize.d.out | 2 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 13 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 24 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 35 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 46 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 57 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 68 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 79 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 90 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 101 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef [all …]
|
/freebsd/cddl/usr.sbin/dtrace/tests/common/types/ |
H A D | Makefile | 8 err.D_CAST_INVAL.badcast.d \ 9 err.D_CG_DYN.ResultDynType.d \ 10 err.D_CHR_OFLOW.charconst.d \ 11 err.D_DECL_BADCLASS.bad.d \ 12 err.D_DECL_CHARATTR.badtype3.d \ 13 err.D_DECL_COMBO.badtype4.d \ 14 err.D_DECL_COMBO.badtype5.d \ 15 err.D_DECL_ENCONST.badeval.d \ 16 err.D_DECL_ENOFLOW.enoflow.d \ 17 err.D_DECL_ENOFLOW.enuflow.d \ [all …]
|
/freebsd/crypto/heimdal/kdc/ |
H A D | connect.c | 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() 234 reinit_descrs (struct descr *d, int n) in reinit_descrs() argument 239 d[i].sa = (struct sockaddr *)&d[i].__ss; in reinit_descrs() 249 struct descr *d, krb5_address *a, int family, int type, int port) in init_socket() argument 256 init_descr (d); in init_socket() 261 rk_closesocket(d->s); in init_socket() 262 d->s = rk_INVALID_SOCKET; in init_socket() [all …]
|
/freebsd/cddl/usr.sbin/dtrace/tests/common/printf/ |
H A D | Makefile | 8 err.D_PRINTF_AGG_CONV.aggfmt.d \ 9 err.D_PRINTF_ARG_EXTRA.toomany.d \ 10 err.D_PRINTF_ARG_EXTRA.widths.d \ 11 err.D_PRINTF_ARG_FMT.badfmt.d \ 12 err.D_PRINTF_ARG_PROTO.novalue.d \ 13 err.D_PRINTF_ARG_TYPE.aggarg.d \ 14 err.D_PRINTF_ARG_TYPE.recursive.d \ 15 err.D_PRINTF_DYN_PROTO.noprec.d \ 16 err.D_PRINTF_DYN_PROTO.nowidth.d \ 17 err.D_PRINTF_DYN_TYPE.badprec.d \ [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/contrib/bsddialog/lib/ |
H A D | messagebox.c | 41 static void textupdate(struct dialog *d, struct scroll *s) in textupdate() argument 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, in argument 72 message_draw(struct dialog * d,struct scroll * s) message_draw() argument 103 struct dialog d; do_message() local 211 struct dialog d; bsddialog_infobox() local [all...] |
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-fetch.c | 289 int pt_pkt_decode_unknown(struct pt_packet_decoder *d, struct pt_packet *p) in pt_pkt_decode_unknown() argument 291 (void) d; in pt_pkt_decode_unknown() 296 int pt_qry_decode_unknown(struct pt_query_decoder *d) in pt_qry_decode_unknown() argument 298 (void) d; in pt_qry_decode_unknown() 303 int pt_pkt_decode_pad(struct pt_packet_decoder *d, struct pt_packet *p) in pt_pkt_decode_pad() argument 305 (void) d; in pt_pkt_decode_pad() 310 int pt_qry_decode_pad(struct pt_query_decoder *d) in pt_qry_decode_pad() argument 312 (void) d; in pt_qry_decode_pad() 317 int pt_pkt_decode_psb(struct pt_packet_decoder *d, struct pt_packet *p) in pt_pkt_decode_psb() argument 319 (void) d; in pt_pkt_decode_psb() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | Makefile.am | 41 dist_noinst_DATA += %D%/zpool.d/README 44 zpoolexecdir = $(zfsexecdir)/zpool.d 46 %D%/zpool.d/ata_err \ 47 %D%/zpool.d/cmd_to \ 48 %D%/zpool.d/defect \ 49 %D%/zpool.d/dm-deps \ 50 %D%/zpool.d/enc \ 51 %D%/zpool.d/encdev \ 52 %D%/zpool.d/fault_led \ 53 %D%/zpool.d/health \ [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/ |
H A D | sha1.c | 132 isc_uint32_t *d, isc_uint32_t *e, CHAR64LONG16 *); 134 isc_uint32_t *d, isc_uint32_t *e, CHAR64LONG16 *); 136 isc_uint32_t *d, isc_uint32_t *e, CHAR64LONG16 *); 138 isc_uint32_t *d, isc_uint32_t *e, CHAR64LONG16 *); 147 do_R01(isc_uint32_t *a, isc_uint32_t *b, isc_uint32_t *c, isc_uint32_t *d, in do_R01() argument 150 nR0(a,b,c,d,e, 0); nR0(e,a,b,c,d, 1); nR0(d,e,a,b,c, 2); in do_R01() 151 nR0(c,d,e,a,b, 3); nR0(b,c,d,e,a, 4); nR0(a,b,c,d,e, 5); in do_R01() 152 nR0(e,a,b,c,d, 6); nR0(d,e,a,b,c, 7); nR0(c,d,e,a,b, 8); in do_R01() 153 nR0(b,c,d,e,a, 9); nR0(a,b,c,d,e,10); nR0(e,a,b,c,d,11); in do_R01() 154 nR0(d,e,a,b,c,12); nR0(c,d,e,a,b,13); nR0(b,c,d,e,a,14); in do_R01() [all …]
|
/freebsd/cddl/usr.sbin/dtrace/tests/common/safety/ |
H A D | Makefile | 8 tst.basename.d \ 9 tst.caller.d \ 10 tst.cleanpath.d \ 11 tst.copyin.d \ 12 tst.copyin2.d \ 13 tst.ddi_pathname.d \ 14 tst.dirname.d \ 15 tst.errno.d \ 16 tst.execname.d \ 17 tst.gid.d \ [all …]
|
/freebsd/contrib/bc/tests/ |
H A D | other.sh | 53 d="$1" 55 check_d_arg "$d" 66 exe="$testdir/../bin/$d" 74 if [ "$d" = "bc" ]; then 90 if [ "$d" = "bc" ]; then 113 printf '\nRunning %s quit test...' "$d" 117 checktest_retcode "$d" "$?" "quit" 120 if [ "$d" = bc ]; then 124 checktest_retcode "$d" "$?" quit 128 checktest_retcode "$d" " [all...] |
/freebsd/cddl/usr.sbin/dtrace/tests/common/preprocessor/ |
H A D | Makefile | 8 err.D_IDENT_UNDEF.afterprobe.d \ 9 err.D_PRAGCTL_INVAL.tabdefine.d \ 10 err.D_SYNTAX.withoutpound.d \ 11 err.defincomp.d \ 12 err.ifdefelsenotendif.d \ 13 err.ifdefincomp.d \ 14 err.ifdefnotendif.d \ 15 err.incompelse.d \ 16 err.mulelse.d \ 17 tst.ifdef.d \ [all …]
|
/freebsd/lib/libc/regex/grot/ |
H A D | debug.c | 20 regprint(r, d) in regprint() argument 22 FILE *d; 29 fprintf(d, "%ld states", (long)g->nstates); 30 fprintf(d, ", first %ld last %ld", (long)g->firststate, 33 fprintf(d, ", USEBOL"); 35 fprintf(d, ", USEEOL"); 37 fprintf(d, ", BAD"); 39 fprintf(d, ", nsub=%ld", (long)g->nsub); 41 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen, 44 fprintf(d, ", backrefs"); [all …]
|
/freebsd/cddl/usr.sbin/dtrace/tests/common/llquantize/ |
H A D | Makefile | 8 err.D_LLQUANT_FACTOREVEN.nodivide.d \ 9 err.D_LLQUANT_FACTOREVEN.notfactor.d \ 10 err.D_LLQUANT_FACTORMATCH.d \ 11 err.D_LLQUANT_FACTORNSTEPS.d \ 12 err.D_LLQUANT_FACTORSMALL.d \ 13 err.D_LLQUANT_FACTORTYPE.d \ 14 err.D_LLQUANT_FACTORVAL.d \ 15 err.D_LLQUANT_HIGHMATCH.d \ 16 err.D_LLQUANT_HIGHTYPE.d \ 17 err.D_LLQUANT_HIGHVAL.d \ [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | keytab_memory.c | 56 struct mkt_data *d; in mkt_resolve() local 60 for (d = mkt_head; d != NULL; d = d->next) in mkt_resolve() 61 if (strcmp(d->name, name) == 0) in mkt_resolve() 63 if (d) { in mkt_resolve() 64 if (d->refcount < 1) in mkt_resolve() 66 "refcount < 1 %d", d->refcount); in mkt_resolve() 67 d->refcount++; in mkt_resolve() 68 id->data = d; in mkt_resolve() 73 d = calloc(1, sizeof(*d)); in mkt_resolve() 74 if(d == NULL) { in mkt_resolve() [all …]
|