/external/chromium_org/ui/message_center/views/ |
D | bounded_label_unittest.cc | 62 return label_->GetWrappedTextForTest(width, lines_); in GetWrappedText() 67 label_->SetBounds(0, 0, width, font_list_.GetHeight() * lines_); in GetLinesForWidth() 68 return label_->GetLinesForWidthAndLimit(width, lines_); in GetLinesForWidth() 75 lines_ = lines; in Label() 77 label_->SetLineLimit(lines_); in Label() 88 int lines_; member in message_center::test::BoundedLabelTest
|
/external/icu4c/test/perf/ustrperf/ |
D | stringperf.h | 94 (*fn1_)(lines_[i].name,lines_[i].len,uS0_[i]); in call() 102 (*fn1_)(lines_[i].name,-1,uS0_[i]); in call() 138 lines_=srcLines; in StringPerfFunction() 151 uS0_[i]=UnicodeString(lines_[i].name, lines_[i].len); in StringPerfFunction() 162 lines_=srcLines; in StringPerfFunction() 185 lines_=NULL; in StringPerfFunction() 207 lines_=NULL; in StringPerfFunction() 252 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len, &err); in prepareLinesForStd() 257 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len-1, &err); in prepareLinesForStd() 323 ULine* lines_; variable
|
/external/chromium_org/third_party/icu/source/test/perf/ustrperf/ |
D | stringperf.h | 92 (*fn1_)(lines_[i].name,lines_[i].len,uS0_[i]); in call() 100 (*fn1_)(lines_[i].name,-1,uS0_[i]); in call() 136 lines_=srcLines; in StringPerfFunction() 149 uS0_[i]=UnicodeString(lines_[i].name, lines_[i].len); in StringPerfFunction() 160 lines_=srcLines; in StringPerfFunction() 183 lines_=NULL; in StringPerfFunction() 205 lines_=NULL; in StringPerfFunction() 250 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len, &err); in prepareLinesForStd() 255 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len-1, &err); in prepareLinesForStd() 321 ULine* lines_; variable
|
/external/chromium/net/ftp/ |
D | ftp_ctrl_response_buffer.cc | 29 while (!lines_.empty()) { in ConsumeData() 30 ParsedLine line = lines_.front(); in ConsumeData() 31 lines_.pop(); in ConsumeData() 120 lines_.push(ParseLine(buffer_.substr(cut_pos, i - cut_pos - 1))); in ExtractFullLinesFromBuffer()
|
D | ftp_ctrl_response_buffer.h | 77 std::queue<ParsedLine> lines_; variable
|
/external/chromium_org/net/ftp/ |
D | ftp_ctrl_response_buffer.cc | 34 while (!lines_.empty()) { in ConsumeData() 35 ParsedLine line = lines_.front(); in ConsumeData() 36 lines_.pop(); in ConsumeData() 145 lines_.push(ParseLine(buffer_.substr(cut_pos, i - cut_pos - 1))); in ExtractFullLinesFromBuffer()
|
D | ftp_ctrl_response_buffer.h | 78 std::queue<ParsedLine> lines_; variable
|
/external/chromium_org/net/tools/balsa/ |
D | balsa_frame.cc | 79 lines_.clear(); in Reset() 495 DCHECK(!lines_.empty()); in FindColonsAndParseIntoKeyValue() 498 const Lines::size_type lines_size_m1 = lines_.size() - 1; in FindColonsAndParseIntoKeyValue() 504 const char* current = stream_begin + lines_[1].first; in FindColonsAndParseIntoKeyValue() 512 const char* line_begin = stream_begin + lines_[i].first; in FindColonsAndParseIntoKeyValue() 519 const char c = *(stream_begin + lines_[i].first); in FindColonsAndParseIntoKeyValue() 528 const char* line_end = stream_begin + lines_[i - 1].second; in FindColonsAndParseIntoKeyValue() 759 DCHECK(!lines_.empty()); in ProcessHeaderLines() 770 if (lines_.size() > 2) { in ProcessHeaderLines() 1006 lines_.push_back(std::make_pair(last_slash_n_idx_, in ProcessHeaders() [all …]
|
D | balsa_frame.h | 256 Lines lines_; variable
|
/external/chromium/net/tools/flip_server/ |
D | balsa_frame.cc | 79 lines_.clear(); in Reset() 495 DCHECK(!lines_.empty()); in FindColonsAndParseIntoKeyValue() 498 const Lines::size_type lines_size_m1 = lines_.size() - 1; in FindColonsAndParseIntoKeyValue() 504 const char* current = stream_begin + lines_[1].first; in FindColonsAndParseIntoKeyValue() 512 const char* line_begin = stream_begin + lines_[i].first; in FindColonsAndParseIntoKeyValue() 519 const char c = *(stream_begin + lines_[i].first); in FindColonsAndParseIntoKeyValue() 528 const char* line_end = stream_begin + lines_[i - 1].second; in FindColonsAndParseIntoKeyValue() 792 DCHECK(!lines_.empty()); in ProcessHeaderLines() 803 if (lines_.size() > 2) { in ProcessHeaderLines() 1039 lines_.push_back(std::make_pair(last_slash_n_idx_, in ProcessHeaders() [all …]
|
D | balsa_frame.h | 255 Lines lines_; variable
|
/external/chromium_org/ui/gfx/ |
D | render_text.cc | 432 lines_.clear(); in SetMultiline() 440 lines_.clear(); in SetDisplayRect() 930 offset.Add(Vector2d(0, lines_[line_number].preceding_heights)); in GetLineOffset() 945 DCHECK(!lines_.empty()); in ToViewPoint() 948 for (; line < lines_.size() && x > lines_[line].size.width(); ++line) in ToViewPoint() 949 x -= lines_[line].size.width(); in ToViewPoint() 967 for (size_t line = 0; line < lines_.size(); ++line) { in TextBoundsToViewBounds() 970 for (size_t i = 0; i < lines_[line].segments.size(); ++i) { in TextBoundsToViewBounds() 971 const internal::LineSegment* segment = &lines_[line].segments[i]; in TextBoundsToViewBounds() 975 0, intersection.length(), lines_[line].size.height()); in TextBoundsToViewBounds() [all …]
|
D | text_elider.cc | 810 lines_(lines), in RectangleText() 816 void Init() { lines_->clear(); } in Init() 883 std::vector<base::string16>* lines_; member in gfx::__anon51dfd0430211::RectangleText 917 if (!insufficient_height_ && !lines_->empty()) { in Finalize() 918 TrimWhitespace(lines_->back(), TRIM_TRAILING, &lines_->back()); in Finalize() 919 if (lines_->back().empty() && !last_line_ended_in_lf_) in Finalize() 920 lines_->pop_back(); in Finalize() 923 lines_->push_back(base::string16()); in Finalize() 945 const int line = lines_->size() - lines_added; in AddLine() 946 TrimWhitespace(lines_->at(line), TRIM_TRAILING, &lines_->at(line)); in AddLine() [all …]
|
D | render_text_win.cc | 359 DCHECK(!lines_.empty()); in Finalize() 362 lines_.pop_back(); in Finalize() 364 lines->swap(lines_); in Finalize() 372 return &lines_[handle.first].segments[handle.second]; in SegmentFromHandle() 415 if (!lines_.empty()) { in AdvanceLine() 416 Line* line = &lines_.back(); in AdvanceLine() 436 lines_.push_back(Line()); in AdvanceLine() 455 Line* line = &lines_.back(); in AddSegment() 459 rtl_segments_.push_back(SegmentHandle(lines_.size() - 1, in AddSegment() 479 std::vector<Line> lines_; member in gfx::internal::LineBreaker
|
D | render_text.h | 405 const std::vector<internal::Line>& lines() const { return lines_; } in lines() 406 void set_lines(std::vector<internal::Line>* lines) { lines_.swap(*lines); } in set_lines() 675 std::vector<internal::Line> lines_; variable
|
D | render_text_unittest.cc | 1682 EXPECT_GT(render_text->lines_.size(), 1U); in TEST_F() 1709 ASSERT_EQ(2U, render_text->lines_.size()); in TEST_F() 1710 ASSERT_EQ(1U, render_text->lines_[0].segments.size()); in TEST_F() 1712 render_text->lines_[0].segments[0].char_range); in TEST_F() 1713 ASSERT_EQ(1U, render_text->lines_[1].segments.size()); in TEST_F() 1715 render_text->lines_[1].segments[0].char_range); in TEST_F() 1735 EXPECT_EQ(1U, render_text->lines_.size()); in TEST_F() 1762 ASSERT_EQ(2U, render_text->lines_.size()); in TEST_F() 1766 render_text->lines_[0].segments.size()); in TEST_F() 1769 render_text->lines_[0].segments[0].char_range); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/ |
D | image_util.js | 16 this.lines_ = {}; 26 if (!(key in this.lines_)) { 28 var div = this.lines_[key] = document.createElement('div'); 31 this.lines_[key] = {}; 34 this.lines_[key].textContent = key + ': ' + value; 47 for (var key in this.lines_) 52 console.log('trace.' + this.lines_[key].textContent);
|
/external/chromium/net/http/ |
D | http_util.h | 188 lines_.Reset(); in Reset() 212 StringTokenizer lines_;
|
D | http_util.cc | 637 : lines_(headers_begin, headers_end, line_delimiter) { in HeadersIterator() 644 while (lines_.GetNext()) { in GetNext() 645 name_begin_ = lines_.token_begin(); in GetNext() 646 values_end_ = lines_.token_end(); in GetNext()
|
/external/chromium_org/net/http/ |
D | http_util.h | 226 lines_.Reset(); in Reset() 250 base::StringTokenizer lines_;
|
D | http_util.cc | 770 : lines_(headers_begin, headers_end, line_delimiter) { in HeadersIterator() 777 while (lines_.GetNext()) { in GetNext() 778 name_begin_ = lines_.token_begin(); in GetNext() 779 values_end_ = lines_.token_end(); in GetNext()
|
/external/chromium-trace/trace-viewer/src/tracing/importer/ |
D | linux_perf_importer.js | 729 this.lines_ = extractResult.lines; 732 this.lines_ = this.events_.split('\n'); 737 this.lineNumber < this.lines_.length; 739 var line = this.lines_[this.lineNumber];
|
/external/chromium_org/ash/system/user/ |
D | tray_user.cc | 223 ScopedVector<gfx::RenderText> lines_; member in ash::internal::tray::PublicAccountUserDetails 507 lines_.clear(); in Layout() 550 lines_.push_back(line); in Layout() 555 const gfx::Size last_line_size = lines_.back()->GetStringSize(); in Layout() 578 for (ScopedVector<gfx::RenderText>::const_iterator it = lines_.begin(); in OnPaint() 579 it != lines_.end(); ++it) { in OnPaint()
|
/external/chromium-trace/ |
D | script.js | 221 …lines_=c.lines):(this.lineNumberBase=0,this.lines_=this.events_.split("\n"));c=null;for(this.lineN…
|
/external/chromium_org/chrome/third_party/chromevox/ |
D | chromeVoxChromePageScript.js | 743 …tEditableExtractor=function(){this.text_="";this.end_=this.start_=0;this.lines_={};this.characterT… 746 …c<=b[f].endIndex;c++)a[c]=f;this.text_=k;this.characterToLineMap_=a;this.lines_=b;this.start_=0<=m… 747 …lines_[a].startIndex};cvox.ContentEditableExtractor.prototype.getLineEnd=function(a){return this.l… 750 …lines_=a;document.body.removeChild(this.shadowElement_)};cvox.EditableTextAreaShadow.prototype.get… 751 cvox.EditableTextAreaShadow.prototype.getLineEnd=function(a){return this.lines_[a].endIndex};cvox.T…
|