Home
last modified time | relevance | path

Searched refs:writeBytes (Results 1 - 9 of 9) sorted by relevance

/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/utils/
H A Dwrite_bitrate_caculator.h66 void UpdateWriteBytes(size_t writeBytes) in UpdateWriteBytes() argument
68 writeBytes_ += static_cast<uint64_t>(writeBytes); in UpdateWriteBytes()
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/
H A Dlocal_data_source.cpp318 int64_t writeBytes = length > remainLen ? remainLen : length; in Write() local
319 errno_t ret = memcpy_s(buffer_.get() + endPos_ - startPos_, writeBytes, data, writeBytes); in Write()
321 CLOGE("memcpy failed ret = %{public}d, writeBytes:%{public}" PRId64 " startPos_:%{public}" PRId64 in Write()
323 ret, writeBytes, startPos_, endPos_); in Write()
327 endPos_ += writeBytes; in Write()
329 CLOGD("writeBytes:%{public}" PRId64 " length:%{public}" PRId64 " startPos_:%{public}" PRId64 in Write()
331 writeBytes, length, startPos_, endPos_); in Write()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/src/
H A Dlocal_data_source.cpp317 int64_t writeBytes = length > remainLen ? remainLen : length; in Write() local
318 errno_t ret = memcpy_s(buffer_.get() + endPos_ - startPos_, writeBytes, data, writeBytes); in Write()
320 CLOGE("memcpy failed ret = %{public}d, writeBytes:%{public}" PRId64 " startPos_:%{public}" PRId64 in Write()
322 ret, writeBytes, startPos_, endPos_); in Write()
326 endPos_ += writeBytes; in Write()
328 CLOGD("writeBytes:%{public}" PRId64 " length:%{public}" PRId64 " startPos_:%{public}" PRId64 in Write()
330 writeBytes, length, startPos_, endPos_); in Write()
/foundation/communication/dsoftbus/adapter/common/kernel/liteos_m/
H A Dsoftbus_adapter_file.c135 int64_t SoftBusPwriteFile(int32_t fd, const void *buf, uint64_t writeBytes, uint64_t offset) in SoftBusPwriteFile() argument
139 (void)writeBytes; in SoftBusPwriteFile()
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/
H A Dtar_file.cpp362 auto writeBytes = fwrite(&ioBuffer[count], sizeof(uint8_t), len - count, currentTarFile_); in SplitWriteAll() local
363 if (writeBytes < 1) { in SplitWriteAll()
365 writeBytes = fwrite(&ioBuffer[count], sizeof(uint8_t), len - count, currentTarFile_); in SplitWriteAll()
366 if (writeBytes < 1) { in SplitWriteAll()
371 count += static_cast<off_t>(writeBytes); in SplitWriteAll()
372 currentTarFileSize_ += static_cast<off_t>(writeBytes); in SplitWriteAll()
/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_adapter_file.h56 int64_t SoftBusPwriteFile(int32_t fd, const void *buf, uint64_t writeBytes, uint64_t offset);
/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dsoftbus_adapter_file.c236 int64_t SoftBusPwriteFile(int32_t fd, const void *buf, uint64_t writeBytes, uint64_t offset) in SoftBusPwriteFile() argument
242 int64_t len = pwrite(fd, buf, writeBytes, offset); in SoftBusPwriteFile()
/foundation/multimedia/av_codec/services/engine/codec/audio/encoder/
H A Daudio_ffmpeg_aac_encoder_plugin.cpp514 int32_t writeBytes = memory->Write(reinterpret_cast<uint8_t *>(const_cast<char *>(header.c_str())), headerSize); in ReceivePacketSucc() local
515 if (writeBytes < headerSize) { in ReceivePacketSucc()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/aac/
H A Dffmpeg_aac_encoder_plugin.cpp288 int32_t writeBytes = memory->Write( in ReceivePacketSucc() local
290 if (writeBytes < headerSize) { in ReceivePacketSucc()

Completed in 6 milliseconds