Home
last modified time | relevance | path

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

1234

/freebsd/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.cpp33 CrashRecoveryContext *CRC; member
40 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) noexcept in CrashRecoveryContextImpl()
41 : CRC(CRC), Failed(false), SwitchedThread(false), ValidJumpBuffer(false) { in CrashRecoveryContextImpl()
70 if (CRC->DumpStackAndCleanupOnFailure) in HandleCrash()
73 CRC->RetCode = RetCode; in HandleCrash()
137 return CRCI->CRC; in GetCurrent()
497 CrashRecoveryContext *CRC; member
510 Info->Result = Info->CRC->RunSafely(Info->Fn); in RunSafelyOnThread_Dispatch()
522 if (CrashRecoveryContextImpl *CRC = (CrashRecoveryContextImpl *)Impl) in RunSafelyOnThread() local
523 CRC->setSwitchedThread(); in RunSafelyOnThread()
H A DProcess.cpp96 if (CrashRecoveryContext *CRC = CrashRecoveryContext::GetCurrent()) in Exit() local
97 CRC->HandleExit(RetCode); in Exit()
/freebsd/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/sys/geom/raid/
H A Dmd_ddf.h39 uint32_t CRC; member
90 uint32_t CRC; member
164 uint32_t CRC; member
209 uint32_t CRC; member
221 uint32_t CRC; member
278 uint32_t CRC; member
291 uint32_t CRC; member
308 uint32_t CRC; member
329 uint32_t CRC; member
340 uint32_t CRC; member
H A Dmd_ddf.c1078 val = GET32(meta, hdr->CRC); in ddf_meta_read()
1079 SET32(meta, hdr->CRC, 0xffffffff); in ddf_meta_read()
1119 val = GET32(meta, hdr->CRC); in ddf_meta_read()
1120 SET32(meta, hdr->CRC, 0xffffffff); in ddf_meta_read()
1290 SET32(meta, hdr->CRC, 0xffffffff); in ddf_meta_write()
1306 SET32(meta, cdr->CRC, 0xffffffff); in ddf_meta_write()
1314 SET32(meta, pdr->CRC, 0xffffffff); in ddf_meta_write()
1322 SET32(meta, vdr->CRC, 0xffffffff); in ddf_meta_write()
1333 SET32D(meta, vdc->CRC, 0xffffffff); in ddf_meta_write()
1342 SET32(meta, pdd->CRC, 0xffffffff); in ddf_meta_write()
[all …]
/freebsd/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/usr.bin/cksum/
H A Dcrc32.c22 #define CRC(crc, ch) (crc = (crc >> 8) ^ crctab[(crc ^ (ch)) & 0xff]) macro
109 CRC(lcrc, *p) ; in crc32()
110 CRC(crc32_total, *p) ; in crc32()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DStack.cpp68 llvm::CrashRecoveryContext CRC; in runWithSufficientStackSpaceSlow() local
69 CRC.RunSafelyOnThread([&] { in runWithSufficientStackSpaceSlow()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.cpp97 llvm::CrashRecoveryContext CRC; in onBodySynthesis() local
99 CRC.RunSafelyOnThread([&]() { Instance.ExecuteAction(parseModelFile); }, in onBodySynthesis()
/freebsd/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/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFileBuilder.cpp185 JamCRC CRC(0); in finalizeMsfLayout() local
186 CRC.update(arrayRefFromStringRef(IS.Content->getBuffer())); in finalizeMsfLayout()
198 Entry.CRC = CRC.getCRC(); in finalizeMsfLayout()
H A DNativeEnumInjectedSources.cpp48 uint32_t getCrc32() const override { return Entry.CRC; } in getCrc32()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DJob.cpp432 llvm::CrashRecoveryContext CRC; in Execute() local
433 CRC.DumpStackAndCleanupOnFailure = true; in Execute()
440 if (!CRC.RunSafely([&]() { R = D.CC1Main(Argv); })) { in Execute()
442 return CRC.RetCode; in Execute()
/freebsd/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/share/monetdef_unicode/
H A Des_CR.UTF-8.src7 CRC
/freebsd/sys/contrib/device-tree/Bindings/crypto/
H A Dst,stm32-crc.yaml7 title: STMicroelectronics STM32 CRC
H A Dfsl-sec2.txt28 bit 8 = set if SEC has the CRC EU (CRCU)
/freebsd/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/sys/contrib/device-tree/Bindings/clock/
H A Dst,stm32h7-rcc.txt64 For example, for CRC reset:
/freebsd/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/contrib/xz/
H A DAUTHORS26 Architecture-specific CRC optimizations were contributed by
/freebsd/sys/dev/ow/
H A Down_if.m69 # Compute a CRC for a given range of bytes
/freebsd/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/sys/contrib/device-tree/Bindings/memory-controllers/
H A Dsnps,dw-umctl2-ddrc.yaml38 Scrubber-Done signal, DFI Parity/CRC Error. Some platforms may have the

1234