Home
last modified time | relevance | path

Searched refs:txtLen (Results 1 – 3 of 3) sorted by relevance

/system/core/adb/client/
Dtransport_mdns.cpp475 uint16_t txtLen,
515 static int parse_version_from_txt_record(uint16_t txtLen, const unsigned char* txtRecord) { in parse_version_from_txt_record() argument
516 if (!txtLen) return -1; in parse_version_from_txt_record()
532 std::vector<char> recordAsString(txtLen + 1, '\0'); in parse_version_from_txt_record()
535 memcpy(str, txtRecord + 1 /* skip the length byte */, txtLen); in parse_version_from_txt_record()
561 uint16_t txtLen, const unsigned char* txtRecord, void* context) { in register_resolved_mdns_service() argument
575 auto serviceVersion = parse_version_from_txt_record(txtLen, txtRecord); in register_resolved_mdns_service()
/system/netd/server/
DMDnsSdListener.cpp163 const char *domain, const char *host, int port, int txtLen, void *txtRecord) { in serviceRegister() argument
166 interfaceName, serviceName, serviceType, domain, host, port, txtLen); in serviceRegister()
180 serviceType, domain, host, port, txtLen, txtRecord, &MDnsSdListenerRegisterCallback, in serviceRegister()
252 const char *hosttarget, uint16_t port, uint16_t txtLen, in MDnsSdListenerResolveCallback() argument
268 size_t dstLength = CEIL(CEIL(txtLen * 4, 3), 4) * 4 + 1; in MDnsSdListenerResolveCallback()
271 b64_ntop(txtRecord, txtLen, dst, dstLength); in MDnsSdListenerResolveCallback()
274 txtLen, dst); in MDnsSdListenerResolveCallback()
281 refNumber, fullname, hosttarget, port, txtLen); in MDnsSdListenerResolveCallback()
DMDnsSdListener.h40 uint16_t txtLen, const unsigned char *txtRecord, void *inContext);