| /freebsd-src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | TypeLocBuilder.cpp | 1 //===--- TypeLocBuilder.cpp - Type Source Info collector ------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // bottom-up. 12 //===----------------------------------------------------------------------===// 30 TypeLoc CurTL = TypeLocs[e-i-1]; in pushFullCopy() 72 unsigned NewIndex = Index + NewCapacity - Capacity; in grow() 75 Capacity - Index); in grow() 97 size_t RequiredCapacity = Capacity + (LocalSize - Index); in pushImpl() 105 // do some extra work to keep everything aligned appropriately. in pushImpl() [all …]
|
| /freebsd-src/sys/contrib/device-tree/Bindings/serial/ |
| H A D | amlogic,meson-uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/serial/amlogic,meson-uart.yaml# 6 $schema: http://devicetree.org/meta-schema [all...] |
| /freebsd-src/stand/i386/ |
| H A D | Makefile | 5 # Almost everything else here relies on btxldr, so we must make sure it's built 6 # before everything else proceeds so we don't end up building against a stale 7 # btxldr and ending up with a build-during-install scenario. 18 # special boot programs, 'self-extracting boot2+loader' 25 .else
|
| /freebsd-src/stand/kboot/kboot/arch/powerpc64/ |
| H A D | load_addr.c | 1 /*- 2 * Copyright (C) 2010-2014 Nathan Whitehorn 45 * contiguous range. It adds everything not in that list to the excluded list. 69 fd = host_open("/proc/device-tree/reserved-ranges", O_RDONLY, 0); in kboot_get_phys_load_segment() 74 be64toh(entry[1]) + rsvd_reg[rsvd_reg_cnt].start - 1; in kboot_get_phys_load_segment() 80 fd = host_open("/proc/device-tree/chosen/linux,kernel-end", O_RDONLY, 0); in kboot_get_phys_load_segment() 86 rsvd_reg[rsvd_reg_cnt].end = be64toh(val_64) - 1; in kboot_get_phys_load_segment() 87 } else { in kboot_get_phys_load_segment() 90 rsvd_reg[rsvd_reg_cnt].end = be32toh(val_32) - 1; in kboot_get_phys_load_segment() 97 fd = host_open("/proc/device-tree/memory@0/reg", O_RDONLY, 0); in kboot_get_phys_load_segment() [all …]
|
| /freebsd-src/share/mk/ |
| H A D | sys.mk | 50 # Disable MK_META_MODE with make -B 51 .if ${MK_META_MODE} == "yes" && defined(.MAKEFLAGS) && ${.MAKEFLAGS:M-B} 56 .-include <sys.dirdeps.mk> 62 .-include <meta.sys.mk> 70 # buildworld -> installworld -> buildworld to rebuild everything. 71 # Since the build is self-reliant and bootstraps everything it needs, 75 # This is mitigated by Makefile.inc1 for known-ABI-breaking revisions. 88 .else 94 # We do not want everything out-of-date just because 100 # This needs to be done early - before .PATH is computed [all …]
|
| /freebsd-src/sys/contrib/device-tree/Bindings/power/ |
| H A D | amlogic,meson-ee-pwrc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/power/amlogic,meson-ee-pwrc.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Amlogic Meson Everything-Else Power Domains 11 - Neil Armstrong <neil.armstrong@linaro.org> 14 The Everything-Else Power Domains node should be the child of a syscon 17 - compatible: Should be the following: 18 "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon" 26 - amlogic,meson8-pwrc [all …]
|
| /freebsd-src/contrib/xz/src/liblzma/simple/ |
| H A D | simple_coder.c | 1 // SPDX-License-Identifier: 0BSD 25 assert(!coder->end_was_reached); in copy_or_code() 27 if (coder->next.code == NULL) { in copy_or_code() 31 if (coder->is_encoder && action == LZMA_FINISH in copy_or_code() 33 coder->end_was_reached = true; in copy_or_code() 35 } else { in copy_or_code() 37 const lzma_ret ret = coder->next.code( in copy_or_code() 38 coder->next.coder, allocator, in copy_or_code() 43 assert(!coder->is_encoder in copy_or_code() 45 coder->end_was_reached = true; in copy_or_code() [all …]
|
| /freebsd-src/contrib/libpcap/ |
| H A D | sockutils.c | 2 * Copyright (c) 2002 - 2003 59 #include "pcap-int.h" 133 if (remaining > fuzzSize - fuzzPos) { 134 remaining = fuzzSize - fuzzPos; in fuzz_recv() 148 #else in sock_geterrcode() 166 #else in sock_vfmterrmsg() 198 * so that lower-rated errors for a given address in a given family 199 * should not overwrite higher-rated errors for another address in that 200 * family, and higher-rated errors should overwrite lower-rate [all...] |
| /freebsd-src/contrib/bmake/unit-tests/ |
| H A D | directive-else.mk | 1 # $NetBSD: directive-else.mk,v 1.9 2023/11/19 21:47:52 rillig Exp $ 3 # Tests for the .else directive. 5 # Since 2020-11-13, an '.else' followed by extraneous text generates a parse 6 # error in -dL (lint) mode. 8 # Since 2020-12-15, an '.else' followed by extraneous text always generates 13 # expect+1: The .else directive does not take arguments 14 .else 123 22 # expect+1: The .else directive does not take arguments 23 .else 123 27 # An .else without a corresponding .if is an error. [all …]
|
| H A D | cond-cmp-numeric.mk | 1 # $NetBSD: cond-cmp-numeric.mk,v 1.7 2023/03/04 08:07:29 rillig Exp $ 6 # cond-token-number.mk 8 .MAKEFLAGS: -dc 10 # The ${:U...} on the left-hand side is necessary for the parser. 27 # they would compare unequal, since NaN is unequal to any and everything, 40 .else 47 .else 56 .else
|
| /freebsd-src/usr.bin/logins/ |
| H A D | logins.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2004 Dag-Erling Smørgrav 62 static int everything = 1; variable 85 (p == list || p[-1] == ',') && in member() 138 grps[ngrps].gr_name = xstrdup(grp->gr_name); in get_groups() 139 grps[ngrps].gr_passwd = xstrdup(grp->gr_passwd); in get_groups() 140 grps[ngrps].gr_gid = grp->gr_gid; in get_groups() 142 for (i = 0, len = 1; grp->gr_mem[i] != NULL; ++i) in get_groups() 143 len += strlen(grp->gr_mem[i]) + 1; in get_groups() [all …]
|
| /freebsd-src/sys/powerpc/fpu/ |
| H A D | fpu_compare.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 10 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 63 * causes an NV exception. Everything else is ordered: 67 * regardless of sign, while everything else depends on sign. 70 * manual---it would be nice if the SPARC documentation were more 79 a = &fe->fe_f1; in fpu_compare() 80 b = &fe->fe_f2; in fpu_compare() 81 r = &fe->fe_f3; in fpu_compare() 93 if (fe->fe_fpscr & FPSCR_VE || ISQNAN(a) || ISQNAN(b)) in fpu_compare() [all …]
|
| /freebsd-src/usr.sbin/efivar/ |
| H A D | efiutil.c | 1 /*- 2 * Copyright (c) 2017-2019 Netflix, Inc. 29 #include <efivar-dp.h> 40 #include <efivar-dp.h> 61 } else { in asciidump() 116 #define SIZE(dp, edp) (size_t)((intptr_t)(void *)edp - (intptr_t)(void *)dp) 145 len = ucs2len(descr); // XXX need to sanity check that len < (datalen - (ep - walker) / 2) in efi_print_load_option() 155 // Everything left is the binary option args in efi_print_load_option() 157 optlen = ep - walker; in efi_print_load_option() 158 // We got to here, everything is good in efi_print_load_option() [all …]
|
| /freebsd-src/crypto/heimdal/lib/hdb/ |
| H A D | hdb-sqlite.c | 133 ret = sqlite3_prepare_v2(db, str, -1, statement, NULL); in hdb_sqlite_prepare_stmt() 138 krb5_warnx(context, "hdb-sqlite: prepare busy"); in hdb_sqlite_prepare_stmt() 140 ret = sqlite3_prepare_v2(db, str, -1, statement, NULL); in hdb_sqlite_prepare_stmt() 161 * @return 0 if OK, else error_code 176 krb5_warnx(context, "hdb-sqlite: exec busy: %d", (int)getpid()); in hdb_sqlite_exec_stmt() 204 hdb_sqlite_db *hsdb = (hdb_sqlite_db*) db->hdb_db; in hdb_sqlite_open_database() 206 ret = sqlite3_open_v2(hsdb->db_file, &hsdb->db, in hdb_sqlite_open_database() 210 if (hsdb->db) { in hdb_sqlite_open_database() 214 hsdb->db_file, sqlite3_errmsg(hsdb->db)); in hdb_sqlite_open_database() 215 sqlite3_close(hsdb->db); in hdb_sqlite_open_database() [all …]
|
| /freebsd-src/sys/conf/ |
| H A D | kmod_syms.awk | 5 while ("${NM:='nm'} -g " ARGV[1] | getline) { 13 # De-list symbols from the export list. 23 # Strip commons, make everything else local. 27 print "-N" member 28 else 29 print "-L" member
|
| H A D | kmod_syms_prefix.awk | 12 # Strip commons, make everything else local. 15 printf("--redefine-sym=%s=%s%s\n", member, prefix, member);
|
| /freebsd-src/contrib/libevent/test/ |
| H A D | bench_http.c | 2 * Copyright 2008-2012 Niels Provos and Nick Mathewson 32 #else 64 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); in http_basic_cb() 78 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); in http_ref_cb() 99 #else in main() 108 if (*argv[i] != '-') in main() 114 fprintf(stderr, "-%c requires argument.\n", c); in main() 168 } else { in main() 175 fprintf(stderr, "/ind - basic content (memory copy)\n"); in main() 178 fprintf(stderr, "/ref - basic content (reference)\n"); in main()
|
| /freebsd-src/contrib/ntp/sntp/libevent/test/ |
| H A D | bench_http.c | 2 * Copyright 2008-2012 Niels Provos and Nick Mathewson 32 #else 64 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); in http_basic_cb() 78 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); in http_ref_cb() 99 #else in main() 108 if (*argv[i] != '-') in main() 114 fprintf(stderr, "-%c requires argument.\n", c); in main() 168 } else { in main() 175 fprintf(stderr, "/ind - basic content (memory copy)\n"); in main() 178 fprintf(stderr, "/ref - basic content (reference)\n"); in main()
|
| /freebsd-src/contrib/ntp/sntp/libopts/ |
| H A D | text_mmap.c | 12 * AutoOpts is Copyright (C) 1992-2018 by Bruce Korb - all rights reserved 44 # else 47 # else 56 * as everybody knows, if open(2) fails, it returns -1, so that must 59 #define AO_INVALID_FD -1 79 * @param mapinfo a structure holding everything we need to know 88 mapinfo->txt_data = AGALOC(mapinfo->txt_size+1, "file text"); in load_text_file() 89 if (mapinfo->txt_data == NULL) { in load_text_file() 90 mapinfo->txt_errno = ENOMEM; in load_text_file() 95 size_t sz = mapinfo->txt_size; in load_text_file() [all …]
|
| /freebsd-src/sys/contrib/device-tree/Bindings/dma/ |
| H A D | dma-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/dma/dma-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinod Koul <vkoul@kernel.org> 13 - $ref: dma-common.yaml# 15 # Everything else is described in the common file 18 pattern: "^dma-controller(@.*)?$"
|
| /freebsd-src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Warnings.cpp | 1 //===--- Warnings.cpp - C-Language Front-end ------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 14 // a number of -Wfoo options and their variants, which are driven by TableGen- 15 // generated data, and the special cases -pedantic, -pedantic-errors, -w, 16 // -Werror and -Wfatal-errors. 20 // -Wfoo, -Wno-foo, -Werror=foo, -Wfatal-errors=foo 32 // EmitUnknownDiagWarning - Emit a warning and typo hint for unknown warning 47 Diags.setSuppressSystemWarnings(true); // Default to -Wno-system-headers in ProcessWarningOptions() [all …]
|
| /freebsd-src/sys/dev/sound/pcm/ |
| H A D | feeder_chain.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008-2009 Ariff Abdullah <ariff@FreeBSD.org> 73 #else 88 /* Force everything to signed 16 bit native endian. */ 94 /* Force everything to signed 32 bit native endian. */ 108 /* Everything tha [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/ObjCopy/wasm/ |
| H A D | WasmObjcopy.cpp | 1 //===- WasmObjcopy.cpp ----------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 50 std::copy(Contents.begin(), Contents.end(), Buf->getBufferStart()); in dumpSectionToFile() 51 if (Error E = Buf->commit()) in dumpSectionToFile() 63 // Explicitly-requested sections. in removeSections() 86 // Remove everything else, including known sections. in removeSections() 94 // Remove everything else, inluding known sections. in removeSections() 130 llvm::StringRef(NewSection.SectionData->getBufferStart(), in handleArgs() 131 NewSection.SectionData->getBufferSize()); in handleArgs() [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Dominators.cpp | 1 //===- Dominators.cpp - Dominator Calculation -----------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===// 18 #include "llvm/Config/llvm-config.h" 42 VerifyDomInfoX("verify-dom-info", cl::location(VerifyDomInfo), cl::Hidden, 47 #else 63 //===----------------------------------------------------------------------===// 65 //===----------------------------------------------------------------------===// 71 //===----------------------------------------------------------------------===// [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | PhiValues.cpp | 1 //===- PhiValues.cpp - Phi Value Analysis ---------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 17 PV->invalidateValue(getValPtr()); in deleted() 23 PV->invalidateValue(getValPtr()); in allUsesReplacedWith() 33 // The goal here is to find all of the non-phi values reachable from this phi, 39 // non-phi values. The SCC may not be the maximal subgraph for that set of 42 // * Tarjan's algorithm completes components in a bottom-up manner, i.e. it 45 // everything we need to collect the values reachable from that component. 46 // * We collect both the non-phi values reachable from each SCC, as that's what [all …]
|