Home
last modified time | relevance | path

Searched refs:m_size (Results 1 – 25 of 87) sorted by relevance

1234

/external/pdfium/third_party/agg23/
Dagg_array.h32 pod_array() : m_size(0), m_capacity(0), m_array(0) {} in pod_array()
45 FXSYS_memset(m_array, 0, sizeof(T) * m_size); in zero()
49 m_array[m_size++] = v; in add()
53 m_size += size; in inc_size()
57 return m_size; in size()
61 return m_size * sizeof(T); in byte_size()
93 m_size = 0; in remove_all()
97 if(num < m_size) { in cut_at()
98 m_size = num; in cut_at()
102 unsigned m_size;
[all …]
/external/eigen/Eigen/src/SparseCore/
DCompressedStorage.h36 : m_values(0), m_indices(0), m_size(0), m_allocatedSize(0) in CompressedStorage()
40 : m_values(0), m_indices(0), m_size(0), m_allocatedSize(0) in CompressedStorage()
46 : m_values(0), m_indices(0), m_size(0), m_allocatedSize(0) in CompressedStorage()
56 internal::smart_copy(other.m_values, other.m_values + m_size, m_values);
57 internal::smart_copy(other.m_indices, other.m_indices + m_size, m_indices);
66 std::swap(m_size, other.m_size); in swap()
78 Index newAllocatedSize = m_size + size; in reserve()
85 if (m_allocatedSize>m_size) in squeeze()
86 reallocate(m_size); in squeeze()
98 m_size = size;
[all …]
DSparseVector.h81 EIGEN_STRONG_INLINE Index rows() const { return IsColVector ? m_size : 1; }
82 EIGEN_STRONG_INLINE Index cols() const { return IsColVector ? 1 : m_size; }
83 EIGEN_STRONG_INLINE Index innerSize() const { return m_size; }
104 … eigen_assert(IsColVector ? (col==0 && row>=0 && row<m_size) : (row==0 && col>=0 && col<m_size));
109 eigen_assert(i>=0 && i<m_size);
115 … eigen_assert(IsColVector ? (col==0 && row>=0 && row<m_size) : (row==0 && col>=0 && col<m_size));
127 eigen_assert(i>=0 && i<m_size);
174 … eigen_assert(IsColVector ? (col==0 && row>=0 && row<m_size) : (row==0 && col>=0 && col<m_size));
184 eigen_assert(i>=0 && i<m_size);
235 m_size = newSize;
[all …]
/external/pdfium/xfa/fxbarcode/common/
DBC_CommonByteArray.cpp29 m_size = 0; in CBC_CommonByteArray()
33 m_size = size; in CBC_CommonByteArray()
39 m_size = size; in CBC_CommonByteArray()
54 return m_size; in Size()
57 return m_size == 0; in IsEmpty()
60 if (m_size == 0 || m_index >= m_size) { in AppendByte()
61 int32_t newSize = std::max(32, m_size << 1); in AppendByte()
68 if (!m_bytes || m_size < capacity) { in Reserve()
71 FXSYS_memcpy(newArray, m_bytes, m_size); in Reserve()
72 FXSYS_memset(newArray + m_size, 0, capacity - m_size); in Reserve()
[all …]
DBC_CommonBitArray.cpp27 m_size = array->GetSize(); in CBC_CommonBitArray()
32 m_size = 0; in CBC_CommonBitArray()
36 m_size = size; in CBC_CommonBitArray()
39 m_size = 0; in ~CBC_CommonBitArray()
42 return m_size; in GetSize()
48 return (m_size + 7) >> 3; in GetSizeInBytes()
104 int32_t size = m_size; in Reverse()
/external/emma/core/java12/com/vladium/util/
DIntVector.java34 if (index > m_size - 1) in get()
35 throw new IndexOutOfBoundsException ("get[" + index + "] on vector of size " + m_size); in get()
42 if (m_size == 0) in values()
46 final int size = m_size; in values()
64 return m_size; in size()
79 if (m_size < COPY_THRESHOLD) in clone()
83 for (int i = 0; i < m_size; ++ i) _clone_values [i] = m_values [i]; in clone()
100 final StringBuffer s = new StringBuffer (super.toString() + ", size " + m_size + ": "); in toString()
101 for (int i = 0; i < m_size; ++ i) in toString()
114 if (index > m_size - 1) in set()
[all …]
DIntSet.java79 return m_size; in size()
100 if (m_size == 0) in values()
104 final int [] result = new int [m_size]; in values()
121 if (m_size != 0) in values()
159 if (m_size >= m_sizeThreshold) rehash (); in add()
167 ++ m_size; in add()
185 …out.append ("size = " + m_size + ", bucket table size = " + m_buckets.length + ", load factor = " … in debugDump()
253 private int m_size; // number of keys in the table, not cleared as of last check field in IntSet
DSoftValueMap.java131 return m_size; in size()
143 return m_size == 0; in isEmpty()
278 if (m_size >= m_sizeThreshold) rehash (); in put()
287 ++ m_size; in put()
334 -- m_size; in remove()
367 m_size = 0; in clear()
415 …out.append ("size = " + m_size + ", bucket table size = " + m_buckets.length + ", load factor = " … in debugDump()
529 …if (m_size > newSize) System.out.println ("DEBUG: rehash() cleared " + (m_size - newSize) + " valu… in rehash()
532 m_size = newSize; in rehash()
576 -- m_size; in removeClearedValues()
[all …]
DIntObjectMap.java81 return m_size; in size()
127 if (m_size == 0) in keys()
131 final int [] result = new int [m_size]; in keys()
187 if (m_size >= m_sizeThreshold) rehash (); in put()
195 ++ m_size; in put()
211 …out.append ("size = " + m_size + ", bucket table size = " + m_buckets.length + ", load factor = " … in debugDump()
281 private int m_size; // number of keys in the table, not cleared as of last check field in IntObjectMap
DIntIntMap.java81 return m_size; in size()
148 final int [] result = new int [m_size]; in keys()
198 if (m_size >= m_sizeThreshold) rehash (); in put()
206 ++ m_size; in put()
233 -- m_size; in remove()
253 …out.append ("size = " + m_size + ", bucket table size = " + m_buckets.length + ", load factor = " … in debugDump()
323 private int m_size; // number of keys in the table, not cleared as of last check field in IntIntMap
DObjectIntMap.java83 return m_size; in size()
138 final Object [] result = new Object [m_size]; in keys()
191 if (m_size >= m_sizeThreshold) rehash (); in put()
199 ++ m_size; in put()
229 -- m_size; in remove()
249 …out.append ("size = " + m_size + ", bucket table size = " + m_buckets.length + ", load factor = " … in debugDump()
319 private int m_size; // number of keys in the table, not cleared as of last check field in ObjectIntMap
/external/deqp/modules/gles2/functional/
Des2fTextureCompletenessTests.cpp248 IVec2 m_size; member in deqp::gles2::Functional::Incomplete2DSizeCase
256 , m_size (size) in Incomplete2DSizeCase()
282 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture()
286 …int levelW = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.x() : de::max(1, m_size.x() >> l… in createTexture()
287 …int levelH = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.y() : de::max(1, m_size.y() >> l… in createTexture()
289 levelData.setSize(m_size.x(), m_size.y()); in createTexture()
298 if (!deIsPowerOfTwo32(m_size.x()) && !deIsPowerOfTwo32(m_size.y())) in createTexture()
324 IVec2 m_size; member in deqp::gles2::Functional::Incomplete2DFormatCase
332 , m_size (size) in Incomplete2DFormatCase()
351 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture()
[all …]
/external/deqp/framework/delibs/decpp/
DdeRingBuffer.hpp44 int getSize (void) const { return m_size; } in getSize()
46 int getNumFree (void) const { return m_size - m_numElements; } in getNumFree()
64 int m_size; member in de::RingBuffer
74 , m_size (size) in RingBuffer()
77 m_buffer = new T[m_size]; in RingBuffer()
104 buf[ndx] = m_buffer[(m_back + ndx) % m_size]; in resize()
109 m_size = newSize; in resize()
126 m_front = (m_front + 1) % m_size; in pushFront()
135 m_buffer[(m_front + i) % m_size] = elemBuf[i]; in pushFront()
136 m_front = (m_front + count) % m_size; in pushFront()
[all …]
DdeThreadSafeRingBuffer.hpp54 const size_t m_size; member in de::ThreadSafeRingBuffer
71 : m_size (size+1) in ThreadSafeRingBuffer()
72 , m_elements (m_size) in ThreadSafeRingBuffer()
86 m_front = (m_front + 1) % m_size; in pushFrontInternal()
93 m_back = (m_back + 1) % m_size; in popBackInternal()
/external/pdfium/xfa/fxbarcode/qrcode/
DBC_QRCoderBitVector.cpp29 m_size = 32; in CBC_QRCoderBitVector()
32 m_array = FX_Alloc(uint8_t, m_size); in Init()
40 m_size = 32; in Clear()
41 m_array = FX_Alloc(uint8_t, m_size); in Clear()
118 if ((m_sizeInBits >> 3) == m_size) { in AppendByte()
119 uint8_t* newArray = FX_Alloc(uint8_t, m_size << 1); in AppendByte()
120 FXSYS_memcpy(newArray, m_array, m_size); in AppendByte()
123 m_size = m_size << 1; in AppendByte()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
DSAX2RTFDTM.java141 m_emptyNodeCount = m_size; in SAX2RTFDTM()
231 m_currentDocumentNode=m_size; in startDocument()
285 mark_size.push(m_size); in pushRewindMark()
328 m_size=top ? m_emptyNodeCount : mark_size.pop(); in popRewindMark()
329 m_exptype.setSize(m_size); in popRewindMark()
330 m_firstch.setSize(m_size); in popRewindMark()
331 m_nextsib.setSize(m_size); in popRewindMark()
332 m_prevsib.setSize(m_size); in popRewindMark()
333 m_parent.setSize(m_size); in popRewindMark()
353 return m_size==0; in popRewindMark()
/external/deqp/modules/gles3/functional/
Des3fFboMultisampleTests.cpp61 , m_size (size) in BasicFboMultisampleCase()
107 … glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, m_colorFormat, m_size.x(), m_size.y()); in render()
113 …erbufferStorageMultisample(GL_RENDERBUFFER, samples, m_depthStencilFormat, m_size.x(), m_size.y()); in render()
129 glViewport(0, 0, m_size.x(), m_size.y()); in render()
173 …glBlitFramebuffer(0, 0, m_size.x(), m_size.y(), 0, 0, m_size.x(), m_size.y(), GL_COLOR_BUFFER_BIT … in render()
224 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.loo… in render()
245 IVec2 m_size; member in deqp::gles3::Functional::BasicFboMultisampleCase
Des3fFboStencilbufferTests.cpp55 , m_size (size) in BasicFboStencilCase()
82 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_size.x(), m_size.y()); in render()
87 glRenderbufferStorage(GL_RENDERBUFFER, m_format, m_size.x(), m_size.y()); in render()
99 glViewport(0, 0, m_size.x(), m_size.y()); in render()
132 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), V… in render()
137 IVec2 m_size; member in deqp::gles3::Functional::BasicFboStencilCase
/external/eigen/unsupported/test/
Dcxx11_tensor_scan_cuda.cu26 void test_cuda_cumsum(int m_size, int k_size, int n_size) in test_cuda_cumsum() argument
28 std::cout << "Testing for (" << m_size << "," << k_size << "," << n_size << ")" << std::endl; in test_cuda_cumsum()
29 Tensor<float, 3, DataLayout> t_input(m_size, k_size, n_size); in test_cuda_cumsum()
30 Tensor<float, 3, DataLayout> t_result(m_size, k_size, n_size); in test_cuda_cumsum()
31 Tensor<float, 3, DataLayout> t_result_gpu(m_size, k_size, n_size); in test_cuda_cumsum()
50 gpu_t_input(d_t_input, Eigen::array<int, 3>(m_size, k_size, n_size)); in test_cuda_cumsum()
52 gpu_t_result(d_t_result, Eigen::array<int, 3>(m_size, k_size, n_size)); in test_cuda_cumsum()
Dcxx11_tensor_contract_cuda.cu27 void test_cuda_contraction(int m_size, int k_size, int n_size) in test_cuda_contraction() argument
29 std::cout << "Testing for (" << m_size << "," << k_size << "," << n_size << ")" << std::endl; in test_cuda_contraction()
33 Tensor<float, 2, DataLayout> t_left(m_size, k_size); in test_cuda_contraction()
35 Tensor<float, 2, DataLayout> t_result(m_size, n_size); in test_cuda_contraction()
36 Tensor<float, 2, DataLayout> t_result_gpu(m_size, n_size); in test_cuda_contraction()
61 gpu_t_left(d_t_left, Eigen::array<int, 2>(m_size, k_size)); in test_cuda_contraction()
65 gpu_t_result(d_t_result, Eigen::array<int, 2>(m_size, n_size)); in test_cuda_contraction()
91 void test_scalar(int m_size, int k_size, int n_size) in test_scalar() argument
93 std::cout << "Testing for (" << m_size << "," << k_size << "," << n_size << ")" << std::endl; in test_scalar()
97 Tensor<float, 2, DataLayout> t_left(m_size, k_size); in test_scalar()
[all …]
/external/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c115 void matrix_mult(int m_size) in matrix_mult() argument
117 double A[m_size][m_size]; in matrix_mult()
118 double B[m_size][m_size]; in matrix_mult()
119 double C[m_size][m_size]; in matrix_mult()
123 for (i = 0; i < m_size; i++) { in matrix_mult()
124 int i_m = m_size - i; in matrix_mult()
125 for (j = 0; j < m_size; j++) { in matrix_mult()
127 for (k = 0; k < m_size; k++) in matrix_mult()
134 void matrix_mult_record(int m_size, int index) in matrix_mult_record() argument
/external/pdfium/testing/libfuzzer/
Dxfa_codec_fuzzer.h54 Reader(const uint8_t* data, size_t size) : m_data(data), m_size(size) {} in Reader()
58 if (offset < 0 || static_cast<size_t>(offset) >= m_size) in ReadBlock()
60 if (offset + size > m_size) in ReadBlock()
61 size = m_size - offset; in ReadBlock()
69 FX_FILESIZE GetSize() override { return static_cast<FX_FILESIZE>(m_size); } in GetSize()
73 size_t m_size; variable
/external/eigen/Eigen/src/PardisoSupport/
DPardisoSupport.h138 inline Index cols() const { return m_size; }
139 inline Index rows() const { return m_size; }
186 …ndex>::run(m_pt, 1, 1, m_type, -1, internal::convert_index<StorageIndex>(m_size),0, 0, 0, m_perm.d…
254 Index m_size;
261 m_size = a.rows();
265 m_perm.setZero(m_size);
269 …_selector<StorageIndex>::run(m_pt, 1, 1, m_type, 12, internal::convert_index<StorageIndex>(m_size),
282 m_size = a.rows();
283 eigen_assert(m_size == a.cols());
286 m_perm.setZero(m_size);
[all …]
/external/deqp/modules/gles31/functional/
Des31fTextureSpecificationTests.cpp218 int m_size; member in deqp::gles31::Functional::TextureCubeArraySpecCase
227 , m_size (size) in TextureCubeArraySpecCase()
276 int levelSize = de::max(1, m_size >> levelNdx); in verifyTexture()
339 int levelW = de::max(1, m_size >> ndx); in createTexture()
373 …glTexStorage3D (GL_TEXTURE_CUBE_MAP_ARRAY, m_numLevels, m_internalFormat, m_size, m_size, m_depth); in createTexture()
379 int levelW = de::max(1, m_size >> ndx); in createTexture()
429 int rowLength = m_rowLength > 0 ? m_rowLength : m_size; in createTexture()
431 int imageHeight = m_imageHeight > 0 ? m_imageHeight : m_size; in createTexture()
447 …tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitc… in createTexture()
463 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, 0, m_internalFormat, m_size, m_size, m_depth, 0, transferF… in createTexture()
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorContractionCuda.h24 const Index m_size, const Index n_size, const Index k_size) { in EigenContractionKernelInternal() argument
120 if (!needs_edge_check || lhs_vert < m_size) { \ in EigenContractionKernelInternal()
464 const int max_i_write = numext::mini((int)((m_size - base_m - threadIdx.y + 7) / 8), 8); in EigenContractionKernelInternal()
505 const Index m_size, const Index n_size, const Index k_size) { in EigenContractionKernel() argument
515 if (base_m + 63 < m_size && base_n + 63 < n_size) { in EigenContractionKernel()
516 …r, RhsMapper, OutputMapper, false>(lhs, rhs, output, lhs_shmem, rhs_shmem, m_size, n_size, k_size); in EigenContractionKernel()
518 …er, RhsMapper, OutputMapper, true>(lhs, rhs, output, lhs_shmem, rhs_shmem, m_size, n_size, k_size); in EigenContractionKernel()
529 float2 rhs_shmem2[][8], const Index m_size, in EigenFloatContractionKernelInternal16x16() argument
550 if (row + 3 < m_size) { \ in EigenFloatContractionKernelInternal16x16()
552 } else if (row + 2 < m_size) { \ in EigenFloatContractionKernelInternal16x16()
[all …]

1234