Home
last modified time | relevance | path

Searched refs:aQuery (Results 1 – 22 of 22) sorted by relevance

/external/openthread/src/core/net/
Ddnssd_server.hpp268 const otDnssdQuery *GetNextQuery(const otDnssdQuery *aQuery) const;
278 static DnsQueryType GetQueryTypeAndName(const otDnssdQuery *aQuery, Dns::Name::Buffer &aName);
395 void InitFrom(ProxyQuery &aQuery, const ProxyQueryInfo &aInfo);
471 void Resolve(ProxyQuery &aQuery, ProxyQueryInfo &aInfo);
472 void CancelAction(ProxyQuery &aQuery, ProxyQueryInfo &aInfo);
483 void Perform(ProxyAction aAction, ProxyQuery &aQuery, ProxyQueryInfo &aInfo);
484 …void ReadNameFor(ProxyAction aAction, ProxyQuery &aQuery, ProxyQueryInfo &aInfo, Name::Buffer &aNa…
486 bool QueryMatches(const ProxyQuery &aQuery,
492 const ProxyQuery &aQuery,
496 …void StartOrStopSrvResolver(Command aCommand, const ProxyQuery &aQuery, const ProxyQueryInfo &aInf…
[all …]
Ddns_client.hpp769 void ReadFrom(const Query &aQuery) { IgnoreError(aQuery.Read(0, *this)); } in ReadFrom()
788 … AllocateQuery(const QueryInfo &aInfo, const char *aLabel, const char *aName, Query *&aQuery);
789 void FreeQuery(Query &aQuery);
790 void UpdateQuery(Query &aQuery, const QueryInfo &aInfo) { aQuery.Write(0, aInfo); } in UpdateQuery() argument
791 Query &FindMainQuery(Query &aQuery);
792 Error SendQuery(Query &aQuery, QueryInfo &aInfo, bool aUpdateTimer);
793 void FinalizeQuery(Query &aQuery, Error aError);
795 …static void GetQueryTypeAndCallback(const Query &aQuery, QueryType &aType, Callback &aCallback, vo…
796 Error AppendNameFromQuery(const Query &aQuery, Message &aMessage);
800 … Error ParseResponse(const Message &aResponseMessage, Query *&aQuery, Error &aResponseError);
[all …]
Ddns_client.cpp1031 …lient::AllocateQuery(const QueryInfo &aInfo, const char *aLabel, const char *aName, Query *&aQuery) in AllocateQuery() argument
1035 aQuery = nullptr; in AllocateQuery()
1039 aQuery = Get<MessagePool>().Allocate(Message::kTypeOther); in AllocateQuery()
1040 VerifyOrExit(aQuery != nullptr, error = kErrorNoBufs); in AllocateQuery()
1042 SuccessOrExit(error = aQuery->Append(aInfo)); in AllocateQuery()
1046 SuccessOrExit(error = Name::AppendLabel(aLabel, *aQuery)); in AllocateQuery()
1049 SuccessOrExit(error = Name::AppendName(aName, *aQuery)); in AllocateQuery()
1052 FreeAndNullMessageOnError(aQuery, error); in AllocateQuery()
1056 Client::Query &Client::FindMainQuery(Query &aQuery) in FindMainQuery() argument
1060 info.ReadFrom(aQuery); in FindMainQuery()
[all …]
Ddnssd_server.cpp1031 void Server::ReadQueryName(const Message &aQuery, Name::Buffer &aName) in ReadQueryName() argument
1035 IgnoreError(Name::ReadName(aQuery, offset, aName)); in ReadQueryName()
1038 bool Server::QueryNameMatches(const Message &aQuery, const char *aName) in QueryNameMatches() argument
1042 return (Name::CompareName(aQuery, offset, aName) == kErrorNone); in QueryNameMatches()
1045 void Server::ReadQueryInstanceName(const ProxyQuery &aQuery, const ProxyQueryInfo &aInfo, Name::Buf… in ReadQueryInstanceName() argument
1049 IgnoreError(Name::ReadName(aQuery, offset, aName, sizeof(aName))); in ReadQueryInstanceName()
1052 void Server::ReadQueryInstanceName(const ProxyQuery &aQuery, in ReadQueryInstanceName() argument
1063 IgnoreError(Dns::Name::ReadLabel(aQuery, offset, aInstanceLabel, labelLength)); in ReadQueryInstanceName()
1064 IgnoreError(Dns::Name::ReadName(aQuery, offset, aServiceType)); in ReadQueryInstanceName()
1068 bool Server::QueryInstanceNameMatches(const ProxyQuery &aQuery, const ProxyQueryInfo &aInfo, const … in QueryInstanceNameMatches() argument
[all …]
Dsntp_client.cpp77 Error Client::Query(const otSntpQuery *aQuery, otSntpResponseHandler aHandler, void *aContext) in Query() argument
86 VerifyOrExit(aQuery->mMessageInfo != nullptr, error = kErrorInvalidArgs); in Query()
95 messageInfo = AsCoreTypePtr(aQuery->mMessageInfo); in Query()
212 void Client::FinalizeSntpTransaction(Message &aQuery, in FinalizeSntpTransaction() argument
217 DequeueMessage(aQuery); in FinalizeSntpTransaction()
Dsntp_client.hpp108 Error Query(const otSntpQuery *aQuery, ResponseHandler aHandler, void *aContext);
257 …void FinalizeSntpTransaction(Message &aQuery, const QueryMetadata &aQueryMetadata, uint64_t aTime,…
Dmdns.hpp1654 void PreparePtrQuestion(TxMessage &aQuery, TimeMilli aNow);
1708 void PrepareQueryQuestion(TxMessage &aQuery, uint16_t aRrType);
1747 void PrepareSrvQuestion(TxMessage &aQuery);
1785 void PrepareTxtQuestion(TxMessage &aQuery);
1831 void PrepareQueryQuestion(TxMessage &aQuery, uint16_t aRrType);
1865 void PrepareAaaaQuestion(TxMessage &aQuery);
1882 void PrepareAQuestion(TxMessage &aQuery);
Dmdns.cpp5326 void Core::BrowseCache::PreparePtrQuestion(TxMessage &aQuery, TimeMilli aNow) in PreparePtrQuestion() argument
5335 AppendServiceTypeOrSubTypeTo(aQuery, kQuestionSection); in PreparePtrQuestion()
5336 SuccessOrAssert(aQuery.SelectMessageFor(kQuestionSection).Append(question)); in PreparePtrQuestion()
5338 aQuery.IncrementRecordCount(kQuestionSection); in PreparePtrQuestion()
5347 AppendKnownAnswer(aQuery, ptrEntry, aNow); in PreparePtrQuestion()
5552 void Core::ServiceCache::PrepareQueryQuestion(TxMessage &aQuery, uint16_t aRrType) in PrepareQueryQuestion() argument
5554 Message &message = aQuery.SelectMessageFor(kQuestionSection); in PrepareQueryQuestion()
5560 AppendServiceNameTo(aQuery, kQuestionSection); in PrepareQueryQuestion()
5563 aQuery.IncrementRecordCount(kQuestionSection); in PrepareQueryQuestion()
5717 void Core::SrvCache::PrepareSrvQuestion(TxMessage &aQuery) in PrepareSrvQuestion() argument
[all …]
/external/openthread/src/core/api/
Ddns_server_api.cpp69 const otDnssdQuery *otDnssdGetNextQuery(otInstance *aInstance, const otDnssdQuery *aQuery) in otDnssdGetNextQuery() argument
71 return AsCoreType(aInstance).Get<Dns::ServiceDiscovery::Server>().GetNextQuery(aQuery); in otDnssdGetNextQuery()
74 otDnssdQueryType otDnssdGetQueryTypeAndName(const otDnssdQuery *aQuery, char (*aNameOutput)[OT_DNS_… in otDnssdGetQueryTypeAndName() argument
76 AssertPointerIsNotNull(aQuery); in otDnssdGetQueryTypeAndName()
79 return MapEnum(Dns::ServiceDiscovery::Server::GetQueryTypeAndName(aQuery, *aNameOutput)); in otDnssdGetQueryTypeAndName()
Dsntp_api.cpp45 const otSntpQuery *aQuery, in otSntpClientQuery() argument
49 return AsCoreType(aInstance).Get<Sntp::Client>().Query(aQuery, aHandler, aContext); in otSntpClientQuery()
/external/openthread/examples/platforms/simulation/
Ddns.c35 …DnsStartUpstreamQuery(otInstance *aInstance, otPlatDnsUpstreamQuery *aTxn, const otMessage *aQuery) in otPlatDnsStartUpstreamQuery() argument
39 OT_UNUSED_VARIABLE(aQuery); in otPlatDnsStartUpstreamQuery()
/external/openthread/src/posix/platform/
Dresolver.cpp121 void Resolver::Query(otPlatDnsUpstreamQuery *aTxn, const otMessage *aQuery) in Query() argument
125 uint16_t length = otMessageGetLength(aQuery); in Query()
131 …VerifyOrExit(otMessageRead(aQuery, 0, &packet, sizeof(packet)) == length, error = OT_ERROR_NO_BUFS… in Query()
346 …DnsStartUpstreamQuery(otInstance *aInstance, otPlatDnsUpstreamQuery *aTxn, const otMessage *aQuery) in otPlatDnsStartUpstreamQuery() argument
350 gResolver.Query(aTxn, aQuery); in otPlatDnsStartUpstreamQuery()
Dresolver.hpp65 void Query(otPlatDnsUpstreamQuery *aTxn, const otMessage *aQuery);
/external/openthread/include/openthread/
Ddnssd_server.h226 const otDnssdQuery *otDnssdGetNextQuery(otInstance *aInstance, const otDnssdQuery *aQuery);
236 otDnssdQueryType otDnssdGetQueryTypeAndName(const otDnssdQuery *aQuery, char (*aNameOutput)[OT_DNS_…
Dsntp.h93 const otSntpQuery *aQuery,
/external/openthread/include/openthread/platform/
Ddns.h72 …nsStartUpstreamQuery(otInstance *aInstance, otPlatDnsUpstreamQuery *aTxn, const otMessage *aQuery);
/external/mdnsresponder/mDNSShared/
Ddnssd_clientshim.c77 DNSServiceRef aQuery; member
704 if (x->aQuery) DNSServiceRefDeallocate(x->aQuery); in DNSServiceGetAddrInfoDispose()
756 x->aQuery = mDNSNULL; in DNSServiceGetAddrInfo()
762 err = DNSServiceQueryRecord(&x->aQuery, inFlags, inInterfaceIndex, inHostName, kDNSServiceType_A, in DNSServiceGetAddrInfo()
/external/openthread/tests/unit/
Dtest_platform.cpp703 …DnsStartUpstreamQuery(otInstance *aInstance, otPlatDnsUpstreamQuery *aTxn, const otMessage *aQuery) in otPlatDnsStartUpstreamQuery() argument
707 OT_UNUSED_VARIABLE(aQuery); in otPlatDnsStartUpstreamQuery()
/external/sqlite/dist/sqlite-autoconf-3440300/
Dshell.c23101 static const struct { const char *zName; const char *zSql; } aQuery[] = { in shell_dbinfo_command() local
23168 for(i=0; i<ArraySize(aQuery); i++){ in shell_dbinfo_command()
23169 char *zSql = sqlite3_mprintf(aQuery[i].zSql, zSchemaTab); in shell_dbinfo_command()
23172 oputf("%-20s %d\n", aQuery[i].zName, val); in shell_dbinfo_command()
/external/sqlite/dist/sqlite-autoconf-3440400/orig/
Dshell.c23081 static const struct { const char *zName; const char *zSql; } aQuery[] = { in shell_dbinfo_command() local
23148 for(i=0; i<ArraySize(aQuery); i++){ in shell_dbinfo_command()
23149 char *zSql = sqlite3_mprintf(aQuery[i].zSql, zSchemaTab); in shell_dbinfo_command()
23152 oputf("%-20s %d\n", aQuery[i].zName, val); in shell_dbinfo_command()
/external/sqlite/dist/sqlite-autoconf-3440300/orig/
Dshell.c23081 static const struct { const char *zName; const char *zSql; } aQuery[] = { in shell_dbinfo_command() local
23148 for(i=0; i<ArraySize(aQuery); i++){ in shell_dbinfo_command()
23149 char *zSql = sqlite3_mprintf(aQuery[i].zSql, zSchemaTab); in shell_dbinfo_command()
23152 oputf("%-20s %d\n", aQuery[i].zName, val); in shell_dbinfo_command()
/external/sqlite/dist/sqlite-autoconf-3440400/
Dshell.c23101 static const struct { const char *zName; const char *zSql; } aQuery[] = { in shell_dbinfo_command() local
23168 for(i=0; i<ArraySize(aQuery); i++){ in shell_dbinfo_command()
23169 char *zSql = sqlite3_mprintf(aQuery[i].zSql, zSchemaTab); in shell_dbinfo_command()
23172 oputf("%-20s %d\n", aQuery[i].zName, val); in shell_dbinfo_command()