Searched refs:memcmp (Results 1 - 25 of 206) sorted by relevance

123456789

/barrelfish-2018-10-04/lib/libc/tests/string/
H A Dmemcmp_test.c41 assert(memcmp("a", "b", 0) == 0);
42 assert(memcmp("", "", 0) == 0);
54 assert(memcmp(data1, data2, i) == 0);
56 assert(memcmp(data1 + i, data2 + i, 256 - i) == 0);
70 assert(memcmp(data1, data2, i) != 0);
72 assert(memcmp(data1 + i, data2 + i, 256 - i) != 0);
86 assert(memcmp(data1 + 128, data2 + 128, i) == 255);
87 assert(memcmp(data2 + 128, data1 + 128, i) == -255);
88 assert(memcmp(data1 + 129 - i, data2 + 129 - i, i) == 255);
89 assert(memcmp(data
[all...]
/barrelfish-2018-10-04/lib/compiler-rt/builtins/arm/
H A Daeabi_memcmp.S1 //===-- aeabi_memcmp.S - EABI memcmp implementation -----------------------===//
12 // void __aeabi_memcmp(void *dest, void *src, size_t n) { memcmp(dest, src, n); }
16 b memcmp
/barrelfish-2018-10-04/usr/tests/msun/
H A Dnan_test.c58 * so we need to initialize the memory for the memcmp()
72 assert(memcmp(&af[0], &af[1], sizeof(float)) == 0);
73 assert(memcmp(&af[1], &af[2], sizeof(float)) == 0);
77 assert(memcmp(&af[2], &af[3], sizeof(float)) == 0);
85 assert(memcmp(&ad[0], &ad[1], sizeof(double)) == 0);
86 assert(memcmp(&ad[1], &ad[2], sizeof(double)) == 0);
90 assert(memcmp(&ad[2], &ad[3], sizeof(double)) == 0);
98 assert(memcmp(&ald[0], &ald[1], sizeof(long double)) == 0);
99 assert(memcmp(&ald[1], &ald[2], sizeof(long double)) == 0);
103 assert(memcmp(
[all...]
/barrelfish-2018-10-04/lib/libc/amd64/string/
H A DMakefile.inc3 MDSRCS+= bcmp.S bcopy.S bzero.S memcmp.S memcpy.S memmove.S memset.S \
H A Dmemcmp.S11 RCSID("$NetBSD: memcmp.S,v 1.2 2003/07/26 19:24:39 salo Exp $")
14 ENTRY(memcmp)
42 END(memcmp)
/barrelfish-2018-10-04/lib/libc/string/
H A Dmemcmp.c34 static char sccsid[] = "@(#)memcmp.c 8.1 (Berkeley) 6/4/93";
45 memcmp(const void *s1, const void *s2, size_t n) function
H A Dmemmem.c61 if (cur[0] == cs[0] && memcmp(cur, cs, s_len) == 0)
/barrelfish-2018-10-04/lib/libc/uuid/
H A Duuid_equal.c54 return ((memcmp(a, b, sizeof(uuid_t))) ? 0 : 1);
H A Duuid_compare.c70 res = memcmp(a->node, b->node, sizeof(a->node));
/barrelfish-2018-10-04/lib/acpica/source/components/tables/
H A Dtbfind.c182 if (memcmp (&(AcpiGbl_RootTableList.Tables[i].Signature),
210 if (!memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->Signature,
213 !memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->OemId,
216 !memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->OemTableId,
/barrelfish-2018-10-04/lib/libc/arm/string/
H A DMakefile.inc4 MDSRCS+=bcmp.c bcopy.S bzero.S ffs.S memchr.c memcmp.S memcpy.S \
/barrelfish-2018-10-04/lib/lwip2/src/apps/snmp/
H A Dsnmpv3_dummy.c60 if(memcmp(username, "lwip", 4) != 0) {
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/rsa/
H A Drsa_test.c259 if (num != plen || memcmp(ptext, ptext_ex, num) != 0)
285 if (num != plen || memcmp(ptext, ptext_ex, num) != 0)
290 else if (memcmp(ctext, ctext_ex, num) == 0)
299 if (num != plen || memcmp(ptext, ptext_ex, num) != 0)
/barrelfish-2018-10-04/lib/acpica/source/common/
H A Dahuuids.c198 if (!memcmp (Data, UuidBuffer, UUID_BUFFER_LENGTH))
/barrelfish-2018-10-04/lib/openssl-1.0.0d/test/
H A Drsa_test.c259 if (num != plen || memcmp(ptext, ptext_ex, num) != 0)
285 if (num != plen || memcmp(ptext, ptext_ex, num) != 0)
290 else if (memcmp(ctext, ctext_ex, num) == 0)
299 if (num != plen || memcmp(ptext, ptext_ex, num) != 0)
H A Dmdc2test.c110 if (memcmp(md,pad1,MDC2_DIGEST_LENGTH) != 0)
129 if (memcmp(md,pad2,MDC2_DIGEST_LENGTH) != 0)
H A Dsha256t.c65 if (memcmp(md,app_b1,sizeof(app_b1)))
75 if (memcmp(md,app_b2,sizeof(app_b2)))
95 if (memcmp(md,app_b3,sizeof(app_b3)))
108 if (memcmp(md,addenum_1,sizeof(addenum_1)))
118 if (memcmp(md,addenum_2,sizeof(addenum_2)))
135 if (memcmp(md,addenum_3,sizeof(addenum_3)))
H A Dwp_test.c129 if (memcmp(md,iso_test_1,sizeof(iso_test_1)))
138 if (memcmp(md,iso_test_2,sizeof(iso_test_2)))
147 if (memcmp(md,iso_test_3,sizeof(iso_test_3)))
156 if (memcmp(md,iso_test_4,sizeof(iso_test_4)))
165 if (memcmp(md,iso_test_5,sizeof(iso_test_5)))
176 if (memcmp(md,iso_test_6,sizeof(iso_test_6)))
186 if (memcmp(md,iso_test_7,sizeof(iso_test_7)))
195 if (memcmp(md,iso_test_8,sizeof(iso_test_8)))
216 if (memcmp(md,iso_test_9,sizeof(iso_test_9)))
H A Dideatest.c118 if (memcmp(out,c,8) != 0)
134 if (memcmp(out,in,8) != 0)
155 if (memcmp(text,out,strlen(text)+1) != 0)
193 if (memcmp(cfb_cipher,cfb_buf1,CFB_TEST_SIZE) != 0)
207 if (memcmp(plain,cfb_buf2,CFB_TEST_SIZE) != 0)
H A Drc2test.c153 if (memcmp(&(RC2cipher[n][0]),buf,8) != 0)
168 if (memcmp(&(RC2plain[n][0]),buf2,8) != 0)
190 if (memcmp(text,out,strlen(text)+1) != 0)
230 if (memcmp(cfb_cipher,cfb_buf1,CFB_TEST_SIZE) != 0)
244 if (memcmp(plain,cfb_buf2,CFB_TEST_SIZE) != 0)
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/mdc2/
H A Dmdc2test.c110 if (memcmp(md,pad1,MDC2_DIGEST_LENGTH) != 0)
129 if (memcmp(md,pad2,MDC2_DIGEST_LENGTH) != 0)
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/sha/
H A Dsha256t.c65 if (memcmp(md,app_b1,sizeof(app_b1)))
75 if (memcmp(md,app_b2,sizeof(app_b2)))
95 if (memcmp(md,app_b3,sizeof(app_b3)))
108 if (memcmp(md,addenum_1,sizeof(addenum_1)))
118 if (memcmp(md,addenum_2,sizeof(addenum_2)))
135 if (memcmp(md,addenum_3,sizeof(addenum_3)))
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/whrlpool/
H A Dwp_test.c129 if (memcmp(md,iso_test_1,sizeof(iso_test_1)))
138 if (memcmp(md,iso_test_2,sizeof(iso_test_2)))
147 if (memcmp(md,iso_test_3,sizeof(iso_test_3)))
156 if (memcmp(md,iso_test_4,sizeof(iso_test_4)))
165 if (memcmp(md,iso_test_5,sizeof(iso_test_5)))
176 if (memcmp(md,iso_test_6,sizeof(iso_test_6)))
186 if (memcmp(md,iso_test_7,sizeof(iso_test_7)))
195 if (memcmp(md,iso_test_8,sizeof(iso_test_8)))
216 if (memcmp(md,iso_test_9,sizeof(iso_test_9)))
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/idea/
H A Dideatest.c118 if (memcmp(out,c,8) != 0)
134 if (memcmp(out,in,8) != 0)
155 if (memcmp(text,out,strlen(text)+1) != 0)
193 if (memcmp(cfb_cipher,cfb_buf1,CFB_TEST_SIZE) != 0)
207 if (memcmp(plain,cfb_buf2,CFB_TEST_SIZE) != 0)
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/rc2/
H A Drc2test.c153 if (memcmp(&(RC2cipher[n][0]),buf,8) != 0)
168 if (memcmp(&(RC2plain[n][0]),buf2,8) != 0)
190 if (memcmp(text,out,strlen(text)+1) != 0)
230 if (memcmp(cfb_cipher,cfb_buf1,CFB_TEST_SIZE) != 0)
244 if (memcmp(plain,cfb_buf2,CFB_TEST_SIZE) != 0)

Completed in 103 milliseconds

123456789