| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldCOFFThumb.h | 1 //===--- RuntimeDyldCOFFThumb.h --- COFF/Thumb specific code ---*- 140 RelocationEntry RE = processRelocationRef() local 147 RelocationEntry RE = processRelocationRef() local 154 RelocationEntry RE = processRelocationRef() local 160 RelocationEntry RE = processRelocationRef() local 166 RelocationEntry RE = processRelocationRef() local 175 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, processRelocationRef() local 186 resolveRelocation(const RelocationEntry & RE,uint64_t Value) resolveRelocation() argument [all...] |
| H A D | RuntimeDyldMachOAArch64.h | 1 //===-- RuntimeDyldMachOAArch64.h -- MachO/AArch64 specific code. -*- C++ -*-=// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 34 Expected<int64_t> decodeAddend(const RelocationEntry &RE) const { in decodeAddend() argument 35 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend() 36 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend() 37 unsigned NumBytes = 1 << RE.Size; in decodeAddend() 40 switch (RE.RelType) { in decodeAddend() 46 << getRelocName(RE.RelType); in decodeAddend() 58 << getRelocName(RE.RelType); in decodeAddend() [all …]
|
| H A D | RuntimeDyldMachOX86_64.h | 1 //===-- RuntimeDyldMachOX86_64.h ---- MachO/X86_64 specific code. -*- C++ -*-=// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 40 Obj.getRelocation(RelI->getRawDataRefImpl()); in processRelocationRef() 49 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef() 50 RE.Addend = memcpyAddend(RE); in processRelocationRef() 52 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef() 58 if (!IsExtern && RE.IsPCRel) in processRelocationRef() 59 makeValueAddendPCRel(Value, RelI, 1 << RE.Size); in processRelocationRef() 71 if (RE.RelType == MachO::X86_64_RELOC_GOT || in processRelocationRef() [all …]
|
| H A D | RuntimeDyldMachOARM.h | 1 //===----- RuntimeDyldMachOARM.h ---- MachO/ARM specific code. ----*- C++ -*-=// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 39 Flags->getTargetFlags() = ARMJITSymbolFlags::fromObjectSymbol(SR); in getJITSymbolFlags() 62 Expected<int64_t> decodeAddend(const RelocationEntry &RE) const { in decodeAddend() argument 63 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend() 64 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend() 66 switch (RE.RelType) { in decodeAddend() 68 return memcpyAddend(RE); in decodeAddend() 107 Obj.getRelocation(RelI->getRawDataRefImpl()); in processRelocationRef() [all …]
|
| H A D | RuntimeDyldCOFFI386.h | 1 //===--- RuntimeDyldCOFFI386.h --- COFF/X86_64 specific code ---*- 116 RelocationEntry RE = processRelocationRef() local 123 RelocationEntry RE = processRelocationRef() local 129 RelocationEntry RE = processRelocationRef() local 142 resolveRelocation(const RelocationEntry & RE,uint64_t Value) resolveRelocation() argument [all...] |
| H A D | RuntimeDyldMachOI386.h | 1 //===---- RuntimeDyldMachOI386.h ---- MachO/I386 specific code. ---*- C++ -*-=// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 40 Obj.getRelocation(RelI->getRawDataRefImpl()); in processRelocationRef() 66 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef() 67 RE.Addend = memcpyAddend(RE); in processRelocationRef() 69 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef() 74 // Addends for external, PC-rel relocations on i386 point back to the zero in processRelocationRef() 79 // if (IsExtern && RE.IsPCRel) { in processRelocationRef() 81 // RelI->getAddress(RelocAddr); in processRelocationRef() [all …]
|
| H A D | RuntimeDyldCOFFAArch64.h | 1 //===-- RuntimeDyldCOFFAArch64.h --- COFF/AArch64 specific code ---*- C++ 2 //-* 257 resolveRelocation(const RelocationEntry & RE,uint64_t Value) resolveRelocation() argument [all...] |
| H A D | RuntimeDyldELFMips.cpp | 1 //===-- RuntimeDyldELFMips.cpp ---- ELF/Mips specific code. -----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 14 void RuntimeDyldELFMips::resolveRelocation(const RelocationEntry &RE, in resolveRelocation() argument 16 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation() 20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 21 RE.SymOffset, RE.SectionID); in resolveRelocation() 23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 24 RE.SymOffset, RE.SectionID); in resolveRelocation() [all …]
|
| H A D | RuntimeDyldCOFFX86_64.h | 1 //===-- RuntimeDyldCOFFX86_64.h --- COFF/X86_64 specific code ---*- C++ -* 87 resolveRelocation(const RelocationEntry & RE,uint64_t Value) resolveRelocation() argument [all...] |
| /freebsd/contrib/elftoolchain/readelf/ |
| H A D | readelf.c | 1 /*- 2 * Copyright (c) 2009-2015 Kai Wang 57 ELFTC_VCSID("$Id: readelf.c 3769 2019-06-29 15:15:02Z emaste $"); 192 {"arch-specific", no_argument, NULL, 'A'}, 193 {"archive-index", no_argument, NULL, 'c'}, 194 {"debug-dump", optional_argument, NULL, OPTION_DEBUG_DUMP}, 197 {"file-header", no_argument, NULL, 'h'}, 198 {"full-section-name", no_argument, NULL, 'N'}, 201 {"hex-dump", required_argument, NULL, 'x'}, 204 {"program-headers", no_argument, NULL, 'l'}, [all …]
|
| /freebsd/sys/dev/safe/ |
| H A D | safe.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 32 * SafeNet SafeXcel-1141 hardware crypto accelerator 133 bus_dmamap_sync((_dma)->dma_tag, (_dma)->dma_map, (_flags)) 167 bus_space_read_4((sc)->sc_st, (sc)->sc_sh, (r)) 170 bus_space_write_4((sc)->sc_st, (sc)->sc_sh, reg, val) 181 0, "RNG polling buffer size (32-bit words)"); 200 switch (pci_get_vendor(sc->sc_dev)) { in safe_partname() 202 switch (pci_get_device(sc->sc_dev)) { in safe_partname() 203 case PCI_PRODUCT_SAFEXCEL: return "SafeNet SafeXcel-1141"; in safe_partname() [all …]
|
| /freebsd/lib/libc/regex/grot/ |
| H A D | Makefile | 1 # You probably want to take -DREDEBUG out of CFLAGS, and put something like 2 # -O in, *after* testing (-DREDEBUG strengthens testing by enabling a lot of 3 # internal assertion checking). Take -Dconst= out for an ANSI compiler. 4 # Do not take -DPOSIX_MISTAKE out. REGCFLAGS isn't important to you (it's 10 CFLAGS+= -static -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS) 12 CFLAGS+= -I${incpath} 15 # If you have an ANSI compiler, take -o out of MKHFLAGS. If you want 16 # the Berkeley __P macro, put -b in. 34 # Stuff that matters only if you're trying to lint the package. 35 LINTFLAGS = -I. -Dstatic= -Dconst= -DREDEBUG [all …]
|
| /freebsd/lib/libc/locale/ |
| H A D | nextwctype.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 44 _RuneLocale *runes = XLOCALE_CTYPE(locale)->runes; in nextwctype_l() 45 _RuneRange *rr = &runes->__runetype_ext; in nextwctype_l() 46 _RuneEntry *base, *re; in nextwctype_l() local 53 if (runes->__runetype[wc] & wct) in nextwctype_l() 57 wc--; in nextwctype_l() 59 if (rr->__ranges != NULL && wc < rr->__ranges[0].__min) { in nextwctype_l() 60 wc = rr->__ranges[0].__min; in nextwctype_l() 64 /* Binary search -- see bsearch.c for explanation. */ in nextwctype_l() [all …]
|
| /freebsd/contrib/atf/atf-c/detail/ |
| H A D | list_test.c | 26 #include "atf-c/detail/list.h" 31 #include <atf-c.h> 33 #include "atf-c/detail/test_helpers.h" 34 #include "atf-c/utils.h" 36 /* --------------------------------------------------------------------- 38 * --------------------------------------------------------------------- */ 53 RE(atf_list_init(&list)); in ATF_TC_BODY() 74 RE(atf_list_init(&list)); in ATF_TC_BODY() 75 RE(atf_list_append(&list, &i1, false)); in ATF_TC_BODY() 76 RE(atf_list_append(&list, &i2, false)); in ATF_TC_BODY() [all …]
|
| H A D | dynstr_test.c | 26 #include "atf-c/detail/dynstr.h" 34 #include <atf-c.h> 36 #include "atf-c/detail/test_helpers.h" 38 /* --------------------------------------------------------------------- 40 * --------------------------------------------------------------------- */ 55 RE(atf_dynstr_init(&str)); in ATF_TC_BODY() 68 RE(atf_dynstr_init_ap(str, fmt, ap)); in init_fmt() 112 RE(atf_dynstr_init_fmt(&str, "String 1")); in ATF_TC_BODY() 116 RE(atf_dynstr_init_fmt(&str, "String %d", 2)); in ATF_TC_BODY() 120 RE(atf_dynstr_init_fmt(&str, "%s %d", "String", 3)); in ATF_TC_BODY() [all …]
|
| H A D | map_test.c | 26 #include "atf-c/detail/map.h" 31 #include <atf-c.h> 33 #include "atf-c/detail/test_helpers.h" 34 #include "atf-c/utils.h" 36 /* --------------------------------------------------------------------- 38 * --------------------------------------------------------------------- */ 53 RE(atf_map_init(&map)); in ATF_TC_BODY() 63 RE(atf_map_init_charpp(&map, NULL)); in ATF_TC_BODY() 74 RE(atf_map_init_charpp(&map, array)); in ATF_TC_BODY() 86 RE(atf_map_init_charpp(&map, array)); in ATF_TC_BODY() [all …]
|
| H A D | fs_test.c | 26 #include "atf-c/detail/fs.h" 38 #include <atf-c.h> 40 #include "atf-c/detail/test_helpers.h" 41 #include "atf-c/detail/user.h" 43 /* --------------------------------------------------------------------- 45 * --------------------------------------------------------------------- */ 54 if (ret == -1) in create_dir() 65 if (fd == -1) in create_file() 88 /* --------------------------------------------------------------------- 90 * --------------------------------------------------------------------- */ [all …]
|
| /freebsd/sys/dev/ath/ |
| H A D | if_ath_rx_edma.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 44 * by the driver - eg, calls to ath_hal_gettsf32(). 129 #define INCR(_l, _sz) (_l) ++; (_l) &= ((_sz) - 1) 130 #define DECR(_l, _sz) (_l) --; (_l) &= ((_sz) - 1) 139 * + Verify multi-descriptor frames work! 146 * XXX shuffle the function orders so these pre-declarations aren't 161 struct ath_hal *ah = sc->sc_ah; in ath_edma_stoprecv() 175 sc->sc_rx_stopped = 1; in ath_edma_stoprecv() 184 /* XXX should generic-ify this */ in ath_edma_stoprecv() [all …]
|
| /freebsd/contrib/googletest/googletest/test/ |
| H A D | googletest-port-test.cc | 30 // This file tests the internal cross-platform support utilities. 33 #include "gtest/internal/gtest-port.h" 47 #include "gtest/gtest-spi.h" 49 #include "src/gtest-internal-inl.h" 65 EXPECT_FALSE(IsXDigit('-')); in TEST() 83 EXPECT_FALSE(IsXDigit(L'-')); in TEST() 210 #pragma GCC diagnostic ignored "-Wdangling-else" 211 #pragma GCC diagnostic ignored "-Wempty-body" 212 #pragma GCC diagnostic ignored "-Wpragmas" 259 EXPECT_EQ("foo.cc:", FormatFileLocation("foo.cc", -1)); in TEST() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/modules/std/ |
| H A D | regex.cppm | |
| /freebsd/contrib/tcsh/ |
| H A D | csh-mode.el | 1 ;; csh-mode.el --- csh (and tcsh) script editing mode for Emacs. 11 ;; Put csh-mode.el in some directory in your load-path and load it. 16 ;; fashion as other programming language modes. Invoke describe-mode 22 ;; DH - Dan Harkless <software@harkless.org> 23 ;; CM - Carlo Migliorini <migliorini@sodalia.it> 24 ;; JR - Jack Repenning <jackr@sgi.com> 25 ;; GE - Gary Ellison <Gary.F.Ellison@att.com> 30 ;; --------- -- -------------------------------------------------------------- 31 ;; 2 Apr 99 DH 1.2: Noticed an out-of-date comment referencing .bashrc etc. 32 ;; 11 Dec 96 DH 1.1: ksh-mode just indented continuation lines by 1 space. [all …]
|
| /freebsd/lib/libc/regex/ |
| H A D | regex.3 | 40 .Nd regular-expression library 63 .St -p1003.2 65 .Pq Do RE Dc Ns s ; 71 compiles an RE written as a string into an internal form, 75 transforms error codes from either into human-readable messages, 78 frees any dynamically-allocated storage used by the internal form 79 of an RE. 110 .Bl -tag -width REG_EXTENDED 128 .Dq RE 132 .St -p1003.2 , [all …]
|
| /freebsd/contrib/nvi/regex/ |
| H A D | regex.3 | 42 regcomp, regexec, regerror, regfree \- regular-expression library 62 These routines implement POSIX 1003.2 regular expressions (``RE''s); 66 compiles an RE written as a string into an internal form, 70 transforms error codes from either into human-readable messages, 73 frees any dynamically-allocated storage used by the internal form 74 of an RE. 110 so the ``RE'' is a literal string. 126 Compile for newline-sensitive matching. 146 This flag permits inclusion of NULs in the RE; 164 contains the number of parenthesized subexpressions within the RE [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldMachO.cpp | 1 //===-- RuntimeDyldMachO.cpp - Run-time dynamic linker for MC-JIT -*- C++ -*-=// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // Implementation of the MC-JIT runtime dynamic linker. 11 //===----------------------------------------------------------------------===// 46 int64_t RuntimeDyldMachO::memcpyAddend(const RelocationEntry &RE) const { in memcpyAddend() 47 unsigned NumBytes = 1 << RE.Size; in memcpyAddend() 48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend() 61 MachO::any_relocation_info RE = in processScatteredVANILLA() local 62 Obj.getRelocation(RelI->getRawDataRefImpl()); in processScatteredVANILLA() [all …]
|
| /freebsd/usr.bin/m4/ |
| H A D | gnum4.c | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 31 * functions needed to support gnu-m4 extensions, including a fake freezing 60 * First, -I options, in the order found on the command line. 81 n->name = xstrdup(dirname); in new_path_entry() 82 n->next = 0; in new_path_entry() 94 last->next = n; in addtoincludepath() 115 /* for portability: getenv result is read-only */ in ensure_m4path() 131 for (pe = first; pe; pe = pe->next) { in dopath() 132 snprintf(path, sizeof(path), "%s/%s", pe->name, filename); in dopath() [all …]
|