HomeSort by relevance Sort by last modified time
    Searched refs:candidate (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
WnnWord.java 28 public String candidate; field in class:WnnWord
35 /** The attribute of this word when it is assumed a candidate. */
48 * @param candidate The string of word
51 public WnnWord(String candidate, String stroke) {
52 this(0, candidate, stroke, new WnnPOS(), 0, 0);
58 * @param candidate The string of word
62 public WnnWord(String candidate, String stroke, int frequency) {
63 this(0, candidate, stroke, new WnnPOS(), frequency, 0);
69 * @param candidate The string of word
73 public WnnWord(String candidate, String stroke, WnnPOS posTag)
    [all...]
WnnClause.java 29 * @param candidate The string of the clause
34 public WnnClause(String candidate, String stroke, WnnPOS posTag, int frequency) {
35 super(candidate,
49 stem.candidate,
65 stem.candidate + fzk.candidate,
WnnSentence.java 41 this.candidate = "";
52 this.candidate = headClause.candidate;
58 StringBuffer candidate = new StringBuffer(); local
62 candidate.append(clause.candidate);
67 this.candidate = candidate.toString();
84 this.candidate = clause.candidate;
    [all...]
StrSegmentClause.java 36 super(clause.candidate, from, to);
CandidateFilter.java 46 String str = word.candidate;
UserDictionaryToolsList.java 381 wnnWordSearch.candidate = focusString.toString();
384 wnnWordSearch.candidate = focusPairString.toString();
550 int len = getword.candidate.length();
554 if (searchword.candidate.equals(getword.candidate)) {
557 delword.candidate = searchword.candidate;
658 UserDictionaryToolsListFocus candidate = new UserDictionaryToolsListFocus(this); local
659 candidate.setId(i+MAX_WORD_COUNT);
660 candidate.setWidth(system_width/2)
    [all...]
UserDictionaryToolsEdit.java 77 /** The constant for notifying dialog (The length of specified stroke or candidate exceeds the limit) */
151 mBeforeEditWnnWord.candidate = ((TextView)sFocusingPairView).getText().toString();
198 /* Text changed listener for the candidate text */
251 String candidate = mCandidateEditText.getText().toString(); local
252 if (addDictionary(stroke, candidate)) {
263 String candidate = mCandidateEditText.getText().toString(); local
264 if (addDictionary(stroke, candidate)) {
267 addDictionary(mBeforeEditWnnWord.stroke, mBeforeEditWnnWord.candidate);
335 * @param candidate The string of the word
338 private boolean addDictionary(String stroke, String candidate) {
    [all...]
OpenWnnDictionaryImpl.java 46 /** The maximum length of candidate */
62 protected static final String COLUMN_NAME_CANDIDATE = "candidate";
471 queryArgs[ 1 ] = wnnWord.candidate;
602 OpenWnnDictionaryImplJni.setCandidate( this.mWnnWork, wnnWord.candidate );
646 result.candidate = mDbCursor.getString( 1 );
681 result.candidate = OpenWnnDictionaryImplJni.getCandidate( this.mWnnWork );
724 words[ i ].candidate = cursor.getString( 1 );
    [all...]
  /external/elfutils/lib/
next_prime.c 21 /* Test whether CANDIDATE is a prime. */
23 is_prime (size_t candidate)
29 while (sq < candidate && candidate % divn != 0)
39 return candidate % divn != 0;
  /external/v8/src/
version.cc 59 const char* candidate = IsCandidate() ? " (candidate)" : ""; local
62 GetMajor(), GetMinor(), GetBuild(), GetPatch(), candidate);
65 GetMajor(), GetMinor(), GetBuild(), candidate);
74 const char* candidate = IsCandidate() ? "-candidate" : ""; local
77 GetMajor(), GetMinor(), GetBuild(), GetPatch(), candidate);
80 GetMajor(), GetMinor(), GetBuild(), candidate);
version.h 59 bool candidate, const char* soname);
  /external/v8/test/cctest/
test-version.cc 40 bool candidate, const char* soname) {
45 Version::candidate_ = candidate;
53 int patch, bool candidate,
60 SetVersion(major, minor, build, patch, candidate, "");
68 SetVersion(major, minor, build, patch, candidate, soname);
79 "0.0.0 (candidate)", "libv8-0.0.0-candidate.so");
82 "1.0.0 (candidate)", "libv8-1.0.0-candidate.so");
85 "1.0.0.1 (candidate)", "libv8-1.0.0.1-candidate.so")
    [all...]
  /external/guava/src/com/google/common/collect/
RegularImmutableSet.java 50 Object candidate = table[i & mask]; local
51 if (candidate == null) {
54 if (candidate.equals(target)) {
  /libcore/xml/src/main/java/org/xmlpull/v1/
XmlPullParserFactory.java 306 Class candidate = null; local
310 candidate = Class.forName (name);
312 instance = candidate.newInstance ();
316 if (candidate != null) {
319 parserClasses.add(candidate);
323 serializerClasses.add(candidate);
  /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...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
OpenWnnEngineEN.java 54 /** The candidate filter */
58 * Candidate's case
102 * Get a candidate.
104 * @param index Index of candidate
105 * @return A candidate; {@code null} if no candidate for the index.
109 /* search the candidate from the dictionaries */
113 char c = word.candidate.charAt(0);
120 word.candidate = Character.toString(Character.toUpperCase(c)) + word.candidate.substring(1)
    [all...]
  /external/wpa_supplicant/
preauth.c 40 * pmksa_candidate_free - Free all entries in PMKSA candidate list
290 * Go through the PMKSA candidates and start pre-authentication if a candidate
296 struct rsn_pmksa_candidate *candidate; local
301 /* TODO: drop priority for old candidate entries */
303 wpa_msg(sm->ctx->ctx, MSG_DEBUG, "RSN: processing PMKSA candidate "
316 candidate = sm->pmksa_candidates;
317 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL);
318 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 &&
321 "candidate " MACSTR
323 MAC2STR(candidate->bssid))
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
preauth.c 42 * pmksa_candidate_free - Free all entries in PMKSA candidate list
290 * Go through the PMKSA candidates and start pre-authentication if a candidate
296 struct rsn_pmksa_candidate *candidate; local
301 /* TODO: drop priority for old candidate entries */
303 wpa_msg(sm->ctx->ctx, MSG_DEBUG, "RSN: processing PMKSA candidate "
317 candidate = sm->pmksa_candidates;
318 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL);
319 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 &&
322 "candidate " MACSTR
324 MAC2STR(candidate->bssid))
    [all...]
  /frameworks/base/core/java/android/text/
Layout.java 902 int candidate; local
904 candidate = TextUtils.getOffsetBefore(mText, offset);
905 if (candidate >= start && candidate <= end) {
906 float h = getPrimaryHorizontal(candidate);
909 best = candidate;
914 candidate = TextUtils.getOffsetAfter(mText, offset);
915 if (candidate >= start && candidate <= end) {
916 float h = getPrimaryHorizontal(candidate);
1002 int candidate; local
    [all...]
  /external/webkit/WebKit/android/nav/
CachedNode.cpp 175 // construct candidate to add
176 WebCore::IntRect candidate = WebCore::IntRect(candidateLeft, candidateTop,
178 // does a different unit bounds intersect the candidate? if so, don't add
181 if (checkBoundsPtr->intersects(candidate) == false)
203 candidate = WebCore::IntRect(candidateLeft, candidateTop,
205 ASSERT(candidate.isEmpty() == false);
208 candidate.x(), candidate.y(), candidate.width(), candidate.height())
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
MultiSourceCorpus.java 91 for (Source candidate : getSources()) {
92 if (candidate.getQueryThreshold() <= query.length()) {
93 sources.add(candidate);
  /build/tools/apicheck/src/com/android/apicheck/
ClassInfo.java 91 public MethodInfo overriddenMethod(MethodInfo candidate) {
99 if (mi.matches(candidate)) {
107 return mSuperClass.overriddenMethod(candidate);
115 public MethodInfo interfaceMethod(MethodInfo candidate) {
118 if (mi.matches(candidate)) {
123 return (mSuperClass != null) ? mSuperClass.interfaceMethod(candidate) : null;
  /external/webkit/SunSpider/resources/
sunspider-analyze-results.js 209 var candidate = categoryMeans[category].toFixed(2).toString().length;
210 if (candidate > width)
211 width = candidate;
213 var candidate = testMeansByCategory[category][test].toFixed(2).toString().length;
214 if (candidate > width)
215 width = candidate;
  /frameworks/base/core/java/android/app/
ApplicationErrorReport.java 167 String candidate = pm.getInstallerPackageName(packageName); local
168 ComponentName result = getErrorReportReceiver(pm, packageName, candidate);
176 candidate = SystemProperties.get(SYSTEM_APPS_ERROR_RECEIVER_PROPERTY);
177 result = getErrorReportReceiver(pm, packageName, candidate);
184 candidate = SystemProperties.get(DEFAULT_ERROR_RECEIVER_PROPERTY);
185 return getErrorReportReceiver(pm, packageName, candidate);
193 * @param receiverPackage candidate package to receive the error
  /external/webkit/WebCore/editing/
VisiblePosition.cpp 443 static Position canonicalizeCandidate(const Position& candidate)
445 if (candidate.isNull())
447 ASSERT(candidate.isCandidate());
448 Position upstream = candidate.upstream();
451 return candidate;
456 // FIXME (9535): Canonicalizing to the leftmost candidate means that if we're at a line wrap, we will
459 // the appropriate renderer for VisiblePosition's like these, or b) canonicalize to the rightmost candidate
467 Position candidate = position.upstream(); local
468 if (candidate.isCandidate())
469 return candidate;
    [all...]

Completed in 579 milliseconds

1 2 3 4