Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: core/include/fxcrt/fx_basic.h

Issue 1722803002: Sort includes in xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanups Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | core/include/fxcrt/fx_memory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CORE_INCLUDE_FXCRT_FX_BASIC_H_ 7 #ifndef CORE_INCLUDE_FXCRT_FX_BASIC_H_
8 #define CORE_INCLUDE_FXCRT_FX_BASIC_H_ 8 #define CORE_INCLUDE_FXCRT_FX_BASIC_H_
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 return -1; 391 return -1;
392 } 392 }
393 for (; iStart < (int)m_nSize; iStart++) 393 for (; iStart < (int)m_nSize; iStart++)
394 if (((TYPE*)m_pData)[iStart] == data) { 394 if (((TYPE*)m_pData)[iStart] == data) {
395 return iStart; 395 return iStart;
396 } 396 }
397 return -1; 397 return -1;
398 } 398 }
399 }; 399 };
400 typedef CFX_ArrayTemplate<FX_DWORD> CFX_DWordArray; 400 typedef CFX_ArrayTemplate<FX_DWORD> CFX_DWordArray;
401
401 #ifdef PDF_ENABLE_XFA 402 #ifdef PDF_ENABLE_XFA
403 typedef CFX_ArrayTemplate<CFX_WideStringC> CFX_WideStringCArray;
402 typedef CFX_ArrayTemplate<FX_WORD> CFX_WordArray; 404 typedef CFX_ArrayTemplate<FX_WORD> CFX_WordArray;
403 typedef CFX_ArrayTemplate<FX_FLOAT> CFX_FloatArray; 405 typedef CFX_ArrayTemplate<FX_FLOAT> CFX_FloatArray;
404 typedef CFX_ArrayTemplate<uint8_t> CFX_ByteArray; 406 typedef CFX_ArrayTemplate<uint8_t> CFX_ByteArray;
405 typedef CFX_ArrayTemplate<int32_t> CFX_Int32Array; 407 typedef CFX_ArrayTemplate<int32_t> CFX_Int32Array;
406 typedef CFX_ArrayTemplate<void*> CFX_PtrArray; 408 typedef CFX_ArrayTemplate<void*> CFX_PtrArray;
407 #endif // PDF_ENABLE_XFA 409 #endif // PDF_ENABLE_XFA
408 410
409 #ifdef PDF_ENABLE_XFA 411 #ifdef PDF_ENABLE_XFA
410 template <class ObjectClass> 412 template <class ObjectClass>
411 class CFX_ObjectArray : public CFX_BasicArray { 413 class CFX_ObjectArray : public CFX_BasicArray {
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 FX_FLOAT c; 1164 FX_FLOAT c;
1163 FX_FLOAT d; 1165 FX_FLOAT d;
1164 FX_FLOAT e; 1166 FX_FLOAT e;
1165 FX_FLOAT f; 1167 FX_FLOAT f;
1166 FX_FLOAT g; 1168 FX_FLOAT g;
1167 FX_FLOAT h; 1169 FX_FLOAT h;
1168 FX_FLOAT i; 1170 FX_FLOAT i;
1169 }; 1171 };
1170 1172
1171 #endif // CORE_INCLUDE_FXCRT_FX_BASIC_H_ 1173 #endif // CORE_INCLUDE_FXCRT_FX_BASIC_H_
OLDNEW
« no previous file with comments | « no previous file | core/include/fxcrt/fx_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698