Home
last modified time | relevance | path

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

/external/webrtc/logging/rtc_event_log/encoder/
Drtc_event_log_encoder_common_unittest.cc43 T signed_val; in TYPED_TEST_P() local
44 ASSERT_TRUE(ToSigned<T>(unsigned_val, &signed_val)) in TYPED_TEST_P()
46 EXPECT_EQ(val, signed_val) in TYPED_TEST_P()
69 T signed_val; in TYPED_TEST_P() local
70 EXPECT_FALSE(ToSigned<T>(unsigned_val, &signed_val)) in TYPED_TEST_P()
/external/webrtc/rtc_base/
Dbit_buffer.cc358 uint32_t signed_val = val; in WriteSignedExponentialGolomb() local
359 return WriteExponentialGolomb((signed_val * 2) - 1); in WriteSignedExponentialGolomb()
363 uint32_t signed_val = -val; in WriteSignedExponentialGolomb() local
364 return WriteExponentialGolomb(signed_val * 2); in WriteSignedExponentialGolomb()
/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.c1290 int signed_val; in zlib_crc32_impl() local
1306 signed_val = crc32(value, buf, (unsigned int)len); in zlib_crc32_impl()
1309 signed_val = crc32(value, data->buf, (unsigned int)data->len); in zlib_crc32_impl()
1311 return PyLong_FromUnsignedLong(signed_val & 0xffffffffU); in zlib_crc32_impl()
Dbinascii.c1127 int signed_val; in binascii_crc32_impl() local
1131 signed_val = crc32(crc, buf, len); in binascii_crc32_impl()
1132 return (unsigned int)signed_val & 0xffffffffU; in binascii_crc32_impl()