/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | levenshtein.c | 19 * row2 holds the current row, row1 the previous row (i.e. for the substring 46 int *row1 = malloc(sizeof(int) * (len2 + 1)); local 51 row1[j] = j * a; 58 row2[j + 1] = row1[j] + s * (string1[i] != string2[j]); 65 if (row2[j + 1] > row1[j + 1] + d) 66 row2[j + 1] = row1[j + 1] + d; 73 row0 = row1; 74 row1 = row2; 78 i = row1[len2]; 80 free(row1); [all...] |
H A D | svghelper.c | 353 void svg_partial_wakeline(u64 start, int row1, char *desc1, int row2, char *desc2) argument 361 if (row1 < row2) { 362 if (row1) { 364 time2pixels(start), row1 * SLOT_MULT + SLOT_HEIGHT, time2pixels(start), row1 * SLOT_MULT + SLOT_HEIGHT + SLOT_MULT/32); 367 time2pixels(start), row1 * SLOT_MULT + SLOT_HEIGHT + SLOT_HEIGHT/48, desc2); 384 if (row1) { 386 time2pixels(start), row1 * SLOT_MULT - SLOT_MULT/32, time2pixels(start), row1 * SLOT_MULT); 389 time2pixels(start), row1 * SLOT_MUL 400 svg_wakeline(u64 start, int row1, int row2) argument [all...] |
H A D | svghelper.h | 20 extern void svg_wakeline(u64 start, int row1, int row2); 21 extern void svg_partial_wakeline(u64 start, int row1, char *desc1, int row2, char *desc2);
|
/external/chromium_org/chrome/browser/history/android/ |
H A D | android_cache_database_unittest.cc | 79 SearchTermRow row1; local 80 ASSERT_EQ(id1, history_db_.GetSearchTerm(search_term1, &row1)); 81 EXPECT_EQ(search_term1, row1.term); 83 ToDatabaseTime(row1.last_visit_time)); 84 EXPECT_EQ(id1, row1.id); 91 EXPECT_EQ(id1, history_db_.GetSearchTerm(update_row1.term, &row1)); 92 EXPECT_EQ(update_row1.term, row1.term); 94 ToDatabaseTime(row1.last_visit_time)); 95 EXPECT_EQ(id1, row1.id); 107 ASSERT_EQ(id2, history_db_.GetSearchTerm(search_term2, &row1)); [all...] |
H A D | android_provider_backend_unittest.cc | 485 HistoryAndBookmarkRow row1; local 486 row1.set_raw_url("cnn.com"); 487 row1.set_url(GURL("http://cnn.com")); 488 row1.set_last_visit_time(Time::Now() - TimeDelta::FromDays(1)); 489 row1.set_created(Time::Now() - TimeDelta::FromDays(20)); 490 row1.set_visit_count(10); 491 row1.set_is_bookmark(true); 492 row1.set_title(UTF8ToUTF16("cnn")); 513 ASSERT_TRUE(backend->InsertHistoryAndBookmark(row1)); 517 EXPECT_EQ(row1 596 HistoryAndBookmarkRow row1; local 726 HistoryAndBookmarkRow row1; local 789 HistoryAndBookmarkRow row1; local 971 HistoryAndBookmarkRow row1; local 1054 HistoryAndBookmarkRow row1; local 1128 HistoryAndBookmarkRow row1; local 1214 HistoryAndBookmarkRow row1; local 1295 HistoryAndBookmarkRow row1; local 1332 HistoryAndBookmarkRow row1; local 1439 HistoryAndBookmarkRow row1; local 1577 HistoryAndBookmarkRow row1; local 1672 HistoryAndBookmarkRow row1; local 1753 HistoryAndBookmarkRow row1; local 1908 HistoryAndBookmarkRow row1; local 1970 HistoryAndBookmarkRow row1; local 2057 HistoryAndBookmarkRow row1; local [all...] |
/external/chromium_org/ui/base/models/ |
H A D | table_model.cc | 71 int TableModel::CompareValues(int row1, int row2, int column_id) { argument 72 DCHECK(row1 >= 0 && row1 < RowCount() && 74 base::string16 value1 = GetText(row1, column_id);
|
H A D | table_model.h | 81 virtual int CompareValues(int row1, int row2, int column_id);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_yuv_sw.c | 140 unsigned short* row1; local 149 row1 = (unsigned short*) out; 150 row2 = row1 + cols + mod; 170 *row1++ = (unsigned short)(rgb_2_pix[ L + cr_r ] | 175 *row1++ = (unsigned short)(rgb_2_pix[ L + cr_r ] | 200 row1 += mod; 211 unsigned char* row1; local 220 row1 = out; 221 row2 = row1 + cols*3 + mod*3; 245 *row1 294 unsigned int* row1; local 369 unsigned int* row1 = (unsigned int*) out; local 443 unsigned char* row1 = out; local 540 unsigned int* row1 = (unsigned int*) out; local [all...] |
H A D | SDL_yuv_mmx.c | 65 (4 for row1 & 4 for row2) 85 Uint32 *row1; local 90 row1 = (Uint32 *)out; // 32 bit target 92 mod = (mod+cols+mod)*4; // increment for row1 in byte 175 // fill destination row1 (needed are mm6=Rr,mm7=Gg,mm5=Bb) 194 "movq %%mm2,(%3)\n" // wrote out ! row1 200 "movq %%mm4,8(%3)\n" // wrote out ! row1 214 "leal 16(%3),%3\n" // row1+16 224 "addl %8,%3\n" // row1+= mod 234 "r"(row1)," 246 Uint16 *row1; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmapProcState_shaderproc.h | 32 const SRCTYPE* SK_RESTRICT row1; local 49 row1 = (const SRCTYPE*)(srcAddr + y1 * rb); 66 SRC_TO_FILTER(row1[x0]), 67 SRC_TO_FILTER(row1[x1]),
|
H A D | SkBitmapProcState_sample.h | 152 const SRCTYPE* SK_RESTRICT row1; local 159 row1 = (const SRCTYPE*)(srcAddr + (XY & 0x3FFF) * rb); 173 SRC_TO_FILTER(row1[x0]), 174 SRC_TO_FILTER(row1[x1]), 211 const SRCTYPE* SK_RESTRICT row1 = (const SRCTYPE*)(srcAddr + y1 * rb); local 216 SRC_TO_FILTER(row1[x0]), 217 SRC_TO_FILTER(row1[x1]),
|
/external/skia/src/core/ |
H A D | SkBitmapProcState_shaderproc.h | 32 const SRCTYPE* SK_RESTRICT row1; local 49 row1 = (const SRCTYPE*)(srcAddr + y1 * rb); 66 SRC_TO_FILTER(row1[x0]), 67 SRC_TO_FILTER(row1[x1]),
|
H A D | SkBitmapProcState_sample.h | 152 const SRCTYPE* SK_RESTRICT row1; local 159 row1 = (const SRCTYPE*)(srcAddr + (XY & 0x3FFF) * rb); 173 SRC_TO_FILTER(row1[x0]), 174 SRC_TO_FILTER(row1[x1]), 211 const SRCTYPE* SK_RESTRICT row1 = (const SRCTYPE*)(srcAddr + y1 * rb); local 216 SRC_TO_FILTER(row1[x0]), 217 SRC_TO_FILTER(row1[x1]),
|
/external/chromium_org/chrome/browser/predictors/ |
H A D | autocomplete_action_predictor_table_unittest.cc | 150 AutocompleteActionPredictorTable::Row row1 = test_db_[1]; local 151 row1.number_of_hits = row1.number_of_hits + 1; 154 AutocompleteActionPredictorTable::Rows(1, row1)); 159 EXPECT_TRUE(RowsAreEqual(row1, updated_row1)) 160 << "Expected: Row with id " << row1.id << "\n"
|
/external/chromium_org/chrome/browser/history/ |
H A D | history_backend_unittest.cc | 386 const URLRow* row1, 390 rows.push_back(*row1); 450 void PopulateTestURLsAndSearchTerms(URLRow* row1, 510 URLRow row1(GURL("http://www.google.com/")); 511 row1.set_visit_count(2); 512 row1.set_typed_count(1); 513 row1.set_last_visit(Time::Now()); 514 backend_->thumbnail_db_->AddIconMapping(row1.url(), favicon1); 523 rows.push_back(row1); 526 URLID row1_id = backend_->db_->GetRowForURL(row1 385 SimulateNotification(int type, const URLRow* row1, const URLRow* row2 = NULL, const URLRow* row3 = NULL) argument 3111 PopulateTestURLsAndSearchTerms( URLRow* row1, URLRow* row2, const base::string16& term1, const base::string16& term2) argument [all...] |
/external/chromium_org/third_party/skia/src/opts/ |
H A D | SkBitmapProcState_opts_SSSE3.cpp | 288 const uint32_t* row1, 299 row1[x0[0]], row1[x1[0]], row1[x0[1]], row1[x1[1]], 411 const uint32_t* row1 = local 523 row0, row1, x0, x1, 531 row0, row1, x0 + 2, x1 + 2, 563 __m128i sum1 = ProcessOnePixel(row1[x0], row1[x 287 ProcessTwoPixelPairs(const uint32_t* row0, const uint32_t* row1, const int* x0, const int* x1, const __m128i& scale_x, const __m128i& all_y, const __m128i& neg_y, const __m128i& alpha) argument 670 const uint32_t* row1 = local [all...] |
H A D | SkBitmapProcState_opts_SSE2.cpp | 27 const uint32_t* row1 = reinterpret_cast<const uint32_t*>(srcAddr + (XY & 0x3FFF) * rb); local 73 __m128i a10 = _mm_cvtsi32_si128(row1[x0]); 74 __m128i a11 = _mm_cvtsi32_si128(row1[x1]); 133 const uint32_t* row1 = reinterpret_cast<const uint32_t*>(srcAddr + (XY & 0x3FFF) * rb); local 183 __m128i a10 = _mm_cvtsi32_si128(row1[x0]); 184 __m128i a11 = _mm_cvtsi32_si128(row1[x1]); 654 const uint32_t* row1 = reinterpret_cast<const uint32_t*>(srcAddr + (XY & 0x3FFF) * rb); local 701 __m128i a10 = _mm_cvtsi32_si128(row1[x0]); 702 __m128i a11 = _mm_cvtsi32_si128(row1[x1]);
|
/external/skia/src/opts/ |
H A D | SkBitmapProcState_opts_SSSE3.cpp | 289 const uint32_t* row1, 300 row1[x0[0]], row1[x1[0]], row1[x0[1]], row1[x1[1]], 412 const uint32_t* row1 = local 524 row0, row1, x0, x1, 532 row0, row1, x0 + 2, x1 + 2, 564 __m128i sum1 = ProcessOnePixel(row1[x0], row1[x 288 ProcessTwoPixelPairs(const uint32_t* row0, const uint32_t* row1, const int* x0, const int* x1, const __m128i& scale_x, const __m128i& all_y, const __m128i& neg_y, const __m128i& alpha) argument 671 const uint32_t* row1 = local [all...] |
H A D | SkBitmapProcState_opts_SSE2.cpp | 27 const uint32_t* row1 = reinterpret_cast<const uint32_t*>(srcAddr + (XY & 0x3FFF) * rb); local 73 __m128i a10 = _mm_cvtsi32_si128(row1[x0]); 74 __m128i a11 = _mm_cvtsi32_si128(row1[x1]); 133 const uint32_t* row1 = reinterpret_cast<const uint32_t*>(srcAddr + (XY & 0x3FFF) * rb); local 183 __m128i a10 = _mm_cvtsi32_si128(row1[x0]); 184 __m128i a11 = _mm_cvtsi32_si128(row1[x1]); 654 const uint32_t* row1 = reinterpret_cast<const uint32_t*>(srcAddr + (XY & 0x3FFF) * rb); local 701 __m128i a10 = _mm_cvtsi32_si128(row1[x0]); 702 __m128i a11 = _mm_cvtsi32_si128(row1[x1]);
|
/external/chromium_org/chrome/browser/task_manager/ |
H A D | task_manager.cc | 86 int row1, 90 bool value1_valid = (model->*f)(row1, &value1); 772 int TaskManagerModel::CompareValues(int row1, int row2, int col_id) const { argument 773 CHECK(row1 < ResourceCount() && row2 < ResourceCount()); 785 const base::string16& title1 = GetResourceTitle(row1); 799 const base::string16& profile1 = GetResourceProfileName(row1); 806 return ValueCompare(GetNetworkUsage(GetResource(row1)), 810 return ValueCompare(GetCPUUsage(GetResource(row1)), 815 this, &TaskManagerModel::GetPrivateMemory, row1, row2); 819 this, &TaskManagerModel::GetSharedMemory, row1, row 84 ValueCompareMember(const TaskManagerModel* model, bool (TaskManagerModel::*f)(int, T*) const, int row1, int row2) argument [all...] |
/external/chromium_org/chrome/browser/importer/ |
H A D | profile_writer_unittest.cc | 70 history::URLRow row1( 76 pages_.push_back(row1);
|
/external/chromium_org/third_party/skia/bench/ |
H A D | tile_analyze.py | 161 """Generates and returns strings of [js_codes, row1, row2] which are codes for 163 row1 is used for the first row of heatmaps; row2 is for corresponding tables. 239 [this_js, row1, row2] = GetTileVisCodes(config + '_' + bench, matrix) 240 heat_plots += row1
|
/external/skia/bench/ |
H A D | tile_analyze.py | 161 """Generates and returns strings of [js_codes, row1, row2] which are codes for 163 row1 is used for the first row of heatmaps; row2 is for corresponding tables. 239 [this_js, row1, row2] = GetTileVisCodes(config + '_' + bench, matrix) 240 heat_plots += row1
|
/external/chromium_org/v8/benchmarks/ |
H A D | navier-stokes.js | 231 var row1 = j0 * rowSize; 233 d[pos] = s0 * (t0 * d0[i0 + row1] + t1 * d0[i0 + row2]) + s1 * (t0 * d0[i1 + row1] + t1 * d0[i1 + row2]);
|
/external/skia/src/effects/ |
H A D | SkLightingImageFilter.cpp | 173 const SkPMColor* row1 = src.getAddr32(x, y); local 176 m[4] = SkGetPackedA32(*row1++); 177 m[5] = SkGetPackedA32(*row1++); 185 m[5] = SkGetPackedA32(*row1++); 198 const SkPMColor* row1 = src.getAddr32(x, y); local 203 m[4] = SkGetPackedA32(*row1++); 204 m[5] = SkGetPackedA32(*row1++); 212 m[5] = SkGetPackedA32(*row1++); 225 const SkPMColor* row1 = src.getAddr32(x, bottom - 1); local 229 m[4] = SkGetPackedA32(*row1 [all...] |