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

Side by Side Diff: core/include/fxcrt/fx_string.h

Issue 1707923002: Expand all paths to be based off pdfium/ directory (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Sort headers 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
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 CORE_INCLUDE_FXCRT_FX_STRING_H_ 7 #ifndef CORE_INCLUDE_FXCRT_FX_STRING_H_
8 #define CORE_INCLUDE_FXCRT_FX_STRING_H_ 8 #define CORE_INCLUDE_FXCRT_FX_STRING_H_
9 9
10 #include <stdint.h> // For intptr_t. 10 #include <stdint.h> // For intptr_t.
11 #include <algorithm> 11 #include <algorithm>
12 12
13 #include "fx_memory.h" 13 #include "core/include/fxcrt/fx_memory.h"
14 #include "fx_system.h" 14 #include "core/include/fxcrt/fx_system.h"
15 15
16 class CFX_BinaryBuf; 16 class CFX_BinaryBuf;
17 class CFX_ByteString; 17 class CFX_ByteString;
18 class CFX_WideString; 18 class CFX_WideString;
19 struct CFX_CharMap; 19 struct CFX_CharMap;
20 20
21 // An immutable string with caller-provided storage which must outlive the 21 // An immutable string with caller-provided storage which must outlive the
22 // string itself. 22 // string itself.
23 class CFX_ByteStringC { 23 class CFX_ByteStringC {
24 public: 24 public:
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 } 804 }
805 805
806 FX_FLOAT FX_atof(const CFX_ByteStringC& str); 806 FX_FLOAT FX_atof(const CFX_ByteStringC& str);
807 inline FX_FLOAT FX_atof(const CFX_WideStringC& wsStr) { 807 inline FX_FLOAT FX_atof(const CFX_WideStringC& wsStr) {
808 return FX_atof(FX_UTF8Encode(wsStr.GetPtr(), wsStr.GetLength())); 808 return FX_atof(FX_UTF8Encode(wsStr.GetPtr(), wsStr.GetLength()));
809 } 809 }
810 void FX_atonum(const CFX_ByteStringC& str, FX_BOOL& bInteger, void* pData); 810 void FX_atonum(const CFX_ByteStringC& str, FX_BOOL& bInteger, void* pData);
811 FX_STRSIZE FX_ftoa(FX_FLOAT f, FX_CHAR* buf); 811 FX_STRSIZE FX_ftoa(FX_FLOAT f, FX_CHAR* buf);
812 812
813 #endif // CORE_INCLUDE_FXCRT_FX_STRING_H_ 813 #endif // CORE_INCLUDE_FXCRT_FX_STRING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698