/external/deqp/framework/opengl/ |
D | gluObjectWrapper.cpp | 103 const size_t oldSize = m_objects.size(); in resize() local 109 if (oldSize < newSize) in resize() 112 (m_gl.*m_traits.genFunc)(glw::GLsizei(newSize - oldSize), &m_objects[oldSize]); in resize() 114 else if (oldSize > newSize) in resize() 116 (m_gl.*m_traits.deleteFunc)(glw::GLsizei(oldSize - newSize), &m_objects[newSize]); in resize()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | SortedMapInterfaceTest.java | 91 int oldSize = map.size(); in testTailMapRemoveThrough() local 102 assertEquals(map.size(), oldSize - 1); in testTailMapRemoveThrough() 104 assertEquals(subMap.size(), oldSize - 2); in testTailMapRemoveThrough() 114 int oldSize = map.size(); in testTailMapClearThrough() local 125 assertEquals(map.size(), oldSize - subMapSize); in testTailMapClearThrough()
|
/external/deqp/framework/delibs/debase/ |
D | deMemory.c | 194 const size_t oldSize = getAlignedAllocHeader(ptr)->numBytes; in deAlignedRealloc() 196 const size_t oldSize = malloc_usable_size(ptr); in deAlignedRealloc() 201 if (oldSize < numBytes || oldSize > numBytes*2) in deAlignedRealloc() 208 const size_t copyBytes = numBytes < oldSize ? numBytes : oldSize; in deAlignedRealloc()
|
/external/mesa3d/src/mesa/main/ |
D | imports.c | 193 _mesa_align_realloc(void *oldBuffer, size_t oldSize, size_t newSize, in _mesa_align_realloc() argument 197 (void) oldSize; in _mesa_align_realloc() 200 const size_t copySize = (oldSize < newSize) ? oldSize : newSize; in _mesa_align_realloc() 215 _mesa_realloc(void *oldBuffer, size_t oldSize, size_t newSize) in _mesa_realloc() argument 217 const size_t copySize = (oldSize < newSize) ? oldSize : newSize; in _mesa_realloc()
|
/external/clang/test/Analysis/ |
D | uninit-vals.m | 79 int oldSize = testObj->size; 80 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}} 83 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}} 129 int oldSize = testObj->size; 130 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}} 133 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}} 206 int oldSize = testObj->size; 207 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}} 210 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}}
|
/external/deqp/executor/ |
D | xeBatchResult.cpp | 43 const size_t oldSize = m_data.size(); in append() local 44 m_data.resize(oldSize+numBytes); in append() 45 deMemcpy(&m_data[oldSize], bytes, numBytes); in append()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | AbstractMapBasedMultimap.java | 522 int oldSize = size(); // calls refreshIfEmpty in addAll() local 526 totalSize += (newSize - oldSize); in addAll() 527 if (oldSize == 0) { in addAll() 545 int oldSize = size(); // calls refreshIfEmpty in clear() local 546 if (oldSize == 0) { in clear() 550 totalSize -= oldSize; in clear() 568 int oldSize = size(); // calls refreshIfEmpty in removeAll() local 572 totalSize += (newSize - oldSize); in removeAll() 580 int oldSize = size(); // calls refreshIfEmpty in retainAll() local 584 totalSize += (newSize - oldSize); in retainAll() [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
D | OpMapVector.java | 85 int oldSize = m_mapSize; in setElementAt() local 91 System.arraycopy(m_map, 0, newMap, 0, oldSize); in setElementAt()
|
/external/deqp/modules/egl/ |
D | teglResizeTests.cpp | 93 IVec2 oldSize; member 105 , m_oldSize (params.oldSize) in ResizeTest() 238 void initSurface (const glw::Functions& gl, IVec2 oldSize) in initSurface() argument 244 drawRectangle(gl, IVec2(0, 0), oldSize, frameColor); in initSurface() 245 drawRectangle(gl, IVec2(2, 2), oldSize - IVec2(4, 4), fillColor); in initSurface() 248 drawRectangle(gl, oldSize - IVec2(16, 16), IVec2(8, 4), markColor); in initSurface() 249 drawRectangle(gl, IVec2(0, oldSize.y() - 16), IVec2(8, 4), markColor); in initSurface() 250 drawRectangle(gl, IVec2(oldSize.x() - 16, 0), IVec2(8, 4), markColor); in initSurface()
|
/external/skia/src/gpu/ |
D | GrGpuResource.cpp | 103 size_t oldSize = fGpuMemorySize; in didChangeGpuMemorySize() local 104 SkASSERT(kInvalidGpuMemorySize != oldSize); in didChangeGpuMemorySize() 106 get_resource_cache(fGpu)->resourceAccess().didChangeGpuMemorySize(this, oldSize); in didChangeGpuMemorySize()
|
D | GrResourceCache.h | 249 void didChangeGpuMemorySize(const GrGpuResource*, size_t oldSize); 398 void didChangeGpuMemorySize(const GrGpuResource* resource, size_t oldSize) { in didChangeGpuMemorySize() argument 399 fCache->didChangeGpuMemorySize(resource, oldSize); in didChangeGpuMemorySize()
|
/external/skia/include/core/ |
D | SkPathRef.h | 411 size_t oldSize = this->currSize(); in makeSpace() local 415 if (static_cast<size_t>(growSize) < oldSize) { in makeSpace() 416 growSize = oldSize; in makeSpace() 421 size_t newSize = oldSize + growSize; in makeSpace() 429 reinterpret_cast<intptr_t>(fPoints) + oldSize - oldVerbSize); in makeSpace()
|
/external/guava/guava/src/com/google/common/collect/ |
D | AbstractMapBasedMultimap.java | 525 int oldSize = size(); // calls refreshIfEmpty in addAll() local 529 totalSize += (newSize - oldSize); in addAll() 530 if (oldSize == 0) { in addAll() 548 int oldSize = size(); // calls refreshIfEmpty in clear() local 549 if (oldSize == 0) { in clear() 553 totalSize -= oldSize; in clear() 571 int oldSize = size(); // calls refreshIfEmpty in removeAll() local 575 totalSize += (newSize - oldSize); in removeAll() 583 int oldSize = size(); // calls refreshIfEmpty in retainAll() local 587 totalSize += (newSize - oldSize); in retainAll() [all …]
|
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/ |
D | BsPatch.java | 101 final long oldSize = oldData.length(); in applyPatchInternal() local 102 if (oldSize > Integer.MAX_VALUE) { in applyPatchInternal() 154 if (expectedFinalOldDataOffset > oldSize) { in applyPatchInternal()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CalendarCache.java | 71 int oldSize = arraySize; in rehash() local 83 for (int i = 0; i < oldSize; i++) { in rehash()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CalendarCache.java | 73 int oldSize = arraySize; in rehash() local 85 for (int i = 0; i < oldSize; i++) { in rehash()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/broadphase/ |
D | DynamicTreeFlatNodes.java | 68 private void expandBuffers(int oldSize, int newSize) { in expandBuffers() argument 69 m_aabb = BufferUtils.reallocateBuffer(AABB.class, m_aabb, oldSize, newSize); in expandBuffers() 70 m_userData = BufferUtils.reallocateBuffer(Object.class, m_userData, oldSize, newSize); in expandBuffers() 71 m_parent = BufferUtils.reallocateBuffer(m_parent, oldSize, newSize); in expandBuffers() 72 m_child1 = BufferUtils.reallocateBuffer(m_child1, oldSize, newSize); in expandBuffers() 73 m_child2 = BufferUtils.reallocateBuffer(m_child2, oldSize, newSize); in expandBuffers() 74 m_height = BufferUtils.reallocateBuffer(m_height, oldSize, newSize); in expandBuffers() 77 for (int i = oldSize; i < newSize; i++) { in expandBuffers() 84 m_freeList = oldSize; in expandBuffers()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/ |
D | Widget.java | 50 SizeMetrics oldSize = this.sizeMetrics; in Widget() local 52 onMetricsChanged(oldSize, sizeMetrics); in Widget() 99 protected void onMetricsChanged(SizeMetrics oldSize, SizeMetrics newSize) { in onMetricsChanged() argument
|
/external/skia/gm/ |
D | rrect.cpp | 75 static SkScalar prop(SkScalar radius, SkScalar newSize, SkScalar oldSize) { in prop() argument 76 return newSize * radius / oldSize; in prop()
|
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/ |
D | FileByFileV1DeltaApplierTest.java | 221 int oldSize = (int) oldBlob.length(); in applyDelta() local 222 byte[] oldData = new byte[oldSize]; in applyDelta()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGPrinter.cpp | 239 unsigned oldSize = visited.size(); in setSubgraphColorHelper() local 241 if (visited.size() != oldSize) { in setSubgraphColorHelper()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultimapAsMapGetTester.java | 110 int oldSize = getNumElements(); in testPropagatesRemoveThenAddToMultimap() local 133 assertEquals(oldSize + 1, multimap().size()); in testPropagatesRemoveThenAddToMultimap()
|
D | MultimapGetTester.java | 115 int oldSize = getNumElements(); in testPropagatesRemoveLastThenAddToMultimap() local 138 assertEquals(oldSize + 1, multimap().size()); in testPropagatesRemoveLastThenAddToMultimap()
|
/external/opencv/cv/src/ |
D | cvsurf.cpp | 82 icvResizeHaarPattern( const int src[][5], CvSurfHF* dst, int n, int oldSize, int newSize, int width… in icvResizeHaarPattern() argument 86 int dx1 = src[k][0]*newSize/oldSize; in icvResizeHaarPattern() 87 int dy1 = src[k][1]*newSize/oldSize; in icvResizeHaarPattern() 88 int dx2 = src[k][2]*newSize/oldSize; in icvResizeHaarPattern() 89 int dy2 = src[k][3]*newSize/oldSize; in icvResizeHaarPattern()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_exec_api.c | 246 const GLuint oldSize = exec->vtx.attrsz[attr]; in vbo_exec_wrap_upgrade_vertex() local 262 if (unlikely(oldSize)) { in vbo_exec_wrap_upgrade_vertex() 274 !oldSize && lastcount > 8 && exec->vtx.vertex_size) { in vbo_exec_wrap_upgrade_vertex() 282 exec->vtx.vertex_size += newSize - oldSize; in vbo_exec_wrap_upgrade_vertex() 288 if (unlikely(oldSize)) { in vbo_exec_wrap_upgrade_vertex() 334 if (oldSize) { in vbo_exec_wrap_upgrade_vertex() 336 COPY_CLEAN_4V_TYPE_AS_FLOAT(tmp, oldSize, in vbo_exec_wrap_upgrade_vertex()
|