Searched defs:ptr_ (Results 1 - 25 of 71) sorted by relevance

123

/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.modifiers/
H A Dreset_self.pass.cpp20 std::unique_ptr<A> ptr_; member in struct:A
22 A() : ptr_(this) {}
23 void reset() {ptr_.reset();}
/external/chromium_org/media/formats/webm/
H A Dwebm_webvtt_parser.h41 const uint8* ptr_; member in class:media::WebMWebVTTParser
/external/chromium_org/mojo/public/cpp/bindings/lib/
H A Dfixed_buffer.h57 char* ptr_; member in class:mojo::internal::FixedBuffer
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Draw_printer.h59 int length() const { return (ptr_ - base_); }
62 int space_left() const { return (limit_ - ptr_); }
74 // We can write into [ptr_ .. limit_-1].
78 // Invariants: *ptr_ == \0
81 char* ptr_; // Where should we write next member in class:base::RawPrinter
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Draw_printer.h59 int length() const { return (ptr_ - base_); }
62 int space_left() const { return (limit_ - ptr_); }
74 // We can write into [ptr_ .. limit_-1].
78 // Invariants: *ptr_ == \0
81 char* ptr_; // Where should we write next member in class:base::RawPrinter
/external/chromium_org/base/
H A Dbig_endian.h56 const char* ptr() const { return ptr_; }
57 int remaining() const { return end_ - ptr_; }
73 const char* ptr_; member in class:base::BigEndianReader
83 char* ptr() const { return ptr_; }
84 int remaining() const { return end_ - ptr_; }
98 char* ptr_; member in class:base::BigEndianWriter
/external/chromium_org/content/public/browser/
H A Dnotification_details.h21 NotificationDetails() : ptr_(NULL) {}
22 NotificationDetails(const NotificationDetails& other) : ptr_(other.ptr_) {}
28 uintptr_t map_key() const { return reinterpret_cast<uintptr_t>(ptr_); }
31 return ptr_ != other.ptr_;
35 return ptr_ == other.ptr_;
39 explicit NotificationDetails(const void* ptr) : ptr_(ptr) {}
43 const void* ptr_; member in class:content::NotificationDetails
[all...]
H A Dnotification_source.h21 NotificationSource(const NotificationSource& other) : ptr_(other.ptr_) {}
27 uintptr_t map_key() const { return reinterpret_cast<uintptr_t>(ptr_); }
30 return ptr_ != other.ptr_;
33 return ptr_ == other.ptr_;
37 explicit NotificationSource(const void* ptr) : ptr_(ptr) {}
41 const void* ptr_; member in class:content::NotificationSource
54 T* ptr() const { return static_cast<T*>(const_cast<void*>(ptr_)); }
[all...]
/external/chromium_org/third_party/libaddressinput/src/cpp/test/util/
H A Dscoped_ptr_unittest.cc22 ConDecLogger() : ptr_(NULL) { }
24 ~ConDecLogger() { --*ptr_; }
26 void set_ptr(int* ptr) { ptr_ = ptr; ++*ptr_; }
31 int* ptr_; member in class:__anon12603::ConDecLogger
/external/chromium_org/tools/clang/rewrite_scoped_refptr/tests/
H A Dscoped_refptr.h13 scoped_refptr() : ptr_(0) {}
14 scoped_refptr(T* p) : ptr_(p) {}
15 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) {}
19 : ptr_(r.get()) {}
23 T* get() const { return ptr_; }
24 operator T*() const { return ptr_; }
25 T* operator->() const { return ptr_; }
28 ptr_ = p;
32 return *this = r.ptr_;
40 T* ptr_; member in class:scoped_refptr
[all...]
/external/chromium_org/skia/ext/
H A Drefptr.h47 RefPtr() : ptr_(NULL) {}
50 : ptr_(other.get()) {
51 SkSafeRef(ptr_);
56 : ptr_(other.get()) {
57 SkSafeRef(ptr_);
65 SkRefCnt_SafeAssign(ptr_, other.get());
71 SkRefCnt_SafeAssign(ptr_, other.get());
76 T* to_unref = ptr_;
77 ptr_ = NULL;
81 T* get() const { return ptr_; }
91 T* ptr_; member in class:skia::RefPtr
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dscoped_ref_ptr.h73 scoped_refptr() : ptr_(NULL) {
76 scoped_refptr(T* p) : ptr_(p) {
77 if (ptr_)
78 ptr_->AddRef();
81 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) {
82 if (ptr_)
83 ptr_->AddRef();
87 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) {
88 if (ptr_)
142 T* ptr_; member in class:rtc::scoped_refptr
[all...]
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dscoped_refptr.h71 scoped_refptr() : ptr_(NULL) {
74 scoped_refptr(T* p) : ptr_(p) {
75 if (ptr_)
76 ptr_->AddRef();
79 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) {
80 if (ptr_)
81 ptr_->AddRef();
85 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) {
86 if (ptr_)
140 T* ptr_; member in class:webrtc::scoped_refptr
[all...]
/external/lldb/include/lldb/Utility/
H A DPythonPointer.h29 element_type* ptr_; member in class:lldb_private::PythonPointer
34 ptr_(p),
38 Py_INCREF(ptr_);
42 ptr_(r.ptr_),
46 Py_INCREF(ptr_);
52 Py_XDECREF(ptr_);
58 return PythonPointer(ptr_,true);
64 return PythonPointer(ptr_, false);
67 element_type get() const {return ptr_;}
[all...]
/external/webrtc/src/system_wrappers/interface/
H A Dscoped_refptr.h64 scoped_refptr() : ptr_(NULL) {
67 scoped_refptr(T* p) : ptr_(p) {
68 if (ptr_)
69 ptr_->AddRef();
72 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) {
73 if (ptr_)
74 ptr_->AddRef();
78 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) {
79 if (ptr_)
133 T* ptr_; member in class:webrtc::scoped_refptr
[all...]
/external/chromium_org/base/threading/
H A Dsimple_thread_unittest.cc17 SetIntRunner(int* ptr, int val) : ptr_(ptr), val_(val) { }
21 *ptr_ = val_;
25 int* ptr_; member in class:base::__anon2552::SetIntRunner
H A Dthread_local_unittest.cc54 ptr_(NULL) {
58 void set_ptr(ThreadLocalTesterBase** ptr) { ptr_ = ptr; }
62 *ptr_ = tlp_->Get();
67 ThreadLocalTesterBase** ptr_; member in class:base::__anon2561::GetThreadLocal
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
H A Dscoped_ref.h17 ScopedRefBase() : ptr_(NULL) {}
24 if (ptr_) {
25 ptr_->Release();
27 ptr_ = obj;
31 RefObject* ptr_; member in class:sdk_util::ScopedRefBase
58 T* get() const { return static_cast<T*>(ptr_); }
80 return (ptr_ != NULL) ? &ScopedRef::bool_as_func_impl : 0;
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dstringpiece.h54 const char* ptr_; member in class:StringPiece
62 StringPiece() : ptr_(NULL), length_(0) { }
75 : ptr_(str.data()), length_(static_cast<int32_t>(str.size())) { }
83 StringPiece(const char* offset, int32_t len) : ptr_(offset), length_(len) { }
111 const char* data() const { return ptr_; }
135 void clear() { ptr_ = NULL; length_ = 0; }
143 void set(const char* xdata, int32_t len) { ptr_ = xdata; length_ = len; }
162 ptr_ += n;
/external/chromium_org/third_party/ots/include/
H A Dots-memory-stream.h18 : ptr_(ptr), length_(length), off_(0) {
26 std::memcpy(static_cast<char*>(ptr_) + off_, data, length);
43 void* const ptr_; member in class:ots::MemoryStream
52 ptr_ = new uint8_t[length_];
56 delete[] static_cast<uint8_t*>(ptr_);
60 return ptr_;
74 std::memcpy(new_buf, ptr_, length_);
76 delete[] static_cast<uint8_t*>(ptr_);
77 ptr_ = new_buf;
80 std::memcpy(static_cast<char*>(ptr_)
97 void* ptr_; member in class:ots::ExpandingMemoryStream
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dsystem-alloc_unittest.cc54 ptr_ = 0;
65 void *result = &array_[ptr_];
75 CHECK_LT(ptr_ + size, kArraySize);
81 ptr_ += size;
92 int ptr_; member in class:ArraySysAllocator
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dsystem-alloc_unittest.cc54 ptr_ = 0;
65 void *result = &array_[ptr_];
75 CHECK_LT(ptr_ + size, kArraySize);
81 ptr_ += size;
92 int ptr_; member in class:ArraySysAllocator
/external/clang/test/SemaCXX/
H A Darrow-operator.cpp46 wrapped_ptr(T* ptr) : ptr_(ptr) {}
47 T* operator->() { return ptr_; }
50 T *ptr_; member in class:arrow_suggest::wrapped_ptr
/external/icu/icu4c/source/common/unicode/
H A Dstringpiece.h54 const char* ptr_; member in class:StringPiece
62 StringPiece() : ptr_(NULL), length_(0) { }
75 : ptr_(str.data()), length_(static_cast<int32_t>(str.size())) { }
83 StringPiece(const char* offset, int32_t len) : ptr_(offset), length_(len) { }
111 const char* data() const { return ptr_; }
135 void clear() { ptr_ = NULL; length_ = 0; }
143 void set(const char* xdata, int32_t len) { ptr_ = xdata; length_ = len; }
162 ptr_ += n;
/external/libcxx/test/containers/
H A Dstack_allocator.h20 char* ptr_; member in class:stack_allocator
32 stack_allocator() : ptr_(buf_) {}
41 if (n > N - (ptr_ - buf_) / sizeof(value_type)) {
48 pointer r = (T*)ptr_;
49 ptr_ += n * sizeof(T);
54 if ((char*)(p + n) == ptr_)
55 ptr_ = (char*)p;

Completed in 570 milliseconds

123