HomeSort by relevance Sort by last modified time
    Searched refs:Crc (Results 1 - 21 of 21) sorted by null

  /external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/test/
examples.py 3 from crcmod import Crc
31 Crc(g8, rev=False).generateCode('crc8',out)
32 Crc(g8, rev=True).generateCode('crc8r',out)
33 Crc(g16, rev=False).generateCode('crc16',out)
34 Crc(g16, rev=True).generateCode('crc16r',out)
35 Crc(g24, rev=False).generateCode('crc24',out)
36 Crc(g24, rev=True).generateCode('crc24r',out)
37 Crc(g32, rev=False).generateCode('crc32',out)
38 Crc(g32, rev=True).generateCode('crc32r',out)
39 Crc(g64, rev=False).generateCode('crc64',out
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python2/crcmod/
predefined.py 23 crcmod.predefined defines some well-known CRC algorithms.
28 crc32func = crcmod.predefined.mkPredefinedCrcFun("crc-32")
29 crc32class = crcmod.predefined.PredefinedCrc("crc-32")
31 crcmod.predefined.Crc is an alias for crcmod.predefined.PredefinedCrc
32 But if doing 'from crc.predefined import *', only PredefinedCrc is imported.
46 # The following table defines the parameters of well-known CRC algorithms.
47 # The "Check" value is the CRC for the ASCII byte sequence "123456789". It
51 [ 'crc-8', 'Crc8', 0x107, NON_REVERSE, 0x00, 0x00, 0xF4, ],
52 [ 'crc-8-darc', 'Crc8Darc', 0x139, REVERSE, 0x00, 0x00, 0x15, ],
53 [ 'crc-8-i-code', 'Crc8ICode', 0x11D, NON_REVERSE, 0xFD, 0x00, 0x7 (…)
    [all...]
crcmod.py 28 Crc -- a class that creates instances providing the same interface as the
30 provide a method for generating a C/C++ function to compute the CRC.
32 mkCrcFun -- create a Python function to compute the CRC using the specified
34 all you need is a function for CRC calculation.
37 __all__ = '''mkCrcFun Crc
40 # Select the appropriate set of low-level CRC functions for this installation.
53 class Crc:
54 '''Compute a Cyclic Redundancy Check (CRC) using the specified polynomial.
58 for examples of how to use a Crc instance.
60 The string representation of a Crc instance identifies the polynomial
    [all...]
test.py 30 from crcmod import mkCrcFun, Crc
89 # This class is used to check the CRC calculations against a direct
204 # The following functions compute the CRC using direct polynomial division.
293 self.assertEqual(crcfun('',0), 0, "Wrong answer for CRC parameters %s, input ''" % (crcfun_params,))
295 self.assertEqual(crcfun(msg), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg))
296 self.assertEqual(crcfun(msg[4:], crcfun(msg[:4])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg))
297 self.assertEqual(crcfun(msg[-1:], crcfun(msg[:-1])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg))
318 def reference_crc32(d, crc=0):
322 if crc > 0x7FFFFFFFL:
323 x = int(crc & 0x7FFFFFFFL
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod_osx/crcmod/
predefined.py 23 crcmod.predefined defines some well-known CRC algorithms.
28 crc32func = crcmod.predefined.mkPredefinedCrcFun("crc-32")
29 crc32class = crcmod.predefined.PredefinedCrc("crc-32")
31 crcmod.predefined.Crc is an alias for crcmod.predefined.PredefinedCrc
32 But if doing 'from crc.predefined import *', only PredefinedCrc is imported.
46 # The following table defines the parameters of well-known CRC algorithms.
47 # The "Check" value is the CRC for the ASCII byte sequence "123456789". It
51 [ 'crc-8', 'Crc8', 0x107, NON_REVERSE, 0x00, 0x00, 0xF4, ],
52 [ 'crc-8-darc', 'Crc8Darc', 0x139, REVERSE, 0x00, 0x00, 0x15, ],
53 [ 'crc-8-i-code', 'Crc8ICode', 0x11D, NON_REVERSE, 0xFD, 0x00, 0x7 (…)
    [all...]
crcmod.py 28 Crc -- a class that creates instances providing the same interface as the
30 provide a method for generating a C/C++ function to compute the CRC.
32 mkCrcFun -- create a Python function to compute the CRC using the specified
34 all you need is a function for CRC calculation.
37 __all__ = '''mkCrcFun Crc
40 # Select the appropriate set of low-level CRC functions for this installation.
53 class Crc:
54 '''Compute a Cyclic Redundancy Check (CRC) using the specified polynomial.
58 for examples of how to use a Crc instance.
60 The string representation of a Crc instance identifies the polynomial
    [all...]
test.py 30 from crcmod import mkCrcFun, Crc
89 # This class is used to check the CRC calculations against a direct
204 # The following functions compute the CRC using direct polynomial division.
293 self.assertEqual(crcfun('',0), 0, "Wrong answer for CRC parameters %s, input ''" % (crcfun_params,))
295 self.assertEqual(crcfun(msg), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg))
296 self.assertEqual(crcfun(msg[4:], crcfun(msg[:4])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg))
297 self.assertEqual(crcfun(msg[-1:], crcfun(msg[:-1])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg))
318 def reference_crc32(d, crc=0):
322 if crc > 0x7FFFFFFFL:
323 x = int(crc & 0x7FFFFFFFL
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/gslib/
hashing_helper.py 97 """Computes CRC32C for concat(A, B) given crc(A), crc(B) and len(B).
100 crcutil.googlecode.com/files/crc-doc.1.0.pdf.
103 crc_a: A 32-bit integer representing crc(A) with least-significant
140 def _ExtendByZeros(crc, num_bits):
141 """Given crc representing polynomial P(x), compute P(x)*x^num_bits.
144 crc: crc respresenting polynomial P(x).
145 num_bits: number of bits in crc.
150 def _ReverseBits32(crc)
    [all...]
copy_helper.py 687 hash_dict['crc32c'] = crcmod.predefined.Crc('crc-32c')
    [all...]
  /external/lzma/CPP/7zip/Archive/7z/
7zItem.h 156 UInt32 Crc;
7zFolderOutStream.cpp 69 (fi.IsDir || !fi.CrcDefined || !_checkCrc || fi.Crc == _crcStreamSpec->GetCRC()) ?
7zUpdate.cpp 579 return (file.IsDir || !file.CrcDefined || file.Crc == _crcStreamSpec->GetCRC()) ? S_OK: S_FALSE;
1171 uf.Crc = file.Crc;
    [all...]
7zHandler.cpp 592 case kpidCRC: if (item.CrcDefined) PropVarEm_Set_UInt32(value, item.Crc); break;
7zIn.cpp 635 UInt32 crc = 0; local
637 crc = ReadUInt32();
638 p[i] = crc;
947 UInt32 crc = 0; local
949 crc = ReadUInt32();
950 digests.Vals[k] = crc;
    [all...]
7zOut.cpp 62 CCRC crc; local
63 crc.UpdateUInt64(h.NextHeaderOffset);
64 crc.UpdateUInt64(h.NextHeaderSize);
65 crc.UpdateUInt32(h.NextHeaderCRC);
66 crc.UpdateUInt64(h.ArchiveStartOffset);
67 crc.UpdateUInt64(h.AdditionalStartBlockSize);
68 RINOK(WriteDirectUInt32(crc.GetDigest()));
565 digests.Vals.Add(file.Crc);
  /external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python3/crcmod/
predefined.py 23 crcmod.predefined defines some well-known CRC algorithms.
28 crc32func = crcmod.predefined.mkPredefinedCrcFun("crc-32")
29 crc32class = crcmod.predefined.PredefinedCrc("crc-32")
31 crcmod.predefined.Crc is an alias for crcmod.predefined.PredefinedCrc
32 But if doing 'from crc.predefined import *', only PredefinedCrc is imported.
46 # The following table defines the parameters of well-known CRC algorithms.
47 # The "Check" value is the CRC for the ASCII byte sequence b"123456789". It
51 [ 'crc-8', 'Crc8', 0x107, NON_REVERSE, 0x00, 0x00, 0xF4, ],
52 [ 'crc-8-darc', 'Crc8Darc', 0x139, REVERSE, 0x00, 0x00, 0x15, ],
53 [ 'crc-8-i-code', 'Crc8ICode', 0x11D, NON_REVERSE, 0xFD, 0x00, 0x7 (…)
    [all...]
crcmod.py 28 Crc -- a class that creates instances providing the same interface as the
31 the CRC.
33 mkCrcFun -- create a Python function to compute the CRC using the specified
35 all you need is a function for CRC calculation.
38 __all__ = '''mkCrcFun Crc
41 # Select the appropriate set of low-level CRC functions for this installation.
54 class Crc:
55 '''Compute a Cyclic Redundancy Check (CRC) using the specified polynomial.
59 this module for examples of how to use a Crc instance.
61 The string representation of a Crc instance identifies the polynomial
    [all...]
test.py 31 from .crcmod import mkCrcFun, Crc
84 # This class is used to check the CRC calculations against a direct
199 # The following functions compute the CRC using direct polynomial division.
282 self.assertEqual(crcfun(b'',0), 0, "Wrong answer for CRC parameters %s, input ''" % (crcfun_params,))
284 self.assertEqual(crcfun(msg), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg))
285 self.assertEqual(crcfun(msg[4:], crcfun(msg[:4])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg))
286 self.assertEqual(crcfun(msg[-1:], crcfun(msg[:-1])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg))
307 def reference_crc32(d, crc=0):
311 if crc > 0x7FFFFFFF:
312 x = int(crc & 0x7FFFFFFF
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
hash.py 151 hash_dict['crc32c'] = crcmod.predefined.Crc('crc-32c')
  /external/lzma/CPP/7zip/UI/Common/
Bench.cpp 230 UInt32 Crc;
235 Crc = CRC_INIT_VAL;
253 Crc = CrcUpdate(Crc, data, curSize);
271 UInt32 Crc;
275 void Init() { Crc = CRC_INIT_VAL; }
282 Crc = CrcUpdate(Crc, data, size);
648 UInt32 crc;
747 crc = CrcCalc(rg.Buffer, rg.BufferSize);
    [all...]
  /external/llvm/lib/Target/XCore/
XCoreISelLowering.cpp     [all...]

Completed in 220 milliseconds