Searched refs:MAX_STREAM_BUF_SIZE (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/ |
H A D | stream_buffer.rs | 33 const MAX_STREAM_BUF_SIZE: usize = 256; const 67 sz_buff: [c_char; MAX_STREAM_BUF_SIZE + 1], 78 sz_buff: [0; MAX_STREAM_BUF_SIZE + 1], in default() 111 let size = MAX_STREAM_BUF_SIZE + 1; in clean() 159 if self.w_pos >= MAX_STREAM_BUF_SIZE { in get_available_buf_size() 162 MAX_STREAM_BUF_SIZE - self.w_pos in get_available_buf_size() 190 if (self.w_pos + size) > MAX_STREAM_BUF_SIZE { in write_char_usize() 192 self.w_pos, size, MAX_STREAM_BUF_SIZE, MEM_OUT_OF_BOUNDS); in write_char_usize()
|
/ohos5.0/foundation/multimodalinput/input/util/network/src/ |
H A D | stream_buffer.cpp | 139 if (wPos_ + static_cast<int32_t>(size) > MAX_STREAM_BUF_SIZE) { in Write() 141 "errCode:%{public}d", wPos_, size, MAX_STREAM_BUF_SIZE, MEM_OUT_OF_BOUNDS); in Write() 173 return ((wPos_ >= MAX_STREAM_BUF_SIZE) ? 0 : (MAX_STREAM_BUF_SIZE - wPos_)); in GetAvailableBufSize()
|
/ohos5.0/base/msdp/device_status/utils/ipc/src/ |
H A D | stream_buffer.cpp | 140 if (wPos_ + static_cast<int32_t>(size) > MAX_STREAM_BUF_SIZE) { in Write() 142 "errCode:%{public}d", wPos_, size, MAX_STREAM_BUF_SIZE, MEM_OUT_OF_BOUNDS); in Write() 179 return ((wPos_ >= MAX_STREAM_BUF_SIZE) ? 0 : (MAX_STREAM_BUF_SIZE - wPos_)); in GetAvailableBufSize()
|
/ohos5.0/base/sensors/sensor/utils/ipc/src/ |
H A D | stream_buffer.cpp | 159 if (wPos_ + size > MAX_STREAM_BUF_SIZE) { in Write() 161 wPos_, size, MAX_STREAM_BUF_SIZE); in Write() 234 return ((wPos_ >= MAX_STREAM_BUF_SIZE) ? 0 : (MAX_STREAM_BUF_SIZE - wPos_)); in GetAvailableBufSize()
|
/ohos5.0/base/msdp/device_status/utils/common/include/ |
H A D | proto.h | 28 inline constexpr int32_t MAX_STREAM_BUF_SIZE { 1024 }; 29 inline constexpr size_t MAX_PACKET_BUF_SIZE { MAX_STREAM_BUF_SIZE };
|
/ohos5.0/base/sensors/sensor/utils/ipc/include/ |
H A D | proto.h | 28 static constexpr size_t MAX_STREAM_BUF_SIZE = 256; variable
|
H A D | stream_buffer.h | 95 char szBuff_[MAX_STREAM_BUF_SIZE + 1] = {};
|
/ohos5.0/foundation/multimodalinput/input/util/common/include/ |
H A D | config_multimodal.h | 36 #define MAX_STREAM_BUF_SIZE (MAX_PACKET_BUF_SIZE*2) macro
|
/ohos5.0/base/msdp/device_status/utils/ipc/include/ |
H A D | stream_buffer.h | 81 char szBuff_[MAX_STREAM_BUF_SIZE + 1] {};
|
/ohos5.0/foundation/multimodalinput/input/util/network/include/ |
H A D | stream_buffer.h | 98 char szBuff_[MAX_STREAM_BUF_SIZE+1] = {};
|
/ohos5.0/foundation/multimodalinput/input/util/network/test/ |
H A D | net_packet_test.cpp | 205 char szTest[MAX_STREAM_BUF_SIZE];
|