Home
last modified time | relevance | path

Searched refs:BUFFER_SIZE (Results 1 – 14 of 14) sorted by relevance

/test/xts/hats/kernel/dmabuffer/
Ddmabuf_alloc.cpp36 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/
Dchecksum_file.c31 #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()
Dmain.c30 #define BUFFER_SIZE 4096 macro
/test/xts/acts/multimedia_lite/camera_lite_posix/camera_native/src/
DActsMediaCameraTest.h29 const int32_t BUFFER_SIZE = 1024; variable
DActsMediaCameraTest.cpp346 surface->SetSize(BUFFER_SIZE * BUFFER_SIZE); in StartRecord()
/test/xts/hats/hdf/codec/benchmarktest/
Dcodec_benchmark_omx_test.cpp54 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/
Dcodec_hdi_omx_test.cpp48 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/
DWebGL1.buffer.js332 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);
DWebGL1.enum.js179 expect(gl.BUFFER_SIZE).assertEqual(0x8764);
/test/xts/hats/hdf/codec/benchmarktest_additional/
Dcodec_benchmark_manager_test.cpp52 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/
Dcodec_hdi_adapter_test.cpp54 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/
DActsZlibTest.cpp42 static unsigned BUFFER_SIZE = 8192; variable
801 err = gzbuffer(file, BUFFER_SIZE);
/test/xts/acts/bundlemanager/zlib/actszlibndktest/entry/src/main/cpp/
Dzlibndk.cpp54 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/
DActsMediaAudioTest.cpp25 const int32_t BUFFER_SIZE = 1024; variable