/base/telephony/call_manager/services/audio/src/ |
D | audio_player.cpp | 25 size_t AudioPlayer::bufferLen = 0; member in OHOS::Telephony::AudioPlayer 52 if (audioRenderer_->GetBufferSize(bufferLen)) { in InitRenderer() 84 uint8_t *buffer = (uint8_t *)malloc(bufferLen + bufferLen); in Play() 100 bytesToWrite = fread(buffer, READ_SIZE, bufferLen, wavFile); in Play()
|
/base/update/updater/test/unittest/applypatch_test/ |
D | partition_update_record_unittest.cpp | 59 const int bufferLen = 4096; variable 60 std::vector<uint8_t> buffer(bufferLen); 71 write(fd, buffer.data(), bufferLen);
|
/base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
D | socket_server.cpp | 73 int SocketServer::Recv(void *buffer, unsigned int bufferLen, int flags) in Recv() argument 75 return TEMP_FAILURE_RETRY(recv(socketHandler, buffer, bufferLen, flags)); in Recv()
|
D | socket.cpp | 124 int Socket::Recv(void *buffer, unsigned int bufferLen, int flags) in Recv() argument 126 return TEMP_FAILURE_RETRY(recv(socketHandler, buffer, bufferLen, flags)); in Recv()
|
/base/startup/init/services/param/base/ |
D | param_base.h | 40 uint32_t bufferLen; member
|
D | param_base.c | 398 param->bufferLen = PARAM_VALUE_LEN_MAX; in CachedParameterCreate() 405 uint32_t length = param->bufferLen; in CachedParameterCreate() 412 ret = ParamStrCpy(param->paramValue, param->bufferLen, defValue); in CachedParameterCreate() 444 uint32_t length = param->bufferLen; in CachedParameterCheck()
|
/base/hiviewdfx/hilog/frameworks/libhilog/socket/include/ |
D | socket_server.h | 36 int Recv(void *buffer, unsigned int bufferLen, int flags = MSG_PEEK);
|
D | socket.h | 42 int Recv(void *buffer, unsigned int bufferLen, int flags = MSG_PEEK);
|
/base/update/updater/services/ptable_parse/ |
D | ptable.cpp | 288 bool Ptable::GetPartitionGptHeaderInfo(const uint8_t *buffer, const uint32_t bufferLen, GPTHeaderIn… in GetPartitionGptHeaderInfo() argument 290 if (buffer == nullptr || bufferLen < LBA_LENGTH) { in GetPartitionGptHeaderInfo() 296 if (!CheckIfValidGpt(buffer, bufferLen)) { in GetPartitionGptHeaderInfo() 311 bool Ptable::CheckGptHeader(uint8_t *buffer, const uint32_t bufferLen, const uint64_t lbaNum, in CheckGptHeader() argument 314 if (bufferLen < LBA_LENGTH || lbaNum == 0) { in CheckGptHeader() 319 if (gptHeaderInfo.headerSize < GPT_HEADER_SIZE || gptHeaderInfo.headerSize > bufferLen) { in CheckGptHeader()
|
D | ptable.h | 147 …bool GetPartitionGptHeaderInfo(const uint8_t *buffer, const uint32_t bufferLen, GPTHeaderInfo& gpt… 178 bool CheckGptHeader(uint8_t *buffer, const uint32_t bufferLen, const uint64_t lbaNum,
|
/base/telephony/call_manager/services/audio/include/ |
D | audio_player.h | 73 static size_t bufferLen; variable
|
/base/telephony/ril_adapter/services/vendor/include/ |
D | vendor_util.h | 51 int32_t GenerateCommand(char *buffer, size_t bufferLen, const char *fmt, ...);
|
/base/account/os_account/services/accountmgr/test/unittest/account_iam/ |
D | account_iam_manager_test.cpp | 59 const int bufferLen = 128; in FscryptEnable() local 60 char fscryptValue[bufferLen] = {0}; in FscryptEnable() 61 int ret = GetParameter("fscrypt.policy.config", "", fscryptValue, bufferLen - 1); in FscryptEnable()
|
/base/update/updater/services/ |
D | updater.cpp | 263 void HandleChildOutput(const std::string &buffer, int32_t bufferLen, bool &retryUpdate, UpdaterPara… in HandleChildOutput() argument 265 if (bufferLen == 0) { in HandleChildOutput()
|
/base/telephony/ril_adapter/services/vendor/src/ |
D | vendor_util.c | 46 int32_t GenerateCommand(char *buffer, size_t bufferLen, const char *fmt, ...) in GenerateCommand() argument 52 ret = vsprintf_s(buffer, bufferLen, fmt, va); in GenerateCommand()
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_zipfile.h | 164 …int32_t EncodeLocalFileHeader(uint8_t *buffer, size_t bufferLen, bool hasDataDesc, size_t nameLen);
|
D | pkg_zipfile.cpp | 346 int32_t ZipFileEntry::EncodeLocalFileHeader(uint8_t *buffer, size_t bufferLen, bool hasDataDesc, in EncodeLocalFileHeader() argument 349 if (bufferLen < sizeof(LocalFileHeader)) { in EncodeLocalFileHeader()
|
/base/telephony/sms_mms/frameworks/js/napi/include/ |
D | napi_mms.h | 196 uint32_t bufferLen; member
|
/base/telephony/call_manager/test/unittest/ui_client/ |
D | ui_client_test.cpp | 853 size_t bufferLen, bytesToWrite = DEFAULT_SIZE, bytesWritten = DEFAULT_SIZE; in PlayRingtone() local 854 if (audioRenderer->GetBufferSize(bufferLen)) { in PlayRingtone() 858 std::unique_ptr<uint8_t> buffer = std::make_unique<uint8_t>(bufferLen + bufferLen); in PlayRingtone() 865 bytesToWrite = fread(buffer.get(), READ_SIZE, bufferLen, wavFile); in PlayRingtone()
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_mms.cpp | 1333 context->outBuffer = mmsMsg.EncodeMsg(context->bufferLen); in NativeEncodeMms() 1346 for (uint32_t i = 0; i < context->bufferLen; i++) { in EncodeMmsCallback()
|