Searched refs:memcmp (Results 1 – 16 of 16) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | platformtest.cpp | 77 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/ |
D | encodedstreamtest.cpp | 233 …bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) … in CompareFile() 242 …bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) … in CompareBufferFile()
|
D | documenttest.cpp | 153 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()
|
D | valuetest.cpp | 1051 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()
|
D | readertest.cpp | 554 EXPECT_EQ(0, memcmp(e, h.str_, h.length_ + 1)); in TEST()
|
/packages/modules/DnsResolver/tests/ |
D | tun_forwarder.cpp | 55 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/ |
D | res_cache.cpp | 304 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()
|
D | sethostent.cpp | 195 if (!memcmp(hp->h_addr_list[0], uaddr, (size_t) hp->h_length)) break; in _hf_gethtbyaddr()
|
/packages/modules/NetworkStack/tests/unit/jni/ |
D | apf_jni.cpp | 179 memcmp(apf_packet, bpf_packet, apf_header.len)) in com_android_server_ApfTest_compareBpfApf()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | biginteger.h | 155 … return count_ == rhs.count_ && std::memcmp(digits_, rhs.digits_, count_ * sizeof(Type)) == 0;
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ippstatus_monitor.c | 248 (memcmp(&curr_status, &last_status, sizeof(printer_state_dyn_t)) != 0)) { in _start()
|
/packages/apps/Nfc/nci/jni/ |
D | NfcTag.cpp | 250 if (memcmp(mLastKovioUid, &mTechParams[0].param.pk.uid, in IsSameKovio()
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
D | phNxpExtns_MifareStd.cpp | 1541 sdwStat = memcmp(&buffer[PHLIBNFC_MFCUIDLEN_INAUTHCMD], aMfc_keys[bIndex], in phLibNfc_GetKeyNumberMFC()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | pointer.h | 327 …(tokens_[i].length != 0 && std::memcmp(tokens_[i].name, rhs.tokens_[i].name, sizeof(Ch)* tokens_[i…
|
D | document.h | 1750 return (std::memcmp(str1, str2, sizeof(Ch) * len1) == 0);
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | lib_wprint.c | 715 } else if (0 != memcmp(jq->job_params.certificate, jq->certificate, jq->certificate_len)) { in _is_certificate_allowed()
|