Searched refs:ans (Results 1 – 25 of 36) sorted by relevance
12
158 static int send_dg(ResState* statp, res_params* params, span<const uint8_t> msg, span<uint8_t> ans,160 static int send_vc(ResState* statp, res_params* params, span<const uint8_t> msg, span<uint8_t> ans,162 static int send_mdns(ResState* statp, span<const uint8_t> msg, span<uint8_t> ans, int* terrno,439 int res_nsend(ResState* statp, span<const uint8_t> msg, span<uint8_t> ans, int* rcode, in res_nsend() argument444 if (ans.size() < HFIXEDSZ) { in res_nsend()453 ResolvCacheStatus cache_status = resolv_cache_lookup(statp->netid, msg, ans, &anslen, flags); in res_nsend()456 HEADER* hp = (HEADER*)(void*)ans.data(); in res_nsend()476 resplen = send_mdns(statp, msg, ans, &terrno, rcode); in res_nsend()491 res_pquery(ans.first(resplen)); in res_nsend()494 resolv_cache_add(statp->netid, msg, std::span(ans.data(), resplen)); in res_nsend()[all …]
109 const Slice ans, int* resplen, in query() argument130 code = this->query(server, statp->netid, statp->mark, query, ans, resplen, in query()146 static_cast<NsRcode>(reinterpret_cast<HEADER*>(ans.base())->rcode)); in query()175 unsigned mark, const Slice query, const Slice ans, in query() argument200 if (result.response.size() > ans.size()) { in query()201 LOG(DEBUG) << "Response too large: " << result.response.size() << " > " << ans.size(); in query()206 netdutils::copy(ans, netdutils::makeSlice(result.response)); in query()
55 const netdutils::Slice ans, int* _Nonnull resplen,63 const netdutils::Slice query, const netdutils::Slice ans,
26 std::span<uint8_t> ans, int* rcode, uint32_t flags,
179 int res_nsend(ResState* statp, std::span<const uint8_t> msg, std::span<uint8_t> ans, int* rcode,
132 EdgePointer temp, ans; in makeEdge() local134 ans = temp; in makeEdge()136 onext(temp) = ans; in makeEdge()138 onext(++temp) = (EdgePointer) (ans + 3); in makeEdge()139 onext(++temp) = (EdgePointer) (ans + 2); in makeEdge()141 onext(++temp) = (EdgePointer) (ans + 1); in makeEdge()143 return(ans); in makeEdge()161 EdgePointer ans; in connectLeft() local162 ans = makeEdge(dest(a), orig(b)); in connectLeft()163 splice(ans, (EdgePointer) lnext(a)); in connectLeft()[all …]
1298 List<WifiNative.RingBufferStatus> ans = new ArrayList<>(); in halToFrameworkRingBufferStatusList()1300 ans.add(halToFrameworkRingBufferStatus(b)); in halToFrameworkRingBufferStatusList()1302 return ans; in halToFrameworkRingBufferStatusList()1307 WifiNative.RingBufferStatus ans = new WifiNative.RingBufferStatus(); in halToFrameworkRingBufferStatus() local1308 ans.name = h.ringName; in halToFrameworkRingBufferStatus()1309 ans.flag = halToFrameworkRingBufferFlags(h.flags); in halToFrameworkRingBufferStatus()1310 ans.ringBufferId = h.ringId; in halToFrameworkRingBufferStatus()1311 ans.ringBufferByteSize = h.sizeInBytes; in halToFrameworkRingBufferStatus()1312 ans.verboseLevel = h.verboseLevel; in halToFrameworkRingBufferStatus()1317 return ans; in halToFrameworkRingBufferStatus()[all …]
1852 WlanWakeReasonAndCounts ans = new WlanWakeReasonAndCounts(); in halToFrameworkWakeReasons()1853 ans.totalCmdEventWake = h.totalCmdEventWakeCnt; in halToFrameworkWakeReasons()1854 ans.totalDriverFwLocalWake = h.totalDriverFwLocalWakeCnt; in halToFrameworkWakeReasons()1855 ans.totalRxDataWake = h.totalRxPacketWakeCnt; in halToFrameworkWakeReasons()1856 ans.rxUnicast = h.rxPktWakeDetails.rxUnicastCnt; in halToFrameworkWakeReasons()1857 ans.rxMulticast = h.rxPktWakeDetails.rxMulticastCnt; in halToFrameworkWakeReasons()1858 ans.rxBroadcast = h.rxPktWakeDetails.rxBroadcastCnt; in halToFrameworkWakeReasons()1859 ans.icmp = h.rxIcmpPkWakeDetails.icmpPkt; in halToFrameworkWakeReasons()1860 ans.icmp6 = h.rxIcmpPkWakeDetails.icmp6Pkt; in halToFrameworkWakeReasons()1861 ans.icmp6Ra = h.rxIcmpPkWakeDetails.icmp6Ra; in halToFrameworkWakeReasons()[all …]
1620 int ans = 0; in frameworkToHalReportSchemeMask() local1623 ans |= StaBackgroundScanBucketEventReportSchemeMask.EACH_SCAN; in frameworkToHalReportSchemeMask()1626 ans |= StaBackgroundScanBucketEventReportSchemeMask.FULL_RESULTS; in frameworkToHalReportSchemeMask()1629 ans |= StaBackgroundScanBucketEventReportSchemeMask.NO_BATCH; in frameworkToHalReportSchemeMask()1632 return ans; in frameworkToHalReportSchemeMask()
1466 int ans = 0; in frameworkToHalReportSchemeMask() local1469 ans |= StaBackgroundScanBucketEventReportSchemeMask.EACH_SCAN; in frameworkToHalReportSchemeMask()1472 ans |= StaBackgroundScanBucketEventReportSchemeMask.FULL_RESULTS; in frameworkToHalReportSchemeMask()1475 ans |= StaBackgroundScanBucketEventReportSchemeMask.NO_BATCH; in frameworkToHalReportSchemeMask()1478 return ans; in frameworkToHalReportSchemeMask()
204 List<Integer> ans = mBuilder.getSupportAccessNetworkTypes(); in testGetSupportAccessNetworkTypes() local205 Assert.assertTrue(ans.contains(AccessNetworkConstants.AccessNetworkType.EUTRAN)); in testGetSupportAccessNetworkTypes()206 Assert.assertTrue(ans.contains(AccessNetworkConstants.AccessNetworkType.UTRAN)); in testGetSupportAccessNetworkTypes()207 Assert.assertTrue(ans.contains(AccessNetworkConstants.AccessNetworkType.GERAN)); in testGetSupportAccessNetworkTypes()208 Assert.assertTrue(ans.contains(AccessNetworkConstants.AccessNetworkType.IWLAN)); in testGetSupportAccessNetworkTypes()209 Assert.assertFalse(ans.contains(AccessNetworkConstants.AccessNetworkType.NGRAN)); in testGetSupportAccessNetworkTypes()
36 boolean ans = (value & maskBit) != 0; in testAndClear()38 return ans; in testAndClear()
46 val ans = DnsEntry(hostname, type, generateAnswer(answer)) in <lambda>() constant49 -1 -> answers.add(ans) in <lambda>()50 else -> answers[index] = ans in <lambda>()
73 ArrayList<Object[]> ans = new ArrayList<>(); in listOfObjectArraysBecauseJUnitMadeUs() local76 ans.add(new Object[]{ in listOfObjectArraysBecauseJUnitMadeUs()83 ans.add(new Object[]{ in listOfObjectArraysBecauseJUnitMadeUs()90 ans.add(new Object[]{ in listOfObjectArraysBecauseJUnitMadeUs()97 ans.add(new Object[]{ in listOfObjectArraysBecauseJUnitMadeUs()103 return ans; in listOfObjectArraysBecauseJUnitMadeUs()
662 bytevec ans(4096); in TEST_F() local668 auto r = dispatcher.query(SERVER1, NETID, MARK, makeSlice(QUERY), makeSlice(ans), &resplen, in TEST_F()674 ans.resize(resplen); in TEST_F()675 EXPECT_EQ(QUERY, ans); in TEST_F()678 r = dispatcher.query(SERVER1, NETID, MARK, makeSlice(QUERY), makeSlice(ans), &resplen, in TEST_F()685 bytevec ans(SIZE - 1); // Too small to hold the answer in TEST_F() local691 auto r = dispatcher.query(SERVER1, NETID, MARK, makeSlice(QUERY), makeSlice(ans), &resplen, in TEST_F()738 bytevec ans(4096); in TEST_F() local744 auto r = dispatcher->query(server, netId, mark, makeSlice(q), makeSlice(ans), &resplen, in TEST_F()748 ans.resize(resplen); in TEST_F()[all …]
813 PerSignal ans = mSignalForEventAndFrequency.get(key); in lookupSignal() local814 if (ans == null) { in lookupSignal()815 ans = new PerSignal(event, frequency); in lookupSignal()816 mSignalForEventAndFrequency.put(key, ans); in lookupSignal()818 return ans; in lookupSignal()2133 PerBssid ans = mApForBssid.get(mac); in lookupBssid() local2134 if (ans == null || !ans.ssid.equals(ssid)) { in lookupBssid()2135 ans = new PerBssid(ssid, mac); in lookupBssid()2136 PerBssid old = mApForBssid.put(mac, ans); in lookupBssid()2141 requestReadBssid(ans); in lookupBssid()[all …]
1675 WifiCandidates.CandidateScorer ans = mCandidateScorers.get(PRESET_CANDIDATE_SCORER_NAME); in getActiveCandidateScorer() local1681 ans = candidateScorer; in getActiveCandidateScorer()1686 if (ans == null && PRESET_CANDIDATE_SCORER_NAME != null) { in getActiveCandidateScorer()1689 mWifiMetrics.setNetworkSelectorExperimentId(ans == null in getActiveCandidateScorer()1691 : experimentIdFromIdentifier(ans.getIdentifier())); in getActiveCandidateScorer()1692 return ans; in getActiveCandidateScorer()
150 for (SortableAddress ans : sortableAnswerList) { in rfc6724Sort()151 sortedAnswers.add(ans.address); in rfc6724Sort()
177 if let Some((stream_id, ans)) = self.pending_answers.pop() { in process_pending_answers()180 h3_conn.send_body(&mut self.conn, stream_id, &ans, true)?; in process_pending_answers()
2093 let mut ans = Vec::<u8>::new(); in test_append_ad_data_clamped() localVariable2094 ans.push(255); in test_append_ad_data_clamped()2095 ans.push(102); in test_append_ad_data_clamped()2096 ans.extend(Vec::<u8>::from_iter(0..254)); in test_append_ad_data_clamped()2100 assert_eq!(bytes, ans); in test_append_ad_data_clamped()
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...