HomeSort by relevance Sort by last modified time
    Searched full:ptr_ (Results 1 - 25 of 150) sorted by null

1 2 3 4 5 6

  /external/libcxx/test/support/
min_allocator.h 56 const void* ptr_; member in class:min_pointer
59 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} function in class:min_pointer
61 min_pointer(min_pointer<T> p) TEST_NOEXCEPT : ptr_(p.ptr_) {} function in class:min_pointer
63 explicit operator bool() const {return ptr_ != nullptr;}
65 friend bool operator==(min_pointer x, min_pointer y) {return x.ptr_ == y.ptr_;}
73 void* ptr_; member in class:min_pointer
76 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} function in class:min_pointer
83 min_pointer(min_pointer<T> p) TEST_NOEXCEPT : ptr_(p.ptr_) { function in class:min_pointer
95 T* ptr_; member in class:min_pointer
97 explicit min_pointer(T* p) TEST_NOEXCEPT : ptr_(p) {} function in class:min_pointer
100 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} function in class:min_pointer
165 const T* ptr_; member in class:min_pointer
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/
min_allocator.h 26 const void* ptr_; member in class:min_pointer
29 min_pointer(std::nullptr_t) : ptr_(nullptr) {}
31 min_pointer(min_pointer<T> p) : ptr_(p.ptr_) {}
33 explicit operator bool() const {return ptr_ != nullptr;}
35 friend bool operator==(min_pointer x, min_pointer y) {return x.ptr_ == y.ptr_;}
43 void* ptr_; member in class:min_pointer
46 min_pointer(std::nullptr_t) : ptr_(nullptr) {}
53 min_pointer(min_pointer<T> p) : ptr_(p.ptr_) {
65 T* ptr_; member in class:min_pointer
135 const T* ptr_; member in class:min_pointer
    [all...]
  /external/webrtc/webrtc/audio/
scoped_voe_interface.h 27 : ptr_(T::GetInterface(e)) {
28 RTC_DCHECK(ptr_);
31 if (ptr_) {
32 ptr_->Release();
36 RTC_DCHECK(ptr_);
37 return ptr_;
40 T* ptr_; member in class:webrtc::internal::ScopedVoEInterface
  /external/webrtc/webrtc/base/
scoped_ref_ptr.h 73 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...]
  /art/runtime/base/
stringpiece.cc 29 return ptr_[i];
34 target->assign(ptr_, length_);
39 memcpy(buf, ptr_ + pos, ret);
47 const char* result = std::search(ptr_ + pos, ptr_ + length_, s.ptr_, s.ptr_ + s.length_);
48 const size_type xpos = result - ptr_;
53 int r = memcmp(ptr_, x.ptr_, std::min(length_, x.length_))
    [all...]
stringpiece.h 50 StringPiece() : ptr_(nullptr), length_(0) { }
52 : ptr_(str), length_((str == nullptr) ? 0 : strlen(str)) { }
54 : ptr_(str.data()), length_(str.size()) { }
55 StringPiece(const char* offset, size_t len) : ptr_(offset), length_(len) { }
61 const char* data() const { return ptr_; }
67 ptr_ = nullptr;
71 ptr_ = data_in;
75 ptr_ = str;
83 ptr_ = reinterpret_cast<const char*>(data_in);
89 return ptr_[i]
166 const char* ptr_; member in class:art::StringPiece
    [all...]
  /external/regex-re2/util/
stringpiece.cc 33 target->assign(ptr_, length_);
38 memcpy(buf, ptr_ + pos, ret);
46 const char* result = std::search(ptr_ + pos, ptr_ + length_,
47 s.ptr_, s.ptr_ + s.length_);
48 const size_type xpos = result - ptr_;
56 const char* result = std::find(ptr_ + pos, ptr_ + length_, c);
57 return result != ptr_ + length_ ? result - ptr_ : npos
    [all...]
  /external/protobuf/python/google/protobuf/pyext/
scoped_pyobject_ptr.h 43 explicit ScopedPyObjectPtr(PyObject* p = NULL) : ptr_(p) { }
47 Py_XDECREF(ptr_);
54 if (p != ptr_) {
55 Py_XDECREF(ptr_);
56 ptr_ = p;
58 return ptr_;
63 PyObject* p = ptr_;
64 ptr_ = NULL;
68 operator PyObject*() { return ptr_; }
71 assert(ptr_ != NULL)
89 PyObject* ptr_; member in class:google::ScopedPyObjectPtr
    [all...]
  /art/runtime/
stride_iterator.h 35 : ptr_(reinterpret_cast<uintptr_t>(ptr)),
40 return ptr_ == other.ptr_;
48 ptr_ += stride_;
54 ptr_ += stride_;
65 ptr_ += static_cast<ssize_t>(stride_) * delta;
70 return *reinterpret_cast<T*>(ptr_);
78 uintptr_t ptr_; member in class:art::StrideIterator
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
arenastring.h 59 if (ptr_ == default_value) {
62 *ptr_ = value;
68 return *ptr_;
73 if (ptr_ == default_value) {
76 return ptr_;
85 if (ptr_ == default_value) {
90 // ptr_ is owned by the arena -- we need to return a copy.
91 released = new ::std::string(*ptr_);
93 released = ptr_;
95 ptr_ = const_cast< ::std::string* >(default_value)
285 ::std::string* ptr_; member in struct:google::protobuf::internal::ArenaStringPtr
    [all...]
metadata.h 61 InternalMetadataWithArena() : ptr_(NULL) {}
63 : ptr_ (arena) {}
69 ptr_ = NULL;
102 // pointer. We cannot simply swap ptr_ with other->ptr_ because we need to
103 // maintain our own arena ptr. Also, our ptr_ and other's ptr_ may be in
105 // cannot simply swap ptr_ and then restore the arena pointers. We reuse
113 return ptr_;
117 void* ptr_; member in class:google::protobuf::internal::InternalMetadataWithArena
    [all...]
  /external/regex-re2/re2/
stringpiece.h 31 const char* ptr_; member in class:re2::StringPiece
38 StringPiece() : ptr_(NULL), length_(0) { }
40 : ptr_(str), length_((str == NULL) ? 0 : static_cast<int>(strlen(str))) { }
42 : ptr_(str.data()), length_(static_cast<int>(str.size())) { }
43 StringPiece(const char* offset, int len) : ptr_(offset), length_(len) { }
49 const char* data() const { return ptr_; }
54 void clear() { ptr_ = NULL; length_ = 0; }
55 void set(const char* data, int len) { ptr_ = data; length_ = len; }
57 ptr_ = str;
64 ptr_ = reinterpret_cast<const char*>(data)
    [all...]
  /external/skia/src/images/
bmpdecoderhelper.h 26 T* ptr_; member in class:scoped_array
31 explicit scoped_array(T* p = 0) : ptr_(p) {}
33 delete[] ptr_;
37 if (p != ptr_) {
38 delete[] ptr_;
39 ptr_ = p;
44 return ptr_[i];
  /build/kati/
string_piece.cc 58 memcpy(buf, ptr_ + pos, ret);
66 const char* result = std::search(ptr_ + pos, ptr_ + length_,
67 s.ptr_, s.ptr_ + s.length_);
68 const size_type xpos = result - ptr_;
76 const char* result = std::find(ptr_ + pos, ptr_ + length_, c);
77 return result != ptr_ + length_ ? static_cast<size_t>(result - ptr_) : npos
    [all...]
string_piece.h 64 StringPiece() : ptr_(NULL), length_(0) { }
66 : ptr_(str), length_((str == NULL) ? 0 : strlen(str)) { }
68 : ptr_(str.data()), length_(str.size()) { }
70 : ptr_(str.data()), length_(str.size()) { }
72 : ptr_(offset), length_(len) { }
78 const char* data() const { return ptr_; }
84 ptr_ = NULL;
88 ptr_ = data;
92 ptr_ = str;
96 ptr_ = reinterpret_cast<const char*>(data)
184 const char* ptr_; member in class:StringPiece
    [all...]
  /external/libchrome/base/win/
scoped_comptr.h 56 if (this->ptr_ != NULL) {
57 this->ptr_->Release();
58 this->ptr_ = NULL;
65 Interface* p = this->ptr_;
66 this->ptr_ = NULL;
72 DCHECK(!this->ptr_);
73 this->ptr_ = p;
81 DCHECK(!this->ptr_) << "Object leak. Pointer must be NULL";
82 return &this->ptr_;
93 DCHECK(this->ptr_ != NULL)
    [all...]
  /external/libchrome/base/memory/
ref_counted.h 271 scoped_refptr() : ptr_(NULL) {
274 scoped_refptr(T* p) : ptr_(p) {
275 if (ptr_)
276 AddRef(ptr_);
280 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) {
281 if (ptr_)
282 AddRef(ptr_);
287 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) {
288 if (ptr_)
391 T* ptr_; member in class:scoped_refptr
    [all...]
  /external/libweave/third_party/chromium/base/memory/
ref_counted.h 258 scoped_refptr() : ptr_(NULL) {
261 scoped_refptr(T* p) : ptr_(p) {
262 if (ptr_)
263 AddRef(ptr_);
267 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) {
268 if (ptr_)
269 AddRef(ptr_);
274 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) {
275 if (ptr_)
378 T* ptr_; member in class:scoped_refptr
    [all...]
  /external/icu/icu4c/source/common/
stringpiece.cpp 17 : ptr_(str), length_((str == NULL) ? 0 : static_cast<int32_t>(uprv_strlen(str))) { }
25 ptr_ = x.ptr_ + pos;
40 ptr_ = x.ptr_ + pos;
45 ptr_ = str;
  /external/pcre/dist/
pcre_stringpiece.h 63 const char* ptr_; member in class:pcrecpp::StringPiece
71 : ptr_(NULL), length_(0) { }
73 : ptr_(str), length_(static_cast<int>(strlen(ptr_))) { }
75 : ptr_(reinterpret_cast<const char*>(str)),
76 length_(static_cast<int>(strlen(ptr_))) { }
78 : ptr_(str.data()), length_(static_cast<int>(str.size())) { }
80 : ptr_(offset), length_(len) { }
88 const char* data() const { return ptr_; }
92 void clear() { ptr_ = NULL; length_ = 0;
    [all...]
pcre_stringpiece.h.in 63 const char* ptr_;
71 : ptr_(NULL), length_(0) { }
73 : ptr_(str), length_(static_cast<int>(strlen(ptr_))) { }
75 : ptr_(reinterpret_cast<const char*>(str)),
76 length_(static_cast<int>(strlen(ptr_))) { }
78 : ptr_(str.data()), length_(static_cast<int>(str.size())) { }
80 : ptr_(offset), length_(len) { }
88 const char* data() const { return ptr_; }
92 void clear() { ptr_ = NULL; length_ = 0;
    [all...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
scoped_ptr.h 68 explicit scoped_ptr(C* p = NULL) : ptr_(p) { }
71 // We don't need to test ptr_ == NULL because C++ does that for us.
74 delete ptr_;
81 if (p != ptr_) {
83 delete ptr_;
84 ptr_ = p;
91 assert(ptr_ != NULL);
92 return *ptr_;
95 assert(ptr_ != NULL);
96 return ptr_;
125 C* ptr_; member in class:google::protobuf::internal::scoped_ptr
    [all...]
  /external/libcxx/test/std/containers/
stack_allocator.h 20 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;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/
stack_allocator.h 20 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;
  /external/google-breakpad/src/common/
scoped_ptr.h 92 explicit scoped_ptr(C* p = NULL) : ptr_(p) { }
95 // We don't need to test ptr_ == NULL because C++ does that for us.
98 delete ptr_;
105 if (p != ptr_) {
107 delete ptr_;
108 ptr_ = p;
115 assert(ptr_ != NULL);
116 return *ptr_;
119 assert(ptr_ != NULL);
120 return ptr_;
149 C* ptr_; member in class:google_breakpad::scoped_ptr
374 C* ptr_; member in class:google_breakpad::scoped_ptr_malloc
    [all...]

Completed in 578 milliseconds

1 2 3 4 5 6