/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/ |
H A D | wifi_hal_crpc_server_add_test.cpp | 95 mContext->nSize = strlen(buff); 100 mContext->nSize = strlen(buff1); 111 mContext->nSize = strlen(buff); 116 mContext->nSize = strlen(buff1); 127 mContext->nSize = strlen(buff); 132 mContext->nSize = strlen(buff1); 143 mContext->nSize = strlen(buff); 159 mContext->nSize = strlen(buff); 175 mContext->nSize = strlen(buff); 217 mContext->nSize = strlen(buff); [all …]
|
H A D | wifi_hal_crpc_server_test.cpp | 103 mContext->nSize = strlen(buff); 108 mContext->nSize = strlen(buff2); 114 mContext->nSize = strlen(buff3); 385 mContext->nSize = strlen(buff); 408 mContext->nSize = strlen(buff); 429 mContext->nSize = strlen(buff); 457 mContext->nSize = strlen(buff); 473 mContext->nSize = strlen(buff); 496 mContext->nSize = strlen(buff); 512 mContext->nSize = strlen(buff); [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/storage/src/ |
H A D | hks_storage_manager_test.cpp | 110 ASSERT_EQ(strlen((char *)alias.data), strlen(material.keyAliasPath)); 113 ASSERT_EQ(strlen(HKS_KEY_STORE_KEY_PATH), strlen(material.storageTypePath)); 161 ASSERT_EQ(strlen((char *)alias.data), strlen(material.keyAliasPath)); 164 ASSERT_EQ(strlen(HKS_KEY_STORE_KEY_PATH), strlen(material.storageTypePath)); 212 ASSERT_EQ(strlen((char *)alias.data), strlen(material.keyAliasPath)); 215 ASSERT_EQ(strlen(HKS_KEY_STORE_KEY_PATH), strlen(material.storageTypePath)); 264 ASSERT_EQ(strlen((char *)alias.data), strlen(material.keyAliasPath)); 267 ASSERT_EQ(strlen(HKS_KEY_STORE_KEY_PATH), strlen(material.storageTypePath)); 315 ASSERT_EQ(strlen((char *)alias.data), strlen(material.keyAliasPath)); 318 ASSERT_EQ(strlen(HKS_KEY_STORE_KEY_PATH), strlen(material.storageTypePath)); [all …]
|
H A D | hks_storage_util_test.cpp | 92 ASSERT_EQ(strlen(fileInfo.mainPath.fileName), strlen(material.keyAliasPath)); 97 ASSERT_EQ(strlen(fileInfo.mainPath.path), strlen(expectPath)) << fileInfo.mainPath.path; 121 ASSERT_EQ(strlen(fileInfo.mainPath.fileName), strlen(material.keyAliasPath)); 126 ASSERT_EQ(strlen(fileInfo.mainPath.path), strlen(expectPath)) << fileInfo.mainPath.path; 150 ASSERT_EQ(strlen(fileInfo.mainPath.fileName), strlen(material.keyAliasPath)); 155 ASSERT_EQ(strlen(fileInfo.mainPath.path), strlen(expectPath)) << fileInfo.mainPath.path; 179 ASSERT_EQ(strlen(fileInfo.mainPath.fileName), strlen(material.keyAliasPath)); 184 ASSERT_EQ(strlen(fileInfo.mainPath.path), strlen(expectPath)) << fileInfo.mainPath.path; 209 ASSERT_EQ(strlen(fileInfo.mainPath.fileName), strlen(material.keyAliasPath)); 239 ASSERT_EQ(strlen(fileInfo.mainPath.fileName), strlen(material.keyAliasPath)); [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/ |
H A D | wifi_wpa_hal.c | 116 if (strlen(retMsg.value) != strlen("0x000000000000")) { in DealP2pFindInfo() 224 unsigned len = strlen(token) + 1; in DealServiceDiscRespEvent() 298 peeraddr += strlen("p2p_dev_addr="); in DealDeviceLostEvent() 385 bssidPos += strlen("bssid="); in DealP2pConnectFailed() 559 if (strlen(pos) >= WIFI_IFACE_NAME_MAXLEN || strlen(pos) == 0) { in DealP2pInterfaceCreated() 692 pstate += strlen("state="); in WpaCallBackFuncTwo() 741 pid += strlen("id="); in WpaCallBackFunc() 753 pBssid += strlen("bssid="); in WpaCallBackFunc() 757 reasonPos += strlen("reason="); in WpaCallBackFunc() 774 pBssid += strlen("BSSID="); in WpaCallBackFunc() [all …]
|
/ohos5.0/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/ |
H A D | hdi_wpa_common.c | 36 const char *tmp = str + strlen("0x"); in Hex2Dec() 59 int len = strlen(str); in TrimQuotationMark() 132 if (strncmp(buf, "FAIL\n", strlen("FAIL\n")) == 0 || in StaCliCmd() 159 if (strncmp(buf, "FAIL\n", strlen("FAIL\n")) == 0 || in P2pCliCmd() 186 if (strncmp(buf, "FAIL\n", strlen("FAIL\n")) == 0 || in ChbaCliCmd() 213 if (strncmp(buf, "FAIL\n", strlen("FAIL\n")) == 0 || in CommonCliCmd() 232 ifName = (char *)cmd + strlen("IFNAME="); in WpaCliCmd() 234 ifName = (char *)cmd + strlen("INTERFACE_ADD "); in WpaCliCmd() 241 if (strncmp(ifName, "wlan", strlen("wlan")) == 0) { in WpaCliCmd() 254 int nameLen = strlen(ifName); in WpaCliCmd() [all …]
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
H A D | hks_client_service_passthrough.c | 68 { strlen(userId), (uint8_t *)userId }, in HksClientGenerateKey() 86 { strlen(userId), (uint8_t *)userId }, in HksClientImportKey() 104 { strlen(userId), (uint8_t *)userId }, in HksClientImportWrappedKey() 123 { strlen(userId), (uint8_t *)userId }, in HksClientExportPublicKey() 140 { strlen(userId), (uint8_t *)userId }, in HksClientDeleteKey() 158 { strlen(userId), (uint8_t *)userId }, in HksClientGetKeyParamSet() 175 { strlen(userId), (uint8_t *)userId }, in HksClientKeyExist() 193 { strlen(userId), (uint8_t *)userId }, in HksClientSign() 211 { strlen(userId), (uint8_t *)userId }, in HksClientVerify() 229 { strlen(userId), (uint8_t *)userId }, in HksClientEncrypt() [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/ |
H A D | i_wifi_test.cpp | 356 mTestContext->nSize = strlen(test) + 1; 367 mTestContext->nSize = strlen(test) + 1; 394 mTestContext->nSize = strlen(test) + 1; 409 mTestContext->nSize = strlen(test) + 1; 436 mTestContext->nSize = strlen(test) + 1; 445 mTestContext->nSize = strlen(test) + 1; 462 mTestContext->nSize = strlen(test) + 1; 489 mTestContext->nSize = strlen(test) + 1; 512 mTestContext->nSize = strlen(test) + 1; 526 mTestContext->nSize = strlen(test) + 1; [all …]
|
/ohos5.0/base/security/certificate_framework/test/unittest/common/include/ |
H A D | cf_test_data.h | 328 { strlen(oid01), reinterpret_cast<uint8_t *>(oid01) }, 329 { strlen(oid02), reinterpret_cast<uint8_t *>(oid02) }, 330 { strlen(oid03), reinterpret_cast<uint8_t *>(oid03) }, 331 { strlen(oid04), reinterpret_cast<uint8_t *>(oid04) }, 332 { strlen(oid05), reinterpret_cast<uint8_t *>(oid05) }, 333 { strlen(oid06), reinterpret_cast<uint8_t *>(oid06) }, 334 { strlen(oid07), reinterpret_cast<uint8_t *>(oid07) }, 338 { strlen(oid03), reinterpret_cast<uint8_t *>(oid03) }, 342 { strlen(oid01), reinterpret_cast<uint8_t *>(oid01) }, 343 { strlen(oid02), reinterpret_cast<uint8_t *>(oid02) }, [all …]
|
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | date_time_data.cpp | 27 size_t len = strlen(const_cast<char*>(amPmMarkers)); in DateTimeData() 87 return (strlen(amPmMarkers) > 0) ? Parse(amPmMarkers, index) : ""; in GetAmPmMarker() 126 strlen(formatAbbreviatedMonthNames)); in SetMonthNamesData() 129 strlen(standaloneAbbreviatedMonthNames)); in SetMonthNamesData() 141 strlen(formatAbbreviatedDayNames)); in SetDayNamesData() 144 strlen(standaloneAbbreviatedDayNames)); in SetDayNamesData() 156 size_t timeLength = strlen(timePatterns); in SetPatternsData() 157 size_t dateLength = strlen(datePatterns); in SetPatternsData() 158 size_t hourLength = strlen(hourMinuteSecondPatterns); in SetPatternsData() 159 size_t fullLength = strlen(fullMediumShortPatterns); in SetPatternsData() [all …]
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cert_manager_uri.c | 86 size_t resAvailLen = strlen(resAvail); in GetComponentEncodedLen() 87 size_t keyLen = strlen(key); in GetComponentEncodedLen() 88 size_t valueLen = strlen(value); in GetComponentEncodedLen() 108 uint32_t len = strlen(SCHEME); in GetEncodedLen() 146 size_t keyLen = strlen(key); in EncodeComp() 147 size_t valueLen = strlen(value); in EncodeComp() 300 off += strlen(SCHEME); in CertManagerUriEncode() 301 avail -= strlen(SCHEME); in CertManagerUriEncode() 503 uint32_t len = strlen(encoded); in CertManagerUriDecode() 510 if (len < strlen(SCHEME) || memcmp(encoded, SCHEME, strlen(SCHEME))) { in CertManagerUriDecode() [all …]
|
/ohos5.0/drivers/peripheral/usb/ddk/device/src/ |
H A D | usb_accessory_uevent_handle.c | 68 if (strncmp(msgTmp, "DEVPATH=", strlen("DEVPATH=")) == 0) { in UsbAccessoryUeventHandle() 69 msgTmp += strlen("DEVPATH="); in UsbAccessoryUeventHandle() 71 } else if (strncmp(msgTmp, "SUBSYSTEM=", strlen("SUBSYSTEM=")) == 0 && in UsbAccessoryUeventHandle() 72 strlen(info.subSystem) == 0) { // some uevent has more than one SUBSYSTEM property in UsbAccessoryUeventHandle() 73 msgTmp += strlen("SUBSYSTEM="); in UsbAccessoryUeventHandle() 75 } else if (strncmp(msgTmp, "ACCESSORY=", strlen("ACCESSORY=")) == 0) { in UsbAccessoryUeventHandle() 76 msgTmp += strlen("ACCESSORY="); in UsbAccessoryUeventHandle() 78 } else if (strncmp(msgTmp, "DEVNAME=", strlen("DEVNAME=")) == 0) { in UsbAccessoryUeventHandle() 79 msgTmp += strlen("DEVNAME="); in UsbAccessoryUeventHandle() 82 msgTmp += strlen(msgTmp) + 1; // 1 is a skip character '\0' in UsbAccessoryUeventHandle()
|
H A D | usbfn_uevent_handle.c | 90 if (strncmp(msgTmp, "DEVPATH=", strlen("DEVPATH=")) == 0) { in UsbFnHandleUevent() 91 msgTmp += strlen("DEVPATH="); in UsbFnHandleUevent() 93 } else if (strncmp(msgTmp, "SUBSYSTEM=", strlen("SUBSYSTEM=")) == 0 && in UsbFnHandleUevent() 94 strlen(info.subSystem) == 0) { // some uevent has more than one SUBSYSTEM property in UsbFnHandleUevent() 95 msgTmp += strlen("SUBSYSTEM="); in UsbFnHandleUevent() 97 } else if (strncmp(msgTmp, "USB_STATE=", strlen("USB_STATE=")) == 0) { in UsbFnHandleUevent() 98 msgTmp += strlen("USB_STATE="); in UsbFnHandleUevent() 100 } else if (strncmp(msgTmp, "DUAL_ROLE_MODE=", strlen("DUAL_ROLE_MODE=")) == 0) { in UsbFnHandleUevent() 101 msgTmp += strlen("DUAL_ROLE_MODE="); in UsbFnHandleUevent() 104 msgTmp += strlen(msgTmp) + 1; // 1 is a skip character '\0' in UsbFnHandleUevent()
|
/ohos5.0/base/startup/appspawn/test/unittest/hnp_test/ |
H A D | hnp_pack_test.cpp | 160 EXPECT_EQ(fwrite(cfg, sizeof(char), strlen(cfg) + 1, fp), strlen(cfg) + 1); 199 EXPECT_EQ(fwrite(cfg, sizeof(char), strlen(cfg) + 1, fp), strlen(cfg) + 1); 209 EXPECT_EQ(fwrite(cfg, sizeof(char), strlen(cfg) + 1, fp), strlen(cfg) + 1); 249 EXPECT_EQ(fwrite(cfg, sizeof(char), strlen(cfg) + 1, fp), strlen(cfg) + 1); 259 EXPECT_EQ(fwrite(cfg, sizeof(char), strlen(cfg) + 1, fp), strlen(cfg) + 1); 269 EXPECT_EQ(fwrite(cfg, sizeof(char), strlen(cfg) + 1, fp), strlen(cfg) + 1); 309 EXPECT_EQ(fwrite(cfg, sizeof(char), strlen(cfg) + 1, fp), strlen(cfg) + 1); 319 EXPECT_EQ(fwrite(cfg, sizeof(char), strlen(cfg) + 1, fp), strlen(cfg) + 1); 364 EXPECT_EQ(fwrite(cfg, sizeof(char), strlen(cfg) + 1, fp), strlen(cfg) + 1); 374 EXPECT_EQ(fwrite(cfg, sizeof(char), strlen(cfg) + 1, fp), strlen(cfg) + 1); [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/asymmetric_alg_test/ |
H A D | hks_dh_agree_test.h | 30 strlen("HksDHAgreeKeyAliasTest001_1"), 34 strlen("HksDHAgreeKeyAliasTest001_2"), 38 strlen("HksDHAgreeKeyAliasTest001_1_final"), 108 strlen("HksDHAgreeKeyAliasTest002_1"), 112 strlen("HksDHAgreeKeyAliasTest002_2"), 186 strlen("HksDHAgreeKeyAliasTest003_1"), 190 strlen("HksDHAgreeKeyAliasTest003_2"), 264 strlen("HksDHAgreeKeyAliasTest004_1"), 268 strlen("HksDHAgreeKeyAliasTest004_2"), 321 strlen("HksDHAgreeKeyAliasTest005_1"), [all …]
|
/ohos5.0/drivers/peripheral/usb/ddk/host/src/ |
H A D | ddk_uevent_handle.c | 101 if (strncmp(msgTmp, "ACTION=", strlen("ACTION=")) == 0) { in DdkHandleUevent() 102 msgTmp += strlen("ACTION="); in DdkHandleUevent() 104 } else if (strncmp(msgTmp, "DEVPATH=", strlen("DEVPATH=")) == 0) { in DdkHandleUevent() 105 msgTmp += strlen("DEVPATH="); in DdkHandleUevent() 109 msgTmp += strlen("SUBSYSTEM="); in DdkHandleUevent() 113 msgTmp += strlen("DEVTYPE="); in DdkHandleUevent() 115 } else if (strncmp(msgTmp, "BUSNUM=", strlen("BUSNUM=")) == 0) { in DdkHandleUevent() 116 msgTmp += strlen("BUSNUM="); in DdkHandleUevent() 118 } else if (strncmp(msgTmp, "DEVNUM=", strlen("DEVNUM=")) == 0) { in DdkHandleUevent() 119 msgTmp += strlen("DEVNUM="); in DdkHandleUevent() [all …]
|
/ohos5.0/base/startup/init/test/unittest/param/ |
H A D | param_shell_unittest.cpp | 73 bshd->length = strlen(bshd->buffer); in TestParamShellCmd() 79 bshd->length = strlen(bshd->buffer); in TestParamShellCmd() 85 bshd->length = strlen(bshd->buffer); in TestParamShellCmd() 92 bshd->length = strlen(bshd->buffer); in TestParamShellCmd() 99 bshd->length = strlen(bshd->buffer); in TestParamShellCmd() 105 bshd->length = strlen(bshd->buffer); in TestParamShellCmd() 111 bshd->length = strlen(bshd->buffer); in TestParamShellCmd() 123 bshd->length = strlen(bshd->buffer); in TestParamShellCmd1() 129 bshd->length = strlen(bshd->buffer); in TestParamShellCmd1() 135 bshd->length = strlen(bshd->buffer); in TestParamShellCmd1() [all …]
|
/ohos5.0/base/security/huks/interfaces/kits/cj/src/ |
H A D | cj_huks_ffi.c | 31 struct HksBlob keyAliasBlob = {strlen(keyAlias), (uint8_t *)keyAlias}; in FfiOHOSInitSession() 54 struct HksBlob keyAliasBlob = {strlen(keyAlias), (uint8_t *)keyAlias}; in FfiOHOSIsKeyExist() 61 struct HksBlob keyAliasBlob = {strlen(keyAlias), (uint8_t *)keyAlias}; in FfiOHOSGetKeyItemProperties() 68 struct HksBlob keyAliasBlob = {strlen(keyAlias), (uint8_t *)keyAlias}; in FfiOHOSHAttestKey() 75 struct HksBlob keyAliasBlob = {strlen(keyAlias), (uint8_t *)keyAlias}; in FfiOHOSHAnonAttestKey() 82 struct HksBlob keyAliasBlob = {strlen(keyAlias), (uint8_t *)keyAlias}; in FfiOHOSExportKey() 89 struct HksBlob keyAliasBlob = {strlen(keyAlias), (uint8_t *)keyAlias}; in FfiOHOSImportWrappedKey() 90 struct HksBlob wrappingKeyAliasBlob = {strlen(wrappingKeyAlias), (uint8_t *)wrappingKeyAlias}; in FfiOHOSImportWrappedKey() 97 struct HksBlob keyAliasBlob = {strlen(keyAlias), (uint8_t *)keyAlias}; in FfiOHOSGenerateKey() 103 struct HksBlob keyAliasBlob = {strlen(keyAlias), (uint8_t *)keyAlias}; in FfiOHOSDeleteKey() [all …]
|
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/ |
H A D | hichain_receivedata_test.cpp | 43 {strlen("aaa.bbbb.ccc"), "aaa.bbbb.ccc"}, 44 {strlen("CarDevice"), "CarDevice"}, 162 strlen(reinterpret_cast<char *>(dataStr)) 189 strlen(reinterpret_cast<char *>(dataStr)) 299 strlen(reinterpret_cast<char *>(dataStr001)) 339 strlen(reinterpret_cast<char *>(dataStr001)) 350 strlen(reinterpret_cast<char *>(dataStr002)) 436 strlen(reinterpret_cast<char *>(dataStr001)) 561 strlen(reinterpret_cast<char *>(dataStr)) 595 strlen(reinterpret_cast<char *>(dataStr)) [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/test/unittest/common/ |
H A D | console_module_test.cpp | 119 const size_t targetLogLength = strlen(targetLog); 121 const size_t evalCodeLen = strlen(codeToEval); 141 const size_t targetLogLength = strlen(targetLog); 143 const size_t evalCodeLen = strlen(codeToEval); 163 const size_t targetLogLength = strlen(targetLog); 165 const size_t evalCodeLen = strlen(codeToEval); 185 const size_t targetLogLength = strlen(targetLog); 187 const size_t evalCodeLen = strlen(codeToEval); 207 const size_t targetLogLength = strlen(targetLog); 209 const size_t evalCodeLen = strlen(codeToEval); [all …]
|
/ohos5.0/base/startup/init/services/modules/seccomp/ |
H A D | seccomp_policy.c | 101 size_t maxFilterNameLen = PATH_MAX - strlen(FILTER_LIB_PATH_FORMAT) + strlen("%s") - 1; in GetFilterFileByName() 102 if (filterName == NULL || strlen(filterName) > maxFilterNameLen) { in GetFilterFileByName() 110 strlen(filterName) + strlen(FILTER_LIB_PATH_FORMAT) - strlen("%s"), \ in GetFilterFileByName() 126 … if (memcpy_s(filterLibRealPath, pathSize, files->paths[0], strlen(files->paths[0]) + 1) == EOK) { in GetFilterFileByName() 153 … strlen(filterName) + strlen(FILTER_NAME_FORMAT) - strlen("%s"), FILTER_NAME_FORMAT, filterName); in GetSeccompPolicy() 168 size_t filterVaribleNameLen = strlen(filterVaribleName) + strlen(FILTER_SIZE_STRING) + 1; in GetSeccompPolicy()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_regs_arm64.cpp | 113 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x4:%016lx x5:%016lx x6:%016lx x7:%016l… in PrintRegs() 116 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x8:%016lx x9:%016lx x10:%016lx x11:%01… in PrintRegs() 119 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x12:%016lx x13:%016lx x14:%016lx x15:%… in PrintRegs() 122 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x16:%016lx x17:%016lx x18:%016lx x19:%… in PrintRegs() 125 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x20:%016lx x21:%016lx x22:%016lx x23:%… in PrintRegs() 128 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x24:%016lx x25:%016lx x26:%016lx x27:%… in PrintRegs() 131 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x28:%016lx x29:%016lx\n", \ in PrintRegs() 134 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "lr:%016lx sp:%016lx pc:%016lx\n", \ in PrintRegs()
|
H A D | dfx_regs_riscv64.cpp | 113 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x4:%016lx x5:%016lx x6:%016lx x7:%016l… in PrintRegs() 116 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x8:%016lx x9:%016lx x10:%016lx x11:%01… in PrintRegs() 119 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x12:%016lx x13:%016lx x14:%016lx x15:%… in PrintRegs() 122 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x16:%016lx x17:%016lx x18:%016lx x19:%… in PrintRegs() 125 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x20:%016lx x21:%016lx x22:%016lx x23:%… in PrintRegs() 128 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x24:%016lx x25:%016lx x26:%016lx x27:%… in PrintRegs() 131 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x28:%016lx x29:%016lx\n", \ in PrintRegs() 134 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "lr:%016lx sp:%016lx pc:%016lx\n", \ in PrintRegs()
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/ |
H A D | crypto_hkdf_test.cpp | 65 .len = strlen(g_saltData)}; 67 .len = strlen(g_keyData)}; 69 .len = strlen(g_infoData)}; 90 .len = strlen(g_saltData)}; 92 .len = strlen(g_keyData)}; 94 .len = strlen(g_infoData)}; 117 .len = strlen(g_saltData)}; 119 .len = strlen(g_keyData)}; 148 .len = strlen(g_keyData)}; 187 .len = strlen(g_keyData)}; [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
H A D | sys_dev.c | 27 uint32_t p2pNameLen = (uint32_t)strlen(P2P_DEV_NAME_PRE); in GetConnectionTypeByDevName() 28 uint32_t wlanNameLen = (uint32_t)strlen(WLAN_DEV_NAME_PRE); in GetConnectionTypeByDevName() 95 uint32_t ethNameLen = (uint32_t)strlen(ETH_DEV_NAME_PRE); in GetConnectionTypeByDev() 96 uint32_t wlanNameLen = (uint32_t)strlen(WLAN_DEV_NAME_PRE); in GetConnectionTypeByDev() 107 uint32_t ifrNameLen = (uint32_t)strlen(buf[i].ifr_name); in GetConnectionTypeByDev() 204 uint32_t ethNameLen = (uint32_t)strlen(ETH_DEV_NAME_PRE); in BindToDevice() 214 if (strlen(buf[i].ifr_name) < ethNameLen && strlen(buf[i].ifr_name) < wlanNameLen) { in BindToDevice() 266 if (strlen(buf[i].ifr_name) < strlen(ifName)) { in GetIfBroadcastIp() 304 targetDevLen = (uint32_t)strlen(ETH_DEV_NAME_PRE); in IsValidInterface() 308 targetDevLen = (uint32_t)strlen(WLAN_DEV_NAME_PRE); in IsValidInterface() [all …]
|