Home
last modified time | relevance | path

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

1234

/external/pdfium/core/src/fxge/agg/agg23/
Dagg_array.h29 pod_array() : m_size(0), m_capacity(0), m_array(0) {} in pod_array()
42 FXSYS_memset(m_array, 0, sizeof(T) * m_size); in zero()
46 m_array[m_size++] = v; in add()
50 m_size += size; in inc_size()
54 return m_size; in size()
58 return m_size * sizeof(T); in byte_size()
90 m_size = 0; in remove_all()
94 if(num < m_size) { in cut_at()
95 m_size = num; in cut_at()
99 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()
54 internal::smart_copy(other.m_values, other.m_values + m_size, m_values);
55 internal::smart_copy(other.m_indices, other.m_indices + m_size, m_indices);
63 std::swap(m_size, other.m_size); in swap()
75 size_t newAllocatedSize = m_size + size; in reserve()
82 if (m_allocatedSize>m_size) in squeeze()
83 reallocate(m_size); in squeeze()
90 m_size = size;
[all …]
DSparseVector.h82 EIGEN_STRONG_INLINE Index rows() const { return IsColVector ? m_size : 1; }
83 EIGEN_STRONG_INLINE Index cols() const { return IsColVector ? 1 : m_size; }
84 EIGEN_STRONG_INLINE Index innerSize() const { return m_size; }
100 … eigen_assert(IsColVector ? (col==0 && row>=0 && row<m_size) : (row==0 && col>=0 && col<m_size));
105 eigen_assert(i>=0 && i<m_size);
111 … eigen_assert(IsColVector ? (col==0 && row>=0 && row<m_size) : (row==0 && col>=0 && col<m_size));
123 eigen_assert(i>=0 && i<m_size);
157 … eigen_assert(IsColVector ? (col==0 && row>=0 && row<m_size) : (row==0 && col>=0 && col<m_size));
166 eigen_assert(i>=0 && i<m_size);
204 m_size = newSize;
[all …]
/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/lldb/examples/darwin/heap_find/heap/
Dheap_find.cpp250 m_size(0) in MatchResults()
257 m_size = 0; in clear()
264 return m_size == 0; in empty()
273 for (uint32_t i=0; i<m_size; ++i) in push_back()
279 if (m_size < k_max_entries - 1) in push_back()
281 m_entries[m_size] = m; in push_back()
282 m_size++; in push_back()
295 m_entries[m_size] = terminator_entry; in data()
301 uint32_t m_size; member in MatchResults
309 m_size(0) in MallocStackLoggingEntries()
[all …]
/external/deqp/modules/gles2/functional/
Des2fTextureCompletenessTests.cpp249 IVec2 m_size; member in deqp::gles2::Functional::Incomplete2DSizeCase
257 , m_size (size) in Incomplete2DSizeCase()
283 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture()
287 …int levelW = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.x() : de::max(1, m_size.x() >> l… in createTexture()
288 …int levelH = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.y() : de::max(1, m_size.y() >> l… in createTexture()
290 levelData.setSize(m_size.x(), m_size.y()); in createTexture()
299 if (!deIsPowerOfTwo32(m_size.x()) && !deIsPowerOfTwo32(m_size.y())) in createTexture()
325 IVec2 m_size; member in deqp::gles2::Functional::Incomplete2DFormatCase
333 , m_size (size) in Incomplete2DFormatCase()
352 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.hpp55 int m_size; member in de::ThreadSafeRingBuffer
70 , m_size (size+1) in ThreadSafeRingBuffer()
75 m_buffer = new T[m_size]; in ThreadSafeRingBuffer()
82 m_front = (m_front + 1) % m_size; in pushFrontInternal()
89 m_back = (m_back + 1) % m_size; in popBackInternal()
/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
Des3fBufferWriteTests.cpp184 , m_size (size) in BasicBufferDataCase()
196 refBuf.setSize(m_size); in iterate()
197 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed); in iterate()
201 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate()
205 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_target); in iterate()
217 int m_size; member in deqp::gles3::Functional::BasicBufferDataCase
277 , m_size (size) in BasicBufferSubDataCase()
292 refBuf.setSize(m_size); in iterate()
298 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed ^ 0x80354f); in iterate()
299 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate()
[all …]
/external/skia/include/utils/
DSkLayer.h34 const SkSize& getSize() const { return m_size; } in getSize()
40 SkScalar getWidth() const { return m_size.width(); } in getWidth()
41 SkScalar getHeight() const { return m_size.height(); } in getHeight()
45 void setSize(SkScalar w, SkScalar h) { m_size.set(w, h); } in setSize()
118 SkSize m_size; variable
/external/eigen/Eigen/src/PardisoSupport/
DPardisoSupport.h129 inline Index cols() const { return m_size; }
130 inline Index rows() const { return m_size; }
214 …internal::pardiso_run_selector<Index>::run(m_pt, 1, 1, m_type, -1, m_size, 0, 0, 0, m_perm.data(),…
278 Index m_size;
287 m_size = a.rows();
292 m_perm.setZero(m_size);
296 error = internal::pardiso_run_selector<Index>::run(m_pt, 1, 1, m_type, 12, m_size,
310 m_size = a.rows();
311 eigen_assert(m_size == a.cols());
315 m_perm.setZero(m_size);
[all …]
/external/lldb/tools/debugserver/source/MacOSX/
DMachVMRegion.h29 mach_vm_address_t EndAddress() const { return m_start + m_size; } in EndAddress()
30 mach_vm_size_t GetByteSize () const { return m_size; } in GetByteSize()
34 return m_size - (addr - m_start); in BytesRemaining()
68 mach_vm_size_t m_size; variable
DMachVMRegion.cpp24 m_size(0), in MachVMRegion()
46 m_size = 0; in Clear()
137 …m_err = ::mach_vm_region_recurse (m_task, &m_start, &m_size, &m_depth, (vm_region_recurse_info_t)&… in GetRegionForAddress()
143 … infoCnt => %d) addr = 0x%8.8llx ", m_task, (uint64_t)m_start, (uint64_t)m_size, m_depth, &m_data,… in GetRegionForAddress()
182 if ((addr < m_start) || (addr >= (m_start + m_size))) in GetRegionForAddress()
191 if (m_addr == INVALID_NUB_ADDRESS || m_start == INVALID_NUB_ADDRESS || m_size == 0) in GetDNBPermissions()
/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/skia/src/utils/
DSkLayer.cpp23 m_size.set(0, 0); in SkLayer()
40 m_size = src.m_size; in SkLayer()
144 SkScalar tx = SkScalarMul(m_anchorPoint.fX, m_size.width()); in getLocalTransform()
145 SkScalar ty = SkScalarMul(m_anchorPoint.fY, m_size.height()); in getLocalTransform()
184 this, opacity * this->getOpacity(), m_size.width(), m_size.height(), in draw()
/external/lldb/source/Core/
DDataBufferMemoryMap.cpp35 m_size(0) in DataBufferMemoryMap()
74 return m_size; in GetByteSize()
93 m_size = 0; in Clear()
230 m_size = length; in MemoryMapFromFileDescriptor()
245 m_size = length; in MemoryMapFromFileDescriptor()
/external/opencv/cv/src/
D_cvlist.h76 long m_size; /* The number of elements */ member
117 l->m_size++;\
133 if(l->m_buf_size < l->m_size && l->m_head_free.m_pos == NULL)\
142 element = (element_type*)((char*)l->m_buffer + sizeof(void*)) + l->m_size - 1;\
166 pl->m_size = 0;\
226 l->m_size = 0;\
274 l->m_size--;\
285 l->m_size--;\
343 l->m_size--;\
357 return list->m_size;\

1234