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

Side by Side Diff: core/src/fxcrt/fx_basic_util.cpp

Issue 1088733002: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase. Created 5 years, 8 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 | « core/src/fxcrt/fx_arabic.h ('k') | core/src/fxcrt/fxcrt_platforms.h » ('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 #include "../../include/fxcrt/fx_basic.h" 7 #include "../../include/fxcrt/fx_basic.h"
8 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ 8 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <dirent.h> 10 #include <dirent.h>
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 if (i < nLength - 2 && bsURI[i] == '%' && FX_IsXDigit(bsURI[i + 1]) && F X_IsXDigit(bsURI[i + 2])) { 287 if (i < nLength - 2 && bsURI[i] == '%' && FX_IsXDigit(bsURI[i + 1]) && F X_IsXDigit(bsURI[i + 2])) {
288 rURI += (FX_HexToI(bsURI[i + 1]) << 4 | FX_HexToI(bsURI[i + 2])); 288 rURI += (FX_HexToI(bsURI[i + 1]) << 4 | FX_HexToI(bsURI[i + 2]));
289 i += 2; 289 i += 2;
290 } else { 290 } else {
291 rURI += bsURI[i]; 291 rURI += bsURI[i];
292 } 292 }
293 } 293 }
294 return CFX_WideString::FromUTF8(rURI, rURI.GetLength()); 294 return CFX_WideString::FromUTF8(rURI, rURI.GetLength());
295 } 295 }
296 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 296 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
297 class CFindFileData : public CFX_Object 297 class CFindFileData
298 { 298 {
299 public: 299 public:
300 virtual ~CFindFileData() {} 300 virtual ~CFindFileData() {}
301 HANDLE m_Handle; 301 HANDLE m_Handle;
302 FX_BOOL m_bEnd; 302 FX_BOOL m_bEnd;
303 }; 303 };
304 class CFindFileDataA : public CFindFileData 304 class CFindFileDataA : public CFindFileData
305 { 305 {
306 public: 306 public:
307 virtual ~CFindFileDataA() {} 307 virtual ~CFindFileDataA() {}
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 } 496 }
497 497
498 CFX_Vector_3by1 CFX_Matrix_3by3::TransformVector(const CFX_Vector_3by1 &v) 498 CFX_Vector_3by1 CFX_Matrix_3by3::TransformVector(const CFX_Vector_3by1 &v)
499 { 499 {
500 return CFX_Vector_3by1( 500 return CFX_Vector_3by1(
501 a * v.a + b * v.b + c * v.c, 501 a * v.a + b * v.b + c * v.c,
502 d * v.a + e * v.b + f * v.c, 502 d * v.a + e * v.b + f * v.c,
503 g * v.a + h * v.b + i * v.c 503 g * v.a + h * v.b + i * v.c
504 ); 504 );
505 } 505 }
OLDNEW
« no previous file with comments | « core/src/fxcrt/fx_arabic.h ('k') | core/src/fxcrt/fxcrt_platforms.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698