/lib/ |
D | test_user_copy.c | 136 ret |= test(memcmp(kmem, expected, ksize), in test_copy_struct_from_user() 149 ret |= test(memcmp(kmem, expected, ksize), in test_copy_struct_from_user() 171 ret |= test(memcmp(kmem, expected, ksize), in test_copy_struct_from_user() 219 ret |= test(memcmp(kmem, kmem + PAGE_SIZE, PAGE_SIZE), in test_user_copy_init() 266 ret |= test(memcmp(kmem + PAGE_SIZE, kmem, PAGE_SIZE), in test_user_copy_init()
|
D | string.c | 878 #undef memcmp 879 __visible int memcmp(const void *cs, const void *ct, size_t count) in memcmp() function 889 EXPORT_SYMBOL(memcmp); 907 return memcmp(a, b, len); in bcmp() 953 if (!memcmp(s1, s2, l2)) in strstr() 978 if (!memcmp(s1, s2, l2)) in strnstr()
|
D | decompress.c | 72 if (!memcmp(inbuf, cf->magic, 2)) in decompress_method()
|
D | test_hexdump.c | 141 if (memcmp(test, real, TEST_HEXDUMP_BUF_SIZE)) { in test_hexdump() 195 a = r == e && !memcmp(test, buf, TEST_HEXDUMP_BUF_SIZE); in test_hexdump_overflow()
|
D | earlycpio.c | 119 !memcmp(p, path, mypathsize)) { in find_cpio_data()
|
D | test_meminit.c | 238 fail |= (bool)memcmp(buf, buf_copy, size); in do_kmem_cache_size() 284 fail = memcmp(buf_contents, buf, size); in do_kmem_cache_rcu_persistent()
|
D | test-string_helpers.c | 19 if (q_real == q_test && !memcmp(out_test, out_real, q_test)) in test_string_check_buf() 345 if (!memcmp(res, exp, strlen(exp) + 1)) in test_string_get_size_check()
|
D | test_printf.c | 83 if (memcmp(test_buffer, expect, written)) { in do_test() 122 if (memcmp(p, expect, elen+1)) { in __test()
|
D | digsig.c | 169 if (!m || len != hlen || memcmp(m, h, hlen)) in digsig_verify_rsa()
|
D | nlattr.c | 594 d = memcmp(nla_data(nla), data, size); in nla_memcmp() 617 d = memcmp(nla_data(nla), str, len); in nla_strcmp()
|
D | test_bitmap.c | 83 if (memcmp(exp_arr, arr, len*sizeof(*arr))) { in __check_eq_u32_array()
|
D | test_kasan.c | 621 memcmp(ptr, arr, size+1); in kasan_memcmp()
|
D | test_rhashtable.c | 620 } else if (obj && memcmp(&obj->value, &key, sizeof(key))) { in thread_lookup_test()
|
D | objagg.c | 920 memcmp(ptr, arg->key, ht->p.key_len); in objagg_hints_obj_cmp()
|
D | test_objagg.c | 189 memcmp(world->next_root_buf, root->buf, sizeof(root->buf))) { in test_nodelta_obj_get()
|
/lib/raid6/test/ |
D | test.c | 65 erra = memcmp(data[i], recovi, PAGE_SIZE); in test_disks() 66 errb = memcmp(data[j], recovj, PAGE_SIZE); in test_disks()
|
/lib/xz/ |
D | xz_private.h | 40 # define memeq(a, b, size) (memcmp(a, b, size) == 0)
|
/lib/reed_solomon/ |
D | test_rslib.c | 307 if (memcmp(r, c, len * sizeof(*r))) in test_uc() 398 if (memcmp(r + dlen, corr, nroots * sizeof(*corr))) in test_bc()
|
/lib/zlib_deflate/ |
D | deflate.c | 705 if (memcmp((char *)s->window + match, in check_match()
|