Home
last modified time | relevance | path

Searched refs:data_ (Results 1 – 25 of 225) sorted by relevance

123456789

/external/v8/src/
Dsmall-pointer-list.h22 SmallPointerList() : data_(kEmptyTag) {} in SmallPointerList()
24 SmallPointerList(int capacity, Zone* zone) : data_(kEmptyTag) { in SmallPointerList()
30 if ((data_ & kTagMask) == kListTag) { in Reserve()
38 if ((data_ & kTagMask) == kSingletonTag) { in Reserve()
42 data_ = reinterpret_cast<intptr_t>(list) | kListTag; in Reserve()
46 data_ = kEmptyTag; in Clear()
50 if ((data_ & kTagMask) == kListTag) { in Sort()
58 if ((data_ & kTagMask) == kEmptyTag) return 0; in length()
59 if ((data_ & kTagMask) == kSingletonTag) return 1; in length()
65 if ((data_ & kTagMask) == kEmptyTag) { in Add()
[all …]
Ddata-flow.h26 current_value_(target->data_[0]), in Iterator()
68 data_(zone->NewArray<uint32_t>(data_length_)) { in BitVector()
76 data_(zone->NewArray<uint32_t>(data_length_)) { in BitVector()
92 data_[i] = other.data_[i]; in CopyFrom()
95 data_[i] = 0; in CopyFrom()
101 uint32_t block = data_[i / 32]; in Contains()
107 data_[i / 32] |= (1U << (i % 32)); in Add()
112 data_[i / 32] &= ~(1U << (i % 32)); in Remove()
118 data_[i] |= other.data_[i]; in Union()
126 uint32_t old_data = data_[i]; in UnionIsChanged()
[all …]
Dlist-inl.h19 data_[length_++] = element; in Add()
37 data_[length_ + i] = other.at(i); in AddAll()
61 data_[length_++] = temp; in ResizeAddInternal()
69 MemCopy(new_data, data_, length_ * sizeof(T)); in Resize()
70 List<T, P>::DeleteData(data_); in Resize()
71 data_ = new_data; in Resize()
80 return Vector<T>(&data_[start], count); in AddBlock()
87 data_[index] = elm; in Set()
96 data_[i] = data_[i - 1]; in InsertAt()
98 data_[index] = elm; in InsertAt()
[all …]
Dassert-scope.h66 data_ = GetAssertData(); in PerThreadAssertScopeBase()
67 if (data_ == NULL) { in PerThreadAssertScopeBase()
68 data_ = new PerThreadAssertData(); in PerThreadAssertScopeBase()
69 SetThreadLocalData(data_); in PerThreadAssertScopeBase()
71 data_->increment_level(); in PerThreadAssertScopeBase()
75 if (!data_->decrement_level()) return; in ~PerThreadAssertScopeBase()
77 DCHECK(data_->get(static_cast<PerThreadAssertType>(i))); in ~PerThreadAssertScopeBase()
79 delete data_; in ~PerThreadAssertScopeBase() local
89 PerThreadAssertData* data_; variable
103 old_state_ = data_->get(type); in PerThreadAssertScope()
[all …]
/external/libcxx/test/support/
Dtest_allocator.h39 int data_; variable
54 test_allocator() throw() : data_(0) {++count;} in throw()
55 explicit test_allocator(int i) throw() : data_(i) {++count;} in test_allocator()
57 : data_(a.data_) {++count;} in throw()
59 : data_(a.data_) {++count;} in test_allocator()
60 ~test_allocator() throw() {assert(data_ >= 0); --count; data_ = -1;} in throw()
65 assert(data_ >= 0);
78 {assert(data_ >= 0); --alloc_count; std::free(p);} in deallocate()
90 {return x.data_ == y.data_;}
99 int data_; variable
[all …]
DCounter.h21 Counter() : data_() { ++gConstructed; } in Counter()
22 Counter(const T &data) : data_(data) { ++gConstructed; } in Counter()
23 Counter(const Counter& rhs) : data_(rhs.data_) { ++gConstructed; } in Counter()
24 …Counter& operator=(const Counter& rhs) { ++gConstructed; data_ = rhs.data_; return *this;…
26 Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++gConstructed; } in Counter()
27 … Counter& operator=(Counter&& rhs) { ++gConstructed; data_ = std::move(rhs.data_); return *this; }
31 const T& get() const {return data_;} in get()
33 bool operator==(const Counter& x) const {return data_ == x.data_;}
34 bool operator< (const Counter& x) const {return data_ < x.data_;}
37 T data_;
DMoveOnly.h23 int data_; variable
25 MoveOnly(int data = 1) : data_(data) {} in data_() function
27 : data_(x.data_) {x.data_ = 0;} in MoveOnly()
29 {data_ = x.data_; x.data_ = 0; return *this;}
31 int get() const {return data_;} in get()
33 bool operator==(const MoveOnly& x) const {return data_ == x.data_;}
34 bool operator< (const MoveOnly& x) const {return data_ < x.data_;}
DDefaultOnly.h17 int data_; variable
24 DefaultOnly() : data_(-1) {++count;} in DefaultOnly()
25 ~DefaultOnly() {data_ = 0; --count;} in ~DefaultOnly()
28 {return x.data_ == y.data_;}
30 {return x.data_ < y.data_;}
/external/libcxx/test/std/thread/futures/
Dtest_allocator.h35 int data_; variable
50 test_allocator() throw() : data_(-1) {} in throw()
51 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator()
53 : data_(a.data_) {} in throw()
55 : data_(a.data_) {} in test_allocator()
56 ~test_allocator() throw() {data_ = 0;} in throw()
84 {return x.data_ == y.data_;}
93 int data_; variable
106 test_allocator() throw() : data_(-1) {} in throw()
107 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator()
[all …]
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
DUTypes.fail.cpp32 int data_; member in MoveOnly
34 explicit MoveOnly(int data = 1) : data_(data) {} in MoveOnly()
36 : data_(x.data_) {x.data_ = 0;} in MoveOnly()
38 {data_ = x.data_; x.data_ = 0; return *this;} in operator =()
40 int get() const {return data_;} in get()
42 bool operator==(const MoveOnly& x) const {return data_ == x.data_;} in operator ==()
43 bool operator< (const MoveOnly& x) const {return data_ < x.data_;} in operator <()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/
Dalloc_last.h23 int data_; member
25 alloc_last() : data_(0) {} in alloc_last()
26 alloc_last(int d) : data_(d) {} in alloc_last()
28 : data_(0) in alloc_last()
35 : data_(d) in alloc_last()
42 : data_(d.data_) in alloc_last()
48 ~alloc_last() {data_ = -1;} in ~alloc_last()
51 {return x.data_ == y.data_;}
53 {return x.data_ < y.data_;}
Dalloc_first.h23 int data_; member
25 alloc_first() : data_(0) {} in alloc_first()
26 alloc_first(int d) : data_(d) {} in alloc_first()
28 : data_(0) in alloc_first()
35 : data_(d) in alloc_first()
42 : data_(d.data_) in alloc_first()
48 ~alloc_first() {data_ = -1;} in ~alloc_first()
51 {return x.data_ == y.data_;}
53 {return x.data_ < y.data_;}
/external/libcxx/test/std/utilities/time/
Drep.h15 int data_; variable
17 _LIBCPP_CONSTEXPR Rep() : data_(-1) {} in Rep()
18 explicit _LIBCPP_CONSTEXPR Rep(int i) : data_(i) {} in Rep()
20 bool _LIBCPP_CONSTEXPR operator==(int i) const {return data_ == i;}
21 bool _LIBCPP_CONSTEXPR operator==(const Rep& r) const {return data_ == r.data_;}
23 Rep& operator*=(Rep x) {data_ *= x.data_; return *this;}
24 Rep& operator/=(Rep x) {data_ /= x.data_; return *this;}
/external/ceres-solver/examples/
Dpgm_image.h88 std::vector<Real> data_; variable
95 : height_(height), width_(width), data_(width*height, 0.0) { in PGMImage()
108 for (int i = 0; i < data_.size(); ++i) { in Set()
109 data_[i] = constant; in Set()
142 CHECK(index < data_.size()); in MutablePixelFromLinearIndex()
143 return &data_[index]; in MutablePixelFromLinearIndex()
150 CHECK(index < data_.size()); in PixelFromLinearIndex()
151 return data_[index]; in PixelFromLinearIndex()
162 CHECK(data_.size() == image.data_.size());
163 for (int i = 0; i < data_.size(); ++i) {
[all …]
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opref/
Dop_arrow.pass.cpp28 int data_; member in A
30 A() : data_(1) {} in A()
31 ~A() {data_ = -1;} in ~A()
33 int get() const {return data_;} in get()
36 {return x.data_ == y.data_;} in operator ==()
49 int data_; member in B
51 B(int d=1) : data_(d) {} in B()
52 ~B() {data_ = -1;} in ~B()
54 int get() const {return data_;} in get()
57 {return x.data_ == y.data_;} in operator ==()
/external/libcxx/test/std/utilities/function.objects/refwrap/
Dtype_properties.pass.cpp27 int data_; member in MoveOnly
29 MoveOnly(int data = 1) : data_(data) {} in MoveOnly()
31 : data_(x.data_) {x.data_ = 0;} in MoveOnly()
33 {data_ = x.data_; x.data_ = 0; return *this;} in operator =()
35 int get() const {return data_;} in get()
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dconst_first_const_second.pass.cpp21 int data_; member in A
23 A(int data) : data_(data) {} in A()
25 bool operator==(const A& a) const {return data_ == a.data_;} in operator ==()
31 int data_; member in AC
33 constexpr AC(int data) : data_(data) {} in AC()
35 constexpr bool operator==(const AC& a) const {return data_ == a.data_;} in operator ==()
/external/libcxx/test/std/language.support/support.exception/except.nested/
Dthrow_with_nested.pass.cpp22 int data_; member in A
24 explicit A(int data) : data_(data) {} in A()
26 friend bool operator==(const A& x, const A& y) {return x.data_ == y.data_;} in operator ==()
32 int data_; member in B
34 explicit B(int data) : data_(data) {} in B()
36 friend bool operator==(const B& x, const B& y) {return x.data_ == y.data_;} in operator ==()
/external/sfntly/cpp/src/sfntly/table/core/
Dfont_header_table.cc26 return data_->ReadFixed(Offset::kTableVersion); in TableVersion()
30 return data_->ReadFixed(Offset::kFontRevision); in FontRevision()
34 return data_->ReadULong(Offset::kCheckSumAdjustment); in ChecksumAdjustment()
38 return data_->ReadULong(Offset::kMagicNumber); in MagicNumber()
42 return data_->ReadUShort(Offset::kFlags); in FlagsAsInt()
46 return data_->ReadUShort(Offset::kUnitsPerEm); in UnitsPerEm()
50 return data_->ReadDateTimeAsLong(Offset::kCreated); in Created()
54 return data_->ReadDateTimeAsLong(Offset::kModified); in Modified()
58 return data_->ReadUShort(Offset::kXMin); in XMin()
62 return data_->ReadUShort(Offset::kYMin); in YMin()
[all …]
Dos2_table.cc104 return data_->ReadUShort(Offset::kVersion); in TableVersion()
108 return data_->ReadShort(Offset::kXAvgCharWidth); in XAvgCharWidth()
112 return data_->ReadUShort(Offset::kUsWeightClass); in UsWeightClass()
116 return data_->ReadUShort(Offset::kUsWidthClass); in UsWidthClass()
120 return data_->ReadUShort(Offset::kFsType); in FsType()
124 return data_->ReadShort(Offset::kYSubscriptXSize); in YSubscriptXSize()
128 return data_->ReadShort(Offset::kYSubscriptYSize); in YSubscriptYSize()
132 return data_->ReadShort(Offset::kYSubscriptXOffset); in YSubscriptXOffset()
136 return data_->ReadShort(Offset::kYSubscriptYOffset); in YSubscriptYOffset()
140 return data_->ReadShort(Offset::kYSuperscriptXSize); in YSuperscriptXSize()
[all …]
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/
Duninitialized_copy_n.pass.cpp23 int data_; member
24 explicit B() : data_(1) {} in B()
25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B()
26 ~B() {data_ = 0;} in ~B()
45 assert(bp[i].data_ == 0); in main()
50 assert(bp[i].data_ == 1); in main()
Duninitialized_copy.pass.cpp23 int data_; member
24 explicit B() : data_(1) {} in B()
25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B()
26 ~B() {data_ = 0;} in ~B()
45 assert(bp[i].data_ == 0); in main()
50 assert(bp[i].data_ == 1); in main()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/
Duninitialized_fill.pass.cpp23 int data_; member
24 explicit B() : data_(1) {} in B()
25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B()
26 ~B() {data_ = 0;} in ~B()
44 assert(bp[i].data_ == 0); in main()
49 assert(bp[i].data_ == 1); in main()
/external/llvm/lib/Support/Windows/
DRWMutex.inc78 data_ = calloc(1, sizeof(SRWLOCK));
79 fpInitializeSRWLock(static_cast<PSRWLOCK>(data_));
81 data_ = calloc(1, sizeof(CRITICAL_SECTION));
82 InitializeCriticalSection(static_cast<LPCRITICAL_SECTION>(data_));
88 DeleteCriticalSection(static_cast<LPCRITICAL_SECTION>(data_));
90 free(data_);
95 fpAcquireSRWLockShared(static_cast<PSRWLOCK>(data_));
97 EnterCriticalSection(static_cast<LPCRITICAL_SECTION>(data_));
104 fpReleaseSRWLockShared(static_cast<PSRWLOCK>(data_));
106 LeaveCriticalSection(static_cast<LPCRITICAL_SECTION>(data_));
[all …]
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/
Duninitialized_fill_n.pass.cpp22 int data_; member
23 explicit B() : data_(1) {} in B()
24 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B()
25 ~B() {data_ = 0;} in ~B()
43 assert(bp[i].data_ == 0); in main()
49 assert(bp[i].data_ == 1); in main()

123456789