/external/cronet/base/containers/ |
D | small_map.h | 342 if (compare(array_[i].first, key)) { 343 return iterator(array_ + i); 346 return iterator(array_ + size_); 357 if (compare(array_[i].first, key)) { 358 return const_iterator(array_ + i); 361 return const_iterator(array_ + size_); 375 if (compare(array_[index].first, key)) { 376 return array_[index].second; 386 new (&array_[size_]) value_type(key, data_type()); 387 return array_[size_++].second; [all …]
|
/external/marisa-trie/include/marisa/ |
D | scoped-array.h | 11 scoped_array() : array_(NULL) {} in scoped_array() 12 explicit scoped_array(T *array) : array_(array) {} in scoped_array() 15 delete [] array_; in ~scoped_array() 19 MARISA_DEBUG_IF((array != NULL) && (array == array_), MARISA_RESET_ERROR); 24 MARISA_DEBUG_IF(array_ == NULL, MARISA_STATE_ERROR); 25 return array_[i]; 28 return array_; in get() 35 marisa::swap(array_, rhs.array_); in swap() 39 T *array_;
|
/external/libchrome/base/containers/ |
D | small_map.h | 369 if (compare(array_[i].first, key)) { 370 return iterator(array_ + i); 373 return iterator(array_ + size_); 383 if (compare(array_[i].first, key)) { 384 return const_iterator(array_ + i); 387 return const_iterator(array_ + size_); 401 if (compare(array_[i].first, key)) { 402 return array_[i].second; 409 new (&array_[size_]) value_type(key, data_type()); 410 return array_[size_++].second; [all …]
|
/external/webrtc/modules/audio_coding/neteq/ |
D | audio_vector_unittest.cc | 27 array_[i] = rtc::checked_cast<int16_t>(i); in SetUp() 31 size_t array_length() const { return sizeof(array_) / sizeof(array_[0]); } in array_length() 33 int16_t array_[10]; member in webrtc::AudioVectorTest 64 vec.PushBack(array_, array_length()); in TEST_F() 69 EXPECT_EQ(array_[i], vec[i]); in TEST_F() 70 EXPECT_EQ(array_[i], vec_copy[i]); in TEST_F() 104 vec.PushFront(array_, array_length()); in TEST_F() 107 EXPECT_EQ(array_[i], vec[i]); in TEST_F() 133 vec.PushBack(array_, array_length()); in TEST_F() 146 vec.PushBack(array_, array_length()); in TEST_F() [all …]
|
D | audio_vector.cc | 26 : array_(new int16_t[initial_size + 1]), in AudioVector() 30 memset(array_.get(), 0, capacity_ * sizeof(int16_t)); in AudioVector() 42 CopyTo(Size(), 0, copy_to->array_.get()); in CopyTo() 55 memcpy(copy_to, &array_[copy_index], first_chunk_length * sizeof(int16_t)); in CopyTo() 58 memcpy(©_to[first_chunk_length], array_.get(), in CopyTo() 76 PushFront(prepend_this.array_.get(), remaining_length); in PushFront() 77 PushFront(&prepend_this.array_[prepend_this.begin_index_], in PushFront() 86 memcpy(&array_[begin_index_ - first_chunk_length], in PushFront() 91 memcpy(&array_[capacity_ - remaining_length], prepend_this, in PushFront() 118 PushBack(&append_this.array_[start_index], first_chunk_length); in PushBack() [all …]
|
/external/google-breakpad/src/common/ |
D | scoped_ptr.h | 197 explicit scoped_array(C* p = NULL) : array_(p) { } in array_() function 203 delete[] array_; in ~scoped_array() 210 if (p != array_) { 212 delete[] array_; 213 array_ = p; 221 assert(array_ != NULL); 222 return array_[i]; 228 return array_; in get() 234 bool operator==(C* p) const { return array_ == p; } 235 bool operator!=(C* p) const { return array_ != p; } [all …]
|
/external/cronet/base/win/ |
D | scoped_safearray.h | 49 array_(std::exchange(other.array_, nullptr)), in LockScope() 57 array_ = std::exchange(other.array_, nullptr); 71 pointer begin() { return array_; } in begin() 72 pointer end() { return array_ + array_size_; } in end() 73 const_pointer begin() const { return array_; } in begin() 74 const_pointer end() const { return array_ + array_size_; } in end() 76 pointer data() { return array_; } in data() 77 const_pointer data() const { return array_; } in data() 83 DCHECK_NE(array_, nullptr); in at() 85 return array_[index]; in at() [all …]
|
/external/icing/icing/jni/ |
D | scoped-primitive-array-critical.h | 29 : env_(env), array_(array) { in ScopedPrimitiveArrayCritical() 30 if (array_ == nullptr) { in ScopedPrimitiveArrayCritical() 42 array_(nullptr), in ScopedPrimitiveArrayCritical() 59 if (array_critical_ != nullptr && array_ != nullptr) { in ~ScopedPrimitiveArrayCritical() 60 env_->ReleasePrimitiveArrayCritical(array_, array_critical_, /*mode=*/0); in ~ScopedPrimitiveArrayCritical() 72 std::swap(array_, other.array_); in Swap() 78 jarray array_; variable
|
/external/google-breakpad/src/tools/windows/converter_exe/ |
D | escaping.cc | 78 explicit scoped_array(C* p = NULL) : array_(p) { } in scoped_array() 84 delete[] array_; in ~scoped_array() 91 if (p != array_) { in reset() 93 delete[] array_; in reset() 94 array_ = p; in reset() 102 assert(array_ != NULL); in operator []() 103 return array_[i]; in operator []() 109 return array_; in get() 115 bool operator==(const C* p) const { return array_ == p; } in operator ==() 116 bool operator!=(const C* p) const { return array_ != p; } in operator !=() [all …]
|
/external/piex/src/binary_parse/ |
D | range_checked_byte_ptr.cc | 76 : array_(), in RangeCheckedBytePtr() 87 : array_(new MemoryPagedByteArray(array, len)), in RangeCheckedBytePtr() 102 : array_(array, NullFunctor()), in RangeCheckedBytePtr() 169 if (x.array_ != y.array_) { in operator ==() 190 if (offset >= array_->length()) { in loadPageForOffset() 196 size_t page_index = offset / array_->pageSize(); in loadPageForOffset() 201 array_->getPage(page_index, &page_begin, &page_end, &page_); in loadPageForOffset() 205 size_t expected_page_size = array_->pageSize(); in loadPageForOffset() 206 if (page_index == (array_->length() - 1) / array_->pageSize()) { in loadPageForOffset() 207 expected_page_size = array_->length() - array_->pageSize() * page_index; in loadPageForOffset() [all …]
|
/external/pigweed/pw_containers/ |
D | algorithm_test.cc | 54 int array_[3] = {1, 2, 3}; member in __anone4e2f7ef0111::NonMutatingTest 105 pw::containers::FindEnd(array_, vector_); in TEST_F() 106 pw::containers::FindEnd(vector_, array_); in TEST_F() 110 pw::containers::FindEnd(array_, vector_, BinPredicate); in TEST_F() 111 pw::containers::FindEnd(vector_, array_, BinPredicate); in TEST_F() 115 pw::containers::FindFirstOf(span_, array_); in TEST_F() 116 pw::containers::FindFirstOf(array_, span_); in TEST_F() 120 pw::containers::FindFirstOf(span_, array_, BinPredicate); in TEST_F() 121 pw::containers::FindFirstOf(array_, span_, BinPredicate); in TEST_F() 124 TEST_F(NonMutatingTest, AdjacentFind) { pw::containers::AdjacentFind(array_); } in TEST_F() [all …]
|
/external/sfntly/cpp/src/sfntly/data/ |
D | font_data.cc | 28 return std::min<int32_t>(array_->Size() - bound_offset_, bound_length_); in Size() 44 CHECK(new_offset <= array_->Size()); in Bound() 49 CHECK(new_offset <= array_->Size() - length); in Bound() 57 return std::min<int32_t>(array_->Length() - bound_offset_, bound_length_); in Length() 65 Init(data->array_); in FontData() 70 Init(data->array_); in FontData() 79 array_ = ba; in Init()
|
D | writable_font_data.cc | 58 array_->Put(BoundOffset(index), b); in WriteByte() 66 return array_->Put(BoundOffset(index), in WriteBytes() 83 array_->Put(BoundOffset(index), in WriteBytesPad() 99 array_->Put(index + i, pad); in WritePadding() 162 array_->CopyFrom(is, length); in CopyFrom() 166 array_->CopyFrom(is); in CopyFrom()
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | flatrep.h | 56 CopyEntries(src.array_, src.end_, CopyEntry()); in FlatRep() 73 delete[] array_; in ~FlatRep() 79 Bucket* start() const { return array_; } in start() 88 delete[] array_; in CopyFrom() 90 CopyEntries(src.array_, src.end_, CopyEntry()); in CopyFrom() 101 for (Bucket* b = array_; b != end_; b++) { in clear_no_resize() 121 swap(array_, x.array_); in swap() 150 Bucket* b = &array_[index >> kBase]; in Find() 177 Bucket* b = &array_[index >> kBase]; in FindOrInsert() 214 Bucket* b = &array_[index >> kBase]; in Prefetch() [all …]
|
/external/cronet/third_party/protobuf/js/experimental/runtime/kernel/ |
D | binary_storage.js | 25 this.array_ = new Array(pivot); 45 return this.array_.length; 57 this.array_[fieldNumber - 1] = field; 76 return this.array_[fieldNumber - 1]; 90 delete this.array_[fieldNumber - 1]; 105 this.array_.forEach((field, fieldNumber) => {
|
/external/harfbuzz_ng/src/ |
D | hb-array.hh | 59 constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {} in hb_array_t() 61 constexpr hb_array_t (Type (&array_)[length_]) : hb_array_t (array_, length_) {} in hb_array_t() 310 hb_array (T (&array_)[length_]) in hb_array() 311 { return hb_array_t<T> (array_); } in hb_array() 329 …constexpr hb_sorted_array_t (Type *array_, unsigned int length_) : hb_array_t<Type> (array_, lengt… in hb_sorted_array_t() 331 constexpr hb_sorted_array_t (Type (&array_)[length_]) : hb_array_t<Type> (array_) {} in hb_sorted_array_t() 421 hb_sorted_array (T (&array_)[length_]) in hb_sorted_array() 422 { return hb_sorted_array_t<T> (array_); } in hb_sorted_array()
|
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
D | RunQueue.h | 46 array_[i].state.store(kEmpty, std::memory_order_relaxed); in RunQueue() 55 Elem* e = &array_[front & kMask]; in PushFront() 70 Elem* e = &array_[(front - 1) & kMask]; in PopFront() 87 Elem* e = &array_[(back - 1) & kMask]; in PushBack() 104 Elem* e = &array_[back & kMask]; in PopBack() 127 Elem* e = &array_[mid & kMask]; in PopBackHalf() 185 Elem array_[kSize]; variable
|
/external/cronet/third_party/quic_trace/src/tools/render/ |
D | sdl_util.h | 160 glGenVertexArrays(1, &array_); in GlVertexArray() 161 glBindVertexArray(array_); in GlVertexArray() 163 ~GlVertexArray() { glDeleteVertexArrays(1, &array_); } in ~GlVertexArray() 168 GLuint operator*() const { return array_; } 171 GLuint array_;
|
/external/cronet/third_party/boringssl/src/third_party/googletest/src/ |
D | gtest-test-part.cc | 67 array_.push_back(result); in Append() 77 return array_[static_cast<size_t>(index)]; in GetTestPartResult() 82 return static_cast<int>(array_.size()); in size()
|
/external/libvpx/third_party/googletest/src/src/ |
D | gtest-test-part.cc | 65 array_.push_back(result); in Append() 75 return array_[static_cast<size_t>(index)]; in GetTestPartResult() 80 return static_cast<int>(array_.size()); in size()
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/ |
D | gtest-test-part.cc | 67 array_.push_back(result); in Append() 77 return array_[static_cast<size_t>(index)]; in GetTestPartResult() 82 return static_cast<int>(array_.size()); in size()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-test-part.cc | 63 array_.push_back(result); in Append() 73 return array_[static_cast<size_t>(index)]; in GetTestPartResult() 78 return static_cast<int>(array_.size()); in size()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-test-part.cc | 69 array_.push_back(result); in Append() 79 return array_[index]; in GetTestPartResult() 84 return static_cast<int>(array_.size()); in size()
|
/external/cronet/third_party/googletest/src/googletest/src/ |
D | gtest-test-part.cc | 65 array_.push_back(result); in Append() 75 return array_[static_cast<size_t>(index)]; in GetTestPartResult() 80 return static_cast<int>(array_.size()); in size()
|
/external/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-test-part.cc | 65 array_.push_back(result); in Append() 75 return array_[static_cast<size_t>(index)]; in GetTestPartResult() 80 return static_cast<int>(array_.size()); in size()
|