/third_party/skia/tests/ |
H A D | ImageNewShaderTest.cpp | 19 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.computeByteSize())); in test_bitmap_equality()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | regexec.c | 112 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | regexec.c | 112 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_fingerprint.h | 115 return memcmp (a.data, in operator ()()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/algorithm/ |
H A D | equal_benchmark.cc | 28 // std::memcmp to win for this type: libstdc++'s std::equal only defers to 29 // memcmp for integral types. This is because it is not straightforward to 30 // guarantee that std::memcmp would produce a result "as-if" compared by 65 std::memcmp(xs.data(), ys.data(), xs.size() * sizeof(T)) == 0; in BM_memcmp_benchmark()
|
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | pcreader.hpp | 29 #define VKSC_MEMCMP memcmp
|
/vendor/hisilicon/hispark_pegasus/demo/coap_demo/ |
H A D | iot_sta.c | 65 while (memcmp(&ipAddr, &ipAny, sizeof(ip4_addr_t)) == 0) { in WifiReconnected()
|
/vendor/hisilicon/hispark_pegasus/demo/iottencent_demo/ |
H A D | iot_sta.c | 62 while (0 == memcmp(&ipAddr, &ipAny, sizeof(ip4_addr_t))) { in wifiReconnected()
|
/vendor/hisilicon/hispark_pegasus/demo/mqtt_demo/ |
H A D | iot_sta.c | 62 while (0 == memcmp(&ipAddr, &ipAny, sizeof(ip4_addr_t))) { in wifiReconnected()
|
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/ |
H A D | iot_sta.c | 59 while (memcmp(&ipAddr, &ipAny, sizeof(ip4_addr_t)) == 0) { in WifiReconnected()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_mlme_ext.c | 510 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher() 511 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in _mgt_dispatcher() 539 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher() 540 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) { in mgt_dispatcher() 637 if (memcmp(p+2, RC_OUI, sizeof(RC_OUI))) in OnProbeReq() 640 if (memcmp(p+6, get_sa(pframe), ETH_ALEN)) { in OnProbeReq() 740 if ((ielen != 0 && false == !memcmp((void *)(p+2), (void *)cur->Ssid.Ssid, cur->Ssid.SsidLength)) in OnProbeReq() 800 if (!memcmp(GetAddr3Ptr(pframe), get_my_bssid(&pmlmeinfo->network), ETH_ALEN)) { in OnBeacon() 1040 if (!memcmp((void *)(p + 2), pstat->chg_txt, 128)) { in OnAuth() 1099 if (memcmp(myi in OnAuthClient() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | ipsec.c | 656 } else if (r_bytes != buf_len || memcmp(buf, sock_buf, buf_len)) { in udp_ping_send() 686 if (r_bytes != buf_len || memcmp(buf, sock_buf, buf_len)) { in udp_ping_reply() 981 if (memcmp(&info->sel.daddr, &dst, sizeof(dst))) in xfrm_usersa_found() 984 if (memcmp(&info->sel.saddr, &src, sizeof(src))) in xfrm_usersa_found() 995 if (memcmp(&info->id.daddr, &dst, sizeof(dst))) in xfrm_usersa_found() 998 if (memcmp(&info->saddr, &src, sizeof(src))) in xfrm_usersa_found() 1753 tun_reply = memcmp(&dst, &msg->body.ping.reply_ip, sizeof(in_addr_t)); in grand_child_serv()
|
/kernel/linux/linux-5.10/net/smc/ |
H A D | smc_llc.c | 882 if (!memcmp(llc->sender_gid, link->peer_gid, SMC_GID_SIZE) && in smc_llc_cli_add_link() 883 !memcmp(llc->sender_mac, link->peer_mac, ETH_ALEN)) { in smc_llc_cli_add_link() 1015 if (!memcmp(lgr->lnk[i].gid, lgr->lnk[j].gid, in smc_llc_find_asym_link() 1030 !memcmp(lgr->lnk[i].peer_gid, lgr->lnk[k].peer_gid, in smc_llc_find_asym_link() 1036 !memcmp(lgr->lnk[j].peer_gid, lgr->lnk[k].peer_gid, in smc_llc_find_asym_link() 1199 (!memcmp(add_llc->sender_gid, link->peer_gid, SMC_GID_SIZE) && in smc_llc_srv_add_link() 1200 !memcmp(add_llc->sender_mac, link->peer_mac, ETH_ALEN))) { in smc_llc_srv_add_link()
|
/kernel/linux/linux-5.10/fs/udf/ |
H A D | super.c | 657 if (!memcmp(vsd->stdIdent, VSD_STD_ID_CD001, VSD_STD_ID_LEN)) { in identify_vsd() 678 } else if (!memcmp(vsd->stdIdent, VSD_STD_ID_BEA01, VSD_STD_ID_LEN)) in identify_vsd() 680 else if (!memcmp(vsd->stdIdent, VSD_STD_ID_NSR02, VSD_STD_ID_LEN)) in identify_vsd() 682 else if (!memcmp(vsd->stdIdent, VSD_STD_ID_NSR03, VSD_STD_ID_LEN)) in identify_vsd() 684 else if (!memcmp(vsd->stdIdent, VSD_STD_ID_BOOT2, VSD_STD_ID_LEN)) in identify_vsd() 686 else if (!memcmp(vsd->stdIdent, VSD_STD_ID_CDW02, VSD_STD_ID_LEN)) in identify_vsd() 775 if (memcmp(ident->ident, UDF_ID_COMPLIANT, strlen(UDF_ID_COMPLIANT))) { in udf_verify_domain_identifier()
|
/kernel/linux/linux-6.6/fs/udf/ |
H A D | super.c | 661 if (!memcmp(vsd->stdIdent, VSD_STD_ID_CD001, VSD_STD_ID_LEN)) { in identify_vsd() 682 } else if (!memcmp(vsd->stdIdent, VSD_STD_ID_BEA01, VSD_STD_ID_LEN)) in identify_vsd() 684 else if (!memcmp(vsd->stdIdent, VSD_STD_ID_NSR02, VSD_STD_ID_LEN)) in identify_vsd() 686 else if (!memcmp(vsd->stdIdent, VSD_STD_ID_NSR03, VSD_STD_ID_LEN)) in identify_vsd() 688 else if (!memcmp(vsd->stdIdent, VSD_STD_ID_BOOT2, VSD_STD_ID_LEN)) in identify_vsd() 690 else if (!memcmp(vsd->stdIdent, VSD_STD_ID_CDW02, VSD_STD_ID_LEN)) in identify_vsd() 779 if (memcmp(ident->ident, UDF_ID_COMPLIANT, strlen(UDF_ID_COMPLIANT))) { in udf_verify_domain_identifier()
|
/third_party/curl/lib/vtls/ |
H A D | vtls.c | 131 return !memcmp(first->data, second->data, first->len); /* same data */ in blobcmp() 1044 !memcmp(encoded, begin_pos + 8, encodedlen)) { in Curl_pin_peer_pubkey() 1103 if(!memcmp(pubkey, buf, pubkeylen)) in Curl_pin_peer_pubkey() 1122 if(pubkeylen == pem_len && !memcmp(pubkey, pem_ptr, pubkeylen)) in Curl_pin_peer_pubkey() 2134 !memcmp(ALPN_HTTP_1_1, proto, ALPN_HTTP_1_1_LENGTH)) { in Curl_alpn_set_negotiated() 2139 !memcmp(ALPN_H2, proto, ALPN_H2_LENGTH)) { in Curl_alpn_set_negotiated() 2146 !memcmp(ALPN_H3, proto, ALPN_H3_LENGTH)) { in Curl_alpn_set_negotiated()
|
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/ |
H A D | cso_context.c | 685 if (memcmp(&ctx->fb, fb, sizeof(*fb)) != 0) { in cso_set_framebuffer() 700 if (memcmp(&ctx->fb, &ctx->fb_saved, sizeof(ctx->fb))) { in cso_restore_framebuffer() 711 if (memcmp(&ctx->vp, vp, sizeof(*vp))) { in cso_set_viewport() 749 if (memcmp(&ctx->vp, &ctx->vp_saved, sizeof(ctx->vp))) { in cso_restore_viewport() 798 if (memcmp(&ctx->stencil_ref, &sr, sizeof(ctx->stencil_ref))) { in cso_set_stencil_ref() 814 if (memcmp(&ctx->stencil_ref, &ctx->stencil_ref_saved, in cso_restore_stencil_ref() 1311 !memcmp(templates[i], templates[last], in set_samplers() 1340 /* ensure sampler size is a constant for memcmp */ in cso_set_samplers()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_draw.cpp | 1114 return !memcmp(a, b, sizeof(void*) * 2); in equals_gfx_program() 1116 return !memcmp(a, b, sizeof(void*) * 3); in equals_gfx_program() 1120 return sa[PIPE_SHADER_TESS_EVAL] == sb[PIPE_SHADER_TESS_EVAL] && !memcmp(a, b, sizeof(void*) * 2); in equals_gfx_program() 1122 return sa[PIPE_SHADER_TESS_EVAL] == sb[PIPE_SHADER_TESS_EVAL] && !memcmp(a, b, sizeof(void*) * 3); in equals_gfx_program() 1124 return !memcmp(&sa[PIPE_SHADER_TESS_CTRL], &sb[PIPE_SHADER_TESS_CTRL], sizeof(void*) * 2) && in equals_gfx_program() 1125 !memcmp(a, b, sizeof(void*) * 2); in equals_gfx_program() 1128 return !memcmp(a, b, sizeof(void*) * ZINK_SHADER_COUNT); in equals_gfx_program()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderLimits.cpp | 1404 if (0 != memcmp(transform_feedback_data, &expected_data, m_buffer_size)) in verifyResult() 1589 if (0 != memcmp(transform_feedback_data, &expected_data, m_buffer_size)) in verifyResult() 1727 if (0 != memcmp(transform_feedback_data, &expected_data, m_buffer_size)) in verifyResult() 1904 if (0 != memcmp(result_image + texel_offset, &expected_value, sizeof(expected_value))) in verifyResult() 2222 if (0 != memcmp(result_image + texel_offset, &expected_value, sizeof(expected_value))) in verifyResult() 2532 if (0 != memcmp(result_image + texel_offset, &expected_value, sizeof(expected_value))) in verifyResult() 3296 if (0 != memcmp(result_image + texel_offset, &expected_value, sizeof(expected_value))) in verifyResult()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 408 (!gid || !memcmp(gid, &priv->local_gid, sizeof(*gid)))) { in ipoib_match_gid_pkey_addr() 563 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find() 589 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add() 660 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, in ipoib_path_iter_next() 781 if (memcmp(pathrec->dgid.raw, path->pathrec.dgid.raw, in path_rec_completion() 1280 if (memcmp(daddr, neigh->daddr, INFINIBAND_ALEN) == 0) { in ipoib_neigh_get() 1407 if (memcmp(daddr, neigh->daddr, INFINIBAND_ALEN) == 0) { in ipoib_neigh_alloc() 1577 if (!memcmp(gid, neigh->daddr + 4, sizeof (union ib_gid))) { in ipoib_del_neighs_by_gid() 2353 if (memcmp(dev->dev_addr, ss->__data, in ipoib_check_lladdr()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/ |
H A D | ioctl_cfg80211.c | 260 memcmp(pssid->ssid, ssids[0].ssid, ssids[0].ssid_len))) { in rtw_cfg80211_inform_bss() 381 if (!memcmp(&(scanned->network.ssid), &(pnetwork->ssid), sizeof(struct ndis_802_11_ssid)) in rtw_cfg80211_ibss_indicate_connect() 382 && !memcmp(scanned->network.mac_address, pnetwork->mac_address, sizeof(NDIS_802_11_MAC_ADDRESS)) in rtw_cfg80211_ibss_indicate_connect() 423 if (!memcmp(scanned->network.mac_address, pnetwork->mac_address, sizeof(NDIS_802_11_MAC_ADDRESS)) in rtw_cfg80211_indicate_connect() 424 && !memcmp(&(scanned->network.ssid), &(pnetwork->ssid), sizeof(struct ndis_802_11_ssid)) in rtw_cfg80211_indicate_connect() 1001 if (memcmp((u8 *)mac, cur_network->network.mac_address, ETH_ALEN)) { in cfg80211_rtw_get_station() 1861 if (!memcmp(psecuritypriv->PMKIDList[index].Bssid, (u8 *)pmksa->bssid, ETH_ALEN)) { in cfg80211_rtw_set_pmksa() 1892 if (!memcmp(psecuritypriv->PMKIDList[index].Bssid, (u8 *)pmksa->bssid, ETH_ALEN)) { in cfg80211_rtw_del_pmksa() 2379 if (!memcmp((u8 *)mac, psta->hwaddr, ETH_ALEN)) { in cfg80211_rtw_del_station()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 412 (!gid || !memcmp(gid, &priv->local_gid, sizeof(*gid)))) { in ipoib_match_gid_pkey_addr() 567 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find() 593 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add() 664 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, in ipoib_path_iter_next() 785 if (memcmp(pathrec->dgid.raw, path->pathrec.dgid.raw, in path_rec_completion() 1289 if (memcmp(daddr, neigh->daddr, INFINIBAND_ALEN) == 0) { in ipoib_neigh_get() 1416 if (memcmp(daddr, neigh->daddr, INFINIBAND_ALEN) == 0) { in ipoib_neigh_alloc() 1586 if (!memcmp(gid, neigh->daddr + 4, sizeof (union ib_gid))) { in ipoib_del_neighs_by_gid() 2365 if (memcmp(dev->dev_addr, ss->__data, in ipoib_check_lladdr()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | capitst.c | 259 if(memcmp(binColData, binResult, len1) != 0){ 1170 if (memcmp(sortKey1, sortKey2, sortKeyLen1) != 0) { in TestOpenVsOpenRules() 1267 doAssert( (memcmp(sortk1, sortk2, sortklen) > 0), "Result should be \"Abcda\" > \"abcda\""); in TestSortKey() 1268 doAssert( (memcmp(sortk2, sortk1, sortklen) < 0), "Result should be \"abcda\" < \"Abcda\""); in TestSortKey() 1269 doAssert( (memcmp(sortk2, sortk3, sortklen) == 0), "Result should be \"abcda\" == \"abcda\""); in TestSortKey() 1307 doAssert( !(memcmp(sortk1, sortk2, sortklen) > 0), "Result should be \"Abcda\" == \"abcda\""); in TestSortKey() 1308 doAssert( !(memcmp(sortk2, sortk1, sortklen) < 0), "Result should be \"abcda\" == \"Abcda\""); in TestSortKey() 1309 doAssert( (memcmp(sortk1, sortk2, sortklen) == 0), "Result should be \"abcda\" == \"abcda\""); in TestSortKey() 2011 return memcmp(first, second, uprv_min(firstLen, secondLen)); in tMemCmp()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_cm.c | 947 if (memcmp(mpa_frame->key, IEFT_MPA_KEY_REQ, IETF_MPA_KEY_SIZE)) { in i40iw_parse_mpa() 952 if (memcmp(mpa_frame->key, IEFT_MPA_KEY_REP, IETF_MPA_KEY_SIZE)) { in i40iw_parse_mpa() 1445 if (!memcmp(cm_node->loc_addr, loc_addr, sizeof(cm_node->loc_addr)) && in i40iw_find_node() 1447 !memcmp(cm_node->rem_addr, rem_addr, sizeof(cm_node->rem_addr)) && in i40iw_find_node() 1488 if ((!memcmp(listen_addr, dst_addr, sizeof(listen_addr)) || in i40iw_find_listener() 1489 !memcmp(listen_addr, ip_zero, sizeof(listen_addr))) && in i40iw_find_listener() 2146 return !memcmp(loc_addr, rem_addr, 16) || ipv6_addr_loopback(&raddr6); in i40iw_ipv6_is_loopback() 2942 if (!memcmp(cm_info->loc_addr, cm_info->rem_addr, sizeof(cm_info->loc_addr))) { in i40iw_create_cm_node() 3890 (!cm_info.ipv4 && memcmp(laddr6->sin6_addr.in6_u.u6_addr32, in i40iw_connect() 4267 if (!memcmp(child_listen_nod in i40iw_qhash_ctrl() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | png_image_chunk_utils.cpp | 248 if ((memcmp(PNG_PROFILE_EXIF, keyword, PNG_CHUNK_KEYWORD_EXIF_APP1_SIZE) == 0) || in FindExifKeyword() 249 (memcmp(PNG_PROFILE_APP1, keyword, PNG_CHUNK_KEYWORD_EXIF_APP1_SIZE) == 0)) { in FindExifKeyword()
|