| 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 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "xfa/src/fgas/src/fgas_base.h" | 9 #include "core/include/fxcrt/fx_system.h" |
| 10 |
| 10 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN32_MOBILE_ || \ | 11 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN32_MOBILE_ || \ |
| 11 _FX_OS_ == _FX_WIN64_ | 12 _FX_OS_ == _FX_WIN64_ |
| 12 #include <io.h> | 13 #include <io.h> |
| 13 #elif _FX_OS_ == _FX_LINUX_DESKTOP_ || _FX_OS_ == _FX_LINUX_Mini_ | 14 #elif _FX_OS_ == _FX_LINUX_DESKTOP_ || _FX_OS_ == _FX_LINUX_Mini_ |
| 14 #include <sys/times.h> | 15 #include <sys/times.h> |
| 15 #endif | 16 #endif |
| 16 | 17 |
| 17 namespace { | 18 namespace { |
| 18 | 19 |
| 19 inline FX_BOOL FX_isupper(int32_t ch) { | 20 inline FX_BOOL FX_isupper(int32_t ch) { |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 } else { | 106 } else { |
| 106 break; | 107 break; |
| 107 } | 108 } |
| 108 } | 109 } |
| 109 } | 110 } |
| 110 if (pUsedLen) { | 111 if (pUsedLen) { |
| 111 *pUsedLen = iUsedLen; | 112 *pUsedLen = iUsedLen; |
| 112 } | 113 } |
| 113 return bNegtive ? -fValue : fValue; | 114 return bNegtive ? -fValue : fValue; |
| 114 } | 115 } |
| OLD | NEW |