Home
last modified time | relevance | path

Searched defs:buffer (Results 276 – 300 of 2207) sorted by relevance

1...<<11121314151617181920>>...89

/ohos5.0/base/update/updater/services/diffpatch/
H A Ddiffpatch.cpp80 std::string GeneraterBufferHash(const BlockBuffer &buffer) in PatchMapFile()
92 std::string ConvertSha256Hex(const BlockBuffer &buffer) in PatchMapFile()
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/
H A Ddepthwise_conv2d_native_builder.cpp72 void* buffer = tensor->GetBuffer(); in SetActivation() local
112 void* buffer = tensor->GetBuffer(); in SetStrides() local
131 void* buffer = tensor->GetBuffer(); in SetDilation() local
153 void* buffer = tensor->GetBuffer(); in SetPadModeOrPaddings() local
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dzip_internal.cpp106 ZipBuffer *buffer = static_cast<ZipBuffer *>(opaque); in OpenZipBuffer() local
118 ZipBuffer *buffer = static_cast<ZipBuffer *>(opaque); in ReadZipBuffer() local
150 ZipBuffer *buffer = static_cast<ZipBuffer *>(opaque); in GetOffsetOfZipBuffer() local
160 ZipBuffer *buffer = static_cast<ZipBuffer *>(opaque); in SeekZipBuffer() local
233 ZipBuffer *buffer = static_cast<ZipBuffer *>(malloc(sizeof(ZipBuffer))); in PrepareMemoryForUnzipping() local
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/video_demo/
H A Davcodec_video_decoder_inner_demo.cpp61 sptr<SurfaceBuffer> buffer; in OnBufferAvailable() local
330 std::shared_ptr<AVSharedMemory> buffer = signal_->inBufferQueue_.front(); in InputFunc() local
379 auto buffer = signal_->outBufferQueue_.front(); in OutputFunc() local
421 …id VDecDemoCallback::OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) in OnInputBufferAvailable()
431 std::shared_ptr<AVSharedMemory> buffer) in OnOutputBufferAvailable()
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/avmuxer/
H A Davmuxer_demo_base.cpp285 std::shared_ptr<AVBuffer> buffer = nullptr; in WriteSingleTrackSample() local
303 std::shared_ptr<AVBuffer> buffer = nullptr; in WriteSingleTrackSampleByBufferQueue() local
319 std::shared_ptr<AVBuffer> &buffer) in ReadSampleDataInfo()
354 std::shared_ptr<AVBuffer> &buffer, sptr<AVBufferQueueProducer> bufferQueue) in ReadSampleDataInfoByBufferQueue()
558 std::vector<uint8_t> buffer(extSize); in AddVideoTrack() local
591 std::vector<uint8_t> buffer(extSize); in AddAudioTrack() local
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/filters/
H A Dvideo_decoder_adapter.cpp72 void VideoDecoderCallback::OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) in OnInputBufferAvailable()
81 void VideoDecoderCallback::OnOutputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) in OnOutputBufferAvailable()
179 for (auto &buffer : bufferVector_) { in Flush() local
196 for (auto &buffer : bufferVector_) { in Reset() local
290 void VideoDecoderAdapter::OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) in OnInputBufferAvailable()
332 void VideoDecoderAdapter::OnOutputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) in OnOutputBufferAvailable()
/ohos5.0/base/startup/appspawn/util/src/
H A Dappspawn_utils.c141 char buffer[PATH_MAX] = {0}; in MakeDirRec() local
168 static void TrimTail(char *buffer, uint32_t maxLen) in TrimTail()
187 char buffer[PATH_MAX] = {0}; in StringSplit() local
241 char *buffer = NULL; in ReadFile() local
275 char *buffer = ReadFile(jsonPath); in GetJsonObjFromFile() local
315 void DumpCurrentDir(char *buffer, uint32_t bufferLen, const char *dirPath) in DumpCurrentDir()
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/lite/
H A Dipc_cmd_parser.cpp69 …EGISTER_DEVICE_MANAGER_LISTENER, std::shared_ptr<IpcReq> pBaseReq, IpcIo &request, uint8_t *buffer, in ON_IPC_SET_REQUEST()
91 uint8_t *buffer, size_t buffLen) in ON_IPC_SET_REQUEST()
105 …IPC_SET_REQUEST(GET_DEVICE_INFO, std::shared_ptr<IpcReq> pBaseReq, IpcIo &request, uint8_t *buffer, in ON_IPC_SET_REQUEST()
132 …T_REQUEST(GET_TRUST_DEVICE_LIST, std::shared_ptr<IpcReq> pBaseReq, IpcIo &request, uint8_t *buffer, in ON_IPC_SET_REQUEST()
166 …_REQUEST(START_DEVICE_DISCOVERY, std::shared_ptr<IpcReq> pBaseReq, IpcIo &request, uint8_t *buffer, in ON_IPC_SET_REQUEST()
186 …ET_REQUEST(STOP_DEVICE_DISCOVER, std::shared_ptr<IpcReq> pBaseReq, IpcIo &request, uint8_t *buffer, in ON_IPC_SET_REQUEST()
204 …_SET_REQUEST(REQUEST_CREDENTIAL, std::shared_ptr<IpcReq> pBaseReq, IpcIo &request, uint8_t *buffer, in ON_IPC_SET_REQUEST()
230 …ET_REQUEST(SERVER_GET_DMFA_INFO, std::shared_ptr<IpcReq> pBaseReq, IpcIo &request, uint8_t *buffer, in ON_IPC_SET_REQUEST()
256 …C_SET_REQUEST(IMPORT_CREDENTIAL, std::shared_ptr<IpcReq> pBaseReq, IpcIo &request, uint8_t *buffer, in ON_IPC_SET_REQUEST()
288 …C_SET_REQUEST(DELETE_CREDENTIAL, std::shared_ptr<IpcReq> pBaseReq, IpcIo &request, uint8_t *buffer, in ON_IPC_SET_REQUEST()
/ohos5.0/foundation/arkui/napi/test/fuzztest/runactor_fuzzer/
H A Drunactor_fuzzer.cpp37 void RunActor(uint8_t* buffer, size_t bufferSize, const char* descriptor, char* entryPoint) in RunActor()
76 uint8_t* buffer = const_cast<uint8_t*>(data); in RunActorFuzzTest() local
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/include/
H A Dframe_retainer.h30 SerialBuffer *buffer = nullptr; member
37 SerialBuffer *buffer = nullptr; member
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/base/
H A Defilter.cpp141 std::shared_ptr<MemoryData> AllocMemory(BufferType allocBufferType, EffectBuffer *buffer) in AllocMemory()
159 ErrorCode CreateEffectBuffer(EffectBuffer *buffer, std::shared_ptr<MemoryData> &allocMemData, in CreateEffectBuffer()
174 std::shared_ptr<EffectBuffer> EFilter::IpTypeConvert(const std::shared_ptr<EffectBuffer> &buffer, in IpTypeConvert()
200 …::shared_ptr<EffectBuffer> EFilter::ConvertFromGPU2CPU(const std::shared_ptr<EffectBuffer> &buffer, in ConvertFromGPU2CPU()
239 …::shared_ptr<EffectBuffer> EFilter::ConvertFromCPU2GPU(const std::shared_ptr<EffectBuffer> &buffer, in ConvertFromCPU2GPU()
260 ErrorCode EFilter::PushData(const std::string &inPort, const std::shared_ptr<EffectBuffer> &buffer, in PushData()
314 ErrorCode OnPushDataPortsEmpty(std::shared_ptr<EffectBuffer> &buffer, std::shared_ptr<EffectContext… in OnPushDataPortsEmpty()
337 ErrorCode EFilter::PushData(EffectBuffer *buffer, std::shared_ptr<EffectContext> &context) in PushData()
413 std::shared_ptr<EffectBuffer> buffer = nullptr; in RenderWithGPU() local
/ohos5.0/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
H A Dbuffer_loop_tracking.cpp38 …_ptr<TrackingBuffer> TrackingNode::FindTrackingBuffer(const std::shared_ptr<TrackingBuffer>& buffe… in FindTrackingBuffer()
55 void TrackingNode::AttachTrackingBuffer(const std::shared_ptr<TrackingBuffer>& buffer) in AttachTrackingBuffer()
65 void TrackingNode::DetachTrackingBuffer(const std::shared_ptr<TrackingBuffer>& buffer) in DetachTrackingBuffer()
149 …shared_ptr<TrackingNode> TrackingStream::LocateBuffer(const std::shared_ptr<TrackingBuffer>& buffe… in LocateBuffer()
169 void TrackingStream::MoveBuffer(std::shared_ptr<TrackingBuffer>& buffer, std::shared_ptr<TrackingNo… in MoveBuffer()
193 void TrackingStream::RemoveBuffer(std::shared_ptr<TrackingBuffer>& buffer) in RemoveBuffer()
413 auto buffer = std::make_shared<TrackingBuffer>(message->frameNumber); in HandleMessage() local
/ohos5.0/drivers/peripheral/intelligent_voice/hdi_service/engine/
H A Dintell_voice_engine_adapter_impl.cpp97 int32_t IntellVoiceEngineAdapterImpl::WriteAudio(const std::vector<uint8_t> &buffer) in WriteAudio()
107 int32_t IntellVoiceEngineAdapterImpl::Read(ContentType type, sptr<Ashmem> &buffer) in Read()
155 int32_t IntellVoiceEngineAdapterImpl::ReadFileDataInner(ContentType type, uint8_t *&buffer, uint32_… in ReadFileDataInner()
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/
H A Dengine_util.cpp64 int32_t EngineUtil::WriteAudio(const uint8_t *buffer, uint32_t size) in WriteAudio()
138 void EngineUtil::WriteBufferFromAshmem(uint8_t *&buffer, uint32_t size, sptr<OHOS::Ashmem> ashmem) in WriteBufferFromAshmem()
166 uint8_t *buffer = nullptr; in ProcDspModel() local
/ohos5.0/base/hiviewdfx/faultloggerd/common/cutil/
H A Ddfx_cutil.c73 bool GetThreadName(char* buffer, size_t bufferSz) in GetThreadName()
78 bool GetThreadNameByTid(int32_t tid, char* buffer, size_t bufferSz) in GetThreadNameByTid()
87 bool GetProcessName(char* buffer, size_t bufferSz) in GetProcessName()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
H A Dvideoenc_api11_sample.cpp82 static void onEncInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void … in onEncInputBufferAvailable()
142 void VEncAPI11Sample::DumpLtrInfo(OH_AVBuffer *buffer) in DumpLtrInfo()
151 void VEncAPI11Sample::DumpQPInfo(OH_AVBuffer *buffer) in DumpQPInfo()
160 void VEncAPI11Sample::DumpInfo(OH_AVCodecBufferAttr attr, OH_AVBuffer *buffer) in DumpInfo()
321 OH_AVBuffer *buffer = signal_->inBufferQueue_.front(); in state_EOS() local
835 void VEncAPI11Sample::SetEOS(uint32_t index, OH_AVBuffer *buffer) in SetEOS()
858 void VEncAPI11Sample::SetLTRParameter(OH_AVBuffer *buffer) in SetLTRParameter()
897 void VEncAPI11Sample::SetBufferParameter(OH_AVBuffer *buffer) in SetBufferParameter()
925 int32_t VEncAPI11Sample::PushData(OH_AVBuffer *buffer, uint32_t index, int32_t &result) in PushData()
1009 auto buffer = signal_->inBufferQueue_.front(); in InputFunc() local
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/camera/include/
H A Dsg_dma.h19 static inline struct sg_table *DmaSgPlaneDesc(struct CameraBuffer *buffer, uint32_t planeId) in DmaSgPlaneDesc()
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer/capi/
H A Davbuffer_capi_mock_factory.cpp24 OH_AVBuffer *buffer = OH_AVBuffer_Create(capacity); in CreateAVBuffer() local
/ohos5.0/base/powermgr/powermgr_lite/frameworks/src/small/
H A Dpower_manage.c131 char buffer[MAX_DATA_LEN]; in AcquireRunningLockEntryProxy() local
157 char buffer[MAX_DATA_LEN]; in ReleaseRunningLockEntryProxy() local
194 char buffer[MAX_DATA_LEN]; in IsAnyRunningLockHoldingProxy() local
243 char buffer[MAX_DATA_LEN]; in SuspendDeviceProxy() local
256 char buffer[MAX_DATA_LEN]; in WakeupDeviceProxy() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/
H A Dmatrix44_test.cpp129 std::array<scalar, 16> buffer = {200, 150, 80, 60, 200, 150, 80, 60, variable
144 std::array<scalar, 16> buffer = {20.9f, 15.8f, 80.8f, 60.6f, 2.4f, 99.9f, 60.5f, 60.1f, variable
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/
H A Dcodec_utils.h80 inline int32_t HdiFillThisBuffer(T* component, U* buffer) in HdiFillThisBuffer()
86 inline int32_t HdiEmptyThisBuffer(T* component, U* buffer) in HdiEmptyThisBuffer()
/ohos5.0/base/startup/init/services/modules/init_context/
H A Dinit_context.c119 static char buffer[MAX_CMD_LEN] = {0}; in SubInitExecuteCmd() local
191 static int HandleRecvMessage_(SubInitInfo *subInfo, char *buffer, uint32_t size) in HandleRecvMessage_()
211 static void HandleRecvMessage(SubInitInfo *subInfo, char *buffer, uint32_t size) in HandleRecvMessage()
230 char buffer[MAX_CMD_LEN] = {0}; in SubInitMain() local
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Dvolume_tools.cpp187 int32_t VolumeTools::Process(const BufferDesc &buffer, AudioSampleFormat format, ChannelVolumes vol… in Process()
253 static void CountU8Volume(const BufferDesc &buffer, AudioChannel channel, ChannelVolumes &volMaps, … in CountU8Volume()
297 static void CountS16Volume(const BufferDesc &buffer, AudioChannel channel, ChannelVolumes &volMaps,… in CountS16Volume()
341 static void CountS24Volume(const BufferDesc &buffer, AudioChannel channel, ChannelVolumes &volMaps,… in CountS24Volume()
388 static void CountS32Volume(const BufferDesc &buffer, AudioChannel channel, ChannelVolumes &volMaps,… in CountS32Volume()
436 static void CountF32Volume(const BufferDesc &buffer, AudioChannel channel, ChannelVolumes &volMaps,… in CountF32Volume()
481 ChannelVolumes VolumeTools::CountVolumeLevel(const BufferDesc &buffer, AudioSampleFormat format, Au… in CountVolumeLevel()
520 int32_t ProcessVol(uint8_t *buffer, size_t length, AudioRawFormat rawformat, float volStart, float … in ProcessVol()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/multiver/
H A Dvalue_slice_sync.cpp100 int ValueSliceSync::Serialization(uint8_t *buffer, uint32_t length, const Message *inMsg) in Serialization()
116 int ValueSliceSync::DeSerialization(const uint8_t *buffer, uint32_t length, Message *inMsg) in DeSerialization()
160 func.serializeFunc = [](uint8_t *buffer, uint32_t length, const Message *inMsg) { in RegisterTransformFunc()
163 func.deserializeFunc = [](const uint8_t *buffer, uint32_t length, Message *inMsg) { in RegisterTransformFunc()
352 int ValueSliceSync::RequestPacketSerialization(uint8_t *buffer, uint32_t length, const Message *inM… in RequestPacketSerialization()
378 int ValueSliceSync::RequestPacketDeSerialization(const uint8_t *buffer, uint32_t length, Message *i… in RequestPacketDeSerialization()
422 int ValueSliceSync::AckPacketSerialization(uint8_t *buffer, uint32_t length, const Message *inMsg) in AckPacketSerialization()
453 int ValueSliceSync::AckPacketDeSerialization(const uint8_t *buffer, uint32_t length, Message *inMsg) in AckPacketDeSerialization()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_client_parse.c37 uint8_t *buffer; member
367 uint8_t *buffer = NULL; in SdpParseServiceRecordHandleList() local
498 uint8_t *buffer = NULL; in SdpParseAttributeList() local
569 uint8_t *buffer = MEM_MALLOC.alloc(totalLength); in SdpParseAttributeListArray() local
661 uint8_t buffer[2] = {0}; in SdpParseErrorResponse() local
673 uint8_t buffer[2] = {0}; in SdpParseSearchResponse() local
738 uint8_t buffer[2] = {0}; in SdpParseAttributeResponse() local
788 uint8_t buffer[2] = {0}; in SdpParseSearchAttributeResponse() local
979 static int SdpGetServiceId(uint8_t *buffer, SdpService *service) in SdpGetServiceId()
1264 static int SdpGetServiceAvailability(uint8_t *buffer, SdpService *service) in SdpGetServiceAvailability()
[all …]

1...<<11121314151617181920>>...89