Searched defs:best (Results 1 - 25 of 53) sorted by relevance

123

/external/ppp/pppd/plugins/pppoatm/
H A Dmisc.c24 int i,best; local
30 best = -1;
35 best = i;
40 if (best > -1) (*pos) += best_len;
41 return best;
/external/openssh/openbsd-compat/
H A Dinet_ntop.c119 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
[all...]
/external/tcpdump/missing/
H A Dinet_ntop.c117 } 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
[all...]
/external/chromium/net/http/
H A Dhttp_auth.cc36 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/
H A Dhttp_auth.cc36 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/third_party/libjingle/source/talk/media/base/
H A Dvideocapturer_unittest.cc201 cricket::VideoFormat best; local
202 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best));
203 EXPECT_EQ(640, best.width);
204 EXPECT_EQ(480, best.height);
205 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval);
208 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, &best));
211 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best));
218 cricket::VideoFormat best; local
220 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best));
221 EXPECT_EQ(1280, best
276 cricket::VideoFormat best; local
368 cricket::VideoFormat best; local
406 cricket::VideoFormat best; local
443 cricket::VideoFormat best; local
474 cricket::VideoFormat best; local
539 cricket::VideoFormat best; local
[all...]
H A Dvideocapturer.cc237 std::vector<VideoFormat>::const_iterator best = supported_formats->end(); local
246 best = i;
249 if (supported_formats->end() == best) {
255 best_format->width = best->width;
256 best_format->height = best->height;
257 best_format->fourcc = best->fourcc;
258 best_format->interval = talk_base::_max(format.interval, best->interval);
457 // Any fourcc is OK for the desired. Use preference to find best fourcc.
/external/chromium_org/third_party/skia/src/gpu/gl/unix/
H A DSkNativeGLContext_unix.cpp139 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/
H A DBenchTimer.h41 /** 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/
H A Ddh.c129 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/
H A DSkNativeGLContext_unix.cpp139 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/chromium_org/chrome/browser/search_engines/
H A Dutil.cc87 // 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 UR
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpAngle.cpp205 double best = SK_ScalarInfinity; local
216 SkDebugf("best=%1.9g dist=%1.9g loc={%1.9g,%1.9g} dxy={%1.9g,%1.9g}\n",
217 best, dist, loc.fX, loc.fY, dxy.fX, dxy.fY);
219 if (best > dist) {
221 best = dist;
231 SkDebugf("best=%1.9g dist=%1.9g %c=(fSide < 0) rLoc={%1.9g,%1.9g} dxy={%1.9g,%1.9g}\n",
232 best, dist, "><"[fSide < 0], rLoc.fX, rLoc.fY, dxy.fX, dxy.fY);
234 if (best > dist) {
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dpage_heap.cc111 // 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
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dpage_heap.cc110 // 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
[all...]
/external/skia/src/pathops/
H A DSkOpAngle.cpp205 double best = SK_ScalarInfinity; local
216 SkDebugf("best=%1.9g dist=%1.9g loc={%1.9g,%1.9g} dxy={%1.9g,%1.9g}\n",
217 best, dist, loc.fX, loc.fY, dxy.fX, dxy.fY);
219 if (best > dist) {
221 best = dist;
231 SkDebugf("best=%1.9g dist=%1.9g %c=(fSide < 0) rLoc={%1.9g,%1.9g} dxy={%1.9g,%1.9g}\n",
232 best, dist, "><"[fSide < 0], rLoc.fX, rLoc.fY, dxy.fX, dxy.fY);
234 if (best > dist) {
/external/chromium_org/media/video/capture/linux/
H A Dvideo_capture_device_linux.cc292 std::list<int>::iterator best = v4l2_formats.end(); local
294 best = std::find(v4l2_formats.begin(), best, fmtdesc.pixelformat);
298 if (best == v4l2_formats.end()) {
310 video_fmt.fmt.pix.pixelformat = *best;
/external/libvorbis/vq/
H A Dbookutil.c52 int best=-1; local
63 if(best==-1 || this<best){
64 best=this;
/external/llvm/lib/Analysis/
H A DPathProfileInfo.cpp123 BallLarusEdge* best = 0; local
130 (!best || (best->getWeight() < (*next)->getWeight())) ) // best one?
131 best = *next;
134 return best;
/external/chromium_org/courgette/
H A Ddisassembler_win32_x86.cc682 const Section* best = 0; local
687 if (best == 0 ||
688 section->file_offset_of_raw_data < best->file_offset_of_raw_data) {
689 best = section;
694 return best;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/
H A Dwgl.c239 int i,best = -1,bestdelta = 0x7FFFFFFF,delta; local
282 best = i + 1;
288 if(best == -1)
293 return(best);
/external/chromium_org/ui/gfx/
H A Dicon_util.cc54 const gfx::Image* best = image_family.GetBest(size); local
55 if (!best || best->IsEmpty()) {
64 best->Width() <= IconUtil::kMediumIconSize &&
65 best->Height() <= IconUtil::kMediumIconSize) {
72 if (best->Size() == size) {
73 resized_image_family->Add(*best);
77 SkBitmap best_bitmap = best->AsBitmap();
/external/libvorbis/lib/
H A Dres0.c357 int best=-1; local
368 if(best==-1 || this<best){
370 best=this;
/external/libvpx/libvpx/vp8/encoder/
H A Dencodemb.c252 int best; local
325 /* And pick the best. */
326 best = rd_cost1 < rd_cost0;
330 tokens[i][0].rate = base_bits + (best ? rate1 : rate0);
331 tokens[i][0].error = d2 + (best ? error1 : error0);
335 best_mask[0] |= best << i;
391 /* And pick the best. */
392 best = rd_cost1 < rd_cost0;
400 tokens[i][1].rate = base_bits + (best ? rate1 : rate0);
401 tokens[i][1].error = d2 + (best
[all...]
/external/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwgl.c239 int i,best = -1,bestdelta = 0x7FFFFFFF,delta; local
282 best = i + 1;
288 if(best == -1)
293 return(best);

Completed in 463 milliseconds

123