/external/skia/tests/ |
PDFPrimitivesTest.cpp | 35 REPORTER_ASSERT(reporter, memcmp(buffer.getStream(), representation.c_str(), 55 REPORTER_ASSERT(reporter, memcmp(buffer.getStream(), header, 58 memcmp(buffer.getStream() + headerLen, 61 memcmp(buffer.getStream() + headerLen + directSize, 90 REPORTER_ASSERT(reporter, memcmp(buffer.getStream(), expectedResult, 112 REPORTER_ASSERT(reporter, memcmp(buffer.getStream(), expectedResult,
|
PackBitsTest.cpp | 33 bool match = gTests[i].fCount == srcCount && memcmp(gTests[i].fSrc, src, 50 bool match = memcmp(src, src2, size * sizeof(uint16_t)) == 0; 87 memcmp(gTests[i].fSrc, src, 104 bool match = memcmp(src, src2, size * sizeof(uint8_t)) == 0; 114 bool match = memcmp(src, src2 + skip, write) == 0;
|
/external/dropbear/libtomcrypt/testprof/ |
der_tests.c | 51 if (memcmp(strs[0], oct_str, sizeof(oct_str))) { 56 if (memcmp(strs[1], bin_str, sizeof(bin_str))) { 224 if (l->size != strlen(printable_str) || memcmp(printable_str, l->data, l->size)) { 244 if (l->size != strlen(ia5_str) || memcmp(ia5_str, l->data, l->size)) { 298 if (memcmp(l->data, &utctime, sizeof(utctime))) { 332 if (l->size != sizeof(oct_str) || memcmp(oct_str, l->data, l->size)) { 352 if (l->size != sizeof(bit_str) || memcmp(bit_str, l->data, l->size)) { 386 if (l->size != sizeof(oid_str)/sizeof(oid_str[0]) || memcmp(oid_str, l->data, l->size*sizeof(oid_str[0]))) { 428 if (l->size != strlen(set2_str) || memcmp(set2_str, l->data, l->size)) { 443 if (l->size != strlen(set1_str) || memcmp(set1_str, l->data, l->size)) [all...] |
/external/wpa_supplicant/tests/ |
test_aes.c | 79 if (memcmp(data, cipher, sizeof(data)) != 0) { 84 if (memcmp(tag, cipher + sizeof(data), BLOCK_SIZE) != 0) { 94 if (memcmp(data, msg, sizeof(data)) != 0) { 152 if (memcmp(buf, tv->cipher, tv->len) != 0) { 158 if (memcmp(buf, tv->plain, tv->len) != 0) { 253 if (memcmp(result, crypt, 24) != 0) { 261 if (memcmp(result, plain, 16) != 0) { 275 if (memcmp(result, tv->tag, 16) != 0) { 290 if (memcmp(result, tv->tag, 16) != 0) {
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
test_aes.c | 79 if (memcmp(data, cipher, sizeof(data)) != 0) { 84 if (memcmp(tag, cipher + sizeof(data), BLOCK_SIZE) != 0) { 94 if (memcmp(data, msg, sizeof(data)) != 0) { 152 if (memcmp(buf, tv->cipher, tv->len) != 0) { 158 if (memcmp(buf, tv->plain, tv->len) != 0) { 255 if (memcmp(result, crypt, 24) != 0) { 263 if (memcmp(result, plain, 16) != 0) { 276 if (memcmp(result, tv->tag, 16) != 0) { 291 if (memcmp(result, tv->tag, 16) != 0) {
|
/external/openssl/crypto/rc2/ |
rc2test.c | 153 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)
|
/system/core/adb/ |
adb_client.c | 54 if (!memcmp(p, LOCAL_CLIENT_PREFIX, sizeof(LOCAL_CLIENT_PREFIX)-1)) { 70 if (memcmp(serial, LOCAL_CLIENT_PREFIX, sizeof(LOCAL_CLIENT_PREFIX)-1) != 0) 144 if(!memcmp(buf, "OKAY", 4)) { 148 if(memcmp(buf, "FAIL", 4)) { 190 if (memcmp(service,"host",4) != 0 && switch_socket_transport(fd)) {
|
/external/chromium/net/disk_cache/ |
entry_unittest.cc | 101 EXPECT_EQ(0, memcmp(buffer2->data(), buffer3->data(), 1500)); 231 EXPECT_EQ(0, memcmp(buffer2->data(), buffer3->data(), 1500)); 318 EXPECT_EQ(0, memcmp(buffer2->data(), buffer2->data(), 10000)); 432 EXPECT_EQ(0, memcmp(buffer2->data(), buffer2->data(), 10000)); 494 EXPECT_EQ(0, memcmp(buffer1->data(), buffer2->data(), kBufferSize)); 632 EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), 2000)); 637 EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), kSize)); 652 EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), 2000)); 661 EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), kSize)); 727 EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), 20000)) [all...] |
/external/bison/lib/ |
argmatch.c | 113 || memcmp (vallist + valsize * matchind, 161 || memcmp (last_val, vallist + valsize * i, valsize)) 208 if (!memcmp (value, vallist + valsize * i, valsize))
|
/external/flac/libFLAC/ |
ogg_helper.c | 37 #include <string.h> /* for memcmp(), memcpy() */ 130 memcmp(page->header, "OggS", 4) || /* doesn't start with OggS */ 132 memcmp(page->header+6, "\0\0\0\0\0\0\0\0", 8) || /* granulepos is non-zero */ 170 if(memcmp(crc, page->header+22, 4)) {
|
/external/grub/netboot/ |
tiara.c | 152 if (memcmp(nic->packet + ETH_ALEN, nic->node_addr, ETH_ALEN) == 0) 211 if (memcmp(nic->node_addr, vendor_prefix, sizeof(vendor_prefix)) != 0) 213 if (memcmp(nic->node_addr, all_ones, sizeof(all_ones)) == 0)
|
/external/jhead/ |
iptc.c | 65 if (memcmp(pos, IptcSig1, sizeof(IptcSig1)-1) != 0) goto badsig; 68 if (memcmp(pos, IptcSig2, sizeof(IptcSig2)-1) != 0) goto badsig; 71 if (memcmp(pos, IptcSig3, sizeof(IptcSig3)) != 0){
|
/external/openssl/crypto/pqueue/ |
pqueue.c | 126 * with memcmp:-) */ 127 int cmp = memcmp(next->priority, item->priority,8); 178 if ( memcmp(next->priority, prio64be,8) == 0) 186 if ( memcmp(next->priority, prio64be,8) ==0)
|
/external/openssl/ssl/ |
t1_reneg.c | 178 if(memcmp(d, s->s3->previous_client_finished, 269 if(memcmp(d, s->s3->previous_client_finished, 278 if(memcmp(d, s->s3->previous_server_finished,
|
/external/dropbear/ |
signkey.c | 73 && memcmp(name, SSH_SIGNKEY_RSA, SSH_SIGNKEY_RSA_LEN) == 0) { 79 && memcmp(name, SSH_SIGNKEY_DSS, SSH_SIGNKEY_DSS_LEN) == 0) { 405 memcmp(ident, SSH_SIGNKEY_DSS, identlen) == 0) { 415 if (memcmp(ident, SSH_SIGNKEY_RSA, identlen) == 0) { 468 || memcmp( buf_getptr(decodekey, decodekey->len), 478 if (filealgolen != algolen || memcmp(filealgo, algoname, algolen) != 0) {
|
/external/openssl/crypto/sha/ |
sha512t.c | 94 if (memcmp(md,app_c1,sizeof(app_c1))) 106 if (memcmp(md,app_c2,sizeof(app_c2))) 130 if (memcmp(md,app_c3,sizeof(app_c3))) 143 if (memcmp(md,app_d1,sizeof(app_d1))) 155 if (memcmp(md,app_d2,sizeof(app_d2))) 172 if (memcmp(md,app_d3,sizeof(app_d3)))
|
/external/skia/src/utils/ |
SkInterpolator.cpp | 309 SkASSERT(memcmp(v, v1, sizeof(v)) == 0); 313 SkASSERT(memcmp(v, v1, sizeof(v)) == 0); 317 SkASSERT(memcmp(v, v1, sizeof(v)) == 0); 321 SkASSERT(memcmp(v, v2, sizeof(v)) == 0); 325 SkASSERT(memcmp(v, v2, sizeof(v)) == 0); 329 SkASSERT(memcmp(v, iset(vv, 60, 120, 180), sizeof(v)) == 0);
|
/frameworks/base/media/libstagefright/ |
WAVExtractor.cpp | 136 if (memcmp(header, "RIFF", 4) || memcmp(&header[8], "WAVE", 4)) { 159 if (!memcmp(chunkHeader, "fmt ", 4)) { 203 } else if (!memcmp(chunkHeader, "data", 4)) { 428 if (memcmp(header, "RIFF", 4) || memcmp(&header[8], "WAVE", 4)) {
|
/external/bluetooth/glib/tests/ |
base64-test.c | 75 if (memcmp (data, data2, length) != 0) 103 if (memcmp (data, data2, length) != 0)
|
/external/chromium/net/base/ |
cert_verifier.h | 131 memcmp(cert_fingerprint.data, other.cert_fingerprint.data, 142 int rv = memcmp(cert_fingerprint.data, other.cert_fingerprint.data,
|
/external/chromium/sdch/open-vcdiff/ |
configure.ac | 31 # Built-in memcmp can be inefficient when gcc compiles for x86 processors. 32 # In those cases, use an alternative function instead of memcmp. 37 Use custom compare function instead of memcmp)
|
/external/chromium/sdch/open-vcdiff/testdata/ |
configure.ac.v0.1 | 27 Use custom compare function instead of memcmp)
|
configure.ac.v0.2 | 28 Use custom compare function instead of memcmp)
|
/external/elfutils/libelf/ |
common.h | 32 if (len >= SARMAG && memcmp (buf, ARMAG, SARMAG) == 0) 36 if (len >= EI_NIDENT && memcmp (buf, ELFMAG, SELFMAG) == 0)
|
/external/expat/tests/ |
chardata.c | 104 if (memcmp(expected, storage->data, len) != 0) { 126 if (memcmp(expected, storage->data, len * sizeof(storage->data[0])) != 0) {
|