/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_wpa_sta_impl.h | 86 int ConvertMacToStr(char *mac, int macSize, char *macStr, int strLen);
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/ |
H A D | drawing_types.h | 500 uint32_t strLen; member
|
/foundation/arkui/ace_engine/interfaces/napi/kits/utils/ |
H A D | napi_utils.cpp | 674 size_t strLen = GetParamLen(env, indexValue) + 1; in ParseResourceParam() local 675 std::unique_ptr<char[]> indexStr = std::make_unique<char[]>(strLen); in ParseResourceParam() 676 napi_get_value_string_utf8(env, indexValue, indexStr.get(), strLen, &ret); in ParseResourceParam() 688 size_t strLen = GetParamLen(env, bundleNameNApi) + 1; in ParseResourceParam() local 689 std::unique_ptr<char[]> bundleNameStr = std::make_unique<char[]>(strLen); in ParseResourceParam() 690 napi_get_value_string_utf8(env, bundleNameNApi, bundleNameStr.get(), strLen, &ret); in ParseResourceParam() 697 size_t strLen = GetParamLen(env, moduleNameNApi) + 1; in ParseResourceParam() local 698 std::unique_ptr<char[]> moduleNameStr = std::make_unique<char[]>(strLen); in ParseResourceParam() 699 napi_get_value_string_utf8(env, moduleNameNApi, moduleNameStr.get(), strLen, &ret); in ParseResourceParam()
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | string.h | 648 auto const strLen = b.length(); in append() local 649 if (pos > strLen) { in append() 651 pos = strLen ? (strLen - 1) : strLen; in append() 653 count = strLen - pos; in append() 654 } else if (count > (strLen - pos)) { in append() 655 count = strLen - pos; in append()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
H A D | trans_tcp_direct_p2p.c | 650 uint32_t strLen = strlen(reply) + 1; in SendVerifyP2pFailRsp() local 651 char *sendMsg = (char*)SoftBusCalloc(strLen + sizeof(int64_t) + sizeof(int64_t)); in SendVerifyP2pFailRsp() 659 if (strcpy_s(sendMsg + sizeof(int64_t) + sizeof(int64_t), strLen, reply) != EOK) { in SendVerifyP2pFailRsp() 665 strLen + sizeof(int64_t) + sizeof(int64_t), MSG_TYPE_IP_PORT_EXCHANGE); in SendVerifyP2pFailRsp() 681 uint32_t strLen = strlen(reply) + 1; in SendVerifyP2pRsp() local 682 char *sendMsg = (char *)SoftBusCalloc(strLen + sizeof(int64_t) + sizeof(int64_t)); in SendVerifyP2pRsp() 686 if (strcpy_s(sendMsg + sizeof(int64_t) + sizeof(int64_t), strLen, reply) != EOK) { in SendVerifyP2pRsp() 691 strLen + sizeof(int64_t) + sizeof(int64_t), MSG_TYPE_IP_PORT_EXCHANGE); in SendVerifyP2pRsp() 1072 uint32_t strLen = strlen(msg) + 1; in StartVerifyP2pInfo() local 1073 char *sendMsg = (char*)SoftBusCalloc(strLen in StartVerifyP2pInfo() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_func_wrapper.cpp | 511 size_t strLen = fullString.length(); in GetAnonyString() local 512 if (strLen <= SHORT_KEY_LENGTH) { in GetAnonyString() 515 anonyStr += fullString[strLen - 1]; in GetAnonyString() 518 .append(fullString, strLen - PLAINTEXT_LENGTH, PLAINTEXT_LENGTH); in GetAnonyString()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | tlv_util.cpp | 34 int32_t strLen = ReadInt32(buff, cursor); in ReadString() local 35 if (strLen == TLV_END || strLen <= 0) { in ReadString() 39 for (auto i = 0; i < strLen; ++i) { in ReadString()
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_function.cpp | 118 const char *MacChConToMacStr(const unsigned char *pChMac, size_t chLen, char *pStrMac, size_t strLen) in MacChConToMacStr() argument 125 if ((pStrMac == NULL) || (strLen < (chLen * MAC_ADDR_CHAR_NUM))) { in MacChConToMacStr() 126 DHCP_LOGE("MacChConToMacStr failed, pStrMac == NULL or strLen:%{public}d error!", (int)strLen); in MacChConToMacStr()
|
/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/ |
H A D | udmf.cpp | 91 unsigned int strLen = strVector[i].length() + 1;
in StrVectorToTypesArray() local 92 if (strLen > MAX_KEY_STRING_LEN) {
in StrVectorToTypesArray() 93 LOG_INFO(UDMF_CAPI, "string exceeds maximum length, length is %{public}d", strLen);
in StrVectorToTypesArray() 97 typesArray[i] = new (std::nothrow) char[strLen];
in StrVectorToTypesArray() 99 (strcpy_s(typesArray[i], strLen, strVector[i].c_str())) != EOK) {
in StrVectorToTypesArray()
|
/foundation/distributedhardware/distributed_audio/common/src/ |
H A D | daudio_util.cpp | 176 size_t strLen = value.length(); in GetAnonyString() local 177 if (strLen < INT32_MIN_ID_LENGTH) { in GetAnonyString() 181 if (strLen <= INT32_SHORT_ID_LENGTH) { in GetAnonyString() 184 res += value[strLen - 1]; in GetAnonyString() 188 res.append(value, strLen - INT32_PLAINTEXT_LENGTH, INT32_PLAINTEXT_LENGTH); in GetAnonyString()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | rd_utils.h | 36 static int RdSqlPrepare(GRD_DB *db, const char *str, uint32_t strLen, GRD_SqlStmt **stmt, const char **unusedStr);
|
H A D | grd_api_manager.h | 30 GRD_DB *db, const char *str, uint32_t strLen, GRD_SqlStmt **stmt, const char **unusedStr);
|
/foundation/ability/idl_tool/parser/ |
H A D | lexer.cpp | 343 bool Lexer::strToInt(const char *str, int strLen, int& number) in strToInt() argument 349 for (int i = strLen - 1; i >= 0; i--) { in strToInt()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_util_test.cpp | 87 int strLen = 18; in HWTEST_F() local 89 int result = ConvertMacArr2String(srcMac, srcMacSize, destMacStr, strLen); in HWTEST_F() 91 result = ConvertMacArr2String(nullptr, srcMacSize, destMacStr, strLen); in HWTEST_F() 93 result = ConvertMacArr2String(srcMac, 0, destMacStr, strLen); in HWTEST_F() 95 result = ConvertMacArr2String(srcMac, srcMacSize, nullptr, strLen); in HWTEST_F() 101 result = ConvertMacArr2String(nullptr, srcMacSize, nullptr, strLen); in HWTEST_F()
|
/foundation/arkui/ui_lite/interfaces/kits/font/ |
H A D | base_font.h | 203 uint16_t& strLen) const in GetWildCardStaticStr()
|
H A D | ui_font.h | 198 uint8_t** strAddr, uint16_t& strLen) const;
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/ |
H A D | napi_zlib.cpp | 464 size_t strLen = 0; in UnwrapStringArrayParam() local 465 status = napi_get_value_string_utf8(env, result, nullptr, 0, &strLen); in UnwrapStringArrayParam() 471 std::vector<char> buf(strLen + 1); in UnwrapStringArrayParam() 472 status = napi_get_value_string_utf8(env, result, buf.data(), strLen + 1, &strLen); in UnwrapStringArrayParam()
|
/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/ |
H A D | audio_utils.cpp | 1295 size_t strLen = src.length(); in GetEncryptStr() local 1298 if (strLen < MIN_LEN) { in GetEncryptStr() 1301 dst = '*' + src.substr(FIRST_CHAR, strLen - FIRST_CHAR); in GetEncryptStr() 1306 std::string tempStr(strLen - HEAD_STR_LEN - TAIL_STR_LEN, '*'); in GetEncryptStr() 1308 dst += src.substr(strLen - TAIL_STR_LEN, TAIL_STR_LEN); in GetEncryptStr()
|
/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 66 size_t strLen = value.length(); in GetAnonyString() local 67 if (strLen < INT32_MIN_ID_LENGTH) { in GetAnonyString() 71 if (strLen <= INT32_SHORT_ID_LENGTH) { in GetAnonyString() 74 res += value[strLen - 1]; in GetAnonyString() 78 res.append(value, strLen - INT32_PLAINTEXT_LENGTH, INT32_PLAINTEXT_LENGTH); in GetAnonyString()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | component.h | 598 void SetAnimationTimingFunction(const char *strValue, size_t strLen); 600 void SetAnimationFillMode(const char *strValue, size_t strLen);
|
H A D | component.cpp | 880 void Component::SetAnimationTimingFunction(const char *strValue, size_t strLen) in SetAnimationTimingFunction() argument 887 uint16_t animationTimingKeyId = KeyParser::ParseKeyId(strValue, strLen); in SetAnimationTimingFunction() 904 void Component::SetAnimationFillMode(const char *strValue, size_t strLen) in SetAnimationFillMode() argument 911 uint16_t animationFillKeyId = KeyParser::ParseKeyId(strValue, strLen); in SetAnimationFillMode() 968 const size_t strLen = GetStyleStrValueLen(styleItem); in SetAnimationStyle() local 979 SetAnimationTimingFunction(strValue, strLen); in SetAnimationStyle() 983 SetAnimationFillMode(strValue, strLen); in SetAnimationStyle()
|
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/ |
H A D | common.cpp | 221 size_t strLen = 0; in GetStringValue() local 222 napi_status status = napi_get_value_string_utf8(env, value, str, STRING_MAX_SIZE - 1, &strLen); in GetStringValue()
|
/foundation/communication/wifi/wifi/frameworks/js/napi/src/ |
H A D | wifi_napi_utils.cpp | 200 napi_value& result, size_t strLen) in SetValueUtf8String() 203 size_t len = strLen; in SetValueUtf8String() 199 SetValueUtf8String(const napi_env& env, const char* fieldStr, const char* str, napi_value& result, size_t strLen) SetValueUtf8String() argument
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rd_utils.cpp | 147 int RdUtils::RdSqlPrepare(GRD_DB *db, const char *str, uint32_t strLen, GRD_SqlStmt **stmt, const char **unusedStr) in RdSqlPrepare() argument 155 return TransferGrdErrno(GRD_KVApiInfo.DBSqlPrepare(db, str, strLen, stmt, unusedStr)); in RdSqlPrepare()
|
/foundation/communication/wifi/wifi/frameworks/js/napi/inc/ |
H A D | wifi_napi_utils.h | 107 napi_value& result, size_t strLen = NAPI_AUTO_LENGTH);
|