Searched refs:line_count (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/ui/views/corewm/
H A Dtooltip_aura_unittest.cc27 int width, line_count, expect_lines; local
39 width = line_count = -1;
44 TooltipAura::TrimTooltipToFit(max_width, &tooltip, &width, &line_count);
46 EXPECT_EQ(expect_lines, line_count);
51 width = line_count = -1;
55 TooltipAura::TrimTooltipToFit(max_width, &tooltip, &width, &line_count);
57 EXPECT_EQ(max_lines, line_count);
61 width = line_count = -1;
67 TooltipAura::TrimTooltipToFit(max_width, &tooltip, &width, &line_count);
69 EXPECT_EQ(expect_lines, line_count);
[all...]
H A Dtooltip_aura.cc91 int* line_count) {
93 *line_count = 0;
139 *line_count = result_lines.size();
240 int max_width, line_count; local
243 GetMaxWidth(location), &trimmed_text, &max_width, &line_count); local
88 TrimTooltipToFit(int max_width, string16* text, int* width, int* line_count) argument
H A Dtooltip_aura.h27 // and |line_count| to the number of lines of text in the tooltip. |x| and |y|
33 int* line_count);
/external/chromium_org/media/tools/layout_tests/
H A Dtrend_graph_unittest.py32 line_count = 0
35 line_count += 1
36 self.assertEqual(line_count, 2)
/external/clang/tools/clang-format/
H A Dclang-format-diff.py34 def getOffsetLength(filename, line_number, line_count):
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))
H A Dgit-clang-format270 line_count) pairs.
283 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/base/debug/
H A Dtrace_event_memory.cc325 size_t line_count = Tokenize(input_string, "\n", &lines); local
326 if (line_count == 0) {
336 for (size_t i = 1; i < line_count; ++i) {
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_transfer.c109 int line_count = height > 2047 ? 2047 : height; local
123 src_ofst += line_count * src->pitch;
129 dst_ofst += line_count * dst->pitch;
134 PUSH_DATA (push, line_count);
138 height -= line_count;
139 sy += line_count;
140 dy += line_count;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
H A Dnvc0_transfer.c72 int line_count = height > 2047 ? 2047 : height; local
87 src_ofst += line_count * src->pitch;
94 dst_ofst += line_count * dst->pitch;
99 PUSH_DATA (push, line_count);
103 height -= line_count;
104 sy += line_count;
105 dy += line_count;
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_transfer.c109 int line_count = height > 2047 ? 2047 : height; local
123 src_ofst += line_count * src->pitch;
129 dst_ofst += line_count * dst->pitch;
134 PUSH_DATA (push, line_count);
138 height -= line_count;
139 sy += line_count;
140 dy += line_count;
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_transfer.c72 int line_count = height > 2047 ? 2047 : height; local
87 src_ofst += line_count * src->pitch;
94 dst_ofst += line_count * dst->pitch;
99 PUSH_DATA (push, line_count);
103 height -= line_count;
104 sy += line_count;
105 dy += line_count;
/external/chromium/chrome/browser/
H A Dbug_report_util.cc241 size_t line_count = 0;
245 line_count++;
246 if (line_count > kMaxLineCount)
/external/chromium_org/ui/views/widget/
H A Dtooltip_manager_win.cc42 // to the width (in pixels) of the clipped text and |line_count| to the number
49 int* line_count) {
51 *line_count = 0;
60 *line_count = static_cast<int>(lines.size());
45 TrimTooltipToFit(const gfx::FontList& font_list, int available_width, base::string16* text, int* max_width, int* line_count) argument
/external/chromium/third_party/libevent/
H A 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/
H A 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/chrome/browser/feedback/
H A Dfeedback_data.cc110 const size_t line_count = std::count(content.begin(), content.end(), '\n'); local
111 if (line_count > kFeedbackMaxLineCount)
/external/opencv/cvaux/include/
H A 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/ash/system/user/
H A Dtray_user.cc617 int line_count = lines.size(); local
618 if (!too_narrow && line_count == 3 &&
621 ++line_count;
622 if (too_narrow || line_count > 3)
632 int line_count = lines.size(); local
635 ++line_count;
642 line_count * line_height + link_extra_height + insets.height());
/external/chromium_org/base/process/
H A Dprocess_metrics_linux.cc772 size_t line_count = Tokenize(diskinfo_data, "\n", &diskinfo_lines); local
773 if (line_count == 0) {
802 for (size_t i = 0; i < line_count; i++) {
/external/chromium_org/v8/src/
H A Dhandles.cc356 int line_count = line_ends.length(); local
357 Handle<FixedArray> array = isolate->factory()->NewFixedArray(line_count);
358 for (int i = 0; i < line_count; i++) {
/external/v8/src/
H A Dhandles.cc469 int line_count = line_ends.length(); local
470 Handle<FixedArray> array = isolate->factory()->NewFixedArray(line_count);
471 for (int i = 0; i < line_count; i++) {
/external/srec/tools/grxmlcompile/
H A Dgrxmlcompile.cpp129 int line_count = 0; local
132 if(line_count++ == line_num) break;

Completed in 668 milliseconds