Searched refs:strLen (Results 1 - 7 of 7) sorted by relevance
/test/xts/device_attest/services/core/utils/ |
H A D | attest_utils.c | 128 static uint32_t CalUnAnonyStrLen(uint32_t strLen) in CalUnAnonyStrLen() argument 132 while ((tempLen * len) < strLen) { in CalUnAnonyStrLen() 144 uint32_t strLen = strlen(str); in AnonymiseStr() local 147 if (strLen <= tempLen) { in AnonymiseStr() 148 ret = memset_s((void*)str, strLen, '*', strLen); in AnonymiseStr() 151 int32_t unAnonyStrLen = CalUnAnonyStrLen(strLen); in AnonymiseStr() 153 ret = memset_s((void*)(str + endpointLen), (strLen - unAnonyStrLen), '*', (strLen - unAnonyStrLen)); in AnonymiseStr()
|
/test/xts/device_attest_lite/services/core/utils/ |
H A D | attest_utils.c | 131 static uint32_t CalUnAnonyStrLen(uint32_t strLen) in CalUnAnonyStrLen() argument 135 while ((tempLen * len) < strLen) { in CalUnAnonyStrLen() 147 uint32_t strLen = strlen(str); in AnonymiseStr() local 150 if (strLen <= tempLen) { in AnonymiseStr() 151 ret = memset_s((void*)str, strLen, '*', strLen); in AnonymiseStr() 154 int32_t unAnonyStrLen = CalUnAnonyStrLen(strLen); in AnonymiseStr() 156 ret = memset_s((void*)(str + endpointLen), (strLen - unAnonyStrLen), '*', (strLen - unAnonyStrLen)); in AnonymiseStr()
|
/test/xts/acts/notification/ces_standard/actsCommonEventSubscribeNDKTest/entry/src/main/cpp/ |
H A D | subscribe.cpp | 107 size_t strLen = 0;
in CreateSubscribeInfo() local 150 napi_get_value_string_utf8(env, event, str, 1024 - 1, &strLen);
in CreateSubscribeInfo() 172 size_t strLen = 0;
in SetPublisherPermission() local 183 napi_get_value_string_utf8(env, result, str, 1024 - 1, &strLen);
in SetPublisherPermission() 199 size_t strLen = 0;
in SetPublisherBundleName() local 209 napi_get_value_string_utf8(env, result, str, 1024 - 1, &strLen);
in SetPublisherBundleName()
|
/test/testfwk/arkxtest/jsunit/src/module/coverage/ |
H A D | coverageCollect.js | 38 const strLen = strJson.length; 40 const maxCount = Math.floor(strLen / maxLen);
|
/test/testfwk/developer_test/aw/cxx/distributed/ |
H A D | distributed_major.cpp | 366 [&](const std::string &strReturn, int strLen)->bool {
in RunCmdOnAgent() 367 return OnProcessValue(strReturn, strLen);
in RunCmdOnAgent() 391 [&](const std::string &strReturn, int strLen)->bool {
in RunCmdOnAgent() 392 return OnProcessValue(strReturn, strLen);
in RunCmdOnAgent()
|
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreNdktestHvigor/entry/src/main/cpp/ |
H A D | napi_init.cpp | 738 int strLen = 50;
in OH_Rdb_SetStoreName_Param_0600() local 739 std::string strname(strLen, 'n');
in OH_Rdb_SetStoreName_Param_0600() 964 int strLen = 50;
in OH_Rdb_SetBundleName_0600() local 965 std::string strname(strLen, 'n');
in OH_Rdb_SetBundleName_0600() 1190 int strLen = 50;
in OH_Rdb_SetModuleName_0600() local 1191 std::string strname(strLen, 'n');
in OH_Rdb_SetModuleName_0600()
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 8013 size_t strLen = sizeof("{\"name\": \"") - 1 + strlen(g_defineObject->name) + sizeof("\"}") - 1; in GetObj() local 8014 char *str = (char *)malloc(strLen + 1); in GetObj() 8019 int result = sprintf_s(str, strLen + 1, "{\"name\": \"%s\"}", g_defineObject->name); in GetObj() 8020 if (result < 0 || result >= strLen + 1) { in GetObj()
|
Completed in 25 milliseconds