Home
last modified time | relevance | path

Searched refs:double_buffer (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/audio_processing/transient/
Dfile_utils_unittest.cc460 std::unique_ptr<double[]> double_buffer(new double[1]); in TEST_F() local
470 EXPECT_EQ(0u, ReadInt16FromFileToDoubleBuffer(&file, 1, double_buffer.get())); in TEST_F()
471 EXPECT_EQ(0u, ReadDoubleBufferFromFile(&file, 1, double_buffer.get())); in TEST_F()
473 EXPECT_EQ(0u, WriteDoubleBufferToFile(&file, 1, double_buffer.get())); in TEST_F()
483 EXPECT_EQ(0u, ReadInt16FromFileToDoubleBuffer(NULL, 1, double_buffer.get())); in TEST_F()
485 EXPECT_EQ(0u, ReadInt16FromFileToDoubleBuffer(&file, 0, double_buffer.get())); in TEST_F()
487 EXPECT_EQ(0u, ReadDoubleBufferFromFile(NULL, 1, double_buffer.get())); in TEST_F()
489 EXPECT_EQ(0u, ReadDoubleBufferFromFile(&file, 0, double_buffer.get())); in TEST_F()
495 EXPECT_EQ(0u, WriteDoubleBufferToFile(NULL, 1, double_buffer.get())); in TEST_F()
497 EXPECT_EQ(0u, WriteDoubleBufferToFile(&file, 0, double_buffer.get())); in TEST_F()
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c60 double* double_buffer; in main() local
142 double_buffer = align_malloc(buffer_size, 4096); in main()
164 double_buffer[i] = rand_double(); in main()
261 buffer[0] = (unsigned char*)double_buffer; in main()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c329 const bool double_buffer = surface_type == EGL_WINDOW_BIT; in dri2_get_dri_config() local
332 return conf->dri_config[double_buffer][srgb]; in dri2_get_dri_config()
422 unsigned int attrib, value, double_buffer; in dri2_add_config() local
433 double_buffer = 0; in dri2_add_config()
473 double_buffer = value; in dri2_add_config()
581 if (double_buffer) { in dri2_add_config()
617 if (!conf->dri_config[double_buffer][srgb]) in dri2_add_config()
618 conf->dri_config[double_buffer][srgb] = dri_config; in dri2_add_config()
628 conf->dri_config[double_buffer][srgb] = dri_config; in dri2_add_config()