/external/chromium_org/ui/views/corewm/ |
D | tooltip_aura_unittest.cc | 27 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 …]
|
D | tooltip_aura.cc | 91 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()
|
D | tooltip_aura.h | 33 int* line_count);
|
/external/clang/tools/clang-format/ |
D | clang-format-diff.py | 34 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))
|
D | git-clang-format | 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/media/tools/layout_tests/ |
D | trend_graph_unittest.py | 32 line_count = 0 35 line_count += 1 36 self.assertEqual(line_count, 2)
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_transfer.c | 109 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/ |
D | nv50_transfer.c | 109 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/ |
D | nvc0_transfer.c | 72 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/ |
D | nvc0_transfer.c | 72 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/ |
D | trace_event_memory.cc | 325 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/ |
D | event_rpcgen.py | 17 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/ |
D | event_rpcgen.py | 17 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/ |
D | tooltip_manager_win.cc | 49 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/ |
D | bug_report_util.cc | 241 size_t line_count = 0; in ValidFeedbackSize() local 245 line_count++; in ValidFeedbackSize() 246 if (line_count > kMaxLineCount) in ValidFeedbackSize()
|
/external/opencv/cvaux/include/ |
D | cvaux.h | 1048 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/ |
D | feedback_data.cc | 110 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/ |
D | tray_user.cc | 617 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/ |
D | process_metrics_linux.cc | 772 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/ |
D | handles.cc | 356 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/ |
D | handles.cc | 469 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/ |
D | grxmlcompile.cpp | 129 int line_count = 0; in showline() local 132 if(line_count++ == line_num) break; in showline()
|
/external/chromium_org/content/browser/accessibility/ |
D | browser_accessibility_cocoa.mm | 1028 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;
|