Home
last modified time | relevance | path

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

1234567891011

/netbsd-src/external/apache2/llvm/dist/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.cpp35 CrashRecoveryContext *CRC; member
42 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) noexcept in CrashRecoveryContextImpl()
43 : CRC(CRC), Failed(false), SwitchedThread(false), ValidJumpBuffer(false) { in CrashRecoveryContextImpl()
72 if (CRC->DumpStackAndCleanupOnFailure) in HandleCrash()
75 CRC->RetCode = RetCode; in HandleCrash()
135 return CRCI->CRC; in GetCurrent()
484 CrashRecoveryContext *CRC; member
497 Info->Result = Info->CRC->RunSafely(Info->Fn); in RunSafelyOnThread_Dispatch()
507 if (CrashRecoveryContextImpl *CRC = (CrashRecoveryContextImpl *)Impl) in RunSafelyOnThread() local
508 CRC->setSwitchedThread(); in RunSafelyOnThread()
H A DProcess.cpp97 if (CrashRecoveryContext *CRC = CrashRecoveryContext::GetCurrent()) in Exit() local
98 CRC->HandleExit(RetCode); in Exit()
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/gpl3/binutils.old/dist/zlib/contrib/ada/
H A Dzlib.adb168 (CRC : in Unsigned_32;
174 return Unsigned_32 (crc32 (ULong (CRC),
180 (CRC : in out Unsigned_32;
183 CRC := CRC32 (CRC, Data);
217 Filter.CRC := 0;
633 CRC32 (Filter.CRC, In_Data (In_Data'First .. In_Last));
647 Put_32 (Footer, Filter.CRC);
H A Dzlib.ads200 (CRC : in Unsigned_32;
207 (CRC : in out Unsigned_32;
323 CRC : Unsigned_32; variable
/netbsd-src/external/gpl3/binutils/dist/zlib/contrib/ada/
H A Dzlib.adb168 (CRC : in Unsigned_32;
174 return Unsigned_32 (crc32 (ULong (CRC),
180 (CRC : in out Unsigned_32;
183 CRC := CRC32 (CRC, Data);
217 Filter.CRC := 0;
633 CRC32 (Filter.CRC, In_Data (In_Data'First .. In_Last));
647 Put_32 (Footer, Filter.CRC);
H A Dzlib.ads200 (CRC : in Unsigned_32;
207 (CRC : in out Unsigned_32;
323 CRC : Unsigned_32; variable
/netbsd-src/external/gpl3/gdb/dist/zlib/contrib/ada/
H A Dzlib.adb168 (CRC : in Unsigned_32;
174 return Unsigned_32 (crc32 (ULong (CRC),
180 (CRC : in out Unsigned_32;
183 CRC := CRC32 (CRC, Data);
217 Filter.CRC := 0;
633 CRC32 (Filter.CRC, In_Data (In_Data'First .. In_Last));
647 Put_32 (Footer, Filter.CRC);
H A Dzlib.ads200 (CRC : in Unsigned_32;
207 (CRC : in out Unsigned_32;
323 CRC : Unsigned_32; variable
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DStack.cpp69 llvm::CrashRecoveryContext CRC; in runWithSufficientStackSpaceSlow() local
70 CRC.RunSafelyOnThread([&] { in runWithSufficientStackSpaceSlow()
/netbsd-src/etc/iscsi/
H A Dvolumes8 # Digest - '-' (none), 'd' (data CRC), 'h' (header CRC), 'dh' (both)
/netbsd-src/sys/dev/dtv/
H A Ddtv_demux.c162 uint32_t CRC = 0xffffffff; in dtv_demux_crc32() local
166 CRC = (CRC << 8) ^ crc_tab[((CRC >> 24) ^ *buf++) & 0xff]; in dtv_demux_crc32()
168 return CRC; in dtv_demux_crc32()
/netbsd-src/external/bsd/libpcap/dist/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
/netbsd-src/external/zlib/pigz/dist/zopfli/
H A Dgzip_container.c70 static unsigned long CRC(const unsigned char* buf, int len) { in CRC() function
80 unsigned long crcvalue = CRC(in, insize); in ZopfliGzipCompress()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/gpl3/autoconf/dist/doc/
H A Dgnu-oids.texi54 1.3.6.1.4.1.11591.14 CRC algorithms
55 1.3.6.1.4.1.11591.14.1 CRC 32
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.cpp98 llvm::CrashRecoveryContext CRC; in onBodySynthesis() local
100 CRC.RunSafelyOnThread([&]() { Instance.ExecuteAction(parseModelFile); }, in onBodySynthesis()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/digest/
H A Dcrc.d138 alias CRC32 = CRC!(32, 0xEDB88320);
144 alias CRC64ECMA = CRC!(64, 0xC96C5795D7870F42);
150 alias CRC64ISO = CRC!(64, 0xD800000000000000);
163 struct CRC(uint N, ulong P) if (N == 32 || N == 64)
259 this = CRC.init; in start()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/
H A DJob.cpp396 llvm::CrashRecoveryContext CRC; in Execute() local
397 CRC.DumpStackAndCleanupOnFailure = true; in Execute()
404 if (!CRC.RunSafely([&]() { R = D.CC1Main(Argv); })) { in Execute()
406 return CRC.RetCode; in Execute()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/digest/
H A Dcrc.d134 alias CRC32 = CRC!(32, 0xEDB88320);
140 alias CRC64ECMA = CRC!(64, 0xC96C5795D7870F42);
146 alias CRC64ISO = CRC!(64, 0xD800000000000000);
159 struct CRC(uint N, ulong P)
260 this = CRC.init; in start()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkRunner.cpp97 CrashRecoveryContext CRC; in runAndSample() local
99 const bool Crashed = !CRC.RunSafely([this, Counter, ScratchPtr]() { in runAndSample()
112 if (const char *const SigName = strsignal(CRC.RetCode - kSigOffset)) { in runAndSample()
/netbsd-src/common/dist/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 …]
/netbsd-src/external/gpl3/gdb.old/dist/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 …]

1234567891011