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

Side by Side Diff: xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h

Issue 2649563003: Replace CFX_ByteArray with CFX_ArrayTemplate<uint8_t> (Closed)
Patch Set: re-upload Created 3 years, 11 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/fxbarcode/pdf417/BC_PDF417Writer.cpp ('k') | xfa/fxbarcode/qrcode/BC_QRCoderEncoder.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_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ 7 #ifndef XFA_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_
8 #define XFA_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ 8 #define XFA_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_
9 9
10 #include <utility> 10 #include <utility>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 static void AppendNumericBytes(const CFX_ByteString& content, 55 static void AppendNumericBytes(const CFX_ByteString& content,
56 CBC_QRCoderBitVector* bits, 56 CBC_QRCoderBitVector* bits,
57 int32_t& e); 57 int32_t& e);
58 static void AppendAlphaNumericBytes(const CFX_ByteString& content, 58 static void AppendAlphaNumericBytes(const CFX_ByteString& content,
59 CBC_QRCoderBitVector* bits, 59 CBC_QRCoderBitVector* bits,
60 int32_t& e); 60 int32_t& e);
61 static void Append8BitBytes(const CFX_ByteString& content, 61 static void Append8BitBytes(const CFX_ByteString& content,
62 CBC_QRCoderBitVector* bits, 62 CBC_QRCoderBitVector* bits,
63 CFX_ByteString encoding, 63 CFX_ByteString encoding,
64 int32_t& e); 64 int32_t& e);
65 static void Append8BitBytes(CFX_ByteArray& bytes, 65 static void Append8BitBytes(CFX_ArrayTemplate<uint8_t>& bytes,
66 CBC_QRCoderBitVector* bits, 66 CBC_QRCoderBitVector* bits,
67 int32_t& e); 67 int32_t& e);
68 static void AppendKanjiBytes(const CFX_ByteString& content, 68 static void AppendKanjiBytes(const CFX_ByteString& content,
69 CBC_QRCoderBitVector* bits, 69 CBC_QRCoderBitVector* bits,
70 int32_t& e); 70 int32_t& e);
71 static void AppendGBKBytes(const CFX_ByteString& content, 71 static void AppendGBKBytes(const CFX_ByteString& content,
72 CBC_QRCoderBitVector* bits, 72 CBC_QRCoderBitVector* bits,
73 int32_t& e); 73 int32_t& e);
74 static void InitQRCode(int32_t numInputBytes, 74 static void InitQRCode(int32_t numInputBytes,
75 int32_t versionNumber, 75 int32_t versionNumber,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 const std::vector<std::pair<CBC_QRCoderMode*, CFX_ByteString>>& 131 const std::vector<std::pair<CBC_QRCoderMode*, CFX_ByteString>>&
132 splitResult, 132 splitResult,
133 CBC_QRCoderBitVector& headerAndDataBits, 133 CBC_QRCoderBitVector& headerAndDataBits,
134 CBC_QRCoderMode* tempMode, 134 CBC_QRCoderMode* tempMode,
135 CBC_QRCoder* qrCode, 135 CBC_QRCoder* qrCode,
136 CFX_ByteString& encoding, 136 CFX_ByteString& encoding,
137 int32_t& e); 137 int32_t& e);
138 }; 138 };
139 139
140 #endif // XFA_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ 140 #endif // XFA_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/pdf417/BC_PDF417Writer.cpp ('k') | xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698