Home
last modified time | relevance | path

Searched refs:CRC (Results 1 – 25 of 66) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DCRC.cpp75 uint32_t llvm::crc32(uint32_t CRC, ArrayRef<uint8_t> Data) { in crc32() argument
76 CRC ^= 0xFFFFFFFFU; in crc32()
78 int TableIdx = (CRC ^ Byte) & 0xff; in crc32()
79 CRC = CRCTable[TableIdx] ^ (CRC >> 8); in crc32()
81 return CRC ^ 0xFFFFFFFFU; in crc32()
87 uint32_t llvm::crc32(uint32_t CRC, ArrayRef<uint8_t> Data) { in crc32() argument
93 CRC = ::crc32(CRC, (const Bytef *)Slice.data(), (uInt)Slice.size()); in crc32()
96 return CRC; in crc32()
104 CRC ^= 0xFFFFFFFFU; // Undo CRC-32 Init. in update()
105 CRC = crc32(CRC, Data); in update()
[all …]
H A DCrashRecoveryContext.cpp36 CrashRecoveryContext *CRC; member
43 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) noexcept in CrashRecoveryContextImpl()
44 : CRC(CRC), Failed(false), SwitchedThread(false), ValidJumpBuffer(false) { in CrashRecoveryContextImpl()
73 if (CRC->DumpStackAndCleanupOnFailure) in HandleCrash()
76 CRC->RetCode = RetCode; in HandleCrash()
136 return CRCI->CRC; in GetCurrent()
485 CrashRecoveryContext *CRC; member
498 Info->Result = Info->CRC->RunSafely(Info->Fn); in RunSafelyOnThread_Dispatch()
510 if (CrashRecoveryContextImpl *CRC = (CrashRecoveryContextImpl *)Impl) in RunSafelyOnThread() local
511 CRC->setSwitchedThread(); in RunSafelyOnThread()
H A DProcess.cpp97 if (CrashRecoveryContext *CRC = CrashRecoveryContext::GetCurrent()) in Exit() local
98 CRC->HandleExit(RetCode); in Exit()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCondMov.td59 def : MipsPat<(select (i32 (setge CRC:$lhs, CRC:$rhs)), DRC:$T, DRC:$F),
60 (MOVZInst DRC:$T, (SLTOp CRC:$lhs, CRC:$rhs), DRC:$F)>;
61 def : MipsPat<(select (i32 (setuge CRC:$lhs, CRC:$rhs)), DRC:$T, DRC:$F),
62 (MOVZInst DRC:$T, (SLTuOp CRC:$lhs, CRC:$rhs), DRC:$F)>;
67 def : MipsPat<(select (i32 (setle CRC:$lhs, CRC:$rhs)), DRC:$T, DRC:$F),
68 (MOVZInst DRC:$T, (SLTOp CRC:$rhs, CRC:$lhs), DRC:$F)>;
69 def : MipsPat<(select (i32 (setule CRC:$lhs, CRC:$rhs)), DRC:$T, DRC:$F),
70 (MOVZInst DRC:$T, (SLTuOp CRC:$rhs, CRC:$lhs), DRC:$F)>;
82 def : MipsPat<(select (i32 (seteq CRC:$lhs, CRC:$rhs)), DRC:$T, DRC:$F),
83 (MOVZInst DRC:$T, (XOROp CRC:$lhs, CRC:$rhs), DRC:$F)>;
[all …]
/freebsd-13.1/sys/geom/raid/
H A Dmd_ddf.h41 uint32_t CRC; member
92 uint32_t CRC; member
166 uint32_t CRC; member
211 uint32_t CRC; member
223 uint32_t CRC; member
280 uint32_t CRC; member
293 uint32_t CRC; member
310 uint32_t CRC; member
331 uint32_t CRC; member
342 uint32_t CRC; member
H A Dmd_ddf.c1081 val = GET32(meta, hdr->CRC); in ddf_meta_read()
1082 SET32(meta, hdr->CRC, 0xffffffff); in ddf_meta_read()
1122 val = GET32(meta, hdr->CRC); in ddf_meta_read()
1123 SET32(meta, hdr->CRC, 0xffffffff); in ddf_meta_read()
1293 SET32(meta, hdr->CRC, 0xffffffff); in ddf_meta_write()
1309 SET32(meta, cdr->CRC, 0xffffffff); in ddf_meta_write()
1317 SET32(meta, pdr->CRC, 0xffffffff); in ddf_meta_write()
1325 SET32(meta, vdr->CRC, 0xffffffff); in ddf_meta_write()
1336 SET32D(meta, vdc->CRC, 0xffffffff); in ddf_meta_write()
1345 SET32(meta, pdd->CRC, 0xffffffff); in ddf_meta_write()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DCRC.h26 uint32_t crc32(uint32_t CRC, ArrayRef<uint8_t> Data);
47 JamCRC(uint32_t Init = 0xFFFFFFFFU) : CRC(Init) {} in CRC() function
52 uint32_t getCRC() const { return CRC; } in getCRC()
55 uint32_t CRC;
/freebsd-13.1/usr.bin/cksum/
H A Dcrc32.c25 #define CRC(crc, ch) (crc = (crc >> 8) ^ crctab[(crc ^ (ch)) & 0xff]) macro
112 CRC(lcrc, *p) ; in crc32()
113 CRC(crc32_total, *p) ; in crc32()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DStack.cpp69 llvm::CrashRecoveryContext CRC; in runWithSufficientStackSpaceSlow() local
70 CRC.RunSafelyOnThread([&] { in runWithSufficientStackSpaceSlow()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.cpp98 llvm::CrashRecoveryContext CRC; in onBodySynthesis() local
100 CRC.RunSafelyOnThread([&]() { Instance.ExecuteAction(parseModelFile); }, in onBodySynthesis()
/freebsd-13.1/contrib/libpcap/doc/
H A DREADME.dag97 CRC/FCS. If the card is not configured to discard the CRC/FCS, this
102 how many bits of CRC/FCS to strip from the end of the captured
104 configured to strip the CRC/FCS, then set ERF_FCS_BITS=0. If used with
105 a HDLC/PoS/PPP/Frame Relay link with 16 bit CRC/FCS, then set
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFileBuilder.cpp174 JamCRC CRC(0); in finalizeMsfLayout() local
175 CRC.update(arrayRefFromStringRef(IS.Content->getBuffer())); in finalizeMsfLayout()
187 Entry.CRC = CRC.getCRC(); in finalizeMsfLayout()
H A DNativeEnumInjectedSources.cpp45 uint32_t getCrc32() const override { return Entry.CRC; } in getCrc32()
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/
H A DJob.cpp397 llvm::CrashRecoveryContext CRC; in Execute() local
398 CRC.DumpStackAndCleanupOnFailure = true; in Execute()
405 if (!CRC.RunSafely([&]() { R = D.CC1Main(Argv); })) { in Execute()
407 return CRC.RetCode; in Execute()
/freebsd-13.1/sys/contrib/zlib/doc/
H A Drfc1952.txt84 8. Appendix: Sample CRC Code .................................. 11
163 terminology was changed, and the sample CRC code was rewritten for
419 CRC32 (CRC-32)
421 uncompressed data computed according to CRC-32 algorithm
511 [7] Schwaderer, W.D., "CRC Calculation", April 85 PC Tech Journal,
515 describing the CRC concept.
527 setting and checking the CRC-32 check value.
586 8. Appendix: Sample CRC Code
589 the CRC (Cyclic Redundancy Check). (See also ISO 3309 and ITU-T V.42
611 /* Make the table for a fast CRC. */
[all …]
/freebsd-13.1/share/monetdef/
H A Des_CR.UTF-8.src7 CRC
/freebsd-13.1/sys/contrib/device-tree/Bindings/crypto/
H A Dst,stm32-crc.yaml7 title: STMicroelectronics STM32 CRC bindings
H A Dfsl-sec2.txt28 bit 8 = set if SEC has the CRC EU (CRCU)
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPULDSUtils.cpp114 CollectReachableCallees CRC{M}; in collectReachableCallees() local
115 CRC.collectReachableCallees(KernelToCallees); in collectReachableCallees()
/freebsd-13.1/contrib/file/magic/Magdir/
H A Dvirtual90 # The Checksum field is a CRC-32C hash over the entire 4 KB structure
91 #>>0x10004 ulelong x \b, CRC %#x
115 #>>>(0x10048.q+4) ulelong x \b, Log CRC %#x
140 # region Checksum. CRC-32C hash over the entire 64-KB table
141 #>>0x30004 ulelong x \b, CRC %#x
/freebsd-13.1/sys/contrib/device-tree/Bindings/net/
H A Dmediatek,star-emac.yaml15 modes with flow-control as well as CRC offloading and VLAN tags.
/freebsd-13.1/sys/contrib/device-tree/Bindings/clock/
H A Dst,stm32h7-rcc.txt64 For example, for CRC reset:
/freebsd-13.1/sys/dev/ow/
H A Down_if.m70 # Compute a CRC for a given range of bytes
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DRawTypes.h334 support::ulittle32_t CRC; // CRC of the original file contents. member
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/Targets/
H A DARM.cpp429 CRC = 0; in handleTargetFeatures()
480 CRC = 1; in handleTargetFeatures()
659 if (CRC) in getTargetDefines()

123