Home
last modified time | relevance | path

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

1234

/src/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.cpp112 if (CrashRecoveryContext *CRC = CrashRecoveryContext::GetCurrent()) in Exit() local
113 CRC->HandleExit(RetCode); in Exit()
/src/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCondMov.td18 class CMov_I_I_FT<string opstr, RegisterOperand CRC, RegisterOperand DRC,
20 InstSE<(outs DRC:$rd), (ins DRC:$rs, CRC:$rt, DRC:$F),
26 class CMov_I_F_FT<string opstr, RegisterOperand CRC, RegisterOperand DRC,
28 InstSE<(outs DRC:$fd), (ins DRC:$fs, CRC:$rt, DRC:$F),
55 multiclass MovzPats0<RegisterClass CRC, RegisterClass DRC,
59 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)>;
63 def : MipsPat<(select (i32 (setge CRC:$lhs, immSExt16:$rhs)), DRC:$T, DRC:$F),
[all …]
/src/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()
1291 SET32(meta, hdr->CRC, crc32(meta->hdr, ss)); in ddf_meta_write()
1306 SET32(meta, cdr->CRC, 0xffffffff); in ddf_meta_write()
1307 SET32(meta, cdr->CRC, crc32(meta->cdr, size)); in ddf_meta_write()
1314 SET32(meta, pdr->CRC, 0xffffffff); in ddf_meta_write()
1315 SET32(meta, pdr->CRC, crc32(meta->pdr, size)); in ddf_meta_write()
[all …]
/src/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;
/src/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()
/src/contrib/llvm-project/clang/lib/Basic/
H A DStack.cpp68 llvm::CrashRecoveryContext CRC; in runWithSufficientStackSpaceSlow() local
69 CRC.RunSafelyOnThread([&] { in runWithSufficientStackSpaceSlow()
/src/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()
/src/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
/src/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()
/src/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()
/src/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 …]
/src/share/monetdef_unicode/
H A Des_CR.UTF-8.src7 CRC
/src/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
/src/sys/contrib/device-tree/Bindings/clock/
H A Dst,stm32h7-rcc.txt64 For example, for CRC reset:
H A Dst,stm32-rcc.txt131 For example, for CRC reset:
/src/contrib/xz/
H A DAUTHORS26 Architecture-specific CRC optimizations were contributed by
/src/sys/dev/ow/
H A Down_if.m69 # Compute a CRC for a given range of bytes
/src/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DRawTypes.h334 support::ulittle32_t CRC; // CRC of the original file contents. member
/src/sys/contrib/device-tree/Bindings/crypto/
H A Dfsl-sec2.txt28 bit 8 = set if SEC has the CRC EU (CRCU)
/src/sys/dev/mpi3mr/mpi/
H A Dmpi30_image.h194 U32 CRC; /* 0x1C */ member
/src/contrib/llvm-project/clang/lib/Basic/Targets/
H A DARM.h81 unsigned CRC : 1;

1234