/external/icu/icu4c/source/common/ |
D | bytestrieiterator.cpp | 28 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator() 38 str_=new CharString(); in Iterator() 40 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) { in Iterator() 50 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator() 54 str_=new CharString(); in Iterator() 59 if(str_==NULL || stack_==NULL) { in Iterator() 70 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); in Iterator() 77 delete str_; in ~Iterator() 89 str_->truncate(length); in reset() 115 str_->truncate(length&0xffff); in next() [all …]
|
D | ucharstrieiterator.cpp | 69 str_.append(pos_, length); in Iterator() 88 str_.truncate(length); in reset() 114 str_.truncate(length&0xffff); in next() 122 str_.append(*pos++); in next() 145 if(isFinal || (maxLength_>0 && str_.length()==maxLength_)) { in next() 158 if(maxLength_>0 && str_.length()==maxLength_) { in next() 172 if(maxLength_>0 && str_.length()+length>maxLength_) { in next() 173 str_.append(pos, maxLength_-str_.length()); in next() 176 str_.append(pos, length); in next() 189 stack_->addElement(((length-(length>>1))<<16)|str_.length(), errorCode); in branchNext() [all …]
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ |
D | streambuf.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 31 : str_(str) in testbuf() 33 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 34 const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data() + str_.size())); in testbuf() 48 int n = str_.size(); in overflow() 49 str_.push_back(__c); in overflow() 50 str_.resize(str_.capacity()); in overflow() 51 base::setp(const_cast<CharT*>(str_.data()), in overflow() 52 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | ostream.pass.cpp | 26 std::basic_string<CharT> str_; member in testbuf 42 int n = str_.size(); in overflow() 43 str_.push_back(__c); in overflow() 44 str_.resize(str_.capacity()); in overflow() 45 base::setp(const_cast<CharT*>(str_.data()), in overflow() 46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | ios_base.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | basic_ios.pass.cpp | 26 std::basic_string<CharT> str_; member in testbuf 42 int n = str_.size(); in overflow() 43 str_.push_back(__c); in overflow() 44 str_.resize(str_.capacity()); in overflow() 45 base::setp(const_cast<CharT*>(str_.data()), in overflow() 46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ |
D | streambuf.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 31 : str_(str) in testbuf() 33 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 34 const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data() + str_.size())); in testbuf() 48 int n = str_.size(); in overflow() 49 str_.push_back(__c); in overflow() 50 str_.resize(str_.capacity()); in overflow() 51 base::setp(const_cast<CharT*>(str_.data()), in overflow() 52 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ |
D | get_streambuf.pass.cpp | 22 std::basic_string<CharT> str_; member in testbuf 28 : str_(str) in testbuf() 30 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 31 const_cast<CharT*>(str_.data()), in testbuf() 32 const_cast<CharT*>(str_.data() + str_.size())); in testbuf() 45 int n = str_.size(); in overflow() 46 str_.push_back(__c); in overflow() 47 str_.resize(str_.capacity()); in overflow() 48 base::setp(const_cast<CharT*>(str_.data()), in overflow() 49 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | get_streambuf_chart.pass.cpp | 23 std::basic_string<CharT> str_; member in testbuf 29 : str_(str) in testbuf() 31 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 32 const_cast<CharT*>(str_.data()), in testbuf() 33 const_cast<CharT*>(str_.data() + str_.size())); in testbuf() 46 int n = str_.size(); in overflow() 47 str_.push_back(__c); in overflow() 48 str_.resize(str_.capacity()); in overflow() 49 base::setp(const_cast<CharT*>(str_.data()), in overflow() 50 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.rvalue/ |
D | CharT_pointer.pass.cpp | 29 std::basic_string<CharT> str_; member in testbuf 45 int n = str_.size(); in overflow() 46 str_.push_back(__c); in overflow() 47 str_.resize(str_.capacity()); in overflow() 48 base::setp(const_cast<CharT*>(str_.data()), in overflow() 49 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.manip/ |
D | endl.pass.cpp | 28 std::basic_string<CharT> str_; member in testbuf 44 int n = str_.size(); in overflow() 45 str_.push_back(__c); in overflow() 46 str_.resize(str_.capacity()); in overflow() 47 base::setp(const_cast<CharT*>(str_.data()), in overflow() 48 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | ends.pass.cpp | 26 std::basic_string<CharT> str_; member in testbuf 42 int n = str_.size(); in overflow() 43 str_.push_back(__c); in overflow() 44 str_.resize(str_.capacity()); in overflow() 45 base::setp(const_cast<CharT*>(str_.data()), in overflow() 46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
/external/libcxx/include/ |
D | __refstring | 26 const char* str_; 77 return str_ != get_gcc_empty_string_storage(); 96 str_ = data; 99 __libcpp_refstring(const __libcpp_refstring& s) _NOEXCEPT : str_(s.str_) 102 __sync_add_and_fetch(&rep_from_data(str_)->count, 1); 108 struct _Rep_base *old_rep = rep_from_data(str_); 109 str_ = s.str_; 111 __sync_add_and_fetch(&rep_from_data(str_)->count, 1); 126 _Rep_base* rep = rep_from_data(str_); 134 const char* c_str() const _NOEXCEPT {return str_;}
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.unformatted/ |
D | put.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | write.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/ |
D | unsigned_short.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | float.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | long_long.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | unsigned_long_long.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | double.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | unsigned_int.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | long_double.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | unsigned_long.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | int.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|
D | long.pass.cpp | 25 std::basic_string<CharT> str_; member in testbuf 41 int n = str_.size(); in overflow() 42 str_.push_back(__c); in overflow() 43 str_.resize(str_.capacity()); in overflow() 44 base::setp(const_cast<CharT*>(str_.data()), in overflow() 45 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
|