/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-blob.c | 234 g_assert (0 == memcmp (data_writable, fixture->data, fixture->len)); in test_blob() 299 g_assert (0 == memcmp (data_writable, fixture->data + 1, fixture->len - 2)); in test_blob_subblob()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | FoldingSet.cpp | 35 return memcmp(Data, RHS.Data, Size*sizeof(*Data)) == 0; in operator ==() 39 /// profiled bits and their ordering defined by memcmp(). 43 return memcmp(Data, RHS.Data, Size*sizeof(*Data)) < 0; in operator <() 162 /// profiled bits and their ordering defined by memcmp().
|
/third_party/skia/include/private/ |
H A D | GrResourceKey.h | 90 // key's length. So the second memcmp should only run if the keys have the same length. in operator ==() 91 return 0 == memcmp(fKey.get(), that.fKey.get(), kMetaDataCnt*sizeof(uint32_t)) && in operator ==() 92 0 == memcmp(&fKey[kMetaDataCnt], &that.fKey[kMetaDataCnt], this->dataSize()); in operator ==()
|
/third_party/skia/modules/skottie/src/animator/ |
H A D | VectorKeyframeAnimator.cpp | 104 if (0 != std::memcmp(dst, v0, fVecLen * sizeof(float))) { 249 if (fCurrentVec > 0 && !memcmp(fStorage.data() + offset, in parseKFValue()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os.h | 513 #define os_memcmp(s1, s2, n) memcmp((s1), (s2), (n)) 647 #define memcmp OS_DO_NOT_USE_memcmp macro
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | os.h | 513 #define os_memcmp(s1, s2, n) memcmp((s1), (s2), (n)) 647 #define memcmp OS_DO_NOT_USE_memcmp macro
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | elants_i2c.c | 313 if (memcmp(rek_resp, ts->cmd_resp, sizeof(rek_resp))) { in elants_i2c_calibrate() 571 } else if (!memcmp(buf, hello_packet, sizeof(hello_packet))) { in elants_i2c_initialize() 574 } else if (!memcmp(buf, recov_packet, sizeof(recov_packet))) { in elants_i2c_initialize() 636 if (!memcmp(buf, ack_ok, sizeof(ack_ok))) in elants_i2c_fw_write_page() 779 if (memcmp(buf, iap_ack, sizeof(iap_ack))) { in elants_i2c_do_update_firmware() 1018 if (memcmp(ts->buf, wait_packet, sizeof(wait_packet))) { in elants_i2c_irq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
H A D | mcg.c | 171 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid); in mcast_find() 195 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, in mcast_insert() 455 nzgroup = memcmp(&group->rec.mgid, &mgid0, sizeof mgid0); in release_group() 556 if (memcmp(&group->rec.mgid, &mgid0, sizeof mgid0)) { in mlx4_ib_mcg_timeout_handler() 757 if (memcmp(new_mgid, &mgid0, sizeof mgid0)) { in search_relocate_mgid0_group() 817 is_mgid0 = !memcmp(&mgid0, mgid, sizeof mgid0); in acquire_group()
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
H A D | label.c | 132 if (memcmp(sig, NSINDEX_SIGNATURE, NSINDEX_SIG_LEN) != 0) { in __nd_label_validate() 838 || memcmp(nspm->uuid, label_ent->label->uuid, in __pmem_label_update() 950 if (memcmp(uuid, nsblk->uuid, NSLABEL_UUID_LEN) != 0) in __blk_label_update() 1097 if (memcmp(uuid, nsblk->uuid, NSLABEL_UUID_LEN) != 0) in __blk_label_update() 1128 if (memcmp(uuid, nsblk->uuid, NSLABEL_UUID_LEN) != 0) in __blk_label_update() 1234 if (memcmp(label_uuid, uuid, NSLABEL_UUID_LEN) != 0) in del_labels()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | asn1_compiler.c | 329 val = memcmp(token->content, dir, clen); in directive_compare() 475 if (memcmp(p, "::=", 3) == 0) { in tokenise() 485 if (memcmp(p, "({", 2) == 0) { in tokenise() 492 if (memcmp(p, "})", 2) == 0) { in tokenise() 726 return memcmp((*a)->name->content, (*b)->name->content, in type_index_compare() 739 return memcmp(token->content, type->name->content, in type_finder()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_dp_helper.c | 531 if (!memcmp(dpcd, dpcd_ext, sizeof(dpcd_ext))) in drm_dp_read_extended_dpcd_caps() 1842 if (memcmp(quirk->oui, ident->oui, sizeof(ident->oui)) != 0) in drm_dp_get_quirks() 1845 if (memcmp(quirk->device_id, any_device, sizeof(any_device)) != 0 && in drm_dp_get_quirks() 1846 memcmp(quirk->device_id, ident->device_id, sizeof(ident->device_id)) != 0) in drm_dp_get_quirks() 1923 if (memcmp(quirk->mfg_id, edid->mfg_id, in drm_dp_get_edid_quirks() 1925 memcmp(quirk->prod_id, edid->prod_code, in drm_dp_get_edid_quirks()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | btrtl.c | 653 if (!memcmp(btrtl_dev->fw_data, RTL_EPATCH_SIGNATURE, 8)) in rtlbt_parse_firmware() 656 else if (!memcmp(btrtl_dev->fw_data, RTL_EPATCH_SIGNATURE_V2, 8)) in rtlbt_parse_firmware() 666 if (memcmp(fwptr, extension_sig, sizeof(extension_sig)) != 0) { in rtlbt_parse_firmware() 726 if (memcmp(btrtl_dev->fw_data, RTL_EPATCH_SIGNATURE, 8) != 0) { in rtlbt_parse_firmware() 727 if (!memcmp(btrtl_dev->fw_data, RTL_EPATCH_SIGNATURE_V2, 8)) in rtlbt_parse_firmware() 890 if (!memcmp(btrtl_dev->fw_data, RTL_EPATCH_SIGNATURE, 8)) { in btrtl_setup_rtl8723a()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/ |
H A D | mcg.c | 171 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid); in mcast_find() 195 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, in mcast_insert() 455 nzgroup = memcmp(&group->rec.mgid, &mgid0, sizeof mgid0); in release_group() 556 if (memcmp(&group->rec.mgid, &mgid0, sizeof mgid0)) { in mlx4_ib_mcg_timeout_handler() 757 if (memcmp(new_mgid, &mgid0, sizeof mgid0)) { in search_relocate_mgid0_group() 817 is_mgid0 = !memcmp(&mgid0, mgid, sizeof mgid0); in acquire_group()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | elants_i2c.c | 329 if (memcmp(rek_resp, ts->cmd_resp, sizeof(rek_resp))) { in elants_i2c_calibrate() 633 } else if (!memcmp(buf, hello_packet, sizeof(hello_packet))) { in elants_i2c_initialize() 636 } else if (!memcmp(buf, recov_packet, sizeof(recov_packet))) { in elants_i2c_initialize() 709 if (!memcmp(buf, ack_ok, sizeof(ack_ok))) in elants_i2c_fw_write_page() 852 if (memcmp(buf, iap_ack, sizeof(iap_ack))) { in elants_i2c_do_update_firmware() 1108 if (memcmp(ts->buf, wait_packet, sizeof(wait_packet))) { in elants_i2c_irq()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | cow.c | 115 return memcmp(old, mem, size); in child_memcmp_fn() 162 return memcmp(old, new, transferred); in child_vmsplice_memcmp_fn() 324 ksft_test_result(!memcmp(old, new, transferred), in do_test_vmsplice_in_parent() 478 ksft_test_result(!memcmp(mem, tmp, size), in do_test_iouring() 624 ksft_test_result(!memcmp(mem, tmp, size), in do_test_ro_pin() 1363 ksft_test_result(!memcmp(smem, old, size), in test_cow()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | asn1_compiler.c | 329 val = memcmp(token->content, dir, clen); in directive_compare() 475 if (memcmp(p, "::=", 3) == 0) { in tokenise() 485 if (memcmp(p, "({", 2) == 0) { in tokenise() 492 if (memcmp(p, "})", 2) == 0) { in tokenise() 726 return memcmp((*a)->name->content, (*b)->name->content, in type_index_compare() 739 return memcmp(token->content, type->name->content, in type_finder()
|
/third_party/libcoap/src/ |
H A D | coap_resource.c | 97 memcmp(token, pattern->s, pattern->length) == 0) in match() 104 memcmp(text->s, pattern->s, pattern->length) == 0; in match() 170 memcmp(resource_param.s, "href", 4) == 0) 175 memcmp(resource_param.s, rt_attributes->s, rt_attributes->length) == 0) { 431 memcmp(attr->name->s, name->s, name->length) == 0) 717 && (memcmp(cache_key, s->cache_key, sizeof(coap_cache_key_t)) == 0))
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_program.c | 650 if (old_fs && memcmp(v3d->prog.fs->prog_data.fs->input_slots, in v3d_update_compiled_fs() 724 if (old_gs && memcmp(v3d->prog.gs->prog_data.gs->input_slots, in v3d_update_compiled_gs() 898 return memcmp(key1, key2, sizeof(struct v3d_fs_key)) == 0; in fs_cache_compare() 904 return memcmp(key1, key2, sizeof(struct v3d_gs_key)) == 0; in gs_cache_compare() 910 return memcmp(key1, key2, sizeof(struct v3d_vs_key)) == 0; in vs_cache_compare() 916 return memcmp(key1, key2, sizeof(struct v3d_key)) == 0; in cs_cache_compare()
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | coded_stream_unittest.cc | 334 memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size)); in TEST_2D() 351 memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size)); in TEST_2D() 619 EXPECT_EQ(0, memcmp(buffer_, kFixed32Cases_case.bytes, sizeof(uint32))); in TEST_2D() 635 EXPECT_EQ(0, memcmp(buffer_, kFixed64Cases_case.bytes, sizeof(uint64))); in TEST_2D() 674 EXPECT_EQ(0, memcmp(kRawBytes, read_buffer, sizeof(kRawBytes))); in TEST_1D() 693 EXPECT_EQ(0, memcmp(buffer_, kRawBytes, sizeof(kRawBytes))); in TEST_1D()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
H A D | peers.cpp | 356 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_start() 380 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_listen() 395 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_start_group() 1802 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_show_passphrase() 1828 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_start_persistent() 1851 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_invite()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
H A D | peers.cpp | 356 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_start() 380 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_listen() 395 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_start_group() 1804 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_show_passphrase() 1830 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_start_persistent() 1853 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_invite()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ap.c | 1119 if ((p) && (!memcmp(p + 2, OUI1, 4))) { in rtw_check_beacon_data() 1155 if ((p) && !memcmp(p + 2, WMM_PARA_IE, 6)) { in rtw_check_beacon_data() 1357 if (!memcmp(paclnode->addr, addr, ETH_ALEN)) { in rtw_acl_add_sta() 1424 !memcmp(paclnode->addr, addr, ETH_ALEN) || in rtw_acl_remove_sta() 1425 !memcmp(baddr, addr, ETH_ALEN) in rtw_acl_remove_sta() 1734 if (!memcmp(RTW_WPA_OUI, oui, 4)) in update_bcn_vendor_spec_ie() 1737 else if (!memcmp(WMM_OUI, oui, 4)) in update_bcn_vendor_spec_ie() 1740 else if (!memcmp(WPS_OUI, oui, 4)) in update_bcn_vendor_spec_ie() 1743 else if (!memcmp(P2P_OUI, oui, 4)) in update_bcn_vendor_spec_ie()
|
/kernel/linux/linux-5.10/net/atm/ |
H A D | lec.c | 229 if (memcmp(skb->data, bridge_ula_lec, sizeof(bridge_ula_lec)) == 0) in lec_start_xmit() 608 if (memcmp(skb->data, lec_ctrl_magic, 4) == 0) { in lec_push() 649 memcmp(dst, dev->dev_addr, dev->addr_len)) { in lec_push() 1319 if (memcmp(to_remove->atm_addr, in lec_arp_remove() 1805 if (!memcmp(atm_addr, entry->atm_addr, ATM_ESA_LEN) && in lec_addr_delete() 1845 if (memcmp(entry->atm_addr, atm_addr, ATM_ESA_LEN) == 0) { in lec_arp_update() 1892 !memcmp(tmp->atm_addr, atm_addr, ATM_ESA_LEN)) { in lec_arp_update() 1983 if (memcmp in lec_vcc_added() 2101 if (!memcmp(atm_addr, entry->atm_addr, ATM_ESA_LEN)) { in lec_set_flush_tran_id()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_virtchnl_fdir.c | 667 if (!memcmp(old_seg, seg, sizeof(*seg))) { in ice_vc_fdir_write_flow_prof() 1150 if (memcmp(&a->ip, &b->ip, sizeof(a->ip))) in ice_vc_fdir_comp_rules() 1152 if (memcmp(&a->mask, &b->mask, sizeof(a->mask))) in ice_vc_fdir_comp_rules() 1154 if (memcmp(&a->gtpu_data, &b->gtpu_data, sizeof(a->gtpu_data))) in ice_vc_fdir_comp_rules() 1156 if (memcmp(&a->gtpu_mask, &b->gtpu_mask, sizeof(a->gtpu_mask))) in ice_vc_fdir_comp_rules() 1158 if (memcmp(&a->l2tpv3_data, &b->l2tpv3_data, sizeof(a->l2tpv3_data))) in ice_vc_fdir_comp_rules() 1160 if (memcmp(&a->l2tpv3_mask, &b->l2tpv3_mask, sizeof(a->l2tpv3_mask))) in ice_vc_fdir_comp_rules() 1162 if (memcmp(&a->ext_data, &b->ext_data, sizeof(a->ext_data))) in ice_vc_fdir_comp_rules() 1164 if (memcmp(&a->ext_mask, &b->ext_mask, sizeof(a->ext_mask))) in ice_vc_fdir_comp_rules()
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | oplock.c | 496 if (!memcmp(guid1, guid2, SMB2_CLIENT_GUID_SIZE) && in compare_guid_key() 497 !memcmp(key1, key2, SMB2_LEASE_KEY_SIZE)) in compare_guid_key() 961 if (conn && memcmp(lb->client_guid, conn->ClientGUID, in destroy_lease_table() 996 if (!memcmp(lb->client_guid, sess->ClientGUID, in find_same_lease_key() 1053 if (!memcmp(lb->client_guid, opinfo->conn->ClientGUID, in add_lease_global_list() 1394 !memcmp(conn->ClientGUID, brk_op->conn->ClientGUID, in smb_break_all_levII_oplock() 1396 !memcmp(op->o_lease->lease_key, brk_op->o_lease->lease_key, in smb_break_all_levII_oplock() 1593 if (name_len == tag_len && !memcmp(name, tag, name_len)) in smb2_find_context_vals() 1779 if (!memcmp(lt->client_guid, conn->ClientGUID, in lookup_lease_in_table()
|