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

Side by Side Diff: xfa/src/fxbarcode/BC_UtilRSS.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 | « xfa/src/fxbarcode/BC_UtilCodingConvert.cpp ('k') | xfa/src/fxbarcode/BC_UtilRSS.cpp » ('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 XFA_SRC_FXBARCODE_BC_UTILRSS_H_ 7 #ifndef XFA_SRC_FXBARCODE_BC_UTILRSS_H_
8 #define XFA_SRC_FXBARCODE_BC_UTILRSS_H_ 8 #define XFA_SRC_FXBARCODE_BC_UTILRSS_H_
9 9
10 #include <cstdint>
11
12 #include "core/include/fxcrt/fx_basic.h"
13
10 class CBC_RssPair; 14 class CBC_RssPair;
11 class CBC_UtilRSS { 15 class CBC_UtilRSS {
12 public: 16 public:
13 virtual ~CBC_UtilRSS(); 17 virtual ~CBC_UtilRSS();
14 static int32_t GetRSSvalue(CFX_Int32Array& widths, 18 static int32_t GetRSSvalue(CFX_Int32Array& widths,
15 int32_t maxWidth, 19 int32_t maxWidth,
16 FX_BOOL noNarrow); 20 FX_BOOL noNarrow);
17 21
18 protected: 22 protected:
19 static CFX_Int32Array* GetRssWidths(int32_t val, 23 static CFX_Int32Array* GetRssWidths(int32_t val,
20 int32_t n, 24 int32_t n,
21 int32_t elements, 25 int32_t elements,
22 int32_t maxWidth, 26 int32_t maxWidth,
23 FX_BOOL noNarrow); 27 FX_BOOL noNarrow);
24 static int32_t Combins(int32_t n, int32_t r); 28 static int32_t Combins(int32_t n, int32_t r);
25 static CFX_Int32Array* Elements(CFX_Int32Array& eDist, int32_t N, int32_t K); 29 static CFX_Int32Array* Elements(CFX_Int32Array& eDist, int32_t N, int32_t K);
26 30
27 private: 31 private:
28 CBC_UtilRSS(); 32 CBC_UtilRSS();
29 }; 33 };
30 34
31 #endif // XFA_SRC_FXBARCODE_BC_UTILRSS_H_ 35 #endif // XFA_SRC_FXBARCODE_BC_UTILRSS_H_
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/BC_UtilCodingConvert.cpp ('k') | xfa/src/fxbarcode/BC_UtilRSS.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698