Home
last modified time | relevance | path

Searched refs:text_ (Results 1 – 25 of 152) sorted by relevance

1234567

/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dsubstitute.h90 : text_(value), size_(strlen(text_)) {} in SubstituteArg()
92 : text_(value.data()), size_(value.size()) {} in SubstituteArg()
96 : text_(NULL), size_(-1) {} in SubstituteArg()
105 : text_(scratch_), size_(1) { scratch_[0] = value; } in SubstituteArg()
107 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
109 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
111 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
113 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
115 : text_(FastLongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
117 : text_(FastULongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dsubstitute.h90 : text_(value), size_(strlen(text_)) {} in SubstituteArg()
92 : text_(value.data()), size_(value.size()) {} in SubstituteArg()
96 : text_(NULL), size_(-1) {} in SubstituteArg()
105 : text_(scratch_), size_(1) { scratch_[0] = value; } in SubstituteArg()
107 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
109 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
111 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
113 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
115 : text_(FastLongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
117 : text_(FastULongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg()
[all …]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dunicodestring.cc32 text_ = src.text_; in operator =()
38 return equal(text_.begin(), text_.end(), rhs.text_.begin()); in operator ==()
51 for (UnicodeText::const_iterator it = text_.begin(); it != text_.end(); in indexOf()
63 UnicodeText::const_iterator start_it = text_.begin(); in replace()
66 unicode_text.append(text_.begin(), start_it); in replace()
67 unicode_text.append(src.text_); in replace()
69 unicode_text.append(start_it, text_.end()); in replace()
70 text_ = unicode_text; in replace()
76 UnicodeText::const_iterator pos_it = text_.begin(); in setCharAt()
79 unicode_text.append(text_.begin(), pos_it); in setCharAt()
[all …]
Dunicodestring.h37 : text_(UTF8ToUnicodeText(utf8, std::strlen(utf8))), in UnicodeString()
46 : text_(src.text_), cached_index_(-1) {} in UnicodeString()
56 text_.push_back(codepoint); in append()
62 return text_.begin(); in begin()
66 return text_.end(); in end()
74 return text_.size(); in length()
80 text_.clear(); in remove()
92 text_.CopyUTF8(s, len); in setTo()
103 out = UnicodeTextToUTF8(text_); in toUTF8String()
109 UnicodeText text_;
/external/chromium_org/third_party/cld/encodings/compact_lang_det/win/
Dnormalizedunicodetext.cc97 text_.reset(); in TryToNormalizeText()
112 text_.reset(new WCHAR[folded_text_size]); in TryToNormalizeText()
113 if (!text_.get()) { in TryToNormalizeText()
119 ::FoldStringW(MAP_PRECOMPOSED, text, -1, text_.get(), folded_text_size); in TryToNormalizeText()
122 text_.reset(); in TryToNormalizeText()
126 return text_.get(); in TryToNormalizeText()
139 text_.reset(new WCHAR[normalized_text_size_guess]); in TryToNormalizeText()
140 if (!text_.get()) { in TryToNormalizeText()
147 text_.get(), in TryToNormalizeText()
152 return text_.get(); in TryToNormalizeText()
[all …]
/external/chromium_org/chrome/renderer/autofill/
Dpage_click_tracker_browsertest.cc73 text_ = document.getElementById("text_1"); in SetUp()
74 ASSERT_FALSE(text_.isNull()); in SetUp()
78 text_.reset(); in TearDown()
102 blink::WebElement text_; member in autofill::PageClickTrackerTest
112 EXPECT_TRUE(text_ == test_listener_.element_clicked_); in TEST_F()
120 EXPECT_TRUE(text_ == test_listener_.element_clicked_); in TEST_F()
130 EXPECT_NE(text_, text_.document().focusedNode()); in TEST_F()
132 EXPECT_EQ(text_, text_.document().focusedNode()); in TEST_F()
/external/chromium_org/net/dns/
Ddns_hosts.cc23 : text_(text), in HostsParser()
36 switch (text_[pos_]) { in Advance()
65 text_ = StringPiece(); in Advance()
73 pos_ = text_.find("\n", pos_); in SkipRestOfLine()
88 pos_ = text_.find_first_of(" \t\n\r#", pos_); in SkipToken()
92 pos_ = text_.find_first_not_of(" \t", pos_); in SkipWhitespace()
95 StringPiece text_; member in net::HostsParser
/external/chromium_org/ppapi/cpp/dev/
Dfont_dev.cc67 pp_text_run_.text = text_.pp_var(); in TextRun_Dev()
75 : text_(text) { in TextRun_Dev()
76 pp_text_run_.text = text_.pp_var(); in TextRun_Dev()
81 TextRun_Dev::TextRun_Dev(const TextRun_Dev& other) : text_(other.text_) { in TextRun_Dev()
82 pp_text_run_.text = text_.pp_var(); in TextRun_Dev()
92 text_ = other.text_; in operator =()
93 pp_text_run_.text = text_.pp_var(); in operator =()
/external/chromium-trace/trace-viewer/src/tracing/
Dfilter.js70 this.text_ = text.toLowerCase();
76 if (this.text_.length === 0)
80 return counter.name.toLowerCase().indexOf(this.text_) !== -1;
84 if (this.text_.length === 0)
88 return slice.title.toLowerCase().indexOf(this.text_) !== -1;
/external/chromium_org/ppapi/cpp/trusted/
Dbrowser_font_trusted.cc92 pp_text_run_.text = text_.pp_var(); in BrowserFontTextRun()
100 : text_(text) { in BrowserFontTextRun()
101 pp_text_run_.text = text_.pp_var(); in BrowserFontTextRun()
107 : text_(other.text_) { in BrowserFontTextRun()
108 pp_text_run_.text = text_.pp_var(); in BrowserFontTextRun()
119 text_ = other.text_; in operator =()
120 pp_text_run_.text = text_.pp_var(); in operator =()
/external/chromium/chrome/browser/chromeos/login/
Dmessage_bubble.cc63 text_ = new views::Label(text); in MessageBubble()
64 text_->SetMultiLine(true); in MessageBubble()
65 text_->SetHorizontalAlignment(views::Label::ALIGN_LEFT); in MessageBubble()
66 text_->SizeToFit(kMaxLabelWidth); in MessageBubble()
67 layout->AddView(text_); in MessageBubble()
118 bubble->text_->parent(), delegate); in Show()
135 bubble->text_->parent(), delegate); in ShowNoGrab()
/external/chromium_org/chrome/renderer/spellchecker/
Dspellcheck_provider_hunspell_unittest.cc39 EXPECT_TRUE(provider_.text_.empty()); in TEST_F()
46 EXPECT_TRUE(provider_.text_.empty()); in TEST_F()
54 EXPECT_EQ(ASCIIToUTF16("First "), provider_.text_); in TEST_F()
62 EXPECT_EQ(ASCIIToUTF16("First Second\n"), provider_.text_); in TEST_F()
70 EXPECT_EQ(ASCIIToUTF16("First Second\nThird "), provider_.text_); in TEST_F()
78 EXPECT_TRUE(provider_.text_.empty()); in TEST_F()
87 EXPECT_EQ(ASCIIToUTF16("First Second\nThird Fourth."), provider_.text_); in TEST_F()
/external/chromium_org/tools/grit/grit/gather/
Drc.py95 self.text_ = out.strip()
150 self._RegExpParse(self.dialog_re_, self.text_)
207 self._RegExpParse(self.menu_re_, self.text_)
267 self._RegExpParse(self.version_re_, self.text_)
311 self.text_ = out
343 self._RegExpParse(self.accelerators_re_, self.text_)
Dtxt.py19 self.text_ = self._LoadInputFile()
20 self.clique_ = self.uberclique.MakeClique(tclib.Message(text=self.text_))
24 return self.text_
/external/chromium_org/ui/views/controls/
Dlabel.cc81 if (text == text_) in SetText()
83 text_ = text; in SetText()
187 base::SplitString(text_, '\n', &lines); in SizeToFit()
256 gfx::Canvas::SizeStringInt(text_, font_list_, &w, &h, line_height_, flags); in GetHeightForWidth()
296 *tooltip = text_; in GetTooltipText()
306 state->name = text_; in GetAccessibleState()
342 gfx::Canvas::SizeStringInt(text_, font_list_, &w, &h, line_height_, flags); in GetTextSize()
445 base::i18n::GetFirstStrongCharacterDirection(text_); in ComputeDrawStringFlags()
496 *paint_text = text_; in CalculateDrawStringParams()
498 *paint_text = gfx::ElideText(text_, font_list_, GetAvailableRect().width(), in CalculateDrawStringParams()
[all …]
/external/regex-re2/re2/testing/
Dbacktrack.cc64 StringPiece text_; // text being searched member in re2::Backtracker
97 text_ = text; in Search()
152 CHECK(p <= text_.end()); in Visit()
153 int n = id*(text_.size()+1) + (p - text_.begin()); in Visit()
162 if (p < text_.end()) in Visit()
/external/chromium_org/third_party/re2/re2/testing/
Dbacktrack.cc64 StringPiece text_; // text being searched member in re2::Backtracker
97 text_ = text; in Search()
152 CHECK(p <= text_.end()); in Visit()
153 int n = id*(text_.size()+1) + (p - text_.begin()); in Visit()
162 if (p < text_.end()) in Visit()
/external/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc63 string text_; member in google::protobuf::compiler::__anon265bcc8d0111::MockErrorCollector
68 strings::SubstituteAndAppend(&text_, "$0:$1:$2: $3\n", in AddError()
111 string error() const { return error_collector_.text_; } in error()
125 EXPECT_EQ("", error_collector_.text_); in TEST_F()
154 EXPECT_EQ("", error_collector_.text_); in TEST_F()
177 error_collector_.text_); in TEST_F()
190 error_collector_.text_); in TEST_F()
210 error_collector_.text_); in TEST_F()
227 ASSERT_TRUE(file != NULL) << error_collector_.text_; in TEST_F()
228 EXPECT_EQ("", error_collector_.text_); in TEST_F()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc63 string text_; member in google::protobuf::compiler::__anone64a7ba00111::MockErrorCollector
68 strings::SubstituteAndAppend(&text_, "$0:$1:$2: $3\n", in AddError()
111 string error() const { return error_collector_.text_; } in error()
125 EXPECT_EQ("", error_collector_.text_); in TEST_F()
154 EXPECT_EQ("", error_collector_.text_); in TEST_F()
177 error_collector_.text_); in TEST_F()
190 error_collector_.text_); in TEST_F()
210 error_collector_.text_); in TEST_F()
227 ASSERT_TRUE(file != NULL) << error_collector_.text_; in TEST_F()
228 EXPECT_EQ("", error_collector_.text_); in TEST_F()
/external/chromium_org/chrome/browser/ui/omnibox/
Domnibox_edit_unittest.cc32 virtual base::string16 GetText() const OVERRIDE { return text_; } in GetText()
36 text_ = display_text; in SetUserText()
42 text_ = text; in SetWindowTextAndCaretPos()
57 text_ = display_text; in OnTemporaryTextMaybeChanged()
61 const bool text_changed = text_ != display_text; in OnInlineAutocompleteTextMaybeChanged()
62 text_ = display_text; in OnInlineAutocompleteTextMaybeChanged()
97 base::string16 text_; member in __anone7d1fd010111::TestingOmniboxView
/external/chromium/chrome/browser/ui/webui/
Dtextfields_ui.h62 const std::wstring& text() const { return text_; } in text()
63 void set_text(const std::wstring& text) { text_ = text; } in set_text()
66 std::wstring text_;
/external/chromium_org/chrome/browser/ui/views/
Dcrypto_module_password_dialog_view_unittest.cc23 text_ = text; in Capture()
32 std::string text_; member in chrome::CryptoModulePasswordDialogViewTest
46 EXPECT_EQ(kPassword, text_); in TEST_F()
/external/chromium_org/chromeos/ime/
Dibus_text.h33 const std::string& text() const { return text_; } in text()
34 void set_text(const std::string& text) { text_ = text; } in set_text()
57 std::string text_;
/external/chromium_org/chrome/browser/first_run/
Dfirst_run_browsertest.cc84 ASSERT_TRUE(text_.get()); in SetUp()
87 EXPECT_TRUE(file_util::WriteFile(prefs_file_, text_->c_str(), in SetUp()
88 text_->size())); in SetUp()
109 text_.reset(new std::string(text)); in SetMasterPreferencesForTest()
114 scoped_ptr<std::string> text_; member in __anon4d84a6930111::FirstRunMasterPrefsBrowserTestBase
/external/regex-re2/re2/
Dbitstate.cc50 StringPiece text_; // text being searched member in re2::BitState
97 uint n = id * (text_.size() + 1) + (p - text_.begin()); in ShouldVisit()
144 const char* end = text_.end(); in TrySearch()
256 if (endmatch_ && p != text_.end()) in TrySearch()
281 if (p == text_.end()) in TrySearch()
297 text_ = text; in Search()

1234567