/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/ |
H A D | common.cpp | 189 size_t strLen = 0; in GetU16StringValue() local 190 NAPI_CALL(env, napi_get_value_string_utf8(env, value, str, STR_MAX_SIZE - 1, &strLen)); in GetU16StringValue() 256 size_t strLen = 0; in GetStringValue() local 257 napi_status status = napi_get_value_string_utf8(env, value, str, STR_MAX_SIZE - 1, &strLen); in GetStringValue()
|
/third_party/skia/src/ports/ |
H A D | SkFontConfigInterface_direct.cpp | 91 uint32_t strLen, weight, width; in readFromMemory() local 92 (void)buffer.readU32(&strLen); in readFromMemory() 99 fString.resize(strLen); in readFromMemory() 100 (void)buffer.read(fString.writable_str(), strLen); in readFromMemory()
|
H A D | SkFontMgr_win_dw.cpp | 861 UINT32 strLen = SkTo<UINT32>(SkUTF::ToUTF16(character, reinterpret_cast<uint16_t*>(str))); in fallback() local 872 new FontFallbackSource(str, strLen, dwBcp47, numberSubstitution.get())); in fallback() 883 strLen, in fallback() 930 UINT32 strLen = SkTo<UINT32>(SkUTF::ToUTF16(character, reinterpret_cast<uint16_t*>(str))); in layoutFallback() local 950 str, strLen, fallbackFormat.get(), 200.0f, 200.0f, &fallbackLayout), in layoutFallback() 956 HRNM(fallbackLayout->SetFontCollection(fFontCollection.get(), {0, strLen}), in layoutFallback()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | StringMap.h | 132 explicit StringMapEntry(unsigned strLen) in StringMapEntry() argument 133 : StringMapEntryBase(strLen), second() {} in StringMapEntry() 135 StringMapEntry(unsigned strLen, InitTy &&... InitVals) in StringMapEntry() argument 136 : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {} in StringMapEntry()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_util.h | 41 * @param strLen - mac string length, must be bigger than 17 44 int ConvertMacArr2String(const unsigned char *srcMac, int srcMacSize, char *destMacStr, int strLen);
|
H A D | wifi_hdi_wpa_sta_impl.h | 86 int ConvertMacToStr(char *mac, int macSize, char *macStr, int strLen);
|
/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_function.h | 29 const char *MacChConToMacStr(const unsigned char *pChMac, size_t chLen, char *pStrMac, size_t strLen);
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | creststn.c | 709 int32_t strLen =0; in TestNewTypes() local 710 const UChar* str = tres_getString(theBundle, -1, "testincludeUTF",&strLen,&status); in TestNewTypes() 724 if(strLen != len ){ in TestNewTypes() 725 log_err("Did not get the expected len for riwords. Expected: %i , Got: %i\n", len ,strLen); in TestNewTypes() 728 if(u_strlen(str) != strLen || str[strLen]!= 0 ){ in TestNewTypes() 731 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes() 746 int32_t strLen =0; in TestNewTypes() local 747 const UChar* str = tres_getString(theBundle, -1, "testinclude",&strLen,&status); in TestNewTypes() 762 if(strLen ! in TestNewTypes() 2229 int32_t strLen = 0, seqLen = 0;/*, binLen = 0, binSeqLen = 0;*/ TestResourceLevelAliasing() local [all...] |
/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/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/ability/idl_tool/parser/ |
H A D | lexer.h | 105 static bool strToInt(const char *str, int strLen, int& number);
|
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/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/ |
H A D | drawing_types.h | 500 uint32_t strLen; member
|
/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/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/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);
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkBinaryRegistry.cpp | 171 const size_t strLen = combinedStr.size(); in getSearchPath() local 172 const size_t numWords = strLen/4 + 1; // Must always end up with at least one 0 byte in getSearchPath() 175 deMemcpy(&words[0], combinedStr.c_str(), strLen); in getSearchPath()
|
/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/ui_lite/interfaces/kits/font/ |
H A D | base_font.h | 203 uint16_t& strLen) const in GetWildCardStaticStr()
|