/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deMemory.c | 198 const size_t oldSize = getAlignedAllocHeader(ptr)->numBytes; in deAlignedRealloc() 200 const size_t oldSize = malloc_usable_size(ptr); in deAlignedRealloc() 205 if (oldSize < numBytes || oldSize > numBytes*2) in deAlignedRealloc() 212 const size_t copyBytes = numBytes < oldSize ? numBytes : oldSize; in deAlignedRealloc()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglResizeTests.cpp | 93 IVec2 oldSize; member 105 , m_oldSize (params.oldSize) in ResizeTest() 240 void initSurface (const glw::Functions& gl, IVec2 oldSize) in initSurface() argument 246 drawRectangle(gl, IVec2(0, 0), oldSize, frameColor); in initSurface() 247 drawRectangle(gl, IVec2(2, 2), oldSize - IVec2(4, 4), fillColor); in initSurface() 250 drawRectangle(gl, oldSize - IVec2(16, 16), IVec2(8, 4), markColor); in initSurface() 251 drawRectangle(gl, IVec2(0, oldSize.y() - 16), IVec2(8, 4), markColor); in initSurface() 252 drawRectangle(gl, IVec2(oldSize.x() - 16, 0), IVec2(8, 4), markColor); in initSurface()
|
/third_party/flutter/skia/include/private/ |
D | SkPathRef.h | 464 size_t oldSize = this->currSize(); variable 470 if (growSize < oldSize) { 471 growSize = oldSize; 480 if (growSize <= maxSize - oldSize) { 481 newSize = oldSize + growSize; 490 void* oldVerbsSrc = SkTAddOffset<void>(fPoints, oldSize - oldVerbSize);
|
/third_party/skia/tools/viewer/ |
D | SkSLSlide.cpp | 109 size_t oldSize = fEffect ? fEffect->uniformSize() : 0; in rebuild() local 111 if (effect->uniformSize() > oldSize) { in rebuild() 112 memset(fInputs.get() + oldSize, 0, effect->uniformSize() - oldSize); in rebuild()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CalendarCache.java | 73 int oldSize = arraySize; in rehash() local 85 for (int i = 0; i < oldSize; i++) { in rehash()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | CalendarCache.java | 75 int oldSize = arraySize; in rehash() local 87 for (int i = 0; i < oldSize; i++) { in rehash()
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | window_hooks_integration_test.dart | 47 Size oldSize; 55 oldSize = window.physicalSize; 76 oldSize.width, // width 77 oldSize.height, // height 342 final Size oldSize = window.physicalSize;
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_exec_api.c | 258 const GLuint oldSize = exec->vtx.attr[attr].size; in vbo_exec_wrap_upgrade_vertex() local 287 !oldSize && lastcount > 8 && exec->vtx.vertex_size) { in vbo_exec_wrap_upgrade_vertex() 297 exec->vtx.vertex_size += newSize - oldSize; in vbo_exec_wrap_upgrade_vertex() 305 if (unlikely(oldSize)) { in vbo_exec_wrap_upgrade_vertex() 309 if (offset + oldSize < old_vtx_size_no_pos) { in vbo_exec_wrap_upgrade_vertex() 310 int size_diff = newSize - oldSize; in vbo_exec_wrap_upgrade_vertex() 311 fi_type *old_first = exec->vtx.attrptr[attr] + oldSize; in vbo_exec_wrap_upgrade_vertex() 383 if (oldSize) { in vbo_exec_wrap_upgrade_vertex() 385 COPY_CLEAN_4V_TYPE_AS_UNION(tmp, oldSize, in vbo_exec_wrap_upgrade_vertex()
|
/third_party/mesa3d/src/mesa/program/ |
D | prog_parameter.c | 225 unsigned oldSize = paramList->SizeValues; in _mesa_reserve_parameter_storage() local 238 memset(paramList->ParameterValues + oldSize, 0, in _mesa_reserve_parameter_storage() 239 (paramList->SizeValues - oldSize) * sizeof(gl_constant_value)); in _mesa_reserve_parameter_storage()
|
/third_party/skia/gm/ |
D | rrect.cpp | 83 static SkScalar prop(SkScalar radius, SkScalar newSize, SkScalar oldSize) { in prop() argument 84 return newSize * radius / oldSize; in prop()
|
/third_party/flutter/skia/gm/ |
D | rrect.cpp | 83 static SkScalar prop(SkScalar radius, SkScalar newSize, SkScalar oldSize) { in prop() argument 84 return newSize * radius / oldSize; in prop()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | ContextNULL.cpp | 46 bool AllocationTrackerNULL::updateMemoryAllocation(size_t oldSize, size_t newSize) in updateMemoryAllocation() argument 48 ASSERT(mAllocatedBytes >= oldSize); in updateMemoryAllocation() 50 size_t sizeAfterRelease = mAllocatedBytes - oldSize; in updateMemoryAllocation()
|
D | ContextNULL.h | 26 bool updateMemoryAllocation(size_t oldSize, size_t newSize);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGPrinter.cpp | 236 unsigned oldSize = visited.size(); in setSubgraphColorHelper() local 238 if (visited.size() != oldSize) { in setSubgraphColorHelper()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | ContextNULL.cpp | 46 bool AllocationTrackerNULL::updateMemoryAllocation(size_t oldSize, size_t newSize) in updateMemoryAllocation() argument 48 ASSERT(mAllocatedBytes >= oldSize); in updateMemoryAllocation() 50 size_t sizeAfterRelease = mAllocatedBytes - oldSize; in updateMemoryAllocation()
|
D | ContextNULL.h | 26 bool updateMemoryAllocation(size_t oldSize, size_t newSize);
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkRayTracingUtil.hpp | 385 const auto oldSize = m_vertices.size(); in addNativeVertex() local 391 m_vertices.resize(oldSize + blockSize, deUint8{0}); in addNativeVertex() 392 deMemcpy(&m_vertices[oldSize], &vertex, kVertexSize); in addNativeVertex() 399 m_vertices.resize(oldSize + blockSize, deUint8{0}); in addNativeVertex() 400 deMemcpy(&m_vertices[oldSize], &vertex, kVertexSize); in addNativeVertex() 416 deMemcpy(&m_vertices[oldSize - blockSize + kVertexSize], &vertex, kVertexSize); in addNativeVertex()
|
/third_party/jsoncpp/src/lib_json/ |
D | json_value.cpp | 911 ArrayIndex oldSize = size(); in resize() local 914 else if (newSize > oldSize) in resize() 915 for (ArrayIndex i = oldSize; i < newSize; ++i) in resize() 918 for (ArrayIndex index = newSize; index < oldSize; ++index) { in resize() 1209 ArrayIndex oldSize = size(); in removeIndex() local 1211 for (ArrayIndex i = index; i < (oldSize - 1); ++i) { in removeIndex() 1216 CZString keyLast(oldSize - 1); in removeIndex()
|
/third_party/flutter/skia/modules/particles/src/ |
D | SkParticleEffect.cpp | 240 SkScalar oldSize = fFontSize; in REFLECTED() local 246 if (fText != oldText || fFontSize != oldSize) { in REFLECTED()
|
/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_util.h | 333 const unsigned int oldSize = size * sizeof(Item); in resize() local 340 data = (Item *)REALLOC(data, oldSize, size * sizeof(Item)); in resize()
|
/third_party/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 1005 FT_Size oldSize = ft_face->size; in GetClipBoxPath() local 1055 err = FT_Activate_Size(oldSize); in GetClipBoxPath() 1688 FT_Size oldSize = face->size; in generateFacePathCOLRv1() local 1720 FT_Activate_Size(oldSize); in generateFacePathCOLRv1()
|
/third_party/pulseaudio/src/utils/ |
D | qpaeq | 327 if event.oldSize().width()>0 and event.size().width()>0: 328 …=len(self.filter_state.frequencies)*int(round(float(event.size().width())/event.oldSize().width()))
|
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/ |
D | jsoncpp.cpp | 3285 ArrayIndex oldSize = size(); in resize() local 3288 else if (newSize > oldSize) in resize() 3291 for (ArrayIndex index = newSize; index < oldSize; ++index) { in resize() 3509 ArrayIndex oldSize = size(); in removeIndex() local 3511 for (ArrayIndex i = index; i < (oldSize - 1); ++i){ in removeIndex() 3516 CZString keyLast(oldSize - 1); in removeIndex()
|