/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/flash/ |
H A D | hi_flashboot_flash.c | 70 if (memcmp(info->chip_id, chip_id, HI_FLASH_CHIP_ID_NUM) == HI_ERR_SUCCESS) { in sfc_config_set_experience() 238 if (memcmp(chip_name, unknown_chip, sizeof(unknown_chip)) == HI_ERR_SUCCESS) { in flash_protect_enable() 317 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_erase() 330 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_erase() 351 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_write() 364 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_write() 385 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_read() 392 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_read() 425 (memcmp(chip_id, g_flash_vlt_sfc_info_tbl[2].chip_id, HI_FLASH_CHIP_ID_NUM) == HI_ERR_SUCCESS)) { /* 2 wb */ in flash_init_cfg()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/drivers/flash/ |
H A D | hi_loaderboot_flash.c | 70 if (memcmp(info->chip_id, chip_id, HI_FLASH_CHIP_ID_NUM) == HI_ERR_SUCCESS) { in sfc_config_set_experience() 263 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_erase() 270 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_erase() 292 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_write() 299 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_write() 320 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_read() 327 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_read() 362 (memcmp(chip_id, g_flash_vlt_sfc_info_tbl[2].chip_id, HI_FLASH_CHIP_ID_NUM) == HI_ERR_SUCCESS)) { /* 2 wb */ in flash_init_cfg()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | ip6_addr.h | 197 #define ip6_addr_prefix_netcmp(addr1, addr2, len) (((len) > 0) ? (memcmp((addr1), (addr2), (len)) == 0) : \ 227 #define ip6_addr_isany_val(ip6addr) (memcmp(&ip6addr, ip_2_ip6(&ip6_addr_any), sizeof(ip6_addr_t)) == 0) 228 #define ip6_addr_isnone_val(ip6addr) (memcmp(&ip6addr, &ip6_addr_none, sizeof(ip6_addr_t)) == 0) 242 #define ip6_addr_isloopback(ip6addr) (memcmp(ip6addr, &ip6_addr_loopback, sizeof(ip6_addr_t)) == 0) 299 (memcmp(ip6addr, &ip6_addr_allnodes_iflocal, sizeof(ip6_addr_t)) == 0) 301 (memcmp(ip6addr, &ip6_addr_allnodes_linklocal, sizeof(ip6_addr_t)) == 0) 303 (memcmp(ip6addr, &ip6_addr_allrpl_nodes_linklocal, sizeof(ip6_addr_t)) == 0) 305 (memcmp(ip6addr, &ip6_addr_mpl_ip4_bcast, sizeof(ip6_addr_t)) == 0) 341 (memcmp(ip6addr, &ip6_addr_allrouters_linklocal, sizeof(ip6_addr_t)) == 0) 369 #define lwip_lladdr_cmp(addr1, addr2, len) (memcmp(addr [all...] |
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ |
H A D | aeskey2reg.c | 67 if(memcmp(tmp_buf,"KEY=",4))
in main() 72 if(memcmp(tmp_buf,"KEY=",4)) {
in main()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/ |
H A D | app_demo_flash.c | 59 if (memcmp(g_tf_pdata, g_tf_pdata_back, TEST_SIZE)) { in test_flash_body2() 98 if (memcmp(g_tf_pdata, g_tf_pdata_back, TEST_SIZE)) { in cmd_test_flash()
|
H A D | app_demo_upg_verify.c | 37 if (memcmp(user_info->chip_product, file_chip, HI_APP_CHIP_PRODUCT_LEN) == EOK) { in app_demo_upg_check_chip_product()
|
H A D | app_demo_spi.c | 257 if ((memcmp(g_spi_rcv_buf, cmp_buf, g_transfer_lenth) != 0) || (ret != HI_ERR_SUCCESS)) { in app_demo_spi_slave_receive_8bits() 289 if ((memcmp(g_spi_rcv_buf, cmp_buf, rcv_len) != 0) || (ret != HI_ERR_SUCCESS)) { in app_demo_spi_slave_receive_16bits() 346 if (memcmp(recv_buf, send_buf, g_transfer_lenth) != 0 || ret != HI_ERR_SUCCESS) { in app_demo_spi_host_write_read_task() 471 if (memcmp(g_spi_rcv_buf, cmp_buf, g_transfer_lenth) != 0) { in app_demo_spi_host_receive_8bits() 504 if (memcmp(g_spi_rcv_buf, cmp_buf, recv_len * 2) != 0) { /* 2:doubule the length */ in app_demo_spi_host_receive_16bits() 651 if (memcmp(recv_buf, send_buf, test_length * 2) != 0) { /* 2 double buf length */ in app_demo_spi_single_loopback() 664 if (memcmp(recv_buf, send_buf, test_length) != 0) { in app_demo_spi_single_loopback()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_ip.c | 673 if (memcmp(&ip_hdr[IPV4_SRC_IP_OFFSET], in dhd_tcpdata_psh_acked() 675 memcmp(&ip_hdr[IPV4_DEST_IP_OFFSET], in dhd_tcpdata_psh_acked() 677 memcmp(&tcp_hdr[TCP_SRC_PORT_OFFSET], in dhd_tcpdata_psh_acked() 679 memcmp(&tcp_hdr[TCP_DEST_PORT_OFFSET], in dhd_tcpdata_psh_acked() 866 if (memcmp(&new_ip_hdr[IPV4_SRC_IP_OFFSET], in dhd_tcpack_suppress() 868 memcmp(&new_tcp_hdr[TCP_SRC_PORT_OFFSET], in dhd_tcpack_suppress() 878 ASSERT(memcmp(new_ether_hdr, old_ether_hdr, ETHER_HDR_LEN) == 0); in dhd_tcpack_suppress() 1049 if (memcmp(&ip_hdr[IPV4_SRC_IP_OFFSET], in dhd_tcpdata_info_get() 1051 memcmp(&tcp_hdr[TCP_SRC_PORT_OFFSET], in dhd_tcpdata_info_get() 1310 if (memcmp( in dhd_tcpack_hold() [all...] |
H A D | wl_roam.c | 130 (memcmp(roam_cache[i].ssid, bi->SSID, bi->SSID_len) == 0)) { in add_roam_cache() 186 (memcmp(roam_cache[i].ssid, ssid->SSID, ssid->SSID_len) == 0)) { in get_roam_channel_list() 282 band_match && (memcmp(roam_cache[i].ssid, ssid.SSID, ssid.SSID_len) == 0)) { in update_roam_cache()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
H A D | wal_scan.h | 70 (0 == memcmp((request)->ssids[0].ssid, "DIRECT-", strlen("DIRECT-"))))
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/wifiiot_app/src/ |
H A D | app_demo_upg_verify.c | 37 if (memcmp(user_info->chip_product, file_chip, HI_APP_CHIP_PRODUCT_LEN) == EOK) { in app_demo_upg_check_chip_product()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
H A D | hmac_traffic_classify.c | 147 if (!memcmp(&judge_info->flow_info, &major_flow->flow_info, sizeof(hmac_tx_flow_info_stru))) { in hmac_tx_traffic_judge() 223 !memcmp(&judge_info->flow_info, &mark.flow_info, sizeof(hmac_tx_flow_info_stru))) { in hmac_tx_find_major_traffic() 359 if (!memcmp(&cfm_info->cfm_flow_info, &flow_info, sizeof(hmac_tx_flow_info_stru))) { in hmac_tx_traffic_classify()
|
H A D | hmac_scan.c | 207 if (0 == memcmp(auc_bssid, mac_vap->auc_bssid, WLAN_MAC_ADDR_LEN)) { in hmac_is_connected_ap_bssid() 409 if (memcmp(auc_oui, puc_ie + index, MAC_OUI_LEN) != 0) { in hmac_scan_update_bss_list_rsn() 423 if (memcmp(auc_oui, puc_ie + index, MAC_OUI_LEN) != 0) { in hmac_scan_update_bss_list_rsn() 443 if (0 != memcmp(auc_oui, puc_ie + index, MAC_OUI_LEN)) { in hmac_scan_update_bss_list_rsn() 507 if (0 != memcmp(auc_oui, puc_ie + index, MAC_OUI_LEN)) { in hmac_scan_update_bss_list_wpa() 520 if (0 != memcmp(auc_oui, puc_ie + index, MAC_OUI_LEN)) { in hmac_scan_update_bss_list_wpa() 542 if (0 != memcmp(auc_oui, puc_ie + index, MAC_OUI_LEN)) { in hmac_scan_update_bss_list_wpa() 1183 (SSID_MAX_LEN >= strlen(pc_ssid)) && (memcmp(quick_start_param->auc_ssid, pc_ssid, strlen(pc_ssid)) == 0)) { in hmac_scan_proc_scanned_bss_mgmt() 2048 if (memcmp(puc_ssid, ssids[l_index].ssid, req_ssid_len) != 0) { in hmac_scan_proc_check_ssid()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
H A D | osal_string.c | 31 return memcmp(buf1, buf2, size1); in osal_memncmp()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
H A D | str.h | 111 memcmp((string1)->s, (string2)->s, (string1)->length) == 0))
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/prot/ |
H A D | ethernet.h | 119 #define eth_addr_cmp(addr1, addr2) (memcmp((addr1)->addr, (addr2)->addr, ETH_HWADDR_LEN) == 0)
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/ |
H A D | sched.h | 155 int memcmp(const void *, const void *, size_t); 193 #define CPU_EQUAL_S(size,set1,set2) (!memcmp(set1,set2,size))
|
H A D | string.h | 99 * The memcmp() function compares the first n bytes (each interpreted as unsigned char) 107 * @retval #int The memcmp() function returns 0 if the parameters s1 and s2 are identical. 115 int memcmp (const void *, const void *, size_t); 278 * @see memcmp | strcasecmp | strcoll | strncasecmp | wcscmp | wcsncmp 303 * @see memcmp | setlocale | strcasecmp | strcmp | strxfrm 330 * @see memcmp | setlocale | strcasecmp | strcmp | strcoll
|
/device/soc/rockchip/common/sdk_linux/scripts/ |
H A D | resource_tool.c | 645 if (!memcmp(path, "./", 2)) { in fix_path() 849 if (memcmp(header.magic, RESOURCE_PTN_HDR_MAGIC, sizeof(header.magic))) { in get_entry() 872 if (memcmp(entry->tag, INDEX_TBL_ENTR_TAG, sizeof(entry->tag))) { in get_entry() 1033 if (!memcmp(arg, OPT_CHARGE_ANIM_LEVEL_CONF, strlen(OPT_CHARGE_ANIM_LEVEL_CONF))) { in test_charge() 1047 } else if (!memcmp(arg, OPT_CHARGE_ANIM_DELAY, strlen(OPT_CHARGE_ANIM_DELAY))) { in test_charge() 1050 } else if (!memcmp(arg, OPT_CHARGE_ANIM_LOOP_CUR, strlen(OPT_CHARGE_ANIM_LOOP_CUR))) { in test_charge() 1051 only_current_level = !memcmp(arg + strlen(OPT_CHARGE_ANIM_LOOP_CUR), "true", 0x04); in test_charge() 1053 } else if (!memcmp(arg, OPT_CHARGE_ANIM_LEVELS, strlen(OPT_CHARGE_ANIM_LEVELS))) { in test_charge() 1179 } else if (!memcmp(OPT_IMAGE, arg, strlen(OPT_IMAGE))) { in main() 1181 } else if (!memcmp(OPT_ROO in main() [all...] |
/device/soc/rockchip/rk3588/kernel/scripts/ |
H A D | resource_tool.c | 662 if (!memcmp(path, "./", 2)) { in fix_path() 860 if (memcmp(header.magic, RESOURCE_PTN_HDR_MAGIC, sizeof(header.magic))) { in get_entry() 887 if (memcmp(entry->tag, INDEX_TBL_ENTR_TAG, sizeof(entry->tag))) { in get_entry() 1046 if (!memcmp(arg, OPT_CHARGE_ANIM_LEVEL_CONF, in test_charge() 1061 } else if (!memcmp(arg, OPT_CHARGE_ANIM_DELAY, in test_charge() 1065 } else if (!memcmp(arg, OPT_CHARGE_ANIM_LOOP_CUR, in test_charge() 1068 !memcmp(arg + strlen(OPT_CHARGE_ANIM_LOOP_CUR), "true", 4); in test_charge() 1070 } else if (!memcmp(arg, OPT_CHARGE_ANIM_LEVELS, in test_charge() 1199 } else if (!memcmp(OPT_IMAGE, arg, strlen(OPT_IMAGE))) { in main() 1201 } else if (!memcmp(OPT_ROO in main() [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/ |
H A D | hi_stdlib.h | 295 extern int memcmp(const void *str1, const void *str2, size_t n);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_stdlib.h | 284 extern int memcmp(const void *str1, const void *str2, size_t n);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/ |
H A D | load_crypto.c | 68 if (memcmp(key_content->root_salt, salt_e, ROOT_SALT_LENGTH) == HI_ERR_SUCCESS) { in crypto_load_salt() 240 if (memcmp(key_content->work_text, key_e, KEY_BYTE_LENGTH) == HI_ERR_SUCCESS) { in crypto_load_key_content() 255 if (memcmp(key_content->content_sh256, hash, SHA_256_LENGTH) != HI_ERR_SUCCESS) { in crypto_load_key_content()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | plat_firmware.c | 314 if (!memcmp(firmware_mem->puc_recv_cmd_buff, expect, strlen((const hi_char *)expect))) { in recv_expect_result() 346 if (!memcmp(firmware_mem->puc_recv_cmd_buff, expect, strlen((const hi_char *)expect))) { in recv_expect_result_timeout() 588 if (!memcmp((hi_char *)g_st_cfg_info.auc_DevVersion, (hi_char *)g_st_cfg_info.auc_CfgVersion, in check_version() 836 if (!memcmp(key, VER_CMD_KEYWORD, strlen(VER_CMD_KEYWORD))) { in exec_number_type_cmd() 1324 if (!memcmp(*handle, (hi_u8 *)FILE_TYPE_CMD_KEY, strlen((const hi_char *)FILE_TYPE_CMD_KEY))) { in firmware_parse_cmd_type() 1334 } else if (!memcmp(*handle, (hi_u8 *)NUM_TYPE_CMD_KEY, strlen(NUM_TYPE_CMD_KEY))) { in firmware_parse_cmd_type() 1344 } else if (!memcmp(*handle, (hi_u8 *)CFG_TYPE_CMD_KEY, strlen(CFG_TYPE_CMD_KEY))) { in firmware_parse_cmd_type() 1509 if (!memcmp(g_st_cfg_info.apst_cmd[ul_index][i].cmd_name, VER_CMD_KEYWORD, strlen(VER_CMD_KEYWORD))) { in firmware_parse_cfg() 1656 if (ul_index == RAM_REG_TEST_CFG && ((!memcmp(puc_cmd_name, JUMP_CMD_KEYWORD, strlen(JUMP_CMD_KEYWORD))) && in firmware_download()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
H A D | osal_string.c | 120 return memcmp(cs, ct, count); in osal_memcmp()
|