| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #include "xfa/src/fgas/crt/fgas_utils.h" | 7 #include "xfa/fgas/crt/fgas_utils.h" |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 | 10 |
| 11 #include "core/include/fxcrt/fx_basic.h" | 11 #include "core/include/fxcrt/fx_basic.h" |
| 12 | 12 |
| 13 class FX_BASEARRAYDATA : public CFX_Target { | 13 class FX_BASEARRAYDATA : public CFX_Target { |
| 14 public: | 14 public: |
| 15 FX_BASEARRAYDATA(int32_t growsize, int32_t blocksize) | 15 FX_BASEARRAYDATA(int32_t growsize, int32_t blocksize) |
| 16 : iGrowSize(growsize), | 16 : iGrowSize(growsize), |
| 17 iBlockSize(blocksize), | 17 iBlockSize(blocksize), |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 } | 425 } |
| 426 int32_t CFX_BaseStack::GetSize() const { | 426 int32_t CFX_BaseStack::GetSize() const { |
| 427 return m_pData->m_iBlockCount; | 427 return m_pData->m_iBlockCount; |
| 428 } | 428 } |
| 429 uint8_t* CFX_BaseStack::GetAt(int32_t index) const { | 429 uint8_t* CFX_BaseStack::GetAt(int32_t index) const { |
| 430 return m_pData->GetAt(index); | 430 return m_pData->GetAt(index); |
| 431 } | 431 } |
| 432 void CFX_BaseStack::RemoveAll(FX_BOOL bLeaveMemory) { | 432 void CFX_BaseStack::RemoveAll(FX_BOOL bLeaveMemory) { |
| 433 m_pData->RemoveAll(bLeaveMemory); | 433 m_pData->RemoveAll(bLeaveMemory); |
| 434 } | 434 } |
| OLD | NEW |