Searched refs:qtype (Results 1 - 25 of 46) sorted by relevance

12

/external/e2fsprogs/lib/quota/
H A Dmkquota.h46 errcode_t quota_init_context(quota_ctx_t *qctx, ext2_filsys fs, int qtype);
53 errcode_t quota_write_inode(quota_ctx_t qctx, int qtype);
58 errcode_t quota_remove_inode(ext2_filsys fs, int qtype);
59 int quota_file_exists(ext2_filsys fs, int qtype, int fmt);
60 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype);
61 errcode_t quota_compare_and_update(quota_ctx_t qctx, int qtype,
H A Dmkquota.c53 int quota_file_exists(ext2_filsys fs, int qtype, int fmt) argument
59 if (qtype >= MAXQUOTAS)
62 quota_get_qf_name(qtype, QFMT_VFS_V1, qf_name);
75 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype) argument
79 inump = (qtype == USRQUOTA) ? &fs->super->s_usr_quota_inum :
83 qtype);
88 errcode_t quota_remove_inode(ext2_filsys fs, int qtype) argument
93 qf_ino = (qtype == USRQUOTA) ? fs->super->s_usr_quota_inum :
95 quota_set_sb_inum(fs, 0, qtype);
121 errcode_t quota_write_inode(quota_ctx_t qctx, int qtype) argument
194 get_qid(struct ext2_inode *inode, int qtype) argument
213 quota_init_context(quota_ctx_t *qctx, ext2_filsys fs, int qtype) argument
527 quota_compare_and_update(quota_ctx_t qctx, int qtype, int *usage_inconsistent) argument
[all...]
/external/chromium_org/net/dns/
H A Ddns_query.h22 // DNS name format, and |qtype|. The qclass is set to IN.
23 DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype);
32 uint16 qtype() const;
H A Ddns_query_unittest.cc42 EXPECT_EQ(dns_protocol::kTypeA, q1.qtype());
63 EXPECT_EQ(q1.qtype(), q2->qtype());
H A Ddns_query.cc21 DnsQuery::DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype) argument
39 writer.WriteU16(qtype);
61 uint16 DnsQuery::qtype() const { function in class:net::DnsQuery
H A Ddns_transaction.h34 // Returns the |qtype|.
56 // Creates DnsTransaction for the given |hostname| and |qtype| (assuming
65 uint16 qtype,
H A Ddns_test_util.cc42 uint16 qtype,
46 qtype_(qtype),
50 // Find the relevant rule which matches |qtype| and prefix of |hostname|.
53 if ((rules[i].qtype == qtype) &&
173 uint16 qtype,
177 new MockTransaction(rules_, hostname, qtype, callback);
40 MockTransaction(const MockDnsClientRuleList& rules, const std::string& hostname, uint16 qtype, const DnsTransactionFactory::CallbackType& callback) argument
H A Ddns_transaction_unittest.cc39 uint16 qtype,
42 : query_(new DnsQuery(id, DomainFromDot(dotted_name), qtype)),
227 uint16 qtype,
230 qtype_(qtype),
287 EXPECT_EQ(qtype_, response->qtype());
368 // Add expected query for |dotted_name| and |qtype| with |id| and response
373 uint16 qtype,
380 new DnsSocketData(id, dotted_name, qtype, mode, use_tcp));
387 uint16 qtype,
390 AddQueryAndResponse(id, dotted_name, qtype, dat
37 DnsSocketData(uint16 id, const char* dotted_name, uint16 qtype, IoMode mode, bool use_tcp) argument
226 TransactionHelper(const char* hostname, uint16 qtype, int expected_answer_count) argument
371 AddQueryAndResponse(uint16 id, const char* dotted_name, uint16 qtype, const uint8* response_data, size_t response_length, IoMode mode, bool use_tcp) argument
385 AddAsyncQueryAndResponse(uint16 id, const char* dotted_name, uint16 qtype, const uint8* data, size_t data_length) argument
394 AddSyncQueryAndResponse(uint16 id, const char* dotted_name, uint16 qtype, const uint8* data, size_t data_length) argument
404 AddQueryAndTimeout(const char* dotted_name, uint16 qtype) argument
413 AddQueryAndRcode(const char* dotted_name, uint16 qtype, int rcode, IoMode mode, bool use_tcp) argument
426 AddAsyncQueryAndRcode(const char* dotted_name, uint16 qtype, int rcode) argument
430 AddSyncQueryAndRcode(const char* dotted_name, uint16 qtype, int rcode) argument
[all...]
H A Ddns_response.h139 uint16 qtype() const;
/external/chromium_org/cloud_print/gcp20/prototype/
H A Ddns_packet_parser.h15 DnsQueryRecord() : qtype(0), qclass(0) {}
19 uint16 qtype; member in struct:DnsQueryRecord
H A Ddns_packet_parser.cc31 if (reader.ReadU16(&result.qtype) && reader.ReadU16(&result.qclass) &&
/external/chromium_org/net/tools/dns_fuzz_stub/
H A Ddns_fuzz_stub.cc50 uint16* id, std::string* qname, uint16* qtype,
96 if (!dict->GetInteger("qtype", &qtype_int)) {
97 LOG(ERROR) << filename << ": qtype is missing or not an integer.";
101 LOG(ERROR) << filename << ": qtype is out of range.";
104 *qtype = static_cast<uint16>(qtype_int);
131 << "qtype=" << qtype_int << ", "
137 void RunTestCase(uint16 id, std::string& qname, uint16 qtype, argument
139 net::DnsQuery query(id, qname, qtype);
170 uint16 qtype = 0; local
177 if (!ReadTestCase(filename, &id, &qname, &qtype,
49 ReadTestCase(const char* filename, uint16* id, std::string* qname, uint16* qtype, std::vector<char>* resp_buf, bool* crash_test) argument
[all...]
/external/dnsmasq/src/
H A Drfc1035.c530 int i, qtype, qclass, rdlen; local
538 GETSHORT(qtype, p);
543 if ((qclass == C_IN) && (qtype == T_A))
584 int qtype, qclass, rdlen; local
598 GETSHORT(qtype, p);
603 if ((qclass == C_IN) && (qtype == T_SOA))
642 int i, j, qtype, qclass, aqtype, aqclass, ardlen, res, searched_soa = 0; local
669 GETSHORT(qtype, p);
677 if (qtype == T_PTR)
747 if (qtype
867 int qtype, qclass; local
979 int i, qtype, qclass, rdlen; local
1133 int qtype, qclass; local
[all...]
/external/iputils/ninfod/
H A Dninfod_core.c178 uint16_t qtype; member in struct:qtypeinfo
187 .qtype = NI_QTYPE_NOOP,
193 .qtype = NI_QTYPE_SUPTYPES,
200 .qtype = NI_QTYPE_DNSNAME,
206 .qtype = NI_QTYPE_NODEADDR,
212 .qtype = NI_QTYPE_IPV4ADDR,
231 static __inline__ struct qtypeinfo *qtypeinfo_lookup(int qtype) argument
233 if (qtype >= ARRAY_SIZE(qtypeinfo_table))
235 if (qtypeinfo_table[qtype].name == NULL)
237 return &qtypeinfo_table[qtype];
310 unsigned short qtype; local
[all...]
/external/ipsec-tools/src/racoon/
H A Dgetcertsbyname.c70 getnewci(qtype, keytag, algorithm, flags, certlen, cert)
71 int qtype, keytag, algorithm, flags, certlen;
81 res->ci_type = qtype;
214 int qtype, qclass, keytag, algorithm; local
273 GETSHORT(qtype, cp); /* QTYPE */
286 GETSHORT(qtype, cp); /* TYPE */
292 if (qtype != T_CERT) {
299 GETSHORT(qtype, cp); /* type */
314 qtype, keytag, algorithm, rdlength);
318 cur->ci_next = getnewci(qtype, keyta
[all...]
/external/smack/src/org/xbill/DNS/
H A DZoneTransferIn.java49 private int qtype; field in class:ZoneTransferIn
186 qtype = xfrtype;
312 return qtype;
358 Record question = Record.newRecord(zname, qtype, dclass);
363 if (qtype == Type.IXFR) {
400 qtype = Type.AXFR;
417 if (qtype == Type.IXFR &&
430 if (qtype == Type.IXFR && type == Type.SOA &&
548 if (qtype == Type.IXFR &&
559 if (question != null && question.getType() != qtype) {
[all...]
/external/e2fsprogs/e2fsck/
H A Dquota.c21 ext2_ino_t to_ino, int qtype)
42 quota_get_qf_name(qtype, QFMT_VFS_V1, qf_name);
20 move_quota_inode(ext2_filsys fs, ext2_ino_t from_ino, ext2_ino_t to_ino, int qtype) argument
/external/mdnsresponder/mDNSShared/
H A Duds_daemon.h64 extern void external_start_browsing_for_service(mDNS *const m, const domainname *const type, DNS_TypeValues qtype);
65 extern void external_stop_browsing_for_service(mDNS *const m, const domainname *const type, DNS_TypeValues qtype);
H A Ddnsextd.h97 mDNSu16 qtype; member in struct:LLQEntry
/external/mdnsresponder/mDNSPosix/
H A DIdentify.c209 mDNSlocal mStatus StartQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) argument
217 q->qtype = qtype;
233 //mprintf("%##s %s ?\n", q->qname.c, DNSTypeName(qtype));
237 mDNSlocal void DoOneQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) argument
239 mStatus status = StartQuery(q, qname, qtype, target, callback);
249 mDNSlocal int DoQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) argument
251 DoOneQuery(q, qname, qtype, target, callback);
254 mprintf("%##s %s Trying multicast\n", q->qname.c, DNSTypeName(q->qtype));
255 DoOneQuery(q, qname, qtype, NUL
[all...]
/external/srec/srec/include/
H A Dsrec_arb.h51 asr_uint16_t qtype; member in struct:__anon31156
/external/qemu/scripts/
H A Dqapi-types.py185 qtype = builtin_type_qtypes[qapi_type] variable
187 qtype = "QTYPE_QDICT" variable
189 qtype = "QTYPE_QDICT" variable
194 [ %(qtype)s ] = %(abbrev)s_KIND_%(enum)s,
196 qtype = qtype, variable
/external/srec/srec/clib/
H A Dsrec_arb.c43 if (quest->qtype == QUESTION_LEFT)
48 else if(quest->qtype == QUESTION_WBLEFT) {
52 else if(quest->qtype == QUESTION_WBRIGHT) {
59 ASSERT(quest->qtype == QUESTION_RIGHT);
88 pfread(&(q->qtype), sizeof(asr_uint16_t), 1, fp);
/external/mdnsresponder/mDNSCore/
H A DuDNS.c179 LogMsg("PenalizeDNSServer: ERROR!! Null DNS server for %##s (%s) %d", q->qname.c, DNSTypeName(q->qtype), q->unansweredQueries);
184 &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSServer->domain.c, q, q->qname.c, DNSTypeName(q->qtype),
200 if (q->qtype == kDNSType_PTR)
206 LogInfo("PenalizeDNSServer: Penalizing question type %d", q->qtype);
236 q->qname.c, DNSTypeName(q->qtype), &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSServer->domain.c);
273 LogInfo("PenalizeDNSServer: Server for %p, %##s (%s) changed to NULL, Interval %d", q, q->qname.c, DNSTypeName(q->qtype), q->ThisQInterval);
325 info->domain.c, q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype));
405 newinfo ? newinfo ->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype));
709 ptr = putQuestion(msg, ptr, msg->data + AbsoluteMaxDNSMessageData, &question->qname, question->qtype, question->qclass);
753 if (q->tcp) { LogMsg("sendChallengeResponse: ERROR!!: question %##s (%s) tcp non-NULL", q->qname.c, DNSTypeName(q->qtype)); retur
1567 GetZoneData_StartQuery(mDNS *const m, ZoneData *zd, mDNSu16 qtype) argument
[all...]
H A DmDNS.c122 #define FollowCNAME(q, rr, AddRecord) (AddRecord && (q)->qtype != kDNSType_CNAME && \
384 LogInfo("GenerateNegativeResponse: Generating negative response for question %##s (%s)", q->qname.c, DNSTypeName(q->qtype));
386 MakeNegativeCacheRecord(m, &m->rec.r, &q->qname, q->qnamehash, q->qtype, q->qclass, 60, mDNSInterface_Any, mDNSNULL);
398 q, q->qname.c, DNSTypeName(q->qtype), q->CNAMEReferrals, selfref ? " (Self-Referential)" : "", RRDisplayString(m, rr));
419 q, q->qname.c, DNSTypeName(q->qtype), q->CNAMEReferrals, RRDisplayString(m, rr));
430 q, q->qname.c, DNSTypeName(q->qtype), RRDisplayString(m, rr));
495 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype));
528 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype));
2570 mDNSu8 *newptr = putQuestion(query, *queryptr, limit - *answerforecast, &q->qname, q->qtype, (mDNSu16)(q->qclass | ucbit));
2573 debugf("BuildQuestion: No more space in this packet for question %##s (%s)", q->qname.c, DNSTypeName(q->qtype));
8042 ShouldSuppressQuery(mDNS *const m, domainname *qname, mDNSu16 qtype, mDNSInterfaceID InterfaceID) argument
[all...]

Completed in 467 milliseconds

12