/external/chromium_org/net/dns/ |
record_parsed.cc | 14 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 = PtrRecordRdata::Create(record.rdata, *parser) [all...] |
record_rdata.cc | 30 scoped_ptr<SrvRecordRdata> rdata(new SrvRecordRdata); 34 reader.ReadU16(&rdata->priority_); 35 reader.ReadU16(&rdata->weight_); 36 reader.ReadU16(&rdata->port_); 39 &rdata->target_)) 42 return rdata.Pass(); 71 scoped_ptr<ARecordRdata> rdata(new ARecordRdata); 73 rdata->address_.resize(kIPv4AddressSize); 75 rdata->address_[i] = data[i]; 78 return rdata.Pass() [all...] |
record_parsed_unittest.cc | 37 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>());
|
record_parsed.h | 19 // 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,
|
record_rdata_unittest.cc | 22 // These are just the rdata portions of the DNS records, rather than complete 70 // These are just the rdata portions of the DNS records, rather than complete 91 // These are just the rdata portions of the DNS records, rather than complete 116 // These are just the rdata portions of the DNS records, rather than complete 140 // These are just the rdata portions of the DNS records, rather than complete 164 // These are just the rdata portions of the DNS records, rather than complete 192 // These are just the rdata portions of the DNS records, rather than complete
|
dns_response_unittest.cc | 136 EXPECT_EQ(6u, record.rdata.length()); 137 EXPECT_EQ(6u, parser.ReadName(record.rdata.data(), &out)); 146 EXPECT_EQ(4u, record.rdata.length()); 147 EXPECT_EQ(base::StringPiece("\x7f\x02\x04\x01"), record.rdata); 203 0x4a, 0x7d, // RDATA is the IP: 74.125.95.121 296 0x4a, 0x7d, // RDATA is the IP: 74.125.95.121 354 0x4a, 0x7d, // RDATA is the IP: 74.125.95.121 465 // Answer: name = 'a', type = A, TTL = 0xFF, RDATA = 10.10.10.10 467 0x00, 0x04, 0x0A, 0x0A, 0x0A, // Truncated RDATA. 475 // Answer: name = 'a', type = CNAME, TTL = 0xFF, RDATA = 'foo' (truncated [all...] |
dns_response.cc | 123 reader.ReadPiece(&out->rdata, rdlen)) { 309 if (record.rdata.size() != 310 parser.ReadName(record.rdata.begin(), &expected_name)) 315 if (record.rdata.size() != expected_size) 322 ip_addresses.push_back(IPAddressNumber(record.rdata.begin(), 323 record.rdata.end()));
|
/bionic/libc/netbsd/nameser/ |
ns_print.c | 63 static int charstr(const u_char *rdata, const u_char *edata, 107 * ns_sprintrrf(msg, msglen, name, class, type, ttl, rdata, rdlen, 116 u_long ttl, const u_char *rdata, size_t rdlen, 121 const u_char *edata = rdata + rdlen; 163 * RData. 169 (void) inet_ntop(AF_INET, rdata, buf, buflen); 180 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); 186 T(len = charstr(rdata, edata, &buf, &buflen)); 189 rdata += len; 194 if (type == ns_t_isdn && rdata == edata [all...] |
/external/chromium_org/cloud_print/gcp20/prototype/ |
dns_response_builder.cc | 42 std::string rdata; local 43 bool success = net::DNSDomainFromDot(service_name, &rdata); 46 AddResponse(service_type, net::dns_protocol::kTypePTR, ttl, rdata); 57 std::vector<uint8> rdata(2 + 2 + 2 + domain_name.size()); 59 net::BigEndianWriter writer(rdata.data(), rdata.size()); 68 std::string(rdata.begin(), rdata.end())); 86 std::string rdata; local 91 rdata += static_cast<char>(len); // Set length byte [all...] |
dns_response_builder.h | 30 std::string rdata; member in struct:DnsResponseRecord 59 const std::string& rdata);
|
/external/smack/src/org/xbill/DNS/ |
KEYBase.java | 115 byte [] rdata = out.toByteArray(); 118 int d1 = rdata[rdata.length - 3] & 0xFF; 119 int d2 = rdata[rdata.length - 2] & 0xFF; 124 for (i = 0; i < rdata.length - 1; i += 2) { 125 int d1 = rdata[i] & 0xFF; 126 int d2 = rdata[i + 1] & 0xFF; 129 if (i < rdata.length) { 130 int d1 = rdata[i] & 0xFF [all...] |
Generator.java | 211 * @throws IOException The name or rdata was invalid after substitutions were 220 String rdata = substitute(rdataPattern, current); local 222 return Record.fromString(name, type, dclass, ttl, rdata, origin); 227 * @throws IOException The name or rdata of a record was invalid after 236 String rdata = substitute(rdataPattern, current); local 238 rdata, origin));
|
AAAARecord.java | 50 /** Converts rdata to a String */
|
Record.java | 12 * A record contains a name, type, class, ttl, and rdata. 104 * @param data The rdata of the record, in uncompressed DNS wire format. Only 134 * @param data The complete rdata of the record, in uncompressed DNS wire 275 * Converts the rdata in a Record into canonical DNS uncompressed wire format 291 * Converts the rdata portion of a Record into a String representation 320 String rdata = rrToString(); local 321 if (!rdata.equals("")) { 323 sb.append(rdata); 440 * @param st A tokenizer containing the textual representation of the rdata. 486 * @param s The textual representation of the rdata [all...] |
/external/llvm/test/Object/Inputs/ |
coff_archive.lib | 21 .debug$S ) F @ B.rdata |