Home
last modified time | relevance | path

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

/external/libcups/vcnet/
Ddns_sd.c29 … *regtype, const char *domain, const char *host, uint16_t port, uint16_t txtLen, const void *txtRe…
37 static uint16_t (*dnssd_txt_get_count)(uint16_t txtLen, const void *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…
234 uint16_t txtLen, in DNSServiceRegister() argument
244 …gister)(sdRef, flags, interfaceIndex, name, regtype, domain, host, port, txtLen, txtRecord, callBa… in DNSServiceRegister()
395 uint16_t txtLen, in TXTRecordGetCount() argument
402 return (*dnssd_txt_get_count)(txtLen, txtRecord); in TXTRecordGetCount()
411 uint16_t txtLen, in TXTRecordGetItemAtIndex() argument
423 …return (*dnssd_txt_get_item_at_index)(txtLen, txtRecord, itemIndex, keyBufLen, key, valueLen, valu… in TXTRecordGetItemAtIndex()
[all …]
Ddns_sd.h1034 uint16_t txtLen,
1336 uint16_t txtLen,
2258 uint16_t txtLen,
2287 uint16_t txtLen,
2309 uint16_t txtLen,
2354 uint16_t txtLen,
/external/mdnsresponder/mDNSShared/
Ddnssd_clientlib.c73 uint16_t txtLen, in InternalTXTRecordSearch() argument
80 uint8_t *e = p + txtLen; in InternalTXTRecordSearch()
274 uint16_t txtLen, in TXTRecordContainsKey() argument
280 return (InternalTXTRecordSearch(txtLen, txtRecord, key, &keylen) ? 1 : 0); in TXTRecordContainsKey()
285 uint16_t txtLen, in TXTRecordGetValuePtr() argument
292 uint8_t *item = InternalTXTRecordSearch(txtLen, txtRecord, key, &keylen); in TXTRecordGetValuePtr()
300 uint16_t txtLen, in TXTRecordGetCount() argument
306 uint8_t *e = p + txtLen; in TXTRecordGetCount()
313 uint16_t txtLen, in TXTRecordGetItemAtIndex() argument
324 uint8_t *e = p + txtLen; in TXTRecordGetItemAtIndex()
Ddns_sd.h1034 uint16_t txtLen,
1336 uint16_t txtLen,
2276 uint16_t txtLen,
2305 uint16_t txtLen,
2327 uint16_t txtLen,
2372 uint16_t txtLen,
Ddnssd_clientshim.c232 uint16_t txtLen, in DNSServiceRegister() argument
261 if (size < txtLen) in DNSServiceRegister()
262 size = txtLen; in DNSServiceRegister()
279 txtRecord, txtLen, // TXT data, length in DNSServiceRegister()
Ddnssd_clientstub.c1481 uint16_t txtLen, in DNSServiceRegister() argument
1509 len += txtLen; in DNSServiceRegister()
1523 put_uint16(txtLen, &ptr); in DNSServiceRegister()
1524 put_rdata(txtLen, txtRecord, &ptr); in DNSServiceRegister()
/external/mdnsresponder/mDNSWindows/DLLStub/
DDLLStub.cpp162 uint16_t txtLen, in DNSServiceRegister() argument
174 …ret = func( sdRef, flags, interfaceIndex, name, regtype, domain, host, port, txtLen, txtRecord, ca… in DNSServiceRegister()
573 uint16_t txtLen, in TXTRecordContainsKey() argument
584 ret = func( txtLen, txtRecord, key ); in TXTRecordContainsKey()
594 uint16_t txtLen, in TXTRecordGetCount() argument
604 ret = func( txtLen, txtRecord ); in TXTRecordGetCount()
652 uint16_t txtLen, in TXTRecordGetValuePtr() argument
664 ret = func( txtLen, txtRecord, key, valueLen ); in TXTRecordGetValuePtr()
674 uint16_t txtLen, in TXTRecordGetItemAtIndex() argument
689 ret = func( txtLen, txtRecord, itemIndex, keyBufLen, key, valueLen, value ); in TXTRecordGetItemAtIndex()
/external/skia/gm/
Ddrawglyphs.cpp27 const size_t txtLen = strlen(gText); in onOnceBeforeDraw() local
28 fGlyphCount = fFont.countText(gText, txtLen, SkTextEncoding::kUTF8); in onOnceBeforeDraw()
31 fFont.textToGlyphs(gText, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphCount); in onOnceBeforeDraw()
Dtextblobshader.cpp41 size_t txtLen = strlen(txt); in onOnceBeforeDraw() local
42 fGlyphs.append(font.countText(txt, txtLen, SkTextEncoding::kUTF8)); in onOnceBeforeDraw()
43 font.textToGlyphs(txt, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphs.count()); in onOnceBeforeDraw()
Dtextblob.cpp91 size_t txtLen = strlen(fText); in onOnceBeforeDraw() local
92 int glyphCount = font.countText(fText, txtLen, SkTextEncoding::kUTF8); in onOnceBeforeDraw()
95 font.textToGlyphs(fText, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), glyphCount); in onOnceBeforeDraw()
/external/skqp/gm/
Dtextblobshader.cpp29 size_t txtLen = strlen(txt); in onOnceBeforeDraw() local
30 fGlyphs.append(font.countText(txt, txtLen, kUTF8_SkTextEncoding)); in onOnceBeforeDraw()
31 font.textToGlyphs(txt, txtLen, kUTF8_SkTextEncoding, fGlyphs.begin(), fGlyphs.count()); in onOnceBeforeDraw()
Dtextblob.cpp89 size_t txtLen = strlen(fText); in onOnceBeforeDraw() local
90 int glyphCount = font.countText(fText, txtLen, kUTF8_SkTextEncoding); in onOnceBeforeDraw()
93 font.textToGlyphs(fText, txtLen, kUTF8_SkTextEncoding, fGlyphs.begin(), glyphCount); in onOnceBeforeDraw()
/external/mdnsresponder/mDNSWindows/DLLX/
DDNSSD.cpp182 uint16_t txtLen = 0; in Register() local
222 txtLen = realTXTRecord->GetLen(); in Register()
225 …_str(), regTypeUTF8.c_str(), domainUTF8.c_str(), hostUTF8.c_str(), port, txtLen, txtRecord, ( DNSS… in Register()
601 uint16_t txtLen, in ResolveReply() argument
646 sprintf( buf, "txtLen = %d", txtLen ); in ResolveReply()
649 if ( txtLen > 0 ) in ResolveReply()
651 record->SetBytes( txtRecord, txtLen ); in ResolveReply()
DDNSSDService.cpp510 uint16_t txtLen = 0; in Register() local
590 txtLen = realTXTRecord->GetLen(); in Register()
598 …ze() > 0 ) ? domainUTF8.c_str() : NULL, hostUTF8.c_str(), htons( port ), txtLen, txtRecord, ( DNSS… in Register()
1536 uint16_t txtLen, in ResolveReply() argument
1610 if ( txtLen > 0 ) in ResolveReply()
1614 record->SetBytes( txtRecord, txtLen ); in ResolveReply()
DDNSSDService.h282 uint16_t txtLen,
/external/mdnsresponder/Clients/
Ddns-sd.c418 …const char *fullname, const char *hosttarget, uint16_t opaqueport, uint16_t txtLen, const unsigned… in zonedata_resolve() argument
427 const unsigned char *max = txt + txtLen; in zonedata_resolve()
513 static void ShowTXTRecord(uint16_t txtLen, const unsigned char *txtRecord) in ShowTXTRecord() argument
516 const unsigned char *max = txtRecord + txtLen; in ShowTXTRecord()
548 …const char *fullname, const char *hosttarget, uint16_t opaqueport, uint16_t txtLen, const unsigned… in resolve_reply() argument
566 if (txtLen > 1) { printf("\n"); ShowTXTRecord(txtLen, txtRecord); } in resolve_reply()
/external/mdnsresponder/mDNSWindows/DLL.NET/
Ddnssd_NET.cpp535 uint16_t txtLen, in ResolveCallback() argument
551 if (txtLen > 0) in ResolveCallback()
556 txtRecordBytes = new Byte[txtLen]; in ResolveCallback()
558 memcpy(p, txtRecord, txtLen); in ResolveCallback()
Ddnssd_NET.h366 uint16_t txtLen,
/external/skqp/tests/
DTextBlobTest.cpp161 const size_t txtLen = strlen(txt); in TestBounds() local
162 const int glyphCount = font.countText(txt, txtLen, kUTF8_SkTextEncoding); in TestBounds()
165 font.textToGlyphs(txt, txtLen, kUTF8_SkTextEncoding, buffer.glyphs, glyphCount); in TestBounds()
/external/libcups/cups/
Dhttp-support.c118 uint16_t port, uint16_t txtLen,
2282 uint16_t txtLen, /* I - Length of TXT record */ in http_resolve_cb() argument
2298 …d *)sdRef, flags, interfaceIndex, errorCode, fullName, hostTarget, port, txtLen, (void *)txtRecord… 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/skia/tests/
DTextBlobTest.cpp161 const size_t txtLen = strlen(txt); in TestBounds() local
162 const int glyphCount = font.countText(txt, txtLen, SkTextEncoding::kUTF8); in TestBounds()
165 font.textToGlyphs(txt, txtLen, SkTextEncoding::kUTF8, buffer.glyphs, glyphCount); in TestBounds()
/external/libcups/tools/
Dippfind.c177 …e, const char *fullName, const char *hostTarget, uint16_t port, uint16_t txtLen, const unsigned ch…
2547 uint16_t txtLen, /* I - Length of TXT record data */ in resolve_callback() argument
2588 for (txtEnd = txtRecord + txtLen; txtRecord < txtEnd; txtRecord += valueLen) in resolve_callback()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c240 uint16_t txtLen,