/foundation/communication/dsoftbus/core/common/dfx/anonymize/src/ |
H A D | anonymizer.c | 183 uint32_t len = strlen(str); in CopyStr() 366 uint32_t len = strlen(str); in AnonymizeInner()
|
/foundation/communication/dsoftbus/tests/core/connection/manager/ |
H A D | connection_manager_test.cpp | 283 (void)strcpy_s(data.buf + 1, strlen(str), str); in HWTEST_F() 328 (void)strcpy_s(data.buf + CONN_HEAD_SIZE, strlen(str), str); in HWTEST_F()
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_supplier.cpp | 130 if (GetNetSupplierIdent().substr(0, strlen(SIMID_IDENT_PREFIX)) == SIMID_IDENT_PREFIX) { in UpdateNetLinkInfo() 131 netLinkInfo.ident_ = GetNetSupplierIdent().substr(strlen(SIMID_IDENT_PREFIX)); in UpdateNetLinkInfo()
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_hichain.c | 191 uint32_t errorReturnLen = strlen(errorReturn); in OnError() 248 rc = SoftBusGenerateStrHash((uint8_t *)udid, strlen(udid), hash); in GetUdidHash()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/ |
H A D | lnn_lane_deps_mock.cpp | 106 if (strncpy_s(info, BT_MAC_LEN, brMac, strlen(brMac)) != EOK) { in ActionOfGetRemoteStrInfo() 111 if (strncpy_s(info, UDID_BUF_LEN, peerUdid, strlen(peerUdid)) != EOK) { in ActionOfGetRemoteStrInfo()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/ |
H A D | mock_wifi_hal_service.c | 114 results[0].infoElems[0].size = strlen(results[0].infoElems[0].content); in GetScanInfos() 574 device.wfdLength = strlen(device.wfdDeviceInfo); in P2pStartFind()
|
/foundation/deviceprofile/device_info_manager/services/core/src/staticcapabilityloader/ |
H A D | static_capability_loader.cpp | 89 if (strlen(srcPath) == 0 || strlen(srcPath) > PATH_MAX || realpath(srcPath, targetPath) == nullptr) { in LoadJsonFile()
|
/foundation/communication/wifi/wifi/base/utils/ |
H A D | wifi_app_parser.cpp | 355 strFileVersion = strTemp.substr(nPos + strlen(VERSION_FILE_KEY_WORD), 356 strTemp.length() - nPos - strlen(VERSION_FILE_KEY_WORD));
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/ |
H A D | wifi_manager.cpp | 428 if (strncmp(dent->d_name, "wlan", strlen("wlan")) == 0) { in CheckAndStartSta() 472 if ((bytes = write(fd, buf, strlen(buf))) <= 0) { in InitPidfile()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/ |
H A D | distributeddb_schema_test_tools.cpp | 47 val.replace(found, strlen("PerfTest"), insert); in GenerateFixedLenJsonSchemaRecord() 104 val.replace(found, strlen("PerfTest"), insert); in GenerateFixedLenSchemaPerfRecord()
|
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/ |
H A D | dh_utils_tool.cpp | 214 return (strlen(value->valuestring) > MIN_MESSAGE_LEN && strlen(value->valuestring) <= MAX_MESSAGE_LEN); in IsString()
|
/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_options_test.cpp | 284 pOption[DHCP_OPT_LEN_INDEX] = strlen(buf); in HWTEST_F() 288 strlen(buf)) == EOK); in HWTEST_F()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/ |
H A D | coap_discover.c | 260 if (strncpy_s(ifr.ifr_name, sizeof(ifr.ifr_name), ifName, strlen(ifName)) != EOK) { in CoapPostServiceDiscoverEx() 563 strlen(responseSettings->remoteIp)) != EOK) { in SendDiscoveryRspEx()
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | window_scene_config.cpp | 122 if (!configPath || strlen(configPath) == 0 || strlen(configPath) > PATH_MAX || !realpath(configPath, tmpPath)) { in GetConfigPath()
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_manager_config.cpp | 102 if (!configPath || strlen(configPath) == 0 || strlen(configPath) > PATH_MAX || !realpath(configPath, tmpPath)) { in GetConfigPath()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | dbexec.c | 378 if ((flags & EX_ALL) && (strlen(name) > 4)) { in acpi_db_execute() 384 name_string = ACPI_ALLOCATE(strlen(name) + 1); in acpi_db_execute()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | pci_irq.c | 128 strlen(prt->source) >= strlen(quirk->actual_source)) { in do_prt_fixups()
|
/kernel/linux/common_modules/tzdriver/auth/ |
H A D | client_hash_auth.c | 535 if (uid_compare(uid, token, strlen(token)) != 0) in parse_uname() 539 return strlen(temp_name); in parse_uname()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | lparcfg.c | 363 local_buffer += 2; /* step over strlen value */ in parse_system_parameter_string() 385 w_idx = strlen(workbuffer); in parse_system_parameter_string() 390 w_idx = strlen(workbuffer); in parse_system_parameter_string() 395 local_buffer -= 2; /* back up over strlen value */ in parse_system_parameter_string()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | chan_kern.c | 451 if (!strncmp(str, entry->key, strlen(entry->key))) { in parse_chan() 453 str += strlen(entry->key); in parse_chan()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
H A D | inject.c | 325 if (!strncmp(flags_options[i], buf, strlen(flags_options[i]))) { in __set_inj() 639 readme_msg, strlen(readme_msg)); in inj_readme_read()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | vio.c | 307 tlen = strlen(type) + 1; in vio_create_one() 310 if (tlen > VIO_MAX_TYPE_LEN || strlen(type) >= VIO_MAX_TYPE_LEN) { in vio_create_one()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | 137 if (count < strlen(buf)) { in xgbe_common_read() 142 len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); in xgbe_common_read()
|
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | setup.c | 102 bp += strlen(bp) + 1; in dmi_string_parse() 107 size_t len = strlen(bp)+1; in dmi_string_parse()
|
/kernel/linux/linux-5.10/tools/thermal/tmon/ |
H A D | tui.c | 396 if (strlen(status_bar_slots[i]) == 0) in show_title_bar() 401 x += strlen(status_bar_slots[i]) + 1; in show_title_bar()
|