/ohos5.0/foundation/resourceschedule/ffrt/src/dfx/log/linux/ |
H A D | log_base.cpp | 50 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 D | changelogs-global.md | 73 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 D | rawfile-guidelines.md | 111 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 D | mms_network_client.cpp | 99 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 D | changelogs-global.md | 73 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 D | rawfile-guidelines.md | 112 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 D | mms_network_client.h | 42 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 D | cipher_module.cpp | 163 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 D | creds_manager_test.cpp | 59 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 D | privacy_enhancement_test.cpp | 52 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 D | mk_agree_test.cpp | 55 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 D | deviceauth_standard_member_test.cpp | 144 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 D | deviceauth_standard_auth_test.cpp | 213 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 D | deviceauth_func_test.cpp | 1113 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 D | deviceauth_standard_test.cpp | 140 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 D | savetrustedinfo_fuzzer.cpp | 70 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 D | os_account_adapter_test.cpp | 268 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 D | cipher_module.h | 31 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 D | save_trusted_info_test.cpp | 74 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 D | devauthfunc_fuzzer.cpp | 214 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 D | credsmanager_fuzzer.cpp | 163 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 D | zero_branch_mms_test.cpp | 1211 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 D | creds_manager_test.cpp | 166 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()
|