Home
last modified time | relevance | path

Searched refs:pbase (Results 1 – 25 of 55) sorted by relevance

123

/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
Doverflow.pass.cpp30 char_type* pbase() const {return base::pbase();} in pbase() function
44 assert(f.pbase() == 0); in main()
48 assert(f.pbase() != 0); in main()
49 assert(f.pptr() == f.pbase()); in main()
50 assert(f.epptr() - f.pbase() == 4095); in main()
64 assert(f.pbase() == 0); in main()
68 assert(f.pbase() == 0); in main()
83 assert(f.pbase() == 0); in main()
87 assert(f.pbase() != 0); in main()
88 assert(f.pptr() == f.pbase()); in main()
[all …]
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Doverflow.pass.cpp33 char_type* pbase() const {return base::pbase();} in pbase() function
46 assert(f.pbase() == 0); in main()
50 assert(f.pbase() != 0); in main()
51 assert(f.pptr() == f.pbase()); in main()
52 assert(f.epptr() - f.pbase() == 4095); in main()
64 assert(f.pbase() == 0); in main()
68 assert(f.pbase() == 0); in main()
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/
Dswap.pass.cpp37 assert(this->pbase() == old_that.pbase()); in swap()
45 assert(t.pbase() == old_this.pbase()); in swap()
Dassign.pass.cpp35 assert(this->pbase() == t.pbase()); in operator =()
/external/libcxx/src/
Dstrstream.cpp147 return static_cast<int>(pptr() - pbase()); in pcount()
173 ptrdiff_t nout = pptr() - pbase(); in overflow()
174 ptrdiff_t eout = epptr() - pbase(); in overflow()
277 setp(min(pbase(), newpos), epptr()); in seekoff()
278 pbump(static_cast<int>((epptr() - pbase()) - __off)); in seekoff()
307 setp(min(pbase(), newpos), epptr()); in seekpos()
308 pbump(static_cast<int>((epptr() - pbase()) - temp)); in seekpos()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTypedValue.java122 public static float complexToFraction(int data, float base, float pbase) in complexToFraction() argument
128 return complexToFloat(data) * pbase; in complexToFraction()
134 public float getFraction(float base, float pbase) in getFraction() argument
136 return complexToFraction(typedValue.data, base, pbase); in getFraction()
/external/zlib/src/contrib/iostream3/
Dzfstream.cc217 if (this->pbase()) in overflow()
220 if (this->pptr() > this->epptr() || this->pptr() < this->pbase()) in overflow()
229 int bytes_to_write = this->pptr() - this->pbase(); in overflow()
237 if (gzwrite(file, this->pbase(), bytes_to_write) != bytes_to_write) in overflow()
353 if (!this->pbase()) in disable_buffer()
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/
Dpbump.pass.cpp35 CharT* pbeg = base::pbase(); in pbump()
39 assert(base::pbase() == pbeg); in pbump()
Dsetp.pass.cpp31 assert(base::pbase() == pbeg); in setp()
/external/libcxx/include/
D__std_stream277 char_type* pbase = &__1buf;
278 char_type* pptr = pbase + 1;
283 __r = __cv_->out(*__st_, pbase, pptr, __e,
287 if (__e == pbase)
291 if (fwrite(pbase, 1, 1, __file_) != 1)
301 pbase = (char_type*)__e;
Dfstream304 if (__rhs.pbase())
306 if (__rhs.pbase() == __rhs.__intbuf_)
307 this->setp(__intbuf_, __intbuf_ + (__rhs. epptr() - __rhs.pbase()));
310 (char_type*)__extbuf_ + (__rhs. epptr() - __rhs.pbase()));
311 this->pbump(__rhs. pptr() - __rhs.pbase());
424 else if (this->pbase() == (char_type*)__rhs.__extbuf_min_)
426 ptrdiff_t __n = this->pptr() - this->pbase();
427 ptrdiff_t __e = this->epptr() - this->pbase();
440 else if (__rhs.pbase() == (char_type*)__extbuf_min_)
442 ptrdiff_t __n = __rhs.pptr() - __rhs.pbase();
[all …]
Dsstream276 if (__rhs.pbase() != nullptr)
278 __bout = __rhs.pbase() - __p;
317 if (__rhs.pbase() != nullptr)
319 __bout = __rhs.pbase() - __p;
367 if (__rhs.pbase() != nullptr)
369 __rbout = __rhs.pbase() - __p;
387 if (this->pbase() != nullptr)
389 __lbout = this->pbase() - __p;
444 return string_type(this->pbase(), __hm_, __str_.get_allocator());
531 ptrdiff_t __nout = this->pptr() - this->pbase();
[all …]
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.cons/
Dcopy.pass.cpp35 assert(this->pbase() == t.pbase()); in test()
Ddefault.pass.cpp31 assert(this->pbase() == 0); in test()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.rvalue/
DCharT_pointer.pass.cpp36 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/
Dostream.pass.cpp33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
Dios_base.pass.cpp32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
Dbasic_ios.pass.cpp33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
Dstreambuf.pass.cpp39 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.manip/
Dendl.pass.cpp35 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
Dends.pass.cpp33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
Dstreambuf.pass.cpp39 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.unformatted/
Dput.pass.cpp32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
Dpointer.pass.cpp32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
Dunsigned_int.pass.cpp32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()

123