Home
last modified time | relevance | path

Searched refs:memcmp (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dplatformtest.cpp77 TEST_F(Platform, memcmp) { in TEST_F() argument
79 EXPECT_EQ(0, memcmp(temp_, json_, length_)); in TEST_F()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dencodedstreamtest.cpp233 …bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) … in CompareFile()
242 …bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) … in CompareBufferFile()
Ddocumenttest.cpp153 EXPECT_EQ(0, memcmp(bos.GetString(), bos2.GetString(), bos2.GetSize())); in TEST()
192 EXPECT_EQ(0, memcmp(bos.GetString(), bos2.GetString(), bos2.GetSize())); in TEST()
303 …EXPECT_EQ(0, memcmp(L"Wed Oct 30 17:13:20 +0000 2012", s.GetString(), (s.GetStringLength() + 1) * … in TEST()
Dvaluetest.cpp1051 EXPECT_TRUE(memcmp(itr->name.GetString(), "C\0D", 4) == 0); in TEST()
1067 EXPECT_TRUE(memcmp(citr->name.GetString(), "C\0D", 4) == 0); in TEST()
Dreadertest.cpp554 EXPECT_EQ(0, memcmp(e, h.str_, h.length_ + 1)); in TEST()
/packages/modules/DnsResolver/tests/
Dtun_forwarder.cpp55 return std::memcmp(x.s6_addr, y.s6_addr, 16) == 0; in operator ==()
63 return std::memcmp(x.s6_addr, y.s6_addr, 16) < 0; in operator <()
/packages/modules/DnsResolver/
Dres_cache.cpp304 if (memcmp(p, bytes, numBytes) != 0) return 0; in _dnsPacket_checkBytes()
574 if (memcmp(p1, p2, c1) != 0) break; in _dnsPacket_isEqualDomainName()
590 if (memcmp(p1, p2, numBytes) != 0) return 0; in _dnsPacket_isEqualBytes()
1415 if (memcmp(ns_rr_rdata(rr), addr_buf, ns_rr_rdlen(rr)) == 0) { in resolv_gethostbyaddr_from_cache()
Dsethostent.cpp195 if (!memcmp(hp->h_addr_list[0], uaddr, (size_t) hp->h_length)) break; in _hf_gethtbyaddr()
/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp179 memcmp(apf_packet, bpf_packet, apf_header.len)) in com_android_server_ApfTest_compareBpfApf()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dbiginteger.h155 … return count_ == rhs.count_ && std::memcmp(digits_, rhs.digits_, count_ * sizeof(Type)) == 0;
/packages/services/BuiltInPrintService/jni/ipphelper/
Dippstatus_monitor.c248 (memcmp(&curr_status, &last_status, sizeof(printer_state_dyn_t)) != 0)) { in _start()
/packages/apps/Nfc/nci/jni/
DNfcTag.cpp250 if (memcmp(mLastKovioUid, &mTechParams[0].param.pk.uid, in IsSameKovio()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphNxpExtns_MifareStd.cpp1541 sdwStat = memcmp(&buffer[PHLIBNFC_MFCUIDLEN_INAUTHCMD], aMfc_keys[bIndex], in phLibNfc_GetKeyNumberMFC()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dpointer.h327 …(tokens_[i].length != 0 && std::memcmp(tokens_[i].name, rhs.tokens_[i].name, sizeof(Ch)* tokens_[i…
Ddocument.h1750 return (std::memcmp(str1, str2, sizeof(Ch) * len1) == 0);
/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c715 } else if (0 != memcmp(jq->job_params.certificate, jq->certificate, jq->certificate_len)) { in _is_certificate_allowed()