Home
last modified time | relevance | path

Searched refs:str_ (Results 1 – 22 of 22) sorted by relevance

/external/chromium/googleurl/src/
Durl_canon_stdstring.h62 str_(str) { in StdStringCanonOutput()
63 cur_len_ = static_cast<int>(str_->size()); // Append to existing data. in StdStringCanonOutput()
64 str_->resize(str_->capacity()); in StdStringCanonOutput()
65 buffer_ = &(*str_)[0]; in StdStringCanonOutput()
66 buffer_len_ = static_cast<int>(str_->size()); in StdStringCanonOutput()
74 str_->resize(cur_len_); in Complete()
79 str_->resize(sz); in Resize()
80 buffer_ = &(*str_)[0]; in Resize()
85 std::string* str_;
/external/chromium/base/i18n/
Dchar_iterator.cc14 : str_(reinterpret_cast<const uint8_t*>(str->data())), in UTF8CharIterator()
21 U8_NEXT(str_, next_pos_, len_, char_); in UTF8CharIterator()
34 U8_NEXT(str_, next_pos_, len_, char_); in Advance()
40 : str_(reinterpret_cast<const char16*>(str->data())), in UTF16CharIterator()
51 : str_(str), in UTF16CharIterator()
78 U16_NEXT(str_, next_pos_, len_, char_); in ReadChar()
Dchar_iterator.h56 const uint8_t* str_;
107 const char16* str_; variable
/external/chromium/net/base/
Dpem_tokenizer.cc41 pos_ = str_.find(kPEMSearchBlock, pos_); in GetNext()
48 if (!str_.substr(pos_).starts_with(it->header)) in GetNext()
53 StringPiece::size_type footer_pos = str_.find(it->footer, pos_); in GetNext()
64 StringPiece encoded = str_.substr(data_begin, in GetNext()
90 str_ = str; in Init()
Dpem_tokenizer.h54 base::StringPiece str_; variable
/external/chromium/chrome/browser/prefs/
Dpref_member_unittest.cc73 str_.Init(kStringPref, prefs, this); in PrefMemberTestClass()
84 EXPECT_EQ(str_.GetValue(), prefs_->GetString(kStringPref)); in Observe()
88 StringPrefMember str_; member in __anon0539fc8d0111::PrefMemberTestClass
248 EXPECT_EQ("default", *test_obj.str_); in TEST()
251 test_obj.str_.SetValue("hello"); in TEST()
258 EXPECT_EQ("world", *(test_obj.str_)); in TEST()
263 EXPECT_EQ("world", *(test_obj.str_)); in TEST()
/external/chromium/testing/gmock/test/
Dgmock-nice-strict_test.cc89 explicit MockBar(const string& s) : str_(s) {} in MockBar()
93 str_ = string() + a1 + a2 + a3 + a4 + static_cast<char>(a5) + in MockBar()
99 const string& str() const { return str_; } in str()
105 string str_; member in testing::gmock_nice_strict_test::MockBar
/external/chromium/chrome/browser/metrics/
Duser_metrics.h21 const char* str_; member
22 explicit UserMetricsAction(const char* str) : str_(str) {} in UserMetricsAction()
Duser_metrics.cc13 Record(action.str_, profile); in RecordAction()
26 Record(action.str_); in RecordAction()
/external/oprofile/libutil++/
Dglob_filter.h49 fnmatcher(std::string const & str) : str_(str) {} in fnmatcher()
53 std::string const & str_; member
Dglob_filter.cpp23 return fnmatch(s.c_str(), str_.c_str(), 0) != FNM_NOMATCH; in operator ()()
/external/chromium/app/sql/
Dconnection.h46 str_(file) { in StatementID()
52 str_(unique_name) { in StatementID()
66 const char* str_; variable
Dconnection.cc53 return strcmp(str_, other.str_) < 0; in operator <()
/external/chromium/googleurl/base/
Dlogging.h205 CheckOpString(std::string* str) : str_(str) { } in CheckOpString()
208 operator bool() const { return str_ != NULL; }
209 std::string* str_; member
322 LOG(FATAL) << *_result.str_ in DECLARE_DCHECK_STROP_IMPL()
Dlogging.cc236 stream_ << "Check failed: " << (*result.str_); in LogMessage()
/external/chromium/third_party/libjingle/source/talk/base/
Dstream.cc932 : str_(str), read_pos_(0), read_only_(false) in StringStream()
937 : str_(const_cast<std::string&>(str)), read_pos_(0), read_only_(true) in StringStream()
947 size_t available = _min(buffer_len, str_.size() - read_pos_); in Read()
950 memcpy(buffer, str_.data() + read_pos_, available); in Read()
965 str_.append(static_cast<const char*>(data), in Write()
976 if (position > str_.size()) in SetPosition()
990 *size = str_.size(); in GetSize()
996 *size = str_.size() - read_pos_; in GetAvailable()
1003 str_.reserve(size); in ReserveSize()
Dstream.h636 std::string& str_;
/external/v8/include/
Dv8.h1238 char* operator*() { return str_; }
1239 const char* operator*() const { return str_; }
1242 char* str_;
1261 char* operator*() { return str_; }
1262 const char* operator*() const { return str_; }
1265 char* str_;
1283 uint16_t* operator*() { return str_; }
1284 const uint16_t* operator*() const { return str_; }
1287 uint16_t* str_;
/external/v8/src/
Dapi.cc4702 str_ = NULL; in Utf8Value()
4711 str_ = NULL; in Utf8Value()
4715 str_ = i::NewArray<char>(length_ + 1); in Utf8Value()
4716 str->WriteUtf8(str_); in Utf8Value()
4722 i::DeleteArray(str_); in ~Utf8Value()
4730 str_ = NULL; in AsciiValue()
4739 str_ = NULL; in AsciiValue()
4743 str_ = i::NewArray<char>(length_ + 1); in AsciiValue()
4744 str->WriteAscii(str_); in AsciiValue()
4750 i::DeleteArray(str_); in ~AsciiValue()
[all …]
Dobjects.cc5019 str_(str.location()), in FlatStringReader()
5027 str_(0), in FlatStringReader()
5034 if (str_ == NULL) return; in PostGarbageCollection()
5035 Handle<String> str(str_); in PostGarbageCollection()
Dobjects.h5914 String** str_;
/external/icu4c/test/intltest/
Dregextst.cpp2209 const char str_[] = { 0x2e, 0x2a, 0x00 }; /* .* */ in API_Match_UTF8() local
2211 utext_openUTF8(&testPattern, str_, -1, &status); in API_Match_UTF8()