/test/xts/hats/kernel/dmabuffer/ |
D | dmabuf_alloc.cpp | 36 const int BUFFER_SIZE = 128; variable 85 DmabufHeapBuffer buffer = { .size = BUFFER_SIZE, .heapFlags = 0 }; 88 void *ptr = mmap(nullptr, BUFFER_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, buffer.fd, 0); 93 ASSERT_GE(sprintf_s((char *)ptr, BUFFER_SIZE, "libdmabufheap"), 0); 99 ASSERT_EQ(0, munmap(ptr, BUFFER_SIZE)); 113 DmabufHeapBuffer buffer = { .size = BUFFER_SIZE, .heapFlags = 0 }; 116 void *ptr = mmap(nullptr, BUFFER_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, buffer.fd, 0); 121 ASSERT_GE(sprintf_s((char *)ptr, BUFFER_SIZE, "parent"), 0); 129 ptr = mmap(nullptr, BUFFER_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, buffer.fd, 0); 136 ASSERT_GE(sprintf_s((char *)ptr, BUFFER_SIZE, "child"), 0); [all …]
|
/test/xts/tools/lite/checksum/src/ |
D | checksum_file.c | 31 #define BUFFER_SIZE 4096 macro 146 unsigned char buffer[BUFFER_SIZE]; in CalcSingleFileSha256() 148 size_t size = fread(buffer, 1, BUFFER_SIZE, fp); in CalcSingleFileSha256()
|
D | main.c | 30 #define BUFFER_SIZE 4096 macro
|
/test/xts/acts/multimedia_lite/camera_lite_posix/camera_native/src/ |
D | ActsMediaCameraTest.h | 29 const int32_t BUFFER_SIZE = 1024; variable
|
D | ActsMediaCameraTest.cpp | 346 surface->SetSize(BUFFER_SIZE * BUFFER_SIZE); in StartRecord()
|
/test/xts/hats/hdf/codec/benchmarktest/ |
D | codec_benchmark_omx_test.cpp | 54 constexpr int32_t BUFFER_SIZE = WIDTH * HEIGHT * 3; variable 80 buffer.allocLen = BUFFER_SIZE; in InitOmxCodecBuffer() 354 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in BENCHMARK_F() 357 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); in BENCHMARK_F()
|
/test/xts/hats/hdf/codec/hdi_omx/ |
D | codec_hdi_omx_test.cpp | 48 constexpr int32_t BUFFER_SIZE = WIDTH * HEIGHT * 3; variable 60 buffer.allocLen = BUFFER_SIZE; in InitCodecBuffer() 1082 buffer.allocLen = BUFFER_SIZE; 1088 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); 1091 BUFFER_SIZE); 1152 allocBuffer.allocLen = BUFFER_SIZE; 1173 allocBuffer.allocLen = BUFFER_SIZE; 1260 allocBuffer.allocLen = BUFFER_SIZE; 1304 allocBuffer.allocLen = BUFFER_SIZE;
|
/test/xts/acts/graphic/webGL/src/main/js/test/ |
D | WebGL1.buffer.js | 332 let bufferSize = gl.getBufferParameter(gl.ARRAY_BUFFER, gl.BUFFER_SIZE); 353 let bufferSize = gl.getBufferParameter(gl.ARRAY_BUFFER, gl.BUFFER_SIZE); 381 let bufferSize = gl.getBufferParameter(gl.ARRAY_BUFFER, gl.BUFFER_SIZE); 527 let bufferSize = gl.getBufferParameter(gl.ARRAY_BUFFER, gl.BUFFER_SIZE); 568 let bufferSize = gl.getBufferParameter(gl.ARRAY_BUFFER, gl.BUFFER_SIZE); 574 bufferSize = gl.getBufferParameter(gl.ARRAY_BUFFER, gl.BUFFER_SIZE); 591 let bufferSize = gl.getBufferParameter(gl.ARRAY_BUFFER, gl.BUFFER_SIZE); 609 let bufferSize = gl.getBufferParameter(gl.ELEMENT_ARRAY_BUFFER, gl.BUFFER_SIZE); 1995 let bufferSize = gl.getBufferParameter(gl.ARRAY_BUFFER, gl.BUFFER_SIZE); 2018 let bufferSize = gl.getBufferParameter(gl.ARRAY_BUFFER, gl.BUFFER_SIZE);
|
D | WebGL1.enum.js | 179 expect(gl.BUFFER_SIZE).assertEqual(0x8764);
|
/test/xts/hats/hdf/codec/benchmarktest_additional/ |
D | codec_benchmark_manager_test.cpp | 52 constexpr int32_t BUFFER_SIZE = WIDTH * HEIGHT * 3; variable 78 buffer.allocLen = BUFFER_SIZE; in InitOmxCodecBuffer() 1454 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); 1457 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); 1474 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); 1477 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); 1494 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); 1497 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE);
|
/test/xts/hats/hdf/codec/hdi_adapter/ |
D | codec_hdi_adapter_test.cpp | 54 constexpr int32_t BUFFER_SIZE = (640 * 480 * 3); variable 857 allocBuffer.allocLen = BUFFER_SIZE; 1295 buffer.allocLen = BUFFER_SIZE; 1301 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); 1304 BUFFER_SIZE);
|
/test/xts/acts/bundlemanager/zlib/actszlibtest/ |
D | ActsZlibTest.cpp | 42 static unsigned BUFFER_SIZE = 8192; variable 801 err = gzbuffer(file, BUFFER_SIZE);
|
/test/xts/acts/bundlemanager/zlib/actszlibndktest/entry/src/main/cpp/ |
D | zlibndk.cpp | 54 static unsigned BUFFER_SIZE = 8192; variable 1508 err = gzbuffer(file, BUFFER_SIZE); in GzClearErr() 1538 err = gzbuffer(file, BUFFER_SIZE); in GzBuffer()
|
/test/xts/acts/multimedia_lite/media_lite_posix/audio_native/src/ |
D | ActsMediaAudioTest.cpp | 25 const int32_t BUFFER_SIZE = 1024; variable
|