HomeSort by: relevance | last modified time | path
    Searched refs:CRC (Results 1 - 25 of 45) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
CRC.h 1 //===-- llvm/Support/CRC.h - Cyclic Redundancy Check-------------*- C++ -*-===//
9 // This file contains implementations of CRC functions.
21 // Compute the CRC-32 of Data.
24 // Compute the running CRC-32 of Data, with CRC being the previous value of the
26 uint32_t crc32(uint32_t CRC, ArrayRef<uint8_t> Data);
30 // We will use the "Rocksoft^tm Model CRC Algorithm" to describe the properties
31 // of this CRC:
38 // Check : 340BC6D9 (result of CRC for "123456789")
40 // In other words, this is the same as CRC-32, except that XorOut is 0 instea
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
CRC.cpp 1 //===--- CRC.cpp - Cyclic Redundancy Check implementation -----------------===//
9 // This file contains implementations of CRC functions.
15 // See also Ross N. Williams "A Painless Guide to CRC Error Detection
21 #include "llvm/Support/CRC.h"
75 uint32_t llvm::crc32(uint32_t CRC, ArrayRef<uint8_t> Data) {
76 CRC ^= 0xFFFFFFFFU;
78 int TableIdx = (CRC ^ Byte) & 0xff;
79 CRC = CRCTable[TableIdx] ^ (CRC >> 8);
81 return CRC ^ 0xFFFFFFFFU
    [all...]
CrashRecoveryContext.cpp 35 CrashRecoveryContext *CRC;
42 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) noexcept
43 : CRC(CRC), Failed(false), SwitchedThread(false), ValidJumpBuffer(false) {
72 if (CRC->DumpStackAndCleanupOnFailure)
75 CRC->RetCode = RetCode;
135 return CRCI->CRC;
484 CrashRecoveryContext *CRC;
497 Info->Result = Info->CRC->RunSafely(Info->Fn);
507 if (CrashRecoveryContextImpl *CRC = (CrashRecoveryContextImpl *)Impl
    [all...]
Process.cpp 97 if (CrashRecoveryContext *CRC = CrashRecoveryContext::GetCurrent())
98 CRC->HandleExit(RetCode);
  /src/external/apache2/llvm/dist/clang/lib/Basic/
Stack.cpp 69 llvm::CrashRecoveryContext CRC;
70 CRC.RunSafelyOnThread([&] {
  /src/external/gpl3/gcc/dist/gcc/config/aarch64/
aarch64-cores.def 52 AARCH64_CORE("cortex-a34", cortexa34, cortexa53, V8A, (CRC), cortexa35, 0x41, 0xd02, -1)
53 AARCH64_CORE("cortex-a35", cortexa35, cortexa53, V8A, (CRC), cortexa35, 0x41, 0xd04, -1)
54 AARCH64_CORE("cortex-a53", cortexa53, cortexa53, V8A, (CRC), cortexa53, 0x41, 0xd03, -1)
55 AARCH64_CORE("cortex-a57", cortexa57, cortexa57, V8A, (CRC), cortexa57, 0x41, 0xd07, -1)
56 AARCH64_CORE("cortex-a72", cortexa72, cortexa57, V8A, (CRC), cortexa72, 0x41, 0xd08, -1)
57 AARCH64_CORE("cortex-a73", cortexa73, cortexa57, V8A, (CRC), cortexa73, 0x41, 0xd09, -1)
60 AARCH64_CORE("thunderx", thunderx, thunderx, V8A, (CRC, CRYPTO), thunderx, 0x43, 0x0a0, -1)
63 AARCH64_CORE("thunderxt88p1", thunderxt88p1, thunderx, V8A, (CRC, CRYPTO), thunderxt88, 0x43, 0x0a1, 0)
64 AARCH64_CORE("thunderxt88", thunderxt88, thunderx, V8A, (CRC, CRYPTO), thunderxt88, 0x43, 0x0a1, -1)
67 AARCH64_CORE("octeontx", octeontx, thunderx, V8A, (CRC, CRYPTO), thunderx, 0x43, 0x0a0, -1
    [all...]
aarch64-arches.def 34 AARCH64_ARCH("armv8.1-a", generic_armv8_a, V8_1A, 8, (V8A, LSE, CRC, RDMA))
aarch64-option-extensions.def 123 AARCH64_OPT_FMV_EXTENSION("crc", CRC, (), (), (), "crc32")
  /src/external/zlib/pigz/dist/zopfli/
gzip_container.c 33 /* Makes the table for a fast CRC. */
53 Updates a running crc with the bytes buf[0..len-1] and returns
54 the updated crc. The crc should be initialized to zero.
56 static unsigned long UpdateCRC(unsigned long crc,
58 unsigned long c = crc ^ 0xffffffffL;
69 /* Returns the CRC of the bytes buf[0..len-1]. */
70 static unsigned long CRC(const unsigned char* buf, int len) {
80 unsigned long crcvalue = CRC(in, insize);
99 /* CRC */
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
ModelInjector.cpp 98 llvm::CrashRecoveryContext CRC;
100 CRC.RunSafelyOnThread([&]() { Instance.ExecuteAction(parseModelFile); },
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
PDBFileBuilder.cpp 22 #include "llvm/Support/CRC.h"
174 JamCRC CRC(0);
175 CRC.update(arrayRefFromStringRef(IS.Content->getBuffer()));
187 Entry.CRC = CRC.getCRC();
NativeEnumInjectedSources.cpp 45 uint32_t getCrc32() const override { return Entry.CRC; }
  /src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
BenchmarkRunner.cpp 97 CrashRecoveryContext CRC;
99 const bool Crashed = !CRC.RunSafely([this, Counter, ScratchPtr]() {
112 if (const char *const SigName = strsignal(CRC.RetCode - kSigOffset)) {
  /src/external/apache2/llvm/dist/clang/lib/Driver/
Job.cpp 396 llvm::CrashRecoveryContext CRC;
397 CRC.DumpStackAndCleanupOnFailure = true;
404 if (!CRC.RunSafely([&]() { R = D.CC1Main(Argv); })) {
406 return CRC.RetCode;
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndexer.h 115 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn,
Indexing.cpp 908 llvm::CrashRecoveryContext CRC;
910 if (!RunSafely(CRC, IndexSourceFileImpl)) {
957 llvm::CrashRecoveryContext CRC;
959 if (!RunSafely(CRC, IndexTranslationUnitImpl)) {
  /src/sys/dev/dtv/
dtv_demux.c 154 /* ISO/IEC 13818-1 Annex A "CRC Decoder Model" */
159 uint32_t CRC = 0xffffffff;
163 CRC = (CRC << 8) ^ crc_tab[((CRC >> 24) ^ *buf++) & 0xff];
165 return CRC;
552 * Verify the CRC of a PSI section.
557 uint32_t crc, sec_crc; local
561 * not include a CRC field.
567 crc = dtv_demux_crc32(&sec->sec_buf[0], sec->sec_length - 4)
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/digest/
crc.d 10 $(TR $(TDNW Template API) $(TD $(MYREF CRC) $(MYREF CRC32) $(MYREF CRC64ECMA) $(MYREF CRC64ISO)
39 * $(LINK2 http://en.wikipedia.org/wiki/Cyclic_redundancy_check, Wikipedia on CRC)
41 * Source: $(PHOBOSSRC std/digest/crc.d)
59 module std.digest.crc;
67 import std.digest.crc;
74 CRC32 crc;
75 crc.put(data[]);
76 crc.start(); //Start again
77 crc.put(data[]);
78 hash = crc.finish()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Basic/Targets/
ARM.h 73 unsigned CRC : 1;
ARM.cpp 429 CRC = 0;
479 } else if (Feature == "+crc") {
480 CRC = 1;
659 if (CRC)
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
RawTypes.h 334 support::ulittle32_t CRC; // CRC of the original file contents.
  /src/external/apache2/llvm/lib/libLLVMSupport/
Makefile 39 CRC.cpp \
  /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
system_error.cc 219 X (CRC, EIO);
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
system_error.cc 157 X (CRC, EIO);
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/st/
stm32f746.dtsi 616 crc: crc@40023000 {
617 compatible = "st,stm32f7-crc";
619 clocks = <&rcc 0 STM32F7_AHB1_CLOCK(CRC)>;

Completed in 30 milliseconds

1 2