Home
last modified time | relevance | path

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

12

/device/generic/goldfish/network/wifi_forwarder/
Dmacaddress.h40 return memcmp(addr, "\xFF\xFF\xFF\xFF\xFF\xFF", ETH_ALEN) == 0; in isBroadcast()
46 return memcmp(addr, "\x00\x00\x00\x00\x00\x00", ETH_ALEN) == 0; in empty()
67 return memcmp(left.addr, right.addr, ETH_ALEN) == 0;
71 return memcmp(left.addr, right.addr, ETH_ALEN) != 0;
Dframe_id.h60 return memcmp(left.transmitter.addr,
/device/generic/opengl-transport/host/libs/virglrenderer/
DChecksumCalculator.cpp116 isValid = 0 == memcmp(&val, expectedChecksum, sizeof(val)) && in validate()
117 0 == memcmp(&m_numRead, in validate()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DChecksumCalculator.cpp130 isValid = 0 == memcmp(&val, expectedChecksum, sizeof(val)) && in validate()
131 0 == memcmp(&m_numRead, in validate()
/device/google/contexthub/firmware/os/cpu/cortexm4/
Dcortexm4.mk43 $(LIB_PATH)/libc/memcmp.c \
50 $(LIB_PATH)/libc/memcmp.c \
/device/google/contexthub/firmware/lib/libc/
Dmemcmp.c42 memcmp(const void *s1, const void *s2, size_t n) in memcmp() function
DAndroid.mk22 memcmp.c \
/device/generic/goldfish/network/netmgr/
Dmacaddress.h31 return memcmp(addr, "\xFF\xFF\xFF\xFF\xFF\xFF", ETH_ALEN) == 0; in isBroadcast()
/device/google/contexthub/firmware/os/core/
Dbl.c173 return !memcmp(dst, src, length); in blProgramFlash()
347 if (memcmp(hdr->magic, mOsUpdateMagic, sizeof(hdr->magic)) != 0) in blVerifyOsImage()
365 if (memcmp(rsaKey, osSigPubkey, RSA_BYTES) == 0) in blVerifyOsImage()
405 if (memcmp(expectedHash, ourHash, SHA2_HASH_SIZE) != 0) { in blVerifyOsImage()
DappSec.c400 if (memcmp(state->lastHash, result, SHA2_HASH_SIZE)) in appSecDoSomeProcessing()
437 bool verified = memcmp(hash, state->dataBytes, SHA2_BLOCK_SIZE) == 0; in appSecVerifyEncryptedData()
/device/google/contexthub/util/nanoapp_sign/
Dnanoapp_sign.c177 if (memcmp(rsaResult, refHash, SHA2_HASH_SIZE)) { in validateSignature()
270 if (memcmp(masterPubKey, rsa->modulus, RSA_BYTES) == 0) { in handleVerify()
300 if (memcmp(masterPubKey, sigPack + RSA_BYTES, RSA_BYTES) == 0) { in handleVerify()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DHTTPRequestResponse.cpp36 while (end + 1 < size && memcmp(&data[end], "\r\n", 2)) { in setTo()
DClientSocket.cpp162 && memcmp(mInBuffer.data() + i, kPattern, kPatternLength)) { in handleRequest()
DHTTPClientConnection.cpp175 && memcmp(mInBuffer.data() + i, kPattern, kPatternLength)) { in handleResponse()
/device/google/cuttlefish/host/commands/secure_env/
Dhmac_serializable.cpp118 if (memcmp(signature.get(), hmac_check->buffer, digest_size_) != 0) { in Deserialize()
Dsoft_gatekeeper.h140 return memcmp(computed.digest, fast_hash.digest, SHA256_DIGEST_LENGTH) == 0; in VerifyFast()
/device/google/contexthub/firmware/lib/
Dlib.mk56 SRCS += $(LIBC_PATH)/memcmp.c
/device/generic/goldfish-opengl/android-emu/android/base/
DAlignedBuf.h96 return 0 == std::memcmp(mBuffer, other.mBuffer, sizeof(T) * std::min(mSize, other.mSize));
/device/google/cuttlefish/guest/hals/camera/
DQemuClient.cpp132 if (!memcmp(mReplyBuffer, "ok", 2)) { in completeQuery()
134 } else if (!memcmp(mReplyBuffer, "ko", 2)) { in completeQuery()
/device/generic/goldfish/radio/ril/
Dipv6_monitor.cpp54 return ::memcmp(left.s6_addr, right.s6_addr, sizeof(left.s6_addr)) == 0; in operator ==()
58 return ::memcmp(left.s6_addr, right.s6_addr, sizeof(left.s6_addr)) != 0; in operator !=()
Dif_monitor.cpp81 memcmp(&left.addr, &right.addr, addrLength(left.family)) == 0; in operator ==()
/device/generic/goldfish/camera/
DQemuClient.cpp146 if (!memcmp(mReplyBuffer, "ok", 2)) { in completeQuery()
148 } else if (!memcmp(mReplyBuffer, "ko", 2)) { in completeQuery()
/device/google/cuttlefish/host/frontend/vnc_server/
Dvnc_client_connection.cpp203 if (std::memcmp(&client_protocol[0], kRFBVersion, in SetupProtocol()
205 if (!std::memcmp( in SetupProtocol()
/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c224 bool verify = memcmp(fileHash, calcHash, SHA2_HASH_SIZE) == 0; in handleDecrypt()
/device/linaro/dragonboard/qcom/tqftpserv/
Dtqftpserv.c580 if (!memcmp(&client->sq, &sq, sizeof(sq))) in main()

12