Home
last modified time | relevance | path

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

/external/webrtc/logging/rtc_event_log/encoder/
Drtc_event_log_encoder_common_unittest.cc42 const auto unsigned_val = ToUnsigned(val); in TYPED_TEST_P() local
44 ASSERT_TRUE(ToSigned<T>(unsigned_val, &signed_val)) in TYPED_TEST_P()
45 << "Failed on " << static_cast<uint64_t>(unsigned_val) << "."; in TYPED_TEST_P()
47 << "Failed on " << static_cast<uint64_t>(unsigned_val) << "."; in TYPED_TEST_P()
68 for (uint64_t unsigned_val : illegal_values) { in TYPED_TEST_P() local
70 EXPECT_FALSE(ToSigned<T>(unsigned_val, &signed_val)) in TYPED_TEST_P()
71 << "Failed on " << static_cast<uint64_t>(unsigned_val) << "."; in TYPED_TEST_P()
/external/pdfium/core/fxcrt/
Dfx_number.cpp41 FX_SAFE_UINT32 unsigned_val = 0; in FX_Number() local
54 unsigned_val = unsigned_val * 10 + FXSYS_DecimalCharToInt(strc.CharAt(cc)); in FX_Number()
55 if (!unsigned_val.IsValid()) in FX_Number()
60 uint32_t uValue = unsigned_val.ValueOrDefault(0); in FX_Number()
/external/webrtc/modules/rtp_rtcp/source/
Dbyte_io.h110 U unsigned_val = ByteReader<T, B, false>::ReadBigEndian(data); in ReadBigEndian() local
112 unsigned_val = SignExtend(unsigned_val); in ReadBigEndian()
113 return ReinterpretAsSigned(unsigned_val); in ReadBigEndian()
117 U unsigned_val = ByteReader<T, B, false>::ReadLittleEndian(data); in ReadLittleEndian() local
119 unsigned_val = SignExtend(unsigned_val); in ReadLittleEndian()
120 return ReinterpretAsSigned(unsigned_val); in ReadLittleEndian()
128 static T ReinterpretAsSigned(U unsigned_val) { in ReinterpretAsSigned() argument
137 if ((unsigned_val & kUnsignedHighestBitMask) != 0) { in ReinterpretAsSigned()
140 val = static_cast<T>(unsigned_val & ~kUnsignedHighestBitMask); in ReinterpretAsSigned()
143 val = static_cast<T>(unsigned_val); in ReinterpretAsSigned()
/external/webrtc/rtc_base/
Dbit_buffer.cc224 uint32_t unsigned_val; in ReadSignedExponentialGolomb() local
225 if (!ReadExponentialGolomb(&unsigned_val)) { in ReadSignedExponentialGolomb()
228 if ((unsigned_val & 1) == 0) { in ReadSignedExponentialGolomb()
229 *val = -static_cast<int32_t>(unsigned_val / 2); in ReadSignedExponentialGolomb()
231 *val = (unsigned_val + 1) / 2; in ReadSignedExponentialGolomb()
/external/jemalloc_new/include/jemalloc/internal/
Demitter.h46 unsigned unsigned_val; member
/external/jemalloc_new/src/
Dstats.c381 col_ind.unsigned_val = j; in stats_arena_bins_print()
388 col_regs.unsigned_val = nregs; in stats_arena_bins_print()
480 col_ind.unsigned_val = nbins + j; in stats_arena_lextents_print()