Home
last modified time | relevance | path

Searched refs:ans (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp132 EdgePointer temp, ans; in makeEdge() local
134 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() local
162 ans = makeEdge(dest(a), orig(b)); in connectLeft()
163 splice(ans, (EdgePointer) lnext(a)); in connectLeft()
[all …]
/packages/modules/DnsResolver/
Dres_send.cpp147 uint8_t* ans, int anssiz, int* terrno, size_t ns, time_t* at, int* rcode,
150 uint8_t* ans, int anssiz, int* terrno, size_t* ns, int* v_circuit,
420 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode, in res_nsend() argument
435 resolv_cache_lookup(statp->netid, buf, buflen, ans, anssiz, &anslen, flags); in res_nsend()
438 HEADER* hp = (HEADER*)(void*)ans; in res_nsend()
470 Slice(ans, anssiz), rcode, &fallback); in res_nsend()
473 res_pquery(ans, resplen); in res_nsend()
475 resolv_cache_add(statp->netid, buf, buflen, ans, resplen); in res_nsend()
546 resplen = send_vc(statp, &params, buf, buflen, ans, anssiz, &terrno, ns, in res_nsend()
558 resplen = send_dg(statp, &params, buf, buflen, ans, anssiz, &terrno, &actualNs, in res_nsend()
[all …]
DDnsTlsDispatcher.cpp110 const Slice ans, int* resplen) { in query() argument
124 code = this->query(server, statp->netid, statp->_mark, query, ans, resplen, in query()
139 static_cast<NsRcode>(reinterpret_cast<HEADER*>(ans.base())->rcode)); in query()
165 unsigned mark, const Slice query, const Slice ans, in query() argument
190 if (result.response.size() > ans.size()) { in query()
191 LOG(DEBUG) << "Response too large: " << result.response.size() << " > " << ans.size(); in query()
196 netdutils::copy(ans, netdutils::makeSlice(result.response)); in query()
DDnsTlsDispatcher.h55 const netdutils::Slice ans, int* _Nonnull resplen);
62 const netdutils::Slice query, const netdutils::Slice ans,
Dres_send.h24 uint8_t* ans, int ansLen, int* rcode, uint32_t flags,
Dresolv_private.h176 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode,
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java850 Mutable<Boolean> ans = new Mutable<>(false); in getBgScanCapabilities() local
860 ans.value = true; in getBgScanCapabilities()
863 return ans.value; in getBgScanCapabilities()
978 int ans = 0; in makeReportSchemeFromBucketSettingsReportEvents() local
981 ans |= StaBackgroundScanBucketEventReportSchemeMask.EACH_SCAN; in makeReportSchemeFromBucketSettingsReportEvents()
984 ans |= StaBackgroundScanBucketEventReportSchemeMask.FULL_RESULTS; in makeReportSchemeFromBucketSettingsReportEvents()
987 ans |= StaBackgroundScanBucketEventReportSchemeMask.NO_BATCH; in makeReportSchemeFromBucketSettingsReportEvents()
990 return ans; in makeReportSchemeFromBucketSettingsReportEvents()
2185 WifiNative.RingBufferStatus ans = new WifiNative.RingBufferStatus(); in ringBufferStatus() local
2186 ans.name = h.ringName; in ringBufferStatus()
[all …]
DWifiScoreCard.java814 PerSignal ans = mSignalForEventAndFrequency.get(key); in lookupSignal() local
815 if (ans == null) { in lookupSignal()
816 ans = new PerSignal(event, frequency); in lookupSignal()
817 mSignalForEventAndFrequency.put(key, ans); in lookupSignal()
819 return ans; in lookupSignal()
2146 PerBssid ans = mApForBssid.get(mac); in lookupBssid() local
2147 if (ans == null || !ans.ssid.equals(ssid)) { in lookupBssid()
2148 ans = new PerBssid(ssid, mac); in lookupBssid()
2149 PerBssid old = mApForBssid.put(mac, ans); in lookupBssid()
2154 requestReadBssid(ans); in lookupBssid()
[all …]
DScoredNetworkNominator.java382 WifiConfiguration ans = mWifiConfigManager.getConfiguredNetwork( in getCandidateConfiguration() local
384 if (ans != null && mScanDetailCandidate != null) { in getCandidateConfiguration()
386 onConnectableListener.onConnectable(mScanDetailCandidate, ans); in getCandidateConfiguration()
388 return ans; in getCandidateConfiguration()
DWifiNetworkSelector.java1157 WifiCandidates.CandidateScorer ans = mCandidateScorers.get(PRESET_CANDIDATE_SCORER_NAME); in getActiveCandidateScorer() local
1163 ans = candidateScorer; in getActiveCandidateScorer()
1168 if (ans == null && PRESET_CANDIDATE_SCORER_NAME != null) { in getActiveCandidateScorer()
1171 mWifiMetrics.setNetworkSelectorExperimentId(ans == null in getActiveCandidateScorer()
1173 : experimentIdFromIdentifier(ans.getIdentifier())); in getActiveCandidateScorer()
1174 return ans; in getActiveCandidateScorer()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DCandidateScorerTest.java54 ArrayList<Object[]> ans = new ArrayList<>(); in listOfObjectArraysBecauseJUnitMadeUs() local
57 ans.add(new Object[]{ in listOfObjectArraysBecauseJUnitMadeUs()
64 ans.add(new Object[]{ in listOfObjectArraysBecauseJUnitMadeUs()
71 ans.add(new Object[]{ in listOfObjectArraysBecauseJUnitMadeUs()
78 ans.add(new Object[]{ in listOfObjectArraysBecauseJUnitMadeUs()
84 return ans; in listOfObjectArraysBecauseJUnitMadeUs()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DBitMask.java36 boolean ans = (value & maskBit) != 0; in testAndClear()
38 return ans; in testAndClear()
/packages/modules/DnsResolver/tests/
Dresolv_tls_unit_test.cpp685 bytevec ans(4096); in TEST_F() local
691 auto r = dispatcher.query(SERVER1, NETID, MARK, makeSlice(QUERY), makeSlice(ans), &resplen, in TEST_F()
697 ans.resize(resplen); in TEST_F()
698 EXPECT_EQ(QUERY, ans); in TEST_F()
701 r = dispatcher.query(SERVER1, NETID, MARK, makeSlice(QUERY), makeSlice(ans), &resplen, in TEST_F()
708 bytevec ans(SIZE - 1); // Too small to hold the answer in TEST_F() local
714 auto r = dispatcher.query(SERVER1, NETID, MARK, makeSlice(QUERY), makeSlice(ans), &resplen, in TEST_F()
761 bytevec ans(4096); in TEST_F() local
767 auto r = dispatcher->query(server, netId, mark, makeSlice(q), makeSlice(ans), &resplen, in TEST_F()
771 ans.resize(resplen); in TEST_F()
[all …]
/packages/modules/Connectivity/framework/src/android/net/util/
DDnsUtils.java150 for (SortableAddress ans : sortableAnswerList) { in rfc6724Sort()
151 sortedAnswers.add(ans.address); in rfc6724Sort()
/packages/inputmethods/LatinIME/dictionaries/
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsv_wordlist.combined.gz
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dfr_wordlist.combined.gz ... ,flags=,originalFreq=171 59 word=ans,f=170,flags=,originalFreq= ...
Dnb_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dde_wordlist.combined.gz
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Des_wordlist.combined.gz
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...

12