/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/ |
H A D | audio_speed.cpp | 27 static const int32_t MAX_BUFFER_SIZE = 100000; member 118 static_cast<unsigned char*>(outBuffer.get()), MAX_BUFFER_SIZE); in ChangeSpeedFor8Bit() 134 MAX_BUFFER_SIZE); in ChangeSpeedFor16Bit() 145 if (bufferSize <= 0 || bufferSize > MAX_BUFFER_SIZE) { in ChangeSpeedFor24Bit() 156 float *speedBuf = new (std::nothrow) float[MAX_BUFFER_SIZE]; in ChangeSpeedFor24Bit() 175 if (bufferSize <= 0 || bufferSize > MAX_BUFFER_SIZE) { in ChangeSpeedFor32Bit() 186 float *speedBuf = new (std::nothrow) float[MAX_BUFFER_SIZE]; in ChangeSpeedFor32Bit() 208 int32_t outSamples = sonicReadFloatFromStream(sonicStream_, outBuffer, MAX_BUFFER_SIZE); in ChangeSpeedForFloat()
|
/foundation/arkui/napi/utils/ |
H A D | log.cpp | 50 constexpr uint32_t MAX_BUFFER_SIZE = 4096; variable 61 char buf[MAX_BUFFER_SIZE] = { '\0' }; in PrintLog()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/log/ |
H A D | logger.cpp | 68 constexpr const size_t MAX_BUFFER_SIZE = 1024; member 147 char buffer[MAX_BUFFER_SIZE]; in VLogAssert() 148 const int numWritten = vsnprintf_s(buffer, MAX_BUFFER_SIZE, MAX_BUFFER_SIZE - 1, format.data(), args); in VLogAssert()
|
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/ |
H A D | extra_data.h | 29 static constexpr int32_t MAX_BUFFER_SIZE = 1024;
member
|
/foundation/multimedia/av_codec/test/unittest/hls_test/ |
H A D | hls_media_downloader_unit_test.h | 42 constexpr uint32_t MAX_BUFFER_SIZE = 20 * 1024 * 1024;
member
|
H A D | hls_media_downloader_unit_test.cpp | 227 hlsMediaDownloader->totalBufferSize_ = MAX_BUFFER_SIZE;
in HWTEST_F() 229 EXPECT_EQ(hlsMediaDownloader->totalBufferSize_, MAX_BUFFER_SIZE);
in HWTEST_F() 744 downloader->totalBufferSize_ = MAX_BUFFER_SIZE;
in HWTEST_F() 746 EXPECT_EQ(downloader->totalBufferSize_, MAX_BUFFER_SIZE);
in HWTEST_F()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/include/ |
H A D | local_data_source.h | 34 Cache(int64_t pos, int64_t capacity = MAX_BUFFER_SIZE); 55 static const int MAX_BUFFER_SIZE = 5 * 1024 * 1024; // 5MB member in OHOS::CastEngine::CastEngineService::final
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/include/ |
H A D | local_data_source.h | 34 Cache(int64_t pos, int64_t capacity = MAX_BUFFER_SIZE); 55 static const int MAX_BUFFER_SIZE = 5 * 1024 * 1024; // 5MB member in OHOS::CastEngine::CastEngineService::final
|
/foundation/ability/dmsfwk/test/fuzztest/dschedtransportsoftbusadapter_fuzzer/ |
H A D | dschedtransportsoftbusadapter_fuzzer.cpp | 26 constexpr uint32_t MAX_BUFFER_SIZE = 80 * 1024 * 1024; member 65 if ((data == nullptr) || (size < sizeof(size_t)) || size >= MAX_BUFFER_SIZE) { in FuzzConnectDevice() 102 if ((data == nullptr) || (size < sizeof(size_t)) || size >= MAX_BUFFER_SIZE) { in FuzzOnDataReady()
|
/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | TlsSocketBranchTest.cpp | 45 static constexpr const size_t MAX_BUFFER_SIZE = 8192; member 280 char buffer[MAX_BUFFER_SIZE]; in HWTEST_F() 281 bzero(buffer, MAX_BUFFER_SIZE); in HWTEST_F() 282 int recvSslNull = tlsSocketInternal->Recv(buffer, MAX_BUFFER_SIZE); in HWTEST_F() 289 int recv = tlsSocketInternal->Recv(buffer, MAX_BUFFER_SIZE); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/tls_test/client/ |
H A D | TlsSocketBranchTest.cpp | 45 static constexpr const size_t MAX_BUFFER_SIZE = 8192;
member 280 char buffer[MAX_BUFFER_SIZE];
in HWTEST_F() 281 bzero(buffer, MAX_BUFFER_SIZE);
in HWTEST_F() 282 int recvSslNull = tlsSocketInternal->Recv(buffer, MAX_BUFFER_SIZE);
in HWTEST_F() 289 int recv = tlsSocketInternal->Recv(buffer, MAX_BUFFER_SIZE);
in HWTEST_F()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/http/ |
H A D | http_media_downloader.cpp | 35 constexpr int MAX_BUFFER_SIZE = 19 * 1024 * 1024; 101 } else if (totalBufferSize > MAX_BUFFER_SIZE) { in InitRingBuffer() 104 totalBufferSize, MAX_BUFFER_SIZE, MAX_BUFFER_SIZE); in InitRingBuffer() 105 ringBuffer_ = std::make_shared<RingBuffer>(MAX_BUFFER_SIZE); in InitRingBuffer() 106 totalBufferSize_ = MAX_BUFFER_SIZE; in InitRingBuffer() 126 } else if (totalBufferSize > MAX_BUFFER_SIZE) { in InitCacheBuffer() 129 totalBufferSize, MAX_BUFFER_SIZE, MAX_BUFFER_SIZE); in InitCacheBuffer() 130 cacheMediaBuffer_->Init(MAX_BUFFER_SIZE, CHUNK_SIZ in InitCacheBuffer() [all...] |
/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
H A D | ipc_test_helper.cpp | 30 static const int MAX_BUFFER_SIZE = 1024; member 94 char buf[MAX_BUFFER_SIZE]; in GetPidByName() 125 if (fgets(buf, MAX_BUFFER_SIZE - 1, fp) == nullptr) { in GetPidByName()
|
/foundation/multimedia/av_codec/test/unittest/reference_parser_test/reference_parser_demo/ |
H A D | reference_parser_demo.cpp | 34 constexpr int32_t MAX_BUFFER_SIZE = 8294400; member 86 buffer_ = AVBuffer::CreateAVBuffer(allocator, MAX_BUFFER_SIZE); in InitScene()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_framebuffer_surface.h | 60 static constexpr uint32_t MAX_BUFFER_SIZE = 3; member in OHOS::Rosen::HdiFramebufferSurface
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/ |
H A D | hdiframebuffersurface_test.cpp | 72 ASSERT_EQ(hdiFramebufferSurface_->GetBufferQueueSize(), HdiFramebufferSurface::MAX_BUFFER_SIZE);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
H A D | hdi_framebuffer_surface.cpp | 59 ret = fbSurface->SetBufferQueueSize(MAX_BUFFER_SIZE); in CreateFramebufferSurface()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/ |
H A D | local_data_source.cpp | 177 if (capacity > MAX_BUFFER_SIZE || capacity <= 0) { in Cache() 178 capacity = MAX_BUFFER_SIZE; in Cache()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/src/ |
H A D | local_data_source.cpp | 176 if (capacity > MAX_BUFFER_SIZE || capacity <= 0) { in Cache() 177 capacity = MAX_BUFFER_SIZE; in Cache()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/include/ |
H A D | a2dp_codec_constant.h | 25 #define MAX_BUFFER_SIZE 19200 macro
|
/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/multimedia_codec/decoder/ |
H A D | decode_data_process.h | 103 constexpr static int32_t MAX_BUFFER_SIZE = 1920 * 1080 * 4 * 2; member in OHOS::DistributedHardware::DecodeDataProcess
|
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/ |
H A D | swapchain_layer.cpp | 74 constexpr uint32_t MAX_BUFFER_SIZE = SURFACE_MAX_QUEUE_SIZE; member 289 } images[MAX_BUFFER_SIZE]; 727 if (numImages > MAX_BUFFER_SIZE) { in SetWindowQueueSize() 729 numImages, MAX_BUFFER_SIZE); in SetWindowQueueSize() 1333 uint32_t defaultQueueSize = MAX_BUFFER_SIZE; in GetPhysicalDeviceSurfaceCapabilitiesKHR() 1351 capabilities->maxImageCount = std::max(defaultQueueSize, MAX_BUFFER_SIZE); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_surface.cpp | 29 constexpr int32_t MAX_BUFFER_SIZE = 3; member 413 if (availableBuffers_.size() >= MAX_BUFFER_SIZE) { in DrawBuffer()
|
/foundation/communication/netstack/interfaces/innerkits/tls_socket/include/ |
H A D | tls_socket_server.h | 455 static constexpr const size_t MAX_BUFFER_SIZE = 8192; member in OHOS::NetStack::TlsSocketServer::TLSSocketServer
|
/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tls_socket_server.cpp | 1276 char buffer[MAX_BUFFER_SIZE];
in RecvRemoteInfo() 1277 if (memset_s(buffer, MAX_BUFFER_SIZE, 0, MAX_BUFFER_SIZE) != EOK) {
in RecvRemoteInfo() 1281 int len = it->second->Recv(buffer, MAX_BUFFER_SIZE);
in RecvRemoteInfo()
|