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 #ifndef XFA_FGAS_CRT_FGAS_UTILS_H_ | 7 #ifndef XFA_FGAS_CRT_FGAS_UTILS_H_ |
8 #define XFA_FGAS_CRT_FGAS_UTILS_H_ | 8 #define XFA_FGAS_CRT_FGAS_UTILS_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_coordinates.h" | 10 #include "core/fxcrt/fx_coordinates.h" |
11 #include "xfa/fgas/crt/fgas_memory.h" | 11 #include "xfa/fgas/crt/fgas_memory.h" |
12 | 12 |
13 class FX_BASEARRAYDATA; | 13 class FX_BASEARRAYDATA; |
14 | 14 |
15 class CFX_BaseArray : public CFX_Target { | 15 class CFX_BaseArray : public CFX_Target { |
16 protected: | 16 protected: |
17 CFX_BaseArray(int32_t iGrowSize, int32_t iBlockSize); | 17 CFX_BaseArray(int32_t iGrowSize, int32_t iBlockSize); |
18 ~CFX_BaseArray() override; | 18 ~CFX_BaseArray() override; |
19 | 19 |
20 int32_t GetSize() const; | 20 int32_t GetSize() const; |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 } | 372 } |
373 RemoveAll(TRUE); | 373 RemoveAll(TRUE); |
374 for (int32_t i = iStart; i < iEnd; i++) { | 374 for (int32_t i = iStart; i < iEnd; i++) { |
375 Push(*src.GetAt(i)); | 375 Push(*src.GetAt(i)); |
376 } | 376 } |
377 return CFX_BaseStack::GetSize(); | 377 return CFX_BaseStack::GetSize(); |
378 } | 378 } |
379 }; | 379 }; |
380 | 380 |
381 #endif // XFA_FGAS_CRT_FGAS_UTILS_H_ | 381 #endif // XFA_FGAS_CRT_FGAS_UTILS_H_ |
OLD | NEW |