/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
D | vp8_partition_aggregator.cc | 64 bool PartitionTreeNode::CreateChildren(int max_size) { in CreateChildren() argument 65 assert(max_size > 0); in CreateChildren() 68 if (this_size_ + size_vector_[0] <= max_size) { in CreateChildren() 113 PartitionTreeNode* PartitionTreeNode::GetOptimalNode(int max_size, in GetOptimalNode() argument 115 CreateChildren(max_size); in GetOptimalNode() 123 return right->GetOptimalNode(max_size, penalty); in GetOptimalNode() 126 return left->GetOptimalNode(max_size, penalty); in GetOptimalNode() 137 first = first->GetOptimalNode(max_size, penalty); in GetOptimalNode() 139 second = second->GetOptimalNode(max_size, penalty); in GetOptimalNode() 173 void Vp8PartitionAggregator::SetPriorMinMax(int min_size, int max_size) { in SetPriorMinMax() argument [all …]
|
D | vp8_partition_aggregator.h | 44 bool CreateChildren(int max_size); 52 PartitionTreeNode* GetOptimalNode(int max_size, int penalty); 98 void SetPriorMinMax(int min_size, int max_size); 106 ConfigVec FindOptimalConfiguration(int max_size, int penalty); 112 void CalcMinMax(const ConfigVec& config, int* min_size, int* max_size) const; 123 int max_size);
|
/external/chromium_org/v8/test/cctest/ |
D | test-gc-tracer.cc | 38 const int max_size = 6; in TEST() local 39 typedef RingBuffer<int, max_size>::const_iterator Iter; in TEST() 40 RingBuffer<int, max_size> ring_buffer; in TEST() 46 for (int i = 0; i < max_size / 2; i++) ring_buffer.push_back(i); in TEST() 49 CHECK(static_cast<int>(ring_buffer.size()) == max_size / 2); in TEST() 74 const int max_size = 6; in TEST() local 75 typedef RingBuffer<int, max_size>::const_iterator Iter; in TEST() 76 RingBuffer<int, max_size> ring_buffer; in TEST() 79 for (int i = 0; i < 2 * max_size + 3; i++) ring_buffer.push_back(i); in TEST() 82 CHECK(static_cast<int>(ring_buffer.size()) == max_size); in TEST() [all …]
|
/external/libnfc-nci/src/nfc/ndef/ |
D | ndef_cho_utils.c | 35 static UINT8 *ndef_get_bt_oob_record (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, 76 tNDEF_STATUS NDEF_MsgCreateWktHr (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgCreateWktHr() argument 81 NDEF_MsgInit (p_msg, max_size, p_cur_size); in NDEF_MsgCreateWktHr() 84 status = NDEF_MsgAddRec (p_msg, max_size, p_cur_size, in NDEF_MsgCreateWktHr() 100 tNDEF_STATUS NDEF_MsgCreateWktHs (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgCreateWktHs() argument 105 NDEF_MsgInit (p_msg, max_size, p_cur_size); in NDEF_MsgCreateWktHs() 108 status = NDEF_MsgAddRec (p_msg, max_size, p_cur_size, in NDEF_MsgCreateWktHs() 124 tNDEF_STATUS NDEF_MsgAddWktHc (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgAddWktHc() argument 149 status = NDEF_MsgAddRec (p_msg, max_size, p_cur_size, in NDEF_MsgAddWktHc() 164 tNDEF_STATUS NDEF_MsgAddWktAc (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgAddWktAc() argument [all …]
|
/external/chromium_org/extensions/browser/app_window/ |
D | size_constraints.cc | 17 const gfx::Size& max_size) in SizeConstraints() argument 18 : minimum_size_(min_size), maximum_size_(max_size) {} in SizeConstraints() 36 const gfx::Size max_size = GetMaximumSize(); in ClampSize() local 37 if (max_size.width() != kUnboundedSize) in ClampSize() 38 size.set_width(std::min(size.width(), max_size.width())); in ClampSize() 39 if (max_size.height() != kUnboundedSize) in ClampSize() 40 size.set_height(std::min(size.height(), max_size.height())); in ClampSize() 52 const gfx::Size max_size = GetMaximumSize(); in HasMaximumSize() local 53 return max_size.width() != kUnboundedSize || in HasMaximumSize() 54 max_size.height() != kUnboundedSize; in HasMaximumSize() [all …]
|
/external/libnfc-nci/src/nfc/include/ |
D | ndef_utils.h | 257 EXPORT_NDEF_API extern void NDEF_MsgInit (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size); 269 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgAddRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_s… 285 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgInsertRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cu… 300 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgAppendRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cu… 314 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgAppendPayload (UINT8 *p_msg, UINT32 max_size, UINT32 *p… 328 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgReplacePayload (UINT8 *p_msg, UINT32 max_size, UINT32 *… 342 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgReplaceType (UINT8 *p_msg, UINT32 max_size, UINT32 *p_c… 356 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgReplaceId (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur… 395 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgCreateWktHr (UINT8 *p_msg, UINT32 max_size, UINT32 *p_c… 407 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgCreateWktHs (UINT8 *p_msg, UINT32 max_size, UINT32 *p_c… [all …]
|
/external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/ |
D | max_size.pass.cpp | 36 size_t max_size() const in max_size() function 47 assert(std::allocator_traits<A<int> >::max_size(a) == in main() 52 assert(std::allocator_traits<A<int> >::max_size(a) == in main() 58 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in main() 62 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in main() 67 … static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, ""); in main()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/ |
D | cso_cache.c | 41 int max_size; member 158 int max_size) in sanitize_hash() argument 161 sc->sanitize_cb(hash, type, max_size, sc->sanitize_data); in sanitize_hash() 166 int max_size, void *user_data) in sanitize_cb() argument 171 int max_entries = (max_size > hash_size) ? max_size : hash_size; in sanitize_cb() 172 int to_remove = (max_size < max_entries) * max_entries/4; in sanitize_cb() 173 if (hash_size > max_size) in sanitize_cb() 174 to_remove += hash_size - max_size; in sanitize_cb() 191 sanitize_hash(sc, hash, type, sc->max_size); in cso_insert_state() 253 sc->max_size = 4096; in cso_cache_create() [all …]
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
D | cso_cache.c | 41 int max_size; member 158 int max_size) in sanitize_hash() argument 161 sc->sanitize_cb(hash, type, max_size, sc->sanitize_data); in sanitize_hash() 166 int max_size, void *user_data) in sanitize_cb() argument 171 int max_entries = (max_size > hash_size) ? max_size : hash_size; in sanitize_cb() 172 int to_remove = (max_size < max_entries) * max_entries/4; in sanitize_cb() 173 if (hash_size > max_size) in sanitize_cb() 174 to_remove += hash_size - max_size; in sanitize_cb() 191 sanitize_hash(sc, hash, type, sc->max_size); in cso_insert_state() 253 sc->max_size = 4096; in cso_cache_create() [all …]
|
/external/chromium_org/third_party/re2/patches/ |
D | re2-msan.patch | 16 template<typename Value> SparseArray<Value>::SparseArray(int max_size) { 17 max_size_ = max_size; 18 sparse_to_dense_ = new int[max_size]; 21 dense_.resize(max_size); 36 SparseSet(int max_size) { 37 max_size_ = max_size; 38 sparse_to_dense_ = new int[max_size]; 39 dense_ = new int[max_size];
|
/external/chromium_org/net/spdy/ |
D | hpack_header_table_test.cc | 145 EXPECT_EQ(kDefaultHeaderTableSizeSetting, table_.max_size()); in TEST_F() 274 size_t max_size = entry1->Size() + entry2->Size() + entry3->Size(); in TEST_F() local 275 table_.SetMaxSize(max_size); in TEST_F() 279 max_size = entry1->Size() + entry2->Size() + entry3->Size() - 1; in TEST_F() 280 table_.SetMaxSize(max_size); in TEST_F() 287 EXPECT_EQ(max_size, table_.max_size()); in TEST_F() 288 table_.SetSettingsHeaderTableSize(max_size + 1); in TEST_F() 289 EXPECT_EQ(max_size, table_.max_size()); in TEST_F() 294 max_size = entry3->Size() - 1; in TEST_F() 295 table_.SetSettingsHeaderTableSize(max_size); in TEST_F() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_stack.h | 55 #define GET_STACK_TRACE(max_size, fast) \ argument 57 if (max_size <= 2) { \ 58 stack.size = max_size; \ 59 if (max_size > 0) { \ 62 if (max_size > 1) \ 66 GetStackTraceWithPcBpAndContext(&stack, max_size, \
|
/external/chromium_org/base/containers/ |
D | mru_cache.h | 69 explicit MRUCacheBase(size_type max_size) : max_size_(max_size) { in MRUCacheBase() argument 72 MRUCacheBase(size_type max_size, const DeletorType& deletor) in MRUCacheBase() argument 73 : max_size_(max_size), deletor_(deletor) { in MRUCacheBase() 82 size_type max_size() const { return max_size_; } in max_size() function 232 explicit MRUCache(typename ParentType::size_type max_size) in MRUCache() argument 233 : ParentType(max_size) { in MRUCache() 266 explicit OwningMRUCache(typename ParentType::size_type max_size) in OwningMRUCache() argument 267 : ParentType(max_size) { in OwningMRUCache() 298 explicit HashingMRUCache(typename ParentType::size_type max_size) in HashingMRUCache() argument 299 : ParentType(max_size) { in HashingMRUCache()
|
/external/regex-re2/util/ |
D | sparse_set.h | 59 SparseSet(int max_size) { in SparseSet() argument 60 max_size_ = max_size; in SparseSet() 61 sparse_to_dense_ = new int[max_size]; in SparseSet() 62 dense_ = new int[max_size]; in SparseSet() 67 for (int i = 0; i < max_size; i++) { in SparseSet() 122 int max_size() const { return max_size_; } in max_size() function
|
/external/chromium_org/third_party/re2/util/ |
D | sparse_set.h | 60 SparseSet(int max_size) { in SparseSet() argument 61 max_size_ = max_size; in SparseSet() 62 sparse_to_dense_ = new int[max_size]; in SparseSet() 63 dense_ = new int[max_size]; in SparseSet() 68 for (int i = 0; i < max_size; i++) { in SparseSet() 123 int max_size() const { return max_size_; } in max_size() function
|
/external/oprofile/libutil/ |
D | op_growable_buffer.c | 19 b->max_size = 0; in init_buffer() 33 size_t new_size = (b->max_size + b->size) * 2; in grow_buffer() 35 b->max_size = new_size; in grow_buffer() 43 if (b->size > b->max_size) in add_data()
|
/external/chromium_org/components/policy/core/common/cloud/ |
D | external_policy_data_fetcher.cc | 57 int64 max_size, 61 const int64 max_size; member 70 int64 max_size, in Job() argument 73 max_size(max_size), in Job() 95 int64 max_size, in StartJob() argument 99 url, max_size, in StartJob() 232 if (static_cast<int64>(data->size()) > it->second->max_size) { in OnURLFetchComplete() 257 if (current > it->second->max_size || total > it->second->max_size) { in OnURLFetchDownloadProgress()
|
/external/chromium_org/content/renderer/ |
D | disambiguation_popup_helper.cc | 68 gfx::Size max_size = viewport_size; in CropZoomArea() local 69 max_size.Enlarge(-2 * kDisambiguationPopupBoundsMargin, in CropZoomArea() 71 max_size = ToCeiledSize(ScaleSize(max_size, 1.0 / scale)); in CropZoomArea() 77 TrimEdges(&left, &right, max_size.width()); in CropZoomArea() 78 TrimEdges(&top, &bottom, max_size.height()); in CropZoomArea()
|
/external/libcxx/test/containers/sequences/array/array.size/ |
D | size.pass.cpp | 24 assert(c.max_size() == 3); in main() 32 assert(c.max_size() == 0); in main() 41 static_assert(c.max_size() == 3, ""); in main() 49 static_assert(c.max_size() == 0, ""); in main()
|
/external/chromium_org/chrome/browser/ui/views/apps/ |
D | glass_app_window_frame_view_win.cc | 129 gfx::Size max_size = widget_->client_view()->GetMaximumSize(); in GetMaximumSize() local 133 if (max_size.width()) in GetMaximumSize() 134 max_size.Enlarge(width() - client_size.width(), 0); in GetMaximumSize() 135 if (max_size.height()) in GetMaximumSize() 136 max_size.Enlarge(0, height() - client_size.height()); in GetMaximumSize() 138 return max_size; in GetMaximumSize()
|
/external/libcxx/test/strings/basic.string/string.capacity/ |
D | max_size.pass.cpp | 24 const size_t sz = s2.max_size() - 1; in test1() 35 const size_t sz = s2.max_size(); in test2() 46 const size_t sz = s2.max_size() + 1; in test3() 56 assert(s.max_size() >= s.size()); in test()
|
/external/chromium_org/chrome/browser/apps/ |
D | app_window_interactive_uitest.cc | 369 gfx::Size min_size, max_size; in TestOuterBoundsHelper() local 385 host->GetMinMaxSize(&min_size, &max_size); in TestOuterBoundsHelper() 392 max_size = gfx::Size( in TestOuterBoundsHelper() 393 max_size.width() ? max_size.width() + insets.left() + insets.right() : 0, in TestOuterBoundsHelper() 394 max_size.height() ? max_size.height() + insets.top() + insets.bottom() in TestOuterBoundsHelper() 403 EXPECT_EQ(400, max_size.width()); in TestOuterBoundsHelper() 404 EXPECT_EQ(401, max_size.height()); in TestOuterBoundsHelper()
|
/external/chromium_org/media/base/ |
D | audio_fifo.cc | 21 int pos, int max_size, int in_size, int* size, int* wrap_size) { in GetSizes() argument 22 if (pos + in_size > max_size) { in GetSizes() 24 *size = max_size - pos; in GetSizes() 36 static int UpdatePos(int pos, int step, int max_size) { in UpdatePos() argument 37 return ((pos + step) % max_size); in UpdatePos()
|
/external/qemu/distrib/libsparse/src/ |
D | simg2simg.c | 49 int64_t max_size; in main() local 59 max_size = atoll(argv[3]); in main() 73 files = sparse_file_resparse(s, max_size, NULL, 0); in main() 85 files = sparse_file_resparse(s, max_size, out_s, files); in main()
|
/external/chromium_org/testing/gtest/xcode/Samples/FrameworkSample/ |
D | widget_test.cc | 57 size_t max_size = 128; in TEST() local 58 char buffer[max_size]; in TEST() 59 widget.GetCharPtrValue(buffer, max_size); in TEST()
|