Home
last modified time | relevance | path

Searched refs:oldSize (Results 1 - 25 of 32) sorted by relevance

12

/third_party/vk-gl-cts/framework/opengl/
H A DgluObjectWrapper.cpp103 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/
H A DdeMemory.c198 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/
H A DxeBatchResult.cpp43 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/
H A DteglResizeTests.cpp93 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DCalendarCache.java73 int oldSize = arraySize; in rehash()
85 for (int i = 0; i < oldSize; i++) { in rehash()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DCalendarCache.java75 int oldSize = arraySize; in rehash()
87 for (int i = 0; i < oldSize; i++) { in rehash()
/third_party/backends/japi/
H A DScanIt.java189 int oldSize = image == null ? 0 : width*height; in nextLine()
194 if (oldSize != 0) // Copy old data. in nextLine()
195 for (i = 0; i < oldSize; i++) in nextLine()
199 for (i = oldSize; i < newSize; i++) in nextLine()
/third_party/skia/tools/viewer/
H A DSkSLSlide.cpp109 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/mesa3d/src/mesa/vbo/
H A Dvbo_exec_api.c258 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGPrinter.cpp236 unsigned oldSize = visited.size(); in setSubgraphColorHelper() local
238 if (visited.size() != oldSize) { in setSubgraphColorHelper()
/third_party/skia/gm/
H A Drrect.cpp83 static SkScalar prop(SkScalar radius, SkScalar newSize, SkScalar oldSize) { in prop() argument
84 return newSize * radius / oldSize; in prop()
/third_party/mesa3d/src/mesa/program/
H A Dprog_parameter.c225 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/third_party/externals/angle2/src/libANGLE/renderer/null/
H A DContextNULL.cpp46 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()
H A DContextNULL.h24 // Check if it is possible to change an allocation from oldSize to newSize. If it is possible,
26 bool updateMemoryAllocation(size_t oldSize, size_t newSize);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
H A DvktBitstreamBufferImpl.cpp283 deUint32 oldSize = (deUint32)m_streamMarkers.size();
285 return oldSize;
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkRayTracingUtil.hpp389 const auto oldSize = m_vertices.size(); in addNativeVertex() local
395 m_vertices.resize(oldSize + blockSize, deUint8{0}); in addNativeVertex()
396 deMemcpy(&m_vertices[oldSize], &vertex, kVertexSize); in addNativeVertex()
403 m_vertices.resize(oldSize + blockSize, deUint8{0}); in addNativeVertex()
404 deMemcpy(&m_vertices[oldSize], &vertex, kVertexSize); in addNativeVertex()
420 deMemcpy(&m_vertices[oldSize - blockSize + kVertexSize], &vertex, kVertexSize); in addNativeVertex()
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_util.h333 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/
H A DSkFontHost_FreeType_common.cpp1005 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/protobuf/conformance/third_party/jsoncpp/
H A Djsoncpp.cpp3318 ArrayIndex oldSize = size(); in resize() local
3321 else if (newSize > oldSize) in resize()
3324 for (ArrayIndex index = newSize; index < oldSize; ++index) { in resize()
3542 ArrayIndex oldSize = size(); in removeIndex() local
3544 for (ArrayIndex i = index; i < (oldSize - 1); ++i){ in removeIndex()
3549 CZString keyLast(oldSize - 1); in removeIndex()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DContextVk.cpp6330 size_t oldSize = descriptorVector->size();
6331 size_t newSize = oldSize + count;
6339 return &(*descriptorVector)[oldSize];
6358 size_t oldSize = mWriteDescriptorSets.size();
6359 size_t newSize = oldSize + count;
6361 return &mWriteDescriptorSets[oldSize];
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp3285 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()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp3285 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()
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp3285 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()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_negative.cpp4771 dng_point oldSize = defaultCropArea.Size ();
4774 (uint64) oldSize.v * (uint64) oldSize.h)
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
H A DvktSSBOLayoutCase.cpp727 size_t oldSize = layout.bufferVars.size(); in computeReferenceLayout() local
734 DE_ASSERT(!(layout.bufferVars.size() <= oldSize)); in computeReferenceLayout()
735 bufVar.setOffset(layout.bufferVars[oldSize].offset); in computeReferenceLayout()
737 oldSize = layout.bufferVars.size(); in computeReferenceLayout()

Completed in 58 milliseconds

12