/external/s2-geometry-library-java/src/com/google/common/geometry/ |
D | S2RegionCoverer.java | 108 private Candidate candidate; field in S2RegionCoverer.QueueEntry 110 public QueueEntry(int id, Candidate candidate) { in QueueEntry() argument 112 this.candidate = candidate; in QueueEntry() 345 Candidate candidate = new Candidate(); in newCandidate() local 346 candidate.cell = cell; in newCandidate() 347 candidate.isTerminal = isTerminal; in newCandidate() 349 candidate.children = new Candidate[1 << maxChildrenShift()]; in newCandidate() 352 return candidate; in newCandidate() 365 private void addCandidate(Candidate candidate) { in addCandidate() argument 366 if (candidate == null) { in addCandidate() [all …]
|
/external/llvm-project/clang/test/SemaOpenCL/ |
D | arm-integer-dot-product.cl | 11 // expected-note@opencl-c.h:* {{candidate function not viable}} 12 …// expected-note@opencl-c.h:* {{candidate unavailable as it requires OpenCL extension 'cl_arm_inte… 14 // expected-note@opencl-c.h:* {{candidate function not viable}} 15 …// expected-note@opencl-c.h:* {{candidate unavailable as it requires OpenCL extension 'cl_arm_inte… 17 // expected-note@opencl-c.h:* {{candidate function not viable}} 18 // expected-note@opencl-c.h:* {{candidate function not viable}} 19 // expected-note@opencl-c.h:* {{candidate function not viable}} 20 …// expected-note@opencl-c.h:* {{candidate unavailable as it requires OpenCL extension 'cl_arm_inte… 22 // expected-note@opencl-c.h:* {{candidate function not viable}} 23 // expected-note@opencl-c.h:* {{candidate function not viable}} [all …]
|
/external/webrtc/api/ |
D | jsep_ice_candidate.cc | 29 const cricket::Candidate& JsepIceCandidate::candidate() const { in candidate() function in webrtc::JsepIceCandidate 46 void JsepCandidateCollection::add(JsepIceCandidate* candidate) { in add() argument 47 candidates_.push_back(absl::WrapUnique(candidate)); in add() 55 const IceCandidateInterface* candidate) const { in HasCandidate() 58 return entry->sdp_mid() == candidate->sdp_mid() && in HasCandidate() 59 entry->sdp_mline_index() == candidate->sdp_mline_index() && in HasCandidate() 60 entry->candidate().IsEquivalent(candidate->candidate()); in HasCandidate() 64 size_t JsepCandidateCollection::remove(const cricket::Candidate& candidate) { in remove() argument 67 return candidate.MatchesForRemoval(c->candidate()); in remove()
|
D | jsep_ice_candidate.h | 36 const cricket::Candidate& candidate); 40 void SetCandidate(const cricket::Candidate& candidate) { in SetCandidate() argument 41 candidate_ = candidate; in SetCandidate() 46 const cricket::Candidate& candidate() const override; 68 bool HasCandidate(const IceCandidateInterface* candidate) const override; 72 virtual void add(JsepIceCandidate* candidate); 77 size_t remove(const cricket::Candidate& candidate);
|
/external/rust/crates/clap/src/ |
D | suggestions.rs | 20 let mut candidate: Option<(f64, &str)> = None; in did_you_mean() localVariable 23 if confidence > 0.8 && (candidate.is_none() || (candidate.as_ref().unwrap().0 < confidence)) in did_you_mean() 25 candidate = Some((confidence, pv.as_ref())); in did_you_mean() 28 match candidate { in did_you_mean() 30 Some((_, candidate)) => Some(candidate), in did_you_mean() 55 if let Some(candidate) = did_you_mean(arg, longs) { in did_you_mean_flag_suffix() 59 Format::Good(candidate) in did_you_mean_flag_suffix() 61 return (suffix, Some(candidate)); in did_you_mean_flag_suffix() 74 let candidate = match did_you_mean(arg, opts) { in did_you_mean_flag_suffix() localVariable 75 Some(candidate) => candidate, in did_you_mean_flag_suffix() [all …]
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberMatcher.java | 258 CharSequence candidate = text.subSequence(start, matcher.end()); in find() local 263 candidate = trimAfterFirstMatch(PhoneNumberUtil.SECOND_NUMBER_START_PATTERN, candidate); in find() 265 PhoneNumberMatch match = extractMatch(candidate, start); in find() 270 index = start + candidate.length(); in find() 281 private static CharSequence trimAfterFirstMatch(Pattern pattern, CharSequence candidate) { in trimAfterFirstMatch() argument 282 Matcher trailingCharsMatcher = pattern.matcher(candidate); in trimAfterFirstMatch() 284 candidate = candidate.subSequence(0, trailingCharsMatcher.start()); in trimAfterFirstMatch() 286 return candidate; in trimAfterFirstMatch() 320 private PhoneNumberMatch extractMatch(CharSequence candidate, int offset) { in extractMatch() argument 322 if (SLASH_SEPARATED_DATES.matcher(candidate).find()) { in extractMatch() [all …]
|
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/ |
D | PhoneNumberMatcher.java | 259 CharSequence candidate = text.subSequence(start, matcher.end()); in find() local 264 candidate = trimAfterFirstMatch(PhoneNumberUtil.SECOND_NUMBER_START_PATTERN, candidate); in find() 266 PhoneNumberMatch match = extractMatch(candidate, start); in find() 271 index = start + candidate.length(); in find() 282 private static CharSequence trimAfterFirstMatch(Pattern pattern, CharSequence candidate) { in trimAfterFirstMatch() argument 283 Matcher trailingCharsMatcher = pattern.matcher(candidate); in trimAfterFirstMatch() 285 candidate = candidate.subSequence(0, trailingCharsMatcher.start()); in trimAfterFirstMatch() 287 return candidate; in trimAfterFirstMatch() 321 private PhoneNumberMatch extractMatch(CharSequence candidate, int offset) { in extractMatch() argument 323 if (SLASH_SEPARATED_DATES.matcher(candidate).find()) { in extractMatch() [all …]
|
/external/webrtc/pc/ |
D | jsep_session_description.cc | 63 if (jsep_candidate->candidate().component() != in UpdateConnectionAddress() 68 if (jsep_candidate->candidate().protocol() != cricket::UDP_PROTOCOL_NAME) { in UpdateConnectionAddress() 72 GetCandidatePreferenceFromType(jsep_candidate->candidate().type()); in UpdateConnectionAddress() 73 const int family = jsep_candidate->candidate().address().ipaddr().family(); in UpdateConnectionAddress() 85 jsep_candidate->candidate().address(); in UpdateConnectionAddress() 219 const IceCandidateInterface* candidate) { in AddCandidate() argument 220 if (!candidate) in AddCandidate() 223 if (!GetMediasectionIndex(candidate, &mediasection_index)) { in AddCandidate() 236 cricket::Candidate updated_candidate = candidate->candidate(); in AddCandidate() 245 new JsepIceCandidate(candidate->sdp_mid(), in AddCandidate() [all …]
|
D | peer_connection_ice_unittest.cc | 57 cricket::Candidate* candidate) { in CreateJsepCandidateForFirstTransport() argument 62 candidate->set_transport_name(first_content.name); in CreateJsepCandidateForFirstTransport() 63 return CreateIceCandidate(first_content.name, -1, *candidate); in CreateJsepCandidateForFirstTransport() 67 bool AddIceCandidate(cricket::Candidate* candidate) { in AddIceCandidate() argument 69 CreateJsepCandidateForFirstTransport(candidate).get()); in AddIceCandidate() 162 cricket::Candidate candidate; in CreateLocalUdpCandidate() local 163 candidate.set_component(cricket::ICE_CANDIDATE_COMPONENT_DEFAULT); in CreateLocalUdpCandidate() 164 candidate.set_protocol(cricket::UDP_PROTOCOL_NAME); in CreateLocalUdpCandidate() 165 candidate.set_address(address); in CreateLocalUdpCandidate() 166 candidate.set_type(cricket::LOCAL_PORT_TYPE); in CreateLocalUdpCandidate() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | executor_island_coarsening.cc | 70 Operation* candidate = nullptr; in GetOperandCandidateToMergeWith() local 76 if (!candidate || candidate->isBeforeInBlock(def)) candidate = def; in GetOperandCandidateToMergeWith() 80 island.walk([graph_op, &candidate](Operation* op) { in GetOperandCandidateToMergeWith() 84 if (!candidate || candidate->isBeforeInBlock(def)) candidate = def; in GetOperandCandidateToMergeWith() 88 if (!candidate || !llvm::isa<IslandOp>(candidate)) return llvm::None; in GetOperandCandidateToMergeWith() 90 return llvm::Optional<IslandOp>(llvm::cast<IslandOp>(candidate)); in GetOperandCandidateToMergeWith() 99 Operation* candidate = nullptr; in GetResultCandidateToMergeWith() local 104 if (!candidate || user->isBeforeInBlock(candidate)) candidate = user; in GetResultCandidateToMergeWith() 113 if (!candidate || def->isBeforeInBlock(candidate)) candidate = def; in GetResultCandidateToMergeWith() 117 if (!candidate || !llvm::isa<IslandOp>(candidate)) return llvm::None; in GetResultCandidateToMergeWith() [all …]
|
/external/junit/src/main/java/org/junit/experimental/theories/ |
D | ParameterSignature.java | 66 public boolean canAcceptValue(Object candidate) { in canAcceptValue() argument 67 return (candidate == null) ? !type.isPrimitive() : canAcceptType(candidate.getClass()); in canAcceptValue() 70 public boolean canAcceptType(Class<?> candidate) { in canAcceptType() argument 71 return type.isAssignableFrom(candidate) || in canAcceptType() 72 isAssignableViaTypeConversion(type, candidate); in canAcceptType() 75 public boolean canPotentiallyAcceptType(Class<?> candidate) { in canPotentiallyAcceptType() argument 76 return candidate.isAssignableFrom(type) || in canPotentiallyAcceptType() 77 isAssignableViaTypeConversion(candidate, type) || in canPotentiallyAcceptType() 78 canAcceptType(candidate); in canPotentiallyAcceptType() 81 private boolean isAssignableViaTypeConversion(Class<?> targetType, Class<?> candidate) { in isAssignableViaTypeConversion() argument [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | LiveTraverser.h | 75 TIntermAggregate* candidate = globals[f]->getAsAggregate(); in pushFunction() local 76 if (candidate && candidate->getOp() == EOpFunction && candidate->getName() == name) { in pushFunction() 77 destinations.push_back(candidate); in pushFunction() 87 TIntermAggregate* candidate = globals[f]->getAsAggregate(); in pushGlobalReference() local 88 if (candidate && candidate->getOp() == EOpSequence && in pushGlobalReference() 89 candidate->getSequence().size() == 1 && in pushGlobalReference() 90 candidate->getSequence()[0]->getAsBinaryNode()) { in pushGlobalReference() 91 TIntermBinary* binary = candidate->getSequence()[0]->getAsBinaryNode(); in pushGlobalReference() 95 destinations.push_back(candidate); in pushGlobalReference()
|
/external/webrtc/test/fuzzers/corpora/sdp-corpus/ |
D | unittest-1.sdp | 9 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1234 typ host generation 2 10 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1235 typ host generation 2 11 a=candidate:a0+B/2 1 udp 2130706432 ::1 1238 typ host generation 2 12 a=candidate:a0+B/2 2 udp 2130706432 ::1 1239 typ host generation 2 13 a=candidate:a0+B/3 1 udp 2130706432 74.125.127.126 2345 typ srflx raddr 192.168.1.5 rport 2346 gene… 14 a=candidate:a0+B/3 2 udp 2130706432 74.125.127.126 2347 typ srflx raddr 192.168.1.5 rport 2348 gene… 32 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1236 typ host generation 2 33 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1237 typ host generation 2 34 a=candidate:a0+B/2 2 udp 2130706432 ::1 1240 typ host generation 2 35 a=candidate:a0+B/2 1 udp 2130706432 ::1 1241 typ host generation 2 [all …]
|
D | unittest-9.sdp | 9 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1234 typ host generation 2 10 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1235 typ host generation 2 11 a=candidate:a0+B/2 1 udp 2130706432 ::1 1238 typ host generation 2 12 a=candidate:a0+B/2 2 udp 2130706432 ::1 1239 typ host generation 2 13 a=candidate:a0+B/3 1 udp 2130706432 74.125.127.126 2345 typ srflx raddr 192.168.1.5 rport 2346 gene… 14 a=candidate:a0+B/3 2 udp 2130706432 74.125.127.126 2347 typ srflx raddr 192.168.1.5 rport 2348 gene… 37 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1236 typ host generation 2 38 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1237 typ host generation 2 39 a=candidate:a0+B/2 2 udp 2130706432 ::1 1240 typ host generation 2 40 a=candidate:a0+B/2 1 udp 2130706432 ::1 1241 typ host generation 2 [all …]
|
D | unittest-8.sdp | 9 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1234 typ host generation 2 10 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1235 typ host generation 2 11 a=candidate:a0+B/2 1 udp 2130706432 ::1 1238 typ host generation 2 12 a=candidate:a0+B/2 2 udp 2130706432 ::1 1239 typ host generation 2 13 a=candidate:a0+B/3 1 udp 2130706432 74.125.127.126 2345 typ srflx raddr 192.168.1.5 rport 2346 gene… 14 a=candidate:a0+B/3 2 udp 2130706432 74.125.127.126 2347 typ srflx raddr 192.168.1.5 rport 2348 gene… 36 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1236 typ host generation 2 37 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1237 typ host generation 2 38 a=candidate:a0+B/2 2 udp 2130706432 ::1 1240 typ host generation 2 39 a=candidate:a0+B/2 1 udp 2130706432 ::1 1241 typ host generation 2 [all …]
|
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
D | InvocationMatcher.java | 80 public boolean matches(Invocation candidate) { in matches() argument 81 …return invocation.getMock().equals(candidate.getMock()) && hasSameMethod(candidate) && argumentsMa… in matches() 88 public boolean hasSimilarMethod(Invocation candidate) { in hasSimilarMethod() argument 90 String candidateMethodName = candidate.getMethod().getName(); in hasSimilarMethod() 95 if (candidate.isVerified()) { in hasSimilarMethod() 98 if (getInvocation().getMock() != candidate.getMock()) { in hasSimilarMethod() 101 if (hasSameMethod(candidate)) { in hasSimilarMethod() 105 return !argumentsMatch(candidate); in hasSimilarMethod() 109 public boolean hasSameMethod(Invocation candidate) { in hasSameMethod() argument 113 Method m2 = candidate.getMethod(); in hasSameMethod()
|
/external/skqp/src/core/ |
D | SkTDynamicHash.h | 94 T* candidate = fArray[index]; in find() local 95 if (Empty() == candidate) { in find() 98 if (Deleted() != candidate && GetKey(*candidate) == key) { in find() 99 return candidate; in find() 148 const T* candidate = fArray[index]; in countCollisions() local 149 if (Empty() == candidate || Deleted() == candidate || GetKey(*candidate) == key) { in countCollisions() 212 const T* candidate = fArray[index]; in innerAdd() local 213 if (Empty() == candidate || Deleted() == candidate) { in innerAdd() 214 if (Deleted() == candidate) { in innerAdd() 231 const T* candidate = fArray[index]; in innerRemove() local [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_program_pair.c | 42 int candidate = -1; in rc_pair_alloc_source() local 88 candidate = i; in rc_pair_alloc_source() 93 candidate = RC_PAIR_PRESUB_SRC; in rc_pair_alloc_source() 94 } else if (candidate < 0 || (rgb && rgb_used > 2) in rc_pair_alloc_source() 102 pair->RGB.Src[candidate].Used = 1; in rc_pair_alloc_source() 103 pair->RGB.Src[candidate].File = file; in rc_pair_alloc_source() 104 pair->RGB.Src[candidate].Index = index; in rc_pair_alloc_source() 105 if (candidate == RC_PAIR_PRESUB_SRC) { in rc_pair_alloc_source() 115 pair->Alpha.Src[candidate].Used = 1; in rc_pair_alloc_source() 116 pair->Alpha.Src[candidate].File = file; in rc_pair_alloc_source() [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | registry_test.py | 39 def testRegistryBasics(self, candidate): argument 43 myreg.register(candidate) 44 self.assertEqual(myreg.lookup(candidate.__name__), candidate) 45 myreg.register(candidate, 'testKey') 46 self.assertEqual(myreg.lookup('testKey'), candidate) 48 sorted(myreg.list()), sorted(['testKey', candidate.__name__]))
|
/external/webrtc/sdk/objc/api/peerconnection/ |
D | RTCIceCandidate.mm | 48 (const webrtc::IceCandidateInterface *)candidate { 49 NSParameterAssert(candidate); 51 candidate->ToString(&sdp); 55 sdpMLineIndex:candidate->sdp_mline_index() 56 sdpMid:[NSString stringForStdString:candidate->sdp_mid()]]; 57 rtcCandidate->_serverUrl = [NSString stringForStdString:candidate->server_url()]; 64 webrtc::IceCandidateInterface *candidate = webrtc::CreateIceCandidate( 67 if (!candidate) { 68 RTCLog(@"Failed to create ICE candidate: %s\nline: %s", 73 return std::unique_ptr<webrtc::IceCandidateInterface>(candidate);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ |
D | Primes.java | 150 …public static MROutput enhancedMRProbablePrimeTest(BigInteger candidate, SecureRandom random, int … in enhancedMRProbablePrimeTest() argument 152 checkCandidate(candidate, "candidate"); in enhancedMRProbablePrimeTest() 163 if (candidate.bitLength() == 2) in enhancedMRProbablePrimeTest() 167 if (!candidate.testBit(0)) in enhancedMRProbablePrimeTest() 172 BigInteger w = candidate; in enhancedMRProbablePrimeTest() 173 BigInteger wSubOne = candidate.subtract(ONE); in enhancedMRProbablePrimeTest() 174 BigInteger wSubTwo = candidate.subtract(TWO); in enhancedMRProbablePrimeTest() 253 public static boolean hasAnySmallFactors(BigInteger candidate) in hasAnySmallFactors() argument 255 checkCandidate(candidate, "candidate"); in hasAnySmallFactors() 257 return implHasAnySmallFactors(candidate); in hasAnySmallFactors() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ |
D | Primes.java | 154 …public static MROutput enhancedMRProbablePrimeTest(BigInteger candidate, SecureRandom random, int … in enhancedMRProbablePrimeTest() argument 156 checkCandidate(candidate, "candidate"); in enhancedMRProbablePrimeTest() 167 if (candidate.bitLength() == 2) in enhancedMRProbablePrimeTest() 171 if (!candidate.testBit(0)) in enhancedMRProbablePrimeTest() 176 BigInteger w = candidate; in enhancedMRProbablePrimeTest() 177 BigInteger wSubOne = candidate.subtract(ONE); in enhancedMRProbablePrimeTest() 178 BigInteger wSubTwo = candidate.subtract(TWO); in enhancedMRProbablePrimeTest() 257 public static boolean hasAnySmallFactors(BigInteger candidate) in hasAnySmallFactors() argument 259 checkCandidate(candidate, "candidate"); in hasAnySmallFactors() 261 return implHasAnySmallFactors(candidate); in hasAnySmallFactors() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/math/ |
D | Primes.java | 154 …public static MROutput enhancedMRProbablePrimeTest(BigInteger candidate, SecureRandom random, int … in enhancedMRProbablePrimeTest() argument 156 checkCandidate(candidate, "candidate"); in enhancedMRProbablePrimeTest() 167 if (candidate.bitLength() == 2) in enhancedMRProbablePrimeTest() 171 if (!candidate.testBit(0)) in enhancedMRProbablePrimeTest() 176 BigInteger w = candidate; in enhancedMRProbablePrimeTest() 177 BigInteger wSubOne = candidate.subtract(ONE); in enhancedMRProbablePrimeTest() 178 BigInteger wSubTwo = candidate.subtract(TWO); in enhancedMRProbablePrimeTest() 257 public static boolean hasAnySmallFactors(BigInteger candidate) in hasAnySmallFactors() argument 259 checkCandidate(candidate, "candidate"); in hasAnySmallFactors() 261 return implHasAnySmallFactors(candidate); in hasAnySmallFactors() [all …]
|
/external/webrtc/test/peer_scenario/ |
D | signaling_route.cc | 24 explicit IceMessage(const IceCandidateInterface* candidate) in IceMessage() 25 : sdp_mid(candidate->sdp_mid()), in IceMessage() 26 sdp_mline_index(candidate->sdp_mline_index()) { in IceMessage() 27 RTC_CHECK(candidate->ToString(&sdp_line)); in IceMessage() 31 std::unique_ptr<IceCandidateInterface> candidate( in AsCandidate() local 33 RTC_CHECK(candidate) << "Failed to parse: \"" << err.line in AsCandidate() 35 return candidate; in AsCandidate() 46 [=](const IceCandidateInterface* candidate) { in StartIceSignalingForRoute() argument 47 IceMessage msg(candidate); in StartIceSignalingForRoute()
|
/external/webrtc/sdk/android/src/jni/pc/ |
D | ice_candidate.cc | 46 cricket::Candidate candidate; in JavaToNativeCandidate() local 47 if (!SdpDeserializeCandidate(sdp_mid, sdp, &candidate, NULL)) { in JavaToNativeCandidate() 50 return candidate; in JavaToNativeCandidate() 55 const cricket::Candidate& candidate) { in NativeToJavaCandidate() argument 56 std::string sdp = SdpSerializeCandidate(candidate); in NativeToJavaCandidate() 59 return CreateJavaIceCandidate(env, candidate.transport_name(), in NativeToJavaCandidate() 61 "" /* server_url */, candidate.network_type()); in NativeToJavaCandidate() 66 const IceCandidateInterface& candidate) { in NativeToJavaIceCandidate() argument 68 RTC_CHECK(candidate.ToString(&sdp)) << "got so far: " << sdp; in NativeToJavaIceCandidate() 69 return CreateJavaIceCandidate(env, candidate.sdp_mid(), in NativeToJavaIceCandidate() [all …]
|