Home
last modified time | relevance | path

Searched refs:line_count (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/ui/views/corewm/
Dtooltip_aura_unittest.cc27 int width, line_count, expect_lines; in TEST_F() local
39 width = line_count = -1; in TEST_F()
44 TooltipAura::TrimTooltipToFit(max_width, &tooltip, &width, &line_count); in TEST_F()
46 EXPECT_EQ(expect_lines, line_count); in TEST_F()
51 width = line_count = -1; in TEST_F()
55 TooltipAura::TrimTooltipToFit(max_width, &tooltip, &width, &line_count); in TEST_F()
57 EXPECT_EQ(max_lines, line_count); in TEST_F()
61 width = line_count = -1; in TEST_F()
67 TooltipAura::TrimTooltipToFit(max_width, &tooltip, &width, &line_count); in TEST_F()
69 EXPECT_EQ(expect_lines, line_count); in TEST_F()
[all …]
Dtooltip_aura.cc91 int* line_count) { in TrimTooltipToFit() argument
93 *line_count = 0; in TrimTooltipToFit()
139 *line_count = result_lines.size(); in TrimTooltipToFit()
240 int max_width, line_count; in SetText() local
243 GetMaxWidth(location), &trimmed_text, &max_width, &line_count); in SetText()
Dtooltip_aura.h33 int* line_count);
/external/clang/tools/clang-format/
Dclang-format-diff.py34 def getOffsetLength(filename, line_number, line_count): argument
45 elif line_count > 0:
47 line_count -= 1
57 filename, line_number, line_count = r
63 offset, length = getOffsetLength(filename, line_number, line_count)
104 line_count = 1
106 line_count = int(match.group(3))
107 ranges.append((filename, int(match.group(1)), line_count))
Dgit-clang-format283 line_count = 1
285 line_count = int(match.group(3))
286 if line_count > 0:
287 matches.setdefault(filename, []).append(Range(start_line, line_count))
359 '-lines=%s:%s' % (start_line, start_line+line_count-1)
360 for start_line, line_count in line_ranges])
/external/chromium_org/media/tools/layout_tests/
Dtrend_graph_unittest.py32 line_count = 0
35 line_count += 1
36 self.assertEqual(line_count, 2)
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_transfer.c109 int line_count = height > 2047 ? 2047 : height; in nv50_m2mf_transfer_rect() local
123 src_ofst += line_count * src->pitch; in nv50_m2mf_transfer_rect()
129 dst_ofst += line_count * dst->pitch; in nv50_m2mf_transfer_rect()
134 PUSH_DATA (push, line_count); in nv50_m2mf_transfer_rect()
138 height -= line_count; in nv50_m2mf_transfer_rect()
139 sy += line_count; in nv50_m2mf_transfer_rect()
140 dy += line_count; in nv50_m2mf_transfer_rect()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
Dnv50_transfer.c109 int line_count = height > 2047 ? 2047 : height; in nv50_m2mf_transfer_rect() local
123 src_ofst += line_count * src->pitch; in nv50_m2mf_transfer_rect()
129 dst_ofst += line_count * dst->pitch; in nv50_m2mf_transfer_rect()
134 PUSH_DATA (push, line_count); in nv50_m2mf_transfer_rect()
138 height -= line_count; in nv50_m2mf_transfer_rect()
139 sy += line_count; in nv50_m2mf_transfer_rect()
140 dy += line_count; in nv50_m2mf_transfer_rect()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
Dnvc0_transfer.c72 int line_count = height > 2047 ? 2047 : height; in nvc0_m2mf_transfer_rect() local
87 src_ofst += line_count * src->pitch; in nvc0_m2mf_transfer_rect()
94 dst_ofst += line_count * dst->pitch; in nvc0_m2mf_transfer_rect()
99 PUSH_DATA (push, line_count); in nvc0_m2mf_transfer_rect()
103 height -= line_count; in nvc0_m2mf_transfer_rect()
104 sy += line_count; in nvc0_m2mf_transfer_rect()
105 dy += line_count; in nvc0_m2mf_transfer_rect()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_transfer.c72 int line_count = height > 2047 ? 2047 : height; in nvc0_m2mf_transfer_rect() local
87 src_ofst += line_count * src->pitch; in nvc0_m2mf_transfer_rect()
94 dst_ofst += line_count * dst->pitch; in nvc0_m2mf_transfer_rect()
99 PUSH_DATA (push, line_count); in nvc0_m2mf_transfer_rect()
103 height -= line_count; in nvc0_m2mf_transfer_rect()
104 sy += line_count; in nvc0_m2mf_transfer_rect()
105 dy += line_count; in nvc0_m2mf_transfer_rect()
/external/chromium_org/base/debug/
Dtrace_event_memory.cc325 size_t line_count = Tokenize(input_string, "\n", &lines); in AppendHeapProfileAsTraceFormat() local
326 if (line_count == 0) { in AppendHeapProfileAsTraceFormat()
336 for (size_t i = 1; i < line_count; ++i) { in AppendHeapProfileAsTraceFormat()
/external/chromium/third_party/libevent/
Devent_rpcgen.py17 line_count = 0 variable
37 self._tags[entry.Tag()], line_count)
1093 entry, line_count)
1152 newentry.SetLineCount(line_count)
1162 newentry.SetLineCount(line_count)
1193 global line_count
1207 line_count += 1
1244 line_count, line)
1259 line_count )
/external/chromium_org/third_party/libevent/
Devent_rpcgen.py17 line_count = 0 variable
37 self._tags[entry.Tag()], line_count)
1093 entry, line_count)
1152 newentry.SetLineCount(line_count)
1162 newentry.SetLineCount(line_count)
1193 global line_count
1207 line_count += 1
1244 line_count, line)
1259 line_count )
/external/chromium_org/ui/views/widget/
Dtooltip_manager_win.cc49 int* line_count) { in TrimTooltipToFit() argument
51 *line_count = 0; in TrimTooltipToFit()
60 *line_count = static_cast<int>(lines.size()); in TrimTooltipToFit()
/external/chromium/chrome/browser/
Dbug_report_util.cc241 size_t line_count = 0; in ValidFeedbackSize() local
245 line_count++; in ValidFeedbackSize()
246 if (line_count > kMaxLineCount) in ValidFeedbackSize()
/external/opencv/cvaux/include/
Dcvaux.h1048 int* line_count );
1052 CVAPI(void) cvPreWarpImage( int line_count,
1060 CVAPI(void) cvFindRuns( int line_count,
1071 CVAPI(void) cvDynamicCorrespondMulti( int line_count,
1084 int line_count,
1089 CVAPI(void) cvMorphEpilinesMulti( int line_count,
1106 CVAPI(void) cvPostWarpImage( int line_count,
/external/chromium_org/chrome/browser/feedback/
Dfeedback_data.cc110 const size_t line_count = std::count(content.begin(), content.end(), '\n'); in BelowCompressionThreshold() local
111 if (line_count > kFeedbackMaxLineCount) in BelowCompressionThreshold()
/external/chromium_org/ash/system/user/
Dtray_user.cc617 int line_count = lines.size(); in CalculatePreferredSize() local
618 if (!too_narrow && line_count == 3 && in CalculatePreferredSize()
621 ++line_count; in CalculatePreferredSize()
622 if (too_narrow || line_count > 3) in CalculatePreferredSize()
632 int line_count = lines.size(); in CalculatePreferredSize() local
635 ++line_count; in CalculatePreferredSize()
642 line_count * line_height + link_extra_height + insets.height()); in CalculatePreferredSize()
/external/chromium_org/base/process/
Dprocess_metrics_linux.cc772 size_t line_count = Tokenize(diskinfo_data, "\n", &diskinfo_lines); in GetSystemDiskInfo() local
773 if (line_count == 0) { in GetSystemDiskInfo()
802 for (size_t i = 0; i < line_count; i++) { in GetSystemDiskInfo()
/external/chromium_org/v8/src/
Dhandles.cc356 int line_count = line_ends.length(); in CalculateLineEnds() local
357 Handle<FixedArray> array = isolate->factory()->NewFixedArray(line_count); in CalculateLineEnds()
358 for (int i = 0; i < line_count; i++) { in CalculateLineEnds()
/external/v8/src/
Dhandles.cc469 int line_count = line_ends.length(); in CalculateLineEnds() local
470 Handle<FixedArray> array = isolate->factory()->NewFixedArray(line_count); in CalculateLineEnds()
471 for (int i = 0; i < line_count; i++) { in CalculateLineEnds()
/external/srec/tools/grxmlcompile/
Dgrxmlcompile.cpp129 int line_count = 0; in showline() local
132 if(line_count++ == line_num) break; in showline()
/external/chromium_org/content/browser/accessibility/
Dbrowser_accessibility_cocoa.mm1028 int line_count = static_cast<int>(line_breaks.size()) + 1;
1029 if (line_index < 0 || line_index >= line_count)
1032 int end = line_index < line_count - 1 ? line_breaks[line_index] : len;