Home
last modified time | relevance | path

Searched refs:crcmod (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/docs/source/
Dcrcmod.predefined.rst2 :mod:`crcmod.predefined` -- CRC calculation using predefined algorithms
5 .. module:: crcmod.predefined
13 The function factory and the class are very similar to those defined in :mod:`crcmod`,
20 The :mod:`crcmod.predefined` module offers the following predefined algorithms:
79 to :func:`crcmod.mkCrcFun`, except that it specifies a CRC algorithm by name rather
93 The function that is returned is the same as that returned by :func:`crcmod.mkCrcFun`:
107 … This is an alias for :func:`crcmod.predefined.mkPredefinedCrcFun`. However, it is not defined when
108 :mod:`crcmod.predefined` is imported using the form::
110 >>> from crcmod.predefined import *
117 >>> import crcmod.predefined
[all …]
Dindex.rst1 .. crcmod documentation master file, created by
6 crcmod documentation
9 This is the documentation for the :mod:`crcmod` Python library.
15 crcmod.rst
16 crcmod.predefined.rst
Dintro.rst18 :class:`crcmod.Crc` class which provides the same interface as the
20 library. A :class:`crcmod.Crc` class instance can also generate C/C++ source
30 common CRC algorithms are predefined in :mod:`crcmod.predefined`. If someone
36 :class:`crcmod.Crc` class and replace the method
37 :meth:`crcmod.Crc.generateCode`. Use :meth:`crcmod.Crc.generateCode` as a
74 The :mod:`crcmod` package is installed using :mod:`distutils`.
94 The :mod:`crcmod` package has a module :mod:`crcmod.test`, which contains
95 unit tests for both :mod:`crcmod` and :mod:`crcmod.predefined`.
97 When you first install :mod:`crcmod`, you should run the unit tests to make
104 python -m crcmod.test
[all …]
Dmake_predefined_table.py6 import crcmod.predefined
28 for defn in crcmod.predefined._crc_definitions:
29 poly_width = crcmod.crcmod._verifyPoly(defn['poly'])
Dcrcmod.rst2 :mod:`crcmod` -- CRC calculation
5 .. module:: crcmod
71 >>> import crcmod
73 >>> crc32_func = crcmod.mkCrcFun(0x104c11db7, initCrc=0, xorOut=0xFFFFFFFF)
80 >>> xmodem_crc_func = crcmod.mkCrcFun(0x11021, rev=False, initCrc=0x0000, xorOut=0x0000)
95 >>> import crcmod
96 >>> crc32_func = crcmod.mkCrcFun(0x104c11db7, initCrc=0, xorOut=0xFFFFFFFF)
202 >>> import crcmod
204 >>> crc32 = crcmod.Crc(0x104c11db7, initCrc=0, xorOut=0xFFFFFFFF)
Dmake.bat87 echo.^> qcollectiongenerator %BUILDDIR%\qthelp\crcmod.qhcp
89 echo.^> assistant -collectionFile %BUILDDIR%\qthelp\crcmod.ghc
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod_osx/crcmod/
D__init__.py2 from crcmod.crcmod import *
3 import crcmod.predefined
6 from crcmod import *
8 __doc__ = crcmod.__doc__
Dpredefined.py36 import crcmod
146 class PredefinedCrc(crcmod.Crc):
149crcmod.Crc.__init__(self, poly=definition['poly'], initCrc=definition['init'], rev=definition['rev…
158 …return crcmod.mkCrcFun(poly=definition['poly'], initCrc=definition['init'], rev=definition['revers…
Dtest.py30 from crcmod import mkCrcFun, Crc
32 from crcmod.crcmod import _usingExtension
33 from crcmod.predefined import PredefinedCrc
34 from crcmod.predefined import mkPredefinedCrcFun
35 from crcmod.predefined import _crc_definitions as _predefined_crc_definitions
37 from crcmod import _usingExtension
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python2/crcmod/
D__init__.py2 from crcmod.crcmod import *
3 import crcmod.predefined
6 from crcmod import *
8 __doc__ = crcmod.__doc__
Dpredefined.py36 import crcmod
146 class PredefinedCrc(crcmod.Crc):
149crcmod.Crc.__init__(self, poly=definition['poly'], initCrc=definition['init'], rev=definition['rev…
158 …return crcmod.mkCrcFun(poly=definition['poly'], initCrc=definition['init'], rev=definition['revers…
Dtest.py30 from crcmod import mkCrcFun, Crc
32 from crcmod.crcmod import _usingExtension
33 from crcmod.predefined import PredefinedCrc
34 from crcmod.predefined import mkPredefinedCrcFun
35 from crcmod.predefined import _crc_definitions as _predefined_crc_definitions
37 from crcmod import _usingExtension
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python3/crcmod/
D__init__.py2 from crcmod.crcmod import *
3 import crcmod.predefined
6 from crcmod import *
8 __doc__ = crcmod.__doc__
Dpredefined.py36 import crcmod
146 class PredefinedCrc(crcmod.Crc):
158 …return crcmod.mkCrcFun(poly=definition['poly'], initCrc=definition['init'], rev=definition['revers…
Dcrcmod.py45 import crcmod._crcfunext as _crcfun
48 import crcmod._crcfunpy as _crcfun
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod_osx/
DREADME.md2 crcmod-osx gsutil mirror
4 Unofficial crcmod (https://bitbucket.org/cmcqueen1975/crcmod) compiled for OS X.
11 The ``crcmod`` package is released under the MIT license. See the ``LICENSE``
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/
DREADME2 crcmod for Calculating CRCs
67 The crcmod package is installed using ``distutils``.
87 The ``crcmod`` package has a module ``crcmod.test``, which contains unit
88 tests for both ``crcmod`` and ``crcmod.predefined``.
90 When you first install ``crcmod``, you should run the unit tests to make sure
97 python -m crcmod.test
107 The crcmod package is capable of generating C functions that can be compiled
117 The ``crcmod`` package is released under the MIT license. See the ``LICENSE``
/external/chromium-trace/catapult/third_party/gsutil/
Dgsutil.py31 getattr(crcmod_module.crcmod, '_usingExtension', None))
93 import crcmod
95 crcmod = None variable
97 if not UsingCrcmodExtension(crcmod):
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/test/
Dtest_crcmod.py4 import crcmod.test
6 unittest.main(module=crcmod.test)
Dexamples.py3 from crcmod import Crc
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dhashing_helper.py23 import crcmod
215 fp, crcmod.predefined.Crc('crc-32c'))
323 if UsingCrcmodExtension(crcmod):
324 hash_algs['crc32c'] = lambda: crcmod.predefined.Crc('crc-32c')
332 hash_algs['crc32c'] = lambda: crcmod.predefined.Crc('crc-32c')
Dutil.py177 def UsingCrcmodExtension(crcmod): argument
179 (getattr(crcmod, 'crcmod', None) and
180 getattr(crcmod.crcmod, '_usingExtension', None)))
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Dhash.py20 import crcmod
133 if calc_crc32c and not UsingCrcmodExtension(crcmod):
151 hash_dict['crc32c'] = crcmod.predefined.Crc('crc-32c')
Dversion.py26 import crcmod
128 compiled_crcmod=UsingCrcmodExtension(crcmod),
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dutil.py29 import crcmod
249 if not RUN_S3_TESTS and UsingCrcmodExtension(crcmod):

12