Home
last modified time | relevance | path

Searched refs:p_ (Results 1 – 25 of 146) sorted by relevance

123456

/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
Drefcount.h179 Ptr() : p_(NULL) { in Ptr()
184 Ptr(T* pT) : p_(NULL) { in Ptr()
188 Ptr(const Ptr<T>& p) : p_(NULL) { in Ptr()
197 if (p_ == pT) {
198 return p_;
208 p_ = pT;
209 return p_;
213 if (p_ == p.p_) {
214 return p_;
216 return operator=(p.p_);
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
Drefcount.h179 Ptr() : p_(NULL) { in Ptr()
184 Ptr(T* pT) : p_(NULL) { in Ptr()
188 Ptr(const Ptr<T>& p) : p_(NULL) { in Ptr()
197 if (p_ == pT) {
198 return p_;
208 p_ = pT;
209 return p_;
213 if (p_ == p.p_) {
214 return p_;
216 return operator=(p.p_);
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_auto_ptr.h47 T *p_;
53 AutoPtr () : p_ (0) { } in AutoPtr()
59 explicit AutoPtr (T *p) : p_( p ) { } in AutoPtr()
72 T *Get () const { return p_; } in Get()
94 T *operator-> () const { return p_; }
99 T &operator* () const { return *p_; }
105 T* temp = x.p_; in Swap()
106 x.p_ = y.p_; in Swap()
107 y.p_ = temp; in Swap()
127 delete p_; in ~AutoPtr() local
[all …]
/third_party/boost/libs/beast/include/boost/beast/ssl/
Dssl_stream.hpp79 std::unique_ptr<stream_type> p_; member in boost::beast::ssl_stream
108 : p_(new stream_type{ in ssl_stream()
123 return p_->get_executor(); in get_executor()
153 return p_->next_layer().native_handle(); in native_handle()
170 return p_->next_layer().next_layer(); in next_layer()
187 return p_->next_layer().next_layer(); in next_layer()
204 p_->next_layer().set_verify_mode(v); in set_verify_mode()
223 p_->next_layer().set_verify_mode(v, ec); in set_verify_mode()
241 p_->next_layer().set_verify_depth(depth); in set_verify_depth()
260 p_->next_layer().set_verify_depth(depth, ec); in set_verify_depth()
[all …]
/third_party/boost/boost/beast/ssl/
Dssl_stream.hpp79 std::unique_ptr<stream_type> p_; member in boost::beast::ssl_stream
108 : p_(new stream_type{ in ssl_stream()
123 return p_->get_executor(); in get_executor()
153 return p_->next_layer().native_handle(); in native_handle()
170 return p_->next_layer().next_layer(); in next_layer()
187 return p_->next_layer().next_layer(); in next_layer()
204 p_->next_layer().set_verify_mode(v); in set_verify_mode()
223 p_->next_layer().set_verify_mode(v, ec); in set_verify_mode()
241 p_->next_layer().set_verify_depth(depth); in set_verify_depth()
260 p_->next_layer().set_verify_depth(depth, ec); in set_verify_depth()
[all …]
/third_party/boost/libs/core/test/
Dto_address_test.cpp15 : p_(p) { } in P1()
17 return p_; in operator ->()
20 T* p_; member in P1
27 : p_(p) { } in P2()
29 return p_; in operator ->()
32 P1<T> p_; member in P2
40 : p_(p) { } in P3()
42 return p_; in get()
45 T* p_; member in P3
61 : p_(p) { } in P4()
[all …]
/third_party/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.cc146 p_(), in JsonStreamParser()
214 p_ = json_ = *scratch; in FinishParse()
216 p_ = json_ = leftover_; in FinishParse()
228 if (!p_.empty()) { in FinishParse()
239 p_ = json_ = chunk; in ParseChunk()
246 if (p_.empty()) { in ParseChunk()
257 leftover_ = std::string(p_); in ParseChunk()
344 if (!finishing_ && p_.length() < kKeywordFalse.length()) { in ParseValue()
366 string_open_ = *p_.data(); in ParseStringHelper()
371 const char* last = p_.data(); in ParseStringHelper()
[all …]
/third_party/boost/boost/asio/detail/
Dscoped_ptr.hpp32 : p_(p) in scoped_ptr()
39 delete p_; in ~scoped_ptr()
45 return p_; in get()
51 return p_; in operator ->()
57 return *p_; in operator *()
63 delete p_; in reset()
64 p_ = p; in reset()
70 T* tmp = p_; in release()
71 p_ = 0; in release()
80 T* p_; member in boost::asio::detail::scoped_ptr
/third_party/boost/libs/asio/include/boost/asio/detail/
Dscoped_ptr.hpp32 : p_(p) in scoped_ptr()
39 delete p_; in ~scoped_ptr()
45 return p_; in get()
51 return p_; in operator ->()
57 return *p_; in operator *()
63 delete p_; in reset()
64 p_ = p; in reset()
70 T* tmp = p_; in release()
71 p_ = 0; in release()
80 T* p_; member in boost::asio::detail::scoped_ptr
/third_party/boost/boost/variant/
Drecursive_wrapper.hpp37 T* p_; member in boost::recursive_wrapper
72 T* temp = operand.p_; in swap()
73 operand.p_ = p_; in swap()
74 p_ = temp; in swap()
97 T* get_pointer() { return p_; } in get_pointer()
98 const T* get_pointer() const { return p_; } in get_pointer()
105 boost::checked_delete(p_); in ~recursive_wrapper()
110 : p_(new T) in recursive_wrapper()
116 : p_(new T( operand.get() )) in recursive_wrapper()
122 : p_(new T(operand)) in recursive_wrapper()
[all …]
/third_party/boost/libs/beast/include/boost/beast/zlib/detail/
Dwindow.hpp53 std::unique_ptr<std::uint8_t[]> p_; member in boost::beast::zlib::detail::window
83 p_.reset(); in reset()
97 std::memcpy(out, &p_[i_ - pos], n); in read()
104 std::memcpy(out, &p_[i], n); in read()
107 std::memcpy(out, &p_[i], m); in read()
109 std::memcpy(out, &p_[0], n - m); in read()
115 if(! p_) in write()
116 p_ = boost::make_unique< in write()
122 std::memcpy(&p_[0], in + (n - size_), size_); in write()
127 std::memcpy(&p_[i_], in, n); in write()
[all …]
/third_party/boost/boost/beast/zlib/detail/
Dwindow.hpp53 std::unique_ptr<std::uint8_t[]> p_; member in boost::beast::zlib::detail::window
83 p_.reset(); in reset()
97 std::memcpy(out, &p_[i_ - pos], n); in read()
104 std::memcpy(out, &p_[i], n); in read()
107 std::memcpy(out, &p_[i], m); in read()
109 std::memcpy(out, &p_[0], n - m); in read()
115 if(! p_) in write()
116 p_ = boost::make_unique< in write()
122 std::memcpy(&p_[0], in + (n - size_), size_); in write()
127 std::memcpy(&p_[i_], in, n); in write()
[all …]
/third_party/boost/boost/smart_ptr/
Dallocate_unique.hpp71 : p_() { } in sp_alloc_ptr()
75 : p_(const_cast<typename boost::remove_cv<T>::type*>(p)) { } in sp_alloc_ptr()
79 : p_(p) { } in sp_alloc_ptr()
83 : p_() { } in sp_alloc_ptr()
87 return *p_; in operator *()
91 return boost::to_address(p_); in operator ->()
96 return !!p_; in operator bool()
101 return !p_; in operator !()
105 return p_; in ptr()
121 P p_; member in boost::detail::sp_alloc_ptr
[all …]
Datomic_shared_ptr.hpp27 boost::shared_ptr<T> p_; member in boost::atomic_shared_ptr
40 if( p_._internal_equiv( v ) ) in compare_exchange()
42 p_.swap( w ); in compare_exchange()
49 shared_ptr<T> tmp( p_ ); in compare_exchange()
67 : p_( std::move( p ) ), l_ BOOST_DETAIL_SPINLOCK_INIT in atomic_shared_ptr()
81 : p_( std::move( p ) )
83 : p_( p )
95 p_.swap( r ); in operator =()
108 return p_; in load()
114 return p_; in load()
[all …]
/third_party/boost/libs/beast/include/boost/beast/core/impl/
Dsaved_handler.ipp22 if(p_)
23 p_->destroy();
28 : p_(boost::exchange(other.p_, nullptr))
38 p_ = boost::exchange(other.p_, nullptr);
46 if(! p_)
48 boost::exchange(p_, nullptr)->destroy();
59 p_, nullptr)->invoke();
66 if(! p_)
69 p_, nullptr)->invoke();
/third_party/boost/boost/beast/core/impl/
Dsaved_handler.ipp22 if(p_)
23 p_->destroy();
28 : p_(boost::exchange(other.p_, nullptr))
38 p_ = boost::exchange(other.p_, nullptr);
46 if(! p_)
48 boost::exchange(p_, nullptr)->destroy();
59 p_, nullptr)->invoke();
66 if(! p_)
69 p_, nullptr)->invoke();
/third_party/boost/boost/polygon/
Dtransform.hpp353 transformation() : atr_(), p_(0, 0) {} in transformation()
354 explicit transformation(axis_transformation atr) : atr_(atr), p_(0, 0) {} in transformation()
355 explicit transformation(axis_transformation::ATR atr) : atr_(atr), p_(0, 0) {} in transformation()
356 transformation(const transformation& tr) : atr_(tr.atr_), p_(tr.p_) {} in transformation()
359 explicit transformation(const point_type& p) : atr_(), p_(0, 0) { in transformation()
365 const point_type& p) : atr_(atr), p_(0, 0) { in transformation()
372 const point_type& destinationPt) : atr_(), p_(0, 0) { in transformation()
387 return (atr_ == tr.atr_) && (p_ == tr.p_); in operator ==()
397 return (atr_ < tr.atr_) || ((atr_ == tr.atr_) && (p_ < tr.p_)); in operator <()
411 p_.set(HORIZONTAL, p_.get(HORIZONTAL) + x); in operator +=()
[all …]
/third_party/boost/libs/asio/include/boost/asio/impl/
Duse_future.hpp179 : p_(p), f_(BOOST_ASIO_MOVE_CAST(F)(f)) in promise_invoker()
194 p_->set_exception(std::current_exception()); in operator ()()
200 shared_ptr<std::promise<T> > p_; member in boost::asio::detail::promise_invoker
211 : p_(p) in promise_executor()
223 return promise_executor<T, execution::blocking_t::possibly_t>(p_); in require()
229 return promise_executor<T, execution::blocking_t::never_t>(p_); in require()
237 promise_invoker<T, F>(p_, BOOST_ASIO_MOVE_CAST(F)(f))); in execute()
252 promise_invoker<T, F>(p_, BOOST_ASIO_MOVE_CAST(F)(f))(); in dispatch() local
259 promise_invoker<T, F>(p_, BOOST_ASIO_MOVE_CAST(F)(f)), a); in post()
266 promise_invoker<T, F>(p_, BOOST_ASIO_MOVE_CAST(F)(f)), a); in defer()
[all …]
/third_party/boost/boost/asio/impl/
Duse_future.hpp179 : p_(p), f_(BOOST_ASIO_MOVE_CAST(F)(f)) in promise_invoker()
194 p_->set_exception(std::current_exception()); in operator ()()
200 shared_ptr<std::promise<T> > p_; member in boost::asio::detail::promise_invoker
211 : p_(p) in promise_executor()
223 return promise_executor<T, execution::blocking_t::possibly_t>(p_); in require()
229 return promise_executor<T, execution::blocking_t::never_t>(p_); in require()
237 promise_invoker<T, F>(p_, BOOST_ASIO_MOVE_CAST(F)(f))); in execute()
252 promise_invoker<T, F>(p_, BOOST_ASIO_MOVE_CAST(F)(f))(); in dispatch() local
259 promise_invoker<T, F>(p_, BOOST_ASIO_MOVE_CAST(F)(f)), a); in post()
266 promise_invoker<T, F>(p_, BOOST_ASIO_MOVE_CAST(F)(f)), a); in defer()
[all …]
/third_party/node/deps/icu-small/source/common/unicode/
Dchar16ptr.h101 char16_t *p_; variable
114 Char16Ptr::Char16Ptr(char16_t *p) : p_(p) {} in Char16Ptr()
116 Char16Ptr::Char16Ptr(uint16_t *p) : p_(cast(p)) {} in Char16Ptr()
119 Char16Ptr::Char16Ptr(wchar_t *p) : p_(cast(p)) {} in Char16Ptr()
121 Char16Ptr::Char16Ptr(std::nullptr_t p) : p_(p) {} in Char16Ptr()
123 U_ALIASING_BARRIER(p_); in ~Char16Ptr()
126 char16_t *Char16Ptr::get() const { return p_; } in get()
209 const char16_t *p_; variable
222 ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) : p_(p) {} in ConstChar16Ptr()
224 ConstChar16Ptr::ConstChar16Ptr(const uint16_t *p) : p_(cast(p)) {} in ConstChar16Ptr()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dchar16ptr.h98 char16_t *p_; variable
111 Char16Ptr::Char16Ptr(char16_t *p) : p_(p) {} in Char16Ptr()
113 Char16Ptr::Char16Ptr(uint16_t *p) : p_(cast(p)) {} in Char16Ptr()
116 Char16Ptr::Char16Ptr(wchar_t *p) : p_(cast(p)) {} in Char16Ptr()
118 Char16Ptr::Char16Ptr(std::nullptr_t p) : p_(p) {} in Char16Ptr()
120 U_ALIASING_BARRIER(p_); in ~Char16Ptr()
123 char16_t *Char16Ptr::get() const { return p_; } in get()
206 const char16_t *p_; variable
219 ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) : p_(p) {} in ConstChar16Ptr()
221 ConstChar16Ptr::ConstChar16Ptr(const uint16_t *p) : p_(cast(p)) {} in ConstChar16Ptr()
[all …]
/third_party/icu/icu4c/source/common/unicode/
Dchar16ptr.h101 char16_t *p_; variable
114 Char16Ptr::Char16Ptr(char16_t *p) : p_(p) {} in Char16Ptr()
116 Char16Ptr::Char16Ptr(uint16_t *p) : p_(cast(p)) {} in Char16Ptr()
119 Char16Ptr::Char16Ptr(wchar_t *p) : p_(cast(p)) {} in Char16Ptr()
121 Char16Ptr::Char16Ptr(std::nullptr_t p) : p_(p) {} in Char16Ptr()
123 U_ALIASING_BARRIER(p_); in ~Char16Ptr()
126 char16_t *Char16Ptr::get() const { return p_; } in get()
209 const char16_t *p_; variable
222 ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) : p_(p) {} in ConstChar16Ptr()
224 ConstChar16Ptr::ConstChar16Ptr(const uint16_t *p) : p_(cast(p)) {} in ConstChar16Ptr()
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dchar16ptr.h101 char16_t *p_; variable
114 Char16Ptr::Char16Ptr(char16_t *p) : p_(p) {} in Char16Ptr()
116 Char16Ptr::Char16Ptr(uint16_t *p) : p_(cast(p)) {} in Char16Ptr()
119 Char16Ptr::Char16Ptr(wchar_t *p) : p_(cast(p)) {} in Char16Ptr()
121 Char16Ptr::Char16Ptr(std::nullptr_t p) : p_(p) {} in Char16Ptr()
123 U_ALIASING_BARRIER(p_); in ~Char16Ptr()
126 char16_t *Char16Ptr::get() const { return p_; } in get()
209 const char16_t *p_; variable
222 ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) : p_(p) {} in ConstChar16Ptr()
224 ConstChar16Ptr::ConstChar16Ptr(const uint16_t *p) : p_(cast(p)) {} in ConstChar16Ptr()
[all …]
/third_party/boost/boost/spirit/home/x3/support/ast/
Dvariant.hpp28 forward_ast() : p_(new T) {} in forward_ast()
31 : p_(new T(operand.get())) {} in forward_ast()
34 : p_(operand.p_) in forward_ast()
36 operand.p_ = 0; in forward_ast()
40 : p_(new T(operand)) {} in forward_ast()
43 : p_(new T(std::move(operand))) {} in forward_ast()
47 boost::checked_delete(p_); in ~forward_ast()
58 T* temp = operand.p_; in swap()
59 operand.p_ = p_; in swap()
60 p_ = temp; in swap()
[all …]
/third_party/boost/libs/asio/include/boost/asio/execution/detail/
Dsubmit_receiver.hpp43 submit_receiver<Sender, Receiver>* p_; member
46 : p_(p) in submit_receiver_wrapper()
59 typename remove_cvref<Receiver>::type)(p_->r_), in set_value()
61 delete p_; in set_value()
71 typename remove_cvref<Receiver>::type)(p_->r_)); in set_value()
72 delete p_; in set_value()
85 typename remove_cvref<Receiver>::type)(p_->r_), \
87 delete p_; \
101 typename remove_cvref<Receiver>::type)(p_->r_), in BOOST_ASIO_VARIADIC_GENERATE()
103 delete p_; in BOOST_ASIO_VARIADIC_GENERATE()
[all …]

123456