Home
last modified time | relevance | path

Searched refs:txtRecord (Results 1 – 19 of 19) sorted by relevance

/external/libcups/vcnet/
Ddns_sd.c29 … *domain, const char *host, uint16_t port, uint16_t txtLen, const void *txtRecord, DNSServiceRegis…
34 static void (*dnssd_txt_create)(TXTRecordRef *txtRecord, uint16_t bufferLen, void *buffer);
35 static void (*dnssd_txt_deallocate)(TXTRecordRef *txtRecord);
36 static const void *(*dnssd_txt_get_bytes_ptr)(const TXTRecordRef *txtRecord);
37 static uint16_t (*dnssd_txt_get_count)(uint16_t txtLen, const void *txtRecord);
38 static uint16_t (*dnssd_txt_get_length)(const TXTRecordRef *txtRecord);
39 static DNSServiceErrorType (*dnssd_txt_get_item_at_index)(uint16_t txtLen, const void *txtRecord, u…
40 static const void *(*dnssd_txt_get_value_ptr)(uint16_t txtLen, const void *txtRecord, const char *k…
41 static DNSServiceErrorType (*dnssd_txt_set_value)(TXTRecordRef *txtRecord, const char *key, uint8_t…
235 const void *txtRecord, /* may be NULL */ in DNSServiceRegister() argument
[all …]
Ddns_sd.h1035 const void *txtRecord, /* may be NULL */
1337 const unsigned char *txtRecord,
2084 TXTRecordRef *txtRecord,
2102 TXTRecordRef *txtRecord
2145 TXTRecordRef *txtRecord,
2168 TXTRecordRef *txtRecord,
2187 const TXTRecordRef *txtRecord
2204 const TXTRecordRef *txtRecord
2259 const void *txtRecord,
2288 const void *txtRecord,
[all …]
/external/mdnsresponder/mDNSShared/
Ddnssd_clientlib.c74 const void *txtRecord, in InternalTXTRecordSearch() argument
79 uint8_t *p = (uint8_t*)txtRecord; in InternalTXTRecordSearch()
174 #define txtRec ((TXTRecordRefRealType*)txtRecord)
185 TXTRecordRef *txtRecord, in TXTRecordCreate() argument
196 void DNSSD_API TXTRecordDeallocate(TXTRecordRef *txtRecord) in TXTRecordDeallocate() argument
203 TXTRecordRef *txtRecord, in TXTRecordSetValue() argument
217 (void)TXTRecordRemoveValue(txtRecord, key); in TXTRecordSetValue()
248 TXTRecordRef *txtRecord, in TXTRecordRemoveValue() argument
263 uint16_t DNSSD_API TXTRecordGetLength (const TXTRecordRef *txtRecord) { return(txtRec->datalen); } in TXTRecordGetLength() argument
264 const void * DNSSD_API TXTRecordGetBytesPtr(const TXTRecordRef *txtRecord) { return(txtRec->buffer)… in TXTRecordGetBytesPtr() argument
[all …]
Ddns_sd.h1035 const void *txtRecord, /* may be NULL */
1337 const unsigned char *txtRecord,
2102 TXTRecordRef *txtRecord,
2120 TXTRecordRef *txtRecord
2163 TXTRecordRef *txtRecord,
2186 TXTRecordRef *txtRecord,
2205 const TXTRecordRef *txtRecord
2222 const TXTRecordRef *txtRecord
2277 const void *txtRecord,
2306 const void *txtRecord,
[all …]
Ddnssd_clientshim.c233 const void *txtRecord, /* may be NULL */ in DNSServiceRegister() argument
279 txtRecord, txtLen, // TXT data, length in DNSServiceRegister()
Ddnssd_clientstub.c1482 const void *txtRecord, in DNSServiceRegister() argument
1497 if (!txtRecord) txtRecord = (void*)""; in DNSServiceRegister()
1524 put_rdata(txtLen, txtRecord, &ptr); in DNSServiceRegister()
/external/mdnsresponder/mDNSWindows/DLLStub/
DDLLStub.cpp163 const void *txtRecord, in DNSServiceRegister() argument
174 …ret = func( sdRef, flags, interfaceIndex, name, regtype, domain, host, port, txtLen, txtRecord, ca… in DNSServiceRegister()
497 TXTRecordRef *txtRecord, in TXTRecordCreate() argument
507 func( txtRecord, bufferLen, buffer ); in TXTRecordCreate()
515 TXTRecordRef *txtRecord in TXTRecordDeallocate() argument
523 func( txtRecord ); in TXTRecordDeallocate()
531 TXTRecordRef *txtRecord, in TXTRecordSetValue() argument
543 ret = func( txtRecord, key, valueSize, value ); in TXTRecordSetValue()
553 TXTRecordRef *txtRecord, in TXTRecordRemoveValue() argument
563 ret = func( txtRecord, key ); in TXTRecordRemoveValue()
[all …]
/external/mdnsresponder/mDNSWindows/DLL.NET/
Ddnssd_NET.cpp218 Byte txtRecord[] in ResolveDispatch() argument
224 OnResolveReply(this, flags, interfaceIndex, errorCode, fullname, hosttarget, port, txtRecord); in ResolveDispatch()
536 const char * txtRecord, in ResolveCallback() argument
558 memcpy(p, txtRecord, txtLen); in ResolveCallback()
692 Byte txtRecord[], in Register() argument
705 if ((txtRecord != NULL) && (txtRecord->Length > 0)) in Register()
707 len = txtRecord->Length; in Register()
708 p = &txtRecord[0]; in Register()
1120 Byte txtRecord[],
1125 Byte __pin * p = &txtRecord[0];
[all …]
Ddnssd_NET.h255 Byte txtRecord[]
367 const char * txtRecord,
601 Byte txtRecord[],
626 Byte txtRecord[],
645 Byte txtRecord[]
680 Byte txtRecord[],
872 Byte txtRecord[],
1116 Byte txtRecord[]
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DJndiResourceResolverFactory.java265 static String unquote(String txtRecord) { in unquote() argument
266 StringBuilder sb = new StringBuilder(txtRecord.length()); in unquote()
268 for (int i = 0; i < txtRecord.length(); i++) { in unquote()
269 char c = txtRecord.charAt(i); in unquote()
282 c = txtRecord.charAt(++i); in unquote()
DDnsNameResolver.java351 for (String txtRecord : txtRecords) { in parseTxtResults()
352 if (txtRecord.startsWith(SERVICE_CONFIG_PREFIX)) { in parseTxtResults()
355 Object rawChoices = JsonParser.parse(txtRecord.substring(SERVICE_CONFIG_PREFIX.length())); in parseTxtResults()
367 logger.log(Level.WARNING, "Bad service config: " + txtRecord, e); in parseTxtResults()
372 logger.log(Level.FINE, "Ignoring non service config {0}", new Object[]{txtRecord}); in parseTxtResults()
/external/libcups/config-scripts/
Dcups-dnssd.m456 unsigned char txtRecord[100];
58 TXTRecordGetValuePtr(sizeof(txtRecord),
59 txtRecord, "value", &valueLen);],
/external/mdnsresponder/mDNSWindows/DLLX/
DDNSSD.cpp181 const void * txtRecord = NULL; in Register() local
221 txtRecord = realTXTRecord->GetBytes(); in Register()
225 …egTypeUTF8.c_str(), domainUTF8.c_str(), hostUTF8.c_str(), port, txtLen, txtRecord, ( DNSServiceReg… in Register()
602 const unsigned char *txtRecord, in ResolveReply() argument
651 record->SetBytes( txtRecord, txtLen ); in ResolveReply()
DDNSSDService.cpp508 const void * txtRecord = NULL; in Register() local
588 txtRecord = realTXTRecord->GetBytes(); in Register()
598 …) ? domainUTF8.c_str() : NULL, hostUTF8.c_str(), htons( port ), txtLen, txtRecord, ( DNSServiceReg… in Register()
1537 const unsigned char *txtRecord, in ResolveReply() argument
1614 record->SetBytes( txtRecord, txtLen ); in ResolveReply()
DDNSSDService.h283 const unsigned char *txtRecord,
/external/libcups/cups/
Dhttp-support.c119 const unsigned char *txtRecord,
2283 const unsigned char *txtRecord, /* I - TXT record data */ in http_resolve_cb() argument
2298 …flags, interfaceIndex, errorCode, fullName, hostTarget, port, txtLen, (void *)txtRecord, context)); in http_resolve_cb()
2305 (value = TXTRecordGetValuePtr(txtLen, txtRecord, "UUID", in http_resolve_cb()
2350 !TXTRecordGetValuePtr(txtLen, txtRecord, "printer-type", &valueLen)) in http_resolve_cb()
2361 if ((value = TXTRecordGetValuePtr(txtLen, txtRecord, reskey, in http_resolve_cb()
/external/libcups/tools/
Dippfind.c177 … char *hostTarget, uint16_t port, uint16_t txtLen, const unsigned char *txtRecord, void *context) …
2548 const unsigned char *txtRecord, /* I - TXT record data */ in resolve_callback() argument
2588 for (txtEnd = txtRecord + txtLen; txtRecord < txtEnd; txtRecord += valueLen) in resolve_callback()
2594 valueLen = *txtRecord++; in resolve_callback()
2596 memcpy(key, txtRecord, valueLen); in resolve_callback()
/external/mdnsresponder/Clients/
Ddns-sd.c513 static void ShowTXTRecord(uint16_t txtLen, const unsigned char *txtRecord) in ShowTXTRecord() argument
515 const unsigned char *ptr = txtRecord; in ShowTXTRecord()
516 const unsigned char *max = txtRecord + txtLen; in ShowTXTRecord()
548 …r *hosttarget, uint16_t opaqueport, uint16_t txtLen, const unsigned char *txtRecord, void *context) in resolve_reply() argument
566 if (txtLen > 1) { printf("\n"); ShowTXTRecord(txtLen, txtRecord); } in resolve_reply()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c241 const void *txtRecord, /* may be NULL */