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

Side by Side Diff: xfa/fxjse/value.cpp

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/fxjse/value.h ('k') | xfa/include/fwl/basewidget/fwl_picturebox.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 "xfa/src/fxjse/value.h" 7 #include "xfa/fxjse/value.h"
8 8
9 #include <math.h> 9 #include <math.h>
10 10
11 #include "xfa/src/fxjse/class.h" 11 #include "xfa/fxjse/class.h"
12 #include "xfa/src/fxjse/util_inline.h" 12 #include "xfa/fxjse/util_inline.h"
13 13
14 FX_BOOL FXJSE_Value_IsUndefined(FXJSE_HVALUE hValue) { 14 FX_BOOL FXJSE_Value_IsUndefined(FXJSE_HVALUE hValue) {
15 CFXJSE_Value* lpValue = reinterpret_cast<CFXJSE_Value*>(hValue); 15 CFXJSE_Value* lpValue = reinterpret_cast<CFXJSE_Value*>(hValue);
16 return lpValue && lpValue->IsUndefined(); 16 return lpValue && lpValue->IsUndefined();
17 } 17 }
18 18
19 FX_BOOL FXJSE_Value_IsNull(FXJSE_HVALUE hValue) { 19 FX_BOOL FXJSE_Value_IsNull(FXJSE_HVALUE hValue) {
20 CFXJSE_Value* lpValue = reinterpret_cast<CFXJSE_Value*>(hValue); 20 CFXJSE_Value* lpValue = reinterpret_cast<CFXJSE_Value*>(hValue);
21 return lpValue && lpValue->IsNull(); 21 return lpValue && lpValue->IsNull();
22 } 22 }
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 if (lpRetValue) 573 if (lpRetValue)
574 lpRetValue->ForceSetValue(hReturnValue); 574 lpRetValue->ForceSetValue(hReturnValue);
575 575
576 if (lpLocalArgs) { 576 if (lpLocalArgs) {
577 for (uint32_t i = 0; i < nArgCount; i++) 577 for (uint32_t i = 0; i < nArgCount; i++)
578 lpLocalArgs[i].~Local(); 578 lpLocalArgs[i].~Local();
579 FX_Free(lpLocalArgs); 579 FX_Free(lpLocalArgs);
580 } 580 }
581 return bRetValue; 581 return bRetValue;
582 } 582 }
OLDNEW
« no previous file with comments | « xfa/fxjse/value.h ('k') | xfa/include/fwl/basewidget/fwl_picturebox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698