Home
last modified time | relevance | path

Searched refs:strBuf (Results 1 – 8 of 8) sorted by relevance

/base/telephony/sms_mms/services/mms/
Dmms_network_client.cpp87 std::string strBuf; in PostUrl() local
89 if (!GetMmsPduFromFile(fileName, strBuf)) { in PostUrl()
94 if (!GetMmsPduFromDataBase(fileName, strBuf)) { in PostUrl()
101 TELEPHONY_LOGI("strBuf length:%{public}d", static_cast<uint32_t>(strBuf.size())); in PostUrl()
103 int32_t ret = HttpPost(mmscFromDataBase, strBuf, strResponse); in PostUrl()
118 bool MmsNetworkClient::GetMmsPduFromFile(const std::string &fileName, std::string &strBuf) in GetMmsPduFromFile() argument
154 strBuf += pduBuffer[i]; in GetMmsPduFromFile()
160 bool MmsNetworkClient::GetMmsPduFromDataBase(const std::string &dbUrl, std::string &strBuf) in GetMmsPduFromDataBase() argument
171 strBuf = mmsPdu->GetMmsPdu(dbUrl); in GetMmsPduFromDataBase()
172 if (strBuf.empty()) { in GetMmsPduFromDataBase()
/base/security/huks/frameworks/crypto_lite/js/builtin/src/
Dcipher_module.cpp163 void CipherModule::ResetStrBuf(char *strBuf) in ResetStrBuf() argument
165 if (strBuf == nullptr) { in ResetStrBuf()
169 int ret = memset_s(strBuf, strlen(strBuf), 0, strlen(strBuf)); in ResetStrBuf()
/base/security/device_auth/test/unittest/deviceauth/source/
Dcreds_manager_test.cpp59 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
63 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
66 system(strBuf); in RemoveDir()
Ddeviceauth_standard_test.cpp216 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
220 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
223 system(strBuf); in RemoveDir()
/base/security/huks/frameworks/crypto_lite/js/builtin/include/
Dcipher_module.h31 static void ResetStrBuf(char *strBuf);
/base/telephony/sms_mms/services/mms/include/
Dmms_network_client.h62 bool GetMmsPduFromFile(const std::string &fileName, std::string &strBuf);
63 bool GetMmsPduFromDataBase(const std::string &dbUrl, std::string &strBuf);
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info_test.cpp74 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
78 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
81 system(strBuf); in RemoveDir()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
Dcreds_manager_test.cpp167 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
171 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
174 system(strBuf); in RemoveDir()