Searched defs:rdata (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/net/dns/
H A Drecord_parsed_unittest.cc37 const CnameRecordRdata* rdata; local
47 rdata = record->rdata<CnameRecordRdata>();
48 ASSERT_TRUE(rdata != NULL);
49 ASSERT_EQ(kT1CanonName, rdata->cname());
51 ASSERT_FALSE(record->rdata<SrvRecordRdata>());
H A Drecord_parsed.h19 // Parsed record. This is a form of DnsResourceRecord where the rdata section
36 template <class T> const T* rdata() const { function in class:net::RecordParsed
49 uint32 ttl, scoped_ptr<const RecordRdata> rdata,
H A Drecord_parsed.cc14 uint32 ttl, scoped_ptr<const RecordRdata> rdata,
16 : name_(name), type_(type), klass_(klass), ttl_(ttl), rdata_(rdata.Pass()),
28 scoped_ptr<const RecordRdata> rdata; local
35 rdata = ARecordRdata::Create(record.rdata, *parser);
38 rdata = AAAARecordRdata::Create(record.rdata, *parser);
41 rdata = CnameRecordRdata::Create(record.rdata, *parser);
44 rdata
13 RecordParsed(const std::string& name, uint16 type, uint16 klass, uint32 ttl, scoped_ptr<const RecordRdata> rdata, base::Time time_created) argument
[all...]
H A Ddns_response.h36 base::StringPiece rdata; // points to the original response buffer member in struct:net::DnsResourceRecord
H A Dmdns_cache.cc191 const PtrRecordRdata* rdata = record->rdata<PtrRecordRdata>(); local
192 return rdata->ptrdomain();
H A Dmdns_client_impl.cc293 const NsecRecordRdata* rdata = record->rdata<NsecRecordRdata>(); local
294 DCHECK(rdata);
306 if (!rdata->GetBit((*i)->type())) {
317 if (!rdata->GetBit(i->first.second)) {
698 const NsecRecordRdata* rdata = local
699 records.front()->rdata<NsecRecordRdata>();
700 DCHECK(rdata);
701 if (!rdata->GetBit(rrtype_))
/external/chromium_org/cloud_print/gcp20/prototype/
H A Ddns_response_builder.h32 std::string rdata; member in struct:DnsResponseRecord
80 const std::string& rdata,
H A Ddns_response_builder.cc44 std::string rdata; local
45 bool success = net::DNSDomainFromDot(service_name, &rdata);
48 AddResponse(service_type, net::dns_protocol::kTypePTR, ttl, rdata, answer);
62 std::vector<uint8> rdata(2 + 2 + 2 + domain_name.size());
64 base::BigEndianWriter writer(reinterpret_cast<char*>(rdata.data()),
65 rdata.size());
74 std::string(rdata.begin(), rdata.end()), answer);
109 std::string rdata; local
114 rdata
169 AddResponse(const std::string& name, uint16 type, uint32 ttl, const std::string& rdata, bool answer) argument
[all...]
/external/mdnsresponder/mDNSShared/
H A Ddnssd_ipc.c133 void put_rdata(const int rdlen, const unsigned char *rdata, char **ptr) argument
135 memcpy(*ptr, rdata, rdlen);
H A Ddnssd_clientshim.c144 if (extras->r.resrec.rdata != &extras->r.rdatastorage)
145 mDNSPlatformMemFree(extras->r.resrec.rdata);
149 if (x->s.RR_TXT.resrec.rdata != &x->s.RR_TXT.rdatastorage)
150 mDNSPlatformMemFree(x->s.RR_TXT.resrec.rdata);
296 const void *rdata,
305 (void)rdata; // Unused
316 const void *rdata,
324 (void)rdata; // Unused
368 if (!DeconstructServiceName(&answer->rdata->u.name, &name, &type, &domain))
371 answer->name->c, answer->rdata
289 DNSServiceAddRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl ) argument
310 DNSServiceUpdateRecord( DNSServiceRef sdRef, DNSRecordRef RecordRef, DNSServiceFlags flags, uint16_t rdlen, const void *rdata, uint32_t ttl ) argument
572 DNSServiceRegisterRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, DNSServiceRegisterRecordReply callback, void *context ) argument
[all...]
/external/chromium_org/third_party/skia/src/xml/
H A DSkBML_XMLParser.cpp23 static int rdata(SkStream& s, int data) function
42 size_t size = rdata(s, data);
106 nameIndex = rdata(s, data);
111 nameIndex = rdata(s, data);
136 elemIndex = rdata(s, data);
/external/skia/src/xml/
H A DSkBML_XMLParser.cpp23 static int rdata(SkStream& s, int data) function
42 size_t size = rdata(s, data);
106 nameIndex = rdata(s, data);
111 nameIndex = rdata(s, data);
136 elemIndex = rdata(s, data);
/external/chromium_org/third_party/boringssl/src/ssl/
H A Dd1_lib.c166 DTLS1_RECORD_DATA *rdata; local
170 rdata = (DTLS1_RECORD_DATA *) item->data;
171 if (rdata->rbuf.buf)
173 OPENSSL_free(rdata->rbuf.buf);
181 rdata = (DTLS1_RECORD_DATA *) item->data;
182 if (rdata->rbuf.buf)
184 OPENSSL_free(rdata->rbuf.buf);
208 rdata = (DTLS1_RECORD_DATA *) item->data;
209 if (rdata->rbuf.buf)
211 OPENSSL_free(rdata
[all...]
H A Dd1_pkt.c187 DTLS1_RECORD_DATA *rdata; local
189 rdata = (DTLS1_RECORD_DATA *)item->data;
194 s->packet = rdata->packet;
195 s->packet_length = rdata->packet_length;
196 memcpy(&(s->s3->rbuf), &(rdata->rbuf), sizeof(SSL3_BUFFER));
197 memcpy(&(s->s3->rrec), &(rdata->rrec), sizeof(SSL3_RECORD));
200 memcpy(&(s->s3->read_sequence[2]), &(rdata->packet[5]), 6);
209 DTLS1_RECORD_DATA *rdata; local
216 rdata = OPENSSL_malloc(sizeof(DTLS1_RECORD_DATA));
217 item = pitem_new(priority, rdata);
[all...]
/external/openssl/ssl/
H A Dd1_lib.c137 DTLS1_RECORD_DATA *rdata; local
141 rdata = (DTLS1_RECORD_DATA *) item->data;
142 if (rdata->rbuf.buf)
144 OPENSSL_free(rdata->rbuf.buf);
152 rdata = (DTLS1_RECORD_DATA *) item->data;
153 if (rdata->rbuf.buf)
155 OPENSSL_free(rdata->rbuf.buf);
179 rdata = (DTLS1_RECORD_DATA *) item->data;
180 if (rdata->rbuf.buf)
182 OPENSSL_free(rdata
[all...]
H A Dd1_pkt.c189 DTLS1_RECORD_DATA *rdata; local
191 rdata = (DTLS1_RECORD_DATA *)item->data;
196 s->packet = rdata->packet;
197 s->packet_length = rdata->packet_length;
198 memcpy(&(s->s3->rbuf), &(rdata->rbuf), sizeof(SSL3_BUFFER));
199 memcpy(&(s->s3->rrec), &(rdata->rrec), sizeof(SSL3_RECORD));
202 memcpy(&(s->s3->read_sequence[2]), &(rdata->packet[5]), 6);
211 DTLS1_RECORD_DATA *rdata; local
218 rdata = OPENSSL_malloc(sizeof(DTLS1_RECORD_DATA));
219 item = pitem_new(priority, rdata);
822 DTLS1_RECORD_DATA *rdata = (DTLS1_RECORD_DATA *) item->data; local
[all...]
/external/elfutils/0.153/libdwfl/
H A Drelocate.c403 Elf_Data rdata = local
431 Elf_Data *d = gelf_xlatetom (relocated, &tmpdata, &rdata,
450 format. This will write into rdata.d_buf, which
452 Elf_Data *s = gelf_xlatetof (relocated, &rdata, &tmpdata,
456 assert (s == &rdata);
/external/chromium_org/chrome/common/local_discovery/
H A Dservice_discovery_client_impl.cc133 const net::PtrRecordRdata* rdata = record->rdata<net::PtrRecordRdata>(); local
137 AddService(rdata->ptrdomain());
143 RemovePTR(rdata->ptrdomain());
178 const net::PtrRecordRdata* rdata = record->rdata<net::PtrRecordRdata>(); local
179 DCHECK(rdata);
180 AddService(rdata->ptrdomain());
484 const net::TxtRecordRdata* txt_rdata = record->rdata<net::TxtRecordRdata>();
492 const net::SrvRecordRdata* srv_rdata = record->rdata<ne
548 const net::ARecordRdata* rdata = record->rdata<net::ARecordRdata>(); local
552 const net::AAAARecordRdata* rdata = record->rdata<net::AAAARecordRdata>(); local
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Dasn1_gen.c638 unsigned char *rdata; local
776 if (!(rdata = string_to_hex((char *)str, &rdlen)))
782 atmp->value.asn1_string->data = rdata;
/external/openssl/crypto/asn1/
H A Dasn1_gen.c635 unsigned char *rdata; local
773 if (!(rdata = string_to_hex((char *)str, &rdlen)))
779 atmp->value.asn1_string->data = rdata;
/external/tcpdump/
H A Dprint-pgm.c358 struct pgm_data *rdata; local
360 rdata = (struct pgm_data *)(pgm + 1);
361 TCHECK(*rdata);
363 EXTRACT_32BITS(&rdata->pgmd_trailseq),
364 EXTRACT_32BITS(&rdata->pgmd_seq));
365 bp = (u_char *) (rdata + 1);
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/
H A Dcmap_table.cc410 ReadableFontDataPtr rdata; local
412 rdata.Attach(down_cast<ReadableFontData*>(
416 return new Builder(rdata, CMapFormat::kFormat0, cmap_id);
917 ReadableFontDataPtr rdata; local
919 rdata.Attach
924 return new Builder(rdata, CMapFormat::kFormat4, cmap_id);
/external/mdnsresponder/mDNSCore/
H A DDNSDigest.c1332 mDNSu8 *rdata, *const countPtr = (mDNSu8 *)&msg->h.numAdditionals; // Get existing numAdditionals value local
1364 AssignDomainName(&tsig.resrec.rdata->u.name, &HMAC_MD5_AlgName);
1366 rdata = tsig.resrec.rdata->u.data + len;
1380 mDNSPlatformMemCopy(rdata, utc48, 6);
1381 rdata += 6;
1385 rdata[0] = (mDNSu8)((300 >> 8) & 0xff);
1386 rdata[1] = (mDNSu8)( 300 & 0xff);
1387 MD5_Update(&c, rdata, sizeof(mDNSOpaque16));
1388 rdata
[all...]
/external/sfntly/cpp/src/sfntly/table/core/
H A Dcmap_table.cc410 ReadableFontDataPtr rdata; local
412 rdata.Attach(down_cast<ReadableFontData*>(
416 return new Builder(rdata, CMapFormat::kFormat0, cmap_id);
917 ReadableFontDataPtr rdata; local
919 rdata.Attach
924 return new Builder(rdata, CMapFormat::kFormat4, cmap_id);
/external/chromium_org/third_party/icu/source/common/
H A Duresbund.cpp825 static UResourceBundle *init_resb_result(const ResourceData *rdata, Resource r, argument
840 const UChar *alias = res_getAlias(rdata, r, &len);
1117 uprv_memmove(&resB->fResData, rdata, sizeof(ResourceData));

Completed in 714 milliseconds

12