Searched refs:ConvertByteArrayToDouble (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | file_utils_unittest.cc | 82 #define MAYBE_ConvertByteArrayToDouble ConvertByteArrayToDouble 87 EXPECT_EQ(0, ConvertByteArrayToDouble(kPiBytes, &value)); in TEST_F() 90 EXPECT_EQ(0, ConvertByteArrayToDouble(kEBytes, &value)); in TEST_F() 93 EXPECT_EQ(0, ConvertByteArrayToDouble(kAvogadroBytes, &value)); in TEST_F() 507 EXPECT_EQ(-1, ConvertByteArrayToDouble(NULL, &value)); in TEST_F() 508 EXPECT_EQ(-1, ConvertByteArrayToDouble(kPiBytes, NULL)); in TEST_F()
|
D | file_utils.cc | 35 int ConvertByteArrayToDouble(const uint8_t bytes[8], double* out) { in ConvertByteArrayToDouble() function 180 ConvertByteArrayToDouble(byte_array.get(), &buffer[doubles_read]); in ReadDoubleBufferFromFile()
|
D | file_utils.h | 42 int ConvertByteArrayToDouble(const uint8_t bytes[8], double* out);
|