/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;
|
/bionic/libc/upstream-netbsd/libc/inet/ |
inet_ntop.c | 135 struct { int base, len; } best, cur; local 151 best.base = -1; 152 best.len = 0; 163 if (best.base == -1 || cur.len > best.len) 164 best = cur; 170 if (best.base == -1 || cur.len > best.len) 171 best = cur; 173 if (best.base != -1 && best.len < 2 [all...] |
/external/openssh/openbsd-compat/ |
inet_ntop.c | 119 struct { int base, len; } best, cur; local 132 best.base = -1; 142 if (best.base == -1 || cur.len > best.len) 143 best = cur; 149 if (best.base == -1 || cur.len > best.len) 150 best = cur; 152 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/chromium/net/http/ |
http_auth.cc | 36 scoped_ptr<HttpAuthHandler> best; local 49 if (cur.get() && (!best.get() || best->score() < cur->score()) && 51 best.swap(cur); 53 handler->swap(best);
|
/external/chromium_org/net/http/ |
http_auth.cc | 36 scoped_ptr<HttpAuthHandler> best; local 49 if (cur.get() && (!best.get() || best->score() < cur->score()) && 51 best.swap(cur); 53 handler->swap(best);
|
/frameworks/base/core/java/android/text/util/ |
Rfc822Tokenizer.java | 216 int best = 0; local 230 best = i; 235 return best;
|
/libcore/luni/src/test/java/libcore/icu/ |
ICUTest.java | 75 private String best(Locale l, String skeleton) { method in class:ICUTest 82 assertEquals("[d, M, y]", Arrays.toString(ICU.getDateFormatOrder(best(lv, "yyyy-M-dd")))); 83 assertEquals("[y, d, M]", Arrays.toString(ICU.getDateFormatOrder(best(lv, "yyyy-MMM-dd")))); 84 assertEquals("[d, M, \u0000]", Arrays.toString(ICU.getDateFormatOrder(best(lv, "MMM-dd")))); 86 assertEquals("[y, M, d]", Arrays.toString(ICU.getDateFormatOrder(best(fa, "yyyy-M-dd")))); 87 assertEquals("[d, M, y]", Arrays.toString(ICU.getDateFormatOrder(best(fa, "yyyy-MMM-dd")))); 88 assertEquals("[d, M, \u0000]", Arrays.toString(ICU.getDateFormatOrder(best(fa, "MMM-dd")))); 92 assertEquals("[M, d, y]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "yyyy-M-dd")))); 93 assertEquals("[M, d, y]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "yyyy-MMM-dd")))); 94 assertEquals("[M, d, \u0000]", Arrays.toString(ICU.getDateFormatOrder(best(en_US, "MMM-dd")))) [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities_indexing.h | 96 double best; local 99 best=s[0];pos=0; 100 if(s[1]>best){best=s[1];pos=1;} 101 if(s[2]>best){best=s[2];pos=2;} 107 double best; local 110 best=s[0];pos=0; 111 if(s[1]>best){best=s[1];pos=1; 119 double best; local 132 double best; local 146 double best; local 161 double best; local 176 double best; local 193 double t,best; local 204 double t,best; local [all...] |
/packages/apps/Camera2/jni/feature_stab/db_vlvm/ |
db_utilities_indexing.h | 96 double best; local 99 best=s[0];pos=0; 100 if(s[1]>best){best=s[1];pos=1;} 101 if(s[2]>best){best=s[2];pos=2;} 107 double best; local 110 best=s[0];pos=0; 111 if(s[1]>best){best=s[1];pos=1; 119 double best; local 132 double best; local 146 double best; local 161 double best; local 176 double best; local 193 double t,best; local 204 double t,best; local [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_indexing.h | 96 double best; local 99 best=s[0];pos=0; 100 if(s[1]>best){best=s[1];pos=1;} 101 if(s[2]>best){best=s[2];pos=2;} 107 double best; local 110 best=s[0];pos=0; 111 if(s[1]>best){best=s[1];pos=1; 119 double best; local 132 double best; local 146 double best; local 161 double best; local 176 double best; local 193 double t,best; local 204 double t,best; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videocapturer_unittest.cc | 235 cricket::VideoFormat best; local 236 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); 237 EXPECT_EQ(640, best.width); 238 EXPECT_EQ(480, best.height); 239 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); 242 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, &best)); 245 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); 252 cricket::VideoFormat best; local 254 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); 255 EXPECT_EQ(1280, best.width) 310 cricket::VideoFormat best; local 402 cricket::VideoFormat best; local 440 cricket::VideoFormat best; local 477 cricket::VideoFormat best; local 508 cricket::VideoFormat best; local 573 cricket::VideoFormat best; local [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/unix/ |
SkNativeGLContext_unix.cpp | 139 int best = -1, best_num_samp = -1; local 148 if (best < 0 || (samp_buf && samples > best_num_samp)) 149 best = i, best_num_samp = samples; 152 XVisualInfo temp = visReturn[best];
|
/external/eigen/bench/ |
BenchTimer.h | 41 /** Elapsed time timer keeping the best try. 98 /** Return the best elapsed time in seconds 100 inline double best(int TIMER = CPU_TIMER) const function in class:Eigen::BenchTimer
|
/external/openssh/ |
dh.c | 129 int best, bestcount, which; local 141 best = bestcount = 0; 152 if ((dhg.size > wantbits && dhg.size < best) || 153 (dhg.size > best && best < wantbits)) { 154 best = dhg.size; 157 if (dhg.size == best) 174 dhg.size != best ||
|
/external/skia/src/gpu/gl/unix/ |
SkNativeGLContext_unix.cpp | 139 int best = -1, best_num_samp = -1; local 148 if (best < 0 || (samp_buf && samples > best_num_samp)) 149 best = i, best_num_samp = samples; 152 XVisualInfo temp = visReturn[best];
|
/ndk/sources/host-tools/make-3.81/ |
strcache.c | 60 struct strcache *best = NULL; local 71 the blocks and choose the one with the best fit (the one that leaves the 74 if (sp->bytesfree > len && (!best || best->bytesfree > sp->bytesfree)) 75 best = sp; 78 if (!best) 79 best = new_cache(); 81 assert (best->bytesfree > len); 83 /* Add the string to the best cache. */ 84 res = best->end [all...] |
/packages/apps/Gallery2/jni/filters/ |
kmeans.h | 157 int best = findClosest<T, N>(values + x, oldCenters, dimension, stride, pop_size); local 158 add<T, N>(values + x, tmp + best, dimension); 159 popularities[best / stride]++; 227 int best = findClosest<T, N>(values + x, centroids, dimension, stride, pop_size); local 228 set<T, T>(values + x, centroids + best, dimension);
|
/external/chromium_org/chrome/browser/search_engines/ |
util.cc | 87 // For each group of prepopulated URLs with one ID, find the best URL to use 91 // Find the best URL. 96 UncheckedURLMap::iterator best = unchecked_urls.begin(); local 99 // A URL is automatically the best if it's the default search engine. 101 best = i; 105 // Otherwise, a URL is best if it matches the prepopulated data's keyword; 111 best = i; 113 } else if (i->second->id() < best->second->id()) { 114 best = i; 118 // Add the best URL to the checked group and delete the rest [all...] |
/external/chromium_org/media/video/capture/linux/ |
video_capture_device_linux.cc | 360 std::list<int>::iterator best = v4l2_formats.end(); local 362 best = std::find(v4l2_formats.begin(), best, fmtdesc.pixelformat); 366 if (best == v4l2_formats.end()) { 378 video_fmt.fmt.pix.pixelformat = *best;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
page_heap.cc | 111 // find the best span (closest to n in size). 112 // The following loops implements address-ordered best-fit. 113 Span *best = NULL; local 120 if ((best == NULL) 121 || (span->length < best->length) 122 || ((span->length == best->length) && (span->start < best->start))) { 123 best = span; 124 ASSERT(best->location == Span::ON_NORMAL_FREELIST); 134 if ((best == NULL [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
page_heap.cc | 110 // find the best span (closest to n in size). 111 // The following loops implements address-ordered best-fit. 112 Span *best = NULL; local 119 if ((best == NULL) 120 || (span->length < best->length) 121 || ((span->length == best->length) && (span->start < best->start))) { 122 best = span; 123 ASSERT(best->location == Span::ON_NORMAL_FREELIST); 133 if ((best == NULL [all...] |
/external/libvorbis/vq/ |
bookutil.c | 52 int best=-1; local 63 if(best==-1 || this<best){ 64 best=this;
|
/external/llvm/lib/Analysis/ |
PathProfileInfo.cpp | 123 BallLarusEdge* best = 0; local 130 (!best || (best->getWeight() < (*next)->getWeight())) ) // best one? 131 best = *next; 134 return best;
|
/dalvik/vm/reflect/ |
Proxy.cpp | 393 bool best, dupe; local 400 * assignable to our return type, then we're not the best. 406 best = true; 426 best = false; 431 * If this is the best of a set of duplicates, copy it over and 438 if (best) { 439 ALOGV("BEST %d %s.%s -> %d", i, 516 ALOGV("BEST not %d", i); [all...] |