Home
last modified time | relevance | path

Searched refs:DEFAULT_BUFFER_SIZE (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/
H A Dimage_packer_native_impl.cpp54 const int64_t DEFAULT_BUFFER_SIZE = 25 * 1024 * 1024; in PackingFromImageSource() local
55 int64_t bufferSize = (*size <= 0) ? DEFAULT_BUFFER_SIZE : (*size); in PackingFromImageSource()
85 const int64_t DEFAULT_BUFFER_SIZE = 25 * 1024 * 1024; in PackingFromPixelmap() local
86 int64_t bufferSize = (*size <= 0) ? DEFAULT_BUFFER_SIZE : (*size); in PackingFromPixelmap()
117 const int64_t DEFAULT_BUFFER_SIZE = defaultBufferSize; in PackToDataFromPicture() local
118 int64_t bufferSize = (*size <= 0) ? DEFAULT_BUFFER_SIZE : (*size); in PackToDataFromPicture()
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/common/
H A Dfaultlog_util.cpp31 constexpr int DEFAULT_BUFFER_SIZE = 64; variable
48 char buf[DEFAULT_BUFFER_SIZE] = {0}; in GetFormatedTime()
49 strftime(buf, DEFAULT_BUFFER_SIZE - 1, "%Y%m%d%H%M%S", timeInfo); in GetFormatedTime()
/ohos5.0/foundation/multimedia/av_session/frameworks/common/src/
H A Davsession_pixel_map.cpp29 std::vector<uint8_t> imgBuffer(DEFAULT_BUFFER_SIZE); in Unmarshalling()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dlocal_socket_exec.cpp40 constexpr int DEFAULT_BUFFER_SIZE = 8192; variable
268 int bufferSize = DEFAULT_BUFFER_SIZE; in PollSendData()
457 uint32_t recvSize = DEFAULT_BUFFER_SIZE; in SetSocketDefaultBufferSize()
462 uint32_t sendSize = DEFAULT_BUFFER_SIZE; in SetSocketDefaultBufferSize()
471 int bufferSize = DEFAULT_BUFFER_SIZE; in ConfirmBufferSize()
698 bufferSize = DEFAULT_BUFFER_SIZE; in UpdateRecvBuffer()
816 SetSocketBufferSize(sockfd, SO_RCVBUF, DEFAULT_BUFFER_SIZE); in ExecLocalSocketConnect()
1122 options.SetReceiveBufferSize(DEFAULT_BUFFER_SIZE); in ExecLocalSocketServerGetExtraOptions()
1123 options.SetSendBufferSize(DEFAULT_BUFFER_SIZE); in ExecLocalSocketServerGetExtraOptions()
H A Dsocket_exec.cpp46 static constexpr const int DEFAULT_BUFFER_SIZE = 8192; variable
543 int bufferSize = DEFAULT_BUFFER_SIZE; in PollSendData()
661 int bufferSize = DEFAULT_BUFFER_SIZE; in ConfirmBufferSize()
687 bufferSize = DEFAULT_BUFFER_SIZE; in UpdateRecvBuffer()
1943 uint32_t recvBufferSize = DEFAULT_BUFFER_SIZE; in ClientHandler()
/ohos5.0/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/
H A Davsession_pixel_map.h27 constexpr size_t DEFAULT_BUFFER_SIZE = 160 * 1024; variable
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/
H A Dhttp_source_plugin.cpp30 constexpr int DEFAULT_BUFFER_SIZE = 200 * 1024; variable
53 bufferSize_(DEFAULT_BUFFER_SIZE), in HttpSourcePlugin()
/ohos5.0/drivers/peripheral/audio/test/benchmarktest/capture/
H A Daudio_capture_benchmarktest.cpp31 const int DEFAULT_BUFFER_SIZE = 16384; variable
66 return DEFAULT_BUFFER_SIZE; in GetCaptureBufferSize()
71 return DEFAULT_BUFFER_SIZE; in GetCaptureBufferSize()
76 return DEFAULT_BUFFER_SIZE; in GetCaptureBufferSize()
81 bufferSize = DEFAULT_BUFFER_SIZE; in GetCaptureBufferSize()
/ohos5.0/drivers/peripheral/audio/test/unittest/common/render/
H A Daudio_render_common_test.cpp36 const uint64_t DEFAULT_BUFFER_SIZE = 16384; variable
67 return DEFAULT_BUFFER_SIZE; in GetRenderBufferSize()
72 return DEFAULT_BUFFER_SIZE; in GetRenderBufferSize()
77 return DEFAULT_BUFFER_SIZE; in GetRenderBufferSize()
82 bufferSize = DEFAULT_BUFFER_SIZE; in GetRenderBufferSize()
647 uint32_t frameLen = DEFAULT_BUFFER_SIZE;
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/quick_fix/
H A Dquick_fix_manager_proxy.cpp34 const int32_t DEFAULT_BUFFER_SIZE = 65536; variable
244 char buffer[DEFAULT_BUFFER_SIZE] = {0}; in CopyFiles()
/ohos5.0/drivers/peripheral/audio/test/benchmarktest/render/
H A Daudio_render_benchmarktest.cpp38 const uint64_t DEFAULT_BUFFER_SIZE = 16384; variable
75 return DEFAULT_BUFFER_SIZE; in GetRenderBufferSize()
80 return DEFAULT_BUFFER_SIZE; in GetRenderBufferSize()
85 return DEFAULT_BUFFER_SIZE; in GetRenderBufferSize()
90 bufferSize = DEFAULT_BUFFER_SIZE; in GetRenderBufferSize()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/extend_resource/
H A Dextend_resource_manager_proxy.cpp33 const int32_t DEFAULT_BUFFER_SIZE = 65536; variable
329 char buffer[DEFAULT_BUFFER_SIZE] = {0}; in CopyFiles()
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_packer_napi.cpp79 const int64_t DEFAULT_BUFFER_SIZE = 25 * 1024 * 1024; // 25M is the maximum default packedSize variable
231 return DEFAULT_BUFFER_SIZE; in getDefaultBufferSize()
237 return DEFAULT_BUFFER_SIZE; in getDefaultBufferSize()
242 return DEFAULT_BUFFER_SIZE; in getDefaultBufferSize()
247 return DEFAULT_BUFFER_SIZE; in getDefaultBufferSize()
252 return DEFAULT_BUFFER_SIZE; in getDefaultBufferSize()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_lite_source/
H A Dhttp_lite_source_plugin.cpp25 constexpr int DEFAULT_BUFFER_SIZE = 200 * 1024; variable
70 bufferSize_(DEFAULT_BUFFER_SIZE), in HttpSourcePlugin()
/ohos5.0/base/customization/enterprise_device_management/interfaces/inner_api/bundle_manager/src/
H A Dbundle_manager_proxy.cpp37 const int32_t DEFAULT_BUFFER_SIZE = 65536; variable
226 char buffer[DEFAULT_BUFFER_SIZE] = {0}; in WriteFileToInner()
/ohos5.0/drivers/peripheral/audio/test/unittest/common/capture/
H A Daudio_capture_common_test.cpp28 const int DEFAULT_BUFFER_SIZE = 16384; variable
61 return DEFAULT_BUFFER_SIZE; in GetCaptureBufferSize()
66 return DEFAULT_BUFFER_SIZE; in GetCaptureBufferSize()
71 return DEFAULT_BUFFER_SIZE; in GetCaptureBufferSize()
76 bufferSize = DEFAULT_BUFFER_SIZE; in GetCaptureBufferSize()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/capturer/
H A Dmodule_inner_capturer_sink.c65 #define DEFAULT_BUFFER_SIZE 8192 // same as HDI Sink macro
446 u->buffer_size = DEFAULT_BUFFER_SIZE; in pa__init()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/
H A Dhttp_source_plugin.cpp31 constexpr int DEFAULT_BUFFER_SIZE = 200 * 1024; variable
60 bufferSize_(DEFAULT_BUFFER_SIZE), in HttpSourcePlugin()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/
H A Dhdi_source.c55 #define DEFAULT_BUFFER_SIZE (1024 * 16) macro
488 u->buffer_size = DEFAULT_BUFFER_SIZE; in InitUserdataAttrs()
H A Dmodule_split_stream_sink.c59 #define DEFAULT_BUFFER_SIZE 8192 macro
997 u->buffer_size = DEFAULT_BUFFER_SIZE; in PaHdiSinkNewInit()
H A Dhdi_sink.c63 #define DEFAULT_BUFFER_SIZE 8192 macro
4094 u->buffer_size = DEFAULT_BUFFER_SIZE; in PaHdiSinkNewInitUserDataAndSink()
/ohos5.0/base/hiviewdfx/hitrace/cmd/src/
H A Dhitrace_cmd.cpp139 const int DEFAULT_BUFFER_SIZE = 18432; // 18 MB variable
629 args += (" bufferSize:" + std::to_string(DEFAULT_BUFFER_SIZE)); in ReloadTraceArgs()
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
H A Dhitrace_dump.cpp73 const int DEFAULT_BUFFER_SIZE = 12 * 1024; variable
1341 serviceTraceParams.bufferSize = std::to_string(DEFAULT_BUFFER_SIZE); in HandleServiceTraceOpen()
/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dtls_socket.cpp49 constexpr int DEFAULT_BUFFER_SIZE = 8192; variable
1293 int bufferSize = DEFAULT_BUFFER_SIZE; in PollSend()