Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 13 of 13) sorted by relevance

/frameworks/compile/mclinker/unittests/
DLinearAllocatorTest.cpp40 ASSERT_EQ(CHUNK_SIZE, m_pTestee->max_size()); in TEST_F()
47 ASSERT_EQ(CHUNK_SIZE, m_pTestee->max_size()); in TEST_F()
54 ASSERT_TRUE(0 == m_pTestee->max_size()); in TEST_F()
DRTLinearAllocatorTest.cpp41 ASSERT_TRUE(CHUNK_SIZE == m_pTestee->max_size()); in TEST_F()
48 ASSERT_TRUE(CHUNK_SIZE == m_pTestee->max_size()); in TEST_F()
55 ASSERT_TRUE(0 == m_pTestee->max_size()); in TEST_F()
/frameworks/compile/mclinker/include/mcld/Support/
DAllocators.h229 size_type max_size() const { return m_AllocatedNum; } in max_size() function
340 size_type max_size() const throw() { return size_t(-1) / sizeof(DataType); } in max_size() function
372 size_type max_size() const throw() { return size_t(-1) / sizeof(void*); } in max_size() function
DGCFactory.h173 unsigned int capacity() const { return Alloc::max_size(); } in capacity()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dbuffer_wrapper.h80 size_type max_size() const { return capacity_; } in max_size() function
133 size_type max_size() const { return buffer_.capacity(); } in max_size() function
Darray_wrapper.h80 size_type max_size() const { return capacity_; } in max_size() function
Dstring_wrapper.h86 size_type max_size() const { return capacity_; } in max_size() function
/frameworks/av/media/extractors/mp4/
DSampleTable.cpp593 status_t SampleTable::getMaxSampleSize(size_t *max_size) { in getMaxSampleSize() argument
596 *max_size = 0; in getMaxSampleSize()
606 if (sample_size > *max_size) { in getMaxSampleSize()
607 *max_size = sample_size; in getMaxSampleSize()
DMPEG4Extractor.cpp1966 size_t max_size; in parseChunk() local
1967 err = mLastTrack->sampleTable->getMaxSampleSize(&max_size); in parseChunk()
1973 if (max_size != 0) { in parseChunk()
1978 if (max_size > SIZE_MAX - 10 * 2) { in parseChunk()
1979 ALOGE("max sample size too big: %zu", max_size); in parseChunk()
1983 AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, max_size + 10 * 2); in parseChunk()
2008 max_size = 1024 * 128; in parseChunk()
2013 max_size = ((width + 15) / 16) * ((height + 15) / 16) * 192; in parseChunk()
2017 max_size = width * height * 3 / 2; in parseChunk()
2021 max_size += max_size / 10; in parseChunk()
[all …]
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_parcel_utils.h46 if (static_cast<size_t>(length) > vec->max_size()) return false; in AParcel_stdVectorAllocator()
68 if (static_cast<size_t>(length) > (*vec)->max_size()) return false; in AParcel_nullableStdVectorAllocator()
91 if (static_cast<size_t>(length) > vec->max_size()) return false; in AParcel_stdVectorExternalAllocator()
119 if (static_cast<size_t>(length) > (*vec)->max_size()) return false; in AParcel_nullableStdVectorExternalAllocator()
/frameworks/opt/net/wifi/libwifi_hal/
Dhal_tool.cpp45 int max_size, feature_set* matrix, in wifi_get_concurrency_matrix_stub() argument
/frameworks/native/include/binder/
DParcel.h926 if (val->max_size() < static_cast<size_t>(size)) { in unsafeReadTypedVector()
/frameworks/native/libs/binder/include/binder/
DParcel.h926 if (val->max_size() < static_cast<size_t>(size)) { in unsafeReadTypedVector()