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 _BC_UTILS_H_ | 7 #ifndef _BC_UTILS_H_ |
8 #define _BC_UTILS_H_ | 8 #define _BC_UTILS_H_ |
9 typedef CFX_MapPtrTemplate<FX_LPVOID, FX_INT32> CFX_PtrToInt32; | 9 typedef CFX_MapPtrTemplate<FX_LPVOID, FX_INT32> CFX_PtrToInt32; |
10 FX_BOOL BC_FX_ByteString_Replace(CFX_ByteString &dst, FX_DWORD first, FX_DWORD l
ast, FX_INT32 count, FX_CHAR c); | 10 FX_BOOL BC_FX_ByteString_Replace(CFX_ByteString &dst, FX_DWORD first, FX_DWORD l
ast, FX_INT32 count, FX_CHAR c); |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 #define BCExceptiontNotFoundInstance 104 | 210 #define BCExceptiontNotFoundInstance 104 |
211 #define BCExceptionNotFoundInstance 105 | 211 #define BCExceptionNotFoundInstance 105 |
212 #define BCExceptionCannotMetadata 106 | 212 #define BCExceptionCannotMetadata 106 |
213 #define TWO_DIGIT_DATA_LENGTH_SIZE 24 | 213 #define TWO_DIGIT_DATA_LENGTH_SIZE 24 |
214 #define THREE_DIGIT_DATA_LENGTH_SIZE 23 | 214 #define THREE_DIGIT_DATA_LENGTH_SIZE 23 |
215 #define THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH_SIZE 57 | 215 #define THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH_SIZE 57 |
216 #define FOUR_DIGIT_DATA_LENGTH_SIZE 17 | 216 #define FOUR_DIGIT_DATA_LENGTH_SIZE 17 |
217 #define BC_EXCEPTION_CHECK_ReturnVoid(e) if (e != BCExceptionNO) return; | 217 #define BC_EXCEPTION_CHECK_ReturnVoid(e) if (e != BCExceptionNO) return; |
218 #define BC_EXCEPTION_CHECK_ReturnValue(e, v) if (e != BCExceptionNO) return v; | 218 #define BC_EXCEPTION_CHECK_ReturnValue(e, v) if (e != BCExceptionNO) return v; |
219 #endif | 219 #endif |
OLD | NEW |