Home
last modified time | relevance | path

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

12345678910>>...15

/external/parameter-framework/asio-1.10.6/include/asio/ip/detail/impl/
Dendpoint.ipp29 : data_()
31 data_.v4.sin_family = ASIO_OS_DEF(AF_INET);
32 data_.v4.sin_port = 0;
33 data_.v4.sin_addr.s_addr = ASIO_OS_DEF(INADDR_ANY);
37 : data_()
42 data_.v4.sin_family = ASIO_OS_DEF(AF_INET);
43 data_.v4.sin_port =
45 data_.v4.sin_addr.s_addr = ASIO_OS_DEF(INADDR_ANY);
49 data_.v6.sin6_family = ASIO_OS_DEF(AF_INET6);
50 data_.v6.sin6_port =
[all …]
/external/libchrome/base/containers/
Dscoped_ptr_hash_map.h40 data_.swap(other.data_); in swap()
54 return data_.insert(std::make_pair(key, data.release())).first; in set()
60 data_.insert(std::make_pair(key, data.get())); in add()
69 data_.erase(it); in erase()
73 iterator it = data_.find(k); in erase()
74 if (it == data_.end()) in erase()
81 DCHECK(it != data_.end()); in take()
82 if (it == data_.end()) in take()
92 if (it == data_.end()) in take()
99 DCHECK(it != data_.end()); in take_and_erase()
[all …]
/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 …]
Dbit-vector.h22 current_value_(target->data_[0]), in Iterator()
68 data_(zone->NewArray<uintptr_t>(data_length_)) { in BitVector()
76 data_(zone->NewArray<uintptr_t>(data_length_)) { in BitVector()
88 data_[i] = other.data_[i]; in CopyFrom()
91 data_[i] = 0; in CopyFrom()
97 uintptr_t block = data_[i / kDataBits]; in Contains()
103 data_[i / kDataBits] |= (kOne << (i % kDataBits)); in Add()
106 void AddAll() { memset(data_, -1, sizeof(uintptr_t) * data_length_); } in AddAll()
110 data_[i / kDataBits] &= ~(kOne << (i % kDataBits)); in Remove()
116 data_[i] |= other.data_[i]; in Union()
[all …]
/external/libcxx/test/support/
Dtest_allocator.h41 int data_; variable
56 test_allocator() throw() : data_(0) {++count;} in throw()
57 explicit test_allocator(int i) throw() : data_(i) {++count;} in test_allocator()
59 : data_(a.data_) {++count;} in throw()
61 : data_(a.data_) {++count;} in test_allocator()
62 ~test_allocator() throw() {assert(data_ >= 0); --count; data_ = -1;} in throw()
67 assert(data_ >= 0);
80 {assert(data_ >= 0); --alloc_count; ::operator delete((void*)p);} in deallocate()
92 {return x.data_ == y.data_;}
101 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_;}
/external/libchrome/base/
Dscoped_generic.h76 ScopedGeneric() : data_(traits_type::InvalidValue()) {} in ScopedGeneric()
80 explicit ScopedGeneric(const element_type& value) : data_(value) {} in ScopedGeneric()
84 : data_(value, traits) { in ScopedGeneric()
89 : data_(rvalue.release(), rvalue.get_traits()) { in ScopedGeneric()
106 if (data_.generic != traits_type::InvalidValue() && data_.generic == value)
109 data_.generic = value;
117 swap(static_cast<Traits&>(data_), static_cast<Traits&>(other.data_)); in swap()
118 swap(data_.generic, other.data_.generic); in swap()
125 element_type old_generic = data_.generic; in release()
126 data_.generic = traits_type::InvalidValue(); in release()
[all …]
Did_map.h59 Releaser<OS, 0>::release_all(&data_); in ~IDMap()
71 DCHECK(data_.find(this_id) == data_.end()) << "Inserting duplicate item"; in Add()
72 data_[this_id] = data; in Add()
84 DCHECK(data_.find(id) == data_.end()) << "Inserting duplicate item"; in AddWithID()
85 data_[id] = data; in AddWithID()
90 typename HashTable::iterator i = data_.find(id); in Remove()
91 if (i == data_.end()) { in Remove()
98 data_.erase(i); in Remove()
112 typename HashTable::iterator i = data_.find(id); in Replace()
113 if (i == data_.end()) { in Replace()
[all …]
/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/skia/src/core/
DSkTraceEvent.h240 : data_(static_cast<uint64_t>( in DontMangle()
242 explicit DontMangle(uint64_t id) : data_(id) {} in DontMangle()
243 explicit DontMangle(unsigned int id) : data_(id) {} in DontMangle()
244 explicit DontMangle(unsigned short id) : data_(id) {} in DontMangle()
245 explicit DontMangle(unsigned char id) : data_(id) {} in DontMangle()
247 : data_(static_cast<uint64_t>(id)) {} in DontMangle()
249 : data_(static_cast<uint64_t>(id)) {} in DontMangle()
251 : data_(static_cast<uint64_t>(id)) {} in DontMangle()
253 : data_(static_cast<uint64_t>(id)) {} in DontMangle()
255 : data_(static_cast<uint64_t>(id)) {} in DontMangle()
[all …]
/external/gemmlowp/public/
Dmap.h39 Scalar* data_; // not owned.
43 MatrixMap() : data_(nullptr), rows_(0), cols_(0), stride_(0) {} in MatrixMap()
45 : data_(data), rows_(rows), cols_(cols), stride_(stride) {} in MatrixMap()
47 : data_(other.data_), in MatrixMap()
57 Scalar* data() const { return data_; } in data()
59 return data_ + row * rows_stride() + col * cols_stride(); in data()
86 Scalar* data_; // not owned.
90 VectorMap() : data_(nullptr), size_(0) {} in VectorMap()
91 VectorMap(Scalar* data, int size) : data_(data), size_(size) {} in VectorMap()
92 VectorMap(const VectorMap& other) : data_(other.data_), size_(other.size_) {} in VectorMap()
[all …]
/external/webrtc/webrtc/modules/utility/source/
Daudio_frame_operations.cc35 memcpy(data_copy, frame->data_, in MonoToStereo()
37 MonoToStereo(data_copy, frame->samples_per_channel_, frame->data_); in MonoToStereo()
56 StereoToMono(frame->data_, frame->samples_per_channel_, frame->data_); in StereoToMono()
66 int16_t temp_data = frame->data_[i]; in SwapStereoChannels()
67 frame->data_[i] = frame->data_[i + 1]; in SwapStereoChannels()
68 frame->data_[i + 1] = temp_data; in SwapStereoChannels()
73 memset(frame.data_, 0, sizeof(int16_t) * in Mute()
83 frame.data_[2 * i] = in Scale()
84 static_cast<int16_t>(left * frame.data_[2 * i]); in Scale()
85 frame.data_[2 * i + 1] = in Scale()
[all …]
/external/v8/src/tracing/
Dtrace-event.h283 : data_(static_cast<uint64_t>(reinterpret_cast<uintptr_t>(id))) {} in DontMangle()
284 explicit DontMangle(uint64_t id) : data_(id) {} in DontMangle()
285 explicit DontMangle(unsigned int id) : data_(id) {} in DontMangle()
286 explicit DontMangle(uint16_t id) : data_(id) {} in DontMangle()
287 explicit DontMangle(unsigned char id) : data_(id) {} in DontMangle()
288 explicit DontMangle(int64_t id) : data_(static_cast<uint64_t>(id)) {} in DontMangle()
289 explicit DontMangle(int id) : data_(static_cast<uint64_t>(id)) {} in DontMangle()
290 explicit DontMangle(int16_t id) : data_(static_cast<uint64_t>(id)) {} in DontMangle()
291 explicit DontMangle(signed char id) : data_(static_cast<uint64_t>(id)) {} in DontMangle()
292 uint64_t data() const { return data_; } in data()
[all …]
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dmatrix.h89 CopyFrom(&other.data_[0], other.num_rows_, other.num_columns_); in CopyFrom()
95 memcpy(&data_[0], data, num_rows_ * num_columns_ * sizeof(data_[0])); in CopyFrom()
103 data_[i] = src[i][column_index]; in CopyFromColumn()
149 for (size_t i = 0; i < data_.size(); ++i) { in Scale()
150 data_[i] *= scalar; in Scale()
166 for (size_t i = 0; i < data_.size(); ++i) { in Add()
167 data_[i] += operand.data_[i]; in Add()
182 for (size_t i = 0; i < data_.size(); ++i) { in Subtract()
183 data_[i] -= operand.data_[i]; in Subtract()
198 for (size_t i = 0; i < data_.size(); ++i) { in PointwiseMultiply()
[all …]
/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/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/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/webrtc/webrtc/modules/audio_processing/
Daudio_buffer.cc63 data_(new IFChannelBuffer(proc_num_frames_, num_proc_channels_)) { in AudioBuffer()
146 data_->fbuf()->channels()[i]); in CopyFrom()
162 FloatS16ToFloat(data_->fbuf()->channels()[i], in CopyTo()
192 return data_->ibuf_const()->channels(); in channels_const()
197 return data_->ibuf()->channels(); in channels()
203 data_->ibuf_const()->bands(channel); in split_bands_const()
210 data_->ibuf()->bands(channel); in split_bands()
217 return band == kBand0To8kHz ? data_->ibuf_const()->channels() : nullptr; in split_channels_const()
226 return band == kBand0To8kHz ? data_->ibuf()->channels() : nullptr; in split_channels()
232 return data_->ibuf(); in data()
[all …]
/external/v8/src/snapshot/
Dsnapshot-source-sink.h23 : data_(reinterpret_cast<const byte*>(data)), in SnapshotByteSource()
28 : data_(payload.start()), length_(payload.length()), position_(0) {} in SnapshotByteSource()
36 return data_[position_++]; in Get()
47 uint32_t answer = data_[position_]; in GetInt()
48 answer |= data_[position_ + 1] << 8; in GetInt()
49 answer |= data_[position_ + 2] << 16; in GetInt()
50 answer |= data_[position_ + 3] << 24; in GetInt()
66 const byte* data_;
82 explicit SnapshotByteSink(int initial_size) : data_(initial_size) {} in SnapshotByteSink()
86 void Put(byte b, const char* description) { data_.Add(b); } in Put()
[all …]
/external/webrtc/webrtc/base/
Darray_view.h80 : data_(size == 0 ? nullptr : data), size_(size) { in ArrayView()
104 T* data() const { return data_; } in data()
107 RTC_DCHECK(data_); // Follows from size_ > idx and the class invariant.
108 return data_[idx];
110 T* begin() const { return data_; } in begin()
111 T* end() const { return data_ + size_; } in end()
112 const T* cbegin() const { return data_; } in cbegin()
113 const T* cend() const { return data_ + size_; } in cend()
118 return a.data_ == b.data_ && a.size_ == b.size_;
126 void CheckInvariant() const { RTC_DCHECK_EQ(!data_, size_ == 0); } in CheckInvariant()
[all …]
Dstringencode_unittest.cc67 for (size_t i = 0; i < sizeof(data_); ++i) { in HexEncodeTest()
68 data_[i] = (i + 128) & 0xff; in HexEncodeTest()
73 char data_[10]; member in rtc::HexEncodeTest
82 enc_res_ = hex_encode(encoded_, sizeof(encoded_), data_, sizeof(data_)); in TEST_F()
83 ASSERT_EQ(sizeof(data_) * 2, enc_res_); in TEST_F()
86 ASSERT_EQ(sizeof(data_), dec_res_); in TEST_F()
87 ASSERT_EQ(0, memcmp(data_, decoded_, dec_res_)); in TEST_F()
93 data_, sizeof(data_), ':'); in TEST_F()
94 ASSERT_EQ(sizeof(data_) * 3 - 1, enc_res_); in TEST_F()
98 ASSERT_EQ(sizeof(data_), dec_res_); in TEST_F()
[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 ==()

12345678910>>...15