/base/customization/enterprise_device_management/services/edm_plugin/src/network/executer/ |
H A D | iexecuter.cpp | 48 std::ostringstream oss; in CreateChain() local 49 oss << SELECT_TABLE_OPTION << tableName_ << NEW_OPTION << chainName_; in CreateChain() 51 return ExecuterUtils::GetInstance()->Execute(oss.str(), result); in CreateChain() 60 std::ostringstream oss; in Add() local 61 oss << SELECT_TABLE_OPTION << tableName_; in Add() 62 oss << APPEND_OPTION << chainName_; in Add() 63 return ExecWithOption(oss, rule); in Add() 68 std::ostringstream oss; in Remove() local 69 oss << SELECT_TABLE_OPTION << tableName_; in Remove() 71 oss << FLUSH_OPTIO in Remove() 80 ExecWithOption(std::ostringstream& oss, const std::shared_ptr<ChainRule>& rule) ExecWithOption() argument 115 std::ostringstream oss; GetAll() local [all...] |
H A D | firewall_executer.cpp | 37 std::ostringstream oss; in Init() local 38 oss << SELECT_TABLE_OPTION << tableName_ << INSERT_OPTION << actualChainName_ << JUMP_OPTION << chainName_; in Init() 40 ErrCode ret = ExecuterUtils::GetInstance()->Execute(oss.str(), result); in Init()
|
H A D | domain_executer.cpp | 35 std::ostringstream oss; in Init() local 36 oss << SELECT_TABLE_OPTION << tableName_ << " -I OUTPUT -p udp --dport 53 -j " << chainName_; in Init() 38 ErrCode ret = ExecuterUtils::GetInstance()->Execute(oss.str(), result); in Init()
|
/base/security/code_signature/test/unittest/ |
H A D | multi_thread_local_sign_test.cpp | 90 std::ostringstream oss;
in LocalCodeSignAndEnforce() local 91 oss << thisId;
in LocalCodeSignAndEnforce() 92 std::string thisIdStr = oss.str();
in LocalCodeSignAndEnforce() 108 std::ostringstream oss;
in LocalCodeSignAndEnforceWithOwnerID() local 109 oss << thisId;
in LocalCodeSignAndEnforceWithOwnerID() 110 std::string thisIdStr = oss.str();
in LocalCodeSignAndEnforceWithOwnerID()
|
/base/telephony/core_service/utils/codec/src/ |
H A D | asn1_utils.cpp | 123 std::ostringstream oss; in BytesToHexStr() local 125 oss << std::hex << std::uppercase << std::setw(BYTE_TO_HEX_LEN) << std::setfill('0') << (bytes[i] & MAX_UINT8); in BytesToHexStr() 127 return oss.str(); in BytesToHexStr() 132 std::ostringstream oss; in ByteToHexStr() local 133 oss << std::hex << std::uppercase << std::setw(BYTE_TO_HEX_LEN) << std::setfill('0') << (src & MAX_UINT8); in ByteToHexStr() 134 dest = oss.str(); in ByteToHexStr() 172 std::ostringstream oss; in UintToBytes() local 173 oss << std::hex << std::uppercase << std::setw(len * BYTE_TO_HEX_LEN) << std::setfill('0') << value; in UintToBytes() 174 std::string hexStr = oss.str(); in UintToBytes() 182 std::ostringstream oss; in IntToBytes() local [all...] |
/base/sensors/sensor/utils/ipc/src/ |
H A D | stream_session.cpp | 120 std::ostringstream oss; in UpdateDescript() local 121 oss << "fd = " << StreamSessionGetFd(streamSessionPtr_.get()) in UpdateDescript() 129 descript_ = oss.str().c_str(); in UpdateDescript() 131 std::ostringstream oss; in UpdateDescript() 132 oss << "fd = " << fd_ in UpdateDescript() 139 descript_ = oss.str().c_str(); in UpdateDescript()
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | vendor.cpp | 153 void Vendor::DumpEventInfo(std::ostringstream& oss, const std::string& header, const WatchPoint& watchPoint) const in DumpEventInfo() argument 156 oss << header << std::endl; in DumpEventInfo() 157 oss << std::string(EVENT_DOMAIN) << std::string(COLON) << watchPoint.GetDomain() << std::endl; in DumpEventInfo() 158 oss << std::string(EVENT_STRINGID) << std::string(COLON) << watchPoint.GetStringId() << std::endl; in DumpEventInfo() 159 oss << std::string(EVENT_TIMESTAMP) << std::string(COLON) << in DumpEventInfo() 162 oss << FreezeCommon::EVENT_PID << std::string(COLON) << watchPoint.GetPid() << std::endl; in DumpEventInfo() 163 oss << FreezeCommon::EVENT_UID << std::string(COLON) << watchPoint.GetUid() << std::endl; in DumpEventInfo() 164 oss << FreezeCommon::EVENT_PACKAGE_NAME << std::string(COLON) << watchPoint.GetPackageName() << std::endl; in DumpEventInfo() 165 oss << FreezeCommon::EVENT_PROCESS_NAME << std::string(COLON) << watchPoint.GetProcessName() << std::endl; in DumpEventInfo() 170 std::ostringstream oss; in MergeFreezeJsonFile() local [all...] |
H A D | vendor.h | 41 void DumpEventInfo(std::ostringstream& oss, const std::string& header, const WatchPoint& watchPoint) const;
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | block_queue_test.cpp | 69 std::ostringstream oss; in GetThreadId() local 70 oss << id; in GetThreadId() 71 std::string idStr = oss.str(); in GetThreadId()
|
/base/update/updater/services/include/log/ |
H A D | dump.h | 61 std::ostringstream oss; in DumpInfo() local 63 ((oss << args << (++n != sizeof ...(Args) ? "," : "")), ...); in DumpInfo() 64 std::string str = oss.str(); in DumpInfo()
|
/base/telephony/cellular_data/services/src/ |
H A D | cellular_data_service.cpp | 528 std::ostringstream oss; in GetBeginTime() local 529 oss << beginTime_; in GetBeginTime() 530 TELEPHONY_LOGI("bindTime := %{public}s", oss.str().c_str()); in GetBeginTime() 531 return oss.str(); in GetBeginTime() 536 std::ostringstream oss; in GetEndTime() local 537 oss << endTime_; in GetEndTime() 538 TELEPHONY_LOGI("endTime := %{public}s", oss.str().c_str()); in GetEndTime() 539 return oss.str(); in GetEndTime() 544 std::ostringstream oss; in GetCellularDataSlotIdDump() local 545 oss << "slotI in GetCellularDataSlotIdDump() 551 std::ostringstream oss; GetStateMachineCurrentStatusDump() local 567 std::ostringstream oss; GetFlowDataInfoDump() local [all...] |
/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/ |
H A D | domain_chain_rule.cpp | 124 std::ostringstream oss; in FormatDataToDomain() local 126 oss << segmentList[i]; in FormatDataToDomain() 130 oss << DOMAIN_DELIM; in FormatDataToDomain() 132 return oss.str(); in FormatDataToDomain()
|
/base/msdp/device_status/intention/ipc/socket/src/ |
H A D | socket_session.cpp | 104 std::ostringstream oss;
in ToString() local 105 oss << "fd = " << fd_
in ToString() 110 return oss.str();
in ToString()
|
/base/customization/enterprise_device_management/services/edm_plugin/include/network/executer/ |
H A D | iexecuter.h | 42 virtual ErrCode ExecWithOption(std::ostringstream &oss, const std::shared_ptr<ChainRule> &rule);
|
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/network/executer/ |
H A D | iexecuter_test.cpp | 194 std::ostringstream oss{}; in HWTEST_F() 199 EXPECT_TRUE(executer->ExecWithOption(oss, rule) == ERR_OK); in HWTEST_F() 202 EXPECT_TRUE(executer->ExecWithOption(oss, rule) != ERR_OK); in HWTEST_F() 210 EXPECT_TRUE(executer->ExecWithOption(oss, rule) == ERR_OK); in HWTEST_F()
|
/base/useriam/user_auth_framework/services/core/src/ |
H A D | remote_msg_util.cpp | 46 std::ostringstream oss; in GetConnectionName() local 47 oss << networkId.substr(0, TRUCKED_NETWORK_ID_PRINT_LEN) << ":"; in GetConnectionName() 48 oss << std::setw(TRUCKED_CONTEXT_ID_PRINT_LEN) << std::setfill('0') << std::hex << static_cast<uint16_t>(contextId); in GetConnectionName() 49 connectionName = oss.str(); in GetConnectionName()
|
/base/notification/distributed_notification_service/services/ans/src/common/ |
H A D | aes_gcm_helper.cpp | 47 std::ostringstream oss; in Byte2Hex() local 49 oss << std::hex << std::setw(WIDTH_PER_BYTE) << std::setfill('0') << static_cast<int>(byte); in Byte2Hex() 51 return oss.str(); in Byte2Hex()
|
/base/hiviewdfx/hiview/plugins/eventlogger/ |
H A D | event_logger.cpp | 661 std::ostringstream oss; in ParsePeerStack() local 662 oss << binderInfo.substr(0, index); in ParsePeerStack() 674 oss << stack << std::endl; in ParsePeerStack() 676 binderInfo = oss.str(); in ParsePeerStack() 716 std::ostringstream oss; in WriteFreezeJsonInfo() local 717 oss << "MSG = " << msg << std::endl; in WriteFreezeJsonInfo() 719 oss << StringUtil::UnescapeJsonStringValue(stack) << std::endl; in WriteFreezeJsonInfo() 722 oss << StringUtil::UnescapeJsonStringValue(binderInfo) << std::endl; in WriteFreezeJsonInfo() 724 FileUtil::SaveStringToFd(fd, oss.str()); in WriteFreezeJsonInfo()
|
/base/telephony/state_registry/services/src/ |
H A D | telephony_state_registry_service.cpp | 757 std::ostringstream oss; in GetBindStartTime() local 758 oss << bindStartTime_; in GetBindStartTime() 759 return oss.str(); in GetBindStartTime() 764 std::ostringstream oss; in GetBindEndTime() local 765 oss << bindEndTime_; in GetBindEndTime() 766 return oss.str(); in GetBindEndTime() 771 std::ostringstream oss; in GetBindSpendTime() local 772 oss << (bindEndTime_ - bindStartTime_); in GetBindSpendTime() 773 return oss.str(); in GetBindSpendTime()
|
/base/hiviewdfx/hilog/services/hilogd/ |
H A D | log_persister.cpp | 282 std::ostringstream oss; in WriteLogData() local 283 LogPrintWithFormat(content, format, oss); in WriteLogData() 284 std::string formatedLogStr = oss.str(); in WriteLogData()
|
/base/telephony/call_manager/services/call_manager_service/src/ |
H A D | call_manager_service.cpp | 215 std::ostringstream oss; in GetBindTime() local 216 oss << bindTime_; in GetBindTime() 217 return oss.str(); in GetBindTime() 222 std::ostringstream oss; in GetStartServiceSpent() local 223 oss << spendTime_; in GetStartServiceSpent() 224 return oss.str(); in GetStartServiceSpent()
|
/base/telephony/cellular_call/services/manager/src/ |
H A D | cellular_call_service.cpp | 284 std::ostringstream oss; in GetBindTime() local 285 oss << bindTime_; in GetBindTime() 286 return oss.str(); in GetBindTime() 291 std::ostringstream oss; in GetEndTime() local 292 oss << endTime_; in GetEndTime() 293 return oss.str(); in GetEndTime() 299 std::ostringstream oss; in GetSpendTime() local 300 oss << spendTime_; in GetSpendTime() 301 return oss.str(); in GetSpendTime()
|
/base/telephony/core_service/utils/vcard/src/ |
H A D | vcard_utils.cpp | 186 std::ostringstream oss; in CreateFileName() local 187 oss << std::put_time(timeinfo, VCARD_TIME_FORMAT); in CreateFileName() 188 std::string fileName = oss.str() + ".vcf"; in CreateFileName()
|
H A D | vcard_decoder_v21.cpp | 673 std::ostringstream oss; in DecodeQuotedPrintable() local 682 oss << static_cast<char>(decodedChar); in DecodeQuotedPrintable() 687 oss << ch; in DecodeQuotedPrintable() 690 return oss.str(); in DecodeQuotedPrintable()
|
/base/update/updater/utils/ |
H A D | utils.cpp | 798 std::ostringstream oss; in DurationToString() local 799 oss << std::fixed << std::setprecision(precision) << durations[pkgPosition].count(); in DurationToString() 800 return oss.str(); in DurationToString()
|