OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ClampToInt16
(Results
1 - 2
of
2
) sorted by null
/external/webrtc/webrtc/modules/
module_common_types_unittest.cc
115
TEST(
ClampToInt16
, TestCases) {
116
EXPECT_EQ(0x0000,
ClampToInt16
(0x00000000));
117
EXPECT_EQ(0x0001,
ClampToInt16
(0x00000001));
118
EXPECT_EQ(0x7FFF,
ClampToInt16
(0x00007FFF));
119
EXPECT_EQ(0x7FFF,
ClampToInt16
(0x7FFFFFFF));
120
EXPECT_EQ(-0x0001,
ClampToInt16
(-0x00000001));
121
EXPECT_EQ(-0x8000,
ClampToInt16
(-0x8000));
122
EXPECT_EQ(-0x8000,
ClampToInt16
(-0x7FFFFFFF));
/external/webrtc/webrtc/modules/include/
module_common_types.h
656
inline int16_t
ClampToInt16
(int32_t input) {
701
data_[i] =
ClampToInt16
(wrap_guard);
726
data_[i] =
ClampToInt16
(wrap_guard);
Completed in 51 milliseconds