Home
last modified time | relevance | path

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

/ohos5.0/foundation/resourceschedule/ffrt/src/dfx/log/linux/
H A Dlog_base.cpp50 std::string pid, tid, strBuf; in LogOutput() local
54 strBuf = GetCurrentTime() + " "; in LogOutput()
55 strBuf += pid + " " + tid + " "; in LogOutput()
56 strBuf += level; in LogOutput()
57 strBuf += " ffrt : "; in LogOutput()
58 strBuf += log; in LogOutput()
60 std::cout << strBuf; in LogOutput()
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.33/
H A Dchangelogs-global.md73 char strBuf[256];
74 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
75 std::string filename(strBuf, strSize); // 编译通过
96 char strBuf[256];
97 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
98 std::string filename(strBuf, strSize); // 编译失败
134 char strBuf[256];
135 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
136 std::string filename(strBuf, strSize); // 编译通过
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Drawfile-guidelines.md111 char strBuf[256];
112 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
113 std::string dirName(strBuf, strSize);
175 char strBuf[256];
176 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
177 std::string filename(strBuf, strSize);
259 char strBuf[256];
260 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
261 std::string filename(strBuf, strSize);
305 char strBuf[256];
[all …]
/ohos5.0/base/telephony/sms_mms/services/mms/
H A Dmms_network_client.cpp99 int32_t MmsNetworkClient::GetMmsDataBuf(std::string &strBuf, const std::string &fileName) in GetMmsDataBuf() argument
102 if (!GetMmsPduFromFile(fileName, strBuf)) { in GetMmsDataBuf()
107 if (!GetMmsPduFromDataBase(fileName, strBuf)) { in GetMmsDataBuf()
152 std::string strBuf; in PostUrl() local
153 ret = GetMmsDataBuf(strBuf, fileName); in PostUrl()
159 ret = HttpRequest(METHOD_POST, mmsc, strBuf, ua, uaprof); in PostUrl()
371 bool MmsNetworkClient::GetMmsPduFromFile(const std::string &fileName, std::string &strBuf) in GetMmsPduFromFile() argument
407 strBuf += pduBuffer[i]; in GetMmsPduFromFile()
413 bool MmsNetworkClient::GetMmsPduFromDataBase(const std::string &dbUrl, std::string &strBuf) in GetMmsPduFromDataBase() argument
424 strBuf = mmsPdu->GetMmsPdu(dbUrl); in GetMmsPduFromDataBase()
[all …]
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.33/
H A Dchangelogs-global.md73 char strBuf[256];
74 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
75 std::string filename(strBuf, strSize); // Compilation is successful.
96 char strBuf[256];
97 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
98 std::string filename(strBuf, strSize); // Compilation fails.
134 char strBuf[256];
135 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
136 std::string filename(strBuf, strSize); // Compilation is successful.
/ohos5.0/docs/en/application-dev/napi/
H A Drawfile-guidelines.md112 char strBuf[256];
113 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
114 std::string dirName(strBuf, strSize);
176 char strBuf[256];
177 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
178 std::string filename(strBuf, strSize);
260 char strBuf[256];
261 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize);
262 std::string filename(strBuf, strSize);
306 char strBuf[256];
[all …]
/ohos5.0/base/telephony/sms_mms/services/mms/include/
H A Dmms_network_client.h42 int32_t GetMmsDataBuf(std::string &strBuf, const std::string &fileName);
50 bool GetMmsPduFromFile(const std::string &fileName, std::string &strBuf);
51 bool GetMmsPduFromDataBase(const std::string &dbUrl, std::string &strBuf);
/ohos5.0/base/security/huks/frameworks/crypto_lite/js/builtin/src/
H A 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()
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A 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()
H A Dprivacy_enhancement_test.cpp52 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
56 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
59 system(strBuf); in RemoveDir()
H A Dmk_agree_test.cpp55 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
59 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
62 system(strBuf); in RemoveDir()
H A Ddeviceauth_standard_member_test.cpp144 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
148 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
151 system(strBuf); in RemoveDir()
H A Ddeviceauth_standard_auth_test.cpp213 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
217 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
220 system(strBuf); in RemoveDir()
H A Ddeviceauth_func_test.cpp1113 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
1117 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
1120 system(strBuf); in RemoveDir()
H A Ddeviceauth_standard_test.cpp140 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
144 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
147 system(strBuf); in RemoveDir()
/ohos5.0/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expand_process_lib/savetrustedinfo_fuzzer/
H A Dsavetrustedinfo_fuzzer.cpp70 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
74 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
77 system(strBuf); in RemoveDir()
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/frameworks/os_account_adapter/
H A Dos_account_adapter_test.cpp268 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
272 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
275 system(strBuf); in RemoveDir()
/ohos5.0/base/security/huks/frameworks/crypto_lite/js/builtin/include/
H A Dcipher_module.h31 static void ResetStrBuf(char *strBuf);
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/
H A 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()
/ohos5.0/base/security/device_auth/test/fuzztest/devauthfunc_fuzzer/
H A Ddevauthfunc_fuzzer.cpp214 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
218 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
221 system(strBuf); in RemoveDir()
/ohos5.0/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/
H A Dcredsmanager_fuzzer.cpp163 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
167 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
170 system(strBuf); in RemoveDir()
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_mms_test.cpp1211 std::string strBuf = TEST_DATA; variable
1212 EXPECT_EQ(client.GetMmsPduFromFile(storeDirName, strBuf), false);
1213 EXPECT_EQ(client.GetMmsPduFromFile(TEST_PATH, strBuf), false);
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
H A Dcreds_manager_test.cpp166 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
170 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
173 system(strBuf); in RemoveDir()