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

1 2 3

  /bionic/libc/inet/
inet_ntop.c 105 struct { int base, len; } best, cur; local
118 best.base = -1;
119 best.len = 0;
130 if (best.base == -1 || cur.len > best.len)
131 best = cur;
137 if (best.base == -1 || cur.len > best.len)
138 best = cur;
140 if (best.base != -1 && best.len < 2
    [all...]
  /external/tcpdump/missing/
inet_ntop.c 117 } best, cur; local
129 best.base = -1;
141 if (best.base == -1 || cur.len > best.len)
142 best = cur;
146 if ((cur.base != -1) && (best.base == -1 || cur.len > best.len))
147 best = cur;
148 if (best.base != -1 && best.len < 2
    [all...]
  /external/ppp/pppd/plugins/pppoatm/
misc.c 24 int i,best; local
30 best = -1;
35 best = i;
40 if (best > -1) (*pos) += best_len;
41 return best;
  /external/libvpx/vp8/common/
findnearmv.h 24 MV *nearest, MV *nearby, MV *best,
  /external/v8/src/
log-utils.cc 426 // Best compression result among records in the buffer.
432 } best = {-1, 0, 0, 0};
463 if (truncated_len > best.truncated_len) {
464 best.truncated_len = truncated_len;
465 best.distance = distance;
466 best.copy_from_pos = copy_from_pos;
467 best.backref_size = GetBackwardReferenceSize(distance, copy_from_pos);
471 if (best.distance == 0) {
478 const intptr_t unchanged_len = prev.length() - best.truncated_len;
480 ASSERT(prev_record->length() >= unchanged_len + best.backref_size + 1)
    [all...]
  /external/chromium/net/http/
http_auth.cc 41 scoped_refptr<HttpAuthHandler> best; local
48 if (cur && (!best || best->score() < cur->score()))
49 best.swap(cur);
51 handler->swap(best);
  /frameworks/base/core/java/android/content/
SyncQueue.java 131 SyncOperation best = null; local
149 // if the unsyncable state differs, make the current the best if it is unsyncable
150 // else, if the expedited state differs, make the current the best if it is expedited
151 // else, make the current the best if it is earlier than the best
152 if (best == null
154 ? (best.expedited == op.expedited
158 best = op;
163 if (best == null) {
166 return Pair.create(best, bestRunTime)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/x11/
SDL_x11modes.c 109 int best = -1; local
116 best = i;
121 if ( best < 0 ||
122 (modes[i]->hdisplay < modes[best]->hdisplay &&
123 modes[i]->vdisplay <= modes[best]->vdisplay) ||
124 (modes[i]->vdisplay < modes[best]->vdisplay &&
125 modes[i]->hdisplay <= modes[best]->hdisplay) ) {
126 best = i;
130 if ( best >= 0 &&
131 ((modes[best]->hdisplay != mode.hdisplay) |
    [all...]
  /external/quake/quake/src/WinQuake/
pr_exec.cpp 224 dfunction_t *f, *best; local
233 best = NULL;
240 best = f;
243 if (best)
246 Con_Printf ("%7i %s\n", best->profile, pr_strings+best->s_name);
248 best->profile = 0;
250 } while (best);
  /frameworks/base/core/java/android/util/
TimeUtils.java 49 TimeZone best = null; local
92 if (best == null) {
97 best = tz;
111 return best;
  /frameworks/base/core/java/android/text/
Layout.java 752 int best = min; local
753 float bestdist = Math.abs(getPrimaryHorizontal(best) - horiz);
795 best = low;
803 best = here;
813 best = max;
816 return best;
900 int best = offset; local
909 best = candidate;
919 best = candidate;
933 best = here
1000 int best = offset; local
    [all...]
  /external/libvpx/vp8/encoder/
encodemb.c 275 int best; local
344 /* And pick the best. */
345 best = rd_cost1 < rd_cost0;
349 tokens[i][0].rate = base_bits + (best ? rate1 : rate0);
350 tokens[i][0].error = d2 + (best ? error1 : error0);
354 best_mask[0] |= best << i;
410 /* And pick the best. */
411 best = rd_cost1 < rd_cost0;
419 tokens[i][1].rate = base_bits + (best ? rate1 : rate0);
420 tokens[i][1].error = d2 + (best ? error1 : error0)
    [all...]
  /external/jdiff/src/jdiff/
DiffMyers.java 207 int best = 0; local
215 if (fd[fdiagoff + d] * 2 - dd > best
222 /* We have a good enough best diagonal;
230 best = fd[fdiagoff + d] * 2 - dd;
236 if (best > 0)
242 best = 0;
248 if ((xlim - bd[bdiagoff + d]) * 2 + dd > best
252 /* We have a good enough best diagonal;
262 best = (xlim - bd[bdiagoff + d]) * 2 + dd;
268 if (best > 0
    [all...]
  /external/quake/quake/src/QW/server/
pr_exec.c 224 dfunction_t *f, *best; local
233 best = NULL;
240 best = f;
243 if (best)
246 Con_Printf ("%7i %s\n", best->profile, PR_GetString(best->s_name));
248 best->profile = 0;
250 } while (best);
  /frameworks/base/core/java/android/text/util/
Rfc822Tokenizer.java 216 int best = 0; local
230 best = i;
235 return best;
  /packages/apps/Settings/src/com/android/settings/
DisplaySettings.java 133 int best = 0; local
137 if (val <= animations && val > best) {
138 best = val;
  /external/webkit/WebKit/android/nav/
CachedRoot.cpp 684 bool CachedRoot::adjustForScroll(BestData* best, CachedFrame::Direction direction,
688 const CachedNode* newNode = best->mNode;
694 if (best->bounds().intersects(mHistory->mPriorBounds) == false &&
695 checkBetween(best, direction))
696 newNode = best->mNode;
697 if (findClosest && maskIfHidden(best)) {
698 innerMove(document(), best, direction, scrollPtr, false); local
701 newOutset = newNode->cursorRingBounds(best->mFrame);
706 (best->mNavOutside && best->mWorkingOutside))
780 int best = INT_MAX; local
    [all...]
CachedFrame.cpp 90 bool CachedFrame::checkBetween(BestData* best, Direction direction)
92 const WebCore::IntRect& bestRect = best->bounds();
116 *best = test;
142 // returns 0 if test is preferable to best, 1 if not preferable, or -1 if unknown
154 // center and best center, choose it
284 int best = bestData.mDistance + bestData.mSideDistance; local
285 if (distance > best) {
289 else if (distance < best)
291 best = bestData.mSideDistance;
292 if (testData.mSideDistance > best) {
    [all...]
  /device/samsung/crespo/alsa-lib/src/pcm/
interval.h 80 int boundary_nearer(int min, int mindir, int best, int bestdir, int max, int maxdir);
pcm_params.c 818 unsigned int best = *val, saved_min; local
825 if (best > INT_MAX)
826 best = INT_MAX;
827 min = max = best;
857 if (boundary_nearer(max, maxdir, best, valdir, min, mindir)) {
882 nearest to BEST after VAL (on equal difference values less than BEST are
891 unsigned int best, int bestdir,
902 if (best > INT_MAX)
903 best = INT_MAX
1007 unsigned int best = snd_interval_min(it), cur, prev; local
    [all...]
interval.c 432 /* Return 1 if min is nearer to best than max */
433 int boundary_nearer(int min, int mindir, int best, int bestdir, int max, int maxdir)
437 boundary_sub(best, bestdir, min, mindir, &dmin, &dmindir);
438 boundary_sub(max, maxdir, best, bestdir, &dmax, &dmaxdir);
  /packages/apps/Gallery/src/com/android/camera/
ViewImage.java     [all...]
  /external/quake/quake/src/QW/client/
screen.c 706 int best; local
724 best = i;
728 lastbest = best;
729 return best;
  /external/freetype/src/autofit/
afcjk.c 373 FT_Pos best = 0xFFFFU; local
391 if ( dist < edge_distance_threshold && dist < best )
421 best = dist;
683 FT_Pos best = 64 + 32 + 2; local
698 if ( dist < best )
700 best = dist;
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_video.c 461 int best; local
469 best=0;
473 /* Mode with any dimension smaller or equal than current best ? */
474 if ((sizes[i]->w <= sizes[best]->w) || (sizes[i]->h <= sizes[best]->h)) {
476 if ((sizes[i]->w * sizes[i]->h) <= (sizes[best]->w * sizes[best]->h)) {
477 best=i;
484 *w=sizes[best]->w;
485 *h=sizes[best]->h
    [all...]

Completed in 464 milliseconds

1 2 3