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

Side by Side Diff: xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month 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
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_FXBARCODE_PDF417_BC_PDF417HIGHLEVELENCODER_H_ 7 #ifndef XFA_FXBARCODE_PDF417_BC_PDF417HIGHLEVELENCODER_H_
8 #define XFA_FXBARCODE_PDF417_BC_PDF417HIGHLEVELENCODER_H_ 8 #define XFA_FXBARCODE_PDF417_BC_PDF417HIGHLEVELENCODER_H_
9 9
10 #include "core/fxcrt/fx_basic.h" 10 #include "core/fxcrt/fx_basic.h"
(...skipping 30 matching lines...) Expand all
41 int32_t initialSubmode); 41 int32_t initialSubmode);
42 static void encodeBinary(CFX_ByteArray* bytes, 42 static void encodeBinary(CFX_ByteArray* bytes,
43 int32_t startpos, 43 int32_t startpos,
44 int32_t count, 44 int32_t count,
45 int32_t startmode, 45 int32_t startmode,
46 CFX_WideString& sb); 46 CFX_WideString& sb);
47 static void encodeNumeric(CFX_WideString msg, 47 static void encodeNumeric(CFX_WideString msg,
48 int32_t startpos, 48 int32_t startpos,
49 int32_t count, 49 int32_t count,
50 CFX_WideString& sb); 50 CFX_WideString& sb);
51 static FX_BOOL isDigit(FX_WCHAR ch); 51 static bool isDigit(FX_WCHAR ch);
52 static FX_BOOL isAlphaUpper(FX_WCHAR ch); 52 static bool isAlphaUpper(FX_WCHAR ch);
53 static FX_BOOL isAlphaLower(FX_WCHAR ch); 53 static bool isAlphaLower(FX_WCHAR ch);
54 static FX_BOOL isMixed(FX_WCHAR ch); 54 static bool isMixed(FX_WCHAR ch);
55 static FX_BOOL isPunctuation(FX_WCHAR ch); 55 static bool isPunctuation(FX_WCHAR ch);
56 static FX_BOOL isText(FX_WCHAR ch); 56 static bool isText(FX_WCHAR ch);
57 static int32_t determineConsecutiveDigitCount(CFX_WideString msg, 57 static int32_t determineConsecutiveDigitCount(CFX_WideString msg,
58 int32_t startpos); 58 int32_t startpos);
59 static int32_t determineConsecutiveTextCount(CFX_WideString msg, 59 static int32_t determineConsecutiveTextCount(CFX_WideString msg,
60 int32_t startpos); 60 int32_t startpos);
61 static int32_t determineConsecutiveBinaryCount(CFX_WideString msg, 61 static int32_t determineConsecutiveBinaryCount(CFX_WideString msg,
62 CFX_ByteArray* bytes, 62 CFX_ByteArray* bytes,
63 int32_t startpos, 63 int32_t startpos,
64 int32_t& e); 64 int32_t& e);
65 65
66 friend class PDF417HighLevelEncoder_EncodeNumeric_Test; 66 friend class PDF417HighLevelEncoder_EncodeNumeric_Test;
67 friend class PDF417HighLevelEncoder_EncodeBinary_Test; 67 friend class PDF417HighLevelEncoder_EncodeBinary_Test;
68 friend class PDF417HighLevelEncoder_EncodeText_Test; 68 friend class PDF417HighLevelEncoder_EncodeText_Test;
69 friend class PDF417HighLevelEncoder_ConsecutiveDigitCount_Test; 69 friend class PDF417HighLevelEncoder_ConsecutiveDigitCount_Test;
70 friend class PDF417HighLevelEncoder_ConsecutiveTextCount_Test; 70 friend class PDF417HighLevelEncoder_ConsecutiveTextCount_Test;
71 friend class PDF417HighLevelEncoder_ConsecutiveBinaryCount_Test; 71 friend class PDF417HighLevelEncoder_ConsecutiveBinaryCount_Test;
72 }; 72 };
73 73
74 #endif // XFA_FXBARCODE_PDF417_BC_PDF417HIGHLEVELENCODER_H_ 74 #endif // XFA_FXBARCODE_PDF417_BC_PDF417HIGHLEVELENCODER_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp ('k') | xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698