Home
last modified time | relevance | path

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

/drivers/peripheral/display/hal/default_standard/src/display_device/core/
H A Dhdi_netlink_monitor.cpp61 constexpr int BUFFER_SIZE = UEVENT_BUFFER_SIZE * 2; in MonitorThread() local
63 char buf[BUFFER_SIZE] = { 0 }; in MonitorThread()
/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dlexer.h42 static constexpr int BUFFER_SIZE = (1024 * 1024); member in OHOS::Hardware::Lexer
76 char buffer_[BUFFER_SIZE] {0};
H A Dlexer.cpp176 auto size = src_.readsome(buffer_, BUFFER_SIZE); in FillBuffer()
/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Dfile.h87 static constexpr int BUFFER_SIZE = 1024; member in OHOS::HDI::File
89 char buffer_[BUFFER_SIZE] = {0};
H A Dfile.cpp123 std::fill(buffer_, buffer_ + BUFFER_SIZE, 0); in Read()
124 size_t count = fread(buffer_, 1, BUFFER_SIZE - 1, fd_); in Read()
125 if (count < BUFFER_SIZE - 1) { in Read()
/drivers/peripheral/display/composer/vdi_base/src/
H A Dhdi_netlink_monitor.cpp95 constexpr int BUFFER_SIZE = 2048; /* buffer for the variables */
103 char buf[BUFFER_SIZE] = { 0 };
/drivers/peripheral/codec/test/unittest/idl_omx/
H A Dcodec_function_utils.h40 constexpr int32_t BUFFER_SIZE = WIDTH * HEIGHT * 3; variable
H A Dcodec_function_utils.cpp52 buffer.allocLen = BUFFER_SIZE; in InitOmxCodecBuffer()
H A Dcodec_hdi_omx_enc_test.cpp842 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in HWTEST_F()
845 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); in HWTEST_F()
/drivers/peripheral/codec/test/unittest/hdi_omx/
H A Dcodec_hdi_omx_test.cpp48 constexpr int32_t BUFFER_SIZE = WIDTH * HEIGHT * 3; member
62 buffer.allocLen = BUFFER_SIZE; in InitCodecBuffer()
949 buffer.allocLen = BUFFER_SIZE; in HWTEST_F()
955 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in HWTEST_F()
958 eglImage.get(), BUFFER_SIZE); in HWTEST_F()
1014 allocBuffer.allocLen = BUFFER_SIZE; in HWTEST_F()
1031 allocBuffer.allocLen = BUFFER_SIZE; in HWTEST_F()
1096 allocBuffer.allocLen = BUFFER_SIZE; in HWTEST_F()
1134 allocBuffer.allocLen = BUFFER_SIZE; in HWTEST_F()
/drivers/peripheral/codec/test/benchmarktest/
H A Dcodec_benchmark_omx_test.cpp53 constexpr int32_t BUFFER_SIZE = WIDTH * HEIGHT * 3; member
113 buffer.allocLen = BUFFER_SIZE; in InitOmxCodecBuffer()
490 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in BENCHMARK_F()
493 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); in BENCHMARK_F()
/drivers/peripheral/input/udriver/include/
H A Dinput_device_manager.h39 #define BUFFER_SIZE (1024) macro
/drivers/peripheral/input/udriver/src/
H A Dinput_device_manager.cpp490 char InfoBuf[BUFFER_SIZE]; in InotifyEventHandler()
496 (void)memset_s(InfoBuf, BUFFER_SIZE, 0, BUFFER_SIZE); in InotifyEventHandler()
497 int32_t result = read(notifyFd, InfoBuf, BUFFER_SIZE); in InotifyEventHandler()
/drivers/peripheral/audio/test/systemtest/common/hdi_service_common/src/
H A Dhdi_service_common.cpp20 #define BUFFER_SIZE 16384 macro
1094 bufferSize = BUFFER_SIZE; in GetCaptureBufferSize()

Completed in 12 milliseconds