/third_party/vk-gl-cts/framework/opengl/ |
H A 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/ |
H A 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/ |
H A 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/ |
H A 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | CalendarCache.java | 73 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 D | CalendarCache.java | 75 int oldSize = arraySize; in rehash() 87 for (int i = 0; i < oldSize; i++) { in rehash()
|
/third_party/backends/japi/ |
H A D | ScanIt.java | 189 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 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/mesa3d/src/mesa/vbo/ |
H A 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGPrinter.cpp | 236 unsigned oldSize = visited.size(); in setSubgraphColorHelper() local 238 if (visited.size() != oldSize) { in setSubgraphColorHelper()
|
/third_party/skia/gm/ |
H A 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/mesa3d/src/mesa/program/ |
H A 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/third_party/externals/angle2/src/libANGLE/renderer/null/ |
H A 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()
|
H A D | ContextNULL.h | 24 // 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 D | vktBitstreamBufferImpl.cpp | 283 deUint32 oldSize = (deUint32)m_streamMarkers.size(); 285 return oldSize;
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkRayTracingUtil.hpp | 389 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 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/ |
H A 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/protobuf/conformance/third_party/jsoncpp/ |
H A D | jsoncpp.cpp | 3318 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 D | ContextVk.cpp | 6330 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 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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/ |
H A 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()
|
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/ |
H A 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()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_negative.cpp | 4771 dng_point oldSize = defaultCropArea.Size (); 4774 (uint64) oldSize.v * (uint64) oldSize.h)
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
H A D | vktSSBOLayoutCase.cpp | 727 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()
|