/external/chromium_org/url/ |
url_canon_stdstring.cc | 10 : CanonOutput(), str_(str) { 11 cur_len_ = static_cast<int>(str_->size()); // Append to existing data. 12 str_->resize(str_->capacity()); 13 buffer_ = str_->empty() ? NULL : &(*str_)[0]; 14 buffer_len_ = static_cast<int>(str_->size()); 22 str_->resize(cur_len_); 27 str_->resize(sz); 28 buffer_ = str_->empty() ? NULL : &(*str_)[0] [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ |
streambuf.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 31 : str_(str) 33 base::setg(const_cast<CharT*>(str_.data()), 34 const_cast<CharT*>(str_.data()), 35 const_cast<CharT*>(str_.data() + str_.size())); 48 int n = str_.size(); 49 str_.push_back(__c); 50 str_.resize(str_.capacity()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ |
streambuf.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 31 : str_(str) 33 base::setg(const_cast<CharT*>(str_.data()), 34 const_cast<CharT*>(str_.data()), 35 const_cast<CharT*>(str_.data() + str_.size())); 48 int n = str_.size(); 49 str_.push_back(__c); 50 str_.resize(str_.capacity()) [all...] |
basic_ios.pass.cpp | 26 std::basic_string<CharT> str_; member in class:testbuf 42 int n = str_.size(); 43 str_.push_back(__c); 44 str_.resize(str_.capacity()); 45 base::setp(const_cast<CharT*>(str_.data()), 46 const_cast<CharT*>(str_.data() + str_.size()));
|
ios_base.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
ostream.pass.cpp | 26 std::basic_string<CharT> str_; member in class:testbuf 42 int n = str_.size(); 43 str_.push_back(__c); 44 str_.resize(str_.capacity()); 45 base::setp(const_cast<CharT*>(str_.data()), 46 const_cast<CharT*>(str_.data() + str_.size()));
|
/external/icu4c/common/ |
bytestrieiterator.cpp | 28 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { 32 // str_ and stack_ are pointers so that it's easy to turn bytestrie.h into 38 str_=new CharString(); 40 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) { 50 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { 54 str_=new CharString(); 59 if(str_==NULL || stack_==NULL) { 65 // Pending linear-match node, append remaining bytes to str_. 70 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); 77 delete str_; [all...] |
/external/marisa-trie/lib/marisa/ |
query.h | 38 explicit CQuery(const char *str) : str_(str) {} 39 CQuery(const CQuery &query) : str_(query.str_) {} 42 str->insert(0, str_); 46 return str_[i]; 49 return str_[i] == '\0'; 53 const char *str_; member in class:marisa::CQuery
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
query.h | 38 explicit CQuery(const char *str) : str_(str) {} 39 CQuery(const CQuery &query) : str_(query.str_) {} 42 str->insert(0, str_); 46 return str_[i]; 49 return str_[i] == '\0'; 53 const char *str_; member in class:marisa_alpha::CQuery
|
/external/chromium/base/i18n/ |
char_iterator.cc | 14 : str_(reinterpret_cast<const uint8_t*>(str->data())), 21 U8_NEXT(str_, next_pos_, len_, char_); 34 U8_NEXT(str_, next_pos_, len_, char_); 40 : str_(reinterpret_cast<const char16*>(str->data())), 51 : str_(str), 78 U16_NEXT(str_, next_pos_, len_, char_);
|
/external/chromium_org/base/i18n/ |
char_iterator.cc | 14 : str_(reinterpret_cast<const uint8_t*>(str->data())), 21 U8_NEXT(str_, next_pos_, len_, char_); 34 U8_NEXT(str_, next_pos_, len_, char_); 40 : str_(reinterpret_cast<const char16*>(str->data())), 51 : str_(str), 78 U16_NEXT(str_, next_pos_, len_, char_);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.unformatted/ |
get_streambuf.pass.cpp | 22 std::basic_string<CharT> str_; member in class:testbuf 28 : str_(str) 30 base::setg(const_cast<CharT*>(str_.data()), 31 const_cast<CharT*>(str_.data()), 32 const_cast<CharT*>(str_.data() + str_.size())); 45 int n = str_.size(); 46 str_.push_back(__c); 47 str_.resize(str_.capacity()) [all...] |
get_streambuf_chart.pass.cpp | 23 std::basic_string<CharT> str_; member in class:testbuf 29 : str_(str) 31 base::setg(const_cast<CharT*>(str_.data()), 32 const_cast<CharT*>(str_.data()), 33 const_cast<CharT*>(str_.data() + str_.size())); 46 int n = str_.size(); 47 str_.push_back(__c); 48 str_.resize(str_.capacity()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/ |
bool.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
double.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
float.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
int.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
long.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
long_double.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
long_long.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
pointer.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
short.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
unsigned_int.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
unsigned_long.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|
unsigned_long_long.pass.cpp | 25 std::basic_string<CharT> str_; member in class:testbuf 41 int n = str_.size(); 42 str_.push_back(__c); 43 str_.resize(str_.capacity()); 44 base::setp(const_cast<CharT*>(str_.data()), 45 const_cast<CharT*>(str_.data() + str_.size()));
|