Searched refs:m_capacity (Results 1 – 7 of 7) sorted by relevance
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | ExpandedNameTable.java | 89 private int m_capacity; field in ExpandedNameTable 121 m_capacity = m_initialCapacity; in ExpandedNameTable() 122 m_threshold = (int)(m_capacity * m_loadFactor); in ExpandedNameTable() 123 m_table = new HashEntry[m_capacity]; in ExpandedNameTable() 193 int index = hash % m_capacity; in getExpandedTypeID() 213 index = hash % m_capacity; in getExpandedTypeID() 247 int oldCapacity = m_capacity; in rehash() 251 m_capacity = newCapacity; in rehash()
|
/external/testng/src/test/java/test/factory/ |
D | NestedFactoryTest.java | 11 private int m_capacity = 2; field in NestedFactoryTest 31 this.m_capacity=capacity; in NestedFactoryTest() 40 assertTrue((m_capacity == 1 && m_loadFactor == 0.1f) || in verify() 41 m_capacity == 10 && m_loadFactor == 0.5f); in verify()
|
D | NestedStaticFactoryTest.java | 11 private int m_capacity = 2; field in NestedStaticFactoryTest 31 this.m_capacity=capacity; in NestedStaticFactoryTest() 40 assertTrue((m_capacity == 1 && m_loadFactor == 0.1f) || in verify() 41 m_capacity == 10 && m_loadFactor == 0.5f); in verify()
|
/external/pdfium/third_party/agg23/ |
D | agg_array.h | 32 pod_array() : m_size(0), m_capacity(0), m_array(0) {} in pod_array() 39 return m_capacity; in capacity() 100 unsigned m_capacity; variable 111 m_capacity = 0; in capacity() 112 } else if(full_cap > m_capacity) { in capacity() 115 m_capacity = full_cap; in capacity() 128 if(new_size > m_capacity) { in resize() 139 m_size(0), m_capacity(cap + extra_tail), m_array(FX_Alloc(T, m_capacity)) {} in pod_array() 142 m_capacity(v.m_capacity), in pod_array() 143 m_array(v.m_capacity ? FX_Alloc(T, v.m_capacity) : 0) in pod_array()
|
D | 0005-assignment-return-values.patch | 6 pod_array() : m_size(0), m_capacity(0), m_array(0) {}
|
/external/deqp/framework/delibs/decpp/ |
D | dePoolArray.hpp | 108 deUintptr m_capacity; //!< Number of allocated elements in the array. member in de::PoolArray 229 , m_capacity (0) in PoolArray() 294 if (capacity >= m_capacity) in reserve() 326 deUintptr pageTableNdx = m_capacity >> ELEMENTS_PER_PAGE_LOG2; in reserve() 352 m_capacity = pageTableNdx << ELEMENTS_PER_PAGE_LOG2; in reserve() 353 DE_ASSERT(m_capacity >= newCapacity); in reserve()
|
/external/OpenCL-CTS/test_common/miniz/ |
D | miniz.c | 1976 size_t m_size, m_capacity; member 1985 if (new_size > p->m_capacity) in tdefl_output_buffer_putter() 1987 size_t new_capacity = p->m_capacity; mz_uint8 *pNew_buf; if (!p->m_expandable) return MZ_FALSE; in tdefl_output_buffer_putter() 1990 p->m_pBuf = pNew_buf; p->m_capacity = new_capacity; in tdefl_output_buffer_putter() 2009 out_buf.m_pBuf = (mz_uint8*)pOut_buf; out_buf.m_capacity = out_buf_len; in tdefl_compress_mem_to_mem() 2047 …le = MZ_TRUE; out_buf.m_capacity = 57+MZ_MAX(64, (1+bpl)*h); if (NULL == (out_buf.m_pBuf = (mz_uin… in tdefl_write_image_to_png_file_in_memory_ex() 2211 size_t m_size, m_capacity; member 2237 …ity = min_new_capacity; MZ_ASSERT(pArray->m_element_size); if (pArray->m_capacity >= min_new_capac… in mz_zip_array_ensure_capacity() 2238 …if (growing) { new_capacity = MZ_MAX(1, pArray->m_capacity); while (new_capacity < min_new_capacit… in mz_zip_array_ensure_capacity() 2240 pArray->m_p = pNew_p; pArray->m_capacity = new_capacity; in mz_zip_array_ensure_capacity() [all …]
|