Home
last modified time | relevance | path

Searched refs:closest (Results 1 – 25 of 72) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/html/
DTimeRanges.cpp188 double closest = 0; in nearest() local
195 if (fabs(startTime - time) < closest) in nearest()
196 closest = fabs(startTime - time); in nearest()
197 else if (fabs(endTime - time) < closest) in nearest()
198 closest = fabs(endTime - time); in nearest()
200 return closest; in nearest()
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
DSDL_ph_modes.c169 int i, closest, delta, min_delta; in get_mode_any_format() local
193 closest = i++; in get_mode_any_format()
196 return mode_list.modes[closest]; in get_mode_any_format()
216 closest = i; in get_mode_any_format()
224 closest = i; in get_mode_any_format()
231 return mode_list.modes[closest]; in get_mode_any_format()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
Dradeon_sanity.c326 struct reg_names *closest; member
349 regs[i].closest = &reg_names[i]; in init_regs()
356 scalars[i].closest = tmp; in init_regs()
363 vectors[i].closest = tmp; in init_regs()
409 if (reg->idx == reg->closest->idx) in get_reg_name()
410 return reg->closest->name; in get_reg_name()
414 if (reg->idx/4 != reg->closest->idx) in get_reg_name()
416 reg->closest->name, in get_reg_name()
417 (reg->idx/4) - reg->closest->idx, in get_reg_name()
420 sprintf(tmp, "%s[%d]", reg->closest->name, reg->idx%4); in get_reg_name()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_sanity.c326 struct reg_names *closest; member
349 regs[i].closest = &reg_names[i]; in init_regs()
356 scalars[i].closest = tmp; in init_regs()
363 vectors[i].closest = tmp; in init_regs()
409 if (reg->idx == reg->closest->idx) in get_reg_name()
410 return reg->closest->name; in get_reg_name()
414 if (reg->idx/4 != reg->closest->idx) in get_reg_name()
416 reg->closest->name, in get_reg_name()
417 (reg->idx/4) - reg->closest->idx, in get_reg_name()
420 sprintf(tmp, "%s[%d]", reg->closest->name, reg->idx%4); in get_reg_name()
[all …]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
D3d-raytrace.js190 var closest = null;
197 closest = triangle;
200 if (!closest)
203 var normal = closest.normal;
209 if (closest.shader) {
210 colour = closest.shader(closest, hit, dir);
212 colour = closest.material;
246 var closest = null;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
D3d-raytrace.js190 var closest = null;
197 closest = triangle;
200 if (!closest)
203 var normal = closest.normal;
209 if (closest.shader) {
210 colour = closest.shader(closest, hit, dir);
212 colour = closest.material;
246 var closest = null;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
D3d-raytrace.js190 var closest = null;
197 closest = triangle;
200 if (!closest)
203 var normal = closest.normal;
209 if (closest.shader) {
210 colour = closest.shader(closest, hit, dir);
212 colour = closest.material;
246 var closest = null;
/external/chromium_org/third_party/WebKit/Source/core/page/
DFocusController.cpp733 …(FocusType type, const FocusCandidate& current, FocusCandidate& candidate, FocusCandidate& closest) in updateFocusCandidateIfNeeded() argument
753 if (closest.isNull()) { in updateFocusCandidateIfNeeded()
754 closest = candidate; in updateFocusCandidateIfNeeded()
758 LayoutRect intersectionRect = intersection(candidate.rect, closest.rect); in updateFocusCandidateIfNeeded()
759 if (!intersectionRect.isEmpty() && !areElementsOnSameLine(closest, candidate) in updateFocusCandidateIfNeeded()
768 closest = candidate; in updateFocusCandidateIfNeeded()
771 if (closest.visibleNode->contains(result.innerNode())) in updateFocusCandidateIfNeeded()
775 if (candidate.alignment == closest.alignment) { in updateFocusCandidateIfNeeded()
776 if (candidate.distance < closest.distance) in updateFocusCandidateIfNeeded()
777 closest = candidate; in updateFocusCandidateIfNeeded()
[all …]
DFocusController.h115 …teInContainer(Node& container, const LayoutRect& startingRect, FocusType, FocusCandidate& closest);
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_sanity.c604 struct reg_names *closest; member
627 regs[i].closest = &reg_names[i]; in init_regs()
634 scalars[i].closest = tmp; in init_regs()
641 vectors[i].closest = tmp; in init_regs()
687 if (reg->idx == reg->closest->idx) in get_reg_name()
688 return reg->closest->name; in get_reg_name()
692 if (reg->idx/4 != reg->closest->idx) in get_reg_name()
694 reg->closest->name, in get_reg_name()
695 (reg->idx/4) - reg->closest->idx, in get_reg_name()
698 sprintf(tmp, "%s[%d]", reg->closest->name, reg->idx%4); in get_reg_name()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
Dr200_sanity.c604 struct reg_names *closest; member
627 regs[i].closest = &reg_names[i]; in init_regs()
634 scalars[i].closest = tmp; in init_regs()
641 vectors[i].closest = tmp; in init_regs()
687 if (reg->idx == reg->closest->idx) in get_reg_name()
688 return reg->closest->name; in get_reg_name()
692 if (reg->idx/4 != reg->closest->idx) in get_reg_name()
694 reg->closest->name, in get_reg_name()
695 (reg->idx/4) - reg->closest->idx, in get_reg_name()
698 sprintf(tmp, "%s[%d]", reg->closest->name, reg->idx%4); in get_reg_name()
[all …]
/external/chromium_org/third_party/skia/src/pathops/
DSkDQuadIntersection.cpp498 int closest[4]; in intersect() local
503 closest[index] = -1; in intersect()
515 if (closest[outer] != ndex2) { in intersect()
521 closest[outer] = -1; in intersect()
524 closest[index] = ndex2; in intersect()
539 if (closest[index] < 0) { in intersect()
550 insert(roots1Copy[lowestIndex], roots2Copy[closest[lowestIndex]], in intersect()
552 closest[lowestIndex] = -1; in intersect()
/external/skia/src/pathops/
DSkDQuadIntersection.cpp498 int closest[4]; in intersect() local
503 closest[index] = -1; in intersect()
515 if (closest[outer] != ndex2) { in intersect()
521 closest[outer] = -1; in intersect()
524 closest[index] = ndex2; in intersect()
539 if (closest[index] < 0) { in intersect()
550 insert(roots1Copy[lowestIndex], roots2Copy[closest[lowestIndex]], in intersect()
552 closest[lowestIndex] = -1; in intersect()
/external/chromium_org/third_party/skia/experimental/Intersection/
DQuadraticImplicit.cpp514 int closest[4]; in intersect2() local
519 closest[index] = -1; in intersect2()
531 if (closest[outer] != ndex2) { in intersect2()
537 closest[outer] = -1; in intersect2()
540 closest[index] = ndex2; in intersect2()
555 if (closest[index] < 0) { in intersect2()
566 i.insert(roots1Copy[lowestIndex], roots2Copy[closest[lowestIndex]], in intersect2()
568 closest[lowestIndex] = -1; in intersect2()
/external/skia/experimental/Intersection/
DQuadraticImplicit.cpp514 int closest[4]; in intersect2() local
519 closest[index] = -1; in intersect2()
531 if (closest[outer] != ndex2) { in intersect2()
537 closest[outer] = -1; in intersect2()
540 closest[index] = ndex2; in intersect2()
555 if (closest[index] < 0) { in intersect2()
566 i.insert(roots1Copy[lowestIndex], roots2Copy[closest[lowestIndex]], in intersect2()
568 closest[lowestIndex] = -1; in intersect2()
/external/chromium_org/third_party/WebKit/PerformanceTests/Layout/Shapes/resources/
DMultipleShapes.css19 shape-outside: circle(closest-side at center);
21 -webkit-clip-path: circle(closest-side at center);
/external/chromium_org/base/test/
Dtrace_event_analyzer.cc924 size_t closest = events.size(); in FindClosest() local
929 if (closest == events.size()) { in FindClosest()
930 closest = i; in FindClosest()
934 fabs(events.at(closest)->timestamp - events.at(position)->timestamp)) { in FindClosest()
935 second_closest = closest; in FindClosest()
936 closest = i; in FindClosest()
942 if (closest < events.size() && in FindClosest()
944 *return_closest = closest; in FindClosest()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DSliderThumbElement.cpp297 Decimal closest = input->findClosestTickMarkValue(value); in setPositionFromPoint() local
298 if (closest.isFinite()) { in setPositionFromPoint()
299 double closestFraction = stepRange.proportionFromValue(closest).toDouble(); in setPositionFromPoint()
304 value = closest; in setPositionFromPoint()
/external/fio/
Dparse.c1069 struct fio_option *o, *closest; in show_cmd_help() local
1077 closest = NULL; in show_cmd_help()
1099 closest = o; in show_cmd_help()
1130 if (closest && best_dist < 3) { in show_cmd_help()
1132 log_info("%20s: %s\n", closest->name, closest->help); in show_cmd_help()
1133 show_option_help(closest, 0); in show_cmd_help()
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_linux.cpp170 SkTypeface_Custom* closest = fStyles[0]; in matchStyle() local
183 closest = fStyles[i]; in matchStyle()
187 return SkRef(closest); in matchStyle()
/external/skia/src/ports/
DSkFontHost_linux.cpp170 SkTypeface_Custom* closest = fStyles[0]; in matchStyle() local
183 closest = fStyles[i]; in matchStyle()
187 return SkRef(closest); in matchStyle()
/external/eigen/unsupported/Eigen/
DBVH48 …* - Find the intersection between a ray and a triangle mesh closest to the ray origin (function …
49 * - Given a polyline and a query point, determine the closest point on the polyline to the query
82 …t complete example for how to use the BVH to accelerate the search for a closest red-blue point pa…
/external/chromium_org/ppapi/api/
Dppb_audio_config.idl100 * closest to the requested count. The sample frame count determines the
128 * closest to the requested count. The sample frame count determines the
138 * will return a supported count closest to the requested frame count.
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DUtils.java148 static int closest(RGB[] rgbs, int n, RGB rgb) { in closest() method in Utils
233 pixels[x] = closest(rgbs, n, rgb); in downSample()
/external/chromium_org/ui/base/resource/
Dresource_bundle.cc600 const ScaleFactor closest = FindClosestScaleFactorUnsafe(display_density); in InitSharedInstance() local
601 if (closest != SCALE_FACTOR_100P) in InitSharedInstance()
602 supported_scale_factors.push_back(closest); in InitSharedInstance()

123