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

  /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/clang/lib/Basic/
Stack.cpp 69 llvm::CrashRecoveryContext CRC;
70 CRC.RunSafelyOnThread([&] {
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
ModelInjector.cpp 98 llvm::CrashRecoveryContext CRC;
100 CRC.RunSafelyOnThread([&]() { Instance.ExecuteAction(parseModelFile); },
  /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/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/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/llvm/lib/Support/
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...]
  /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/tools/libclang/
CIndexCodeCompletion.cpp 873 llvm::CrashRecoveryContext CRC;
875 if (!RunSafely(CRC, CodeCompleteAtImpl)) {
Indexing.cpp 908 llvm::CrashRecoveryContext CRC;
910 if (!RunSafely(CRC, IndexSourceFileImpl)) {
957 llvm::CrashRecoveryContext CRC;
959 if (!RunSafely(CRC, IndexTranslationUnitImpl)) {
CIndex.cpp 3757 llvm::CrashRecoveryContext CRC;
3759 if (!RunSafely(CRC, ParseTranslationUnitImpl)) {
4179 llvm::CrashRecoveryContext CRC;
4181 if (!RunSafely(CRC, SaveTranslationUnitImpl)) {
4288 llvm::CrashRecoveryContext CRC;
4290 if (!RunSafely(CRC, ReparseTranslationUnitImpl)) {
7832 llvm::CrashRecoveryContext CRC;
7833 if (!RunSafely(CRC, AnnotateTokensImpl, GetSafetyThreadStackSize() * 2)) {
8955 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn,
8960 return CRC.RunSafelyOnThread(Fn, Size)
    [all...]
  /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/dist/llvm/lib/MC/
WinCOFFObjectWriter.cpp 35 #include "llvm/Support/CRC.h"
603 // because it needs to compute a CRC.
608 // to CRC the data before we dump it into the object file.
616 // Calculate our CRC with an initial value of '0', this is not how
635 uint32_t CRC = writeSectionContents(Asm, Layout, MCSec);
637 // Update the section definition auxiliary symbol to record the CRC.
642 SecDef.Aux.SectionDefinition.CheckSum = CRC;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
llvm-pdbutil.cpp 951 uint32_t CRC = IS->getCrc32();
965 WithColor(Printer, PDB_ColorItem::Keyword).get() << "crc";
967 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << CRC;
  /src/external/gpl3/binutils/dist/opcodes/
mips-opc.c 413 /* Cyclic redundancy check instruction (CRC) support. */
414 #define CRC ASE_CRC
3335 /* MIPS cyclic redundancy check (CRC) ASE. */
3336 {"crc32b", "t,s,-d", 0x7c00000f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3337 {"crc32h", "t,s,-d", 0x7c00004f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3338 {"crc32w", "t,s,-d", 0x7c00008f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3340 {"crc32cb", "t,s,-d", 0x7c00010f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3341 {"crc32ch", "t,s,-d", 0x7c00014f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3342 {"crc32cw", "t,s,-d", 0x7c00018f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
aarch64-tbl.h 2845 AARCH64_FEATURE (CRC);
3116 #define CRC &aarch64_feature_crc
3260 { NAME, OPCODE, MASK, CLASS, 0, CRC, OPS, QUALS, FLAGS, 0, 0, NULL }
4502 /* CRC instructions. */
  /src/external/gpl3/binutils.old/dist/opcodes/
mips-opc.c 413 /* Cyclic redundancy check instruction (CRC) support. */
414 #define CRC ASE_CRC
3335 /* MIPS cyclic redundancy check (CRC) ASE. */
3336 {"crc32b", "t,s,-d", 0x7c00000f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3337 {"crc32h", "t,s,-d", 0x7c00004f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3338 {"crc32w", "t,s,-d", 0x7c00008f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3340 {"crc32cb", "t,s,-d", 0x7c00010f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3341 {"crc32ch", "t,s,-d", 0x7c00014f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3342 {"crc32cw", "t,s,-d", 0x7c00018f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
aarch64-tbl.h 2804 AARCH64_FEATURE (CRC);
3019 #define CRC &aarch64_feature_crc
3135 { NAME, OPCODE, MASK, CLASS, 0, CRC, OPS, QUALS, FLAGS, 0, 0, NULL }
4282 /* CRC instructions. */
  /src/external/gpl3/gdb.old/dist/opcodes/
mips-opc.c 413 /* Cyclic redundancy check instruction (CRC) support. */
414 #define CRC ASE_CRC
3335 /* MIPS cyclic redundancy check (CRC) ASE. */
3336 {"crc32b", "t,s,-d", 0x7c00000f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3337 {"crc32h", "t,s,-d", 0x7c00004f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3338 {"crc32w", "t,s,-d", 0x7c00008f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3340 {"crc32cb", "t,s,-d", 0x7c00010f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3341 {"crc32ch", "t,s,-d", 0x7c00014f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3342 {"crc32cw", "t,s,-d", 0x7c00018f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
aarch64-tbl.h 2702 AARCH64_FEATURE (CRC);
2871 #define CRC &aarch64_feature_crc
2964 { NAME, OPCODE, MASK, CLASS, 0, CRC, OPS, QUALS, FLAGS, 0, 0, NULL }
4000 /* CRC instructions. */
  /src/external/gpl3/gdb/dist/opcodes/
mips-opc.c 413 /* Cyclic redundancy check instruction (CRC) support. */
414 #define CRC ASE_CRC
3335 /* MIPS cyclic redundancy check (CRC) ASE. */
3336 {"crc32b", "t,s,-d", 0x7c00000f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3337 {"crc32h", "t,s,-d", 0x7c00004f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3338 {"crc32w", "t,s,-d", 0x7c00008f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3340 {"crc32cb", "t,s,-d", 0x7c00010f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3341 {"crc32ch", "t,s,-d", 0x7c00014f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
3342 {"crc32cw", "t,s,-d", 0x7c00018f, 0xfc00ffff, MOD_1|RD_2, 0, 0, CRC, 0 },
aarch64-tbl.h 2804 AARCH64_FEATURE (CRC);
3019 #define CRC &aarch64_feature_crc
3135 { NAME, OPCODE, MASK, CLASS, 0, CRC, OPS, QUALS, FLAGS, 0, 0, NULL }
4282 /* CRC instructions. */
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
CompilerInstance.cpp 1146 llvm::CrashRecoveryContext CRC;
1147 CRC.RunSafelyOnThread(
  /src/external/apache2/llvm/dist/llvm/lib/Demangle/
MicrosoftDemangle.cpp 1277 StringView CRC;
1313 // CRC 32 (always 8 characters plus a terminator)
1317 CRC = MangledName.substr(0, CrcEndPos);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/
Object.cpp 1167 Elf_Word *CRC =
1169 *CRC = Sec.CRC32;

Completed in 164 milliseconds