/base/sensors/miscdevice/utils/src/ |
D | file_utils.cpp | 128 std::string dataStr; in ReadFile() local 131 dataStr += buf; in ReadFile() 136 return dataStr; in ReadFile() 163 std::string dataStr; in ReadFd() local 169 dataStr += buf; in ReadFd() 175 return dataStr; in ReadFd()
|
/base/security/device_auth/services/group_manager/src/channel_manager/soft_bus_channel/ |
D | soft_bus_channel.c | 118 char *dataStr = (char *)HcMalloc(dataLen + 1, 0); in GenRecvData() local 119 if (dataStr == NULL) { in GenRecvData() 123 if (memcpy_s(dataStr, dataLen + 1, data, dataLen) != HC_SUCCESS) { in GenRecvData() 125 HcFree(dataStr); in GenRecvData() 128 CJson *recvData = CreateJsonFromString(dataStr); in GenRecvData() 129 HcFree(dataStr); in GenRecvData()
|
/base/account/os_account/services/accountmgr/src/bundle_manager_adapter/ |
D | bundle_manager_adapter_proxy.cpp | 450 const char* dataStr = static_cast<const char*>( in GetParcelableFromAshmem() local 452 if (dataStr == nullptr) { in GetParcelableFromAshmem() 459 if (!ParseStr(dataStr, ASHMEM_LEN, offset, lenStr)) { in GetParcelableFromAshmem() 468 if (!ParseStr(dataStr, strLen, offset, infoStr)) { in GetParcelableFromAshmem() 579 int32_t infoSize, const char* dataStr, int32_t offset, std::vector<T> &parcelableInfos) in ParseAshmem() argument 581 if (dataStr == nullptr) { in ParseAshmem() 586 if (!ParseStr(dataStr, ASHMEM_LEN, offset, lenStr)) { in ParseAshmem() 592 if (!ParseStr(dataStr, strLen, offset, infoStr)) { in ParseAshmem() 633 const char* dataStr = static_cast<const char*>( in GetParcelableInfosFromAshmem() local 635 bool result = ParseAshmem(infoSize, dataStr, offset, parcelableInfos); in GetParcelableInfosFromAshmem()
|
/base/msdp/device_status/libs/src/ |
D | devicestatus_data_parse.cpp | 204 std::string dataStr; in ReadFile() local 207 dataStr += buf; in ReadFile() 212 return dataStr; in ReadFile()
|
/base/telephony/sms_mms/services/sms/include/gsm/ |
D | gsm_sms_sender.h | 59 void CharArrayToString(const uint8_t *data, uint32_t dataLen, std::string &dataStr);
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_sender.cpp | 150 std::string dataStr; in DataBasedSmsDelivery() local 151 CharArrayToString(data, dataLen, dataStr); in DataBasedSmsDelivery() 153 gsmSmsMessage.SplitMessage(cellsInfos, dataStr, CheckForce7BitEncodeType(), codingType, true); in DataBasedSmsDelivery() 261 void GsmSmsSender::CharArrayToString(const uint8_t *data, uint32_t dataLen, std::string &dataStr) in CharArrayToString() argument 265 dataStr += data[indexData]; in CharArrayToString()
|
/base/telephony/sms_mms/test/gtest/ |
D | cdma_sms_gtest.cpp | 399 …std::string dataStr = "0003200010010410168d20020105030608120111015905019206069706180000000801c0090… variable 404 ss << static_cast<uint8_t>(dataStr.size() / HEX_CHAR_LEN); 405 ss << StringUtils::HexToString(dataStr);
|
D | zero_branch_sms_test.cpp | 998 std::string dataStr = "123"; variable 999 gsmSmsSender->CharArrayToString(data, 1, dataStr);
|
/base/account/os_account/services/accountmgr/include/bundle_manager_adapter/ |
D | bundle_manager_adapter_proxy.h | 145 …bool ParseAshmem(int32_t infoSize, const char* dataStr, int32_t offset, std::vector<T> &parcelable…
|