Home
last modified time | relevance | path

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

12345678910

/external/webkit/Source/JavaScriptCore/assembler/
DAssemblerBuffer.h46 , m_size(0) in AssemblerBuffer()
59 if (m_size > m_capacity - space) in ensureSpace()
65 return !(m_size & (alignment - 1)); in isAligned()
70 ASSERT(!(m_size > m_capacity - 4)); in putByteUnchecked()
71 m_buffer[m_size] = value; in putByteUnchecked()
72 m_size++; in putByteUnchecked()
77 if (m_size > m_capacity - 4) in putByte()
84 ASSERT(!(m_size > m_capacity - 4)); in putShortUnchecked()
85 *reinterpret_cast_ptr<short*>(&m_buffer[m_size]) = value; in putShortUnchecked()
86 m_size += 2; in putShortUnchecked()
[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 memcpy(m_values, other.m_values, m_size * sizeof(Scalar));
55 memcpy(m_indices, other.m_indices, m_size * sizeof(Index));
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 …]
/external/webkit/Source/WebKit/chromium/public/
DWebVector.h78 initializeFrom(other.m_ptr, other.m_size); in WebVector()
115 size_t size() const { return m_size; } in size()
116 bool isEmpty() const { return !m_size; } in isEmpty()
120 WEBKIT_ASSERT(i < m_size);
125 WEBKIT_ASSERT(i < m_size);
131 for (size_t i = 0; i < m_size; i++) { in contains()
144 std::swap(m_size, other.m_size); in swap()
150 m_size = size; in initialize()
151 if (!m_size) in initialize()
154 m_ptr = static_cast<T*>(::operator new(sizeof(T) * m_size)); in initialize()
[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 …]
/external/webkit/Source/JavaScriptCore/runtime/
DArgList.h55 m_size = 0; in MarkedArgumentBuffer()
61 , m_size(size) in MarkedArgumentBuffer()
76 m_size = size; in initialize()
88 size_t size() const { return m_size; } in size()
89 bool isEmpty() const { return !m_size; } in isEmpty()
93 if (i < m_size) in at()
102 m_size = 0; in clear()
113 if (m_isUsingInlineBuffer && m_size < inlineCapacity) { in append()
115 ++m_size; in append()
120 ++m_size; in append()
[all …]
/external/webkit/Source/WebCore/platform/
DSharedBuffer.cpp61 : m_size(0) in SharedBuffer()
66 : m_size(0) in SharedBuffer()
72 : m_size(0) in SharedBuffer()
86 buffer->m_size = buffer->m_buffer.size(); in adoptVector()
106 return m_size; in size()
126 unsigned positionInSegment = offsetInSegment(m_size - m_buffer.size()); in append()
127 m_size += length; in append()
129 if (m_size <= segmentSize) { in append()
166 m_size = 0; in clear()
183 clone->m_size = m_size; in copy()
[all …]
/external/webkit/Source/WebCore/platform/graphics/gpu/
DDrawingBuffer.cpp117 …ext3D::RENDERBUFFER, sampleCount, Extensions3D::DEPTH24_STENCIL8, m_size.width(), m_size.height()); in resizeDepthStencil()
119 …(GraphicsContext3D::RENDERBUFFER, Extensions3D::DEPTH24_STENCIL8, m_size.width(), m_size.height()); in resizeDepthStencil()
128 …:RENDERBUFFER, sampleCount, GraphicsContext3D::DEPTH_COMPONENT16, m_size.width(), m_size.height()); in resizeDepthStencil()
130 …icsContext3D::RENDERBUFFER, GraphicsContext3D::DEPTH_COMPONENT16, m_size.width(), m_size.height()); in resizeDepthStencil()
138 …3D::RENDERBUFFER, sampleCount, GraphicsContext3D::STENCIL_INDEX8, m_size.width(), m_size.height()); in resizeDepthStencil()
140 …aphicsContext3D::RENDERBUFFER, GraphicsContext3D::STENCIL_INDEX8, m_size.width(), m_size.height()); in resizeDepthStencil()
210 if (newSize != m_size) { in reset()
211 m_size = newSize; in reset()
235 …Context3D::RENDERBUFFER, sampleCount, internalRenderbufferFormat, m_size.width(), m_size.height()); in reset()
250 …ourceSafe(GraphicsContext3D::TEXTURE_2D, 0, internalColorFormat, m_size.width(), m_size.height(), … in reset()
[all …]
/external/webkit/Source/WebCore/platform/graphics/
DIntRect.h80 : m_location(location), m_size(size) { } in IntRect()
82 : m_location(IntPoint(x, y)), m_size(IntSize(width, height)) { } in IntRect()
87 IntSize size() const { return m_size; } in size()
90 void setSize(const IntSize& size) { m_size = size; } in setSize()
96 int width() const { return m_size.width(); } in width()
97 int height() const { return m_size.height(); } in height()
101 void setWidth(int width) { m_size.setWidth(width); } in setWidth()
102 void setHeight(int height) { m_size.setHeight(height); } in setHeight()
104 bool isEmpty() const { return m_size.isEmpty(); } in isEmpty()
137 …IntPoint maxXMinYCorner() const { return IntPoint(m_location.x() + m_size.width(), m_location.y())… in maxXMinYCorner()
[all …]
DFloatRect.h78 : m_location(location), m_size(size) { } in FloatRect()
80 : m_location(FloatPoint(x, y)), m_size(FloatSize(width, height)) { } in FloatRect()
86 FloatSize size() const { return m_size; } in size()
89 void setSize(const FloatSize& size) { m_size = size; } in setSize()
95 float width() const { return m_size.width(); } in width()
96 float height() const { return m_size.height(); } in height()
100 void setWidth(float width) { m_size.setWidth(width); } in setWidth()
101 void setHeight(float height) { m_size.setHeight(height); } in setHeight()
103 bool isEmpty() const { return m_size.isEmpty(); } in isEmpty()
125 m_size.setWidth(m_size.width() + dx + dx); in inflateX()
[all …]
DIntRect.cpp39 , m_size(IntSize(static_cast<int>(r.width()), static_cast<int>(r.height()))) in IntRect()
74 m_size.setWidth(r - l); in intersect()
75 m_size.setHeight(b - t); in intersect()
95 m_size.setWidth(r - l); in unite()
96 m_size.setHeight(b - t); in unite()
116 m_size.setWidth(right - left); in uniteIfNonZero()
117 m_size.setHeight(bottom - top); in uniteIfNonZero()
124 m_size.setWidth((int)(width() * s)); in scale()
125 m_size.setHeight((int)(height() * s)); in scale()
/external/webkit/Source/JavaScriptCore/wtf/
DSegmentedVector.h108 : m_size(0) in SegmentedVector()
118 size_t size() const { return m_size; } in size()
140 ++m_size; in append()
142 if (m_size <= SegmentSize) { in append()
147 if (!segmentExistsFor(m_size - 1)) in append()
149 segmentFor(m_size - 1)->uncheckedAppend(value); in append()
160 if (m_size <= SegmentSize) in removeLast()
163 segmentFor(m_size - 1)->removeLast(); in removeLast()
164 --m_size; in removeLast()
169 ASSERT(size > m_size); in grow()
[all …]
DByteArray.h37 unsigned length() const { return m_size; } in length()
41 if (index >= m_size) in set()
52 if (index >= m_size) in set()
59 if (index >= m_size) in get()
67 ASSERT(index < m_size); in get()
87 : m_size(size) in ByteArray()
90 size_t m_size; variable
DPageBlock.h43 size_t size() const { return m_size; } in size()
50 … && (static_cast<char*>(containedBase) + containedSize) <= (static_cast<char*>(m_base) + m_size); in contains()
55 size_t m_size; variable
60 , m_size(0) in PageBlock()
66 , m_size(other.m_size) in PageBlock()
72 , m_size(size) in PageBlock()
/external/webkit/Source/WebKit2/Platform/unix/
DSharedMemoryUnix.cpp54 , m_size(0) in Handle()
78 ASSERT_ARG(handle, !handle.m_size); in decode()
95 return CoreIPC::Attachment(temp, m_size); in releaseToAttachment()
100 ASSERT(!m_size); in adoptFromAttachment()
104 m_size = size; in adoptFromAttachment()
151 instance->m_size = size; in create()
172 …void* data = mmap(0, handle.m_size, accessModeMMap(protection), MAP_SHARED, handle.m_fileDescripto… in create()
179 instance->m_size = handle.m_size; in create()
186 munmap(m_data, m_size); in ~SharedMemory()
205 ASSERT_ARG(handle, !handle.m_size); in createHandle()
[all …]
/external/webkit/Source/WebKit2/Platform/mac/
DSharedMemoryMac.cpp42 , m_size(0) in Handle()
59 encoder->encodeUInt64(m_size); in encode()
67 ASSERT(!handle.m_size); in decode()
77 handle.m_size = size; in decode()
114 sharedMemory->m_size = size; in create()
142 …kern_return_t kr = mach_vm_map(mach_task_self(), &mappedAddress, handle.m_size, 0, VM_FLAGS_ANYWHE… in create()
147 sharedMemory->m_size = handle.m_size; in create()
157 … kern_return_t kr = mach_vm_deallocate(mach_task_self(), toVMAddress(m_data), round_page(m_size)); in ~SharedMemory()
170 ASSERT(!handle.m_size); in createHandle()
173 memory_object_size_t size = round_page(m_size); in createHandle()
[all …]
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DCanvasTexture.cpp85 if (m_size == size) in setSize()
87 m_size = size; in setSize()
91 m_size.width(), m_size.height()); in setSize()
116 m_size.width(), m_size.height()); in nativeWindow()
134 if (imageBuffer->size() != m_size) in uploadImageBuffer()
201 : m_size() in CanvasTexture()
217 if (m_size.isEmpty()) in useSurfaceTexture()
219 return (m_size.width() < s_maxTextureSize) && (m_size.height() < s_maxTextureSize); in useSurfaceTexture()
/external/webkit/Source/WebCore/platform/graphics/openvg/
DTiledImageOpenVG.cpp31 , m_size(size) in TiledImageOpenVG()
33 , m_numColumns((m_size.width() - 1) / m_maxTileSize.width() + 1) in TiledImageOpenVG()
34 … , m_tiles(((m_size.height() - 1) / m_maxTileSize.height() + 1) * m_numColumns, VG_INVALID_HANDLE) in TiledImageOpenVG()
40 , m_size(other.m_size) in TiledImageOpenVG()
53 m_size = other.m_size; in operator =()
129 … ((m_maxTileSize.width() < m_size.width() - x) ? m_maxTileSize.width() : (m_size.width() - x)), in tileRect()
130 …((m_maxTileSize.height() < m_size.height() - y) ? m_maxTileSize.height() : (m_size.height() - y))); in tileRect()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontPlatformDataChromiumWin.cpp46 , m_size(-1) in FontPlatformData()
54 , m_size(0) in FontPlatformData()
62 , m_size(size) in FontPlatformData()
71 , m_size(size) in FontPlatformData()
79 , m_size(data.m_size) in FontPlatformData()
89 m_size = data.m_size; in operator =()
/external/webkit/Source/WebCore/platform/graphics/freetype/
DFontPlatformDataFreeType.cpp118 , m_size(fontDescription.computedPixelSize()) in FontPlatformData()
141 , m_size(size) in FontPlatformData()
152 , m_size(size) in FontPlatformData()
172 m_size = other.m_size; in operator =()
204 m_size = size; in FontPlatformData()
231 && m_scaledFont == other.m_scaledFont && m_size == other.m_size in operator ==()
251 cairo_matrix_init_scale(&fontMatrix, m_size, m_size); in initializeWithFontFace()
267 cairo_matrix_scale(&fontMatrix, m_size, m_size); in initializeWithFontFace()
/external/webkit/Source/WebKit2/Shared/
DShareableBitmap.cpp45 encoder->encode(m_size); in encode()
53 if (!decoder->decode(handle.m_size)) in decode()
99 return create(handle.m_size, handle.m_flags, sharedMemory.release()); in create()
108 handle.m_size = m_size; in createHandle()
114 : m_size(size) in ShareableBitmap()
121 : m_size(size) in ShareableBitmap()
139 if (size == m_size) in resize()
151 m_size = size; in resize()
/external/webkit/Source/WebKit2/Platform/win/
DSharedMemoryWin.cpp37 , m_size(0) in Handle()
56 encoder->encodeUInt64(m_size); in encode()
90 ASSERT_ARG(handle, !handle.m_size); in decode()
109 handle.m_size = size; in decode()
126 memory->m_size = size; in create()
148 RefPtr<SharedMemory> memory = adopt(handle.m_handle, handle.m_size, protection); in create()
171 memory->m_size = size; in adopt()
190 ASSERT_ARG(handle, !handle.m_size); in createHandle()
199 handle.m_size = m_size; in createHandle()
/external/webkit/Source/WebCore/platform/image-decoders/qt/
DImageFrameQt.cpp40 , m_size() in ImageFrame()
87 m_size = other.m_size; in copyBitmapData()
98 m_size = IntSize(newWidth, newHeight); in setSize()
143 m_size = pixmap.size(); in setPixmap()
149 return m_size.width(); in width()
154 return m_size.height(); in height()
/external/webkit/Source/WebKit2/Shared/cg/
DShareableBitmapCG.cpp55 m_size.width(), m_size.height(), 8, m_size.width() * 4, colorSpace.get(), in createGraphicsContext()
59 CGContextTranslateCTM(bitmapContext.get(), 0, m_size.height()); in createGraphicsContext()
83 …RetainPtr<CGImageRef> image(AdoptCF, CGImageCreate(m_size.width(), m_size.height(), 8, 32, m_size.… in makeCGImage()
/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/webkit/Source/WebCore/platform/graphics/android/
DImageBufferAndroid.cpp66 , m_size(size) in ImageBuffer()
145 … if (rect.x() < 0 || rect.y() < 0 || rect.maxX() > m_size.width() || rect.maxY() > m_size.height()) in getUnmultipliedImageData()
155 if (endx > m_size.width()) in getUnmultipliedImageData()
156 endx = m_size.width(); in getUnmultipliedImageData()
166 if (endy > m_size.height()) in getUnmultipliedImageData()
167 endy = m_size.height(); in getUnmultipliedImageData()
210 ASSERT(destx < m_size.width()); in putUnmultipliedImageData()
215 ASSERT(endx <= m_size.width()); in putUnmultipliedImageData()
222 ASSERT(desty < m_size.height()); in putUnmultipliedImageData()
227 ASSERT(endy <= m_size.height()); in putUnmultipliedImageData()
[all …]

12345678910