HomeSort by relevance Sort by last modified time
    Searched defs:ptr_ (Results 26 - 47 of 47) sorted by null

12

  /external/skia/legacy/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];
  /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];
  /external/v8/src/
counters.h 122 int* ptr_; member in struct:v8::internal::StatsCounter
173 return ptr_;
175 ptr_ = FindLocationInStatsTable();
176 return ptr_;
  /external/chromium/base/
string_piece.h 49 StringPiece() : ptr_(NULL), length_(0) { }
51 : ptr_(str), length_((str == NULL) ? 0 : strlen(str)) { }
53 : ptr_(str.data()), length_(str.size()) { }
55 : ptr_(offset), length_(len) { }
61 const char* data() const { return ptr_; }
67 ptr_ = NULL;
71 ptr_ = data;
75 ptr_ = str;
79 ptr_ = reinterpret_cast<const char*>(data);
83 char operator[](size_type i) const { return ptr_[i];
163 const char* ptr_; member in class:base::StringPiece
    [all...]
  /external/clang/test/PCH/
thread-safety-attrs.cpp 76 SmartPtr(T* p) : ptr_(p) { }
77 SmartPtr(const SmartPtr<T>& p) : ptr_(p.ptr_) { }
80 T* get() const { return ptr_; }
81 T* operator->() const { return ptr_; }
82 T& operator*() const { return *ptr_; }
85 T* ptr_; member in class:SmartPtr
  /external/clang/test/SemaCXX/
constructor-initializer.cpp 220 void* ptr_; member in union:PR7402::S::__anon6838
224 template <typename T> S(T) : ptr_(0) { }
warn-thread-safety-parsing.cpp 1377 T* ptr_; member in class:SmartPointerTest::smart_ptr
    [all...]
warn-thread-safety-analysis.cpp 71 SmartPtr(T* p) : ptr_(p) { }
72 SmartPtr(const SmartPtr<T>& p) : ptr_(p.ptr_) { }
75 T* get() const { return ptr_; }
76 T* operator->() const { return ptr_; }
77 T& operator*() const { return *ptr_; }
80 T* ptr_; member in class:SmartPtr
    [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/chromium/chrome/browser/chromeos/login/
login_utils.cc 187 if (!ptr_.get())
189 return ptr_.get();
193 ptr_.reset(ptr);
202 scoped_ptr<LoginUtils> ptr_; member in class:chromeos::LoginUtilsWrapper
  /external/chromium/sdch/open-vcdiff/src/gtest/internal/
gtest-port.h 302 explicit scoped_ptr(T* p = NULL) : ptr_(p) {}
305 T& operator*() const { return *ptr_; }
306 T* operator->() const { return ptr_; }
307 T* get() const { return ptr_; }
310 T* const ptr = ptr_;
311 ptr_ = NULL;
316 if (p != ptr_) {
318 delete ptr_;
320 ptr_ = p;
324 T* ptr_; member in class:testing::internal::scoped_ptr
    [all...]
  /external/chromium/testing/gmock/include/gmock/
gmock-actions.h 640 AssignAction(T1* ptr, T2 value) : ptr_(ptr), value_(value) {}
644 *ptr_ = value_;
648 T1* const ptr_; member in class:testing::internal::AssignAction
    [all...]
  /external/clang/test/FixIt/
fixit.cpp 229 wrapped_ptr(T* ptr) : ptr_(ptr) {}
230 T* operator->() { return ptr_; }
232 T *ptr_; member in class:arrow_suggest::wrapped_ptr
  /external/open-vcdiff/gtest/include/gtest/internal/
gtest-port.h 598 explicit scoped_ptr(T* p = NULL) : ptr_(p) {}
601 T& operator*() const { return *ptr_; }
602 T* operator->() const { return ptr_; }
603 T* get() const { return ptr_; }
606 T* const ptr = ptr_;
607 ptr_ = NULL;
612 if (p != ptr_) {
614 delete ptr_;
616 ptr_ = p;
620 T* ptr_; member in class:testing::internal::scoped_ptr
    [all...]
  /external/protobuf/gtest/include/gtest/internal/
gtest-port.h 591 explicit scoped_ptr(T* p = NULL) : ptr_(p) {}
594 T& operator*() const { return *ptr_; }
595 T* operator->() const { return ptr_; }
596 T* get() const { return ptr_; }
599 T* const ptr = ptr_;
600 ptr_ = NULL;
605 if (p != ptr_) {
607 delete ptr_;
609 ptr_ = p;
613 T* ptr_; member in class:testing::internal::scoped_ptr
    [all...]
  /external/protobuf/src/google/protobuf/stubs/
common.h 424 explicit scoped_ptr(C* p = NULL) : ptr_(p) { }
427 // We don't need to test ptr_ == NULL because C++ does that for us.
430 delete ptr_;
437 if (p != ptr_) {
439 delete ptr_;
440 ptr_ = p;
447 assert(ptr_ != NULL);
448 return *ptr_;
451 assert(ptr_ != NULL);
452 return ptr_;
481 C* ptr_; member in class:google::protobuf::internal::scoped_ptr
    [all...]
  /external/chromium/testing/gtest/include/gtest/internal/
gtest-port.h 762 explicit scoped_ptr(T* p = NULL) : ptr_(p) {}
765 T& operator*() const { return *ptr_; }
766 T* operator->() const { return ptr_; }
767 T* get() const { return ptr_; }
770 T* const ptr = ptr_;
771 ptr_ = NULL;
776 if (p != ptr_) {
778 delete ptr_;
780 ptr_ = p;
784 T* ptr_; member in class:testing::internal::scoped_ptr
    [all...]
  /external/gtest/include/gtest/internal/
gtest-port.h 796 explicit scoped_ptr(T* p = NULL) : ptr_(p) {}
799 T& operator*() const { return *ptr_; }
800 T* operator->() const { return ptr_; }
801 T* get() const { return ptr_; }
804 T* const ptr = ptr_;
805 ptr_ = NULL;
810 if (p != ptr_) {
812 delete ptr_;
814 ptr_ = p;
818 T* ptr_; member in class:testing::internal::scoped_ptr
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
gtest-port.h 778 explicit scoped_ptr(T* p = NULL) : ptr_(p) {}
781 T& operator*() const { return *ptr_; }
782 T* operator->() const { return ptr_; }
783 T* get() const { return ptr_; }
786 T* const ptr = ptr_;
787 ptr_ = NULL;
792 if (p != ptr_) {
794 delete ptr_;
796 ptr_ = p;
800 T* ptr_; member in class:testing::internal::scoped_ptr
    [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-port.h 783 explicit scoped_ptr(T* p = NULL) : ptr_(p) {}
786 T& operator*() const { return *ptr_; }
787 T* operator->() const { return ptr_; }
788 T* get() const { return ptr_; }
791 T* const ptr = ptr_;
792 ptr_ = NULL;
797 if (p != ptr_) {
799 delete ptr_;
801 ptr_ = p;
805 T* ptr_; member in class:testing::internal::scoped_ptr
    [all...]
  /external/ceres-solver/internal/ceres/gmock/
gmock.h 1516 T1* const ptr_; member in class:testing::internal::AssignAction
    [all...]
  /external/ceres-solver/internal/ceres/gtest/
gtest.h 1862 T* ptr_; member in struct:std::tr1::tuple_element
    [all...]

Completed in 1657 milliseconds

12