Home
last modified time | relevance | path

Searched refs:row2 (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/tools/perf/util/
Dlevenshtein.c47 int *row2 = malloc(sizeof(int) * (len2 + 1)); in levenshtein() local
55 row2[0] = (i + 1) * d; in levenshtein()
58 row2[j + 1] = row1[j] + s * (string1[i] != string2[j]); in levenshtein()
62 row2[j + 1] > row0[j - 1] + w) in levenshtein()
63 row2[j + 1] = row0[j - 1] + w; in levenshtein()
65 if (row2[j + 1] > row1[j + 1] + d) in levenshtein()
66 row2[j + 1] = row1[j + 1] + d; in levenshtein()
68 if (row2[j + 1] > row2[j] + a) in levenshtein()
69 row2[j + 1] = row2[j] + a; in levenshtein()
74 row1 = row2; in levenshtein()
[all …]
Dsvghelper.c353 void svg_partial_wakeline(u64 start, int row1, char *desc1, int row2, char *desc2) in svg_partial_wakeline() argument
361 if (row1 < row2) { in svg_partial_wakeline()
369 if (row2) { in svg_partial_wakeline()
371 time2pixels(start), row2 * SLOT_MULT - SLOT_MULT/32, time2pixels(start), row2 * SLOT_MULT); in svg_partial_wakeline()
374 time2pixels(start), row2 * SLOT_MULT - SLOT_MULT/32, desc1); in svg_partial_wakeline()
377 if (row2) { in svg_partial_wakeline()
379 …time2pixels(start), row2 * SLOT_MULT + SLOT_HEIGHT, time2pixels(start), row2 * SLOT_MULT + SLOT_H… in svg_partial_wakeline()
382 time2pixels(start), row2 * SLOT_MULT + SLOT_HEIGHT + SLOT_MULT/48, desc1); in svg_partial_wakeline()
393 if (row2 > row1) in svg_partial_wakeline()
400 void svg_wakeline(u64 start, int row1, int row2) in svg_wakeline() argument
[all …]
Dsvghelper.h20 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);
/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_main.c719 u32 row0, row1, row2, row3; in bnx2x_mc_assert() local
734 row2 = REG_RD(bp, BAR_XSTRORM_INTMEM + in bnx2x_mc_assert()
742 i, row3, row2, row1, row0); in bnx2x_mc_assert()
762 row2 = REG_RD(bp, BAR_TSTRORM_INTMEM + in bnx2x_mc_assert()
770 i, row3, row2, row1, row0); in bnx2x_mc_assert()
790 row2 = REG_RD(bp, BAR_CSTRORM_INTMEM + in bnx2x_mc_assert()
798 i, row3, row2, row1, row0); in bnx2x_mc_assert()
818 row2 = REG_RD(bp, BAR_USTRORM_INTMEM + in bnx2x_mc_assert()
826 i, row3, row2, row1, row0); in bnx2x_mc_assert()