Searched refs:memcmp (Results 226 - 250 of 1406) sorted by relevance

1234567891011>>

/external/valgrind/main/none/tests/
H A Dmq.c67 if (len != 4 || memcmp(buffer, "PING", 4) != 0)
/external/chromium_org/chrome_frame/
H A Dvtable_patch_manager_unittest.cc144 EXPECT_NE(0, memcmp(GetVtable(&factory_),
163 EXPECT_NE(0, memcmp(GetVtable(&factory_),
200 EXPECT_EQ(0, memcmp(vtable, GetVtable(&factory_), sizeof(vtable)));
/external/chromium_org/components/nacl/loader/
H A Dnacl_validation_query_unittest.cc66 EXPECT_EQ(0, memcmp(query_signature_, set_signature_,
111 ASSERT_EQ(0, memcmp(query1->db->query_signature_,
119 ASSERT_NE(0, memcmp(query1->db->query_signature_,
/external/chromium_org/third_party/WebKit/Source/core/platform/image-decoders/
H A DImageDecoder.h311 return !memcmp(&profileData[16], "RGB ", 4);
318 return !memcmp(&profileData[12], "mntr", 4) || !memcmp(&profileData[12], "scnr", 4);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_state_constants.c74 if (memcmp(svga->state.hw_draw.cb[shader][i], value,
142 if (memcmp(svga->state.hw_draw.cb[shader][offset + i],
162 memcmp(svga->state.hw_draw.cb[shader][offset + j],
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/
H A Ddsatest.c186 if ((i != j) || (memcmp(buf,out_q,i) != 0))
194 if ((i != j) || (memcmp(buf,out_p,i) != 0))
202 if ((i != j) || (memcmp(buf,out_g,i) != 0))
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/
H A Drsa_sign.c213 else if(memcmp(m, s + 2, 16))
221 if((i != SSL_SIG_LENGTH) || memcmp(s, m, SSL_SIG_LENGTH))
289 (memcmp(m,sig->digest->data,m_len) != 0))
/external/chromium_org/third_party/openssl/openssl/crypto/x509/
H A Dx509_cmp.c126 return memcmp(a->sha1_hash, b->sha1_hash, 20);
185 return memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH);
215 return memcmp(a->canon_enc, b->canon_enc, a->canon_enclen);
/external/chromium_org/third_party/smhasher/src/
H A DKeysetTest.cpp121 if(memcmp(hash1,hash2,hashbytes) == 0)
131 if(memcmp(hash1,hash2,hashbytes) != 0)
190 if(memcmp(h1,h2,hashbytes) == 0)
/external/clang/test/Index/
H A Drecursive-cxx-member-calls.cpp7 int memcmp(const void *, const void *, size_t);
54 memcmp(Data, Prefix.Data, Prefix.Length) == 0;
58 memcmp(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0;
222 // CHECK-tokens: Keyword: "int" [7:3 - 7:6] FunctionDecl=memcmp:7:7
223 // CHECK-tokens: Identifier: "memcmp" [7:7 - 7:13] FunctionDecl=memcmp:7:7
224 // CHECK-tokens: Punctuation: "(" [7:13 - 7:14] FunctionDecl=memcmp:7:7
574 // CHECK-tokens: Identifier: "memcmp" [54:11 - 54:17] DeclRefExpr=memcmp:7:7
575 // CHECK-tokens: Punctuation: "(" [54:17 - 54:18] CallExpr=memcmp
[all...]
/external/jhead/
H A Djhead.c232 if (memcmp(Line, KnownTags[a], l) == 0){
240 if (!memcmp(Line, RemComment, l)){
248 if (!memcmp(Line, AddComment, l+1)){
508 if (!memcmp(finddata.name, ".",2)) goto next_file;
509 if (!memcmp(finddata.name, "..",3)) goto next_file;
1476 }else if (!memcmp(arg,"-rgt", 4)){
1494 }else if (!memcmp(arg,"-n",2)){
1519 }else if (!memcmp(arg,"-ta",3)){
1535 }else if (!memcmp(arg,"-da",3)){
1549 }else if (!memcmp(ar
[all...]
/external/libvpx/libvpx/test/
H A Dencode_test_driver.cc117 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y],
123 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U],
127 match = (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V],
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_constants.c74 if (memcmp(svga->state.hw_draw.cb[shader][i], value,
142 if (memcmp(svga->state.hw_draw.cb[shader][offset + i],
162 memcmp(svga->state.hw_draw.cb[shader][offset + j],
/external/openssl/crypto/dsa/
H A Ddsatest.c186 if ((i != j) || (memcmp(buf,out_q,i) != 0))
194 if ((i != j) || (memcmp(buf,out_p,i) != 0))
202 if ((i != j) || (memcmp(buf,out_g,i) != 0))
/external/openssl/crypto/rsa/
H A Drsa_sign.c213 else if(memcmp(m, s + 2, 16))
221 if((i != SSL_SIG_LENGTH) || memcmp(s, m, SSL_SIG_LENGTH))
289 (memcmp(m,sig->digest->data,m_len) != 0))
/external/openssl/crypto/x509/
H A Dx509_cmp.c126 return memcmp(a->sha1_hash, b->sha1_hash, 20);
185 return memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH);
215 return memcmp(a->canon_enc, b->canon_enc, a->canon_enclen);
/external/skia/tests/
H A DStreamTest.cpp29 REPORTER_ASSERT(reporter, !memcmp(tmp, src, len));
92 REPORTER_ASSERT(reporter, memcmp(&dst[i * 26], s, 26) == 0);
121 REPORTER_ASSERT(reporter, memcmp(dst, data->data(), data->size()) == 0);
/external/chromium_org/gpu/command_buffer/client/
H A Dgles2_implementation_unittest.cc583 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
585 EXPECT_EQ(0, memcmp(expected_data, &data[0], data.size()));
609 EXPECT_EQ(0, memcmp(&expected1, commands_, sizeof(expected1)));
643 EXPECT_EQ(0, memcmp(&expected3, commands3, sizeof(expected3)));
699 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
736 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
807 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
877 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
961 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
1045 EXPECT_EQ(0, memcmp(
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io_test/
H A Dmount_test.cc256 EXPECT_EQ(0, memcmp(&buffer[0], &zero_buffer[0], kBufferLength));
349 EXPECT_EQ(0, memcmp(content.data(), buffer, 5));
350 EXPECT_EQ(0, memcmp(buffer + 5, backup_buffer + 5, 95));
356 EXPECT_EQ(0, memcmp(content.data(), buffer, content.size()));
357 EXPECT_EQ(0, memcmp(buffer + content.size(),
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dstringencode_unittest.cc72 ASSERT_TRUE(memcmp(buffer, kTests[i].encoded, kTests[i].enclen) == 0);
103 ASSERT_EQ(0, memcmp(data_, decoded_, dec_res_));
115 ASSERT_EQ(0, memcmp(data_, decoded_, dec_res_));
169 ASSERT_EQ(0, memcmp(data_, decoded_, dec_res_));
178 ASSERT_EQ(0, memcmp(data_, decoded_, dec_res_));
/external/icu4c/test/intltest/
H A Dstrtest.cpp362 if(!(sink.length() == 4 && 0 == memcmp("abcz", buffer, 4) && buffer[4] == '!')) {
391 0 == memcmp("abc", buffer, 3) && buffer[3] == '!') &&
417 0 == memcmp("abcdefghijklm", buffer, 13) &&
431 0 == memcmp("abcdefghijklmnopqrstuvwxyz", buffer, (int32_t)sizeof(buffer)) &&
439 0 == memcmp("123defghijklmnopqrstuvwxyz", buffer, (int32_t)sizeof(buffer)) &&
/external/yaffs2/yaffs2/
H A Dyaffs_tagscompat.c322 if (memcmp(cmpbuf, data, YAFFS_BYTES_PER_CHUNK))
324 if (memcmp(cmpbuf, spare, 16))
382 if (memcmp(d0, d1, YAFFS_BYTES_PER_CHUNK) != 0 ||
463 (memcmp(&spareFF, &spare, sizeof(spareFF)) !=
526 else if (memcmp(&spareFF, &spare0, sizeof(spareFF)) == 0)
/external/chromium_org/media/base/
H A Dyuv_convert_unittest.cc332 int expected_test = memcmp(rgb, expected, sizeof(expected));
628 EXPECT_EQ(0, memcmp(rgb_bytes_reference.get(),
657 EXPECT_EQ(0, memcmp(rgb_bytes_reference.get(),
689 EXPECT_EQ(0, memcmp(rgb_bytes_reference.get(),
721 EXPECT_EQ(0, memcmp(rgb_bytes_reference.get(),
753 EXPECT_EQ(0, memcmp(rgb_bytes_reference.get(),
785 EXPECT_EQ(0, memcmp(rgb_bytes_reference.get(),
878 EXPECT_EQ(0, memcmp(dst_sample.get(), dst_ptr, 17));
909 EXPECT_EQ(0, memcmp(dst_sample.get(), dst_ptr, 37));
935 EXPECT_EQ(0, memcmp(rgb_bytes_referenc
[all...]
/external/qemu/telephony/
H A Dandroid_modem.c1156 assert( !memcmp( "+CCSS", cmd, 5 ) );
1179 assert( !memcmp( "+WRMP", cmd, 5 ) );
1208 assert( !memcmp( "+CTEC", cmd, 5 ) );
1244 assert ( !memcmp( "+WSOS", cmd, 5 ) );
1276 assert ( !memcmp( "+WPRL", cmd, 5 ) );
1343 if ( !memcmp( cmd, "+CREG", 5 ) ) {
1376 } else if ( !memcmp( cmd, "+CGREG", 6 ) ) {
1439 assert( !memcmp( "+COPS", cmd, 5 ) );
1803 assert( !memcmp( cmd, "+CPIN=", 6 ) );
1956 assert( !memcmp( cm
[all...]
/external/chromium/chrome/browser/safe_browsing/
H A Dprotocol_parser_unittest.cc484 EXPECT_EQ(memcmp(&full_hashes[0].hash,
488 EXPECT_EQ(memcmp(&full_hashes[1].hash,
492 EXPECT_EQ(memcmp(&full_hashes[2].hash,
510 EXPECT_EQ(memcmp(&full_hashes[0].hash,
514 EXPECT_EQ(memcmp(&full_hashes[1].hash,
518 EXPECT_EQ(memcmp(&full_hashes[2].hash,
557 EXPECT_EQ(memcmp(hash_result, &full_hashes[0].hash, sizeof(SBFullHash)), 0);
576 EXPECT_EQ(memcmp("12345678901234567890123456789012",
591 EXPECT_EQ(memcmp("12345678901234567890123456789012",
595 EXPECT_EQ(memcmp("abcdefghijklmnopqrstuvwxyz12345
[all...]

Completed in 758 milliseconds

1234567891011>>