HomeSort by relevance Sort by last modified time
    Searched defs:candidate (Results 26 - 50 of 71) sorted by null

12 3

  /external/bison/lib/
hash.c 433 /* Return true if CANDIDATE is a prime number. CANDIDATE should be an odd
437 is_prime (size_t candidate)
442 while (square < candidate && (candidate % divisor))
449 return (candidate % divisor ? true : false);
452 /* Round a given CANDIDATE number up to the nearest prime, and return that
456 next_prime (size_t candidate)
459 if (candidate < 10)
460 candidate = 10
960 float candidate = local
1010 size_t candidate = local
    [all...]
  /external/chromium/chrome/browser/chromeos/input_method/
input_method_util.cc 677 const std::string& candidate = candidates[i]; local
681 candidate) == 0) {
682 input_method_ids.push_back(candidate);
  /external/chromium/chrome/browser/chromeos/login/
login_utils.cc 502 const std::string& candidate = candidates[i]; local
505 candidate) == 0) {
506 language_codes.push_back(candidate);
  /external/chromium/third_party/libjingle/source/talk/p2p/base/
transport.cc 32 #include "talk/p2p/base/candidate.h"
43 ChannelParams() : channel(NULL), candidate(NULL) {}
45 : name(name), channel(NULL), candidate(NULL) {}
49 channel(NULL), candidate(NULL) {}
50 explicit ChannelParams(cricket::Candidate* candidate) :
51 channel(NULL), candidate(candidate) {
52 name = candidate->name();
56 delete candidate;
62 cricket::Candidate* candidate; member in struct:cricket::ChannelParams
    [all...]
p2ptransportchannel.cc 104 // Compare the candidate information.
289 // A new candidate is available, let listeners know
291 PortAllocatorSession *session, const std::vector<Candidate>& candidates) {
305 // candidate list. If it isn't return error to the stun request.
307 const Candidate *candidate = NULL; local
311 candidate = &(*it);
315 if (candidate == NULL) {
330 Candidate new_remote_candidate = *candidate;
    [all...]
  /external/dnsmasq/src/
dhcp.c 669 struct dhcp_config *config, *candidate; local
703 for (candidate = NULL, count = 0, config = configs; config; config = config->next)
712 candidate = config;
715 return candidate;
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
PhoneNumberMatcher.java 188 * @param leniency the leniency to use when evaluating candidate phone numbers
246 CharSequence candidate = text.subSequence(start, matcher.end()); local
251 candidate = trimAfterFirstMatch(PhoneNumberUtil.SECOND_NUMBER_START_PATTERN, candidate);
253 PhoneNumberMatch match = extractMatch(candidate, start);
258 index = start + candidate.length();
266 * Trims away any characters after the first match of {@code pattern} in {@code candidate},
269 private static CharSequence trimAfterFirstMatch(Pattern pattern, CharSequence candidate) {
270 Matcher trailingCharsMatcher = pattern.matcher(candidate);
272 candidate = candidate.subSequence(0, trailingCharsMatcher.start())
    [all...]
  /external/webkit/Source/WebCore/editing/
VisiblePosition.cpp 460 static Position canonicalizeCandidate(const Position& candidate)
462 if (candidate.isNull())
464 ASSERT(candidate.isCandidate());
465 Position upstream = candidate.upstream();
468 return candidate;
478 // FIXME (9535): Canonicalizing to the leftmost candidate means that if we're at a line wrap, we will
481 // the appropriate renderer for VisiblePosition's like these, or b) canonicalize to the rightmost candidate
491 Position candidate = position.upstream(); local
492 if (candidate.isCandidate())
493 return candidate;
    [all...]
SelectionController.cpp 1611 Position candidate = startPos.downstream(); local
    [all...]
  /external/webkit/Source/WebKit/android/WebCoreSupport/autofill/
FormManagerAndroid.cpp 644 HTMLFormControlElement* candidate = iter->get(); local
645 if (nameForAutofill(*candidate) == nameForAutofill(*element)) {
    [all...]
  /frameworks/base/core/java/android/app/
ApplicationErrorReport.java 170 String candidate = pm.getInstallerPackageName(packageName); local
171 ComponentName result = getErrorReportReceiver(pm, packageName, candidate);
179 candidate = SystemProperties.get(SYSTEM_APPS_ERROR_RECEIVER_PROPERTY);
180 result = getErrorReportReceiver(pm, packageName, candidate);
187 candidate = SystemProperties.get(DEFAULT_ERROR_RECEIVER_PROPERTY);
188 return getErrorReportReceiver(pm, packageName, candidate);
196 * @param receiverPackage candidate package to receive the error
  /packages/inputmethods/OpenWnn/libs/libwnnDictionary/
OpenWnnDictionaryImplJni.c 539 NJ_CHAR candidate[ NJ_MAX_LEN + NJ_TERM_LEN ]; local
541 if( njx_get_candidate( &( work->wnnClass ), &( work->result ), candidate, sizeof( NJ_CHAR ) * ( NJ_MAX_RESULT_LEN + NJ_TERM_LEN ) ) >= 0 &&
542 convertNjCharToString( env, &str, candidate, NJ_MAX_RESULT_LEN ) >= 0 ) {
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/code/
RopTranslator.java 412 * There's no obvious candidate, so pick the first
419 int candidate = successors.get(i); local
420 if (Bits.get(workSet, candidate)) {
421 label = candidate;
  /dalvik/dx/src/com/android/dx/dex/code/
RopTranslator.java 419 * There's no obvious candidate, so pick the first
426 int candidate = successors.get(i); local
427 if (Bits.get(workSet, candidate)) {
428 label = candidate;
  /external/webkit/Source/WebCore/dom/
Position.cpp 513 // that map to the VisiblePosition between 'b' and the space. This function will return the left candidate
515 // Also, upstream() will return [boundary, 0] for any of the positions from [boundary, 0] to the first candidate
635 // that map to the VisiblePosition between 'b' and the space. This function will return the right candidate
638 // in boundary after the last candidate, where endsOfNodeAreVisuallyDistinctPositions(boundary).
1087 InlineTextBox* candidate = 0; local
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
proxydetect.cc 450 Pathname candidate; local
459 candidate.clear();
469 candidate = path;
471 candidate.clear();
473 candidate.AppendFolder(line.substr(5));
476 if ((line.at(8) != '0') && !candidate.empty()) {
482 if (candidate.empty()) {
485 profile_path->SetPathname(candidate.pathname());
    [all...]
  /external/v8/src/
hydrogen-instructions.cc 944 HValue* candidate = NULL; local
947 while (position < count && candidate == NULL) {
949 if (current != this) candidate = current;
953 if (current != this && current != candidate) return NULL;
955 ASSERT(candidate != this);
956 return candidate;
    [all...]
  /frameworks/base/services/java/com/android/server/
TextServicesManagerService.java 248 SpellCheckerSubtype candidate = null; local
254 } else if (candidate == null) {
261 candidate = scs;
276 return candidate;
    [all...]
  /libcore/luni/src/main/java/libcore/net/http/
HttpEngine.java 249 CacheResponse candidate = responseCache.get(uri, method, local
251 if (candidate == null) {
255 Map<String, List<String>> responseHeadersMap = candidate.getHeaders();
256 cachedResponseBody = candidate.getBody();
257 if (!acceptCacheResponseType(candidate)
269 this.cacheResponse = candidate;
272 this.cacheResponse = candidate;
  /packages/apps/Gallery/src/com/android/camera/
CropImage.java 362 String candidate = directory.toString() local
364 boolean exists = (new File(candidate)).exists();
  /dalvik/dx/src/com/android/dx/cf/code/
Ropper.java 376 int candidate = getMinimumUnreservedLabel(); local
380 if (label >= candidate) {
381 candidate = label + 1;
385 return candidate;
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DTMDefaultBase.java 1357 int candidate=m_namespaceDeclSetElements.elementAt(-- wouldBeAt); local
    [all...]
  /external/chromium/chrome/browser/sync/syncable/
syncable.cc 1711 ParentIdChildIndex::iterator candidate = local
1742 ParentIdChildIndex::iterator candidate = local
1779 EntryKernel* candidate = *sibling; local
    [all...]
  /external/v8/src/x64/
code-stubs-x64.cc 4011 Register candidate = scratch; \/\/ Scratch register contains candidate. local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
AndroidLaunchController.java 409 IAndroidTarget candidate = null; local
416 candidate = target;
425 if (candidate != null) {
426 // We found a better SDK target candidate, that is closer to the
430 projectTarget = candidate;
    [all...]

Completed in 1163 milliseconds

12 3