Home
last modified time | relevance | path

Searched refs:signed_val (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Modules/
Dzlibmodule.c1005 int signed_val; in PyZlib_adler32() local
1021 signed_val = adler32(adler32val, buf, (unsigned int)len); in PyZlib_adler32()
1022 return PyInt_FromLong(signed_val); in PyZlib_adler32()
1037 int signed_val; in PyZlib_crc32() local
1053 signed_val = crc32(crc32val, buf, (unsigned int)len); in PyZlib_crc32()
1054 return PyInt_FromLong(signed_val); in PyZlib_crc32()
Dbinascii.c880 int signed_val; in binascii_crc32() local
890 signed_val = crc32(crc32val, buf, len); in binascii_crc32()
892 return PyInt_FromLong(signed_val); in binascii_crc32()
/external/python/cpython3/Modules/
Dzlibmodule.c1217 int signed_val; in zlib_crc32_impl() local
1233 signed_val = crc32(value, buf, (unsigned int)len); in zlib_crc32_impl()
1236 signed_val = crc32(value, data->buf, (unsigned int)data->len); in zlib_crc32_impl()
1238 return PyLong_FromUnsignedLong(signed_val & 0xffffffffU); in zlib_crc32_impl()
Dbinascii.c1087 int signed_val; in binascii_crc32_impl() local
1091 signed_val = crc32(crc, buf, len); in binascii_crc32_impl()
1092 return (unsigned int)signed_val & 0xffffffffU; in binascii_crc32_impl()