Searched defs:oldSize (Results 1 - 25 of 54) sorted by relevance

123

/external/deqp/executor/
H A DxeBatchResult.cpp43 const size_t oldSize = m_data.size(); local
44 m_data.resize(oldSize+numBytes);
45 deMemcpy(&m_data[oldSize], bytes, numBytes);
/external/deqp/framework/opengl/
H A DgluObjectWrapper.cpp103 const size_t oldSize = m_objects.size(); local
109 if (oldSize < newSize)
112 (m_gl.*m_traits.genFunc)(glw::GLsizei(newSize - oldSize), &m_objects[oldSize]);
114 else if (oldSize > newSize)
116 (m_gl.*m_traits.deleteFunc)(glw::GLsizei(oldSize - newSize), &m_objects[newSize]);
/external/skia/gm/
H A Drrect.cpp75 static SkScalar prop(SkScalar radius, SkScalar newSize, SkScalar oldSize) { argument
76 return newSize * radius / oldSize;
/external/skia/src/gpu/
H A DGrGpuResource.cpp103 size_t oldSize = fGpuMemorySize; local
104 SkASSERT(kInvalidGpuMemorySize != oldSize);
106 get_resource_cache(fGpu)->resourceAccess().didChangeGpuMemorySize(this, oldSize);
H A DGrResourceCache.cpp406 void GrResourceCache::didChangeGpuMemorySize(const GrGpuResource* resource, size_t oldSize) { argument
411 ptrdiff_t delta = resource->gpuMemorySize() - oldSize;
H A DGrResourceCache.h249 void didChangeGpuMemorySize(const GrGpuResource*, size_t oldSize);
398 void didChangeGpuMemorySize(const GrGpuResource* resource, size_t oldSize) { argument
399 fCache->didChangeGpuMemorySize(resource, oldSize);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGPrinter.cpp239 unsigned oldSize = visited.size(); local
241 if (visited.size() != oldSize) {
/external/mesa3d/src/mesa/main/
H A Dimports.c193 _mesa_align_realloc(void *oldBuffer, size_t oldSize, size_t newSize, argument
197 (void) oldSize;
200 const size_t copySize = (oldSize < newSize) ? oldSize : newSize;
215 _mesa_realloc(void *oldBuffer, size_t oldSize, size_t newSize) argument
217 const size_t copySize = (oldSize < newSize) ? oldSize : newSize;
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
H A DWidget.java50 SizeMetrics oldSize = this.sizeMetrics;
52 onMetricsChanged(oldSize, sizeMetrics);
96 * @param oldSize
99 protected void onMetricsChanged(SizeMetrics oldSize, SizeMetrics newSize) { argument
/external/deqp/modules/egl/
H A DteglResizeTests.cpp93 IVec2 oldSize; member in struct:deqp::egl::ResizeParams
105 , m_oldSize (params.oldSize)
238 void initSurface (const glw::Functions& gl, IVec2 oldSize) argument
244 drawRectangle(gl, IVec2(0, 0), oldSize, frameColor);
245 drawRectangle(gl, IVec2(2, 2), oldSize - IVec2(4, 4), fillColor);
248 drawRectangle(gl, oldSize - IVec2(16, 16), IVec2(8, 4), markColor);
249 drawRectangle(gl, IVec2(0, oldSize.y() - 16), IVec2(8, 4), markColor);
250 drawRectangle(gl, IVec2(oldSize.x() - 16, 0), IVec2(8, 4), markColor);
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_util.h333 const unsigned int oldSize = size * sizeof(Item); local
340 data = (Item *)REALLOC(data, oldSize, size * sizeof(Item));
/external/skia/include/core/
H A DSkPathRef.h411 size_t oldSize = this->currSize(); local
415 if (static_cast<size_t>(growSize) < oldSize) {
416 growSize = oldSize;
421 size_t newSize = oldSize + growSize;
429 reinterpret_cast<intptr_t>(fPoints) + oldSize - oldVerbSize);
/external/jsoncpp/src/lib_json/
H A Djson_value.cpp824 ArrayIndex oldSize = size(); local
827 else if (newSize > oldSize)
830 for (ArrayIndex index = newSize; index < oldSize; ++index) {
/external/lz4/programs/
H A Dfuzzer.c982 size_t oldSize = 0; local
998 if (testStart == oldStart + oldSize) // Corner case not covered by this test (LZ4_decompress_safe_usingDict() limitation)
1007 result = LZ4_decompress_safe_usingDict(testCompressed, testVerify, result, (int)testSize, testInput + oldStart, (int)oldSize);
1021 oldSize = testSize;
/external/mesa3d/src/mesa/vbo/
H A Dvbo_exec_api.c246 const GLuint oldSize = exec->vtx.attrsz[attr]; local
262 if (unlikely(oldSize)) {
274 !oldSize && lastcount > 8 && exec->vtx.vertex_size) {
282 exec->vtx.vertex_size += newSize - oldSize;
288 if (unlikely(oldSize)) {
334 if (oldSize) {
336 COPY_CLEAN_4V_TYPE_AS_FLOAT(tmp, oldSize,
/external/opencv/cv/src/
H A Dcvsurf.cpp82 icvResizeHaarPattern( const int src[][5], CvSurfHF* dst, int n, int oldSize, int newSize, int widthStep ) argument
86 int dx1 = src[k][0]*newSize/oldSize;
87 int dy1 = src[k][1]*newSize/oldSize;
88 int dx2 = src[k][2]*newSize/oldSize;
89 int dy2 = src[k][3]*newSize/oldSize;
/external/libunwind_llvm/src/
H A DUnwindCursor.hpp119 size_t oldSize = (size_t)(_bufferEnd - _buffer); local
120 size_t newSize = oldSize * 4;
123 memcpy(newBuffer, _buffer, oldSize * sizeof(entry));
127 _bufferUsed = &newBuffer[oldSize];
/external/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp821 const size_t oldSize = States.size(); local
866 assert(oldSize == States.size() &&
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.common_3.6.0.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.equinox.common_3.7.0.v20150402-1709.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...
/external/guava/guava/lib/
H A Djdiff.jarMETA-INF/ META-INF/MANIFEST.MF jdiff/ jdiff/API.class API.java package jdiff ...
/external/guice/lib/build/jdiff/
H A Djdiff.jarMETA-INF/ META-INF/MANIFEST.MF jdiff/ jdiff/API.class API.java package jdiff ...
/external/guice/extensions/struts2/lib/
H A Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/jasper/ org/apache/jasper/resources/ ...
/external/guice/lib/build/
H A Dguava-testlib-16.0.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/caliper/lib/
H A Dgson-2.2.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/stream/ ...

Completed in 505 milliseconds

123