HomeSort by relevance Sort by last modified time
    Searched refs:candidate (Results 201 - 225 of 996) sorted by null

1 2 3 4 5 6 7 891011>>

  /libcore/luni/src/main/java/java/math/
BigInteger.java 169 int candidate; local
171 candidate = random.nextInt() & ((1 << bitLength) - 1);
172 candidate |= (1 << (bitLength - 1)); // Set top bit.
174 candidate |= 1; // Any prime longer than 2 bits must have the bottom bit set.
176 } while (!isSmallPrime(candidate));
178 prime.putULongInt(candidate, false);
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/rand/
util.go 23 // to reduce a candidate prime by this number and then determine whether it's
53 // Clear bits in the first byte to make sure the candidate has a size <= bits.
128 // that the candidate is < max.
  /prebuilts/go/linux-x86/src/crypto/rand/
util.go 23 // to reduce a candidate prime by this number and then determine whether it's
53 // Clear bits in the first byte to make sure the candidate has a size <= bits.
128 // that the candidate is < max.
  /prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/
SymbolTable.h 375 tLevel::const_iterator candidate = level.lower_bound(name); local
376 if (candidate != level.end()) {
377 const TString& candidateName = (*candidate).first;
391 tLevel::const_iterator candidate = level.lower_bound(name); local
392 if (candidate != level.end()) {
393 const TString& candidateName = (*candidate).first;
  /external/guava/guava-testlib/src/com/google/common/testing/
AbstractPackageSanityTests.java 225 * to construct the sample instances. In case of tie, the candidate constructors or factories
319 NEXT_CANDIDATE: for (Class<?> candidate : Iterables.filter(candidateClasses, classFilter)) {
320 for (Class<?> testClass : testClasses.get(candidate)) {
326 result.add(candidate);
  /external/webrtc/webrtc/p2p/base/
transport.cc 15 #include "webrtc/p2p/base/candidate.h"
269 bool Transport::VerifyCandidate(const Candidate& cand, std::string* error) {
272 *error = "candidate has address of zero";
287 *error = "candidate has port below 1024, but not 80 or 443";
292 *error = "candidate has port of 80 or 443 with private IP address";
318 bool Transport::AddRemoteCandidates(const std::vector<Candidate>& candidates,
321 // Verify each candidate before passing down to transport layer.
322 for (const Candidate& cand : candidates) {
327 *error = "Candidate has unknown component: " + cand.ToString() +
333 for (const Candidate& candidate : candidates)
    [all...]
p2ptransportchannel_unittest.cc 218 CandidateData(cricket::TransportChannel* ch, const cricket::Candidate& c)
219 : channel(ch), candidate(c) {
222 cricket::Candidate candidate; member in struct:P2PTransportChannelTestBase::CandidateData
406 // on the local and remote candidate of ep1_ch1, match. This can be
426 // on the local and remote candidate of ep1_ch1. This is like
445 // on the local and remote candidate of ep2_ch1, match. This can be
453 // candidate. This is done to handle remote type discrepancy from
472 // on the local and remote candidate of ep2_ch1. This is like
528 // only for the RFC 5245 as controlled agent will use USE-CANDIDATE
1877 const cricket::Candidate& candidate = conn1->remote_candidate(); local
    [all...]
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
MtpManager.java 78 for (final UsbDevice candidate : mManager.getDeviceList().values()) {
79 if (candidate.getDeviceId() == deviceId) {
80 rawDevice = candidate;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NotificationIconAreaController.java 203 StatusBarIconView candidate = toShow.get(j); local
204 if (candidate.getSourceIcon().sameAs((removedIcon.getSourceIcon()))
205 && candidate.getNotification().getGroupKey().equals(removedGroupKey)) {
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
SavedNetworkEvaluator.java 117 // Clear the cached candidate, score and seen.
239 WifiConfiguration candidate = null; local
280 // configuration. So only the matching ScanResult can be a candidate.
290 // Set candidate ScanResult for all saved networks to ensure that users can
329 candidate = mWifiConfigManager.getConfiguredNetwork(candidateIdOfScanResult);
340 return candidate;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
FormatActivity.java 254 for (final VolumeInfo candidate : candidates) {
255 if (TextUtils.equals(candidate.getDiskId(), diskId)) {
256 moveTarget = candidate;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
SuggestedWords.java 234 final SuggestedWordInfo candidate = mSuggestedWordInfoList.get(0);
235 return candidate.isEligibleForAutoCommit() ? candidate : null;
387 * @return position of typed word in the candidate list
Dictionary.java 173 * @param candidate The candidate suggestion, in whole (not only the first part).
176 public boolean shouldAutoCommit(final SuggestedWordInfo candidate) {
  /external/boringssl/src/crypto/bn/
prime.c 454 int BN_primality_test(int *is_probably_prime, const BIGNUM *candidate,
457 switch (BN_is_prime_fasttest_ex(candidate, checks, ctx, do_trial_division, cb)) {
470 int BN_is_prime_ex(const BIGNUM *candidate, int checks, BN_CTX *ctx, BN_GENCB *cb) {
471 return BN_is_prime_fasttest_ex(candidate, checks, ctx, 0, cb);
686 /* In the case that the candidate prime is a single word then
    [all...]
  /external/webrtc/talk/app/webrtc/objctests/
RTCPeerConnectionSyncObserver.m 189 gotICECandidate:(RTCICECandidate*)candidate {
194 [_receivedICECandidates addObject:candidate];
  /external/webrtc/webrtc/examples/androidtests/src/org/appspot/apprtc/test/
PeerConnectionClientTest.java 127 public void onIceCandidate(final IceCandidate candidate) {
129 Log.d(TAG, "IceCandidate #" + iceCandidates.size() + " : " + candidate.toString());
131 // Loopback local ICE candidate in a separate thread to avoid adding
132 // remote ICE candidate in a local ICE candidate callback.
136 pcClient.addRemoteIceCandidate(candidate);
140 iceCandidates.add(candidate);
  /external/webrtc/webrtc/tools/rtcbot/test/
three_bots_video_conference.js 81 if(event.candidate) {
82 this.addIceCandidate(event.candidate,
87 test.log("Candidate added successfully");
  /frameworks/base/core/tests/coretests/src/android/view/
FocusFinderTest.java 238 * A non-candidate (even a much closer one) is always a worse choice
239 * than a real candidate.
250 Rect candidate = new Rect(src); local
251 candidate.offset(-(4 * src.width()), 0);
252 assertDirectionIsCandidate(View.FOCUS_LEFT, src, candidate);
254 assertBetterCandidate(View.FOCUS_LEFT, src, candidate, nonCandidate);
320 * down (and not those next to but still a candidate because
457 new Rect(0, 0, 20, 1)); // candidate
462 new Rect(0, -1, 20, 0)); // candidate
467 new Rect(-1, 0, 0, 20)); // candidate
    [all...]
  /frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
find_region.rs 99 float3 candidate = rsGetElementAt_float3(mBorderValues, i).xyz;
100 sum += distance(orig, candidate);
healing.rs 102 float3 candidate = rsGetElementAt_float3(border, i).xyz;
103 sum += distance(orig, candidate);
  /libcore/ojluni/src/main/java/java/util/
Collections.java 638 T candidate = i.next(); local
642 if (next.compareTo(candidate) < 0)
643 candidate = next;
645 return candidate;
677 T candidate = i.next(); local
681 if (comp.compare(next, candidate) < 0)
682 candidate = next;
684 return candidate;
711 T candidate = i.next(); local
715 if (next.compareTo(candidate) > 0
750 T candidate = i.next(); local
    [all...]
  /external/webp/src/mux/
anim_encode.c 777 // Struct representing a candidate encoded frame including its metadata.
782 int evaluate_; // True if this candidate should be evaluated.
783 } Candidate;
785 // Generates a candidate encoded frame given a picture and metadata.
790 Candidate* const candidate) {
793 assert(candidate != NULL);
794 memset(candidate, 0, sizeof(*candidate));
797 candidate->rect_ = *rect
    [all...]
  /external/boringssl/src/ssl/
tls13_server.c 114 const SSL_CIPHER *candidate = SSL_get_cipher_by_value(cipher_suite); local
115 if (candidate == NULL ||
116 SSL_CIPHER_get_min_version(candidate) > version ||
117 SSL_CIPHER_get_max_version(candidate) < version) {
124 return candidate;
127 if (candidate->algorithm_enc == SSL_CHACHA20POLY1305) {
128 return candidate;
132 best = candidate;
  /external/guava/guava/src/com/google/common/collect/
TreeRangeSet.java 307 Entry<Cut<C>, Range<C>> candidate = rangesByLowerBound.lowerEntry(cut); local
308 if (candidate != null && candidate.getValue().upperBound.equals(cut)) {
309 return candidate.getValue();
693 Range<C> candidate = Maps.valueOrNull(rangesByLowerBound.floorEntry(cut));
694 if (candidate != null && candidate.upperBound.compareTo(restriction.lowerBound) > 0) {
695 return candidate.intersection(restriction);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
ThaiBreakEngine.java 123 //Look for candidate words at the current position
141 // Followed by another dictionary word; mark first word as a good candidate
197 int candidate = words[(wordsFound + 1) %THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); local
199 if (candidate > 0) {

Completed in 653 milliseconds

1 2 3 4 5 6 7 891011>>