Searched defs:distance (Results 151 - 175 of 240) sorted by relevance

12345678910

/external/chromium_org/third_party/ots/third_party/lzma_sdk/
H A DLzmaDec.c231 UInt32 distance; local
237 distance = rep1;
246 distance = rep2;
251 distance = rep3;
257 rep0 = distance;
297 UInt32 distance; local
300 TREE_6_DECODE(prob, distance);
301 if (distance >= kStartPosModelIndex)
303 unsigned posSlot = (unsigned)distance;
304 int numDirectBits = (int)(((distance >>
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkDQuadIntersection.cpp315 // OPTIMIZE: using calcMask value permits skipping some distance calcuations
510 double distance = dx * dx + dy * dy; local
511 if (dist[index] <= distance) {
518 if (dist[outer] < distance) {
523 dist[index] = distance;
H A DSkPathOpsCubic.cpp132 double distance = lineParameters.controlPtDistance(*this, 1); local
133 if (!approximately_zero(distance)) {
136 distance = lineParameters.controlPtDistance(*this, 2);
137 return approximately_zero(distance);
/external/chromium_org/ui/chromeos/
H A Dtouch_exploration_controller_unittest.cc1272 float distance = gesture_detector_config_.touch_slop + 1; local
1274 gfx::Point second_location(distance / 2, 1);
1275 gfx::Point third_location(distance, 1);
1327 const float distance = gesture_detector_config_.touch_slop + 1; local
1337 move_x = distance;
1340 move_x = 0 - distance;
1343 move_y = 0 - distance;
1346 move_y = distance;
1354 distance / gesture_detector_config_.maximum_fling_velocity;
1506 float distance local
1535 float distance = gesture_detector_config_.touch_slop + 1; local
1593 float distance = gesture_detector_config_.touch_slop + 1; local
[all...]
/external/libvpx/libvpx/vp8/encoder/
H A Dmcomp.c1330 int sad_per_bit, int distance,
1353 int row_min = ref_row - distance;
1354 int row_max = ref_row + distance;
1355 int col_min = ref_col - distance;
1356 int col_max = ref_col + distance;
1426 int sad_per_bit, int distance,
1449 int row_min = ref_row - distance;
1450 int row_max = ref_row + distance;
1451 int col_min = ref_col - distance;
1452 int col_max = ref_col + distance;
1329 vp8_full_search_sad_c(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int sad_per_bit, int distance, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
1425 vp8_full_search_sadx3(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int sad_per_bit, int distance, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
1559 vp8_full_search_sadx8(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int sad_per_bit, int distance, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
[all...]
/external/lzma/C/
H A DLzmaDec.c230 UInt32 distance; local
236 distance = rep1;
245 distance = rep2;
250 distance = rep3;
256 rep0 = distance;
296 UInt32 distance; local
299 TREE_6_DECODE(prob, distance);
300 if (distance >= kStartPosModelIndex)
302 unsigned posSlot = (unsigned)distance;
303 int numDirectBits = (int)(((distance >>
[all...]
/external/openfst/src/include/fst/extensions/pdt/
H A Dshortest-path.h113 SearchData() : distance(Weight::Zero()),
118 Weight distance; // Distance to this state from PDT 'start' state member in struct:fst::PdtShortestPathData::SearchData
150 return data->distance;
155 return data->distance;
180 data->distance = w;
185 data->distance = w;
524 // Computes the shortest distance stored in a recursive way. Each
595 // shortest distance to them.
683 // since the shortest distance is stored recursively.
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_text.cpp58 FX_FLOAT distance = (FX_FLOAT)FXSYS_fabs(pos - (FX_FLOAT)blues[i]); local
59 if (distance < 1.0f * 80.0f / 100.0f && distance < min_distance) {
60 min_distance = distance;
/external/skia/src/pathops/
H A DSkDQuadIntersection.cpp315 // OPTIMIZE: using calcMask value permits skipping some distance calcuations
510 double distance = dx * dx + dy * dy; local
511 if (dist[index] <= distance) {
518 if (dist[outer] < distance) {
523 dist[index] = distance;
H A DSkPathOpsCubic.cpp132 double distance = lineParameters.controlPtDistance(*this, 1); local
133 if (!approximately_zero(distance)) {
136 distance = lineParameters.controlPtDistance(*this, 2);
137 return approximately_zero(distance);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/
H A DHeapSnapshot.js464 distance: function()
601 return new WebInspector.HeapSnapshotCommon.Node(this.id(), this.name(), this.distance(), this.nodeIndex, this.retainedSize(), this.selfSize(), this.type());
1269 * @param {number} distance
1272 function enqueueNode(distance, node)
1277 distances[ordinal] = distance;
1316 var distance = distances[nodeOrdinal] + 1;
1331 distances[childNodeOrdinal] = distance;
1372 distance: nodeDistances[nodeOrdinal],
1384 clss.distance = Math.min(clss.distance, nodeDistance
[all...]
/external/chromium_org/ash/shelf/
H A Dshelf_view.cc72 // Minimum distance before drag starts.
103 // The distance of the cursor from the outer rim of the shelf before it
1067 // Determine the distance to the shelf.
1915 int distance = 0; local
1918 distance = bounds.y() - coordinate.y();
1921 distance = coordinate.x() - bounds.right();
1924 distance = bounds.x() - coordinate.x();
1927 distance = coordinate.y() - bounds.bottom();
1930 return distance > 0 ? distance
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/
H A Dv8-raytrace.js157 distance : function(color) {
203 getIntensity: function(distance){
204 if(distance >= intensity) return 0;
206 return Math.pow((intensity - distance) / strength, 0.2);
464 info.distance = (-B) - Math.sqrt(D);
469 info.distance
523 info.distance = t;
555 distance: null,
709 best.distance = 2000;
716 if(info.isHit && info.distance >
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/
H A Dv8-raytrace.js157 distance : function(color) {
203 getIntensity: function(distance){
204 if(distance >= intensity) return 0;
206 return Math.pow((intensity - distance) / strength, 0.2);
464 info.distance = (-B) - Math.sqrt(D);
469 info.distance
523 info.distance = t;
555 distance: null,
709 best.distance = 2000;
716 if(info.isHit && info.distance >
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/
H A Dv8-raytrace.js157 distance : function(color) {
433 info.distance = (-B) - Math.sqrt(D);
438 info.distance
492 info.distance = t;
524 distance: null,
678 best.distance = 2000;
685 if(info.isHit && info.distance >= 0 && info.distance < best.distance){
744 if (refl.isHit && refl.distance >
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
H A DFlameChart.js760 var distance = Infinity; variable
763 if (nextDistance < distance) {
765 distance = nextDistance;
/external/chromium_org/third_party/brotli/src/brotli/dec/
H A Ddecode.c680 /* some special distance codes. */
860 int distance; local
971 /* Convert the distance code to the actual distance by possibly looking */
973 distance = TranslateShortCodes(distance_code, dist_rb, dist_rb_idx);
974 if (distance < 0) {
978 BROTLI_LOG_UINT(distance);
989 if (distance > max_distance) {
993 int word_id = distance - max_distance - 1;
1016 printf("Invalid backward reference. pos: %d distance
[all...]
/external/chromium_org/third_party/libpng/
H A Dpngrtran.c481 png_bytep distance; local
492 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries *
494 png_memset(distance, 0xff, num_entries * png_sizeof(png_byte));
526 if (d < (int)distance[d_index])
528 distance[d_index] = (png_byte)d;
536 png_free(png_ptr, distance);
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_mcomp.c1441 int sad_per_bit, int distance,
1448 const int row_min = MAX(ref_mv->row - distance, x->mv_row_min);
1449 const int row_max = MIN(ref_mv->row + distance, x->mv_row_max);
1450 const int col_min = MAX(ref_mv->col - distance, x->mv_col_min);
1451 const int col_max = MIN(ref_mv->col + distance, x->mv_col_max);
1474 int sad_per_bit, int distance,
1481 const int row_min = MAX(ref_mv->row - distance, x->mv_row_min);
1482 const int row_max = MIN(ref_mv->row + distance, x->mv_row_max);
1483 const int col_min = MAX(ref_mv->col - distance, x->mv_col_min);
1484 const int col_max = MIN(ref_mv->col + distance,
1440 vp9_full_search_sad_c(const MACROBLOCK *x, const MV *ref_mv, int sad_per_bit, int distance, const vp9_variance_fn_ptr_t *fn_ptr, const MV *center_mv, MV *best_mv) argument
1473 vp9_full_search_sadx3(const MACROBLOCK *x, const MV *ref_mv, int sad_per_bit, int distance, const vp9_variance_fn_ptr_t *fn_ptr, const MV *center_mv, MV *best_mv) argument
1538 vp9_full_search_sadx8(const MACROBLOCK *x, const MV *ref_mv, int sad_per_bit, int distance, const vp9_variance_fn_ptr_t *fn_ptr, const MV *center_mv, MV *best_mv) argument
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dbackward_references.c267 uint32_t distance; local
285 distance = (uint32_t)(base_position - pos);
288 if (distance < 9 * xsize) {
289 const uint32_t y = distance / xsize;
290 uint32_t x = distance % xsize;
302 best_distance = distance;
306 if ((best_distance == 1 || distance == xsize) &&
554 uint32_t distance) {
556 VP8LPrefixEncodeBits(distance, &code, &extra_bits);
553 GetDistanceCost(const CostModel* const m, uint32_t distance) argument
H A Dvp8l.c459 int code, distance; local
465 distance = PixOrCopyDistance(v);
466 VP8LPrefixEncode(distance, &code, &n_bits, &bits);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dpath.c1873 static INLINE VGboolean point_on_current_segment(VGfloat distance, argument
1878 (((floatIsZero(distance) || distance < 0) && floatIsZero(length)) ||
1879 ((distance > length || floatsEqual(distance, length)) &&
1880 (floatsEqual(distance, length + segment_length) ||
1881 distance < (length + segment_length))));
1887 VGfloat distance,
1898 on_current_segment = point_on_current_segment(distance,
1902 VGfloat at = (distance
1884 path_point_segment(struct path_iter_data iter, struct path_iter_data prev_iter, VGfloat coords[8], VGfloat distance, VGfloat length, VGfloat *current_length, VGfloat *point, VGfloat *normal) argument
1968 path_point(struct path *p, VGint start_segment, VGint num_segments, VGfloat distance, VGfloat *point, VGfloat *normal) argument
[all...]
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_indata.c2006 int slide_from, slide_end, lgap, distance; local
2106 distance = (slide_end - slide_from) + 1;
2113 if (distance + slide_from > asoc->mapping_array_size ||
2114 distance < 0) {
2123 sctp_log_map((uint32_t) distance, (uint32_t) slide_from,
2130 for (ii = 0; ii < distance; ii++) {
2135 for (ii = distance; ii < asoc->mapping_array_size; ii++) {
/external/chromium_org/v8/benchmarks/
H A Draytrace.js162 distance : function(color) {
438 info.distance = (-B) - Math.sqrt(D);
443 info.distance
497 info.distance = t;
529 distance: null,
683 best.distance = 2000;
690 if(info.isHit && info.distance >= 0 && info.distance < best.distance){
749 if (refl.isHit && refl.distance >
[all...]
/external/chromium_org/v8/src/x87/
H A Dassembler-x87.cc1343 void Assembler::jmp(Label* L, Label::Distance distance) { argument
1359 } else if (distance == Label::kNear) {
1397 void Assembler::j(Condition cc, Label* L, Label::Distance distance) { argument
1415 } else if (distance == Label::kNear) {

Completed in 914 milliseconds

12345678910