/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | Makefile.am | 5 zpool_CPPFLAGS += -I$(srcdir)/%D% 11 %D%/zpool_iter.c \ 12 %D%/zpool_main.c \ 13 %D%/zpool_util.c \ 14 %D%/zpool_util.h \ 15 %D%/zpool_vdev.c 19 %D%/os/freebsd/zpool_vdev_os.c 24 %D%/os/linux/zpool_vdev_os.c 37 zpool_LDADD += -lgeom 39 zpool_LDADD += -lm $(LIBBLKID_LIBS) $(LIBUUID_LIBS) [all …]
|
/freebsd/sys/contrib/openzfs/man/ |
H A D | Makefile.am | 2 %D%/man1/cstyle.1 5 %D%/man1/arcstat.1 \ 6 %D%/man1/raidz_test.1 \ 7 %D%/man1/test-runner.1 \ 8 %D%/man1/zhack.1 \ 9 %D%/man1/ztest.1 \ 10 %D%/man1/zvol_wait.1 \ 12 %D%/man5/vdev_id.conf.5 \ 14 %D%/man4/spl.4 \ 15 %D%/man4/zfs.4 \ [all …]
|
/freebsd/contrib/elftoolchain/libelftc/ |
H A D | libelftc_dem_gnu2.c | 1 /*- 40 ELFTC_VCSID("$Id: libelftc_dem_gnu2.c 3513 2016-12-29 07:04:22Z kaiwang27 $"); 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() [all …]
|
H A D | libelftc_dem_arm.c | 1 /*- 40 ELFTC_VCSID("$Id: libelftc_dem_arm.c 3513 2016-12-29 07:04:22Z kaiwang27 $"); 49 * Bjarne Stroustrup, AT&T Bell Laboratories 1990, pp 122-126. 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() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexDecl.cpp | 1 //===- IndexDecl.cpp - Indexing declarations ------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 21 #define TRY_DECL(D,CALL_EXPR) \ argument 23 if (!IndexCtx.shouldIndex(D)) return true; \ 45 bool VisitDecl(const Decl *D) { in VisitDecl() argument 68 if (const NamedDecl *TTD = TD->getTemplatedDecl()) in handleTemplateArgumentLoc() 79 static bool hasUserDefined(const ObjCMethodDecl *D, in hasUserDefined() argument 81 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined() 82 D->isInstanceMethod()); in hasUserDefined() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriterDecl.cpp | 1 //===--- ASTWriterDecl.cpp - Declaration Serialization --------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 30 //===----------------------------------------------------------------------===// 32 //===----------------------------------------------------------------------===// 52 uint64_t Emit(Decl *D) { in Emit() argument 55 D->getDeclKindName() + "'"); in Emit() 59 void Visit(Decl *D); 61 void VisitDecl(Decl *D); [all …]
|
/freebsd/contrib/lua/src/ |
H A D | luac.c | 56 if (*message=='-') in usage() 63 " -l list (use -l -l for full listing)\n" in usage() 64 " -o name output to file 'name' (default is \"%s\")\n" in usage() 65 " -p parse only\n" in usage() 66 " -s strip debug information\n" in usage() 67 " -v show version information\n" in usage() 68 " -- stop handling options\n" in usage() 69 " - stop handling options and process stdin\n" in usage() 83 if (*argv[i]!='-') /* end of options; keep it */ in doargs() 85 else if (IS("--")) /* end of options; skip it */ in doargs() [all …]
|
H A D | ldump.c | 33 ** All high-level dumps go through dumpVector; you can change it to 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 [all …]
|
/freebsd/sys/geom/ |
H A D | geom_bsd_enc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2002 Poul-Henning Kamp 8 * This software was developed for the FreeBSD Project by Poul-Henning Kamp 10 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 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() [all …]
|
/freebsd/lib/libnetmap/ |
H A D | nmport.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 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() [all …]
|
/freebsd/sys/net/ |
H A D | bpf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 111 struct bpfd_list bif_wlist; /* writer-only list */ 134 (offsetof(type, bh_hdrlen) + sizeof(((type *)0)->bh_hdrlen)) 144 * 32-bit version of structure prepended to each packet. We use this header 145 * instead of the standard one for 32-bit streams. We mark the a stream as 146 * 32-bit the first time we see a 32-bit compat ioctl request. 224 &bpf_zerocopy_enable, 0, "Enable new zero-copy BPF buffer sessions"); 307 if_rele(bp->bif_ifp); in bpfif_free() 315 refcount_acquire(&bp->bif_refcnt); in bpfif_ref() [all …]
|
/freebsd/sys/dev/sound/pcm/ |
H A D | sound.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org> 5 * Portions Copyright (c) Ryan Beasley <ryan.beasley@gmail.com> - GSoC 2006 51 int snd_unit = -1; 53 static int snd_unit_auto = -1; 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() [all …]
|
/freebsd/share/man/man4/ |
H A D | mlx.4 | 31 .Nd Mylex DAC-family RAID driver 36 .Bd -ragged -offset indent 44 .Bd -literal -offset indent 50 driver provides support for Mylex DAC-family PCI to SCSI RAID controllers, 57 .Bl -bullet -compact 79 RAIDarray 230 controllers, aka the Ultra-SCSI DEC KZPAC-AA (1-ch, 4MB 80 cache), KZPAC-CA (3-ch, 4MB), KZPAC-CB (3-ch, 8MB cache) 91 .Bl -diag 92 .It mlx%d: controller initialisation in progress... 93 .It mlx%d: initialisation complete [all …]
|
/freebsd/crypto/heimdal/kdc/ |
H A D | connect.c | 2 * Copyright (c) 1997-2005 Kungliga Tekniska Högskolan 37 int enable_http = -1; 98 * add a triple but with service -> port lookup 112 * add the port with service -> port lookup or string -> number 125 port = sp->s_port; in add_port_string() 147 add_port_service(context, family, "kerberos-sec", 88, "udp"); in add_standard_ports() 148 add_port_service(context, family, "kerberos-sec", 88, "tcp"); in add_standard_ports() 151 if(config->enable_kx509) { in add_standard_ports() 159 * parse the set of space-delimited ports in `str' and add them. 222 init_descr(struct descr *d) in init_descr() argument [all …]
|
/freebsd/sys/contrib/openzfs/contrib/debian/ |
H A D | Makefile.am | 1 dist_noinst_DATA += %D%/changelog.in 2 dist_noinst_DATA += %D%/clean 3 dist_noinst_DATA += %D%/control 4 dist_noinst_DATA += %D%/control.modules.in 5 dist_noinst_DATA += %D%/copyright 6 dist_noinst_DATA += %D%/Makefile.am 7 dist_noinst_DATA += %D%/not-installed 8 dist_noinst_DATA += %D%/openzfs-libnvpair3.docs 9 dist_noinst_DATA += %D%/openzfs-libnvpair3.install.in 10 dist_noinst_DATA += %D%/openzfs-libpam-zfs.install [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"); 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", 35 printf(" D => index(\"boofoofoo\", \"foo\") = 3\n"); [all …]
|
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-fetch.c | 2 * Copyright (c) 2014-2019, Intel Corporation 37 #include "intel-pt.h" 58 memset(ffix->buffer, pt_opc_bad, sizeof(ffix->buffer)); in ffix_init() 60 memset(&ffix->config, 0, sizeof(ffix->config)); in ffix_init() 61 ffix->config.size = sizeof(ffix->config); in ffix_init() 62 ffix->config.begin = ffix->buffer; in ffix_init() 63 ffix->config.end = ffix->buffer + sizeof(ffix->buffer); in ffix_init() 65 pt_encoder_init(&ffix->encoder, &ffix->config); in ffix_init() 72 pt_encoder_fini(&ffix->encoder); in ffix_fini() 83 errcode = pt_df_fetch(NULL, ffix->config.begin, &ffix->config); in fetch_null() [all …]
|
/freebsd/contrib/bsddialog/lib/ |
H A D | lib_util.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2021-2023 Alfonso Sabato Siciliano 39 * -1- Error and diagnostic 45 * -- 268 draw_buttons(struct dialog * d) draw_buttons() argument 297 set_buttons(struct dialog * d,bool shortcut,const char * oklabel,const char * cancellabel) set_buttons() argument 921 dialog_size_position(struct dialog * d,int hnotext,int minw,int * htext) dialog_size_position() argument 939 hide_dialog(struct dialog * d) hide_dialog() argument 1035 rtextpad(struct dialog * d,int ytext,int xtext,int upnotext,int downnotext) rtextpad() argument 1047 end_dialog(struct dialog * d) end_dialog() argument 1249 draw_dialog(struct dialog * d) draw_dialog() argument 1328 prepare_dialog(struct bsddialog_conf * conf,const char * text,int rows,int cols,struct dialog * d) prepare_dialog() argument [all...] |
H A D | messagebox.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2021-2024 Alfonso Sabato Siciliano 38 int printrows; /* h - BORDER - HBUTTONS - BORDER */ 41 static void textupdate(struct dialog *d, struc argument 54 message_size_position(struct dialog * d,int * htext) message_size_position() 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/crypto/openssl/crypto/ripemd/ |
H A D | rmd_dgst.c | 2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 30 c->A = RIPEMD160_A; in RIPEMD160_Init() 31 c->B = RIPEMD160_B; in RIPEMD160_Init() 32 c->C = RIPEMD160_C; in RIPEMD160_Init() 33 c->D = RIPEMD160_D; in RIPEMD160_Init() 34 c->E = RIPEMD160_E; in RIPEMD160_Init() 45 register unsigned MD32_REG_T A, B, C, D, E; in ripemd160_block_data_order() local 46 unsigned MD32_REG_T a, b, c, d, e, l; in ripemd160_block_data_order() local 57 for (; num--;) { in ripemd160_block_data_order() 59 A = ctx->A; in ripemd160_block_data_order() [all …]
|
/freebsd/usr.bin/calendar/ |
H A D | dates.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1992-2009 Edwin Groothuis <edwin@FreeBSD.org>. 71 /* 1-based month, 0-based days, cumulative */ 73 {0, -1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364}, 74 {0, -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365}, 76 /* 1-based month, individual */ 86 createdate(int y, int m, int d) in createdate() argument 96 if (py->year == y + 1900) in createdate() 99 py = py->nextyear; in createdate() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 1 //===--- DeclPrinter.cpp - Printing implementation for Decl ASTs ----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // AST back out to C/Objective-C/C++/Objective-C++ code. 12 //===----------------------------------------------------------------------===// 44 /// Print an Objective-C method type in parentheses. 46 /// \param Quals The Objective-C declaration qualifiers. 62 void VisitTranslationUnitDecl(TranslationUnitDecl *D); 63 void VisitTypedefDecl(TypedefDecl *D); 64 void VisitTypeAliasDecl(TypeAliasDecl *D); [all …]
|
/freebsd/lib/libc/tests/stdio/ |
H A D | scanfloat_test.c | 1 /*- 39 #include <atf-c.h> 47 delta = fabsl(a - b); in _eq() 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() 74 sscanf("+1.234568e-52", "%LG", &ld); in ATF_TC_BODY() 75 ATF_REQUIRE(eq(LDBL, ld, 1.234568e-52L)); in ATF_TC_BODY() [all …]
|
/freebsd/tools/tools/ath/athalq/ |
H A D | ar9300_ds.c | 46 memcpy(&p, &a->payload, sizeof(p)); in ath_alq_print_edma_tx_fifo_push() 47 printf("[%u.%06u] [%llu] TXPUSH txq=%d, nframes=%d, fifodepth=%d, frmcount=%d\n", in ath_alq_print_edma_tx_fifo_push() 48 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_alq_print_edma_tx_fifo_push() 49 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_alq_print_edma_tx_fifo_push() 50 (unsigned long long) be64toh(a->hdr.threadid), in ath_alq_print_edma_tx_fifo_push() 63 memcpy(&txs, &a->payload, sizeof(struct ar9300_txs)); in ar9300_decode_txstatus() 65 printf("[%u.%06u] [%llu] TXSTATUS TxTimestamp=%u (%u), DescId=0x%04x, QCU=%d\n", in ar9300_decode_txstatus() 66 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar9300_decode_txstatus() 67 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar9300_decode_txstatus() 68 (unsigned long long) be64toh(a->hdr.threadid), in ar9300_decode_txstatus() [all …]
|
/freebsd/tools/tools/iwn/iwnstats/ |
H A D | main.c | 1 /*- 65 is->s = open(buf, O_RDWR); in iwnstats_new() 66 if (is->s < 0) in iwnstats_new() 76 printf("%s: %s: ina=%d, fina=%d, bad_plcp=%d, bad_crc32=%d, overrun=%d, eoverrun=%d\n", in iwn_stats_phy_print() 79 le32toh(rxphy->ina), in iwn_stats_phy_print() 80 le32toh(rxphy->fina), in iwn_stats_phy_print() 81 le32toh(rxphy->bad_plcp), in iwn_stats_phy_print() 82 le32toh(rxphy->bad_crc32), in iwn_stats_phy_print() 83 le32toh(rxphy->overrun), in iwn_stats_phy_print() 84 le32toh(rxphy->eoverrun)); in iwn_stats_phy_print() [all …]
|