/external/e2fsprogs/misc/ |
H A D | e2image.c | 563 blk64_t distance = 0; local 589 divide the fs up into distance size chunks and write them 592 distance = (dest_offset - source_offset) / fs->blocksize; 593 if (distance < ext2fs_blocks_count(fs->super)) 594 start = ext2fs_blocks_count(fs->super) - distance; 599 if (distance) 603 if (distance) { 605 if (distance >= ext2fs_blocks_count(fs->super) || 606 start == ext2fs_blocks_count(fs->super) - distance) 685 if (distance [all...] |
/external/libpng/ |
H A D | pngrtran.c | 737 png_bytep distance; local 748 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * 751 memset(distance, 0xff, num_entries * (sizeof (png_byte))); 783 if (d < (int)distance[d_index]) 785 distance[d_index] = (png_byte)d; 793 png_free(png_ptr, distance);
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_mcomp.c | 1287 int sad_per_bit, int distance, 1295 const int row_min = MAX(ref_mv->row - distance, x->mv_row_min); 1296 const int row_max = MIN(ref_mv->row + distance, x->mv_row_max); 1297 const int col_min = MAX(ref_mv->col - distance, x->mv_col_min); 1298 const int col_max = MIN(ref_mv->col + distance, x->mv_col_max); 1325 int sad_per_bit, int distance, 1343 const int row_min = MAX(ref_row - distance, x->mv_row_min); 1344 const int row_max = MIN(ref_row + distance, x->mv_row_max); 1345 const int col_min = MAX(ref_col - distance, x->mv_col_min); 1346 const int col_max = MIN(ref_col + distance, 1286 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, int *mvjcost, int *mvcost[2], const MV *center_mv, MV *best_mv) argument 1324 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, int *mvjcost, int *mvcost[2], const MV *center_mv, MV *best_mv) argument 1416 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, int *mvjcost, int *mvcost[2], const MV *center_mv, MV *best_mv) argument [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/bench/ |
H A D | numa.c | 893 int distance; local 964 distance = nr_max - nr_min; 966 tprintf(" [%2d/%-2d]", distance, process_groups);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | path.c | 1873 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/opencv/cv/src/ |
H A D | mycvHaarDetectObjects.cpp | 123 int distance = cvRound(r1->width*0.2); local 125 return r2->x <= r1->x + distance && 126 r2->x >= r1->x - distance && 127 r2->y <= r1->y + distance && 128 r2->y >= r1->y - distance && 1511 int distance = cvRound( r2.rect.width * 0.2 ); local 1514 r1.rect.x >= r2.rect.x - distance && 1515 r1.rect.y >= r2.rect.y - distance && 1516 r1.rect.x + r1.rect.width <= r2.rect.x + r2.rect.width + distance && 1517 r1.rect.y + r1.rect.height <= r2.rect.y + r2.rect.height + distance [all...] |
H A D | cvhaar.cpp | 842 int distance = cvRound(r1->width*0.2); local 844 return r2->x <= r1->x + distance && 845 r2->x >= r1->x - distance && 846 r2->y <= r1->y + distance && 847 r2->y >= r1->y - distance && 1475 int distance = cvRound( r2.rect.width * 0.2 ); local 1478 r1.rect.x >= r2.rect.x - distance && 1479 r1.rect.y >= r2.rect.y - distance && 1480 r1.rect.x + r1.rect.width <= r2.rect.x + r2.rect.width + distance && 1481 r1.rect.y + r1.rect.height <= r2.rect.y + r2.rect.height + distance [all...] |
/external/qemu/distrib/libpng-1.2.46/ |
H A D | pngrtran.c | 481 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/webp/src/enc/ |
H A D | backward_references.c | 267 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 D | vp8l.c | 459 int code, distance; local 465 distance = PixOrCopyDistance(v); 466 VP8LPrefixEncode(distance, &code, &n_bits, &bits);
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | EditorCommand.cpp | 688 unsigned distance = verticalScrollDistance(frame); local 689 if (!distance) 691 return frame.selection().modify(FrameSelection::AlterationMove, distance, FrameSelection::DirectionDown, 697 unsigned distance = verticalScrollDistance(frame); local 698 if (!distance) 700 return frame.selection().modify(FrameSelection::AlterationExtend, distance, FrameSelection::DirectionDown, 706 unsigned distance = verticalScrollDistance(frame); local 707 if (!distance) 709 return frame.selection().modify(FrameSelection::AlterationMove, distance, FrameSelection::DirectionUp, 715 unsigned distance local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/ |
H A D | HeapSnapshotGridNodes.js | 197 * @param {number} distance 200 _toUIDistance: function(distance) 203 return distance >= 0 && distance < baseSystemDistance ? WebInspector.UIString("%d", distance) : WebInspector.UIString("\u2212"); 505 this._distance = node.distance; 524 "distance": this._toUIDistance(this._distance), 785 distance: ["distance", sortAscending, "_name", true] 996 distance [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | dtptngen.cpp | 1028 int32_t distance=source.getDistance(trial, includeMask, tempInfo); local 1029 if (distance<bestDistance) { 1030 bestDistance=distance; 1033 if (distance==0) { 1472 // the comparison should be based on skeleton.original (which is unique and tied to the distance measurement in bestRaw) 1474 // optimum distance value in getBestRaw. When this is called from public getRedundants (specifiedSkeletonPtr is NULL),
|
/external/chromium_org/v8/src/ |
H A D | debug.cc | 190 int distance = kMaxInt; local 193 if (this->pc() <= pc && pc - this->pc() < distance) { 195 distance = static_cast<int>(pc - this->pc()); 197 if (distance == 0) break; 214 int distance = kMaxInt; local 230 if (position <= next_position && next_position - position < distance) { 232 distance = next_position - position; 234 if (distance == 0) break;
|
/external/chromium_org/v8/src/ia32/ |
H A D | assembler-ia32.cc | 1410 void Assembler::jmp(Label* L, Label::Distance distance) { argument 1426 } else if (distance == Label::kNear) { 1464 void Assembler::j(Condition cc, Label* L, Label::Distance distance) { argument 1482 } else if (distance == Label::kNear) {
|
/external/chromium_org/v8/src/x64/ |
H A D | assembler-x64.cc | 967 void Assembler::j(Condition cc, Label* L, Label::Distance distance) { argument 1000 } else if (distance == Label::kNear) { 1050 void Assembler::jmp(Label* L, Label::Distance distance) { argument 1066 } else if (distance == Label::kNear) {
|
/external/icu/icu4c/source/i18n/ |
H A D | dtptngen.cpp | 1029 int32_t distance=source.getDistance(trial, includeMask, tempInfo); local 1030 if (distance<bestDistance) { 1031 bestDistance=distance; 1034 if (distance==0) { 1473 // the comparison should be based on skeleton.original (which is unique and tied to the distance measurement in bestRaw) 1475 // optimum distance value in getBestRaw. When this is called from public getRedundants (specifiedSkeletonPtr is NULL),
|
/external/opencv/cvaux/src/ |
H A D | cvepilines.cpp | 1223 double distance; local 1233 icvGetPieceLength(cross[i],cross[j],&distance); 1234 if( distance > maxDist ) 1238 maxDist = distance; 1405 /* Compute distance */ 1438 /* Compute distance */ 2097 /* Get distance from point to direction */
|
/external/pdfium/core/src/fpdftext/ |
H A D | fpdf_text_int.cpp | 321 FX_FLOAT distance = 0;
local
|
/external/vixl/src/a64/ |
H A D | assembler-a64.cc | 2148 // * the distance to the first literal load handled by this pool is greater 2149 // than the recommended distance and the literal pool can be emitted without 2151 // * the distance to the first literal load handled by this pool is greater 2152 // than twice the recommended distance. 2166 intptr_t distance = pc_ - literals_.back()->pc_; local 2167 if ((distance < kRecommendedLiteralPoolRange) || 2169 (distance < (2 * kRecommendedLiteralPoolRange)))) {
|
/external/chromium_org/content/shell/renderer/test_runner/ |
H A D | test_runner.cc | 1916 WorkItemBackForward(int distance) : distance_(distance) {} argument
|
/external/chromium_org/third_party/freetype/src/truetype/ |
H A D | ttinterp.c | 1745 /* Moves a point by a given distance along the freedom vector. The */ 1751 /* distance :: The distance to apply. */ 1759 FT_F26Dot6 distance ) 1777 zone->cur[point].x += FT_MulDiv( distance, v, CUR.F_dot_P ); 1786 zone->cur[point].y += FT_MulDiv( distance, v, CUR.F_dot_P ); 1799 /* Moves the *original* position of a point by a given distance along */ 1805 /* distance :: The distance to apply. */ 1813 FT_F26Dot6 distance ) 1928 Round_None( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 1969 Round_To_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2013 Round_To_Half_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2055 Round_Down_To_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2099 Round_Up_To_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2143 Round_To_Double_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2193 Round_Super( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2241 Round_Super_45( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 6173 FT_F26Dot6 distance; local 6243 FT_F26Dot6 distance; local 6292 FT_F26Dot6 distance; local 6401 FT_F26Dot6 org_dist, distance, minimum_distance; local 6539 distance, local 6763 FT_F26Dot6 distance; local 6922 FT_F26Dot6 distance; local [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
H A D | LzmaEnc.c | 836 UInt32 distance = p->matches[numPairs - 1] + 1; local 841 const Byte *pby2 = pby - distance; 1083 UInt32 distance = matches[offs + 1]; local 1087 if (distance < kNumFullDistances) 1088 curAndLenPrice += p->distancesPrices[lenToPosState][distance]; 1092 GetPosSlot2(distance, slot); 1093 curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][slot]; 1100 opt->backPrev = distance + LZMA_NUM_REPS; 1808 UInt32 distance = p->reps[pos]; local 1821 p->reps[0] = distance; [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
H A D | LzmaEnc.c | 837 UInt32 distance = p->matches[numPairs - 1] + 1; local 842 const Byte *pby2 = pby - distance; 1084 UInt32 distance = matches[offs + 1]; local 1088 if (distance < kNumFullDistances) 1089 curAndLenPrice += p->distancesPrices[lenToPosState][distance]; 1093 GetPosSlot2(distance, slot); 1094 curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][slot]; 1101 opt->backPrev = distance + LZMA_NUM_REPS; 1809 UInt32 distance = p->reps[pos]; local 1822 p->reps[0] = distance; [all...] |
/external/chromium_org/v8/src/arm/ |
H A D | full-codegen-arm.cc | 391 int distance = masm_->SizeOfCodeGeneratedSince(back_edge_target); local 393 Max(1, distance / kCodeSizeMultiplier)); 431 int distance = masm_->pc_offset(); local 433 Max(1, distance / kCodeSizeMultiplier));
|