blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
sequencelengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
905 values
visit_date
timestamp[us]date
2015-08-09 11:21:18
2023-09-06 10:45:07
revision_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-17 19:19:19
committer_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-06 06:22:19
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-07 00:51:45
2023-09-14 21:58:39
gha_created_at
timestamp[us]date
2008-03-27 23:40:48
2023-08-21 23:17:38
gha_language
stringclasses
141 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
115 values
content
stringlengths
3
10.4M
authors
sequencelengths
1
1
author_id
stringlengths
0
158
0d3f5a05c11bef69744ec95dd27c3c99b8205247
c2bce931866c14a3e1f1ab7172200437f30dab6c
/ui/aura/local/layer_tree_frame_sink_local.cc
88990493b039341722ab7cb51bb36737fb58b1dd
[ "BSD-3-Clause" ]
permissive
SnowCherish/chromium
a75107cdb9de144b6defb36907c603e50ded0720
61c360d1c6daf19e54c4f80af2644cf0ef9aecf9
refs/heads/master
2023-02-26T04:19:46.835972
2018-02-27T01:43:33
2018-02-27T01:43:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,962
cc
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/aura/local/layer_tree_frame_sink_local.h" #include "cc/trees/layer_tree_frame_sink_client.h" #include "components/viz/common/surfaces/surface_info.h" #include "components/viz/host/host_frame_sink_manager.h" #include "components/viz/service/frame_sinks/compositor_frame_sink_support.h" #include "ui/aura/client/cursor_client.h" #include "ui/aura/env.h" #include "ui/aura/window.h" #include "ui/aura/window_delegate.h" #include "ui/display/display.h" #include "ui/display/screen.h" namespace aura { LayerTreeFrameSinkLocal::LayerTreeFrameSinkLocal( const viz::FrameSinkId& frame_sink_id, viz::HostFrameSinkManager* host_frame_sink_manager, const std::string& debug_label) : cc::LayerTreeFrameSink(nullptr, nullptr, nullptr, nullptr, nullptr), frame_sink_id_(frame_sink_id), host_frame_sink_manager_(host_frame_sink_manager), weak_factory_(this) { host_frame_sink_manager_->RegisterFrameSinkId(frame_sink_id_, this); host_frame_sink_manager_->SetFrameSinkDebugLabel(frame_sink_id_, debug_label); } LayerTreeFrameSinkLocal::~LayerTreeFrameSinkLocal() { host_frame_sink_manager_->InvalidateFrameSinkId(frame_sink_id_); } bool LayerTreeFrameSinkLocal::BindToClient( cc::LayerTreeFrameSinkClient* client) { if (!cc::LayerTreeFrameSink::BindToClient(client)) return false; DCHECK(!thread_checker_); thread_checker_ = std::make_unique<base::ThreadChecker>(); support_ = host_frame_sink_manager_->CreateCompositorFrameSinkSupport( this, frame_sink_id_, false /* is_root */, true /* needs_sync_points */); begin_frame_source_ = std::make_unique<viz::ExternalBeginFrameSource>(this); client->SetBeginFrameSource(begin_frame_source_.get()); return true; } void LayerTreeFrameSinkLocal::SetSurfaceChangedCallback( const SurfaceChangedCallback& callback) { DCHECK(!surface_changed_callback_); surface_changed_callback_ = callback; } base::WeakPtr<LayerTreeFrameSinkLocal> LayerTreeFrameSinkLocal::GetWeakPtr() { return weak_factory_.GetWeakPtr(); } void LayerTreeFrameSinkLocal::DetachFromClient() { DCHECK(thread_checker_); DCHECK(thread_checker_->CalledOnValidThread()); client_->SetBeginFrameSource(nullptr); begin_frame_source_.reset(); support_.reset(); thread_checker_.reset(); cc::LayerTreeFrameSink::DetachFromClient(); } void LayerTreeFrameSinkLocal::SetLocalSurfaceId( const viz::LocalSurfaceId& local_surface_id) { DCHECK(local_surface_id.is_valid()); local_surface_id_ = local_surface_id; } void LayerTreeFrameSinkLocal::SubmitCompositorFrame( viz::CompositorFrame frame) { DCHECK(thread_checker_); DCHECK(thread_checker_->CalledOnValidThread()); DCHECK(frame.metadata.begin_frame_ack.has_damage); DCHECK_LE(viz::BeginFrameArgs::kStartingFrameNumber, frame.metadata.begin_frame_ack.sequence_number); DCHECK(local_surface_id_.is_valid()); support_->SubmitCompositorFrame(local_surface_id_, std::move(frame)); } void LayerTreeFrameSinkLocal::DidNotProduceFrame( const viz::BeginFrameAck& ack) { DCHECK(thread_checker_); DCHECK(thread_checker_->CalledOnValidThread()); DCHECK(!ack.has_damage); DCHECK_LE(viz::BeginFrameArgs::kStartingFrameNumber, ack.sequence_number); support_->DidNotProduceFrame(ack); } void LayerTreeFrameSinkLocal::DidAllocateSharedBitmap( mojo::ScopedSharedBufferHandle buffer, const viz::SharedBitmapId& id) { // No software compositing used with this implementation. NOTIMPLEMENTED(); } void LayerTreeFrameSinkLocal::DidDeleteSharedBitmap( const viz::SharedBitmapId& id) { // No software compositing used with this implementation. NOTIMPLEMENTED(); } void LayerTreeFrameSinkLocal::DidReceiveCompositorFrameAck( const std::vector<viz::ReturnedResource>& resources) { DCHECK(thread_checker_); DCHECK(thread_checker_->CalledOnValidThread()); if (!client_) return; if (!resources.empty()) client_->ReclaimResources(resources); client_->DidReceiveCompositorFrameAck(); } void LayerTreeFrameSinkLocal::DidPresentCompositorFrame( uint32_t presentation_token, base::TimeTicks time, base::TimeDelta refresh, uint32_t flags) { DCHECK(thread_checker_); DCHECK(thread_checker_->CalledOnValidThread()); client_->DidPresentCompositorFrame(presentation_token, time, refresh, flags); } void LayerTreeFrameSinkLocal::DidDiscardCompositorFrame( uint32_t presentation_token) { DCHECK(thread_checker_); DCHECK(thread_checker_->CalledOnValidThread()); client_->DidDiscardCompositorFrame(presentation_token); } void LayerTreeFrameSinkLocal::OnBeginFrame(const viz::BeginFrameArgs& args) { DCHECK(thread_checker_); DCHECK(thread_checker_->CalledOnValidThread()); begin_frame_source_->OnBeginFrame(args); } void LayerTreeFrameSinkLocal::OnBeginFramePausedChanged(bool paused) { DCHECK(thread_checker_); DCHECK(thread_checker_->CalledOnValidThread()); begin_frame_source_->OnSetBeginFrameSourcePaused(paused); } void LayerTreeFrameSinkLocal::ReclaimResources( const std::vector<viz::ReturnedResource>& resources) { DCHECK(thread_checker_); DCHECK(thread_checker_->CalledOnValidThread()); if (!client_) return; client_->ReclaimResources(resources); } void LayerTreeFrameSinkLocal::OnNeedsBeginFrames(bool needs_begin_frames) { DCHECK(thread_checker_); DCHECK(thread_checker_->CalledOnValidThread()); support_->SetNeedsBeginFrame(needs_begin_frames); } void LayerTreeFrameSinkLocal::OnFirstSurfaceActivation( const viz::SurfaceInfo& surface_info) { surface_changed_callback_.Run(surface_info); } void LayerTreeFrameSinkLocal::OnFrameTokenChanged(uint32_t frame_token) { // TODO(yiyix, fsamuel): Implement frame token propagation for // LayerTreeFrameSinkLocal. NOTREACHED(); } } // namespace aura
5b9fccf4a7014c7290fda91f8d6b7c256ae014ee
9f741aa7145fd03e15e31d82d2b48d13b246a1bc
/src/command/include/command/command_interface.hpp
b726882b0d644393149ac49e779c26c1030dcc25
[]
no_license
DerekRoesch/Mercury
2c41a7167f2f775ad01984ec137970623426aed5
211b3a2e159c2ef8897fb82ec8a1d9e684f3bee6
refs/heads/master
2020-05-05T11:55:14.822212
2019-04-17T01:09:34
2019-04-17T01:09:34
180,008,448
0
0
null
null
null
null
UTF-8
C++
false
false
2,158
hpp
#ifndef COMMAND_INTERFACE_HPP #define COMMAND_INTERFACE_HPP #include <ros/ros.h> #include "bit_utils.h" #include <sensor_msgs/Joy.h> #include <msgs_and_srvs/VirtualBumperParams.h> #include <msgs_and_srvs/DriveCommands.h> #include <msgs_and_srvs/WebcamCommands.h> #include <hw_interface_plugin_arm/armPosition.h> #include <hw_interface_plugin_agent/LOS.h> #include <msgs_and_srvs/ArmManualMode.h> #define ARM_LEFT_RAISED 0 #define ARM_RIGHT_RAISED 138 #define ARM_LEFT_LOWERED 202 #define ARM_RIGHT_LOWERED 240 #define ARM_LEFT_DEPOSIT 0 #define ARM_RIGHT_DEPOSIT 50 #define ARM_CLAW_OPEN 138 #define ARM_CLAW_CLOSED 250 #define ARM_WRIST_STRAIGHT 82 #define ARM_WRIST_DEPOSIT 138 #define ARM_MANUAL_INCREMENT 5 enum ARM_JOINTS_T {_left, _right, _claw, _wrist}; class CommandInterface { public: // Members ros::NodeHandle nh; ros::Publisher virtualBumperParamsPub; ros::Publisher driveCommandsPub; ros::Publisher armPub; ros::Publisher webcamPub; ros::Publisher armManualModePub; ros::Subscriber joystickSub; ros::Subscriber driverStationIPSub; ros::Subscriber losSub; msgs_and_srvs::VirtualBumperParams virtualBumperParams; msgs_and_srvs::DriveCommands driveCommands; msgs_and_srvs::WebcamCommands webcamCommands; hw_interface_plugin_arm::armPosition armPositionCommands; msgs_and_srvs::ArmManualMode armManualModeMsg; sensor_msgs::Joy joystickData; Toggle allStopToggle; Toggle virtualBumperActiveToggle; Leading_Edge_Latch armManualJointSelectLatch; ARM_JOINTS_T armSelectedManualJoint; Toggle armClawToggle; Toggle webcamToggle; uint8_t armJointOffsets[4]; Toggle manualArmModeToggle; bool LOS; const float rate = 20.0; const float virtualBumperIncrementSize = 0.01; // m const float springConstantIncrementSize = 0.1; // Methods CommandInterface(); void run(); void joystickCallback(const sensor_msgs::Joy::ConstPtr& msg); void driverStationIPCallback(const msgs_and_srvs::WebcamCommands::ConstPtr& msg); void losCallback(const hw_interface_plugin_agent::LOS::ConstPtr& msg); }; #endif // COMMAND_INTERFACE_HPP
32169b9ee4f70d7ad2b91e7ce7fce58339e27d60
f90920085074e79a37048155750b80e5e884c5d2
/tsrc/MCETestUI/inc/createVoIPsessiondialog.h
bb281053fff074c5db8db40093acf04a9d2521bc
[]
no_license
piashishi/mce
fec6847fc9b4e01c43defdedf62ef68f55deba8e
8c0f20e0ebd607fb35812fd02f63a83affd37d74
refs/heads/master
2021-01-25T06:06:18.042653
2016-08-13T15:38:09
2016-08-13T15:38:09
26,538,858
1
1
null
null
null
null
UTF-8
C++
false
false
2,281
h
/* * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available * at the URL "http://www.eclipse.org/legal/epl-v10.html". * * Initial Contributors: * Nokia Corporation - initial contribution. * * Contributors: * * Description: * */ #ifndef __CREATEVOIPSESSIONDIALOG_H__ #define __CREATEVOIPSESSIONDIALOG_H__ // INCLUDES #include <E32Base.h> #include <eikbutb.h> #include <eikenv.h> #include <eikdialg.h> #include <eikedwin.h> #include <in_sock.h> // for TInetAddr #include <es_sock.h> // for SetPort() #include <utf.h> #include <coeinput.h> //#include <akndialog.h> #include <aknform.h> #include <AknPopupFieldText.h> #include "MCETestUI.hrh" #include "CMCETestUIEngine.h" /** * @class CCreateVoIPSessionDialog * * A dialog that uses a CAknForm control * and allows a the user to edit session type parameters */ class CCreateVoIPSessionDialog: public CAknForm { public: /** Perform the first phase of two phase construction @param aParams Receive parameters */ // CCreatePoCSessionDialog( CMCETestUIEngine ::TPoCSessionParams* aParams ); CCreateVoIPSessionDialog(TSessionParams* aParams ); /** Destroy the object */ ~CCreateVoIPSessionDialog(); private: // from CEikDialog /** Exit and return values @param aKeyCode Key that terminated dialog @result Always returns ETrue, Ok to exit */ TBool OkToExitL(TInt aKeyCode); /** Perform dynamic initialisation prior to displaying dialog */ void PreLayoutDynInitL(); private: /** @var iParams Return item after dialog has run, owned by caller */ TSessionParams* iParams; }; /** Append two message and pass it to a single message dialog. @param aMessage1 @param aMessage2 */ extern void MessageBox( const TDesC& aMessage1, const TDesC& aMessage2 ); /** Display message box dialog. @param aMessage */ extern void MessageBox( const TDesC& aMessage ); #endif // __CREATESESSIONDIALOG_H__ // End of File
5456542f0e4769631515afa4d48fd6803db2d962
473d9cca8f88ebf43be7e3bd404b68d2e11de1af
/CppHttpWebSocketServer/ServerMain.cpp
743c73d6cf964b87832889576243cc59b66e84b6
[]
no_license
bugken/KenHttpWebSocketServer
5e6cd5871fa123dea2c7280535ac36305b87a937
fbfa05005b2ea700d4c7224c853177defcb252df
refs/heads/master
2023-01-09T16:35:06.644015
2020-11-08T14:09:14
2020-11-08T14:09:14
296,262,070
0
0
null
null
null
null
UTF-8
C++
false
false
330
cpp
#include <signal.h> #include "WebSocketServer.h" static bool g_bIsRunning = true; //处理SIGINT(ctrl+c)信号 void SigIntHandler(INT32 iSignal) { //数据持久化 g_bIsRunning = false; } int main() { signal(SIGINT, SigIntHandler); WebSocketServer webSocketServer(8888); webSocketServer.ServerStart(); return 0; }
26a0ea42cb5785e056f5b4620ea8d9d4aceab527
4d8a09ef963be622ed1a33a37216f174a6004c26
/matrix/Gauss-Jordan_elimination_F2_bitset.cpp
bda5a4441079d0fdf3eaf04a0031dc7021e37d09
[]
no_license
theory-and-me/procon_library
6dc4c8eab9a7c022b6b130b8cfa729db57f13d11
b927045de869b2626637f70a2b3a714a9cfdda3d
refs/heads/master
2023-06-28T17:44:35.107827
2023-06-19T03:32:07
2023-06-19T03:32:07
262,358,823
0
0
null
null
null
null
UTF-8
C++
false
false
2,274
cpp
#include <bits/extc++.h> using namespace std; typedef unsigned long long ull; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef pair<double, double> pdd; //typedef vector<vector<ll>> Graph; const ll mod = 1e9 + 7; //const ll mod = 998244353; #define REP(i,n) for(ll i=0;i<(ll)n;i++) #define dump(x) cerr << #x << " = " << (x) << endl; #define spa << " " << #define fi first #define se second template<class T> bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; } template<class T> bool chmin(T &a, const T &b) { if (a>b) { a=b; return 1; } return 0; } template<class S, class T> ostream& operator << (ostream& os, const pair<S, T> v){ os << "(" << v.first << ", " << v.second << ")"; return os; } template<class T> ostream& operator << (ostream& os, const vector<T> v){ for(int i = 0; i < (int)v.size(); i++){if(i > 0){os << " ";} os << v[i];} return os; } template<class T> ostream& operator << (ostream& os, const vector<vector<T>> v){ for(int i = 0; i < (int)v.size(); i++){if(i > 0){os << endl;} os << v[i];} return os; } template<typename T> void debug(vector<vector<T>>&v,ll h,ll w){for(ll i=0;i<h;i++) {cerr<<v[i][0];for(ll j=1;j<w;j++)cerr spa v[i][j];cerr<<endl;}}; template<typename T> void debug(vector<T>&v,ll n){if(n!=0)cerr<<v[0]; for(ll i=1;i<n;i++)cerr spa v[i]; cerr<<endl;}; string num2bit(ll num, ll len){ string bit = ""; REP(i, len){ bit += char('0'+(num>>i & 1)); } return bit; } // 工事中 const int k_max = 1000; using BS = bitset<k_max>; bool operator>(BS const& a, BS const& b) { REP (i,k_max) { if (a[i] > b[i]) return true; if (a[i] < b[i]) return false; } return false; } int main(){ cin.tie(0); ios::sync_with_stdio(false); ll N; cin >> N; vector<ll> A(N); REP(i, N) cin >> A[i]; ll res = 0; REP(b, 60){ ll cnt = 0; ll val = (1ll<<b); REP(i, N){ if(A[i]>>b & 1) cnt++; } if(cnt&1){ res += val; REP(i, N){ if(A[i]>>b & 1) A[i] ^= val; } } } auto V = elimination_F2(A); ll tmp = 0; for(auto v: V){ tmp ^= v; } cout << res+2*tmp << endl; return 0; }
af258a04c6864b8eddcee7c9e87ef1d843d3f3f7
eb48c64e457c7060ff33365c0b149042039a9559
/irrland files/LandSceneNode.cpp
0284f74815ae22ce07903256626652c3eaa51f62
[]
no_license
dominique-lavault/MineSim
b92ff3f6dcc58d131af6d740e3b237b8b20bfad2
c46ce30f76fec80464bc4cd422e0b3e8d898d4b5
refs/heads/master
2021-01-19T23:57:34.564415
2015-07-15T14:45:56
2015-07-15T14:45:56
38,826,524
0
1
null
null
null
null
ISO-8859-1
C++
false
false
11,606
cpp
#include <stdlib.h> #include <stdio.h> #include <irrlicht.h> #include "LandSceneNode.h" #include "LandManager.h" using namespace irr; CLandSceneNode::CLandSceneNode(scene::ISceneNode* parent, scene::ISceneManager* smgr, s32 id) : scene::ISceneNode(parent, smgr, id) { Material.Wireframe = false ; // relief Material.Lighting = false; m_mipmapLevel=0; m_deltaAltitude=NULL; u8 tmpReliefColor[3][256]; loadFile("media\\coul.raw", tmpReliefColor, 768); for(int i=0; i<256;i++) { heightColors[i] = video::SColor(255,tmpReliefColor[0][i], tmpReliefColor[1][i], tmpReliefColor[2][i] ); } m_indices = (u16 *) malloc(3*NBBLOCKFACES*sizeof(u16)); // taille maxi de la liste de faces if(m_indices==NULL ) throw(1); Vertices = (video::S3DVertex *) malloc(NBBLOCKVERTICES*sizeof(video::S3DVertex)); if(Vertices==NULL) throw(2); } CLandSceneNode::~CLandSceneNode() { free(m_indices); free(Vertices); if( m_deltaAltitude ) free(m_deltaAltitude); } // ________________________________ génération du meshe du terrain ________________________________________________ void CLandSceneNode::generateMesh( CLandManager * pLandManager, vector3df * cameraPosition) { int u,v; float x0,y0,z0,ySouth,yNorth,yWest,yEast; irr::f32 tu,tv,iv,iu; // texture du sol irr::f32 steptu = (irr::f32)0.25/2.0; // 4 polys pour warper dans la texture irr::f32 steptv = steptu; int i=0; int nv=0,idx; video::SColor c; float pente; // NBS = NB BLOCK SAMPLES = nombre de vertices sur un coté du block for(tu=0, u=0; u<NBS; u++, tu+=steptu) { for(tv=0, v=0; v<NBS; v++, tv+=steptv) { x0=v*XZSCALE + m_offset.X; z0=u*XZSCALE + m_offset.Z; y0=pLandManager->getAltitude(x0,z0); ySouth=pLandManager->getAltitude(x0,z0+XZSCALE); // optimiser en mémorisant la valeur précédente si u!=0 && v!=0 yNorth=pLandManager->getAltitude(x0,z0-XZSCALE); // optimiser en mémorisant la valeur précédente si u!=0 && v!=0 yEast=pLandManager->getAltitude(x0+XZSCALE,z0); // optimiser en mémorisant la valeur précédente si u!=0 && v!=0 yWest=pLandManager->getAltitude(x0-XZSCALE,z0); //optimiser en mémorisant la valeur précédente si u!=0 && v!=0 idx=(int)MAX(MIN(y0*ALTITUDE_COLORTABLE_RATIO,255),0); c=heightColors[idx]; //tu=((f32)(rand()%1024))/2048.0f; //tv=((f32)(rand()%1024))/2048.0f; if( tu>0.24f ) tu-=0.20f; if( tv>0.24f ) tv-=0.20f; iu=0.5f; iv=0.0f; if( ySouth>2500) iv=0.75f; // pierre/neige else if( ySouth>200) iu=0.75f; // long grass if( (ySouth-yNorth)<-CLIFF_STEEP || (yWest-yEast)<-CLIFF_STEEP ) { pente=0.7f; iv=0.25f; iu=0.75f; // falaise c=CLIFF_COLOR; } else if( (yWest-yEast)<-10.0f ) pente=0.7f; else if( (yWest-yEast)<-5.0f ) pente=0.9f; else if( (ySouth-yNorth)>CLIFF_STEEP || (yWest-yEast)>CLIFF_STEEP) { pente=1.3f; iv=0.25f; iu=0.75f; // falaise c=0xffd0d0d0; } else if( (yWest-yEast)>10.0f ) pente=1.1f; else if( (yWest-yEast)>5.0f ) pente=1.1f; else pente=1.0f; c.setRed(MIN(MAX((int)((float)c.getRed()*pente), 0), 255)); c.setGreen(MIN(MAX((int)((float)c.getGreen() *pente), 0), 255)); c.setBlue(MIN(MAX((int)((float)c.getBlue() *((pente+1.0)/2.0)), 0), 255)); if( (y0 + yWest + yEast + yNorth + ySouth)/5.0f <1.0f ) { iv=0.0f; iu=0.0f; // mer if( c!=CLIFF_COLOR) c=SEA_COLOR; } if(m_deltaAltitude) y0+=m_deltaAltitude[nv]; Vertices[nv++] = video::S3DVertex(x0,y0,z0, 0,1,0, c, tu+iu, tv+iv); } } int levelN=pLandManager->getMipMapLevel(cameraPosition, m_offset.X+NBS*XZSCALE/2, m_offset.Z-NBS*XZSCALE/2); int levelE=pLandManager->getMipMapLevel(cameraPosition, m_offset.X+3*NBS*XZSCALE/2, m_offset.Z+NBS*XZSCALE/2); int levelO=pLandManager->getMipMapLevel(cameraPosition, m_offset.X-NBS*XZSCALE/2, m_offset.Z+NBS*XZSCALE/2); int levelS=pLandManager->getMipMapLevel(cameraPosition, m_offset.X+NBS*XZSCALE/2, m_offset.Z+3*NBS*XZSCALE/2); updateTesslation(pLandManager, cameraPosition, levelN, levelS, levelO, levelE); // --- ajuste la bounding box // todo : optimisation : ne mettre que les points extremes (4 coins, le + haut, le + bas) Box.reset(Vertices[0].Pos); for (s32 i=1; i<NBBLOCKVERTICES; ++i) Box.addInternalPoint(Vertices[i].Pos); } float CLandSceneNode::getDeltaAltitude(int idx) { if( m_deltaAltitude != NULL) return m_deltaAltitude[idx]; else return 0; } void CLandSceneNode::setDeltaAltitude(int idx, float value) { if( m_deltaAltitude==NULL) { m_deltaAltitude=(float*)malloc(NBBLOCKVERTICES * sizeof(float)); for(int a=0; a<NBBLOCKVERTICES; a++) // optimisation : voir pour un memset m_deltaAltitude[a]=0; } m_deltaAltitude[idx]=value; } void CLandSceneNode::updateTesslation( CLandManager * pLandManager, vector3df * cameraPosition, int levelN, int levelS, int levelO, int levelE) { int u,v,i=0; // level mipmap des voisins? int level = m_mipmapLevel; m_doU0=(levelO<level); m_doUM=(levelE<level); m_doV0=(levelN<level); m_doVM=(levelS<level); // génère la liste des faces en fonction de la liste de vertices m_nbFaceLevel=0; if( level==0 ) { for(u=0; u<NBS-1; u+=1) { for(v=0; v<NBS-1; v+=1) { // face a m_indices[i++]=NBS*v+u; m_indices[i++]=NBS*(v+1)+u; m_indices[i++]=NBS*v+u+1; // face b m_indices[i++]=NBS*v+u+1; m_indices[i++]=NBS*(v+1)+u; m_indices[i++]=NBS*(v+1)+u+1; m_nbFaceLevel+=2; } } } else if( level==1 ) { // mipmap level 1 tesslateLevel(&m_nbFaceLevel, 2, m_indices); } else if (level==2 ) { // --- mipmap level 2 tesslateLevel(&m_nbFaceLevel, 4, m_indices); } else if (level==3 ) { // --- mipmap level 3 tesslateLevel(&m_nbFaceLevel, 8, m_indices); } } void CLandSceneNode::tesslateLevel(int * nbFaceLevel, int level, u16 * indices) { int i=0,u,v; int halfLevel=level>>1; int limit = NBS-level-1; for(u=0; u<NBS-level; u+=level) { for(v=0; v<NBS-level; v+=level) { // face 'a' (triangle haut gauche) if( u!=0 && v!=0) { i=tesslateFaceALevel(u, v, i, level, indices,nbFaceLevel); } else if( u!=0 && v==0) { if( m_doV0 ) { indices[i++]=NBS*v+u; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*v+u+halfLevel; indices[i++]=NBS*v+u+halfLevel; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*v+u+level; *nbFaceLevel+=2; } else i=tesslateFaceALevel(u, v, i, level, indices, nbFaceLevel); } else if( u==0 && v!=0) { if( m_doU0 ) { indices[i++]=NBS*v+u; indices[i++]=NBS*(v+halfLevel)+u; indices[i++]=NBS*v+u+level; indices[i++]=NBS*(v+halfLevel)+u; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*v+u+level; *nbFaceLevel+=2; } else i=tesslateFaceALevel(u, v, i, level, indices, nbFaceLevel); } else if( u==0 && v==0 ) { if( m_doU0 && m_doV0 ) { indices[i++]=NBS*v+u; indices[i++]=NBS*(v+halfLevel)+u; indices[i++]=NBS*v+u+halfLevel; indices[i++]=NBS*v+u+halfLevel; indices[i++]=NBS*(v+halfLevel)+u; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*v+u+halfLevel; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*v+u+level; *nbFaceLevel+=3; } else if( m_doU0 && !m_doV0 ) // surtesslation metamerdique partielle d'un angle = { indices[i++]=NBS*v+u; indices[i++]=NBS*(v+halfLevel)+u; indices[i++]=NBS*v+u+level; indices[i++]=NBS*(v+halfLevel)+u; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*v+u+level; *nbFaceLevel+=2; } else if( ! m_doU0 && m_doV0 ) // surtesslation metamerdique partielle d'un angle { indices[i++]=NBS*v+u; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*v+u+halfLevel; indices[i++]=NBS*v+u+halfLevel; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*v+u+level; *nbFaceLevel+=2; } else i=tesslateFaceALevel(u, v, i, level, indices, nbFaceLevel); } // face 'b' (triangle bas droit) if( u!=limit && v!=limit) { i=tesslateFaceBLevel(u,v,i,level, indices, nbFaceLevel); } else if( u==limit && v!=limit) { if( m_doUM ) { indices[i++]=NBS*v+u+level; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*(v+halfLevel)+u+level; indices[i++]=NBS*(v+halfLevel)+u+level; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*(v+level)+u+level; *nbFaceLevel+=2; } else i=tesslateFaceBLevel(u,v,i,level, indices, nbFaceLevel); } else if( u!=limit && v==limit) { if( m_doVM ) { indices[i++]=NBS*v+u+level; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*(v+level)+u+halfLevel; indices[i++]=NBS*v+u+level; indices[i++]=NBS*(v+level)+u+halfLevel; indices[i++]=NBS*(v+level)+u+level; *nbFaceLevel+=2; } else i=tesslateFaceBLevel(u,v,i,level, indices, nbFaceLevel); } else if( u==limit && v==limit) { if( m_doUM && m_doVM ) { indices[i++]=NBS*v+u+level; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*(v+halfLevel)+u+level; indices[i++]=NBS*(v+halfLevel)+u+level; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*(v+level)+u+halfLevel; indices[i++]=NBS*(v+halfLevel)+u+level; indices[i++]=NBS*(v+level)+u+halfLevel; indices[i++]=NBS*(v+level)+u+level; *nbFaceLevel+=3; } else if( m_doUM && !m_doVM ) { indices[i++]=NBS*v+u+level; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*(v+halfLevel)+u+level; indices[i++]=NBS*(v+halfLevel)+u+level; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*(v+level)+u+level; *nbFaceLevel+=2; } else if( ! m_doUM && m_doVM ) { indices[i++]=NBS*v+u+level; indices[i++]=NBS*(v+level)+u; indices[i++]=NBS*(v+level)+u+halfLevel; indices[i++]=NBS*v+u+level; indices[i++]=NBS*(v+level)+u+halfLevel; indices[i++]=NBS*(v+level)+u+level; *nbFaceLevel+=2; } else i=tesslateFaceBLevel(u,v,i,level, indices, nbFaceLevel); } } } } int CLandSceneNode::tesslateFaceALevel(int u, int v, int i, int level, u16 * m_indices, int * m_nbFaceLevel) { m_indices[i++]=NBS*v+u; m_indices[i++]=NBS*(v+level)+u; m_indices[i++]=NBS*v+u+level; *m_nbFaceLevel+=1; return i; } int CLandSceneNode::tesslateFaceBLevel(int u, int v, int i, int level, u16 * m_indices, int * m_nbFaceLevel) { m_indices[i++]=NBS*v+u+level; m_indices[i++]=NBS*(v+level)+u; m_indices[i++]=NBS*(v+level)+u+level; *m_nbFaceLevel+=1; return i; } //------------------------------------------------------------------------------------------- size_t CLandSceneNode::loadFile(const char * filename, void * buf, size_t size) { FILE * fp; if( (fp=fopen(filename, "rb"))==NULL) return 0; size = fread(buf,1,size,fp); fclose(fp); return size; } void CLandSceneNode::OnPreRender() { if (IsVisible) SceneManager->registerNodeForRendering(this); ISceneNode::OnPreRender(); } void CLandSceneNode::render() { video::IVideoDriver* driver = SceneManager->getVideoDriver(); driver->setMaterial(Material); driver->setTransform(video::ETS_WORLD, AbsoluteTransformation); driver->drawIndexedTriangleList(Vertices, NBBLOCKVERTICES, m_indices, m_nbFaceLevel); } const core::aabbox3d<f32>& CLandSceneNode::getBoundingBox() const { return Box; } s32 CLandSceneNode::getMaterialCount() { return 1; } video::SMaterial& CLandSceneNode::getMaterial(s32 i) { return Material; } void CLandSceneNode::setOffset(vector3df * pOffset) { m_offset = *pOffset; }
4c08cace7de717a0194b271233c1bf2b63ef81df
e91f61615ed3fa4814f32832bdb5c94c60bcd72a
/POST/content.h
f1449012d221379f479c0ff97b92d7c3d48a1692
[]
no_license
Qcdu59/ProjetWS
328f42dfdfd475e1668cf67cbf7923e4cf08141e
6a9458e793ea73e0d325266f507f2c799f4f9957
refs/heads/master
2020-03-11T02:30:45.591367
2018-05-24T13:02:42
2018-05-24T13:02:42
129,721,092
0
0
null
2018-04-16T09:48:43
2018-04-16T09:48:43
null
UTF-8
C++
false
false
1,058
h
#ifndef CONTENT_H #define CONTENT_H #include <cppcms/view.h> #include <cppcms/form.h> #include <iostream> namespace content { struct info_form : public cppcms::form { cppcms::widgets::text pseudo; cppcms::widgets::text password; cppcms::widgets::text forename; cppcms::widgets::text name; cppcms::widgets::submit submit; info_form() { pseudo.message("Votre pseudo : "); password.message("Votre mot de passe : "); forename.message("Votre prenom : "); name.message("Votre nom de famille : "); submit.value("créer"); add(pseudo); add(password); add(forename); add(name); add(submit); pseudo.non_empty(); password.non_empty(); forename.non_empty(); name.non_empty(); } virtual bool validate() { return true; } }; struct message : public cppcms::base_content { std::string pseudo,password,forename,name; info_form info; }; } // content #endif // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
38c473eb2bf5dbe503943714eb27c6106f82bf17
c829a5f8ba4509d0b30ad4cc10cc0a396941e06e
/gameLib/src/Engine/Device/Device.cpp
f54f063f6497631317bb4247cd66a05e3b3e3bfc
[ "LicenseRef-scancode-warranty-disclaimer", "MIT", "MS-PL" ]
permissive
hibino0429/gameLib
934f33a05dba7c963aaf692acd5d715da6f3521c
19d3ff1d09b6a4bece1a6bb9578e70471e109ceb
refs/heads/master
2020-03-21T05:59:53.967323
2018-10-24T16:54:36
2018-10-24T16:54:36
138,193,005
1
0
null
null
null
null
UTF-8
C++
false
false
25
cpp
#include "Device.h"
019db5435855b7978821cbfcf0fd8f6bbd33c5d5
a7eaa30594c4f4b9b6ac9ca6774d7ddbfbdb1eb0
/cpp/prefix_sum/goodsubarray.cpp
0f5157373d9caa78988ce74233e96655ad0e3b1a
[]
no_license
kevindkim723/USACO
2bc5427a86d4b131b9d1f43f062164f664d77b69
b0e45817470c389fcb24b1dd2f70a2540f1de552
refs/heads/master
2023-04-30T12:15:51.374735
2023-04-14T07:06:27
2023-04-14T07:06:27
148,862,205
0
0
null
null
null
null
UTF-8
C++
false
false
1,019
cpp
#include <iostream> #include <vector> #include <fstream> #include <string> #include <map> using namespace std; int t; int n; string l; void printarr(vector<int> arr) { for (int i : arr){ cout << i; } cout << endl; } int main() { //ifstream fin("goodsubarray.in"); //ofstream fout("goodsubarray.out"); cin >> t; for (int i = 0; i < t; i++) { cin >> n; map<int, int> m; vector<int> arr(n + 1, 0); vector<int> pref(n+1, 0); cin >> l; for (int j = 1; j <= n; j++) { arr[j] = l[j - 1] - '0'; pref[j] = pref[j-1] + arr[j]; } int good =0; for (int j = 0; j < n;j++) { int diff = pref[j] - j; m[diff] = m[diff] + 1; } for (int k : d) { if (k>1) { cout << k << endl; good += k*(k+1)/2; } } cout << good << endl; } }
1a863bbb9f838eb41993fdbf7f1a5530dfad8059
364bbfcbf6a133297969d4c42a354a4bcd421b5a
/algo/Assign01/palin_1.cpp
9898f1d452b34dbf6f98732b78f42239e3aed62b
[]
no_license
JaeHeyK/lab_2021_1
fa02a318d03c4bb86870486f97def024066b965f
44fc6d8d47ba2ee4627a78fa59179c4ff988d041
refs/heads/master
2023-06-04T04:26:38.964997
2021-06-12T06:19:13
2021-06-12T06:19:13
346,898,724
0
0
null
null
null
null
UTF-8
C++
false
false
880
cpp
#include <iostream> #include <fstream> #include <string> using namespace std; bool isPalin(int first, int last, string& str) { if(first >= last) return true; if(str[first] == str[last]) { return isPalin(first+1, last-1, str); } else { return false; } } int getPalinType(int first, int last, string& str) { if(first >= last) return 1; if(str[first] == str[last]) { return getPalinType(first+1, last-1, str); } else { return (isPalin(first, last-1, str) || isPalin(first+1, last, str) ? 2 : 3); } } int main() { ifstream in("palin.inp"); ofstream out("palin.out"); int N; string input_str; in >> N; while(N--) { in >> input_str; int result = 0; int len = input_str.length(); result = getPalinType(0, input_str.length()-1, input_str); out << result << "\n"; } in.close(); out.close(); return 0; }
700edfe6d94167a2709bfba4374f1e373a1746a2
171e182cdaa01fe01b122a2656e2632de3370285
/components/paint_preview/player/compositor_status.h
7d53c0b70293ae63151bba6f30160362569ba52e
[ "BSD-3-Clause" ]
permissive
baber-sos/chromium
95b3c09507be66f41d396229bc7aa2216d93f9ab
f1c5495f30b7f86589e23b95a1e098e34ff79e94
refs/heads/master
2022-12-31T00:26:47.943694
2020-11-09T19:31:11
2020-11-09T19:31:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,011
h
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_PAINT_PREVIEW_PLAYER_COMPOSITOR_STATUS_H_ #define COMPONENTS_PAINT_PREVIEW_PLAYER_COMPOSITOR_STATUS_H_ namespace paint_preview { // IMPORTANT: if CompositorStatus is updated, please update the corresponding // entry for TabbedPaintPreviewCompositorFailureReason in enums.xml. // GENERATED_JAVA_ENUM_PACKAGE: ( // org.chromium.components.paintpreview.player) enum class CompositorStatus : int { OK, URL_MISMATCH, COMPOSITOR_SERVICE_DISCONNECT, COMPOSITOR_CLIENT_DISCONNECT, PROTOBUF_DESERIALIZATION_ERROR, COMPOSITOR_DESERIALIZATION_ERROR, INVALID_ROOT_FRAME_SKP, INVALID_REQUEST, OLD_VERSION, UNEXPECTED_VERSION, CAPTURE_EXPIRED, NO_CAPTURE, TIMED_OUT, STOPPED_DUE_TO_MEMORY_PRESSURE, COUNT, }; } // namespace paint_preview #endif // COMPONENTS_PAINT_PREVIEW_PLAYER_COMPOSITOR_STATUS_H_
b035287b98b06038201c21c64d67695db8d09ad1
71e1e81e9200fc3b0542da3d5568396bde076c63
/vrep_dep/vrep_ros_bridge/quadrotor_tk_handler/include/quadrotor_tk_handler/Quadrotor_tk_Handler.h
3c7f7633b45632883d2015120ccee108547012db
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
syangav/COMP6211C_project
529e18fadd9313451adcb549ad05ad63a3be75fa
60b488d57fd437e6068e3bc06bf6cdd49213e78a
refs/heads/master
2020-03-11T04:13:45.525629
2018-05-30T02:08:53
2018-05-30T02:08:53
129,770,805
1
1
null
null
null
null
UTF-8
C++
false
false
3,720
h
// Copyright 2006-2013 Dr. Marc Andreas Freese. All rights reserved. // [email protected] // www.coppeliarobotics.com // // ------------------------------------------------------------------- // This file is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // // You are free to use/modify/distribute this file for whatever purpose! // ------------------------------------------------------------------- // // This file was automatically created for V-REP release V3.0.5 on October 26th 2013 #ifndef QUADROTOR_TK_HANDLER_H #define QUADROTOR_TK_HANDLER_H #include "vrep_ros_plugin/GenericObjectHandler.h" #include "vrep_ros_plugin/access.h" #include <ros/time.h> #include <telekyb_msgs/TKMotorCommands.h> #include <telekyb_msgs/TKCommands.h> /** * Handler of a Quadrotor object for use with Telekyb2. * It automatically subscribes to telekyb_msgs::TKMotorCommands messages for receiveng thrust commands to apply to the four propellers. * It also publishes the status of the quadrotor using telekyb_msgs::TKState messages. */ class Quadrotor_tk_Handler : public GenericObjectHandler { public: Quadrotor_tk_Handler(); ~Quadrotor_tk_Handler(); void synchronize(); void handleSimulation(); unsigned int getObjectType() const; protected: void _initialize(); /** * This variable is needed to store the previousTime to perform an Integral of the angles to use an * Integral part into the controller. */ ros::Time _previousTime; /** * The following variables are needed for the Integral part of the PID (roll and pitch respectively) */ float _integralTermRoll; float _integralTermPitch; /** * Ratio between force (\f$ f\f$) and torque (\f$\tau\f$) produced by the propeller, i.e. \f$\tau = \alpha f\f$ */ float _torqueToForceRatio; /** * Handles of the four propellers. */ int _handleOfJoint[4]; /** * Handle of the robot CoM. */ int _handleOfCoM; /** * Handle of the robot CoM. */ simFloat _quadrotorMass; /** * Position of the four propellers w.r.t. the robot CoM. */ simFloat _jointPosition[4][3]; /** * Publisher for the robot status. */ ros::Publisher _pub; /** * Publisher for the robot status. */ ros::Publisher _pubIMU; /** * Subscriber for force commands. */ ros::Subscriber _sub; /** * Timer for received commands. */ ros::Time _lastReceivedCmdTime; /** * Timer for printing messages. */ ros::Time _lastPrintedMsg; /** * Last received TKMotorCommands commands. */ std::vector<double> _tkMotorCommands; /** * Last received TKCommands message. */ telekyb_msgs::TKCommands _tkCommands; /** * Internal roll/pitch control cutoff frequency. */ simFloat _att_cutoff; /** * Internal roll/pitch control damping factor. */ simFloat _att_damping; /** * Internal yaw rate control proportional gain. */ simFloat _kp_yaw; /** * Quadrotor control mode. See \ref QuadrotorCtrlMode. */ CustomDataHeaders::QuadrotorCtrlMode _ctrlMode; /** * Callback for force command (TKMotorCommands) message reception. * @param msg Received force command message. */ void tkMotorCommandsCallback(const telekyb_msgs::TKMotorCommands::ConstPtr& msg); /** * Callback for thrust/roll/pitch/yaw command (TKCommands) message reception. * @param msg Received thrust/roll/pitch/yaw command message. */ void tkCommandsCallback(const telekyb_msgs::TKCommands::ConstPtr& msg); }; #endif // ndef QUADROTOR_TK_HANDLER_H
8ecbfae53dfe4e2fdd30e9aa5c023406e3dd7a68
6257045fae2a0491f0abd524d4bc7d5ca20b6458
/dailycodingproblem/problem14/main.cpp
3ac966d40a8d75af414297025622f68088fd488b
[]
no_license
maixuanhan/programming-notes
e3c7629aa74fd3597e1c9938eab20e8f650ae4da
87a8615a232368c0118a90ec4c94ce172befdfb6
refs/heads/master
2020-03-29T18:19:59.546926
2018-12-28T02:39:12
2018-12-28T02:39:12
150,206,123
5
1
null
2018-10-15T10:07:37
2018-09-25T04:08:30
C
UTF-8
C++
false
false
486
cpp
#include <iostream> using namespace std; double EstimatePi() { int inner = 0, total = 0; for (double x = 0; x < 0.5; x += 0.0001) { for (double y = 0; y < 0.5; y += 0.0001) { if (4 * (x * x + y * y) <= 1) inner++; total++; } } return (int)(4000 * (double)inner / total) / (double)1000; } int main() { cout << "Estimated PI is " << EstimatePi() << endl; return 0; }
0348887d19b8b98f6123e6e7b6fd8403a3cc08d9
e950d3fdd8531bdacf8b47d6a90af632bb47893b
/Graphs/leetcode_1.cpp
8ae4a69d5a13e0c2ea48de98a9dc5635ba66ea6d
[]
no_license
sartajsehgal/DS-ALGO
c9e55abc8d9706276eb5c4b5727e4e4d60cbde00
415a5f2fa8931a72ef4e1f44e9b330f1d0d50539
refs/heads/master
2023-08-31T09:37:04.173420
2021-10-01T07:02:15
2021-10-01T07:02:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
466
cpp
#include <bits/stdc++.h> using namespace std; int main() { vector<int> arr(4,0); for(int i=0; i<4; i++) { cin>>arr[i]; } sort(arr.begin(), arr.end()); string str=""; if(arr[0]<=2 and arr[1]<=3 and arr[2]<=5) { if(arr[1]<=2 and arr[1]>arr[0]) { swap(arr[0],arr[1]); } if(arr[3]<=5 and arr[3]>arr[2]) { swap(arr[2],arr[3]); } str=str+to_string(arr[0])+to_string(arr[1])+":"+to_string(arr[2])+to_string(arr[3]); } cout<<str<<endl; }
4ad02b15176f88fc3cb93168e7e121e1c0c2ffc4
0248531d9c5e80b1d56e446bb4b9bfb897f98c8a
/hw1.1/ray.h
8cee908d1d847f0fb22e99fcf8e8c554f38f31b6
[]
no_license
slgu/raytracer
3640bd97e87a56547f3fe1dbd77958a3c643fcd3
a3469ef6f447402ead4d2000c9cb8888779fa822
refs/heads/master
2020-04-11T10:51:52.613915
2016-04-25T19:22:15
2016-04-25T19:22:15
51,312,809
0
0
null
null
null
null
UTF-8
C++
false
false
211
h
#pragma once #include "point.h" #include "vect.h" class ray { public: point origin; vect dir; ray(){ } ray(point _origin, vect _dir) { origin = _origin; dir = _dir; } };
adfee9416f492a0507902c8a911329fff90dae9b
aadf31061666fc9fd95583710a34d01fa571b09f
/tests/TestIdentifierReference.cpp
abd7ba53283cc74ba219a9a367f42992b4b006ae
[]
no_license
vladfridman/wisey
6198cf88387ea82175ea6e1734edb7f9f7cf20c6
9d0efcee32e05c7b8dc3dfd22293737324294fea
refs/heads/master
2022-04-14T08:00:42.743194
2020-03-12T14:22:45
2020-03-12T14:22:45
74,822,543
0
0
null
null
null
null
UTF-8
C++
false
false
4,262
cpp
// // TestIdentifierReference.cpp // runtests // // Created by Vladimir Fridman on 3/14/18. // Copyright © 2018 Vladimir Fridman. All rights reserved. // // Tests {@link IdentifierReference} // #include <gtest/gtest.h> #include <gmock/gmock.h> #include <llvm/IR/Constants.h> #include "MockMethodDescriptor.hpp" #include "MockObjectType.hpp" #include "MockOwnerVariable.hpp" #include "MockReferenceVariable.hpp" #include "MockType.hpp" #include "MockVariable.hpp" #include "TestPrefix.hpp" #include "IRGenerationContext.hpp" #include "IdentifierReference.hpp" #include "LLVMPrimitiveTypes.hpp" #include "PrimitiveTypes.hpp" #include "UndefinedType.hpp" using namespace llvm; using namespace std; using namespace wisey; using ::testing::_; using ::testing::Mock; using ::testing::NiceMock; using ::testing::Return; using ::testing::Test; struct IdentifierReferenceTest : public Test { IRGenerationContext mContext; LLVMContext& mLLVMContext; IdentifierReferenceTest() : mLLVMContext(mContext.getLLVMContext()) { TestPrefix::generateIR(mContext); mContext.getScopes().pushScope(); } ~IdentifierReferenceTest() { } }; TEST_F(IdentifierReferenceTest, generateIRTest) { NiceMock<MockVariable> mockVariable; ON_CALL(mockVariable, getName()).WillByDefault(Return("foo")); ON_CALL(mockVariable, getType()).WillByDefault(Return(PrimitiveTypes::INT)); mContext.getScopes().setVariable(mContext, &mockVariable); IdentifierReference identifierReference("foo", 0); EXPECT_CALL(mockVariable, generateIdentifierReferenceIR(_, _)).Times(1); EXPECT_CALL(mockVariable, generateIdentifierIR(_, _)).Times(0); EXPECT_CALL(mockVariable, generateAssignmentIR(_, _, _, _)).Times(0); identifierReference.generateIR(mContext, PrimitiveTypes::VOID); } TEST_F(IdentifierReferenceTest, undeclaredVariableDeathTest) { IdentifierReference identifierReference("foo", 5); std::stringstream buffer; std::streambuf* oldbuffer = std::cerr.rdbuf(buffer.rdbuf()); EXPECT_ANY_THROW(identifierReference.generateIR(mContext, PrimitiveTypes::VOID)); EXPECT_STREQ("/tmp/source.yz(5): Error: Undeclared variable 'foo'\n", buffer.str().c_str()); std::cerr.rdbuf(oldbuffer); } TEST_F(IdentifierReferenceTest, getTypeTest) { NiceMock<MockVariable> mockVariable; ON_CALL(mockVariable, getName()).WillByDefault(Return("foo")); ON_CALL(mockVariable, getType()).WillByDefault(Return(LLVMPrimitiveTypes::I32)); mContext.getScopes().setVariable(mContext, &mockVariable); IdentifierReference identifierReference("foo", 0); EXPECT_EQ(identifierReference.getType(mContext), LLVMPrimitiveTypes::I32->getPointerType(mContext, 0)); } TEST_F(IdentifierReferenceTest, getTypeNonNativeTypeTest) { NiceMock<MockVariable> mockVariable; ::Mock::AllowLeak(&mockVariable); ON_CALL(mockVariable, getName()).WillByDefault(Return("foo")); ON_CALL(mockVariable, getType()).WillByDefault(Return(PrimitiveTypes::INT)); mContext.getScopes().setVariable(mContext, &mockVariable); IdentifierReference identifierReference("foo", 5); std::stringstream buffer; std::streambuf* oldbuffer = std::cerr.rdbuf(buffer.rdbuf()); EXPECT_ANY_THROW(identifierReference.getType(mContext)); EXPECT_STREQ("/tmp/source.yz(5): Error: Can not take a reference of a non-native type variable\n", buffer.str().c_str()); std::cerr.rdbuf(oldbuffer); } TEST_F(IdentifierReferenceTest, getTypeForUndefinedTypeTest) { IdentifierReference identifierReference("wisey", 0); const IType* type = identifierReference.getType(mContext); EXPECT_EQ(UndefinedType::UNDEFINED, type); } TEST_F(IdentifierReferenceTest, isConstantTest) { IdentifierReference identifierReference("foo", 0); EXPECT_FALSE(identifierReference.isConstant()); } TEST_F(IdentifierReferenceTest, isAssignableTest) { IdentifierReference identifierReference("foo", 0); EXPECT_FALSE(identifierReference.isAssignable()); } TEST_F(IdentifierReferenceTest, printToStreamTest) { IdentifierReference identifierReference("foo", 0); stringstream stringStream; identifierReference.printToStream(mContext, stringStream); EXPECT_STREQ("::llvm::reference(foo)", stringStream.str().c_str()); }
0a01e38e15d00415e240d611fec15e4c088de6ee
79b918582cb6a091889515ce87ebbb1a8289fb48
/week3_opdracht2/main.cpp
1902fb7a5cd5d6721dbbbb571234323fabb13674
[]
no_license
RikHU/V1OOPC-assignments
5858164126b283d5729ec16b91e501c55bc16c60
3d7e40520dd3d6aff90c453984696073376e7280
refs/heads/master
2021-01-20T06:05:59.442191
2017-06-02T13:58:17
2017-06-02T13:58:17
89,844,680
0
0
null
null
null
null
UTF-8
C++
false
false
938
cpp
/* --------------------------- */ // Rik Ruttenberg // 1677636 // Jorn Bunk // Week 3 opdracht 2 /* --------------------------- */ #include "window.hpp" #include "line.hpp" #include "ball.hpp" #include "wall.hpp" int main(){ window w( vector(128, 64), 2); wall top( w, vector(0, 0), vector(127, 4), 2, {1, -1}); wall right( w, vector(123, 0), vector(127, 63), 2, {-1, 1}); wall bottom( w, vector(0, 59), vector(127, 63), 2, {1, -1}); wall left( w, vector(0, 0), vector(4, 63), 2, {-1, 1}); ball b( w, vector(50, 20), 9, vector(5, 2)); drawable * objects[] = { &b, &top, &left, &right , &bottom }; for(;;){ w.clear(); for( auto & p : objects ){ p->draw(); } wait_ms( 200 ); for( auto & p : objects ){ p->update(); } for( auto & p : objects ){ for( auto & other : objects ){ p->interact( *other ); } } } }
116a8c1db56a1b2bc5a2aa770aee5aab0e92f7eb
65e7c6b56ad89adf8f1d9a55f6cb411a93cff941
/Project1/Project1/1-6.cpp
6b78fa27de195ffe85a37edb093d311eca870662
[]
no_license
shunf4-assignment/shenjian-cpp-assignments
bfe77d24e5648843610728cb44f7b978e689f5cb
4f9abf67b77aaadec27278d08776f8a67517957a
refs/heads/master
2021-03-30T16:48:48.453937
2017-08-17T09:31:36
2017-08-17T09:31:36
71,679,542
3
1
null
null
null
null
GB18030
C++
false
false
500
cpp
/* 1652270 计算机2班 冯舜 */ /* 2016/09/21 23:09 Created */ /* 2016/09/21 22:31 Modified */ #include <iostream> using namespace std; int main() { int a, b, c; a = 10; b = 23; c = a + b; cout << "a+b="; cout << c; cout << endl; return 0; } /* 程序的运行过程: 定义a,b,c为整形变量,将10,23分别赋值给a,b,再计算a+b的结果赋值给c。之后输出"a+b="和计算结果c。 运行结果:在屏幕上输出: -a+b=33 并且换行,之后程序结束执行。*/
[ "shunf@顺子-LAPTOP" ]
shunf@顺子-LAPTOP
cf6f2a23cdbb142f2a812b330e452de063201594
c389099930e650355c88f97745ff33599dcf425f
/HackerRank/quicksort-2.cpp
a3e24c76d3240d8edcb11d24e967fa26e021dfe8
[]
no_license
mudit1993/Practice-Programs
51b5e4baeaf7507c5cfb246dd37a8adf2c2b24d7
3bbd6eb6d6fcd26e18cf58ea4aa22f6c02dd2f49
refs/heads/master
2021-07-16T07:24:05.739834
2020-06-27T15:25:01
2020-06-27T15:25:01
179,814,263
1
0
null
null
null
null
UTF-8
C++
false
false
1,083
cpp
#include <bits/stdc++.h> using namespace std; void quickSort(vector <int> &arr) { // Complete this function int size = arr.size(); if (size < 2) { return; } vector <int> leftArray; vector <int> rightArray; int pivot = arr[0]; for (int i = 1; i < size; ++i) { if (arr[i] <= pivot) { leftArray.push_back(arr[i]); } else { rightArray.push_back(arr[i]); } } quickSort(leftArray); quickSort(rightArray); int index = 0; // Copy left array back into the original array for (unsigned int l = 0; l < leftArray.size(); ++l) { arr[index++] = leftArray[l]; cout << leftArray[l] << " "; } // Copy the pivot between left & right arrays arr[index++] = pivot; cout << pivot << " "; // Copy right array back into the original array for (unsigned int r = 0; r < rightArray.size(); ++r) { arr[index++] = rightArray[r]; cout << rightArray[r] << " "; } cout << endl; } int main() { int n; cin >> n; vector <int> arr(n); for(int i = 0; i < (int)n; ++i) { cin >> arr[i]; } quickSort(arr); return 0; }
a28e033bf2e42e2e3a56be9491b3c19f985f5406
39fe085377f3c7327e82d92dcb38083d039d8447
/core/sql/refresh/RuJournal.h
79b93a613b52b06e75ea27e72e4103edad59fcbd
[ "Apache-2.0" ]
permissive
naveenmahadevuni/incubator-trafodion
0da8d4c7d13a47d3247f260b4e67618c0fae1539
ed24b19436530b2c214e4bf73280bc8e3f419669
refs/heads/master
2021-01-22T04:40:52.402291
2015-07-16T00:02:50
2015-07-16T00:02:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,550
h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // (C) Copyright 1999-2015 Hewlett-Packard Development Company, L.P. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // @@@ END COPYRIGHT @@@ // **********************************************************************/ #ifndef _RU_JOURNAL_H_ #define _RU_JOURNAL_H_ /* -*-C++-*- ****************************************************************************** * * File: RuJournal.h * Description: Message file mechanism of the REFRESH utility * * * Created: 03/23/2000 * Language: C++ * * * ****************************************************************************** */ #include "refresh.h" #include "dsstring.h" #include "dslog.h" #include "dserror.h" //--------------------------------------------------------------------------// // CRUJournal // // This class is an abstraction for the REFRESH utility's output file. //--------------------------------------------------------------------------// class REFRESH_LIB_CLASS CRUJournal { public: CRUJournal(const CDSString& fname); ~CRUJournal(); public: void Open(); void Close(); public: // the isError flag is used to indicate whether this message corresponds to an error or not void LogMessage(const CDSString& msg, BOOL printRowNum = FALSE, BOOL isError = FALSE); void LogError(CDSException &ex); // dump error/messages to EMS void DumpToEMS (const char* eventMsg, BOOL isAnError); // Control the current time printout void SetTimePrint(BOOL flag) { logfile_.SetTimePrint(flag); } private: //-- Prevent copying CRUJournal(const CRUJournal &other); CRUJournal &operator = (const CRUJournal &other); private: CDSString fname_; CDSLogfile logfile_; // Print numbering counter Int32 rowNum_; // log to ems only unless the user specifies an OUTFILE option // in which case the specified file will also be used to log // refresh messages BOOL emsOnlyLog_; }; #endif
ba26a8f705a2f55123102e28fd914916d5cb9532
b418f117b6cb2a620f9da5f60611c4ef5b9fb958
/PythonBoostObj.cpp
d7edefe96f7a77fd1c8eb4068340f7c6d3ae51d0
[]
no_license
Nobu19800/OgreRTC
62b45b141dbf961e772a060c2fd543c417a9ee66
f7252f8737eccefcf24ce53faaa43ed748afe876
refs/heads/master
2021-01-18T21:24:33.839561
2017-03-21T07:25:57
2017-03-21T07:25:57
22,933,737
0
1
null
null
null
null
UTF-8
C++
false
false
2,150
cpp
/*! * @file PythonBoostObj.cpp * @brief Python関連の操作をするためのクラス * */ #include "PythonBoostObj.h" namespace bpy = boost::python; /** *@brief RTCを実行するスレッドのクラスのコンストラクタ * @param fn ファイル名 * @param p Python埋め込み管理クラス */ PBThread::PBThread(std::string fn, PyObj *p) { fname = fn; po = p; fin = false; } /** *@brief スレッド実行関数 * @return */ int PBThread::svc() { //PyGILState_STATE gilstate; bpy::object test2 = po->global_ns["RTCStart"]; //gilstate = PyGILState_Ensure(); try { test2(fname.c_str()); } catch (const bpy::error_already_set&) { PyErr_Print(); } catch (...) { } //PyGILState_Release(gilstate); fin = true; return 0; } /** *@brief Python埋め込み管理クラスのコンストラクタ */ PyObj::PyObj() { Exec = false; Py_Initialize(); //PyEval_InitThreads(); /*PyThreadState *py_tstate = NULL; PyEval_InitThreads(); py_tstate = PyGILState_GetThisThreadState(); PyEval_ReleaseThread(py_tstate);*/ global_ns = bpy::import("__main__").attr("__dict__"); bpy::exec ( "from CppExport import *\n" , global_ns , global_ns ); } /** *@brief Python埋め込み管理クラスのデストラクタ */ PyObj::~PyObj() { //PyGILState_Ensure(); Py_Finalize(); } /** *@brief Pythonのファイル実行の関数 * @param fname ファイル名 */ void PyObj::Script(const char *fname) { try { obj = bpy::exec_file ( fname, global_ns, global_ns ); } catch (...) { } } /** *@brief Pythonの関数オブジェクト取得の関数 * @param fname 関数名 */ bpy::object PyObj::getFunc(const char *fname) { return global_ns[fname]; } /** *@brief Pythonの関数実行の関数 * @param fname 関数名 */ void PyObj::setFunc(const char *fname) { PyGILState_STATE gilstate; gilstate = PyGILState_Ensure(); bpy::object pfunc = getFunc(fname); try { pfunc(); } catch(const bpy::error_already_set&) { PyErr_Print(); } catch (...) { } PyGILState_Release(gilstate); }
0c0b07aeb39c6dbc5ca9ebc4c8eaa160d4aeddb2
7fc2b5ba711ebbe79a0879b40f6e5ffe9e302b48
/DirectX9Framework/src/VertexShader.h
194361b5820a634089707fc51450f4aac5278034
[]
no_license
shader-g13/shader_framework_from_directx9
4f9aefe0be52ba08ac049073180f31ec20e54457
6dae7e4934be4f6aca3fa9ce9b6c1a7b6672e980
refs/heads/master
2021-01-10T04:20:13.690022
2015-11-30T07:12:43
2015-11-30T07:12:43
43,046,255
0
0
null
2015-09-24T07:31:06
2015-09-24T05:13:11
Logos
SHIFT_JIS
C++
false
false
1,195
h
/// @file vertex_shader.h /// @brief 頂点シェーダ /// @date 2015/02/27 /// @author syuki nishida #pragma once #ifndef SNLIB_VERTEX_SHADER_H_ #define SNLIB_VERTEX_SHADER_H_ #include "ShaderBase.h" /// @namespace snlib namespace snlib { /// @class VertexShader /// @brief 頂点シェーダ class VertexShader : public ShaderBase { public: /// @fn VertexShader /// @brief コンストラクタ /// @param[in] device デバイス /// @param[in] shader_name シェーダファイル名 VertexShader(LPDIRECT3DDEVICE9 device, const char* shader_name) : ShaderBase(shader_name), vertex_shader_(nullptr) { HRESULT ret = 0; ret = device->CreateVertexShader(code_, &vertex_shader_); _ASSERT_EXPR(SUCCEEDED(ret), L"create vertexshader failed"); } /// @fn ~VertexShader /// @brief デストラクタ virtual ~VertexShader() { vertex_shader_->Release(); } /// @fn SetVertexShader /// @brief シェーダ設定 /// @param[in] device デバイス void SetVertexShader(LPDIRECT3DDEVICE9 device) { device->SetVertexShader(vertex_shader_); } protected: private: LPDIRECT3DVERTEXSHADER9 vertex_shader_; }; } // namespace snlib #endif // SNLIB_VERTEX_SHADER_H_ //EOF
1f1f4c877db93d70d14e0c2830e26d6d861c50f0
9fe8defd8579cc805da43db25b5098c123c81e34
/contest/aaa.cpp
0404820d3e69fad3fc3b9bc6ecffa7e373f01f65
[]
no_license
Kanonahmed/ACM-Programming
a9ea92b3e6031a6a7c022d6359110ba0ff43ecb6
7ebb662e92cb334ecdf519278cdba39af9a1f67c
refs/heads/master
2021-07-05T23:57:16.330893
2017-09-30T19:45:47
2017-09-30T19:45:47
105,396,479
0
0
null
null
null
null
UTF-8
C++
false
false
236
cpp
#include<bits/stdc++.h> using namespace std; int main() { string s[2]; cin>>s[0]>>s[1]; if(s[0].compare(s[1])==0) { s[0]=s[1]; cout<<s[0]; } else {s[0]="kan";cout<<s[0];} return 0; }
439b58beabbaa44cc949358d0b39bf70ce0c01c7
b1c1f3e090305060ae2b58038cd212dc69d809ab
/MonsterTamer/Combatant.h
4680e9b2bfc0849af31e99085dffec719dada526
[]
no_license
Benner727/MonsterTamer
fa3bf43f8b8f909fa0f93abbd50610eba0b53762
1b1ac740c607371962087d0bc8cd9840d5dd20bb
refs/heads/master
2022-01-26T23:06:41.585984
2019-05-19T15:12:31
2019-05-19T15:12:31
187,492,824
0
0
null
null
null
null
UTF-8
C++
false
false
1,161
h
#pragma once #include "Tamer.h" #include "Fighter.h" class Combatant { public: Combatant(std::weak_ptr<Tamer> tamer); private: std::weak_ptr<Tamer> mTamer; std::vector<std::shared_ptr<Fighter>> mParty; public: std::string Name() const; std::weak_ptr<Inventory> Inventory() const; const std::vector<std::shared_ptr<Fighter>> Party(); std::weak_ptr<Fighter> Front() const { return mParty.front(); } void RemoveFront(); void SwapFront(int slot); std::weak_ptr<Fighter> GetSlot(int slot) const { return mParty[slot]; } bool Full() const { return mTamer.lock()->GetParty().lock()->Full(); } bool Empty() const { return mTamer.lock()->GetParty().lock()->Empty(); } bool LastMonster() const { return (mParty.size() < 2); } void AddMonster(std::weak_ptr<Monster> monster); void DiscoverMonster(int index) { mTamer.lock()->AddMonsterSeen(index); } void AddMonstersTamed() { mTamer.lock()->AddMonstersTamed(); } void AddMonstersKilled() { mTamer.lock()->AddMonstersKilled(); } void AddTamersBeaten() { mTamer.lock()->AddTamersBeaten(); } std::weak_ptr<Monster> FrontMonster() const { return mTamer.lock()->GetParty().lock()->Front(); } };
8e010cafe8a60ca758114e1d698976f22758354b
bb00cccade713f4ce93466d4f2ec745c16e6a824
/png.cc
5fb1c539310e80ff4df14cfb641e9bf089359ea5
[]
no_license
frammnm/rayTracing
9303ec97708e6689b33517ebfb9731d3ca39a26a
34a4c47a004ec951566f6d44d8c103be2b72ffa5
refs/heads/main
2023-06-01T08:02:43.219762
2021-06-13T16:25:53
2021-06-13T16:25:53
368,279,902
0
0
null
null
null
null
UTF-8
C++
false
false
3,287
cc
#include "png.h" #include <iostream> #include <cstdio> #include <png.h> using namespace std; PNG::PNG(int width, int height) : w(width), h(height), px(3*width*height,0.0f) { } PNG::PNG(const string& name) { load(name); } void PNG::set(int i, int j, float r, float g, float b) { px[3*(w*j + i) ] = r; px[3*(w*j + i) +1] = g; px[3*(w*j + i) +2] = b; } void PNG::load(const string& name) { w = h = 0; FILE* f = fopen(name.c_str(),"rb"); if (!f) return; png_structp png = png_create_read_struct(PNG_LIBPNG_VER_STRING,0,0,0); if (!png) { fclose(f); return; } png_infop info = png_create_info_struct(png); if (!info) { png_destroy_read_struct(&png,0,0); fclose(f); return; } png_init_io(png,f); png_read_info(png,info); w = png_get_image_width(png,info); h = png_get_image_height(png,info); uint32_t mode = png_get_color_type(png,info); uint32_t bits = png_get_bit_depth(png,info); switch(mode) { case PNG_COLOR_TYPE_PALETTE: png_set_palette_to_rgb(png); break; case PNG_COLOR_TYPE_GRAY: case PNG_COLOR_TYPE_GRAY_ALPHA: if (bits<8) png_set_expand_gray_1_2_4_to_8(png); png_set_gray_to_rgb(png); break; } if (bits==16) #if PNG_LIBPNG_VER >= 10504 png_set_scale_16(png); #else png_set_strip_16(png); #endif if (bits<8) png_set_packing(png); if (png_get_valid(png,info,PNG_INFO_tRNS)) png_set_tRNS_to_alpha(png); png_read_update_info(png,info); uint32_t chns = png_get_channels(png,info); uint32_t rb = png_get_rowbytes(png,info); px.resize(3*w*h); png_byte* buffer = new png_byte[rb]; const float ik = 1.0/255.0; for (int row=0; row<h; row++) { png_read_row(png,buffer,0); png_byte* src = buffer; float* dst = &px[3*row*w]; for (int col=0; col<w; col++) { dst[0] = ik*src[0]; dst[1] = ik*src[1]; dst[2] = ik*src[2]; src += chns; dst += 3; } } png_read_end(png,0); png_destroy_read_struct(&png,&info,0); fclose(f); } void PNG::save(const string& name) const { /* create file */ FILE *fp = fopen(name.c_str(), "wb"); if (!fp) return; /* initialize stuff */ png_structp png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); if (!png_ptr) return; png_infop info_ptr = png_create_info_struct(png_ptr); if (!info_ptr) return; if (setjmp(png_jmpbuf(png_ptr))) return; png_init_io(png_ptr, fp); /* write header */ if (setjmp(png_jmpbuf(png_ptr))) return; png_set_IHDR(png_ptr, info_ptr, w, h, 8, PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); png_write_info(png_ptr, info_ptr); /* write bytes */ if (setjmp(png_jmpbuf(png_ptr))) return; png_bytep row = (png_bytep) malloc(3 * w * sizeof(png_byte)); for (int i=0; i<h; i++) { for (int d=0;d<w*3;d++) { float pixel = px[i*w*3+d]; row[d]=(pixel<0.0f)?0.0f:((pixel>1.0f)?255.0f:(255.0f*pixel)); } png_write_row(png_ptr, row); } free(row); /* end write */ if (setjmp(png_jmpbuf(png_ptr))) return; png_write_end(png_ptr, NULL); fclose(fp); }
8a578b99b973c80844c46ecee49d0d5aec5b4c00
31ed2bd9a798ca6523df900455a9768c7ab4dc75
/src/main.cpp
1fbeec43c8405b28f564e0ed67498e7b038fbaab
[ "MIT" ]
permissive
jessyHong/WasmHash
477dfef22db0f9865e69d37458d8e18b3579dc41
d46a90f084e99ba3474d5291a891de22153a8c59
refs/heads/master
2022-04-10T09:22:37.431908
2020-03-29T01:26:26
2020-03-29T01:26:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,224
cpp
/* * main.cpp * * Created on: Mar 14, 2020 * Author: bpajk */ /** * # Compiled with emscripten 1.39.8 * * # Development build * em++ main.cpp md5.cpp sha1.cpp sha2.cpp -o ../docs/main.js -s "EXPORTED_FUNCTIONS=['_md5_hash_from_string', '_md5_hash_from_buffer', '_sha1_hash_from_string', '_sha1_hash_from_buffer', '_sha224_hash_from_string', '_sha224_hash_from_buffer', '_sha256_hash_from_string', '_sha256_hash_from_buffer', '_sha384_hash_from_string', '_sha384_hash_from_buffer', '_sha512_hash_from_string', '_sha512_hash_from_buffer']" -s "EXTRA_EXPORTED_RUNTIME_METHODS=['ccall','cwrap']" -s ALLOW_MEMORY_GROWTH=1 * * # Production build * # NOTE: optimization flags: "--closure 1" breaks the module * em++ main.cpp md5.cpp sha1.cpp sha2.cpp -o ../docs/main.js -s "EXPORTED_FUNCTIONS=['_md5_hash_from_string', '_md5_hash_from_buffer', '_sha1_hash_from_string', '_sha1_hash_from_buffer', '_sha224_hash_from_string', '_sha224_hash_from_buffer', '_sha256_hash_from_string', '_sha256_hash_from_buffer', '_sha384_hash_from_string', '_sha384_hash_from_buffer', '_sha512_hash_from_string', '_sha512_hash_from_buffer']" -s "EXTRA_EXPORTED_RUNTIME_METHODS=['ccall','cwrap']" -s ALLOW_MEMORY_GROWTH=1 -O3 * */ #include <iostream> #include "md5.h" #include "sha1.h" #include "sha2.h" using namespace std; extern "C" { // Functions to be exported to WebAssembly are in this block char* md5_hash_from_string(char* inputString){ //get the md5 hash as std::string std::string hash = md5(inputString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } char* md5_hash_from_buffer(unsigned char* buffer, unsigned long bufferSize){ //cast the buffer from unsigned char to const char std::string bufferString(reinterpret_cast<const char*>(buffer), bufferSize); //get the md5 hash as std::string std::string hash = md5(bufferString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } char* sha1_hash_from_string(char* inputString){ //get the md5 hash as std::string std::string hash = sha1(inputString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } char* sha1_hash_from_buffer(unsigned char* buffer, unsigned long bufferSize){ //cast the buffer from unsigned char to const char std::string bufferString(reinterpret_cast<const char*>(buffer), bufferSize); //get the md5 hash as std::string std::string hash = sha1(bufferString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } char* sha224_hash_from_string(char* inputString){ //get the md5 hash as std::string std::string hash = sha224(inputString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } char* sha224_hash_from_buffer(unsigned char* buffer, unsigned long bufferSize){ //cast the buffer from unsigned char to const char std::string bufferString(reinterpret_cast<const char*>(buffer), bufferSize); //get the md5 hash as std::string std::string hash = sha224(bufferString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } char* sha256_hash_from_string(char* inputString){ //get the md5 hash as std::string std::string hash = sha256(inputString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } char* sha256_hash_from_buffer(unsigned char* buffer, unsigned long bufferSize){ //cast the buffer from unsigned char to const char std::string bufferString(reinterpret_cast<const char*>(buffer), bufferSize); //get the md5 hash as std::string std::string hash = sha256(bufferString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } char* sha384_hash_from_string(char* inputString){ //get the md5 hash as std::string std::string hash = sha384(inputString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } char* sha384_hash_from_buffer(unsigned char* buffer, unsigned long bufferSize){ //cast the buffer from unsigned char to const char std::string bufferString(reinterpret_cast<const char*>(buffer), bufferSize); //get the md5 hash as std::string std::string hash = sha384(bufferString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } char* sha512_hash_from_string(char* inputString){ //get the md5 hash as std::string std::string hash = sha512(inputString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } char* sha512_hash_from_buffer(unsigned char* buffer, unsigned long bufferSize){ //cast the buffer from unsigned char to const char std::string bufferString(reinterpret_cast<const char*>(buffer), bufferSize); //get the md5 hash as std::string std::string hash = sha512(bufferString); //create a new char variable in he heap char * outputHash = new char [hash.length()+1]; //copy the contents of the hash to the outputString std::strcpy (outputHash, hash.c_str()); //return the hash as char* return outputHash; } } int main() { // generate a test string std::string generatedString(5, 'A'); // AAAAA char* testString = new char[generatedString.size()+1]; std::strcpy(testString, generatedString.c_str()); //test char buffer unsigned char testBuffer[5] = {65,65,65,65,65}; // AAAAA cout << "md5_hash_from_string: " << md5_hash_from_string(testString) << endl; cout << "md5_hash_from_buffer: " << md5_hash_from_buffer(testBuffer, sizeof(testBuffer)) << endl; cout << "sha1_hash_from_string: " << sha1_hash_from_string(testString) << endl; cout << "sha1_hash_from_buffer: " << sha1_hash_from_buffer(testBuffer, sizeof(testBuffer)) << endl; cout << "sha224_hash_from_string: " << sha224_hash_from_string(testString) << endl; cout << "sha224_hash_from_buffer: " << sha224_hash_from_buffer(testBuffer, sizeof(testBuffer)) << endl; cout << "sha256_hash_from_string: " << sha256_hash_from_string(testString) << endl; cout << "sha256_hash_from_buffer: " << sha256_hash_from_buffer(testBuffer, sizeof(testBuffer)) << endl; cout << "sha384_hash_from_string: " << sha384_hash_from_string(testString) << endl; cout << "sha384_hash_from_buffer: " << sha384_hash_from_buffer(testBuffer, sizeof(testBuffer)) << endl; cout << "sha512_hash_from_string: " << sha512_hash_from_string(testString) << endl; cout << "sha512_hash_from_buffer: " << sha512_hash_from_buffer(testBuffer, sizeof(testBuffer)) << endl; return 0; }
64092c554ccdbd092169ab3c61707847f90e20a7
a0604bbb76abbb42cf83e99f673134c80397b92b
/fldserver/base/nix/xdg_util.h
8db9b8cd85692680d0baad7446fd52da89cf7a97
[ "BSD-3-Clause" ]
permissive
Hussam-Turjman/FLDServer
816910da39b6780cfd540fa1e79c84a03c57a488
ccc6e98d105cfffbf44bfd0a49ee5dcaf47e9ddb
refs/heads/master
2022-07-29T20:59:28.954301
2022-07-03T12:02:42
2022-07-03T12:02:42
461,034,667
2
0
null
null
null
null
UTF-8
C++
false
false
3,040
h
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_NIX_XDG_UTIL_H_ #define BASE_NIX_XDG_UTIL_H_ // XDG refers to http://en.wikipedia.org/wiki/Freedesktop.org . // This file contains utilities found across free desktop environments. // // TODO(brettw) this file should be in app/x11, but is currently used by // net. We should have a net API to allow the embedder to specify the behavior // that it uses XDG for, and then move this file. #include "fldserver/fldserver_config.h" #ifdef nix #error asdf #endif namespace base { class Environment; class FilePath; namespace nix { // The default XDG config directory name. CORE_EXPORT extern const char kDotConfigDir[]; // The XDG config directory environment variable. CORE_EXPORT extern const char kXdgConfigHomeEnvVar[]; // The XDG current desktop environment variable. CORE_EXPORT extern const char kXdgCurrentDesktopEnvVar[]; // The XDG session type environment variable. CORE_EXPORT extern const char kXdgSessionTypeEnvVar[]; // Utility function for getting XDG directories. // |env_name| is the name of an environment variable that we want to use to get // a directory path. |fallback_dir| is the directory relative to $HOME that we // use if |env_name| cannot be found or is empty. |fallback_dir| may be NULL. // Examples of |env_name| are XDG_CONFIG_HOME and XDG_DATA_HOME. CORE_EXPORT FilePath GetXDGDirectory(Environment* env, const char* env_name, const char* fallback_dir); // Wrapper around xdg_user_dir_lookup() from src/base/third_party/xdg-user-dirs // This looks up "well known" user directories like the desktop and music // folder. Examples of |dir_name| are DESKTOP and MUSIC. CORE_EXPORT FilePath GetXDGUserDirectory(const char* dir_name, const char* fallback_dir); enum DesktopEnvironment { DESKTOP_ENVIRONMENT_OTHER, DESKTOP_ENVIRONMENT_CINNAMON, DESKTOP_ENVIRONMENT_GNOME, // KDE3, KDE4 and KDE5 are sufficiently different that we count // them as different desktop environments here. DESKTOP_ENVIRONMENT_KDE3, DESKTOP_ENVIRONMENT_KDE4, DESKTOP_ENVIRONMENT_KDE5, DESKTOP_ENVIRONMENT_PANTHEON, DESKTOP_ENVIRONMENT_UNITY, DESKTOP_ENVIRONMENT_XFCE, }; // Return an entry from the DesktopEnvironment enum with a best guess // of which desktop environment we're using. We use this to know when // to attempt to use preferences from the desktop environment -- // proxy settings, password manager, etc. CORE_EXPORT DesktopEnvironment GetDesktopEnvironment(Environment* env); // Return a string representation of the given desktop environment. // May return NULL in the case of DESKTOP_ENVIRONMENT_OTHER. CORE_EXPORT const char* GetDesktopEnvironmentName(DesktopEnvironment env); // Convenience wrapper that calls GetDesktopEnvironment() first. CORE_EXPORT const char* GetDesktopEnvironmentName(Environment* env); } // namespace nix } // namespace base #endif // BASE_NIX_XDG_UTIL_H_
e1710c26aa75f6076bdbc7a150b23799bb776547
eec48c4b68c2c29f7c5d5253ec1c69d49515b8c2
/Old/Chef and Balls/Chef and Balls/Chef and Balls.cpp
fd92996dc812ff6e97d0aec9cc6a362f6b5227a6
[]
no_license
nadarb/Competitive-Coding
e3465f8582f55ee5916a876fe82160ecffe920b3
a550734621780c4e4a9f4d427e09750b1386bd25
refs/heads/master
2021-06-11T10:15:15.927406
2016-12-23T15:14:46
2016-12-23T15:14:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
499
cpp
// Chef and Balls.cpp : Defines the entry point for the console application. // https://www.codechef.com/MAY16/problems/CHBLLS #include <stdio.h> int main() { int flag; printf("1\n"); printf("3 2 5 5\n"); printf("3 3 3 4\n"); fflush(stdout); scanf("%d", &flag); printf("2\n"); switch (flag) { case 0: printf("1\n"); break; case 1: printf("2\n"); break; case -1: printf("4\n"); break; case 2: printf("5\n"); break; case -2: printf("3\n"); break; } return 0; }
[ "balaraveen nadar" ]
balaraveen nadar
6bb212fd6fa414eea3735921eb9daacb41bd9765
55b6ea69cef65682158432ab2372fd55004d1165
/abc/166/a.cpp
075de7f26b462c0c560fc685edc3b8b451184e19
[]
no_license
cohhei/code
f7a9e46c23732f455c5db04103e242f6a6c35a82
ac7f35bbcae29a676baa73fb0156f96f73e11a3e
refs/heads/master
2022-11-10T23:48:15.511545
2020-06-29T00:07:11
2020-06-29T00:07:11
255,014,172
0
0
null
null
null
null
UTF-8
C++
false
false
272
cpp
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; int main() { string s; cin >> s; if (s == "ABC") cout << "ARC" << endl; else cout << "ABC" << endl; return 0; }
d624400446128abfc16779722b11e24b994e6cc7
32f8a5ad85b87cbf7bd031a09164a50725f49847
/Source/LuminoCore/Include/Lumino/Base/Memory.h
f12af7dd3b006f9c98379e3a38181f54fcb72521
[ "MIT" ]
permissive
mediabuff/Lumino
9787c588bac3a983c79199cbc168a919bb17a0f6
684be8f25631a104f5236e6131c0fcb84df8bb57
refs/heads/master
2021-05-14T17:04:46.553426
2017-12-28T14:33:47
2017-12-28T14:33:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,303
h
/* * new に失敗した時は必ず OutOfMemoryException 例外を発生させます。 * 戻り値を NULL チェックする必要はありません。 * 使い方は普通の new と同じです。 * 例) * A* a = LN_NEW A(1, 2); */ #pragma once LN_NAMESPACE_BEGIN enum MemoryFlag { LN_MM_NORMAL_BLOCK = 1, }; namespace detail { using NewCallback = void(*)(void* ptr, size_t size); using DeleteCallback = void(*)(void* ptr); void setNewCallback(NewCallback callback); void setDeleteCallback(DeleteCallback callback); } // namespace detail LN_NAMESPACE_END //void* LN_CDECL operator new ( size_t size ); //void LN_CDECL operator delete ( void* ptr ); void* LN_CDECL operator new (size_t size, ::ln::MemoryFlag flag); void* LN_CDECL operator new[](size_t size, ::ln::MemoryFlag flag); void LN_CDECL operator delete (void* ptr, ::ln::MemoryFlag flag); void LN_CDECL operator delete[](void* ptr, ::ln::MemoryFlag flag); #ifdef LN_OS_WIN32 #include <crtdbg.h> // TODO #define LN_NEW new(_NORMAL_BLOCK,__FILE__,__LINE__) #else #define LN_NEW new(::ln::LN_MM_NORMAL_BLOCK) #endif #define LN_OPERATOR_NEW(size) ::operator new(size,::ln:: LN_MM_NORMAL_BLOCK) #define LN_OPERATOR_DELETE(ptr) { ::operator delete(ptr); (ptr) = 0; }
4fe55af664bd4f3c67b9cc0b22349e8769dd2d7c
75f1d33b00ab3c74667738275dd3ce8ada98ee8a
/lu/semester2/algorithms/03_komanda/komanda.cpp
d3bf7887be59261cdb7af77e6ef37b6b002f84da
[]
no_license
avjgit/notes4
d219e430baa3b849602e7c92326d463ad74e210f
d80f6db0a09d25e35de3b75c032c530c2e6ddf1e
refs/heads/master
2016-09-03T06:58:22.334972
2014-01-29T22:22:23
2014-01-29T22:22:23
7,654,006
2
0
null
null
null
null
UTF-8
C++
false
false
11,191
cpp
// Andrejs Jurcenoks // aj05044 // Datu strukturas un pamatalgoritmi I // PD2 // https://github.com/avjgit/notes4/tree/master/lu/semester2/algorithms/03_komanda #include "stdio.h" #include "stdlib.h" struct node { long long self, left_nr, right_nr, level; node *next, *previous, *left, *right; node *tree_stack_next, *level_stack_next; }; class t_stack { private: node *last, *outstack, *empty; public: t_stack() { empty = new node; empty->self = 0; empty->tree_stack_next = NULL; empty->level_stack_next = NULL; last = empty; outstack = empty; } void put(node* node_in) { node_in->tree_stack_next = last; last = node_in; // last->tree_stack_next = empty; } node* pop() { outstack = last; last = last->tree_stack_next; return outstack; } bool is_empty() { return last->tree_stack_next == NULL; } }; class l_stack { private: node *last, *outstack, *empty; public: l_stack() { empty = new node; empty->self = 0; empty->tree_stack_next = NULL; empty->level_stack_next = NULL; last = empty; outstack = empty; } void put(node* node_in) { node_in->level_stack_next = last; last = node_in; } node* pop() { outstack = last; last = last->level_stack_next; return outstack; } bool is_empty() { return last->level_stack_next == NULL; } }; class queue { private: node *first, *last, *dequeue, *empty; public: queue() { empty = new node; empty->self = 0; empty->previous = NULL; first = empty; last = empty; } void in (node* node_in) { // fprintf(stdout, "---------- in with %lld\n", node_in->self); // fprintf(stdout, "empty is %lld\n", empty->self); if (first->self == 0) { first = node_in; last = node_in; // fprintf(stdout, "initializing first with %lld\n", first->self); // fprintf(stdout, "initializing last with %lld\n", last->self); } else { // fprintf(stdout, "last was %lld\n", last->self); // fprintf(stdout, "first is %lld\n", first->self); last->previous = node_in; last = last->previous; // fprintf(stdout, "now last is %lld\n", last->self); // fprintf(stdout, "first is still %lld\n", first->self); } } node* out() { dequeue = first; // fprintf(stdout, "dequeueing, first is %lld\n", first->self); // fprintf(stdout, "dequeueing, last is %lld\n", last->self); // fprintf(stdout, "dequeueing, %lld is to dequeue\n", dequeue->self); // fprintf(stdout, "dequeueing, empty is %lld\n", empty->self); // if (first->previous == NULL) if (first == last) { // fprintf(stdout, "taking very last element\n"); first = empty; last = empty; } else { // fprintf(stdout, "taking %lld out of queue\n", first->self); first = first->previous; } // fprintf(stdout, "after dequeueing, first is %lld\n", first->self); // fprintf(stdout, "after dequeueing, last is %lld\n", last->self); // fprintf(stdout, "dequeueing, %lld is to dequeue\n", dequeue->self); return dequeue; } bool is_empty() { if (first->self == 0) { // fprintf(stdout, "queue is empty!\n"); return true; } else { // fprintf(stdout, "queue has: %lld\n", first->self); return false; } } }; int main() { FILE* in = fopen("komanda.in", "r"); FILE* out = fopen("komanda.out", "w+"); node* first = NULL; node* last = NULL; node* current = NULL; ///////////////////////////////////////////////// read input long long self, left, right; while (!feof(in)) { fscanf (in, "%lld %lld %lld", &self, &left, &right); if (self == 0) { break; } current = new node; current->self = self; current->left_nr = left; current->right_nr = right; current->next = NULL; current->previous = NULL; current->left = NULL; current->right = NULL; current->level = -1; current->tree_stack_next = NULL; current->level_stack_next = NULL; if (first == NULL) { first = current; last = current; } else { last->next = current; last = current; } } ///////////////////////////////////////////////// fill in childs and parent for(node *parent = first; parent != NULL; parent = parent->next) { // fprintf(stdout,"-------- in with parent %lld\n", parent->self); // fprintf(stdout,"left is %lld\n", parent->left_nr); // fprintf(stdout,"right is %lld\n", parent->right_nr); if (parent->left_nr != 0) { for(node *child = first; child != NULL; child = child->next) { // fprintf(stdout,"checking child for left: %lld\n", child->self); if (child->self == parent->left_nr) { // fprintf(stdout,"found!\n"); parent->left = child; break; } } } // if (parent->left == NULL) // { // current = new node; // current->self = parent->left_nr; // current->left = NULL; // current->right = NULL; // parent->left = current; // } if (parent->right_nr != 0) { for(node *child = first; child != NULL; child = child->next) { // fprintf(stdout,"checking child for right: %lld\n", child->self); if (child->self == parent->right_nr) { // fprintf(stdout,"found!\n"); parent->right = child; break; } } } // if (parent->right == NULL) // { // current = new node; // current->self = parent->right_nr; // current->left = NULL; // current->right = NULL; // parent->right = current; // } } node *maybe_parent = NULL; node *root = NULL; for(node *child = first; child != NULL; child = child->next) { // fprintf(stdout,"-------- in with child %lld\n", child->self); for(maybe_parent = first; maybe_parent != NULL; maybe_parent = maybe_parent->next) { // fprintf(stdout,"checking if parent %lld\n", maybe_parent->self); if (maybe_parent->left_nr == child->self|| maybe_parent->right_nr == child->self) { break; } } if (maybe_parent == NULL) { // fprintf(stdout, "inside root\n"); root = child; break; } } // fprintf(stdout, "root is %lld\n", root->self); ///////////////////////////////////////////////// traversal queue q; t_stack tree_stack; root->level = 0; q.in(root); node *lefttest, *righttest; while (!q.is_empty()) { // fprintf(stdout, "######## loop starts\n"); current = q.out(); // fprintf(stdout, "took: %lld\n", current->self); tree_stack.put(current); if (current->left != NULL){ // fprintf(stdout, "enqueueing left, : %lld\n", lefttest->self); lefttest = current->left; lefttest->level = current->level + 1; q.in(current->left); } if (current->right != NULL){ // fprintf(stdout, "enqueueing right, : %lld\n", righttest->self); righttest = current->right; righttest->level = current->level + 1; q.in(current->right); } } // return 0; ///////////////////////////////////////////////// output // node *left_node = NULL; // node *right_node = NULL; // long long left_node_self, right_node_self; // testoutput1 - just list // for(current = first; current != NULL; current = current->next) // { // // fprintf(stdout, "current: %lld\n", current->self); // left_node = current->left; // left_node_self = left_node->self; // right_node = current->right; // right_node_self = right_node->self; // fprintf( // out, // "%lld: %lld %lld\n", // current->self, // left_node_self, // right_node_self // ); // } //testoutput2 - levels // while (!tree_stack.is_empty()) // { // current = tree_stack.pop(); // fprintf(out, "%lld: %lld\n", current->level, current->self); // } // real output node *levelnode; l_stack level_stack; current = tree_stack.pop(); long long cur_level = current->level; // fprintf(stdout, "poped level %lld: %lld\n", current->level, current->self); level_stack.put(current); while (!tree_stack.is_empty()) { current = tree_stack.pop(); // fprintf(stdout, "poped level %lld: %lld\n", current->level, current->self); // loading stack until next level pops up if (current->level == cur_level) { level_stack.put(current); // fprintf(stdout, "same level, put to stack\n"); } // when new level pops up, then load the level stack to file else { // fprintf(stdout, "we have new level!\n"); fprintf(out, "%lld:", cur_level); cur_level = current->level; while (!level_stack.is_empty()) { levelnode = level_stack.pop(); fprintf(out, " %lld", levelnode->self); } fprintf(out, "\n"); level_stack.put(current); } } fprintf(out, "%lld:", cur_level); while (!level_stack.is_empty()) { levelnode = level_stack.pop(); fprintf(out, " %lld", levelnode->self); } fprintf(out, "\n"); ///////////////////////////////////////////////// closing // fprintf(stdout,"done\n"); fclose(in); fclose(out); return 0; }
33100de68fe297faf7ed676e2f7d0e13ba01df5f
0871826e400ca13780948b6e122b2f58efe17f9c
/Sobel_benchmark_tile_71_output/systemc/Sobel_conv3x3_tile_strm107_1.cpp
ad24a27171518db2e64a3f8ab357e334fdaa92aa
[]
no_license
homidian/OpenVX-kernels-hdl-outputs
4b6159c6497ae4e6507032a0f04d7cd37f5ba3b2
8a8f51eea50860438867fbe786060879b6312c44
refs/heads/master
2021-07-19T08:36:06.846140
2017-10-27T23:17:05
2017-10-27T23:17:05
106,859,595
0
0
null
null
null
null
UTF-8
C++
false
false
503,283
cpp
#include "Sobel_conv3x3_tile_strm107.h" #include "AESL_pkg.h" using namespace std; namespace ap_rtl { const sc_logic Sobel_conv3x3_tile_strm107::ap_const_logic_1 = sc_dt::Log_1; const sc_logic Sobel_conv3x3_tile_strm107::ap_const_logic_0 = sc_dt::Log_0; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st1_fsm_0 = "1"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st2_fsm_1 = "10"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st3_fsm_2 = "100"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st4_fsm_3 = "1000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st5_fsm_4 = "10000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st6_fsm_5 = "100000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st7_fsm_6 = "1000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st8_fsm_7 = "10000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st9_fsm_8 = "100000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st10_fsm_9 = "1000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st11_fsm_10 = "10000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st12_fsm_11 = "100000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st13_fsm_12 = "1000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st14_fsm_13 = "10000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st15_fsm_14 = "100000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st16_fsm_15 = "1000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st17_fsm_16 = "10000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st18_fsm_17 = "100000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st19_fsm_18 = "1000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st20_fsm_19 = "10000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st21_fsm_20 = "100000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st22_fsm_21 = "1000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st23_fsm_22 = "10000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st24_fsm_23 = "100000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st25_fsm_24 = "1000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st26_fsm_25 = "10000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st27_fsm_26 = "100000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st28_fsm_27 = "1000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st29_fsm_28 = "10000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st30_fsm_29 = "100000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st31_fsm_30 = "1000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st32_fsm_31 = "10000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st33_fsm_32 = "100000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st34_fsm_33 = "1000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st35_fsm_34 = "10000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st36_fsm_35 = "100000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st37_fsm_36 = "1000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st38_fsm_37 = "10000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st39_fsm_38 = "100000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st40_fsm_39 = "1000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st41_fsm_40 = "10000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st42_fsm_41 = "100000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st43_fsm_42 = "1000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st44_fsm_43 = "10000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st45_fsm_44 = "100000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st46_fsm_45 = "1000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st47_fsm_46 = "10000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st48_fsm_47 = "100000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st49_fsm_48 = "1000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st50_fsm_49 = "10000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st51_fsm_50 = "100000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st52_fsm_51 = "1000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st53_fsm_52 = "10000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st54_fsm_53 = "100000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st55_fsm_54 = "1000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st56_fsm_55 = "10000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st57_fsm_56 = "100000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st58_fsm_57 = "1000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st59_fsm_58 = "10000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st60_fsm_59 = "100000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st61_fsm_60 = "1000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st62_fsm_61 = "10000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st63_fsm_62 = "100000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st64_fsm_63 = "1000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st65_fsm_64 = "10000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st66_fsm_65 = "100000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st67_fsm_66 = "1000000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st68_fsm_67 = "10000000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st69_fsm_68 = "100000000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st70_fsm_69 = "1000000000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st71_fsm_70 = "10000000000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st72_fsm_71 = "100000000000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st73_fsm_72 = "1000000000000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st74_fsm_73 = "10000000000000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<75> Sobel_conv3x3_tile_strm107::ap_ST_st75_fsm_74 = "100000000000000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_0 = "00000000000000000000000000000000"; const sc_lv<1> Sobel_conv3x3_tile_strm107::ap_const_lv1_1 = "1"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_25 = "100101"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_27 = "100111"; const sc_lv<1> Sobel_conv3x3_tile_strm107::ap_const_lv1_0 = "0"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_2 = "10"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_26 = "100110"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_1 = "1"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_3 = "11"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_4 = "100"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_5 = "101"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_6 = "110"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_7 = "111"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_8 = "1000"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_9 = "1001"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_A = "1010"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_B = "1011"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_C = "1100"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_D = "1101"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_E = "1110"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_F = "1111"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_10 = "10000"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_11 = "10001"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_12 = "10010"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_13 = "10011"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_14 = "10100"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_15 = "10101"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_16 = "10110"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_17 = "10111"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_18 = "11000"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_19 = "11001"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_1A = "11010"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_1B = "11011"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_1C = "11100"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_1D = "11101"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_1E = "11110"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_1F = "11111"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_20 = "100000"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_21 = "100001"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_22 = "100010"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_23 = "100011"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_24 = "100100"; const sc_lv<9> Sobel_conv3x3_tile_strm107::ap_const_lv9_0 = "000000000"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_49 = "1001001"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_0 = "0000000000000000000000000000000000000000000000000000000000000000"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_1 = "1"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_2 = "10"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_3 = "11"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_4 = "100"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_5 = "101"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_6 = "110"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_7 = "111"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_8 = "1000"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_9 = "1001"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_A = "1010"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_B = "1011"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_C = "1100"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_D = "1101"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_E = "1110"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_F = "1111"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_10 = "10000"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_11 = "10001"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_12 = "10010"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_13 = "10011"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_14 = "10100"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_15 = "10101"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_16 = "10110"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_17 = "10111"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_18 = "11000"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_19 = "11001"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_1A = "11010"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_1B = "11011"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_1C = "11100"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_1D = "11101"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_1E = "11110"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_1F = "11111"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_20 = "100000"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_21 = "100001"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_22 = "100010"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_23 = "100011"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_24 = "100100"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_25 = "100101"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_26 = "100110"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_27 = "100111"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_28 = "101000"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_29 = "101001"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_2A = "101010"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_2B = "101011"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_2C = "101100"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_2D = "101101"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_2E = "101110"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_2F = "101111"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_30 = "110000"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_31 = "110001"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_32 = "110010"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_33 = "110011"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_34 = "110100"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_35 = "110101"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_36 = "110110"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_37 = "110111"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_38 = "111000"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_39 = "111001"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_3A = "111010"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_3B = "111011"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_3C = "111100"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_3D = "111101"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_3E = "111110"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_3F = "111111"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_40 = "1000000"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_41 = "1000001"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_42 = "1000010"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_43 = "1000011"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_44 = "1000100"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_45 = "1000101"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_46 = "1000110"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_47 = "1000111"; const sc_lv<64> Sobel_conv3x3_tile_strm107::ap_const_lv64_48 = "1001000"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_28 = "101000"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_29 = "101001"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_2A = "101010"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_2B = "101011"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_2C = "101100"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_2D = "101101"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_2E = "101110"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_2F = "101111"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_30 = "110000"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_31 = "110001"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_32 = "110010"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_33 = "110011"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_34 = "110100"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_35 = "110101"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_36 = "110110"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_37 = "110111"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_38 = "111000"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_39 = "111001"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_3A = "111010"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_3B = "111011"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_3C = "111100"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_3D = "111101"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_3E = "111110"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_3F = "111111"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_40 = "1000000"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_41 = "1000001"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_42 = "1000010"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_43 = "1000011"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_44 = "1000100"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_45 = "1000101"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_46 = "1000110"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_47 = "1000111"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_48 = "1001000"; const sc_lv<9> Sobel_conv3x3_tile_strm107::ap_const_lv9_1E2 = "111100010"; const sc_lv<9> Sobel_conv3x3_tile_strm107::ap_const_lv9_1 = "1"; const sc_lv<8> Sobel_conv3x3_tile_strm107::ap_const_lv8_0 = "00000000"; const sc_lv<3> Sobel_conv3x3_tile_strm107::ap_const_lv3_0 = "000"; const sc_lv<8> Sobel_conv3x3_tile_strm107::ap_const_lv8_FF = "11111111"; const sc_lv<32> Sobel_conv3x3_tile_strm107::ap_const_lv32_4A = "1001010"; Sobel_conv3x3_tile_strm107::Sobel_conv3x3_tile_strm107(sc_module_name name) : sc_module(name), mVcdFile(0) { linebuf_0_pixel_U = new Sobel_conv3x3_tile_strm104_linebuf_0_pixel("linebuf_0_pixel_U"); linebuf_0_pixel_U->clk(ap_clk); linebuf_0_pixel_U->reset(ap_rst); linebuf_0_pixel_U->address0(linebuf_0_pixel_address0); linebuf_0_pixel_U->ce0(linebuf_0_pixel_ce0); linebuf_0_pixel_U->we0(linebuf_0_pixel_we0); linebuf_0_pixel_U->d0(linebuf_0_pixel_d0); linebuf_0_pixel_U->q0(linebuf_0_pixel_q0); linebuf_0_pixel_U->address1(linebuf_0_pixel_address1); linebuf_0_pixel_U->ce1(linebuf_0_pixel_ce1); linebuf_0_pixel_U->we1(linebuf_0_pixel_we1); linebuf_0_pixel_U->d1(linebuf_0_pixel_d1); linebuf_0_pixel_U->q1(linebuf_0_pixel_q1); linebuf_1_pixel_U = new Sobel_conv3x3_tile_strm104_linebuf_0_pixel("linebuf_1_pixel_U"); linebuf_1_pixel_U->clk(ap_clk); linebuf_1_pixel_U->reset(ap_rst); linebuf_1_pixel_U->address0(linebuf_1_pixel_address0); linebuf_1_pixel_U->ce0(linebuf_1_pixel_ce0); linebuf_1_pixel_U->we0(linebuf_1_pixel_we0); linebuf_1_pixel_U->d0(linebuf_1_pixel_d0); linebuf_1_pixel_U->q0(linebuf_1_pixel_q0); linebuf_1_pixel_U->address1(linebuf_1_pixel_address1); linebuf_1_pixel_U->ce1(linebuf_1_pixel_ce1); linebuf_1_pixel_U->we1(linebuf_1_pixel_we1); linebuf_1_pixel_U->d1(linebuf_1_pixel_d1); linebuf_1_pixel_U->q1(linebuf_1_pixel_q1); SC_METHOD(thread_ap_clk_no_reset_); dont_initialize(); sensitive << ( ap_clk.pos() ); SC_METHOD(thread_ap_done); sensitive << ( ap_done_reg ); sensitive << ( ap_sig_cseq_ST_st75_fsm_74 ); SC_METHOD(thread_ap_idle); sensitive << ( ap_start ); sensitive << ( ap_sig_cseq_ST_st1_fsm_0 ); SC_METHOD(thread_ap_ready); sensitive << ( ap_sig_cseq_ST_st75_fsm_74 ); SC_METHOD(thread_ap_sig_1168); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1182); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1193); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1204); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1215); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1226); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1237); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1248); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1259); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1270); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1281); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1292); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1303); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1314); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1325); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1336); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_13444); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1347); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1358); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1369); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1380); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1391); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1402); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1413); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1424); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1435); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1446); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1457); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1468); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1479); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1490); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1501); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1512); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1523); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1534); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_1545); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2015); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2170); sensitive << ( icmp_reg_12818 ); sensitive << ( dst_V_pixel1_status ); SC_METHOD(thread_ap_sig_2217); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2225); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2233); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2241); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2249); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2257); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2265); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2273); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2281); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2289); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2297); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2305); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2313); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2321); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2329); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2337); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2345); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2353); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2361); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2369); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2377); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2385); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2393); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2401); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2409); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2417); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2425); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2433); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2441); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2449); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2457); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2465); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_2473); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_682); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_762); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_845); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_861); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_868); sensitive << ( ap_start ); sensitive << ( ap_done_reg ); SC_METHOD(thread_ap_sig_93); sensitive << ( ap_CS_fsm ); SC_METHOD(thread_ap_sig_cseq_ST_st10_fsm_9); sensitive << ( ap_sig_1248 ); SC_METHOD(thread_ap_sig_cseq_ST_st11_fsm_10); sensitive << ( ap_sig_1259 ); SC_METHOD(thread_ap_sig_cseq_ST_st12_fsm_11); sensitive << ( ap_sig_1270 ); SC_METHOD(thread_ap_sig_cseq_ST_st13_fsm_12); sensitive << ( ap_sig_1281 ); SC_METHOD(thread_ap_sig_cseq_ST_st14_fsm_13); sensitive << ( ap_sig_1292 ); SC_METHOD(thread_ap_sig_cseq_ST_st15_fsm_14); sensitive << ( ap_sig_1303 ); SC_METHOD(thread_ap_sig_cseq_ST_st16_fsm_15); sensitive << ( ap_sig_1314 ); SC_METHOD(thread_ap_sig_cseq_ST_st17_fsm_16); sensitive << ( ap_sig_1325 ); SC_METHOD(thread_ap_sig_cseq_ST_st18_fsm_17); sensitive << ( ap_sig_1336 ); SC_METHOD(thread_ap_sig_cseq_ST_st19_fsm_18); sensitive << ( ap_sig_1347 ); SC_METHOD(thread_ap_sig_cseq_ST_st1_fsm_0); sensitive << ( ap_sig_93 ); SC_METHOD(thread_ap_sig_cseq_ST_st20_fsm_19); sensitive << ( ap_sig_1358 ); SC_METHOD(thread_ap_sig_cseq_ST_st21_fsm_20); sensitive << ( ap_sig_1369 ); SC_METHOD(thread_ap_sig_cseq_ST_st22_fsm_21); sensitive << ( ap_sig_1380 ); SC_METHOD(thread_ap_sig_cseq_ST_st23_fsm_22); sensitive << ( ap_sig_1391 ); SC_METHOD(thread_ap_sig_cseq_ST_st24_fsm_23); sensitive << ( ap_sig_1402 ); SC_METHOD(thread_ap_sig_cseq_ST_st25_fsm_24); sensitive << ( ap_sig_1413 ); SC_METHOD(thread_ap_sig_cseq_ST_st26_fsm_25); sensitive << ( ap_sig_1424 ); SC_METHOD(thread_ap_sig_cseq_ST_st27_fsm_26); sensitive << ( ap_sig_1435 ); SC_METHOD(thread_ap_sig_cseq_ST_st28_fsm_27); sensitive << ( ap_sig_1446 ); SC_METHOD(thread_ap_sig_cseq_ST_st29_fsm_28); sensitive << ( ap_sig_1457 ); SC_METHOD(thread_ap_sig_cseq_ST_st2_fsm_1); sensitive << ( ap_sig_1168 ); SC_METHOD(thread_ap_sig_cseq_ST_st30_fsm_29); sensitive << ( ap_sig_1468 ); SC_METHOD(thread_ap_sig_cseq_ST_st31_fsm_30); sensitive << ( ap_sig_1479 ); SC_METHOD(thread_ap_sig_cseq_ST_st32_fsm_31); sensitive << ( ap_sig_1490 ); SC_METHOD(thread_ap_sig_cseq_ST_st33_fsm_32); sensitive << ( ap_sig_1501 ); SC_METHOD(thread_ap_sig_cseq_ST_st34_fsm_33); sensitive << ( ap_sig_1512 ); SC_METHOD(thread_ap_sig_cseq_ST_st35_fsm_34); sensitive << ( ap_sig_1523 ); SC_METHOD(thread_ap_sig_cseq_ST_st36_fsm_35); sensitive << ( ap_sig_1534 ); SC_METHOD(thread_ap_sig_cseq_ST_st37_fsm_36); sensitive << ( ap_sig_1545 ); SC_METHOD(thread_ap_sig_cseq_ST_st38_fsm_37); sensitive << ( ap_sig_682 ); SC_METHOD(thread_ap_sig_cseq_ST_st39_fsm_38); sensitive << ( ap_sig_861 ); SC_METHOD(thread_ap_sig_cseq_ST_st3_fsm_2); sensitive << ( ap_sig_845 ); SC_METHOD(thread_ap_sig_cseq_ST_st40_fsm_39); sensitive << ( ap_sig_762 ); SC_METHOD(thread_ap_sig_cseq_ST_st41_fsm_40); sensitive << ( ap_sig_2217 ); SC_METHOD(thread_ap_sig_cseq_ST_st42_fsm_41); sensitive << ( ap_sig_2225 ); SC_METHOD(thread_ap_sig_cseq_ST_st43_fsm_42); sensitive << ( ap_sig_2233 ); SC_METHOD(thread_ap_sig_cseq_ST_st44_fsm_43); sensitive << ( ap_sig_2241 ); SC_METHOD(thread_ap_sig_cseq_ST_st45_fsm_44); sensitive << ( ap_sig_2249 ); SC_METHOD(thread_ap_sig_cseq_ST_st46_fsm_45); sensitive << ( ap_sig_2257 ); SC_METHOD(thread_ap_sig_cseq_ST_st47_fsm_46); sensitive << ( ap_sig_2265 ); SC_METHOD(thread_ap_sig_cseq_ST_st48_fsm_47); sensitive << ( ap_sig_2273 ); SC_METHOD(thread_ap_sig_cseq_ST_st49_fsm_48); sensitive << ( ap_sig_2281 ); SC_METHOD(thread_ap_sig_cseq_ST_st4_fsm_3); sensitive << ( ap_sig_1182 ); SC_METHOD(thread_ap_sig_cseq_ST_st50_fsm_49); sensitive << ( ap_sig_2289 ); SC_METHOD(thread_ap_sig_cseq_ST_st51_fsm_50); sensitive << ( ap_sig_2297 ); SC_METHOD(thread_ap_sig_cseq_ST_st52_fsm_51); sensitive << ( ap_sig_2305 ); SC_METHOD(thread_ap_sig_cseq_ST_st53_fsm_52); sensitive << ( ap_sig_2313 ); SC_METHOD(thread_ap_sig_cseq_ST_st54_fsm_53); sensitive << ( ap_sig_2321 ); SC_METHOD(thread_ap_sig_cseq_ST_st55_fsm_54); sensitive << ( ap_sig_2329 ); SC_METHOD(thread_ap_sig_cseq_ST_st56_fsm_55); sensitive << ( ap_sig_2337 ); SC_METHOD(thread_ap_sig_cseq_ST_st57_fsm_56); sensitive << ( ap_sig_2345 ); SC_METHOD(thread_ap_sig_cseq_ST_st58_fsm_57); sensitive << ( ap_sig_2353 ); SC_METHOD(thread_ap_sig_cseq_ST_st59_fsm_58); sensitive << ( ap_sig_2361 ); SC_METHOD(thread_ap_sig_cseq_ST_st5_fsm_4); sensitive << ( ap_sig_1193 ); SC_METHOD(thread_ap_sig_cseq_ST_st60_fsm_59); sensitive << ( ap_sig_2369 ); SC_METHOD(thread_ap_sig_cseq_ST_st61_fsm_60); sensitive << ( ap_sig_2377 ); SC_METHOD(thread_ap_sig_cseq_ST_st62_fsm_61); sensitive << ( ap_sig_2385 ); SC_METHOD(thread_ap_sig_cseq_ST_st63_fsm_62); sensitive << ( ap_sig_2393 ); SC_METHOD(thread_ap_sig_cseq_ST_st64_fsm_63); sensitive << ( ap_sig_2401 ); SC_METHOD(thread_ap_sig_cseq_ST_st65_fsm_64); sensitive << ( ap_sig_2409 ); SC_METHOD(thread_ap_sig_cseq_ST_st66_fsm_65); sensitive << ( ap_sig_2417 ); SC_METHOD(thread_ap_sig_cseq_ST_st67_fsm_66); sensitive << ( ap_sig_2425 ); SC_METHOD(thread_ap_sig_cseq_ST_st68_fsm_67); sensitive << ( ap_sig_2433 ); SC_METHOD(thread_ap_sig_cseq_ST_st69_fsm_68); sensitive << ( ap_sig_2441 ); SC_METHOD(thread_ap_sig_cseq_ST_st6_fsm_5); sensitive << ( ap_sig_1204 ); SC_METHOD(thread_ap_sig_cseq_ST_st70_fsm_69); sensitive << ( ap_sig_2449 ); SC_METHOD(thread_ap_sig_cseq_ST_st71_fsm_70); sensitive << ( ap_sig_2457 ); SC_METHOD(thread_ap_sig_cseq_ST_st72_fsm_71); sensitive << ( ap_sig_2465 ); SC_METHOD(thread_ap_sig_cseq_ST_st73_fsm_72); sensitive << ( ap_sig_2473 ); SC_METHOD(thread_ap_sig_cseq_ST_st74_fsm_73); sensitive << ( ap_sig_2015 ); SC_METHOD(thread_ap_sig_cseq_ST_st75_fsm_74); sensitive << ( ap_sig_13444 ); SC_METHOD(thread_ap_sig_cseq_ST_st7_fsm_6); sensitive << ( ap_sig_1215 ); SC_METHOD(thread_ap_sig_cseq_ST_st8_fsm_7); sensitive << ( ap_sig_1226 ); SC_METHOD(thread_ap_sig_cseq_ST_st9_fsm_8); sensitive << ( ap_sig_1237 ); SC_METHOD(thread_dst_V_pixel100_blk_n); sensitive << ( dst_V_pixel100_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel100_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_28_6_reg_14652 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel100_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel101_blk_n); sensitive << ( dst_V_pixel101_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel101_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_29_6_reg_14657 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel101_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel102_blk_n); sensitive << ( dst_V_pixel102_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel102_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_30_6_reg_14662 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel102_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel103_blk_n); sensitive << ( dst_V_pixel103_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel103_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_31_6_reg_14667 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel103_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel104_blk_n); sensitive << ( dst_V_pixel104_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel104_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_32_6_reg_14672 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel104_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel105_blk_n); sensitive << ( dst_V_pixel105_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel105_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_33_6_reg_14677 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel105_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel106_blk_n); sensitive << ( dst_V_pixel106_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel106_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_34_6_reg_14682 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel106_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel107_blk_n); sensitive << ( dst_V_pixel107_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel107_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_35_6_reg_14687 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel107_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel108_blk_n); sensitive << ( dst_V_pixel108_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel108_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_36_6_reg_14692 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel108_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel109_blk_n); sensitive << ( dst_V_pixel109_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel109_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_37_6_reg_14697 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel109_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel110_blk_n); sensitive << ( dst_V_pixel110_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel110_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_38_6_reg_14702 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel110_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel111_blk_n); sensitive << ( dst_V_pixel111_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel111_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_39_6_reg_14707 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel111_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel112_blk_n); sensitive << ( dst_V_pixel112_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel112_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_40_6_reg_14712 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel112_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel113_blk_n); sensitive << ( dst_V_pixel113_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel113_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_41_6_reg_14717 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel113_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel114_blk_n); sensitive << ( dst_V_pixel114_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel114_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_42_6_reg_14722 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel114_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel115_blk_n); sensitive << ( dst_V_pixel115_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel115_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_43_6_reg_14727 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel115_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel116_blk_n); sensitive << ( dst_V_pixel116_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel116_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_44_6_reg_14732 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel116_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel117_blk_n); sensitive << ( dst_V_pixel117_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel117_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_45_6_reg_14737 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel117_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel118_blk_n); sensitive << ( dst_V_pixel118_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel118_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_46_6_reg_14742 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel118_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel119_blk_n); sensitive << ( dst_V_pixel119_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel119_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_47_6_reg_14747 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel119_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel120_blk_n); sensitive << ( dst_V_pixel120_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel120_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_48_6_reg_14752 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel120_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel121_blk_n); sensitive << ( dst_V_pixel121_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel121_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_49_6_reg_14757 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel121_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel122_blk_n); sensitive << ( dst_V_pixel122_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel122_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_50_6_reg_14762 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel122_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel123_blk_n); sensitive << ( dst_V_pixel123_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel123_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_51_6_reg_14767 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel123_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel124_blk_n); sensitive << ( dst_V_pixel124_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel124_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_52_6_reg_14772 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel124_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel125_blk_n); sensitive << ( dst_V_pixel125_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel125_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_53_6_reg_14777 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel125_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel126_blk_n); sensitive << ( dst_V_pixel126_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel126_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_54_6_reg_14782 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel126_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel127_blk_n); sensitive << ( dst_V_pixel127_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel127_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_55_6_reg_14787 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel127_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel128_blk_n); sensitive << ( dst_V_pixel128_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel128_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_56_6_reg_14792 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel128_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel129_blk_n); sensitive << ( dst_V_pixel129_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel129_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_57_6_reg_14797 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel129_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel130_blk_n); sensitive << ( dst_V_pixel130_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel130_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_58_6_reg_14802 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel130_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel131_blk_n); sensitive << ( dst_V_pixel131_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel131_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_59_6_reg_14807 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel131_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel132_blk_n); sensitive << ( dst_V_pixel132_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel132_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_60_6_reg_14812 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel132_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel133_blk_n); sensitive << ( dst_V_pixel133_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel133_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_61_6_reg_14817 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel133_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel134_blk_n); sensitive << ( dst_V_pixel134_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel134_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_62_6_reg_14822 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel134_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel135_blk_n); sensitive << ( dst_V_pixel135_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel135_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_63_6_reg_14827 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel135_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel136_blk_n); sensitive << ( dst_V_pixel136_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel136_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_64_6_reg_14832 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel136_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel137_blk_n); sensitive << ( dst_V_pixel137_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel137_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_65_6_reg_14837 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel137_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel138_blk_n); sensitive << ( dst_V_pixel138_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel138_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_66_6_reg_14842 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel138_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel139_blk_n); sensitive << ( dst_V_pixel139_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel139_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_67_6_reg_14847 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel139_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel140_blk_n); sensitive << ( dst_V_pixel140_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel140_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_68_6_reg_14852 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel140_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel141_blk_n); sensitive << ( dst_V_pixel141_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel141_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_69_6_reg_14857 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel141_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel142_blk_n); sensitive << ( dst_V_pixel142_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel142_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_70_6_reg_14862 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel142_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel1_status); sensitive << ( dst_V_pixel_full_n ); sensitive << ( dst_V_pixel73_full_n ); sensitive << ( dst_V_pixel74_full_n ); sensitive << ( dst_V_pixel75_full_n ); sensitive << ( dst_V_pixel76_full_n ); sensitive << ( dst_V_pixel77_full_n ); sensitive << ( dst_V_pixel78_full_n ); sensitive << ( dst_V_pixel79_full_n ); sensitive << ( dst_V_pixel80_full_n ); sensitive << ( dst_V_pixel81_full_n ); sensitive << ( dst_V_pixel82_full_n ); sensitive << ( dst_V_pixel83_full_n ); sensitive << ( dst_V_pixel84_full_n ); sensitive << ( dst_V_pixel85_full_n ); sensitive << ( dst_V_pixel86_full_n ); sensitive << ( dst_V_pixel87_full_n ); sensitive << ( dst_V_pixel88_full_n ); sensitive << ( dst_V_pixel89_full_n ); sensitive << ( dst_V_pixel90_full_n ); sensitive << ( dst_V_pixel91_full_n ); sensitive << ( dst_V_pixel92_full_n ); sensitive << ( dst_V_pixel93_full_n ); sensitive << ( dst_V_pixel94_full_n ); sensitive << ( dst_V_pixel95_full_n ); sensitive << ( dst_V_pixel96_full_n ); sensitive << ( dst_V_pixel97_full_n ); sensitive << ( dst_V_pixel98_full_n ); sensitive << ( dst_V_pixel99_full_n ); sensitive << ( dst_V_pixel100_full_n ); sensitive << ( dst_V_pixel101_full_n ); sensitive << ( dst_V_pixel102_full_n ); sensitive << ( dst_V_pixel103_full_n ); sensitive << ( dst_V_pixel104_full_n ); sensitive << ( dst_V_pixel105_full_n ); sensitive << ( dst_V_pixel106_full_n ); sensitive << ( dst_V_pixel107_full_n ); sensitive << ( dst_V_pixel108_full_n ); sensitive << ( dst_V_pixel109_full_n ); sensitive << ( dst_V_pixel110_full_n ); sensitive << ( dst_V_pixel111_full_n ); sensitive << ( dst_V_pixel112_full_n ); sensitive << ( dst_V_pixel113_full_n ); sensitive << ( dst_V_pixel114_full_n ); sensitive << ( dst_V_pixel115_full_n ); sensitive << ( dst_V_pixel116_full_n ); sensitive << ( dst_V_pixel117_full_n ); sensitive << ( dst_V_pixel118_full_n ); sensitive << ( dst_V_pixel119_full_n ); sensitive << ( dst_V_pixel120_full_n ); sensitive << ( dst_V_pixel121_full_n ); sensitive << ( dst_V_pixel122_full_n ); sensitive << ( dst_V_pixel123_full_n ); sensitive << ( dst_V_pixel124_full_n ); sensitive << ( dst_V_pixel125_full_n ); sensitive << ( dst_V_pixel126_full_n ); sensitive << ( dst_V_pixel127_full_n ); sensitive << ( dst_V_pixel128_full_n ); sensitive << ( dst_V_pixel129_full_n ); sensitive << ( dst_V_pixel130_full_n ); sensitive << ( dst_V_pixel131_full_n ); sensitive << ( dst_V_pixel132_full_n ); sensitive << ( dst_V_pixel133_full_n ); sensitive << ( dst_V_pixel134_full_n ); sensitive << ( dst_V_pixel135_full_n ); sensitive << ( dst_V_pixel136_full_n ); sensitive << ( dst_V_pixel137_full_n ); sensitive << ( dst_V_pixel138_full_n ); sensitive << ( dst_V_pixel139_full_n ); sensitive << ( dst_V_pixel140_full_n ); sensitive << ( dst_V_pixel141_full_n ); sensitive << ( dst_V_pixel142_full_n ); SC_METHOD(thread_dst_V_pixel1_update); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel73_blk_n); sensitive << ( dst_V_pixel73_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel73_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_1_6_reg_14517 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel73_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel74_blk_n); sensitive << ( dst_V_pixel74_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel74_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_2_6_reg_14522 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel74_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel75_blk_n); sensitive << ( dst_V_pixel75_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel75_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_3_6_reg_14527 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel75_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel76_blk_n); sensitive << ( dst_V_pixel76_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel76_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_4_6_reg_14532 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel76_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel77_blk_n); sensitive << ( dst_V_pixel77_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel77_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_5_6_reg_14537 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel77_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel78_blk_n); sensitive << ( dst_V_pixel78_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel78_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_6_6_reg_14542 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel78_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel79_blk_n); sensitive << ( dst_V_pixel79_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel79_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_7_6_reg_14547 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel79_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel80_blk_n); sensitive << ( dst_V_pixel80_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel80_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_8_6_reg_14552 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel80_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel81_blk_n); sensitive << ( dst_V_pixel81_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel81_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_9_6_reg_14557 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel81_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel82_blk_n); sensitive << ( dst_V_pixel82_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel82_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_10_6_reg_14562 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel82_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel83_blk_n); sensitive << ( dst_V_pixel83_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel83_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_11_6_reg_14567 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel83_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel84_blk_n); sensitive << ( dst_V_pixel84_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel84_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_12_6_reg_14572 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel84_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel85_blk_n); sensitive << ( dst_V_pixel85_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel85_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_13_6_reg_14577 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel85_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel86_blk_n); sensitive << ( dst_V_pixel86_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel86_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_14_6_reg_14582 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel86_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel87_blk_n); sensitive << ( dst_V_pixel87_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel87_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_15_6_reg_14587 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel87_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel88_blk_n); sensitive << ( dst_V_pixel88_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel88_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_16_6_reg_14592 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel88_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel89_blk_n); sensitive << ( dst_V_pixel89_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel89_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_17_6_reg_14597 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel89_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel90_blk_n); sensitive << ( dst_V_pixel90_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel90_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_18_6_reg_14602 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel90_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel91_blk_n); sensitive << ( dst_V_pixel91_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel91_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_19_6_reg_14607 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel91_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel92_blk_n); sensitive << ( dst_V_pixel92_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel92_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_20_6_reg_14612 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel92_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel93_blk_n); sensitive << ( dst_V_pixel93_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel93_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_21_6_reg_14617 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel93_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel94_blk_n); sensitive << ( dst_V_pixel94_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel94_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_22_6_reg_14622 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel94_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel95_blk_n); sensitive << ( dst_V_pixel95_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel95_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_23_6_reg_14627 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel95_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel96_blk_n); sensitive << ( dst_V_pixel96_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel96_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_24_6_reg_14632 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel96_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel97_blk_n); sensitive << ( dst_V_pixel97_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel97_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_25_6_reg_14637 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel97_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel98_blk_n); sensitive << ( dst_V_pixel98_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel98_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_26_6_reg_14642 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel98_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel99_blk_n); sensitive << ( dst_V_pixel99_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel99_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_27_6_reg_14647 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel99_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_dst_V_pixel_blk_n); sensitive << ( dst_V_pixel_full_n ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); SC_METHOD(thread_dst_V_pixel_din); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( icmp_reg_12818 ); sensitive << ( tmp_pixel_0_5_reg_14512 ); sensitive << ( ap_sig_2170 ); SC_METHOD(thread_dst_V_pixel_write); sensitive << ( dst_V_pixel1_update ); SC_METHOD(thread_exitcond1_fu_3230_p2); sensitive << ( ap_sig_cseq_ST_st2_fsm_1 ); sensitive << ( x_reg_3203 ); SC_METHOD(thread_icmp10_fu_5486_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1735_fu_5476_p4 ); SC_METHOD(thread_icmp11_fu_5591_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1738_fu_5581_p4 ); SC_METHOD(thread_icmp12_fu_5696_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1741_fu_5686_p4 ); SC_METHOD(thread_icmp13_fu_5801_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1744_fu_5791_p4 ); SC_METHOD(thread_icmp14_fu_5906_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1747_fu_5896_p4 ); SC_METHOD(thread_icmp15_fu_6011_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1750_fu_6001_p4 ); SC_METHOD(thread_icmp16_fu_6116_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1753_fu_6106_p4 ); SC_METHOD(thread_icmp17_fu_6221_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1756_fu_6211_p4 ); SC_METHOD(thread_icmp18_fu_6326_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1759_fu_6316_p4 ); SC_METHOD(thread_icmp19_fu_6431_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1762_fu_6421_p4 ); SC_METHOD(thread_icmp1_fu_4541_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1708_fu_4531_p4 ); SC_METHOD(thread_icmp20_fu_6536_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1765_fu_6526_p4 ); SC_METHOD(thread_icmp21_fu_6641_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1768_fu_6631_p4 ); SC_METHOD(thread_icmp22_fu_6746_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1771_fu_6736_p4 ); SC_METHOD(thread_icmp23_fu_6851_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1774_fu_6841_p4 ); SC_METHOD(thread_icmp24_fu_6956_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1777_fu_6946_p4 ); SC_METHOD(thread_icmp25_fu_7061_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1780_fu_7051_p4 ); SC_METHOD(thread_icmp26_fu_7166_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1783_fu_7156_p4 ); SC_METHOD(thread_icmp27_fu_7271_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1786_fu_7261_p4 ); SC_METHOD(thread_icmp28_fu_7376_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1789_fu_7366_p4 ); SC_METHOD(thread_icmp29_fu_7481_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1792_fu_7471_p4 ); SC_METHOD(thread_icmp2_fu_4646_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1711_fu_4636_p4 ); SC_METHOD(thread_icmp30_fu_7586_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1795_fu_7576_p4 ); SC_METHOD(thread_icmp31_fu_7691_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1798_fu_7681_p4 ); SC_METHOD(thread_icmp32_fu_7796_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1801_fu_7786_p4 ); SC_METHOD(thread_icmp33_fu_7901_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1804_fu_7891_p4 ); SC_METHOD(thread_icmp34_fu_8006_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1807_fu_7996_p4 ); SC_METHOD(thread_icmp35_fu_8111_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1810_fu_8101_p4 ); SC_METHOD(thread_icmp36_fu_8216_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1813_fu_8206_p4 ); SC_METHOD(thread_icmp37_fu_8321_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1816_fu_8311_p4 ); SC_METHOD(thread_icmp38_fu_8426_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1819_fu_8416_p4 ); SC_METHOD(thread_icmp39_fu_8531_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1822_fu_8521_p4 ); SC_METHOD(thread_icmp3_fu_4751_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1714_fu_4741_p4 ); SC_METHOD(thread_icmp40_fu_8636_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1825_fu_8626_p4 ); SC_METHOD(thread_icmp41_fu_8741_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1828_fu_8731_p4 ); SC_METHOD(thread_icmp42_fu_8846_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1831_fu_8836_p4 ); SC_METHOD(thread_icmp43_fu_8951_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1834_fu_8941_p4 ); SC_METHOD(thread_icmp44_fu_9056_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1837_fu_9046_p4 ); SC_METHOD(thread_icmp45_fu_9161_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1840_fu_9151_p4 ); SC_METHOD(thread_icmp46_fu_9266_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1843_fu_9256_p4 ); SC_METHOD(thread_icmp47_fu_9371_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1846_fu_9361_p4 ); SC_METHOD(thread_icmp48_fu_9476_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1849_fu_9466_p4 ); SC_METHOD(thread_icmp49_fu_9581_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1852_fu_9571_p4 ); SC_METHOD(thread_icmp4_fu_4856_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1717_fu_4846_p4 ); SC_METHOD(thread_icmp50_fu_9686_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1855_fu_9676_p4 ); SC_METHOD(thread_icmp51_fu_9791_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1858_fu_9781_p4 ); SC_METHOD(thread_icmp52_fu_9896_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1861_fu_9886_p4 ); SC_METHOD(thread_icmp53_fu_10001_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1864_fu_9991_p4 ); SC_METHOD(thread_icmp54_fu_10106_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1867_fu_10096_p4 ); SC_METHOD(thread_icmp55_fu_10211_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1870_fu_10201_p4 ); SC_METHOD(thread_icmp56_fu_10316_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1873_fu_10306_p4 ); SC_METHOD(thread_icmp57_fu_10421_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1876_fu_10411_p4 ); SC_METHOD(thread_icmp58_fu_10526_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1879_fu_10516_p4 ); SC_METHOD(thread_icmp59_fu_10631_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1882_fu_10621_p4 ); SC_METHOD(thread_icmp5_fu_4961_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1720_fu_4951_p4 ); SC_METHOD(thread_icmp60_fu_10736_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1885_fu_10726_p4 ); SC_METHOD(thread_icmp61_fu_10841_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1888_fu_10831_p4 ); SC_METHOD(thread_icmp62_fu_10946_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1891_fu_10936_p4 ); SC_METHOD(thread_icmp63_fu_11051_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1894_fu_11041_p4 ); SC_METHOD(thread_icmp64_fu_11156_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1897_fu_11146_p4 ); SC_METHOD(thread_icmp65_fu_11261_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1900_fu_11251_p4 ); SC_METHOD(thread_icmp66_fu_11366_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1903_fu_11356_p4 ); SC_METHOD(thread_icmp67_fu_11471_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1906_fu_11461_p4 ); SC_METHOD(thread_icmp68_fu_11576_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1909_fu_11566_p4 ); SC_METHOD(thread_icmp69_fu_11682_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1912_fu_11672_p4 ); SC_METHOD(thread_icmp6_fu_5066_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1723_fu_5056_p4 ); SC_METHOD(thread_icmp70_fu_11788_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1915_fu_11778_p4 ); SC_METHOD(thread_icmp71_fu_11894_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1918_fu_11884_p4 ); SC_METHOD(thread_icmp7_fu_5171_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1726_fu_5161_p4 ); SC_METHOD(thread_icmp8_fu_5276_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1729_fu_5266_p4 ); SC_METHOD(thread_icmp9_fu_5381_p2); sensitive << ( icmp_reg_12818 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_1732_fu_5371_p4 ); SC_METHOD(thread_icmp_fu_3252_p2); sensitive << ( ap_sig_cseq_ST_st2_fsm_1 ); sensitive << ( exitcond1_fu_3230_p2 ); sensitive << ( tmp_1707_fu_3242_p4 ); SC_METHOD(thread_linebuf_0_pixel_address0); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st3_fsm_2 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st2_fsm_1 ); sensitive << ( ap_sig_cseq_ST_st4_fsm_3 ); sensitive << ( ap_sig_cseq_ST_st5_fsm_4 ); sensitive << ( ap_sig_cseq_ST_st6_fsm_5 ); sensitive << ( ap_sig_cseq_ST_st7_fsm_6 ); sensitive << ( ap_sig_cseq_ST_st8_fsm_7 ); sensitive << ( ap_sig_cseq_ST_st9_fsm_8 ); sensitive << ( ap_sig_cseq_ST_st10_fsm_9 ); sensitive << ( ap_sig_cseq_ST_st11_fsm_10 ); sensitive << ( ap_sig_cseq_ST_st12_fsm_11 ); sensitive << ( ap_sig_cseq_ST_st13_fsm_12 ); sensitive << ( ap_sig_cseq_ST_st14_fsm_13 ); sensitive << ( ap_sig_cseq_ST_st15_fsm_14 ); sensitive << ( ap_sig_cseq_ST_st16_fsm_15 ); sensitive << ( ap_sig_cseq_ST_st17_fsm_16 ); sensitive << ( ap_sig_cseq_ST_st18_fsm_17 ); sensitive << ( ap_sig_cseq_ST_st19_fsm_18 ); sensitive << ( ap_sig_cseq_ST_st20_fsm_19 ); sensitive << ( ap_sig_cseq_ST_st21_fsm_20 ); sensitive << ( ap_sig_cseq_ST_st22_fsm_21 ); sensitive << ( ap_sig_cseq_ST_st23_fsm_22 ); sensitive << ( ap_sig_cseq_ST_st24_fsm_23 ); sensitive << ( ap_sig_cseq_ST_st25_fsm_24 ); sensitive << ( ap_sig_cseq_ST_st26_fsm_25 ); sensitive << ( ap_sig_cseq_ST_st27_fsm_26 ); sensitive << ( ap_sig_cseq_ST_st28_fsm_27 ); sensitive << ( ap_sig_cseq_ST_st29_fsm_28 ); sensitive << ( ap_sig_cseq_ST_st30_fsm_29 ); sensitive << ( ap_sig_cseq_ST_st31_fsm_30 ); sensitive << ( ap_sig_cseq_ST_st32_fsm_31 ); sensitive << ( ap_sig_cseq_ST_st33_fsm_32 ); sensitive << ( ap_sig_cseq_ST_st34_fsm_33 ); sensitive << ( ap_sig_cseq_ST_st35_fsm_34 ); sensitive << ( ap_sig_cseq_ST_st36_fsm_35 ); sensitive << ( ap_sig_cseq_ST_st37_fsm_36 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_0_pixel_address1); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st3_fsm_2 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st2_fsm_1 ); sensitive << ( ap_sig_cseq_ST_st4_fsm_3 ); sensitive << ( ap_sig_cseq_ST_st5_fsm_4 ); sensitive << ( ap_sig_cseq_ST_st6_fsm_5 ); sensitive << ( ap_sig_cseq_ST_st7_fsm_6 ); sensitive << ( ap_sig_cseq_ST_st8_fsm_7 ); sensitive << ( ap_sig_cseq_ST_st9_fsm_8 ); sensitive << ( ap_sig_cseq_ST_st10_fsm_9 ); sensitive << ( ap_sig_cseq_ST_st11_fsm_10 ); sensitive << ( ap_sig_cseq_ST_st12_fsm_11 ); sensitive << ( ap_sig_cseq_ST_st13_fsm_12 ); sensitive << ( ap_sig_cseq_ST_st14_fsm_13 ); sensitive << ( ap_sig_cseq_ST_st15_fsm_14 ); sensitive << ( ap_sig_cseq_ST_st16_fsm_15 ); sensitive << ( ap_sig_cseq_ST_st17_fsm_16 ); sensitive << ( ap_sig_cseq_ST_st18_fsm_17 ); sensitive << ( ap_sig_cseq_ST_st19_fsm_18 ); sensitive << ( ap_sig_cseq_ST_st20_fsm_19 ); sensitive << ( ap_sig_cseq_ST_st21_fsm_20 ); sensitive << ( ap_sig_cseq_ST_st22_fsm_21 ); sensitive << ( ap_sig_cseq_ST_st23_fsm_22 ); sensitive << ( ap_sig_cseq_ST_st24_fsm_23 ); sensitive << ( ap_sig_cseq_ST_st25_fsm_24 ); sensitive << ( ap_sig_cseq_ST_st26_fsm_25 ); sensitive << ( ap_sig_cseq_ST_st27_fsm_26 ); sensitive << ( ap_sig_cseq_ST_st28_fsm_27 ); sensitive << ( ap_sig_cseq_ST_st29_fsm_28 ); sensitive << ( ap_sig_cseq_ST_st30_fsm_29 ); sensitive << ( ap_sig_cseq_ST_st31_fsm_30 ); sensitive << ( ap_sig_cseq_ST_st32_fsm_31 ); sensitive << ( ap_sig_cseq_ST_st33_fsm_32 ); sensitive << ( ap_sig_cseq_ST_st34_fsm_33 ); sensitive << ( ap_sig_cseq_ST_st35_fsm_34 ); sensitive << ( ap_sig_cseq_ST_st36_fsm_35 ); sensitive << ( ap_sig_cseq_ST_st37_fsm_36 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_0_pixel_ce0); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st3_fsm_2 ); sensitive << ( src_V_pixel0_status ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st2_fsm_1 ); sensitive << ( ap_sig_cseq_ST_st4_fsm_3 ); sensitive << ( ap_sig_cseq_ST_st5_fsm_4 ); sensitive << ( ap_sig_cseq_ST_st6_fsm_5 ); sensitive << ( ap_sig_cseq_ST_st7_fsm_6 ); sensitive << ( ap_sig_cseq_ST_st8_fsm_7 ); sensitive << ( ap_sig_cseq_ST_st9_fsm_8 ); sensitive << ( ap_sig_cseq_ST_st10_fsm_9 ); sensitive << ( ap_sig_cseq_ST_st11_fsm_10 ); sensitive << ( ap_sig_cseq_ST_st12_fsm_11 ); sensitive << ( ap_sig_cseq_ST_st13_fsm_12 ); sensitive << ( ap_sig_cseq_ST_st14_fsm_13 ); sensitive << ( ap_sig_cseq_ST_st15_fsm_14 ); sensitive << ( ap_sig_cseq_ST_st16_fsm_15 ); sensitive << ( ap_sig_cseq_ST_st17_fsm_16 ); sensitive << ( ap_sig_cseq_ST_st18_fsm_17 ); sensitive << ( ap_sig_cseq_ST_st19_fsm_18 ); sensitive << ( ap_sig_cseq_ST_st20_fsm_19 ); sensitive << ( ap_sig_cseq_ST_st21_fsm_20 ); sensitive << ( ap_sig_cseq_ST_st22_fsm_21 ); sensitive << ( ap_sig_cseq_ST_st23_fsm_22 ); sensitive << ( ap_sig_cseq_ST_st24_fsm_23 ); sensitive << ( ap_sig_cseq_ST_st25_fsm_24 ); sensitive << ( ap_sig_cseq_ST_st26_fsm_25 ); sensitive << ( ap_sig_cseq_ST_st27_fsm_26 ); sensitive << ( ap_sig_cseq_ST_st28_fsm_27 ); sensitive << ( ap_sig_cseq_ST_st29_fsm_28 ); sensitive << ( ap_sig_cseq_ST_st30_fsm_29 ); sensitive << ( ap_sig_cseq_ST_st31_fsm_30 ); sensitive << ( ap_sig_cseq_ST_st32_fsm_31 ); sensitive << ( ap_sig_cseq_ST_st33_fsm_32 ); sensitive << ( ap_sig_cseq_ST_st34_fsm_33 ); sensitive << ( ap_sig_cseq_ST_st35_fsm_34 ); sensitive << ( ap_sig_cseq_ST_st36_fsm_35 ); sensitive << ( ap_sig_cseq_ST_st37_fsm_36 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_2170 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_0_pixel_ce1); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st3_fsm_2 ); sensitive << ( src_V_pixel0_status ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st2_fsm_1 ); sensitive << ( ap_sig_cseq_ST_st4_fsm_3 ); sensitive << ( ap_sig_cseq_ST_st5_fsm_4 ); sensitive << ( ap_sig_cseq_ST_st6_fsm_5 ); sensitive << ( ap_sig_cseq_ST_st7_fsm_6 ); sensitive << ( ap_sig_cseq_ST_st8_fsm_7 ); sensitive << ( ap_sig_cseq_ST_st9_fsm_8 ); sensitive << ( ap_sig_cseq_ST_st10_fsm_9 ); sensitive << ( ap_sig_cseq_ST_st11_fsm_10 ); sensitive << ( ap_sig_cseq_ST_st12_fsm_11 ); sensitive << ( ap_sig_cseq_ST_st13_fsm_12 ); sensitive << ( ap_sig_cseq_ST_st14_fsm_13 ); sensitive << ( ap_sig_cseq_ST_st15_fsm_14 ); sensitive << ( ap_sig_cseq_ST_st16_fsm_15 ); sensitive << ( ap_sig_cseq_ST_st17_fsm_16 ); sensitive << ( ap_sig_cseq_ST_st18_fsm_17 ); sensitive << ( ap_sig_cseq_ST_st19_fsm_18 ); sensitive << ( ap_sig_cseq_ST_st20_fsm_19 ); sensitive << ( ap_sig_cseq_ST_st21_fsm_20 ); sensitive << ( ap_sig_cseq_ST_st22_fsm_21 ); sensitive << ( ap_sig_cseq_ST_st23_fsm_22 ); sensitive << ( ap_sig_cseq_ST_st24_fsm_23 ); sensitive << ( ap_sig_cseq_ST_st25_fsm_24 ); sensitive << ( ap_sig_cseq_ST_st26_fsm_25 ); sensitive << ( ap_sig_cseq_ST_st27_fsm_26 ); sensitive << ( ap_sig_cseq_ST_st28_fsm_27 ); sensitive << ( ap_sig_cseq_ST_st29_fsm_28 ); sensitive << ( ap_sig_cseq_ST_st30_fsm_29 ); sensitive << ( ap_sig_cseq_ST_st31_fsm_30 ); sensitive << ( ap_sig_cseq_ST_st32_fsm_31 ); sensitive << ( ap_sig_cseq_ST_st33_fsm_32 ); sensitive << ( ap_sig_cseq_ST_st34_fsm_33 ); sensitive << ( ap_sig_cseq_ST_st35_fsm_34 ); sensitive << ( ap_sig_cseq_ST_st36_fsm_35 ); sensitive << ( ap_sig_cseq_ST_st37_fsm_36 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_2170 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_0_pixel_d0); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_pixel_1_reg_13644 ); sensitive << ( tmp_pixel_3_reg_13657 ); sensitive << ( tmp_pixel_5_reg_13671 ); sensitive << ( tmp_pixel_7_reg_13685 ); sensitive << ( tmp_pixel_9_reg_13699 ); sensitive << ( tmp_pixel_11_reg_13713 ); sensitive << ( tmp_pixel_13_reg_13727 ); sensitive << ( tmp_pixel_15_reg_13741 ); sensitive << ( tmp_pixel_17_reg_13755 ); sensitive << ( tmp_pixel_19_reg_13769 ); sensitive << ( tmp_pixel_21_reg_13783 ); sensitive << ( tmp_pixel_23_reg_13797 ); sensitive << ( tmp_pixel_25_reg_13811 ); sensitive << ( tmp_pixel_27_reg_13825 ); sensitive << ( tmp_pixel_29_reg_13839 ); sensitive << ( tmp_pixel_31_reg_13853 ); sensitive << ( tmp_pixel_33_reg_13867 ); sensitive << ( tmp_pixel_35_reg_13881 ); sensitive << ( tmp_pixel_37_reg_13895 ); sensitive << ( tmp_pixel_39_reg_13909 ); sensitive << ( tmp_pixel_41_reg_13923 ); sensitive << ( tmp_pixel_43_reg_13937 ); sensitive << ( tmp_pixel_45_reg_13951 ); sensitive << ( tmp_pixel_47_reg_13965 ); sensitive << ( tmp_pixel_49_reg_13979 ); sensitive << ( tmp_pixel_51_reg_13993 ); sensitive << ( tmp_pixel_53_reg_14007 ); sensitive << ( tmp_pixel_55_reg_14021 ); sensitive << ( tmp_pixel_57_reg_14035 ); sensitive << ( tmp_pixel_59_reg_14049 ); sensitive << ( tmp_pixel_61_reg_14063 ); sensitive << ( tmp_pixel_63_reg_14077 ); sensitive << ( tmp_pixel_65_reg_14091 ); sensitive << ( tmp_pixel_67_reg_14105 ); sensitive << ( tmp_pixel_69_reg_14119 ); sensitive << ( tmp_pixel_71_reg_14133 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_0_pixel_d1); sensitive << ( src_V_pixel_dout ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( tmp_pixel_2_reg_13650 ); sensitive << ( tmp_pixel_4_reg_13664 ); sensitive << ( tmp_pixel_6_reg_13678 ); sensitive << ( tmp_pixel_8_reg_13692 ); sensitive << ( tmp_pixel_10_reg_13706 ); sensitive << ( tmp_pixel_12_reg_13720 ); sensitive << ( tmp_pixel_14_reg_13734 ); sensitive << ( tmp_pixel_16_reg_13748 ); sensitive << ( tmp_pixel_18_reg_13762 ); sensitive << ( tmp_pixel_20_reg_13776 ); sensitive << ( tmp_pixel_22_reg_13790 ); sensitive << ( tmp_pixel_24_reg_13804 ); sensitive << ( tmp_pixel_26_reg_13818 ); sensitive << ( tmp_pixel_28_reg_13832 ); sensitive << ( tmp_pixel_30_reg_13846 ); sensitive << ( tmp_pixel_32_reg_13860 ); sensitive << ( tmp_pixel_34_reg_13874 ); sensitive << ( tmp_pixel_36_reg_13888 ); sensitive << ( tmp_pixel_38_reg_13902 ); sensitive << ( tmp_pixel_40_reg_13916 ); sensitive << ( tmp_pixel_42_reg_13930 ); sensitive << ( tmp_pixel_44_reg_13944 ); sensitive << ( tmp_pixel_46_reg_13958 ); sensitive << ( tmp_pixel_48_reg_13972 ); sensitive << ( tmp_pixel_50_reg_13986 ); sensitive << ( tmp_pixel_52_reg_14000 ); sensitive << ( tmp_pixel_54_reg_14014 ); sensitive << ( tmp_pixel_56_reg_14028 ); sensitive << ( tmp_pixel_58_reg_14042 ); sensitive << ( tmp_pixel_60_reg_14056 ); sensitive << ( tmp_pixel_62_reg_14070 ); sensitive << ( tmp_pixel_64_reg_14084 ); sensitive << ( tmp_pixel_66_reg_14098 ); sensitive << ( tmp_pixel_68_reg_14112 ); sensitive << ( tmp_pixel_70_reg_14126 ); sensitive << ( tmp_pixel_72_reg_14140 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_0_pixel_we0); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_2170 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_0_pixel_we1); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( src_V_pixel0_status ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_2170 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_1_pixel_address0); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st3_fsm_2 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st2_fsm_1 ); sensitive << ( ap_sig_cseq_ST_st4_fsm_3 ); sensitive << ( ap_sig_cseq_ST_st5_fsm_4 ); sensitive << ( ap_sig_cseq_ST_st6_fsm_5 ); sensitive << ( ap_sig_cseq_ST_st7_fsm_6 ); sensitive << ( ap_sig_cseq_ST_st8_fsm_7 ); sensitive << ( ap_sig_cseq_ST_st9_fsm_8 ); sensitive << ( ap_sig_cseq_ST_st10_fsm_9 ); sensitive << ( ap_sig_cseq_ST_st11_fsm_10 ); sensitive << ( ap_sig_cseq_ST_st12_fsm_11 ); sensitive << ( ap_sig_cseq_ST_st13_fsm_12 ); sensitive << ( ap_sig_cseq_ST_st14_fsm_13 ); sensitive << ( ap_sig_cseq_ST_st15_fsm_14 ); sensitive << ( ap_sig_cseq_ST_st16_fsm_15 ); sensitive << ( ap_sig_cseq_ST_st17_fsm_16 ); sensitive << ( ap_sig_cseq_ST_st18_fsm_17 ); sensitive << ( ap_sig_cseq_ST_st19_fsm_18 ); sensitive << ( ap_sig_cseq_ST_st20_fsm_19 ); sensitive << ( ap_sig_cseq_ST_st21_fsm_20 ); sensitive << ( ap_sig_cseq_ST_st22_fsm_21 ); sensitive << ( ap_sig_cseq_ST_st23_fsm_22 ); sensitive << ( ap_sig_cseq_ST_st24_fsm_23 ); sensitive << ( ap_sig_cseq_ST_st25_fsm_24 ); sensitive << ( ap_sig_cseq_ST_st26_fsm_25 ); sensitive << ( ap_sig_cseq_ST_st27_fsm_26 ); sensitive << ( ap_sig_cseq_ST_st28_fsm_27 ); sensitive << ( ap_sig_cseq_ST_st29_fsm_28 ); sensitive << ( ap_sig_cseq_ST_st30_fsm_29 ); sensitive << ( ap_sig_cseq_ST_st31_fsm_30 ); sensitive << ( ap_sig_cseq_ST_st32_fsm_31 ); sensitive << ( ap_sig_cseq_ST_st33_fsm_32 ); sensitive << ( ap_sig_cseq_ST_st34_fsm_33 ); sensitive << ( ap_sig_cseq_ST_st35_fsm_34 ); sensitive << ( ap_sig_cseq_ST_st36_fsm_35 ); sensitive << ( ap_sig_cseq_ST_st37_fsm_36 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_1_pixel_address1); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st3_fsm_2 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st2_fsm_1 ); sensitive << ( ap_sig_cseq_ST_st4_fsm_3 ); sensitive << ( ap_sig_cseq_ST_st5_fsm_4 ); sensitive << ( ap_sig_cseq_ST_st6_fsm_5 ); sensitive << ( ap_sig_cseq_ST_st7_fsm_6 ); sensitive << ( ap_sig_cseq_ST_st8_fsm_7 ); sensitive << ( ap_sig_cseq_ST_st9_fsm_8 ); sensitive << ( ap_sig_cseq_ST_st10_fsm_9 ); sensitive << ( ap_sig_cseq_ST_st11_fsm_10 ); sensitive << ( ap_sig_cseq_ST_st12_fsm_11 ); sensitive << ( ap_sig_cseq_ST_st13_fsm_12 ); sensitive << ( ap_sig_cseq_ST_st14_fsm_13 ); sensitive << ( ap_sig_cseq_ST_st15_fsm_14 ); sensitive << ( ap_sig_cseq_ST_st16_fsm_15 ); sensitive << ( ap_sig_cseq_ST_st17_fsm_16 ); sensitive << ( ap_sig_cseq_ST_st18_fsm_17 ); sensitive << ( ap_sig_cseq_ST_st19_fsm_18 ); sensitive << ( ap_sig_cseq_ST_st20_fsm_19 ); sensitive << ( ap_sig_cseq_ST_st21_fsm_20 ); sensitive << ( ap_sig_cseq_ST_st22_fsm_21 ); sensitive << ( ap_sig_cseq_ST_st23_fsm_22 ); sensitive << ( ap_sig_cseq_ST_st24_fsm_23 ); sensitive << ( ap_sig_cseq_ST_st25_fsm_24 ); sensitive << ( ap_sig_cseq_ST_st26_fsm_25 ); sensitive << ( ap_sig_cseq_ST_st27_fsm_26 ); sensitive << ( ap_sig_cseq_ST_st28_fsm_27 ); sensitive << ( ap_sig_cseq_ST_st29_fsm_28 ); sensitive << ( ap_sig_cseq_ST_st30_fsm_29 ); sensitive << ( ap_sig_cseq_ST_st31_fsm_30 ); sensitive << ( ap_sig_cseq_ST_st32_fsm_31 ); sensitive << ( ap_sig_cseq_ST_st33_fsm_32 ); sensitive << ( ap_sig_cseq_ST_st34_fsm_33 ); sensitive << ( ap_sig_cseq_ST_st35_fsm_34 ); sensitive << ( ap_sig_cseq_ST_st36_fsm_35 ); sensitive << ( ap_sig_cseq_ST_st37_fsm_36 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_1_pixel_ce0); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st3_fsm_2 ); sensitive << ( src_V_pixel0_status ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st2_fsm_1 ); sensitive << ( ap_sig_cseq_ST_st4_fsm_3 ); sensitive << ( ap_sig_cseq_ST_st5_fsm_4 ); sensitive << ( ap_sig_cseq_ST_st6_fsm_5 ); sensitive << ( ap_sig_cseq_ST_st7_fsm_6 ); sensitive << ( ap_sig_cseq_ST_st8_fsm_7 ); sensitive << ( ap_sig_cseq_ST_st9_fsm_8 ); sensitive << ( ap_sig_cseq_ST_st10_fsm_9 ); sensitive << ( ap_sig_cseq_ST_st11_fsm_10 ); sensitive << ( ap_sig_cseq_ST_st12_fsm_11 ); sensitive << ( ap_sig_cseq_ST_st13_fsm_12 ); sensitive << ( ap_sig_cseq_ST_st14_fsm_13 ); sensitive << ( ap_sig_cseq_ST_st15_fsm_14 ); sensitive << ( ap_sig_cseq_ST_st16_fsm_15 ); sensitive << ( ap_sig_cseq_ST_st17_fsm_16 ); sensitive << ( ap_sig_cseq_ST_st18_fsm_17 ); sensitive << ( ap_sig_cseq_ST_st19_fsm_18 ); sensitive << ( ap_sig_cseq_ST_st20_fsm_19 ); sensitive << ( ap_sig_cseq_ST_st21_fsm_20 ); sensitive << ( ap_sig_cseq_ST_st22_fsm_21 ); sensitive << ( ap_sig_cseq_ST_st23_fsm_22 ); sensitive << ( ap_sig_cseq_ST_st24_fsm_23 ); sensitive << ( ap_sig_cseq_ST_st25_fsm_24 ); sensitive << ( ap_sig_cseq_ST_st26_fsm_25 ); sensitive << ( ap_sig_cseq_ST_st27_fsm_26 ); sensitive << ( ap_sig_cseq_ST_st28_fsm_27 ); sensitive << ( ap_sig_cseq_ST_st29_fsm_28 ); sensitive << ( ap_sig_cseq_ST_st30_fsm_29 ); sensitive << ( ap_sig_cseq_ST_st31_fsm_30 ); sensitive << ( ap_sig_cseq_ST_st32_fsm_31 ); sensitive << ( ap_sig_cseq_ST_st33_fsm_32 ); sensitive << ( ap_sig_cseq_ST_st34_fsm_33 ); sensitive << ( ap_sig_cseq_ST_st35_fsm_34 ); sensitive << ( ap_sig_cseq_ST_st36_fsm_35 ); sensitive << ( ap_sig_cseq_ST_st37_fsm_36 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_2170 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_1_pixel_ce1); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st3_fsm_2 ); sensitive << ( src_V_pixel0_status ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st2_fsm_1 ); sensitive << ( ap_sig_cseq_ST_st4_fsm_3 ); sensitive << ( ap_sig_cseq_ST_st5_fsm_4 ); sensitive << ( ap_sig_cseq_ST_st6_fsm_5 ); sensitive << ( ap_sig_cseq_ST_st7_fsm_6 ); sensitive << ( ap_sig_cseq_ST_st8_fsm_7 ); sensitive << ( ap_sig_cseq_ST_st9_fsm_8 ); sensitive << ( ap_sig_cseq_ST_st10_fsm_9 ); sensitive << ( ap_sig_cseq_ST_st11_fsm_10 ); sensitive << ( ap_sig_cseq_ST_st12_fsm_11 ); sensitive << ( ap_sig_cseq_ST_st13_fsm_12 ); sensitive << ( ap_sig_cseq_ST_st14_fsm_13 ); sensitive << ( ap_sig_cseq_ST_st15_fsm_14 ); sensitive << ( ap_sig_cseq_ST_st16_fsm_15 ); sensitive << ( ap_sig_cseq_ST_st17_fsm_16 ); sensitive << ( ap_sig_cseq_ST_st18_fsm_17 ); sensitive << ( ap_sig_cseq_ST_st19_fsm_18 ); sensitive << ( ap_sig_cseq_ST_st20_fsm_19 ); sensitive << ( ap_sig_cseq_ST_st21_fsm_20 ); sensitive << ( ap_sig_cseq_ST_st22_fsm_21 ); sensitive << ( ap_sig_cseq_ST_st23_fsm_22 ); sensitive << ( ap_sig_cseq_ST_st24_fsm_23 ); sensitive << ( ap_sig_cseq_ST_st25_fsm_24 ); sensitive << ( ap_sig_cseq_ST_st26_fsm_25 ); sensitive << ( ap_sig_cseq_ST_st27_fsm_26 ); sensitive << ( ap_sig_cseq_ST_st28_fsm_27 ); sensitive << ( ap_sig_cseq_ST_st29_fsm_28 ); sensitive << ( ap_sig_cseq_ST_st30_fsm_29 ); sensitive << ( ap_sig_cseq_ST_st31_fsm_30 ); sensitive << ( ap_sig_cseq_ST_st32_fsm_31 ); sensitive << ( ap_sig_cseq_ST_st33_fsm_32 ); sensitive << ( ap_sig_cseq_ST_st34_fsm_33 ); sensitive << ( ap_sig_cseq_ST_st35_fsm_34 ); sensitive << ( ap_sig_cseq_ST_st36_fsm_35 ); sensitive << ( ap_sig_cseq_ST_st37_fsm_36 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_2170 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_1_pixel_d0); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( reg_3223 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( linebuf_0_pixel_load_3_reg_12847 ); sensitive << ( linebuf_0_pixel_load_5_reg_12871 ); sensitive << ( linebuf_0_pixel_load_7_reg_12895 ); sensitive << ( linebuf_0_pixel_load_9_reg_12919 ); sensitive << ( linebuf_0_pixel_load_11_reg_12943 ); sensitive << ( linebuf_0_pixel_load_13_reg_12967 ); sensitive << ( linebuf_0_pixel_load_15_reg_12991 ); sensitive << ( linebuf_0_pixel_load_17_reg_13015 ); sensitive << ( linebuf_0_pixel_load_19_reg_13039 ); sensitive << ( linebuf_0_pixel_load_21_reg_13063 ); sensitive << ( linebuf_0_pixel_load_23_reg_13087 ); sensitive << ( linebuf_0_pixel_load_25_reg_13111 ); sensitive << ( linebuf_0_pixel_load_27_reg_13135 ); sensitive << ( linebuf_0_pixel_load_29_reg_13159 ); sensitive << ( linebuf_0_pixel_load_31_reg_13183 ); sensitive << ( linebuf_0_pixel_load_33_reg_13207 ); sensitive << ( linebuf_0_pixel_load_35_reg_13231 ); sensitive << ( linebuf_0_pixel_load_37_reg_13255 ); sensitive << ( linebuf_0_pixel_load_39_reg_13279 ); sensitive << ( linebuf_0_pixel_load_41_reg_13303 ); sensitive << ( linebuf_0_pixel_load_43_reg_13327 ); sensitive << ( linebuf_0_pixel_load_45_reg_13351 ); sensitive << ( linebuf_0_pixel_load_47_reg_13375 ); sensitive << ( linebuf_0_pixel_load_49_reg_13399 ); sensitive << ( linebuf_0_pixel_load_51_reg_13423 ); sensitive << ( linebuf_0_pixel_load_53_reg_13447 ); sensitive << ( linebuf_0_pixel_load_55_reg_13471 ); sensitive << ( linebuf_0_pixel_load_57_reg_13495 ); sensitive << ( linebuf_0_pixel_load_59_reg_13519 ); sensitive << ( linebuf_0_pixel_load_61_reg_13543 ); sensitive << ( linebuf_0_pixel_load_63_reg_13567 ); sensitive << ( linebuf_0_pixel_load_65_reg_13591 ); sensitive << ( linebuf_0_pixel_load_67_reg_13615 ); sensitive << ( linebuf_0_pixel_load_69_reg_13639 ); sensitive << ( linebuf_0_pixel_load_71_reg_14152 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_1_pixel_d1); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( reg_3218 ); sensitive << ( reg_3223 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( linebuf_0_pixel_load_2_reg_12842 ); sensitive << ( linebuf_0_pixel_load_4_reg_12866 ); sensitive << ( linebuf_0_pixel_load_6_reg_12890 ); sensitive << ( linebuf_0_pixel_load_8_reg_12914 ); sensitive << ( linebuf_0_pixel_load_10_reg_12938 ); sensitive << ( linebuf_0_pixel_load_12_reg_12962 ); sensitive << ( linebuf_0_pixel_load_14_reg_12986 ); sensitive << ( linebuf_0_pixel_load_16_reg_13010 ); sensitive << ( linebuf_0_pixel_load_18_reg_13034 ); sensitive << ( linebuf_0_pixel_load_20_reg_13058 ); sensitive << ( linebuf_0_pixel_load_22_reg_13082 ); sensitive << ( linebuf_0_pixel_load_24_reg_13106 ); sensitive << ( linebuf_0_pixel_load_26_reg_13130 ); sensitive << ( linebuf_0_pixel_load_28_reg_13154 ); sensitive << ( linebuf_0_pixel_load_30_reg_13178 ); sensitive << ( linebuf_0_pixel_load_32_reg_13202 ); sensitive << ( linebuf_0_pixel_load_34_reg_13226 ); sensitive << ( linebuf_0_pixel_load_36_reg_13250 ); sensitive << ( linebuf_0_pixel_load_38_reg_13274 ); sensitive << ( linebuf_0_pixel_load_40_reg_13298 ); sensitive << ( linebuf_0_pixel_load_42_reg_13322 ); sensitive << ( linebuf_0_pixel_load_44_reg_13346 ); sensitive << ( linebuf_0_pixel_load_46_reg_13370 ); sensitive << ( linebuf_0_pixel_load_48_reg_13394 ); sensitive << ( linebuf_0_pixel_load_50_reg_13418 ); sensitive << ( linebuf_0_pixel_load_52_reg_13442 ); sensitive << ( linebuf_0_pixel_load_54_reg_13466 ); sensitive << ( linebuf_0_pixel_load_56_reg_13490 ); sensitive << ( linebuf_0_pixel_load_58_reg_13514 ); sensitive << ( linebuf_0_pixel_load_60_reg_13538 ); sensitive << ( linebuf_0_pixel_load_62_reg_13562 ); sensitive << ( linebuf_0_pixel_load_64_reg_13586 ); sensitive << ( linebuf_0_pixel_load_66_reg_13610 ); sensitive << ( linebuf_0_pixel_load_68_reg_13634 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_1_pixel_we0); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_2170 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_linebuf_1_pixel_we1); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( ap_sig_cseq_ST_st40_fsm_39 ); sensitive << ( src_V_pixel0_status ); sensitive << ( ap_sig_cseq_ST_st39_fsm_38 ); sensitive << ( ap_sig_cseq_ST_st74_fsm_73 ); sensitive << ( ap_sig_2170 ); sensitive << ( ap_sig_cseq_ST_st41_fsm_40 ); sensitive << ( ap_sig_cseq_ST_st42_fsm_41 ); sensitive << ( ap_sig_cseq_ST_st43_fsm_42 ); sensitive << ( ap_sig_cseq_ST_st44_fsm_43 ); sensitive << ( ap_sig_cseq_ST_st45_fsm_44 ); sensitive << ( ap_sig_cseq_ST_st46_fsm_45 ); sensitive << ( ap_sig_cseq_ST_st47_fsm_46 ); sensitive << ( ap_sig_cseq_ST_st48_fsm_47 ); sensitive << ( ap_sig_cseq_ST_st49_fsm_48 ); sensitive << ( ap_sig_cseq_ST_st50_fsm_49 ); sensitive << ( ap_sig_cseq_ST_st51_fsm_50 ); sensitive << ( ap_sig_cseq_ST_st52_fsm_51 ); sensitive << ( ap_sig_cseq_ST_st53_fsm_52 ); sensitive << ( ap_sig_cseq_ST_st54_fsm_53 ); sensitive << ( ap_sig_cseq_ST_st55_fsm_54 ); sensitive << ( ap_sig_cseq_ST_st56_fsm_55 ); sensitive << ( ap_sig_cseq_ST_st57_fsm_56 ); sensitive << ( ap_sig_cseq_ST_st58_fsm_57 ); sensitive << ( ap_sig_cseq_ST_st59_fsm_58 ); sensitive << ( ap_sig_cseq_ST_st60_fsm_59 ); sensitive << ( ap_sig_cseq_ST_st61_fsm_60 ); sensitive << ( ap_sig_cseq_ST_st62_fsm_61 ); sensitive << ( ap_sig_cseq_ST_st63_fsm_62 ); sensitive << ( ap_sig_cseq_ST_st64_fsm_63 ); sensitive << ( ap_sig_cseq_ST_st65_fsm_64 ); sensitive << ( ap_sig_cseq_ST_st66_fsm_65 ); sensitive << ( ap_sig_cseq_ST_st67_fsm_66 ); sensitive << ( ap_sig_cseq_ST_st68_fsm_67 ); sensitive << ( ap_sig_cseq_ST_st69_fsm_68 ); sensitive << ( ap_sig_cseq_ST_st70_fsm_69 ); sensitive << ( ap_sig_cseq_ST_st71_fsm_70 ); sensitive << ( ap_sig_cseq_ST_st72_fsm_71 ); sensitive << ( ap_sig_cseq_ST_st73_fsm_72 ); SC_METHOD(thread_p_shl10_cast_fu_5533_p1); sensitive << ( p_shl10_fu_5526_p3 ); SC_METHOD(thread_p_shl10_fu_5526_p3); sensitive << ( linebuf_1_pixel_load_11_reg_12931 ); SC_METHOD(thread_p_shl11_cast_fu_5638_p1); sensitive << ( p_shl11_fu_5631_p3 ); SC_METHOD(thread_p_shl11_fu_5631_p3); sensitive << ( linebuf_1_pixel_load_12_reg_12948 ); SC_METHOD(thread_p_shl12_cast_fu_5743_p1); sensitive << ( p_shl12_fu_5736_p3 ); SC_METHOD(thread_p_shl12_fu_5736_p3); sensitive << ( linebuf_1_pixel_load_13_reg_12955 ); SC_METHOD(thread_p_shl13_cast_fu_5848_p1); sensitive << ( p_shl13_fu_5841_p3 ); SC_METHOD(thread_p_shl13_fu_5841_p3); sensitive << ( linebuf_1_pixel_load_14_reg_12972 ); SC_METHOD(thread_p_shl14_cast_fu_5953_p1); sensitive << ( p_shl14_fu_5946_p3 ); SC_METHOD(thread_p_shl14_fu_5946_p3); sensitive << ( linebuf_1_pixel_load_15_reg_12979 ); SC_METHOD(thread_p_shl15_cast_fu_6058_p1); sensitive << ( p_shl15_fu_6051_p3 ); SC_METHOD(thread_p_shl15_fu_6051_p3); sensitive << ( linebuf_1_pixel_load_16_reg_12996 ); SC_METHOD(thread_p_shl16_cast_fu_6163_p1); sensitive << ( p_shl16_fu_6156_p3 ); SC_METHOD(thread_p_shl16_fu_6156_p3); sensitive << ( linebuf_1_pixel_load_17_reg_13003 ); SC_METHOD(thread_p_shl17_cast_fu_6268_p1); sensitive << ( p_shl17_fu_6261_p3 ); SC_METHOD(thread_p_shl17_fu_6261_p3); sensitive << ( linebuf_1_pixel_load_18_reg_13020 ); SC_METHOD(thread_p_shl18_cast_fu_6373_p1); sensitive << ( p_shl18_fu_6366_p3 ); SC_METHOD(thread_p_shl18_fu_6366_p3); sensitive << ( linebuf_1_pixel_load_19_reg_13027 ); SC_METHOD(thread_p_shl19_cast_fu_6478_p1); sensitive << ( p_shl19_fu_6471_p3 ); SC_METHOD(thread_p_shl19_fu_6471_p3); sensitive << ( linebuf_1_pixel_load_20_reg_13044 ); SC_METHOD(thread_p_shl1_cast_fu_4588_p1); sensitive << ( p_shl1_fu_4581_p3 ); SC_METHOD(thread_p_shl1_fu_4581_p3); sensitive << ( linebuf_1_pixel_load_2_reg_12828 ); SC_METHOD(thread_p_shl20_cast_fu_6583_p1); sensitive << ( p_shl20_fu_6576_p3 ); SC_METHOD(thread_p_shl20_fu_6576_p3); sensitive << ( linebuf_1_pixel_load_21_reg_13051 ); SC_METHOD(thread_p_shl21_cast_fu_6688_p1); sensitive << ( p_shl21_fu_6681_p3 ); SC_METHOD(thread_p_shl21_fu_6681_p3); sensitive << ( linebuf_1_pixel_load_22_reg_13068 ); SC_METHOD(thread_p_shl22_cast_fu_6793_p1); sensitive << ( p_shl22_fu_6786_p3 ); SC_METHOD(thread_p_shl22_fu_6786_p3); sensitive << ( linebuf_1_pixel_load_23_reg_13075 ); SC_METHOD(thread_p_shl23_cast_fu_6898_p1); sensitive << ( p_shl23_fu_6891_p3 ); SC_METHOD(thread_p_shl23_fu_6891_p3); sensitive << ( linebuf_1_pixel_load_24_reg_13092 ); SC_METHOD(thread_p_shl24_cast_fu_7003_p1); sensitive << ( p_shl24_fu_6996_p3 ); SC_METHOD(thread_p_shl24_fu_6996_p3); sensitive << ( linebuf_1_pixel_load_25_reg_13099 ); SC_METHOD(thread_p_shl25_cast_fu_7108_p1); sensitive << ( p_shl25_fu_7101_p3 ); SC_METHOD(thread_p_shl25_fu_7101_p3); sensitive << ( linebuf_1_pixel_load_26_reg_13116 ); SC_METHOD(thread_p_shl26_cast_fu_7213_p1); sensitive << ( p_shl26_fu_7206_p3 ); SC_METHOD(thread_p_shl26_fu_7206_p3); sensitive << ( linebuf_1_pixel_load_27_reg_13123 ); SC_METHOD(thread_p_shl27_cast_fu_7318_p1); sensitive << ( p_shl27_fu_7311_p3 ); SC_METHOD(thread_p_shl27_fu_7311_p3); sensitive << ( linebuf_1_pixel_load_28_reg_13140 ); SC_METHOD(thread_p_shl28_cast_fu_7423_p1); sensitive << ( p_shl28_fu_7416_p3 ); SC_METHOD(thread_p_shl28_fu_7416_p3); sensitive << ( linebuf_1_pixel_load_29_reg_13147 ); SC_METHOD(thread_p_shl29_cast_fu_7528_p1); sensitive << ( p_shl29_fu_7521_p3 ); SC_METHOD(thread_p_shl29_fu_7521_p3); sensitive << ( linebuf_1_pixel_load_30_reg_13164 ); SC_METHOD(thread_p_shl2_cast_fu_4693_p1); sensitive << ( p_shl2_fu_4686_p3 ); SC_METHOD(thread_p_shl2_fu_4686_p3); sensitive << ( linebuf_1_pixel_load_3_reg_12835 ); SC_METHOD(thread_p_shl30_cast_fu_7633_p1); sensitive << ( p_shl30_fu_7626_p3 ); SC_METHOD(thread_p_shl30_fu_7626_p3); sensitive << ( linebuf_1_pixel_load_31_reg_13171 ); SC_METHOD(thread_p_shl31_cast_fu_7738_p1); sensitive << ( p_shl31_fu_7731_p3 ); SC_METHOD(thread_p_shl31_fu_7731_p3); sensitive << ( linebuf_1_pixel_load_32_reg_13188 ); SC_METHOD(thread_p_shl32_cast_fu_7843_p1); sensitive << ( p_shl32_fu_7836_p3 ); SC_METHOD(thread_p_shl32_fu_7836_p3); sensitive << ( linebuf_1_pixel_load_33_reg_13195 ); SC_METHOD(thread_p_shl33_cast_fu_7948_p1); sensitive << ( p_shl33_fu_7941_p3 ); SC_METHOD(thread_p_shl33_fu_7941_p3); sensitive << ( linebuf_1_pixel_load_34_reg_13212 ); SC_METHOD(thread_p_shl34_cast_fu_8053_p1); sensitive << ( p_shl34_fu_8046_p3 ); SC_METHOD(thread_p_shl34_fu_8046_p3); sensitive << ( linebuf_1_pixel_load_35_reg_13219 ); SC_METHOD(thread_p_shl35_cast_fu_8158_p1); sensitive << ( p_shl35_fu_8151_p3 ); SC_METHOD(thread_p_shl35_fu_8151_p3); sensitive << ( linebuf_1_pixel_load_36_reg_13236 ); SC_METHOD(thread_p_shl36_cast_fu_8263_p1); sensitive << ( p_shl36_fu_8256_p3 ); SC_METHOD(thread_p_shl36_fu_8256_p3); sensitive << ( linebuf_1_pixel_load_37_reg_13243 ); SC_METHOD(thread_p_shl37_cast_fu_8368_p1); sensitive << ( p_shl37_fu_8361_p3 ); SC_METHOD(thread_p_shl37_fu_8361_p3); sensitive << ( linebuf_1_pixel_load_38_reg_13260 ); SC_METHOD(thread_p_shl38_cast_fu_8473_p1); sensitive << ( p_shl38_fu_8466_p3 ); SC_METHOD(thread_p_shl38_fu_8466_p3); sensitive << ( linebuf_1_pixel_load_39_reg_13267 ); SC_METHOD(thread_p_shl39_cast_fu_8578_p1); sensitive << ( p_shl39_fu_8571_p3 ); SC_METHOD(thread_p_shl39_fu_8571_p3); sensitive << ( linebuf_1_pixel_load_40_reg_13284 ); SC_METHOD(thread_p_shl3_cast_fu_4798_p1); sensitive << ( p_shl3_fu_4791_p3 ); SC_METHOD(thread_p_shl3_fu_4791_p3); sensitive << ( linebuf_1_pixel_load_4_reg_12852 ); SC_METHOD(thread_p_shl40_cast_fu_8683_p1); sensitive << ( p_shl40_fu_8676_p3 ); SC_METHOD(thread_p_shl40_fu_8676_p3); sensitive << ( linebuf_1_pixel_load_41_reg_13291 ); SC_METHOD(thread_p_shl41_cast_fu_8788_p1); sensitive << ( p_shl41_fu_8781_p3 ); SC_METHOD(thread_p_shl41_fu_8781_p3); sensitive << ( linebuf_1_pixel_load_42_reg_13308 ); SC_METHOD(thread_p_shl42_cast_fu_8893_p1); sensitive << ( p_shl42_fu_8886_p3 ); SC_METHOD(thread_p_shl42_fu_8886_p3); sensitive << ( linebuf_1_pixel_load_43_reg_13315 ); SC_METHOD(thread_p_shl43_cast_fu_8998_p1); sensitive << ( p_shl43_fu_8991_p3 ); SC_METHOD(thread_p_shl43_fu_8991_p3); sensitive << ( linebuf_1_pixel_load_44_reg_13332 ); SC_METHOD(thread_p_shl44_cast_fu_9103_p1); sensitive << ( p_shl44_fu_9096_p3 ); SC_METHOD(thread_p_shl44_fu_9096_p3); sensitive << ( linebuf_1_pixel_load_45_reg_13339 ); SC_METHOD(thread_p_shl45_cast_fu_9208_p1); sensitive << ( p_shl45_fu_9201_p3 ); SC_METHOD(thread_p_shl45_fu_9201_p3); sensitive << ( linebuf_1_pixel_load_46_reg_13356 ); SC_METHOD(thread_p_shl46_cast_fu_9313_p1); sensitive << ( p_shl46_fu_9306_p3 ); SC_METHOD(thread_p_shl46_fu_9306_p3); sensitive << ( linebuf_1_pixel_load_47_reg_13363 ); SC_METHOD(thread_p_shl47_cast_fu_9418_p1); sensitive << ( p_shl47_fu_9411_p3 ); SC_METHOD(thread_p_shl47_fu_9411_p3); sensitive << ( linebuf_1_pixel_load_48_reg_13380 ); SC_METHOD(thread_p_shl48_cast_fu_9523_p1); sensitive << ( p_shl48_fu_9516_p3 ); SC_METHOD(thread_p_shl48_fu_9516_p3); sensitive << ( linebuf_1_pixel_load_49_reg_13387 ); SC_METHOD(thread_p_shl49_cast_fu_9628_p1); sensitive << ( p_shl49_fu_9621_p3 ); SC_METHOD(thread_p_shl49_fu_9621_p3); sensitive << ( linebuf_1_pixel_load_50_reg_13404 ); SC_METHOD(thread_p_shl4_cast_fu_4903_p1); sensitive << ( p_shl4_fu_4896_p3 ); SC_METHOD(thread_p_shl4_fu_4896_p3); sensitive << ( linebuf_1_pixel_load_5_reg_12859 ); SC_METHOD(thread_p_shl50_cast_fu_9733_p1); sensitive << ( p_shl50_fu_9726_p3 ); SC_METHOD(thread_p_shl50_fu_9726_p3); sensitive << ( linebuf_1_pixel_load_51_reg_13411 ); SC_METHOD(thread_p_shl51_cast_fu_9838_p1); sensitive << ( p_shl51_fu_9831_p3 ); SC_METHOD(thread_p_shl51_fu_9831_p3); sensitive << ( linebuf_1_pixel_load_52_reg_13428 ); SC_METHOD(thread_p_shl52_cast_fu_9943_p1); sensitive << ( p_shl52_fu_9936_p3 ); SC_METHOD(thread_p_shl52_fu_9936_p3); sensitive << ( linebuf_1_pixel_load_53_reg_13435 ); SC_METHOD(thread_p_shl53_cast_fu_10048_p1); sensitive << ( p_shl53_fu_10041_p3 ); SC_METHOD(thread_p_shl53_fu_10041_p3); sensitive << ( linebuf_1_pixel_load_54_reg_13452 ); SC_METHOD(thread_p_shl54_cast_fu_10153_p1); sensitive << ( p_shl54_fu_10146_p3 ); SC_METHOD(thread_p_shl54_fu_10146_p3); sensitive << ( linebuf_1_pixel_load_55_reg_13459 ); SC_METHOD(thread_p_shl55_cast_fu_10258_p1); sensitive << ( p_shl55_fu_10251_p3 ); SC_METHOD(thread_p_shl55_fu_10251_p3); sensitive << ( linebuf_1_pixel_load_56_reg_13476 ); SC_METHOD(thread_p_shl56_cast_fu_10363_p1); sensitive << ( p_shl56_fu_10356_p3 ); SC_METHOD(thread_p_shl56_fu_10356_p3); sensitive << ( linebuf_1_pixel_load_57_reg_13483 ); SC_METHOD(thread_p_shl57_cast_fu_10468_p1); sensitive << ( p_shl57_fu_10461_p3 ); SC_METHOD(thread_p_shl57_fu_10461_p3); sensitive << ( linebuf_1_pixel_load_58_reg_13500 ); SC_METHOD(thread_p_shl58_cast_fu_10573_p1); sensitive << ( p_shl58_fu_10566_p3 ); SC_METHOD(thread_p_shl58_fu_10566_p3); sensitive << ( linebuf_1_pixel_load_59_reg_13507 ); SC_METHOD(thread_p_shl59_cast_fu_10678_p1); sensitive << ( p_shl59_fu_10671_p3 ); SC_METHOD(thread_p_shl59_fu_10671_p3); sensitive << ( linebuf_1_pixel_load_60_reg_13524 ); SC_METHOD(thread_p_shl5_cast_fu_5008_p1); sensitive << ( p_shl5_fu_5001_p3 ); SC_METHOD(thread_p_shl5_fu_5001_p3); sensitive << ( linebuf_1_pixel_load_6_reg_12876 ); SC_METHOD(thread_p_shl60_cast_fu_10783_p1); sensitive << ( p_shl60_fu_10776_p3 ); SC_METHOD(thread_p_shl60_fu_10776_p3); sensitive << ( linebuf_1_pixel_load_61_reg_13531 ); SC_METHOD(thread_p_shl61_cast_fu_10888_p1); sensitive << ( p_shl61_fu_10881_p3 ); SC_METHOD(thread_p_shl61_fu_10881_p3); sensitive << ( linebuf_1_pixel_load_62_reg_13548 ); SC_METHOD(thread_p_shl62_cast_fu_10993_p1); sensitive << ( p_shl62_fu_10986_p3 ); SC_METHOD(thread_p_shl62_fu_10986_p3); sensitive << ( linebuf_1_pixel_load_63_reg_13555 ); SC_METHOD(thread_p_shl63_cast_fu_11098_p1); sensitive << ( p_shl63_fu_11091_p3 ); SC_METHOD(thread_p_shl63_fu_11091_p3); sensitive << ( linebuf_1_pixel_load_64_reg_13572 ); SC_METHOD(thread_p_shl64_cast_fu_11203_p1); sensitive << ( p_shl64_fu_11196_p3 ); SC_METHOD(thread_p_shl64_fu_11196_p3); sensitive << ( linebuf_1_pixel_load_65_reg_13579 ); SC_METHOD(thread_p_shl65_cast_fu_11308_p1); sensitive << ( p_shl65_fu_11301_p3 ); SC_METHOD(thread_p_shl65_fu_11301_p3); sensitive << ( linebuf_1_pixel_load_66_reg_13596 ); SC_METHOD(thread_p_shl66_cast_fu_11413_p1); sensitive << ( p_shl66_fu_11406_p3 ); SC_METHOD(thread_p_shl66_fu_11406_p3); sensitive << ( linebuf_1_pixel_load_67_reg_13603 ); SC_METHOD(thread_p_shl67_cast_fu_11518_p1); sensitive << ( p_shl67_fu_11511_p3 ); SC_METHOD(thread_p_shl67_fu_11511_p3); sensitive << ( linebuf_1_pixel_load_68_reg_13620 ); SC_METHOD(thread_p_shl68_cast_fu_11623_p1); sensitive << ( p_shl68_fu_11616_p3 ); SC_METHOD(thread_p_shl68_fu_11616_p3); sensitive << ( linebuf_1_pixel_load_69_reg_13627 ); SC_METHOD(thread_p_shl69_cast_fu_11730_p1); sensitive << ( p_shl69_fu_11722_p3 ); SC_METHOD(thread_p_shl69_fu_11722_p3); sensitive << ( reg_3214 ); SC_METHOD(thread_p_shl6_cast_fu_5113_p1); sensitive << ( p_shl6_fu_5106_p3 ); SC_METHOD(thread_p_shl6_fu_5106_p3); sensitive << ( linebuf_1_pixel_load_7_reg_12883 ); SC_METHOD(thread_p_shl70_cast_fu_11835_p1); sensitive << ( p_shl70_fu_11828_p3 ); SC_METHOD(thread_p_shl70_fu_11828_p3); sensitive << ( linebuf_1_pixel_load_71_reg_14146 ); SC_METHOD(thread_p_shl7_cast_fu_5218_p1); sensitive << ( p_shl7_fu_5211_p3 ); SC_METHOD(thread_p_shl7_fu_5211_p3); sensitive << ( linebuf_1_pixel_load_8_reg_12900 ); SC_METHOD(thread_p_shl8_cast_fu_5323_p1); sensitive << ( p_shl8_fu_5316_p3 ); SC_METHOD(thread_p_shl8_fu_5316_p3); sensitive << ( linebuf_1_pixel_load_9_reg_12907 ); SC_METHOD(thread_p_shl9_cast_fu_5428_p1); sensitive << ( p_shl9_fu_5421_p3 ); SC_METHOD(thread_p_shl9_fu_5421_p3); sensitive << ( linebuf_1_pixel_load_10_reg_12924 ); SC_METHOD(thread_p_shl_cast_fu_4483_p1); sensitive << ( p_shl_fu_4476_p3 ); SC_METHOD(thread_p_shl_fu_4476_p3); sensitive << ( linebuf_1_pixel_load_1_reg_12822 ); SC_METHOD(thread_src_V_pixel0_status); sensitive << ( src_V_pixel_empty_n ); sensitive << ( src_V_pixel1_empty_n ); sensitive << ( src_V_pixel2_empty_n ); sensitive << ( src_V_pixel3_empty_n ); sensitive << ( src_V_pixel4_empty_n ); sensitive << ( src_V_pixel5_empty_n ); sensitive << ( src_V_pixel6_empty_n ); sensitive << ( src_V_pixel7_empty_n ); sensitive << ( src_V_pixel8_empty_n ); sensitive << ( src_V_pixel9_empty_n ); sensitive << ( src_V_pixel10_empty_n ); sensitive << ( src_V_pixel11_empty_n ); sensitive << ( src_V_pixel12_empty_n ); sensitive << ( src_V_pixel13_empty_n ); sensitive << ( src_V_pixel14_empty_n ); sensitive << ( src_V_pixel15_empty_n ); sensitive << ( src_V_pixel16_empty_n ); sensitive << ( src_V_pixel17_empty_n ); sensitive << ( src_V_pixel18_empty_n ); sensitive << ( src_V_pixel19_empty_n ); sensitive << ( src_V_pixel20_empty_n ); sensitive << ( src_V_pixel21_empty_n ); sensitive << ( src_V_pixel22_empty_n ); sensitive << ( src_V_pixel23_empty_n ); sensitive << ( src_V_pixel24_empty_n ); sensitive << ( src_V_pixel25_empty_n ); sensitive << ( src_V_pixel26_empty_n ); sensitive << ( src_V_pixel27_empty_n ); sensitive << ( src_V_pixel28_empty_n ); sensitive << ( src_V_pixel29_empty_n ); sensitive << ( src_V_pixel30_empty_n ); sensitive << ( src_V_pixel31_empty_n ); sensitive << ( src_V_pixel32_empty_n ); sensitive << ( src_V_pixel33_empty_n ); sensitive << ( src_V_pixel34_empty_n ); sensitive << ( src_V_pixel35_empty_n ); sensitive << ( src_V_pixel36_empty_n ); sensitive << ( src_V_pixel37_empty_n ); sensitive << ( src_V_pixel38_empty_n ); sensitive << ( src_V_pixel39_empty_n ); sensitive << ( src_V_pixel40_empty_n ); sensitive << ( src_V_pixel41_empty_n ); sensitive << ( src_V_pixel42_empty_n ); sensitive << ( src_V_pixel43_empty_n ); sensitive << ( src_V_pixel44_empty_n ); sensitive << ( src_V_pixel45_empty_n ); sensitive << ( src_V_pixel46_empty_n ); sensitive << ( src_V_pixel47_empty_n ); sensitive << ( src_V_pixel48_empty_n ); sensitive << ( src_V_pixel49_empty_n ); sensitive << ( src_V_pixel50_empty_n ); sensitive << ( src_V_pixel51_empty_n ); sensitive << ( src_V_pixel52_empty_n ); sensitive << ( src_V_pixel53_empty_n ); sensitive << ( src_V_pixel54_empty_n ); sensitive << ( src_V_pixel55_empty_n ); sensitive << ( src_V_pixel56_empty_n ); sensitive << ( src_V_pixel57_empty_n ); sensitive << ( src_V_pixel58_empty_n ); sensitive << ( src_V_pixel59_empty_n ); sensitive << ( src_V_pixel60_empty_n ); sensitive << ( src_V_pixel61_empty_n ); sensitive << ( src_V_pixel62_empty_n ); sensitive << ( src_V_pixel63_empty_n ); sensitive << ( src_V_pixel64_empty_n ); sensitive << ( src_V_pixel65_empty_n ); sensitive << ( src_V_pixel66_empty_n ); sensitive << ( src_V_pixel67_empty_n ); sensitive << ( src_V_pixel68_empty_n ); sensitive << ( src_V_pixel69_empty_n ); sensitive << ( src_V_pixel70_empty_n ); sensitive << ( src_V_pixel71_empty_n ); sensitive << ( src_V_pixel72_empty_n ); SC_METHOD(thread_src_V_pixel0_update); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); sensitive << ( src_V_pixel0_status ); SC_METHOD(thread_src_V_pixel10_blk_n); sensitive << ( src_V_pixel10_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel10_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel11_blk_n); sensitive << ( src_V_pixel11_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel11_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel12_blk_n); sensitive << ( src_V_pixel12_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel12_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel13_blk_n); sensitive << ( src_V_pixel13_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel13_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel14_blk_n); sensitive << ( src_V_pixel14_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel14_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel15_blk_n); sensitive << ( src_V_pixel15_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel15_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel16_blk_n); sensitive << ( src_V_pixel16_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel16_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel17_blk_n); sensitive << ( src_V_pixel17_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel17_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel18_blk_n); sensitive << ( src_V_pixel18_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel18_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel19_blk_n); sensitive << ( src_V_pixel19_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel19_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel1_blk_n); sensitive << ( src_V_pixel1_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel1_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel20_blk_n); sensitive << ( src_V_pixel20_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel20_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel21_blk_n); sensitive << ( src_V_pixel21_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel21_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel22_blk_n); sensitive << ( src_V_pixel22_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel22_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel23_blk_n); sensitive << ( src_V_pixel23_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel23_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel24_blk_n); sensitive << ( src_V_pixel24_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel24_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel25_blk_n); sensitive << ( src_V_pixel25_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel25_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel26_blk_n); sensitive << ( src_V_pixel26_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel26_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel27_blk_n); sensitive << ( src_V_pixel27_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel27_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel28_blk_n); sensitive << ( src_V_pixel28_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel28_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel29_blk_n); sensitive << ( src_V_pixel29_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel29_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel2_blk_n); sensitive << ( src_V_pixel2_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel2_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel30_blk_n); sensitive << ( src_V_pixel30_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel30_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel31_blk_n); sensitive << ( src_V_pixel31_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel31_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel32_blk_n); sensitive << ( src_V_pixel32_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel32_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel33_blk_n); sensitive << ( src_V_pixel33_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel33_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel34_blk_n); sensitive << ( src_V_pixel34_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel34_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel35_blk_n); sensitive << ( src_V_pixel35_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel35_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel36_blk_n); sensitive << ( src_V_pixel36_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel36_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel37_blk_n); sensitive << ( src_V_pixel37_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel37_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel38_blk_n); sensitive << ( src_V_pixel38_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel38_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel39_blk_n); sensitive << ( src_V_pixel39_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel39_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel3_blk_n); sensitive << ( src_V_pixel3_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel3_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel40_blk_n); sensitive << ( src_V_pixel40_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel40_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel41_blk_n); sensitive << ( src_V_pixel41_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel41_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel42_blk_n); sensitive << ( src_V_pixel42_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel42_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel43_blk_n); sensitive << ( src_V_pixel43_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel43_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel44_blk_n); sensitive << ( src_V_pixel44_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel44_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel45_blk_n); sensitive << ( src_V_pixel45_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel45_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel46_blk_n); sensitive << ( src_V_pixel46_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel46_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel47_blk_n); sensitive << ( src_V_pixel47_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel47_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel48_blk_n); sensitive << ( src_V_pixel48_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel48_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel49_blk_n); sensitive << ( src_V_pixel49_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel49_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel4_blk_n); sensitive << ( src_V_pixel4_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel4_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel50_blk_n); sensitive << ( src_V_pixel50_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel50_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel51_blk_n); sensitive << ( src_V_pixel51_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel51_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel52_blk_n); sensitive << ( src_V_pixel52_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel52_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel53_blk_n); sensitive << ( src_V_pixel53_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel53_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel54_blk_n); sensitive << ( src_V_pixel54_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel54_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel55_blk_n); sensitive << ( src_V_pixel55_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel55_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel56_blk_n); sensitive << ( src_V_pixel56_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel56_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel57_blk_n); sensitive << ( src_V_pixel57_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel57_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel58_blk_n); sensitive << ( src_V_pixel58_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel58_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel59_blk_n); sensitive << ( src_V_pixel59_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel59_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel5_blk_n); sensitive << ( src_V_pixel5_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel5_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel60_blk_n); sensitive << ( src_V_pixel60_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel60_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel61_blk_n); sensitive << ( src_V_pixel61_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel61_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel62_blk_n); sensitive << ( src_V_pixel62_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel62_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel63_blk_n); sensitive << ( src_V_pixel63_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel63_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel64_blk_n); sensitive << ( src_V_pixel64_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel64_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel65_blk_n); sensitive << ( src_V_pixel65_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel65_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel66_blk_n); sensitive << ( src_V_pixel66_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel66_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel67_blk_n); sensitive << ( src_V_pixel67_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel67_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel68_blk_n); sensitive << ( src_V_pixel68_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel68_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel69_blk_n); sensitive << ( src_V_pixel69_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel69_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel6_blk_n); sensitive << ( src_V_pixel6_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel6_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel70_blk_n); sensitive << ( src_V_pixel70_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel70_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel71_blk_n); sensitive << ( src_V_pixel71_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel71_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel72_blk_n); sensitive << ( src_V_pixel72_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel72_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel7_blk_n); sensitive << ( src_V_pixel7_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel7_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel8_blk_n); sensitive << ( src_V_pixel8_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel8_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel9_blk_n); sensitive << ( src_V_pixel9_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel9_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_src_V_pixel_blk_n); sensitive << ( src_V_pixel_empty_n ); sensitive << ( ap_sig_cseq_ST_st38_fsm_37 ); SC_METHOD(thread_src_V_pixel_read); sensitive << ( src_V_pixel0_update ); SC_METHOD(thread_sum_tr_10_fu_5680_p2); sensitive << ( tmp_4992_cast_fu_5671_p1 ); sensitive << ( tmp_1451_fu_5674_p2 ); SC_METHOD(thread_sum_tr_11_fu_5785_p2); sensitive << ( tmp_4997_cast_fu_5776_p1 ); sensitive << ( tmp_1453_fu_5779_p2 ); SC_METHOD(thread_sum_tr_12_fu_5890_p2); sensitive << ( tmp_5002_cast_fu_5881_p1 ); sensitive << ( tmp_1455_fu_5884_p2 ); SC_METHOD(thread_sum_tr_13_fu_5995_p2); sensitive << ( tmp_5007_cast_fu_5986_p1 ); sensitive << ( tmp_1457_fu_5989_p2 ); SC_METHOD(thread_sum_tr_14_fu_6100_p2); sensitive << ( tmp_5012_cast_fu_6091_p1 ); sensitive << ( tmp_1459_fu_6094_p2 ); SC_METHOD(thread_sum_tr_15_fu_6205_p2); sensitive << ( tmp_5017_cast_fu_6196_p1 ); sensitive << ( tmp_1461_fu_6199_p2 ); SC_METHOD(thread_sum_tr_16_fu_6310_p2); sensitive << ( tmp_5022_cast_fu_6301_p1 ); sensitive << ( tmp_1463_fu_6304_p2 ); SC_METHOD(thread_sum_tr_17_fu_6415_p2); sensitive << ( tmp_5027_cast_fu_6406_p1 ); sensitive << ( tmp_1465_fu_6409_p2 ); SC_METHOD(thread_sum_tr_18_fu_6520_p2); sensitive << ( tmp_5032_cast_fu_6511_p1 ); sensitive << ( tmp_1467_fu_6514_p2 ); SC_METHOD(thread_sum_tr_19_fu_6625_p2); sensitive << ( tmp_5037_cast_fu_6616_p1 ); sensitive << ( tmp_1469_fu_6619_p2 ); SC_METHOD(thread_sum_tr_1_fu_4630_p2); sensitive << ( tmp_4942_cast_fu_4621_p1 ); sensitive << ( tmp_1431_fu_4624_p2 ); SC_METHOD(thread_sum_tr_20_fu_6730_p2); sensitive << ( tmp_5042_cast_fu_6721_p1 ); sensitive << ( tmp_1471_fu_6724_p2 ); SC_METHOD(thread_sum_tr_21_fu_6835_p2); sensitive << ( tmp_5047_cast_fu_6826_p1 ); sensitive << ( tmp_1473_fu_6829_p2 ); SC_METHOD(thread_sum_tr_22_fu_6940_p2); sensitive << ( tmp_5052_cast_fu_6931_p1 ); sensitive << ( tmp_1475_fu_6934_p2 ); SC_METHOD(thread_sum_tr_23_fu_7045_p2); sensitive << ( tmp_5057_cast_fu_7036_p1 ); sensitive << ( tmp_1477_fu_7039_p2 ); SC_METHOD(thread_sum_tr_24_fu_7150_p2); sensitive << ( tmp_5062_cast_fu_7141_p1 ); sensitive << ( tmp_1479_fu_7144_p2 ); SC_METHOD(thread_sum_tr_25_fu_7255_p2); sensitive << ( tmp_5067_cast_fu_7246_p1 ); sensitive << ( tmp_1481_fu_7249_p2 ); SC_METHOD(thread_sum_tr_26_fu_7360_p2); sensitive << ( tmp_5072_cast_fu_7351_p1 ); sensitive << ( tmp_1483_fu_7354_p2 ); SC_METHOD(thread_sum_tr_27_fu_7465_p2); sensitive << ( tmp_5077_cast_fu_7456_p1 ); sensitive << ( tmp_1485_fu_7459_p2 ); SC_METHOD(thread_sum_tr_28_fu_7570_p2); sensitive << ( tmp_5082_cast_fu_7561_p1 ); sensitive << ( tmp_1487_fu_7564_p2 ); SC_METHOD(thread_sum_tr_29_fu_7675_p2); sensitive << ( tmp_5087_cast_fu_7666_p1 ); sensitive << ( tmp_1489_fu_7669_p2 ); SC_METHOD(thread_sum_tr_2_fu_4735_p2); sensitive << ( tmp_4947_cast_fu_4726_p1 ); sensitive << ( tmp_1433_fu_4729_p2 ); SC_METHOD(thread_sum_tr_30_fu_7780_p2); sensitive << ( tmp_5092_cast_fu_7771_p1 ); sensitive << ( tmp_1491_fu_7774_p2 ); SC_METHOD(thread_sum_tr_31_fu_7885_p2); sensitive << ( tmp_5097_cast_fu_7876_p1 ); sensitive << ( tmp_1493_fu_7879_p2 ); SC_METHOD(thread_sum_tr_32_fu_7990_p2); sensitive << ( tmp_5102_cast_fu_7981_p1 ); sensitive << ( tmp_1495_fu_7984_p2 ); SC_METHOD(thread_sum_tr_33_fu_8095_p2); sensitive << ( tmp_5107_cast_fu_8086_p1 ); sensitive << ( tmp_1497_fu_8089_p2 ); SC_METHOD(thread_sum_tr_34_fu_8200_p2); sensitive << ( tmp_5112_cast_fu_8191_p1 ); sensitive << ( tmp_1499_fu_8194_p2 ); SC_METHOD(thread_sum_tr_35_fu_8305_p2); sensitive << ( tmp_5117_cast_fu_8296_p1 ); sensitive << ( tmp_1501_fu_8299_p2 ); SC_METHOD(thread_sum_tr_36_fu_8410_p2); sensitive << ( tmp_5122_cast_fu_8401_p1 ); sensitive << ( tmp_1503_fu_8404_p2 ); SC_METHOD(thread_sum_tr_37_fu_8515_p2); sensitive << ( tmp_5127_cast_fu_8506_p1 ); sensitive << ( tmp_1505_fu_8509_p2 ); SC_METHOD(thread_sum_tr_38_fu_8620_p2); sensitive << ( tmp_5132_cast_fu_8611_p1 ); sensitive << ( tmp_1507_fu_8614_p2 ); SC_METHOD(thread_sum_tr_39_fu_8725_p2); sensitive << ( tmp_5137_cast_fu_8716_p1 ); sensitive << ( tmp_1509_fu_8719_p2 ); SC_METHOD(thread_sum_tr_3_fu_4840_p2); sensitive << ( tmp_4952_cast_fu_4831_p1 ); sensitive << ( tmp_1435_fu_4834_p2 ); SC_METHOD(thread_sum_tr_40_fu_8830_p2); sensitive << ( tmp_5142_cast_fu_8821_p1 ); sensitive << ( tmp_1511_fu_8824_p2 ); SC_METHOD(thread_sum_tr_41_fu_8935_p2); sensitive << ( tmp_5147_cast_fu_8926_p1 ); sensitive << ( tmp_1513_fu_8929_p2 ); SC_METHOD(thread_sum_tr_42_fu_9040_p2); sensitive << ( tmp_5152_cast_fu_9031_p1 ); sensitive << ( tmp_1515_fu_9034_p2 ); SC_METHOD(thread_sum_tr_43_fu_9145_p2); sensitive << ( tmp_5157_cast_fu_9136_p1 ); sensitive << ( tmp_1517_fu_9139_p2 ); SC_METHOD(thread_sum_tr_44_fu_9250_p2); sensitive << ( tmp_5162_cast_fu_9241_p1 ); sensitive << ( tmp_1519_fu_9244_p2 ); SC_METHOD(thread_sum_tr_45_fu_9355_p2); sensitive << ( tmp_5167_cast_fu_9346_p1 ); sensitive << ( tmp_1521_fu_9349_p2 ); SC_METHOD(thread_sum_tr_46_fu_9460_p2); sensitive << ( tmp_5172_cast_fu_9451_p1 ); sensitive << ( tmp_1523_fu_9454_p2 ); SC_METHOD(thread_sum_tr_47_fu_9565_p2); sensitive << ( tmp_5177_cast_fu_9556_p1 ); sensitive << ( tmp_1525_fu_9559_p2 ); SC_METHOD(thread_sum_tr_48_fu_9670_p2); sensitive << ( tmp_5182_cast_fu_9661_p1 ); sensitive << ( tmp_1527_fu_9664_p2 ); SC_METHOD(thread_sum_tr_49_fu_9775_p2); sensitive << ( tmp_5187_cast_fu_9766_p1 ); sensitive << ( tmp_1529_fu_9769_p2 ); SC_METHOD(thread_sum_tr_4_fu_4945_p2); sensitive << ( tmp_4957_cast_fu_4936_p1 ); sensitive << ( tmp_1437_fu_4939_p2 ); SC_METHOD(thread_sum_tr_50_fu_9880_p2); sensitive << ( tmp_5192_cast_fu_9871_p1 ); sensitive << ( tmp_1531_fu_9874_p2 ); SC_METHOD(thread_sum_tr_51_fu_9985_p2); sensitive << ( tmp_5197_cast_fu_9976_p1 ); sensitive << ( tmp_1533_fu_9979_p2 ); SC_METHOD(thread_sum_tr_52_fu_10090_p2); sensitive << ( tmp_5202_cast_fu_10081_p1 ); sensitive << ( tmp_1535_fu_10084_p2 ); SC_METHOD(thread_sum_tr_53_fu_10195_p2); sensitive << ( tmp_5207_cast_fu_10186_p1 ); sensitive << ( tmp_1537_fu_10189_p2 ); SC_METHOD(thread_sum_tr_54_fu_10300_p2); sensitive << ( tmp_5212_cast_fu_10291_p1 ); sensitive << ( tmp_1539_fu_10294_p2 ); SC_METHOD(thread_sum_tr_55_fu_10405_p2); sensitive << ( tmp_5217_cast_fu_10396_p1 ); sensitive << ( tmp_1541_fu_10399_p2 ); SC_METHOD(thread_sum_tr_56_fu_10510_p2); sensitive << ( tmp_5222_cast_fu_10501_p1 ); sensitive << ( tmp_1543_fu_10504_p2 ); SC_METHOD(thread_sum_tr_57_fu_10615_p2); sensitive << ( tmp_5227_cast_fu_10606_p1 ); sensitive << ( tmp_1545_fu_10609_p2 ); SC_METHOD(thread_sum_tr_58_fu_10720_p2); sensitive << ( tmp_5232_cast_fu_10711_p1 ); sensitive << ( tmp_1547_fu_10714_p2 ); SC_METHOD(thread_sum_tr_59_fu_10825_p2); sensitive << ( tmp_5237_cast_fu_10816_p1 ); sensitive << ( tmp_1549_fu_10819_p2 ); SC_METHOD(thread_sum_tr_5_fu_5050_p2); sensitive << ( tmp_4962_cast_fu_5041_p1 ); sensitive << ( tmp_1439_fu_5044_p2 ); SC_METHOD(thread_sum_tr_60_fu_10930_p2); sensitive << ( tmp_5242_cast_fu_10921_p1 ); sensitive << ( tmp_1551_fu_10924_p2 ); SC_METHOD(thread_sum_tr_61_fu_11035_p2); sensitive << ( tmp_5247_cast_fu_11026_p1 ); sensitive << ( tmp_1553_fu_11029_p2 ); SC_METHOD(thread_sum_tr_62_fu_11140_p2); sensitive << ( tmp_5252_cast_fu_11131_p1 ); sensitive << ( tmp_1555_fu_11134_p2 ); SC_METHOD(thread_sum_tr_63_fu_11245_p2); sensitive << ( tmp_5257_cast_fu_11236_p1 ); sensitive << ( tmp_1557_fu_11239_p2 ); SC_METHOD(thread_sum_tr_64_fu_11350_p2); sensitive << ( tmp_5262_cast_fu_11341_p1 ); sensitive << ( tmp_1559_fu_11344_p2 ); SC_METHOD(thread_sum_tr_65_fu_11455_p2); sensitive << ( tmp_5267_cast_fu_11446_p1 ); sensitive << ( tmp_1561_fu_11449_p2 ); SC_METHOD(thread_sum_tr_66_fu_11560_p2); sensitive << ( tmp_5272_cast_fu_11551_p1 ); sensitive << ( tmp_1563_fu_11554_p2 ); SC_METHOD(thread_sum_tr_67_fu_11666_p2); sensitive << ( tmp_5277_cast_fu_11657_p1 ); sensitive << ( tmp_1565_fu_11660_p2 ); SC_METHOD(thread_sum_tr_68_fu_11772_p2); sensitive << ( tmp_5282_cast_fu_11763_p1 ); sensitive << ( tmp_1567_fu_11766_p2 ); SC_METHOD(thread_sum_tr_69_fu_11878_p2); sensitive << ( tmp_5287_cast_fu_11869_p1 ); sensitive << ( tmp_1569_fu_11872_p2 ); SC_METHOD(thread_sum_tr_6_fu_5155_p2); sensitive << ( tmp_4967_cast_fu_5146_p1 ); sensitive << ( tmp_1441_fu_5149_p2 ); SC_METHOD(thread_sum_tr_7_fu_5260_p2); sensitive << ( tmp_4972_cast_fu_5251_p1 ); sensitive << ( tmp_1443_fu_5254_p2 ); SC_METHOD(thread_sum_tr_8_fu_5365_p2); sensitive << ( tmp_4977_cast_fu_5356_p1 ); sensitive << ( tmp_1445_fu_5359_p2 ); SC_METHOD(thread_sum_tr_9_fu_5470_p2); sensitive << ( tmp_4982_cast_fu_5461_p1 ); sensitive << ( tmp_1447_fu_5464_p2 ); SC_METHOD(thread_sum_tr_fu_4525_p2); sensitive << ( tmp_4937_cast_fu_4516_p1 ); sensitive << ( tmp_s_fu_4519_p2 ); SC_METHOD(thread_sum_tr_s_fu_5575_p2); sensitive << ( tmp_4987_cast_fu_5566_p1 ); sensitive << ( tmp_1449_fu_5569_p2 ); SC_METHOD(thread_tmp_103_cast_fu_3551_p1); sensitive << ( reg_3214 ); SC_METHOD(thread_tmp_107_cast_fu_3555_p1); sensitive << ( src_V_pixel_dout ); SC_METHOD(thread_tmp_109_cast_fu_3559_p1); sensitive << ( linebuf_1_pixel_load_1_reg_12822 ); SC_METHOD(thread_tmp_113_cast_fu_3562_p1); sensitive << ( src_V_pixel1_dout ); SC_METHOD(thread_tmp_114_10_cast_fu_5649_p1); sensitive << ( tmp_114_10_fu_5642_p3 ); SC_METHOD(thread_tmp_114_10_fu_5642_p3); sensitive << ( tmp_pixel_12_reg_13720 ); SC_METHOD(thread_tmp_114_11_cast_fu_5754_p1); sensitive << ( tmp_114_11_fu_5747_p3 ); SC_METHOD(thread_tmp_114_11_fu_5747_p3); sensitive << ( tmp_pixel_13_reg_13727 ); SC_METHOD(thread_tmp_114_12_cast_fu_5859_p1); sensitive << ( tmp_114_12_fu_5852_p3 ); SC_METHOD(thread_tmp_114_12_fu_5852_p3); sensitive << ( tmp_pixel_14_reg_13734 ); SC_METHOD(thread_tmp_114_13_cast_fu_5964_p1); sensitive << ( tmp_114_13_fu_5957_p3 ); SC_METHOD(thread_tmp_114_13_fu_5957_p3); sensitive << ( tmp_pixel_15_reg_13741 ); SC_METHOD(thread_tmp_114_14_cast_fu_6069_p1); sensitive << ( tmp_114_14_fu_6062_p3 ); SC_METHOD(thread_tmp_114_14_fu_6062_p3); sensitive << ( tmp_pixel_16_reg_13748 ); SC_METHOD(thread_tmp_114_15_cast_fu_6174_p1); sensitive << ( tmp_114_15_fu_6167_p3 ); SC_METHOD(thread_tmp_114_15_fu_6167_p3); sensitive << ( tmp_pixel_17_reg_13755 ); SC_METHOD(thread_tmp_114_16_cast_fu_6279_p1); sensitive << ( tmp_114_16_fu_6272_p3 ); SC_METHOD(thread_tmp_114_16_fu_6272_p3); sensitive << ( tmp_pixel_18_reg_13762 ); SC_METHOD(thread_tmp_114_17_cast_fu_6384_p1); sensitive << ( tmp_114_17_fu_6377_p3 ); SC_METHOD(thread_tmp_114_17_fu_6377_p3); sensitive << ( tmp_pixel_19_reg_13769 ); SC_METHOD(thread_tmp_114_18_cast_fu_6489_p1); sensitive << ( tmp_114_18_fu_6482_p3 ); SC_METHOD(thread_tmp_114_18_fu_6482_p3); sensitive << ( tmp_pixel_20_reg_13776 ); SC_METHOD(thread_tmp_114_19_cast_fu_6594_p1); sensitive << ( tmp_114_19_fu_6587_p3 ); SC_METHOD(thread_tmp_114_19_fu_6587_p3); sensitive << ( tmp_pixel_21_reg_13783 ); SC_METHOD(thread_tmp_114_1_cast_fu_4599_p1); sensitive << ( tmp_114_1_fu_4592_p3 ); SC_METHOD(thread_tmp_114_1_fu_4592_p3); sensitive << ( tmp_pixel_2_reg_13650 ); SC_METHOD(thread_tmp_114_20_cast_fu_6699_p1); sensitive << ( tmp_114_20_fu_6692_p3 ); SC_METHOD(thread_tmp_114_20_fu_6692_p3); sensitive << ( tmp_pixel_22_reg_13790 ); SC_METHOD(thread_tmp_114_21_cast_fu_6804_p1); sensitive << ( tmp_114_21_fu_6797_p3 ); SC_METHOD(thread_tmp_114_21_fu_6797_p3); sensitive << ( tmp_pixel_23_reg_13797 ); SC_METHOD(thread_tmp_114_22_cast_fu_6909_p1); sensitive << ( tmp_114_22_fu_6902_p3 ); SC_METHOD(thread_tmp_114_22_fu_6902_p3); sensitive << ( tmp_pixel_24_reg_13804 ); SC_METHOD(thread_tmp_114_23_cast_fu_7014_p1); sensitive << ( tmp_114_23_fu_7007_p3 ); SC_METHOD(thread_tmp_114_23_fu_7007_p3); sensitive << ( tmp_pixel_25_reg_13811 ); SC_METHOD(thread_tmp_114_24_cast_fu_7119_p1); sensitive << ( tmp_114_24_fu_7112_p3 ); SC_METHOD(thread_tmp_114_24_fu_7112_p3); sensitive << ( tmp_pixel_26_reg_13818 ); SC_METHOD(thread_tmp_114_25_cast_fu_7224_p1); sensitive << ( tmp_114_25_fu_7217_p3 ); SC_METHOD(thread_tmp_114_25_fu_7217_p3); sensitive << ( tmp_pixel_27_reg_13825 ); SC_METHOD(thread_tmp_114_26_cast_fu_7329_p1); sensitive << ( tmp_114_26_fu_7322_p3 ); SC_METHOD(thread_tmp_114_26_fu_7322_p3); sensitive << ( tmp_pixel_28_reg_13832 ); SC_METHOD(thread_tmp_114_27_cast_fu_7434_p1); sensitive << ( tmp_114_27_fu_7427_p3 ); SC_METHOD(thread_tmp_114_27_fu_7427_p3); sensitive << ( tmp_pixel_29_reg_13839 ); SC_METHOD(thread_tmp_114_28_cast_fu_7539_p1); sensitive << ( tmp_114_28_fu_7532_p3 ); SC_METHOD(thread_tmp_114_28_fu_7532_p3); sensitive << ( tmp_pixel_30_reg_13846 ); SC_METHOD(thread_tmp_114_29_cast_fu_7644_p1); sensitive << ( tmp_114_29_fu_7637_p3 ); SC_METHOD(thread_tmp_114_29_fu_7637_p3); sensitive << ( tmp_pixel_31_reg_13853 ); SC_METHOD(thread_tmp_114_2_cast_fu_4704_p1); sensitive << ( tmp_114_2_fu_4697_p3 ); SC_METHOD(thread_tmp_114_2_fu_4697_p3); sensitive << ( tmp_pixel_3_reg_13657 ); SC_METHOD(thread_tmp_114_30_cast_fu_7749_p1); sensitive << ( tmp_114_30_fu_7742_p3 ); SC_METHOD(thread_tmp_114_30_fu_7742_p3); sensitive << ( tmp_pixel_32_reg_13860 ); SC_METHOD(thread_tmp_114_31_cast_fu_7854_p1); sensitive << ( tmp_114_31_fu_7847_p3 ); SC_METHOD(thread_tmp_114_31_fu_7847_p3); sensitive << ( tmp_pixel_33_reg_13867 ); SC_METHOD(thread_tmp_114_32_cast_fu_7959_p1); sensitive << ( tmp_114_32_fu_7952_p3 ); SC_METHOD(thread_tmp_114_32_fu_7952_p3); sensitive << ( tmp_pixel_34_reg_13874 ); SC_METHOD(thread_tmp_114_33_cast_fu_8064_p1); sensitive << ( tmp_114_33_fu_8057_p3 ); SC_METHOD(thread_tmp_114_33_fu_8057_p3); sensitive << ( tmp_pixel_35_reg_13881 ); SC_METHOD(thread_tmp_114_34_cast_fu_8169_p1); sensitive << ( tmp_114_34_fu_8162_p3 ); SC_METHOD(thread_tmp_114_34_fu_8162_p3); sensitive << ( tmp_pixel_36_reg_13888 ); SC_METHOD(thread_tmp_114_35_cast_fu_8274_p1); sensitive << ( tmp_114_35_fu_8267_p3 ); SC_METHOD(thread_tmp_114_35_fu_8267_p3); sensitive << ( tmp_pixel_37_reg_13895 ); SC_METHOD(thread_tmp_114_36_cast_fu_8379_p1); sensitive << ( tmp_114_36_fu_8372_p3 ); SC_METHOD(thread_tmp_114_36_fu_8372_p3); sensitive << ( tmp_pixel_38_reg_13902 ); SC_METHOD(thread_tmp_114_37_cast_fu_8484_p1); sensitive << ( tmp_114_37_fu_8477_p3 ); SC_METHOD(thread_tmp_114_37_fu_8477_p3); sensitive << ( tmp_pixel_39_reg_13909 ); SC_METHOD(thread_tmp_114_38_cast_fu_8589_p1); sensitive << ( tmp_114_38_fu_8582_p3 ); SC_METHOD(thread_tmp_114_38_fu_8582_p3); sensitive << ( tmp_pixel_40_reg_13916 ); SC_METHOD(thread_tmp_114_39_cast_fu_8694_p1); sensitive << ( tmp_114_39_fu_8687_p3 ); SC_METHOD(thread_tmp_114_39_fu_8687_p3); sensitive << ( tmp_pixel_41_reg_13923 ); SC_METHOD(thread_tmp_114_3_cast_fu_4809_p1); sensitive << ( tmp_114_3_fu_4802_p3 ); SC_METHOD(thread_tmp_114_3_fu_4802_p3); sensitive << ( tmp_pixel_4_reg_13664 ); SC_METHOD(thread_tmp_114_40_cast_fu_8799_p1); sensitive << ( tmp_114_40_fu_8792_p3 ); SC_METHOD(thread_tmp_114_40_fu_8792_p3); sensitive << ( tmp_pixel_42_reg_13930 ); SC_METHOD(thread_tmp_114_41_cast_fu_8904_p1); sensitive << ( tmp_114_41_fu_8897_p3 ); SC_METHOD(thread_tmp_114_41_fu_8897_p3); sensitive << ( tmp_pixel_43_reg_13937 ); SC_METHOD(thread_tmp_114_42_cast_fu_9009_p1); sensitive << ( tmp_114_42_fu_9002_p3 ); SC_METHOD(thread_tmp_114_42_fu_9002_p3); sensitive << ( tmp_pixel_44_reg_13944 ); SC_METHOD(thread_tmp_114_43_cast_fu_9114_p1); sensitive << ( tmp_114_43_fu_9107_p3 ); SC_METHOD(thread_tmp_114_43_fu_9107_p3); sensitive << ( tmp_pixel_45_reg_13951 ); SC_METHOD(thread_tmp_114_44_cast_fu_9219_p1); sensitive << ( tmp_114_44_fu_9212_p3 ); SC_METHOD(thread_tmp_114_44_fu_9212_p3); sensitive << ( tmp_pixel_46_reg_13958 ); SC_METHOD(thread_tmp_114_45_cast_fu_9324_p1); sensitive << ( tmp_114_45_fu_9317_p3 ); SC_METHOD(thread_tmp_114_45_fu_9317_p3); sensitive << ( tmp_pixel_47_reg_13965 ); SC_METHOD(thread_tmp_114_46_cast_fu_9429_p1); sensitive << ( tmp_114_46_fu_9422_p3 ); SC_METHOD(thread_tmp_114_46_fu_9422_p3); sensitive << ( tmp_pixel_48_reg_13972 ); SC_METHOD(thread_tmp_114_47_cast_fu_9534_p1); sensitive << ( tmp_114_47_fu_9527_p3 ); SC_METHOD(thread_tmp_114_47_fu_9527_p3); sensitive << ( tmp_pixel_49_reg_13979 ); SC_METHOD(thread_tmp_114_48_cast_fu_9639_p1); sensitive << ( tmp_114_48_fu_9632_p3 ); SC_METHOD(thread_tmp_114_48_fu_9632_p3); sensitive << ( tmp_pixel_50_reg_13986 ); SC_METHOD(thread_tmp_114_49_cast_fu_9744_p1); sensitive << ( tmp_114_49_fu_9737_p3 ); SC_METHOD(thread_tmp_114_49_fu_9737_p3); sensitive << ( tmp_pixel_51_reg_13993 ); SC_METHOD(thread_tmp_114_4_cast_fu_4914_p1); sensitive << ( tmp_114_4_fu_4907_p3 ); SC_METHOD(thread_tmp_114_4_fu_4907_p3); sensitive << ( tmp_pixel_5_reg_13671 ); SC_METHOD(thread_tmp_114_50_cast_fu_9849_p1); sensitive << ( tmp_114_50_fu_9842_p3 ); SC_METHOD(thread_tmp_114_50_fu_9842_p3); sensitive << ( tmp_pixel_52_reg_14000 ); SC_METHOD(thread_tmp_114_51_cast_fu_9954_p1); sensitive << ( tmp_114_51_fu_9947_p3 ); SC_METHOD(thread_tmp_114_51_fu_9947_p3); sensitive << ( tmp_pixel_53_reg_14007 ); SC_METHOD(thread_tmp_114_52_cast_fu_10059_p1); sensitive << ( tmp_114_52_fu_10052_p3 ); SC_METHOD(thread_tmp_114_52_fu_10052_p3); sensitive << ( tmp_pixel_54_reg_14014 ); SC_METHOD(thread_tmp_114_53_cast_fu_10164_p1); sensitive << ( tmp_114_53_fu_10157_p3 ); SC_METHOD(thread_tmp_114_53_fu_10157_p3); sensitive << ( tmp_pixel_55_reg_14021 ); SC_METHOD(thread_tmp_114_54_cast_fu_10269_p1); sensitive << ( tmp_114_54_fu_10262_p3 ); SC_METHOD(thread_tmp_114_54_fu_10262_p3); sensitive << ( tmp_pixel_56_reg_14028 ); SC_METHOD(thread_tmp_114_55_cast_fu_10374_p1); sensitive << ( tmp_114_55_fu_10367_p3 ); SC_METHOD(thread_tmp_114_55_fu_10367_p3); sensitive << ( tmp_pixel_57_reg_14035 ); SC_METHOD(thread_tmp_114_56_cast_fu_10479_p1); sensitive << ( tmp_114_56_fu_10472_p3 ); SC_METHOD(thread_tmp_114_56_fu_10472_p3); sensitive << ( tmp_pixel_58_reg_14042 ); SC_METHOD(thread_tmp_114_57_cast_fu_10584_p1); sensitive << ( tmp_114_57_fu_10577_p3 ); SC_METHOD(thread_tmp_114_57_fu_10577_p3); sensitive << ( tmp_pixel_59_reg_14049 ); SC_METHOD(thread_tmp_114_58_cast_fu_10689_p1); sensitive << ( tmp_114_58_fu_10682_p3 ); SC_METHOD(thread_tmp_114_58_fu_10682_p3); sensitive << ( tmp_pixel_60_reg_14056 ); SC_METHOD(thread_tmp_114_59_cast_fu_10794_p1); sensitive << ( tmp_114_59_fu_10787_p3 ); SC_METHOD(thread_tmp_114_59_fu_10787_p3); sensitive << ( tmp_pixel_61_reg_14063 ); SC_METHOD(thread_tmp_114_5_cast_fu_5019_p1); sensitive << ( tmp_114_5_fu_5012_p3 ); SC_METHOD(thread_tmp_114_5_fu_5012_p3); sensitive << ( tmp_pixel_6_reg_13678 ); SC_METHOD(thread_tmp_114_60_cast_fu_10899_p1); sensitive << ( tmp_114_60_fu_10892_p3 ); SC_METHOD(thread_tmp_114_60_fu_10892_p3); sensitive << ( tmp_pixel_62_reg_14070 ); SC_METHOD(thread_tmp_114_61_cast_fu_11004_p1); sensitive << ( tmp_114_61_fu_10997_p3 ); SC_METHOD(thread_tmp_114_61_fu_10997_p3); sensitive << ( tmp_pixel_63_reg_14077 ); SC_METHOD(thread_tmp_114_62_cast_fu_11109_p1); sensitive << ( tmp_114_62_fu_11102_p3 ); SC_METHOD(thread_tmp_114_62_fu_11102_p3); sensitive << ( tmp_pixel_64_reg_14084 ); SC_METHOD(thread_tmp_114_63_cast_fu_11214_p1); sensitive << ( tmp_114_63_fu_11207_p3 ); SC_METHOD(thread_tmp_114_63_fu_11207_p3); sensitive << ( tmp_pixel_65_reg_14091 ); SC_METHOD(thread_tmp_114_64_cast_fu_11319_p1); sensitive << ( tmp_114_64_fu_11312_p3 ); SC_METHOD(thread_tmp_114_64_fu_11312_p3); sensitive << ( tmp_pixel_66_reg_14098 ); SC_METHOD(thread_tmp_114_65_cast_fu_11424_p1); sensitive << ( tmp_114_65_fu_11417_p3 ); SC_METHOD(thread_tmp_114_65_fu_11417_p3); sensitive << ( tmp_pixel_67_reg_14105 ); SC_METHOD(thread_tmp_114_66_cast_fu_11529_p1); sensitive << ( tmp_114_66_fu_11522_p3 ); SC_METHOD(thread_tmp_114_66_fu_11522_p3); sensitive << ( tmp_pixel_68_reg_14112 ); SC_METHOD(thread_tmp_114_67_cast_fu_11634_p1); sensitive << ( tmp_114_67_fu_11627_p3 ); SC_METHOD(thread_tmp_114_67_fu_11627_p3); sensitive << ( tmp_pixel_69_reg_14119 ); SC_METHOD(thread_tmp_114_68_cast_fu_11741_p1); sensitive << ( tmp_114_68_fu_11734_p3 ); SC_METHOD(thread_tmp_114_68_fu_11734_p3); sensitive << ( tmp_pixel_70_reg_14126 ); SC_METHOD(thread_tmp_114_69_cast_fu_11846_p1); sensitive << ( tmp_114_69_fu_11839_p3 ); SC_METHOD(thread_tmp_114_69_fu_11839_p3); sensitive << ( tmp_pixel_71_reg_14133 ); SC_METHOD(thread_tmp_114_6_cast_fu_5124_p1); sensitive << ( tmp_114_6_fu_5117_p3 ); SC_METHOD(thread_tmp_114_6_fu_5117_p3); sensitive << ( tmp_pixel_7_reg_13685 ); SC_METHOD(thread_tmp_114_7_cast_fu_5229_p1); sensitive << ( tmp_114_7_fu_5222_p3 ); SC_METHOD(thread_tmp_114_7_fu_5222_p3); sensitive << ( tmp_pixel_8_reg_13692 ); SC_METHOD(thread_tmp_114_8_cast_fu_5334_p1); sensitive << ( tmp_114_8_fu_5327_p3 ); SC_METHOD(thread_tmp_114_8_fu_5327_p3); sensitive << ( tmp_pixel_9_reg_13699 ); SC_METHOD(thread_tmp_114_9_cast_fu_5439_p1); sensitive << ( tmp_114_9_fu_5432_p3 ); SC_METHOD(thread_tmp_114_9_fu_5432_p3); sensitive << ( tmp_pixel_10_reg_13706 ); SC_METHOD(thread_tmp_114_cast_1186_fu_5544_p1); sensitive << ( tmp_114_s_fu_5537_p3 ); SC_METHOD(thread_tmp_114_cast_fu_4494_p1); sensitive << ( tmp_114_fu_4487_p3 ); SC_METHOD(thread_tmp_114_fu_4487_p3); sensitive << ( tmp_pixel_1_reg_13644 ); SC_METHOD(thread_tmp_114_s_fu_5537_p3); sensitive << ( tmp_pixel_11_reg_13713 ); SC_METHOD(thread_tmp_115_10_cast_fu_3709_p1); sensitive << ( linebuf_1_pixel_load_13_reg_12955 ); SC_METHOD(thread_tmp_115_11_cast_fu_3722_p1); sensitive << ( linebuf_1_pixel_load_14_reg_12972 ); SC_METHOD(thread_tmp_115_12_cast_fu_3735_p1); sensitive << ( linebuf_1_pixel_load_15_reg_12979 ); SC_METHOD(thread_tmp_115_13_cast_fu_3748_p1); sensitive << ( linebuf_1_pixel_load_16_reg_12996 ); SC_METHOD(thread_tmp_115_14_cast_fu_3761_p1); sensitive << ( linebuf_1_pixel_load_17_reg_13003 ); SC_METHOD(thread_tmp_115_15_cast_fu_3774_p1); sensitive << ( linebuf_1_pixel_load_18_reg_13020 ); SC_METHOD(thread_tmp_115_16_cast_fu_3787_p1); sensitive << ( linebuf_1_pixel_load_19_reg_13027 ); SC_METHOD(thread_tmp_115_17_cast_fu_3800_p1); sensitive << ( linebuf_1_pixel_load_20_reg_13044 ); SC_METHOD(thread_tmp_115_18_cast_fu_3813_p1); sensitive << ( linebuf_1_pixel_load_21_reg_13051 ); SC_METHOD(thread_tmp_115_19_cast_fu_3826_p1); sensitive << ( linebuf_1_pixel_load_22_reg_13068 ); SC_METHOD(thread_tmp_115_1_cast_fu_3579_p1); sensitive << ( linebuf_1_pixel_load_3_reg_12835 ); SC_METHOD(thread_tmp_115_20_cast_fu_3839_p1); sensitive << ( linebuf_1_pixel_load_23_reg_13075 ); SC_METHOD(thread_tmp_115_21_cast_fu_3852_p1); sensitive << ( linebuf_1_pixel_load_24_reg_13092 ); SC_METHOD(thread_tmp_115_22_cast_fu_3865_p1); sensitive << ( linebuf_1_pixel_load_25_reg_13099 ); SC_METHOD(thread_tmp_115_23_cast_fu_3878_p1); sensitive << ( linebuf_1_pixel_load_26_reg_13116 ); SC_METHOD(thread_tmp_115_24_cast_fu_3891_p1); sensitive << ( linebuf_1_pixel_load_27_reg_13123 ); SC_METHOD(thread_tmp_115_25_cast_fu_3904_p1); sensitive << ( linebuf_1_pixel_load_28_reg_13140 ); SC_METHOD(thread_tmp_115_26_cast_fu_3917_p1); sensitive << ( linebuf_1_pixel_load_29_reg_13147 ); SC_METHOD(thread_tmp_115_27_cast_fu_3930_p1); sensitive << ( linebuf_1_pixel_load_30_reg_13164 ); SC_METHOD(thread_tmp_115_28_cast_fu_3943_p1); sensitive << ( linebuf_1_pixel_load_31_reg_13171 ); SC_METHOD(thread_tmp_115_29_cast_fu_3956_p1); sensitive << ( linebuf_1_pixel_load_32_reg_13188 ); SC_METHOD(thread_tmp_115_2_cast_fu_3592_p1); sensitive << ( linebuf_1_pixel_load_4_reg_12852 ); SC_METHOD(thread_tmp_115_30_cast_fu_3969_p1); sensitive << ( linebuf_1_pixel_load_33_reg_13195 ); SC_METHOD(thread_tmp_115_31_cast_fu_3982_p1); sensitive << ( linebuf_1_pixel_load_34_reg_13212 ); SC_METHOD(thread_tmp_115_32_cast_fu_3995_p1); sensitive << ( linebuf_1_pixel_load_35_reg_13219 ); SC_METHOD(thread_tmp_115_33_cast_fu_4008_p1); sensitive << ( linebuf_1_pixel_load_36_reg_13236 ); SC_METHOD(thread_tmp_115_34_cast_fu_4021_p1); sensitive << ( linebuf_1_pixel_load_37_reg_13243 ); SC_METHOD(thread_tmp_115_35_cast_fu_4034_p1); sensitive << ( linebuf_1_pixel_load_38_reg_13260 ); SC_METHOD(thread_tmp_115_36_cast_fu_4047_p1); sensitive << ( linebuf_1_pixel_load_39_reg_13267 ); SC_METHOD(thread_tmp_115_37_cast_fu_4060_p1); sensitive << ( linebuf_1_pixel_load_40_reg_13284 ); SC_METHOD(thread_tmp_115_38_cast_fu_4073_p1); sensitive << ( linebuf_1_pixel_load_41_reg_13291 ); SC_METHOD(thread_tmp_115_39_cast_fu_4086_p1); sensitive << ( linebuf_1_pixel_load_42_reg_13308 ); SC_METHOD(thread_tmp_115_3_cast_fu_3605_p1); sensitive << ( linebuf_1_pixel_load_5_reg_12859 ); SC_METHOD(thread_tmp_115_40_cast_fu_4099_p1); sensitive << ( linebuf_1_pixel_load_43_reg_13315 ); SC_METHOD(thread_tmp_115_41_cast_fu_4112_p1); sensitive << ( linebuf_1_pixel_load_44_reg_13332 ); SC_METHOD(thread_tmp_115_42_cast_fu_4125_p1); sensitive << ( linebuf_1_pixel_load_45_reg_13339 ); SC_METHOD(thread_tmp_115_43_cast_fu_4138_p1); sensitive << ( linebuf_1_pixel_load_46_reg_13356 ); SC_METHOD(thread_tmp_115_44_cast_fu_4151_p1); sensitive << ( linebuf_1_pixel_load_47_reg_13363 ); SC_METHOD(thread_tmp_115_45_cast_fu_4164_p1); sensitive << ( linebuf_1_pixel_load_48_reg_13380 ); SC_METHOD(thread_tmp_115_46_cast_fu_4177_p1); sensitive << ( linebuf_1_pixel_load_49_reg_13387 ); SC_METHOD(thread_tmp_115_47_cast_fu_4190_p1); sensitive << ( linebuf_1_pixel_load_50_reg_13404 ); SC_METHOD(thread_tmp_115_48_cast_fu_4203_p1); sensitive << ( linebuf_1_pixel_load_51_reg_13411 ); SC_METHOD(thread_tmp_115_49_cast_fu_4216_p1); sensitive << ( linebuf_1_pixel_load_52_reg_13428 ); SC_METHOD(thread_tmp_115_4_cast_fu_3618_p1); sensitive << ( linebuf_1_pixel_load_6_reg_12876 ); SC_METHOD(thread_tmp_115_50_cast_fu_4229_p1); sensitive << ( linebuf_1_pixel_load_53_reg_13435 ); SC_METHOD(thread_tmp_115_51_cast_fu_4242_p1); sensitive << ( linebuf_1_pixel_load_54_reg_13452 ); SC_METHOD(thread_tmp_115_52_cast_fu_4255_p1); sensitive << ( linebuf_1_pixel_load_55_reg_13459 ); SC_METHOD(thread_tmp_115_53_cast_fu_4268_p1); sensitive << ( linebuf_1_pixel_load_56_reg_13476 ); SC_METHOD(thread_tmp_115_54_cast_fu_4281_p1); sensitive << ( linebuf_1_pixel_load_57_reg_13483 ); SC_METHOD(thread_tmp_115_55_cast_fu_4294_p1); sensitive << ( linebuf_1_pixel_load_58_reg_13500 ); SC_METHOD(thread_tmp_115_56_cast_fu_4307_p1); sensitive << ( linebuf_1_pixel_load_59_reg_13507 ); SC_METHOD(thread_tmp_115_57_cast_fu_4320_p1); sensitive << ( linebuf_1_pixel_load_60_reg_13524 ); SC_METHOD(thread_tmp_115_58_cast_fu_4333_p1); sensitive << ( linebuf_1_pixel_load_61_reg_13531 ); SC_METHOD(thread_tmp_115_59_cast_fu_4346_p1); sensitive << ( linebuf_1_pixel_load_62_reg_13548 ); SC_METHOD(thread_tmp_115_5_cast_fu_3631_p1); sensitive << ( linebuf_1_pixel_load_7_reg_12883 ); SC_METHOD(thread_tmp_115_60_cast_fu_4359_p1); sensitive << ( linebuf_1_pixel_load_63_reg_13555 ); SC_METHOD(thread_tmp_115_61_cast_fu_4372_p1); sensitive << ( linebuf_1_pixel_load_64_reg_13572 ); SC_METHOD(thread_tmp_115_62_cast_fu_4385_p1); sensitive << ( linebuf_1_pixel_load_65_reg_13579 ); SC_METHOD(thread_tmp_115_63_cast_fu_4398_p1); sensitive << ( linebuf_1_pixel_load_66_reg_13596 ); SC_METHOD(thread_tmp_115_64_cast_fu_4411_p1); sensitive << ( linebuf_1_pixel_load_67_reg_13603 ); SC_METHOD(thread_tmp_115_65_cast_fu_4424_p1); sensitive << ( linebuf_1_pixel_load_68_reg_13620 ); SC_METHOD(thread_tmp_115_66_cast_fu_4437_p1); sensitive << ( linebuf_1_pixel_load_69_reg_13627 ); SC_METHOD(thread_tmp_115_67_cast_fu_4450_p1); sensitive << ( linebuf_1_pixel_q0 ); SC_METHOD(thread_tmp_115_6_cast_fu_3644_p1); sensitive << ( linebuf_1_pixel_load_8_reg_12900 ); SC_METHOD(thread_tmp_115_7_cast_fu_3657_p1); sensitive << ( linebuf_1_pixel_load_9_reg_12907 ); SC_METHOD(thread_tmp_115_8_cast_fu_3670_p1); sensitive << ( linebuf_1_pixel_load_10_reg_12924 ); SC_METHOD(thread_tmp_115_9_cast_fu_3683_p1); sensitive << ( linebuf_1_pixel_load_11_reg_12931 ); SC_METHOD(thread_tmp_115_cast_1187_fu_3696_p1); sensitive << ( linebuf_1_pixel_load_12_reg_12948 ); SC_METHOD(thread_tmp_115_cast_fu_3566_p1); sensitive << ( linebuf_1_pixel_load_2_reg_12828 ); SC_METHOD(thread_tmp_119_10_cast_fu_3712_p1); sensitive << ( src_V_pixel13_dout ); SC_METHOD(thread_tmp_119_11_cast_fu_3725_p1); sensitive << ( src_V_pixel14_dout ); SC_METHOD(thread_tmp_119_12_cast_fu_3738_p1); sensitive << ( src_V_pixel15_dout ); SC_METHOD(thread_tmp_119_13_cast_fu_3751_p1); sensitive << ( src_V_pixel16_dout ); SC_METHOD(thread_tmp_119_14_cast_fu_3764_p1); sensitive << ( src_V_pixel17_dout ); SC_METHOD(thread_tmp_119_15_cast_fu_3777_p1); sensitive << ( src_V_pixel18_dout ); SC_METHOD(thread_tmp_119_16_cast_fu_3790_p1); sensitive << ( src_V_pixel19_dout ); SC_METHOD(thread_tmp_119_17_cast_fu_3803_p1); sensitive << ( src_V_pixel20_dout ); SC_METHOD(thread_tmp_119_18_cast_fu_3816_p1); sensitive << ( src_V_pixel21_dout ); SC_METHOD(thread_tmp_119_19_cast_fu_3829_p1); sensitive << ( src_V_pixel22_dout ); SC_METHOD(thread_tmp_119_1_cast_fu_3582_p1); sensitive << ( src_V_pixel3_dout ); SC_METHOD(thread_tmp_119_20_cast_fu_3842_p1); sensitive << ( src_V_pixel23_dout ); SC_METHOD(thread_tmp_119_21_cast_fu_3855_p1); sensitive << ( src_V_pixel24_dout ); SC_METHOD(thread_tmp_119_22_cast_fu_3868_p1); sensitive << ( src_V_pixel25_dout ); SC_METHOD(thread_tmp_119_23_cast_fu_3881_p1); sensitive << ( src_V_pixel26_dout ); SC_METHOD(thread_tmp_119_24_cast_fu_3894_p1); sensitive << ( src_V_pixel27_dout ); SC_METHOD(thread_tmp_119_25_cast_fu_3907_p1); sensitive << ( src_V_pixel28_dout ); SC_METHOD(thread_tmp_119_26_cast_fu_3920_p1); sensitive << ( src_V_pixel29_dout ); SC_METHOD(thread_tmp_119_27_cast_fu_3933_p1); sensitive << ( src_V_pixel30_dout ); SC_METHOD(thread_tmp_119_28_cast_fu_3946_p1); sensitive << ( src_V_pixel31_dout ); SC_METHOD(thread_tmp_119_29_cast_fu_3959_p1); sensitive << ( src_V_pixel32_dout ); SC_METHOD(thread_tmp_119_2_cast_fu_3595_p1); sensitive << ( src_V_pixel4_dout ); SC_METHOD(thread_tmp_119_30_cast_fu_3972_p1); sensitive << ( src_V_pixel33_dout ); SC_METHOD(thread_tmp_119_31_cast_fu_3985_p1); sensitive << ( src_V_pixel34_dout ); SC_METHOD(thread_tmp_119_32_cast_fu_3998_p1); sensitive << ( src_V_pixel35_dout ); SC_METHOD(thread_tmp_119_33_cast_fu_4011_p1); sensitive << ( src_V_pixel36_dout ); SC_METHOD(thread_tmp_119_34_cast_fu_4024_p1); sensitive << ( src_V_pixel37_dout ); SC_METHOD(thread_tmp_119_35_cast_fu_4037_p1); sensitive << ( src_V_pixel38_dout ); SC_METHOD(thread_tmp_119_36_cast_fu_4050_p1); sensitive << ( src_V_pixel39_dout ); SC_METHOD(thread_tmp_119_37_cast_fu_4063_p1); sensitive << ( src_V_pixel40_dout ); SC_METHOD(thread_tmp_119_38_cast_fu_4076_p1); sensitive << ( src_V_pixel41_dout ); SC_METHOD(thread_tmp_119_39_cast_fu_4089_p1); sensitive << ( src_V_pixel42_dout ); SC_METHOD(thread_tmp_119_3_cast_fu_3608_p1); sensitive << ( src_V_pixel5_dout ); SC_METHOD(thread_tmp_119_40_cast_fu_4102_p1); sensitive << ( src_V_pixel43_dout ); SC_METHOD(thread_tmp_119_41_cast_fu_4115_p1); sensitive << ( src_V_pixel44_dout ); SC_METHOD(thread_tmp_119_42_cast_fu_4128_p1); sensitive << ( src_V_pixel45_dout ); SC_METHOD(thread_tmp_119_43_cast_fu_4141_p1); sensitive << ( src_V_pixel46_dout ); SC_METHOD(thread_tmp_119_44_cast_fu_4154_p1); sensitive << ( src_V_pixel47_dout ); SC_METHOD(thread_tmp_119_45_cast_fu_4167_p1); sensitive << ( src_V_pixel48_dout ); SC_METHOD(thread_tmp_119_46_cast_fu_4180_p1); sensitive << ( src_V_pixel49_dout ); SC_METHOD(thread_tmp_119_47_cast_fu_4193_p1); sensitive << ( src_V_pixel50_dout ); SC_METHOD(thread_tmp_119_48_cast_fu_4206_p1); sensitive << ( src_V_pixel51_dout ); SC_METHOD(thread_tmp_119_49_cast_fu_4219_p1); sensitive << ( src_V_pixel52_dout ); SC_METHOD(thread_tmp_119_4_cast_fu_3621_p1); sensitive << ( src_V_pixel6_dout ); SC_METHOD(thread_tmp_119_50_cast_fu_4232_p1); sensitive << ( src_V_pixel53_dout ); SC_METHOD(thread_tmp_119_51_cast_fu_4245_p1); sensitive << ( src_V_pixel54_dout ); SC_METHOD(thread_tmp_119_52_cast_fu_4258_p1); sensitive << ( src_V_pixel55_dout ); SC_METHOD(thread_tmp_119_53_cast_fu_4271_p1); sensitive << ( src_V_pixel56_dout ); SC_METHOD(thread_tmp_119_54_cast_fu_4284_p1); sensitive << ( src_V_pixel57_dout ); SC_METHOD(thread_tmp_119_55_cast_fu_4297_p1); sensitive << ( src_V_pixel58_dout ); SC_METHOD(thread_tmp_119_56_cast_fu_4310_p1); sensitive << ( src_V_pixel59_dout ); SC_METHOD(thread_tmp_119_57_cast_fu_4323_p1); sensitive << ( src_V_pixel60_dout ); SC_METHOD(thread_tmp_119_58_cast_fu_4336_p1); sensitive << ( src_V_pixel61_dout ); SC_METHOD(thread_tmp_119_59_cast_fu_4349_p1); sensitive << ( src_V_pixel62_dout ); SC_METHOD(thread_tmp_119_5_cast_fu_3634_p1); sensitive << ( src_V_pixel7_dout ); SC_METHOD(thread_tmp_119_60_cast_fu_4362_p1); sensitive << ( src_V_pixel63_dout ); SC_METHOD(thread_tmp_119_61_cast_fu_4375_p1); sensitive << ( src_V_pixel64_dout ); SC_METHOD(thread_tmp_119_62_cast_fu_4388_p1); sensitive << ( src_V_pixel65_dout ); SC_METHOD(thread_tmp_119_63_cast_fu_4401_p1); sensitive << ( src_V_pixel66_dout ); SC_METHOD(thread_tmp_119_64_cast_fu_4414_p1); sensitive << ( src_V_pixel67_dout ); SC_METHOD(thread_tmp_119_65_cast_fu_4427_p1); sensitive << ( src_V_pixel68_dout ); SC_METHOD(thread_tmp_119_66_cast_fu_4440_p1); sensitive << ( src_V_pixel69_dout ); SC_METHOD(thread_tmp_119_67_cast_fu_4454_p1); sensitive << ( src_V_pixel70_dout ); SC_METHOD(thread_tmp_119_6_cast_fu_3647_p1); sensitive << ( src_V_pixel8_dout ); SC_METHOD(thread_tmp_119_7_cast_fu_3660_p1); sensitive << ( src_V_pixel9_dout ); SC_METHOD(thread_tmp_119_8_cast_fu_3673_p1); sensitive << ( src_V_pixel10_dout ); SC_METHOD(thread_tmp_119_9_cast_fu_3686_p1); sensitive << ( src_V_pixel11_dout ); SC_METHOD(thread_tmp_119_cast_1188_fu_3699_p1); sensitive << ( src_V_pixel12_dout ); SC_METHOD(thread_tmp_119_cast_fu_3569_p1); sensitive << ( src_V_pixel2_dout ); SC_METHOD(thread_tmp_122_10_cast_fu_5653_p1); sensitive << ( tmp_122_10_reg_14212 ); SC_METHOD(thread_tmp_122_10_fu_3716_p2); sensitive << ( tmp_119_9_cast_fu_3686_p1 ); sensitive << ( tmp_115_9_cast_fu_3683_p1 ); SC_METHOD(thread_tmp_122_11_cast_fu_5758_p1); sensitive << ( tmp_122_11_reg_14217 ); SC_METHOD(thread_tmp_122_11_fu_3729_p2); sensitive << ( tmp_119_cast_1188_fu_3699_p1 ); sensitive << ( tmp_115_cast_1187_fu_3696_p1 ); SC_METHOD(thread_tmp_122_12_cast_fu_5863_p1); sensitive << ( tmp_122_12_reg_14222 ); SC_METHOD(thread_tmp_122_12_fu_3742_p2); sensitive << ( tmp_119_10_cast_fu_3712_p1 ); sensitive << ( tmp_115_10_cast_fu_3709_p1 ); SC_METHOD(thread_tmp_122_13_cast_fu_5968_p1); sensitive << ( tmp_122_13_reg_14227 ); SC_METHOD(thread_tmp_122_13_fu_3755_p2); sensitive << ( tmp_119_11_cast_fu_3725_p1 ); sensitive << ( tmp_115_11_cast_fu_3722_p1 ); SC_METHOD(thread_tmp_122_14_cast_fu_6073_p1); sensitive << ( tmp_122_14_reg_14232 ); SC_METHOD(thread_tmp_122_14_fu_3768_p2); sensitive << ( tmp_119_12_cast_fu_3738_p1 ); sensitive << ( tmp_115_12_cast_fu_3735_p1 ); SC_METHOD(thread_tmp_122_15_cast_fu_6178_p1); sensitive << ( tmp_122_15_reg_14237 ); SC_METHOD(thread_tmp_122_15_fu_3781_p2); sensitive << ( tmp_119_13_cast_fu_3751_p1 ); sensitive << ( tmp_115_13_cast_fu_3748_p1 ); SC_METHOD(thread_tmp_122_16_cast_fu_6283_p1); sensitive << ( tmp_122_16_reg_14242 ); SC_METHOD(thread_tmp_122_16_fu_3794_p2); sensitive << ( tmp_119_14_cast_fu_3764_p1 ); sensitive << ( tmp_115_14_cast_fu_3761_p1 ); SC_METHOD(thread_tmp_122_17_cast_fu_6388_p1); sensitive << ( tmp_122_17_reg_14247 ); SC_METHOD(thread_tmp_122_17_fu_3807_p2); sensitive << ( tmp_119_15_cast_fu_3777_p1 ); sensitive << ( tmp_115_15_cast_fu_3774_p1 ); SC_METHOD(thread_tmp_122_18_cast_fu_6493_p1); sensitive << ( tmp_122_18_reg_14252 ); SC_METHOD(thread_tmp_122_18_fu_3820_p2); sensitive << ( tmp_119_16_cast_fu_3790_p1 ); sensitive << ( tmp_115_16_cast_fu_3787_p1 ); SC_METHOD(thread_tmp_122_19_cast_fu_6598_p1); sensitive << ( tmp_122_19_reg_14257 ); SC_METHOD(thread_tmp_122_19_fu_3833_p2); sensitive << ( tmp_119_17_cast_fu_3803_p1 ); sensitive << ( tmp_115_17_cast_fu_3800_p1 ); SC_METHOD(thread_tmp_122_1_cast_fu_4603_p1); sensitive << ( tmp_122_1_reg_14162 ); SC_METHOD(thread_tmp_122_1_fu_3586_p2); sensitive << ( tmp_113_cast_fu_3562_p1 ); sensitive << ( tmp_109_cast_fu_3559_p1 ); SC_METHOD(thread_tmp_122_20_cast_fu_6703_p1); sensitive << ( tmp_122_20_reg_14262 ); SC_METHOD(thread_tmp_122_20_fu_3846_p2); sensitive << ( tmp_119_18_cast_fu_3816_p1 ); sensitive << ( tmp_115_18_cast_fu_3813_p1 ); SC_METHOD(thread_tmp_122_21_cast_fu_6808_p1); sensitive << ( tmp_122_21_reg_14267 ); SC_METHOD(thread_tmp_122_21_fu_3859_p2); sensitive << ( tmp_119_19_cast_fu_3829_p1 ); sensitive << ( tmp_115_19_cast_fu_3826_p1 ); SC_METHOD(thread_tmp_122_22_cast_fu_6913_p1); sensitive << ( tmp_122_22_reg_14272 ); SC_METHOD(thread_tmp_122_22_fu_3872_p2); sensitive << ( tmp_119_20_cast_fu_3842_p1 ); sensitive << ( tmp_115_20_cast_fu_3839_p1 ); SC_METHOD(thread_tmp_122_23_cast_fu_7018_p1); sensitive << ( tmp_122_23_reg_14277 ); SC_METHOD(thread_tmp_122_23_fu_3885_p2); sensitive << ( tmp_119_21_cast_fu_3855_p1 ); sensitive << ( tmp_115_21_cast_fu_3852_p1 ); SC_METHOD(thread_tmp_122_24_cast_fu_7123_p1); sensitive << ( tmp_122_24_reg_14282 ); SC_METHOD(thread_tmp_122_24_fu_3898_p2); sensitive << ( tmp_119_22_cast_fu_3868_p1 ); sensitive << ( tmp_115_22_cast_fu_3865_p1 ); SC_METHOD(thread_tmp_122_25_cast_fu_7228_p1); sensitive << ( tmp_122_25_reg_14287 ); SC_METHOD(thread_tmp_122_25_fu_3911_p2); sensitive << ( tmp_119_23_cast_fu_3881_p1 ); sensitive << ( tmp_115_23_cast_fu_3878_p1 ); SC_METHOD(thread_tmp_122_26_cast_fu_7333_p1); sensitive << ( tmp_122_26_reg_14292 ); SC_METHOD(thread_tmp_122_26_fu_3924_p2); sensitive << ( tmp_119_24_cast_fu_3894_p1 ); sensitive << ( tmp_115_24_cast_fu_3891_p1 ); SC_METHOD(thread_tmp_122_27_cast_fu_7438_p1); sensitive << ( tmp_122_27_reg_14297 ); SC_METHOD(thread_tmp_122_27_fu_3937_p2); sensitive << ( tmp_119_25_cast_fu_3907_p1 ); sensitive << ( tmp_115_25_cast_fu_3904_p1 ); SC_METHOD(thread_tmp_122_28_cast_fu_7543_p1); sensitive << ( tmp_122_28_reg_14302 ); SC_METHOD(thread_tmp_122_28_fu_3950_p2); sensitive << ( tmp_119_26_cast_fu_3920_p1 ); sensitive << ( tmp_115_26_cast_fu_3917_p1 ); SC_METHOD(thread_tmp_122_29_cast_fu_7648_p1); sensitive << ( tmp_122_29_reg_14307 ); SC_METHOD(thread_tmp_122_29_fu_3963_p2); sensitive << ( tmp_119_27_cast_fu_3933_p1 ); sensitive << ( tmp_115_27_cast_fu_3930_p1 ); SC_METHOD(thread_tmp_122_2_cast_fu_4708_p1); sensitive << ( tmp_122_2_reg_14167 ); SC_METHOD(thread_tmp_122_2_fu_3599_p2); sensitive << ( tmp_119_cast_fu_3569_p1 ); sensitive << ( tmp_115_cast_fu_3566_p1 ); SC_METHOD(thread_tmp_122_30_cast_fu_7753_p1); sensitive << ( tmp_122_30_reg_14312 ); SC_METHOD(thread_tmp_122_30_fu_3976_p2); sensitive << ( tmp_119_28_cast_fu_3946_p1 ); sensitive << ( tmp_115_28_cast_fu_3943_p1 ); SC_METHOD(thread_tmp_122_31_cast_fu_7858_p1); sensitive << ( tmp_122_31_reg_14317 ); SC_METHOD(thread_tmp_122_31_fu_3989_p2); sensitive << ( tmp_119_29_cast_fu_3959_p1 ); sensitive << ( tmp_115_29_cast_fu_3956_p1 ); SC_METHOD(thread_tmp_122_32_cast_fu_7963_p1); sensitive << ( tmp_122_32_reg_14322 ); SC_METHOD(thread_tmp_122_32_fu_4002_p2); sensitive << ( tmp_119_30_cast_fu_3972_p1 ); sensitive << ( tmp_115_30_cast_fu_3969_p1 ); SC_METHOD(thread_tmp_122_33_cast_fu_8068_p1); sensitive << ( tmp_122_33_reg_14327 ); SC_METHOD(thread_tmp_122_33_fu_4015_p2); sensitive << ( tmp_119_31_cast_fu_3985_p1 ); sensitive << ( tmp_115_31_cast_fu_3982_p1 ); SC_METHOD(thread_tmp_122_34_cast_fu_8173_p1); sensitive << ( tmp_122_34_reg_14332 ); SC_METHOD(thread_tmp_122_34_fu_4028_p2); sensitive << ( tmp_119_32_cast_fu_3998_p1 ); sensitive << ( tmp_115_32_cast_fu_3995_p1 ); SC_METHOD(thread_tmp_122_35_cast_fu_8278_p1); sensitive << ( tmp_122_35_reg_14337 ); SC_METHOD(thread_tmp_122_35_fu_4041_p2); sensitive << ( tmp_119_33_cast_fu_4011_p1 ); sensitive << ( tmp_115_33_cast_fu_4008_p1 ); SC_METHOD(thread_tmp_122_36_cast_fu_8383_p1); sensitive << ( tmp_122_36_reg_14342 ); SC_METHOD(thread_tmp_122_36_fu_4054_p2); sensitive << ( tmp_119_34_cast_fu_4024_p1 ); sensitive << ( tmp_115_34_cast_fu_4021_p1 ); SC_METHOD(thread_tmp_122_37_cast_fu_8488_p1); sensitive << ( tmp_122_37_reg_14347 ); SC_METHOD(thread_tmp_122_37_fu_4067_p2); sensitive << ( tmp_119_35_cast_fu_4037_p1 ); sensitive << ( tmp_115_35_cast_fu_4034_p1 ); SC_METHOD(thread_tmp_122_38_cast_fu_8593_p1); sensitive << ( tmp_122_38_reg_14352 ); SC_METHOD(thread_tmp_122_38_fu_4080_p2); sensitive << ( tmp_119_36_cast_fu_4050_p1 ); sensitive << ( tmp_115_36_cast_fu_4047_p1 ); SC_METHOD(thread_tmp_122_39_cast_fu_8698_p1); sensitive << ( tmp_122_39_reg_14357 ); SC_METHOD(thread_tmp_122_39_fu_4093_p2); sensitive << ( tmp_119_37_cast_fu_4063_p1 ); sensitive << ( tmp_115_37_cast_fu_4060_p1 ); SC_METHOD(thread_tmp_122_3_cast_fu_4813_p1); sensitive << ( tmp_122_3_reg_14172 ); SC_METHOD(thread_tmp_122_3_fu_3612_p2); sensitive << ( tmp_119_1_cast_fu_3582_p1 ); sensitive << ( tmp_115_1_cast_fu_3579_p1 ); SC_METHOD(thread_tmp_122_40_cast_fu_8803_p1); sensitive << ( tmp_122_40_reg_14362 ); SC_METHOD(thread_tmp_122_40_fu_4106_p2); sensitive << ( tmp_119_38_cast_fu_4076_p1 ); sensitive << ( tmp_115_38_cast_fu_4073_p1 ); SC_METHOD(thread_tmp_122_41_cast_fu_8908_p1); sensitive << ( tmp_122_41_reg_14367 ); SC_METHOD(thread_tmp_122_41_fu_4119_p2); sensitive << ( tmp_119_39_cast_fu_4089_p1 ); sensitive << ( tmp_115_39_cast_fu_4086_p1 ); SC_METHOD(thread_tmp_122_42_cast_fu_9013_p1); sensitive << ( tmp_122_42_reg_14372 ); SC_METHOD(thread_tmp_122_42_fu_4132_p2); sensitive << ( tmp_119_40_cast_fu_4102_p1 ); sensitive << ( tmp_115_40_cast_fu_4099_p1 ); SC_METHOD(thread_tmp_122_43_cast_fu_9118_p1); sensitive << ( tmp_122_43_reg_14377 ); SC_METHOD(thread_tmp_122_43_fu_4145_p2); sensitive << ( tmp_119_41_cast_fu_4115_p1 ); sensitive << ( tmp_115_41_cast_fu_4112_p1 ); SC_METHOD(thread_tmp_122_44_cast_fu_9223_p1); sensitive << ( tmp_122_44_reg_14382 ); SC_METHOD(thread_tmp_122_44_fu_4158_p2); sensitive << ( tmp_119_42_cast_fu_4128_p1 ); sensitive << ( tmp_115_42_cast_fu_4125_p1 ); SC_METHOD(thread_tmp_122_45_cast_fu_9328_p1); sensitive << ( tmp_122_45_reg_14387 ); SC_METHOD(thread_tmp_122_45_fu_4171_p2); sensitive << ( tmp_119_43_cast_fu_4141_p1 ); sensitive << ( tmp_115_43_cast_fu_4138_p1 ); SC_METHOD(thread_tmp_122_46_cast_fu_9433_p1); sensitive << ( tmp_122_46_reg_14392 ); SC_METHOD(thread_tmp_122_46_fu_4184_p2); sensitive << ( tmp_119_44_cast_fu_4154_p1 ); sensitive << ( tmp_115_44_cast_fu_4151_p1 ); SC_METHOD(thread_tmp_122_47_cast_fu_9538_p1); sensitive << ( tmp_122_47_reg_14397 ); SC_METHOD(thread_tmp_122_47_fu_4197_p2); sensitive << ( tmp_119_45_cast_fu_4167_p1 ); sensitive << ( tmp_115_45_cast_fu_4164_p1 ); SC_METHOD(thread_tmp_122_48_cast_fu_9643_p1); sensitive << ( tmp_122_48_reg_14402 ); SC_METHOD(thread_tmp_122_48_fu_4210_p2); sensitive << ( tmp_119_46_cast_fu_4180_p1 ); sensitive << ( tmp_115_46_cast_fu_4177_p1 ); SC_METHOD(thread_tmp_122_49_cast_fu_9748_p1); sensitive << ( tmp_122_49_reg_14407 ); SC_METHOD(thread_tmp_122_49_fu_4223_p2); sensitive << ( tmp_119_47_cast_fu_4193_p1 ); sensitive << ( tmp_115_47_cast_fu_4190_p1 ); SC_METHOD(thread_tmp_122_4_cast_fu_4918_p1); sensitive << ( tmp_122_4_reg_14177 ); SC_METHOD(thread_tmp_122_4_fu_3625_p2); sensitive << ( tmp_119_2_cast_fu_3595_p1 ); sensitive << ( tmp_115_2_cast_fu_3592_p1 ); SC_METHOD(thread_tmp_122_50_cast_fu_9853_p1); sensitive << ( tmp_122_50_reg_14412 ); SC_METHOD(thread_tmp_122_50_fu_4236_p2); sensitive << ( tmp_119_48_cast_fu_4206_p1 ); sensitive << ( tmp_115_48_cast_fu_4203_p1 ); SC_METHOD(thread_tmp_122_51_cast_fu_9958_p1); sensitive << ( tmp_122_51_reg_14417 ); SC_METHOD(thread_tmp_122_51_fu_4249_p2); sensitive << ( tmp_119_49_cast_fu_4219_p1 ); sensitive << ( tmp_115_49_cast_fu_4216_p1 ); SC_METHOD(thread_tmp_122_52_cast_fu_10063_p1); sensitive << ( tmp_122_52_reg_14422 ); SC_METHOD(thread_tmp_122_52_fu_4262_p2); sensitive << ( tmp_119_50_cast_fu_4232_p1 ); sensitive << ( tmp_115_50_cast_fu_4229_p1 ); SC_METHOD(thread_tmp_122_53_cast_fu_10168_p1); sensitive << ( tmp_122_53_reg_14427 ); SC_METHOD(thread_tmp_122_53_fu_4275_p2); sensitive << ( tmp_119_51_cast_fu_4245_p1 ); sensitive << ( tmp_115_51_cast_fu_4242_p1 ); SC_METHOD(thread_tmp_122_54_cast_fu_10273_p1); sensitive << ( tmp_122_54_reg_14432 ); SC_METHOD(thread_tmp_122_54_fu_4288_p2); sensitive << ( tmp_119_52_cast_fu_4258_p1 ); sensitive << ( tmp_115_52_cast_fu_4255_p1 ); SC_METHOD(thread_tmp_122_55_cast_fu_10378_p1); sensitive << ( tmp_122_55_reg_14437 ); SC_METHOD(thread_tmp_122_55_fu_4301_p2); sensitive << ( tmp_119_53_cast_fu_4271_p1 ); sensitive << ( tmp_115_53_cast_fu_4268_p1 ); SC_METHOD(thread_tmp_122_56_cast_fu_10483_p1); sensitive << ( tmp_122_56_reg_14442 ); SC_METHOD(thread_tmp_122_56_fu_4314_p2); sensitive << ( tmp_119_54_cast_fu_4284_p1 ); sensitive << ( tmp_115_54_cast_fu_4281_p1 ); SC_METHOD(thread_tmp_122_57_cast_fu_10588_p1); sensitive << ( tmp_122_57_reg_14447 ); SC_METHOD(thread_tmp_122_57_fu_4327_p2); sensitive << ( tmp_119_55_cast_fu_4297_p1 ); sensitive << ( tmp_115_55_cast_fu_4294_p1 ); SC_METHOD(thread_tmp_122_58_cast_fu_10693_p1); sensitive << ( tmp_122_58_reg_14452 ); SC_METHOD(thread_tmp_122_58_fu_4340_p2); sensitive << ( tmp_119_56_cast_fu_4310_p1 ); sensitive << ( tmp_115_56_cast_fu_4307_p1 ); SC_METHOD(thread_tmp_122_59_cast_fu_10798_p1); sensitive << ( tmp_122_59_reg_14457 ); SC_METHOD(thread_tmp_122_59_fu_4353_p2); sensitive << ( tmp_119_57_cast_fu_4323_p1 ); sensitive << ( tmp_115_57_cast_fu_4320_p1 ); SC_METHOD(thread_tmp_122_5_cast_fu_5023_p1); sensitive << ( tmp_122_5_reg_14182 ); SC_METHOD(thread_tmp_122_5_fu_3638_p2); sensitive << ( tmp_119_3_cast_fu_3608_p1 ); sensitive << ( tmp_115_3_cast_fu_3605_p1 ); SC_METHOD(thread_tmp_122_60_cast_fu_10903_p1); sensitive << ( tmp_122_60_reg_14462 ); SC_METHOD(thread_tmp_122_60_fu_4366_p2); sensitive << ( tmp_119_58_cast_fu_4336_p1 ); sensitive << ( tmp_115_58_cast_fu_4333_p1 ); SC_METHOD(thread_tmp_122_61_cast_fu_11008_p1); sensitive << ( tmp_122_61_reg_14467 ); SC_METHOD(thread_tmp_122_61_fu_4379_p2); sensitive << ( tmp_119_59_cast_fu_4349_p1 ); sensitive << ( tmp_115_59_cast_fu_4346_p1 ); SC_METHOD(thread_tmp_122_62_cast_fu_11113_p1); sensitive << ( tmp_122_62_reg_14472 ); SC_METHOD(thread_tmp_122_62_fu_4392_p2); sensitive << ( tmp_119_60_cast_fu_4362_p1 ); sensitive << ( tmp_115_60_cast_fu_4359_p1 ); SC_METHOD(thread_tmp_122_63_cast_fu_11218_p1); sensitive << ( tmp_122_63_reg_14477 ); SC_METHOD(thread_tmp_122_63_fu_4405_p2); sensitive << ( tmp_119_61_cast_fu_4375_p1 ); sensitive << ( tmp_115_61_cast_fu_4372_p1 ); SC_METHOD(thread_tmp_122_64_cast_fu_11323_p1); sensitive << ( tmp_122_64_reg_14482 ); SC_METHOD(thread_tmp_122_64_fu_4418_p2); sensitive << ( tmp_119_62_cast_fu_4388_p1 ); sensitive << ( tmp_115_62_cast_fu_4385_p1 ); SC_METHOD(thread_tmp_122_65_cast_fu_11428_p1); sensitive << ( tmp_122_65_reg_14487 ); SC_METHOD(thread_tmp_122_65_fu_4431_p2); sensitive << ( tmp_119_63_cast_fu_4401_p1 ); sensitive << ( tmp_115_63_cast_fu_4398_p1 ); SC_METHOD(thread_tmp_122_66_cast_fu_11533_p1); sensitive << ( tmp_122_66_reg_14492 ); SC_METHOD(thread_tmp_122_66_fu_4444_p2); sensitive << ( tmp_119_64_cast_fu_4414_p1 ); sensitive << ( tmp_115_64_cast_fu_4411_p1 ); SC_METHOD(thread_tmp_122_67_cast_fu_11638_p1); sensitive << ( tmp_122_67_reg_14497 ); SC_METHOD(thread_tmp_122_67_fu_4458_p2); sensitive << ( tmp_119_65_cast_fu_4427_p1 ); sensitive << ( tmp_115_65_cast_fu_4424_p1 ); SC_METHOD(thread_tmp_122_68_cast_fu_11745_p1); sensitive << ( tmp_122_68_reg_14502 ); SC_METHOD(thread_tmp_122_68_fu_4464_p2); sensitive << ( tmp_119_66_cast_fu_4440_p1 ); sensitive << ( tmp_115_66_cast_fu_4437_p1 ); SC_METHOD(thread_tmp_122_69_cast_fu_11850_p1); sensitive << ( tmp_122_69_reg_14507 ); SC_METHOD(thread_tmp_122_69_fu_4470_p2); sensitive << ( tmp_119_67_cast_fu_4454_p1 ); sensitive << ( tmp_115_67_cast_fu_4450_p1 ); SC_METHOD(thread_tmp_122_6_cast_fu_5128_p1); sensitive << ( tmp_122_6_reg_14187 ); SC_METHOD(thread_tmp_122_6_fu_3651_p2); sensitive << ( tmp_119_4_cast_fu_3621_p1 ); sensitive << ( tmp_115_4_cast_fu_3618_p1 ); SC_METHOD(thread_tmp_122_7_cast_fu_5233_p1); sensitive << ( tmp_122_7_reg_14192 ); SC_METHOD(thread_tmp_122_7_fu_3664_p2); sensitive << ( tmp_119_5_cast_fu_3634_p1 ); sensitive << ( tmp_115_5_cast_fu_3631_p1 ); SC_METHOD(thread_tmp_122_8_cast_fu_5338_p1); sensitive << ( tmp_122_8_reg_14197 ); SC_METHOD(thread_tmp_122_8_fu_3677_p2); sensitive << ( tmp_119_6_cast_fu_3647_p1 ); sensitive << ( tmp_115_6_cast_fu_3644_p1 ); SC_METHOD(thread_tmp_122_9_cast_fu_5443_p1); sensitive << ( tmp_122_9_reg_14202 ); SC_METHOD(thread_tmp_122_9_fu_3690_p2); sensitive << ( tmp_119_7_cast_fu_3660_p1 ); sensitive << ( tmp_115_7_cast_fu_3657_p1 ); SC_METHOD(thread_tmp_122_cast_1189_fu_5548_p1); sensitive << ( tmp_122_s_reg_14207 ); SC_METHOD(thread_tmp_122_cast_fu_4498_p1); sensitive << ( tmp_122_reg_14157 ); SC_METHOD(thread_tmp_122_fu_3573_p2); sensitive << ( tmp_107_cast_fu_3555_p1 ); sensitive << ( tmp_103_cast_fu_3551_p1 ); SC_METHOD(thread_tmp_122_s_fu_3703_p2); sensitive << ( tmp_119_8_cast_fu_3673_p1 ); sensitive << ( tmp_115_8_cast_fu_3670_p1 ); SC_METHOD(thread_tmp_124_10_fu_5656_p2); sensitive << ( tmp_122_10_cast_fu_5653_p1 ); sensitive << ( p_shl11_cast_fu_5638_p1 ); SC_METHOD(thread_tmp_124_11_fu_5761_p2); sensitive << ( tmp_122_11_cast_fu_5758_p1 ); sensitive << ( p_shl12_cast_fu_5743_p1 ); SC_METHOD(thread_tmp_124_12_fu_5866_p2); sensitive << ( tmp_122_12_cast_fu_5863_p1 ); sensitive << ( p_shl13_cast_fu_5848_p1 ); SC_METHOD(thread_tmp_124_13_fu_5971_p2); sensitive << ( tmp_122_13_cast_fu_5968_p1 ); sensitive << ( p_shl14_cast_fu_5953_p1 ); SC_METHOD(thread_tmp_124_14_fu_6076_p2); sensitive << ( tmp_122_14_cast_fu_6073_p1 ); sensitive << ( p_shl15_cast_fu_6058_p1 ); SC_METHOD(thread_tmp_124_15_fu_6181_p2); sensitive << ( tmp_122_15_cast_fu_6178_p1 ); sensitive << ( p_shl16_cast_fu_6163_p1 ); SC_METHOD(thread_tmp_124_16_fu_6286_p2); sensitive << ( tmp_122_16_cast_fu_6283_p1 ); sensitive << ( p_shl17_cast_fu_6268_p1 ); SC_METHOD(thread_tmp_124_17_fu_6391_p2); sensitive << ( tmp_122_17_cast_fu_6388_p1 ); sensitive << ( p_shl18_cast_fu_6373_p1 ); SC_METHOD(thread_tmp_124_18_fu_6496_p2); sensitive << ( tmp_122_18_cast_fu_6493_p1 ); sensitive << ( p_shl19_cast_fu_6478_p1 ); SC_METHOD(thread_tmp_124_19_fu_6601_p2); sensitive << ( tmp_122_19_cast_fu_6598_p1 ); sensitive << ( p_shl20_cast_fu_6583_p1 ); SC_METHOD(thread_tmp_124_1_fu_4606_p2); sensitive << ( tmp_122_1_cast_fu_4603_p1 ); sensitive << ( p_shl1_cast_fu_4588_p1 ); SC_METHOD(thread_tmp_124_20_fu_6706_p2); sensitive << ( tmp_122_20_cast_fu_6703_p1 ); sensitive << ( p_shl21_cast_fu_6688_p1 ); SC_METHOD(thread_tmp_124_21_fu_6811_p2); sensitive << ( tmp_122_21_cast_fu_6808_p1 ); sensitive << ( p_shl22_cast_fu_6793_p1 ); SC_METHOD(thread_tmp_124_22_fu_6916_p2); sensitive << ( tmp_122_22_cast_fu_6913_p1 ); sensitive << ( p_shl23_cast_fu_6898_p1 ); SC_METHOD(thread_tmp_124_23_fu_7021_p2); sensitive << ( tmp_122_23_cast_fu_7018_p1 ); sensitive << ( p_shl24_cast_fu_7003_p1 ); SC_METHOD(thread_tmp_124_24_fu_7126_p2); sensitive << ( tmp_122_24_cast_fu_7123_p1 ); sensitive << ( p_shl25_cast_fu_7108_p1 ); SC_METHOD(thread_tmp_124_25_fu_7231_p2); sensitive << ( tmp_122_25_cast_fu_7228_p1 ); sensitive << ( p_shl26_cast_fu_7213_p1 ); SC_METHOD(thread_tmp_124_26_fu_7336_p2); sensitive << ( tmp_122_26_cast_fu_7333_p1 ); sensitive << ( p_shl27_cast_fu_7318_p1 ); SC_METHOD(thread_tmp_124_27_fu_7441_p2); sensitive << ( tmp_122_27_cast_fu_7438_p1 ); sensitive << ( p_shl28_cast_fu_7423_p1 ); SC_METHOD(thread_tmp_124_28_fu_7546_p2); sensitive << ( tmp_122_28_cast_fu_7543_p1 ); sensitive << ( p_shl29_cast_fu_7528_p1 ); SC_METHOD(thread_tmp_124_29_fu_7651_p2); sensitive << ( tmp_122_29_cast_fu_7648_p1 ); sensitive << ( p_shl30_cast_fu_7633_p1 ); SC_METHOD(thread_tmp_124_2_fu_4711_p2); sensitive << ( tmp_122_2_cast_fu_4708_p1 ); sensitive << ( p_shl2_cast_fu_4693_p1 ); SC_METHOD(thread_tmp_124_30_fu_7756_p2); sensitive << ( tmp_122_30_cast_fu_7753_p1 ); sensitive << ( p_shl31_cast_fu_7738_p1 ); SC_METHOD(thread_tmp_124_31_fu_7861_p2); sensitive << ( tmp_122_31_cast_fu_7858_p1 ); sensitive << ( p_shl32_cast_fu_7843_p1 ); SC_METHOD(thread_tmp_124_32_fu_7966_p2); sensitive << ( tmp_122_32_cast_fu_7963_p1 ); sensitive << ( p_shl33_cast_fu_7948_p1 ); SC_METHOD(thread_tmp_124_33_fu_8071_p2); sensitive << ( tmp_122_33_cast_fu_8068_p1 ); sensitive << ( p_shl34_cast_fu_8053_p1 ); SC_METHOD(thread_tmp_124_34_fu_8176_p2); sensitive << ( tmp_122_34_cast_fu_8173_p1 ); sensitive << ( p_shl35_cast_fu_8158_p1 ); SC_METHOD(thread_tmp_124_35_fu_8281_p2); sensitive << ( tmp_122_35_cast_fu_8278_p1 ); sensitive << ( p_shl36_cast_fu_8263_p1 ); SC_METHOD(thread_tmp_124_36_fu_8386_p2); sensitive << ( tmp_122_36_cast_fu_8383_p1 ); sensitive << ( p_shl37_cast_fu_8368_p1 ); SC_METHOD(thread_tmp_124_37_fu_8491_p2); sensitive << ( tmp_122_37_cast_fu_8488_p1 ); sensitive << ( p_shl38_cast_fu_8473_p1 ); SC_METHOD(thread_tmp_124_38_fu_8596_p2); sensitive << ( tmp_122_38_cast_fu_8593_p1 ); sensitive << ( p_shl39_cast_fu_8578_p1 ); SC_METHOD(thread_tmp_124_39_fu_8701_p2); sensitive << ( tmp_122_39_cast_fu_8698_p1 ); sensitive << ( p_shl40_cast_fu_8683_p1 ); SC_METHOD(thread_tmp_124_3_fu_4816_p2); sensitive << ( tmp_122_3_cast_fu_4813_p1 ); sensitive << ( p_shl3_cast_fu_4798_p1 ); SC_METHOD(thread_tmp_124_40_fu_8806_p2); sensitive << ( tmp_122_40_cast_fu_8803_p1 ); sensitive << ( p_shl41_cast_fu_8788_p1 ); SC_METHOD(thread_tmp_124_41_fu_8911_p2); sensitive << ( tmp_122_41_cast_fu_8908_p1 ); sensitive << ( p_shl42_cast_fu_8893_p1 ); SC_METHOD(thread_tmp_124_42_fu_9016_p2); sensitive << ( tmp_122_42_cast_fu_9013_p1 ); sensitive << ( p_shl43_cast_fu_8998_p1 ); SC_METHOD(thread_tmp_124_43_fu_9121_p2); sensitive << ( tmp_122_43_cast_fu_9118_p1 ); sensitive << ( p_shl44_cast_fu_9103_p1 ); SC_METHOD(thread_tmp_124_44_fu_9226_p2); sensitive << ( tmp_122_44_cast_fu_9223_p1 ); sensitive << ( p_shl45_cast_fu_9208_p1 ); SC_METHOD(thread_tmp_124_45_fu_9331_p2); sensitive << ( tmp_122_45_cast_fu_9328_p1 ); sensitive << ( p_shl46_cast_fu_9313_p1 ); SC_METHOD(thread_tmp_124_46_fu_9436_p2); sensitive << ( tmp_122_46_cast_fu_9433_p1 ); sensitive << ( p_shl47_cast_fu_9418_p1 ); SC_METHOD(thread_tmp_124_47_fu_9541_p2); sensitive << ( tmp_122_47_cast_fu_9538_p1 ); sensitive << ( p_shl48_cast_fu_9523_p1 ); SC_METHOD(thread_tmp_124_48_fu_9646_p2); sensitive << ( tmp_122_48_cast_fu_9643_p1 ); sensitive << ( p_shl49_cast_fu_9628_p1 ); SC_METHOD(thread_tmp_124_49_fu_9751_p2); sensitive << ( tmp_122_49_cast_fu_9748_p1 ); sensitive << ( p_shl50_cast_fu_9733_p1 ); SC_METHOD(thread_tmp_124_4_fu_4921_p2); sensitive << ( tmp_122_4_cast_fu_4918_p1 ); sensitive << ( p_shl4_cast_fu_4903_p1 ); SC_METHOD(thread_tmp_124_50_fu_9856_p2); sensitive << ( tmp_122_50_cast_fu_9853_p1 ); sensitive << ( p_shl51_cast_fu_9838_p1 ); SC_METHOD(thread_tmp_124_51_fu_9961_p2); sensitive << ( tmp_122_51_cast_fu_9958_p1 ); sensitive << ( p_shl52_cast_fu_9943_p1 ); SC_METHOD(thread_tmp_124_52_fu_10066_p2); sensitive << ( tmp_122_52_cast_fu_10063_p1 ); sensitive << ( p_shl53_cast_fu_10048_p1 ); SC_METHOD(thread_tmp_124_53_fu_10171_p2); sensitive << ( tmp_122_53_cast_fu_10168_p1 ); sensitive << ( p_shl54_cast_fu_10153_p1 ); SC_METHOD(thread_tmp_124_54_fu_10276_p2); sensitive << ( tmp_122_54_cast_fu_10273_p1 ); sensitive << ( p_shl55_cast_fu_10258_p1 ); SC_METHOD(thread_tmp_124_55_fu_10381_p2); sensitive << ( tmp_122_55_cast_fu_10378_p1 ); sensitive << ( p_shl56_cast_fu_10363_p1 ); SC_METHOD(thread_tmp_124_56_fu_10486_p2); sensitive << ( tmp_122_56_cast_fu_10483_p1 ); sensitive << ( p_shl57_cast_fu_10468_p1 ); SC_METHOD(thread_tmp_124_57_fu_10591_p2); sensitive << ( tmp_122_57_cast_fu_10588_p1 ); sensitive << ( p_shl58_cast_fu_10573_p1 ); SC_METHOD(thread_tmp_124_58_fu_10696_p2); sensitive << ( tmp_122_58_cast_fu_10693_p1 ); sensitive << ( p_shl59_cast_fu_10678_p1 ); SC_METHOD(thread_tmp_124_59_fu_10801_p2); sensitive << ( tmp_122_59_cast_fu_10798_p1 ); sensitive << ( p_shl60_cast_fu_10783_p1 ); SC_METHOD(thread_tmp_124_5_fu_5026_p2); sensitive << ( tmp_122_5_cast_fu_5023_p1 ); sensitive << ( p_shl5_cast_fu_5008_p1 ); SC_METHOD(thread_tmp_124_60_fu_10906_p2); sensitive << ( tmp_122_60_cast_fu_10903_p1 ); sensitive << ( p_shl61_cast_fu_10888_p1 ); SC_METHOD(thread_tmp_124_61_fu_11011_p2); sensitive << ( tmp_122_61_cast_fu_11008_p1 ); sensitive << ( p_shl62_cast_fu_10993_p1 ); SC_METHOD(thread_tmp_124_62_fu_11116_p2); sensitive << ( tmp_122_62_cast_fu_11113_p1 ); sensitive << ( p_shl63_cast_fu_11098_p1 ); SC_METHOD(thread_tmp_124_63_fu_11221_p2); sensitive << ( tmp_122_63_cast_fu_11218_p1 ); sensitive << ( p_shl64_cast_fu_11203_p1 ); SC_METHOD(thread_tmp_124_64_fu_11326_p2); sensitive << ( tmp_122_64_cast_fu_11323_p1 ); sensitive << ( p_shl65_cast_fu_11308_p1 ); SC_METHOD(thread_tmp_124_65_fu_11431_p2); sensitive << ( tmp_122_65_cast_fu_11428_p1 ); sensitive << ( p_shl66_cast_fu_11413_p1 ); SC_METHOD(thread_tmp_124_66_fu_11536_p2); sensitive << ( tmp_122_66_cast_fu_11533_p1 ); sensitive << ( p_shl67_cast_fu_11518_p1 ); SC_METHOD(thread_tmp_124_67_fu_11641_p2); sensitive << ( tmp_122_67_cast_fu_11638_p1 ); sensitive << ( p_shl68_cast_fu_11623_p1 ); SC_METHOD(thread_tmp_124_68_fu_11748_p2); sensitive << ( tmp_122_68_cast_fu_11745_p1 ); sensitive << ( p_shl69_cast_fu_11730_p1 ); SC_METHOD(thread_tmp_124_69_fu_11853_p2); sensitive << ( tmp_122_69_cast_fu_11850_p1 ); sensitive << ( p_shl70_cast_fu_11835_p1 ); SC_METHOD(thread_tmp_124_6_fu_5131_p2); sensitive << ( tmp_122_6_cast_fu_5128_p1 ); sensitive << ( p_shl6_cast_fu_5113_p1 ); SC_METHOD(thread_tmp_124_7_fu_5236_p2); sensitive << ( tmp_122_7_cast_fu_5233_p1 ); sensitive << ( p_shl7_cast_fu_5218_p1 ); SC_METHOD(thread_tmp_124_8_fu_5341_p2); sensitive << ( tmp_122_8_cast_fu_5338_p1 ); sensitive << ( p_shl8_cast_fu_5323_p1 ); SC_METHOD(thread_tmp_124_9_fu_5446_p2); sensitive << ( tmp_122_9_cast_fu_5443_p1 ); sensitive << ( p_shl9_cast_fu_5428_p1 ); SC_METHOD(thread_tmp_124_fu_4501_p2); sensitive << ( tmp_122_cast_fu_4498_p1 ); sensitive << ( p_shl_cast_fu_4483_p1 ); SC_METHOD(thread_tmp_124_s_fu_5551_p2); sensitive << ( tmp_122_cast_1189_fu_5548_p1 ); sensitive << ( p_shl10_cast_fu_5533_p1 ); SC_METHOD(thread_tmp_125_10_fu_5662_p2); sensitive << ( tmp_114_10_cast_fu_5649_p1 ); sensitive << ( tmp_124_10_fu_5656_p2 ); SC_METHOD(thread_tmp_125_11_fu_5767_p2); sensitive << ( tmp_114_11_cast_fu_5754_p1 ); sensitive << ( tmp_124_11_fu_5761_p2 ); SC_METHOD(thread_tmp_125_12_fu_5872_p2); sensitive << ( tmp_114_12_cast_fu_5859_p1 ); sensitive << ( tmp_124_12_fu_5866_p2 ); SC_METHOD(thread_tmp_125_13_fu_5977_p2); sensitive << ( tmp_114_13_cast_fu_5964_p1 ); sensitive << ( tmp_124_13_fu_5971_p2 ); SC_METHOD(thread_tmp_125_14_fu_6082_p2); sensitive << ( tmp_114_14_cast_fu_6069_p1 ); sensitive << ( tmp_124_14_fu_6076_p2 ); SC_METHOD(thread_tmp_125_15_fu_6187_p2); sensitive << ( tmp_114_15_cast_fu_6174_p1 ); sensitive << ( tmp_124_15_fu_6181_p2 ); SC_METHOD(thread_tmp_125_16_fu_6292_p2); sensitive << ( tmp_114_16_cast_fu_6279_p1 ); sensitive << ( tmp_124_16_fu_6286_p2 ); SC_METHOD(thread_tmp_125_17_fu_6397_p2); sensitive << ( tmp_114_17_cast_fu_6384_p1 ); sensitive << ( tmp_124_17_fu_6391_p2 ); SC_METHOD(thread_tmp_125_18_fu_6502_p2); sensitive << ( tmp_114_18_cast_fu_6489_p1 ); sensitive << ( tmp_124_18_fu_6496_p2 ); SC_METHOD(thread_tmp_125_19_fu_6607_p2); sensitive << ( tmp_114_19_cast_fu_6594_p1 ); sensitive << ( tmp_124_19_fu_6601_p2 ); SC_METHOD(thread_tmp_125_1_fu_4612_p2); sensitive << ( tmp_114_1_cast_fu_4599_p1 ); sensitive << ( tmp_124_1_fu_4606_p2 ); SC_METHOD(thread_tmp_125_20_fu_6712_p2); sensitive << ( tmp_114_20_cast_fu_6699_p1 ); sensitive << ( tmp_124_20_fu_6706_p2 ); SC_METHOD(thread_tmp_125_21_fu_6817_p2); sensitive << ( tmp_114_21_cast_fu_6804_p1 ); sensitive << ( tmp_124_21_fu_6811_p2 ); SC_METHOD(thread_tmp_125_22_fu_6922_p2); sensitive << ( tmp_114_22_cast_fu_6909_p1 ); sensitive << ( tmp_124_22_fu_6916_p2 ); SC_METHOD(thread_tmp_125_23_fu_7027_p2); sensitive << ( tmp_114_23_cast_fu_7014_p1 ); sensitive << ( tmp_124_23_fu_7021_p2 ); SC_METHOD(thread_tmp_125_24_fu_7132_p2); sensitive << ( tmp_114_24_cast_fu_7119_p1 ); sensitive << ( tmp_124_24_fu_7126_p2 ); SC_METHOD(thread_tmp_125_25_fu_7237_p2); sensitive << ( tmp_114_25_cast_fu_7224_p1 ); sensitive << ( tmp_124_25_fu_7231_p2 ); SC_METHOD(thread_tmp_125_26_fu_7342_p2); sensitive << ( tmp_114_26_cast_fu_7329_p1 ); sensitive << ( tmp_124_26_fu_7336_p2 ); SC_METHOD(thread_tmp_125_27_fu_7447_p2); sensitive << ( tmp_114_27_cast_fu_7434_p1 ); sensitive << ( tmp_124_27_fu_7441_p2 ); SC_METHOD(thread_tmp_125_28_fu_7552_p2); sensitive << ( tmp_114_28_cast_fu_7539_p1 ); sensitive << ( tmp_124_28_fu_7546_p2 ); SC_METHOD(thread_tmp_125_29_fu_7657_p2); sensitive << ( tmp_114_29_cast_fu_7644_p1 ); sensitive << ( tmp_124_29_fu_7651_p2 ); SC_METHOD(thread_tmp_125_2_fu_4717_p2); sensitive << ( tmp_114_2_cast_fu_4704_p1 ); sensitive << ( tmp_124_2_fu_4711_p2 ); SC_METHOD(thread_tmp_125_30_fu_7762_p2); sensitive << ( tmp_114_30_cast_fu_7749_p1 ); sensitive << ( tmp_124_30_fu_7756_p2 ); SC_METHOD(thread_tmp_125_31_fu_7867_p2); sensitive << ( tmp_114_31_cast_fu_7854_p1 ); sensitive << ( tmp_124_31_fu_7861_p2 ); SC_METHOD(thread_tmp_125_32_fu_7972_p2); sensitive << ( tmp_114_32_cast_fu_7959_p1 ); sensitive << ( tmp_124_32_fu_7966_p2 ); SC_METHOD(thread_tmp_125_33_fu_8077_p2); sensitive << ( tmp_114_33_cast_fu_8064_p1 ); sensitive << ( tmp_124_33_fu_8071_p2 ); SC_METHOD(thread_tmp_125_34_fu_8182_p2); sensitive << ( tmp_114_34_cast_fu_8169_p1 ); sensitive << ( tmp_124_34_fu_8176_p2 ); SC_METHOD(thread_tmp_125_35_fu_8287_p2); sensitive << ( tmp_114_35_cast_fu_8274_p1 ); sensitive << ( tmp_124_35_fu_8281_p2 ); SC_METHOD(thread_tmp_125_36_fu_8392_p2); sensitive << ( tmp_114_36_cast_fu_8379_p1 ); sensitive << ( tmp_124_36_fu_8386_p2 ); SC_METHOD(thread_tmp_125_37_fu_8497_p2); sensitive << ( tmp_114_37_cast_fu_8484_p1 ); sensitive << ( tmp_124_37_fu_8491_p2 ); SC_METHOD(thread_tmp_125_38_fu_8602_p2); sensitive << ( tmp_114_38_cast_fu_8589_p1 ); sensitive << ( tmp_124_38_fu_8596_p2 ); SC_METHOD(thread_tmp_125_39_fu_8707_p2); sensitive << ( tmp_114_39_cast_fu_8694_p1 ); sensitive << ( tmp_124_39_fu_8701_p2 ); SC_METHOD(thread_tmp_125_3_fu_4822_p2); sensitive << ( tmp_114_3_cast_fu_4809_p1 ); sensitive << ( tmp_124_3_fu_4816_p2 ); SC_METHOD(thread_tmp_125_40_fu_8812_p2); sensitive << ( tmp_114_40_cast_fu_8799_p1 ); sensitive << ( tmp_124_40_fu_8806_p2 ); SC_METHOD(thread_tmp_125_41_fu_8917_p2); sensitive << ( tmp_114_41_cast_fu_8904_p1 ); sensitive << ( tmp_124_41_fu_8911_p2 ); SC_METHOD(thread_tmp_125_42_fu_9022_p2); sensitive << ( tmp_114_42_cast_fu_9009_p1 ); sensitive << ( tmp_124_42_fu_9016_p2 ); SC_METHOD(thread_tmp_125_43_fu_9127_p2); sensitive << ( tmp_114_43_cast_fu_9114_p1 ); sensitive << ( tmp_124_43_fu_9121_p2 ); SC_METHOD(thread_tmp_125_44_fu_9232_p2); sensitive << ( tmp_114_44_cast_fu_9219_p1 ); sensitive << ( tmp_124_44_fu_9226_p2 ); SC_METHOD(thread_tmp_125_45_fu_9337_p2); sensitive << ( tmp_114_45_cast_fu_9324_p1 ); sensitive << ( tmp_124_45_fu_9331_p2 ); SC_METHOD(thread_tmp_125_46_fu_9442_p2); sensitive << ( tmp_114_46_cast_fu_9429_p1 ); sensitive << ( tmp_124_46_fu_9436_p2 ); SC_METHOD(thread_tmp_125_47_fu_9547_p2); sensitive << ( tmp_114_47_cast_fu_9534_p1 ); sensitive << ( tmp_124_47_fu_9541_p2 ); SC_METHOD(thread_tmp_125_48_fu_9652_p2); sensitive << ( tmp_114_48_cast_fu_9639_p1 ); sensitive << ( tmp_124_48_fu_9646_p2 ); SC_METHOD(thread_tmp_125_49_fu_9757_p2); sensitive << ( tmp_114_49_cast_fu_9744_p1 ); sensitive << ( tmp_124_49_fu_9751_p2 ); SC_METHOD(thread_tmp_125_4_fu_4927_p2); sensitive << ( tmp_114_4_cast_fu_4914_p1 ); sensitive << ( tmp_124_4_fu_4921_p2 ); SC_METHOD(thread_tmp_125_50_fu_9862_p2); sensitive << ( tmp_114_50_cast_fu_9849_p1 ); sensitive << ( tmp_124_50_fu_9856_p2 ); SC_METHOD(thread_tmp_125_51_fu_9967_p2); sensitive << ( tmp_114_51_cast_fu_9954_p1 ); sensitive << ( tmp_124_51_fu_9961_p2 ); SC_METHOD(thread_tmp_125_52_fu_10072_p2); sensitive << ( tmp_114_52_cast_fu_10059_p1 ); sensitive << ( tmp_124_52_fu_10066_p2 ); SC_METHOD(thread_tmp_125_53_fu_10177_p2); sensitive << ( tmp_114_53_cast_fu_10164_p1 ); sensitive << ( tmp_124_53_fu_10171_p2 ); SC_METHOD(thread_tmp_125_54_fu_10282_p2); sensitive << ( tmp_114_54_cast_fu_10269_p1 ); sensitive << ( tmp_124_54_fu_10276_p2 ); SC_METHOD(thread_tmp_125_55_fu_10387_p2); sensitive << ( tmp_114_55_cast_fu_10374_p1 ); sensitive << ( tmp_124_55_fu_10381_p2 ); SC_METHOD(thread_tmp_125_56_fu_10492_p2); sensitive << ( tmp_114_56_cast_fu_10479_p1 ); sensitive << ( tmp_124_56_fu_10486_p2 ); SC_METHOD(thread_tmp_125_57_fu_10597_p2); sensitive << ( tmp_114_57_cast_fu_10584_p1 ); sensitive << ( tmp_124_57_fu_10591_p2 ); SC_METHOD(thread_tmp_125_58_fu_10702_p2); sensitive << ( tmp_114_58_cast_fu_10689_p1 ); sensitive << ( tmp_124_58_fu_10696_p2 ); SC_METHOD(thread_tmp_125_59_fu_10807_p2); sensitive << ( tmp_114_59_cast_fu_10794_p1 ); sensitive << ( tmp_124_59_fu_10801_p2 ); SC_METHOD(thread_tmp_125_5_fu_5032_p2); sensitive << ( tmp_114_5_cast_fu_5019_p1 ); sensitive << ( tmp_124_5_fu_5026_p2 ); SC_METHOD(thread_tmp_125_60_fu_10912_p2); sensitive << ( tmp_114_60_cast_fu_10899_p1 ); sensitive << ( tmp_124_60_fu_10906_p2 ); SC_METHOD(thread_tmp_125_61_fu_11017_p2); sensitive << ( tmp_114_61_cast_fu_11004_p1 ); sensitive << ( tmp_124_61_fu_11011_p2 ); SC_METHOD(thread_tmp_125_62_fu_11122_p2); sensitive << ( tmp_114_62_cast_fu_11109_p1 ); sensitive << ( tmp_124_62_fu_11116_p2 ); SC_METHOD(thread_tmp_125_63_fu_11227_p2); sensitive << ( tmp_114_63_cast_fu_11214_p1 ); sensitive << ( tmp_124_63_fu_11221_p2 ); SC_METHOD(thread_tmp_125_64_fu_11332_p2); sensitive << ( tmp_114_64_cast_fu_11319_p1 ); sensitive << ( tmp_124_64_fu_11326_p2 ); SC_METHOD(thread_tmp_125_65_fu_11437_p2); sensitive << ( tmp_114_65_cast_fu_11424_p1 ); sensitive << ( tmp_124_65_fu_11431_p2 ); SC_METHOD(thread_tmp_125_66_fu_11542_p2); sensitive << ( tmp_114_66_cast_fu_11529_p1 ); sensitive << ( tmp_124_66_fu_11536_p2 ); SC_METHOD(thread_tmp_125_67_fu_11647_p2); sensitive << ( tmp_114_67_cast_fu_11634_p1 ); sensitive << ( tmp_124_67_fu_11641_p2 ); SC_METHOD(thread_tmp_125_68_fu_11754_p2); sensitive << ( tmp_114_68_cast_fu_11741_p1 ); sensitive << ( tmp_124_68_fu_11748_p2 ); SC_METHOD(thread_tmp_125_69_fu_11859_p2); sensitive << ( tmp_114_69_cast_fu_11846_p1 ); sensitive << ( tmp_124_69_fu_11853_p2 ); SC_METHOD(thread_tmp_125_6_fu_5137_p2); sensitive << ( tmp_114_6_cast_fu_5124_p1 ); sensitive << ( tmp_124_6_fu_5131_p2 ); SC_METHOD(thread_tmp_125_7_fu_5242_p2); sensitive << ( tmp_114_7_cast_fu_5229_p1 ); sensitive << ( tmp_124_7_fu_5236_p2 ); SC_METHOD(thread_tmp_125_8_fu_5347_p2); sensitive << ( tmp_114_8_cast_fu_5334_p1 ); sensitive << ( tmp_124_8_fu_5341_p2 ); SC_METHOD(thread_tmp_125_9_fu_5452_p2); sensitive << ( tmp_114_9_cast_fu_5439_p1 ); sensitive << ( tmp_124_9_fu_5446_p2 ); SC_METHOD(thread_tmp_125_fu_4507_p2); sensitive << ( tmp_114_cast_fu_4494_p1 ); sensitive << ( tmp_124_fu_4501_p2 ); SC_METHOD(thread_tmp_125_s_fu_5557_p2); sensitive << ( tmp_114_cast_1186_fu_5544_p1 ); sensitive << ( tmp_124_s_fu_5551_p2 ); SC_METHOD(thread_tmp_1430_fu_4567_p2); sensitive << ( icmp1_fu_4541_p2 ); sensitive << ( tmp_1709_fu_4547_p3 ); SC_METHOD(thread_tmp_1431_fu_4624_p2); sensitive << ( tmp_125_1_fu_4612_p2 ); sensitive << ( tmp_4941_cast_fu_4618_p1 ); SC_METHOD(thread_tmp_1432_fu_4672_p2); sensitive << ( icmp2_fu_4646_p2 ); sensitive << ( tmp_1712_fu_4652_p3 ); SC_METHOD(thread_tmp_1433_fu_4729_p2); sensitive << ( tmp_125_2_fu_4717_p2 ); sensitive << ( tmp_4946_cast_fu_4723_p1 ); SC_METHOD(thread_tmp_1434_fu_4777_p2); sensitive << ( icmp3_fu_4751_p2 ); sensitive << ( tmp_1715_fu_4757_p3 ); SC_METHOD(thread_tmp_1435_fu_4834_p2); sensitive << ( tmp_125_3_fu_4822_p2 ); sensitive << ( tmp_4951_cast_fu_4828_p1 ); SC_METHOD(thread_tmp_1436_fu_4882_p2); sensitive << ( icmp4_fu_4856_p2 ); sensitive << ( tmp_1718_fu_4862_p3 ); SC_METHOD(thread_tmp_1437_fu_4939_p2); sensitive << ( tmp_125_4_fu_4927_p2 ); sensitive << ( tmp_4956_cast_fu_4933_p1 ); SC_METHOD(thread_tmp_1438_fu_4987_p2); sensitive << ( icmp5_fu_4961_p2 ); sensitive << ( tmp_1721_fu_4967_p3 ); SC_METHOD(thread_tmp_1439_fu_5044_p2); sensitive << ( tmp_125_5_fu_5032_p2 ); sensitive << ( tmp_4961_cast_fu_5038_p1 ); SC_METHOD(thread_tmp_1440_fu_5092_p2); sensitive << ( icmp6_fu_5066_p2 ); sensitive << ( tmp_1724_fu_5072_p3 ); SC_METHOD(thread_tmp_1441_fu_5149_p2); sensitive << ( tmp_125_6_fu_5137_p2 ); sensitive << ( tmp_4966_cast_fu_5143_p1 ); SC_METHOD(thread_tmp_1442_fu_5197_p2); sensitive << ( icmp7_fu_5171_p2 ); sensitive << ( tmp_1727_fu_5177_p3 ); SC_METHOD(thread_tmp_1443_fu_5254_p2); sensitive << ( tmp_125_7_fu_5242_p2 ); sensitive << ( tmp_4971_cast_fu_5248_p1 ); SC_METHOD(thread_tmp_1444_fu_5302_p2); sensitive << ( icmp8_fu_5276_p2 ); sensitive << ( tmp_1730_fu_5282_p3 ); SC_METHOD(thread_tmp_1445_fu_5359_p2); sensitive << ( tmp_125_8_fu_5347_p2 ); sensitive << ( tmp_4976_cast_fu_5353_p1 ); SC_METHOD(thread_tmp_1446_fu_5407_p2); sensitive << ( icmp9_fu_5381_p2 ); sensitive << ( tmp_1733_fu_5387_p3 ); SC_METHOD(thread_tmp_1447_fu_5464_p2); sensitive << ( tmp_125_9_fu_5452_p2 ); sensitive << ( tmp_4981_cast_fu_5458_p1 ); SC_METHOD(thread_tmp_1448_fu_5512_p2); sensitive << ( icmp10_fu_5486_p2 ); sensitive << ( tmp_1736_fu_5492_p3 ); SC_METHOD(thread_tmp_1449_fu_5569_p2); sensitive << ( tmp_125_s_fu_5557_p2 ); sensitive << ( tmp_4986_cast_fu_5563_p1 ); SC_METHOD(thread_tmp_1450_fu_5617_p2); sensitive << ( icmp11_fu_5591_p2 ); sensitive << ( tmp_1739_fu_5597_p3 ); SC_METHOD(thread_tmp_1451_fu_5674_p2); sensitive << ( tmp_125_10_fu_5662_p2 ); sensitive << ( tmp_4991_cast_fu_5668_p1 ); SC_METHOD(thread_tmp_1452_fu_5722_p2); sensitive << ( icmp12_fu_5696_p2 ); sensitive << ( tmp_1742_fu_5702_p3 ); SC_METHOD(thread_tmp_1453_fu_5779_p2); sensitive << ( tmp_125_11_fu_5767_p2 ); sensitive << ( tmp_4996_cast_fu_5773_p1 ); SC_METHOD(thread_tmp_1454_fu_5827_p2); sensitive << ( icmp13_fu_5801_p2 ); sensitive << ( tmp_1745_fu_5807_p3 ); SC_METHOD(thread_tmp_1455_fu_5884_p2); sensitive << ( tmp_125_12_fu_5872_p2 ); sensitive << ( tmp_5001_cast_fu_5878_p1 ); SC_METHOD(thread_tmp_1456_fu_5932_p2); sensitive << ( icmp14_fu_5906_p2 ); sensitive << ( tmp_1748_fu_5912_p3 ); SC_METHOD(thread_tmp_1457_fu_5989_p2); sensitive << ( tmp_125_13_fu_5977_p2 ); sensitive << ( tmp_5006_cast_fu_5983_p1 ); SC_METHOD(thread_tmp_1458_fu_6037_p2); sensitive << ( icmp15_fu_6011_p2 ); sensitive << ( tmp_1751_fu_6017_p3 ); SC_METHOD(thread_tmp_1459_fu_6094_p2); sensitive << ( tmp_125_14_fu_6082_p2 ); sensitive << ( tmp_5011_cast_fu_6088_p1 ); SC_METHOD(thread_tmp_1460_fu_6142_p2); sensitive << ( icmp16_fu_6116_p2 ); sensitive << ( tmp_1754_fu_6122_p3 ); SC_METHOD(thread_tmp_1461_fu_6199_p2); sensitive << ( tmp_125_15_fu_6187_p2 ); sensitive << ( tmp_5016_cast_fu_6193_p1 ); SC_METHOD(thread_tmp_1462_fu_6247_p2); sensitive << ( icmp17_fu_6221_p2 ); sensitive << ( tmp_1757_fu_6227_p3 ); SC_METHOD(thread_tmp_1463_fu_6304_p2); sensitive << ( tmp_125_16_fu_6292_p2 ); sensitive << ( tmp_5021_cast_fu_6298_p1 ); SC_METHOD(thread_tmp_1464_fu_6352_p2); sensitive << ( icmp18_fu_6326_p2 ); sensitive << ( tmp_1760_fu_6332_p3 ); SC_METHOD(thread_tmp_1465_fu_6409_p2); sensitive << ( tmp_125_17_fu_6397_p2 ); sensitive << ( tmp_5026_cast_fu_6403_p1 ); SC_METHOD(thread_tmp_1466_fu_6457_p2); sensitive << ( icmp19_fu_6431_p2 ); sensitive << ( tmp_1763_fu_6437_p3 ); SC_METHOD(thread_tmp_1467_fu_6514_p2); sensitive << ( tmp_125_18_fu_6502_p2 ); sensitive << ( tmp_5031_cast_fu_6508_p1 ); SC_METHOD(thread_tmp_1468_fu_6562_p2); sensitive << ( icmp20_fu_6536_p2 ); sensitive << ( tmp_1766_fu_6542_p3 ); SC_METHOD(thread_tmp_1469_fu_6619_p2); sensitive << ( tmp_125_19_fu_6607_p2 ); sensitive << ( tmp_5036_cast_fu_6613_p1 ); SC_METHOD(thread_tmp_1470_fu_6667_p2); sensitive << ( icmp21_fu_6641_p2 ); sensitive << ( tmp_1769_fu_6647_p3 ); SC_METHOD(thread_tmp_1471_fu_6724_p2); sensitive << ( tmp_125_20_fu_6712_p2 ); sensitive << ( tmp_5041_cast_fu_6718_p1 ); SC_METHOD(thread_tmp_1472_fu_6772_p2); sensitive << ( icmp22_fu_6746_p2 ); sensitive << ( tmp_1772_fu_6752_p3 ); SC_METHOD(thread_tmp_1473_fu_6829_p2); sensitive << ( tmp_125_21_fu_6817_p2 ); sensitive << ( tmp_5046_cast_fu_6823_p1 ); SC_METHOD(thread_tmp_1474_fu_6877_p2); sensitive << ( icmp23_fu_6851_p2 ); sensitive << ( tmp_1775_fu_6857_p3 ); SC_METHOD(thread_tmp_1475_fu_6934_p2); sensitive << ( tmp_125_22_fu_6922_p2 ); sensitive << ( tmp_5051_cast_fu_6928_p1 ); SC_METHOD(thread_tmp_1476_fu_6982_p2); sensitive << ( icmp24_fu_6956_p2 ); sensitive << ( tmp_1778_fu_6962_p3 ); SC_METHOD(thread_tmp_1477_fu_7039_p2); sensitive << ( tmp_125_23_fu_7027_p2 ); sensitive << ( tmp_5056_cast_fu_7033_p1 ); SC_METHOD(thread_tmp_1478_fu_7087_p2); sensitive << ( icmp25_fu_7061_p2 ); sensitive << ( tmp_1781_fu_7067_p3 ); SC_METHOD(thread_tmp_1479_fu_7144_p2); sensitive << ( tmp_125_24_fu_7132_p2 ); sensitive << ( tmp_5061_cast_fu_7138_p1 ); SC_METHOD(thread_tmp_1480_fu_7192_p2); sensitive << ( icmp26_fu_7166_p2 ); sensitive << ( tmp_1784_fu_7172_p3 ); SC_METHOD(thread_tmp_1481_fu_7249_p2); sensitive << ( tmp_125_25_fu_7237_p2 ); sensitive << ( tmp_5066_cast_fu_7243_p1 ); SC_METHOD(thread_tmp_1482_fu_7297_p2); sensitive << ( icmp27_fu_7271_p2 ); sensitive << ( tmp_1787_fu_7277_p3 ); SC_METHOD(thread_tmp_1483_fu_7354_p2); sensitive << ( tmp_125_26_fu_7342_p2 ); sensitive << ( tmp_5071_cast_fu_7348_p1 ); SC_METHOD(thread_tmp_1484_fu_7402_p2); sensitive << ( icmp28_fu_7376_p2 ); sensitive << ( tmp_1790_fu_7382_p3 ); SC_METHOD(thread_tmp_1485_fu_7459_p2); sensitive << ( tmp_125_27_fu_7447_p2 ); sensitive << ( tmp_5076_cast_fu_7453_p1 ); SC_METHOD(thread_tmp_1486_fu_7507_p2); sensitive << ( icmp29_fu_7481_p2 ); sensitive << ( tmp_1793_fu_7487_p3 ); SC_METHOD(thread_tmp_1487_fu_7564_p2); sensitive << ( tmp_125_28_fu_7552_p2 ); sensitive << ( tmp_5081_cast_fu_7558_p1 ); SC_METHOD(thread_tmp_1488_fu_7612_p2); sensitive << ( icmp30_fu_7586_p2 ); sensitive << ( tmp_1796_fu_7592_p3 ); SC_METHOD(thread_tmp_1489_fu_7669_p2); sensitive << ( tmp_125_29_fu_7657_p2 ); sensitive << ( tmp_5086_cast_fu_7663_p1 ); SC_METHOD(thread_tmp_1490_fu_7717_p2); sensitive << ( icmp31_fu_7691_p2 ); sensitive << ( tmp_1799_fu_7697_p3 ); SC_METHOD(thread_tmp_1491_fu_7774_p2); sensitive << ( tmp_125_30_fu_7762_p2 ); sensitive << ( tmp_5091_cast_fu_7768_p1 ); SC_METHOD(thread_tmp_1492_fu_7822_p2); sensitive << ( icmp32_fu_7796_p2 ); sensitive << ( tmp_1802_fu_7802_p3 ); SC_METHOD(thread_tmp_1493_fu_7879_p2); sensitive << ( tmp_125_31_fu_7867_p2 ); sensitive << ( tmp_5096_cast_fu_7873_p1 ); SC_METHOD(thread_tmp_1494_fu_7927_p2); sensitive << ( icmp33_fu_7901_p2 ); sensitive << ( tmp_1805_fu_7907_p3 ); SC_METHOD(thread_tmp_1495_fu_7984_p2); sensitive << ( tmp_125_32_fu_7972_p2 ); sensitive << ( tmp_5101_cast_fu_7978_p1 ); SC_METHOD(thread_tmp_1496_fu_8032_p2); sensitive << ( icmp34_fu_8006_p2 ); sensitive << ( tmp_1808_fu_8012_p3 ); SC_METHOD(thread_tmp_1497_fu_8089_p2); sensitive << ( tmp_125_33_fu_8077_p2 ); sensitive << ( tmp_5106_cast_fu_8083_p1 ); SC_METHOD(thread_tmp_1498_fu_8137_p2); sensitive << ( icmp35_fu_8111_p2 ); sensitive << ( tmp_1811_fu_8117_p3 ); SC_METHOD(thread_tmp_1499_fu_8194_p2); sensitive << ( tmp_125_34_fu_8182_p2 ); sensitive << ( tmp_5111_cast_fu_8188_p1 ); SC_METHOD(thread_tmp_1500_fu_8242_p2); sensitive << ( icmp36_fu_8216_p2 ); sensitive << ( tmp_1814_fu_8222_p3 ); SC_METHOD(thread_tmp_1501_fu_8299_p2); sensitive << ( tmp_125_35_fu_8287_p2 ); sensitive << ( tmp_5116_cast_fu_8293_p1 ); SC_METHOD(thread_tmp_1502_fu_8347_p2); sensitive << ( icmp37_fu_8321_p2 ); sensitive << ( tmp_1817_fu_8327_p3 ); SC_METHOD(thread_tmp_1503_fu_8404_p2); sensitive << ( tmp_125_36_fu_8392_p2 ); sensitive << ( tmp_5121_cast_fu_8398_p1 ); SC_METHOD(thread_tmp_1504_fu_8452_p2); sensitive << ( icmp38_fu_8426_p2 ); sensitive << ( tmp_1820_fu_8432_p3 ); SC_METHOD(thread_tmp_1505_fu_8509_p2); sensitive << ( tmp_125_37_fu_8497_p2 ); sensitive << ( tmp_5126_cast_fu_8503_p1 ); SC_METHOD(thread_tmp_1506_fu_8557_p2); sensitive << ( icmp39_fu_8531_p2 ); sensitive << ( tmp_1823_fu_8537_p3 ); SC_METHOD(thread_tmp_1507_fu_8614_p2); sensitive << ( tmp_125_38_fu_8602_p2 ); sensitive << ( tmp_5131_cast_fu_8608_p1 ); SC_METHOD(thread_tmp_1508_fu_8662_p2); sensitive << ( icmp40_fu_8636_p2 ); sensitive << ( tmp_1826_fu_8642_p3 ); SC_METHOD(thread_tmp_1509_fu_8719_p2); sensitive << ( tmp_125_39_fu_8707_p2 ); sensitive << ( tmp_5136_cast_fu_8713_p1 ); SC_METHOD(thread_tmp_1510_fu_8767_p2); sensitive << ( icmp41_fu_8741_p2 ); sensitive << ( tmp_1829_fu_8747_p3 ); SC_METHOD(thread_tmp_1511_fu_8824_p2); sensitive << ( tmp_125_40_fu_8812_p2 ); sensitive << ( tmp_5141_cast_fu_8818_p1 ); SC_METHOD(thread_tmp_1512_fu_8872_p2); sensitive << ( icmp42_fu_8846_p2 ); sensitive << ( tmp_1832_fu_8852_p3 ); SC_METHOD(thread_tmp_1513_fu_8929_p2); sensitive << ( tmp_125_41_fu_8917_p2 ); sensitive << ( tmp_5146_cast_fu_8923_p1 ); SC_METHOD(thread_tmp_1514_fu_8977_p2); sensitive << ( icmp43_fu_8951_p2 ); sensitive << ( tmp_1835_fu_8957_p3 ); SC_METHOD(thread_tmp_1515_fu_9034_p2); sensitive << ( tmp_125_42_fu_9022_p2 ); sensitive << ( tmp_5151_cast_fu_9028_p1 ); SC_METHOD(thread_tmp_1516_fu_9082_p2); sensitive << ( icmp44_fu_9056_p2 ); sensitive << ( tmp_1838_fu_9062_p3 ); SC_METHOD(thread_tmp_1517_fu_9139_p2); sensitive << ( tmp_125_43_fu_9127_p2 ); sensitive << ( tmp_5156_cast_fu_9133_p1 ); SC_METHOD(thread_tmp_1518_fu_9187_p2); sensitive << ( icmp45_fu_9161_p2 ); sensitive << ( tmp_1841_fu_9167_p3 ); SC_METHOD(thread_tmp_1519_fu_9244_p2); sensitive << ( tmp_125_44_fu_9232_p2 ); sensitive << ( tmp_5161_cast_fu_9238_p1 ); SC_METHOD(thread_tmp_1520_fu_9292_p2); sensitive << ( icmp46_fu_9266_p2 ); sensitive << ( tmp_1844_fu_9272_p3 ); SC_METHOD(thread_tmp_1521_fu_9349_p2); sensitive << ( tmp_125_45_fu_9337_p2 ); sensitive << ( tmp_5166_cast_fu_9343_p1 ); SC_METHOD(thread_tmp_1522_fu_9397_p2); sensitive << ( icmp47_fu_9371_p2 ); sensitive << ( tmp_1847_fu_9377_p3 ); SC_METHOD(thread_tmp_1523_fu_9454_p2); sensitive << ( tmp_125_46_fu_9442_p2 ); sensitive << ( tmp_5171_cast_fu_9448_p1 ); SC_METHOD(thread_tmp_1524_fu_9502_p2); sensitive << ( icmp48_fu_9476_p2 ); sensitive << ( tmp_1850_fu_9482_p3 ); SC_METHOD(thread_tmp_1525_fu_9559_p2); sensitive << ( tmp_125_47_fu_9547_p2 ); sensitive << ( tmp_5176_cast_fu_9553_p1 ); SC_METHOD(thread_tmp_1526_fu_9607_p2); sensitive << ( icmp49_fu_9581_p2 ); sensitive << ( tmp_1853_fu_9587_p3 ); SC_METHOD(thread_tmp_1527_fu_9664_p2); sensitive << ( tmp_125_48_fu_9652_p2 ); sensitive << ( tmp_5181_cast_fu_9658_p1 ); SC_METHOD(thread_tmp_1528_fu_9712_p2); sensitive << ( icmp50_fu_9686_p2 ); sensitive << ( tmp_1856_fu_9692_p3 ); SC_METHOD(thread_tmp_1529_fu_9769_p2); sensitive << ( tmp_125_49_fu_9757_p2 ); sensitive << ( tmp_5186_cast_fu_9763_p1 ); SC_METHOD(thread_tmp_1530_fu_9817_p2); sensitive << ( icmp51_fu_9791_p2 ); sensitive << ( tmp_1859_fu_9797_p3 ); SC_METHOD(thread_tmp_1531_fu_9874_p2); sensitive << ( tmp_125_50_fu_9862_p2 ); sensitive << ( tmp_5191_cast_fu_9868_p1 ); SC_METHOD(thread_tmp_1532_fu_9922_p2); sensitive << ( icmp52_fu_9896_p2 ); sensitive << ( tmp_1862_fu_9902_p3 ); SC_METHOD(thread_tmp_1533_fu_9979_p2); sensitive << ( tmp_125_51_fu_9967_p2 ); sensitive << ( tmp_5196_cast_fu_9973_p1 ); SC_METHOD(thread_tmp_1534_fu_10027_p2); sensitive << ( icmp53_fu_10001_p2 ); sensitive << ( tmp_1865_fu_10007_p3 ); SC_METHOD(thread_tmp_1535_fu_10084_p2); sensitive << ( tmp_125_52_fu_10072_p2 ); sensitive << ( tmp_5201_cast_fu_10078_p1 ); SC_METHOD(thread_tmp_1536_fu_10132_p2); sensitive << ( icmp54_fu_10106_p2 ); sensitive << ( tmp_1868_fu_10112_p3 ); SC_METHOD(thread_tmp_1537_fu_10189_p2); sensitive << ( tmp_125_53_fu_10177_p2 ); sensitive << ( tmp_5206_cast_fu_10183_p1 ); SC_METHOD(thread_tmp_1538_fu_10237_p2); sensitive << ( icmp55_fu_10211_p2 ); sensitive << ( tmp_1871_fu_10217_p3 ); SC_METHOD(thread_tmp_1539_fu_10294_p2); sensitive << ( tmp_125_54_fu_10282_p2 ); sensitive << ( tmp_5211_cast_fu_10288_p1 ); SC_METHOD(thread_tmp_1540_fu_10342_p2); sensitive << ( icmp56_fu_10316_p2 ); sensitive << ( tmp_1874_fu_10322_p3 ); SC_METHOD(thread_tmp_1541_fu_10399_p2); sensitive << ( tmp_125_55_fu_10387_p2 ); sensitive << ( tmp_5216_cast_fu_10393_p1 ); SC_METHOD(thread_tmp_1542_fu_10447_p2); sensitive << ( icmp57_fu_10421_p2 ); sensitive << ( tmp_1877_fu_10427_p3 ); SC_METHOD(thread_tmp_1543_fu_10504_p2); sensitive << ( tmp_125_56_fu_10492_p2 ); sensitive << ( tmp_5221_cast_fu_10498_p1 ); SC_METHOD(thread_tmp_1544_fu_10552_p2); sensitive << ( icmp58_fu_10526_p2 ); sensitive << ( tmp_1880_fu_10532_p3 ); SC_METHOD(thread_tmp_1545_fu_10609_p2); sensitive << ( tmp_125_57_fu_10597_p2 ); sensitive << ( tmp_5226_cast_fu_10603_p1 ); SC_METHOD(thread_tmp_1546_fu_10657_p2); sensitive << ( icmp59_fu_10631_p2 ); sensitive << ( tmp_1883_fu_10637_p3 ); SC_METHOD(thread_tmp_1547_fu_10714_p2); sensitive << ( tmp_125_58_fu_10702_p2 ); sensitive << ( tmp_5231_cast_fu_10708_p1 ); SC_METHOD(thread_tmp_1548_fu_10762_p2); sensitive << ( icmp60_fu_10736_p2 ); sensitive << ( tmp_1886_fu_10742_p3 ); SC_METHOD(thread_tmp_1549_fu_10819_p2); sensitive << ( tmp_125_59_fu_10807_p2 ); sensitive << ( tmp_5236_cast_fu_10813_p1 ); SC_METHOD(thread_tmp_1550_fu_10867_p2); sensitive << ( icmp61_fu_10841_p2 ); sensitive << ( tmp_1889_fu_10847_p3 ); SC_METHOD(thread_tmp_1551_fu_10924_p2); sensitive << ( tmp_125_60_fu_10912_p2 ); sensitive << ( tmp_5241_cast_fu_10918_p1 ); SC_METHOD(thread_tmp_1552_fu_10972_p2); sensitive << ( icmp62_fu_10946_p2 ); sensitive << ( tmp_1892_fu_10952_p3 ); SC_METHOD(thread_tmp_1553_fu_11029_p2); sensitive << ( tmp_125_61_fu_11017_p2 ); sensitive << ( tmp_5246_cast_fu_11023_p1 ); SC_METHOD(thread_tmp_1554_fu_11077_p2); sensitive << ( icmp63_fu_11051_p2 ); sensitive << ( tmp_1895_fu_11057_p3 ); SC_METHOD(thread_tmp_1555_fu_11134_p2); sensitive << ( tmp_125_62_fu_11122_p2 ); sensitive << ( tmp_5251_cast_fu_11128_p1 ); SC_METHOD(thread_tmp_1556_fu_11182_p2); sensitive << ( icmp64_fu_11156_p2 ); sensitive << ( tmp_1898_fu_11162_p3 ); SC_METHOD(thread_tmp_1557_fu_11239_p2); sensitive << ( tmp_125_63_fu_11227_p2 ); sensitive << ( tmp_5256_cast_fu_11233_p1 ); SC_METHOD(thread_tmp_1558_fu_11287_p2); sensitive << ( icmp65_fu_11261_p2 ); sensitive << ( tmp_1901_fu_11267_p3 ); SC_METHOD(thread_tmp_1559_fu_11344_p2); sensitive << ( tmp_125_64_fu_11332_p2 ); sensitive << ( tmp_5261_cast_fu_11338_p1 ); SC_METHOD(thread_tmp_1560_fu_11392_p2); sensitive << ( icmp66_fu_11366_p2 ); sensitive << ( tmp_1904_fu_11372_p3 ); SC_METHOD(thread_tmp_1561_fu_11449_p2); sensitive << ( tmp_125_65_fu_11437_p2 ); sensitive << ( tmp_5266_cast_fu_11443_p1 ); SC_METHOD(thread_tmp_1562_fu_11497_p2); sensitive << ( icmp67_fu_11471_p2 ); sensitive << ( tmp_1907_fu_11477_p3 ); SC_METHOD(thread_tmp_1563_fu_11554_p2); sensitive << ( tmp_125_66_fu_11542_p2 ); sensitive << ( tmp_5271_cast_fu_11548_p1 ); SC_METHOD(thread_tmp_1564_fu_11602_p2); sensitive << ( icmp68_fu_11576_p2 ); sensitive << ( tmp_1910_fu_11582_p3 ); SC_METHOD(thread_tmp_1565_fu_11660_p2); sensitive << ( tmp_125_67_fu_11647_p2 ); sensitive << ( tmp_5276_cast_fu_11653_p1 ); SC_METHOD(thread_tmp_1566_fu_11708_p2); sensitive << ( icmp69_fu_11682_p2 ); sensitive << ( tmp_1913_fu_11688_p3 ); SC_METHOD(thread_tmp_1567_fu_11766_p2); sensitive << ( tmp_125_68_fu_11754_p2 ); sensitive << ( tmp_5281_cast_fu_11760_p1 ); SC_METHOD(thread_tmp_1568_fu_11814_p2); sensitive << ( icmp70_fu_11788_p2 ); sensitive << ( tmp_1916_fu_11794_p3 ); SC_METHOD(thread_tmp_1569_fu_11872_p2); sensitive << ( tmp_125_69_fu_11859_p2 ); sensitive << ( tmp_5286_cast_fu_11865_p1 ); SC_METHOD(thread_tmp_1570_fu_11920_p2); sensitive << ( icmp71_fu_11894_p2 ); sensitive << ( tmp_1919_fu_11900_p3 ); SC_METHOD(thread_tmp_1707_fu_3242_p4); sensitive << ( x_reg_3203 ); SC_METHOD(thread_tmp_1708_fu_4531_p4); sensitive << ( sum_tr_fu_4525_p2 ); SC_METHOD(thread_tmp_1709_fu_4547_p3); sensitive << ( sum_tr_fu_4525_p2 ); SC_METHOD(thread_tmp_1710_fu_4555_p1); sensitive << ( sum_tr_fu_4525_p2 ); SC_METHOD(thread_tmp_1711_fu_4636_p4); sensitive << ( sum_tr_1_fu_4630_p2 ); SC_METHOD(thread_tmp_1712_fu_4652_p3); sensitive << ( sum_tr_1_fu_4630_p2 ); SC_METHOD(thread_tmp_1713_fu_4660_p1); sensitive << ( sum_tr_1_fu_4630_p2 ); SC_METHOD(thread_tmp_1714_fu_4741_p4); sensitive << ( sum_tr_2_fu_4735_p2 ); SC_METHOD(thread_tmp_1715_fu_4757_p3); sensitive << ( sum_tr_2_fu_4735_p2 ); SC_METHOD(thread_tmp_1716_fu_4765_p1); sensitive << ( sum_tr_2_fu_4735_p2 ); SC_METHOD(thread_tmp_1717_fu_4846_p4); sensitive << ( sum_tr_3_fu_4840_p2 ); SC_METHOD(thread_tmp_1718_fu_4862_p3); sensitive << ( sum_tr_3_fu_4840_p2 ); SC_METHOD(thread_tmp_1719_fu_4870_p1); sensitive << ( sum_tr_3_fu_4840_p2 ); SC_METHOD(thread_tmp_1720_fu_4951_p4); sensitive << ( sum_tr_4_fu_4945_p2 ); SC_METHOD(thread_tmp_1721_fu_4967_p3); sensitive << ( sum_tr_4_fu_4945_p2 ); SC_METHOD(thread_tmp_1722_fu_4975_p1); sensitive << ( sum_tr_4_fu_4945_p2 ); SC_METHOD(thread_tmp_1723_fu_5056_p4); sensitive << ( sum_tr_5_fu_5050_p2 ); SC_METHOD(thread_tmp_1724_fu_5072_p3); sensitive << ( sum_tr_5_fu_5050_p2 ); SC_METHOD(thread_tmp_1725_fu_5080_p1); sensitive << ( sum_tr_5_fu_5050_p2 ); SC_METHOD(thread_tmp_1726_fu_5161_p4); sensitive << ( sum_tr_6_fu_5155_p2 ); SC_METHOD(thread_tmp_1727_fu_5177_p3); sensitive << ( sum_tr_6_fu_5155_p2 ); SC_METHOD(thread_tmp_1728_fu_5185_p1); sensitive << ( sum_tr_6_fu_5155_p2 ); SC_METHOD(thread_tmp_1729_fu_5266_p4); sensitive << ( sum_tr_7_fu_5260_p2 ); SC_METHOD(thread_tmp_1730_fu_5282_p3); sensitive << ( sum_tr_7_fu_5260_p2 ); SC_METHOD(thread_tmp_1731_fu_5290_p1); sensitive << ( sum_tr_7_fu_5260_p2 ); SC_METHOD(thread_tmp_1732_fu_5371_p4); sensitive << ( sum_tr_8_fu_5365_p2 ); SC_METHOD(thread_tmp_1733_fu_5387_p3); sensitive << ( sum_tr_8_fu_5365_p2 ); SC_METHOD(thread_tmp_1734_fu_5395_p1); sensitive << ( sum_tr_8_fu_5365_p2 ); SC_METHOD(thread_tmp_1735_fu_5476_p4); sensitive << ( sum_tr_9_fu_5470_p2 ); SC_METHOD(thread_tmp_1736_fu_5492_p3); sensitive << ( sum_tr_9_fu_5470_p2 ); SC_METHOD(thread_tmp_1737_fu_5500_p1); sensitive << ( sum_tr_9_fu_5470_p2 ); SC_METHOD(thread_tmp_1738_fu_5581_p4); sensitive << ( sum_tr_s_fu_5575_p2 ); SC_METHOD(thread_tmp_1739_fu_5597_p3); sensitive << ( sum_tr_s_fu_5575_p2 ); SC_METHOD(thread_tmp_1740_fu_5605_p1); sensitive << ( sum_tr_s_fu_5575_p2 ); SC_METHOD(thread_tmp_1741_fu_5686_p4); sensitive << ( sum_tr_10_fu_5680_p2 ); SC_METHOD(thread_tmp_1742_fu_5702_p3); sensitive << ( sum_tr_10_fu_5680_p2 ); SC_METHOD(thread_tmp_1743_fu_5710_p1); sensitive << ( sum_tr_10_fu_5680_p2 ); SC_METHOD(thread_tmp_1744_fu_5791_p4); sensitive << ( sum_tr_11_fu_5785_p2 ); SC_METHOD(thread_tmp_1745_fu_5807_p3); sensitive << ( sum_tr_11_fu_5785_p2 ); SC_METHOD(thread_tmp_1746_fu_5815_p1); sensitive << ( sum_tr_11_fu_5785_p2 ); SC_METHOD(thread_tmp_1747_fu_5896_p4); sensitive << ( sum_tr_12_fu_5890_p2 ); SC_METHOD(thread_tmp_1748_fu_5912_p3); sensitive << ( sum_tr_12_fu_5890_p2 ); SC_METHOD(thread_tmp_1749_fu_5920_p1); sensitive << ( sum_tr_12_fu_5890_p2 ); SC_METHOD(thread_tmp_1750_fu_6001_p4); sensitive << ( sum_tr_13_fu_5995_p2 ); SC_METHOD(thread_tmp_1751_fu_6017_p3); sensitive << ( sum_tr_13_fu_5995_p2 ); SC_METHOD(thread_tmp_1752_fu_6025_p1); sensitive << ( sum_tr_13_fu_5995_p2 ); SC_METHOD(thread_tmp_1753_fu_6106_p4); sensitive << ( sum_tr_14_fu_6100_p2 ); SC_METHOD(thread_tmp_1754_fu_6122_p3); sensitive << ( sum_tr_14_fu_6100_p2 ); SC_METHOD(thread_tmp_1755_fu_6130_p1); sensitive << ( sum_tr_14_fu_6100_p2 ); SC_METHOD(thread_tmp_1756_fu_6211_p4); sensitive << ( sum_tr_15_fu_6205_p2 ); SC_METHOD(thread_tmp_1757_fu_6227_p3); sensitive << ( sum_tr_15_fu_6205_p2 ); SC_METHOD(thread_tmp_1758_fu_6235_p1); sensitive << ( sum_tr_15_fu_6205_p2 ); SC_METHOD(thread_tmp_1759_fu_6316_p4); sensitive << ( sum_tr_16_fu_6310_p2 ); SC_METHOD(thread_tmp_1760_fu_6332_p3); sensitive << ( sum_tr_16_fu_6310_p2 ); SC_METHOD(thread_tmp_1761_fu_6340_p1); sensitive << ( sum_tr_16_fu_6310_p2 ); SC_METHOD(thread_tmp_1762_fu_6421_p4); sensitive << ( sum_tr_17_fu_6415_p2 ); SC_METHOD(thread_tmp_1763_fu_6437_p3); sensitive << ( sum_tr_17_fu_6415_p2 ); SC_METHOD(thread_tmp_1764_fu_6445_p1); sensitive << ( sum_tr_17_fu_6415_p2 ); SC_METHOD(thread_tmp_1765_fu_6526_p4); sensitive << ( sum_tr_18_fu_6520_p2 ); SC_METHOD(thread_tmp_1766_fu_6542_p3); sensitive << ( sum_tr_18_fu_6520_p2 ); SC_METHOD(thread_tmp_1767_fu_6550_p1); sensitive << ( sum_tr_18_fu_6520_p2 ); SC_METHOD(thread_tmp_1768_fu_6631_p4); sensitive << ( sum_tr_19_fu_6625_p2 ); SC_METHOD(thread_tmp_1769_fu_6647_p3); sensitive << ( sum_tr_19_fu_6625_p2 ); SC_METHOD(thread_tmp_1770_fu_6655_p1); sensitive << ( sum_tr_19_fu_6625_p2 ); SC_METHOD(thread_tmp_1771_fu_6736_p4); sensitive << ( sum_tr_20_fu_6730_p2 ); SC_METHOD(thread_tmp_1772_fu_6752_p3); sensitive << ( sum_tr_20_fu_6730_p2 ); SC_METHOD(thread_tmp_1773_fu_6760_p1); sensitive << ( sum_tr_20_fu_6730_p2 ); SC_METHOD(thread_tmp_1774_fu_6841_p4); sensitive << ( sum_tr_21_fu_6835_p2 ); SC_METHOD(thread_tmp_1775_fu_6857_p3); sensitive << ( sum_tr_21_fu_6835_p2 ); SC_METHOD(thread_tmp_1776_fu_6865_p1); sensitive << ( sum_tr_21_fu_6835_p2 ); SC_METHOD(thread_tmp_1777_fu_6946_p4); sensitive << ( sum_tr_22_fu_6940_p2 ); SC_METHOD(thread_tmp_1778_fu_6962_p3); sensitive << ( sum_tr_22_fu_6940_p2 ); SC_METHOD(thread_tmp_1779_fu_6970_p1); sensitive << ( sum_tr_22_fu_6940_p2 ); SC_METHOD(thread_tmp_1780_fu_7051_p4); sensitive << ( sum_tr_23_fu_7045_p2 ); SC_METHOD(thread_tmp_1781_fu_7067_p3); sensitive << ( sum_tr_23_fu_7045_p2 ); SC_METHOD(thread_tmp_1782_fu_7075_p1); sensitive << ( sum_tr_23_fu_7045_p2 ); SC_METHOD(thread_tmp_1783_fu_7156_p4); sensitive << ( sum_tr_24_fu_7150_p2 ); SC_METHOD(thread_tmp_1784_fu_7172_p3); sensitive << ( sum_tr_24_fu_7150_p2 ); SC_METHOD(thread_tmp_1785_fu_7180_p1); sensitive << ( sum_tr_24_fu_7150_p2 ); SC_METHOD(thread_tmp_1786_fu_7261_p4); sensitive << ( sum_tr_25_fu_7255_p2 ); SC_METHOD(thread_tmp_1787_fu_7277_p3); sensitive << ( sum_tr_25_fu_7255_p2 ); SC_METHOD(thread_tmp_1788_fu_7285_p1); sensitive << ( sum_tr_25_fu_7255_p2 ); SC_METHOD(thread_tmp_1789_fu_7366_p4); sensitive << ( sum_tr_26_fu_7360_p2 ); SC_METHOD(thread_tmp_1790_fu_7382_p3); sensitive << ( sum_tr_26_fu_7360_p2 ); SC_METHOD(thread_tmp_1791_fu_7390_p1); sensitive << ( sum_tr_26_fu_7360_p2 ); SC_METHOD(thread_tmp_1792_fu_7471_p4); sensitive << ( sum_tr_27_fu_7465_p2 ); SC_METHOD(thread_tmp_1793_fu_7487_p3); sensitive << ( sum_tr_27_fu_7465_p2 ); SC_METHOD(thread_tmp_1794_fu_7495_p1); sensitive << ( sum_tr_27_fu_7465_p2 ); SC_METHOD(thread_tmp_1795_fu_7576_p4); sensitive << ( sum_tr_28_fu_7570_p2 ); SC_METHOD(thread_tmp_1796_fu_7592_p3); sensitive << ( sum_tr_28_fu_7570_p2 ); SC_METHOD(thread_tmp_1797_fu_7600_p1); sensitive << ( sum_tr_28_fu_7570_p2 ); SC_METHOD(thread_tmp_1798_fu_7681_p4); sensitive << ( sum_tr_29_fu_7675_p2 ); SC_METHOD(thread_tmp_1799_fu_7697_p3); sensitive << ( sum_tr_29_fu_7675_p2 ); SC_METHOD(thread_tmp_1800_fu_7705_p1); sensitive << ( sum_tr_29_fu_7675_p2 ); SC_METHOD(thread_tmp_1801_fu_7786_p4); sensitive << ( sum_tr_30_fu_7780_p2 ); SC_METHOD(thread_tmp_1802_fu_7802_p3); sensitive << ( sum_tr_30_fu_7780_p2 ); SC_METHOD(thread_tmp_1803_fu_7810_p1); sensitive << ( sum_tr_30_fu_7780_p2 ); SC_METHOD(thread_tmp_1804_fu_7891_p4); sensitive << ( sum_tr_31_fu_7885_p2 ); SC_METHOD(thread_tmp_1805_fu_7907_p3); sensitive << ( sum_tr_31_fu_7885_p2 ); SC_METHOD(thread_tmp_1806_fu_7915_p1); sensitive << ( sum_tr_31_fu_7885_p2 ); SC_METHOD(thread_tmp_1807_fu_7996_p4); sensitive << ( sum_tr_32_fu_7990_p2 ); SC_METHOD(thread_tmp_1808_fu_8012_p3); sensitive << ( sum_tr_32_fu_7990_p2 ); SC_METHOD(thread_tmp_1809_fu_8020_p1); sensitive << ( sum_tr_32_fu_7990_p2 ); SC_METHOD(thread_tmp_1810_fu_8101_p4); sensitive << ( sum_tr_33_fu_8095_p2 ); SC_METHOD(thread_tmp_1811_fu_8117_p3); sensitive << ( sum_tr_33_fu_8095_p2 ); SC_METHOD(thread_tmp_1812_fu_8125_p1); sensitive << ( sum_tr_33_fu_8095_p2 ); SC_METHOD(thread_tmp_1813_fu_8206_p4); sensitive << ( sum_tr_34_fu_8200_p2 ); SC_METHOD(thread_tmp_1814_fu_8222_p3); sensitive << ( sum_tr_34_fu_8200_p2 ); SC_METHOD(thread_tmp_1815_fu_8230_p1); sensitive << ( sum_tr_34_fu_8200_p2 ); SC_METHOD(thread_tmp_1816_fu_8311_p4); sensitive << ( sum_tr_35_fu_8305_p2 ); SC_METHOD(thread_tmp_1817_fu_8327_p3); sensitive << ( sum_tr_35_fu_8305_p2 ); SC_METHOD(thread_tmp_1818_fu_8335_p1); sensitive << ( sum_tr_35_fu_8305_p2 ); SC_METHOD(thread_tmp_1819_fu_8416_p4); sensitive << ( sum_tr_36_fu_8410_p2 ); SC_METHOD(thread_tmp_1820_fu_8432_p3); sensitive << ( sum_tr_36_fu_8410_p2 ); SC_METHOD(thread_tmp_1821_fu_8440_p1); sensitive << ( sum_tr_36_fu_8410_p2 ); SC_METHOD(thread_tmp_1822_fu_8521_p4); sensitive << ( sum_tr_37_fu_8515_p2 ); SC_METHOD(thread_tmp_1823_fu_8537_p3); sensitive << ( sum_tr_37_fu_8515_p2 ); SC_METHOD(thread_tmp_1824_fu_8545_p1); sensitive << ( sum_tr_37_fu_8515_p2 ); SC_METHOD(thread_tmp_1825_fu_8626_p4); sensitive << ( sum_tr_38_fu_8620_p2 ); SC_METHOD(thread_tmp_1826_fu_8642_p3); sensitive << ( sum_tr_38_fu_8620_p2 ); SC_METHOD(thread_tmp_1827_fu_8650_p1); sensitive << ( sum_tr_38_fu_8620_p2 ); SC_METHOD(thread_tmp_1828_fu_8731_p4); sensitive << ( sum_tr_39_fu_8725_p2 ); SC_METHOD(thread_tmp_1829_fu_8747_p3); sensitive << ( sum_tr_39_fu_8725_p2 ); SC_METHOD(thread_tmp_1830_fu_8755_p1); sensitive << ( sum_tr_39_fu_8725_p2 ); SC_METHOD(thread_tmp_1831_fu_8836_p4); sensitive << ( sum_tr_40_fu_8830_p2 ); SC_METHOD(thread_tmp_1832_fu_8852_p3); sensitive << ( sum_tr_40_fu_8830_p2 ); SC_METHOD(thread_tmp_1833_fu_8860_p1); sensitive << ( sum_tr_40_fu_8830_p2 ); SC_METHOD(thread_tmp_1834_fu_8941_p4); sensitive << ( sum_tr_41_fu_8935_p2 ); SC_METHOD(thread_tmp_1835_fu_8957_p3); sensitive << ( sum_tr_41_fu_8935_p2 ); SC_METHOD(thread_tmp_1836_fu_8965_p1); sensitive << ( sum_tr_41_fu_8935_p2 ); SC_METHOD(thread_tmp_1837_fu_9046_p4); sensitive << ( sum_tr_42_fu_9040_p2 ); SC_METHOD(thread_tmp_1838_fu_9062_p3); sensitive << ( sum_tr_42_fu_9040_p2 ); SC_METHOD(thread_tmp_1839_fu_9070_p1); sensitive << ( sum_tr_42_fu_9040_p2 ); SC_METHOD(thread_tmp_1840_fu_9151_p4); sensitive << ( sum_tr_43_fu_9145_p2 ); SC_METHOD(thread_tmp_1841_fu_9167_p3); sensitive << ( sum_tr_43_fu_9145_p2 ); SC_METHOD(thread_tmp_1842_fu_9175_p1); sensitive << ( sum_tr_43_fu_9145_p2 ); SC_METHOD(thread_tmp_1843_fu_9256_p4); sensitive << ( sum_tr_44_fu_9250_p2 ); SC_METHOD(thread_tmp_1844_fu_9272_p3); sensitive << ( sum_tr_44_fu_9250_p2 ); SC_METHOD(thread_tmp_1845_fu_9280_p1); sensitive << ( sum_tr_44_fu_9250_p2 ); SC_METHOD(thread_tmp_1846_fu_9361_p4); sensitive << ( sum_tr_45_fu_9355_p2 ); SC_METHOD(thread_tmp_1847_fu_9377_p3); sensitive << ( sum_tr_45_fu_9355_p2 ); SC_METHOD(thread_tmp_1848_fu_9385_p1); sensitive << ( sum_tr_45_fu_9355_p2 ); SC_METHOD(thread_tmp_1849_fu_9466_p4); sensitive << ( sum_tr_46_fu_9460_p2 ); SC_METHOD(thread_tmp_1850_fu_9482_p3); sensitive << ( sum_tr_46_fu_9460_p2 ); SC_METHOD(thread_tmp_1851_fu_9490_p1); sensitive << ( sum_tr_46_fu_9460_p2 ); SC_METHOD(thread_tmp_1852_fu_9571_p4); sensitive << ( sum_tr_47_fu_9565_p2 ); SC_METHOD(thread_tmp_1853_fu_9587_p3); sensitive << ( sum_tr_47_fu_9565_p2 ); SC_METHOD(thread_tmp_1854_fu_9595_p1); sensitive << ( sum_tr_47_fu_9565_p2 ); SC_METHOD(thread_tmp_1855_fu_9676_p4); sensitive << ( sum_tr_48_fu_9670_p2 ); SC_METHOD(thread_tmp_1856_fu_9692_p3); sensitive << ( sum_tr_48_fu_9670_p2 ); SC_METHOD(thread_tmp_1857_fu_9700_p1); sensitive << ( sum_tr_48_fu_9670_p2 ); SC_METHOD(thread_tmp_1858_fu_9781_p4); sensitive << ( sum_tr_49_fu_9775_p2 ); SC_METHOD(thread_tmp_1859_fu_9797_p3); sensitive << ( sum_tr_49_fu_9775_p2 ); SC_METHOD(thread_tmp_1860_fu_9805_p1); sensitive << ( sum_tr_49_fu_9775_p2 ); SC_METHOD(thread_tmp_1861_fu_9886_p4); sensitive << ( sum_tr_50_fu_9880_p2 ); SC_METHOD(thread_tmp_1862_fu_9902_p3); sensitive << ( sum_tr_50_fu_9880_p2 ); SC_METHOD(thread_tmp_1863_fu_9910_p1); sensitive << ( sum_tr_50_fu_9880_p2 ); SC_METHOD(thread_tmp_1864_fu_9991_p4); sensitive << ( sum_tr_51_fu_9985_p2 ); SC_METHOD(thread_tmp_1865_fu_10007_p3); sensitive << ( sum_tr_51_fu_9985_p2 ); SC_METHOD(thread_tmp_1866_fu_10015_p1); sensitive << ( sum_tr_51_fu_9985_p2 ); SC_METHOD(thread_tmp_1867_fu_10096_p4); sensitive << ( sum_tr_52_fu_10090_p2 ); SC_METHOD(thread_tmp_1868_fu_10112_p3); sensitive << ( sum_tr_52_fu_10090_p2 ); SC_METHOD(thread_tmp_1869_fu_10120_p1); sensitive << ( sum_tr_52_fu_10090_p2 ); SC_METHOD(thread_tmp_1870_fu_10201_p4); sensitive << ( sum_tr_53_fu_10195_p2 ); SC_METHOD(thread_tmp_1871_fu_10217_p3); sensitive << ( sum_tr_53_fu_10195_p2 ); SC_METHOD(thread_tmp_1872_fu_10225_p1); sensitive << ( sum_tr_53_fu_10195_p2 ); SC_METHOD(thread_tmp_1873_fu_10306_p4); sensitive << ( sum_tr_54_fu_10300_p2 ); SC_METHOD(thread_tmp_1874_fu_10322_p3); sensitive << ( sum_tr_54_fu_10300_p2 ); SC_METHOD(thread_tmp_1875_fu_10330_p1); sensitive << ( sum_tr_54_fu_10300_p2 ); SC_METHOD(thread_tmp_1876_fu_10411_p4); sensitive << ( sum_tr_55_fu_10405_p2 ); SC_METHOD(thread_tmp_1877_fu_10427_p3); sensitive << ( sum_tr_55_fu_10405_p2 ); SC_METHOD(thread_tmp_1878_fu_10435_p1); sensitive << ( sum_tr_55_fu_10405_p2 ); SC_METHOD(thread_tmp_1879_fu_10516_p4); sensitive << ( sum_tr_56_fu_10510_p2 ); SC_METHOD(thread_tmp_1880_fu_10532_p3); sensitive << ( sum_tr_56_fu_10510_p2 ); SC_METHOD(thread_tmp_1881_fu_10540_p1); sensitive << ( sum_tr_56_fu_10510_p2 ); SC_METHOD(thread_tmp_1882_fu_10621_p4); sensitive << ( sum_tr_57_fu_10615_p2 ); SC_METHOD(thread_tmp_1883_fu_10637_p3); sensitive << ( sum_tr_57_fu_10615_p2 ); SC_METHOD(thread_tmp_1884_fu_10645_p1); sensitive << ( sum_tr_57_fu_10615_p2 ); SC_METHOD(thread_tmp_1885_fu_10726_p4); sensitive << ( sum_tr_58_fu_10720_p2 ); SC_METHOD(thread_tmp_1886_fu_10742_p3); sensitive << ( sum_tr_58_fu_10720_p2 ); SC_METHOD(thread_tmp_1887_fu_10750_p1); sensitive << ( sum_tr_58_fu_10720_p2 ); SC_METHOD(thread_tmp_1888_fu_10831_p4); sensitive << ( sum_tr_59_fu_10825_p2 ); SC_METHOD(thread_tmp_1889_fu_10847_p3); sensitive << ( sum_tr_59_fu_10825_p2 ); SC_METHOD(thread_tmp_1890_fu_10855_p1); sensitive << ( sum_tr_59_fu_10825_p2 ); SC_METHOD(thread_tmp_1891_fu_10936_p4); sensitive << ( sum_tr_60_fu_10930_p2 ); SC_METHOD(thread_tmp_1892_fu_10952_p3); sensitive << ( sum_tr_60_fu_10930_p2 ); SC_METHOD(thread_tmp_1893_fu_10960_p1); sensitive << ( sum_tr_60_fu_10930_p2 ); SC_METHOD(thread_tmp_1894_fu_11041_p4); sensitive << ( sum_tr_61_fu_11035_p2 ); SC_METHOD(thread_tmp_1895_fu_11057_p3); sensitive << ( sum_tr_61_fu_11035_p2 ); SC_METHOD(thread_tmp_1896_fu_11065_p1); sensitive << ( sum_tr_61_fu_11035_p2 ); SC_METHOD(thread_tmp_1897_fu_11146_p4); sensitive << ( sum_tr_62_fu_11140_p2 ); SC_METHOD(thread_tmp_1898_fu_11162_p3); sensitive << ( sum_tr_62_fu_11140_p2 ); SC_METHOD(thread_tmp_1899_fu_11170_p1); sensitive << ( sum_tr_62_fu_11140_p2 ); SC_METHOD(thread_tmp_1900_fu_11251_p4); sensitive << ( sum_tr_63_fu_11245_p2 ); SC_METHOD(thread_tmp_1901_fu_11267_p3); sensitive << ( sum_tr_63_fu_11245_p2 ); SC_METHOD(thread_tmp_1902_fu_11275_p1); sensitive << ( sum_tr_63_fu_11245_p2 ); SC_METHOD(thread_tmp_1903_fu_11356_p4); sensitive << ( sum_tr_64_fu_11350_p2 ); SC_METHOD(thread_tmp_1904_fu_11372_p3); sensitive << ( sum_tr_64_fu_11350_p2 ); SC_METHOD(thread_tmp_1905_fu_11380_p1); sensitive << ( sum_tr_64_fu_11350_p2 ); SC_METHOD(thread_tmp_1906_fu_11461_p4); sensitive << ( sum_tr_65_fu_11455_p2 ); SC_METHOD(thread_tmp_1907_fu_11477_p3); sensitive << ( sum_tr_65_fu_11455_p2 ); SC_METHOD(thread_tmp_1908_fu_11485_p1); sensitive << ( sum_tr_65_fu_11455_p2 ); SC_METHOD(thread_tmp_1909_fu_11566_p4); sensitive << ( sum_tr_66_fu_11560_p2 ); SC_METHOD(thread_tmp_1910_fu_11582_p3); sensitive << ( sum_tr_66_fu_11560_p2 ); SC_METHOD(thread_tmp_1911_fu_11590_p1); sensitive << ( sum_tr_66_fu_11560_p2 ); SC_METHOD(thread_tmp_1912_fu_11672_p4); sensitive << ( sum_tr_67_fu_11666_p2 ); SC_METHOD(thread_tmp_1913_fu_11688_p3); sensitive << ( sum_tr_67_fu_11666_p2 ); SC_METHOD(thread_tmp_1914_fu_11696_p1); sensitive << ( sum_tr_67_fu_11666_p2 ); SC_METHOD(thread_tmp_1915_fu_11778_p4); sensitive << ( sum_tr_68_fu_11772_p2 ); SC_METHOD(thread_tmp_1916_fu_11794_p3); sensitive << ( sum_tr_68_fu_11772_p2 ); SC_METHOD(thread_tmp_1917_fu_11802_p1); sensitive << ( sum_tr_68_fu_11772_p2 ); SC_METHOD(thread_tmp_1918_fu_11884_p4); sensitive << ( sum_tr_69_fu_11878_p2 ); SC_METHOD(thread_tmp_1919_fu_11900_p3); sensitive << ( sum_tr_69_fu_11878_p2 ); SC_METHOD(thread_tmp_1920_fu_11908_p1); sensitive << ( sum_tr_69_fu_11878_p2 ); SC_METHOD(thread_tmp_4936_cast_fu_4513_p1); sensitive << ( linebuf_1_pixel_load_2_reg_12828 ); SC_METHOD(thread_tmp_4937_cast_fu_4516_p1); sensitive << ( tmp_pixel_2_reg_13650 ); SC_METHOD(thread_tmp_4941_cast_fu_4618_p1); sensitive << ( linebuf_1_pixel_load_3_reg_12835 ); SC_METHOD(thread_tmp_4942_cast_fu_4621_p1); sensitive << ( tmp_pixel_3_reg_13657 ); SC_METHOD(thread_tmp_4946_cast_fu_4723_p1); sensitive << ( linebuf_1_pixel_load_4_reg_12852 ); SC_METHOD(thread_tmp_4947_cast_fu_4726_p1); sensitive << ( tmp_pixel_4_reg_13664 ); SC_METHOD(thread_tmp_4951_cast_fu_4828_p1); sensitive << ( linebuf_1_pixel_load_5_reg_12859 ); SC_METHOD(thread_tmp_4952_cast_fu_4831_p1); sensitive << ( tmp_pixel_5_reg_13671 ); SC_METHOD(thread_tmp_4956_cast_fu_4933_p1); sensitive << ( linebuf_1_pixel_load_6_reg_12876 ); SC_METHOD(thread_tmp_4957_cast_fu_4936_p1); sensitive << ( tmp_pixel_6_reg_13678 ); SC_METHOD(thread_tmp_4961_cast_fu_5038_p1); sensitive << ( linebuf_1_pixel_load_7_reg_12883 ); SC_METHOD(thread_tmp_4962_cast_fu_5041_p1); sensitive << ( tmp_pixel_7_reg_13685 ); SC_METHOD(thread_tmp_4966_cast_fu_5143_p1); sensitive << ( linebuf_1_pixel_load_8_reg_12900 ); SC_METHOD(thread_tmp_4967_cast_fu_5146_p1); sensitive << ( tmp_pixel_8_reg_13692 ); SC_METHOD(thread_tmp_4971_cast_fu_5248_p1); sensitive << ( linebuf_1_pixel_load_9_reg_12907 ); SC_METHOD(thread_tmp_4972_cast_fu_5251_p1); sensitive << ( tmp_pixel_9_reg_13699 ); SC_METHOD(thread_tmp_4976_cast_fu_5353_p1); sensitive << ( linebuf_1_pixel_load_10_reg_12924 ); SC_METHOD(thread_tmp_4977_cast_fu_5356_p1); sensitive << ( tmp_pixel_10_reg_13706 ); SC_METHOD(thread_tmp_4981_cast_fu_5458_p1); sensitive << ( linebuf_1_pixel_load_11_reg_12931 ); SC_METHOD(thread_tmp_4982_cast_fu_5461_p1); sensitive << ( tmp_pixel_11_reg_13713 ); SC_METHOD(thread_tmp_4986_cast_fu_5563_p1); sensitive << ( linebuf_1_pixel_load_12_reg_12948 ); SC_METHOD(thread_tmp_4987_cast_fu_5566_p1); sensitive << ( tmp_pixel_12_reg_13720 ); SC_METHOD(thread_tmp_4991_cast_fu_5668_p1); sensitive << ( linebuf_1_pixel_load_13_reg_12955 ); SC_METHOD(thread_tmp_4992_cast_fu_5671_p1); sensitive << ( tmp_pixel_13_reg_13727 ); SC_METHOD(thread_tmp_4996_cast_fu_5773_p1); sensitive << ( linebuf_1_pixel_load_14_reg_12972 ); SC_METHOD(thread_tmp_4997_cast_fu_5776_p1); sensitive << ( tmp_pixel_14_reg_13734 ); SC_METHOD(thread_tmp_5001_cast_fu_5878_p1); sensitive << ( linebuf_1_pixel_load_15_reg_12979 ); SC_METHOD(thread_tmp_5002_cast_fu_5881_p1); sensitive << ( tmp_pixel_15_reg_13741 ); SC_METHOD(thread_tmp_5006_cast_fu_5983_p1); sensitive << ( linebuf_1_pixel_load_16_reg_12996 ); SC_METHOD(thread_tmp_5007_cast_fu_5986_p1); sensitive << ( tmp_pixel_16_reg_13748 ); SC_METHOD(thread_tmp_5011_cast_fu_6088_p1); sensitive << ( linebuf_1_pixel_load_17_reg_13003 ); SC_METHOD(thread_tmp_5012_cast_fu_6091_p1); sensitive << ( tmp_pixel_17_reg_13755 ); SC_METHOD(thread_tmp_5016_cast_fu_6193_p1); sensitive << ( linebuf_1_pixel_load_18_reg_13020 ); SC_METHOD(thread_tmp_5017_cast_fu_6196_p1); sensitive << ( tmp_pixel_18_reg_13762 ); SC_METHOD(thread_tmp_5021_cast_fu_6298_p1); sensitive << ( linebuf_1_pixel_load_19_reg_13027 ); SC_METHOD(thread_tmp_5022_cast_fu_6301_p1); sensitive << ( tmp_pixel_19_reg_13769 ); SC_METHOD(thread_tmp_5026_cast_fu_6403_p1); sensitive << ( linebuf_1_pixel_load_20_reg_13044 ); SC_METHOD(thread_tmp_5027_cast_fu_6406_p1); sensitive << ( tmp_pixel_20_reg_13776 ); SC_METHOD(thread_tmp_5031_cast_fu_6508_p1); sensitive << ( linebuf_1_pixel_load_21_reg_13051 ); SC_METHOD(thread_tmp_5032_cast_fu_6511_p1); sensitive << ( tmp_pixel_21_reg_13783 ); SC_METHOD(thread_tmp_5036_cast_fu_6613_p1); sensitive << ( linebuf_1_pixel_load_22_reg_13068 ); SC_METHOD(thread_tmp_5037_cast_fu_6616_p1); sensitive << ( tmp_pixel_22_reg_13790 ); SC_METHOD(thread_tmp_5041_cast_fu_6718_p1); sensitive << ( linebuf_1_pixel_load_23_reg_13075 ); SC_METHOD(thread_tmp_5042_cast_fu_6721_p1); sensitive << ( tmp_pixel_23_reg_13797 ); SC_METHOD(thread_tmp_5046_cast_fu_6823_p1); sensitive << ( linebuf_1_pixel_load_24_reg_13092 ); SC_METHOD(thread_tmp_5047_cast_fu_6826_p1); sensitive << ( tmp_pixel_24_reg_13804 ); SC_METHOD(thread_tmp_5051_cast_fu_6928_p1); sensitive << ( linebuf_1_pixel_load_25_reg_13099 ); SC_METHOD(thread_tmp_5052_cast_fu_6931_p1); sensitive << ( tmp_pixel_25_reg_13811 ); SC_METHOD(thread_tmp_5056_cast_fu_7033_p1); sensitive << ( linebuf_1_pixel_load_26_reg_13116 ); SC_METHOD(thread_tmp_5057_cast_fu_7036_p1); sensitive << ( tmp_pixel_26_reg_13818 ); SC_METHOD(thread_tmp_5061_cast_fu_7138_p1); sensitive << ( linebuf_1_pixel_load_27_reg_13123 ); SC_METHOD(thread_tmp_5062_cast_fu_7141_p1); sensitive << ( tmp_pixel_27_reg_13825 ); SC_METHOD(thread_tmp_5066_cast_fu_7243_p1); sensitive << ( linebuf_1_pixel_load_28_reg_13140 ); SC_METHOD(thread_tmp_5067_cast_fu_7246_p1); sensitive << ( tmp_pixel_28_reg_13832 ); SC_METHOD(thread_tmp_5071_cast_fu_7348_p1); sensitive << ( linebuf_1_pixel_load_29_reg_13147 ); SC_METHOD(thread_tmp_5072_cast_fu_7351_p1); sensitive << ( tmp_pixel_29_reg_13839 ); SC_METHOD(thread_tmp_5076_cast_fu_7453_p1); sensitive << ( linebuf_1_pixel_load_30_reg_13164 ); SC_METHOD(thread_tmp_5077_cast_fu_7456_p1); sensitive << ( tmp_pixel_30_reg_13846 ); SC_METHOD(thread_tmp_5081_cast_fu_7558_p1); sensitive << ( linebuf_1_pixel_load_31_reg_13171 ); SC_METHOD(thread_tmp_5082_cast_fu_7561_p1); sensitive << ( tmp_pixel_31_reg_13853 ); SC_METHOD(thread_tmp_5086_cast_fu_7663_p1); sensitive << ( linebuf_1_pixel_load_32_reg_13188 ); SC_METHOD(thread_tmp_5087_cast_fu_7666_p1); sensitive << ( tmp_pixel_32_reg_13860 ); SC_METHOD(thread_tmp_5091_cast_fu_7768_p1); sensitive << ( linebuf_1_pixel_load_33_reg_13195 ); SC_METHOD(thread_tmp_5092_cast_fu_7771_p1); sensitive << ( tmp_pixel_33_reg_13867 ); SC_METHOD(thread_tmp_5096_cast_fu_7873_p1); sensitive << ( linebuf_1_pixel_load_34_reg_13212 ); SC_METHOD(thread_tmp_5097_cast_fu_7876_p1); sensitive << ( tmp_pixel_34_reg_13874 ); SC_METHOD(thread_tmp_5101_cast_fu_7978_p1); sensitive << ( linebuf_1_pixel_load_35_reg_13219 ); SC_METHOD(thread_tmp_5102_cast_fu_7981_p1); sensitive << ( tmp_pixel_35_reg_13881 ); SC_METHOD(thread_tmp_5106_cast_fu_8083_p1); sensitive << ( linebuf_1_pixel_load_36_reg_13236 ); SC_METHOD(thread_tmp_5107_cast_fu_8086_p1); sensitive << ( tmp_pixel_36_reg_13888 ); SC_METHOD(thread_tmp_5111_cast_fu_8188_p1); sensitive << ( linebuf_1_pixel_load_37_reg_13243 ); SC_METHOD(thread_tmp_5112_cast_fu_8191_p1); sensitive << ( tmp_pixel_37_reg_13895 ); SC_METHOD(thread_tmp_5116_cast_fu_8293_p1); sensitive << ( linebuf_1_pixel_load_38_reg_13260 ); SC_METHOD(thread_tmp_5117_cast_fu_8296_p1); sensitive << ( tmp_pixel_38_reg_13902 ); SC_METHOD(thread_tmp_5121_cast_fu_8398_p1); sensitive << ( linebuf_1_pixel_load_39_reg_13267 ); SC_METHOD(thread_tmp_5122_cast_fu_8401_p1); sensitive << ( tmp_pixel_39_reg_13909 ); SC_METHOD(thread_tmp_5126_cast_fu_8503_p1); sensitive << ( linebuf_1_pixel_load_40_reg_13284 ); SC_METHOD(thread_tmp_5127_cast_fu_8506_p1); sensitive << ( tmp_pixel_40_reg_13916 ); SC_METHOD(thread_tmp_5131_cast_fu_8608_p1); sensitive << ( linebuf_1_pixel_load_41_reg_13291 ); SC_METHOD(thread_tmp_5132_cast_fu_8611_p1); sensitive << ( tmp_pixel_41_reg_13923 ); SC_METHOD(thread_tmp_5136_cast_fu_8713_p1); sensitive << ( linebuf_1_pixel_load_42_reg_13308 ); SC_METHOD(thread_tmp_5137_cast_fu_8716_p1); sensitive << ( tmp_pixel_42_reg_13930 ); SC_METHOD(thread_tmp_5141_cast_fu_8818_p1); sensitive << ( linebuf_1_pixel_load_43_reg_13315 ); SC_METHOD(thread_tmp_5142_cast_fu_8821_p1); sensitive << ( tmp_pixel_43_reg_13937 ); SC_METHOD(thread_tmp_5146_cast_fu_8923_p1); sensitive << ( linebuf_1_pixel_load_44_reg_13332 ); SC_METHOD(thread_tmp_5147_cast_fu_8926_p1); sensitive << ( tmp_pixel_44_reg_13944 ); SC_METHOD(thread_tmp_5151_cast_fu_9028_p1); sensitive << ( linebuf_1_pixel_load_45_reg_13339 ); SC_METHOD(thread_tmp_5152_cast_fu_9031_p1); sensitive << ( tmp_pixel_45_reg_13951 ); SC_METHOD(thread_tmp_5156_cast_fu_9133_p1); sensitive << ( linebuf_1_pixel_load_46_reg_13356 ); SC_METHOD(thread_tmp_5157_cast_fu_9136_p1); sensitive << ( tmp_pixel_46_reg_13958 ); SC_METHOD(thread_tmp_5161_cast_fu_9238_p1); sensitive << ( linebuf_1_pixel_load_47_reg_13363 ); SC_METHOD(thread_tmp_5162_cast_fu_9241_p1); sensitive << ( tmp_pixel_47_reg_13965 ); SC_METHOD(thread_tmp_5166_cast_fu_9343_p1); sensitive << ( linebuf_1_pixel_load_48_reg_13380 ); SC_METHOD(thread_tmp_5167_cast_fu_9346_p1); sensitive << ( tmp_pixel_48_reg_13972 ); SC_METHOD(thread_tmp_5171_cast_fu_9448_p1); sensitive << ( linebuf_1_pixel_load_49_reg_13387 ); SC_METHOD(thread_tmp_5172_cast_fu_9451_p1); sensitive << ( tmp_pixel_49_reg_13979 ); SC_METHOD(thread_tmp_5176_cast_fu_9553_p1); sensitive << ( linebuf_1_pixel_load_50_reg_13404 ); SC_METHOD(thread_tmp_5177_cast_fu_9556_p1); sensitive << ( tmp_pixel_50_reg_13986 ); SC_METHOD(thread_tmp_5181_cast_fu_9658_p1); sensitive << ( linebuf_1_pixel_load_51_reg_13411 ); SC_METHOD(thread_tmp_5182_cast_fu_9661_p1); sensitive << ( tmp_pixel_51_reg_13993 ); SC_METHOD(thread_tmp_5186_cast_fu_9763_p1); sensitive << ( linebuf_1_pixel_load_52_reg_13428 ); SC_METHOD(thread_tmp_5187_cast_fu_9766_p1); sensitive << ( tmp_pixel_52_reg_14000 ); SC_METHOD(thread_tmp_5191_cast_fu_9868_p1); sensitive << ( linebuf_1_pixel_load_53_reg_13435 ); SC_METHOD(thread_tmp_5192_cast_fu_9871_p1); sensitive << ( tmp_pixel_53_reg_14007 ); SC_METHOD(thread_tmp_5196_cast_fu_9973_p1); sensitive << ( linebuf_1_pixel_load_54_reg_13452 ); SC_METHOD(thread_tmp_5197_cast_fu_9976_p1); sensitive << ( tmp_pixel_54_reg_14014 ); SC_METHOD(thread_tmp_5201_cast_fu_10078_p1); sensitive << ( linebuf_1_pixel_load_55_reg_13459 ); SC_METHOD(thread_tmp_5202_cast_fu_10081_p1); sensitive << ( tmp_pixel_55_reg_14021 ); SC_METHOD(thread_tmp_5206_cast_fu_10183_p1); sensitive << ( linebuf_1_pixel_load_56_reg_13476 ); SC_METHOD(thread_tmp_5207_cast_fu_10186_p1); sensitive << ( tmp_pixel_56_reg_14028 ); SC_METHOD(thread_tmp_5211_cast_fu_10288_p1); sensitive << ( linebuf_1_pixel_load_57_reg_13483 ); SC_METHOD(thread_tmp_5212_cast_fu_10291_p1); sensitive << ( tmp_pixel_57_reg_14035 ); SC_METHOD(thread_tmp_5216_cast_fu_10393_p1); sensitive << ( linebuf_1_pixel_load_58_reg_13500 ); SC_METHOD(thread_tmp_5217_cast_fu_10396_p1); sensitive << ( tmp_pixel_58_reg_14042 ); SC_METHOD(thread_tmp_5221_cast_fu_10498_p1); sensitive << ( linebuf_1_pixel_load_59_reg_13507 ); SC_METHOD(thread_tmp_5222_cast_fu_10501_p1); sensitive << ( tmp_pixel_59_reg_14049 ); SC_METHOD(thread_tmp_5226_cast_fu_10603_p1); sensitive << ( linebuf_1_pixel_load_60_reg_13524 ); SC_METHOD(thread_tmp_5227_cast_fu_10606_p1); sensitive << ( tmp_pixel_60_reg_14056 ); SC_METHOD(thread_tmp_5231_cast_fu_10708_p1); sensitive << ( linebuf_1_pixel_load_61_reg_13531 ); SC_METHOD(thread_tmp_5232_cast_fu_10711_p1); sensitive << ( tmp_pixel_61_reg_14063 ); SC_METHOD(thread_tmp_5236_cast_fu_10813_p1); sensitive << ( linebuf_1_pixel_load_62_reg_13548 ); SC_METHOD(thread_tmp_5237_cast_fu_10816_p1); sensitive << ( tmp_pixel_62_reg_14070 ); SC_METHOD(thread_tmp_5241_cast_fu_10918_p1); sensitive << ( linebuf_1_pixel_load_63_reg_13555 ); SC_METHOD(thread_tmp_5242_cast_fu_10921_p1); sensitive << ( tmp_pixel_63_reg_14077 ); SC_METHOD(thread_tmp_5246_cast_fu_11023_p1); sensitive << ( linebuf_1_pixel_load_64_reg_13572 ); SC_METHOD(thread_tmp_5247_cast_fu_11026_p1); sensitive << ( tmp_pixel_64_reg_14084 ); SC_METHOD(thread_tmp_5251_cast_fu_11128_p1); sensitive << ( linebuf_1_pixel_load_65_reg_13579 ); SC_METHOD(thread_tmp_5252_cast_fu_11131_p1); sensitive << ( tmp_pixel_65_reg_14091 ); SC_METHOD(thread_tmp_5256_cast_fu_11233_p1); sensitive << ( linebuf_1_pixel_load_66_reg_13596 ); SC_METHOD(thread_tmp_5257_cast_fu_11236_p1); sensitive << ( tmp_pixel_66_reg_14098 ); SC_METHOD(thread_tmp_5261_cast_fu_11338_p1); sensitive << ( linebuf_1_pixel_load_67_reg_13603 ); SC_METHOD(thread_tmp_5262_cast_fu_11341_p1); sensitive << ( tmp_pixel_67_reg_14105 ); SC_METHOD(thread_tmp_5266_cast_fu_11443_p1); sensitive << ( linebuf_1_pixel_load_68_reg_13620 ); SC_METHOD(thread_tmp_5267_cast_fu_11446_p1); sensitive << ( tmp_pixel_68_reg_14112 ); SC_METHOD(thread_tmp_5271_cast_fu_11548_p1); sensitive << ( linebuf_1_pixel_load_69_reg_13627 ); SC_METHOD(thread_tmp_5272_cast_fu_11551_p1); sensitive << ( tmp_pixel_69_reg_14119 ); SC_METHOD(thread_tmp_5276_cast_fu_11653_p1); sensitive << ( reg_3214 ); SC_METHOD(thread_tmp_5277_cast_fu_11657_p1); sensitive << ( tmp_pixel_70_reg_14126 ); SC_METHOD(thread_tmp_5281_cast_fu_11760_p1); sensitive << ( linebuf_1_pixel_load_71_reg_14146 ); SC_METHOD(thread_tmp_5282_cast_fu_11763_p1); sensitive << ( tmp_pixel_71_reg_14133 ); SC_METHOD(thread_tmp_5286_cast_fu_11865_p1); sensitive << ( linebuf_1_pixel_q0 ); SC_METHOD(thread_tmp_5287_cast_fu_11869_p1); sensitive << ( tmp_pixel_72_reg_14140 ); SC_METHOD(thread_tmp_pixel_0_5_fu_4573_p3); sensitive << ( tmp_1430_fu_4567_p2 ); sensitive << ( v_1_fu_4559_p3 ); sensitive << ( tmp_1710_fu_4555_p1 ); SC_METHOD(thread_tmp_pixel_10_6_fu_5623_p3); sensitive << ( tmp_1450_fu_5617_p2 ); sensitive << ( v_1_s_fu_5609_p3 ); sensitive << ( tmp_1740_fu_5605_p1 ); SC_METHOD(thread_tmp_pixel_11_6_fu_5728_p3); sensitive << ( tmp_1452_fu_5722_p2 ); sensitive << ( v_1_10_fu_5714_p3 ); sensitive << ( tmp_1743_fu_5710_p1 ); SC_METHOD(thread_tmp_pixel_12_6_fu_5833_p3); sensitive << ( tmp_1454_fu_5827_p2 ); sensitive << ( v_1_11_fu_5819_p3 ); sensitive << ( tmp_1746_fu_5815_p1 ); SC_METHOD(thread_tmp_pixel_13_6_fu_5938_p3); sensitive << ( tmp_1456_fu_5932_p2 ); sensitive << ( v_1_12_fu_5924_p3 ); sensitive << ( tmp_1749_fu_5920_p1 ); SC_METHOD(thread_tmp_pixel_14_6_fu_6043_p3); sensitive << ( tmp_1458_fu_6037_p2 ); sensitive << ( v_1_13_fu_6029_p3 ); sensitive << ( tmp_1752_fu_6025_p1 ); SC_METHOD(thread_tmp_pixel_15_6_fu_6148_p3); sensitive << ( tmp_1460_fu_6142_p2 ); sensitive << ( v_1_14_fu_6134_p3 ); sensitive << ( tmp_1755_fu_6130_p1 ); SC_METHOD(thread_tmp_pixel_16_6_fu_6253_p3); sensitive << ( tmp_1462_fu_6247_p2 ); sensitive << ( v_1_15_fu_6239_p3 ); sensitive << ( tmp_1758_fu_6235_p1 ); SC_METHOD(thread_tmp_pixel_17_6_fu_6358_p3); sensitive << ( tmp_1464_fu_6352_p2 ); sensitive << ( v_1_16_fu_6344_p3 ); sensitive << ( tmp_1761_fu_6340_p1 ); SC_METHOD(thread_tmp_pixel_18_6_fu_6463_p3); sensitive << ( tmp_1466_fu_6457_p2 ); sensitive << ( v_1_17_fu_6449_p3 ); sensitive << ( tmp_1764_fu_6445_p1 ); SC_METHOD(thread_tmp_pixel_19_6_fu_6568_p3); sensitive << ( tmp_1468_fu_6562_p2 ); sensitive << ( v_1_18_fu_6554_p3 ); sensitive << ( tmp_1767_fu_6550_p1 ); SC_METHOD(thread_tmp_pixel_1_6_fu_4678_p3); sensitive << ( tmp_1432_fu_4672_p2 ); sensitive << ( v_1_1_fu_4664_p3 ); sensitive << ( tmp_1713_fu_4660_p1 ); SC_METHOD(thread_tmp_pixel_20_6_fu_6673_p3); sensitive << ( tmp_1470_fu_6667_p2 ); sensitive << ( v_1_19_fu_6659_p3 ); sensitive << ( tmp_1770_fu_6655_p1 ); SC_METHOD(thread_tmp_pixel_21_6_fu_6778_p3); sensitive << ( tmp_1472_fu_6772_p2 ); sensitive << ( v_1_20_fu_6764_p3 ); sensitive << ( tmp_1773_fu_6760_p1 ); SC_METHOD(thread_tmp_pixel_22_6_fu_6883_p3); sensitive << ( tmp_1474_fu_6877_p2 ); sensitive << ( v_1_21_fu_6869_p3 ); sensitive << ( tmp_1776_fu_6865_p1 ); SC_METHOD(thread_tmp_pixel_23_6_fu_6988_p3); sensitive << ( tmp_1476_fu_6982_p2 ); sensitive << ( v_1_22_fu_6974_p3 ); sensitive << ( tmp_1779_fu_6970_p1 ); SC_METHOD(thread_tmp_pixel_24_6_fu_7093_p3); sensitive << ( tmp_1478_fu_7087_p2 ); sensitive << ( v_1_23_fu_7079_p3 ); sensitive << ( tmp_1782_fu_7075_p1 ); SC_METHOD(thread_tmp_pixel_25_6_fu_7198_p3); sensitive << ( tmp_1480_fu_7192_p2 ); sensitive << ( v_1_24_fu_7184_p3 ); sensitive << ( tmp_1785_fu_7180_p1 ); SC_METHOD(thread_tmp_pixel_26_6_fu_7303_p3); sensitive << ( tmp_1482_fu_7297_p2 ); sensitive << ( v_1_25_fu_7289_p3 ); sensitive << ( tmp_1788_fu_7285_p1 ); SC_METHOD(thread_tmp_pixel_27_6_fu_7408_p3); sensitive << ( tmp_1484_fu_7402_p2 ); sensitive << ( v_1_26_fu_7394_p3 ); sensitive << ( tmp_1791_fu_7390_p1 ); SC_METHOD(thread_tmp_pixel_28_6_fu_7513_p3); sensitive << ( tmp_1486_fu_7507_p2 ); sensitive << ( v_1_27_fu_7499_p3 ); sensitive << ( tmp_1794_fu_7495_p1 ); SC_METHOD(thread_tmp_pixel_29_6_fu_7618_p3); sensitive << ( tmp_1488_fu_7612_p2 ); sensitive << ( v_1_28_fu_7604_p3 ); sensitive << ( tmp_1797_fu_7600_p1 ); SC_METHOD(thread_tmp_pixel_2_6_fu_4783_p3); sensitive << ( tmp_1434_fu_4777_p2 ); sensitive << ( v_1_2_fu_4769_p3 ); sensitive << ( tmp_1716_fu_4765_p1 ); SC_METHOD(thread_tmp_pixel_30_6_fu_7723_p3); sensitive << ( tmp_1490_fu_7717_p2 ); sensitive << ( v_1_29_fu_7709_p3 ); sensitive << ( tmp_1800_fu_7705_p1 ); SC_METHOD(thread_tmp_pixel_31_6_fu_7828_p3); sensitive << ( tmp_1492_fu_7822_p2 ); sensitive << ( v_1_30_fu_7814_p3 ); sensitive << ( tmp_1803_fu_7810_p1 ); SC_METHOD(thread_tmp_pixel_32_6_fu_7933_p3); sensitive << ( tmp_1494_fu_7927_p2 ); sensitive << ( v_1_31_fu_7919_p3 ); sensitive << ( tmp_1806_fu_7915_p1 ); SC_METHOD(thread_tmp_pixel_33_6_fu_8038_p3); sensitive << ( tmp_1496_fu_8032_p2 ); sensitive << ( v_1_32_fu_8024_p3 ); sensitive << ( tmp_1809_fu_8020_p1 ); SC_METHOD(thread_tmp_pixel_34_6_fu_8143_p3); sensitive << ( tmp_1498_fu_8137_p2 ); sensitive << ( v_1_33_fu_8129_p3 ); sensitive << ( tmp_1812_fu_8125_p1 ); SC_METHOD(thread_tmp_pixel_35_6_fu_8248_p3); sensitive << ( tmp_1500_fu_8242_p2 ); sensitive << ( v_1_34_fu_8234_p3 ); sensitive << ( tmp_1815_fu_8230_p1 ); SC_METHOD(thread_tmp_pixel_36_6_fu_8353_p3); sensitive << ( tmp_1502_fu_8347_p2 ); sensitive << ( v_1_35_fu_8339_p3 ); sensitive << ( tmp_1818_fu_8335_p1 ); SC_METHOD(thread_tmp_pixel_37_6_fu_8458_p3); sensitive << ( tmp_1504_fu_8452_p2 ); sensitive << ( v_1_36_fu_8444_p3 ); sensitive << ( tmp_1821_fu_8440_p1 ); SC_METHOD(thread_tmp_pixel_38_6_fu_8563_p3); sensitive << ( tmp_1506_fu_8557_p2 ); sensitive << ( v_1_37_fu_8549_p3 ); sensitive << ( tmp_1824_fu_8545_p1 ); SC_METHOD(thread_tmp_pixel_39_6_fu_8668_p3); sensitive << ( tmp_1508_fu_8662_p2 ); sensitive << ( v_1_38_fu_8654_p3 ); sensitive << ( tmp_1827_fu_8650_p1 ); SC_METHOD(thread_tmp_pixel_3_6_fu_4888_p3); sensitive << ( tmp_1436_fu_4882_p2 ); sensitive << ( v_1_3_fu_4874_p3 ); sensitive << ( tmp_1719_fu_4870_p1 ); SC_METHOD(thread_tmp_pixel_40_6_fu_8773_p3); sensitive << ( tmp_1510_fu_8767_p2 ); sensitive << ( v_1_39_fu_8759_p3 ); sensitive << ( tmp_1830_fu_8755_p1 ); SC_METHOD(thread_tmp_pixel_41_6_fu_8878_p3); sensitive << ( tmp_1512_fu_8872_p2 ); sensitive << ( v_1_40_fu_8864_p3 ); sensitive << ( tmp_1833_fu_8860_p1 ); SC_METHOD(thread_tmp_pixel_42_6_fu_8983_p3); sensitive << ( tmp_1514_fu_8977_p2 ); sensitive << ( v_1_41_fu_8969_p3 ); sensitive << ( tmp_1836_fu_8965_p1 ); SC_METHOD(thread_tmp_pixel_43_6_fu_9088_p3); sensitive << ( tmp_1516_fu_9082_p2 ); sensitive << ( v_1_42_fu_9074_p3 ); sensitive << ( tmp_1839_fu_9070_p1 ); SC_METHOD(thread_tmp_pixel_44_6_fu_9193_p3); sensitive << ( tmp_1518_fu_9187_p2 ); sensitive << ( v_1_43_fu_9179_p3 ); sensitive << ( tmp_1842_fu_9175_p1 ); SC_METHOD(thread_tmp_pixel_45_6_fu_9298_p3); sensitive << ( tmp_1520_fu_9292_p2 ); sensitive << ( v_1_44_fu_9284_p3 ); sensitive << ( tmp_1845_fu_9280_p1 ); SC_METHOD(thread_tmp_pixel_46_6_fu_9403_p3); sensitive << ( tmp_1522_fu_9397_p2 ); sensitive << ( v_1_45_fu_9389_p3 ); sensitive << ( tmp_1848_fu_9385_p1 ); SC_METHOD(thread_tmp_pixel_47_6_fu_9508_p3); sensitive << ( tmp_1524_fu_9502_p2 ); sensitive << ( v_1_46_fu_9494_p3 ); sensitive << ( tmp_1851_fu_9490_p1 ); SC_METHOD(thread_tmp_pixel_48_6_fu_9613_p3); sensitive << ( tmp_1526_fu_9607_p2 ); sensitive << ( v_1_47_fu_9599_p3 ); sensitive << ( tmp_1854_fu_9595_p1 ); SC_METHOD(thread_tmp_pixel_49_6_fu_9718_p3); sensitive << ( tmp_1528_fu_9712_p2 ); sensitive << ( v_1_48_fu_9704_p3 ); sensitive << ( tmp_1857_fu_9700_p1 ); SC_METHOD(thread_tmp_pixel_4_6_fu_4993_p3); sensitive << ( tmp_1438_fu_4987_p2 ); sensitive << ( v_1_4_fu_4979_p3 ); sensitive << ( tmp_1722_fu_4975_p1 ); SC_METHOD(thread_tmp_pixel_50_6_fu_9823_p3); sensitive << ( tmp_1530_fu_9817_p2 ); sensitive << ( v_1_49_fu_9809_p3 ); sensitive << ( tmp_1860_fu_9805_p1 ); SC_METHOD(thread_tmp_pixel_51_6_fu_9928_p3); sensitive << ( tmp_1532_fu_9922_p2 ); sensitive << ( v_1_50_fu_9914_p3 ); sensitive << ( tmp_1863_fu_9910_p1 ); SC_METHOD(thread_tmp_pixel_52_6_fu_10033_p3); sensitive << ( tmp_1534_fu_10027_p2 ); sensitive << ( v_1_51_fu_10019_p3 ); sensitive << ( tmp_1866_fu_10015_p1 ); SC_METHOD(thread_tmp_pixel_53_6_fu_10138_p3); sensitive << ( tmp_1536_fu_10132_p2 ); sensitive << ( v_1_52_fu_10124_p3 ); sensitive << ( tmp_1869_fu_10120_p1 ); SC_METHOD(thread_tmp_pixel_54_6_fu_10243_p3); sensitive << ( tmp_1538_fu_10237_p2 ); sensitive << ( v_1_53_fu_10229_p3 ); sensitive << ( tmp_1872_fu_10225_p1 ); SC_METHOD(thread_tmp_pixel_55_6_fu_10348_p3); sensitive << ( tmp_1540_fu_10342_p2 ); sensitive << ( v_1_54_fu_10334_p3 ); sensitive << ( tmp_1875_fu_10330_p1 ); SC_METHOD(thread_tmp_pixel_56_6_fu_10453_p3); sensitive << ( tmp_1542_fu_10447_p2 ); sensitive << ( v_1_55_fu_10439_p3 ); sensitive << ( tmp_1878_fu_10435_p1 ); SC_METHOD(thread_tmp_pixel_57_6_fu_10558_p3); sensitive << ( tmp_1544_fu_10552_p2 ); sensitive << ( v_1_56_fu_10544_p3 ); sensitive << ( tmp_1881_fu_10540_p1 ); SC_METHOD(thread_tmp_pixel_58_6_fu_10663_p3); sensitive << ( tmp_1546_fu_10657_p2 ); sensitive << ( v_1_57_fu_10649_p3 ); sensitive << ( tmp_1884_fu_10645_p1 ); SC_METHOD(thread_tmp_pixel_59_6_fu_10768_p3); sensitive << ( tmp_1548_fu_10762_p2 ); sensitive << ( v_1_58_fu_10754_p3 ); sensitive << ( tmp_1887_fu_10750_p1 ); SC_METHOD(thread_tmp_pixel_5_6_fu_5098_p3); sensitive << ( tmp_1440_fu_5092_p2 ); sensitive << ( v_1_5_fu_5084_p3 ); sensitive << ( tmp_1725_fu_5080_p1 ); SC_METHOD(thread_tmp_pixel_60_6_fu_10873_p3); sensitive << ( tmp_1550_fu_10867_p2 ); sensitive << ( v_1_59_fu_10859_p3 ); sensitive << ( tmp_1890_fu_10855_p1 ); SC_METHOD(thread_tmp_pixel_61_6_fu_10978_p3); sensitive << ( tmp_1552_fu_10972_p2 ); sensitive << ( v_1_60_fu_10964_p3 ); sensitive << ( tmp_1893_fu_10960_p1 ); SC_METHOD(thread_tmp_pixel_62_6_fu_11083_p3); sensitive << ( tmp_1554_fu_11077_p2 ); sensitive << ( v_1_61_fu_11069_p3 ); sensitive << ( tmp_1896_fu_11065_p1 ); SC_METHOD(thread_tmp_pixel_63_6_fu_11188_p3); sensitive << ( tmp_1556_fu_11182_p2 ); sensitive << ( v_1_62_fu_11174_p3 ); sensitive << ( tmp_1899_fu_11170_p1 ); SC_METHOD(thread_tmp_pixel_64_6_fu_11293_p3); sensitive << ( tmp_1558_fu_11287_p2 ); sensitive << ( v_1_63_fu_11279_p3 ); sensitive << ( tmp_1902_fu_11275_p1 ); SC_METHOD(thread_tmp_pixel_65_6_fu_11398_p3); sensitive << ( tmp_1560_fu_11392_p2 ); sensitive << ( v_1_64_fu_11384_p3 ); sensitive << ( tmp_1905_fu_11380_p1 ); SC_METHOD(thread_tmp_pixel_66_6_fu_11503_p3); sensitive << ( tmp_1562_fu_11497_p2 ); sensitive << ( v_1_65_fu_11489_p3 ); sensitive << ( tmp_1908_fu_11485_p1 ); SC_METHOD(thread_tmp_pixel_67_6_fu_11608_p3); sensitive << ( tmp_1564_fu_11602_p2 ); sensitive << ( v_1_66_fu_11594_p3 ); sensitive << ( tmp_1911_fu_11590_p1 ); SC_METHOD(thread_tmp_pixel_68_6_fu_11714_p3); sensitive << ( tmp_1566_fu_11708_p2 ); sensitive << ( v_1_67_fu_11700_p3 ); sensitive << ( tmp_1914_fu_11696_p1 ); SC_METHOD(thread_tmp_pixel_69_6_fu_11820_p3); sensitive << ( tmp_1568_fu_11814_p2 ); sensitive << ( v_1_68_fu_11806_p3 ); sensitive << ( tmp_1917_fu_11802_p1 ); SC_METHOD(thread_tmp_pixel_6_6_fu_5203_p3); sensitive << ( tmp_1442_fu_5197_p2 ); sensitive << ( v_1_6_fu_5189_p3 ); sensitive << ( tmp_1728_fu_5185_p1 ); SC_METHOD(thread_tmp_pixel_70_6_fu_11926_p3); sensitive << ( tmp_1570_fu_11920_p2 ); sensitive << ( v_1_69_fu_11912_p3 ); sensitive << ( tmp_1920_fu_11908_p1 ); SC_METHOD(thread_tmp_pixel_7_6_fu_5308_p3); sensitive << ( tmp_1444_fu_5302_p2 ); sensitive << ( v_1_7_fu_5294_p3 ); sensitive << ( tmp_1731_fu_5290_p1 ); SC_METHOD(thread_tmp_pixel_8_6_fu_5413_p3); sensitive << ( tmp_1446_fu_5407_p2 ); sensitive << ( v_1_8_fu_5399_p3 ); sensitive << ( tmp_1734_fu_5395_p1 ); SC_METHOD(thread_tmp_pixel_9_6_fu_5518_p3); sensitive << ( tmp_1448_fu_5512_p2 ); sensitive << ( v_1_9_fu_5504_p3 ); sensitive << ( tmp_1737_fu_5500_p1 ); SC_METHOD(thread_tmp_s_fu_4519_p2); sensitive << ( tmp_125_fu_4507_p2 ); sensitive << ( tmp_4936_cast_fu_4513_p1 ); SC_METHOD(thread_v_1_10_fu_5714_p3); sensitive << ( icmp12_fu_5696_p2 ); SC_METHOD(thread_v_1_11_fu_5819_p3); sensitive << ( icmp13_fu_5801_p2 ); SC_METHOD(thread_v_1_12_fu_5924_p3); sensitive << ( icmp14_fu_5906_p2 ); SC_METHOD(thread_v_1_13_fu_6029_p3); sensitive << ( icmp15_fu_6011_p2 ); SC_METHOD(thread_v_1_14_fu_6134_p3); sensitive << ( icmp16_fu_6116_p2 ); SC_METHOD(thread_v_1_15_fu_6239_p3); sensitive << ( icmp17_fu_6221_p2 ); SC_METHOD(thread_v_1_16_fu_6344_p3); sensitive << ( icmp18_fu_6326_p2 ); SC_METHOD(thread_v_1_17_fu_6449_p3); sensitive << ( icmp19_fu_6431_p2 ); SC_METHOD(thread_v_1_18_fu_6554_p3); sensitive << ( icmp20_fu_6536_p2 ); SC_METHOD(thread_v_1_19_fu_6659_p3); sensitive << ( icmp21_fu_6641_p2 ); SC_METHOD(thread_v_1_1_fu_4664_p3); sensitive << ( icmp2_fu_4646_p2 ); SC_METHOD(thread_v_1_20_fu_6764_p3); sensitive << ( icmp22_fu_6746_p2 ); SC_METHOD(thread_v_1_21_fu_6869_p3); sensitive << ( icmp23_fu_6851_p2 ); SC_METHOD(thread_v_1_22_fu_6974_p3); sensitive << ( icmp24_fu_6956_p2 ); SC_METHOD(thread_v_1_23_fu_7079_p3); sensitive << ( icmp25_fu_7061_p2 ); SC_METHOD(thread_v_1_24_fu_7184_p3); sensitive << ( icmp26_fu_7166_p2 ); SC_METHOD(thread_v_1_25_fu_7289_p3); sensitive << ( icmp27_fu_7271_p2 ); SC_METHOD(thread_v_1_26_fu_7394_p3); sensitive << ( icmp28_fu_7376_p2 ); SC_METHOD(thread_v_1_27_fu_7499_p3); sensitive << ( icmp29_fu_7481_p2 ); SC_METHOD(thread_v_1_28_fu_7604_p3); sensitive << ( icmp30_fu_7586_p2 ); SC_METHOD(thread_v_1_29_fu_7709_p3); sensitive << ( icmp31_fu_7691_p2 ); SC_METHOD(thread_v_1_2_fu_4769_p3); sensitive << ( icmp3_fu_4751_p2 ); SC_METHOD(thread_v_1_30_fu_7814_p3); sensitive << ( icmp32_fu_7796_p2 ); SC_METHOD(thread_v_1_31_fu_7919_p3); sensitive << ( icmp33_fu_7901_p2 ); SC_METHOD(thread_v_1_32_fu_8024_p3); sensitive << ( icmp34_fu_8006_p2 ); SC_METHOD(thread_v_1_33_fu_8129_p3); sensitive << ( icmp35_fu_8111_p2 ); SC_METHOD(thread_v_1_34_fu_8234_p3); sensitive << ( icmp36_fu_8216_p2 ); SC_METHOD(thread_v_1_35_fu_8339_p3); sensitive << ( icmp37_fu_8321_p2 ); SC_METHOD(thread_v_1_36_fu_8444_p3); sensitive << ( icmp38_fu_8426_p2 ); SC_METHOD(thread_v_1_37_fu_8549_p3); sensitive << ( icmp39_fu_8531_p2 ); SC_METHOD(thread_v_1_38_fu_8654_p3); sensitive << ( icmp40_fu_8636_p2 ); SC_METHOD(thread_v_1_39_fu_8759_p3); sensitive << ( icmp41_fu_8741_p2 ); SC_METHOD(thread_v_1_3_fu_4874_p3); sensitive << ( icmp4_fu_4856_p2 ); SC_METHOD(thread_v_1_40_fu_8864_p3); sensitive << ( icmp42_fu_8846_p2 ); SC_METHOD(thread_v_1_41_fu_8969_p3); sensitive << ( icmp43_fu_8951_p2 ); SC_METHOD(thread_v_1_42_fu_9074_p3); sensitive << ( icmp44_fu_9056_p2 ); SC_METHOD(thread_v_1_43_fu_9179_p3); sensitive << ( icmp45_fu_9161_p2 ); SC_METHOD(thread_v_1_44_fu_9284_p3); sensitive << ( icmp46_fu_9266_p2 ); SC_METHOD(thread_v_1_45_fu_9389_p3); sensitive << ( icmp47_fu_9371_p2 ); SC_METHOD(thread_v_1_46_fu_9494_p3); sensitive << ( icmp48_fu_9476_p2 ); SC_METHOD(thread_v_1_47_fu_9599_p3); sensitive << ( icmp49_fu_9581_p2 ); SC_METHOD(thread_v_1_48_fu_9704_p3); sensitive << ( icmp50_fu_9686_p2 ); SC_METHOD(thread_v_1_49_fu_9809_p3); sensitive << ( icmp51_fu_9791_p2 ); SC_METHOD(thread_v_1_4_fu_4979_p3); sensitive << ( icmp5_fu_4961_p2 ); SC_METHOD(thread_v_1_50_fu_9914_p3); sensitive << ( icmp52_fu_9896_p2 ); SC_METHOD(thread_v_1_51_fu_10019_p3); sensitive << ( icmp53_fu_10001_p2 ); SC_METHOD(thread_v_1_52_fu_10124_p3); sensitive << ( icmp54_fu_10106_p2 ); SC_METHOD(thread_v_1_53_fu_10229_p3); sensitive << ( icmp55_fu_10211_p2 ); SC_METHOD(thread_v_1_54_fu_10334_p3); sensitive << ( icmp56_fu_10316_p2 ); SC_METHOD(thread_v_1_55_fu_10439_p3); sensitive << ( icmp57_fu_10421_p2 ); SC_METHOD(thread_v_1_56_fu_10544_p3); sensitive << ( icmp58_fu_10526_p2 ); SC_METHOD(thread_v_1_57_fu_10649_p3); sensitive << ( icmp59_fu_10631_p2 ); SC_METHOD(thread_v_1_58_fu_10754_p3); sensitive << ( icmp60_fu_10736_p2 ); SC_METHOD(thread_v_1_59_fu_10859_p3); sensitive << ( icmp61_fu_10841_p2 ); SC_METHOD(thread_v_1_5_fu_5084_p3); sensitive << ( icmp6_fu_5066_p2 ); SC_METHOD(thread_v_1_60_fu_10964_p3); sensitive << ( icmp62_fu_10946_p2 ); SC_METHOD(thread_v_1_61_fu_11069_p3); sensitive << ( icmp63_fu_11051_p2 ); SC_METHOD(thread_v_1_62_fu_11174_p3); sensitive << ( icmp64_fu_11156_p2 ); SC_METHOD(thread_v_1_63_fu_11279_p3); sensitive << ( icmp65_fu_11261_p2 ); SC_METHOD(thread_v_1_64_fu_11384_p3); sensitive << ( icmp66_fu_11366_p2 ); SC_METHOD(thread_v_1_65_fu_11489_p3); sensitive << ( icmp67_fu_11471_p2 ); SC_METHOD(thread_v_1_66_fu_11594_p3); sensitive << ( icmp68_fu_11576_p2 ); SC_METHOD(thread_v_1_67_fu_11700_p3); sensitive << ( icmp69_fu_11682_p2 ); SC_METHOD(thread_v_1_68_fu_11806_p3); sensitive << ( icmp70_fu_11788_p2 ); SC_METHOD(thread_v_1_69_fu_11912_p3); sensitive << ( icmp71_fu_11894_p2 ); SC_METHOD(thread_v_1_6_fu_5189_p3); sensitive << ( icmp7_fu_5171_p2 ); SC_METHOD(thread_v_1_7_fu_5294_p3); sensitive << ( icmp8_fu_5276_p2 ); SC_METHOD(thread_v_1_8_fu_5399_p3); sensitive << ( icmp9_fu_5381_p2 ); SC_METHOD(thread_v_1_9_fu_5504_p3); sensitive << ( icmp10_fu_5486_p2 ); SC_METHOD(thread_v_1_fu_4559_p3); sensitive << ( icmp1_fu_4541_p2 ); SC_METHOD(thread_v_1_s_fu_5609_p3); sensitive << ( icmp11_fu_5591_p2 ); SC_METHOD(thread_x_3_fu_3236_p2); sensitive << ( x_reg_3203 ); SC_METHOD(thread_ap_NS_fsm); sensitive << ( ap_CS_fsm ); sensitive << ( src_V_pixel0_status ); sensitive << ( ap_sig_868 ); sensitive << ( exitcond1_fu_3230_p2 ); sensitive << ( ap_sig_2170 ); ap_done_reg = SC_LOGIC_0; ap_CS_fsm = "000000000000000000000000000000000000000000000000000000000000000000000000001"; static int apTFileNum = 0; stringstream apTFilenSS; apTFilenSS << "Sobel_conv3x3_tile_strm107_sc_trace_" << apTFileNum ++; string apTFn = apTFilenSS.str(); mVcdFile = sc_create_vcd_trace_file(apTFn.c_str()); mVcdFile->set_time_unit(1, SC_PS); if (1) { #ifdef __HLS_TRACE_LEVEL_PORT_HIER__ sc_trace(mVcdFile, ap_clk, "(port)ap_clk"); sc_trace(mVcdFile, ap_rst, "(port)ap_rst"); sc_trace(mVcdFile, ap_start, "(port)ap_start"); sc_trace(mVcdFile, ap_done, "(port)ap_done"); sc_trace(mVcdFile, ap_continue, "(port)ap_continue"); sc_trace(mVcdFile, ap_idle, "(port)ap_idle"); sc_trace(mVcdFile, ap_ready, "(port)ap_ready"); sc_trace(mVcdFile, src_V_pixel_dout, "(port)src_V_pixel_dout"); sc_trace(mVcdFile, src_V_pixel_empty_n, "(port)src_V_pixel_empty_n"); sc_trace(mVcdFile, src_V_pixel_read, "(port)src_V_pixel_read"); sc_trace(mVcdFile, src_V_pixel1_dout, "(port)src_V_pixel1_dout"); sc_trace(mVcdFile, src_V_pixel1_empty_n, "(port)src_V_pixel1_empty_n"); sc_trace(mVcdFile, src_V_pixel1_read, "(port)src_V_pixel1_read"); sc_trace(mVcdFile, src_V_pixel2_dout, "(port)src_V_pixel2_dout"); sc_trace(mVcdFile, src_V_pixel2_empty_n, "(port)src_V_pixel2_empty_n"); sc_trace(mVcdFile, src_V_pixel2_read, "(port)src_V_pixel2_read"); sc_trace(mVcdFile, src_V_pixel3_dout, "(port)src_V_pixel3_dout"); sc_trace(mVcdFile, src_V_pixel3_empty_n, "(port)src_V_pixel3_empty_n"); sc_trace(mVcdFile, src_V_pixel3_read, "(port)src_V_pixel3_read"); sc_trace(mVcdFile, src_V_pixel4_dout, "(port)src_V_pixel4_dout"); sc_trace(mVcdFile, src_V_pixel4_empty_n, "(port)src_V_pixel4_empty_n"); sc_trace(mVcdFile, src_V_pixel4_read, "(port)src_V_pixel4_read"); sc_trace(mVcdFile, src_V_pixel5_dout, "(port)src_V_pixel5_dout"); sc_trace(mVcdFile, src_V_pixel5_empty_n, "(port)src_V_pixel5_empty_n"); sc_trace(mVcdFile, src_V_pixel5_read, "(port)src_V_pixel5_read"); sc_trace(mVcdFile, src_V_pixel6_dout, "(port)src_V_pixel6_dout"); sc_trace(mVcdFile, src_V_pixel6_empty_n, "(port)src_V_pixel6_empty_n"); sc_trace(mVcdFile, src_V_pixel6_read, "(port)src_V_pixel6_read"); sc_trace(mVcdFile, src_V_pixel7_dout, "(port)src_V_pixel7_dout"); sc_trace(mVcdFile, src_V_pixel7_empty_n, "(port)src_V_pixel7_empty_n"); sc_trace(mVcdFile, src_V_pixel7_read, "(port)src_V_pixel7_read"); sc_trace(mVcdFile, src_V_pixel8_dout, "(port)src_V_pixel8_dout"); sc_trace(mVcdFile, src_V_pixel8_empty_n, "(port)src_V_pixel8_empty_n"); sc_trace(mVcdFile, src_V_pixel8_read, "(port)src_V_pixel8_read"); sc_trace(mVcdFile, src_V_pixel9_dout, "(port)src_V_pixel9_dout"); sc_trace(mVcdFile, src_V_pixel9_empty_n, "(port)src_V_pixel9_empty_n"); sc_trace(mVcdFile, src_V_pixel9_read, "(port)src_V_pixel9_read"); sc_trace(mVcdFile, src_V_pixel10_dout, "(port)src_V_pixel10_dout"); sc_trace(mVcdFile, src_V_pixel10_empty_n, "(port)src_V_pixel10_empty_n"); sc_trace(mVcdFile, src_V_pixel10_read, "(port)src_V_pixel10_read"); sc_trace(mVcdFile, src_V_pixel11_dout, "(port)src_V_pixel11_dout"); sc_trace(mVcdFile, src_V_pixel11_empty_n, "(port)src_V_pixel11_empty_n"); sc_trace(mVcdFile, src_V_pixel11_read, "(port)src_V_pixel11_read"); sc_trace(mVcdFile, src_V_pixel12_dout, "(port)src_V_pixel12_dout"); sc_trace(mVcdFile, src_V_pixel12_empty_n, "(port)src_V_pixel12_empty_n"); sc_trace(mVcdFile, src_V_pixel12_read, "(port)src_V_pixel12_read"); sc_trace(mVcdFile, src_V_pixel13_dout, "(port)src_V_pixel13_dout"); sc_trace(mVcdFile, src_V_pixel13_empty_n, "(port)src_V_pixel13_empty_n"); sc_trace(mVcdFile, src_V_pixel13_read, "(port)src_V_pixel13_read"); sc_trace(mVcdFile, src_V_pixel14_dout, "(port)src_V_pixel14_dout"); sc_trace(mVcdFile, src_V_pixel14_empty_n, "(port)src_V_pixel14_empty_n"); sc_trace(mVcdFile, src_V_pixel14_read, "(port)src_V_pixel14_read"); sc_trace(mVcdFile, src_V_pixel15_dout, "(port)src_V_pixel15_dout"); sc_trace(mVcdFile, src_V_pixel15_empty_n, "(port)src_V_pixel15_empty_n"); sc_trace(mVcdFile, src_V_pixel15_read, "(port)src_V_pixel15_read"); sc_trace(mVcdFile, src_V_pixel16_dout, "(port)src_V_pixel16_dout"); sc_trace(mVcdFile, src_V_pixel16_empty_n, "(port)src_V_pixel16_empty_n"); sc_trace(mVcdFile, src_V_pixel16_read, "(port)src_V_pixel16_read"); sc_trace(mVcdFile, src_V_pixel17_dout, "(port)src_V_pixel17_dout"); sc_trace(mVcdFile, src_V_pixel17_empty_n, "(port)src_V_pixel17_empty_n"); sc_trace(mVcdFile, src_V_pixel17_read, "(port)src_V_pixel17_read"); sc_trace(mVcdFile, src_V_pixel18_dout, "(port)src_V_pixel18_dout"); sc_trace(mVcdFile, src_V_pixel18_empty_n, "(port)src_V_pixel18_empty_n"); sc_trace(mVcdFile, src_V_pixel18_read, "(port)src_V_pixel18_read"); sc_trace(mVcdFile, src_V_pixel19_dout, "(port)src_V_pixel19_dout"); sc_trace(mVcdFile, src_V_pixel19_empty_n, "(port)src_V_pixel19_empty_n"); sc_trace(mVcdFile, src_V_pixel19_read, "(port)src_V_pixel19_read"); sc_trace(mVcdFile, src_V_pixel20_dout, "(port)src_V_pixel20_dout"); sc_trace(mVcdFile, src_V_pixel20_empty_n, "(port)src_V_pixel20_empty_n"); sc_trace(mVcdFile, src_V_pixel20_read, "(port)src_V_pixel20_read"); sc_trace(mVcdFile, src_V_pixel21_dout, "(port)src_V_pixel21_dout"); sc_trace(mVcdFile, src_V_pixel21_empty_n, "(port)src_V_pixel21_empty_n"); sc_trace(mVcdFile, src_V_pixel21_read, "(port)src_V_pixel21_read"); sc_trace(mVcdFile, src_V_pixel22_dout, "(port)src_V_pixel22_dout"); sc_trace(mVcdFile, src_V_pixel22_empty_n, "(port)src_V_pixel22_empty_n"); sc_trace(mVcdFile, src_V_pixel22_read, "(port)src_V_pixel22_read"); sc_trace(mVcdFile, src_V_pixel23_dout, "(port)src_V_pixel23_dout"); sc_trace(mVcdFile, src_V_pixel23_empty_n, "(port)src_V_pixel23_empty_n"); sc_trace(mVcdFile, src_V_pixel23_read, "(port)src_V_pixel23_read"); sc_trace(mVcdFile, src_V_pixel24_dout, "(port)src_V_pixel24_dout"); sc_trace(mVcdFile, src_V_pixel24_empty_n, "(port)src_V_pixel24_empty_n"); sc_trace(mVcdFile, src_V_pixel24_read, "(port)src_V_pixel24_read"); sc_trace(mVcdFile, src_V_pixel25_dout, "(port)src_V_pixel25_dout"); sc_trace(mVcdFile, src_V_pixel25_empty_n, "(port)src_V_pixel25_empty_n"); sc_trace(mVcdFile, src_V_pixel25_read, "(port)src_V_pixel25_read"); sc_trace(mVcdFile, src_V_pixel26_dout, "(port)src_V_pixel26_dout"); sc_trace(mVcdFile, src_V_pixel26_empty_n, "(port)src_V_pixel26_empty_n"); sc_trace(mVcdFile, src_V_pixel26_read, "(port)src_V_pixel26_read"); sc_trace(mVcdFile, src_V_pixel27_dout, "(port)src_V_pixel27_dout"); sc_trace(mVcdFile, src_V_pixel27_empty_n, "(port)src_V_pixel27_empty_n"); sc_trace(mVcdFile, src_V_pixel27_read, "(port)src_V_pixel27_read"); sc_trace(mVcdFile, src_V_pixel28_dout, "(port)src_V_pixel28_dout"); sc_trace(mVcdFile, src_V_pixel28_empty_n, "(port)src_V_pixel28_empty_n"); sc_trace(mVcdFile, src_V_pixel28_read, "(port)src_V_pixel28_read"); sc_trace(mVcdFile, src_V_pixel29_dout, "(port)src_V_pixel29_dout"); sc_trace(mVcdFile, src_V_pixel29_empty_n, "(port)src_V_pixel29_empty_n"); sc_trace(mVcdFile, src_V_pixel29_read, "(port)src_V_pixel29_read"); sc_trace(mVcdFile, src_V_pixel30_dout, "(port)src_V_pixel30_dout"); sc_trace(mVcdFile, src_V_pixel30_empty_n, "(port)src_V_pixel30_empty_n"); sc_trace(mVcdFile, src_V_pixel30_read, "(port)src_V_pixel30_read"); sc_trace(mVcdFile, src_V_pixel31_dout, "(port)src_V_pixel31_dout"); sc_trace(mVcdFile, src_V_pixel31_empty_n, "(port)src_V_pixel31_empty_n"); sc_trace(mVcdFile, src_V_pixel31_read, "(port)src_V_pixel31_read"); sc_trace(mVcdFile, src_V_pixel32_dout, "(port)src_V_pixel32_dout"); sc_trace(mVcdFile, src_V_pixel32_empty_n, "(port)src_V_pixel32_empty_n"); sc_trace(mVcdFile, src_V_pixel32_read, "(port)src_V_pixel32_read"); sc_trace(mVcdFile, src_V_pixel33_dout, "(port)src_V_pixel33_dout"); sc_trace(mVcdFile, src_V_pixel33_empty_n, "(port)src_V_pixel33_empty_n"); sc_trace(mVcdFile, src_V_pixel33_read, "(port)src_V_pixel33_read"); sc_trace(mVcdFile, src_V_pixel34_dout, "(port)src_V_pixel34_dout"); sc_trace(mVcdFile, src_V_pixel34_empty_n, "(port)src_V_pixel34_empty_n"); sc_trace(mVcdFile, src_V_pixel34_read, "(port)src_V_pixel34_read"); sc_trace(mVcdFile, src_V_pixel35_dout, "(port)src_V_pixel35_dout"); sc_trace(mVcdFile, src_V_pixel35_empty_n, "(port)src_V_pixel35_empty_n"); sc_trace(mVcdFile, src_V_pixel35_read, "(port)src_V_pixel35_read"); sc_trace(mVcdFile, src_V_pixel36_dout, "(port)src_V_pixel36_dout"); sc_trace(mVcdFile, src_V_pixel36_empty_n, "(port)src_V_pixel36_empty_n"); sc_trace(mVcdFile, src_V_pixel36_read, "(port)src_V_pixel36_read"); sc_trace(mVcdFile, src_V_pixel37_dout, "(port)src_V_pixel37_dout"); sc_trace(mVcdFile, src_V_pixel37_empty_n, "(port)src_V_pixel37_empty_n"); sc_trace(mVcdFile, src_V_pixel37_read, "(port)src_V_pixel37_read"); sc_trace(mVcdFile, src_V_pixel38_dout, "(port)src_V_pixel38_dout"); sc_trace(mVcdFile, src_V_pixel38_empty_n, "(port)src_V_pixel38_empty_n"); sc_trace(mVcdFile, src_V_pixel38_read, "(port)src_V_pixel38_read"); sc_trace(mVcdFile, src_V_pixel39_dout, "(port)src_V_pixel39_dout"); sc_trace(mVcdFile, src_V_pixel39_empty_n, "(port)src_V_pixel39_empty_n"); sc_trace(mVcdFile, src_V_pixel39_read, "(port)src_V_pixel39_read"); sc_trace(mVcdFile, src_V_pixel40_dout, "(port)src_V_pixel40_dout"); sc_trace(mVcdFile, src_V_pixel40_empty_n, "(port)src_V_pixel40_empty_n"); sc_trace(mVcdFile, src_V_pixel40_read, "(port)src_V_pixel40_read"); sc_trace(mVcdFile, src_V_pixel41_dout, "(port)src_V_pixel41_dout"); sc_trace(mVcdFile, src_V_pixel41_empty_n, "(port)src_V_pixel41_empty_n"); sc_trace(mVcdFile, src_V_pixel41_read, "(port)src_V_pixel41_read"); sc_trace(mVcdFile, src_V_pixel42_dout, "(port)src_V_pixel42_dout"); sc_trace(mVcdFile, src_V_pixel42_empty_n, "(port)src_V_pixel42_empty_n"); sc_trace(mVcdFile, src_V_pixel42_read, "(port)src_V_pixel42_read"); sc_trace(mVcdFile, src_V_pixel43_dout, "(port)src_V_pixel43_dout"); sc_trace(mVcdFile, src_V_pixel43_empty_n, "(port)src_V_pixel43_empty_n"); sc_trace(mVcdFile, src_V_pixel43_read, "(port)src_V_pixel43_read"); sc_trace(mVcdFile, src_V_pixel44_dout, "(port)src_V_pixel44_dout"); sc_trace(mVcdFile, src_V_pixel44_empty_n, "(port)src_V_pixel44_empty_n"); sc_trace(mVcdFile, src_V_pixel44_read, "(port)src_V_pixel44_read"); sc_trace(mVcdFile, src_V_pixel45_dout, "(port)src_V_pixel45_dout"); sc_trace(mVcdFile, src_V_pixel45_empty_n, "(port)src_V_pixel45_empty_n"); sc_trace(mVcdFile, src_V_pixel45_read, "(port)src_V_pixel45_read"); sc_trace(mVcdFile, src_V_pixel46_dout, "(port)src_V_pixel46_dout"); sc_trace(mVcdFile, src_V_pixel46_empty_n, "(port)src_V_pixel46_empty_n"); sc_trace(mVcdFile, src_V_pixel46_read, "(port)src_V_pixel46_read"); sc_trace(mVcdFile, src_V_pixel47_dout, "(port)src_V_pixel47_dout"); sc_trace(mVcdFile, src_V_pixel47_empty_n, "(port)src_V_pixel47_empty_n"); sc_trace(mVcdFile, src_V_pixel47_read, "(port)src_V_pixel47_read"); sc_trace(mVcdFile, src_V_pixel48_dout, "(port)src_V_pixel48_dout"); sc_trace(mVcdFile, src_V_pixel48_empty_n, "(port)src_V_pixel48_empty_n"); sc_trace(mVcdFile, src_V_pixel48_read, "(port)src_V_pixel48_read"); sc_trace(mVcdFile, src_V_pixel49_dout, "(port)src_V_pixel49_dout"); sc_trace(mVcdFile, src_V_pixel49_empty_n, "(port)src_V_pixel49_empty_n"); sc_trace(mVcdFile, src_V_pixel49_read, "(port)src_V_pixel49_read"); sc_trace(mVcdFile, src_V_pixel50_dout, "(port)src_V_pixel50_dout"); sc_trace(mVcdFile, src_V_pixel50_empty_n, "(port)src_V_pixel50_empty_n"); sc_trace(mVcdFile, src_V_pixel50_read, "(port)src_V_pixel50_read"); sc_trace(mVcdFile, src_V_pixel51_dout, "(port)src_V_pixel51_dout"); sc_trace(mVcdFile, src_V_pixel51_empty_n, "(port)src_V_pixel51_empty_n"); sc_trace(mVcdFile, src_V_pixel51_read, "(port)src_V_pixel51_read"); sc_trace(mVcdFile, src_V_pixel52_dout, "(port)src_V_pixel52_dout"); sc_trace(mVcdFile, src_V_pixel52_empty_n, "(port)src_V_pixel52_empty_n"); sc_trace(mVcdFile, src_V_pixel52_read, "(port)src_V_pixel52_read"); sc_trace(mVcdFile, src_V_pixel53_dout, "(port)src_V_pixel53_dout"); sc_trace(mVcdFile, src_V_pixel53_empty_n, "(port)src_V_pixel53_empty_n"); sc_trace(mVcdFile, src_V_pixel53_read, "(port)src_V_pixel53_read"); sc_trace(mVcdFile, src_V_pixel54_dout, "(port)src_V_pixel54_dout"); sc_trace(mVcdFile, src_V_pixel54_empty_n, "(port)src_V_pixel54_empty_n"); sc_trace(mVcdFile, src_V_pixel54_read, "(port)src_V_pixel54_read"); sc_trace(mVcdFile, src_V_pixel55_dout, "(port)src_V_pixel55_dout"); sc_trace(mVcdFile, src_V_pixel55_empty_n, "(port)src_V_pixel55_empty_n"); sc_trace(mVcdFile, src_V_pixel55_read, "(port)src_V_pixel55_read"); sc_trace(mVcdFile, src_V_pixel56_dout, "(port)src_V_pixel56_dout"); sc_trace(mVcdFile, src_V_pixel56_empty_n, "(port)src_V_pixel56_empty_n"); sc_trace(mVcdFile, src_V_pixel56_read, "(port)src_V_pixel56_read"); sc_trace(mVcdFile, src_V_pixel57_dout, "(port)src_V_pixel57_dout"); sc_trace(mVcdFile, src_V_pixel57_empty_n, "(port)src_V_pixel57_empty_n"); sc_trace(mVcdFile, src_V_pixel57_read, "(port)src_V_pixel57_read"); sc_trace(mVcdFile, src_V_pixel58_dout, "(port)src_V_pixel58_dout"); sc_trace(mVcdFile, src_V_pixel58_empty_n, "(port)src_V_pixel58_empty_n"); sc_trace(mVcdFile, src_V_pixel58_read, "(port)src_V_pixel58_read"); sc_trace(mVcdFile, src_V_pixel59_dout, "(port)src_V_pixel59_dout"); sc_trace(mVcdFile, src_V_pixel59_empty_n, "(port)src_V_pixel59_empty_n"); sc_trace(mVcdFile, src_V_pixel59_read, "(port)src_V_pixel59_read"); sc_trace(mVcdFile, src_V_pixel60_dout, "(port)src_V_pixel60_dout"); sc_trace(mVcdFile, src_V_pixel60_empty_n, "(port)src_V_pixel60_empty_n"); sc_trace(mVcdFile, src_V_pixel60_read, "(port)src_V_pixel60_read"); sc_trace(mVcdFile, src_V_pixel61_dout, "(port)src_V_pixel61_dout"); sc_trace(mVcdFile, src_V_pixel61_empty_n, "(port)src_V_pixel61_empty_n"); sc_trace(mVcdFile, src_V_pixel61_read, "(port)src_V_pixel61_read"); sc_trace(mVcdFile, src_V_pixel62_dout, "(port)src_V_pixel62_dout"); sc_trace(mVcdFile, src_V_pixel62_empty_n, "(port)src_V_pixel62_empty_n"); sc_trace(mVcdFile, src_V_pixel62_read, "(port)src_V_pixel62_read"); sc_trace(mVcdFile, src_V_pixel63_dout, "(port)src_V_pixel63_dout"); sc_trace(mVcdFile, src_V_pixel63_empty_n, "(port)src_V_pixel63_empty_n"); sc_trace(mVcdFile, src_V_pixel63_read, "(port)src_V_pixel63_read"); sc_trace(mVcdFile, src_V_pixel64_dout, "(port)src_V_pixel64_dout"); sc_trace(mVcdFile, src_V_pixel64_empty_n, "(port)src_V_pixel64_empty_n"); sc_trace(mVcdFile, src_V_pixel64_read, "(port)src_V_pixel64_read"); sc_trace(mVcdFile, src_V_pixel65_dout, "(port)src_V_pixel65_dout"); sc_trace(mVcdFile, src_V_pixel65_empty_n, "(port)src_V_pixel65_empty_n"); sc_trace(mVcdFile, src_V_pixel65_read, "(port)src_V_pixel65_read"); sc_trace(mVcdFile, src_V_pixel66_dout, "(port)src_V_pixel66_dout"); sc_trace(mVcdFile, src_V_pixel66_empty_n, "(port)src_V_pixel66_empty_n"); sc_trace(mVcdFile, src_V_pixel66_read, "(port)src_V_pixel66_read"); sc_trace(mVcdFile, src_V_pixel67_dout, "(port)src_V_pixel67_dout"); sc_trace(mVcdFile, src_V_pixel67_empty_n, "(port)src_V_pixel67_empty_n"); sc_trace(mVcdFile, src_V_pixel67_read, "(port)src_V_pixel67_read"); sc_trace(mVcdFile, src_V_pixel68_dout, "(port)src_V_pixel68_dout"); sc_trace(mVcdFile, src_V_pixel68_empty_n, "(port)src_V_pixel68_empty_n"); sc_trace(mVcdFile, src_V_pixel68_read, "(port)src_V_pixel68_read"); sc_trace(mVcdFile, src_V_pixel69_dout, "(port)src_V_pixel69_dout"); sc_trace(mVcdFile, src_V_pixel69_empty_n, "(port)src_V_pixel69_empty_n"); sc_trace(mVcdFile, src_V_pixel69_read, "(port)src_V_pixel69_read"); sc_trace(mVcdFile, src_V_pixel70_dout, "(port)src_V_pixel70_dout"); sc_trace(mVcdFile, src_V_pixel70_empty_n, "(port)src_V_pixel70_empty_n"); sc_trace(mVcdFile, src_V_pixel70_read, "(port)src_V_pixel70_read"); sc_trace(mVcdFile, src_V_pixel71_dout, "(port)src_V_pixel71_dout"); sc_trace(mVcdFile, src_V_pixel71_empty_n, "(port)src_V_pixel71_empty_n"); sc_trace(mVcdFile, src_V_pixel71_read, "(port)src_V_pixel71_read"); sc_trace(mVcdFile, src_V_pixel72_dout, "(port)src_V_pixel72_dout"); sc_trace(mVcdFile, src_V_pixel72_empty_n, "(port)src_V_pixel72_empty_n"); sc_trace(mVcdFile, src_V_pixel72_read, "(port)src_V_pixel72_read"); sc_trace(mVcdFile, dst_V_pixel_din, "(port)dst_V_pixel_din"); sc_trace(mVcdFile, dst_V_pixel_full_n, "(port)dst_V_pixel_full_n"); sc_trace(mVcdFile, dst_V_pixel_write, "(port)dst_V_pixel_write"); sc_trace(mVcdFile, dst_V_pixel73_din, "(port)dst_V_pixel73_din"); sc_trace(mVcdFile, dst_V_pixel73_full_n, "(port)dst_V_pixel73_full_n"); sc_trace(mVcdFile, dst_V_pixel73_write, "(port)dst_V_pixel73_write"); sc_trace(mVcdFile, dst_V_pixel74_din, "(port)dst_V_pixel74_din"); sc_trace(mVcdFile, dst_V_pixel74_full_n, "(port)dst_V_pixel74_full_n"); sc_trace(mVcdFile, dst_V_pixel74_write, "(port)dst_V_pixel74_write"); sc_trace(mVcdFile, dst_V_pixel75_din, "(port)dst_V_pixel75_din"); sc_trace(mVcdFile, dst_V_pixel75_full_n, "(port)dst_V_pixel75_full_n"); sc_trace(mVcdFile, dst_V_pixel75_write, "(port)dst_V_pixel75_write"); sc_trace(mVcdFile, dst_V_pixel76_din, "(port)dst_V_pixel76_din"); sc_trace(mVcdFile, dst_V_pixel76_full_n, "(port)dst_V_pixel76_full_n"); sc_trace(mVcdFile, dst_V_pixel76_write, "(port)dst_V_pixel76_write"); sc_trace(mVcdFile, dst_V_pixel77_din, "(port)dst_V_pixel77_din"); sc_trace(mVcdFile, dst_V_pixel77_full_n, "(port)dst_V_pixel77_full_n"); sc_trace(mVcdFile, dst_V_pixel77_write, "(port)dst_V_pixel77_write"); sc_trace(mVcdFile, dst_V_pixel78_din, "(port)dst_V_pixel78_din"); sc_trace(mVcdFile, dst_V_pixel78_full_n, "(port)dst_V_pixel78_full_n"); sc_trace(mVcdFile, dst_V_pixel78_write, "(port)dst_V_pixel78_write"); sc_trace(mVcdFile, dst_V_pixel79_din, "(port)dst_V_pixel79_din"); sc_trace(mVcdFile, dst_V_pixel79_full_n, "(port)dst_V_pixel79_full_n"); sc_trace(mVcdFile, dst_V_pixel79_write, "(port)dst_V_pixel79_write"); sc_trace(mVcdFile, dst_V_pixel80_din, "(port)dst_V_pixel80_din"); sc_trace(mVcdFile, dst_V_pixel80_full_n, "(port)dst_V_pixel80_full_n"); sc_trace(mVcdFile, dst_V_pixel80_write, "(port)dst_V_pixel80_write"); sc_trace(mVcdFile, dst_V_pixel81_din, "(port)dst_V_pixel81_din"); sc_trace(mVcdFile, dst_V_pixel81_full_n, "(port)dst_V_pixel81_full_n"); sc_trace(mVcdFile, dst_V_pixel81_write, "(port)dst_V_pixel81_write"); sc_trace(mVcdFile, dst_V_pixel82_din, "(port)dst_V_pixel82_din"); sc_trace(mVcdFile, dst_V_pixel82_full_n, "(port)dst_V_pixel82_full_n"); sc_trace(mVcdFile, dst_V_pixel82_write, "(port)dst_V_pixel82_write"); sc_trace(mVcdFile, dst_V_pixel83_din, "(port)dst_V_pixel83_din"); sc_trace(mVcdFile, dst_V_pixel83_full_n, "(port)dst_V_pixel83_full_n"); sc_trace(mVcdFile, dst_V_pixel83_write, "(port)dst_V_pixel83_write"); sc_trace(mVcdFile, dst_V_pixel84_din, "(port)dst_V_pixel84_din"); sc_trace(mVcdFile, dst_V_pixel84_full_n, "(port)dst_V_pixel84_full_n"); sc_trace(mVcdFile, dst_V_pixel84_write, "(port)dst_V_pixel84_write"); sc_trace(mVcdFile, dst_V_pixel85_din, "(port)dst_V_pixel85_din"); sc_trace(mVcdFile, dst_V_pixel85_full_n, "(port)dst_V_pixel85_full_n"); sc_trace(mVcdFile, dst_V_pixel85_write, "(port)dst_V_pixel85_write"); sc_trace(mVcdFile, dst_V_pixel86_din, "(port)dst_V_pixel86_din"); sc_trace(mVcdFile, dst_V_pixel86_full_n, "(port)dst_V_pixel86_full_n"); sc_trace(mVcdFile, dst_V_pixel86_write, "(port)dst_V_pixel86_write"); sc_trace(mVcdFile, dst_V_pixel87_din, "(port)dst_V_pixel87_din"); sc_trace(mVcdFile, dst_V_pixel87_full_n, "(port)dst_V_pixel87_full_n"); sc_trace(mVcdFile, dst_V_pixel87_write, "(port)dst_V_pixel87_write"); sc_trace(mVcdFile, dst_V_pixel88_din, "(port)dst_V_pixel88_din"); sc_trace(mVcdFile, dst_V_pixel88_full_n, "(port)dst_V_pixel88_full_n"); sc_trace(mVcdFile, dst_V_pixel88_write, "(port)dst_V_pixel88_write"); sc_trace(mVcdFile, dst_V_pixel89_din, "(port)dst_V_pixel89_din"); sc_trace(mVcdFile, dst_V_pixel89_full_n, "(port)dst_V_pixel89_full_n"); sc_trace(mVcdFile, dst_V_pixel89_write, "(port)dst_V_pixel89_write"); sc_trace(mVcdFile, dst_V_pixel90_din, "(port)dst_V_pixel90_din"); sc_trace(mVcdFile, dst_V_pixel90_full_n, "(port)dst_V_pixel90_full_n"); sc_trace(mVcdFile, dst_V_pixel90_write, "(port)dst_V_pixel90_write"); sc_trace(mVcdFile, dst_V_pixel91_din, "(port)dst_V_pixel91_din"); sc_trace(mVcdFile, dst_V_pixel91_full_n, "(port)dst_V_pixel91_full_n"); sc_trace(mVcdFile, dst_V_pixel91_write, "(port)dst_V_pixel91_write"); sc_trace(mVcdFile, dst_V_pixel92_din, "(port)dst_V_pixel92_din"); sc_trace(mVcdFile, dst_V_pixel92_full_n, "(port)dst_V_pixel92_full_n"); sc_trace(mVcdFile, dst_V_pixel92_write, "(port)dst_V_pixel92_write"); sc_trace(mVcdFile, dst_V_pixel93_din, "(port)dst_V_pixel93_din"); sc_trace(mVcdFile, dst_V_pixel93_full_n, "(port)dst_V_pixel93_full_n"); sc_trace(mVcdFile, dst_V_pixel93_write, "(port)dst_V_pixel93_write"); sc_trace(mVcdFile, dst_V_pixel94_din, "(port)dst_V_pixel94_din"); sc_trace(mVcdFile, dst_V_pixel94_full_n, "(port)dst_V_pixel94_full_n"); sc_trace(mVcdFile, dst_V_pixel94_write, "(port)dst_V_pixel94_write"); sc_trace(mVcdFile, dst_V_pixel95_din, "(port)dst_V_pixel95_din"); sc_trace(mVcdFile, dst_V_pixel95_full_n, "(port)dst_V_pixel95_full_n"); sc_trace(mVcdFile, dst_V_pixel95_write, "(port)dst_V_pixel95_write"); sc_trace(mVcdFile, dst_V_pixel96_din, "(port)dst_V_pixel96_din"); sc_trace(mVcdFile, dst_V_pixel96_full_n, "(port)dst_V_pixel96_full_n"); sc_trace(mVcdFile, dst_V_pixel96_write, "(port)dst_V_pixel96_write"); sc_trace(mVcdFile, dst_V_pixel97_din, "(port)dst_V_pixel97_din"); sc_trace(mVcdFile, dst_V_pixel97_full_n, "(port)dst_V_pixel97_full_n"); sc_trace(mVcdFile, dst_V_pixel97_write, "(port)dst_V_pixel97_write"); sc_trace(mVcdFile, dst_V_pixel98_din, "(port)dst_V_pixel98_din"); sc_trace(mVcdFile, dst_V_pixel98_full_n, "(port)dst_V_pixel98_full_n"); sc_trace(mVcdFile, dst_V_pixel98_write, "(port)dst_V_pixel98_write"); sc_trace(mVcdFile, dst_V_pixel99_din, "(port)dst_V_pixel99_din"); sc_trace(mVcdFile, dst_V_pixel99_full_n, "(port)dst_V_pixel99_full_n"); sc_trace(mVcdFile, dst_V_pixel99_write, "(port)dst_V_pixel99_write"); sc_trace(mVcdFile, dst_V_pixel100_din, "(port)dst_V_pixel100_din"); sc_trace(mVcdFile, dst_V_pixel100_full_n, "(port)dst_V_pixel100_full_n"); sc_trace(mVcdFile, dst_V_pixel100_write, "(port)dst_V_pixel100_write"); sc_trace(mVcdFile, dst_V_pixel101_din, "(port)dst_V_pixel101_din"); sc_trace(mVcdFile, dst_V_pixel101_full_n, "(port)dst_V_pixel101_full_n"); sc_trace(mVcdFile, dst_V_pixel101_write, "(port)dst_V_pixel101_write"); sc_trace(mVcdFile, dst_V_pixel102_din, "(port)dst_V_pixel102_din"); sc_trace(mVcdFile, dst_V_pixel102_full_n, "(port)dst_V_pixel102_full_n"); sc_trace(mVcdFile, dst_V_pixel102_write, "(port)dst_V_pixel102_write"); sc_trace(mVcdFile, dst_V_pixel103_din, "(port)dst_V_pixel103_din"); sc_trace(mVcdFile, dst_V_pixel103_full_n, "(port)dst_V_pixel103_full_n"); sc_trace(mVcdFile, dst_V_pixel103_write, "(port)dst_V_pixel103_write"); sc_trace(mVcdFile, dst_V_pixel104_din, "(port)dst_V_pixel104_din"); sc_trace(mVcdFile, dst_V_pixel104_full_n, "(port)dst_V_pixel104_full_n"); sc_trace(mVcdFile, dst_V_pixel104_write, "(port)dst_V_pixel104_write"); sc_trace(mVcdFile, dst_V_pixel105_din, "(port)dst_V_pixel105_din"); sc_trace(mVcdFile, dst_V_pixel105_full_n, "(port)dst_V_pixel105_full_n"); sc_trace(mVcdFile, dst_V_pixel105_write, "(port)dst_V_pixel105_write"); sc_trace(mVcdFile, dst_V_pixel106_din, "(port)dst_V_pixel106_din"); sc_trace(mVcdFile, dst_V_pixel106_full_n, "(port)dst_V_pixel106_full_n"); sc_trace(mVcdFile, dst_V_pixel106_write, "(port)dst_V_pixel106_write"); sc_trace(mVcdFile, dst_V_pixel107_din, "(port)dst_V_pixel107_din"); sc_trace(mVcdFile, dst_V_pixel107_full_n, "(port)dst_V_pixel107_full_n"); sc_trace(mVcdFile, dst_V_pixel107_write, "(port)dst_V_pixel107_write"); sc_trace(mVcdFile, dst_V_pixel108_din, "(port)dst_V_pixel108_din"); sc_trace(mVcdFile, dst_V_pixel108_full_n, "(port)dst_V_pixel108_full_n"); sc_trace(mVcdFile, dst_V_pixel108_write, "(port)dst_V_pixel108_write"); sc_trace(mVcdFile, dst_V_pixel109_din, "(port)dst_V_pixel109_din"); sc_trace(mVcdFile, dst_V_pixel109_full_n, "(port)dst_V_pixel109_full_n"); sc_trace(mVcdFile, dst_V_pixel109_write, "(port)dst_V_pixel109_write"); sc_trace(mVcdFile, dst_V_pixel110_din, "(port)dst_V_pixel110_din"); sc_trace(mVcdFile, dst_V_pixel110_full_n, "(port)dst_V_pixel110_full_n"); sc_trace(mVcdFile, dst_V_pixel110_write, "(port)dst_V_pixel110_write"); sc_trace(mVcdFile, dst_V_pixel111_din, "(port)dst_V_pixel111_din"); sc_trace(mVcdFile, dst_V_pixel111_full_n, "(port)dst_V_pixel111_full_n"); sc_trace(mVcdFile, dst_V_pixel111_write, "(port)dst_V_pixel111_write"); sc_trace(mVcdFile, dst_V_pixel112_din, "(port)dst_V_pixel112_din"); sc_trace(mVcdFile, dst_V_pixel112_full_n, "(port)dst_V_pixel112_full_n"); sc_trace(mVcdFile, dst_V_pixel112_write, "(port)dst_V_pixel112_write"); sc_trace(mVcdFile, dst_V_pixel113_din, "(port)dst_V_pixel113_din"); sc_trace(mVcdFile, dst_V_pixel113_full_n, "(port)dst_V_pixel113_full_n"); sc_trace(mVcdFile, dst_V_pixel113_write, "(port)dst_V_pixel113_write"); sc_trace(mVcdFile, dst_V_pixel114_din, "(port)dst_V_pixel114_din"); sc_trace(mVcdFile, dst_V_pixel114_full_n, "(port)dst_V_pixel114_full_n"); sc_trace(mVcdFile, dst_V_pixel114_write, "(port)dst_V_pixel114_write"); sc_trace(mVcdFile, dst_V_pixel115_din, "(port)dst_V_pixel115_din"); sc_trace(mVcdFile, dst_V_pixel115_full_n, "(port)dst_V_pixel115_full_n"); sc_trace(mVcdFile, dst_V_pixel115_write, "(port)dst_V_pixel115_write"); sc_trace(mVcdFile, dst_V_pixel116_din, "(port)dst_V_pixel116_din"); sc_trace(mVcdFile, dst_V_pixel116_full_n, "(port)dst_V_pixel116_full_n"); sc_trace(mVcdFile, dst_V_pixel116_write, "(port)dst_V_pixel116_write"); sc_trace(mVcdFile, dst_V_pixel117_din, "(port)dst_V_pixel117_din"); sc_trace(mVcdFile, dst_V_pixel117_full_n, "(port)dst_V_pixel117_full_n"); sc_trace(mVcdFile, dst_V_pixel117_write, "(port)dst_V_pixel117_write"); sc_trace(mVcdFile, dst_V_pixel118_din, "(port)dst_V_pixel118_din"); sc_trace(mVcdFile, dst_V_pixel118_full_n, "(port)dst_V_pixel118_full_n"); sc_trace(mVcdFile, dst_V_pixel118_write, "(port)dst_V_pixel118_write"); sc_trace(mVcdFile, dst_V_pixel119_din, "(port)dst_V_pixel119_din"); sc_trace(mVcdFile, dst_V_pixel119_full_n, "(port)dst_V_pixel119_full_n"); sc_trace(mVcdFile, dst_V_pixel119_write, "(port)dst_V_pixel119_write"); sc_trace(mVcdFile, dst_V_pixel120_din, "(port)dst_V_pixel120_din"); sc_trace(mVcdFile, dst_V_pixel120_full_n, "(port)dst_V_pixel120_full_n"); sc_trace(mVcdFile, dst_V_pixel120_write, "(port)dst_V_pixel120_write"); sc_trace(mVcdFile, dst_V_pixel121_din, "(port)dst_V_pixel121_din"); sc_trace(mVcdFile, dst_V_pixel121_full_n, "(port)dst_V_pixel121_full_n"); sc_trace(mVcdFile, dst_V_pixel121_write, "(port)dst_V_pixel121_write"); sc_trace(mVcdFile, dst_V_pixel122_din, "(port)dst_V_pixel122_din"); sc_trace(mVcdFile, dst_V_pixel122_full_n, "(port)dst_V_pixel122_full_n"); sc_trace(mVcdFile, dst_V_pixel122_write, "(port)dst_V_pixel122_write"); sc_trace(mVcdFile, dst_V_pixel123_din, "(port)dst_V_pixel123_din"); sc_trace(mVcdFile, dst_V_pixel123_full_n, "(port)dst_V_pixel123_full_n"); sc_trace(mVcdFile, dst_V_pixel123_write, "(port)dst_V_pixel123_write"); sc_trace(mVcdFile, dst_V_pixel124_din, "(port)dst_V_pixel124_din"); sc_trace(mVcdFile, dst_V_pixel124_full_n, "(port)dst_V_pixel124_full_n"); sc_trace(mVcdFile, dst_V_pixel124_write, "(port)dst_V_pixel124_write"); sc_trace(mVcdFile, dst_V_pixel125_din, "(port)dst_V_pixel125_din"); sc_trace(mVcdFile, dst_V_pixel125_full_n, "(port)dst_V_pixel125_full_n"); sc_trace(mVcdFile, dst_V_pixel125_write, "(port)dst_V_pixel125_write"); sc_trace(mVcdFile, dst_V_pixel126_din, "(port)dst_V_pixel126_din"); sc_trace(mVcdFile, dst_V_pixel126_full_n, "(port)dst_V_pixel126_full_n"); sc_trace(mVcdFile, dst_V_pixel126_write, "(port)dst_V_pixel126_write"); sc_trace(mVcdFile, dst_V_pixel127_din, "(port)dst_V_pixel127_din"); sc_trace(mVcdFile, dst_V_pixel127_full_n, "(port)dst_V_pixel127_full_n"); sc_trace(mVcdFile, dst_V_pixel127_write, "(port)dst_V_pixel127_write"); sc_trace(mVcdFile, dst_V_pixel128_din, "(port)dst_V_pixel128_din"); sc_trace(mVcdFile, dst_V_pixel128_full_n, "(port)dst_V_pixel128_full_n"); sc_trace(mVcdFile, dst_V_pixel128_write, "(port)dst_V_pixel128_write"); sc_trace(mVcdFile, dst_V_pixel129_din, "(port)dst_V_pixel129_din"); sc_trace(mVcdFile, dst_V_pixel129_full_n, "(port)dst_V_pixel129_full_n"); sc_trace(mVcdFile, dst_V_pixel129_write, "(port)dst_V_pixel129_write"); sc_trace(mVcdFile, dst_V_pixel130_din, "(port)dst_V_pixel130_din"); sc_trace(mVcdFile, dst_V_pixel130_full_n, "(port)dst_V_pixel130_full_n"); sc_trace(mVcdFile, dst_V_pixel130_write, "(port)dst_V_pixel130_write"); sc_trace(mVcdFile, dst_V_pixel131_din, "(port)dst_V_pixel131_din"); sc_trace(mVcdFile, dst_V_pixel131_full_n, "(port)dst_V_pixel131_full_n"); sc_trace(mVcdFile, dst_V_pixel131_write, "(port)dst_V_pixel131_write"); sc_trace(mVcdFile, dst_V_pixel132_din, "(port)dst_V_pixel132_din"); sc_trace(mVcdFile, dst_V_pixel132_full_n, "(port)dst_V_pixel132_full_n"); sc_trace(mVcdFile, dst_V_pixel132_write, "(port)dst_V_pixel132_write"); sc_trace(mVcdFile, dst_V_pixel133_din, "(port)dst_V_pixel133_din"); sc_trace(mVcdFile, dst_V_pixel133_full_n, "(port)dst_V_pixel133_full_n"); sc_trace(mVcdFile, dst_V_pixel133_write, "(port)dst_V_pixel133_write"); sc_trace(mVcdFile, dst_V_pixel134_din, "(port)dst_V_pixel134_din"); sc_trace(mVcdFile, dst_V_pixel134_full_n, "(port)dst_V_pixel134_full_n"); sc_trace(mVcdFile, dst_V_pixel134_write, "(port)dst_V_pixel134_write"); sc_trace(mVcdFile, dst_V_pixel135_din, "(port)dst_V_pixel135_din"); sc_trace(mVcdFile, dst_V_pixel135_full_n, "(port)dst_V_pixel135_full_n"); sc_trace(mVcdFile, dst_V_pixel135_write, "(port)dst_V_pixel135_write"); sc_trace(mVcdFile, dst_V_pixel136_din, "(port)dst_V_pixel136_din"); sc_trace(mVcdFile, dst_V_pixel136_full_n, "(port)dst_V_pixel136_full_n"); sc_trace(mVcdFile, dst_V_pixel136_write, "(port)dst_V_pixel136_write"); sc_trace(mVcdFile, dst_V_pixel137_din, "(port)dst_V_pixel137_din"); sc_trace(mVcdFile, dst_V_pixel137_full_n, "(port)dst_V_pixel137_full_n"); sc_trace(mVcdFile, dst_V_pixel137_write, "(port)dst_V_pixel137_write"); sc_trace(mVcdFile, dst_V_pixel138_din, "(port)dst_V_pixel138_din"); sc_trace(mVcdFile, dst_V_pixel138_full_n, "(port)dst_V_pixel138_full_n"); sc_trace(mVcdFile, dst_V_pixel138_write, "(port)dst_V_pixel138_write"); sc_trace(mVcdFile, dst_V_pixel139_din, "(port)dst_V_pixel139_din"); sc_trace(mVcdFile, dst_V_pixel139_full_n, "(port)dst_V_pixel139_full_n"); sc_trace(mVcdFile, dst_V_pixel139_write, "(port)dst_V_pixel139_write"); sc_trace(mVcdFile, dst_V_pixel140_din, "(port)dst_V_pixel140_din"); sc_trace(mVcdFile, dst_V_pixel140_full_n, "(port)dst_V_pixel140_full_n"); sc_trace(mVcdFile, dst_V_pixel140_write, "(port)dst_V_pixel140_write"); sc_trace(mVcdFile, dst_V_pixel141_din, "(port)dst_V_pixel141_din"); sc_trace(mVcdFile, dst_V_pixel141_full_n, "(port)dst_V_pixel141_full_n"); sc_trace(mVcdFile, dst_V_pixel141_write, "(port)dst_V_pixel141_write"); sc_trace(mVcdFile, dst_V_pixel142_din, "(port)dst_V_pixel142_din"); sc_trace(mVcdFile, dst_V_pixel142_full_n, "(port)dst_V_pixel142_full_n"); sc_trace(mVcdFile, dst_V_pixel142_write, "(port)dst_V_pixel142_write"); #endif #ifdef __HLS_TRACE_LEVEL_INT__ sc_trace(mVcdFile, ap_done_reg, "ap_done_reg"); sc_trace(mVcdFile, ap_CS_fsm, "ap_CS_fsm"); sc_trace(mVcdFile, ap_sig_cseq_ST_st1_fsm_0, "ap_sig_cseq_ST_st1_fsm_0"); sc_trace(mVcdFile, ap_sig_93, "ap_sig_93"); sc_trace(mVcdFile, src_V_pixel_blk_n, "src_V_pixel_blk_n"); sc_trace(mVcdFile, ap_sig_cseq_ST_st38_fsm_37, "ap_sig_cseq_ST_st38_fsm_37"); sc_trace(mVcdFile, ap_sig_682, "ap_sig_682"); sc_trace(mVcdFile, src_V_pixel1_blk_n, "src_V_pixel1_blk_n"); sc_trace(mVcdFile, src_V_pixel2_blk_n, "src_V_pixel2_blk_n"); sc_trace(mVcdFile, src_V_pixel3_blk_n, "src_V_pixel3_blk_n"); sc_trace(mVcdFile, src_V_pixel4_blk_n, "src_V_pixel4_blk_n"); sc_trace(mVcdFile, src_V_pixel5_blk_n, "src_V_pixel5_blk_n"); sc_trace(mVcdFile, src_V_pixel6_blk_n, "src_V_pixel6_blk_n"); sc_trace(mVcdFile, src_V_pixel7_blk_n, "src_V_pixel7_blk_n"); sc_trace(mVcdFile, src_V_pixel8_blk_n, "src_V_pixel8_blk_n"); sc_trace(mVcdFile, src_V_pixel9_blk_n, "src_V_pixel9_blk_n"); sc_trace(mVcdFile, src_V_pixel10_blk_n, "src_V_pixel10_blk_n"); sc_trace(mVcdFile, src_V_pixel11_blk_n, "src_V_pixel11_blk_n"); sc_trace(mVcdFile, src_V_pixel12_blk_n, "src_V_pixel12_blk_n"); sc_trace(mVcdFile, src_V_pixel13_blk_n, "src_V_pixel13_blk_n"); sc_trace(mVcdFile, src_V_pixel14_blk_n, "src_V_pixel14_blk_n"); sc_trace(mVcdFile, src_V_pixel15_blk_n, "src_V_pixel15_blk_n"); sc_trace(mVcdFile, src_V_pixel16_blk_n, "src_V_pixel16_blk_n"); sc_trace(mVcdFile, src_V_pixel17_blk_n, "src_V_pixel17_blk_n"); sc_trace(mVcdFile, src_V_pixel18_blk_n, "src_V_pixel18_blk_n"); sc_trace(mVcdFile, src_V_pixel19_blk_n, "src_V_pixel19_blk_n"); sc_trace(mVcdFile, src_V_pixel20_blk_n, "src_V_pixel20_blk_n"); sc_trace(mVcdFile, src_V_pixel21_blk_n, "src_V_pixel21_blk_n"); sc_trace(mVcdFile, src_V_pixel22_blk_n, "src_V_pixel22_blk_n"); sc_trace(mVcdFile, src_V_pixel23_blk_n, "src_V_pixel23_blk_n"); sc_trace(mVcdFile, src_V_pixel24_blk_n, "src_V_pixel24_blk_n"); sc_trace(mVcdFile, src_V_pixel25_blk_n, "src_V_pixel25_blk_n"); sc_trace(mVcdFile, src_V_pixel26_blk_n, "src_V_pixel26_blk_n"); sc_trace(mVcdFile, src_V_pixel27_blk_n, "src_V_pixel27_blk_n"); sc_trace(mVcdFile, src_V_pixel28_blk_n, "src_V_pixel28_blk_n"); sc_trace(mVcdFile, src_V_pixel29_blk_n, "src_V_pixel29_blk_n"); sc_trace(mVcdFile, src_V_pixel30_blk_n, "src_V_pixel30_blk_n"); sc_trace(mVcdFile, src_V_pixel31_blk_n, "src_V_pixel31_blk_n"); sc_trace(mVcdFile, src_V_pixel32_blk_n, "src_V_pixel32_blk_n"); sc_trace(mVcdFile, src_V_pixel33_blk_n, "src_V_pixel33_blk_n"); sc_trace(mVcdFile, src_V_pixel34_blk_n, "src_V_pixel34_blk_n"); sc_trace(mVcdFile, src_V_pixel35_blk_n, "src_V_pixel35_blk_n"); sc_trace(mVcdFile, src_V_pixel36_blk_n, "src_V_pixel36_blk_n"); sc_trace(mVcdFile, src_V_pixel37_blk_n, "src_V_pixel37_blk_n"); sc_trace(mVcdFile, src_V_pixel38_blk_n, "src_V_pixel38_blk_n"); sc_trace(mVcdFile, src_V_pixel39_blk_n, "src_V_pixel39_blk_n"); sc_trace(mVcdFile, src_V_pixel40_blk_n, "src_V_pixel40_blk_n"); sc_trace(mVcdFile, src_V_pixel41_blk_n, "src_V_pixel41_blk_n"); sc_trace(mVcdFile, src_V_pixel42_blk_n, "src_V_pixel42_blk_n"); sc_trace(mVcdFile, src_V_pixel43_blk_n, "src_V_pixel43_blk_n"); sc_trace(mVcdFile, src_V_pixel44_blk_n, "src_V_pixel44_blk_n"); sc_trace(mVcdFile, src_V_pixel45_blk_n, "src_V_pixel45_blk_n"); sc_trace(mVcdFile, src_V_pixel46_blk_n, "src_V_pixel46_blk_n"); sc_trace(mVcdFile, src_V_pixel47_blk_n, "src_V_pixel47_blk_n"); sc_trace(mVcdFile, src_V_pixel48_blk_n, "src_V_pixel48_blk_n"); sc_trace(mVcdFile, src_V_pixel49_blk_n, "src_V_pixel49_blk_n"); sc_trace(mVcdFile, src_V_pixel50_blk_n, "src_V_pixel50_blk_n"); sc_trace(mVcdFile, src_V_pixel51_blk_n, "src_V_pixel51_blk_n"); sc_trace(mVcdFile, src_V_pixel52_blk_n, "src_V_pixel52_blk_n"); sc_trace(mVcdFile, src_V_pixel53_blk_n, "src_V_pixel53_blk_n"); sc_trace(mVcdFile, src_V_pixel54_blk_n, "src_V_pixel54_blk_n"); sc_trace(mVcdFile, src_V_pixel55_blk_n, "src_V_pixel55_blk_n"); sc_trace(mVcdFile, src_V_pixel56_blk_n, "src_V_pixel56_blk_n"); sc_trace(mVcdFile, src_V_pixel57_blk_n, "src_V_pixel57_blk_n"); sc_trace(mVcdFile, src_V_pixel58_blk_n, "src_V_pixel58_blk_n"); sc_trace(mVcdFile, src_V_pixel59_blk_n, "src_V_pixel59_blk_n"); sc_trace(mVcdFile, src_V_pixel60_blk_n, "src_V_pixel60_blk_n"); sc_trace(mVcdFile, src_V_pixel61_blk_n, "src_V_pixel61_blk_n"); sc_trace(mVcdFile, src_V_pixel62_blk_n, "src_V_pixel62_blk_n"); sc_trace(mVcdFile, src_V_pixel63_blk_n, "src_V_pixel63_blk_n"); sc_trace(mVcdFile, src_V_pixel64_blk_n, "src_V_pixel64_blk_n"); sc_trace(mVcdFile, src_V_pixel65_blk_n, "src_V_pixel65_blk_n"); sc_trace(mVcdFile, src_V_pixel66_blk_n, "src_V_pixel66_blk_n"); sc_trace(mVcdFile, src_V_pixel67_blk_n, "src_V_pixel67_blk_n"); sc_trace(mVcdFile, src_V_pixel68_blk_n, "src_V_pixel68_blk_n"); sc_trace(mVcdFile, src_V_pixel69_blk_n, "src_V_pixel69_blk_n"); sc_trace(mVcdFile, src_V_pixel70_blk_n, "src_V_pixel70_blk_n"); sc_trace(mVcdFile, src_V_pixel71_blk_n, "src_V_pixel71_blk_n"); sc_trace(mVcdFile, src_V_pixel72_blk_n, "src_V_pixel72_blk_n"); sc_trace(mVcdFile, dst_V_pixel_blk_n, "dst_V_pixel_blk_n"); sc_trace(mVcdFile, ap_sig_cseq_ST_st40_fsm_39, "ap_sig_cseq_ST_st40_fsm_39"); sc_trace(mVcdFile, ap_sig_762, "ap_sig_762"); sc_trace(mVcdFile, icmp_reg_12818, "icmp_reg_12818"); sc_trace(mVcdFile, dst_V_pixel73_blk_n, "dst_V_pixel73_blk_n"); sc_trace(mVcdFile, dst_V_pixel74_blk_n, "dst_V_pixel74_blk_n"); sc_trace(mVcdFile, dst_V_pixel75_blk_n, "dst_V_pixel75_blk_n"); sc_trace(mVcdFile, dst_V_pixel76_blk_n, "dst_V_pixel76_blk_n"); sc_trace(mVcdFile, dst_V_pixel77_blk_n, "dst_V_pixel77_blk_n"); sc_trace(mVcdFile, dst_V_pixel78_blk_n, "dst_V_pixel78_blk_n"); sc_trace(mVcdFile, dst_V_pixel79_blk_n, "dst_V_pixel79_blk_n"); sc_trace(mVcdFile, dst_V_pixel80_blk_n, "dst_V_pixel80_blk_n"); sc_trace(mVcdFile, dst_V_pixel81_blk_n, "dst_V_pixel81_blk_n"); sc_trace(mVcdFile, dst_V_pixel82_blk_n, "dst_V_pixel82_blk_n"); sc_trace(mVcdFile, dst_V_pixel83_blk_n, "dst_V_pixel83_blk_n"); sc_trace(mVcdFile, dst_V_pixel84_blk_n, "dst_V_pixel84_blk_n"); sc_trace(mVcdFile, dst_V_pixel85_blk_n, "dst_V_pixel85_blk_n"); sc_trace(mVcdFile, dst_V_pixel86_blk_n, "dst_V_pixel86_blk_n"); sc_trace(mVcdFile, dst_V_pixel87_blk_n, "dst_V_pixel87_blk_n"); sc_trace(mVcdFile, dst_V_pixel88_blk_n, "dst_V_pixel88_blk_n"); sc_trace(mVcdFile, dst_V_pixel89_blk_n, "dst_V_pixel89_blk_n"); sc_trace(mVcdFile, dst_V_pixel90_blk_n, "dst_V_pixel90_blk_n"); sc_trace(mVcdFile, dst_V_pixel91_blk_n, "dst_V_pixel91_blk_n"); sc_trace(mVcdFile, dst_V_pixel92_blk_n, "dst_V_pixel92_blk_n"); sc_trace(mVcdFile, dst_V_pixel93_blk_n, "dst_V_pixel93_blk_n"); sc_trace(mVcdFile, dst_V_pixel94_blk_n, "dst_V_pixel94_blk_n"); sc_trace(mVcdFile, dst_V_pixel95_blk_n, "dst_V_pixel95_blk_n"); sc_trace(mVcdFile, dst_V_pixel96_blk_n, "dst_V_pixel96_blk_n"); sc_trace(mVcdFile, dst_V_pixel97_blk_n, "dst_V_pixel97_blk_n"); sc_trace(mVcdFile, dst_V_pixel98_blk_n, "dst_V_pixel98_blk_n"); sc_trace(mVcdFile, dst_V_pixel99_blk_n, "dst_V_pixel99_blk_n"); sc_trace(mVcdFile, dst_V_pixel100_blk_n, "dst_V_pixel100_blk_n"); sc_trace(mVcdFile, dst_V_pixel101_blk_n, "dst_V_pixel101_blk_n"); sc_trace(mVcdFile, dst_V_pixel102_blk_n, "dst_V_pixel102_blk_n"); sc_trace(mVcdFile, dst_V_pixel103_blk_n, "dst_V_pixel103_blk_n"); sc_trace(mVcdFile, dst_V_pixel104_blk_n, "dst_V_pixel104_blk_n"); sc_trace(mVcdFile, dst_V_pixel105_blk_n, "dst_V_pixel105_blk_n"); sc_trace(mVcdFile, dst_V_pixel106_blk_n, "dst_V_pixel106_blk_n"); sc_trace(mVcdFile, dst_V_pixel107_blk_n, "dst_V_pixel107_blk_n"); sc_trace(mVcdFile, dst_V_pixel108_blk_n, "dst_V_pixel108_blk_n"); sc_trace(mVcdFile, dst_V_pixel109_blk_n, "dst_V_pixel109_blk_n"); sc_trace(mVcdFile, dst_V_pixel110_blk_n, "dst_V_pixel110_blk_n"); sc_trace(mVcdFile, dst_V_pixel111_blk_n, "dst_V_pixel111_blk_n"); sc_trace(mVcdFile, dst_V_pixel112_blk_n, "dst_V_pixel112_blk_n"); sc_trace(mVcdFile, dst_V_pixel113_blk_n, "dst_V_pixel113_blk_n"); sc_trace(mVcdFile, dst_V_pixel114_blk_n, "dst_V_pixel114_blk_n"); sc_trace(mVcdFile, dst_V_pixel115_blk_n, "dst_V_pixel115_blk_n"); sc_trace(mVcdFile, dst_V_pixel116_blk_n, "dst_V_pixel116_blk_n"); sc_trace(mVcdFile, dst_V_pixel117_blk_n, "dst_V_pixel117_blk_n"); sc_trace(mVcdFile, dst_V_pixel118_blk_n, "dst_V_pixel118_blk_n"); sc_trace(mVcdFile, dst_V_pixel119_blk_n, "dst_V_pixel119_blk_n"); sc_trace(mVcdFile, dst_V_pixel120_blk_n, "dst_V_pixel120_blk_n"); sc_trace(mVcdFile, dst_V_pixel121_blk_n, "dst_V_pixel121_blk_n"); sc_trace(mVcdFile, dst_V_pixel122_blk_n, "dst_V_pixel122_blk_n"); sc_trace(mVcdFile, dst_V_pixel123_blk_n, "dst_V_pixel123_blk_n"); sc_trace(mVcdFile, dst_V_pixel124_blk_n, "dst_V_pixel124_blk_n"); sc_trace(mVcdFile, dst_V_pixel125_blk_n, "dst_V_pixel125_blk_n"); sc_trace(mVcdFile, dst_V_pixel126_blk_n, "dst_V_pixel126_blk_n"); sc_trace(mVcdFile, dst_V_pixel127_blk_n, "dst_V_pixel127_blk_n"); sc_trace(mVcdFile, dst_V_pixel128_blk_n, "dst_V_pixel128_blk_n"); sc_trace(mVcdFile, dst_V_pixel129_blk_n, "dst_V_pixel129_blk_n"); sc_trace(mVcdFile, dst_V_pixel130_blk_n, "dst_V_pixel130_blk_n"); sc_trace(mVcdFile, dst_V_pixel131_blk_n, "dst_V_pixel131_blk_n"); sc_trace(mVcdFile, dst_V_pixel132_blk_n, "dst_V_pixel132_blk_n"); sc_trace(mVcdFile, dst_V_pixel133_blk_n, "dst_V_pixel133_blk_n"); sc_trace(mVcdFile, dst_V_pixel134_blk_n, "dst_V_pixel134_blk_n"); sc_trace(mVcdFile, dst_V_pixel135_blk_n, "dst_V_pixel135_blk_n"); sc_trace(mVcdFile, dst_V_pixel136_blk_n, "dst_V_pixel136_blk_n"); sc_trace(mVcdFile, dst_V_pixel137_blk_n, "dst_V_pixel137_blk_n"); sc_trace(mVcdFile, dst_V_pixel138_blk_n, "dst_V_pixel138_blk_n"); sc_trace(mVcdFile, dst_V_pixel139_blk_n, "dst_V_pixel139_blk_n"); sc_trace(mVcdFile, dst_V_pixel140_blk_n, "dst_V_pixel140_blk_n"); sc_trace(mVcdFile, dst_V_pixel141_blk_n, "dst_V_pixel141_blk_n"); sc_trace(mVcdFile, dst_V_pixel142_blk_n, "dst_V_pixel142_blk_n"); sc_trace(mVcdFile, linebuf_1_pixel_q0, "linebuf_1_pixel_q0"); sc_trace(mVcdFile, reg_3214, "reg_3214"); sc_trace(mVcdFile, ap_sig_cseq_ST_st3_fsm_2, "ap_sig_cseq_ST_st3_fsm_2"); sc_trace(mVcdFile, ap_sig_845, "ap_sig_845"); sc_trace(mVcdFile, src_V_pixel0_status, "src_V_pixel0_status"); sc_trace(mVcdFile, linebuf_0_pixel_q0, "linebuf_0_pixel_q0"); sc_trace(mVcdFile, reg_3218, "reg_3218"); sc_trace(mVcdFile, linebuf_0_pixel_q1, "linebuf_0_pixel_q1"); sc_trace(mVcdFile, reg_3223, "reg_3223"); sc_trace(mVcdFile, ap_sig_cseq_ST_st39_fsm_38, "ap_sig_cseq_ST_st39_fsm_38"); sc_trace(mVcdFile, ap_sig_861, "ap_sig_861"); sc_trace(mVcdFile, ap_sig_868, "ap_sig_868"); sc_trace(mVcdFile, x_3_fu_3236_p2, "x_3_fu_3236_p2"); sc_trace(mVcdFile, x_3_reg_12813, "x_3_reg_12813"); sc_trace(mVcdFile, ap_sig_cseq_ST_st2_fsm_1, "ap_sig_cseq_ST_st2_fsm_1"); sc_trace(mVcdFile, ap_sig_1168, "ap_sig_1168"); sc_trace(mVcdFile, icmp_fu_3252_p2, "icmp_fu_3252_p2"); sc_trace(mVcdFile, exitcond1_fu_3230_p2, "exitcond1_fu_3230_p2"); sc_trace(mVcdFile, linebuf_1_pixel_q1, "linebuf_1_pixel_q1"); sc_trace(mVcdFile, linebuf_1_pixel_load_1_reg_12822, "linebuf_1_pixel_load_1_reg_12822"); sc_trace(mVcdFile, linebuf_1_pixel_load_2_reg_12828, "linebuf_1_pixel_load_2_reg_12828"); sc_trace(mVcdFile, ap_sig_cseq_ST_st4_fsm_3, "ap_sig_cseq_ST_st4_fsm_3"); sc_trace(mVcdFile, ap_sig_1182, "ap_sig_1182"); sc_trace(mVcdFile, linebuf_1_pixel_load_3_reg_12835, "linebuf_1_pixel_load_3_reg_12835"); sc_trace(mVcdFile, linebuf_0_pixel_load_2_reg_12842, "linebuf_0_pixel_load_2_reg_12842"); sc_trace(mVcdFile, linebuf_0_pixel_load_3_reg_12847, "linebuf_0_pixel_load_3_reg_12847"); sc_trace(mVcdFile, linebuf_1_pixel_load_4_reg_12852, "linebuf_1_pixel_load_4_reg_12852"); sc_trace(mVcdFile, ap_sig_cseq_ST_st5_fsm_4, "ap_sig_cseq_ST_st5_fsm_4"); sc_trace(mVcdFile, ap_sig_1193, "ap_sig_1193"); sc_trace(mVcdFile, linebuf_1_pixel_load_5_reg_12859, "linebuf_1_pixel_load_5_reg_12859"); sc_trace(mVcdFile, linebuf_0_pixel_load_4_reg_12866, "linebuf_0_pixel_load_4_reg_12866"); sc_trace(mVcdFile, linebuf_0_pixel_load_5_reg_12871, "linebuf_0_pixel_load_5_reg_12871"); sc_trace(mVcdFile, linebuf_1_pixel_load_6_reg_12876, "linebuf_1_pixel_load_6_reg_12876"); sc_trace(mVcdFile, ap_sig_cseq_ST_st6_fsm_5, "ap_sig_cseq_ST_st6_fsm_5"); sc_trace(mVcdFile, ap_sig_1204, "ap_sig_1204"); sc_trace(mVcdFile, linebuf_1_pixel_load_7_reg_12883, "linebuf_1_pixel_load_7_reg_12883"); sc_trace(mVcdFile, linebuf_0_pixel_load_6_reg_12890, "linebuf_0_pixel_load_6_reg_12890"); sc_trace(mVcdFile, linebuf_0_pixel_load_7_reg_12895, "linebuf_0_pixel_load_7_reg_12895"); sc_trace(mVcdFile, linebuf_1_pixel_load_8_reg_12900, "linebuf_1_pixel_load_8_reg_12900"); sc_trace(mVcdFile, ap_sig_cseq_ST_st7_fsm_6, "ap_sig_cseq_ST_st7_fsm_6"); sc_trace(mVcdFile, ap_sig_1215, "ap_sig_1215"); sc_trace(mVcdFile, linebuf_1_pixel_load_9_reg_12907, "linebuf_1_pixel_load_9_reg_12907"); sc_trace(mVcdFile, linebuf_0_pixel_load_8_reg_12914, "linebuf_0_pixel_load_8_reg_12914"); sc_trace(mVcdFile, linebuf_0_pixel_load_9_reg_12919, "linebuf_0_pixel_load_9_reg_12919"); sc_trace(mVcdFile, linebuf_1_pixel_load_10_reg_12924, "linebuf_1_pixel_load_10_reg_12924"); sc_trace(mVcdFile, ap_sig_cseq_ST_st8_fsm_7, "ap_sig_cseq_ST_st8_fsm_7"); sc_trace(mVcdFile, ap_sig_1226, "ap_sig_1226"); sc_trace(mVcdFile, linebuf_1_pixel_load_11_reg_12931, "linebuf_1_pixel_load_11_reg_12931"); sc_trace(mVcdFile, linebuf_0_pixel_load_10_reg_12938, "linebuf_0_pixel_load_10_reg_12938"); sc_trace(mVcdFile, linebuf_0_pixel_load_11_reg_12943, "linebuf_0_pixel_load_11_reg_12943"); sc_trace(mVcdFile, linebuf_1_pixel_load_12_reg_12948, "linebuf_1_pixel_load_12_reg_12948"); sc_trace(mVcdFile, ap_sig_cseq_ST_st9_fsm_8, "ap_sig_cseq_ST_st9_fsm_8"); sc_trace(mVcdFile, ap_sig_1237, "ap_sig_1237"); sc_trace(mVcdFile, linebuf_1_pixel_load_13_reg_12955, "linebuf_1_pixel_load_13_reg_12955"); sc_trace(mVcdFile, linebuf_0_pixel_load_12_reg_12962, "linebuf_0_pixel_load_12_reg_12962"); sc_trace(mVcdFile, linebuf_0_pixel_load_13_reg_12967, "linebuf_0_pixel_load_13_reg_12967"); sc_trace(mVcdFile, linebuf_1_pixel_load_14_reg_12972, "linebuf_1_pixel_load_14_reg_12972"); sc_trace(mVcdFile, ap_sig_cseq_ST_st10_fsm_9, "ap_sig_cseq_ST_st10_fsm_9"); sc_trace(mVcdFile, ap_sig_1248, "ap_sig_1248"); sc_trace(mVcdFile, linebuf_1_pixel_load_15_reg_12979, "linebuf_1_pixel_load_15_reg_12979"); sc_trace(mVcdFile, linebuf_0_pixel_load_14_reg_12986, "linebuf_0_pixel_load_14_reg_12986"); sc_trace(mVcdFile, linebuf_0_pixel_load_15_reg_12991, "linebuf_0_pixel_load_15_reg_12991"); sc_trace(mVcdFile, linebuf_1_pixel_load_16_reg_12996, "linebuf_1_pixel_load_16_reg_12996"); sc_trace(mVcdFile, ap_sig_cseq_ST_st11_fsm_10, "ap_sig_cseq_ST_st11_fsm_10"); sc_trace(mVcdFile, ap_sig_1259, "ap_sig_1259"); sc_trace(mVcdFile, linebuf_1_pixel_load_17_reg_13003, "linebuf_1_pixel_load_17_reg_13003"); sc_trace(mVcdFile, linebuf_0_pixel_load_16_reg_13010, "linebuf_0_pixel_load_16_reg_13010"); sc_trace(mVcdFile, linebuf_0_pixel_load_17_reg_13015, "linebuf_0_pixel_load_17_reg_13015"); sc_trace(mVcdFile, linebuf_1_pixel_load_18_reg_13020, "linebuf_1_pixel_load_18_reg_13020"); sc_trace(mVcdFile, ap_sig_cseq_ST_st12_fsm_11, "ap_sig_cseq_ST_st12_fsm_11"); sc_trace(mVcdFile, ap_sig_1270, "ap_sig_1270"); sc_trace(mVcdFile, linebuf_1_pixel_load_19_reg_13027, "linebuf_1_pixel_load_19_reg_13027"); sc_trace(mVcdFile, linebuf_0_pixel_load_18_reg_13034, "linebuf_0_pixel_load_18_reg_13034"); sc_trace(mVcdFile, linebuf_0_pixel_load_19_reg_13039, "linebuf_0_pixel_load_19_reg_13039"); sc_trace(mVcdFile, linebuf_1_pixel_load_20_reg_13044, "linebuf_1_pixel_load_20_reg_13044"); sc_trace(mVcdFile, ap_sig_cseq_ST_st13_fsm_12, "ap_sig_cseq_ST_st13_fsm_12"); sc_trace(mVcdFile, ap_sig_1281, "ap_sig_1281"); sc_trace(mVcdFile, linebuf_1_pixel_load_21_reg_13051, "linebuf_1_pixel_load_21_reg_13051"); sc_trace(mVcdFile, linebuf_0_pixel_load_20_reg_13058, "linebuf_0_pixel_load_20_reg_13058"); sc_trace(mVcdFile, linebuf_0_pixel_load_21_reg_13063, "linebuf_0_pixel_load_21_reg_13063"); sc_trace(mVcdFile, linebuf_1_pixel_load_22_reg_13068, "linebuf_1_pixel_load_22_reg_13068"); sc_trace(mVcdFile, ap_sig_cseq_ST_st14_fsm_13, "ap_sig_cseq_ST_st14_fsm_13"); sc_trace(mVcdFile, ap_sig_1292, "ap_sig_1292"); sc_trace(mVcdFile, linebuf_1_pixel_load_23_reg_13075, "linebuf_1_pixel_load_23_reg_13075"); sc_trace(mVcdFile, linebuf_0_pixel_load_22_reg_13082, "linebuf_0_pixel_load_22_reg_13082"); sc_trace(mVcdFile, linebuf_0_pixel_load_23_reg_13087, "linebuf_0_pixel_load_23_reg_13087"); sc_trace(mVcdFile, linebuf_1_pixel_load_24_reg_13092, "linebuf_1_pixel_load_24_reg_13092"); sc_trace(mVcdFile, ap_sig_cseq_ST_st15_fsm_14, "ap_sig_cseq_ST_st15_fsm_14"); sc_trace(mVcdFile, ap_sig_1303, "ap_sig_1303"); sc_trace(mVcdFile, linebuf_1_pixel_load_25_reg_13099, "linebuf_1_pixel_load_25_reg_13099"); sc_trace(mVcdFile, linebuf_0_pixel_load_24_reg_13106, "linebuf_0_pixel_load_24_reg_13106"); sc_trace(mVcdFile, linebuf_0_pixel_load_25_reg_13111, "linebuf_0_pixel_load_25_reg_13111"); sc_trace(mVcdFile, linebuf_1_pixel_load_26_reg_13116, "linebuf_1_pixel_load_26_reg_13116"); sc_trace(mVcdFile, ap_sig_cseq_ST_st16_fsm_15, "ap_sig_cseq_ST_st16_fsm_15"); sc_trace(mVcdFile, ap_sig_1314, "ap_sig_1314"); sc_trace(mVcdFile, linebuf_1_pixel_load_27_reg_13123, "linebuf_1_pixel_load_27_reg_13123"); sc_trace(mVcdFile, linebuf_0_pixel_load_26_reg_13130, "linebuf_0_pixel_load_26_reg_13130"); sc_trace(mVcdFile, linebuf_0_pixel_load_27_reg_13135, "linebuf_0_pixel_load_27_reg_13135"); sc_trace(mVcdFile, linebuf_1_pixel_load_28_reg_13140, "linebuf_1_pixel_load_28_reg_13140"); sc_trace(mVcdFile, ap_sig_cseq_ST_st17_fsm_16, "ap_sig_cseq_ST_st17_fsm_16"); sc_trace(mVcdFile, ap_sig_1325, "ap_sig_1325"); sc_trace(mVcdFile, linebuf_1_pixel_load_29_reg_13147, "linebuf_1_pixel_load_29_reg_13147"); sc_trace(mVcdFile, linebuf_0_pixel_load_28_reg_13154, "linebuf_0_pixel_load_28_reg_13154"); sc_trace(mVcdFile, linebuf_0_pixel_load_29_reg_13159, "linebuf_0_pixel_load_29_reg_13159"); sc_trace(mVcdFile, linebuf_1_pixel_load_30_reg_13164, "linebuf_1_pixel_load_30_reg_13164"); sc_trace(mVcdFile, ap_sig_cseq_ST_st18_fsm_17, "ap_sig_cseq_ST_st18_fsm_17"); sc_trace(mVcdFile, ap_sig_1336, "ap_sig_1336"); sc_trace(mVcdFile, linebuf_1_pixel_load_31_reg_13171, "linebuf_1_pixel_load_31_reg_13171"); sc_trace(mVcdFile, linebuf_0_pixel_load_30_reg_13178, "linebuf_0_pixel_load_30_reg_13178"); sc_trace(mVcdFile, linebuf_0_pixel_load_31_reg_13183, "linebuf_0_pixel_load_31_reg_13183"); sc_trace(mVcdFile, linebuf_1_pixel_load_32_reg_13188, "linebuf_1_pixel_load_32_reg_13188"); sc_trace(mVcdFile, ap_sig_cseq_ST_st19_fsm_18, "ap_sig_cseq_ST_st19_fsm_18"); sc_trace(mVcdFile, ap_sig_1347, "ap_sig_1347"); sc_trace(mVcdFile, linebuf_1_pixel_load_33_reg_13195, "linebuf_1_pixel_load_33_reg_13195"); sc_trace(mVcdFile, linebuf_0_pixel_load_32_reg_13202, "linebuf_0_pixel_load_32_reg_13202"); sc_trace(mVcdFile, linebuf_0_pixel_load_33_reg_13207, "linebuf_0_pixel_load_33_reg_13207"); sc_trace(mVcdFile, linebuf_1_pixel_load_34_reg_13212, "linebuf_1_pixel_load_34_reg_13212"); sc_trace(mVcdFile, ap_sig_cseq_ST_st20_fsm_19, "ap_sig_cseq_ST_st20_fsm_19"); sc_trace(mVcdFile, ap_sig_1358, "ap_sig_1358"); sc_trace(mVcdFile, linebuf_1_pixel_load_35_reg_13219, "linebuf_1_pixel_load_35_reg_13219"); sc_trace(mVcdFile, linebuf_0_pixel_load_34_reg_13226, "linebuf_0_pixel_load_34_reg_13226"); sc_trace(mVcdFile, linebuf_0_pixel_load_35_reg_13231, "linebuf_0_pixel_load_35_reg_13231"); sc_trace(mVcdFile, linebuf_1_pixel_load_36_reg_13236, "linebuf_1_pixel_load_36_reg_13236"); sc_trace(mVcdFile, ap_sig_cseq_ST_st21_fsm_20, "ap_sig_cseq_ST_st21_fsm_20"); sc_trace(mVcdFile, ap_sig_1369, "ap_sig_1369"); sc_trace(mVcdFile, linebuf_1_pixel_load_37_reg_13243, "linebuf_1_pixel_load_37_reg_13243"); sc_trace(mVcdFile, linebuf_0_pixel_load_36_reg_13250, "linebuf_0_pixel_load_36_reg_13250"); sc_trace(mVcdFile, linebuf_0_pixel_load_37_reg_13255, "linebuf_0_pixel_load_37_reg_13255"); sc_trace(mVcdFile, linebuf_1_pixel_load_38_reg_13260, "linebuf_1_pixel_load_38_reg_13260"); sc_trace(mVcdFile, ap_sig_cseq_ST_st22_fsm_21, "ap_sig_cseq_ST_st22_fsm_21"); sc_trace(mVcdFile, ap_sig_1380, "ap_sig_1380"); sc_trace(mVcdFile, linebuf_1_pixel_load_39_reg_13267, "linebuf_1_pixel_load_39_reg_13267"); sc_trace(mVcdFile, linebuf_0_pixel_load_38_reg_13274, "linebuf_0_pixel_load_38_reg_13274"); sc_trace(mVcdFile, linebuf_0_pixel_load_39_reg_13279, "linebuf_0_pixel_load_39_reg_13279"); sc_trace(mVcdFile, linebuf_1_pixel_load_40_reg_13284, "linebuf_1_pixel_load_40_reg_13284"); sc_trace(mVcdFile, ap_sig_cseq_ST_st23_fsm_22, "ap_sig_cseq_ST_st23_fsm_22"); sc_trace(mVcdFile, ap_sig_1391, "ap_sig_1391"); sc_trace(mVcdFile, linebuf_1_pixel_load_41_reg_13291, "linebuf_1_pixel_load_41_reg_13291"); sc_trace(mVcdFile, linebuf_0_pixel_load_40_reg_13298, "linebuf_0_pixel_load_40_reg_13298"); sc_trace(mVcdFile, linebuf_0_pixel_load_41_reg_13303, "linebuf_0_pixel_load_41_reg_13303"); sc_trace(mVcdFile, linebuf_1_pixel_load_42_reg_13308, "linebuf_1_pixel_load_42_reg_13308"); sc_trace(mVcdFile, ap_sig_cseq_ST_st24_fsm_23, "ap_sig_cseq_ST_st24_fsm_23"); sc_trace(mVcdFile, ap_sig_1402, "ap_sig_1402"); sc_trace(mVcdFile, linebuf_1_pixel_load_43_reg_13315, "linebuf_1_pixel_load_43_reg_13315"); sc_trace(mVcdFile, linebuf_0_pixel_load_42_reg_13322, "linebuf_0_pixel_load_42_reg_13322"); sc_trace(mVcdFile, linebuf_0_pixel_load_43_reg_13327, "linebuf_0_pixel_load_43_reg_13327"); sc_trace(mVcdFile, linebuf_1_pixel_load_44_reg_13332, "linebuf_1_pixel_load_44_reg_13332"); sc_trace(mVcdFile, ap_sig_cseq_ST_st25_fsm_24, "ap_sig_cseq_ST_st25_fsm_24"); sc_trace(mVcdFile, ap_sig_1413, "ap_sig_1413"); sc_trace(mVcdFile, linebuf_1_pixel_load_45_reg_13339, "linebuf_1_pixel_load_45_reg_13339"); sc_trace(mVcdFile, linebuf_0_pixel_load_44_reg_13346, "linebuf_0_pixel_load_44_reg_13346"); sc_trace(mVcdFile, linebuf_0_pixel_load_45_reg_13351, "linebuf_0_pixel_load_45_reg_13351"); sc_trace(mVcdFile, linebuf_1_pixel_load_46_reg_13356, "linebuf_1_pixel_load_46_reg_13356"); sc_trace(mVcdFile, ap_sig_cseq_ST_st26_fsm_25, "ap_sig_cseq_ST_st26_fsm_25"); sc_trace(mVcdFile, ap_sig_1424, "ap_sig_1424"); sc_trace(mVcdFile, linebuf_1_pixel_load_47_reg_13363, "linebuf_1_pixel_load_47_reg_13363"); sc_trace(mVcdFile, linebuf_0_pixel_load_46_reg_13370, "linebuf_0_pixel_load_46_reg_13370"); sc_trace(mVcdFile, linebuf_0_pixel_load_47_reg_13375, "linebuf_0_pixel_load_47_reg_13375"); sc_trace(mVcdFile, linebuf_1_pixel_load_48_reg_13380, "linebuf_1_pixel_load_48_reg_13380"); sc_trace(mVcdFile, ap_sig_cseq_ST_st27_fsm_26, "ap_sig_cseq_ST_st27_fsm_26"); sc_trace(mVcdFile, ap_sig_1435, "ap_sig_1435"); sc_trace(mVcdFile, linebuf_1_pixel_load_49_reg_13387, "linebuf_1_pixel_load_49_reg_13387"); sc_trace(mVcdFile, linebuf_0_pixel_load_48_reg_13394, "linebuf_0_pixel_load_48_reg_13394"); sc_trace(mVcdFile, linebuf_0_pixel_load_49_reg_13399, "linebuf_0_pixel_load_49_reg_13399"); sc_trace(mVcdFile, linebuf_1_pixel_load_50_reg_13404, "linebuf_1_pixel_load_50_reg_13404"); sc_trace(mVcdFile, ap_sig_cseq_ST_st28_fsm_27, "ap_sig_cseq_ST_st28_fsm_27"); sc_trace(mVcdFile, ap_sig_1446, "ap_sig_1446"); sc_trace(mVcdFile, linebuf_1_pixel_load_51_reg_13411, "linebuf_1_pixel_load_51_reg_13411"); sc_trace(mVcdFile, linebuf_0_pixel_load_50_reg_13418, "linebuf_0_pixel_load_50_reg_13418"); sc_trace(mVcdFile, linebuf_0_pixel_load_51_reg_13423, "linebuf_0_pixel_load_51_reg_13423"); sc_trace(mVcdFile, linebuf_1_pixel_load_52_reg_13428, "linebuf_1_pixel_load_52_reg_13428"); sc_trace(mVcdFile, ap_sig_cseq_ST_st29_fsm_28, "ap_sig_cseq_ST_st29_fsm_28"); sc_trace(mVcdFile, ap_sig_1457, "ap_sig_1457"); sc_trace(mVcdFile, linebuf_1_pixel_load_53_reg_13435, "linebuf_1_pixel_load_53_reg_13435"); sc_trace(mVcdFile, linebuf_0_pixel_load_52_reg_13442, "linebuf_0_pixel_load_52_reg_13442"); sc_trace(mVcdFile, linebuf_0_pixel_load_53_reg_13447, "linebuf_0_pixel_load_53_reg_13447"); sc_trace(mVcdFile, linebuf_1_pixel_load_54_reg_13452, "linebuf_1_pixel_load_54_reg_13452"); sc_trace(mVcdFile, ap_sig_cseq_ST_st30_fsm_29, "ap_sig_cseq_ST_st30_fsm_29"); sc_trace(mVcdFile, ap_sig_1468, "ap_sig_1468"); sc_trace(mVcdFile, linebuf_1_pixel_load_55_reg_13459, "linebuf_1_pixel_load_55_reg_13459"); sc_trace(mVcdFile, linebuf_0_pixel_load_54_reg_13466, "linebuf_0_pixel_load_54_reg_13466"); sc_trace(mVcdFile, linebuf_0_pixel_load_55_reg_13471, "linebuf_0_pixel_load_55_reg_13471"); sc_trace(mVcdFile, linebuf_1_pixel_load_56_reg_13476, "linebuf_1_pixel_load_56_reg_13476"); sc_trace(mVcdFile, ap_sig_cseq_ST_st31_fsm_30, "ap_sig_cseq_ST_st31_fsm_30"); sc_trace(mVcdFile, ap_sig_1479, "ap_sig_1479"); sc_trace(mVcdFile, linebuf_1_pixel_load_57_reg_13483, "linebuf_1_pixel_load_57_reg_13483"); sc_trace(mVcdFile, linebuf_0_pixel_load_56_reg_13490, "linebuf_0_pixel_load_56_reg_13490"); sc_trace(mVcdFile, linebuf_0_pixel_load_57_reg_13495, "linebuf_0_pixel_load_57_reg_13495"); sc_trace(mVcdFile, linebuf_1_pixel_load_58_reg_13500, "linebuf_1_pixel_load_58_reg_13500"); sc_trace(mVcdFile, ap_sig_cseq_ST_st32_fsm_31, "ap_sig_cseq_ST_st32_fsm_31"); sc_trace(mVcdFile, ap_sig_1490, "ap_sig_1490"); sc_trace(mVcdFile, linebuf_1_pixel_load_59_reg_13507, "linebuf_1_pixel_load_59_reg_13507"); sc_trace(mVcdFile, linebuf_0_pixel_load_58_reg_13514, "linebuf_0_pixel_load_58_reg_13514"); sc_trace(mVcdFile, linebuf_0_pixel_load_59_reg_13519, "linebuf_0_pixel_load_59_reg_13519"); sc_trace(mVcdFile, linebuf_1_pixel_load_60_reg_13524, "linebuf_1_pixel_load_60_reg_13524"); sc_trace(mVcdFile, ap_sig_cseq_ST_st33_fsm_32, "ap_sig_cseq_ST_st33_fsm_32"); sc_trace(mVcdFile, ap_sig_1501, "ap_sig_1501"); sc_trace(mVcdFile, linebuf_1_pixel_load_61_reg_13531, "linebuf_1_pixel_load_61_reg_13531"); sc_trace(mVcdFile, linebuf_0_pixel_load_60_reg_13538, "linebuf_0_pixel_load_60_reg_13538"); sc_trace(mVcdFile, linebuf_0_pixel_load_61_reg_13543, "linebuf_0_pixel_load_61_reg_13543"); sc_trace(mVcdFile, linebuf_1_pixel_load_62_reg_13548, "linebuf_1_pixel_load_62_reg_13548"); sc_trace(mVcdFile, ap_sig_cseq_ST_st34_fsm_33, "ap_sig_cseq_ST_st34_fsm_33"); sc_trace(mVcdFile, ap_sig_1512, "ap_sig_1512"); sc_trace(mVcdFile, linebuf_1_pixel_load_63_reg_13555, "linebuf_1_pixel_load_63_reg_13555"); sc_trace(mVcdFile, linebuf_0_pixel_load_62_reg_13562, "linebuf_0_pixel_load_62_reg_13562"); sc_trace(mVcdFile, linebuf_0_pixel_load_63_reg_13567, "linebuf_0_pixel_load_63_reg_13567"); sc_trace(mVcdFile, linebuf_1_pixel_load_64_reg_13572, "linebuf_1_pixel_load_64_reg_13572"); sc_trace(mVcdFile, ap_sig_cseq_ST_st35_fsm_34, "ap_sig_cseq_ST_st35_fsm_34"); sc_trace(mVcdFile, ap_sig_1523, "ap_sig_1523"); sc_trace(mVcdFile, linebuf_1_pixel_load_65_reg_13579, "linebuf_1_pixel_load_65_reg_13579"); sc_trace(mVcdFile, linebuf_0_pixel_load_64_reg_13586, "linebuf_0_pixel_load_64_reg_13586"); sc_trace(mVcdFile, linebuf_0_pixel_load_65_reg_13591, "linebuf_0_pixel_load_65_reg_13591"); sc_trace(mVcdFile, linebuf_1_pixel_load_66_reg_13596, "linebuf_1_pixel_load_66_reg_13596"); sc_trace(mVcdFile, ap_sig_cseq_ST_st36_fsm_35, "ap_sig_cseq_ST_st36_fsm_35"); sc_trace(mVcdFile, ap_sig_1534, "ap_sig_1534"); sc_trace(mVcdFile, linebuf_1_pixel_load_67_reg_13603, "linebuf_1_pixel_load_67_reg_13603"); sc_trace(mVcdFile, linebuf_0_pixel_load_66_reg_13610, "linebuf_0_pixel_load_66_reg_13610"); sc_trace(mVcdFile, linebuf_0_pixel_load_67_reg_13615, "linebuf_0_pixel_load_67_reg_13615"); sc_trace(mVcdFile, linebuf_1_pixel_load_68_reg_13620, "linebuf_1_pixel_load_68_reg_13620"); sc_trace(mVcdFile, ap_sig_cseq_ST_st37_fsm_36, "ap_sig_cseq_ST_st37_fsm_36"); sc_trace(mVcdFile, ap_sig_1545, "ap_sig_1545"); sc_trace(mVcdFile, linebuf_1_pixel_load_69_reg_13627, "linebuf_1_pixel_load_69_reg_13627"); sc_trace(mVcdFile, linebuf_0_pixel_load_68_reg_13634, "linebuf_0_pixel_load_68_reg_13634"); sc_trace(mVcdFile, linebuf_0_pixel_load_69_reg_13639, "linebuf_0_pixel_load_69_reg_13639"); sc_trace(mVcdFile, tmp_pixel_1_reg_13644, "tmp_pixel_1_reg_13644"); sc_trace(mVcdFile, tmp_pixel_2_reg_13650, "tmp_pixel_2_reg_13650"); sc_trace(mVcdFile, tmp_pixel_3_reg_13657, "tmp_pixel_3_reg_13657"); sc_trace(mVcdFile, tmp_pixel_4_reg_13664, "tmp_pixel_4_reg_13664"); sc_trace(mVcdFile, tmp_pixel_5_reg_13671, "tmp_pixel_5_reg_13671"); sc_trace(mVcdFile, tmp_pixel_6_reg_13678, "tmp_pixel_6_reg_13678"); sc_trace(mVcdFile, tmp_pixel_7_reg_13685, "tmp_pixel_7_reg_13685"); sc_trace(mVcdFile, tmp_pixel_8_reg_13692, "tmp_pixel_8_reg_13692"); sc_trace(mVcdFile, tmp_pixel_9_reg_13699, "tmp_pixel_9_reg_13699"); sc_trace(mVcdFile, tmp_pixel_10_reg_13706, "tmp_pixel_10_reg_13706"); sc_trace(mVcdFile, tmp_pixel_11_reg_13713, "tmp_pixel_11_reg_13713"); sc_trace(mVcdFile, tmp_pixel_12_reg_13720, "tmp_pixel_12_reg_13720"); sc_trace(mVcdFile, tmp_pixel_13_reg_13727, "tmp_pixel_13_reg_13727"); sc_trace(mVcdFile, tmp_pixel_14_reg_13734, "tmp_pixel_14_reg_13734"); sc_trace(mVcdFile, tmp_pixel_15_reg_13741, "tmp_pixel_15_reg_13741"); sc_trace(mVcdFile, tmp_pixel_16_reg_13748, "tmp_pixel_16_reg_13748"); sc_trace(mVcdFile, tmp_pixel_17_reg_13755, "tmp_pixel_17_reg_13755"); sc_trace(mVcdFile, tmp_pixel_18_reg_13762, "tmp_pixel_18_reg_13762"); sc_trace(mVcdFile, tmp_pixel_19_reg_13769, "tmp_pixel_19_reg_13769"); sc_trace(mVcdFile, tmp_pixel_20_reg_13776, "tmp_pixel_20_reg_13776"); sc_trace(mVcdFile, tmp_pixel_21_reg_13783, "tmp_pixel_21_reg_13783"); sc_trace(mVcdFile, tmp_pixel_22_reg_13790, "tmp_pixel_22_reg_13790"); sc_trace(mVcdFile, tmp_pixel_23_reg_13797, "tmp_pixel_23_reg_13797"); sc_trace(mVcdFile, tmp_pixel_24_reg_13804, "tmp_pixel_24_reg_13804"); sc_trace(mVcdFile, tmp_pixel_25_reg_13811, "tmp_pixel_25_reg_13811"); sc_trace(mVcdFile, tmp_pixel_26_reg_13818, "tmp_pixel_26_reg_13818"); sc_trace(mVcdFile, tmp_pixel_27_reg_13825, "tmp_pixel_27_reg_13825"); sc_trace(mVcdFile, tmp_pixel_28_reg_13832, "tmp_pixel_28_reg_13832"); sc_trace(mVcdFile, tmp_pixel_29_reg_13839, "tmp_pixel_29_reg_13839"); sc_trace(mVcdFile, tmp_pixel_30_reg_13846, "tmp_pixel_30_reg_13846"); sc_trace(mVcdFile, tmp_pixel_31_reg_13853, "tmp_pixel_31_reg_13853"); sc_trace(mVcdFile, tmp_pixel_32_reg_13860, "tmp_pixel_32_reg_13860"); sc_trace(mVcdFile, tmp_pixel_33_reg_13867, "tmp_pixel_33_reg_13867"); sc_trace(mVcdFile, tmp_pixel_34_reg_13874, "tmp_pixel_34_reg_13874"); sc_trace(mVcdFile, tmp_pixel_35_reg_13881, "tmp_pixel_35_reg_13881"); sc_trace(mVcdFile, tmp_pixel_36_reg_13888, "tmp_pixel_36_reg_13888"); sc_trace(mVcdFile, tmp_pixel_37_reg_13895, "tmp_pixel_37_reg_13895"); sc_trace(mVcdFile, tmp_pixel_38_reg_13902, "tmp_pixel_38_reg_13902"); sc_trace(mVcdFile, tmp_pixel_39_reg_13909, "tmp_pixel_39_reg_13909"); sc_trace(mVcdFile, tmp_pixel_40_reg_13916, "tmp_pixel_40_reg_13916"); sc_trace(mVcdFile, tmp_pixel_41_reg_13923, "tmp_pixel_41_reg_13923"); sc_trace(mVcdFile, tmp_pixel_42_reg_13930, "tmp_pixel_42_reg_13930"); sc_trace(mVcdFile, tmp_pixel_43_reg_13937, "tmp_pixel_43_reg_13937"); sc_trace(mVcdFile, tmp_pixel_44_reg_13944, "tmp_pixel_44_reg_13944"); sc_trace(mVcdFile, tmp_pixel_45_reg_13951, "tmp_pixel_45_reg_13951"); sc_trace(mVcdFile, tmp_pixel_46_reg_13958, "tmp_pixel_46_reg_13958"); sc_trace(mVcdFile, tmp_pixel_47_reg_13965, "tmp_pixel_47_reg_13965"); sc_trace(mVcdFile, tmp_pixel_48_reg_13972, "tmp_pixel_48_reg_13972"); sc_trace(mVcdFile, tmp_pixel_49_reg_13979, "tmp_pixel_49_reg_13979"); sc_trace(mVcdFile, tmp_pixel_50_reg_13986, "tmp_pixel_50_reg_13986"); sc_trace(mVcdFile, tmp_pixel_51_reg_13993, "tmp_pixel_51_reg_13993"); sc_trace(mVcdFile, tmp_pixel_52_reg_14000, "tmp_pixel_52_reg_14000"); sc_trace(mVcdFile, tmp_pixel_53_reg_14007, "tmp_pixel_53_reg_14007"); sc_trace(mVcdFile, tmp_pixel_54_reg_14014, "tmp_pixel_54_reg_14014"); sc_trace(mVcdFile, tmp_pixel_55_reg_14021, "tmp_pixel_55_reg_14021"); sc_trace(mVcdFile, tmp_pixel_56_reg_14028, "tmp_pixel_56_reg_14028"); sc_trace(mVcdFile, tmp_pixel_57_reg_14035, "tmp_pixel_57_reg_14035"); sc_trace(mVcdFile, tmp_pixel_58_reg_14042, "tmp_pixel_58_reg_14042"); sc_trace(mVcdFile, tmp_pixel_59_reg_14049, "tmp_pixel_59_reg_14049"); sc_trace(mVcdFile, tmp_pixel_60_reg_14056, "tmp_pixel_60_reg_14056"); sc_trace(mVcdFile, tmp_pixel_61_reg_14063, "tmp_pixel_61_reg_14063"); sc_trace(mVcdFile, tmp_pixel_62_reg_14070, "tmp_pixel_62_reg_14070"); sc_trace(mVcdFile, tmp_pixel_63_reg_14077, "tmp_pixel_63_reg_14077"); sc_trace(mVcdFile, tmp_pixel_64_reg_14084, "tmp_pixel_64_reg_14084"); sc_trace(mVcdFile, tmp_pixel_65_reg_14091, "tmp_pixel_65_reg_14091"); sc_trace(mVcdFile, tmp_pixel_66_reg_14098, "tmp_pixel_66_reg_14098"); sc_trace(mVcdFile, tmp_pixel_67_reg_14105, "tmp_pixel_67_reg_14105"); sc_trace(mVcdFile, tmp_pixel_68_reg_14112, "tmp_pixel_68_reg_14112"); sc_trace(mVcdFile, tmp_pixel_69_reg_14119, "tmp_pixel_69_reg_14119"); sc_trace(mVcdFile, tmp_pixel_70_reg_14126, "tmp_pixel_70_reg_14126"); sc_trace(mVcdFile, tmp_pixel_71_reg_14133, "tmp_pixel_71_reg_14133"); sc_trace(mVcdFile, tmp_pixel_72_reg_14140, "tmp_pixel_72_reg_14140"); sc_trace(mVcdFile, linebuf_1_pixel_load_71_reg_14146, "linebuf_1_pixel_load_71_reg_14146"); sc_trace(mVcdFile, linebuf_0_pixel_load_71_reg_14152, "linebuf_0_pixel_load_71_reg_14152"); sc_trace(mVcdFile, tmp_122_fu_3573_p2, "tmp_122_fu_3573_p2"); sc_trace(mVcdFile, tmp_122_reg_14157, "tmp_122_reg_14157"); sc_trace(mVcdFile, tmp_122_1_fu_3586_p2, "tmp_122_1_fu_3586_p2"); sc_trace(mVcdFile, tmp_122_1_reg_14162, "tmp_122_1_reg_14162"); sc_trace(mVcdFile, tmp_122_2_fu_3599_p2, "tmp_122_2_fu_3599_p2"); sc_trace(mVcdFile, tmp_122_2_reg_14167, "tmp_122_2_reg_14167"); sc_trace(mVcdFile, tmp_122_3_fu_3612_p2, "tmp_122_3_fu_3612_p2"); sc_trace(mVcdFile, tmp_122_3_reg_14172, "tmp_122_3_reg_14172"); sc_trace(mVcdFile, tmp_122_4_fu_3625_p2, "tmp_122_4_fu_3625_p2"); sc_trace(mVcdFile, tmp_122_4_reg_14177, "tmp_122_4_reg_14177"); sc_trace(mVcdFile, tmp_122_5_fu_3638_p2, "tmp_122_5_fu_3638_p2"); sc_trace(mVcdFile, tmp_122_5_reg_14182, "tmp_122_5_reg_14182"); sc_trace(mVcdFile, tmp_122_6_fu_3651_p2, "tmp_122_6_fu_3651_p2"); sc_trace(mVcdFile, tmp_122_6_reg_14187, "tmp_122_6_reg_14187"); sc_trace(mVcdFile, tmp_122_7_fu_3664_p2, "tmp_122_7_fu_3664_p2"); sc_trace(mVcdFile, tmp_122_7_reg_14192, "tmp_122_7_reg_14192"); sc_trace(mVcdFile, tmp_122_8_fu_3677_p2, "tmp_122_8_fu_3677_p2"); sc_trace(mVcdFile, tmp_122_8_reg_14197, "tmp_122_8_reg_14197"); sc_trace(mVcdFile, tmp_122_9_fu_3690_p2, "tmp_122_9_fu_3690_p2"); sc_trace(mVcdFile, tmp_122_9_reg_14202, "tmp_122_9_reg_14202"); sc_trace(mVcdFile, tmp_122_s_fu_3703_p2, "tmp_122_s_fu_3703_p2"); sc_trace(mVcdFile, tmp_122_s_reg_14207, "tmp_122_s_reg_14207"); sc_trace(mVcdFile, tmp_122_10_fu_3716_p2, "tmp_122_10_fu_3716_p2"); sc_trace(mVcdFile, tmp_122_10_reg_14212, "tmp_122_10_reg_14212"); sc_trace(mVcdFile, tmp_122_11_fu_3729_p2, "tmp_122_11_fu_3729_p2"); sc_trace(mVcdFile, tmp_122_11_reg_14217, "tmp_122_11_reg_14217"); sc_trace(mVcdFile, tmp_122_12_fu_3742_p2, "tmp_122_12_fu_3742_p2"); sc_trace(mVcdFile, tmp_122_12_reg_14222, "tmp_122_12_reg_14222"); sc_trace(mVcdFile, tmp_122_13_fu_3755_p2, "tmp_122_13_fu_3755_p2"); sc_trace(mVcdFile, tmp_122_13_reg_14227, "tmp_122_13_reg_14227"); sc_trace(mVcdFile, tmp_122_14_fu_3768_p2, "tmp_122_14_fu_3768_p2"); sc_trace(mVcdFile, tmp_122_14_reg_14232, "tmp_122_14_reg_14232"); sc_trace(mVcdFile, tmp_122_15_fu_3781_p2, "tmp_122_15_fu_3781_p2"); sc_trace(mVcdFile, tmp_122_15_reg_14237, "tmp_122_15_reg_14237"); sc_trace(mVcdFile, tmp_122_16_fu_3794_p2, "tmp_122_16_fu_3794_p2"); sc_trace(mVcdFile, tmp_122_16_reg_14242, "tmp_122_16_reg_14242"); sc_trace(mVcdFile, tmp_122_17_fu_3807_p2, "tmp_122_17_fu_3807_p2"); sc_trace(mVcdFile, tmp_122_17_reg_14247, "tmp_122_17_reg_14247"); sc_trace(mVcdFile, tmp_122_18_fu_3820_p2, "tmp_122_18_fu_3820_p2"); sc_trace(mVcdFile, tmp_122_18_reg_14252, "tmp_122_18_reg_14252"); sc_trace(mVcdFile, tmp_122_19_fu_3833_p2, "tmp_122_19_fu_3833_p2"); sc_trace(mVcdFile, tmp_122_19_reg_14257, "tmp_122_19_reg_14257"); sc_trace(mVcdFile, tmp_122_20_fu_3846_p2, "tmp_122_20_fu_3846_p2"); sc_trace(mVcdFile, tmp_122_20_reg_14262, "tmp_122_20_reg_14262"); sc_trace(mVcdFile, tmp_122_21_fu_3859_p2, "tmp_122_21_fu_3859_p2"); sc_trace(mVcdFile, tmp_122_21_reg_14267, "tmp_122_21_reg_14267"); sc_trace(mVcdFile, tmp_122_22_fu_3872_p2, "tmp_122_22_fu_3872_p2"); sc_trace(mVcdFile, tmp_122_22_reg_14272, "tmp_122_22_reg_14272"); sc_trace(mVcdFile, tmp_122_23_fu_3885_p2, "tmp_122_23_fu_3885_p2"); sc_trace(mVcdFile, tmp_122_23_reg_14277, "tmp_122_23_reg_14277"); sc_trace(mVcdFile, tmp_122_24_fu_3898_p2, "tmp_122_24_fu_3898_p2"); sc_trace(mVcdFile, tmp_122_24_reg_14282, "tmp_122_24_reg_14282"); sc_trace(mVcdFile, tmp_122_25_fu_3911_p2, "tmp_122_25_fu_3911_p2"); sc_trace(mVcdFile, tmp_122_25_reg_14287, "tmp_122_25_reg_14287"); sc_trace(mVcdFile, tmp_122_26_fu_3924_p2, "tmp_122_26_fu_3924_p2"); sc_trace(mVcdFile, tmp_122_26_reg_14292, "tmp_122_26_reg_14292"); sc_trace(mVcdFile, tmp_122_27_fu_3937_p2, "tmp_122_27_fu_3937_p2"); sc_trace(mVcdFile, tmp_122_27_reg_14297, "tmp_122_27_reg_14297"); sc_trace(mVcdFile, tmp_122_28_fu_3950_p2, "tmp_122_28_fu_3950_p2"); sc_trace(mVcdFile, tmp_122_28_reg_14302, "tmp_122_28_reg_14302"); sc_trace(mVcdFile, tmp_122_29_fu_3963_p2, "tmp_122_29_fu_3963_p2"); sc_trace(mVcdFile, tmp_122_29_reg_14307, "tmp_122_29_reg_14307"); sc_trace(mVcdFile, tmp_122_30_fu_3976_p2, "tmp_122_30_fu_3976_p2"); sc_trace(mVcdFile, tmp_122_30_reg_14312, "tmp_122_30_reg_14312"); sc_trace(mVcdFile, tmp_122_31_fu_3989_p2, "tmp_122_31_fu_3989_p2"); sc_trace(mVcdFile, tmp_122_31_reg_14317, "tmp_122_31_reg_14317"); sc_trace(mVcdFile, tmp_122_32_fu_4002_p2, "tmp_122_32_fu_4002_p2"); sc_trace(mVcdFile, tmp_122_32_reg_14322, "tmp_122_32_reg_14322"); sc_trace(mVcdFile, tmp_122_33_fu_4015_p2, "tmp_122_33_fu_4015_p2"); sc_trace(mVcdFile, tmp_122_33_reg_14327, "tmp_122_33_reg_14327"); sc_trace(mVcdFile, tmp_122_34_fu_4028_p2, "tmp_122_34_fu_4028_p2"); sc_trace(mVcdFile, tmp_122_34_reg_14332, "tmp_122_34_reg_14332"); sc_trace(mVcdFile, tmp_122_35_fu_4041_p2, "tmp_122_35_fu_4041_p2"); sc_trace(mVcdFile, tmp_122_35_reg_14337, "tmp_122_35_reg_14337"); sc_trace(mVcdFile, tmp_122_36_fu_4054_p2, "tmp_122_36_fu_4054_p2"); sc_trace(mVcdFile, tmp_122_36_reg_14342, "tmp_122_36_reg_14342"); sc_trace(mVcdFile, tmp_122_37_fu_4067_p2, "tmp_122_37_fu_4067_p2"); sc_trace(mVcdFile, tmp_122_37_reg_14347, "tmp_122_37_reg_14347"); sc_trace(mVcdFile, tmp_122_38_fu_4080_p2, "tmp_122_38_fu_4080_p2"); sc_trace(mVcdFile, tmp_122_38_reg_14352, "tmp_122_38_reg_14352"); sc_trace(mVcdFile, tmp_122_39_fu_4093_p2, "tmp_122_39_fu_4093_p2"); sc_trace(mVcdFile, tmp_122_39_reg_14357, "tmp_122_39_reg_14357"); sc_trace(mVcdFile, tmp_122_40_fu_4106_p2, "tmp_122_40_fu_4106_p2"); sc_trace(mVcdFile, tmp_122_40_reg_14362, "tmp_122_40_reg_14362"); sc_trace(mVcdFile, tmp_122_41_fu_4119_p2, "tmp_122_41_fu_4119_p2"); sc_trace(mVcdFile, tmp_122_41_reg_14367, "tmp_122_41_reg_14367"); sc_trace(mVcdFile, tmp_122_42_fu_4132_p2, "tmp_122_42_fu_4132_p2"); sc_trace(mVcdFile, tmp_122_42_reg_14372, "tmp_122_42_reg_14372"); sc_trace(mVcdFile, tmp_122_43_fu_4145_p2, "tmp_122_43_fu_4145_p2"); sc_trace(mVcdFile, tmp_122_43_reg_14377, "tmp_122_43_reg_14377"); sc_trace(mVcdFile, tmp_122_44_fu_4158_p2, "tmp_122_44_fu_4158_p2"); sc_trace(mVcdFile, tmp_122_44_reg_14382, "tmp_122_44_reg_14382"); sc_trace(mVcdFile, tmp_122_45_fu_4171_p2, "tmp_122_45_fu_4171_p2"); sc_trace(mVcdFile, tmp_122_45_reg_14387, "tmp_122_45_reg_14387"); sc_trace(mVcdFile, tmp_122_46_fu_4184_p2, "tmp_122_46_fu_4184_p2"); sc_trace(mVcdFile, tmp_122_46_reg_14392, "tmp_122_46_reg_14392"); sc_trace(mVcdFile, tmp_122_47_fu_4197_p2, "tmp_122_47_fu_4197_p2"); sc_trace(mVcdFile, tmp_122_47_reg_14397, "tmp_122_47_reg_14397"); sc_trace(mVcdFile, tmp_122_48_fu_4210_p2, "tmp_122_48_fu_4210_p2"); sc_trace(mVcdFile, tmp_122_48_reg_14402, "tmp_122_48_reg_14402"); sc_trace(mVcdFile, tmp_122_49_fu_4223_p2, "tmp_122_49_fu_4223_p2"); sc_trace(mVcdFile, tmp_122_49_reg_14407, "tmp_122_49_reg_14407"); sc_trace(mVcdFile, tmp_122_50_fu_4236_p2, "tmp_122_50_fu_4236_p2"); sc_trace(mVcdFile, tmp_122_50_reg_14412, "tmp_122_50_reg_14412"); sc_trace(mVcdFile, tmp_122_51_fu_4249_p2, "tmp_122_51_fu_4249_p2"); sc_trace(mVcdFile, tmp_122_51_reg_14417, "tmp_122_51_reg_14417"); sc_trace(mVcdFile, tmp_122_52_fu_4262_p2, "tmp_122_52_fu_4262_p2"); sc_trace(mVcdFile, tmp_122_52_reg_14422, "tmp_122_52_reg_14422"); sc_trace(mVcdFile, tmp_122_53_fu_4275_p2, "tmp_122_53_fu_4275_p2"); sc_trace(mVcdFile, tmp_122_53_reg_14427, "tmp_122_53_reg_14427"); sc_trace(mVcdFile, tmp_122_54_fu_4288_p2, "tmp_122_54_fu_4288_p2"); sc_trace(mVcdFile, tmp_122_54_reg_14432, "tmp_122_54_reg_14432"); sc_trace(mVcdFile, tmp_122_55_fu_4301_p2, "tmp_122_55_fu_4301_p2"); sc_trace(mVcdFile, tmp_122_55_reg_14437, "tmp_122_55_reg_14437"); sc_trace(mVcdFile, tmp_122_56_fu_4314_p2, "tmp_122_56_fu_4314_p2"); sc_trace(mVcdFile, tmp_122_56_reg_14442, "tmp_122_56_reg_14442"); sc_trace(mVcdFile, tmp_122_57_fu_4327_p2, "tmp_122_57_fu_4327_p2"); sc_trace(mVcdFile, tmp_122_57_reg_14447, "tmp_122_57_reg_14447"); sc_trace(mVcdFile, tmp_122_58_fu_4340_p2, "tmp_122_58_fu_4340_p2"); sc_trace(mVcdFile, tmp_122_58_reg_14452, "tmp_122_58_reg_14452"); sc_trace(mVcdFile, tmp_122_59_fu_4353_p2, "tmp_122_59_fu_4353_p2"); sc_trace(mVcdFile, tmp_122_59_reg_14457, "tmp_122_59_reg_14457"); sc_trace(mVcdFile, tmp_122_60_fu_4366_p2, "tmp_122_60_fu_4366_p2"); sc_trace(mVcdFile, tmp_122_60_reg_14462, "tmp_122_60_reg_14462"); sc_trace(mVcdFile, tmp_122_61_fu_4379_p2, "tmp_122_61_fu_4379_p2"); sc_trace(mVcdFile, tmp_122_61_reg_14467, "tmp_122_61_reg_14467"); sc_trace(mVcdFile, tmp_122_62_fu_4392_p2, "tmp_122_62_fu_4392_p2"); sc_trace(mVcdFile, tmp_122_62_reg_14472, "tmp_122_62_reg_14472"); sc_trace(mVcdFile, tmp_122_63_fu_4405_p2, "tmp_122_63_fu_4405_p2"); sc_trace(mVcdFile, tmp_122_63_reg_14477, "tmp_122_63_reg_14477"); sc_trace(mVcdFile, tmp_122_64_fu_4418_p2, "tmp_122_64_fu_4418_p2"); sc_trace(mVcdFile, tmp_122_64_reg_14482, "tmp_122_64_reg_14482"); sc_trace(mVcdFile, tmp_122_65_fu_4431_p2, "tmp_122_65_fu_4431_p2"); sc_trace(mVcdFile, tmp_122_65_reg_14487, "tmp_122_65_reg_14487"); sc_trace(mVcdFile, tmp_122_66_fu_4444_p2, "tmp_122_66_fu_4444_p2"); sc_trace(mVcdFile, tmp_122_66_reg_14492, "tmp_122_66_reg_14492"); sc_trace(mVcdFile, tmp_122_67_fu_4458_p2, "tmp_122_67_fu_4458_p2"); sc_trace(mVcdFile, tmp_122_67_reg_14497, "tmp_122_67_reg_14497"); sc_trace(mVcdFile, tmp_122_68_fu_4464_p2, "tmp_122_68_fu_4464_p2"); sc_trace(mVcdFile, tmp_122_68_reg_14502, "tmp_122_68_reg_14502"); sc_trace(mVcdFile, tmp_122_69_fu_4470_p2, "tmp_122_69_fu_4470_p2"); sc_trace(mVcdFile, tmp_122_69_reg_14507, "tmp_122_69_reg_14507"); sc_trace(mVcdFile, tmp_pixel_0_5_fu_4573_p3, "tmp_pixel_0_5_fu_4573_p3"); sc_trace(mVcdFile, tmp_pixel_0_5_reg_14512, "tmp_pixel_0_5_reg_14512"); sc_trace(mVcdFile, tmp_pixel_1_6_fu_4678_p3, "tmp_pixel_1_6_fu_4678_p3"); sc_trace(mVcdFile, tmp_pixel_1_6_reg_14517, "tmp_pixel_1_6_reg_14517"); sc_trace(mVcdFile, tmp_pixel_2_6_fu_4783_p3, "tmp_pixel_2_6_fu_4783_p3"); sc_trace(mVcdFile, tmp_pixel_2_6_reg_14522, "tmp_pixel_2_6_reg_14522"); sc_trace(mVcdFile, tmp_pixel_3_6_fu_4888_p3, "tmp_pixel_3_6_fu_4888_p3"); sc_trace(mVcdFile, tmp_pixel_3_6_reg_14527, "tmp_pixel_3_6_reg_14527"); sc_trace(mVcdFile, tmp_pixel_4_6_fu_4993_p3, "tmp_pixel_4_6_fu_4993_p3"); sc_trace(mVcdFile, tmp_pixel_4_6_reg_14532, "tmp_pixel_4_6_reg_14532"); sc_trace(mVcdFile, tmp_pixel_5_6_fu_5098_p3, "tmp_pixel_5_6_fu_5098_p3"); sc_trace(mVcdFile, tmp_pixel_5_6_reg_14537, "tmp_pixel_5_6_reg_14537"); sc_trace(mVcdFile, tmp_pixel_6_6_fu_5203_p3, "tmp_pixel_6_6_fu_5203_p3"); sc_trace(mVcdFile, tmp_pixel_6_6_reg_14542, "tmp_pixel_6_6_reg_14542"); sc_trace(mVcdFile, tmp_pixel_7_6_fu_5308_p3, "tmp_pixel_7_6_fu_5308_p3"); sc_trace(mVcdFile, tmp_pixel_7_6_reg_14547, "tmp_pixel_7_6_reg_14547"); sc_trace(mVcdFile, tmp_pixel_8_6_fu_5413_p3, "tmp_pixel_8_6_fu_5413_p3"); sc_trace(mVcdFile, tmp_pixel_8_6_reg_14552, "tmp_pixel_8_6_reg_14552"); sc_trace(mVcdFile, tmp_pixel_9_6_fu_5518_p3, "tmp_pixel_9_6_fu_5518_p3"); sc_trace(mVcdFile, tmp_pixel_9_6_reg_14557, "tmp_pixel_9_6_reg_14557"); sc_trace(mVcdFile, tmp_pixel_10_6_fu_5623_p3, "tmp_pixel_10_6_fu_5623_p3"); sc_trace(mVcdFile, tmp_pixel_10_6_reg_14562, "tmp_pixel_10_6_reg_14562"); sc_trace(mVcdFile, tmp_pixel_11_6_fu_5728_p3, "tmp_pixel_11_6_fu_5728_p3"); sc_trace(mVcdFile, tmp_pixel_11_6_reg_14567, "tmp_pixel_11_6_reg_14567"); sc_trace(mVcdFile, tmp_pixel_12_6_fu_5833_p3, "tmp_pixel_12_6_fu_5833_p3"); sc_trace(mVcdFile, tmp_pixel_12_6_reg_14572, "tmp_pixel_12_6_reg_14572"); sc_trace(mVcdFile, tmp_pixel_13_6_fu_5938_p3, "tmp_pixel_13_6_fu_5938_p3"); sc_trace(mVcdFile, tmp_pixel_13_6_reg_14577, "tmp_pixel_13_6_reg_14577"); sc_trace(mVcdFile, tmp_pixel_14_6_fu_6043_p3, "tmp_pixel_14_6_fu_6043_p3"); sc_trace(mVcdFile, tmp_pixel_14_6_reg_14582, "tmp_pixel_14_6_reg_14582"); sc_trace(mVcdFile, tmp_pixel_15_6_fu_6148_p3, "tmp_pixel_15_6_fu_6148_p3"); sc_trace(mVcdFile, tmp_pixel_15_6_reg_14587, "tmp_pixel_15_6_reg_14587"); sc_trace(mVcdFile, tmp_pixel_16_6_fu_6253_p3, "tmp_pixel_16_6_fu_6253_p3"); sc_trace(mVcdFile, tmp_pixel_16_6_reg_14592, "tmp_pixel_16_6_reg_14592"); sc_trace(mVcdFile, tmp_pixel_17_6_fu_6358_p3, "tmp_pixel_17_6_fu_6358_p3"); sc_trace(mVcdFile, tmp_pixel_17_6_reg_14597, "tmp_pixel_17_6_reg_14597"); sc_trace(mVcdFile, tmp_pixel_18_6_fu_6463_p3, "tmp_pixel_18_6_fu_6463_p3"); sc_trace(mVcdFile, tmp_pixel_18_6_reg_14602, "tmp_pixel_18_6_reg_14602"); sc_trace(mVcdFile, tmp_pixel_19_6_fu_6568_p3, "tmp_pixel_19_6_fu_6568_p3"); sc_trace(mVcdFile, tmp_pixel_19_6_reg_14607, "tmp_pixel_19_6_reg_14607"); sc_trace(mVcdFile, tmp_pixel_20_6_fu_6673_p3, "tmp_pixel_20_6_fu_6673_p3"); sc_trace(mVcdFile, tmp_pixel_20_6_reg_14612, "tmp_pixel_20_6_reg_14612"); sc_trace(mVcdFile, tmp_pixel_21_6_fu_6778_p3, "tmp_pixel_21_6_fu_6778_p3"); sc_trace(mVcdFile, tmp_pixel_21_6_reg_14617, "tmp_pixel_21_6_reg_14617"); sc_trace(mVcdFile, tmp_pixel_22_6_fu_6883_p3, "tmp_pixel_22_6_fu_6883_p3"); sc_trace(mVcdFile, tmp_pixel_22_6_reg_14622, "tmp_pixel_22_6_reg_14622"); sc_trace(mVcdFile, tmp_pixel_23_6_fu_6988_p3, "tmp_pixel_23_6_fu_6988_p3"); sc_trace(mVcdFile, tmp_pixel_23_6_reg_14627, "tmp_pixel_23_6_reg_14627"); sc_trace(mVcdFile, tmp_pixel_24_6_fu_7093_p3, "tmp_pixel_24_6_fu_7093_p3"); sc_trace(mVcdFile, tmp_pixel_24_6_reg_14632, "tmp_pixel_24_6_reg_14632"); sc_trace(mVcdFile, tmp_pixel_25_6_fu_7198_p3, "tmp_pixel_25_6_fu_7198_p3"); sc_trace(mVcdFile, tmp_pixel_25_6_reg_14637, "tmp_pixel_25_6_reg_14637"); sc_trace(mVcdFile, tmp_pixel_26_6_fu_7303_p3, "tmp_pixel_26_6_fu_7303_p3"); sc_trace(mVcdFile, tmp_pixel_26_6_reg_14642, "tmp_pixel_26_6_reg_14642"); sc_trace(mVcdFile, tmp_pixel_27_6_fu_7408_p3, "tmp_pixel_27_6_fu_7408_p3"); sc_trace(mVcdFile, tmp_pixel_27_6_reg_14647, "tmp_pixel_27_6_reg_14647"); sc_trace(mVcdFile, tmp_pixel_28_6_fu_7513_p3, "tmp_pixel_28_6_fu_7513_p3"); sc_trace(mVcdFile, tmp_pixel_28_6_reg_14652, "tmp_pixel_28_6_reg_14652"); sc_trace(mVcdFile, tmp_pixel_29_6_fu_7618_p3, "tmp_pixel_29_6_fu_7618_p3"); sc_trace(mVcdFile, tmp_pixel_29_6_reg_14657, "tmp_pixel_29_6_reg_14657"); sc_trace(mVcdFile, tmp_pixel_30_6_fu_7723_p3, "tmp_pixel_30_6_fu_7723_p3"); sc_trace(mVcdFile, tmp_pixel_30_6_reg_14662, "tmp_pixel_30_6_reg_14662"); sc_trace(mVcdFile, tmp_pixel_31_6_fu_7828_p3, "tmp_pixel_31_6_fu_7828_p3"); sc_trace(mVcdFile, tmp_pixel_31_6_reg_14667, "tmp_pixel_31_6_reg_14667"); sc_trace(mVcdFile, tmp_pixel_32_6_fu_7933_p3, "tmp_pixel_32_6_fu_7933_p3"); sc_trace(mVcdFile, tmp_pixel_32_6_reg_14672, "tmp_pixel_32_6_reg_14672"); sc_trace(mVcdFile, tmp_pixel_33_6_fu_8038_p3, "tmp_pixel_33_6_fu_8038_p3"); sc_trace(mVcdFile, tmp_pixel_33_6_reg_14677, "tmp_pixel_33_6_reg_14677"); sc_trace(mVcdFile, tmp_pixel_34_6_fu_8143_p3, "tmp_pixel_34_6_fu_8143_p3"); sc_trace(mVcdFile, tmp_pixel_34_6_reg_14682, "tmp_pixel_34_6_reg_14682"); sc_trace(mVcdFile, tmp_pixel_35_6_fu_8248_p3, "tmp_pixel_35_6_fu_8248_p3"); sc_trace(mVcdFile, tmp_pixel_35_6_reg_14687, "tmp_pixel_35_6_reg_14687"); sc_trace(mVcdFile, tmp_pixel_36_6_fu_8353_p3, "tmp_pixel_36_6_fu_8353_p3"); sc_trace(mVcdFile, tmp_pixel_36_6_reg_14692, "tmp_pixel_36_6_reg_14692"); sc_trace(mVcdFile, tmp_pixel_37_6_fu_8458_p3, "tmp_pixel_37_6_fu_8458_p3"); sc_trace(mVcdFile, tmp_pixel_37_6_reg_14697, "tmp_pixel_37_6_reg_14697"); sc_trace(mVcdFile, tmp_pixel_38_6_fu_8563_p3, "tmp_pixel_38_6_fu_8563_p3"); sc_trace(mVcdFile, tmp_pixel_38_6_reg_14702, "tmp_pixel_38_6_reg_14702"); sc_trace(mVcdFile, tmp_pixel_39_6_fu_8668_p3, "tmp_pixel_39_6_fu_8668_p3"); sc_trace(mVcdFile, tmp_pixel_39_6_reg_14707, "tmp_pixel_39_6_reg_14707"); sc_trace(mVcdFile, tmp_pixel_40_6_fu_8773_p3, "tmp_pixel_40_6_fu_8773_p3"); sc_trace(mVcdFile, tmp_pixel_40_6_reg_14712, "tmp_pixel_40_6_reg_14712"); sc_trace(mVcdFile, tmp_pixel_41_6_fu_8878_p3, "tmp_pixel_41_6_fu_8878_p3"); sc_trace(mVcdFile, tmp_pixel_41_6_reg_14717, "tmp_pixel_41_6_reg_14717"); sc_trace(mVcdFile, tmp_pixel_42_6_fu_8983_p3, "tmp_pixel_42_6_fu_8983_p3"); sc_trace(mVcdFile, tmp_pixel_42_6_reg_14722, "tmp_pixel_42_6_reg_14722"); sc_trace(mVcdFile, tmp_pixel_43_6_fu_9088_p3, "tmp_pixel_43_6_fu_9088_p3"); sc_trace(mVcdFile, tmp_pixel_43_6_reg_14727, "tmp_pixel_43_6_reg_14727"); sc_trace(mVcdFile, tmp_pixel_44_6_fu_9193_p3, "tmp_pixel_44_6_fu_9193_p3"); sc_trace(mVcdFile, tmp_pixel_44_6_reg_14732, "tmp_pixel_44_6_reg_14732"); sc_trace(mVcdFile, tmp_pixel_45_6_fu_9298_p3, "tmp_pixel_45_6_fu_9298_p3"); sc_trace(mVcdFile, tmp_pixel_45_6_reg_14737, "tmp_pixel_45_6_reg_14737"); sc_trace(mVcdFile, tmp_pixel_46_6_fu_9403_p3, "tmp_pixel_46_6_fu_9403_p3"); sc_trace(mVcdFile, tmp_pixel_46_6_reg_14742, "tmp_pixel_46_6_reg_14742"); sc_trace(mVcdFile, tmp_pixel_47_6_fu_9508_p3, "tmp_pixel_47_6_fu_9508_p3"); sc_trace(mVcdFile, tmp_pixel_47_6_reg_14747, "tmp_pixel_47_6_reg_14747"); sc_trace(mVcdFile, tmp_pixel_48_6_fu_9613_p3, "tmp_pixel_48_6_fu_9613_p3"); sc_trace(mVcdFile, tmp_pixel_48_6_reg_14752, "tmp_pixel_48_6_reg_14752"); sc_trace(mVcdFile, tmp_pixel_49_6_fu_9718_p3, "tmp_pixel_49_6_fu_9718_p3"); sc_trace(mVcdFile, tmp_pixel_49_6_reg_14757, "tmp_pixel_49_6_reg_14757"); sc_trace(mVcdFile, tmp_pixel_50_6_fu_9823_p3, "tmp_pixel_50_6_fu_9823_p3"); sc_trace(mVcdFile, tmp_pixel_50_6_reg_14762, "tmp_pixel_50_6_reg_14762"); sc_trace(mVcdFile, tmp_pixel_51_6_fu_9928_p3, "tmp_pixel_51_6_fu_9928_p3"); sc_trace(mVcdFile, tmp_pixel_51_6_reg_14767, "tmp_pixel_51_6_reg_14767"); sc_trace(mVcdFile, tmp_pixel_52_6_fu_10033_p3, "tmp_pixel_52_6_fu_10033_p3"); sc_trace(mVcdFile, tmp_pixel_52_6_reg_14772, "tmp_pixel_52_6_reg_14772"); sc_trace(mVcdFile, tmp_pixel_53_6_fu_10138_p3, "tmp_pixel_53_6_fu_10138_p3"); sc_trace(mVcdFile, tmp_pixel_53_6_reg_14777, "tmp_pixel_53_6_reg_14777"); sc_trace(mVcdFile, tmp_pixel_54_6_fu_10243_p3, "tmp_pixel_54_6_fu_10243_p3"); sc_trace(mVcdFile, tmp_pixel_54_6_reg_14782, "tmp_pixel_54_6_reg_14782"); sc_trace(mVcdFile, tmp_pixel_55_6_fu_10348_p3, "tmp_pixel_55_6_fu_10348_p3"); sc_trace(mVcdFile, tmp_pixel_55_6_reg_14787, "tmp_pixel_55_6_reg_14787"); sc_trace(mVcdFile, tmp_pixel_56_6_fu_10453_p3, "tmp_pixel_56_6_fu_10453_p3"); sc_trace(mVcdFile, tmp_pixel_56_6_reg_14792, "tmp_pixel_56_6_reg_14792"); sc_trace(mVcdFile, tmp_pixel_57_6_fu_10558_p3, "tmp_pixel_57_6_fu_10558_p3"); sc_trace(mVcdFile, tmp_pixel_57_6_reg_14797, "tmp_pixel_57_6_reg_14797"); sc_trace(mVcdFile, tmp_pixel_58_6_fu_10663_p3, "tmp_pixel_58_6_fu_10663_p3"); sc_trace(mVcdFile, tmp_pixel_58_6_reg_14802, "tmp_pixel_58_6_reg_14802"); sc_trace(mVcdFile, tmp_pixel_59_6_fu_10768_p3, "tmp_pixel_59_6_fu_10768_p3"); sc_trace(mVcdFile, tmp_pixel_59_6_reg_14807, "tmp_pixel_59_6_reg_14807"); sc_trace(mVcdFile, tmp_pixel_60_6_fu_10873_p3, "tmp_pixel_60_6_fu_10873_p3"); sc_trace(mVcdFile, tmp_pixel_60_6_reg_14812, "tmp_pixel_60_6_reg_14812"); sc_trace(mVcdFile, tmp_pixel_61_6_fu_10978_p3, "tmp_pixel_61_6_fu_10978_p3"); sc_trace(mVcdFile, tmp_pixel_61_6_reg_14817, "tmp_pixel_61_6_reg_14817"); sc_trace(mVcdFile, tmp_pixel_62_6_fu_11083_p3, "tmp_pixel_62_6_fu_11083_p3"); sc_trace(mVcdFile, tmp_pixel_62_6_reg_14822, "tmp_pixel_62_6_reg_14822"); sc_trace(mVcdFile, tmp_pixel_63_6_fu_11188_p3, "tmp_pixel_63_6_fu_11188_p3"); sc_trace(mVcdFile, tmp_pixel_63_6_reg_14827, "tmp_pixel_63_6_reg_14827"); sc_trace(mVcdFile, tmp_pixel_64_6_fu_11293_p3, "tmp_pixel_64_6_fu_11293_p3"); sc_trace(mVcdFile, tmp_pixel_64_6_reg_14832, "tmp_pixel_64_6_reg_14832"); sc_trace(mVcdFile, tmp_pixel_65_6_fu_11398_p3, "tmp_pixel_65_6_fu_11398_p3"); sc_trace(mVcdFile, tmp_pixel_65_6_reg_14837, "tmp_pixel_65_6_reg_14837"); sc_trace(mVcdFile, tmp_pixel_66_6_fu_11503_p3, "tmp_pixel_66_6_fu_11503_p3"); sc_trace(mVcdFile, tmp_pixel_66_6_reg_14842, "tmp_pixel_66_6_reg_14842"); sc_trace(mVcdFile, tmp_pixel_67_6_fu_11608_p3, "tmp_pixel_67_6_fu_11608_p3"); sc_trace(mVcdFile, tmp_pixel_67_6_reg_14847, "tmp_pixel_67_6_reg_14847"); sc_trace(mVcdFile, tmp_pixel_68_6_fu_11714_p3, "tmp_pixel_68_6_fu_11714_p3"); sc_trace(mVcdFile, tmp_pixel_68_6_reg_14852, "tmp_pixel_68_6_reg_14852"); sc_trace(mVcdFile, tmp_pixel_69_6_fu_11820_p3, "tmp_pixel_69_6_fu_11820_p3"); sc_trace(mVcdFile, tmp_pixel_69_6_reg_14857, "tmp_pixel_69_6_reg_14857"); sc_trace(mVcdFile, tmp_pixel_70_6_fu_11926_p3, "tmp_pixel_70_6_fu_11926_p3"); sc_trace(mVcdFile, tmp_pixel_70_6_reg_14862, "tmp_pixel_70_6_reg_14862"); sc_trace(mVcdFile, linebuf_0_pixel_address0, "linebuf_0_pixel_address0"); sc_trace(mVcdFile, linebuf_0_pixel_ce0, "linebuf_0_pixel_ce0"); sc_trace(mVcdFile, linebuf_0_pixel_we0, "linebuf_0_pixel_we0"); sc_trace(mVcdFile, linebuf_0_pixel_d0, "linebuf_0_pixel_d0"); sc_trace(mVcdFile, linebuf_0_pixel_address1, "linebuf_0_pixel_address1"); sc_trace(mVcdFile, linebuf_0_pixel_ce1, "linebuf_0_pixel_ce1"); sc_trace(mVcdFile, linebuf_0_pixel_we1, "linebuf_0_pixel_we1"); sc_trace(mVcdFile, linebuf_0_pixel_d1, "linebuf_0_pixel_d1"); sc_trace(mVcdFile, linebuf_1_pixel_address0, "linebuf_1_pixel_address0"); sc_trace(mVcdFile, linebuf_1_pixel_ce0, "linebuf_1_pixel_ce0"); sc_trace(mVcdFile, linebuf_1_pixel_we0, "linebuf_1_pixel_we0"); sc_trace(mVcdFile, linebuf_1_pixel_d0, "linebuf_1_pixel_d0"); sc_trace(mVcdFile, linebuf_1_pixel_address1, "linebuf_1_pixel_address1"); sc_trace(mVcdFile, linebuf_1_pixel_ce1, "linebuf_1_pixel_ce1"); sc_trace(mVcdFile, linebuf_1_pixel_we1, "linebuf_1_pixel_we1"); sc_trace(mVcdFile, linebuf_1_pixel_d1, "linebuf_1_pixel_d1"); sc_trace(mVcdFile, x_reg_3203, "x_reg_3203"); sc_trace(mVcdFile, ap_sig_cseq_ST_st74_fsm_73, "ap_sig_cseq_ST_st74_fsm_73"); sc_trace(mVcdFile, ap_sig_2015, "ap_sig_2015"); sc_trace(mVcdFile, src_V_pixel0_update, "src_V_pixel0_update"); sc_trace(mVcdFile, dst_V_pixel1_update, "dst_V_pixel1_update"); sc_trace(mVcdFile, dst_V_pixel1_status, "dst_V_pixel1_status"); sc_trace(mVcdFile, ap_sig_2170, "ap_sig_2170"); sc_trace(mVcdFile, ap_sig_cseq_ST_st41_fsm_40, "ap_sig_cseq_ST_st41_fsm_40"); sc_trace(mVcdFile, ap_sig_2217, "ap_sig_2217"); sc_trace(mVcdFile, ap_sig_cseq_ST_st42_fsm_41, "ap_sig_cseq_ST_st42_fsm_41"); sc_trace(mVcdFile, ap_sig_2225, "ap_sig_2225"); sc_trace(mVcdFile, ap_sig_cseq_ST_st43_fsm_42, "ap_sig_cseq_ST_st43_fsm_42"); sc_trace(mVcdFile, ap_sig_2233, "ap_sig_2233"); sc_trace(mVcdFile, ap_sig_cseq_ST_st44_fsm_43, "ap_sig_cseq_ST_st44_fsm_43"); sc_trace(mVcdFile, ap_sig_2241, "ap_sig_2241"); sc_trace(mVcdFile, ap_sig_cseq_ST_st45_fsm_44, "ap_sig_cseq_ST_st45_fsm_44"); sc_trace(mVcdFile, ap_sig_2249, "ap_sig_2249"); sc_trace(mVcdFile, ap_sig_cseq_ST_st46_fsm_45, "ap_sig_cseq_ST_st46_fsm_45"); sc_trace(mVcdFile, ap_sig_2257, "ap_sig_2257"); sc_trace(mVcdFile, ap_sig_cseq_ST_st47_fsm_46, "ap_sig_cseq_ST_st47_fsm_46"); sc_trace(mVcdFile, ap_sig_2265, "ap_sig_2265"); sc_trace(mVcdFile, ap_sig_cseq_ST_st48_fsm_47, "ap_sig_cseq_ST_st48_fsm_47"); sc_trace(mVcdFile, ap_sig_2273, "ap_sig_2273"); sc_trace(mVcdFile, ap_sig_cseq_ST_st49_fsm_48, "ap_sig_cseq_ST_st49_fsm_48"); sc_trace(mVcdFile, ap_sig_2281, "ap_sig_2281"); sc_trace(mVcdFile, ap_sig_cseq_ST_st50_fsm_49, "ap_sig_cseq_ST_st50_fsm_49"); sc_trace(mVcdFile, ap_sig_2289, "ap_sig_2289"); sc_trace(mVcdFile, ap_sig_cseq_ST_st51_fsm_50, "ap_sig_cseq_ST_st51_fsm_50"); sc_trace(mVcdFile, ap_sig_2297, "ap_sig_2297"); sc_trace(mVcdFile, ap_sig_cseq_ST_st52_fsm_51, "ap_sig_cseq_ST_st52_fsm_51"); sc_trace(mVcdFile, ap_sig_2305, "ap_sig_2305"); sc_trace(mVcdFile, ap_sig_cseq_ST_st53_fsm_52, "ap_sig_cseq_ST_st53_fsm_52"); sc_trace(mVcdFile, ap_sig_2313, "ap_sig_2313"); sc_trace(mVcdFile, ap_sig_cseq_ST_st54_fsm_53, "ap_sig_cseq_ST_st54_fsm_53"); sc_trace(mVcdFile, ap_sig_2321, "ap_sig_2321"); sc_trace(mVcdFile, ap_sig_cseq_ST_st55_fsm_54, "ap_sig_cseq_ST_st55_fsm_54"); sc_trace(mVcdFile, ap_sig_2329, "ap_sig_2329"); sc_trace(mVcdFile, ap_sig_cseq_ST_st56_fsm_55, "ap_sig_cseq_ST_st56_fsm_55"); sc_trace(mVcdFile, ap_sig_2337, "ap_sig_2337"); sc_trace(mVcdFile, ap_sig_cseq_ST_st57_fsm_56, "ap_sig_cseq_ST_st57_fsm_56"); sc_trace(mVcdFile, ap_sig_2345, "ap_sig_2345"); sc_trace(mVcdFile, ap_sig_cseq_ST_st58_fsm_57, "ap_sig_cseq_ST_st58_fsm_57"); sc_trace(mVcdFile, ap_sig_2353, "ap_sig_2353"); sc_trace(mVcdFile, ap_sig_cseq_ST_st59_fsm_58, "ap_sig_cseq_ST_st59_fsm_58"); sc_trace(mVcdFile, ap_sig_2361, "ap_sig_2361"); sc_trace(mVcdFile, ap_sig_cseq_ST_st60_fsm_59, "ap_sig_cseq_ST_st60_fsm_59"); sc_trace(mVcdFile, ap_sig_2369, "ap_sig_2369"); sc_trace(mVcdFile, ap_sig_cseq_ST_st61_fsm_60, "ap_sig_cseq_ST_st61_fsm_60"); sc_trace(mVcdFile, ap_sig_2377, "ap_sig_2377"); sc_trace(mVcdFile, ap_sig_cseq_ST_st62_fsm_61, "ap_sig_cseq_ST_st62_fsm_61"); sc_trace(mVcdFile, ap_sig_2385, "ap_sig_2385"); sc_trace(mVcdFile, ap_sig_cseq_ST_st63_fsm_62, "ap_sig_cseq_ST_st63_fsm_62"); sc_trace(mVcdFile, ap_sig_2393, "ap_sig_2393"); sc_trace(mVcdFile, ap_sig_cseq_ST_st64_fsm_63, "ap_sig_cseq_ST_st64_fsm_63"); sc_trace(mVcdFile, ap_sig_2401, "ap_sig_2401"); sc_trace(mVcdFile, ap_sig_cseq_ST_st65_fsm_64, "ap_sig_cseq_ST_st65_fsm_64"); sc_trace(mVcdFile, ap_sig_2409, "ap_sig_2409"); sc_trace(mVcdFile, ap_sig_cseq_ST_st66_fsm_65, "ap_sig_cseq_ST_st66_fsm_65"); sc_trace(mVcdFile, ap_sig_2417, "ap_sig_2417"); sc_trace(mVcdFile, ap_sig_cseq_ST_st67_fsm_66, "ap_sig_cseq_ST_st67_fsm_66"); sc_trace(mVcdFile, ap_sig_2425, "ap_sig_2425"); sc_trace(mVcdFile, ap_sig_cseq_ST_st68_fsm_67, "ap_sig_cseq_ST_st68_fsm_67"); sc_trace(mVcdFile, ap_sig_2433, "ap_sig_2433"); sc_trace(mVcdFile, ap_sig_cseq_ST_st69_fsm_68, "ap_sig_cseq_ST_st69_fsm_68"); sc_trace(mVcdFile, ap_sig_2441, "ap_sig_2441"); sc_trace(mVcdFile, ap_sig_cseq_ST_st70_fsm_69, "ap_sig_cseq_ST_st70_fsm_69"); sc_trace(mVcdFile, ap_sig_2449, "ap_sig_2449"); sc_trace(mVcdFile, ap_sig_cseq_ST_st71_fsm_70, "ap_sig_cseq_ST_st71_fsm_70"); sc_trace(mVcdFile, ap_sig_2457, "ap_sig_2457"); sc_trace(mVcdFile, ap_sig_cseq_ST_st72_fsm_71, "ap_sig_cseq_ST_st72_fsm_71"); sc_trace(mVcdFile, ap_sig_2465, "ap_sig_2465"); sc_trace(mVcdFile, ap_sig_cseq_ST_st73_fsm_72, "ap_sig_cseq_ST_st73_fsm_72"); sc_trace(mVcdFile, ap_sig_2473, "ap_sig_2473"); sc_trace(mVcdFile, tmp_1707_fu_3242_p4, "tmp_1707_fu_3242_p4"); sc_trace(mVcdFile, tmp_107_cast_fu_3555_p1, "tmp_107_cast_fu_3555_p1"); sc_trace(mVcdFile, tmp_103_cast_fu_3551_p1, "tmp_103_cast_fu_3551_p1"); sc_trace(mVcdFile, tmp_113_cast_fu_3562_p1, "tmp_113_cast_fu_3562_p1"); sc_trace(mVcdFile, tmp_109_cast_fu_3559_p1, "tmp_109_cast_fu_3559_p1"); sc_trace(mVcdFile, tmp_119_cast_fu_3569_p1, "tmp_119_cast_fu_3569_p1"); sc_trace(mVcdFile, tmp_115_cast_fu_3566_p1, "tmp_115_cast_fu_3566_p1"); sc_trace(mVcdFile, tmp_119_1_cast_fu_3582_p1, "tmp_119_1_cast_fu_3582_p1"); sc_trace(mVcdFile, tmp_115_1_cast_fu_3579_p1, "tmp_115_1_cast_fu_3579_p1"); sc_trace(mVcdFile, tmp_119_2_cast_fu_3595_p1, "tmp_119_2_cast_fu_3595_p1"); sc_trace(mVcdFile, tmp_115_2_cast_fu_3592_p1, "tmp_115_2_cast_fu_3592_p1"); sc_trace(mVcdFile, tmp_119_3_cast_fu_3608_p1, "tmp_119_3_cast_fu_3608_p1"); sc_trace(mVcdFile, tmp_115_3_cast_fu_3605_p1, "tmp_115_3_cast_fu_3605_p1"); sc_trace(mVcdFile, tmp_119_4_cast_fu_3621_p1, "tmp_119_4_cast_fu_3621_p1"); sc_trace(mVcdFile, tmp_115_4_cast_fu_3618_p1, "tmp_115_4_cast_fu_3618_p1"); sc_trace(mVcdFile, tmp_119_5_cast_fu_3634_p1, "tmp_119_5_cast_fu_3634_p1"); sc_trace(mVcdFile, tmp_115_5_cast_fu_3631_p1, "tmp_115_5_cast_fu_3631_p1"); sc_trace(mVcdFile, tmp_119_6_cast_fu_3647_p1, "tmp_119_6_cast_fu_3647_p1"); sc_trace(mVcdFile, tmp_115_6_cast_fu_3644_p1, "tmp_115_6_cast_fu_3644_p1"); sc_trace(mVcdFile, tmp_119_7_cast_fu_3660_p1, "tmp_119_7_cast_fu_3660_p1"); sc_trace(mVcdFile, tmp_115_7_cast_fu_3657_p1, "tmp_115_7_cast_fu_3657_p1"); sc_trace(mVcdFile, tmp_119_8_cast_fu_3673_p1, "tmp_119_8_cast_fu_3673_p1"); sc_trace(mVcdFile, tmp_115_8_cast_fu_3670_p1, "tmp_115_8_cast_fu_3670_p1"); sc_trace(mVcdFile, tmp_119_9_cast_fu_3686_p1, "tmp_119_9_cast_fu_3686_p1"); sc_trace(mVcdFile, tmp_115_9_cast_fu_3683_p1, "tmp_115_9_cast_fu_3683_p1"); sc_trace(mVcdFile, tmp_119_cast_1188_fu_3699_p1, "tmp_119_cast_1188_fu_3699_p1"); sc_trace(mVcdFile, tmp_115_cast_1187_fu_3696_p1, "tmp_115_cast_1187_fu_3696_p1"); sc_trace(mVcdFile, tmp_119_10_cast_fu_3712_p1, "tmp_119_10_cast_fu_3712_p1"); sc_trace(mVcdFile, tmp_115_10_cast_fu_3709_p1, "tmp_115_10_cast_fu_3709_p1"); sc_trace(mVcdFile, tmp_119_11_cast_fu_3725_p1, "tmp_119_11_cast_fu_3725_p1"); sc_trace(mVcdFile, tmp_115_11_cast_fu_3722_p1, "tmp_115_11_cast_fu_3722_p1"); sc_trace(mVcdFile, tmp_119_12_cast_fu_3738_p1, "tmp_119_12_cast_fu_3738_p1"); sc_trace(mVcdFile, tmp_115_12_cast_fu_3735_p1, "tmp_115_12_cast_fu_3735_p1"); sc_trace(mVcdFile, tmp_119_13_cast_fu_3751_p1, "tmp_119_13_cast_fu_3751_p1"); sc_trace(mVcdFile, tmp_115_13_cast_fu_3748_p1, "tmp_115_13_cast_fu_3748_p1"); sc_trace(mVcdFile, tmp_119_14_cast_fu_3764_p1, "tmp_119_14_cast_fu_3764_p1"); sc_trace(mVcdFile, tmp_115_14_cast_fu_3761_p1, "tmp_115_14_cast_fu_3761_p1"); sc_trace(mVcdFile, tmp_119_15_cast_fu_3777_p1, "tmp_119_15_cast_fu_3777_p1"); sc_trace(mVcdFile, tmp_115_15_cast_fu_3774_p1, "tmp_115_15_cast_fu_3774_p1"); sc_trace(mVcdFile, tmp_119_16_cast_fu_3790_p1, "tmp_119_16_cast_fu_3790_p1"); sc_trace(mVcdFile, tmp_115_16_cast_fu_3787_p1, "tmp_115_16_cast_fu_3787_p1"); sc_trace(mVcdFile, tmp_119_17_cast_fu_3803_p1, "tmp_119_17_cast_fu_3803_p1"); sc_trace(mVcdFile, tmp_115_17_cast_fu_3800_p1, "tmp_115_17_cast_fu_3800_p1"); sc_trace(mVcdFile, tmp_119_18_cast_fu_3816_p1, "tmp_119_18_cast_fu_3816_p1"); sc_trace(mVcdFile, tmp_115_18_cast_fu_3813_p1, "tmp_115_18_cast_fu_3813_p1"); sc_trace(mVcdFile, tmp_119_19_cast_fu_3829_p1, "tmp_119_19_cast_fu_3829_p1"); sc_trace(mVcdFile, tmp_115_19_cast_fu_3826_p1, "tmp_115_19_cast_fu_3826_p1"); sc_trace(mVcdFile, tmp_119_20_cast_fu_3842_p1, "tmp_119_20_cast_fu_3842_p1"); sc_trace(mVcdFile, tmp_115_20_cast_fu_3839_p1, "tmp_115_20_cast_fu_3839_p1"); sc_trace(mVcdFile, tmp_119_21_cast_fu_3855_p1, "tmp_119_21_cast_fu_3855_p1"); sc_trace(mVcdFile, tmp_115_21_cast_fu_3852_p1, "tmp_115_21_cast_fu_3852_p1"); sc_trace(mVcdFile, tmp_119_22_cast_fu_3868_p1, "tmp_119_22_cast_fu_3868_p1"); sc_trace(mVcdFile, tmp_115_22_cast_fu_3865_p1, "tmp_115_22_cast_fu_3865_p1"); sc_trace(mVcdFile, tmp_119_23_cast_fu_3881_p1, "tmp_119_23_cast_fu_3881_p1"); sc_trace(mVcdFile, tmp_115_23_cast_fu_3878_p1, "tmp_115_23_cast_fu_3878_p1"); sc_trace(mVcdFile, tmp_119_24_cast_fu_3894_p1, "tmp_119_24_cast_fu_3894_p1"); sc_trace(mVcdFile, tmp_115_24_cast_fu_3891_p1, "tmp_115_24_cast_fu_3891_p1"); sc_trace(mVcdFile, tmp_119_25_cast_fu_3907_p1, "tmp_119_25_cast_fu_3907_p1"); sc_trace(mVcdFile, tmp_115_25_cast_fu_3904_p1, "tmp_115_25_cast_fu_3904_p1"); sc_trace(mVcdFile, tmp_119_26_cast_fu_3920_p1, "tmp_119_26_cast_fu_3920_p1"); sc_trace(mVcdFile, tmp_115_26_cast_fu_3917_p1, "tmp_115_26_cast_fu_3917_p1"); sc_trace(mVcdFile, tmp_119_27_cast_fu_3933_p1, "tmp_119_27_cast_fu_3933_p1"); sc_trace(mVcdFile, tmp_115_27_cast_fu_3930_p1, "tmp_115_27_cast_fu_3930_p1"); sc_trace(mVcdFile, tmp_119_28_cast_fu_3946_p1, "tmp_119_28_cast_fu_3946_p1"); sc_trace(mVcdFile, tmp_115_28_cast_fu_3943_p1, "tmp_115_28_cast_fu_3943_p1"); sc_trace(mVcdFile, tmp_119_29_cast_fu_3959_p1, "tmp_119_29_cast_fu_3959_p1"); sc_trace(mVcdFile, tmp_115_29_cast_fu_3956_p1, "tmp_115_29_cast_fu_3956_p1"); sc_trace(mVcdFile, tmp_119_30_cast_fu_3972_p1, "tmp_119_30_cast_fu_3972_p1"); sc_trace(mVcdFile, tmp_115_30_cast_fu_3969_p1, "tmp_115_30_cast_fu_3969_p1"); sc_trace(mVcdFile, tmp_119_31_cast_fu_3985_p1, "tmp_119_31_cast_fu_3985_p1"); sc_trace(mVcdFile, tmp_115_31_cast_fu_3982_p1, "tmp_115_31_cast_fu_3982_p1"); sc_trace(mVcdFile, tmp_119_32_cast_fu_3998_p1, "tmp_119_32_cast_fu_3998_p1"); sc_trace(mVcdFile, tmp_115_32_cast_fu_3995_p1, "tmp_115_32_cast_fu_3995_p1"); sc_trace(mVcdFile, tmp_119_33_cast_fu_4011_p1, "tmp_119_33_cast_fu_4011_p1"); sc_trace(mVcdFile, tmp_115_33_cast_fu_4008_p1, "tmp_115_33_cast_fu_4008_p1"); sc_trace(mVcdFile, tmp_119_34_cast_fu_4024_p1, "tmp_119_34_cast_fu_4024_p1"); sc_trace(mVcdFile, tmp_115_34_cast_fu_4021_p1, "tmp_115_34_cast_fu_4021_p1"); sc_trace(mVcdFile, tmp_119_35_cast_fu_4037_p1, "tmp_119_35_cast_fu_4037_p1"); sc_trace(mVcdFile, tmp_115_35_cast_fu_4034_p1, "tmp_115_35_cast_fu_4034_p1"); sc_trace(mVcdFile, tmp_119_36_cast_fu_4050_p1, "tmp_119_36_cast_fu_4050_p1"); sc_trace(mVcdFile, tmp_115_36_cast_fu_4047_p1, "tmp_115_36_cast_fu_4047_p1"); sc_trace(mVcdFile, tmp_119_37_cast_fu_4063_p1, "tmp_119_37_cast_fu_4063_p1"); sc_trace(mVcdFile, tmp_115_37_cast_fu_4060_p1, "tmp_115_37_cast_fu_4060_p1"); sc_trace(mVcdFile, tmp_119_38_cast_fu_4076_p1, "tmp_119_38_cast_fu_4076_p1"); sc_trace(mVcdFile, tmp_115_38_cast_fu_4073_p1, "tmp_115_38_cast_fu_4073_p1"); sc_trace(mVcdFile, tmp_119_39_cast_fu_4089_p1, "tmp_119_39_cast_fu_4089_p1"); sc_trace(mVcdFile, tmp_115_39_cast_fu_4086_p1, "tmp_115_39_cast_fu_4086_p1"); sc_trace(mVcdFile, tmp_119_40_cast_fu_4102_p1, "tmp_119_40_cast_fu_4102_p1"); sc_trace(mVcdFile, tmp_115_40_cast_fu_4099_p1, "tmp_115_40_cast_fu_4099_p1"); sc_trace(mVcdFile, tmp_119_41_cast_fu_4115_p1, "tmp_119_41_cast_fu_4115_p1"); sc_trace(mVcdFile, tmp_115_41_cast_fu_4112_p1, "tmp_115_41_cast_fu_4112_p1"); sc_trace(mVcdFile, tmp_119_42_cast_fu_4128_p1, "tmp_119_42_cast_fu_4128_p1"); sc_trace(mVcdFile, tmp_115_42_cast_fu_4125_p1, "tmp_115_42_cast_fu_4125_p1"); sc_trace(mVcdFile, tmp_119_43_cast_fu_4141_p1, "tmp_119_43_cast_fu_4141_p1"); sc_trace(mVcdFile, tmp_115_43_cast_fu_4138_p1, "tmp_115_43_cast_fu_4138_p1"); sc_trace(mVcdFile, tmp_119_44_cast_fu_4154_p1, "tmp_119_44_cast_fu_4154_p1"); sc_trace(mVcdFile, tmp_115_44_cast_fu_4151_p1, "tmp_115_44_cast_fu_4151_p1"); sc_trace(mVcdFile, tmp_119_45_cast_fu_4167_p1, "tmp_119_45_cast_fu_4167_p1"); sc_trace(mVcdFile, tmp_115_45_cast_fu_4164_p1, "tmp_115_45_cast_fu_4164_p1"); sc_trace(mVcdFile, tmp_119_46_cast_fu_4180_p1, "tmp_119_46_cast_fu_4180_p1"); sc_trace(mVcdFile, tmp_115_46_cast_fu_4177_p1, "tmp_115_46_cast_fu_4177_p1"); sc_trace(mVcdFile, tmp_119_47_cast_fu_4193_p1, "tmp_119_47_cast_fu_4193_p1"); sc_trace(mVcdFile, tmp_115_47_cast_fu_4190_p1, "tmp_115_47_cast_fu_4190_p1"); sc_trace(mVcdFile, tmp_119_48_cast_fu_4206_p1, "tmp_119_48_cast_fu_4206_p1"); sc_trace(mVcdFile, tmp_115_48_cast_fu_4203_p1, "tmp_115_48_cast_fu_4203_p1"); sc_trace(mVcdFile, tmp_119_49_cast_fu_4219_p1, "tmp_119_49_cast_fu_4219_p1"); sc_trace(mVcdFile, tmp_115_49_cast_fu_4216_p1, "tmp_115_49_cast_fu_4216_p1"); sc_trace(mVcdFile, tmp_119_50_cast_fu_4232_p1, "tmp_119_50_cast_fu_4232_p1"); sc_trace(mVcdFile, tmp_115_50_cast_fu_4229_p1, "tmp_115_50_cast_fu_4229_p1"); sc_trace(mVcdFile, tmp_119_51_cast_fu_4245_p1, "tmp_119_51_cast_fu_4245_p1"); sc_trace(mVcdFile, tmp_115_51_cast_fu_4242_p1, "tmp_115_51_cast_fu_4242_p1"); sc_trace(mVcdFile, tmp_119_52_cast_fu_4258_p1, "tmp_119_52_cast_fu_4258_p1"); sc_trace(mVcdFile, tmp_115_52_cast_fu_4255_p1, "tmp_115_52_cast_fu_4255_p1"); sc_trace(mVcdFile, tmp_119_53_cast_fu_4271_p1, "tmp_119_53_cast_fu_4271_p1"); sc_trace(mVcdFile, tmp_115_53_cast_fu_4268_p1, "tmp_115_53_cast_fu_4268_p1"); sc_trace(mVcdFile, tmp_119_54_cast_fu_4284_p1, "tmp_119_54_cast_fu_4284_p1"); sc_trace(mVcdFile, tmp_115_54_cast_fu_4281_p1, "tmp_115_54_cast_fu_4281_p1"); sc_trace(mVcdFile, tmp_119_55_cast_fu_4297_p1, "tmp_119_55_cast_fu_4297_p1"); sc_trace(mVcdFile, tmp_115_55_cast_fu_4294_p1, "tmp_115_55_cast_fu_4294_p1"); sc_trace(mVcdFile, tmp_119_56_cast_fu_4310_p1, "tmp_119_56_cast_fu_4310_p1"); sc_trace(mVcdFile, tmp_115_56_cast_fu_4307_p1, "tmp_115_56_cast_fu_4307_p1"); sc_trace(mVcdFile, tmp_119_57_cast_fu_4323_p1, "tmp_119_57_cast_fu_4323_p1"); sc_trace(mVcdFile, tmp_115_57_cast_fu_4320_p1, "tmp_115_57_cast_fu_4320_p1"); sc_trace(mVcdFile, tmp_119_58_cast_fu_4336_p1, "tmp_119_58_cast_fu_4336_p1"); sc_trace(mVcdFile, tmp_115_58_cast_fu_4333_p1, "tmp_115_58_cast_fu_4333_p1"); sc_trace(mVcdFile, tmp_119_59_cast_fu_4349_p1, "tmp_119_59_cast_fu_4349_p1"); sc_trace(mVcdFile, tmp_115_59_cast_fu_4346_p1, "tmp_115_59_cast_fu_4346_p1"); sc_trace(mVcdFile, tmp_119_60_cast_fu_4362_p1, "tmp_119_60_cast_fu_4362_p1"); sc_trace(mVcdFile, tmp_115_60_cast_fu_4359_p1, "tmp_115_60_cast_fu_4359_p1"); sc_trace(mVcdFile, tmp_119_61_cast_fu_4375_p1, "tmp_119_61_cast_fu_4375_p1"); sc_trace(mVcdFile, tmp_115_61_cast_fu_4372_p1, "tmp_115_61_cast_fu_4372_p1"); sc_trace(mVcdFile, tmp_119_62_cast_fu_4388_p1, "tmp_119_62_cast_fu_4388_p1"); sc_trace(mVcdFile, tmp_115_62_cast_fu_4385_p1, "tmp_115_62_cast_fu_4385_p1"); sc_trace(mVcdFile, tmp_119_63_cast_fu_4401_p1, "tmp_119_63_cast_fu_4401_p1"); sc_trace(mVcdFile, tmp_115_63_cast_fu_4398_p1, "tmp_115_63_cast_fu_4398_p1"); sc_trace(mVcdFile, tmp_119_64_cast_fu_4414_p1, "tmp_119_64_cast_fu_4414_p1"); sc_trace(mVcdFile, tmp_115_64_cast_fu_4411_p1, "tmp_115_64_cast_fu_4411_p1"); sc_trace(mVcdFile, tmp_119_65_cast_fu_4427_p1, "tmp_119_65_cast_fu_4427_p1"); sc_trace(mVcdFile, tmp_115_65_cast_fu_4424_p1, "tmp_115_65_cast_fu_4424_p1"); sc_trace(mVcdFile, tmp_119_66_cast_fu_4440_p1, "tmp_119_66_cast_fu_4440_p1"); sc_trace(mVcdFile, tmp_115_66_cast_fu_4437_p1, "tmp_115_66_cast_fu_4437_p1"); sc_trace(mVcdFile, tmp_119_67_cast_fu_4454_p1, "tmp_119_67_cast_fu_4454_p1"); sc_trace(mVcdFile, tmp_115_67_cast_fu_4450_p1, "tmp_115_67_cast_fu_4450_p1"); sc_trace(mVcdFile, p_shl_fu_4476_p3, "p_shl_fu_4476_p3"); sc_trace(mVcdFile, tmp_114_fu_4487_p3, "tmp_114_fu_4487_p3"); sc_trace(mVcdFile, tmp_122_cast_fu_4498_p1, "tmp_122_cast_fu_4498_p1"); sc_trace(mVcdFile, p_shl_cast_fu_4483_p1, "p_shl_cast_fu_4483_p1"); sc_trace(mVcdFile, tmp_114_cast_fu_4494_p1, "tmp_114_cast_fu_4494_p1"); sc_trace(mVcdFile, tmp_124_fu_4501_p2, "tmp_124_fu_4501_p2"); sc_trace(mVcdFile, tmp_125_fu_4507_p2, "tmp_125_fu_4507_p2"); sc_trace(mVcdFile, tmp_4936_cast_fu_4513_p1, "tmp_4936_cast_fu_4513_p1"); sc_trace(mVcdFile, tmp_4937_cast_fu_4516_p1, "tmp_4937_cast_fu_4516_p1"); sc_trace(mVcdFile, tmp_s_fu_4519_p2, "tmp_s_fu_4519_p2"); sc_trace(mVcdFile, sum_tr_fu_4525_p2, "sum_tr_fu_4525_p2"); sc_trace(mVcdFile, tmp_1708_fu_4531_p4, "tmp_1708_fu_4531_p4"); sc_trace(mVcdFile, icmp1_fu_4541_p2, "icmp1_fu_4541_p2"); sc_trace(mVcdFile, tmp_1709_fu_4547_p3, "tmp_1709_fu_4547_p3"); sc_trace(mVcdFile, tmp_1430_fu_4567_p2, "tmp_1430_fu_4567_p2"); sc_trace(mVcdFile, v_1_fu_4559_p3, "v_1_fu_4559_p3"); sc_trace(mVcdFile, tmp_1710_fu_4555_p1, "tmp_1710_fu_4555_p1"); sc_trace(mVcdFile, p_shl1_fu_4581_p3, "p_shl1_fu_4581_p3"); sc_trace(mVcdFile, tmp_114_1_fu_4592_p3, "tmp_114_1_fu_4592_p3"); sc_trace(mVcdFile, tmp_122_1_cast_fu_4603_p1, "tmp_122_1_cast_fu_4603_p1"); sc_trace(mVcdFile, p_shl1_cast_fu_4588_p1, "p_shl1_cast_fu_4588_p1"); sc_trace(mVcdFile, tmp_114_1_cast_fu_4599_p1, "tmp_114_1_cast_fu_4599_p1"); sc_trace(mVcdFile, tmp_124_1_fu_4606_p2, "tmp_124_1_fu_4606_p2"); sc_trace(mVcdFile, tmp_125_1_fu_4612_p2, "tmp_125_1_fu_4612_p2"); sc_trace(mVcdFile, tmp_4941_cast_fu_4618_p1, "tmp_4941_cast_fu_4618_p1"); sc_trace(mVcdFile, tmp_4942_cast_fu_4621_p1, "tmp_4942_cast_fu_4621_p1"); sc_trace(mVcdFile, tmp_1431_fu_4624_p2, "tmp_1431_fu_4624_p2"); sc_trace(mVcdFile, sum_tr_1_fu_4630_p2, "sum_tr_1_fu_4630_p2"); sc_trace(mVcdFile, tmp_1711_fu_4636_p4, "tmp_1711_fu_4636_p4"); sc_trace(mVcdFile, icmp2_fu_4646_p2, "icmp2_fu_4646_p2"); sc_trace(mVcdFile, tmp_1712_fu_4652_p3, "tmp_1712_fu_4652_p3"); sc_trace(mVcdFile, tmp_1432_fu_4672_p2, "tmp_1432_fu_4672_p2"); sc_trace(mVcdFile, v_1_1_fu_4664_p3, "v_1_1_fu_4664_p3"); sc_trace(mVcdFile, tmp_1713_fu_4660_p1, "tmp_1713_fu_4660_p1"); sc_trace(mVcdFile, p_shl2_fu_4686_p3, "p_shl2_fu_4686_p3"); sc_trace(mVcdFile, tmp_114_2_fu_4697_p3, "tmp_114_2_fu_4697_p3"); sc_trace(mVcdFile, tmp_122_2_cast_fu_4708_p1, "tmp_122_2_cast_fu_4708_p1"); sc_trace(mVcdFile, p_shl2_cast_fu_4693_p1, "p_shl2_cast_fu_4693_p1"); sc_trace(mVcdFile, tmp_114_2_cast_fu_4704_p1, "tmp_114_2_cast_fu_4704_p1"); sc_trace(mVcdFile, tmp_124_2_fu_4711_p2, "tmp_124_2_fu_4711_p2"); sc_trace(mVcdFile, tmp_125_2_fu_4717_p2, "tmp_125_2_fu_4717_p2"); sc_trace(mVcdFile, tmp_4946_cast_fu_4723_p1, "tmp_4946_cast_fu_4723_p1"); sc_trace(mVcdFile, tmp_4947_cast_fu_4726_p1, "tmp_4947_cast_fu_4726_p1"); sc_trace(mVcdFile, tmp_1433_fu_4729_p2, "tmp_1433_fu_4729_p2"); sc_trace(mVcdFile, sum_tr_2_fu_4735_p2, "sum_tr_2_fu_4735_p2"); sc_trace(mVcdFile, tmp_1714_fu_4741_p4, "tmp_1714_fu_4741_p4"); sc_trace(mVcdFile, icmp3_fu_4751_p2, "icmp3_fu_4751_p2"); sc_trace(mVcdFile, tmp_1715_fu_4757_p3, "tmp_1715_fu_4757_p3"); sc_trace(mVcdFile, tmp_1434_fu_4777_p2, "tmp_1434_fu_4777_p2"); sc_trace(mVcdFile, v_1_2_fu_4769_p3, "v_1_2_fu_4769_p3"); sc_trace(mVcdFile, tmp_1716_fu_4765_p1, "tmp_1716_fu_4765_p1"); sc_trace(mVcdFile, p_shl3_fu_4791_p3, "p_shl3_fu_4791_p3"); sc_trace(mVcdFile, tmp_114_3_fu_4802_p3, "tmp_114_3_fu_4802_p3"); sc_trace(mVcdFile, tmp_122_3_cast_fu_4813_p1, "tmp_122_3_cast_fu_4813_p1"); sc_trace(mVcdFile, p_shl3_cast_fu_4798_p1, "p_shl3_cast_fu_4798_p1"); sc_trace(mVcdFile, tmp_114_3_cast_fu_4809_p1, "tmp_114_3_cast_fu_4809_p1"); sc_trace(mVcdFile, tmp_124_3_fu_4816_p2, "tmp_124_3_fu_4816_p2"); sc_trace(mVcdFile, tmp_125_3_fu_4822_p2, "tmp_125_3_fu_4822_p2"); sc_trace(mVcdFile, tmp_4951_cast_fu_4828_p1, "tmp_4951_cast_fu_4828_p1"); sc_trace(mVcdFile, tmp_4952_cast_fu_4831_p1, "tmp_4952_cast_fu_4831_p1"); sc_trace(mVcdFile, tmp_1435_fu_4834_p2, "tmp_1435_fu_4834_p2"); sc_trace(mVcdFile, sum_tr_3_fu_4840_p2, "sum_tr_3_fu_4840_p2"); sc_trace(mVcdFile, tmp_1717_fu_4846_p4, "tmp_1717_fu_4846_p4"); sc_trace(mVcdFile, icmp4_fu_4856_p2, "icmp4_fu_4856_p2"); sc_trace(mVcdFile, tmp_1718_fu_4862_p3, "tmp_1718_fu_4862_p3"); sc_trace(mVcdFile, tmp_1436_fu_4882_p2, "tmp_1436_fu_4882_p2"); sc_trace(mVcdFile, v_1_3_fu_4874_p3, "v_1_3_fu_4874_p3"); sc_trace(mVcdFile, tmp_1719_fu_4870_p1, "tmp_1719_fu_4870_p1"); sc_trace(mVcdFile, p_shl4_fu_4896_p3, "p_shl4_fu_4896_p3"); sc_trace(mVcdFile, tmp_114_4_fu_4907_p3, "tmp_114_4_fu_4907_p3"); sc_trace(mVcdFile, tmp_122_4_cast_fu_4918_p1, "tmp_122_4_cast_fu_4918_p1"); sc_trace(mVcdFile, p_shl4_cast_fu_4903_p1, "p_shl4_cast_fu_4903_p1"); sc_trace(mVcdFile, tmp_114_4_cast_fu_4914_p1, "tmp_114_4_cast_fu_4914_p1"); sc_trace(mVcdFile, tmp_124_4_fu_4921_p2, "tmp_124_4_fu_4921_p2"); sc_trace(mVcdFile, tmp_125_4_fu_4927_p2, "tmp_125_4_fu_4927_p2"); sc_trace(mVcdFile, tmp_4956_cast_fu_4933_p1, "tmp_4956_cast_fu_4933_p1"); sc_trace(mVcdFile, tmp_4957_cast_fu_4936_p1, "tmp_4957_cast_fu_4936_p1"); sc_trace(mVcdFile, tmp_1437_fu_4939_p2, "tmp_1437_fu_4939_p2"); sc_trace(mVcdFile, sum_tr_4_fu_4945_p2, "sum_tr_4_fu_4945_p2"); sc_trace(mVcdFile, tmp_1720_fu_4951_p4, "tmp_1720_fu_4951_p4"); sc_trace(mVcdFile, icmp5_fu_4961_p2, "icmp5_fu_4961_p2"); sc_trace(mVcdFile, tmp_1721_fu_4967_p3, "tmp_1721_fu_4967_p3"); sc_trace(mVcdFile, tmp_1438_fu_4987_p2, "tmp_1438_fu_4987_p2"); sc_trace(mVcdFile, v_1_4_fu_4979_p3, "v_1_4_fu_4979_p3"); sc_trace(mVcdFile, tmp_1722_fu_4975_p1, "tmp_1722_fu_4975_p1"); sc_trace(mVcdFile, p_shl5_fu_5001_p3, "p_shl5_fu_5001_p3"); sc_trace(mVcdFile, tmp_114_5_fu_5012_p3, "tmp_114_5_fu_5012_p3"); sc_trace(mVcdFile, tmp_122_5_cast_fu_5023_p1, "tmp_122_5_cast_fu_5023_p1"); sc_trace(mVcdFile, p_shl5_cast_fu_5008_p1, "p_shl5_cast_fu_5008_p1"); sc_trace(mVcdFile, tmp_114_5_cast_fu_5019_p1, "tmp_114_5_cast_fu_5019_p1"); sc_trace(mVcdFile, tmp_124_5_fu_5026_p2, "tmp_124_5_fu_5026_p2"); sc_trace(mVcdFile, tmp_125_5_fu_5032_p2, "tmp_125_5_fu_5032_p2"); sc_trace(mVcdFile, tmp_4961_cast_fu_5038_p1, "tmp_4961_cast_fu_5038_p1"); sc_trace(mVcdFile, tmp_4962_cast_fu_5041_p1, "tmp_4962_cast_fu_5041_p1"); sc_trace(mVcdFile, tmp_1439_fu_5044_p2, "tmp_1439_fu_5044_p2"); sc_trace(mVcdFile, sum_tr_5_fu_5050_p2, "sum_tr_5_fu_5050_p2"); sc_trace(mVcdFile, tmp_1723_fu_5056_p4, "tmp_1723_fu_5056_p4"); sc_trace(mVcdFile, icmp6_fu_5066_p2, "icmp6_fu_5066_p2"); sc_trace(mVcdFile, tmp_1724_fu_5072_p3, "tmp_1724_fu_5072_p3"); sc_trace(mVcdFile, tmp_1440_fu_5092_p2, "tmp_1440_fu_5092_p2"); sc_trace(mVcdFile, v_1_5_fu_5084_p3, "v_1_5_fu_5084_p3"); sc_trace(mVcdFile, tmp_1725_fu_5080_p1, "tmp_1725_fu_5080_p1"); sc_trace(mVcdFile, p_shl6_fu_5106_p3, "p_shl6_fu_5106_p3"); sc_trace(mVcdFile, tmp_114_6_fu_5117_p3, "tmp_114_6_fu_5117_p3"); sc_trace(mVcdFile, tmp_122_6_cast_fu_5128_p1, "tmp_122_6_cast_fu_5128_p1"); sc_trace(mVcdFile, p_shl6_cast_fu_5113_p1, "p_shl6_cast_fu_5113_p1"); sc_trace(mVcdFile, tmp_114_6_cast_fu_5124_p1, "tmp_114_6_cast_fu_5124_p1"); sc_trace(mVcdFile, tmp_124_6_fu_5131_p2, "tmp_124_6_fu_5131_p2"); sc_trace(mVcdFile, tmp_125_6_fu_5137_p2, "tmp_125_6_fu_5137_p2"); sc_trace(mVcdFile, tmp_4966_cast_fu_5143_p1, "tmp_4966_cast_fu_5143_p1"); sc_trace(mVcdFile, tmp_4967_cast_fu_5146_p1, "tmp_4967_cast_fu_5146_p1"); sc_trace(mVcdFile, tmp_1441_fu_5149_p2, "tmp_1441_fu_5149_p2"); sc_trace(mVcdFile, sum_tr_6_fu_5155_p2, "sum_tr_6_fu_5155_p2"); sc_trace(mVcdFile, tmp_1726_fu_5161_p4, "tmp_1726_fu_5161_p4"); sc_trace(mVcdFile, icmp7_fu_5171_p2, "icmp7_fu_5171_p2"); sc_trace(mVcdFile, tmp_1727_fu_5177_p3, "tmp_1727_fu_5177_p3"); sc_trace(mVcdFile, tmp_1442_fu_5197_p2, "tmp_1442_fu_5197_p2"); sc_trace(mVcdFile, v_1_6_fu_5189_p3, "v_1_6_fu_5189_p3"); sc_trace(mVcdFile, tmp_1728_fu_5185_p1, "tmp_1728_fu_5185_p1"); sc_trace(mVcdFile, p_shl7_fu_5211_p3, "p_shl7_fu_5211_p3"); sc_trace(mVcdFile, tmp_114_7_fu_5222_p3, "tmp_114_7_fu_5222_p3"); sc_trace(mVcdFile, tmp_122_7_cast_fu_5233_p1, "tmp_122_7_cast_fu_5233_p1"); sc_trace(mVcdFile, p_shl7_cast_fu_5218_p1, "p_shl7_cast_fu_5218_p1"); sc_trace(mVcdFile, tmp_114_7_cast_fu_5229_p1, "tmp_114_7_cast_fu_5229_p1"); sc_trace(mVcdFile, tmp_124_7_fu_5236_p2, "tmp_124_7_fu_5236_p2"); sc_trace(mVcdFile, tmp_125_7_fu_5242_p2, "tmp_125_7_fu_5242_p2"); sc_trace(mVcdFile, tmp_4971_cast_fu_5248_p1, "tmp_4971_cast_fu_5248_p1"); sc_trace(mVcdFile, tmp_4972_cast_fu_5251_p1, "tmp_4972_cast_fu_5251_p1"); sc_trace(mVcdFile, tmp_1443_fu_5254_p2, "tmp_1443_fu_5254_p2"); sc_trace(mVcdFile, sum_tr_7_fu_5260_p2, "sum_tr_7_fu_5260_p2"); sc_trace(mVcdFile, tmp_1729_fu_5266_p4, "tmp_1729_fu_5266_p4"); sc_trace(mVcdFile, icmp8_fu_5276_p2, "icmp8_fu_5276_p2"); sc_trace(mVcdFile, tmp_1730_fu_5282_p3, "tmp_1730_fu_5282_p3"); sc_trace(mVcdFile, tmp_1444_fu_5302_p2, "tmp_1444_fu_5302_p2"); sc_trace(mVcdFile, v_1_7_fu_5294_p3, "v_1_7_fu_5294_p3"); sc_trace(mVcdFile, tmp_1731_fu_5290_p1, "tmp_1731_fu_5290_p1"); sc_trace(mVcdFile, p_shl8_fu_5316_p3, "p_shl8_fu_5316_p3"); sc_trace(mVcdFile, tmp_114_8_fu_5327_p3, "tmp_114_8_fu_5327_p3"); sc_trace(mVcdFile, tmp_122_8_cast_fu_5338_p1, "tmp_122_8_cast_fu_5338_p1"); sc_trace(mVcdFile, p_shl8_cast_fu_5323_p1, "p_shl8_cast_fu_5323_p1"); sc_trace(mVcdFile, tmp_114_8_cast_fu_5334_p1, "tmp_114_8_cast_fu_5334_p1"); sc_trace(mVcdFile, tmp_124_8_fu_5341_p2, "tmp_124_8_fu_5341_p2"); sc_trace(mVcdFile, tmp_125_8_fu_5347_p2, "tmp_125_8_fu_5347_p2"); sc_trace(mVcdFile, tmp_4976_cast_fu_5353_p1, "tmp_4976_cast_fu_5353_p1"); sc_trace(mVcdFile, tmp_4977_cast_fu_5356_p1, "tmp_4977_cast_fu_5356_p1"); sc_trace(mVcdFile, tmp_1445_fu_5359_p2, "tmp_1445_fu_5359_p2"); sc_trace(mVcdFile, sum_tr_8_fu_5365_p2, "sum_tr_8_fu_5365_p2"); sc_trace(mVcdFile, tmp_1732_fu_5371_p4, "tmp_1732_fu_5371_p4"); sc_trace(mVcdFile, icmp9_fu_5381_p2, "icmp9_fu_5381_p2"); sc_trace(mVcdFile, tmp_1733_fu_5387_p3, "tmp_1733_fu_5387_p3"); sc_trace(mVcdFile, tmp_1446_fu_5407_p2, "tmp_1446_fu_5407_p2"); sc_trace(mVcdFile, v_1_8_fu_5399_p3, "v_1_8_fu_5399_p3"); sc_trace(mVcdFile, tmp_1734_fu_5395_p1, "tmp_1734_fu_5395_p1"); sc_trace(mVcdFile, p_shl9_fu_5421_p3, "p_shl9_fu_5421_p3"); sc_trace(mVcdFile, tmp_114_9_fu_5432_p3, "tmp_114_9_fu_5432_p3"); sc_trace(mVcdFile, tmp_122_9_cast_fu_5443_p1, "tmp_122_9_cast_fu_5443_p1"); sc_trace(mVcdFile, p_shl9_cast_fu_5428_p1, "p_shl9_cast_fu_5428_p1"); sc_trace(mVcdFile, tmp_114_9_cast_fu_5439_p1, "tmp_114_9_cast_fu_5439_p1"); sc_trace(mVcdFile, tmp_124_9_fu_5446_p2, "tmp_124_9_fu_5446_p2"); sc_trace(mVcdFile, tmp_125_9_fu_5452_p2, "tmp_125_9_fu_5452_p2"); sc_trace(mVcdFile, tmp_4981_cast_fu_5458_p1, "tmp_4981_cast_fu_5458_p1"); sc_trace(mVcdFile, tmp_4982_cast_fu_5461_p1, "tmp_4982_cast_fu_5461_p1"); sc_trace(mVcdFile, tmp_1447_fu_5464_p2, "tmp_1447_fu_5464_p2"); sc_trace(mVcdFile, sum_tr_9_fu_5470_p2, "sum_tr_9_fu_5470_p2"); sc_trace(mVcdFile, tmp_1735_fu_5476_p4, "tmp_1735_fu_5476_p4"); sc_trace(mVcdFile, icmp10_fu_5486_p2, "icmp10_fu_5486_p2"); sc_trace(mVcdFile, tmp_1736_fu_5492_p3, "tmp_1736_fu_5492_p3"); sc_trace(mVcdFile, tmp_1448_fu_5512_p2, "tmp_1448_fu_5512_p2"); sc_trace(mVcdFile, v_1_9_fu_5504_p3, "v_1_9_fu_5504_p3"); sc_trace(mVcdFile, tmp_1737_fu_5500_p1, "tmp_1737_fu_5500_p1"); sc_trace(mVcdFile, p_shl10_fu_5526_p3, "p_shl10_fu_5526_p3"); sc_trace(mVcdFile, tmp_114_s_fu_5537_p3, "tmp_114_s_fu_5537_p3"); sc_trace(mVcdFile, tmp_122_cast_1189_fu_5548_p1, "tmp_122_cast_1189_fu_5548_p1"); sc_trace(mVcdFile, p_shl10_cast_fu_5533_p1, "p_shl10_cast_fu_5533_p1"); sc_trace(mVcdFile, tmp_114_cast_1186_fu_5544_p1, "tmp_114_cast_1186_fu_5544_p1"); sc_trace(mVcdFile, tmp_124_s_fu_5551_p2, "tmp_124_s_fu_5551_p2"); sc_trace(mVcdFile, tmp_125_s_fu_5557_p2, "tmp_125_s_fu_5557_p2"); sc_trace(mVcdFile, tmp_4986_cast_fu_5563_p1, "tmp_4986_cast_fu_5563_p1"); sc_trace(mVcdFile, tmp_4987_cast_fu_5566_p1, "tmp_4987_cast_fu_5566_p1"); sc_trace(mVcdFile, tmp_1449_fu_5569_p2, "tmp_1449_fu_5569_p2"); sc_trace(mVcdFile, sum_tr_s_fu_5575_p2, "sum_tr_s_fu_5575_p2"); sc_trace(mVcdFile, tmp_1738_fu_5581_p4, "tmp_1738_fu_5581_p4"); sc_trace(mVcdFile, icmp11_fu_5591_p2, "icmp11_fu_5591_p2"); sc_trace(mVcdFile, tmp_1739_fu_5597_p3, "tmp_1739_fu_5597_p3"); sc_trace(mVcdFile, tmp_1450_fu_5617_p2, "tmp_1450_fu_5617_p2"); sc_trace(mVcdFile, v_1_s_fu_5609_p3, "v_1_s_fu_5609_p3"); sc_trace(mVcdFile, tmp_1740_fu_5605_p1, "tmp_1740_fu_5605_p1"); sc_trace(mVcdFile, p_shl11_fu_5631_p3, "p_shl11_fu_5631_p3"); sc_trace(mVcdFile, tmp_114_10_fu_5642_p3, "tmp_114_10_fu_5642_p3"); sc_trace(mVcdFile, tmp_122_10_cast_fu_5653_p1, "tmp_122_10_cast_fu_5653_p1"); sc_trace(mVcdFile, p_shl11_cast_fu_5638_p1, "p_shl11_cast_fu_5638_p1"); sc_trace(mVcdFile, tmp_114_10_cast_fu_5649_p1, "tmp_114_10_cast_fu_5649_p1"); sc_trace(mVcdFile, tmp_124_10_fu_5656_p2, "tmp_124_10_fu_5656_p2"); sc_trace(mVcdFile, tmp_125_10_fu_5662_p2, "tmp_125_10_fu_5662_p2"); sc_trace(mVcdFile, tmp_4991_cast_fu_5668_p1, "tmp_4991_cast_fu_5668_p1"); sc_trace(mVcdFile, tmp_4992_cast_fu_5671_p1, "tmp_4992_cast_fu_5671_p1"); sc_trace(mVcdFile, tmp_1451_fu_5674_p2, "tmp_1451_fu_5674_p2"); sc_trace(mVcdFile, sum_tr_10_fu_5680_p2, "sum_tr_10_fu_5680_p2"); sc_trace(mVcdFile, tmp_1741_fu_5686_p4, "tmp_1741_fu_5686_p4"); sc_trace(mVcdFile, icmp12_fu_5696_p2, "icmp12_fu_5696_p2"); sc_trace(mVcdFile, tmp_1742_fu_5702_p3, "tmp_1742_fu_5702_p3"); sc_trace(mVcdFile, tmp_1452_fu_5722_p2, "tmp_1452_fu_5722_p2"); sc_trace(mVcdFile, v_1_10_fu_5714_p3, "v_1_10_fu_5714_p3"); sc_trace(mVcdFile, tmp_1743_fu_5710_p1, "tmp_1743_fu_5710_p1"); sc_trace(mVcdFile, p_shl12_fu_5736_p3, "p_shl12_fu_5736_p3"); sc_trace(mVcdFile, tmp_114_11_fu_5747_p3, "tmp_114_11_fu_5747_p3"); sc_trace(mVcdFile, tmp_122_11_cast_fu_5758_p1, "tmp_122_11_cast_fu_5758_p1"); sc_trace(mVcdFile, p_shl12_cast_fu_5743_p1, "p_shl12_cast_fu_5743_p1"); sc_trace(mVcdFile, tmp_114_11_cast_fu_5754_p1, "tmp_114_11_cast_fu_5754_p1"); sc_trace(mVcdFile, tmp_124_11_fu_5761_p2, "tmp_124_11_fu_5761_p2"); sc_trace(mVcdFile, tmp_125_11_fu_5767_p2, "tmp_125_11_fu_5767_p2"); sc_trace(mVcdFile, tmp_4996_cast_fu_5773_p1, "tmp_4996_cast_fu_5773_p1"); sc_trace(mVcdFile, tmp_4997_cast_fu_5776_p1, "tmp_4997_cast_fu_5776_p1"); sc_trace(mVcdFile, tmp_1453_fu_5779_p2, "tmp_1453_fu_5779_p2"); sc_trace(mVcdFile, sum_tr_11_fu_5785_p2, "sum_tr_11_fu_5785_p2"); sc_trace(mVcdFile, tmp_1744_fu_5791_p4, "tmp_1744_fu_5791_p4"); sc_trace(mVcdFile, icmp13_fu_5801_p2, "icmp13_fu_5801_p2"); sc_trace(mVcdFile, tmp_1745_fu_5807_p3, "tmp_1745_fu_5807_p3"); sc_trace(mVcdFile, tmp_1454_fu_5827_p2, "tmp_1454_fu_5827_p2"); sc_trace(mVcdFile, v_1_11_fu_5819_p3, "v_1_11_fu_5819_p3"); sc_trace(mVcdFile, tmp_1746_fu_5815_p1, "tmp_1746_fu_5815_p1"); sc_trace(mVcdFile, p_shl13_fu_5841_p3, "p_shl13_fu_5841_p3"); sc_trace(mVcdFile, tmp_114_12_fu_5852_p3, "tmp_114_12_fu_5852_p3"); sc_trace(mVcdFile, tmp_122_12_cast_fu_5863_p1, "tmp_122_12_cast_fu_5863_p1"); sc_trace(mVcdFile, p_shl13_cast_fu_5848_p1, "p_shl13_cast_fu_5848_p1"); sc_trace(mVcdFile, tmp_114_12_cast_fu_5859_p1, "tmp_114_12_cast_fu_5859_p1"); sc_trace(mVcdFile, tmp_124_12_fu_5866_p2, "tmp_124_12_fu_5866_p2"); sc_trace(mVcdFile, tmp_125_12_fu_5872_p2, "tmp_125_12_fu_5872_p2"); sc_trace(mVcdFile, tmp_5001_cast_fu_5878_p1, "tmp_5001_cast_fu_5878_p1"); sc_trace(mVcdFile, tmp_5002_cast_fu_5881_p1, "tmp_5002_cast_fu_5881_p1"); sc_trace(mVcdFile, tmp_1455_fu_5884_p2, "tmp_1455_fu_5884_p2"); sc_trace(mVcdFile, sum_tr_12_fu_5890_p2, "sum_tr_12_fu_5890_p2"); sc_trace(mVcdFile, tmp_1747_fu_5896_p4, "tmp_1747_fu_5896_p4"); sc_trace(mVcdFile, icmp14_fu_5906_p2, "icmp14_fu_5906_p2"); sc_trace(mVcdFile, tmp_1748_fu_5912_p3, "tmp_1748_fu_5912_p3"); sc_trace(mVcdFile, tmp_1456_fu_5932_p2, "tmp_1456_fu_5932_p2"); sc_trace(mVcdFile, v_1_12_fu_5924_p3, "v_1_12_fu_5924_p3"); sc_trace(mVcdFile, tmp_1749_fu_5920_p1, "tmp_1749_fu_5920_p1"); sc_trace(mVcdFile, p_shl14_fu_5946_p3, "p_shl14_fu_5946_p3"); sc_trace(mVcdFile, tmp_114_13_fu_5957_p3, "tmp_114_13_fu_5957_p3"); sc_trace(mVcdFile, tmp_122_13_cast_fu_5968_p1, "tmp_122_13_cast_fu_5968_p1"); sc_trace(mVcdFile, p_shl14_cast_fu_5953_p1, "p_shl14_cast_fu_5953_p1"); sc_trace(mVcdFile, tmp_114_13_cast_fu_5964_p1, "tmp_114_13_cast_fu_5964_p1"); sc_trace(mVcdFile, tmp_124_13_fu_5971_p2, "tmp_124_13_fu_5971_p2"); sc_trace(mVcdFile, tmp_125_13_fu_5977_p2, "tmp_125_13_fu_5977_p2"); sc_trace(mVcdFile, tmp_5006_cast_fu_5983_p1, "tmp_5006_cast_fu_5983_p1"); sc_trace(mVcdFile, tmp_5007_cast_fu_5986_p1, "tmp_5007_cast_fu_5986_p1"); sc_trace(mVcdFile, tmp_1457_fu_5989_p2, "tmp_1457_fu_5989_p2"); sc_trace(mVcdFile, sum_tr_13_fu_5995_p2, "sum_tr_13_fu_5995_p2"); sc_trace(mVcdFile, tmp_1750_fu_6001_p4, "tmp_1750_fu_6001_p4"); sc_trace(mVcdFile, icmp15_fu_6011_p2, "icmp15_fu_6011_p2"); sc_trace(mVcdFile, tmp_1751_fu_6017_p3, "tmp_1751_fu_6017_p3"); sc_trace(mVcdFile, tmp_1458_fu_6037_p2, "tmp_1458_fu_6037_p2"); sc_trace(mVcdFile, v_1_13_fu_6029_p3, "v_1_13_fu_6029_p3"); sc_trace(mVcdFile, tmp_1752_fu_6025_p1, "tmp_1752_fu_6025_p1"); sc_trace(mVcdFile, p_shl15_fu_6051_p3, "p_shl15_fu_6051_p3"); sc_trace(mVcdFile, tmp_114_14_fu_6062_p3, "tmp_114_14_fu_6062_p3"); sc_trace(mVcdFile, tmp_122_14_cast_fu_6073_p1, "tmp_122_14_cast_fu_6073_p1"); sc_trace(mVcdFile, p_shl15_cast_fu_6058_p1, "p_shl15_cast_fu_6058_p1"); sc_trace(mVcdFile, tmp_114_14_cast_fu_6069_p1, "tmp_114_14_cast_fu_6069_p1"); sc_trace(mVcdFile, tmp_124_14_fu_6076_p2, "tmp_124_14_fu_6076_p2"); sc_trace(mVcdFile, tmp_125_14_fu_6082_p2, "tmp_125_14_fu_6082_p2"); sc_trace(mVcdFile, tmp_5011_cast_fu_6088_p1, "tmp_5011_cast_fu_6088_p1"); sc_trace(mVcdFile, tmp_5012_cast_fu_6091_p1, "tmp_5012_cast_fu_6091_p1"); sc_trace(mVcdFile, tmp_1459_fu_6094_p2, "tmp_1459_fu_6094_p2"); sc_trace(mVcdFile, sum_tr_14_fu_6100_p2, "sum_tr_14_fu_6100_p2"); sc_trace(mVcdFile, tmp_1753_fu_6106_p4, "tmp_1753_fu_6106_p4"); sc_trace(mVcdFile, icmp16_fu_6116_p2, "icmp16_fu_6116_p2"); sc_trace(mVcdFile, tmp_1754_fu_6122_p3, "tmp_1754_fu_6122_p3"); sc_trace(mVcdFile, tmp_1460_fu_6142_p2, "tmp_1460_fu_6142_p2"); sc_trace(mVcdFile, v_1_14_fu_6134_p3, "v_1_14_fu_6134_p3"); sc_trace(mVcdFile, tmp_1755_fu_6130_p1, "tmp_1755_fu_6130_p1"); sc_trace(mVcdFile, p_shl16_fu_6156_p3, "p_shl16_fu_6156_p3"); sc_trace(mVcdFile, tmp_114_15_fu_6167_p3, "tmp_114_15_fu_6167_p3"); sc_trace(mVcdFile, tmp_122_15_cast_fu_6178_p1, "tmp_122_15_cast_fu_6178_p1"); sc_trace(mVcdFile, p_shl16_cast_fu_6163_p1, "p_shl16_cast_fu_6163_p1"); sc_trace(mVcdFile, tmp_114_15_cast_fu_6174_p1, "tmp_114_15_cast_fu_6174_p1"); sc_trace(mVcdFile, tmp_124_15_fu_6181_p2, "tmp_124_15_fu_6181_p2"); sc_trace(mVcdFile, tmp_125_15_fu_6187_p2, "tmp_125_15_fu_6187_p2"); sc_trace(mVcdFile, tmp_5016_cast_fu_6193_p1, "tmp_5016_cast_fu_6193_p1"); sc_trace(mVcdFile, tmp_5017_cast_fu_6196_p1, "tmp_5017_cast_fu_6196_p1"); sc_trace(mVcdFile, tmp_1461_fu_6199_p2, "tmp_1461_fu_6199_p2"); sc_trace(mVcdFile, sum_tr_15_fu_6205_p2, "sum_tr_15_fu_6205_p2"); sc_trace(mVcdFile, tmp_1756_fu_6211_p4, "tmp_1756_fu_6211_p4"); sc_trace(mVcdFile, icmp17_fu_6221_p2, "icmp17_fu_6221_p2"); sc_trace(mVcdFile, tmp_1757_fu_6227_p3, "tmp_1757_fu_6227_p3"); sc_trace(mVcdFile, tmp_1462_fu_6247_p2, "tmp_1462_fu_6247_p2"); sc_trace(mVcdFile, v_1_15_fu_6239_p3, "v_1_15_fu_6239_p3"); sc_trace(mVcdFile, tmp_1758_fu_6235_p1, "tmp_1758_fu_6235_p1"); sc_trace(mVcdFile, p_shl17_fu_6261_p3, "p_shl17_fu_6261_p3"); sc_trace(mVcdFile, tmp_114_16_fu_6272_p3, "tmp_114_16_fu_6272_p3"); sc_trace(mVcdFile, tmp_122_16_cast_fu_6283_p1, "tmp_122_16_cast_fu_6283_p1"); sc_trace(mVcdFile, p_shl17_cast_fu_6268_p1, "p_shl17_cast_fu_6268_p1"); sc_trace(mVcdFile, tmp_114_16_cast_fu_6279_p1, "tmp_114_16_cast_fu_6279_p1"); sc_trace(mVcdFile, tmp_124_16_fu_6286_p2, "tmp_124_16_fu_6286_p2"); sc_trace(mVcdFile, tmp_125_16_fu_6292_p2, "tmp_125_16_fu_6292_p2"); sc_trace(mVcdFile, tmp_5021_cast_fu_6298_p1, "tmp_5021_cast_fu_6298_p1"); sc_trace(mVcdFile, tmp_5022_cast_fu_6301_p1, "tmp_5022_cast_fu_6301_p1"); sc_trace(mVcdFile, tmp_1463_fu_6304_p2, "tmp_1463_fu_6304_p2"); sc_trace(mVcdFile, sum_tr_16_fu_6310_p2, "sum_tr_16_fu_6310_p2"); sc_trace(mVcdFile, tmp_1759_fu_6316_p4, "tmp_1759_fu_6316_p4"); sc_trace(mVcdFile, icmp18_fu_6326_p2, "icmp18_fu_6326_p2"); sc_trace(mVcdFile, tmp_1760_fu_6332_p3, "tmp_1760_fu_6332_p3"); sc_trace(mVcdFile, tmp_1464_fu_6352_p2, "tmp_1464_fu_6352_p2"); sc_trace(mVcdFile, v_1_16_fu_6344_p3, "v_1_16_fu_6344_p3"); sc_trace(mVcdFile, tmp_1761_fu_6340_p1, "tmp_1761_fu_6340_p1"); sc_trace(mVcdFile, p_shl18_fu_6366_p3, "p_shl18_fu_6366_p3"); sc_trace(mVcdFile, tmp_114_17_fu_6377_p3, "tmp_114_17_fu_6377_p3"); sc_trace(mVcdFile, tmp_122_17_cast_fu_6388_p1, "tmp_122_17_cast_fu_6388_p1"); sc_trace(mVcdFile, p_shl18_cast_fu_6373_p1, "p_shl18_cast_fu_6373_p1"); sc_trace(mVcdFile, tmp_114_17_cast_fu_6384_p1, "tmp_114_17_cast_fu_6384_p1"); sc_trace(mVcdFile, tmp_124_17_fu_6391_p2, "tmp_124_17_fu_6391_p2"); sc_trace(mVcdFile, tmp_125_17_fu_6397_p2, "tmp_125_17_fu_6397_p2"); sc_trace(mVcdFile, tmp_5026_cast_fu_6403_p1, "tmp_5026_cast_fu_6403_p1"); sc_trace(mVcdFile, tmp_5027_cast_fu_6406_p1, "tmp_5027_cast_fu_6406_p1"); sc_trace(mVcdFile, tmp_1465_fu_6409_p2, "tmp_1465_fu_6409_p2"); sc_trace(mVcdFile, sum_tr_17_fu_6415_p2, "sum_tr_17_fu_6415_p2"); sc_trace(mVcdFile, tmp_1762_fu_6421_p4, "tmp_1762_fu_6421_p4"); sc_trace(mVcdFile, icmp19_fu_6431_p2, "icmp19_fu_6431_p2"); sc_trace(mVcdFile, tmp_1763_fu_6437_p3, "tmp_1763_fu_6437_p3"); sc_trace(mVcdFile, tmp_1466_fu_6457_p2, "tmp_1466_fu_6457_p2"); sc_trace(mVcdFile, v_1_17_fu_6449_p3, "v_1_17_fu_6449_p3"); sc_trace(mVcdFile, tmp_1764_fu_6445_p1, "tmp_1764_fu_6445_p1"); sc_trace(mVcdFile, p_shl19_fu_6471_p3, "p_shl19_fu_6471_p3"); sc_trace(mVcdFile, tmp_114_18_fu_6482_p3, "tmp_114_18_fu_6482_p3"); sc_trace(mVcdFile, tmp_122_18_cast_fu_6493_p1, "tmp_122_18_cast_fu_6493_p1"); sc_trace(mVcdFile, p_shl19_cast_fu_6478_p1, "p_shl19_cast_fu_6478_p1"); sc_trace(mVcdFile, tmp_114_18_cast_fu_6489_p1, "tmp_114_18_cast_fu_6489_p1"); sc_trace(mVcdFile, tmp_124_18_fu_6496_p2, "tmp_124_18_fu_6496_p2"); sc_trace(mVcdFile, tmp_125_18_fu_6502_p2, "tmp_125_18_fu_6502_p2"); sc_trace(mVcdFile, tmp_5031_cast_fu_6508_p1, "tmp_5031_cast_fu_6508_p1"); sc_trace(mVcdFile, tmp_5032_cast_fu_6511_p1, "tmp_5032_cast_fu_6511_p1"); sc_trace(mVcdFile, tmp_1467_fu_6514_p2, "tmp_1467_fu_6514_p2"); sc_trace(mVcdFile, sum_tr_18_fu_6520_p2, "sum_tr_18_fu_6520_p2"); sc_trace(mVcdFile, tmp_1765_fu_6526_p4, "tmp_1765_fu_6526_p4"); sc_trace(mVcdFile, icmp20_fu_6536_p2, "icmp20_fu_6536_p2"); sc_trace(mVcdFile, tmp_1766_fu_6542_p3, "tmp_1766_fu_6542_p3"); sc_trace(mVcdFile, tmp_1468_fu_6562_p2, "tmp_1468_fu_6562_p2"); sc_trace(mVcdFile, v_1_18_fu_6554_p3, "v_1_18_fu_6554_p3"); sc_trace(mVcdFile, tmp_1767_fu_6550_p1, "tmp_1767_fu_6550_p1"); sc_trace(mVcdFile, p_shl20_fu_6576_p3, "p_shl20_fu_6576_p3"); sc_trace(mVcdFile, tmp_114_19_fu_6587_p3, "tmp_114_19_fu_6587_p3"); sc_trace(mVcdFile, tmp_122_19_cast_fu_6598_p1, "tmp_122_19_cast_fu_6598_p1"); sc_trace(mVcdFile, p_shl20_cast_fu_6583_p1, "p_shl20_cast_fu_6583_p1"); sc_trace(mVcdFile, tmp_114_19_cast_fu_6594_p1, "tmp_114_19_cast_fu_6594_p1"); sc_trace(mVcdFile, tmp_124_19_fu_6601_p2, "tmp_124_19_fu_6601_p2"); sc_trace(mVcdFile, tmp_125_19_fu_6607_p2, "tmp_125_19_fu_6607_p2"); sc_trace(mVcdFile, tmp_5036_cast_fu_6613_p1, "tmp_5036_cast_fu_6613_p1"); sc_trace(mVcdFile, tmp_5037_cast_fu_6616_p1, "tmp_5037_cast_fu_6616_p1"); sc_trace(mVcdFile, tmp_1469_fu_6619_p2, "tmp_1469_fu_6619_p2"); sc_trace(mVcdFile, sum_tr_19_fu_6625_p2, "sum_tr_19_fu_6625_p2"); sc_trace(mVcdFile, tmp_1768_fu_6631_p4, "tmp_1768_fu_6631_p4"); sc_trace(mVcdFile, icmp21_fu_6641_p2, "icmp21_fu_6641_p2"); sc_trace(mVcdFile, tmp_1769_fu_6647_p3, "tmp_1769_fu_6647_p3"); sc_trace(mVcdFile, tmp_1470_fu_6667_p2, "tmp_1470_fu_6667_p2"); sc_trace(mVcdFile, v_1_19_fu_6659_p3, "v_1_19_fu_6659_p3"); sc_trace(mVcdFile, tmp_1770_fu_6655_p1, "tmp_1770_fu_6655_p1"); sc_trace(mVcdFile, p_shl21_fu_6681_p3, "p_shl21_fu_6681_p3"); sc_trace(mVcdFile, tmp_114_20_fu_6692_p3, "tmp_114_20_fu_6692_p3"); sc_trace(mVcdFile, tmp_122_20_cast_fu_6703_p1, "tmp_122_20_cast_fu_6703_p1"); sc_trace(mVcdFile, p_shl21_cast_fu_6688_p1, "p_shl21_cast_fu_6688_p1"); sc_trace(mVcdFile, tmp_114_20_cast_fu_6699_p1, "tmp_114_20_cast_fu_6699_p1"); sc_trace(mVcdFile, tmp_124_20_fu_6706_p2, "tmp_124_20_fu_6706_p2"); sc_trace(mVcdFile, tmp_125_20_fu_6712_p2, "tmp_125_20_fu_6712_p2"); sc_trace(mVcdFile, tmp_5041_cast_fu_6718_p1, "tmp_5041_cast_fu_6718_p1"); sc_trace(mVcdFile, tmp_5042_cast_fu_6721_p1, "tmp_5042_cast_fu_6721_p1"); sc_trace(mVcdFile, tmp_1471_fu_6724_p2, "tmp_1471_fu_6724_p2"); sc_trace(mVcdFile, sum_tr_20_fu_6730_p2, "sum_tr_20_fu_6730_p2"); sc_trace(mVcdFile, tmp_1771_fu_6736_p4, "tmp_1771_fu_6736_p4"); sc_trace(mVcdFile, icmp22_fu_6746_p2, "icmp22_fu_6746_p2"); sc_trace(mVcdFile, tmp_1772_fu_6752_p3, "tmp_1772_fu_6752_p3"); sc_trace(mVcdFile, tmp_1472_fu_6772_p2, "tmp_1472_fu_6772_p2"); sc_trace(mVcdFile, v_1_20_fu_6764_p3, "v_1_20_fu_6764_p3"); sc_trace(mVcdFile, tmp_1773_fu_6760_p1, "tmp_1773_fu_6760_p1"); sc_trace(mVcdFile, p_shl22_fu_6786_p3, "p_shl22_fu_6786_p3"); sc_trace(mVcdFile, tmp_114_21_fu_6797_p3, "tmp_114_21_fu_6797_p3"); sc_trace(mVcdFile, tmp_122_21_cast_fu_6808_p1, "tmp_122_21_cast_fu_6808_p1"); sc_trace(mVcdFile, p_shl22_cast_fu_6793_p1, "p_shl22_cast_fu_6793_p1"); sc_trace(mVcdFile, tmp_114_21_cast_fu_6804_p1, "tmp_114_21_cast_fu_6804_p1"); sc_trace(mVcdFile, tmp_124_21_fu_6811_p2, "tmp_124_21_fu_6811_p2"); sc_trace(mVcdFile, tmp_125_21_fu_6817_p2, "tmp_125_21_fu_6817_p2"); sc_trace(mVcdFile, tmp_5046_cast_fu_6823_p1, "tmp_5046_cast_fu_6823_p1"); sc_trace(mVcdFile, tmp_5047_cast_fu_6826_p1, "tmp_5047_cast_fu_6826_p1"); sc_trace(mVcdFile, tmp_1473_fu_6829_p2, "tmp_1473_fu_6829_p2"); sc_trace(mVcdFile, sum_tr_21_fu_6835_p2, "sum_tr_21_fu_6835_p2"); sc_trace(mVcdFile, tmp_1774_fu_6841_p4, "tmp_1774_fu_6841_p4"); sc_trace(mVcdFile, icmp23_fu_6851_p2, "icmp23_fu_6851_p2"); sc_trace(mVcdFile, tmp_1775_fu_6857_p3, "tmp_1775_fu_6857_p3"); sc_trace(mVcdFile, tmp_1474_fu_6877_p2, "tmp_1474_fu_6877_p2"); sc_trace(mVcdFile, v_1_21_fu_6869_p3, "v_1_21_fu_6869_p3"); sc_trace(mVcdFile, tmp_1776_fu_6865_p1, "tmp_1776_fu_6865_p1"); sc_trace(mVcdFile, p_shl23_fu_6891_p3, "p_shl23_fu_6891_p3"); sc_trace(mVcdFile, tmp_114_22_fu_6902_p3, "tmp_114_22_fu_6902_p3"); sc_trace(mVcdFile, tmp_122_22_cast_fu_6913_p1, "tmp_122_22_cast_fu_6913_p1"); sc_trace(mVcdFile, p_shl23_cast_fu_6898_p1, "p_shl23_cast_fu_6898_p1"); sc_trace(mVcdFile, tmp_114_22_cast_fu_6909_p1, "tmp_114_22_cast_fu_6909_p1"); sc_trace(mVcdFile, tmp_124_22_fu_6916_p2, "tmp_124_22_fu_6916_p2"); sc_trace(mVcdFile, tmp_125_22_fu_6922_p2, "tmp_125_22_fu_6922_p2"); sc_trace(mVcdFile, tmp_5051_cast_fu_6928_p1, "tmp_5051_cast_fu_6928_p1"); sc_trace(mVcdFile, tmp_5052_cast_fu_6931_p1, "tmp_5052_cast_fu_6931_p1"); sc_trace(mVcdFile, tmp_1475_fu_6934_p2, "tmp_1475_fu_6934_p2"); sc_trace(mVcdFile, sum_tr_22_fu_6940_p2, "sum_tr_22_fu_6940_p2"); sc_trace(mVcdFile, tmp_1777_fu_6946_p4, "tmp_1777_fu_6946_p4"); sc_trace(mVcdFile, icmp24_fu_6956_p2, "icmp24_fu_6956_p2"); sc_trace(mVcdFile, tmp_1778_fu_6962_p3, "tmp_1778_fu_6962_p3"); sc_trace(mVcdFile, tmp_1476_fu_6982_p2, "tmp_1476_fu_6982_p2"); sc_trace(mVcdFile, v_1_22_fu_6974_p3, "v_1_22_fu_6974_p3"); sc_trace(mVcdFile, tmp_1779_fu_6970_p1, "tmp_1779_fu_6970_p1"); sc_trace(mVcdFile, p_shl24_fu_6996_p3, "p_shl24_fu_6996_p3"); sc_trace(mVcdFile, tmp_114_23_fu_7007_p3, "tmp_114_23_fu_7007_p3"); sc_trace(mVcdFile, tmp_122_23_cast_fu_7018_p1, "tmp_122_23_cast_fu_7018_p1"); sc_trace(mVcdFile, p_shl24_cast_fu_7003_p1, "p_shl24_cast_fu_7003_p1"); sc_trace(mVcdFile, tmp_114_23_cast_fu_7014_p1, "tmp_114_23_cast_fu_7014_p1"); sc_trace(mVcdFile, tmp_124_23_fu_7021_p2, "tmp_124_23_fu_7021_p2"); sc_trace(mVcdFile, tmp_125_23_fu_7027_p2, "tmp_125_23_fu_7027_p2"); sc_trace(mVcdFile, tmp_5056_cast_fu_7033_p1, "tmp_5056_cast_fu_7033_p1"); sc_trace(mVcdFile, tmp_5057_cast_fu_7036_p1, "tmp_5057_cast_fu_7036_p1"); sc_trace(mVcdFile, tmp_1477_fu_7039_p2, "tmp_1477_fu_7039_p2"); sc_trace(mVcdFile, sum_tr_23_fu_7045_p2, "sum_tr_23_fu_7045_p2"); sc_trace(mVcdFile, tmp_1780_fu_7051_p4, "tmp_1780_fu_7051_p4"); sc_trace(mVcdFile, icmp25_fu_7061_p2, "icmp25_fu_7061_p2"); sc_trace(mVcdFile, tmp_1781_fu_7067_p3, "tmp_1781_fu_7067_p3"); sc_trace(mVcdFile, tmp_1478_fu_7087_p2, "tmp_1478_fu_7087_p2"); sc_trace(mVcdFile, v_1_23_fu_7079_p3, "v_1_23_fu_7079_p3"); sc_trace(mVcdFile, tmp_1782_fu_7075_p1, "tmp_1782_fu_7075_p1"); sc_trace(mVcdFile, p_shl25_fu_7101_p3, "p_shl25_fu_7101_p3"); sc_trace(mVcdFile, tmp_114_24_fu_7112_p3, "tmp_114_24_fu_7112_p3"); sc_trace(mVcdFile, tmp_122_24_cast_fu_7123_p1, "tmp_122_24_cast_fu_7123_p1"); sc_trace(mVcdFile, p_shl25_cast_fu_7108_p1, "p_shl25_cast_fu_7108_p1"); sc_trace(mVcdFile, tmp_114_24_cast_fu_7119_p1, "tmp_114_24_cast_fu_7119_p1"); sc_trace(mVcdFile, tmp_124_24_fu_7126_p2, "tmp_124_24_fu_7126_p2"); sc_trace(mVcdFile, tmp_125_24_fu_7132_p2, "tmp_125_24_fu_7132_p2"); sc_trace(mVcdFile, tmp_5061_cast_fu_7138_p1, "tmp_5061_cast_fu_7138_p1"); sc_trace(mVcdFile, tmp_5062_cast_fu_7141_p1, "tmp_5062_cast_fu_7141_p1"); sc_trace(mVcdFile, tmp_1479_fu_7144_p2, "tmp_1479_fu_7144_p2"); sc_trace(mVcdFile, sum_tr_24_fu_7150_p2, "sum_tr_24_fu_7150_p2"); sc_trace(mVcdFile, tmp_1783_fu_7156_p4, "tmp_1783_fu_7156_p4"); sc_trace(mVcdFile, icmp26_fu_7166_p2, "icmp26_fu_7166_p2"); sc_trace(mVcdFile, tmp_1784_fu_7172_p3, "tmp_1784_fu_7172_p3"); sc_trace(mVcdFile, tmp_1480_fu_7192_p2, "tmp_1480_fu_7192_p2"); sc_trace(mVcdFile, v_1_24_fu_7184_p3, "v_1_24_fu_7184_p3"); sc_trace(mVcdFile, tmp_1785_fu_7180_p1, "tmp_1785_fu_7180_p1"); sc_trace(mVcdFile, p_shl26_fu_7206_p3, "p_shl26_fu_7206_p3"); sc_trace(mVcdFile, tmp_114_25_fu_7217_p3, "tmp_114_25_fu_7217_p3"); sc_trace(mVcdFile, tmp_122_25_cast_fu_7228_p1, "tmp_122_25_cast_fu_7228_p1"); sc_trace(mVcdFile, p_shl26_cast_fu_7213_p1, "p_shl26_cast_fu_7213_p1"); sc_trace(mVcdFile, tmp_114_25_cast_fu_7224_p1, "tmp_114_25_cast_fu_7224_p1"); sc_trace(mVcdFile, tmp_124_25_fu_7231_p2, "tmp_124_25_fu_7231_p2"); sc_trace(mVcdFile, tmp_125_25_fu_7237_p2, "tmp_125_25_fu_7237_p2"); sc_trace(mVcdFile, tmp_5066_cast_fu_7243_p1, "tmp_5066_cast_fu_7243_p1"); sc_trace(mVcdFile, tmp_5067_cast_fu_7246_p1, "tmp_5067_cast_fu_7246_p1"); sc_trace(mVcdFile, tmp_1481_fu_7249_p2, "tmp_1481_fu_7249_p2"); sc_trace(mVcdFile, sum_tr_25_fu_7255_p2, "sum_tr_25_fu_7255_p2"); sc_trace(mVcdFile, tmp_1786_fu_7261_p4, "tmp_1786_fu_7261_p4"); sc_trace(mVcdFile, icmp27_fu_7271_p2, "icmp27_fu_7271_p2"); sc_trace(mVcdFile, tmp_1787_fu_7277_p3, "tmp_1787_fu_7277_p3"); sc_trace(mVcdFile, tmp_1482_fu_7297_p2, "tmp_1482_fu_7297_p2"); sc_trace(mVcdFile, v_1_25_fu_7289_p3, "v_1_25_fu_7289_p3"); sc_trace(mVcdFile, tmp_1788_fu_7285_p1, "tmp_1788_fu_7285_p1"); sc_trace(mVcdFile, p_shl27_fu_7311_p3, "p_shl27_fu_7311_p3"); sc_trace(mVcdFile, tmp_114_26_fu_7322_p3, "tmp_114_26_fu_7322_p3"); sc_trace(mVcdFile, tmp_122_26_cast_fu_7333_p1, "tmp_122_26_cast_fu_7333_p1"); sc_trace(mVcdFile, p_shl27_cast_fu_7318_p1, "p_shl27_cast_fu_7318_p1"); sc_trace(mVcdFile, tmp_114_26_cast_fu_7329_p1, "tmp_114_26_cast_fu_7329_p1"); sc_trace(mVcdFile, tmp_124_26_fu_7336_p2, "tmp_124_26_fu_7336_p2"); sc_trace(mVcdFile, tmp_125_26_fu_7342_p2, "tmp_125_26_fu_7342_p2"); sc_trace(mVcdFile, tmp_5071_cast_fu_7348_p1, "tmp_5071_cast_fu_7348_p1"); sc_trace(mVcdFile, tmp_5072_cast_fu_7351_p1, "tmp_5072_cast_fu_7351_p1"); sc_trace(mVcdFile, tmp_1483_fu_7354_p2, "tmp_1483_fu_7354_p2"); sc_trace(mVcdFile, sum_tr_26_fu_7360_p2, "sum_tr_26_fu_7360_p2"); sc_trace(mVcdFile, tmp_1789_fu_7366_p4, "tmp_1789_fu_7366_p4"); sc_trace(mVcdFile, icmp28_fu_7376_p2, "icmp28_fu_7376_p2"); sc_trace(mVcdFile, tmp_1790_fu_7382_p3, "tmp_1790_fu_7382_p3"); sc_trace(mVcdFile, tmp_1484_fu_7402_p2, "tmp_1484_fu_7402_p2"); sc_trace(mVcdFile, v_1_26_fu_7394_p3, "v_1_26_fu_7394_p3"); sc_trace(mVcdFile, tmp_1791_fu_7390_p1, "tmp_1791_fu_7390_p1"); sc_trace(mVcdFile, p_shl28_fu_7416_p3, "p_shl28_fu_7416_p3"); sc_trace(mVcdFile, tmp_114_27_fu_7427_p3, "tmp_114_27_fu_7427_p3"); sc_trace(mVcdFile, tmp_122_27_cast_fu_7438_p1, "tmp_122_27_cast_fu_7438_p1"); sc_trace(mVcdFile, p_shl28_cast_fu_7423_p1, "p_shl28_cast_fu_7423_p1"); sc_trace(mVcdFile, tmp_114_27_cast_fu_7434_p1, "tmp_114_27_cast_fu_7434_p1"); sc_trace(mVcdFile, tmp_124_27_fu_7441_p2, "tmp_124_27_fu_7441_p2"); sc_trace(mVcdFile, tmp_125_27_fu_7447_p2, "tmp_125_27_fu_7447_p2"); sc_trace(mVcdFile, tmp_5076_cast_fu_7453_p1, "tmp_5076_cast_fu_7453_p1"); sc_trace(mVcdFile, tmp_5077_cast_fu_7456_p1, "tmp_5077_cast_fu_7456_p1"); sc_trace(mVcdFile, tmp_1485_fu_7459_p2, "tmp_1485_fu_7459_p2"); sc_trace(mVcdFile, sum_tr_27_fu_7465_p2, "sum_tr_27_fu_7465_p2"); sc_trace(mVcdFile, tmp_1792_fu_7471_p4, "tmp_1792_fu_7471_p4"); sc_trace(mVcdFile, icmp29_fu_7481_p2, "icmp29_fu_7481_p2"); sc_trace(mVcdFile, tmp_1793_fu_7487_p3, "tmp_1793_fu_7487_p3"); sc_trace(mVcdFile, tmp_1486_fu_7507_p2, "tmp_1486_fu_7507_p2"); sc_trace(mVcdFile, v_1_27_fu_7499_p3, "v_1_27_fu_7499_p3"); sc_trace(mVcdFile, tmp_1794_fu_7495_p1, "tmp_1794_fu_7495_p1"); sc_trace(mVcdFile, p_shl29_fu_7521_p3, "p_shl29_fu_7521_p3"); sc_trace(mVcdFile, tmp_114_28_fu_7532_p3, "tmp_114_28_fu_7532_p3"); sc_trace(mVcdFile, tmp_122_28_cast_fu_7543_p1, "tmp_122_28_cast_fu_7543_p1"); sc_trace(mVcdFile, p_shl29_cast_fu_7528_p1, "p_shl29_cast_fu_7528_p1"); sc_trace(mVcdFile, tmp_114_28_cast_fu_7539_p1, "tmp_114_28_cast_fu_7539_p1"); sc_trace(mVcdFile, tmp_124_28_fu_7546_p2, "tmp_124_28_fu_7546_p2"); sc_trace(mVcdFile, tmp_125_28_fu_7552_p2, "tmp_125_28_fu_7552_p2"); sc_trace(mVcdFile, tmp_5081_cast_fu_7558_p1, "tmp_5081_cast_fu_7558_p1"); sc_trace(mVcdFile, tmp_5082_cast_fu_7561_p1, "tmp_5082_cast_fu_7561_p1"); sc_trace(mVcdFile, tmp_1487_fu_7564_p2, "tmp_1487_fu_7564_p2"); sc_trace(mVcdFile, sum_tr_28_fu_7570_p2, "sum_tr_28_fu_7570_p2"); sc_trace(mVcdFile, tmp_1795_fu_7576_p4, "tmp_1795_fu_7576_p4"); sc_trace(mVcdFile, icmp30_fu_7586_p2, "icmp30_fu_7586_p2"); sc_trace(mVcdFile, tmp_1796_fu_7592_p3, "tmp_1796_fu_7592_p3"); sc_trace(mVcdFile, tmp_1488_fu_7612_p2, "tmp_1488_fu_7612_p2"); sc_trace(mVcdFile, v_1_28_fu_7604_p3, "v_1_28_fu_7604_p3"); sc_trace(mVcdFile, tmp_1797_fu_7600_p1, "tmp_1797_fu_7600_p1"); sc_trace(mVcdFile, p_shl30_fu_7626_p3, "p_shl30_fu_7626_p3"); sc_trace(mVcdFile, tmp_114_29_fu_7637_p3, "tmp_114_29_fu_7637_p3"); sc_trace(mVcdFile, tmp_122_29_cast_fu_7648_p1, "tmp_122_29_cast_fu_7648_p1"); sc_trace(mVcdFile, p_shl30_cast_fu_7633_p1, "p_shl30_cast_fu_7633_p1"); sc_trace(mVcdFile, tmp_114_29_cast_fu_7644_p1, "tmp_114_29_cast_fu_7644_p1"); sc_trace(mVcdFile, tmp_124_29_fu_7651_p2, "tmp_124_29_fu_7651_p2"); sc_trace(mVcdFile, tmp_125_29_fu_7657_p2, "tmp_125_29_fu_7657_p2"); sc_trace(mVcdFile, tmp_5086_cast_fu_7663_p1, "tmp_5086_cast_fu_7663_p1"); sc_trace(mVcdFile, tmp_5087_cast_fu_7666_p1, "tmp_5087_cast_fu_7666_p1"); sc_trace(mVcdFile, tmp_1489_fu_7669_p2, "tmp_1489_fu_7669_p2"); sc_trace(mVcdFile, sum_tr_29_fu_7675_p2, "sum_tr_29_fu_7675_p2"); sc_trace(mVcdFile, tmp_1798_fu_7681_p4, "tmp_1798_fu_7681_p4"); sc_trace(mVcdFile, icmp31_fu_7691_p2, "icmp31_fu_7691_p2"); sc_trace(mVcdFile, tmp_1799_fu_7697_p3, "tmp_1799_fu_7697_p3"); sc_trace(mVcdFile, tmp_1490_fu_7717_p2, "tmp_1490_fu_7717_p2"); sc_trace(mVcdFile, v_1_29_fu_7709_p3, "v_1_29_fu_7709_p3"); sc_trace(mVcdFile, tmp_1800_fu_7705_p1, "tmp_1800_fu_7705_p1"); sc_trace(mVcdFile, p_shl31_fu_7731_p3, "p_shl31_fu_7731_p3"); sc_trace(mVcdFile, tmp_114_30_fu_7742_p3, "tmp_114_30_fu_7742_p3"); sc_trace(mVcdFile, tmp_122_30_cast_fu_7753_p1, "tmp_122_30_cast_fu_7753_p1"); sc_trace(mVcdFile, p_shl31_cast_fu_7738_p1, "p_shl31_cast_fu_7738_p1"); sc_trace(mVcdFile, tmp_114_30_cast_fu_7749_p1, "tmp_114_30_cast_fu_7749_p1"); sc_trace(mVcdFile, tmp_124_30_fu_7756_p2, "tmp_124_30_fu_7756_p2"); sc_trace(mVcdFile, tmp_125_30_fu_7762_p2, "tmp_125_30_fu_7762_p2"); sc_trace(mVcdFile, tmp_5091_cast_fu_7768_p1, "tmp_5091_cast_fu_7768_p1"); sc_trace(mVcdFile, tmp_5092_cast_fu_7771_p1, "tmp_5092_cast_fu_7771_p1"); sc_trace(mVcdFile, tmp_1491_fu_7774_p2, "tmp_1491_fu_7774_p2"); sc_trace(mVcdFile, sum_tr_30_fu_7780_p2, "sum_tr_30_fu_7780_p2"); sc_trace(mVcdFile, tmp_1801_fu_7786_p4, "tmp_1801_fu_7786_p4"); sc_trace(mVcdFile, icmp32_fu_7796_p2, "icmp32_fu_7796_p2"); sc_trace(mVcdFile, tmp_1802_fu_7802_p3, "tmp_1802_fu_7802_p3"); sc_trace(mVcdFile, tmp_1492_fu_7822_p2, "tmp_1492_fu_7822_p2"); sc_trace(mVcdFile, v_1_30_fu_7814_p3, "v_1_30_fu_7814_p3"); sc_trace(mVcdFile, tmp_1803_fu_7810_p1, "tmp_1803_fu_7810_p1"); sc_trace(mVcdFile, p_shl32_fu_7836_p3, "p_shl32_fu_7836_p3"); sc_trace(mVcdFile, tmp_114_31_fu_7847_p3, "tmp_114_31_fu_7847_p3"); sc_trace(mVcdFile, tmp_122_31_cast_fu_7858_p1, "tmp_122_31_cast_fu_7858_p1"); sc_trace(mVcdFile, p_shl32_cast_fu_7843_p1, "p_shl32_cast_fu_7843_p1"); sc_trace(mVcdFile, tmp_114_31_cast_fu_7854_p1, "tmp_114_31_cast_fu_7854_p1"); sc_trace(mVcdFile, tmp_124_31_fu_7861_p2, "tmp_124_31_fu_7861_p2"); sc_trace(mVcdFile, tmp_125_31_fu_7867_p2, "tmp_125_31_fu_7867_p2"); sc_trace(mVcdFile, tmp_5096_cast_fu_7873_p1, "tmp_5096_cast_fu_7873_p1"); sc_trace(mVcdFile, tmp_5097_cast_fu_7876_p1, "tmp_5097_cast_fu_7876_p1"); sc_trace(mVcdFile, tmp_1493_fu_7879_p2, "tmp_1493_fu_7879_p2"); sc_trace(mVcdFile, sum_tr_31_fu_7885_p2, "sum_tr_31_fu_7885_p2"); sc_trace(mVcdFile, tmp_1804_fu_7891_p4, "tmp_1804_fu_7891_p4"); sc_trace(mVcdFile, icmp33_fu_7901_p2, "icmp33_fu_7901_p2"); sc_trace(mVcdFile, tmp_1805_fu_7907_p3, "tmp_1805_fu_7907_p3"); sc_trace(mVcdFile, tmp_1494_fu_7927_p2, "tmp_1494_fu_7927_p2"); sc_trace(mVcdFile, v_1_31_fu_7919_p3, "v_1_31_fu_7919_p3"); sc_trace(mVcdFile, tmp_1806_fu_7915_p1, "tmp_1806_fu_7915_p1"); sc_trace(mVcdFile, p_shl33_fu_7941_p3, "p_shl33_fu_7941_p3"); sc_trace(mVcdFile, tmp_114_32_fu_7952_p3, "tmp_114_32_fu_7952_p3"); sc_trace(mVcdFile, tmp_122_32_cast_fu_7963_p1, "tmp_122_32_cast_fu_7963_p1"); sc_trace(mVcdFile, p_shl33_cast_fu_7948_p1, "p_shl33_cast_fu_7948_p1"); sc_trace(mVcdFile, tmp_114_32_cast_fu_7959_p1, "tmp_114_32_cast_fu_7959_p1"); sc_trace(mVcdFile, tmp_124_32_fu_7966_p2, "tmp_124_32_fu_7966_p2"); sc_trace(mVcdFile, tmp_125_32_fu_7972_p2, "tmp_125_32_fu_7972_p2"); sc_trace(mVcdFile, tmp_5101_cast_fu_7978_p1, "tmp_5101_cast_fu_7978_p1"); sc_trace(mVcdFile, tmp_5102_cast_fu_7981_p1, "tmp_5102_cast_fu_7981_p1"); sc_trace(mVcdFile, tmp_1495_fu_7984_p2, "tmp_1495_fu_7984_p2"); sc_trace(mVcdFile, sum_tr_32_fu_7990_p2, "sum_tr_32_fu_7990_p2"); sc_trace(mVcdFile, tmp_1807_fu_7996_p4, "tmp_1807_fu_7996_p4"); sc_trace(mVcdFile, icmp34_fu_8006_p2, "icmp34_fu_8006_p2"); sc_trace(mVcdFile, tmp_1808_fu_8012_p3, "tmp_1808_fu_8012_p3"); sc_trace(mVcdFile, tmp_1496_fu_8032_p2, "tmp_1496_fu_8032_p2"); sc_trace(mVcdFile, v_1_32_fu_8024_p3, "v_1_32_fu_8024_p3"); sc_trace(mVcdFile, tmp_1809_fu_8020_p1, "tmp_1809_fu_8020_p1"); sc_trace(mVcdFile, p_shl34_fu_8046_p3, "p_shl34_fu_8046_p3"); sc_trace(mVcdFile, tmp_114_33_fu_8057_p3, "tmp_114_33_fu_8057_p3"); sc_trace(mVcdFile, tmp_122_33_cast_fu_8068_p1, "tmp_122_33_cast_fu_8068_p1"); sc_trace(mVcdFile, p_shl34_cast_fu_8053_p1, "p_shl34_cast_fu_8053_p1"); sc_trace(mVcdFile, tmp_114_33_cast_fu_8064_p1, "tmp_114_33_cast_fu_8064_p1"); sc_trace(mVcdFile, tmp_124_33_fu_8071_p2, "tmp_124_33_fu_8071_p2"); sc_trace(mVcdFile, tmp_125_33_fu_8077_p2, "tmp_125_33_fu_8077_p2"); sc_trace(mVcdFile, tmp_5106_cast_fu_8083_p1, "tmp_5106_cast_fu_8083_p1"); sc_trace(mVcdFile, tmp_5107_cast_fu_8086_p1, "tmp_5107_cast_fu_8086_p1"); sc_trace(mVcdFile, tmp_1497_fu_8089_p2, "tmp_1497_fu_8089_p2"); sc_trace(mVcdFile, sum_tr_33_fu_8095_p2, "sum_tr_33_fu_8095_p2"); sc_trace(mVcdFile, tmp_1810_fu_8101_p4, "tmp_1810_fu_8101_p4"); sc_trace(mVcdFile, icmp35_fu_8111_p2, "icmp35_fu_8111_p2"); sc_trace(mVcdFile, tmp_1811_fu_8117_p3, "tmp_1811_fu_8117_p3"); sc_trace(mVcdFile, tmp_1498_fu_8137_p2, "tmp_1498_fu_8137_p2"); sc_trace(mVcdFile, v_1_33_fu_8129_p3, "v_1_33_fu_8129_p3"); sc_trace(mVcdFile, tmp_1812_fu_8125_p1, "tmp_1812_fu_8125_p1"); sc_trace(mVcdFile, p_shl35_fu_8151_p3, "p_shl35_fu_8151_p3"); sc_trace(mVcdFile, tmp_114_34_fu_8162_p3, "tmp_114_34_fu_8162_p3"); sc_trace(mVcdFile, tmp_122_34_cast_fu_8173_p1, "tmp_122_34_cast_fu_8173_p1"); sc_trace(mVcdFile, p_shl35_cast_fu_8158_p1, "p_shl35_cast_fu_8158_p1"); sc_trace(mVcdFile, tmp_114_34_cast_fu_8169_p1, "tmp_114_34_cast_fu_8169_p1"); sc_trace(mVcdFile, tmp_124_34_fu_8176_p2, "tmp_124_34_fu_8176_p2"); sc_trace(mVcdFile, tmp_125_34_fu_8182_p2, "tmp_125_34_fu_8182_p2"); sc_trace(mVcdFile, tmp_5111_cast_fu_8188_p1, "tmp_5111_cast_fu_8188_p1"); sc_trace(mVcdFile, tmp_5112_cast_fu_8191_p1, "tmp_5112_cast_fu_8191_p1"); sc_trace(mVcdFile, tmp_1499_fu_8194_p2, "tmp_1499_fu_8194_p2"); sc_trace(mVcdFile, sum_tr_34_fu_8200_p2, "sum_tr_34_fu_8200_p2"); sc_trace(mVcdFile, tmp_1813_fu_8206_p4, "tmp_1813_fu_8206_p4"); sc_trace(mVcdFile, icmp36_fu_8216_p2, "icmp36_fu_8216_p2"); sc_trace(mVcdFile, tmp_1814_fu_8222_p3, "tmp_1814_fu_8222_p3"); sc_trace(mVcdFile, tmp_1500_fu_8242_p2, "tmp_1500_fu_8242_p2"); sc_trace(mVcdFile, v_1_34_fu_8234_p3, "v_1_34_fu_8234_p3"); sc_trace(mVcdFile, tmp_1815_fu_8230_p1, "tmp_1815_fu_8230_p1"); sc_trace(mVcdFile, p_shl36_fu_8256_p3, "p_shl36_fu_8256_p3"); sc_trace(mVcdFile, tmp_114_35_fu_8267_p3, "tmp_114_35_fu_8267_p3"); sc_trace(mVcdFile, tmp_122_35_cast_fu_8278_p1, "tmp_122_35_cast_fu_8278_p1"); sc_trace(mVcdFile, p_shl36_cast_fu_8263_p1, "p_shl36_cast_fu_8263_p1"); sc_trace(mVcdFile, tmp_114_35_cast_fu_8274_p1, "tmp_114_35_cast_fu_8274_p1"); sc_trace(mVcdFile, tmp_124_35_fu_8281_p2, "tmp_124_35_fu_8281_p2"); sc_trace(mVcdFile, tmp_125_35_fu_8287_p2, "tmp_125_35_fu_8287_p2"); sc_trace(mVcdFile, tmp_5116_cast_fu_8293_p1, "tmp_5116_cast_fu_8293_p1"); sc_trace(mVcdFile, tmp_5117_cast_fu_8296_p1, "tmp_5117_cast_fu_8296_p1"); sc_trace(mVcdFile, tmp_1501_fu_8299_p2, "tmp_1501_fu_8299_p2"); sc_trace(mVcdFile, sum_tr_35_fu_8305_p2, "sum_tr_35_fu_8305_p2"); sc_trace(mVcdFile, tmp_1816_fu_8311_p4, "tmp_1816_fu_8311_p4"); sc_trace(mVcdFile, icmp37_fu_8321_p2, "icmp37_fu_8321_p2"); sc_trace(mVcdFile, tmp_1817_fu_8327_p3, "tmp_1817_fu_8327_p3"); sc_trace(mVcdFile, tmp_1502_fu_8347_p2, "tmp_1502_fu_8347_p2"); sc_trace(mVcdFile, v_1_35_fu_8339_p3, "v_1_35_fu_8339_p3"); sc_trace(mVcdFile, tmp_1818_fu_8335_p1, "tmp_1818_fu_8335_p1"); sc_trace(mVcdFile, p_shl37_fu_8361_p3, "p_shl37_fu_8361_p3"); sc_trace(mVcdFile, tmp_114_36_fu_8372_p3, "tmp_114_36_fu_8372_p3"); sc_trace(mVcdFile, tmp_122_36_cast_fu_8383_p1, "tmp_122_36_cast_fu_8383_p1"); sc_trace(mVcdFile, p_shl37_cast_fu_8368_p1, "p_shl37_cast_fu_8368_p1"); sc_trace(mVcdFile, tmp_114_36_cast_fu_8379_p1, "tmp_114_36_cast_fu_8379_p1"); sc_trace(mVcdFile, tmp_124_36_fu_8386_p2, "tmp_124_36_fu_8386_p2"); sc_trace(mVcdFile, tmp_125_36_fu_8392_p2, "tmp_125_36_fu_8392_p2"); sc_trace(mVcdFile, tmp_5121_cast_fu_8398_p1, "tmp_5121_cast_fu_8398_p1"); sc_trace(mVcdFile, tmp_5122_cast_fu_8401_p1, "tmp_5122_cast_fu_8401_p1"); sc_trace(mVcdFile, tmp_1503_fu_8404_p2, "tmp_1503_fu_8404_p2"); sc_trace(mVcdFile, sum_tr_36_fu_8410_p2, "sum_tr_36_fu_8410_p2"); sc_trace(mVcdFile, tmp_1819_fu_8416_p4, "tmp_1819_fu_8416_p4"); sc_trace(mVcdFile, icmp38_fu_8426_p2, "icmp38_fu_8426_p2"); sc_trace(mVcdFile, tmp_1820_fu_8432_p3, "tmp_1820_fu_8432_p3"); sc_trace(mVcdFile, tmp_1504_fu_8452_p2, "tmp_1504_fu_8452_p2"); sc_trace(mVcdFile, v_1_36_fu_8444_p3, "v_1_36_fu_8444_p3"); sc_trace(mVcdFile, tmp_1821_fu_8440_p1, "tmp_1821_fu_8440_p1"); sc_trace(mVcdFile, p_shl38_fu_8466_p3, "p_shl38_fu_8466_p3"); sc_trace(mVcdFile, tmp_114_37_fu_8477_p3, "tmp_114_37_fu_8477_p3"); sc_trace(mVcdFile, tmp_122_37_cast_fu_8488_p1, "tmp_122_37_cast_fu_8488_p1"); sc_trace(mVcdFile, p_shl38_cast_fu_8473_p1, "p_shl38_cast_fu_8473_p1"); sc_trace(mVcdFile, tmp_114_37_cast_fu_8484_p1, "tmp_114_37_cast_fu_8484_p1"); sc_trace(mVcdFile, tmp_124_37_fu_8491_p2, "tmp_124_37_fu_8491_p2"); sc_trace(mVcdFile, tmp_125_37_fu_8497_p2, "tmp_125_37_fu_8497_p2"); sc_trace(mVcdFile, tmp_5126_cast_fu_8503_p1, "tmp_5126_cast_fu_8503_p1"); sc_trace(mVcdFile, tmp_5127_cast_fu_8506_p1, "tmp_5127_cast_fu_8506_p1"); sc_trace(mVcdFile, tmp_1505_fu_8509_p2, "tmp_1505_fu_8509_p2"); sc_trace(mVcdFile, sum_tr_37_fu_8515_p2, "sum_tr_37_fu_8515_p2"); sc_trace(mVcdFile, tmp_1822_fu_8521_p4, "tmp_1822_fu_8521_p4"); sc_trace(mVcdFile, icmp39_fu_8531_p2, "icmp39_fu_8531_p2"); sc_trace(mVcdFile, tmp_1823_fu_8537_p3, "tmp_1823_fu_8537_p3"); sc_trace(mVcdFile, tmp_1506_fu_8557_p2, "tmp_1506_fu_8557_p2"); sc_trace(mVcdFile, v_1_37_fu_8549_p3, "v_1_37_fu_8549_p3"); sc_trace(mVcdFile, tmp_1824_fu_8545_p1, "tmp_1824_fu_8545_p1"); sc_trace(mVcdFile, p_shl39_fu_8571_p3, "p_shl39_fu_8571_p3"); sc_trace(mVcdFile, tmp_114_38_fu_8582_p3, "tmp_114_38_fu_8582_p3"); sc_trace(mVcdFile, tmp_122_38_cast_fu_8593_p1, "tmp_122_38_cast_fu_8593_p1"); sc_trace(mVcdFile, p_shl39_cast_fu_8578_p1, "p_shl39_cast_fu_8578_p1"); sc_trace(mVcdFile, tmp_114_38_cast_fu_8589_p1, "tmp_114_38_cast_fu_8589_p1"); sc_trace(mVcdFile, tmp_124_38_fu_8596_p2, "tmp_124_38_fu_8596_p2"); sc_trace(mVcdFile, tmp_125_38_fu_8602_p2, "tmp_125_38_fu_8602_p2"); sc_trace(mVcdFile, tmp_5131_cast_fu_8608_p1, "tmp_5131_cast_fu_8608_p1"); sc_trace(mVcdFile, tmp_5132_cast_fu_8611_p1, "tmp_5132_cast_fu_8611_p1"); sc_trace(mVcdFile, tmp_1507_fu_8614_p2, "tmp_1507_fu_8614_p2"); sc_trace(mVcdFile, sum_tr_38_fu_8620_p2, "sum_tr_38_fu_8620_p2"); sc_trace(mVcdFile, tmp_1825_fu_8626_p4, "tmp_1825_fu_8626_p4"); sc_trace(mVcdFile, icmp40_fu_8636_p2, "icmp40_fu_8636_p2"); sc_trace(mVcdFile, tmp_1826_fu_8642_p3, "tmp_1826_fu_8642_p3"); sc_trace(mVcdFile, tmp_1508_fu_8662_p2, "tmp_1508_fu_8662_p2"); sc_trace(mVcdFile, v_1_38_fu_8654_p3, "v_1_38_fu_8654_p3"); sc_trace(mVcdFile, tmp_1827_fu_8650_p1, "tmp_1827_fu_8650_p1"); sc_trace(mVcdFile, p_shl40_fu_8676_p3, "p_shl40_fu_8676_p3"); sc_trace(mVcdFile, tmp_114_39_fu_8687_p3, "tmp_114_39_fu_8687_p3"); sc_trace(mVcdFile, tmp_122_39_cast_fu_8698_p1, "tmp_122_39_cast_fu_8698_p1"); sc_trace(mVcdFile, p_shl40_cast_fu_8683_p1, "p_shl40_cast_fu_8683_p1"); sc_trace(mVcdFile, tmp_114_39_cast_fu_8694_p1, "tmp_114_39_cast_fu_8694_p1"); sc_trace(mVcdFile, tmp_124_39_fu_8701_p2, "tmp_124_39_fu_8701_p2"); sc_trace(mVcdFile, tmp_125_39_fu_8707_p2, "tmp_125_39_fu_8707_p2"); sc_trace(mVcdFile, tmp_5136_cast_fu_8713_p1, "tmp_5136_cast_fu_8713_p1"); sc_trace(mVcdFile, tmp_5137_cast_fu_8716_p1, "tmp_5137_cast_fu_8716_p1"); sc_trace(mVcdFile, tmp_1509_fu_8719_p2, "tmp_1509_fu_8719_p2"); sc_trace(mVcdFile, sum_tr_39_fu_8725_p2, "sum_tr_39_fu_8725_p2"); sc_trace(mVcdFile, tmp_1828_fu_8731_p4, "tmp_1828_fu_8731_p4"); sc_trace(mVcdFile, icmp41_fu_8741_p2, "icmp41_fu_8741_p2"); sc_trace(mVcdFile, tmp_1829_fu_8747_p3, "tmp_1829_fu_8747_p3"); sc_trace(mVcdFile, tmp_1510_fu_8767_p2, "tmp_1510_fu_8767_p2"); sc_trace(mVcdFile, v_1_39_fu_8759_p3, "v_1_39_fu_8759_p3"); sc_trace(mVcdFile, tmp_1830_fu_8755_p1, "tmp_1830_fu_8755_p1"); sc_trace(mVcdFile, p_shl41_fu_8781_p3, "p_shl41_fu_8781_p3"); sc_trace(mVcdFile, tmp_114_40_fu_8792_p3, "tmp_114_40_fu_8792_p3"); sc_trace(mVcdFile, tmp_122_40_cast_fu_8803_p1, "tmp_122_40_cast_fu_8803_p1"); sc_trace(mVcdFile, p_shl41_cast_fu_8788_p1, "p_shl41_cast_fu_8788_p1"); sc_trace(mVcdFile, tmp_114_40_cast_fu_8799_p1, "tmp_114_40_cast_fu_8799_p1"); sc_trace(mVcdFile, tmp_124_40_fu_8806_p2, "tmp_124_40_fu_8806_p2"); sc_trace(mVcdFile, tmp_125_40_fu_8812_p2, "tmp_125_40_fu_8812_p2"); sc_trace(mVcdFile, tmp_5141_cast_fu_8818_p1, "tmp_5141_cast_fu_8818_p1"); sc_trace(mVcdFile, tmp_5142_cast_fu_8821_p1, "tmp_5142_cast_fu_8821_p1"); sc_trace(mVcdFile, tmp_1511_fu_8824_p2, "tmp_1511_fu_8824_p2"); sc_trace(mVcdFile, sum_tr_40_fu_8830_p2, "sum_tr_40_fu_8830_p2"); sc_trace(mVcdFile, tmp_1831_fu_8836_p4, "tmp_1831_fu_8836_p4"); sc_trace(mVcdFile, icmp42_fu_8846_p2, "icmp42_fu_8846_p2"); sc_trace(mVcdFile, tmp_1832_fu_8852_p3, "tmp_1832_fu_8852_p3"); sc_trace(mVcdFile, tmp_1512_fu_8872_p2, "tmp_1512_fu_8872_p2"); sc_trace(mVcdFile, v_1_40_fu_8864_p3, "v_1_40_fu_8864_p3"); sc_trace(mVcdFile, tmp_1833_fu_8860_p1, "tmp_1833_fu_8860_p1"); sc_trace(mVcdFile, p_shl42_fu_8886_p3, "p_shl42_fu_8886_p3"); sc_trace(mVcdFile, tmp_114_41_fu_8897_p3, "tmp_114_41_fu_8897_p3"); sc_trace(mVcdFile, tmp_122_41_cast_fu_8908_p1, "tmp_122_41_cast_fu_8908_p1"); sc_trace(mVcdFile, p_shl42_cast_fu_8893_p1, "p_shl42_cast_fu_8893_p1"); sc_trace(mVcdFile, tmp_114_41_cast_fu_8904_p1, "tmp_114_41_cast_fu_8904_p1"); sc_trace(mVcdFile, tmp_124_41_fu_8911_p2, "tmp_124_41_fu_8911_p2"); sc_trace(mVcdFile, tmp_125_41_fu_8917_p2, "tmp_125_41_fu_8917_p2"); sc_trace(mVcdFile, tmp_5146_cast_fu_8923_p1, "tmp_5146_cast_fu_8923_p1"); sc_trace(mVcdFile, tmp_5147_cast_fu_8926_p1, "tmp_5147_cast_fu_8926_p1"); sc_trace(mVcdFile, tmp_1513_fu_8929_p2, "tmp_1513_fu_8929_p2"); sc_trace(mVcdFile, sum_tr_41_fu_8935_p2, "sum_tr_41_fu_8935_p2"); sc_trace(mVcdFile, tmp_1834_fu_8941_p4, "tmp_1834_fu_8941_p4"); sc_trace(mVcdFile, icmp43_fu_8951_p2, "icmp43_fu_8951_p2"); sc_trace(mVcdFile, tmp_1835_fu_8957_p3, "tmp_1835_fu_8957_p3"); sc_trace(mVcdFile, tmp_1514_fu_8977_p2, "tmp_1514_fu_8977_p2"); sc_trace(mVcdFile, v_1_41_fu_8969_p3, "v_1_41_fu_8969_p3"); sc_trace(mVcdFile, tmp_1836_fu_8965_p1, "tmp_1836_fu_8965_p1"); sc_trace(mVcdFile, p_shl43_fu_8991_p3, "p_shl43_fu_8991_p3"); sc_trace(mVcdFile, tmp_114_42_fu_9002_p3, "tmp_114_42_fu_9002_p3"); sc_trace(mVcdFile, tmp_122_42_cast_fu_9013_p1, "tmp_122_42_cast_fu_9013_p1"); sc_trace(mVcdFile, p_shl43_cast_fu_8998_p1, "p_shl43_cast_fu_8998_p1"); sc_trace(mVcdFile, tmp_114_42_cast_fu_9009_p1, "tmp_114_42_cast_fu_9009_p1"); sc_trace(mVcdFile, tmp_124_42_fu_9016_p2, "tmp_124_42_fu_9016_p2"); sc_trace(mVcdFile, tmp_125_42_fu_9022_p2, "tmp_125_42_fu_9022_p2"); sc_trace(mVcdFile, tmp_5151_cast_fu_9028_p1, "tmp_5151_cast_fu_9028_p1"); sc_trace(mVcdFile, tmp_5152_cast_fu_9031_p1, "tmp_5152_cast_fu_9031_p1"); sc_trace(mVcdFile, tmp_1515_fu_9034_p2, "tmp_1515_fu_9034_p2"); sc_trace(mVcdFile, sum_tr_42_fu_9040_p2, "sum_tr_42_fu_9040_p2"); sc_trace(mVcdFile, tmp_1837_fu_9046_p4, "tmp_1837_fu_9046_p4"); sc_trace(mVcdFile, icmp44_fu_9056_p2, "icmp44_fu_9056_p2"); sc_trace(mVcdFile, tmp_1838_fu_9062_p3, "tmp_1838_fu_9062_p3"); sc_trace(mVcdFile, tmp_1516_fu_9082_p2, "tmp_1516_fu_9082_p2"); sc_trace(mVcdFile, v_1_42_fu_9074_p3, "v_1_42_fu_9074_p3"); sc_trace(mVcdFile, tmp_1839_fu_9070_p1, "tmp_1839_fu_9070_p1"); sc_trace(mVcdFile, p_shl44_fu_9096_p3, "p_shl44_fu_9096_p3"); sc_trace(mVcdFile, tmp_114_43_fu_9107_p3, "tmp_114_43_fu_9107_p3"); sc_trace(mVcdFile, tmp_122_43_cast_fu_9118_p1, "tmp_122_43_cast_fu_9118_p1"); sc_trace(mVcdFile, p_shl44_cast_fu_9103_p1, "p_shl44_cast_fu_9103_p1"); sc_trace(mVcdFile, tmp_114_43_cast_fu_9114_p1, "tmp_114_43_cast_fu_9114_p1"); sc_trace(mVcdFile, tmp_124_43_fu_9121_p2, "tmp_124_43_fu_9121_p2"); sc_trace(mVcdFile, tmp_125_43_fu_9127_p2, "tmp_125_43_fu_9127_p2"); sc_trace(mVcdFile, tmp_5156_cast_fu_9133_p1, "tmp_5156_cast_fu_9133_p1"); sc_trace(mVcdFile, tmp_5157_cast_fu_9136_p1, "tmp_5157_cast_fu_9136_p1"); sc_trace(mVcdFile, tmp_1517_fu_9139_p2, "tmp_1517_fu_9139_p2"); sc_trace(mVcdFile, sum_tr_43_fu_9145_p2, "sum_tr_43_fu_9145_p2"); sc_trace(mVcdFile, tmp_1840_fu_9151_p4, "tmp_1840_fu_9151_p4"); sc_trace(mVcdFile, icmp45_fu_9161_p2, "icmp45_fu_9161_p2"); sc_trace(mVcdFile, tmp_1841_fu_9167_p3, "tmp_1841_fu_9167_p3"); sc_trace(mVcdFile, tmp_1518_fu_9187_p2, "tmp_1518_fu_9187_p2"); sc_trace(mVcdFile, v_1_43_fu_9179_p3, "v_1_43_fu_9179_p3"); sc_trace(mVcdFile, tmp_1842_fu_9175_p1, "tmp_1842_fu_9175_p1"); sc_trace(mVcdFile, p_shl45_fu_9201_p3, "p_shl45_fu_9201_p3"); sc_trace(mVcdFile, tmp_114_44_fu_9212_p3, "tmp_114_44_fu_9212_p3"); sc_trace(mVcdFile, tmp_122_44_cast_fu_9223_p1, "tmp_122_44_cast_fu_9223_p1"); sc_trace(mVcdFile, p_shl45_cast_fu_9208_p1, "p_shl45_cast_fu_9208_p1"); sc_trace(mVcdFile, tmp_114_44_cast_fu_9219_p1, "tmp_114_44_cast_fu_9219_p1"); sc_trace(mVcdFile, tmp_124_44_fu_9226_p2, "tmp_124_44_fu_9226_p2"); sc_trace(mVcdFile, tmp_125_44_fu_9232_p2, "tmp_125_44_fu_9232_p2"); sc_trace(mVcdFile, tmp_5161_cast_fu_9238_p1, "tmp_5161_cast_fu_9238_p1"); sc_trace(mVcdFile, tmp_5162_cast_fu_9241_p1, "tmp_5162_cast_fu_9241_p1"); sc_trace(mVcdFile, tmp_1519_fu_9244_p2, "tmp_1519_fu_9244_p2"); sc_trace(mVcdFile, sum_tr_44_fu_9250_p2, "sum_tr_44_fu_9250_p2"); sc_trace(mVcdFile, tmp_1843_fu_9256_p4, "tmp_1843_fu_9256_p4"); sc_trace(mVcdFile, icmp46_fu_9266_p2, "icmp46_fu_9266_p2"); sc_trace(mVcdFile, tmp_1844_fu_9272_p3, "tmp_1844_fu_9272_p3"); sc_trace(mVcdFile, tmp_1520_fu_9292_p2, "tmp_1520_fu_9292_p2"); sc_trace(mVcdFile, v_1_44_fu_9284_p3, "v_1_44_fu_9284_p3"); sc_trace(mVcdFile, tmp_1845_fu_9280_p1, "tmp_1845_fu_9280_p1"); sc_trace(mVcdFile, p_shl46_fu_9306_p3, "p_shl46_fu_9306_p3"); sc_trace(mVcdFile, tmp_114_45_fu_9317_p3, "tmp_114_45_fu_9317_p3"); sc_trace(mVcdFile, tmp_122_45_cast_fu_9328_p1, "tmp_122_45_cast_fu_9328_p1"); sc_trace(mVcdFile, p_shl46_cast_fu_9313_p1, "p_shl46_cast_fu_9313_p1"); sc_trace(mVcdFile, tmp_114_45_cast_fu_9324_p1, "tmp_114_45_cast_fu_9324_p1"); sc_trace(mVcdFile, tmp_124_45_fu_9331_p2, "tmp_124_45_fu_9331_p2"); sc_trace(mVcdFile, tmp_125_45_fu_9337_p2, "tmp_125_45_fu_9337_p2"); sc_trace(mVcdFile, tmp_5166_cast_fu_9343_p1, "tmp_5166_cast_fu_9343_p1"); sc_trace(mVcdFile, tmp_5167_cast_fu_9346_p1, "tmp_5167_cast_fu_9346_p1"); sc_trace(mVcdFile, tmp_1521_fu_9349_p2, "tmp_1521_fu_9349_p2"); sc_trace(mVcdFile, sum_tr_45_fu_9355_p2, "sum_tr_45_fu_9355_p2"); sc_trace(mVcdFile, tmp_1846_fu_9361_p4, "tmp_1846_fu_9361_p4"); sc_trace(mVcdFile, icmp47_fu_9371_p2, "icmp47_fu_9371_p2"); sc_trace(mVcdFile, tmp_1847_fu_9377_p3, "tmp_1847_fu_9377_p3"); sc_trace(mVcdFile, tmp_1522_fu_9397_p2, "tmp_1522_fu_9397_p2"); sc_trace(mVcdFile, v_1_45_fu_9389_p3, "v_1_45_fu_9389_p3"); sc_trace(mVcdFile, tmp_1848_fu_9385_p1, "tmp_1848_fu_9385_p1"); sc_trace(mVcdFile, p_shl47_fu_9411_p3, "p_shl47_fu_9411_p3"); sc_trace(mVcdFile, tmp_114_46_fu_9422_p3, "tmp_114_46_fu_9422_p3"); sc_trace(mVcdFile, tmp_122_46_cast_fu_9433_p1, "tmp_122_46_cast_fu_9433_p1"); sc_trace(mVcdFile, p_shl47_cast_fu_9418_p1, "p_shl47_cast_fu_9418_p1"); sc_trace(mVcdFile, tmp_114_46_cast_fu_9429_p1, "tmp_114_46_cast_fu_9429_p1"); sc_trace(mVcdFile, tmp_124_46_fu_9436_p2, "tmp_124_46_fu_9436_p2"); sc_trace(mVcdFile, tmp_125_46_fu_9442_p2, "tmp_125_46_fu_9442_p2"); sc_trace(mVcdFile, tmp_5171_cast_fu_9448_p1, "tmp_5171_cast_fu_9448_p1"); sc_trace(mVcdFile, tmp_5172_cast_fu_9451_p1, "tmp_5172_cast_fu_9451_p1"); sc_trace(mVcdFile, tmp_1523_fu_9454_p2, "tmp_1523_fu_9454_p2"); sc_trace(mVcdFile, sum_tr_46_fu_9460_p2, "sum_tr_46_fu_9460_p2"); sc_trace(mVcdFile, tmp_1849_fu_9466_p4, "tmp_1849_fu_9466_p4"); sc_trace(mVcdFile, icmp48_fu_9476_p2, "icmp48_fu_9476_p2"); sc_trace(mVcdFile, tmp_1850_fu_9482_p3, "tmp_1850_fu_9482_p3"); sc_trace(mVcdFile, tmp_1524_fu_9502_p2, "tmp_1524_fu_9502_p2"); sc_trace(mVcdFile, v_1_46_fu_9494_p3, "v_1_46_fu_9494_p3"); sc_trace(mVcdFile, tmp_1851_fu_9490_p1, "tmp_1851_fu_9490_p1"); sc_trace(mVcdFile, p_shl48_fu_9516_p3, "p_shl48_fu_9516_p3"); sc_trace(mVcdFile, tmp_114_47_fu_9527_p3, "tmp_114_47_fu_9527_p3"); sc_trace(mVcdFile, tmp_122_47_cast_fu_9538_p1, "tmp_122_47_cast_fu_9538_p1"); sc_trace(mVcdFile, p_shl48_cast_fu_9523_p1, "p_shl48_cast_fu_9523_p1"); sc_trace(mVcdFile, tmp_114_47_cast_fu_9534_p1, "tmp_114_47_cast_fu_9534_p1"); sc_trace(mVcdFile, tmp_124_47_fu_9541_p2, "tmp_124_47_fu_9541_p2"); sc_trace(mVcdFile, tmp_125_47_fu_9547_p2, "tmp_125_47_fu_9547_p2"); sc_trace(mVcdFile, tmp_5176_cast_fu_9553_p1, "tmp_5176_cast_fu_9553_p1"); sc_trace(mVcdFile, tmp_5177_cast_fu_9556_p1, "tmp_5177_cast_fu_9556_p1"); sc_trace(mVcdFile, tmp_1525_fu_9559_p2, "tmp_1525_fu_9559_p2"); sc_trace(mVcdFile, sum_tr_47_fu_9565_p2, "sum_tr_47_fu_9565_p2"); sc_trace(mVcdFile, tmp_1852_fu_9571_p4, "tmp_1852_fu_9571_p4"); sc_trace(mVcdFile, icmp49_fu_9581_p2, "icmp49_fu_9581_p2"); sc_trace(mVcdFile, tmp_1853_fu_9587_p3, "tmp_1853_fu_9587_p3"); sc_trace(mVcdFile, tmp_1526_fu_9607_p2, "tmp_1526_fu_9607_p2"); sc_trace(mVcdFile, v_1_47_fu_9599_p3, "v_1_47_fu_9599_p3"); sc_trace(mVcdFile, tmp_1854_fu_9595_p1, "tmp_1854_fu_9595_p1"); sc_trace(mVcdFile, p_shl49_fu_9621_p3, "p_shl49_fu_9621_p3"); sc_trace(mVcdFile, tmp_114_48_fu_9632_p3, "tmp_114_48_fu_9632_p3"); sc_trace(mVcdFile, tmp_122_48_cast_fu_9643_p1, "tmp_122_48_cast_fu_9643_p1"); sc_trace(mVcdFile, p_shl49_cast_fu_9628_p1, "p_shl49_cast_fu_9628_p1"); sc_trace(mVcdFile, tmp_114_48_cast_fu_9639_p1, "tmp_114_48_cast_fu_9639_p1"); sc_trace(mVcdFile, tmp_124_48_fu_9646_p2, "tmp_124_48_fu_9646_p2"); sc_trace(mVcdFile, tmp_125_48_fu_9652_p2, "tmp_125_48_fu_9652_p2"); sc_trace(mVcdFile, tmp_5181_cast_fu_9658_p1, "tmp_5181_cast_fu_9658_p1"); sc_trace(mVcdFile, tmp_5182_cast_fu_9661_p1, "tmp_5182_cast_fu_9661_p1"); sc_trace(mVcdFile, tmp_1527_fu_9664_p2, "tmp_1527_fu_9664_p2"); sc_trace(mVcdFile, sum_tr_48_fu_9670_p2, "sum_tr_48_fu_9670_p2"); sc_trace(mVcdFile, tmp_1855_fu_9676_p4, "tmp_1855_fu_9676_p4"); sc_trace(mVcdFile, icmp50_fu_9686_p2, "icmp50_fu_9686_p2"); sc_trace(mVcdFile, tmp_1856_fu_9692_p3, "tmp_1856_fu_9692_p3"); sc_trace(mVcdFile, tmp_1528_fu_9712_p2, "tmp_1528_fu_9712_p2"); sc_trace(mVcdFile, v_1_48_fu_9704_p3, "v_1_48_fu_9704_p3"); sc_trace(mVcdFile, tmp_1857_fu_9700_p1, "tmp_1857_fu_9700_p1"); sc_trace(mVcdFile, p_shl50_fu_9726_p3, "p_shl50_fu_9726_p3"); sc_trace(mVcdFile, tmp_114_49_fu_9737_p3, "tmp_114_49_fu_9737_p3"); sc_trace(mVcdFile, tmp_122_49_cast_fu_9748_p1, "tmp_122_49_cast_fu_9748_p1"); sc_trace(mVcdFile, p_shl50_cast_fu_9733_p1, "p_shl50_cast_fu_9733_p1"); sc_trace(mVcdFile, tmp_114_49_cast_fu_9744_p1, "tmp_114_49_cast_fu_9744_p1"); sc_trace(mVcdFile, tmp_124_49_fu_9751_p2, "tmp_124_49_fu_9751_p2"); sc_trace(mVcdFile, tmp_125_49_fu_9757_p2, "tmp_125_49_fu_9757_p2"); sc_trace(mVcdFile, tmp_5186_cast_fu_9763_p1, "tmp_5186_cast_fu_9763_p1"); sc_trace(mVcdFile, tmp_5187_cast_fu_9766_p1, "tmp_5187_cast_fu_9766_p1"); sc_trace(mVcdFile, tmp_1529_fu_9769_p2, "tmp_1529_fu_9769_p2"); sc_trace(mVcdFile, sum_tr_49_fu_9775_p2, "sum_tr_49_fu_9775_p2"); sc_trace(mVcdFile, tmp_1858_fu_9781_p4, "tmp_1858_fu_9781_p4"); sc_trace(mVcdFile, icmp51_fu_9791_p2, "icmp51_fu_9791_p2"); sc_trace(mVcdFile, tmp_1859_fu_9797_p3, "tmp_1859_fu_9797_p3"); sc_trace(mVcdFile, tmp_1530_fu_9817_p2, "tmp_1530_fu_9817_p2"); sc_trace(mVcdFile, v_1_49_fu_9809_p3, "v_1_49_fu_9809_p3"); sc_trace(mVcdFile, tmp_1860_fu_9805_p1, "tmp_1860_fu_9805_p1"); sc_trace(mVcdFile, p_shl51_fu_9831_p3, "p_shl51_fu_9831_p3"); sc_trace(mVcdFile, tmp_114_50_fu_9842_p3, "tmp_114_50_fu_9842_p3"); sc_trace(mVcdFile, tmp_122_50_cast_fu_9853_p1, "tmp_122_50_cast_fu_9853_p1"); sc_trace(mVcdFile, p_shl51_cast_fu_9838_p1, "p_shl51_cast_fu_9838_p1"); sc_trace(mVcdFile, tmp_114_50_cast_fu_9849_p1, "tmp_114_50_cast_fu_9849_p1"); sc_trace(mVcdFile, tmp_124_50_fu_9856_p2, "tmp_124_50_fu_9856_p2"); sc_trace(mVcdFile, tmp_125_50_fu_9862_p2, "tmp_125_50_fu_9862_p2"); sc_trace(mVcdFile, tmp_5191_cast_fu_9868_p1, "tmp_5191_cast_fu_9868_p1"); sc_trace(mVcdFile, tmp_5192_cast_fu_9871_p1, "tmp_5192_cast_fu_9871_p1"); sc_trace(mVcdFile, tmp_1531_fu_9874_p2, "tmp_1531_fu_9874_p2"); sc_trace(mVcdFile, sum_tr_50_fu_9880_p2, "sum_tr_50_fu_9880_p2"); sc_trace(mVcdFile, tmp_1861_fu_9886_p4, "tmp_1861_fu_9886_p4"); sc_trace(mVcdFile, icmp52_fu_9896_p2, "icmp52_fu_9896_p2"); sc_trace(mVcdFile, tmp_1862_fu_9902_p3, "tmp_1862_fu_9902_p3"); sc_trace(mVcdFile, tmp_1532_fu_9922_p2, "tmp_1532_fu_9922_p2"); sc_trace(mVcdFile, v_1_50_fu_9914_p3, "v_1_50_fu_9914_p3"); sc_trace(mVcdFile, tmp_1863_fu_9910_p1, "tmp_1863_fu_9910_p1"); sc_trace(mVcdFile, p_shl52_fu_9936_p3, "p_shl52_fu_9936_p3"); sc_trace(mVcdFile, tmp_114_51_fu_9947_p3, "tmp_114_51_fu_9947_p3"); sc_trace(mVcdFile, tmp_122_51_cast_fu_9958_p1, "tmp_122_51_cast_fu_9958_p1"); sc_trace(mVcdFile, p_shl52_cast_fu_9943_p1, "p_shl52_cast_fu_9943_p1"); sc_trace(mVcdFile, tmp_114_51_cast_fu_9954_p1, "tmp_114_51_cast_fu_9954_p1"); sc_trace(mVcdFile, tmp_124_51_fu_9961_p2, "tmp_124_51_fu_9961_p2"); sc_trace(mVcdFile, tmp_125_51_fu_9967_p2, "tmp_125_51_fu_9967_p2"); sc_trace(mVcdFile, tmp_5196_cast_fu_9973_p1, "tmp_5196_cast_fu_9973_p1"); sc_trace(mVcdFile, tmp_5197_cast_fu_9976_p1, "tmp_5197_cast_fu_9976_p1"); sc_trace(mVcdFile, tmp_1533_fu_9979_p2, "tmp_1533_fu_9979_p2"); sc_trace(mVcdFile, sum_tr_51_fu_9985_p2, "sum_tr_51_fu_9985_p2"); sc_trace(mVcdFile, tmp_1864_fu_9991_p4, "tmp_1864_fu_9991_p4"); sc_trace(mVcdFile, icmp53_fu_10001_p2, "icmp53_fu_10001_p2"); sc_trace(mVcdFile, tmp_1865_fu_10007_p3, "tmp_1865_fu_10007_p3"); sc_trace(mVcdFile, tmp_1534_fu_10027_p2, "tmp_1534_fu_10027_p2"); sc_trace(mVcdFile, v_1_51_fu_10019_p3, "v_1_51_fu_10019_p3"); sc_trace(mVcdFile, tmp_1866_fu_10015_p1, "tmp_1866_fu_10015_p1"); sc_trace(mVcdFile, p_shl53_fu_10041_p3, "p_shl53_fu_10041_p3"); sc_trace(mVcdFile, tmp_114_52_fu_10052_p3, "tmp_114_52_fu_10052_p3"); sc_trace(mVcdFile, tmp_122_52_cast_fu_10063_p1, "tmp_122_52_cast_fu_10063_p1"); sc_trace(mVcdFile, p_shl53_cast_fu_10048_p1, "p_shl53_cast_fu_10048_p1"); sc_trace(mVcdFile, tmp_114_52_cast_fu_10059_p1, "tmp_114_52_cast_fu_10059_p1"); sc_trace(mVcdFile, tmp_124_52_fu_10066_p2, "tmp_124_52_fu_10066_p2"); sc_trace(mVcdFile, tmp_125_52_fu_10072_p2, "tmp_125_52_fu_10072_p2"); sc_trace(mVcdFile, tmp_5201_cast_fu_10078_p1, "tmp_5201_cast_fu_10078_p1"); sc_trace(mVcdFile, tmp_5202_cast_fu_10081_p1, "tmp_5202_cast_fu_10081_p1"); sc_trace(mVcdFile, tmp_1535_fu_10084_p2, "tmp_1535_fu_10084_p2"); sc_trace(mVcdFile, sum_tr_52_fu_10090_p2, "sum_tr_52_fu_10090_p2"); sc_trace(mVcdFile, tmp_1867_fu_10096_p4, "tmp_1867_fu_10096_p4"); sc_trace(mVcdFile, icmp54_fu_10106_p2, "icmp54_fu_10106_p2"); sc_trace(mVcdFile, tmp_1868_fu_10112_p3, "tmp_1868_fu_10112_p3"); sc_trace(mVcdFile, tmp_1536_fu_10132_p2, "tmp_1536_fu_10132_p2"); sc_trace(mVcdFile, v_1_52_fu_10124_p3, "v_1_52_fu_10124_p3"); sc_trace(mVcdFile, tmp_1869_fu_10120_p1, "tmp_1869_fu_10120_p1"); sc_trace(mVcdFile, p_shl54_fu_10146_p3, "p_shl54_fu_10146_p3"); sc_trace(mVcdFile, tmp_114_53_fu_10157_p3, "tmp_114_53_fu_10157_p3"); sc_trace(mVcdFile, tmp_122_53_cast_fu_10168_p1, "tmp_122_53_cast_fu_10168_p1"); sc_trace(mVcdFile, p_shl54_cast_fu_10153_p1, "p_shl54_cast_fu_10153_p1"); sc_trace(mVcdFile, tmp_114_53_cast_fu_10164_p1, "tmp_114_53_cast_fu_10164_p1"); sc_trace(mVcdFile, tmp_124_53_fu_10171_p2, "tmp_124_53_fu_10171_p2"); sc_trace(mVcdFile, tmp_125_53_fu_10177_p2, "tmp_125_53_fu_10177_p2"); sc_trace(mVcdFile, tmp_5206_cast_fu_10183_p1, "tmp_5206_cast_fu_10183_p1"); sc_trace(mVcdFile, tmp_5207_cast_fu_10186_p1, "tmp_5207_cast_fu_10186_p1"); sc_trace(mVcdFile, tmp_1537_fu_10189_p2, "tmp_1537_fu_10189_p2"); sc_trace(mVcdFile, sum_tr_53_fu_10195_p2, "sum_tr_53_fu_10195_p2"); sc_trace(mVcdFile, tmp_1870_fu_10201_p4, "tmp_1870_fu_10201_p4"); sc_trace(mVcdFile, icmp55_fu_10211_p2, "icmp55_fu_10211_p2"); sc_trace(mVcdFile, tmp_1871_fu_10217_p3, "tmp_1871_fu_10217_p3"); sc_trace(mVcdFile, tmp_1538_fu_10237_p2, "tmp_1538_fu_10237_p2"); sc_trace(mVcdFile, v_1_53_fu_10229_p3, "v_1_53_fu_10229_p3"); sc_trace(mVcdFile, tmp_1872_fu_10225_p1, "tmp_1872_fu_10225_p1"); sc_trace(mVcdFile, p_shl55_fu_10251_p3, "p_shl55_fu_10251_p3"); sc_trace(mVcdFile, tmp_114_54_fu_10262_p3, "tmp_114_54_fu_10262_p3"); sc_trace(mVcdFile, tmp_122_54_cast_fu_10273_p1, "tmp_122_54_cast_fu_10273_p1"); sc_trace(mVcdFile, p_shl55_cast_fu_10258_p1, "p_shl55_cast_fu_10258_p1"); sc_trace(mVcdFile, tmp_114_54_cast_fu_10269_p1, "tmp_114_54_cast_fu_10269_p1"); sc_trace(mVcdFile, tmp_124_54_fu_10276_p2, "tmp_124_54_fu_10276_p2"); sc_trace(mVcdFile, tmp_125_54_fu_10282_p2, "tmp_125_54_fu_10282_p2"); sc_trace(mVcdFile, tmp_5211_cast_fu_10288_p1, "tmp_5211_cast_fu_10288_p1"); sc_trace(mVcdFile, tmp_5212_cast_fu_10291_p1, "tmp_5212_cast_fu_10291_p1"); sc_trace(mVcdFile, tmp_1539_fu_10294_p2, "tmp_1539_fu_10294_p2"); sc_trace(mVcdFile, sum_tr_54_fu_10300_p2, "sum_tr_54_fu_10300_p2"); sc_trace(mVcdFile, tmp_1873_fu_10306_p4, "tmp_1873_fu_10306_p4"); sc_trace(mVcdFile, icmp56_fu_10316_p2, "icmp56_fu_10316_p2"); sc_trace(mVcdFile, tmp_1874_fu_10322_p3, "tmp_1874_fu_10322_p3"); sc_trace(mVcdFile, tmp_1540_fu_10342_p2, "tmp_1540_fu_10342_p2"); sc_trace(mVcdFile, v_1_54_fu_10334_p3, "v_1_54_fu_10334_p3"); sc_trace(mVcdFile, tmp_1875_fu_10330_p1, "tmp_1875_fu_10330_p1"); sc_trace(mVcdFile, p_shl56_fu_10356_p3, "p_shl56_fu_10356_p3"); sc_trace(mVcdFile, tmp_114_55_fu_10367_p3, "tmp_114_55_fu_10367_p3"); sc_trace(mVcdFile, tmp_122_55_cast_fu_10378_p1, "tmp_122_55_cast_fu_10378_p1"); sc_trace(mVcdFile, p_shl56_cast_fu_10363_p1, "p_shl56_cast_fu_10363_p1"); sc_trace(mVcdFile, tmp_114_55_cast_fu_10374_p1, "tmp_114_55_cast_fu_10374_p1"); sc_trace(mVcdFile, tmp_124_55_fu_10381_p2, "tmp_124_55_fu_10381_p2"); sc_trace(mVcdFile, tmp_125_55_fu_10387_p2, "tmp_125_55_fu_10387_p2"); sc_trace(mVcdFile, tmp_5216_cast_fu_10393_p1, "tmp_5216_cast_fu_10393_p1"); sc_trace(mVcdFile, tmp_5217_cast_fu_10396_p1, "tmp_5217_cast_fu_10396_p1"); sc_trace(mVcdFile, tmp_1541_fu_10399_p2, "tmp_1541_fu_10399_p2"); sc_trace(mVcdFile, sum_tr_55_fu_10405_p2, "sum_tr_55_fu_10405_p2"); sc_trace(mVcdFile, tmp_1876_fu_10411_p4, "tmp_1876_fu_10411_p4"); sc_trace(mVcdFile, icmp57_fu_10421_p2, "icmp57_fu_10421_p2"); sc_trace(mVcdFile, tmp_1877_fu_10427_p3, "tmp_1877_fu_10427_p3"); sc_trace(mVcdFile, tmp_1542_fu_10447_p2, "tmp_1542_fu_10447_p2"); sc_trace(mVcdFile, v_1_55_fu_10439_p3, "v_1_55_fu_10439_p3"); sc_trace(mVcdFile, tmp_1878_fu_10435_p1, "tmp_1878_fu_10435_p1"); sc_trace(mVcdFile, p_shl57_fu_10461_p3, "p_shl57_fu_10461_p3"); sc_trace(mVcdFile, tmp_114_56_fu_10472_p3, "tmp_114_56_fu_10472_p3"); sc_trace(mVcdFile, tmp_122_56_cast_fu_10483_p1, "tmp_122_56_cast_fu_10483_p1"); sc_trace(mVcdFile, p_shl57_cast_fu_10468_p1, "p_shl57_cast_fu_10468_p1"); sc_trace(mVcdFile, tmp_114_56_cast_fu_10479_p1, "tmp_114_56_cast_fu_10479_p1"); sc_trace(mVcdFile, tmp_124_56_fu_10486_p2, "tmp_124_56_fu_10486_p2"); sc_trace(mVcdFile, tmp_125_56_fu_10492_p2, "tmp_125_56_fu_10492_p2"); sc_trace(mVcdFile, tmp_5221_cast_fu_10498_p1, "tmp_5221_cast_fu_10498_p1"); sc_trace(mVcdFile, tmp_5222_cast_fu_10501_p1, "tmp_5222_cast_fu_10501_p1"); sc_trace(mVcdFile, tmp_1543_fu_10504_p2, "tmp_1543_fu_10504_p2"); sc_trace(mVcdFile, sum_tr_56_fu_10510_p2, "sum_tr_56_fu_10510_p2"); sc_trace(mVcdFile, tmp_1879_fu_10516_p4, "tmp_1879_fu_10516_p4"); sc_trace(mVcdFile, icmp58_fu_10526_p2, "icmp58_fu_10526_p2"); sc_trace(mVcdFile, tmp_1880_fu_10532_p3, "tmp_1880_fu_10532_p3"); sc_trace(mVcdFile, tmp_1544_fu_10552_p2, "tmp_1544_fu_10552_p2"); sc_trace(mVcdFile, v_1_56_fu_10544_p3, "v_1_56_fu_10544_p3"); sc_trace(mVcdFile, tmp_1881_fu_10540_p1, "tmp_1881_fu_10540_p1"); sc_trace(mVcdFile, p_shl58_fu_10566_p3, "p_shl58_fu_10566_p3"); sc_trace(mVcdFile, tmp_114_57_fu_10577_p3, "tmp_114_57_fu_10577_p3"); sc_trace(mVcdFile, tmp_122_57_cast_fu_10588_p1, "tmp_122_57_cast_fu_10588_p1"); sc_trace(mVcdFile, p_shl58_cast_fu_10573_p1, "p_shl58_cast_fu_10573_p1"); sc_trace(mVcdFile, tmp_114_57_cast_fu_10584_p1, "tmp_114_57_cast_fu_10584_p1"); sc_trace(mVcdFile, tmp_124_57_fu_10591_p2, "tmp_124_57_fu_10591_p2"); sc_trace(mVcdFile, tmp_125_57_fu_10597_p2, "tmp_125_57_fu_10597_p2"); sc_trace(mVcdFile, tmp_5226_cast_fu_10603_p1, "tmp_5226_cast_fu_10603_p1"); sc_trace(mVcdFile, tmp_5227_cast_fu_10606_p1, "tmp_5227_cast_fu_10606_p1"); sc_trace(mVcdFile, tmp_1545_fu_10609_p2, "tmp_1545_fu_10609_p2"); sc_trace(mVcdFile, sum_tr_57_fu_10615_p2, "sum_tr_57_fu_10615_p2"); sc_trace(mVcdFile, tmp_1882_fu_10621_p4, "tmp_1882_fu_10621_p4"); sc_trace(mVcdFile, icmp59_fu_10631_p2, "icmp59_fu_10631_p2"); sc_trace(mVcdFile, tmp_1883_fu_10637_p3, "tmp_1883_fu_10637_p3"); sc_trace(mVcdFile, tmp_1546_fu_10657_p2, "tmp_1546_fu_10657_p2"); sc_trace(mVcdFile, v_1_57_fu_10649_p3, "v_1_57_fu_10649_p3"); sc_trace(mVcdFile, tmp_1884_fu_10645_p1, "tmp_1884_fu_10645_p1"); sc_trace(mVcdFile, p_shl59_fu_10671_p3, "p_shl59_fu_10671_p3"); sc_trace(mVcdFile, tmp_114_58_fu_10682_p3, "tmp_114_58_fu_10682_p3"); sc_trace(mVcdFile, tmp_122_58_cast_fu_10693_p1, "tmp_122_58_cast_fu_10693_p1"); sc_trace(mVcdFile, p_shl59_cast_fu_10678_p1, "p_shl59_cast_fu_10678_p1"); sc_trace(mVcdFile, tmp_114_58_cast_fu_10689_p1, "tmp_114_58_cast_fu_10689_p1"); sc_trace(mVcdFile, tmp_124_58_fu_10696_p2, "tmp_124_58_fu_10696_p2"); sc_trace(mVcdFile, tmp_125_58_fu_10702_p2, "tmp_125_58_fu_10702_p2"); sc_trace(mVcdFile, tmp_5231_cast_fu_10708_p1, "tmp_5231_cast_fu_10708_p1"); sc_trace(mVcdFile, tmp_5232_cast_fu_10711_p1, "tmp_5232_cast_fu_10711_p1"); sc_trace(mVcdFile, tmp_1547_fu_10714_p2, "tmp_1547_fu_10714_p2"); sc_trace(mVcdFile, sum_tr_58_fu_10720_p2, "sum_tr_58_fu_10720_p2"); sc_trace(mVcdFile, tmp_1885_fu_10726_p4, "tmp_1885_fu_10726_p4"); sc_trace(mVcdFile, icmp60_fu_10736_p2, "icmp60_fu_10736_p2"); sc_trace(mVcdFile, tmp_1886_fu_10742_p3, "tmp_1886_fu_10742_p3"); sc_trace(mVcdFile, tmp_1548_fu_10762_p2, "tmp_1548_fu_10762_p2"); sc_trace(mVcdFile, v_1_58_fu_10754_p3, "v_1_58_fu_10754_p3"); sc_trace(mVcdFile, tmp_1887_fu_10750_p1, "tmp_1887_fu_10750_p1"); sc_trace(mVcdFile, p_shl60_fu_10776_p3, "p_shl60_fu_10776_p3"); sc_trace(mVcdFile, tmp_114_59_fu_10787_p3, "tmp_114_59_fu_10787_p3"); sc_trace(mVcdFile, tmp_122_59_cast_fu_10798_p1, "tmp_122_59_cast_fu_10798_p1"); sc_trace(mVcdFile, p_shl60_cast_fu_10783_p1, "p_shl60_cast_fu_10783_p1"); sc_trace(mVcdFile, tmp_114_59_cast_fu_10794_p1, "tmp_114_59_cast_fu_10794_p1"); sc_trace(mVcdFile, tmp_124_59_fu_10801_p2, "tmp_124_59_fu_10801_p2"); sc_trace(mVcdFile, tmp_125_59_fu_10807_p2, "tmp_125_59_fu_10807_p2"); sc_trace(mVcdFile, tmp_5236_cast_fu_10813_p1, "tmp_5236_cast_fu_10813_p1"); sc_trace(mVcdFile, tmp_5237_cast_fu_10816_p1, "tmp_5237_cast_fu_10816_p1"); sc_trace(mVcdFile, tmp_1549_fu_10819_p2, "tmp_1549_fu_10819_p2"); sc_trace(mVcdFile, sum_tr_59_fu_10825_p2, "sum_tr_59_fu_10825_p2"); sc_trace(mVcdFile, tmp_1888_fu_10831_p4, "tmp_1888_fu_10831_p4"); sc_trace(mVcdFile, icmp61_fu_10841_p2, "icmp61_fu_10841_p2"); sc_trace(mVcdFile, tmp_1889_fu_10847_p3, "tmp_1889_fu_10847_p3"); sc_trace(mVcdFile, tmp_1550_fu_10867_p2, "tmp_1550_fu_10867_p2"); sc_trace(mVcdFile, v_1_59_fu_10859_p3, "v_1_59_fu_10859_p3"); sc_trace(mVcdFile, tmp_1890_fu_10855_p1, "tmp_1890_fu_10855_p1"); sc_trace(mVcdFile, p_shl61_fu_10881_p3, "p_shl61_fu_10881_p3"); sc_trace(mVcdFile, tmp_114_60_fu_10892_p3, "tmp_114_60_fu_10892_p3"); sc_trace(mVcdFile, tmp_122_60_cast_fu_10903_p1, "tmp_122_60_cast_fu_10903_p1"); sc_trace(mVcdFile, p_shl61_cast_fu_10888_p1, "p_shl61_cast_fu_10888_p1"); sc_trace(mVcdFile, tmp_114_60_cast_fu_10899_p1, "tmp_114_60_cast_fu_10899_p1"); sc_trace(mVcdFile, tmp_124_60_fu_10906_p2, "tmp_124_60_fu_10906_p2"); sc_trace(mVcdFile, tmp_125_60_fu_10912_p2, "tmp_125_60_fu_10912_p2"); sc_trace(mVcdFile, tmp_5241_cast_fu_10918_p1, "tmp_5241_cast_fu_10918_p1"); sc_trace(mVcdFile, tmp_5242_cast_fu_10921_p1, "tmp_5242_cast_fu_10921_p1"); sc_trace(mVcdFile, tmp_1551_fu_10924_p2, "tmp_1551_fu_10924_p2"); sc_trace(mVcdFile, sum_tr_60_fu_10930_p2, "sum_tr_60_fu_10930_p2"); sc_trace(mVcdFile, tmp_1891_fu_10936_p4, "tmp_1891_fu_10936_p4"); sc_trace(mVcdFile, icmp62_fu_10946_p2, "icmp62_fu_10946_p2"); sc_trace(mVcdFile, tmp_1892_fu_10952_p3, "tmp_1892_fu_10952_p3"); sc_trace(mVcdFile, tmp_1552_fu_10972_p2, "tmp_1552_fu_10972_p2"); sc_trace(mVcdFile, v_1_60_fu_10964_p3, "v_1_60_fu_10964_p3"); sc_trace(mVcdFile, tmp_1893_fu_10960_p1, "tmp_1893_fu_10960_p1"); sc_trace(mVcdFile, p_shl62_fu_10986_p3, "p_shl62_fu_10986_p3"); sc_trace(mVcdFile, tmp_114_61_fu_10997_p3, "tmp_114_61_fu_10997_p3"); sc_trace(mVcdFile, tmp_122_61_cast_fu_11008_p1, "tmp_122_61_cast_fu_11008_p1"); sc_trace(mVcdFile, p_shl62_cast_fu_10993_p1, "p_shl62_cast_fu_10993_p1"); sc_trace(mVcdFile, tmp_114_61_cast_fu_11004_p1, "tmp_114_61_cast_fu_11004_p1"); sc_trace(mVcdFile, tmp_124_61_fu_11011_p2, "tmp_124_61_fu_11011_p2"); sc_trace(mVcdFile, tmp_125_61_fu_11017_p2, "tmp_125_61_fu_11017_p2"); sc_trace(mVcdFile, tmp_5246_cast_fu_11023_p1, "tmp_5246_cast_fu_11023_p1"); sc_trace(mVcdFile, tmp_5247_cast_fu_11026_p1, "tmp_5247_cast_fu_11026_p1"); sc_trace(mVcdFile, tmp_1553_fu_11029_p2, "tmp_1553_fu_11029_p2"); sc_trace(mVcdFile, sum_tr_61_fu_11035_p2, "sum_tr_61_fu_11035_p2"); sc_trace(mVcdFile, tmp_1894_fu_11041_p4, "tmp_1894_fu_11041_p4"); sc_trace(mVcdFile, icmp63_fu_11051_p2, "icmp63_fu_11051_p2"); sc_trace(mVcdFile, tmp_1895_fu_11057_p3, "tmp_1895_fu_11057_p3"); sc_trace(mVcdFile, tmp_1554_fu_11077_p2, "tmp_1554_fu_11077_p2"); sc_trace(mVcdFile, v_1_61_fu_11069_p3, "v_1_61_fu_11069_p3"); sc_trace(mVcdFile, tmp_1896_fu_11065_p1, "tmp_1896_fu_11065_p1"); sc_trace(mVcdFile, p_shl63_fu_11091_p3, "p_shl63_fu_11091_p3"); sc_trace(mVcdFile, tmp_114_62_fu_11102_p3, "tmp_114_62_fu_11102_p3"); sc_trace(mVcdFile, tmp_122_62_cast_fu_11113_p1, "tmp_122_62_cast_fu_11113_p1"); sc_trace(mVcdFile, p_shl63_cast_fu_11098_p1, "p_shl63_cast_fu_11098_p1"); sc_trace(mVcdFile, tmp_114_62_cast_fu_11109_p1, "tmp_114_62_cast_fu_11109_p1"); sc_trace(mVcdFile, tmp_124_62_fu_11116_p2, "tmp_124_62_fu_11116_p2"); sc_trace(mVcdFile, tmp_125_62_fu_11122_p2, "tmp_125_62_fu_11122_p2"); sc_trace(mVcdFile, tmp_5251_cast_fu_11128_p1, "tmp_5251_cast_fu_11128_p1"); sc_trace(mVcdFile, tmp_5252_cast_fu_11131_p1, "tmp_5252_cast_fu_11131_p1"); sc_trace(mVcdFile, tmp_1555_fu_11134_p2, "tmp_1555_fu_11134_p2"); sc_trace(mVcdFile, sum_tr_62_fu_11140_p2, "sum_tr_62_fu_11140_p2"); sc_trace(mVcdFile, tmp_1897_fu_11146_p4, "tmp_1897_fu_11146_p4"); sc_trace(mVcdFile, icmp64_fu_11156_p2, "icmp64_fu_11156_p2"); sc_trace(mVcdFile, tmp_1898_fu_11162_p3, "tmp_1898_fu_11162_p3"); sc_trace(mVcdFile, tmp_1556_fu_11182_p2, "tmp_1556_fu_11182_p2"); sc_trace(mVcdFile, v_1_62_fu_11174_p3, "v_1_62_fu_11174_p3"); sc_trace(mVcdFile, tmp_1899_fu_11170_p1, "tmp_1899_fu_11170_p1"); sc_trace(mVcdFile, p_shl64_fu_11196_p3, "p_shl64_fu_11196_p3"); sc_trace(mVcdFile, tmp_114_63_fu_11207_p3, "tmp_114_63_fu_11207_p3"); sc_trace(mVcdFile, tmp_122_63_cast_fu_11218_p1, "tmp_122_63_cast_fu_11218_p1"); sc_trace(mVcdFile, p_shl64_cast_fu_11203_p1, "p_shl64_cast_fu_11203_p1"); sc_trace(mVcdFile, tmp_114_63_cast_fu_11214_p1, "tmp_114_63_cast_fu_11214_p1"); sc_trace(mVcdFile, tmp_124_63_fu_11221_p2, "tmp_124_63_fu_11221_p2"); sc_trace(mVcdFile, tmp_125_63_fu_11227_p2, "tmp_125_63_fu_11227_p2"); sc_trace(mVcdFile, tmp_5256_cast_fu_11233_p1, "tmp_5256_cast_fu_11233_p1"); sc_trace(mVcdFile, tmp_5257_cast_fu_11236_p1, "tmp_5257_cast_fu_11236_p1"); sc_trace(mVcdFile, tmp_1557_fu_11239_p2, "tmp_1557_fu_11239_p2"); sc_trace(mVcdFile, sum_tr_63_fu_11245_p2, "sum_tr_63_fu_11245_p2"); sc_trace(mVcdFile, tmp_1900_fu_11251_p4, "tmp_1900_fu_11251_p4"); sc_trace(mVcdFile, icmp65_fu_11261_p2, "icmp65_fu_11261_p2"); sc_trace(mVcdFile, tmp_1901_fu_11267_p3, "tmp_1901_fu_11267_p3"); sc_trace(mVcdFile, tmp_1558_fu_11287_p2, "tmp_1558_fu_11287_p2"); sc_trace(mVcdFile, v_1_63_fu_11279_p3, "v_1_63_fu_11279_p3"); sc_trace(mVcdFile, tmp_1902_fu_11275_p1, "tmp_1902_fu_11275_p1"); sc_trace(mVcdFile, p_shl65_fu_11301_p3, "p_shl65_fu_11301_p3"); sc_trace(mVcdFile, tmp_114_64_fu_11312_p3, "tmp_114_64_fu_11312_p3"); sc_trace(mVcdFile, tmp_122_64_cast_fu_11323_p1, "tmp_122_64_cast_fu_11323_p1"); sc_trace(mVcdFile, p_shl65_cast_fu_11308_p1, "p_shl65_cast_fu_11308_p1"); sc_trace(mVcdFile, tmp_114_64_cast_fu_11319_p1, "tmp_114_64_cast_fu_11319_p1"); sc_trace(mVcdFile, tmp_124_64_fu_11326_p2, "tmp_124_64_fu_11326_p2"); sc_trace(mVcdFile, tmp_125_64_fu_11332_p2, "tmp_125_64_fu_11332_p2"); sc_trace(mVcdFile, tmp_5261_cast_fu_11338_p1, "tmp_5261_cast_fu_11338_p1"); sc_trace(mVcdFile, tmp_5262_cast_fu_11341_p1, "tmp_5262_cast_fu_11341_p1"); sc_trace(mVcdFile, tmp_1559_fu_11344_p2, "tmp_1559_fu_11344_p2"); sc_trace(mVcdFile, sum_tr_64_fu_11350_p2, "sum_tr_64_fu_11350_p2"); sc_trace(mVcdFile, tmp_1903_fu_11356_p4, "tmp_1903_fu_11356_p4"); sc_trace(mVcdFile, icmp66_fu_11366_p2, "icmp66_fu_11366_p2"); sc_trace(mVcdFile, tmp_1904_fu_11372_p3, "tmp_1904_fu_11372_p3"); sc_trace(mVcdFile, tmp_1560_fu_11392_p2, "tmp_1560_fu_11392_p2"); sc_trace(mVcdFile, v_1_64_fu_11384_p3, "v_1_64_fu_11384_p3"); sc_trace(mVcdFile, tmp_1905_fu_11380_p1, "tmp_1905_fu_11380_p1"); sc_trace(mVcdFile, p_shl66_fu_11406_p3, "p_shl66_fu_11406_p3"); sc_trace(mVcdFile, tmp_114_65_fu_11417_p3, "tmp_114_65_fu_11417_p3"); sc_trace(mVcdFile, tmp_122_65_cast_fu_11428_p1, "tmp_122_65_cast_fu_11428_p1"); sc_trace(mVcdFile, p_shl66_cast_fu_11413_p1, "p_shl66_cast_fu_11413_p1"); sc_trace(mVcdFile, tmp_114_65_cast_fu_11424_p1, "tmp_114_65_cast_fu_11424_p1"); sc_trace(mVcdFile, tmp_124_65_fu_11431_p2, "tmp_124_65_fu_11431_p2"); sc_trace(mVcdFile, tmp_125_65_fu_11437_p2, "tmp_125_65_fu_11437_p2"); sc_trace(mVcdFile, tmp_5266_cast_fu_11443_p1, "tmp_5266_cast_fu_11443_p1"); sc_trace(mVcdFile, tmp_5267_cast_fu_11446_p1, "tmp_5267_cast_fu_11446_p1"); sc_trace(mVcdFile, tmp_1561_fu_11449_p2, "tmp_1561_fu_11449_p2"); sc_trace(mVcdFile, sum_tr_65_fu_11455_p2, "sum_tr_65_fu_11455_p2"); sc_trace(mVcdFile, tmp_1906_fu_11461_p4, "tmp_1906_fu_11461_p4"); sc_trace(mVcdFile, icmp67_fu_11471_p2, "icmp67_fu_11471_p2"); sc_trace(mVcdFile, tmp_1907_fu_11477_p3, "tmp_1907_fu_11477_p3"); sc_trace(mVcdFile, tmp_1562_fu_11497_p2, "tmp_1562_fu_11497_p2"); sc_trace(mVcdFile, v_1_65_fu_11489_p3, "v_1_65_fu_11489_p3"); sc_trace(mVcdFile, tmp_1908_fu_11485_p1, "tmp_1908_fu_11485_p1"); sc_trace(mVcdFile, p_shl67_fu_11511_p3, "p_shl67_fu_11511_p3"); sc_trace(mVcdFile, tmp_114_66_fu_11522_p3, "tmp_114_66_fu_11522_p3"); sc_trace(mVcdFile, tmp_122_66_cast_fu_11533_p1, "tmp_122_66_cast_fu_11533_p1"); sc_trace(mVcdFile, p_shl67_cast_fu_11518_p1, "p_shl67_cast_fu_11518_p1"); sc_trace(mVcdFile, tmp_114_66_cast_fu_11529_p1, "tmp_114_66_cast_fu_11529_p1"); sc_trace(mVcdFile, tmp_124_66_fu_11536_p2, "tmp_124_66_fu_11536_p2"); sc_trace(mVcdFile, tmp_125_66_fu_11542_p2, "tmp_125_66_fu_11542_p2"); sc_trace(mVcdFile, tmp_5271_cast_fu_11548_p1, "tmp_5271_cast_fu_11548_p1"); sc_trace(mVcdFile, tmp_5272_cast_fu_11551_p1, "tmp_5272_cast_fu_11551_p1"); sc_trace(mVcdFile, tmp_1563_fu_11554_p2, "tmp_1563_fu_11554_p2"); sc_trace(mVcdFile, sum_tr_66_fu_11560_p2, "sum_tr_66_fu_11560_p2"); sc_trace(mVcdFile, tmp_1909_fu_11566_p4, "tmp_1909_fu_11566_p4"); sc_trace(mVcdFile, icmp68_fu_11576_p2, "icmp68_fu_11576_p2"); sc_trace(mVcdFile, tmp_1910_fu_11582_p3, "tmp_1910_fu_11582_p3"); sc_trace(mVcdFile, tmp_1564_fu_11602_p2, "tmp_1564_fu_11602_p2"); sc_trace(mVcdFile, v_1_66_fu_11594_p3, "v_1_66_fu_11594_p3"); sc_trace(mVcdFile, tmp_1911_fu_11590_p1, "tmp_1911_fu_11590_p1"); sc_trace(mVcdFile, p_shl68_fu_11616_p3, "p_shl68_fu_11616_p3"); sc_trace(mVcdFile, tmp_114_67_fu_11627_p3, "tmp_114_67_fu_11627_p3"); sc_trace(mVcdFile, tmp_122_67_cast_fu_11638_p1, "tmp_122_67_cast_fu_11638_p1"); sc_trace(mVcdFile, p_shl68_cast_fu_11623_p1, "p_shl68_cast_fu_11623_p1"); sc_trace(mVcdFile, tmp_114_67_cast_fu_11634_p1, "tmp_114_67_cast_fu_11634_p1"); sc_trace(mVcdFile, tmp_124_67_fu_11641_p2, "tmp_124_67_fu_11641_p2"); sc_trace(mVcdFile, tmp_125_67_fu_11647_p2, "tmp_125_67_fu_11647_p2"); sc_trace(mVcdFile, tmp_5276_cast_fu_11653_p1, "tmp_5276_cast_fu_11653_p1"); sc_trace(mVcdFile, tmp_5277_cast_fu_11657_p1, "tmp_5277_cast_fu_11657_p1"); sc_trace(mVcdFile, tmp_1565_fu_11660_p2, "tmp_1565_fu_11660_p2"); sc_trace(mVcdFile, sum_tr_67_fu_11666_p2, "sum_tr_67_fu_11666_p2"); sc_trace(mVcdFile, tmp_1912_fu_11672_p4, "tmp_1912_fu_11672_p4"); sc_trace(mVcdFile, icmp69_fu_11682_p2, "icmp69_fu_11682_p2"); sc_trace(mVcdFile, tmp_1913_fu_11688_p3, "tmp_1913_fu_11688_p3"); sc_trace(mVcdFile, tmp_1566_fu_11708_p2, "tmp_1566_fu_11708_p2"); sc_trace(mVcdFile, v_1_67_fu_11700_p3, "v_1_67_fu_11700_p3"); sc_trace(mVcdFile, tmp_1914_fu_11696_p1, "tmp_1914_fu_11696_p1"); sc_trace(mVcdFile, p_shl69_fu_11722_p3, "p_shl69_fu_11722_p3"); sc_trace(mVcdFile, tmp_114_68_fu_11734_p3, "tmp_114_68_fu_11734_p3"); sc_trace(mVcdFile, tmp_122_68_cast_fu_11745_p1, "tmp_122_68_cast_fu_11745_p1"); sc_trace(mVcdFile, p_shl69_cast_fu_11730_p1, "p_shl69_cast_fu_11730_p1"); sc_trace(mVcdFile, tmp_114_68_cast_fu_11741_p1, "tmp_114_68_cast_fu_11741_p1"); sc_trace(mVcdFile, tmp_124_68_fu_11748_p2, "tmp_124_68_fu_11748_p2"); sc_trace(mVcdFile, tmp_125_68_fu_11754_p2, "tmp_125_68_fu_11754_p2"); sc_trace(mVcdFile, tmp_5281_cast_fu_11760_p1, "tmp_5281_cast_fu_11760_p1"); sc_trace(mVcdFile, tmp_5282_cast_fu_11763_p1, "tmp_5282_cast_fu_11763_p1"); sc_trace(mVcdFile, tmp_1567_fu_11766_p2, "tmp_1567_fu_11766_p2"); sc_trace(mVcdFile, sum_tr_68_fu_11772_p2, "sum_tr_68_fu_11772_p2"); sc_trace(mVcdFile, tmp_1915_fu_11778_p4, "tmp_1915_fu_11778_p4"); sc_trace(mVcdFile, icmp70_fu_11788_p2, "icmp70_fu_11788_p2"); sc_trace(mVcdFile, tmp_1916_fu_11794_p3, "tmp_1916_fu_11794_p3"); sc_trace(mVcdFile, tmp_1568_fu_11814_p2, "tmp_1568_fu_11814_p2"); sc_trace(mVcdFile, v_1_68_fu_11806_p3, "v_1_68_fu_11806_p3"); sc_trace(mVcdFile, tmp_1917_fu_11802_p1, "tmp_1917_fu_11802_p1"); sc_trace(mVcdFile, p_shl70_fu_11828_p3, "p_shl70_fu_11828_p3"); sc_trace(mVcdFile, tmp_114_69_fu_11839_p3, "tmp_114_69_fu_11839_p3"); sc_trace(mVcdFile, tmp_122_69_cast_fu_11850_p1, "tmp_122_69_cast_fu_11850_p1"); sc_trace(mVcdFile, p_shl70_cast_fu_11835_p1, "p_shl70_cast_fu_11835_p1"); sc_trace(mVcdFile, tmp_114_69_cast_fu_11846_p1, "tmp_114_69_cast_fu_11846_p1"); sc_trace(mVcdFile, tmp_124_69_fu_11853_p2, "tmp_124_69_fu_11853_p2"); sc_trace(mVcdFile, tmp_125_69_fu_11859_p2, "tmp_125_69_fu_11859_p2"); sc_trace(mVcdFile, tmp_5286_cast_fu_11865_p1, "tmp_5286_cast_fu_11865_p1"); sc_trace(mVcdFile, tmp_5287_cast_fu_11869_p1, "tmp_5287_cast_fu_11869_p1"); sc_trace(mVcdFile, tmp_1569_fu_11872_p2, "tmp_1569_fu_11872_p2"); sc_trace(mVcdFile, sum_tr_69_fu_11878_p2, "sum_tr_69_fu_11878_p2"); sc_trace(mVcdFile, tmp_1918_fu_11884_p4, "tmp_1918_fu_11884_p4"); sc_trace(mVcdFile, icmp71_fu_11894_p2, "icmp71_fu_11894_p2"); sc_trace(mVcdFile, tmp_1919_fu_11900_p3, "tmp_1919_fu_11900_p3"); sc_trace(mVcdFile, tmp_1570_fu_11920_p2, "tmp_1570_fu_11920_p2"); sc_trace(mVcdFile, v_1_69_fu_11912_p3, "v_1_69_fu_11912_p3"); sc_trace(mVcdFile, tmp_1920_fu_11908_p1, "tmp_1920_fu_11908_p1"); sc_trace(mVcdFile, ap_sig_cseq_ST_st75_fsm_74, "ap_sig_cseq_ST_st75_fsm_74"); sc_trace(mVcdFile, ap_sig_13444, "ap_sig_13444"); sc_trace(mVcdFile, ap_NS_fsm, "ap_NS_fsm"); #endif } } Sobel_conv3x3_tile_strm107::~Sobel_conv3x3_tile_strm107() { if (mVcdFile) sc_close_vcd_trace_file(mVcdFile); delete linebuf_0_pixel_U; delete linebuf_1_pixel_U; } }
21a7a196ff0257f5cde3ba4276a68ccdd7184c02
30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a
/contest/1542588497.cpp
6c457bc22f3ef593cde0337605d5a6415c893e17
[]
no_license
thegamer1907/Code_Analysis
0a2bb97a9fb5faf01d983c223d9715eb419b7519
48079e399321b585efc8a2c6a84c25e2e7a22a61
refs/heads/master
2020-05-27T01:20:55.921937
2019-11-20T11:15:11
2019-11-20T11:15:11
188,403,594
2
1
null
null
null
null
UTF-8
C++
false
false
1,252
cpp
#include<iostream> #include<vector> using namespace std ; int main () { string s; cin>>s; int n; cin>>n; vector<string>v; for(int i=0;i<n;i++) { string str; cin>>str; v.push_back(str); } int flag=0; for(int i=0;i<n;i++) { if(v[i][0]==s[0]&&v[i][1]==s[1]) { flag=1; } if(v[i][1]==s[0]&&v[i][0]==s[1]) { flag=1; } } if(flag==1) { cout<<"YES"; return 0 ; } int flag1=0; int flag3=0; for(int i=0;i<v.size();i++) { /* if(v[i][0]==s[0]) { flag1=1; }*/ if(v[i][1]==s[0]) { flag1=1; } } int flag2=0; int flag4=0; for(int i=0;i<v.size();i++) { if(v[i][0]==s[1]) { flag2=1; } /* if(v[i][1]==s[1]) { flag4=1; }*/ } if(flag1==1&&flag2==1) { cout<<"YES"; return 0 ; } cout<<"NO"; return 0 ; }
440ff419fdc0802a47c197f1643e164079735c8c
f86208bd12cd70f7909d65eba51180fe2ef6a669
/src/proofreadDoc.cpp
43b4c81c9e3956a9e561eda0207108026258ddda
[]
no_license
BeNhNp/CallOCRDLLDemo
936b284847148221fa8472d3917f08940aab6421
6c056ad53f4e8a5d1b30cba226de4653538bf169
refs/heads/master
2023-04-04T09:34:07.624694
2021-04-18T04:24:32
2021-04-18T04:24:32
359,038,708
0
0
null
null
null
null
UTF-8
C++
false
false
2,363
cpp
#include "stdafx.h" #include "stringPath.h" #include "convert2TXT.h" #include "proofreadDoc.h" bool OCRProof::parseImage2TXT(const char * path) { std::stringstream s; sPath f(path); sPath res(this->dir.c_str(), f.getname().c_str(), "txt"); bool flag = res.isExist(); if(flag) { this->output.push_back(res.c_str()); return flag; } std::string out; if(this->dir.empty()) out = f.getdir(); else { out = dir; char ch = out[out.size() - 1]; if(ch == '\\' || ch == '/') out = out.substr(0, out.size() - 1); } s << "\"" << path << "\" \"" << out << '\\' << f.getname() << '\"' << " --tessdata-dir \"" << this->exePath << "\" -l tessdata/chi_sim"; sPath exe(this->exePath.c_str(), "tesseract", "exe"); if(!exe.isExist()) return false; excute(exe.c_str(), s.str().c_str()); flag = res.isExist(); if(flag) this->output.push_back(res.c_str()); return flag; } #include <fstream> #include <codecvt> bool OCRProof::combineAll(const char * path, bool isRemove) { std::wofstream ofs(path); ofs.imbue(std::locale(std::locale::empty(), new std::codecvt_utf8<wchar_t>)); //std::ifstream ifile; std::wifstream ifs; ifs.imbue(std::locale(std::locale::empty(), new std::codecvt_utf8<wchar_t>)); typedef std::istreambuf_iterator<wchar_t> iter_type; iter_type end; iter_type begin; std::wstring data; wchar_t ch; for(auto& i : output) { ifs.open(i); begin = ifs; if (*begin == 0xfeff) ++begin;// ++ to skip the BOM //data.assign(begin, end); for(;begin != end;begin++) { if(iswspace(*begin)) continue; data += *begin; break; } for(;begin != end;begin++) { ch = *data.rbegin(); if(*begin == '\n') { if(ch == '\n') continue; } else if(iswspace(*begin)) if(ch <'A'|| 'Z' < ch&& ch < 'a'|| 'z' < ch ) continue; data += *begin; } ofs << data; ifs.close(); data.clear(); if(isRemove) { remove(i.c_str()); } } ofs.close(); return true; }
6732fe6dac93577c3b3771a35458b3064fc599f8
4f63cf74d091209ce336c61553b400f562c4f169
/firmware/bootloader/src/dfu.cpp
8b412b1959a67ffdfb4eee4edef795f3279d80ac
[]
no_license
abelom/firmware_ME7
0f274843d01c2f318f28c746005f15a47dae4c64
fddae062cad8d4827c43e6e431226b0988f1d669
refs/heads/master
2022-04-27T00:22:40.564306
2020-04-28T22:22:09
2020-04-28T22:22:09
259,839,218
6
1
null
2020-04-29T06:06:25
2020-04-29T06:06:24
null
UTF-8
C++
false
false
8,235
cpp
#include "global.h" #include "hardware.h" #include "efi_gpio.h" #include "flash_int.h" #include "dfu.h" // Communication vars static ts_channel_s blTsChannel; static uint8_t buffer[DFU_BUFFER_SIZE]; // Use short timeout for the first data packet, and normal timeout for the rest static int sr5Timeout = DFU_SR5_TIMEOUT_FIRST; // This big buffer is used for temporary storing of the bootloader flash page static uint8_t bootloaderVirtualPageBuffer[BOOTLOADER_SIZE]; // needed by DFU protocol (DFU_DEVICE_ID_CMD) static uint32_t getMcuRevision() { return DBGMCU->IDCODE & MCU_REVISION_MASK; // =0x413 for F407, =0x434 for F469. } static bool getByte(uint8_t *b) { return sr5ReadDataTimeout(&blTsChannel, b, 1, sr5Timeout) == 1; } static void sendByte(uint8_t b) { sr5WriteData(&blTsChannel, &b, 1); } static uint8_t dfuCalcChecksum(const uint8_t *buf, uint8_t size) { uint8_t checksum = buf[0]; for (uint8_t i = 1; i < size; i++) { checksum ^= buf[i]; } return checksum; } // Used to detect writing of the current flash sector static bool isBootloaderAddress(uint32_t addr) { return addr >= BOOTLOADER_ADDR && addr < (BOOTLOADER_ADDR + BOOTLOADER_SIZE); } static bool isInVirtualPageBuffer(uint32_t addr) { return addr >= (uint32_t)bootloaderVirtualPageBuffer && addr < (uint32_t)bootloaderVirtualPageBuffer + sizeof(bootloaderVirtualPageBuffer); } // Read 32-bit address and 8-bit checksum. // Returns true if all 5 bytes are received and checksum is correct, and false otherwise. static bool readAddress(uint32_t *addr) { uint8_t buf[5]; // 4 bytes+checksum if (sr5ReadDataTimeout(&blTsChannel, buf, 5, sr5Timeout) != 5) return false; if (dfuCalcChecksum(buf, 4) != buf[4]) return false; *addr = (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]; // for bootloader flash, return a virtual buffer instead if (isBootloaderAddress(*addr)) { *addr = (uint32_t)bootloaderVirtualPageBuffer + (*addr - BOOTLOADER_ADDR); } return true; } // needed by DFU protocol to validate received bytes static uint8_t complementByte(uint8_t c) { return c ^ 0xff; } static uint16_t bufToInt16(uint8_t *buf) { return (buf[0] << 8) | buf[1]; } static void prepareInterruptsForJump(void) { #ifdef STM32F4 // interrupt control SCB->ICSR &= ~SCB_ICSR_PENDSVSET_Msk; // set interrupt vectors for(int i = 0; i < 8; i++) NVIC->ICER[i] = NVIC->IABR[i]; __set_CONTROL(0); #else // todo: add support for other MCUs #error "Unsupported MCU configuration!" #endif } // some weird STM32 magic... void dfuJumpToApp(uint32_t addr) { typedef void (*pFunction)(void); // goodbye ChibiOS, we're leaving... chSysDisable(); // get jump addr uint32_t jumpAddress = *((uint32_t *)(addr + 4)); pFunction jump = (pFunction) jumpAddress; prepareInterruptsForJump(); // set stack pointer __set_MSP(*(uint32_t *)addr); // call jump(); // we shouldn't get here chSysHalt("dfuJumpToApp FAIL"); } static void dfuHandleGetList(void) { static const uint8_t cmdsInfo[] = { DFU_VERSION_NUMBER, DFU_GET_LIST_CMD, DFU_DEVICE_ID_CMD, DFU_READ_CMD, DFU_GO_CMD, DFU_WRITE_CMD, DFU_ERASE_CMD }; size_t numBytes = sizeof(cmdsInfo); sendByte(numBytes - 1); // number of commands for (size_t i = 0; i < numBytes; i++) sendByte(cmdsInfo[i]); sendByte(DFU_ACK_BYTE); } static void dfuHandleDeviceId(void) { uint32_t mcuRev = getMcuRevision(); sendByte(0x01); // the number of bytes to be send - 1 // send 12 bit MCU revision sendByte((uint8_t)((mcuRev >> 8) & 0xf)); sendByte((uint8_t)(mcuRev & 0xff)); sendByte(DFU_ACK_BYTE); } static void dfuHandleGo(void) { uint32_t addr; if (!readAddress(&addr)) { sendByte(DFU_NACK_BYTE); return; } // todo: check if the address is valid sendByte(DFU_ACK_BYTE); dfuJumpToApp(addr); } static void dfuHandleRead(void) { uint32_t addr; if (!readAddress(&addr)) { sendByte(DFU_NACK_BYTE); return; } sendByte(DFU_ACK_BYTE); uint8_t byte, complement; if (!getByte(&byte)) return; if (!getByte(&complement)) return; // check if we have a correct byte received if (complement != complementByte(byte)) { sendByte(DFU_NACK_BYTE); return; } int numBytes = (int)byte + 1; sendByte(DFU_ACK_BYTE); // read flash or virtual RAM buffer (don't transmit directly from flash) if (isInVirtualPageBuffer(addr)) memcpy(buffer, (uint8_t *)addr, numBytes); else intFlashRead(addr, (char *)buffer, numBytes); // transmit data sr5WriteData(&blTsChannel, (uint8_t *)buffer, numBytes); } static void dfuHandleWrite(void) { uint32_t addr; if (!readAddress(&addr)) { sendByte(DFU_NACK_BYTE); return; } sendByte(DFU_ACK_BYTE); if (!getByte(buffer)) return; int numBytes = buffer[0] + 1; int numBytesAndChecksum = numBytes + 1; // +1 byte of checkSum // receive data if (sr5ReadDataTimeout(&blTsChannel, buffer + 1, numBytesAndChecksum, sr5Timeout) != numBytesAndChecksum) return; // don't write corrupted data! if (dfuCalcChecksum(buffer, numBytesAndChecksum) != buffer[numBytesAndChecksum]) { sendByte(DFU_NACK_BYTE); return; } // now write to flash (or to the virtual RAM buffer) if (isInVirtualPageBuffer(addr)) memcpy((uint8_t *)addr, (buffer + 1), numBytes); else intFlashWrite(addr, (const char *)(buffer + 1), numBytes); // we're done! sendByte(DFU_ACK_BYTE); } static void dfuHandleErase(void) { int numSectors; if (!getByte(buffer)) return; if (!getByte(buffer + 1)) return; numSectors = bufToInt16(buffer); int numSectorData; if (numSectors == 0xffff) // erase all chip numSectorData = 1; else numSectorData = (numSectors + 1) * 2 + 1; uint8_t *sectorList = buffer + 2; // read sector data & checksum if (sr5ReadDataTimeout(&blTsChannel, sectorList, numSectorData, sr5Timeout) != numSectorData) return; // verify checksum if (dfuCalcChecksum(buffer, 2 + numSectorData - 1) != buffer[2 + numSectorData - 1]) { sendByte(DFU_NACK_BYTE); return; } // Erase the chosen sectors, sector by sector for (int i = 0; i < numSectorData - 1; i += 2) { int sectorIdx = bufToInt16(sectorList + i); if (sectorIdx < BOOTLOADER_NUM_SECTORS) { // skip first sectors where our bootloader is // imitate flash erase by writing '0xff' memset(bootloaderVirtualPageBuffer, 0xff, BOOTLOADER_SIZE); continue; } // erase sector intFlashSectorErase(sectorIdx); } sendByte(DFU_ACK_BYTE); } bool dfuStartLoop(void) { bool wasCommand = false; uint8_t command, complement; sr5Timeout = DFU_SR5_TIMEOUT_FIRST; // We cannot afford waiting for the first handshake byte, so we have to send an answer in advance! sendByte(DFU_ACK_BYTE); // Fill the temporary buffer from the real flash memory memcpy(bootloaderVirtualPageBuffer, (void *)BOOTLOADER_ADDR, BOOTLOADER_SIZE); while (true) { // read command & complement bytes if (!getByte(&command)) { // timeout, but wait more if we're in bootloader mode if (wasCommand) continue; // exit if no data was received break; } if (!getByte(&complement)) { if (wasCommand) { // something is wrong, but keep the connection sendByte(DFU_NACK_BYTE); continue; } break; } // check if we have a correct command received if (complement != complementByte(command)) { sendByte(DFU_NACK_BYTE); continue; } // confirm that we've got the command sendByte(DFU_ACK_BYTE); wasCommand = true; // set normal (longer) timeout, we're not in a hurry anymore sr5Timeout = DFU_SR5_TIMEOUT_NORMAL; // now execute it (see ST appnote "AN3155") switch (command) { case DFU_UART_CHECK: break; case DFU_GET_LIST_CMD: dfuHandleGetList(); break; case DFU_DEVICE_ID_CMD: dfuHandleDeviceId(); break; case DFU_GO_CMD: dfuHandleGo(); break; case DFU_READ_CMD: dfuHandleRead(); break; case DFU_WRITE_CMD: dfuHandleWrite(); break; case DFU_ERASE_CMD: dfuHandleErase(); break; default: break; } /* End switch */ } return wasCommand; } ts_channel_s *getTsChannel() { return &blTsChannel; }
6c8ff1bb367c06c3e4dfd4fc950abd595fa3749d
ecf0bc675b4225da23f1ea36c0eda737912ef8a9
/Reco_Csrc/Engine/Interface/UIImageArray.cpp
edaccf16af3758cce207259789a3d90c47431f73
[]
no_license
Artarex/MysteryV2
6015af1b501ce5b970fdc9f5b28c80a065fbcfed
2fa5608a4e48be36f56339db685ae5530107a520
refs/heads/master
2022-01-04T17:00:05.899039
2019-03-11T19:41:19
2019-03-11T19:41:19
175,065,496
0
0
null
null
null
null
UTF-8
C++
false
false
129
cpp
version https://git-lfs.github.com/spec/v1 oid sha256:1d1268755fab3db02d2f4a2a25e7ae2361edc6ecdcaa4c00f2e3e9ed423ccd99 size 2749
11d319733d98aa60ef72e55d7583327c30744367
feccd0f7d92cece361cc2342132d93f240520cc0
/cpp/5.lab_5/Q1.cpp
ec1c2353d5d1ee59c7fd36c4f658b50db065a9c1
[]
no_license
REGATTE/SEM_6
e4756dcecd1f8c8d53b0f48588e03381728b464c
2a678eb6b6048de2789b19c70b06658097cf159b
refs/heads/master
2023-03-31T23:43:59.675405
2021-04-08T19:22:30
2021-04-08T19:22:30
329,066,941
2
1
null
null
null
null
UTF-8
C++
false
false
1,857
cpp
/* J ashok kumar E18CSE029 EB03 */ #include<iostream> #include<vector> using namespace std; void printArr(vector<vector<int>>, int, int); void printTraversal(vector<vector<int>>, int, int); int main() { int m, n, choice; cout<<"Enter the dimensions (rows, columns): "; cin>>m>>n; vector<vector<int>> base_arr(m, vector<int>(n)); cout<<"\nEnter the elements row wise:\n"; for(int i=0; i<m; i++) { for(int j=0; j<n; j++) { cin>>base_arr[i][j]; } } cout<<"\n"; printArr(base_arr, m, n); // Main Function cout<<"\nTraversal print: "; printTraversal(base_arr, m, n); return 0; } void printArr(vector<vector<int>> arr, int m, int n) { for(int i=0; i<m; i++) { for(int j=0; j<n; j++) { cout<<arr[i][j]<<"\t"; } cout<<endl; } } void printTraversal(vector<vector<int>> arr, int m, int n) { int top = 0, bottom = m - 1; int left = 0, right = n - 1; // High Complexity while (1) { if (left > right) { break; } // print top row for (int i = left; i <= right; i++) { cout << arr[top][i] << " "; } top++; if (top > bottom) { break; } for (int i = top; i <= bottom; i++) { cout << arr[i][right] << " "; } right--; if (left > right) { break; } for (int i = right; i >= left; i--) { cout << arr[bottom][i] << " "; } bottom--; if (top > bottom) { break; } for (int i = bottom; i >= top; i--) { cout << arr[i][left] << " "; } left++; } }
6e97c505af229f1d8f88c32c6dcb2f0391a79c2c
d57a588f74673811151e71e9457c5a56fac85ddd
/c++/718maximumLenOfRepeatedSubArr.cc
6e4f93468c9af5f41e94d3e6d2707aee5a1cc97f
[]
no_license
Acytoo/leetcode
933c5a79140798d8c0ee6d39022561dadd1ce7f7
3a8bfc07465f1bc349b8e5a9f570fd458075de72
refs/heads/master
2022-10-14T20:01:15.131676
2022-09-29T20:17:04
2022-09-29T20:17:04
155,707,667
0
0
null
null
null
null
UTF-8
C++
false
false
875
cc
#include <iostream> #include <vector> #include <string> #include <queue> #include <climits> #include <stack> #include <algorithm> #include <cmath> #include <set> #include <unordered_map> #include <list> #include <unordered_set> #include <map> #include <set> #include <functional> #include <bitset> #include <numeric> using namespace std; static int x = [] () {ios::sync_with_stdio(false); cin.tie(0); return 0;} (); // subarray: consecutive, lcs kind class Solution { public: int findLength(vector<int>& A, vector<int>& B) { int m = A.size(), n = B.size(), res = 0; vector<vector<int>> dp (m+1, vector<int> (n+1, 0)); for (int i=0; i<m; ++i) for (int j=0; j<n; ++j) if (A[i] == B[j]) { dp[i+1][j+1] = dp[i][j] + 1; res = max(res, dp[i+1][j+1]); } return res; } }; int main() { Solution s; return 0; }
20e9e857a9759aaec086e900597e85c97a0b2d2b
46006b538b069b63194e3202a610e5ba280a0333
/Assets/Objects/square.h
84d3d13b20f385b5e699628ba86d435eec5301fb
[]
no_license
weltonbeck/CPP-SDL
cab69f5651d8b69c440f1bc939fd2998f00cf4e5
ae4f6ecd4a6413edae4be31415e927d3cdf14239
refs/heads/master
2023-07-29T08:42:38.845742
2017-06-27T18:48:53
2017-06-27T18:48:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
379
h
class Square: public GameObject { public: VectorSize size; Square () { size = {100,100}; } void Render ( Window my_window ) { SDL_SetRenderDrawColor(my_window.renderer, color.r, color.g, color.b, 255); SDL_Rect obj = {position.x, position.y, size.width, size.height}; SDL_RenderFillRect(my_window.renderer, &obj); SDL_Point center = {255,255}; } };
172036bbafaea7800b4292e7ff7a34423d12acae
a5d8cfe55b77b3cbf04e81c3fb7ebfac28a6283d
/sk/k_primenumber.cpp
36adf18d1a49c4d3df234f5b8f29429284185e8d
[]
no_license
Ywook/algorithm
c8869044189216e0705532d8b4ee3cc9e5cb9263
43d7541bb8497f0bbf14216297b80da249470979
refs/heads/master
2021-05-12T18:50:38.620098
2019-07-15T14:14:25
2019-07-15T14:14:25
117,075,205
0
0
null
null
null
null
UTF-8
C++
false
false
1,293
cpp
#include<iostream> #include<cstdio> #include<vector> using namespace std; int main(){ int k, i, j; scanf("%d", &k); vector<int> prime(800004,0); vector<int> ans; for(i = 2; ans.size() < k; i++){ if(!prime[i]){ for(j = i*i; j < 8000000; j+=i){ prime[j]=1; } } } } // #include<iostream> // #include<cstdio> // #include<cstring> // #include<cmath> // using namespace std; // int primenumber(int *dp, int k){ // if(dp[k]) return dp[k]; // else{ // int n, flag; // if(!dp[k-1]){ // dp[k-1] = primenumber(dp, k-1); // } // n = dp[k-1]; // flag = 1; // while(flag){ // n++; flag = 0; // for(int i = 1; i <= sqrt(k); i++){ // if(!(n % dp[i])){ // flag = 1; // break; // } // } // } // return n; // //n은 k-1번째 소수이다. 그리고 나는 k번째 소수를 찾아야한다. // } // } // int main(){ // int k,flag; // int ans = 0; // scanf("%d", &k); // int* dp = new int[k+2]; // memset(dp, 0, sizeof(int) * (k+2)); // dp[1] = 2; // printf("%d\n",primenumber(dp, k)); // }
a512016eff2c582ad79449db7090f5525f833ed1
76a3cb149ade1e84b6f0037061180195265fb31d
/src/brokerlib/message/handler/include/ServiceRegistryRegisterRequestHandler.h
759fb8b1d5c82d7813c840a6f81b044b6d7764da
[ "Apache-2.0", "BSD-3-Clause", "MIT", "BSD-1-Clause", "LicenseRef-scancode-public-domain" ]
permissive
opendxl/opendxl-broker
edf7a58b94bffcc12954044784a577b134ff0e04
41b3d3a0fe8994ff95768e6c266270c9df7ab88d
refs/heads/master
2021-12-30T15:44:00.369452
2021-12-29T11:36:23
2021-12-29T11:36:23
102,151,570
14
26
NOASSERTION
2020-04-09T17:11:27
2017-09-01T20:42:47
C++
UTF-8
C++
false
false
1,280
h
/****************************************************************************** * Copyright (c) 2018 McAfee, LLC - All Rights Reserved. *****************************************************************************/ #ifndef SERVICEREGISTRYREGISTERREQUESTHANDLER_H_ #define SERVICEREGISTRYREGISTERREQUESTHANDLER_H_ #include "core/include/CoreOnStoreMessageHandler.h" namespace dxl { namespace broker { namespace message { namespace handler { /** * Handler for "ServiceRegistryRegister" request messages * * Registration "requests" are sent from DXL clients that are registering services. * Once a broker has received a request, it will in turn send a service registry "event" * to the other brokers. */ class ServiceRegistryRegisterRequestHandler : public dxl::broker::core::CoreOnStoreMessageHandler { public: /** Constructor */ ServiceRegistryRegisterRequestHandler() {} /** Destructor */ virtual ~ServiceRegistryRegisterRequestHandler() {} /** {@inheritDoc} */ bool onStoreMessage( dxl::broker::core::CoreMessageContext* context, struct cert_hashes *certHashes ) const; }; } /* namespace handler */ } /* namespace message */ } /* namespace broker */ } /* namespace dxl */ #endif /* SERVICEREGISTRYREGISTERREQUESTHANDLER_H_ */
b20547560d5fd441c6af6f8d003ea8682dfe3240
6dcc896b27c8e425f30ebaf891fdd5270647cb14
/include/vsg/commands/PipelineBarrier.h
e122e65ce61e65074514140146d5e83dcdaf9b46
[ "MIT" ]
permissive
kallr/VulkanSceneGraph
60f8f3e3b734f019e2449d7434eb44cabf0139a7
1f64f315f4148210604a4282e643a260bb4127c9
refs/heads/master
2022-06-17T21:55:16.569172
2020-05-07T13:53:01
2020-05-07T13:53:01
262,469,895
1
0
null
2020-05-09T02:15:04
2020-05-09T02:15:04
null
UTF-8
C++
false
false
5,786
h
#pragma once /* <editor-fold desc="MIT License"> Copyright(c) 2018 Robert Osfield Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated docoomandscumentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </editor-fold> */ #include <vsg/commands/Command.h> #include <vsg/core/ScratchMemory.h> #include <vsg/vk/Buffer.h> #include <vsg/vk/Image.h> namespace vsg { struct VulkanInfo : public Inherit<Object, VulkanInfo> { ref_ptr<VulkanInfo> next; virtual void* assign(ScratchMemory& buffer) const = 0; }; struct MemoryBarrier : public Inherit<Object, MemoryBarrier> { ref_ptr<VulkanInfo> next; VkAccessFlags srcAccessMask = 0; VkAccessFlags dstAccessMask = 0; void assign(VkMemoryBarrier& info, ScratchMemory& scratchMemory) const; }; struct BufferMemoryBarrier : public Inherit<Object, BufferMemoryBarrier> { ref_ptr<VulkanInfo> next; VkAccessFlags srcAccessMask = 0; VkAccessFlags dstAccessMask = 0; uint32_t srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; // Queue::queueFamilyIndex() or VK_QUEUE_FAMILY_IGNORED uint32_t dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; // Queue::queueFamilyIndex() or VK_QUEUE_FAMILY_IGNORED ref_ptr<Buffer> buffer; VkDeviceSize offset = 0; VkDeviceSize size = 0; void assign(VkBufferMemoryBarrier& info, ScratchMemory& scratchMemory) const; }; struct ImageMemoryBarrier : public Inherit<Object, ImageMemoryBarrier> { ImageMemoryBarrier(VkAccessFlags in_srcAccessMask = 0, VkAccessFlags in_dstAccessMask = 0, VkImageLayout in_oldLayout = VK_IMAGE_LAYOUT_UNDEFINED, VkImageLayout in_newLayout = VK_IMAGE_LAYOUT_UNDEFINED, uint32_t in_srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED, uint32_t in_dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED, ref_ptr<Image> in_image = {}, VkImageSubresourceRange in_subresourceRange = {0, 0, 0, 0, 0}) : srcAccessMask(in_srcAccessMask), dstAccessMask(in_dstAccessMask), oldLayout(in_oldLayout), newLayout(in_newLayout), srcQueueFamilyIndex(in_srcQueueFamilyIndex), dstQueueFamilyIndex(in_dstQueueFamilyIndex), image(in_image), subresourceRange(in_subresourceRange) {} ref_ptr<VulkanInfo> next; VkAccessFlags srcAccessMask = 0; VkAccessFlags dstAccessMask = 0; VkImageLayout oldLayout = VK_IMAGE_LAYOUT_UNDEFINED; VkImageLayout newLayout = VK_IMAGE_LAYOUT_UNDEFINED; uint32_t srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; uint32_t dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; ref_ptr<Image> image; VkImageSubresourceRange subresourceRange = {0, 0, 0, 0, 0}; void assign(VkImageMemoryBarrier& info, ScratchMemory& scratchMemory) const; }; struct SampleLocations : public Inherit<VulkanInfo, SampleLocations> { ref_ptr<VulkanInfo> next; VkSampleCountFlagBits sampleLocationsPerPixel = VK_SAMPLE_COUNT_FLAG_BITS_MAX_ENUM; VkExtent2D sampleLocationGridSize = {0, 0}; std::vector<vec2> sampleLocations; void* assign(ScratchMemory& scratchMemory) const override; }; class VSG_DECLSPEC PipelineBarrier : public Inherit<Command, PipelineBarrier> { public: PipelineBarrier(); template<class T> PipelineBarrier(VkPipelineStageFlags in_srcStageMask, VkPipelineStageFlags in_destStageMask, VkDependencyFlags in_dependencyFlags, T barrier) : srcStageMask(in_srcStageMask), dstStageMask(in_destStageMask), dependencyFlags(in_dependencyFlags) { add(barrier); } void dispatch(CommandBuffer& commandBuffer) const override; void add(ref_ptr<MemoryBarrier> mb) { memoryBarriers.emplace_back(mb); } void add(ref_ptr<BufferMemoryBarrier> bmb) { bufferMemoryBarriers.emplace_back(bmb); } void add(ref_ptr<ImageMemoryBarrier> imb) { imageMemoryBarriers.emplace_back(imb); } using MemoryBarriers = std::vector<ref_ptr<MemoryBarrier>>; using BufferMemoryBarriers = std::vector<ref_ptr<BufferMemoryBarrier>>; using ImageMemoryBarriers = std::vector<ref_ptr<ImageMemoryBarrier>>; VkPipelineStageFlags srcStageMask; VkPipelineStageFlags dstStageMask; VkDependencyFlags dependencyFlags; MemoryBarriers memoryBarriers; BufferMemoryBarriers bufferMemoryBarriers; ImageMemoryBarriers imageMemoryBarriers; protected: virtual ~PipelineBarrier(); }; VSG_type_name(vsg::PipelineBarrier); } // namespace vsg
8c2e186489ce5302e8f5d9cccf968a4b7b5e44e2
0e72bd8f10ff53b212d5b325ccb4a75e3b8ee74a
/BOJ/DynamicProgramming/BJ1904_01타일.cpp
9d6c939701afb850018c5f681f00f24c29297d90
[]
no_license
ky8778/study_algorithm
cd5d5fac55bb7c56c31ffb62148f41c70d41e81e
8b632374adcad024e50c5bb465c704ca7bf52c52
refs/heads/master
2023-08-08T01:27:23.547426
2021-09-28T13:29:28
2021-09-28T13:29:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
471
cpp
//! 2020.03.12 // TODO BJ1904_01타일 #include<cstdio> using namespace std; const int MOD = 15746; const int MAX = 1000050; int DP[MAX]; int N; int getResult(int n){ int& ret = DP[n]; if(ret!=-1) return ret; return ret = (getResult(n-1)+getResult(n-2))%MOD; } void initDP(){ for(int i=0;i<=N;i++) DP[i] = -1; DP[0] = 0; DP[1] = 1; DP[2] = 2; } int main(){ scanf("%d",&N); initDP(); printf("%d\n",getResult(N)); return 0; }
d865a46cd6360efb9ddb0a90e40bf2b76abbdc28
8fb9ae63c6a64d9f0789643405be4282c33c3a1b
/UVA/10171 - Meeting Prof. Miguel..._v1.cpp
7b5dae4a7dd6d669b3284a1fe2fb49883aad9531
[]
no_license
RafikFarhad/Code_is_fun
7c67b4d9c97d7e58ccf822214d1ba4fe51b88ba6
08fd1c53125deaaeb0d6aac8f9c2fd7c76a05e4d
refs/heads/master
2021-07-25T13:32:48.839014
2021-01-10T00:23:34
2021-01-10T00:23:34
46,503,470
0
0
null
null
null
null
UTF-8
C++
false
false
4,924
cpp
/// RAFIK FARHAD /// fb.com/rafikfarhad /// SUST_CSE_13 #include <cstdio> #include <iostream> #include <string> #include <cstring> #include <cmath> #include <ctime> #include <cstdlib> #include <algorithm> #include <new> #include <vector> #include <stack> #include <queue> #include <map> #include <set> #define MAX3(a, b, c) MAX(a , MAX(b,c)) #define MIN3(a, b, c) MIN(a , MIN(b,c)) #define sf scanf #define ssf sscanf #define pb push_back #define PPP system("pause"); #define ppp system("pause"); #define ok cout << "OK" <<endl; #define pf printf #define CLR(a, b) for(int o=0; o<b; o++) a[o] = 0 #define PI 2*acos(0) #define SIZE 100000 using namespace std; template <class T> T MAX(T a, T b) { return a>b?a:b; } template <class T> T MIN(T a, T b) { return a<b?a:b; } template <class T> void MyDebug(T x, T y) { cout << "Debugging: " << x << ", " << y << endl; } template <class T> void MyDebug(T x, T y, T z) { cout << "Debugging: " << x << ", " << y << ", " << z << endl; } int adj[30][30], adj2[30][30]; void F_W_for_Me(int n) { int i, j, k; for(k=0; k<n; k++) for(i=0; i<n; i++) for(j=0; j<n; j++) adj[i][j] = MIN(adj[i][j], adj[i][k]+adj[k][j]); return; } void F_W_for_Prof(int n) { int i, j, k; for(k=0; k<n; k++) for(i=0; i<n; i++) for(j=0; j<n; j++) adj2[i][j] = MIN(adj2[i][j], adj2[i][k]+adj2[k][j]); return; } int main() { // time_t t1=clock(); //freopen("in.txt", "r", stdin); //freopen("out.txt", "w", stdout); #ifndef ONLINE_JUDGE freopen("10171.inp","r",stdin); #endif /// MAIN int i, j, k, l, n, a, b, street, keis=0;; while(sf("%d ", &n)==1 && n ) { char p, q, r, s; street= 0; map <char, int> mp; mp.clear(); map <int, char> mp2; mp2.clear(); for(i=0; i<30; i++) for(j=0; j<30; j++) { adj[i][j] = SIZE; adj2[i][j] = SIZE; } for(j=0; j<30; j++) { adj[j][j] = 0; adj2[j][j] = 0; } for(i=0; i<n; i++) { sf("%c %c %c %c %d ",&p, &q, &r, &s, &b); if(mp.count(r)==0) { mp[r] = street; mp2[street++] = r; } if(mp.count(s)==0) { mp[s] = street; mp2[street++] = s; } if(q=='B') { if(p=='Y') { adj[mp[r]][mp[s]] = MIN(b, adj[mp[r]][mp[s]]); adj[mp[s]][mp[r]] = MIN(b, adj[mp[s]][mp[r]]); } else { adj2[mp[r]][mp[s]] = MIN(b, adj2[mp[r]][mp[s]]); adj2[mp[s]][mp[r]] = MIN(b, adj2[mp[s]][mp[r]]); } } else { if(p=='Y') { adj[mp[r]][mp[s]] = MIN(adj[mp[r]][mp[s]], b); } else { adj2[mp[r]][mp[s]] = MIN(b, adj2[mp[r]][mp[s]]); } } } sf("%c %c ", &p, &q); if(mp.count(p)==0 || mp.count(q)==0) { if(p==q) { pf("0 %c\n", q); continue; } else pf("You will never meet.\n"); continue; } F_W_for_Me(street); F_W_for_Prof(street); int mini = SIZE, pos = 0, start = mp[p], endd = mp[q]; vector <char> lists; lists.clear(); for(i=0; i<street; i++) { if(mini >= adj[start][i]+adj2[endd][i]) { if(mini > adj[start][i]+adj2[endd][i]) { lists.clear(); mini = adj[start][i]+adj2[endd][i]; } lists.pb(mp2[i]); } } if(mini>=SIZE) { pf("You will never meet.\n"); continue; } cout << mini; sort(lists.begin(), lists.end()); for(i=0; i<lists.size(); i++) pf(" %c", lists[i]); cout << endl; /*for(i=0; i<street; i++, cout << endl) for(j=0; j<street; j++) cout << adj[i][j] << "\t"; cout << endl; for(i=0; i<street; i++, cout << endl) for(j=0; j<street; j++) cout << adj2[i][j] << "\t";*/ } /// ENDD // time_t t2=clock(); // cout << " My time: " <<(t2-t1) << endl;; return 0; }
9cacfcca4781d405eb76c97dc289927945c415d4
eb37be6487cb323806d2187fc45eb2a9304420ca
/usu_ja.cpp
672a2c68d9c95de2ee08f0a26a033a7450e57618
[]
no_license
ArturD/code
3ea8edfda4cdb6b1b7964c6af27d2e961e495256
6f070dac1319482d792de2f6b62c0efb17e5bc2a
refs/heads/master
2021-01-19T08:31:22.765973
2012-12-07T11:17:54
2012-12-07T11:17:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,161
cpp
#include <cstdio> #include <vector> #include <algorithm> #include <iostream> using namespace std; const int maxn = 1000005; int n,k; char str[maxn]; char x; int main() { scanf("%d%d", &n, &k); scanf("%s", str); vector<int> stack; int pos = 0; int black = 0; int white = 0; while(stack.size()!=0 || pos<n) { while(black+white < k+1) { stack.push_back(pos); char c = str[pos++]; if(c == 'b') white++; else if(c == 'c') black++; else cerr << "!" << c << endl; } if(black == 1 && white == k) { for(int i=0; i<k+1; i++) { printf("%d ", stack[stack.size()-k-1+i]+1); } for(int i=0; i<k+1; i++) { stack.pop_back(); } white = black = 0; printf("\n"); while(black+white < min(k+1,(int)stack.size())) { char c = str[stack[stack.size()-black-white-1]]; if(c == 'b') white++; else if(c == 'c') black++; else cerr << "!" << c << endl; } } else { char c = str[stack[stack.size()-k-1]]; if(c == 'b') white--; else if(c == 'c') black--; else cerr << "!" << c << endl; } } return 0; }
8f09a9328018c34e60dd8851f0c5f3c99c2761e8
a4567294e572c91e90b1e06a7ca7c134ba939bb6
/tgputtylibcbclass.h
3de1287778a47cda9db9ef325fbd549e9cf0f80f
[ "MIT" ]
permissive
azrael11/TGPuttyLib
fdced372104ddf192e90ba2fda91239b90e03b3e
9d320fb7983ce675c0089bfb45d3564bcaf1bd53
refs/heads/master
2020-12-02T20:02:32.455135
2019-12-28T17:12:16
2019-12-28T17:12:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,361
h
#ifndef tgputtylibcbclassH #define tgputtylibcbclassH #define SUPPORTDELPHISTREAMS #include <string> #ifdef SUPPORTDELPHISTREAMS #include <System.Classes.hpp> #endif #include "ctgputtylib.h" #define cDefaultTimeoutTicks 60000 typedef void (__closure *TOnMessage)(const char *Msg, const bool isstderr); typedef bool (__closure *TOnProgress)(const __int64 bytescopied, const bool isupload); typedef bool (__closure *TOnListing)(const struct fxp_names *names); typedef bool (__closure *TOnGetInput)(char *linebuf,const int maxchars); typedef bool (__closure *TOnVerifyHostKey) (const char * host, const int port, const char * fingerprint, const int verificationstatus, bool &storehostkey); static const int MinimumLibraryBuildNum = 0x1; static const short cDummyClearedErrorCode = short(-1000); // this error code means there was no real error code class TTGPuttySFTPException : public std::runtime_error { public: explicit TTGPuttySFTPException(const std::string what_arg) : std::runtime_error(what_arg) { }; }; class TTGPuttySFTP { public: TTGLibraryContext Fcontext; bool FVerbose; std::string FHostName; std::string FUserName; std::string FPassword; std::string FKeyPassword; int FPort; TOnMessage FOnMessage; TOnProgress FOnProgress; TOnListing FOnListing; TOnGetInput FOnGetInput; TOnVerifyHostKey FOnVerifyHostKey; #ifdef SUPPORTDELPHISTREAMS System::Classes::TStream* FUploadStream; System::Classes::TStream* FDownloadStream; #endif bool FConnected; int FPasswordAttempts; std::string FLastMessages; char *GetHomeDir(); char *GetWorkDir(); void SetVerbose(const bool Value); void SetKeyfile(const char *Value); char *GetLibVersion(); int GetErrorCode(); const char *GetErrorMessage(); int GetTimeoutTicks() { return Fcontext.timeoutticks; } void SetTimeoutTicks(const int Value) { Fcontext.timeoutticks=Value; } int GetConnectionTimeoutTicks() { return Fcontext.connectiontimeoutticks; } void SetConnectionTimeoutTicks(const int Value) { Fcontext.connectiontimeoutticks=Value; } bool GetAborted() { return Fcontext.aborted; } void SetAborted(const bool Value) { Fcontext.aborted=Value; } TTGPuttySFTP(const bool verbose); virtual ~TTGPuttySFTP(); void ClearStatus(); std::string MakePSFTPErrorMsg(const char *where); void Connect(); void Disconnect(); void ChangeDir(const char *ADirectory); void MakeDir(const char *ADirectory); void RemoveDir(const char *ADirectory); void ListDir(const char *ADirectory); void GetStat(const char *AFileName, Tfxp_attrs *Attrs); void SetStat(const char *AFileName, struct fxp_attrs *Attrs); void SetModifiedDate(const char *AFileName, const unsigned long unixtime); void SetFileSize(const char *AFileName, const __int64 ASize); void Move(const char *AFromName, const char *AToName); void Delete_File(const char *AName); void UploadFile(const char *ALocalFilename, const char *ARemoteFilename, const bool anAppend); void DownloadFile(const char *ARemoteFilename, const char *ALocalFilename, const bool anAppend); #ifdef SUPPORTDELPHISTREAMS void UploadStream(const char *ARemoteFilename, System::Classes::TStream* const AStream, const bool anAppend); void DownloadStream(const char *ARemoteFilename, System::Classes::TStream* const AStream, const bool anAppend); #endif void * OpenFile(const char *apathname, const int anopenflags, const Pfxp_attrs attrs); int CloseFile(struct fxp_handle * &fh); void * xfer_upload_init(struct fxp_handle *fh, const unsigned __int64 offset); bool xfer_upload_ready(struct fxp_xfer *xfer); void xfer_upload_data(struct fxp_xfer *xfer, char *buffer, const int len, const unsigned __int64 anoffset); bool xfer_ensuredone(struct fxp_xfer *xfer); bool xfer_done(struct fxp_xfer *xfer); void xfer_cleanup(struct fxp_xfer *xfer); __property std::string HostName = {read=FHostName, write=FHostName}; __property std::string UserName = {read=FUserName, write=FUserName}; __property int Port = {read=FPort, write=FPort}; __property std::string Password = {read=FPassword, write=FPassword}; __property std::string KeyPassword = {read=FKeyPassword, write=FKeyPassword}; __property char *HomeDir = {read=GetHomeDir}; __property char *WorkDir = {read=GetWorkDir}; __property char *LibVersion = {read=GetLibVersion}; __property bool Connected = {read=FConnected}; __property bool Verbose = {read=FVerbose, write=SetVerbose}; __property char *Keyfile = {write=SetKeyfile}; __property std::string LastMessages = {read=FLastMessages, write=FLastMessages}; __property int ErrorCode = {read=GetErrorCode}; __property const char *ErrorMessage = {read=GetErrorMessage}; __property int TimeoutTicks = {read=GetTimeoutTicks, write=SetTimeoutTicks}; __property int ConnectionTimeoutTicks = {read=GetConnectionTimeoutTicks, write=SetConnectionTimeoutTicks}; __property bool Aborted = {read=GetAborted, write=SetAborted}; __property TOnMessage OnMessage = {read=FOnMessage, write=FOnMessage}; __property TOnProgress OnProgress = {read=FOnProgress, write=FOnProgress}; __property TOnListing OnListing = {read=FOnListing, write=FOnListing}; __property TOnGetInput OnGetInput = {read=FOnGetInput, write=FOnGetInput}; __property TOnVerifyHostKey OnVerifyHostKey = {read=FOnVerifyHostKey, write=FOnVerifyHostKey}; }; #endif
e02a09a0a2e4269b9805b7e3389e293520f938f3
083ed0f72ab726d3f0ec64c2fc03c125a384c551
/PlayState.cpp
bf12d5aab411a598e5660a16730df5886d50b414
[]
no_license
simplerr/Project-Thrust
918bfbab8c280369c0ea3f31c35e03f60fd687a1
28689cfea5e010b71d4c9a5eec3ea142ca24f471
refs/heads/master
2021-01-18T09:51:10.222314
2011-12-01T19:17:49
2011-12-01T19:17:49
2,698,286
0
0
null
null
null
null
UTF-8
C++
false
false
1,698
cpp
#include "PlayState.h" #include "Graphics.h" #include "Level.h" #include "Object.h" #include "Player.h" #include "Loots.h" #include "Enemy.h" #include "DirectInput.h" #include "ObjectData.h" #include "RangedWeapon.h" PlayState::PlayState() { // Create the level mLevel = new Level(); // Load background texture mBkgdTexture = gGraphics->loadTexture("imgs\\bkgd.bmp"); // Create the player and add it to the level mPlayer = new Player(600, 200, 35, 70); mLevel->addObject(mPlayer); mPlayer->init(); // Create the ground Object* object = new Object(600, 750, 1200, 100); object->getBody()->SetMass(0); mLevel->addObject(object); // Temporary test object object = new Object(800, 600, 100, 500); object->getBody()->SetMass(0); mLevel->addObject(object); object = new Object(300, 300, 100, 100); object->setSimulate(false); mLevel->addObject(object); SwordLoot* loot = new SwordLoot(400, 300, 50, 50); mLevel->addObject(loot); //SwordLoot* loot1 = new SwordLoot(600, 300, 50, 50); //mLevel->addObject(loot1); //FistLoot* fistLoot = new FistLoot(200, 200, 50, 50); //mLevel->addObject(fistLoot); //RocketLoot* rocketLoot = new RocketLoot(500, 300, 50, 50); //mLevel->addObject(rocketLoot); //Enemy* enemy = new Enemy(300, 200, 32, 64); //enemy->setMaxDistance(100.0f); //enemy->setSpeed(0); //mLevel->addObject(enemy); } PlayState::~PlayState() { delete mLevel; ReleaseCOM(mBkgdTexture); } void PlayState::update(float dt) { // Update all the objects in the level mLevel->update(dt); } void PlayState::draw() { // Draw the background gGraphics->drawTexture(mBkgdTexture, 600, 400, 1200, 800); // Draw all the objects in the level mLevel->draw(); }
2af99c0b3e0ec8ea6bc85e97fb3115f495468344
0f054d3440d94f27bc61c2b69c46d250fd1400a8
/cppp/designPatterns/other/ex2.5/InterpreterMain.cpp
44fd36589e69daf5767026dd576a27f416b7d50b
[]
no_license
Tomerder/Cpp
db73f34e58ff36e145af619f03c2f4d19d44dc5d
18bfef5a571a74ea44e480bd085b4b789839f90d
refs/heads/master
2020-04-13T21:37:06.400580
2018-12-29T02:35:50
2018-12-29T02:35:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
864
cpp
/*************************************************************************** Author: Stav Ofer Creation date: 2013-11-07 Last modified date: 2013-11-07 Description: convert decimal number to roman numerals ****************************************************************************/ #include <string> #include <iostream> #include "Interpreter.h" using namespace std; int main() { Dec2Roman_t inter; int number; string result; cout << endl << "Enter a number between 1 and 3999, -1 to exit: "; cin >> number; while( number != -1 ) { try { result = inter.interpret(number); cout << "In roman numerals: " << result << endl; inter.Clean(); } catch(const char* excep) { cout << excep << endl; } cout << endl << "Enter a number between 1 and 3999, -1 to exit: "; cin >> number; } return 0; }
5f07814f5275185a6bfcbe181667b9dd90bcd822
53d94215d42c7433295ec6a5638950f10859151d
/sdaver/CSU_VVL-1.0-Linux/src/csu/vvl/framework/vvl_logmanager.h
81948aa4487bc0faa736bf92d4ca9da216a8183a
[]
no_license
pedromateo/sdaver_qtlua_v2
d8f7cd4ed6fa7f6cd528e2848cfd5338328114d4
81f719f1cc34edeb625cdf473806b774712bc4fa
refs/heads/master
2016-09-05T12:32:29.287095
2015-01-28T10:41:50
2015-01-28T10:41:50
16,796,732
1
1
null
null
null
null
UTF-8
C++
false
false
2,066
h
// -*- mode: c++; c-basic-offset: 4; c-basic-style: bsd; -*- /* * This program is free software; you can redistribute it and/or * modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 3.0 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * * This file is part of the Aspect-Oriented GUI Verification Library, * http://sourceforge.net/projects/guiverification/ * */ #ifndef VVL_LOGMANAGER_H #define VVL_LOGMANAGER_H //log #include <csu/vvl/config/log_config_internal.h> #include "vvl_forward.h" #include <boost/ptr_container/ptr_set.hpp> namespace csu { namespace vvl { namespace framework { #include <csu/base/log/log.hpp> /// /// LogManager class /// class LogManager { public: /// /// Constructor /// @param context is the verification context /// LogManager(VerificationContextPtr context); virtual ~LogManager(); /// /// installation methods /// void install(); void uninstall(); /// /// adds a new entry in the log /// std::string doLog(const VerificationResult&); protected: /// /// prints the result in all the log outputs /// void dispatchResult(const std::string& r); private: /// verification context VerificationContextPtr context_; /// log object csu::base::log::logger<true> log_; /// log files streams typedef boost::ptr_set<std::ofstream> StreamSet; StreamSet files_; }; } //framework } //validation } //csu #endif // VVL_LOGMANAGER_H
037648353fae8cc6ebe9f0075bc1f8a9f8c7d65b
b4e0f37e232289f5a80e3b8a72938e04182af484
/class/PlanetGeoDataManager.h
237694a40b9ec9bff813a02364cc181ce4f26c4f
[]
no_license
moto2002/VulkanLearn
6fb8d665bbfea270aced4a49f50fb4f4ab788f9b
d9043155f6ae9e24e444dfcd6825cee8450e2576
refs/heads/master
2021-04-23T22:31:32.627663
2020-03-10T10:54:03
2020-03-10T10:54:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
570
h
#pragma once #include "../common/Singleton.h" #include "FrameEventListener.h" #include "PerFrameData.h" class PlanetGeoDataManager : public Singleton<PlanetGeoDataManager>, public IFrameEventListener { public: bool Init(); public: void* AcquireDataPtr(uint32_t& offsetInBytes) const; void FinishDataUpdate(uint32_t size); std::shared_ptr<PerFrameBuffer> GetPerFrameBuffer() const; public: void OnFrameBegin() override; void OnFrameEnd() override; private: std::shared_ptr<PerFrameData::PerFrameDataKey> m_pBufferKey; uint32_t m_updatedSize = 0; };
2a44b7cdd5cedc01f638a8b666a71dbc7cd006a3
67190b7bbe8d4e02226a965ea30f5cf1a474ad4f
/scann/scann/utils/top_n_amortized_constant.cc
354cd7a226caeab254fd6e74d3cce7d564304d93
[ "Apache-2.0" ]
permissive
stephenwithav/google-research
2d93a309ac4a8b2da114b77b85017898f3315132
634cff370097bea43645ac2107b7f841df551e40
refs/heads/master
2022-10-28T14:14:41.663731
2020-06-11T22:47:43
2020-06-11T22:54:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,888
cc
// Copyright 2020 The Google Research Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #include "scann/utils/top_n_amortized_constant.h" #include "absl/flags/flag.h" #include "scann/utils/zip_sort.h" ABSL_RETIRED_FLAG(bool, use_branch_optimized_top_n, , ); namespace tensorflow { namespace scann_ops { template <typename Distance> void TopNeighbors<Distance>::PartitionElements(vector<Neighbor>* elements, const DistanceComparator& cmp) { ZipNthElementBranchOptimized(DistanceComparatorBranchOptimized(), this->limit() - 1, elements->begin(), elements->end()); } SCANN_INSTANTIATE_TYPED_CLASS(, TopNeighbors); } // namespace scann_ops } // namespace tensorflow
166db2bec4fe3ec6144d1648b25827813723e59f
d8a567f9e1b0d5180738403bd6ff7cf75e863958
/semester`1/lab9_class2/vector.cpp
48432279c38621942ea47d4dd7a782a55617bf23
[]
no_license
AnastasySh/lab_351
7dac812d2479ce1f15cc955e67a2bf6abd64e515
de85971a0b812db2ce004059190087ad0877a4de
refs/heads/master
2020-03-30T08:22:01.865318
2019-05-22T09:51:01
2019-05-22T09:51:01
151,009,456
0
0
null
null
null
null
UTF-8
C++
false
false
490
cpp
#include "pch.h" #include <iostream> #include "matr.h" #include "vector.h" double vector::scalMultVector(vector vec2) { if (size == vec2.size) { double sum = 0; for (int i = 0; i < size; i++) { sum += vec[i] * vec2.vec[i]; } return sum; } else { std::cout << "Error!"; return -1; } } double vector::getElem(int n) { if (n < 10 && n > -1) { return vec[n]; } return -1; } void vector::vecMult(double k) { for (int i = 0; i < size; i++) { vec[i] *= k; } }
[ "”[email protected]”" ]
2e95e0ee8c9f6163a9632c171b61bd17d42a28b6
b6f96b20153bf1e222c2524fea5a2dfe3c2f69a6
/homework/c++上机作业08 继承与派生/Homework_2/person.hpp
9884901200e42e49dd250064b7caece246e86bf4
[]
no_license
yyhaos/C-plus-programming-course
3b40b761d2feaac7a8e1f025c09850248bcb19b0
8485983c78128cbf8a3077dba9af952b91f50a03
refs/heads/master
2021-07-19T04:43:21.737628
2020-05-04T18:14:03
2020-05-04T18:14:03
148,308,702
1
0
null
null
null
null
UTF-8
C++
false
false
292
hpp
//#include<iostream> #include<string> #include<string.h> using namespace std; #pragma once class Person { private: string name; int age; public: Person(string Name=" ",int Age=0); void SetName(string Name); string GetName(); void SetAge(int Age); int GetAge(); };
d2a6e6d4912b99dbb6ff5e6b6709e66572e16b83
4462523fee9795edc3edab7fd77c36c3bd4e6161
/lockqueue/gate/accept_socket.h
4a48cceedb9b2b4c727767428ba521e8d13a436c
[]
no_license
benny5609/myTest
4258f9ca584fcac4c6437def850cc8257b522ec1
3d13f926e5502ca1c27119b61ec08f1fe05d80f6
refs/heads/master
2021-01-10T18:58:39.255662
2012-06-26T17:21:39
2012-06-26T17:21:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,504
h
#ifndef _ACCEPT_SOCKET_H_ #define _ACCEPT_SOCKET_H_ #include "common.h" static int num = 0; class AcceptSocket { public: int init() { WSAData data; WSAStartup(MAKEWORD(2,2), &data); int r = 0; r = init_client(); if (r < 0) { if (client_socket_ != INVALID_SOCKET) { closesocket(client_socket_); } WSACleanup(); } r = init_server(); if (r < 0) { if (client_socket_ != INVALID_SOCKET) { closesocket(client_socket_); } if (server_socket_ != INVALID_SOCKET) { closesocket(server_socket_); } WSACleanup(); } ::_beginthread(AcceptSocket::run, 0, this); return 0; } int init_client() { client_socket_ = socket(AF_INET, SOCK_STREAM, 0); if (client_socket_ == INVALID_SOCKET) { return -1; } sockaddr_in addr; addr.sin_family = AF_INET; addr.sin_port = htons(9000); addr.sin_addr.s_addr = ADDR_ANY; if(bind(client_socket_, (SOCKADDR*)(&addr), sizeof(addr)) == SOCKET_ERROR) { return -1; } if(listen(client_socket_, 20) == SOCKET_ERROR) { return -1; } return 0; } int init_server() { server_socket_ = socket(AF_INET, SOCK_STREAM, 0); if (server_socket_ == INVALID_SOCKET) { return -1; } sockaddr_in addr; addr.sin_family = AF_INET; addr.sin_port = htons(9001); addr.sin_addr.s_addr = ADDR_ANY; if(bind(server_socket_, (SOCKADDR*)(&addr), sizeof(addr)) == SOCKET_ERROR) { return -1; } if(listen(server_socket_, 20) == SOCKET_ERROR) { return -1; } return 0; } static void run(void* p) { AcceptSocket *as = (AcceptSocket*)p; FD_SET rfd; FD_SET wfd; FD_SET efd; FD_ZERO(&rfd); FD_ZERO(&wfd); FD_ZERO(&efd); while(1) { FD_SET(as->client_socket_,&rfd); FD_SET(as->server_socket_,&rfd); int r = select(0,&rfd, &wfd, &efd, NULL); if (r < 0) { }else if (r == 0) { }else { if (FD_ISSET(as->client_socket_, &rfd)) { SOCKET s = accept(as->client_socket_, NULL, 0); if (s == INVALID_SOCKET) { }else { Packet msg; msg.head_.op = op_new; msg.head_.guid = s; g_clients.push(msg); } }else if (FD_ISSET(as->server_socket_, &rfd)) { SOCKET s = accept(as->server_socket_, NULL, 0); if (s == INVALID_SOCKET) { }else { Packet msg; msg.head_.op = op_new; msg.head_.guid = s; g_server.push(msg); } } } } } SOCKET client_socket_; SOCKET server_socket_; }; extern AcceptSocket g_accept; #endif
acc7eb5237becc785685252eb4aa9a52a0099a1b
5ed896fdd7d362d12bc4eefd1532f34f243ff04d
/binary-auditing-study/4.1/decompile.cpp
2d4fa6fc0e2b6a45677af56421f1cd1f1211c341
[]
no_license
luispaulomr/binary-auditing-study
e81ef7ba0eb220436b64a128ce1d9b1c3ac3723c
eaed9bc8dd9a176d083b15b2a4f9f05e1ada3131
refs/heads/main
2023-02-13T10:05:30.039681
2021-01-19T15:09:35
2021-01-19T15:09:35
325,395,174
0
0
null
null
null
null
UTF-8
C++
false
false
1,475
cpp
#include <iostream> /* * mov edx, Var1 * mov ecx, Var2 * mov eax, edx * imul ecx * mov edx, eax * imul edx, eax * mov Var3, ecx */ /* * Mnemonic: IMUL r/m32 * Description: EDX:EAX EAX * r/m doubleword * * Performs a signed multiplication of two operands. * This instruction has three forms, depending on the number of operands. * * One-operand form. This form is identical to that used by the MUL instruction. * Here, the source operand (in a general-purpose register or memory location) is * multiplied by the value in the AL, AX, or EAX register (depending on the operand size) * and the product is stored in the AX, DX:AX, or EDX:EAX registers, respectively. * * Mnemonic: IMUL r32, r/m32 * Description: doubleword register doubleword register * r/m doubleword * * Two-operand form. With this form the destination operand (the first operand) * is multiplied by the source operand (second operand). The destination operand is * a general-purpose register and the source operand is an immediate value, * a general-purpose register, or a memory location. * The product is then stored in the destination operand location. */ int main(int argc, char* argv[]) { /* * mov edx, Var1 * mov ecx, Var2 * mov eax, edx * imul ecx * mov edx, eax -> this is rubish * imul edx, eax -> this is rubish * mov Var3, ecx */ int Var1; int Var2; std::cin >> Var1; std::cin >> Var2; int Var3 = Var1 * Var2; std::cout << "Var3: " << Var3 << "\n"; return 0; }
04a9ef1fc825fd2c43754b6a665882523baca7d3
e4e40c0e3c64cac84aaa8626411d2d1585f54497
/libkkplayer/libkkplayer.cpp
79404fcb0c4c38fdb39ec3ae8718e43aa0a75125
[ "MIT" ]
permissive
cnsuhao/KKPlayer
b1dcb177c5108c647d8a5847c087ed6d42441133
9ec14fac150c9e3af45e05fde1750e7bdf0fc099
refs/heads/master
2021-09-03T03:54:57.067807
2017-12-24T14:48:23
2017-12-24T14:48:23
null
0
0
null
null
null
null
GB18030
C++
false
false
3,546
cpp
// libkkplayer.cpp : 定义 DLL 应用程序的导出函数。 // #include "../KKPlayer/stdafx.h" #include "../KKPlayer/MainFrm.h" CreateRender pfnCreateRender=NULL; DelRender pfnDelRender=NULL; fpKKPlayerGetUrl pfpGetUrl=NULL; //// void Init(){ if(pfnCreateRender==NULL || pfnDelRender==NULL){ HMODULE hRender = LoadLibraryA("Render.dll"); if(hRender){ pfnCreateRender = (CreateRender)GetProcAddress(hRender, "CreateRender"); pfnDelRender = (DelRender)GetProcAddress(hRender, "DelRender"); } } } extern "C"{ ///创建一个带窗口的播放器 void __declspec(dllexport) *CreateKKPlayer(HWND h,RECT Rt,DWORD style,HWND *OutHwnd,bool yuv420) { Init(); RECT rt={0,100,200,300}; //WS_CHILDWINDOW| WS_CLIPCHILDREN CMainFrame *m_pVideoWnd = new CMainFrame(yuv420,true); if(m_pVideoWnd->CreateEx(h,Rt, style) == NULL){ return 0; } *OutHwnd=m_pVideoWnd->m_hWnd; return m_pVideoWnd; } ///创建一个无窗口的播放器 void __declspec(dllexport) *CreateDuiKKPlayer(HWND hAudio,fpRenderImgCall fp,void *RenderUserData) { Init(); RECT rt={0,100,200,300}; CMainFrame *m_pVideoWnd = new CMainFrame(false,true); m_pVideoWnd->SetDuiDraw(hAudio,fp,RenderUserData); return m_pVideoWnd; } //typedef void (*) (kkAVPicRAWInfo* data,void* UserData); ///创建一个无窗口的播放器 void __declspec(dllexport) *CreateDuiRawKKPlayer(HWND hAudio,fpRenderImgCall fp,void *RenderUserData,int imgType) { Init(); RECT rt={0,100,200,300}; CMainFrame *m_pVideoWnd = new CMainFrame(false,true); m_pVideoWnd->SetDuiDraw(hAudio,fp,RenderUserData,true); return m_pVideoWnd; } ///建议已100ms调用 void __declspec(dllexport) RefreshDuiKKPlayer(void* player) { IKKPlayUI *Player = static_cast<CMainFrame *>(player); if(Player!=NULL){ Player->AVRender(); } } void __declspec(dllexport) KKSetErrNotify(void* player,fpKKPlayerErrNotify noti,void* UserData) { CMainFrame *Player = static_cast<CMainFrame *>(player); if(Player!=NULL){ Player-> SetErrNotify(UserData,noti); } } void __declspec(dllexport) KKDuiOnSize(void* player,int w,int h) { CMainFrame *Player = static_cast<CMainFrame *>(player); if(Player!=NULL){ BOOL hhh=false; Player->OnSize(0,w,h,hhh); } } void __declspec(dllexport) SetMaxRealtimeDelay(void* player,double Delay) { CMainFrame *Player = static_cast<CMainFrame *>(player); if(Player!=NULL){ Player->SetMaxRealtimeDelay(Delay); } } int __declspec(dllexport) KKOpenMedia(void* player,const char* url,const char* cmd) { CMainFrame *Player = static_cast<CMainFrame *>(player); if(Player!=NULL) { return Player->OpenMedia(url,cmd); } return -2; } void __declspec(dllexport) KKCloseMedia(void* player) { CMainFrame *Player = static_cast<CMainFrame *>(player); if(Player!=NULL){ Player->CloseMedia(); } } void __declspec(dllexport) KKSetVolume(void* player,int volume,bool tip) { CMainFrame *Player = static_cast<CMainFrame *>(player); if(Player!=NULL){ Player->SetVolume(volume,tip); } } void __declspec(dllexport) KKDelPlayer(void* player,bool dui) { CMainFrame *Player = static_cast<CMainFrame *>(player); if(Player!=NULL){ if(dui){ Player->m_hWnd=0; delete Player; }else{ if(::IsWindow(Player->m_hWnd)) ::SendMessage(Player->m_hWnd,WM_CLOSE,0,0); } // } } }
9ea1fe565be84bc79ea830e692167ce70e81bcd0
bafebd819dc61340916c8243905cc7be6ec1058a
/AfxHookSource/csgo/ClientToolsCsgo.h
edd6b3e338847f4446eeb329fb3f1bb6db84cd12
[ "MIT" ]
permissive
iqhl/advancedfx
55ab65ae03c43924c41392a57ad3285ffe648b37
e5286ceb09710b74e5fc1dad13b69db5c30b934f
refs/heads/master
2021-05-09T22:34:13.655545
2018-01-22T17:49:25
2018-01-22T17:49:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,130
h
#pragma once #include "../ClientTools.h" class CClientToolsCsgo : public CClientTools { public: static inline CClientToolsCsgo * Instance(void) { return m_Instance; } CClientToolsCsgo(SOURCESDK::CSGO::IClientTools * clientTools); virtual ~CClientToolsCsgo(); virtual void OnPostToolMessage(void * hEntity, void * msg); virtual void OnBeforeFrameRenderStart(void); virtual void OnAfterFrameRenderEnd(void); virtual void StartRecording(wchar_t const * fileName); virtual void EndRecording(); void DebugEntIndex(int index); protected: virtual float ScaleFov(int width, int height, float fov); using CClientTools::Write; private: static CClientToolsCsgo * m_Instance; SOURCESDK::CSGO::IClientTools * m_ClientTools; std::map<SOURCESDK::CSGO::HTOOLHANDLE, bool> m_TrackedHandles; void Write(SOURCESDK::CSGO::CBoneList const * value); void OnPostToolMessageCsgo(SOURCESDK::CSGO::HTOOLHANDLE hEntity, SOURCESDK::CSGO::KeyValues * msg); bool IsViewmodel(SOURCESDK::CSGO::HTOOLHANDLE hEntity); void DebugEntity(SOURCESDK::CSGO::HTOOLHANDLE hEntity); };
e9a798f8fd3082257cdb4e80e0a17cf29d5f90e2
801f7ed77fb05b1a19df738ad7903c3e3b302692
/refactoringOptimisation/differentiatedCAD/occt-min-topo-src/src/StepBasic/StepBasic_DerivedUnit.hxx
094bce9bb8aaefaa173a9022d709b75d67d9f36a
[]
no_license
salvAuri/optimisationRefactoring
9507bdb837cabe10099d9481bb10a7e65331aa9d
e39e19da548cb5b9c0885753fe2e3a306632d2ba
refs/heads/master
2021-01-20T03:47:54.825311
2017-04-27T11:31:24
2017-04-27T11:31:24
89,588,404
0
1
null
null
null
null
UTF-8
C++
false
false
1,928
hxx
// Created on: 1997-03-26 // Created by: Christian CAILLET // Copyright (c) 1997-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _StepBasic_DerivedUnit_HeaderFile #define _StepBasic_DerivedUnit_HeaderFile #include <Standard.hxx> #include <Standard_Type.hxx> #include <StepBasic_HArray1OfDerivedUnitElement.hxx> #include <MMgt_TShared.hxx> #include <Standard_Integer.hxx> class StepBasic_DerivedUnitElement; class StepBasic_DerivedUnit; DEFINE_STANDARD_HANDLE(StepBasic_DerivedUnit, MMgt_TShared) //! Added from StepBasic Rev2 to Rev4 class StepBasic_DerivedUnit : public MMgt_TShared { public: Standard_EXPORT StepBasic_DerivedUnit(); Standard_EXPORT void Init (const Handle(StepBasic_HArray1OfDerivedUnitElement)& elements); Standard_EXPORT void SetElements (const Handle(StepBasic_HArray1OfDerivedUnitElement)& elements); Standard_EXPORT Handle(StepBasic_HArray1OfDerivedUnitElement) Elements() const; Standard_EXPORT Standard_Integer NbElements() const; Standard_EXPORT Handle(StepBasic_DerivedUnitElement) ElementsValue (const Standard_Integer num) const; DEFINE_STANDARD_RTTI(StepBasic_DerivedUnit,MMgt_TShared) protected: private: Handle(StepBasic_HArray1OfDerivedUnitElement) theElements; }; #endif // _StepBasic_DerivedUnit_HeaderFile
a4cbaea6bf770770665692784c690ba9f5b2f567
323788cf746237167c70f38117d3fbd26e92c041
/sandbox/korzinek/src/featbin/extract-rows.cc
cec8fc1c70c88beb050b9b030d7f33a46c6d1e49
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
zweiein/kaldi
3cfc5d1fc66c1ca32c74f71171d4af2e2512f15c
708448c693272af0d68c8e178c7b4ff836125acf
refs/heads/master
2020-12-26T00:45:36.907011
2015-10-23T21:17:02
2015-10-23T21:17:02
46,313,562
0
1
null
2015-11-17T00:57:57
2015-11-17T00:57:57
null
UTF-8
C++
false
false
4,764
cc
// featbin/extract-rows.cc // Copyright 2013 Korbinian Riedhammer // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, // MERCHANTABLITY OR NON-INFRINGEMENT. // See the Apache 2 License for the specific language governing permissions and // limitations under the License. #include "base/kaldi-common.h" #include "util/common-utils.h" #include "matrix/kaldi-matrix.h" int main(int argc, char *argv[]) { try { using namespace kaldi; using namespace std; const char *usage = "Extract certain row ranges of matrices. This is most useful to extract segments\n" "segments from feature files, for example to modify segmentations or to extract features\n" "corresponding to certain alignments. The program expects a segments file in the\n" "form of\n" " segment-name utterance-id start end\n" "where the segment-name is chosen by the user and utterance-id indexes the input matrices.\n" "By default, 'start' and 'end' are row numbers (zero-based), but if you specify the --frame-shift\n" "option (e.g. --frame-shift=0.01), then they represent a time in seconds, which are converted\n" "to integers by dividing by frame-shift.\n" " e.g. extract-rows --frame-shift=0.01 segments ark:feats-in.ark ark:feats-out.ark\n"; ParseOptions po(usage); float frame_shift = 0; po.Register("frame-shift", &frame_shift, "Frame shift in sec (e.g. 0.01), if segment files contains times " "instead of frames"); po.Read(argc, argv); if (po.NumArgs() != 3) { po.PrintUsage(); exit(1); } string segment_rspecifier = po.GetArg(1); string feat_rspecifier = po.GetArg(2); string feat_wspecifier = po.GetArg(3); Input ki(segment_rspecifier); RandomAccessBaseFloatMatrixReader reader(feat_rspecifier); BaseFloatMatrixWriter writer(feat_wspecifier); int32 num_lines = 0, num_missing = 0; string line; /* read each line from segments file */ while (std::getline(ki.Stream(), line)) { num_lines++; vector<string> split_line; SplitStringToVector(line, " \t\r", true, &split_line); if (split_line.size() != 4) { KALDI_WARN << "Invalid line in segments file: " << line; continue; } string segment = split_line[0], utt = split_line[1], start_str = split_line[2], end_str = split_line[3]; // if the segments are in time, we need to convert them to frame numbers int32 start = 0; int32 end = 0; if (frame_shift > 0) { // Convert the start time and endtime to real from string. Segment is // ignored if start or end time cannot be converted to real. double t1, t2; if (!ConvertStringToReal(start_str, &t1)) { KALDI_ERR << "Invalid line in segments file [bad start]: " << line; continue; } if (!ConvertStringToReal(end_str, &t2)) { KALDI_ERR << "Invalid line in segments file [bad end]: " << line; continue; } start = (int) (t1 / frame_shift); end = (int) (t2 / frame_shift); } else { if (!ConvertStringToInteger(start_str, &start)) { KALDI_ERR << "Invalid line in segments file [bad start]: " << line; continue; } if (!ConvertStringToInteger(end_str, &end)) { KALDI_ERR << "Invalid line in segments file [bad end]: " << line; continue; } } if (start < 0 || end - start <= 0) { KALDI_WARN << "Invalid line in segments file [less than one frame]: " << line; continue; } if (reader.HasKey(utt)) { Matrix<BaseFloat> feats = reader.Value(utt); if (feats.NumRows() < end) end = feats.NumRows(); Matrix<BaseFloat> to_write(feats.RowRange(start, (end-start))); writer.Write(segment, to_write); } else { KALDI_WARN << "Missing requested utterance " << utt; num_missing += 1; } } KALDI_LOG << "processed " << num_lines << " segments, " << (num_lines - num_missing) << " successful, " << num_missing << " had invalid utterances"; return ((num_lines - num_missing) > 0 ? 0 : 1); } catch(const std::exception &e) { std::cerr << e.what(); return -1; } }
[ "danielpovey@5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8" ]
danielpovey@5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
85827c0487e4aa5fd05d495ba6d28be2b6da86d1
dc61e8c951f9e91930c2edff8a53c32d7a99bb94
/src/qt/editor/processorprogressgraphicsitem.cpp
3e4b440aabf8af23eee7e97123983411cba509f0
[ "BSD-2-Clause" ]
permissive
johti626/inviwo
d4b2766742522d3c8d57c894a60e345ec35beafc
c429a15b972715157b99f3686b05d581d3e89e92
refs/heads/master
2021-01-17T08:14:10.118104
2016-05-25T14:38:33
2016-05-25T14:46:31
31,444,269
2
0
null
2015-02-27T23:45:02
2015-02-27T23:45:01
null
UTF-8
C++
false
false
4,268
cpp
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2014-2015 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * *********************************************************************************/ #include <inviwo/qt/editor/processorprogressgraphicsitem.h> #include <warn/push> #include <warn/ignore/all> #include <QApplication> #include <QPen> #include <QPainter> #include <QBrush> #include <warn/pop> namespace inviwo { ProcessorProgressGraphicsItem::ProcessorProgressGraphicsItem(QGraphicsRectItem* parent, ProgressBar* progressBar) : EditorGraphicsItem(parent), size_(126, 5), progressBar_(progressBar) { setRect(-0.5f * size_.width(), -0.5f * size_.height() + 3, size_.width(), size_.height()); setPos(QPointF(0.0f, 9.0f)); setCacheMode(QGraphicsItem::DeviceCoordinateCache); setVisible(progressBar_->isVisible()); progressBar_->ProgressBarObservable::addObserver(this); } void ProcessorProgressGraphicsItem::paint(QPainter* p, const QStyleOptionGraphicsItem* options, QWidget* widget) { float progress = progressBar_->getProgress(); p->save(); p->setRenderHint(QPainter::Antialiasing, true); QColor progressColor = Qt::lightGray; QRectF progressBarRect = rect(); QLinearGradient progressGrad(progressBarRect.topLeft(), progressBarRect.topRight()); progressGrad.setColorAt(0.0f, progressColor); float left = std::max(0.0f, progress - 0.001f); float right = std::min(1.0f, progress + 0.001f); progressGrad.setColorAt(left, progressColor); progressGrad.setColorAt(right, Qt::black); progressGrad.setColorAt(1.0f, Qt::black); p->setPen(Qt::black); p->setBrush(progressGrad); p->drawRoundedRect(progressBarRect, 2.0, 2.0); QColor shadeColor(128, 128, 128); QLinearGradient shadingGrad(progressBarRect.topLeft(), progressBarRect.bottomLeft()); shadingGrad.setColorAt(0.0f, QColor(static_cast<int>(shadeColor.red() * 0.6), static_cast<int>(shadeColor.green() * 0.6), static_cast<int>(shadeColor.blue() * 0.6), 120)); shadingGrad.setColorAt(0.3f, QColor(shadeColor.red(), shadeColor.green(), shadeColor.blue(), 120)); shadingGrad.setColorAt(1.0f, QColor(shadeColor.red(), shadeColor.green(), shadeColor.blue(), 120)); p->setPen(Qt::NoPen); p->setBrush(shadingGrad); p->drawRoundedRect(progressBarRect, 2.0, 2.0); p->restore(); } void ProcessorProgressGraphicsItem::progressChanged() { // mark item as dirty to force an redraw this->update(); } void ProcessorProgressGraphicsItem::progressBarVisibilityChanged() { setVisible(progressBar_->isVisible()); // mark item as dirty to force an redraw this->update(); } } // namespace
7e842a25bb2fdc463c6921994f4fa066474eb8e8
97aab27d4410969e589ae408b2724d0faa5039e2
/SDK/EXES/INSTALL VISUAL 6 SDK/LEGACY/MSDN/SMPL/SMPL/MSDN/techart/3274/fileview.cpp
b82449a3f9099372f9596c4977d9d8a79b06f03c
[]
no_license
FutureWang123/dreamcast-docs
82e4226cb1915f8772418373d5cb517713f858e2
58027aeb669a80aa783a6d2cdcd2d161fd50d359
refs/heads/master
2021-10-26T00:04:25.414629
2018-08-10T21:20:37
2018-08-10T21:20:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,072
cpp
// fileview.cpp : implementation file // #include "stdafx.h" #include "viewfile.h" #include "viewfdoc.h" #include "pviewdoc.h" #include "fileview.h" #include "headers.h" extern CViewfileApp theApp; #ifdef _DEBUG #undef THIS_FILE static char BASED_CODE THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CFileView IMPLEMENT_DYNCREATE(CFileView, CView) CFileView::CFileView() { } CFileView::~CFileView() { } #define ID_LB 0xd000 BEGIN_MESSAGE_MAP(CFileView, CView) ON_LBN_DBLCLK(ID_LB,OnLBDoubleClicked) //{{AFX_MSG_MAP(CFileView) ON_WM_SIZE() ON_WM_CREATE() ON_WM_DESTROY() //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CFileView diagnostics #ifdef _DEBUG void CFileView::AssertValid() const { CView::AssertValid(); } void CFileView::Dump(CDumpContext& dc) const { CView::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CFileView message handlers void CFileView::OnSize(UINT nType, int cx, int cy) { CView::OnSize(nType, cx, cy); m_LB.SetHorizontalExtent(m_iLongestStringSizeInPixels); if (m_LB.m_hWnd) m_LB.SetWindowPos(NULL,0,0,cx,cy,SWP_NOZORDER); } // helper functions BOOL CFileView::IsMyKindOfFile(BYTE *lpImage) { return FALSE; // hopefully this gets never called... }; int CFileView::FillInSizedString(BYTE *lpTarget, BYTE *lpSource) { BYTE bSize; bSize = *lpSource++; strncpy((char *)lpTarget,(char *)lpSource,bSize); lpTarget[bSize]='\0'; return (int) bSize; } void CFileView::FillInTaggedData(BYTE *lpMem, TAGGEDLISTSTRUCT *lpTemplate) { int iLoop, iMemoryPointer; iMemoryPointer = 0; for (iLoop = 0; iLoop<lpTemplate->iNumberofEntries; iLoop++) { int iValue; switch (lpTemplate->teItem[iLoop].iLength) { case (sizeof(BYTE)): iValue = lpMem[iMemoryPointer]; break; case (sizeof(WORD)): iValue = ((WORD *)&(lpMem[iMemoryPointer]))[0]; break; case (sizeof(int)): iValue = ((int *)&(lpMem[iMemoryPointer]))[0]; break; default:; //we have to come up with something here... }; wsprintf(m_szBuf,lpTemplate->teItem[iLoop].tlString,iValue); AddStringandAdjust(m_szBuf); iMemoryPointer+=lpTemplate->teItem[iLoop].iLength; }; } void CFileView::FillInFlatStructures(PHEADERTEMPLATE pTemplate, unsigned char* pPointers) { BYTE iCurrentSize; AddStringandAdjust(pTemplate->pszHeading); do { iCurrentSize = pPointers[0]; if (!iCurrentSize) break; strncpy(m_szBuf,(const char *)&pPointers[1],iCurrentSize); m_szBuf[iCurrentSize]='\0'; wsprintf(m_szBuf,pTemplate->pszTemplate,m_szBuf,((WORD *)(&pPointers[iCurrentSize+1]))[0]); AddStringandAdjust(m_szBuf); pPointers+=iCurrentSize; pPointers+=sizeof(WORD)+sizeof(BYTE); } while (TRUE); // the break statement bails us out here... }; void CFileView::FillInChainedStructures(int iEntries, PHEADERTEMPLATE pTemplate,WORD *pPointers,unsigned char *pBase) { int iLoop; BYTE *pGoryDetails; AddStringandAdjust(pTemplate->pszHeading); for (iLoop=0;iLoop<iEntries;iLoop++) { pGoryDetails=pBase+pPointers[iLoop]; strncpy(m_szBuf,(const char *)&pGoryDetails[1],pGoryDetails[0]); m_szBuf[pGoryDetails[0]] = '\0'; // this is ugly because here we make an assumption as to how many parameters there // are to the wsprintf call -- let's meditate if there isn't a more generic way to do it... wsprintf(m_szBuf,pTemplate->pszTemplate,m_szBuf); AddStringandAdjust(m_szBuf); }; }; int CFileView::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CView::OnCreate(lpCreateStruct) == -1) return -1; m_LB.Create(LBS_NOINTEGRALHEIGHT|WS_VISIBLE|/*WS_CHILD|*/WS_HSCROLL|WS_VSCROLL|LBS_NOTIFY,CRect(20,20,20,20),this,ID_LB); m_cfFixedFont = new CFont(); m_cfFixedFont->CreateStockObject(ANSI_FIXED_FONT); m_LB.SetFont(m_cfFixedFont); LOGFONT lfCurrentFont; m_cfFixedFont->GetObject(sizeof(LOGFONT),&lfCurrentFont); m_iFontWidth = lfCurrentFont.lfWidth; // should be good enough... m_iLongestStringSizeInPixels = 0; return 0; } void CFileView::ClearWindow() { m_LB.ResetContent(); }; void CFileView::AddStringandAdjust(char *cString) { ComputeNewHorizontalExtent(m_iFontWidth*strlen(cString)); m_LB.AddString(cString); }; void CFileView::OnDestroy() { delete m_cfFixedFont; CView::OnDestroy(); } void CFileView::OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView) { CView::OnActivateView(bActivate, pActivateView, pDeactiveView); if (GetDocument()->IsKindOf(RUNTIME_CLASS(CPViewDoc))) theApp.SetStatusBarText(((CPViewDoc *)GetDocument())->szStatusMessage); else theApp.SetStatusBarText(((CViewfileDoc *)GetDocument())->szStatusMessage); } afx_msg void CFileView::OnLBDoubleClicked() { DispatchDoubleClick(m_LB.GetText(m_LB.GetCurSel(),m_Selection)); }; // just to satisfy the IMPLEMENT_DYNACREATE macro... void CFileView::DispatchDoubleClick(int iVal) { }; void CFileView::OnDraw(CDC* pDC) { }
016471e33a93a9fabf0cdab947c85334686c6f70
a856598c8277b5be7ad4798e0bcf23cde64aebe3
/3rdparty/libtiled/map.h
b339831a7fceebb8248e26de938de13c81cf8efa
[ "BSD-3-Clause", "MIT" ]
permissive
obeezzy/bacon2d-tiledscene
f4f94b8d97a6f0ea8e95b4529fd9e1638bb174f5
619cca8bdb020660806840c27a528bdcbd04db66
refs/heads/master
2020-05-17T11:43:01.707091
2016-01-27T09:25:26
2016-01-27T09:25:26
42,324,441
3
0
null
null
null
null
UTF-8
C++
false
false
13,185
h
/* * map.h * Copyright 2008-2010, Thorbjørn Lindeijer <[email protected]> * Copyright 2008, Roderic Morris <[email protected]> * Copyright 2010, Andrew G. Crowell <[email protected]> * * This file is part of libtiled. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO * EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef MAP_H #define MAP_H #include "layer.h" #include "object.h" #include "tileset.h" #include <QColor> #include <QList> #include <QMargins> #include <QSize> namespace Tiled { class Tile; class ObjectGroup; /** * A tile map. Consists of a stack of layers, each can be either a TileLayer * or an ObjectGroup. * * It also keeps track of the list of referenced tilesets. */ class TILEDSHARED_EXPORT Map : public Object { public: /** * The orientation of the map determines how it should be rendered. An * Orthogonal map is using rectangular tiles that are aligned on a * straight grid. An Isometric map uses diamond shaped tiles that are * aligned on an isometric projected grid. A Hexagonal map uses hexagon * shaped tiles that fit into each other by shifting every other row. */ enum Orientation { Unknown, Orthogonal, Isometric, Staggered, Hexagonal }; /** * The different formats in which the tile layer data can be stored. */ enum LayerDataFormat { XML = 0, Base64 = 1, Base64Gzip = 2, Base64Zlib = 3, CSV = 4 }; /** * The order in which tiles are rendered on screen. */ enum RenderOrder { RightDown = 0, RightUp = 1, LeftDown = 2, LeftUp = 3 }; /** * Which axis is staggered. Only used by the isometric staggered and * hexagonal map renderers. */ enum StaggerAxis { StaggerX, StaggerY }; /** * When staggering, specifies whether the odd or the even rows/columns are * shifted half a tile right/down. Only used by the isometric staggered and * hexagonal map renderers. */ enum StaggerIndex { StaggerOdd = 0, StaggerEven = 1 }; /** * Constructor, taking map orientation, size and tile size as parameters. */ Map(Orientation orientation, int width, int height, int tileWidth, int tileHeight); /** * Copy constructor. Makes sure that a deep-copy of the layers is created. */ Map(const Map &map); /** * Destructor. */ ~Map(); /** * Returns the orientation of the map. */ Orientation orientation() const { return mOrientation; } /** * Sets the orientation of the map. */ void setOrientation(Orientation orientation) { mOrientation = orientation; } /** * Returns the render order of the map. */ RenderOrder renderOrder() const { return mRenderOrder; } /** * Sets the render order of the map. */ void setRenderOrder(RenderOrder renderOrder) { mRenderOrder = renderOrder; } /** * Returns the width of this map in tiles. */ int width() const { return mWidth; } /** * Sets the width of this map in tiles. */ void setWidth(int width) { mWidth = width; } /** * Returns the height of this map in tiles. */ int height() const { return mHeight; } /** * Sets the height of this map in tiles. */ void setHeight(int height) { mHeight = height; } /** * Returns the size of this map. Provided for convenience. */ QSize size() const { return QSize(mWidth, mHeight); } /** * Returns the tile width of this map. */ int tileWidth() const { return mTileWidth; } /** * Sets the width of one tile. */ void setTileWidth(int width) { mTileWidth = width; } /** * Returns the tile height used by this map. */ int tileHeight() const { return mTileHeight; } /** * Sets the height of one tile. */ void setTileHeight(int height) { mTileHeight = height; } /** * Returns the size of one tile. Provided for convenience. */ QSize tileSize() const { return QSize(mTileWidth, mTileHeight); } int hexSideLength() const; void setHexSideLength(int hexSideLength); StaggerAxis staggerAxis() const; void setStaggerAxis(StaggerAxis staggerAxis); StaggerIndex staggerIndex() const; void setStaggerIndex(StaggerIndex staggerIndex); /** * Adjusts the draw margins to be at least as big as the given margins. * Called from tile layers when their tiles change. */ void adjustDrawMargins(const QMargins &margins); /** * Returns the margins that have to be taken into account when figuring * out which part of the map to repaint after changing some tiles. * * @see TileLayer::drawMargins */ QMargins drawMargins() const { return mDrawMargins; } void recomputeDrawMargins(); /** * Returns the number of layers of this map. */ int layerCount() const { return mLayers.size(); } /** * Convenience function that returns the number of layers of this map that * match the given \a type. */ int layerCount(Layer::TypeFlag type) const; int tileLayerCount() const { return layerCount(Layer::TileLayerType); } int objectGroupCount() const { return layerCount(Layer::ObjectGroupType); } int imageLayerCount() const { return layerCount(Layer::ImageLayerType); } /** * Returns the layer at the specified index. */ Layer *layerAt(int index) const { return mLayers.at(index); } /** * Returns the list of layers of this map. This is useful when you want to * use foreach. */ const QList<Layer*> &layers() const { return mLayers; } QList<Layer*> layers(Layer::TypeFlag type) const; QList<ObjectGroup*> objectGroups() const; QList<TileLayer*> tileLayers() const; /** * Adds a layer to this map. */ void addLayer(Layer *layer); /** * Returns the index of the layer given by \a layerName, or -1 if no * layer with that name is found. * * The second optional parameter specifies the layer types which are * searched. */ int indexOfLayer(const QString &layerName, unsigned layerTypes = Layer::AnyLayerType) const; /** * Adds a layer to this map, inserting it at the given index. */ void insertLayer(int index, Layer *layer); /** * Removes the layer at the given index from this map and returns it. * The caller becomes responsible for the lifetime of this layer. */ Layer *takeLayerAt(int index); /** * Adds a tileset to this map. The map does not take ownership over its * tilesets, this is merely for keeping track of which tilesets are used by * the map, and their saving order. * * @param tileset the tileset to add */ void addTileset(const SharedTileset &tileset); /** * Convenience function to be used together with Layer::usedTilesets() */ void addTilesets(const QSet<SharedTileset> &tilesets); /** * Inserts \a tileset at \a index in the list of tilesets used by this map. */ void insertTileset(int index, const SharedTileset &tileset); /** * Returns the index of the given \a tileset, or -1 if it is not used in * this map. */ int indexOfTileset(const SharedTileset &tileset) const; /** * Removes the tileset at \a index from this map. * * \warning Does not make sure that this map no longer refers to tiles from * the removed tileset! * * \sa addTileset */ void removeTilesetAt(int index); /** * Replaces all tiles from \a oldTileset with tiles from \a newTileset. * Also replaces the old tileset with the new tileset in the list of * tilesets. */ void replaceTileset(const SharedTileset &oldTileset, const SharedTileset &newTileset); /** * Returns the number of tilesets of this map. */ int tilesetCount() const { return mTilesets.size(); } /** * Returns the tileset at the given index. */ SharedTileset tilesetAt(int index) const { return mTilesets.at(index); } /** * Returns the tilesets that the tiles on this map are using. */ const QVector<SharedTileset> &tilesets() const { return mTilesets; } /** * Returns the background color of this map. */ const QColor &backgroundColor() const { return mBackgroundColor; } /** * Sets the background color of this map. */ void setBackgroundColor(QColor color) { mBackgroundColor = color; } /** * Returns whether the given \a tileset is used by any tile layer of this * map. */ bool isTilesetUsed(const Tileset *tileset) const; /** * Creates a new map that contains the given \a layer. The map size will be * determined by the size of the layer. * * The orientation defaults to Unknown and the tile width and height will * default to 0. In case this map needs to be rendered, these properties * will need to be properly set. */ static Map *fromLayer(Layer *layer); LayerDataFormat layerDataFormat() const { return mLayerDataFormat; } void setLayerDataFormat(LayerDataFormat format) { mLayerDataFormat = format; } /** * Sets the next id to be used for objects on this map. */ void setNextObjectId(int nextId) { Q_ASSERT(nextId > 0); mNextObjectId = nextId; } /** * Returns the next object id for this map. */ int nextObjectId() const { return mNextObjectId; } /** * Returns the next object id for this map and allocates a new one. */ int takeNextObjectId() { return mNextObjectId++; } private: void adoptLayer(Layer *layer); Orientation mOrientation; RenderOrder mRenderOrder; int mWidth; int mHeight; int mTileWidth; int mTileHeight; int mHexSideLength; StaggerAxis mStaggerAxis; StaggerIndex mStaggerIndex; QColor mBackgroundColor; QMargins mDrawMargins; QList<Layer*> mLayers; QVector<SharedTileset> mTilesets; LayerDataFormat mLayerDataFormat; int mNextObjectId; }; inline int Map::hexSideLength() const { return mHexSideLength; } inline void Map::setHexSideLength(int hexSideLength) { mHexSideLength = hexSideLength; } inline Map::StaggerAxis Map::staggerAxis() const { return mStaggerAxis; } inline void Map::setStaggerAxis(StaggerAxis staggerAxis) { mStaggerAxis = staggerAxis; } inline Map::StaggerIndex Map::staggerIndex() const { return mStaggerIndex; } inline void Map::setStaggerIndex(StaggerIndex staggerIndex) { mStaggerIndex = staggerIndex; } TILEDSHARED_EXPORT QString staggerAxisToString(Map::StaggerAxis); TILEDSHARED_EXPORT Map::StaggerAxis staggerAxisFromString(const QString &); TILEDSHARED_EXPORT QString staggerIndexToString(Map::StaggerIndex staggerIndex); TILEDSHARED_EXPORT Map::StaggerIndex staggerIndexFromString(const QString &); /** * Helper function that converts the map orientation to a string value. Useful * for map writers. * * @return The map orientation as a lowercase string. */ TILEDSHARED_EXPORT QString orientationToString(Map::Orientation); /** * Helper function that converts a string to a map orientation enumerator. * Useful for map readers. * * @return The map orientation matching the given string, or Map::Unknown if * the string is unrecognized. */ TILEDSHARED_EXPORT Map::Orientation orientationFromString(const QString &); TILEDSHARED_EXPORT QString renderOrderToString(Map::RenderOrder renderOrder); TILEDSHARED_EXPORT Map::RenderOrder renderOrderFromString(const QString &); } // namespace Tiled #endif // MAP_H
e987bc8e8f1b7e668b11102f52a270d88b26e841
576a0f1512bd83a93da56b141ab0bc4093428ce1
/visitorPattern/visitorPattern/AddVisitor.hpp
0915ed533ed7407b72454603ad62de81a4e6ea94
[]
no_license
henrykalex/analisisModSistSoft
4379b56de3fc2d0d8324c76c0463b975de38d05f
27c09b4c2e506d4dc78a68ecad348652cedce64a
refs/heads/master
2021-01-13T04:49:13.537352
2017-05-03T14:26:25
2017-05-03T14:26:25
78,641,666
0
0
null
2017-01-18T15:45:28
2017-01-11T13:29:18
null
UTF-8
C++
false
false
453
hpp
// // AddVisitor.hpp // visitorPattern // // Created by Enrique Mondragon on 22/03/17. // Copyright © 2017 ealex_mondrat. All rights reserved. // #ifndef AddVisitor_hpp #define AddVisitor_hpp #include <stdio.h> #include "Visitor.hpp" class AddVisitor : public Visitor<AddVisitor>{ public: void visit(Integer*){ Integer::countInts++; } void visit(Double*){ Double::countDouble++; } }; #endif /* AddVisitor_hpp */
57949d676e8d01acda895564582f503d1065589f
f9726d2483d3c5ac38c8867a9cf962dc1bcaf5b4
/CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab5/main(21).cpp
03fd0393dd678d6b558b78bb479d39c02f35701c
[ "MIT" ]
permissive
diptu/Teaching
e03c82feefe6cda52ebd05cd644063abb3cf8cd5
20655bb2c688ae29566b0a914df4a3e5936a2f61
refs/heads/main
2023-06-27T15:27:32.113183
2021-07-31T05:53:47
2021-07-31T05:53:47
341,259,841
0
0
null
null
null
null
UTF-8
C++
false
false
914
cpp
#include <iostream> #include <list> #include <string> #include <cctype> bool compare_nocase (const std::string& first, const std::string& last) { unsigned int i=0; while ( (i<first.length()) && (i<last.length()) ) { if (tolower(first[i])<tolower(last[i])) return true; else if (tolower(first[i])>tolower(last[i])) return false; ++i; } return ( first.length() < last.length() ); } int main () { std::list<std::string> mylist; std::list<std::string>::iterator it; mylist.push_back ("one"); mylist.push_back ("two"); mylist.push_back ("Three"); mylist.sort(); std::cout << "mylist contains:"; for (it=mylist.begin(); it!=mylist.end(); ++it) std::cout << ' ' << *it; std::cout << '\n'; mylist.sort(compare_nocase); std::cout << "mylist contains:"; for (it=mylist.begin(); it!=mylist.end(); ++it) std::cout << ' ' << *it; std::cout << '\n'; return 0; }
812634264728b481e187930fbbd2dbdd36143cec
3596e8e43dda45cf076179733a0d998113153ead
/src/Determinante.cpp
b0a8d91b8a41ddef18ebd948e9a79cd9af6ce383
[]
no_license
HaikuArchives/DetMatrix
be0876e00ebd5d019ab5661f8d8c10ec2c736a8f
f73a48e14abbd4e279c55f8bc8286d3529fe06b0
refs/heads/master
2021-01-20T20:47:31.911824
2016-07-22T23:16:23
2016-07-22T23:16:23
63,989,096
0
0
null
null
null
null
UTF-8
C++
false
false
1,557
cpp
#include "MatrixFunctionality.h" extern ShowProgressWin *theone; Determinante::Determinante(int SizeX) { isParent = true; Size = SizeX; Position = -1; Range_start = 0; Range_end = Size - 1; } Determinante::~Determinante() { } void Determinante::SetMyParent( Determinante *ParentX) { isParent = false; Parent = ParentX; } float pot(int num) { int i; int a = 1; if (num == 0) return 1; for (i=1; i <= num; ++i) a = a * (-1); return (float) a; } float Determinante::GetAtPosition( int a, int b) { int c,d; c=a; d=b; if (c >= Position) ++c; ++d; switch (isParent) { case true: { float ap; ap = Control->GetAtPosition(c,d); return ap; } case false: { return Parent->GetAtPosition(c,d); } } return 0; } float Determinante::CalculateDeterminante() { Position = Range_start; float result = 0; float puffer = 0; float ap = 0; Determinante *UnterDet; BMessage *mes; if (isParent == true) { mes = new BMessage(67); } do { if (isParent == false) {ap = Parent->GetAtPosition(Position,0); } else {ap = Control->GetAtPosition(Position,0) * Koeffizient;} ap *= pot(Position); if (Size == 1) {puffer = 1;} else { if (ap != 0.0) { UnterDet = new Determinante(Size -1); UnterDet->SetMyParent(this); puffer = UnterDet->CalculateDeterminante(); delete UnterDet; } } result += (puffer * ap); ++Position; if (isParent == true) { theone->PostMessage(mes); } } while (Position <= Range_end); if (isParent == true) { delete mes; delete this; } return result; }
ab6ef56e0b7f34c6d26c6ac424435e273550e398
2fbeb09a417bd678963ee8417766dade77dcd4c1
/game_framework/shared/physics_setup_helpers.cpp
c203192e871beba9bdeaf1227778d5d271012b0a
[]
no_license
Kartezjan/Augmentations
5ebdb5b770e99a3c8e6ee79ec7db3a9b76c3e3a7
d8397cf0951bdbb66d8be14173f36ccbe733586e
refs/heads/master
2021-04-15T06:52:56.278827
2016-02-29T22:34:34
2016-02-29T22:34:34
52,829,837
0
0
null
2016-02-29T22:32:41
2016-02-29T22:32:41
null
UTF-8
C++
false
false
8,922
cpp
#pragma once #include "math/vec2.h" #include <Box2D/Box2D.h> #include "physics_setup_helpers.h" #include "../components/physics_component.h" #include "../components/fixtures_component.h" #include "../components/polygon_component.h" #include "../components/render_component.h" #include "../components/sprite_component.h" #include "../shared/state_for_drawing.h" #include "../systems/physics_system.h" #include "entity_system/entity_system.h" #include "3rdparty/polypartition/polypartition.h" void fixture_definition::add_convex_polygon(const std::vector <vec2>& verts) { convex_polys.push_back(verts); } void fixture_definition::offset_vertices() { for (auto& c : convex_polys) { for (auto& v : c) { v.rotate(transform_vertices.rotation, vec2(0, 0)); v += transform_vertices.pos; } } } void fixture_definition::mult_vertices(vec2 mult) { for (auto& c : convex_polys) { for (auto& v : c) { v *= mult; } std::reverse(c.begin(), c.end()); } for (auto& v : debug_original) { v *= mult; } } #include "texture_baker/texture_baker.h" #include "../resources/manager.h" void fixture_definition::from_renderable(augs::entity_id e, bool polygonize_sprite) { auto* sprite = e->find<components::sprite>(); auto* polygon = e->find<components::polygon>(); if (sprite) { auto& poly_info = resource_manager.find(sprite->tex)->polygonized; auto& image_to_polygonize = resource_manager.find(sprite->tex)->img; if (poly_info.size() > 0 && polygonize_sprite) { type = POLYGON; std::vector<vec2> new_concave; for (auto v : poly_info) { auto polygonized_size = vec2(image_to_polygonize.get_size().w, image_to_polygonize.get_size().h); auto new_v = vec2(v) - polygonized_size / 2; vec2 scale = sprite->size / polygonized_size; new_v *= scale; new_v.y = -new_v.y; new_concave.push_back(new_v); } debug_original = new_concave; add_concave_polygon(new_concave); mult_vertices(vec2(1, -1)); } else { type = RECT; rect_size = sprite->size; b2PolygonShape shape; shape.SetAsBox(static_cast<float>(rect_size.x) / 2.f * PIXELS_TO_METERSf, static_cast<float>(rect_size.y) / 2.f * PIXELS_TO_METERSf); std::vector<vec2> new_convex_polygon; for (int i = 0; i < shape.GetVertexCount(); ++i) new_convex_polygon.push_back(vec2(shape.GetVertex(i))*METERS_TO_PIXELSf); add_convex_polygon(new_convex_polygon); } } else if (polygon) { type = POLYGON; auto& p = *polygon; add_concave_polygon(p.original_polygon); } // TODO: remove the visual components server-side } void fixture_definition::add_concave_polygon(const std::vector <vec2> &verts) { list<TPPLPoly> inpolys, outpolys; TPPLPoly subject_poly; subject_poly.Init(verts.size()); subject_poly.SetHole(false); for (size_t i = 0; i < verts.size(); ++i) { vec2 p(verts[i]); subject_poly[i].x = p.x; subject_poly[i].y = -p.y; } inpolys.push_back(subject_poly); TPPLPartition partition; partition.ConvexPartition_HM(&inpolys, &outpolys); for (auto& out : outpolys) { std::vector <vec2> new_convex; for (long j = 0; j < out.GetNumPoints(); ++j) { new_convex.push_back(vec2(static_cast<float>(out[j].x), static_cast<float>(-out[j].y))); } std::reverse(new_convex.begin(), new_convex.end()); auto first_v = new_convex[0]; const int max_vertices = 8; if (new_convex.size() > max_vertices) { int first = 1; while (first + max_vertices - 2 < new_convex.size() - 1) { std::vector<vec2> new_poly; new_poly.push_back(new_convex[0]); new_poly.insert(new_poly.end(), new_convex.begin() + first, new_convex.begin() + first + max_vertices - 2 + 1); convex_polys.push_back(new_poly); first += max_vertices - 2; } std::vector<vec2> last_poly; last_poly.push_back(new_convex[0]); last_poly.push_back(new_convex[first]); last_poly.insert(last_poly.end(), new_convex.begin() + first, new_convex.end()); convex_polys.push_back(last_poly); } else convex_polys.push_back(new_convex); } } void create_weld_joint(augs::entity_id a, augs::entity_id b, vec2 orbit_offset, joint_name name) { physics_system& physics = a->owner_world.get_system<physics_system>(); b2WeldJointDef def; def.bodyA = a->get<components::physics>().body; def.bodyB = b->get<components::physics>().body; def.collideConnected = false; def.localAnchorB = orbit_offset*PIXELS_TO_METERSf; def.localAnchorB.y *= -1; def.userData = name; physics.b2world.CreateJoint(&def); } void create_friction_joint(augs::entity_id inside_object, augs::entity_id friction_field, joint_name name) { physics_system& physics = inside_object->owner_world.get_system<physics_system>(); b2FrictionJointDef def; def.bodyA = inside_object->get<components::physics>().body; def.bodyB = friction_field->get<components::physics>().body; def.collideConnected = false; def.userData = name; def.maxForce = 500000.5; def.maxTorque = 10000000; physics.b2world.CreateJoint(&def); } void remove_joints_by_name(augs::entity_id e, joint_name name) { physics_system& physics = e->owner_world.get_system<physics_system>(); auto* body = e->get<components::physics>().body; auto* je = e->get<components::physics>().body->GetJointList(); std::vector<b2Joint*> to_remove; while (je) { if (je->joint->GetUserData() == name) { to_remove.push_back(je->joint); } je = je->next; } for (auto j : to_remove) physics.b2world.DestroyJoint(j); } bool joint_exists(augs::entity_id e, joint_name name) { assert(0); return false; } components::fixtures& add_fixtures(fixture_definition fixture_data, augs::entity_id subject) { return add_fixtures_to_other_body(fixture_data, subject, subject); } components::fixtures& add_fixtures_to_other_body(fixture_definition fixture_data, augs::entity_id subject, augs::entity_id existing_body) { physics_system& physics = subject->owner_world.get_system<physics_system>(); b2PolygonShape shape; b2CircleShape circle_shape; b2FixtureDef fixdef; fixdef.density = fixture_data.density; fixdef.friction = fixture_data.friction; fixdef.isSensor = fixture_data.sensor; fixdef.filter = fixture_data.filter; fixdef.restitution = fixture_data.restitution; fixdef.shape = &shape; fixdef.userData = subject; auto& physics_component = existing_body->get<components::physics>(); auto body = physics_component.body; physics_component.fixture_entities.push_back(subject); fixture_data.offset_vertices(); auto& fixtures = subject->add<components::fixtures>(); fixtures.convex_polys = fixture_data.convex_polys; fixtures.shape_offset = fixture_data.transform_vertices; fixtures.is_friction_ground = fixture_data.is_friction_ground; for (auto convex : fixture_data.convex_polys) { std::vector<b2Vec2> b2verts(convex.begin(), convex.end()); for (auto& v : b2verts) v *= PIXELS_TO_METERSf; shape.Set(b2verts.data(), b2verts.size()); fixtures.list_of_fixtures.push_back({ body->CreateFixture(&fixdef) }); } return fixtures; } components::physics& create_physics_component(body_definition body_data, augs::entity_id subject) { physics_system& physics = subject->owner_world.get_system<physics_system>(); auto& transform = subject->get<components::transform>(); if (subject->find<components::render>()) subject->get<components::render>().previous_transform = subject->get<components::transform>(); b2BodyDef def; def.type = b2BodyType(body_data.body_type); def.angle = 0; def.userData = subject; def.bullet = body_data.bullet; def.position = transform.pos*PIXELS_TO_METERSf; def.angle = transform.rotation*0.01745329251994329576923690768489f; def.angularDamping = body_data.angular_damping; def.linearDamping = body_data.linear_damping; def.fixedRotation = body_data.fixed_rotation; def.gravityScale = body_data.gravity_scale; auto& physics_component = subject->add<components::physics>(); physics_component.body = physics.b2world.CreateBody(&def); physics_component.body->SetAngledDampingEnabled(body_data.angled_damping); physics_component.set_velocity(body_data.velocity); physics_component.angular_air_resistance = body_data.angular_air_resistance; return physics_component; } std::vector<b2Vec2> get_world_vertices(augs::entity_id subject, bool meters, int fixture_num) { std::vector<b2Vec2> output; auto b = subject->get<components::physics>().body; auto& verts = subject->get<components::fixtures>().convex_polys[fixture_num]; /* for every vertex in given fixture's shape */ for (auto& v : verts) { auto position = METERS_TO_PIXELSf * b->GetPosition(); /* transform angle to degrees */ auto rotation = b->GetAngle() / 0.01745329251994329576923690768489f; /* transform vertex to current entity's position and rotation */ vec2 out_vert = (vec2(v).rotate(rotation, b2Vec2(0, 0)) + position); if (meters) out_vert *= PIXELS_TO_METERSf; output.push_back(out_vert); } return output; }
eede21e4abf72d28aeca8890730af46c5fc901de
86bbc4dc322d02117600b8a6ef6a25ca1433a04c
/shared/Frame.hxx
ee50b4bd317156dc799f148b0f75c96a0a153b46
[ "MIT" ]
permissive
IceForgTW/DepthSenseGrabber
045377498192dc9eade8f4cd3e17a1db4dad24b7
4a54ef0322a9221b8b89dc396cd980f496fe7563
refs/heads/master
2020-04-24T14:46:55.407767
2016-08-25T02:48:24
2016-08-25T02:48:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,785
hxx
#ifndef SHARED_FRAME_H_ #define SHARED_FRAME_H_ #ifdef _MSC_VER #include <windows.h> #endif #include <stdio.h> #include <time.h> #include <boost/thread.hpp> #include <chrono> #include <vector> #include <exception> #include <DepthSense.hxx> #include "AcquisitionParameters.hxx" using namespace DepthSense; using namespace std; struct FrameCorrespondence { int indexFrame; int timestamp; int correspFrame; }; typedef vector<FrameCorrespondence> Report; class Frame { protected: int m_width; int m_height; int m_timestamp; int m_indexFrame; int m_correspFrame; public: Frame(int width, int height); void setWidth(int width); void setHeight(int height); void setTimestamp(int timestamp); void setIndexFrame(int indexFrame); void setCorrespFrame(int correspFrame); int getWidth() { return m_width; } int getHeight() { return m_height; } int getTimestamp() { return m_timestamp; } int getIndexFrame() { return m_indexFrame; } int getCorrespFrame() { return m_correspFrame; } void updateReport(string pathReport); static string formatFilenameFrame(int indexFrame, string prefix); static string formatFilenamePNM(int indexFrame, string prefix); static string formatFilenameReport(string prefix); static void importReport(string pathReport, Report* p_report); }; class FrameColor: public Frame { protected: static const string m_prefix; uint8_t* m_rgb; // RGB format public: FrameColor(int width, int height); FrameColor(string pathFrame); ~FrameColor(); uint8_t* getRGB() { return m_rgb; } static const string getPrefix() { return m_prefix; } void importColorMap(ColorNode::NewSampleReceivedData data); void writeFrame(string pathFrame); static string formatFilenameFrame(int indexFrame); static string formatFilenameReport(); }; class FrameDepth: public Frame { protected: static const string m_prefix; uint16_t* m_depth; uint16_t* m_confidence; float* m_uv; public: FrameDepth(int width, int height); FrameDepth(string pathFrame); ~FrameDepth(); static const string getPrefix() { return m_prefix; } uint16_t* getDepth() { return m_depth; } uint16_t* getConfidence() { return m_confidence; } float* getUV() { return m_uv; } void importDepthMap(DepthNode::NewSampleReceivedData data); void writeFrame(string pathFrame); static string formatFilenameFrame(int indexFrame); static string formatFilenameReport(); }; #endif
0387f3463affdbbc17d3855cbf6715e1f44cf1b8
ab0e753a502e2b3dc7c74d7c12ea62c77191dce1
/modules/highgui/src/cap_xine.cpp
cdaf00455052efd1ec56642c642b69bf9c28972d
[]
no_license
blackberry/OpenCV
d856fd4307177d61643f8a0ef7efbf27dd5210c1
36ec71cd6dd167ba3dcb699f9a9639598953f0e3
HEAD
2016-09-01T21:24:21.082564
2012-09-17T14:50:47
2012-09-17T14:50:47
3,922,780
8
11
null
null
null
null
UTF-8
C++
false
false
25,163
cpp
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, install, // copy or use the software. // // // Intel License Agreement // For Open Source Computer Vision Library // // Copyright (C) 2000, Intel Corporation, all rights reserved. // Third party copyrights are property of their respective owners. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistribution's of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // // * Redistribution's in binary form must reproduce the above copyright notice, // this list of conditions and the following disclaimer in the documentation // and/or other materials provided with the distribution. // // * The name of Intel Corporation may not be used to endorse or promote products // derived from this software without specific prior written permission. // // This software is provided by the copyright holders and contributors "as is" and // any express or implied warranties, including, but not limited to, the implied // warranties of merchantability and fitness for a particular purpose are disclaimed. // In no event shall the Intel Corporation or contributors be liable for any direct, // indirect, incidental, special, exemplary, or consequential damages // (including, but not limited to, procurement of substitute goods or services; // loss of use, data, or profits; or business interruption) however caused // and on any theory of liability, whether in contract, strict liability, // or tort (including negligence or otherwise) arising in any way out of // the use of this software, even if advised of the possibility of such damage. // //M*/ // Authors: Konstantin Dols <[email protected]> // Mark Asbach <[email protected]> // // Institute of Communications Engineering // RWTH Aachen University #include "precomp.hpp" // required to enable some functions used here... #define XINE_ENABLE_EXPERIMENTAL_FEATURES #include <cassert> extern "C" { #include <xine.h> //#include <xine/xineutils.h> // forward declaration from <xine/xineutils.h> const char *xine_get_homedir( void ); } typedef struct CvCaptureAVI_XINE { /// method call table xine_t * xine; xine_stream_t * stream; xine_video_port_t * vo_port; /// frame returned by xine_get_next_video_frame() xine_video_frame_t xine_frame; IplImage * yuv_frame; IplImage * bgr_frame; /// image dimansions of the input stream. CvSize size; /// framenumber of the last frame received from xine_get_next_video_frame(). /// note: always keep this value updated !!!! int frame_number; /// framerate of the opened stream double frame_rate; /// duration of a frame in stream double frame_duration; /// indicated if input is seekable bool seekable; } CvCaptureAVI_XINE; // 4:2:2 interleaved -> BGR static void icvYUY2toBGR( CvCaptureAVI_XINE * capture ) { uint8_t * v = capture->xine_frame.data; int offset; for ( int y = 0; y < capture->yuv_frame->height; y++ ) { offset = y * capture->yuv_frame->widthStep; for ( int x = 0; x < capture->yuv_frame->width; x++, offset += 3 ) { capture->yuv_frame->imageData[ offset + 1 ] = v[ 3 ]; capture->yuv_frame->imageData[ offset + 2 ] = v[ 1 ]; if ( x & 1 ) { capture->yuv_frame->imageData[ offset ] = v[ 2 ]; v += 4; } else { capture->yuv_frame->imageData[ offset ] = v[ 0 ]; } } } // convert to BGR cvCvtColor( capture->yuv_frame, capture->bgr_frame, CV_YCrCb2BGR ); } // 4:2:0 planary -> BGR static void icvYV12toBGR( CvCaptureAVI_XINE * capture ) { IplImage * yuv = capture->yuv_frame; int w_Y = capture->size.width; int h_Y = capture->size.height; int w_UV = w_Y >> 1; int size_Y = w_Y * h_Y; int size_UV = size_Y / 4; int line = yuv->widthStep; uint8_t * addr_Y = capture->xine_frame.data; uint8_t * addr_U = addr_Y + size_Y; uint8_t * addr_V = addr_U + size_UV; // YYYY..UU.VV. -> BGRBGRBGR... for ( int y = 0; y < h_Y; y++ ) { int offset = y * line; for ( int x = 0; x < w_Y; x++, offset += 3 ) { /* if ( x&1 ) { addr_U++; addr_V++; } */ int one_zero = x & 1; addr_U += one_zero; addr_V += one_zero; yuv->imageData[ offset ] = *( addr_Y++ ); yuv->imageData[ offset + 1 ] = *addr_U; yuv->imageData[ offset + 2 ] = *addr_V; } if ( y & 1 ) { addr_U -= w_UV; addr_V -= w_UV; } } /* convert to BGR */ cvCvtColor( capture->yuv_frame, capture->bgr_frame, CV_YCrCb2BGR ); } static void icvCloseAVI_XINE( CvCaptureAVI_XINE* capture ) { xine_free_video_frame( capture->vo_port, &capture->xine_frame ); if ( capture->yuv_frame ) cvReleaseImage( &capture->yuv_frame ); if ( capture->bgr_frame ) cvReleaseImage( &capture->bgr_frame ); xine_close( capture->stream ); // xine_dispose( capture->stream ); if ( capture->vo_port ) xine_close_video_driver( capture->xine, capture->vo_port ); xine_exit( capture->xine ); } /** * CHECKS IF THE STREAM IN * capture IS SEEKABLE. **/ static void icvCheckSeekAVI_XINE( CvCaptureAVI_XINE * capture ) { OPENCV_ASSERT ( capture, "icvCheckSeekAVI_XINE( CvCaptureAVI_XINE* )", "illegal capture"); OPENCV_ASSERT ( capture->stream, "icvCheckSeekAVI_XINE( CvCaptureAVI_XINE* )", "illegal capture->stream"); OPENCV_ASSERT ( capture->vo_port, "icvCheckSeekAVI_XINE( CvCaptureAVI_XINE* )", "illegal capture->vo_port"); #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvCheckSeekAVI_XINE ... start\n" ); #endif // temp. frame for testing. xine_video_frame_t tmp; // try to seek to a future frame... xine_play( capture->stream, 0, 300 ); /* 300msec */ // try to receive the frame... xine_get_next_video_frame( capture->vo_port, &tmp ); // if the framenumber is still 0, we can't use the xine seek functionality capture->seekable = ( tmp.frame_number != 0 ); // reset stream xine_play( capture->stream, 0, 0 ); // release xine_frame xine_free_video_frame( capture->vo_port, &tmp ); #ifndef NDEBUG if ( capture->seekable ) fprintf( stderr, "(DEBUG) icvCheckSeekAVI_XINE: Input is seekable, using XINE seek implementation.\n" ); else fprintf( stderr, "(DEBUG) icvCheckSeekAVI_XINE: Input is NOT seekable, using fallback function.\n" ); fprintf( stderr, "(DEBUG) icvCheckSeekAVI_XINE ... end\n" ); #endif } static int icvOpenAVI_XINE( CvCaptureAVI_XINE* capture, const char* filename ) { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvOpenAVI_XINE ... start\n" ); #endif char configfile[ 2048 ]; capture->xine = xine_new(); sprintf( configfile, "%s%s", xine_get_homedir(), "/.xine/config" ); xine_config_load( capture->xine, configfile ); xine_init( capture->xine ); xine_engine_set_param( capture->xine, 0, 0 ); capture->vo_port = xine_new_framegrab_video_port( capture->xine ); if ( capture->vo_port == NULL ) { printf( "(ERROR)icvOpenAVI_XINE(): Unable to initialize video driver.\n" ); return 0; } capture->stream = xine_stream_new( capture->xine, NULL, capture->vo_port ); if ( !xine_open( capture->stream, filename ) ) { printf( "(ERROR)icvOpenAVI_XINE(): Unable to open source '%s'\n", filename ); return 0; } // reset stream... xine_play( capture->stream, 0, 0 ); // initialize some internals... capture->frame_number = 0; if ( !xine_get_next_video_frame( capture->vo_port, &capture->xine_frame ) ) { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvOpenAVI_XINE ... failed!\n" ); #endif return 0; } capture->size = cvSize( capture->xine_frame.width, capture->xine_frame.height ); capture->yuv_frame = cvCreateImage( capture->size, IPL_DEPTH_8U, 3 ); capture->bgr_frame = cvCreateImage( capture->size, IPL_DEPTH_8U, 3 ); xine_free_video_frame( capture->vo_port, &capture->xine_frame ); capture->xine_frame.data[ 0 ] = 0; icvCheckSeekAVI_XINE( capture ); capture->frame_duration = xine_get_stream_info( capture->stream, XINE_STREAM_INFO_FRAME_DURATION ) / 90.; capture->frame_rate = 1000 / capture->frame_duration; #ifndef NDEBUG fprintf( stderr, "(DEBUG) frame_duration = %f, framerate = %f\n", capture->frame_duration, capture->frame_rate ); #endif OPENCV_ASSERT ( capture->yuv_frame, "icvOpenAVI_XINE( CvCaptureAVI_XINE *, const char *)", "couldn't create yuv frame"); OPENCV_ASSERT ( capture->bgr_frame, "icvOpenAVI_XINE( CvCaptureAVI_XINE *, const char *)", "couldn't create bgr frame"); #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvOpenAVI_XINE ... end\n" ); #endif return 1; } static int icvGrabFrameAVI_XINE( CvCaptureAVI_XINE* capture ) { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvGrabFrameAVI_XINE ... start\n" ); #endif OPENCV_ASSERT ( capture, "icvGrabFrameAVI_XINE( CvCaptureAVI_XINE * )", "illegal capture"); OPENCV_ASSERT ( capture->vo_port, "icvGrabFrameAVI_XINE( CvCaptureAVI_XINE * )", "illegal capture->vo_port"); int res = xine_get_next_video_frame( capture->vo_port, &capture->xine_frame ); /* always keep internal framenumber updated !!! */ if ( res ) capture->frame_number++; #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvGrabFrameAVI_XINE ... end\n" ); #endif return res; } static const IplImage* icvRetrieveFrameAVI_XINE( CvCaptureAVI_XINE* capture, int ) { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvRetrieveFrameAVI_XINE ... start\n" ); #endif OPENCV_ASSERT ( capture, "icvRetrieveFrameAVI_XINE( CvCaptureAVI_XINE * )", "illegal capture"); OPENCV_ASSERT ( capture->stream, "icvRetrieveFrameAVI_XINE( CvCaptureAVI_XINE * )", "illegal capture->stream"); OPENCV_ASSERT ( capture->vo_port, "icvRetrieveFrameAVI_XINE( CvCaptureAVI_XINE * )", "illegal capture->vo_port"); /* no frame grabbed yet? so let's do it now! */ int res = 0; if ( capture->xine_frame.data == 0 ) { res = icvGrabFrameAVI_XINE( capture ); } else { res = 1; } if ( res ) { switch ( capture->xine_frame.colorspace ) { case XINE_IMGFMT_YV12: icvYV12toBGR( capture ); #ifndef NDEBUG printf( "(DEBUG)icvRetrieveFrameAVI_XINE: converted YV12 to BGR.\n" ); #endif break; case XINE_IMGFMT_YUY2: icvYUY2toBGR( capture ); #ifndef NDEBUG printf( "(DEBUG)icvRetrieveFrameAVI_XINE: converted YUY2 to BGR.\n" ); #endif break; case XINE_IMGFMT_XVMC: printf( "(ERROR)icvRetrieveFrameAVI_XINE: XVMC format not supported!\n" ); break; case XINE_IMGFMT_XXMC: printf( "(ERROR)icvRetrieveFrameAVI_XINE: XXMC format not supported!\n" ); break; default: printf( "(ERROR)icvRetrieveFrameAVI_XINE: unknown color/pixel format!\n" ); } /* always release last xine_frame, not needed anymore, but store its frame_number in *capture ! */ xine_free_video_frame( capture->vo_port, &capture->xine_frame ); capture->xine_frame.data = 0; #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvRetrieveFrameAVI_XINE ... end\n" ); #endif return capture->bgr_frame; } #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvRetrieveFrameAVI_XINE ... failed!\n" ); #endif return 0; } /** * THIS FUNCTION IS A FALLBACK FUNCTION FOR THE CASE THAT THE XINE SEEK IMPLEMENTATION * DOESN'T WORK WITH THE ACTUAL INPUT. THIS FUNCTION IS ONLY USED IN THE CASE OF AN EMERGENCY, * BECAUSE IT IS VERY SLOW ! **/ static int icvOldSeekFrameAVI_XINE( CvCaptureAVI_XINE* capture, int f ) { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvOldSeekFrameAVI_XINE ... start\n" ); #endif OPENCV_ASSERT ( capture, "icvRetricvOldSeekFrameAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture"); OPENCV_ASSERT ( capture->stream, "icvOldSeekFrameAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture->stream"); OPENCV_ASSERT ( capture->vo_port, "icvOldSeekFrameAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture->vo_port"); // not needed tnx to asserts... // we need a valid capture context and it's stream to seek through // if ( !capture || !capture->stream ) return 0; // no need to seek if we are already there... if ( f == capture->frame_number ) { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvOldSeekFrameAVI_XINE ... end\n" ); #endif return 1; } // if the requested position is behind out actual position, // we just need to read the remaining amount of frames until we are there. else if ( f > capture->frame_number ) { for ( ;capture->frame_number < f;capture->frame_number++ ) /// un-increment framenumber grabbing failed if ( !xine_get_next_video_frame( capture->vo_port, &capture->xine_frame ) ) { capture->frame_number--; break; } else { xine_free_video_frame( capture->vo_port, &capture->xine_frame ); } } // otherwise we need to reset the stream and // start reading frames from the beginning. else // f < capture->frame_number { /// reset stream, should also work with non-seekable input xine_play( capture->stream, 0, 0 ); /// read frames until we are at the requested frame for ( capture->frame_number = 0; capture->frame_number < f; capture->frame_number++ ) /// un-increment last framenumber if grabbing failed if ( !xine_get_next_video_frame( capture->vo_port, &capture->xine_frame ) ) { capture->frame_number--; break; } else { xine_free_video_frame( capture->vo_port, &capture->xine_frame ); } } #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvOldSeekFrameAVI_XINE ... end\n" ); #endif return ( f == capture->frame_number ) ? 1 : 0; } static int icvSeekFrameAVI_XINE( CvCaptureAVI_XINE* capture, int f ) { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSeekFrameAVI_XINE ... start\n" ); #endif OPENCV_ASSERT ( capture, "icvSeekFrameAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture"); OPENCV_ASSERT ( capture->stream, "icvSeekFrameAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture->stream"); OPENCV_ASSERT ( capture->vo_port, "icvSeekFrameAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture->vo_port"); // not needed tnx to asserts... // we need a valid capture context and it's stream to seek through // if ( !capture || !capture->stream ) return 0; if ( capture->seekable ) { /// use xinelib's seek functionality int new_time = ( int ) ( ( f + 1 ) * ( float ) capture->frame_duration ); #ifndef NDEBUG fprintf( stderr, "(DEBUG) calling xine_play()" ); #endif if ( xine_play( capture->stream, 0, new_time ) ) { #ifndef NDEBUG fprintf( stderr, "ok\n" ); fprintf( stderr, "(DEBUG) icvSeekFrameAVI_XINE ... end\n" ); #endif capture->frame_number = f; return 1; } else { #ifndef NDEBUG fprintf( stderr, "failed\n" ); fprintf( stderr, "(DEBUG) icvSeekFrameAVI_XINE ... failed\n" ); #endif return 0; } } else { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSeekFrameAVI_XINE ... end\n" ); #endif return icvOldSeekFrameAVI_XINE( capture, f ); } } static int icvSeekTimeAVI_XINE( CvCaptureAVI_XINE* capture, int t ) { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSeekTimeAVI_XINE ... start\n" ); #endif OPENCV_ASSERT ( capture, "icvSeekTimeAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture"); OPENCV_ASSERT ( capture->stream, "icvSeekTimeAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture->stream"); OPENCV_ASSERT ( capture->vo_port, "icvSeekTimeAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture->vo_port"); #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSeekTimeAVI_XINE ... start\n" ); #endif // not needed tnx to asserts... // we need a valid capture context and it's stream to seek through // if ( !capture || !capture->stream ) return 0; if ( capture->seekable ) { /// use xinelib's seek functionality if ( xine_play( capture->stream, 0, t ) ) { capture->frame_number = ( int ) ( ( float ) t * capture->frame_rate / 1000 ); #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSeekFrameAVI_XINE ... end\n" ); #endif return 1; } else { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSeekFrameAVI_XINE ... failed!\n" ); #endif return 0; } } else { int new_frame = ( int ) ( ( float ) t * capture->frame_rate / 1000 ); #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSeekFrameAVI_XINE ....end\n" ); #endif return icvOldSeekFrameAVI_XINE( capture, new_frame ); } } static int icvSeekRatioAVI_XINE( CvCaptureAVI_XINE* capture, double ratio ) { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSeekRatioAVI_XINE ... start\n" ); #endif OPENCV_ASSERT ( capture, "icvSeekRatioAVI_XINE( CvCaptureAVI_XINE *, double )", "illegal capture"); OPENCV_ASSERT ( capture->stream, "icvSeekRatioAVI_XINE( CvCaptureAVI_XINE *, double )", "illegal capture->stream"); OPENCV_ASSERT ( capture->vo_port, "icvSeekRatioAVI_XINE( CvCaptureAVI_XINE *, double )", "illegal capture->vo_port"); // not needed tnx to asserts... // we need a valid capture context and it's stream to seek through // if ( !capture || !capture->stream ) return 0; /// ratio must be [0..1] if ( ratio > 1 || ratio < 0 ) return 0; if ( capture->seekable ) { // TODO: FIX IT, DOESN'T WORK PROPERLY, YET...! int pos_t, pos_l, length; xine_get_pos_length( capture->stream, &pos_l, &pos_t, &length ); fprintf( stderr, "ratio on GetProperty(): %d\n", pos_l ); /// use xinelib's seek functionality if ( xine_play( capture->stream, (int)(ratio*(float)length), 0 ) ) { capture->frame_number = ( int ) ( ratio*length / capture->frame_duration ); } else { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSeekRatioAVI_XINE ... failed!\n" ); #endif return 0; } } else { /// TODO: fill it ! fprintf( stderr, "icvSeekRatioAVI_XINE(): Seek not supported by stream !\n" ); fprintf( stderr, "icvSeekRatioAVI_XINE(): (seek in stream with NO seek support NOT implemented...yet!)\n" ); #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSeekRatioAVI_XINE ... failed!\n" ); #endif return 0; } #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSeekRatioAVI_XINE ... end!\n" ); #endif return 1; } static double icvGetPropertyAVI_XINE( CvCaptureAVI_XINE* capture, int property_id ) { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvGetPropertyAVI_XINE ... start\n" ); #endif OPENCV_ASSERT ( capture, "icvGetPropertyAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture"); OPENCV_ASSERT ( capture->stream, "icvGetPropertyAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture->stream"); OPENCV_ASSERT ( capture->vo_port, "icvGetPropertyAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture->vo_port"); OPENCV_ASSERT ( capture->xine, "icvGetPropertyAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture->xine"); OPENCV_ASSERT ( capture->bgr_frame, "icvGetPropertyAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture->bgr_frame"); // not needed tnx to asserts... // we need a valid capture context and it's stream to seek through // if ( !capture || !capture->stream || !capture->bgr_frame || !capture->xine || !capture->vo_port ) return 0 int pos_t, pos_l, length; xine_get_pos_length( capture->stream, &pos_l, &pos_t, &length ); fprintf( stderr, "ratio on GetProperty(): %i\n", pos_l ); switch ( property_id ) { /// return actual position in msec case CV_CAP_PROP_POS_MSEC: if ( !capture->seekable ) { fprintf( stderr, "(ERROR) GetPropertyAVI_XINE(CV_CAP_PROP_POS_MSEC:\n" ); fprintf( stderr, " Stream is NOT seekable, so position info may NOT be valid !!\n" ); } return pos_t; /// return actual frame number case CV_CAP_PROP_POS_FRAMES: /// we insist the capture->frame_number to be remain updated !!!! return capture->frame_number; /// return actual position ratio in the range [0..1] depending on /// the total length of the stream and the actual position case CV_CAP_PROP_POS_AVI_RATIO: if ( !capture->seekable ) { fprintf( stderr, "(ERROR) GetPropertyAVI_XINE(CV_CAP_PROP_POS_AVI_RATIO:\n" ); fprintf( stderr, " Stream is NOT seekable, so ratio info may NOT be valid !!\n" ); } if ( length == 0 ) break; else return pos_l / 65535; /// return width of image source case CV_CAP_PROP_FRAME_WIDTH: return capture->size.width; /// return height of image source case CV_CAP_PROP_FRAME_HEIGHT: return capture->size.height; /// return framerate of stream case CV_CAP_PROP_FPS: if ( !capture->seekable ) { fprintf( stderr, "(ERROR) GetPropertyAVI_XINE(CV_CAP_PROP_FPS:\n" ); fprintf( stderr, " Stream is NOT seekable, so FPS info may NOT be valid !!\n" ); } return capture->frame_rate; /// return four-character-code (FOURCC) of source's codec case CV_CAP_PROP_FOURCC: return ( double ) xine_get_stream_info( capture->stream, XINE_STREAM_INFO_VIDEO_FOURCC ); } #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvGetPropertyAVI_XINE ... failed!\n" ); #endif return 0; } static int icvSetPropertyAVI_XINE( CvCaptureAVI_XINE* capture, int property_id, double value ) { #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSetPropertyAVI_XINE ... start\n" ); #endif OPENCV_ASSERT ( capture, "icvSetPropertyAVI_XINE( CvCaptureAVI_XINE *, int, double )", "illegal capture"); OPENCV_ASSERT ( capture->stream, "icvGetPropericvSetPropertyAVI_XINE( CvCaptureAVI_XINE *, int )", "illegal capture->stream"); OPENCV_ASSERT ( capture->vo_port, "icvSetPropertyAVI_XINE( CvCaptureAVI_XINE *, int, double )", "illegal capture->vo_port"); // not needed tnx to asserts... // we need a valid capture context and it's stream to seek through // if ( !capture || !capture->stream || !capture->bgr_frame || !capture->xine || !capture->vo_port ) return 0 #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSetPropertyAVI_XINE: seeking to value %f ... ", value ); #endif switch ( property_id ) { /// set (seek to) position in msec case CV_CAP_PROP_POS_MSEC: return icvSeekTimeAVI_XINE( capture, ( int ) value ); /// set (seek to) frame number case CV_CAP_PROP_POS_FRAMES: return icvSeekFrameAVI_XINE( capture, ( int ) value ); /// set (seek to) position ratio in the range [0..1] depending on /// the total length of the stream and the actual position case CV_CAP_PROP_POS_AVI_RATIO: return icvSeekRatioAVI_XINE( capture, value ); default: #ifndef NDEBUG fprintf( stderr, "(DEBUG) icvSetPropertyAVI_XINE ... failed!\n" ); #endif return 0; } } static CvCaptureAVI_XINE* icvCaptureFromFile_XINE( const char* filename ) { // construct capture struct CvCaptureAVI_XINE * capture = ( CvCaptureAVI_XINE* ) cvAlloc ( sizeof ( CvCaptureAVI_XINE ) ); memset( capture, 0, sizeof ( CvCaptureAVI_XINE ) ); // initialize XINE if ( !icvOpenAVI_XINE( capture, filename ) ) return 0; OPENCV_ASSERT ( capture, "cvCaptureFromFile_XINE( const char * )", "couldn't create capture"); return capture; } class CvCaptureAVI_XINE_CPP : public CvCapture { public: CvCaptureAVI_XINE_CPP() { captureXINE = 0; } virtual ~CvCaptureAVI_XINE_CPP() { close(); } virtual bool open( const char* filename ); virtual void close(); virtual double getProperty(int); virtual bool setProperty(int, double); virtual bool grabFrame(); virtual IplImage* retrieveFrame(int); protected: CvCaptureAVI_XINE* captureXINE; }; bool CvCaptureAVI_XINE_CPP::open( const char* filename ) { close(); captureXINE = icvCaptureFromFile_XINE(filename); return captureXINE != 0; } void CvCaptureAVI_XINE_CPP::close() { if( captureXINE ) { icvCloseAVI_XINE( captureXINE ); cvFree( &captureXINE ); } } bool CvCaptureAVI_XINE_CPP::grabFrame() { return captureXINE ? icvGrabFrameAVI_XINE( captureXINE ) != 0 : false; } IplImage* CvCaptureAVI_XINE_CPP::retrieveFrame(int) { return captureXINE ? (IplImage*)icvRetrieveFrameAVI_XINE( captureXINE, 0 ) : 0; } double CvCaptureAVI_XINE_CPP::getProperty( int propId ) { return captureXINE ? icvGetPropertyAVI_XINE( captureXINE, propId ) : 0; } bool CvCaptureAVI_XINE_CPP::setProperty( int propId, double value ) { return captureXINE ? icvSetPropertyAVI_XINE( captureXINE, propId, value ) != 0 : false; } CvCapture* cvCreateFileCapture_XINE(const char* filename) { CvCaptureAVI_XINE_CPP* capture = new CvCaptureAVI_XINE_CPP; if( capture->open(filename)) return capture; delete capture; return 0; } #undef NDEBUG
85569cfa6a6b5250527eb585a1afe8d34960569d
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/c++/TileDB/2015/8/array.h
3d74f6c03b197132f61c125e4309ba7184f503f9
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
C++
false
false
6,177
h
/** * @file array.h * @author Stavros Papadopoulos <[email protected]> * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2014 Stavros Papadopoulos <[email protected]> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * * @section DESCRIPTION * * This file defines class Array. */ #ifndef ARRAY_H #define ARRAY_H #include "array_const_cell_iterator.h" #include "array_const_reverse_cell_iterator.h" #include "fragment.h" #include <inttypes.h> #include <vector> #include <string> /** An array is a collection of Fragment objects. */ class Array { public: // TYPE DEFINITIONS /** An array can be opened in READ, WRITE or APPEND mode. */ enum Mode {READ, WRITE, APPEND}; /** Mnemonic: (level, number of nodes) */ typedef std::pair<int, int> FragmentTreeLevel; /** Menmonic <(level, number of nodes), ...> */ typedef std::vector<FragmentTreeLevel> FragmentTree; // CONSTRUCTORS & DESTRUCTORS /** Constructor. */ Array(const std::string& workspace_, size_t segment_size, size_t write_state_max_size, const ArraySchema* array_schema, Mode mode); /** Destructor. */ ~Array(); // ACCESSORS /** Returns the array name. */ const std::string& array_name() const; /** Returns the array schema. */ const ArraySchema* array_schema() const; /** Returns a tile iterator for the input fragment and attribute. */ FragmentConstTileIterator begin(int fragment_id, int attribute_id) const; /** Checks if the array is empty. */ bool empty() const; /** Returns the number of fragments. */ int fragment_num() const; /** Returns the array mode. */ Mode mode() const; /** Returns a reverse tile iterator for the input fragment and attribute. */ FragmentConstReverseTileIterator rbegin( int fragment_id, int attribute_id) const; // MUTATORS /** * Forces the array to close, during abnormal execution. If the array was * opened in write or append mode, the last fragment is deleted (since * its creation procedure was interrupted). */ void forced_close(); /** Initializes a new fragment. */ void new_fragment(); /** * Writes a cell to the array. It takes as input a cell and its size. * The cell has the following format: The coordinates * appear first, and then the attribute values in the same order * as the attributes are defined in the array schema. */ template<class T> void write_cell(const void* cell) const; /** Writes a cell into the array, respecting the global cell order. */ template<class T> void write_cell_sorted(const void* cell); private: // PRIVATE ATTRIBUTES /** The array schema. */ const ArraySchema* array_schema_; /** The array fragments. */ std::vector<Fragment*> fragments_; /** The fragment tree of the array (book-keeping about all fragments). */ FragmentTree fragment_tree_; /** The mode in which the array was opened. */ Mode mode_; /** The next fragment sequence. */ int64_t next_fragment_seq_; /** The segment size. */ size_t segment_size_; /** The workspace where the array data are created. */ std::string workspace_; /** Max memory size of the write state when creating an array fragment. */ size_t write_state_max_size_; // PRIVATE METHODS /** Closes all the array fragments. */ void close_fragments(); /** * Consolidates fragments based on the consolidation step defined in the * array schema. */ void consolidate(); /** * Consolidates the array fragments using the eager algorithm. Specifically, * it always consolidates the (two) existing fragments. */ void consolidate_eagerly(); /** * Consolidates the array fragments using the eager algorithm. Specifically, * it always consolidates the (two) existing fragments. */ template<class T> void consolidate_eagerly(); /** * Consolidates the array fragments using the lazy algorithm. Specifically, * it always consolidates the latest c fragments, where c is the * consolidation step. */ void consolidate_lazily(); /** * Consolidates the array fragments using the lazy algorithm. Specifically, * it always consolidates the latest c fragments, where c is the * consolidation step. */ template<class T> void consolidate_lazily(); /** Deletes the i-th fragment from the array. */ void delete_fragment(int i); /** Deletes all fragments in the array. */ void delete_fragments(); /** Deletes the fragments whose ids are included in the input. */ void delete_fragments(const std::vector<int>& fragment_ids); /** * Flushes the fragment tree, i.e., the book-keeping structure about the * array fragments, to the disk. */ void flush_fragment_tree(); /** Returns all the existing fragment names. */ std::vector<std::string> get_fragment_names() const; /** * Loads the fragment tree, i.e., the book-keeping structure about the * array fragments. */ void load_fragment_tree(); /** Returns true if consolidation must take place. */ bool must_consolidate(); /** Opens all the existing array fragments. */ void open_fragments(); }; #endif
9f7c5308b1fe4492a30cb1fdb7163f3567c824c4
dfe2e057536d684728f570efb09ca9dfbd748185
/src/compat/strnlen.cpp
c78d0887e79ea8b2a83662e2c3ba76628e0665a6
[ "MIT" ]
permissive
sqoin/bastoji-master
8291d0270f33384c945b7357a6e9eb928341fa5d
67ac5cfbd93608cf43150b7747aba2d547517f28
refs/heads/master
2020-07-02T06:02:25.739105
2019-12-04T13:44:12
2019-12-04T13:44:12
201,434,364
0
0
null
null
null
null
UTF-8
C++
false
false
511
cpp
// Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bastoji-config.h" #endif #include <cstring> #if HAVE_DECL_STRNLEN == 0 size_t strnlen( const char *start, size_t max_len) { const char *end = (const char *)memchr(start, '\0', max_len); return end ? (size_t)(end - start) : max_len; } #endif // HAVE_DECL_STRNLEN
6fe9a26717c1d982ce6851938c5a4f08a6e0fb4c
3f7a2ce759343a07d0bff12c6da439c47af985da
/Daily Challenges/leetcode/Two Sum.cpp
4e0c94b84c94ab8c5c8824114c215dc45c411002
[]
no_license
rithwik27/Daily-Challenges
318f0bfcf5a00c6d6e315c2f9652fb90cd56aa27
0f299265a5b0e9d94d6dc5624b0e3b3d40b69228
refs/heads/master
2020-03-27T05:07:43.497425
2018-09-20T19:27:25
2018-09-20T19:27:25
145,995,844
0
0
null
null
null
null
UTF-8
C++
false
false
364
cpp
class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { for(int i=0;i<nums.size();i++) {for(int j=i+1;j<nums.size();j++) { if(nums[i]+nums[j]==target) { vector<int>ar ={i, j}; return ar; } } } } };
638c8ba70c7c9303bd9d895357f227d134f91016
b8499de1a793500b47f36e85828f997e3954e570
/v2_3/build/Android/Debug/app/src/main/jni/Fuse.g.cpp
439d50d6b03a4717722947a649d972d384475323
[]
no_license
shrivaibhav/boysinbits
37ccb707340a14f31bd57ea92b7b7ddc4859e989
04bb707691587b253abaac064317715adb9a9fe5
refs/heads/master
2020-03-24T05:22:21.998732
2018-07-26T20:06:00
2018-07-26T20:06:00
142,485,250
0
0
null
2018-07-26T20:03:22
2018-07-26T19:30:12
C++
UTF-8
C++
false
false
854,722
cpp
// This file was generated based on '(multiple files)'. // WARNING: Changes might be lost if you edit this file directly. #include <Android.Base.Wrappers.JWrapper.h> #include <Android.Base.Wrappers-88f7a41f.h> #include <Fuse.Android.AppRoot.h> #include <Fuse.Android.RootGraphicsView.h> #include <Fuse.Android.StatusBarConfig.h> #include <Fuse.Android.TextRenderer.h> #include <Fuse.AndroidProperties.h> #include <Fuse.App.h> #include <Fuse.App.RootViewHost.h> #include <Fuse.AppBase.h> #include <Fuse.Behavior.h> #include <Fuse.Binding.h> #include <Fuse.BoolComputer.h> #include <Fuse.Box.h> #include <Fuse.CacheFramebuffer.h> #include <Fuse.Collision.h> #include <Fuse.ComputeException.h> #include <Fuse.Computer.BoolOp.h> #include <Fuse.Computer.h> #include <Fuse.Computer.TypeOp.h> #include <Fuse.Computer1-1.h> #include <Fuse.Controls.GraphicsView.h> #include <Fuse.Controls.INativeViewRoot.h> #include <Fuse.Controls.ITextRenderer.h> #include <Fuse.Controls.Native.-6c93d881.h> #include <Fuse.Controls.Native.-e502cdf1.h> #include <Fuse.Controls.TextControl.h> #include <Fuse.Controls.TreeRen-26cd82a8.h> #include <Fuse.DeferredManager.h> #include <Fuse.Diagnostic.h> #include <Fuse.DiagnosticHandler.h> #include <Fuse.Diagnostics.h> #include <Fuse.Diagnostics.Temporal.h> #include <Fuse.DiagnosticType.h> #include <Fuse.DrawContext.h> #include <Fuse.FastMatrix.h> #include <Fuse.FastProperty1.h> #include <Fuse.FastProperty1Link.h> #include <Fuse.FastProperty1Link1-1.h> #include <Fuse.FastProperty2.h> #include <Fuse.FastProperty2Link.h> #include <Fuse.FastProperty2Link1-1.h> #include <Fuse.FileSourceConverter.h> #include <Fuse.FixedViewport.h> #include <Fuse.Float2Computer.h> #include <Fuse.Float3Computer.h> #include <Fuse.Float4Computer.h> #include <Fuse.Font.h> #include <Fuse.FramebufferPool.h> #include <Fuse.FramebufferPoolImpl.h> #include <Fuse.FrustumViewport.h> #include <Fuse.GraphicsWorker.h> #include <Fuse.HitTestCallback.h> #include <Fuse.HitTestContext.h> #include <Fuse.HitTestResult.h> #include <Fuse.IActualPlacement.h> #include <Fuse.IArray.h> #include <Fuse.IBeginRemoveVisu-90c91ef5.h> #include <Fuse.ICommonViewport.h> #include <Fuse.IDeferred.h> #include <Fuse.IFrame.h> #include <Fuse.IFrustum.h> #include <Fuse.ILoading.h> #include <Fuse.ILoadingStatic.h> #include <Fuse.INameListener.h> #include <Fuse.INotifyUnrooted.h> #include <Fuse.Input.Focus.h> #include <Fuse.Input.FocusNavig-66c283ba.h> #include <Fuse.Input.Keyboard.h> #include <Fuse.Internal.FontFac-589fc2ef.h> #include <Fuse.Internal.FrustumMatrix.h> #include <Fuse.Internal.RawPointer-1.h> #include <Fuse.Internal.SystemFont.h> #include <Fuse.InvalidateLayoutReason.h> #include <Fuse.IObject.h> #include <Fuse.IParentObserver.h> #include <Fuse.IPreviewStateSaver.h> #include <Fuse.IProperties.h> #include <Fuse.IRenderViewport.h> #include <Fuse.IScalingMode.h> #include <Fuse.ISourceLocation.h> #include <Fuse.ITemplateSource.h> #include <Fuse.ITransformMode.h> #include <Fuse.ITransformRelative.h> #include <Fuse.ITranslationMode.h> #include <Fuse.IUpdateListener.h> #include <Fuse.IViewport.h> #include <Fuse.JSFileSource.h> #include <Fuse.Json.Array.h> #include <Fuse.Json.h> #include <Fuse.Json.Object.h> #include <Fuse.KeyboardBootstrapper.h> #include <Fuse.Layer.h> #include <Fuse.LayoutDependent.h> #include <Fuse.LayoutParams.Flags.h> #include <Fuse.LayoutParams.h> #include <Fuse.LayoutPriority.h> #include <Fuse.LayoutRole.h> #include <Fuse.LostMarginBoxArgs.h> #include <Fuse.LostMarginBoxHandler.h> #include <Fuse.Marshal.h> #include <Fuse.Marshal.IConverter.h> #include <Fuse.Marshal.SingleArray.h> #include <Fuse.MarshalException.h> #include <Fuse.MobileBootstrapping.h> #include <Fuse.NameRegistry.h> #include <Fuse.NameValuePair.h> #include <Fuse.Node.ContextDataResult.h> #include <Fuse.Node.DataType.h> #include <Fuse.Node.DataWatcher.h> #include <Fuse.Node.h> #include <Fuse.Node.IDataListener.h> #include <Fuse.Node.ISiblingDataProvider.h> #include <Fuse.Node.ISubtreeDataProvider.h> #include <Fuse.Node.NodeDataSubscription.h> #include <Fuse.NodeGroupBase.Co-a2bdc185.h> #include <Fuse.NodeGroupBase.EmptyNode.h> #include <Fuse.NodeGroupBase.h> #include <Fuse.NumberComputer.h> #include <Fuse.OrthographicFrustum.h> #include <Fuse.PendingRemoveVisual.h> #include <Fuse.PlacedArgs.h> #include <Fuse.PlacedHandler.h> #include <Fuse.Platform.AppEvents.h> #include <Fuse.Platform.ApplicationState.h> #include <Fuse.Platform.Lifecycle.h> #include <Fuse.Platform.SystemUI.h> #include <Fuse.PreviewState.h> #include <Fuse.PreviewStateData.Entry.h> #include <Fuse.PreviewStateData.h> #include <Fuse.Properties.h> #include <Fuse.PropertyHandle.h> #include <Fuse.Ray.h> #include <Fuse.RelativeTransform-1.h> #include <Fuse.RenderTargetEntry.h> #include <Fuse.RequestBringInto-2d120b4f.h> #include <Fuse.RequestBringIntoViewArgs.h> #include <Fuse.Resources.DisposalManager.h> #include <Fuse.Resources.DisposalRequest.h> #include <Fuse.Resources.Resour-fabdcc8b.h> #include <Fuse.RootStage.h> #include <Fuse.RootViewport.h> #include <Fuse.Rotation.h> #include <Fuse.Scaling.h> #include <Fuse.ScalingModes.h> #include <Fuse.ScalingModes.IdentityMode.h> #include <Fuse.Scripting.Context.h> #include <Fuse.Scripting.External.h> #include <Fuse.Scripting.Function.h> #include <Fuse.Scripting.IEvent-434826af.h> #include <Fuse.Scripting.IFunctionMirror.h> #include <Fuse.Scripting.IThreadWorker.h> #include <Fuse.Scripting.Script-102b1113.h> #include <Fuse.Scripting.Script-bdee7548.h> #include <Fuse.Scripting.ScriptClass.h> #include <Fuse.Scripting.ScriptMember.h> #include <Fuse.Scripting.ScriptMethod1-1.h> #include <Fuse.Shear.h> #include <Fuse.Size2Computer.h> #include <Fuse.SizeComputer.h> #include <Fuse.Stage.h> #include <Fuse.StringComputer.h> #include <Fuse.SystemFont.h> #include <Fuse.SystemFont.Style.h> #include <Fuse.SystemFont.Weight.h> #include <Fuse.SystemUIFrame.h> #include <Fuse.TemplateSourceImpl.h> #include <Fuse.Time.h> #include <Fuse.Timer.h> #include <Fuse.Transform.h> #include <Fuse.Translation.h> #include <Fuse.TranslationModes.h> #include <Fuse.TranslationModes.SizeMode.h> #include <Fuse.TranslationModes-400fada6.h> #include <Fuse.TranslationModes-5183f957.h> #include <Fuse.TranslationModes-98d57f14.h> #include <Fuse.TranslationModes-f01a2450.h> #include <Fuse.UnhandledExceptionArgs.h> #include <Fuse.UnhandledExceptionHandler.h> #include <Fuse.UpdateAction.h> #include <Fuse.UpdateDispatcher.h> #include <Fuse.UpdateListener.h> #include <Fuse.UpdateManager.h> #include <Fuse.UpdateStage.h> #include <Fuse.UserEvent.h> #include <Fuse.UserEventArgs.h> #include <Fuse.UserEventDispatch.h> #include <Fuse.UserEventHandler.h> #include <Fuse.ViewportHelpers.h> #include <Fuse.Visual.CancelInt-459c56d4.h> #include <Fuse.Visual.Enumerator-1.h> #include <Fuse.Visual.h> #include <Fuse.Visual.HitTestRecord.h> #include <Fuse.Visual.HitTestTr-39a91efd.h> #include <Fuse.Visual.InteractionItem.h> #include <Fuse.Visual.ParameterProperty.h> #include <Fuse.Visual.SafeIterator.h> #include <Fuse.Visual.VisualBits.h> #include <Fuse.VisualBounds.h> #include <Fuse.VisualBounds.Type.h> #include <Fuse.VisualContext.h> #include <Fuse.VisualEvent-2.h> #include <Fuse.VisualEventArgs.h> #include <Fuse.VisualEventHandler.h> #include <Fuse.VisualEventMode.h> #include <Fuse.VisualListCache.h> #include <Fuse.WrapException.h> #include <jni.h> #include <OpenGL.GL.h> #include <OpenGL.GLClearBufferMask.h> #include <OpenGL.GLEnableCap.h> #include <OpenGL.GLError.h> #include <OpenGL.GLFramebufferHandle.h> #include <OpenGL.GLFramebufferTarget.h> #include <OpenGL.GLInteger4Name.h> #include <Uno.Action.h> #include <Uno.Action1-1.h> #include <Uno.Action2-2.h> #include <Uno.AggregateException.h> #include <Uno.ArgumentException.h> #include <Uno.ArgumentNullException.h> #include <Uno.Array.h> #include <Uno.Bool.h> #include <Uno.Byte.h> #include <Uno.Char.h> #include <Uno.Collections.Dicti-87d2e37d.h> #include <Uno.Collections.Dicti-d1699346.h> #include <Uno.Collections.Dictionary-2.h> #include <Uno.Collections.Enume-8ddd045.h> #include <Uno.Collections.HashSet-1.h> #include <Uno.Collections.ICollection-1.h> #include <Uno.Collections.IEnumerable-1.h> #include <Uno.Collections.IEnumerator.h> #include <Uno.Collections.IEnumerator1-1.h> #include <Uno.Collections.IList-1.h> #include <Uno.Collections.IList-b56be992.h> #include <Uno.Collections.KeyValuePair-2.h> #include <Uno.Collections.List-1.h> #include <Uno.Collections.List--251bdc7d.h> #include <Uno.Collections.Prior-7cf783be.h> #include <Uno.Collections.Prior-bb0a4ec8.h> #include <Uno.Collections.Queue-1.h> #include <Uno.Collections.RootableList-1.h> #include <Uno.Color.h> #include <Uno.Comparison-1.h> #include <Uno.Compiler.ExportTa-39be7c2b.h> #include <Uno.Data.Json.JsonDataType.h> #include <Uno.Data.Json.JsonReader.h> #include <Uno.Data.Json.JsonWriter.h> #include <Uno.Delegate.h> #include <Uno.Diagnostics.Clock.h> #include <Uno.Diagnostics.Debug.h> #include <Uno.Diagnostics.Debug-5d778620.h> #include <Uno.Double.h> #include <Uno.Enum.h> #include <Uno.EventArgs.h> #include <Uno.EventHandler.h> #include <Uno.EventHandler1-1.h> #include <Uno.Exception.h> #include <Uno.Float.h> #include <Uno.Float2.h> #include <Uno.Float3.h> #include <Uno.Float4.h> #include <Uno.Float4x4.h> #include <Uno.Func1-2.h> #include <Uno.Func3-4.h> #include <Uno.Graphics.Format.h> #include <Uno.Graphics.Framebuffer.h> #include <Uno.Graphics.FramebufferFlags.h> #include <Uno.Graphics.PolygonFace.h> #include <Uno.Graphics.RenderTarget.h> #include <Uno.Graphics.Texture2D.h> #include <Uno.IDisposable.h> #include <Uno.IndexOutOfRangeException.h> #include <Uno.Int.h> #include <Uno.Int2.h> #include <Uno.IO.Bundle.h> #include <Uno.IO.BundleFile.h> #include <Uno.IO.File.h> #include <Uno.IO.FileStream.h> #include <Uno.IO.Stream.h> #include <Uno.Math.h> #include <Uno.Matrix.h> #include <Uno.Object.h> #include <Uno.Platform.CoreApp.h> #include <Uno.Platform.Display.h> #include <Uno.Platform.Displays.h> #include <Uno.Platform.EventSou-b16da529.h> #include <Uno.Platform.Key.h> #include <Uno.Platform.KeyEventArgs.h> #include <Uno.Platform.TimerEventArgs.h> #include <Uno.Predicate-1.h> #include <Uno.Quaternion.h> #include <Uno.Rect.h> #include <Uno.Recti.h> #include <Uno.Runtime.Implement-5299dae0.h> #include <Uno.Runtime.Implement-eca777ec.h> #include <Uno.SByte.h> #include <Uno.Short.h> #include <Uno.String.h> #include <Uno.Text.StringBuilder.h> #include <Uno.Threading.AutoResetEvent.h> #include <Uno.Threading.Concurr-cd310558.h> #include <Uno.Threading.EventWaitHandle.h> #include <Uno.Threading.IDispatcher.h> #include <Uno.Threading.Monitor.h> #include <Uno.Threading.Thread.h> #include <Uno.Threading.ThreadStart.h> #include <Uno.Type.h> #include <Uno.UInt.h> #include <Uno.UShort.h> #include <Uno.UX.BundleFileSource.h> #include <Uno.UX.FileSource.h> #include <Uno.UX.IPropertyListener.h> #include <Uno.UX.Property1-1.h> #include <Uno.UX.PropertyObject.h> #include <Uno.UX.Resource.h> #include <Uno.UX.Selector.h> #include <Uno.UX.Size.h> #include <Uno.UX.Size2.h> #include <Uno.UX.Template.h> #include <Uno.UX.Unit.h> #include <Uno.Vector.h> #include <Uno/Graphics/GLHelper.h> #include <Uno/JNIHelper.h> static uString* STRINGS[76]; static uType* TYPES[87]; namespace g{ namespace Fuse{ // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Android\1.9.0\AndroidProperties.uno // ------------------------------------------------------------------------------------------ // public static extern class AndroidProperties :9 // { static void AndroidProperties_build(uType* type) { } uClassType* AndroidProperties_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.AndroidProperties", options); type->fp_build_ = AndroidProperties_build; return type; } // private static string GetReleaseVersion() :29 void AndroidProperties__GetReleaseVersion_fn(uString** __retval) { *__retval = AndroidProperties::GetReleaseVersion(); } // public static string get_ReleaseVersion() :19 void AndroidProperties__get_ReleaseVersion_fn(uString** __retval) { *__retval = AndroidProperties::ReleaseVersion(); } // private static string GetReleaseVersion() [static] :29 uString* AndroidProperties::GetReleaseVersion() { { INIT_JNI; jclass __cls = JniHelper::GetNativeExternClass(); WITH_STATIC_JAVA_METHOD(__mtd, __cls, "GetReleaseVersion373", "()Ljava/lang/String;"); jobject __jresult = U_JNIVAR->CallStaticObjectMethod(__cls,__mtd); uString* __result = JniHelper::JavaToUnoString((jstring)__jresult); if (__jresult!=NULL && U_JNIVAR->GetObjectRefType(__jresult) == JNILocalRefType) U_JNIVAR->DeleteLocalRef(__jresult); ::g::Android::Base::JNI::CheckException(); return __result; } } // public static string get_ReleaseVersion() [static] :19 uString* AndroidProperties::ReleaseVersion() { return AndroidProperties::GetReleaseVersion(); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Android\1.9.0\AndroidApp.uno // ----------------------------------------------------------------------------------- // public abstract extern class App :13 // { static void App_build(uType* type) { type->SetDependencies( ::g::Fuse::Android::AppRoot_typeof(), ::g::Uno::Platform::Displays_typeof(), ::g::Fuse::Android::StatusBarConfig_typeof(), ::g::Fuse::Controls::TextControl_typeof()); type->SetInterfaces( ::g::Fuse::IProperties_typeof(), offsetof(::g::Fuse::AppBase_type, interface0)); type->SetFields(5, ::g::Fuse::Controls::TreeRendererPanel_typeof(), offsetof(App, _renderPanel), 0, ::g::Fuse::Controls::GraphicsView_typeof(), offsetof(App, _graphicsView), 0); } ::g::Fuse::AppBase_type* App_typeof() { static uSStrong< ::g::Fuse::AppBase_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::AppBase_typeof(); options.FieldCount = 7; options.InterfaceCount = 1; options.DependencyCount = 4; options.ObjectSize = sizeof(App); options.TypeSize = sizeof(::g::Fuse::AppBase_type); type = (::g::Fuse::AppBase_type*)uClassType::New("Fuse.App", options); type->fp_build_ = App_build; type->fp_get_Children = (void(*)(::g::Fuse::AppBase*, uObject**))App__get_Children_fn; type->interface0.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::AppBase__get_Properties_fn; return type; } // public App() :38 void App__ctor_3_fn(App* __this) { __this->ctor_3(); } // public override sealed Uno.Collections.IList<Fuse.Node> get_Children() :59 void App__get_Children_fn(App* __this, uObject** __retval) { return *__retval = uPtr(__this->RootVisual())->Children(), void(); } // public Fuse.Visual get_ChildrenVisual() :64 void App__get_ChildrenVisual_fn(App* __this, ::g::Fuse::Visual** __retval) { *__retval = __this->ChildrenVisual(); } // private void OnTick(object sender, Uno.Platform.TimerEventArgs args) :67 void App__OnTick_fn(App* __this, uObject* sender, ::g::Uno::Platform::TimerEventArgs* args) { __this->OnTick(sender, args); } // private void PropagateBackground() :91 void App__PropagateBackground_fn(App* __this) { __this->PropagateBackground(); } // private Fuse.Visual get_RootVisual() :29 void App__get_RootVisual_fn(App* __this, ::g::Fuse::Visual** __retval) { *__retval = __this->RootVisual(); } // public App() [instance] :38 void App::ctor_3() { _graphicsView = ::g::Fuse::Android::RootGraphicsView::New4(); ctor_2(); ::g::Fuse::Android::StatusBarConfig::SetStatusBarColor(::g::Uno::Float4__New1(0.0f)); ::g::Fuse::Controls::TextControl::TextRendererFactory(uDelegate::New(::g::Uno::Func1_typeof()->MakeType(::g::Fuse::Controls::TextControl_typeof(), ::g::Fuse::Controls::ITextRenderer_typeof(), NULL), (void*)::g::Fuse::Android::TextRenderer__Create_fn)); _renderPanel = ::g::Fuse::Controls::TreeRendererPanel::New4((uObject*)App__RootViewHost::New1()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(_renderPanel)->Children()), ::TYPES[59/*Uno.Collections.ICollection<Fuse.Node>*/]), _graphicsView); ::g::Fuse::MobileBootstrapping::Init(); RootViewport(::g::Fuse::Controls::Native::NativeRootViewport::New4(::g::Fuse::Android::AppRoot::ViewHandle())); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(RootViewport())->Children()), ::TYPES[59/*Uno.Collections.ICollection<Fuse.Node>*/]), _renderPanel); uPtr(::g::Uno::Platform::Displays::MainDisplay())->add_Tick(uDelegate::New(::g::Uno::EventHandler1_typeof()->MakeType(::g::Uno::Platform::TimerEventArgs_typeof(), NULL), (void*)App__OnTick_fn, this)); } // public Fuse.Visual get_ChildrenVisual() [instance] :64 ::g::Fuse::Visual* App::ChildrenVisual() { return RootVisual(); } // private void OnTick(object sender, Uno.Platform.TimerEventArgs args) [instance] :67 void App::OnTick(uObject* sender, ::g::Uno::Platform::TimerEventArgs* args) { uPtr(RootViewport())->InvalidateLayout(2); try { { PropagateBackground(); } } catch (const uThrowable& __t) { ::g::Uno::Exception* e = __t.Exception; ::g::Fuse::AppBase::OnUnhandledExceptionInternal(e); } ::g::Fuse::Time::Set(uPtr(args)->CurrentTime()); try { { OnUpdate(); } } catch (const uThrowable& __t) { ::g::Uno::Exception* e1 = __t.Exception; ::g::Fuse::AppBase::OnUnhandledExceptionInternal(e1); } } // private void PropagateBackground() [instance] :91 void App::PropagateBackground() { uPtr(_graphicsView)->Color(Background()); } // private Fuse.Visual get_RootVisual() [instance] :29 ::g::Fuse::Visual* App::RootVisual() { return _graphicsView; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\AppBase.uno // ------------------------------------------------------------------------------ // public abstract class AppBase :41 // { static void AppBase_build(uType* type) { ::STRINGS[0] = uString::Const("No AppBase Current defined"); ::STRINGS[1] = uString::Const("No RootViewport defined"); ::TYPES[0] = ::g::Uno::Action1_typeof()->MakeType(::g::Fuse::Platform::ApplicationState_typeof(), NULL); ::TYPES[1] = ::g::Uno::Action_typeof(); ::TYPES[2] = ::g::Fuse::UnhandledExceptionHandler_typeof(); type->SetDependencies( ::g::Fuse::Platform::AppEvents_typeof(), ::g::Uno::Platform::CoreApp_typeof(), ::g::Uno::Diagnostics::Debug_typeof(), ::g::Fuse::Resources::DisposalManager_typeof(), ::g::Fuse::Platform::Lifecycle_typeof(), ::g::Fuse::UpdateManager_typeof()); type->SetInterfaces( ::g::Fuse::IProperties_typeof(), offsetof(AppBase_type, interface0)); type->SetFields(1, ::g::Fuse::Properties_typeof(), offsetof(AppBase, _properties), 0, ::g::Uno::Float4_typeof(), offsetof(AppBase, _Background), 0, ::g::Fuse::RootViewport_typeof(), offsetof(AppBase, _RootViewport), 0, ::TYPES[2/*Fuse.UnhandledExceptionHandler*/], offsetof(AppBase, UnhandledException1), 0, ::g::Fuse::RootViewport_typeof(), (uintptr_t)&AppBase::_testRootViewport_, uFieldFlagsStatic); } AppBase_type* AppBase_typeof() { static uSStrong<AppBase_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::Application_typeof(); options.FieldCount = 6; options.InterfaceCount = 1; options.DependencyCount = 6; options.ObjectSize = sizeof(AppBase); options.TypeSize = sizeof(AppBase_type); type = (AppBase_type*)uClassType::New("Fuse.AppBase", options); type->fp_build_ = AppBase_build; type->interface0.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))AppBase__get_Properties_fn; return type; } // protected AppBase() :55 void AppBase__ctor_2_fn(AppBase* __this) { __this->ctor_2(); } // public generated float4 get_Background() :226 void AppBase__get_Background_fn(AppBase* __this, ::g::Uno::Float4* __retval) { *__retval = __this->Background(); } // public generated void set_Background(float4 value) :226 void AppBase__set_Background_fn(AppBase* __this, ::g::Uno::Float4* value) { __this->Background(*value); } // public static new Fuse.AppBase get_Current() :184 void AppBase__get_Current2_fn(AppBase** __retval) { *__retval = AppBase::Current2(); } // internal static Fuse.RootViewport get_CurrentRootViewport() :196 void AppBase__get_CurrentRootViewport_fn(::g::Fuse::RootViewport** __retval) { *__retval = AppBase::CurrentRootViewport(); } // private void OnEnteringBackground(Fuse.Platform.ApplicationState s) :127 void AppBase__OnEnteringBackground_fn(AppBase* __this, int32_t* s) { __this->OnEnteringBackground(*s); } // private void OnLowMemory() :132 void AppBase__OnLowMemory_fn(AppBase* __this) { __this->OnLowMemory(); } // public void OnUnhandledException(Uno.Exception e, [bool propagate]) :157 void AppBase__OnUnhandledException_fn(AppBase* __this, ::g::Uno::Exception* e, bool* propagate) { __this->OnUnhandledException(e, *propagate); } // internal static void OnUnhandledExceptionInternal(Uno.Exception e) :174 void AppBase__OnUnhandledExceptionInternal_fn(::g::Uno::Exception* e) { AppBase::OnUnhandledExceptionInternal(e); } // protected void OnUpdate() :250 void AppBase__OnUpdate_fn(AppBase* __this) { __this->OnUpdate(); } // internal float get_PixelsPerPoint() :92 void AppBase__get_PixelsPerPoint_fn(AppBase* __this, float* __retval) { *__retval = __this->PixelsPerPoint(); } // public Fuse.Properties get_Properties() :52 void AppBase__get_Properties_fn(AppBase* __this, ::g::Fuse::Properties** __retval) { *__retval = __this->Properties(); } // public generated Fuse.RootViewport get_RootViewport() :47 void AppBase__get_RootViewport_fn(AppBase* __this, ::g::Fuse::RootViewport** __retval) { *__retval = __this->RootViewport(); } // protected generated void set_RootViewport(Fuse.RootViewport value) :47 void AppBase__set_RootViewport_fn(AppBase* __this, ::g::Fuse::RootViewport* value) { __this->RootViewport(value); } // public generated void add_UnhandledException(Fuse.UnhandledExceptionHandler value) :146 void AppBase__add_UnhandledException_fn(AppBase* __this, uDelegate* value) { __this->add_UnhandledException(value); } // public generated void remove_UnhandledException(Fuse.UnhandledExceptionHandler value) :146 void AppBase__remove_UnhandledException_fn(AppBase* __this, uDelegate* value) { __this->remove_UnhandledException(value); } uSStrong< ::g::Fuse::RootViewport*> AppBase::_testRootViewport_; // protected AppBase() [instance] :55 void AppBase::ctor_2() { ctor_1(); Background(::g::Uno::Float4__New1(1.0f)); ::g::Fuse::Platform::Lifecycle::add_EnteringBackground(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)AppBase__OnEnteringBackground_fn, this)); ::g::Fuse::Platform::AppEvents::add_LowMemoryWarning(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)AppBase__OnLowMemory_fn, this)); } // public generated float4 get_Background() [instance] :226 ::g::Uno::Float4 AppBase::Background() { return _Background; } // public generated void set_Background(float4 value) [instance] :226 void AppBase::Background(::g::Uno::Float4 value) { ::g::Uno::Float4 value_ = value; _Background = value_; } // private void OnEnteringBackground(Fuse.Platform.ApplicationState s) [instance] :127 void AppBase::OnEnteringBackground(int32_t s) { ::g::Fuse::Resources::DisposalManager::Clean(1); } // private void OnLowMemory() [instance] :132 void AppBase::OnLowMemory() { ::g::Fuse::Resources::DisposalManager::Clean(2); } // public void OnUnhandledException(Uno.Exception e, [bool propagate]) [instance] :157 void AppBase::OnUnhandledException(::g::Uno::Exception* e, bool propagate) { ::g::Uno::Diagnostics::Debug::Log2(uPtr(e)->ToString(), 3); if (::g::Uno::Delegate::op_Inequality(UnhandledException1, NULL)) { ::g::Fuse::UnhandledExceptionArgs* args = ::g::Fuse::UnhandledExceptionArgs::New2(e); uPtr(UnhandledException1)->Invoke(2, this, args); if (args->IsHandled()) return; } if (propagate) U_THROW(::g::Fuse::WrapException::New4(e)); } // protected void OnUpdate() [instance] :250 void AppBase::OnUpdate() { ::g::Fuse::UpdateManager::Update(); ::g::Fuse::UpdateManager::IncreaseFrameIndex(); } // internal float get_PixelsPerPoint() [instance] :92 float AppBase::PixelsPerPoint() { if (RootViewport() == NULL) return 1.0f; return uPtr(RootViewport())->PixelsPerPoint(); } // public Fuse.Properties get_Properties() [instance] :52 ::g::Fuse::Properties* AppBase::Properties() { ::g::Fuse::Properties* ind1; ind1 = _properties; return (ind1 != NULL) ? ind1 : (::g::Fuse::Properties*)(_properties = ::g::Fuse::Properties::New1()); } // public generated Fuse.RootViewport get_RootViewport() [instance] :47 ::g::Fuse::RootViewport* AppBase::RootViewport() { return _RootViewport; } // protected generated void set_RootViewport(Fuse.RootViewport value) [instance] :47 void AppBase::RootViewport(::g::Fuse::RootViewport* value) { _RootViewport = value; } // public generated void add_UnhandledException(Fuse.UnhandledExceptionHandler value) [instance] :146 void AppBase::add_UnhandledException(uDelegate* value) { UnhandledException1 = uCast<uDelegate*>(::g::Uno::Delegate::Combine(UnhandledException1, value), ::TYPES[2/*Fuse.UnhandledExceptionHandler*/]); } // public generated void remove_UnhandledException(Fuse.UnhandledExceptionHandler value) [instance] :146 void AppBase::remove_UnhandledException(uDelegate* value) { UnhandledException1 = uCast<uDelegate*>(::g::Uno::Delegate::Remove(UnhandledException1, value), ::TYPES[2/*Fuse.UnhandledExceptionHandler*/]); } // internal static void OnUnhandledExceptionInternal(Uno.Exception e) [static] :174 void AppBase::OnUnhandledExceptionInternal(::g::Uno::Exception* e) { AppBase* app = AppBase::Current2(); if (app != NULL) uPtr(app)->OnUnhandledException(e, true); } // public static new Fuse.AppBase get_Current() [static] :184 AppBase* AppBase::Current2() { return uAs<AppBase*>(::g::Uno::Platform::CoreApp::Current(), AppBase_typeof()); } // internal static Fuse.RootViewport get_CurrentRootViewport() [static] :196 ::g::Fuse::RootViewport* AppBase::CurrentRootViewport() { if (AppBase::_testRootViewport_ != NULL) return AppBase::_testRootViewport_; if (AppBase::Current2() == NULL) U_THROW(::g::Uno::Exception::New2(::STRINGS[0/*"No AppBase ...*/])); ::g::Fuse::RootViewport* rv = uPtr(AppBase::Current2())->RootViewport(); if (rv == NULL) U_THROW(::g::Uno::Exception::New2(::STRINGS[1/*"No RootView...*/])); return rv; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Json.Parse.uno // ---------------------------------------------------------------------------------- // private sealed class Json.Array :83 // { static void Json__Array_build(uType* type) { type->SetInterfaces( ::g::Fuse::IArray_typeof(), offsetof(Json__Array_type, interface0)); type->SetFields(0, uObject_typeof()->Array(), offsetof(Json__Array, _array), 0); } Json__Array_type* Json__Array_typeof() { static uSStrong<Json__Array_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.InterfaceCount = 1; options.ObjectSize = sizeof(Json__Array); options.TypeSize = sizeof(Json__Array_type); type = (Json__Array_type*)uClassType::New("Fuse.Json.Array", options); type->fp_build_ = Json__Array_build; type->interface0.fp_get_Length = (void(*)(uObject*, int32_t*))Json__Array__get_Length_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uObject**))Json__Array__get_Item_fn; return type; } // public Array(object[] array) :87 void Json__Array__ctor__fn(Json__Array* __this, uArray* array) { __this->ctor_(array); } // public object get_Item(int index) :99 void Json__Array__get_Item_fn(Json__Array* __this, int32_t* index, uObject** __retval) { *__retval = __this->Item(*index); } // public int get_Length() :94 void Json__Array__get_Length_fn(Json__Array* __this, int32_t* __retval) { *__retval = __this->Length(); } // public Array New(object[] array) :87 void Json__Array__New1_fn(uArray* array, Json__Array** __retval) { *__retval = Json__Array::New1(array); } // public Array(object[] array) [instance] :87 void Json__Array::ctor_(uArray* array) { _array = array; } // public object get_Item(int index) [instance] :99 uObject* Json__Array::Item(int32_t index) { return uPtr(_array)->Strong<uObject*>(index); } // public int get_Length() [instance] :94 int32_t Json__Array::Length() { return uPtr(_array)->Length(); } // public Array New(object[] array) [static] :87 Json__Array* Json__Array::New1(uArray* array) { Json__Array* obj1 = (Json__Array*)uNew(Json__Array_typeof()); obj1->ctor_(array); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Behavior.uno // ------------------------------------------------------------------------------- // public abstract class Behavior :6 // { static void Behavior_build(uType* type) { type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(::g::Fuse::Node_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(::g::Fuse::Node_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(::g::Fuse::Node_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(::g::Fuse::Node_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface6)); type->SetFields(17); } ::g::Fuse::Node_type* Behavior_typeof() { static uSStrong< ::g::Fuse::Node_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Node_typeof(); options.FieldCount = 17; options.InterfaceCount = 7; options.ObjectSize = sizeof(Behavior); options.TypeSize = sizeof(::g::Fuse::Node_type); type = (::g::Fuse::Node_type*)uClassType::New("Fuse.Behavior", options); type->fp_build_ = Behavior_build; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // protected generated Behavior() :6 void Behavior__ctor_2_fn(Behavior* __this) { __this->ctor_2(); } // protected generated Behavior() [instance] :6 void Behavior::ctor_2() { ctor_1(); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Binding.uno // ------------------------------------------------------------------------------ // public abstract class Binding :5 // { static void Binding_build(uType* type) { ::STRINGS[2] = uString::Const("double Binding rooting detected"); ::STRINGS[3] = uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.Nodes\\1.9.0\\Binding.uno"); ::STRINGS[4] = uString::Const("Root"); ::STRINGS[5] = uString::Const("double Binding unrooting detected"); ::STRINGS[6] = uString::Const("Unroot"); type->SetFields(0, ::g::Fuse::Node_typeof(), offsetof(Binding, _Parent), 0); } Binding_type* Binding_typeof() { static uSStrong<Binding_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.ObjectSize = sizeof(Binding); options.TypeSize = sizeof(Binding_type); type = (Binding_type*)uClassType::New("Fuse.Binding", options); type->fp_build_ = Binding_build; type->fp_OnRooted = Binding__OnRooted_fn; type->fp_OnUnrooted = Binding__OnUnrooted_fn; return type; } // protected generated Binding() :5 void Binding__ctor__fn(Binding* __this) { __this->ctor_(); } // protected virtual void OnRooted() :10 void Binding__OnRooted_fn(Binding* __this) { } // protected virtual void OnUnrooted() :11 void Binding__OnUnrooted_fn(Binding* __this) { } // public generated Fuse.Node get_Parent() :8 void Binding__get_Parent_fn(Binding* __this, ::g::Fuse::Node** __retval) { *__retval = __this->Parent(); } // private generated void set_Parent(Fuse.Node value) :8 void Binding__set_Parent_fn(Binding* __this, ::g::Fuse::Node* value) { __this->Parent(value); } // internal void Root(Fuse.Node parent) :13 void Binding__Root_fn(Binding* __this, ::g::Fuse::Node* parent) { __this->Root(parent); } // internal void Unroot() :22 void Binding__Unroot_fn(Binding* __this) { __this->Unroot(); } // protected generated Binding() [instance] :5 void Binding::ctor_() { } // public generated Fuse.Node get_Parent() [instance] :8 ::g::Fuse::Node* Binding::Parent() { return _Parent; } // private generated void set_Parent(Fuse.Node value) [instance] :8 void Binding::Parent(::g::Fuse::Node* value) { _Parent = value; } // internal void Root(Fuse.Node parent) [instance] :13 void Binding::Root(::g::Fuse::Node* parent) { if (Parent() != NULL) ::g::Fuse::Diagnostics::InternalError(::STRINGS[2/*"double Bind...*/], this, ::STRINGS[3/*"C:\\Users\\...*/], 16, ::STRINGS[4/*"Root"*/]); Parent(parent); OnRooted(); } // internal void Unroot() [instance] :22 void Binding::Unroot() { if (Parent() == NULL) ::g::Fuse::Diagnostics::InternalError(::STRINGS[5/*"double Bind...*/], this, ::STRINGS[3/*"C:\\Users\\...*/], 25, ::STRINGS[6/*"Unroot"*/]); OnUnrooted(); Parent(NULL); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // internal sealed class BoolComputer :136 // { static void BoolComputer_build(uType* type) { type->SetBase(::g::Fuse::Computer1_typeof()->MakeType(::g::Uno::Bool_typeof(), NULL)); } ::g::Fuse::Computer1_type* BoolComputer_typeof() { static uSStrong< ::g::Fuse::Computer1_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Computer1_typeof(); options.ObjectSize = sizeof(BoolComputer); options.TypeSize = sizeof(::g::Fuse::Computer1_type); type = (::g::Fuse::Computer1_type*)uClassType::New("Fuse.BoolComputer", options); type->fp_build_ = BoolComputer_build; type->fp_ctor_ = (void*)BoolComputer__New1_fn; type->fp_TryOpImpl = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, bool*, bool*))BoolComputer__TryOpImpl_fn; type->fp_TryOpImpl1 = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, uTRef, bool*))BoolComputer__TryOpImpl1_fn; return type; } // public generated BoolComputer() :136 void BoolComputer__ctor_2_fn(BoolComputer* __this) { __this->ctor_2(); } // public generated BoolComputer New() :136 void BoolComputer__New1_fn(BoolComputer** __retval) { *__retval = BoolComputer::New1(); } // protected override sealed bool TryOpImpl(Fuse.Computer.BoolOp op, bool a, bool b, bool& result) :144 void BoolComputer__TryOpImpl_fn(BoolComputer* __this, int32_t* op, bool* a, bool* b, bool* result, bool* __retval) { int32_t op_ = *op; bool a_ = *a; bool b_ = *b; switch (op_) { case 4: { *result = a_ == b_; return *__retval = true, void(); } } *result = false; return *__retval = false, void(); } // protected override sealed bool TryOpImpl(Fuse.Computer.TypeOp op, bool a, bool b, bool& result) :138 void BoolComputer__TryOpImpl1_fn(BoolComputer* __this, int32_t* op, bool* a, bool* b, bool* result, bool* __retval) { *result = false; return *__retval = false, void(); } // public generated BoolComputer() [instance] :136 void BoolComputer::ctor_2() { ctor_1(); } // public generated BoolComputer New() [static] :136 BoolComputer* BoolComputer::New1() { BoolComputer* obj1 = (BoolComputer*)uNew(BoolComputer_typeof()); obj1->ctor_2(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // public enum Computer.BoolOp :27 uEnumType* Computer__BoolOp_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.Computer.BoolOp", ::g::Uno::Int_typeof(), 5); type->SetLiterals( "LessThan", 0LL, "LessOrEqual", 1LL, "GreaterThan", 2LL, "GreaterOrEqual", 3LL, "EqualTo", 4LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Box.uno // --------------------------------------------------------------------------- // public struct Box :5 // { static void Box_build(uType* type) { type->SetFields(0, ::g::Uno::Float3_typeof(), offsetof(Box, Minimum), 0, ::g::Uno::Float3_typeof(), offsetof(Box, Maximum), 0); } uStructType* Box_typeof() { static uSStrong<uStructType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.Alignment = alignof(Box); options.ValueSize = sizeof(Box); options.TypeSize = sizeof(uStructType); type = uStructType::New("Fuse.Box", options); type->fp_build_ = Box_build; return type; } // public Box(float3 min, float3 max) :9 void Box__ctor__fn(Box* __this, ::g::Uno::Float3* min, ::g::Uno::Float3* max) { __this->ctor_(*min, *max); } // public Box New(float3 min, float3 max) :9 void Box__New1_fn(::g::Uno::Float3* min, ::g::Uno::Float3* max, Box* __retval) { *__retval = Box__New1(*min, *max); } // public Box(float3 min, float3 max) [instance] :9 void Box::ctor_(::g::Uno::Float3 min, ::g::Uno::Float3 max) { Minimum = min; Maximum = max; } // public Box New(float3 min, float3 max) [static] :9 Box Box__New1(::g::Uno::Float3 min, ::g::Uno::Float3 max) { Box obj9; obj9.ctor_(min, max); return obj9; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\CacheFramebuffer.uno // ---------------------------------------------------------------------------------------- // internal sealed class CacheFramebuffer :8 // { static void CacheFramebuffer_build(uType* type) { ::STRINGS[7] = uString::Const("Cannot access unpinned CacheFramebuffer"); type->SetFields(0, ::g::Uno::Bool_typeof(), offsetof(CacheFramebuffer, _isPinned), 0, ::g::Uno::Graphics::Framebuffer_typeof(), offsetof(CacheFramebuffer, _fb), 0, ::g::Uno::Bool_typeof(), offsetof(CacheFramebuffer, _isContentValid), 0, ::g::Uno::Int_typeof(), offsetof(CacheFramebuffer, _lastFrameUsed), 0, ::g::Uno::Graphics::FramebufferFlags_typeof(), offsetof(CacheFramebuffer, _Flags), 0, ::g::Uno::Graphics::Format_typeof(), offsetof(CacheFramebuffer, _Format), 0, ::g::Uno::Int_typeof(), offsetof(CacheFramebuffer, _Height), 0, ::g::Uno::Int_typeof(), offsetof(CacheFramebuffer, _Width), 0); } uType* CacheFramebuffer_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 8; options.ObjectSize = sizeof(CacheFramebuffer); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.CacheFramebuffer", options); type->fp_build_ = CacheFramebuffer_build; return type; } // public CacheFramebuffer(int width, int height, Uno.Graphics.Format format, Uno.Graphics.FramebufferFlags flags) :107 void CacheFramebuffer__ctor__fn(CacheFramebuffer* __this, int32_t* width, int32_t* height, int32_t* format, int32_t* flags) { __this->ctor_(*width, *height, *format, *flags); } // internal void Collect() :27 void CacheFramebuffer__Collect_fn(CacheFramebuffer* __this) { __this->Collect(); } // public void Dispose() :34 void CacheFramebuffer__Dispose_fn(CacheFramebuffer* __this) { __this->Dispose(); } // private void EnsurePinned() :20 void CacheFramebuffer__EnsurePinned_fn(CacheFramebuffer* __this) { __this->EnsurePinned(); } // public generated Uno.Graphics.FramebufferFlags get_Flags() :105 void CacheFramebuffer__get_Flags_fn(CacheFramebuffer* __this, int32_t* __retval) { *__retval = __this->Flags(); } // private generated void set_Flags(Uno.Graphics.FramebufferFlags value) :105 void CacheFramebuffer__set_Flags_fn(CacheFramebuffer* __this, int32_t* value) { __this->Flags(*value); } // public generated Uno.Graphics.Format get_Format() :104 void CacheFramebuffer__get_Format_fn(CacheFramebuffer* __this, int32_t* __retval) { *__retval = __this->Format(); } // private generated void set_Format(Uno.Graphics.Format value) :104 void CacheFramebuffer__set_Format_fn(CacheFramebuffer* __this, int32_t* value) { __this->Format(*value); } // public framebuffer get_Framebuffer() :48 void CacheFramebuffer__get_Framebuffer_fn(CacheFramebuffer* __this, ::g::Uno::Graphics::Framebuffer** __retval) { *__retval = __this->Framebuffer(); } // internal int get_FramesSinceLastUse() :76 void CacheFramebuffer__get_FramesSinceLastUse_fn(CacheFramebuffer* __this, int32_t* __retval) { *__retval = __this->FramesSinceLastUse(); } // public generated int get_Height() :103 void CacheFramebuffer__get_Height_fn(CacheFramebuffer* __this, int32_t* __retval) { *__retval = __this->Height(); } // private generated void set_Height(int value) :103 void CacheFramebuffer__set_Height_fn(CacheFramebuffer* __this, int32_t* value) { __this->Height(*value); } // public bool get_IsContentValid() :58 void CacheFramebuffer__get_IsContentValid_fn(CacheFramebuffer* __this, bool* __retval) { *__retval = __this->IsContentValid(); } // public bool get_IsPinned() :14 void CacheFramebuffer__get_IsPinned_fn(CacheFramebuffer* __this, bool* __retval) { *__retval = __this->IsPinned(); } // public CacheFramebuffer New(int width, int height, Uno.Graphics.Format format, Uno.Graphics.FramebufferFlags flags) :107 void CacheFramebuffer__New1_fn(int32_t* width, int32_t* height, int32_t* format, int32_t* flags, CacheFramebuffer** __retval) { *__retval = CacheFramebuffer::New1(*width, *height, *format, *flags); } // public void Pin() :82 void CacheFramebuffer__Pin_fn(CacheFramebuffer* __this) { __this->Pin(); } // public void Unpin(bool validate) :94 void CacheFramebuffer__Unpin_fn(CacheFramebuffer* __this, bool* validate) { __this->Unpin(*validate); } // public generated int get_Width() :102 void CacheFramebuffer__get_Width_fn(CacheFramebuffer* __this, int32_t* __retval) { *__retval = __this->Width(); } // private generated void set_Width(int value) :102 void CacheFramebuffer__set_Width_fn(CacheFramebuffer* __this, int32_t* value) { __this->Width(*value); } // public CacheFramebuffer(int width, int height, Uno.Graphics.Format format, Uno.Graphics.FramebufferFlags flags) [instance] :107 void CacheFramebuffer::ctor_(int32_t width, int32_t height, int32_t format, int32_t flags) { Width(width); Height(height); Format(format); Flags(flags); } // internal void Collect() [instance] :27 void CacheFramebuffer::Collect() { if (_fb != NULL) ::g::Fuse::FramebufferPool::Release(_fb); _fb = NULL; _isContentValid = false; } // public void Dispose() [instance] :34 void CacheFramebuffer::Dispose() { Collect(); ::g::Fuse::FramebufferPool::UnRegister(this); } // private void EnsurePinned() [instance] :20 void CacheFramebuffer::EnsurePinned() { if (!IsPinned()) U_THROW(::g::Uno::Exception::New2(::STRINGS[7/*"Cannot acce...*/])); } // public generated Uno.Graphics.FramebufferFlags get_Flags() [instance] :105 int32_t CacheFramebuffer::Flags() { return _Flags; } // private generated void set_Flags(Uno.Graphics.FramebufferFlags value) [instance] :105 void CacheFramebuffer::Flags(int32_t value) { _Flags = value; } // public generated Uno.Graphics.Format get_Format() [instance] :104 int32_t CacheFramebuffer::Format() { return _Format; } // private generated void set_Format(Uno.Graphics.Format value) [instance] :104 void CacheFramebuffer::Format(int32_t value) { _Format = value; } // public framebuffer get_Framebuffer() [instance] :48 ::g::Uno::Graphics::Framebuffer* CacheFramebuffer::Framebuffer() { EnsurePinned(); return _fb; } // internal int get_FramesSinceLastUse() [instance] :76 int32_t CacheFramebuffer::FramesSinceLastUse() { return ::g::Fuse::FramebufferPool::Frame() - _lastFrameUsed; } // public generated int get_Height() [instance] :103 int32_t CacheFramebuffer::Height() { return _Height; } // private generated void set_Height(int value) [instance] :103 void CacheFramebuffer::Height(int32_t value) { _Height = value; } // public bool get_IsContentValid() [instance] :58 bool CacheFramebuffer::IsContentValid() { EnsurePinned(); return _isContentValid; } // public bool get_IsPinned() [instance] :14 bool CacheFramebuffer::IsPinned() { return _isPinned; } // public void Pin() [instance] :82 void CacheFramebuffer::Pin() { _isPinned = true; _lastFrameUsed = ::g::Fuse::FramebufferPool::Frame(); if (_fb == NULL) { _fb = ::g::Fuse::FramebufferPool::Lock(Width(), Height(), Format(), (Flags() & 1) == 1); ::g::Fuse::FramebufferPool::Register(this); } } // public void Unpin(bool validate) [instance] :94 void CacheFramebuffer::Unpin(bool validate) { EnsurePinned(); _isPinned = false; if (validate) _isContentValid = true; _lastFrameUsed = ::g::Fuse::FramebufferPool::Frame(); } // public generated int get_Width() [instance] :102 int32_t CacheFramebuffer::Width() { return _Width; } // private generated void set_Width(int value) [instance] :102 void CacheFramebuffer::Width(int32_t value) { _Width = value; } // public CacheFramebuffer New(int width, int height, Uno.Graphics.Format format, Uno.Graphics.FramebufferFlags flags) [static] :107 CacheFramebuffer* CacheFramebuffer::New1(int32_t width, int32_t height, int32_t format, int32_t flags) { CacheFramebuffer* obj1 = (CacheFramebuffer*)uNew(CacheFramebuffer_typeof()); obj1->ctor_(width, height, format, flags); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Interacting.uno // ----------------------------------------------------------------------------------------- // public enum Visual.CancelInteractionsType :54 uEnumType* Visual__CancelInteractionsType_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.Visual.CancelInteractionsType", ::g::Uno::Int_typeof(), 2); type->SetLiterals( "Local", 0LL, "Recursive", 1LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Collision.uno // --------------------------------------------------------------------------------- // public static class Collision :4 // { static void Collision_build(uType* type) { type->SetDependencies( ::g::Uno::Math_typeof()); } uClassType* Collision_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.DependencyCount = 1; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.Collision", options); type->fp_build_ = Collision_build; return type; } // public static bool RayIntersectsBox(Fuse.Ray ray, Fuse.Box box, float& distance) :6 void Collision__RayIntersectsBox_fn(::g::Fuse::Ray* ray, ::g::Fuse::Box* box, float* distance, bool* __retval) { *__retval = Collision::RayIntersectsBox(*ray, *box, distance); } // public static bool RayIntersectsBox(Fuse.Ray ray, Fuse.Box box, float& distance) [static] :6 bool Collision::RayIntersectsBox(::g::Fuse::Ray ray, ::g::Fuse::Box box, float* distance) { float zeroTolerance = 1e-05f; *distance = 0.0f; float tmax = 3.402823e+38f; if (::g::Uno::Math::Abs1(ray.Direction.X) < 1e-05f) { if ((ray.Position.X < box.Minimum.X) || (ray.Position.X > box.Maximum.X)) { *distance = 0.0f; return false; } } else { float inverse = 1.0f / ray.Direction.X; float t1 = (box.Minimum.X - ray.Position.X) * inverse; float t2 = (box.Maximum.X - ray.Position.X) * inverse; if (t1 > t2) { float temp = t1; t1 = t2; t2 = temp; } *distance = ::g::Uno::Math::Max1(t1, *distance); tmax = ::g::Uno::Math::Min1(t2, tmax); if (*distance > tmax) { *distance = 0.0f; return false; } } if (::g::Uno::Math::Abs1(ray.Direction.Y) < 1e-05f) { if ((ray.Position.Y < box.Minimum.Y) || (ray.Position.Y > box.Maximum.Y)) { *distance = 0.0f; return false; } } else { float inverse1 = 1.0f / ray.Direction.Y; float t11 = (box.Minimum.Y - ray.Position.Y) * inverse1; float t21 = (box.Maximum.Y - ray.Position.Y) * inverse1; if (t11 > t21) { float temp1 = t11; t11 = t21; t21 = temp1; } *distance = ::g::Uno::Math::Max1(t11, *distance); tmax = ::g::Uno::Math::Min1(t21, tmax); if (*distance > tmax) { *distance = 0.0f; return false; } } if (::g::Uno::Math::Abs1(ray.Direction.Z) < 1e-05f) { if ((ray.Position.Z < box.Minimum.Z) || (ray.Position.Z > box.Maximum.Z)) { *distance = 0.0f; return false; } } else { float inverse2 = 1.0f / ray.Direction.Z; float t12 = (box.Minimum.Z - ray.Position.Z) * inverse2; float t22 = (box.Maximum.Z - ray.Position.Z) * inverse2; if (t12 > t22) { float temp2 = t12; t12 = t22; t22 = temp2; } *distance = ::g::Uno::Math::Max1(t12, *distance); tmax = ::g::Uno::Math::Min1(t22, tmax); if (*distance > tmax) { *distance = 0.0f; return false; } } return true; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // public sealed class ComputeException :7 // { static void ComputeException_build(uType* type) { ::STRINGS[8] = uString::Const("Cannot '"); ::STRINGS[9] = uString::Const("'' objects of type '"); ::STRINGS[10] = uString::Const("'' and '"); ::STRINGS[11] = uString::Const("'"); type->SetFields(4); } ::g::Uno::Exception_type* ComputeException_typeof() { static uSStrong< ::g::Uno::Exception_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::Exception_typeof(); options.FieldCount = 4; options.ObjectSize = sizeof(ComputeException); options.TypeSize = sizeof(::g::Uno::Exception_type); type = (::g::Uno::Exception_type*)uClassType::New("Fuse.ComputeException", options); type->fp_build_ = ComputeException_build; return type; } // public ComputeException(string op, object a, object b) :9 void ComputeException__ctor_3_fn(ComputeException* __this, uString* op, uObject* a, uObject* b) { __this->ctor_3(op, a, b); } // public ComputeException New(string op, object a, object b) :9 void ComputeException__New4_fn(uString* op, uObject* a, uObject* b, ComputeException** __retval) { *__retval = ComputeException::New4(op, a, b); } // public ComputeException(string op, object a, object b) [instance] :9 void ComputeException::ctor_3(uString* op, uObject* a, uObject* b) { ctor_1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2(::STRINGS[8/*"Cannot '"*/], op), ::STRINGS[9/*"'' objects ...*/]), ::g::Uno::Object::GetType(uPtr(a))), ::STRINGS[10/*"'' and '"*/]), ::g::Uno::Object::GetType(uPtr(b))), ::STRINGS[11/*"'"*/])); } // public ComputeException New(string op, object a, object b) [static] :9 ComputeException* ComputeException::New4(uString* op, uObject* a, uObject* b) { ComputeException* obj1 = (ComputeException*)uNew(ComputeException_typeof()); obj1->ctor_3(op, a, b); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // internal abstract class Computer :14 // { static void Computer_build(uType* type) { } Computer_type* Computer_typeof() { static uSStrong<Computer_type*> type; if (type != NULL) return type; uTypeOptions options; options.ObjectSize = sizeof(Computer); options.TypeSize = sizeof(Computer_type); type = (Computer_type*)uClassType::New("Fuse.Computer", options); type->fp_build_ = Computer_build; return type; } // protected generated Computer() :14 void Computer__ctor__fn(Computer* __this) { __this->ctor_(); } // protected generated Computer() [instance] :14 void Computer::ctor_() { } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // internal abstract class Computer<T> :38 // { static void Computer1_build(uType* type) { ::TYPES[3] = ::g::Fuse::Marshal_typeof(); type->SetPrecalc( ::g::Fuse::Marshal_typeof()->MakeMethod(1/*TryToType<T>*/, type->T(0), NULL)); } Computer1_type* Computer1_typeof() { static uSStrong<Computer1_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Computer_typeof(); options.GenericCount = 1; options.PrecalcCount = 1; options.ObjectSize = sizeof(Computer1); options.TypeSize = sizeof(Computer1_type); type = (Computer1_type*)uClassType::New("Fuse.Computer`1", options); type->fp_build_ = Computer1_build; type->fp_TryOp = (void(*)(::g::Fuse::Computer*, int32_t*, uObject*, uObject*, bool*, bool*))Computer1__TryOp_fn; type->fp_TryOp1 = (void(*)(::g::Fuse::Computer*, int32_t*, uObject*, uObject*, uObject**, bool*))Computer1__TryOp1_fn; return type; } // protected generated Computer() :38 void Computer1__ctor_1_fn(Computer1* __this) { __this->ctor_1(); } // public override sealed bool TryOp(Fuse.Computer.BoolOp op, object a, object b, bool& result) :63 void Computer1__TryOp_fn(Computer1* __this, int32_t* op, uObject* a, uObject* b, bool* result, bool* __retval) { uType* __types[] = { __this->__type->GetBase(Computer1_typeof())->Precalced(0/*Fuse.Marshal.TryToType<T>*/), }; uT ma(__this->__type->GetBase(Computer1_typeof())->T(0), U_ALLOCA(__this->__type->GetBase(Computer1_typeof())->T(0)->ValueSize)); uT mb(__this->__type->GetBase(Computer1_typeof())->T(0), U_ALLOCA(__this->__type->GetBase(Computer1_typeof())->T(0)->ValueSize)); bool ret2; bool ret3; bool ret4; int32_t op_ = *op; ma = uT(__this->__type->GetBase(Computer1_typeof())->T(0), U_ALLOCA(__this->__type->GetBase(Computer1_typeof())->T(0)->ValueSize)); mb = uT(__this->__type->GetBase(Computer1_typeof())->T(0), U_ALLOCA(__this->__type->GetBase(Computer1_typeof())->T(0)->ValueSize)); *result = false; if (!(::g::Fuse::Marshal__TryToType_fn(__types[0], a, &ma, &ret2), ret2) || !(::g::Fuse::Marshal__TryToType_fn(__types[0], b, &mb, &ret3), ret3)) return *__retval = false, void(); return *__retval = (__this->TryOpImpl_ex(uCRef<int32_t>(op_), ma, mb, result, &ret4), ret4), void(); } // public override sealed bool TryOp(Fuse.Computer.TypeOp op, object a, object b, object& result) :40 void Computer1__TryOp1_fn(Computer1* __this, int32_t* op, uObject* a, uObject* b, uObject** result, bool* __retval) { uType* __types[] = { __this->__type->GetBase(Computer1_typeof())->Precalced(0/*Fuse.Marshal.TryToType<T>*/), }; uT ma(__this->__type->GetBase(Computer1_typeof())->T(0), U_ALLOCA(__this->__type->GetBase(Computer1_typeof())->T(0)->ValueSize)); uT mb(__this->__type->GetBase(Computer1_typeof())->T(0), U_ALLOCA(__this->__type->GetBase(Computer1_typeof())->T(0)->ValueSize)); uT tr(__this->__type->GetBase(Computer1_typeof())->T(0), U_ALLOCA(__this->__type->GetBase(Computer1_typeof())->T(0)->ValueSize)); bool ret5; bool ret6; bool ret7; int32_t op_ = *op; ma = uT(__this->__type->GetBase(Computer1_typeof())->T(0), U_ALLOCA(__this->__type->GetBase(Computer1_typeof())->T(0)->ValueSize)); mb = uT(__this->__type->GetBase(Computer1_typeof())->T(0), U_ALLOCA(__this->__type->GetBase(Computer1_typeof())->T(0)->ValueSize)); tr = uT(__this->__type->GetBase(Computer1_typeof())->T(0), U_ALLOCA(__this->__type->GetBase(Computer1_typeof())->T(0)->ValueSize)); if ((!(::g::Fuse::Marshal__TryToType_fn(__types[0], a, &ma, &ret5), ret5) || !(::g::Fuse::Marshal__TryToType_fn(__types[0], b, &mb, &ret6), ret6)) || !(__this->TryOpImpl1_ex(uCRef<int32_t>(op_), ma, mb, &tr, &ret7), ret7)) { *result = uBoxPtr(__this->__type->GetBase(Computer1_typeof())->T(0), uT(__this->__type->GetBase(Computer1_typeof())->T(0), U_ALLOCA(__this->__type->GetBase(Computer1_typeof())->T(0)->ValueSize))); return *__retval = false, void(); } *result = uBoxPtr(__this->__type->GetBase(Computer1_typeof())->T(0), tr); return *__retval = true, void(); } // protected generated Computer() [instance] :38 void Computer1::ctor_1() { ctor_(); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\NodeGroup.uno // -------------------------------------------------------------------------------- // internal enum NodeGroupBase.ConstructFlags :46 uEnumType* NodeGroupBase__ConstructFlags_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.NodeGroupBase.ConstructFlags", ::g::Uno::Int_typeof(), 2); type->SetLiterals( "None", 0LL, "DontUseTemplates", 1LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Node.DataContext.uno // --------------------------------------------------------------------------------------- // public enum Node.ContextDataResult :36 uEnumType* Node__ContextDataResult_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.Node.ContextDataResult", ::g::Uno::Int_typeof(), 3); type->SetLiterals( "Continue", 0LL, "Stop", 1LL, "NullProvider", 2LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Node.DataContext.uno // --------------------------------------------------------------------------------------- // public enum Node.DataType :27 uEnumType* Node__DataType_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.Node.DataType", ::g::Uno::Int_typeof(), 2); type->SetLiterals( "Key", 0LL, "Prime", 1LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Node.ScriptClass.uno // --------------------------------------------------------------------------------------- // private sealed class Node.DataWatcher :37 // { static void Node__DataWatcher_build(uType* type) { ::TYPES[1] = ::g::Uno::Action_typeof(); ::TYPES[4] = ::g::Fuse::Scripting::IThreadWorker_typeof(); ::TYPES[5] = ::g::Uno::Action1_typeof()->MakeType(::g::Fuse::Scripting::Context_typeof(), NULL); ::TYPES[6] = ::g::Fuse::Node__IDataListener_typeof(); ::TYPES[7] = uObject_typeof()->Array(); type->SetDependencies( ::g::Fuse::UpdateManager_typeof()); type->SetInterfaces( ::TYPES[6/*Fuse.Node.IDataListener*/], offsetof(Node__DataWatcher_type, interface0)); type->SetFields(0, ::g::Fuse::Node_typeof(), offsetof(Node__DataWatcher, _node), 0, ::g::Fuse::Scripting::Context_typeof(), offsetof(Node__DataWatcher, _context), 0, ::g::Fuse::Scripting::Function_typeof(), offsetof(Node__DataWatcher, _updateCallback), 0, ::g::Fuse::Node__NodeDataSubscription_typeof(), offsetof(Node__DataWatcher, _dataSub), 0, ::g::Uno::String_typeof(), offsetof(Node__DataWatcher, _key), 0, uObject_typeof(), offsetof(Node__DataWatcher, _data), 0); } Node__DataWatcher_type* Node__DataWatcher_typeof() { static uSStrong<Node__DataWatcher_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 6; options.InterfaceCount = 1; options.DependencyCount = 1; options.ObjectSize = sizeof(Node__DataWatcher); options.TypeSize = sizeof(Node__DataWatcher_type); type = (Node__DataWatcher_type*)uClassType::New("Fuse.Node.DataWatcher", options); type->fp_build_ = Node__DataWatcher_build; type->interface0.fp_OnDataChanged = (void(*)(uObject*))Node__DataWatcher__FuseNodeIDataListenerOnDataChanged_fn; return type; } // public DataWatcher(Fuse.Node node, Fuse.Scripting.Context context, Fuse.Scripting.Function updateCallback, string key) :45 void Node__DataWatcher__ctor__fn(Node__DataWatcher* __this, ::g::Fuse::Node* node, ::g::Fuse::Scripting::Context* context, ::g::Fuse::Scripting::Function* updateCallback, uString* key) { __this->ctor_(node, context, updateCallback, key); } // public void Dispose() :62 void Node__DataWatcher__Dispose_fn(Node__DataWatcher* __this) { __this->Dispose(); } // private void Fuse.Node.IDataListener.OnDataChanged() :72 void Node__DataWatcher__FuseNodeIDataListenerOnDataChanged_fn(Node__DataWatcher* __this) { __this->_data = uPtr(__this->_dataSub)->Data(); ::g::Fuse::Scripting::IThreadWorker::Invoke1(uInterface(uPtr(uPtr(__this->_context)->ThreadWorker()), ::TYPES[4/*Fuse.Scripting.IThreadWorker*/]), uDelegate::New(::TYPES[5/*Uno.Action<Fuse.Scripting.Context>*/], (void*)Node__DataWatcher__Update_fn, __this)); } // public DataWatcher New(Fuse.Node node, Fuse.Scripting.Context context, Fuse.Scripting.Function updateCallback, string key) :45 void Node__DataWatcher__New1_fn(::g::Fuse::Node* node, ::g::Fuse::Scripting::Context* context, ::g::Fuse::Scripting::Function* updateCallback, uString* key, Node__DataWatcher** __retval) { *__retval = Node__DataWatcher::New1(node, context, updateCallback, key); } // private void Subscribe() :55 void Node__DataWatcher__Subscribe_fn(Node__DataWatcher* __this) { __this->Subscribe(); } // private void Update(Fuse.Scripting.Context context) :78 void Node__DataWatcher__Update_fn(Node__DataWatcher* __this, ::g::Fuse::Scripting::Context* context) { __this->Update(context); } // public DataWatcher(Fuse.Node node, Fuse.Scripting.Context context, Fuse.Scripting.Function updateCallback, string key) [instance] :45 void Node__DataWatcher::ctor_(::g::Fuse::Node* node, ::g::Fuse::Scripting::Context* context, ::g::Fuse::Scripting::Function* updateCallback, uString* key) { _key = key; _node = node; _context = context; _updateCallback = updateCallback; ::g::Fuse::UpdateManager::PostAction(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)Node__DataWatcher__Subscribe_fn, this)); } // public void Dispose() [instance] :62 void Node__DataWatcher::Dispose() { if (_dataSub != NULL) { uPtr(_dataSub)->Dispose(); _dataSub = NULL; } } // private void Subscribe() [instance] :55 void Node__DataWatcher::Subscribe() { _dataSub = uPtr(_node)->SubscribeData(_key, (uObject*)this); if (uPtr(_dataSub)->HasData()) ::g::Fuse::Node__IDataListener::OnDataChanged(uInterface((uObject*)this, ::TYPES[6/*Fuse.Node.IDataListener*/])); } // private void Update(Fuse.Scripting.Context context) [instance] :78 void Node__DataWatcher::Update(::g::Fuse::Scripting::Context* context) { uPtr(_updateCallback)->Call(context, uArray::Init<uObject*>(::TYPES[7/*object[]*/], 1, (uObject*)uPtr(context)->Unwrap(_data))); } // public DataWatcher New(Fuse.Node node, Fuse.Scripting.Context context, Fuse.Scripting.Function updateCallback, string key) [static] :45 Node__DataWatcher* Node__DataWatcher::New1(::g::Fuse::Node* node, ::g::Fuse::Scripting::Context* context, ::g::Fuse::Scripting::Function* updateCallback, uString* key) { Node__DataWatcher* obj1 = (Node__DataWatcher*)uNew(Node__DataWatcher_typeof()); obj1->ctor_(node, context, updateCallback, key); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Triggers\1.9.0\Deferred.uno // ---------------------------------------------------------------------------------- // internal static class DeferredManager :20 // { // static generated DeferredManager() :20 static void DeferredManager__cctor__fn(uType* __type) { DeferredManager::_pending_ = ((::g::Uno::Collections::PriorityQueue*)::g::Uno::Collections::PriorityQueue::New1(::TYPES[8/*Uno.Collections.PriorityQueue<Fuse.IDeferred>*/], 0)); DeferredManager::TimeLimit_ = 0.002; } static void DeferredManager_build(uType* type) { ::TYPES[8] = ::g::Uno::Collections::PriorityQueue_typeof()->MakeType(::g::Fuse::IDeferred_typeof(), NULL); ::TYPES[1] = ::g::Uno::Action_typeof(); ::TYPES[9] = ::g::Fuse::IDeferred_typeof(); type->SetDependencies( ::g::Fuse::UpdateManager_typeof()); type->SetFields(0, ::TYPES[8/*Uno.Collections.PriorityQueue<Fuse.IDeferred>*/], (uintptr_t)&DeferredManager::_pending_, uFieldFlagsStatic, ::g::Uno::Int_typeof(), (uintptr_t)&DeferredManager::_startFrame_, uFieldFlagsStatic, ::g::Uno::Bool_typeof(), (uintptr_t)&DeferredManager::_update_, uFieldFlagsStatic, ::g::Uno::Double_typeof(), (uintptr_t)&DeferredManager::TimeLimit_, uFieldFlagsStatic); } uClassType* DeferredManager_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 4; options.DependencyCount = 1; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.DeferredManager", options); type->fp_build_ = DeferredManager_build; type->fp_cctor_ = DeferredManager__cctor__fn; return type; } // public static void AddPending(Fuse.IDeferred d, [float2 priority]) :29 void DeferredManager__AddPending_fn(uObject* d, ::g::Uno::Float2* priority) { DeferredManager::AddPending(d, *priority); } // private static void CheckUpdate() :43 void DeferredManager__CheckUpdate_fn() { DeferredManager::CheckUpdate(); } // private static void OnUpdate() :69 void DeferredManager__OnUpdate_fn() { DeferredManager::OnUpdate(); } uSStrong< ::g::Uno::Collections::PriorityQueue*> DeferredManager::_pending_; int32_t DeferredManager::_startFrame_; bool DeferredManager::_update_; double DeferredManager::TimeLimit_; // public static void AddPending(Fuse.IDeferred d, [float2 priority]) [static] :29 void DeferredManager::AddPending(uObject* d, ::g::Uno::Float2 priority) { DeferredManager_typeof()->Init(); ::g::Uno::Collections::PriorityQueue__Add2_fn(uPtr(DeferredManager::_pending_), d, uCRef(priority)); DeferredManager::CheckUpdate(); } // private static void CheckUpdate() [static] :43 void DeferredManager::CheckUpdate() { DeferredManager_typeof()->Init(); bool needUpdate = uPtr(DeferredManager::_pending_)->Count() > 0; if (needUpdate == DeferredManager::_update_) return; DeferredManager::_update_ = needUpdate; if (DeferredManager::_update_) { ::g::Fuse::UpdateManager::AddAction1(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)DeferredManager__OnUpdate_fn), 0); DeferredManager::_startFrame_ = (::g::Fuse::UpdateManager::FrameIndex() + 1); } else ::g::Fuse::UpdateManager::RemoveAction1(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)DeferredManager__OnUpdate_fn), 0); } // private static void OnUpdate() [static] :69 void DeferredManager::OnUpdate() { DeferredManager_typeof()->Init(); uObject* ret1; if (::g::Fuse::UpdateManager::FrameIndex() < DeferredManager::_startFrame_) return; double startTime = ::g::Uno::Diagnostics::Clock::GetSeconds(); while (!uPtr(DeferredManager::_pending_)->Empty()) { ::g::Uno::Float4 prio; uObject* r = (::g::Uno::Collections::PriorityQueue__PopTop1_fn(uPtr(DeferredManager::_pending_), &prio, &ret1), ret1); if (!::g::Fuse::IDeferred::Perform(uInterface(uPtr(r), ::TYPES[9/*Fuse.IDeferred*/]))) ::g::Uno::Collections::PriorityQueue__Add4_fn(uPtr(DeferredManager::_pending_), r, uCRef(prio)); double elapsed = ::g::Uno::Diagnostics::Clock::GetSeconds() - startTime; if (elapsed > DeferredManager::TimeLimit_) break; } DeferredManager::CheckUpdate(); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Diagnostics.uno // ----------------------------------------------------------------------------------- // public sealed class Diagnostic :30 // { static void Diagnostic_build(uType* type) { ::STRINGS[12] = uString::Const("Success"); ::STRINGS[13] = uString::Const("Error"); ::STRINGS[14] = uString::Const("Warning"); ::STRINGS[15] = uString::Const(": "); ::STRINGS[16] = uString::Const("\n" "\tIn: "); ::STRINGS[17] = uString::Const("\n" "\tNear: "); ::STRINGS[18] = uString::Const(" ("); ::STRINGS[19] = uString::Const(":"); ::STRINGS[20] = uString::Const(")"); ::STRINGS[21] = uString::Const("\n" "\tFuse: "); ::STRINGS[22] = uString::Const("invalid Type: "); ::TYPES[10] = ::g::Fuse::ISourceLocation_typeof(); type->SetFields(0, ::g::Fuse::DiagnosticType_typeof(), offsetof(Diagnostic, Type), 0, ::g::Uno::String_typeof(), offsetof(Diagnostic, Message), 0, uObject_typeof(), offsetof(Diagnostic, SourceObject), 0, ::g::Uno::String_typeof(), offsetof(Diagnostic, FilePath), 0, ::g::Uno::Int_typeof(), offsetof(Diagnostic, LineNumber), 0, ::g::Uno::String_typeof(), offsetof(Diagnostic, MemberName), 0, ::g::Uno::Exception_typeof(), offsetof(Diagnostic, Exception), 0, uObject_typeof(), offsetof(Diagnostic, NearObject), 0, uObject_typeof(), offsetof(Diagnostic, NearLineNumber), 0, uObject_typeof(), offsetof(Diagnostic, NearFileName), 0, ::g::Uno::Bool_typeof(), offsetof(Diagnostic, IsTemporalWarning), 0); } uType* Diagnostic_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 11; options.ObjectSize = sizeof(Diagnostic); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.Diagnostic", options); type->fp_build_ = Diagnostic_build; type->fp_ToString = (void(*)(uObject*, uString**))Diagnostic__ToString_fn; return type; } // public Diagnostic(Fuse.DiagnosticType type, string message, object sourceObject, string filePath, int lineNumber, string memberName, [Uno.Exception exception]) :73 void Diagnostic__ctor__fn(Diagnostic* __this, int32_t* type, uString* message, uObject* sourceObject, uString* filePath, int32_t* lineNumber, uString* memberName, ::g::Uno::Exception* exception) { __this->ctor_(*type, message, sourceObject, filePath, *lineNumber, memberName, exception); } // internal string Format(bool withType) :101 void Diagnostic__Format_fn(Diagnostic* __this, bool* withType, uString** __retval) { *__retval = __this->Format(*withType); } // public Diagnostic New(Fuse.DiagnosticType type, string message, object sourceObject, string filePath, int lineNumber, string memberName, [Uno.Exception exception]) :73 void Diagnostic__New1_fn(int32_t* type, uString* message, uObject* sourceObject, uString* filePath, int32_t* lineNumber, uString* memberName, ::g::Uno::Exception* exception, Diagnostic** __retval) { *__retval = Diagnostic::New1(*type, message, sourceObject, filePath, *lineNumber, memberName, exception); } // public override sealed string ToString() :96 void Diagnostic__ToString_fn(Diagnostic* __this, uString** __retval) { return *__retval = __this->Format(true), void(); } // internal Uno.Diagnostics.DebugMessageType get_UnoType() :50 void Diagnostic__get_UnoType_fn(Diagnostic* __this, int32_t* __retval) { *__retval = __this->UnoType(); } // public Diagnostic(Fuse.DiagnosticType type, string message, object sourceObject, string filePath, int lineNumber, string memberName, [Uno.Exception exception]) [instance] :73 void Diagnostic::ctor_(int32_t type, uString* message, uObject* sourceObject, uString* filePath, int32_t lineNumber, uString* memberName, ::g::Uno::Exception* exception) { Type = type; Message = message; SourceObject = sourceObject; FilePath = filePath; LineNumber = lineNumber; MemberName = memberName; Exception = ::g::Fuse::WrapException::Unwrap(exception); uObject* sl = uAs<uObject*>(SourceObject, ::TYPES[10/*Fuse.ISourceLocation*/]); if (sl != NULL) sl = ::g::Fuse::ISourceLocation::SourceNearest(uInterface(uPtr(sl), ::TYPES[10/*Fuse.ISourceLocation*/])); if (sl != NULL) { NearObject = sl; NearLineNumber = uBox<int32_t>(::g::Uno::Int_typeof(), ::g::Fuse::ISourceLocation::SourceLineNumber(uInterface(uPtr(sl), ::TYPES[10/*Fuse.ISourceLocation*/]))); NearFileName = ::g::Fuse::ISourceLocation::SourceFileName(uInterface(sl, ::TYPES[10/*Fuse.ISourceLocation*/])); } } // internal string Format(bool withType) [instance] :101 uString* Diagnostic::Format(bool withType) { uString* msg = ::g::Uno::String::Empty(); if (withType) { switch (Type) { case 0: { msg = ::g::Uno::String::op_Addition2(msg, ::STRINGS[12/*"Success"*/]); break; } case 1: { msg = ::g::Uno::String::op_Addition2(msg, ::STRINGS[13/*"Error"*/]); break; } case 2: { msg = ::g::Uno::String::op_Addition2(msg, ::STRINGS[14/*"Warning"*/]); break; } default: { msg = ::g::Uno::String::op_Addition1(msg, uBox<int32_t>(::g::Fuse::DiagnosticType_typeof(), Type)); break; } } msg = ::g::Uno::String::op_Addition2(msg, ::STRINGS[15/*": "*/]); } if (::g::Uno::String::op_Inequality(Message, NULL)) msg = ::g::Uno::String::op_Addition2(msg, Message); if (Exception != NULL) msg = ::g::Uno::String::op_Addition2(msg, ::g::Uno::String::op_Addition2(::STRINGS[15/*": "*/], uPtr(Exception)->Message())); if (SourceObject != NULL) msg = ::g::Uno::String::op_Addition2(msg, ::g::Uno::String::op_Addition1(::STRINGS[16/*"\n\tIn: "*/], SourceObject)); if (NearObject != NULL) { if (NearObject != SourceObject) msg = ::g::Uno::String::op_Addition2(msg, ::g::Uno::String::op_Addition1(::STRINGS[17/*"\n\tNear: "*/], NearObject)); msg = ::g::Uno::String::op_Addition2(msg, ::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::STRINGS[18/*" ("*/], NearFileName), ::STRINGS[19/*":"*/]), NearLineNumber), ::STRINGS[20/*")"*/])); } if (::g::Uno::String::op_Inequality(FilePath, NULL)) msg = ::g::Uno::String::op_Addition2(msg, ::g::Uno::String::op_Addition1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2(::STRINGS[21/*"\n\tFuse: "*/], FilePath), ::STRINGS[19/*":"*/]), uBox<int32_t>(::g::Uno::Int_typeof(), LineNumber))); return msg; } // internal Uno.Diagnostics.DebugMessageType get_UnoType() [instance] :50 int32_t Diagnostic::UnoType() { switch (Type) { case 0: return 1; case 2: case 4: case 5: case 6: return 2; case 1: case 3: return 3; default: U_THROW(::g::Uno::Exception::New2(::g::Uno::String::op_Addition1(::STRINGS[22/*"invalid Typ...*/], uBox<int32_t>(::g::Fuse::DiagnosticType_typeof(), Type)))); } } // public Diagnostic New(Fuse.DiagnosticType type, string message, object sourceObject, string filePath, int lineNumber, string memberName, [Uno.Exception exception]) [static] :73 Diagnostic* Diagnostic::New1(int32_t type, uString* message, uObject* sourceObject, uString* filePath, int32_t lineNumber, uString* memberName, ::g::Uno::Exception* exception) { Diagnostic* obj1 = (Diagnostic*)uNew(Diagnostic_typeof()); obj1->ctor_(type, message, sourceObject, filePath, lineNumber, memberName, exception); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Diagnostics.uno // ----------------------------------------------------------------------------------- // public delegate void DiagnosticHandler(Fuse.Diagnostic d) :151 uDelegateType* DiagnosticHandler_typeof() { static uSStrong<uDelegateType*> type; if (type != NULL) return type; type = uDelegateType::New("Fuse.DiagnosticHandler", 1, 0); type->SetSignature(uVoid_typeof(), ::g::Fuse::Diagnostic_typeof()); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Diagnostics.uno // ----------------------------------------------------------------------------------- // public static class Diagnostics :171 // { static void Diagnostics_build(uType* type) { type->SetDependencies( ::g::Uno::Diagnostics::Debug_typeof()); type->SetFields(0, ::g::Fuse::DiagnosticHandler_typeof(), (uintptr_t)&Diagnostics::DiagnosticDismissed1_, uFieldFlagsStatic, ::g::Fuse::DiagnosticHandler_typeof(), (uintptr_t)&Diagnostics::DiagnosticReported1_, uFieldFlagsStatic); } uClassType* Diagnostics_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.DependencyCount = 1; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.Diagnostics", options); type->fp_build_ = Diagnostics_build; return type; } // public static void Deprecated(string msg, object obj, [string filePath], [int lineNumber], [string memberName]) :312 void Diagnostics__Deprecated_fn(uString* msg, uObject* obj, uString* filePath, int32_t* lineNumber, uString* memberName) { Diagnostics::Deprecated(msg, obj, filePath, *lineNumber, memberName); } // public static generated void add_DiagnosticDismissed(Fuse.DiagnosticHandler value) :174 void Diagnostics__add_DiagnosticDismissed_fn(uDelegate* value) { Diagnostics::add_DiagnosticDismissed(value); } // public static generated void remove_DiagnosticDismissed(Fuse.DiagnosticHandler value) :174 void Diagnostics__remove_DiagnosticDismissed_fn(uDelegate* value) { Diagnostics::remove_DiagnosticDismissed(value); } // public static generated void add_DiagnosticReported(Fuse.DiagnosticHandler value) :173 void Diagnostics__add_DiagnosticReported_fn(uDelegate* value) { Diagnostics::add_DiagnosticReported(value); } // public static generated void remove_DiagnosticReported(Fuse.DiagnosticHandler value) :173 void Diagnostics__remove_DiagnosticReported_fn(uDelegate* value) { Diagnostics::remove_DiagnosticReported(value); } // private static void Dismiss(Fuse.Diagnostic d) :176 void Diagnostics__Dismiss_fn(::g::Fuse::Diagnostic* d) { Diagnostics::Dismiss(d); } // public static void InternalError(string msg, [object obj], [string filePath], [int lineNumber], [string memberName]) :294 void Diagnostics__InternalError_fn(uString* msg, uObject* obj, uString* filePath, int32_t* lineNumber, uString* memberName) { Diagnostics::InternalError(msg, obj, filePath, *lineNumber, memberName); } // public static void Report(Fuse.Diagnostic d) :182 void Diagnostics__Report_fn(::g::Fuse::Diagnostic* d) { Diagnostics::Report(d); } // public static Uno.IDisposable ReportTemporal(Fuse.Diagnostic d) :212 void Diagnostics__ReportTemporal_fn(::g::Fuse::Diagnostic* d, uObject** __retval) { *__retval = Diagnostics::ReportTemporal(d); } // public static Uno.IDisposable ReportTemporalUserWarning(string message, object origin) :235 void Diagnostics__ReportTemporalUserWarning_fn(uString* message, uObject* origin, uObject** __retval) { *__retval = Diagnostics::ReportTemporalUserWarning(message, origin); } // public static Uno.IDisposable ReportTemporalWarning(Fuse.Diagnostic d) :225 void Diagnostics__ReportTemporalWarning_fn(::g::Fuse::Diagnostic* d, uObject** __retval) { *__retval = Diagnostics::ReportTemporalWarning(d); } // public static void UnknownException(string msg, Uno.Exception ex, object obj, [string filePath], [int lineNumber], [string memberName]) :305 void Diagnostics__UnknownException_fn(uString* msg, ::g::Uno::Exception* ex, uObject* obj, uString* filePath, int32_t* lineNumber, uString* memberName) { Diagnostics::UnknownException(msg, ex, obj, filePath, *lineNumber, memberName); } // public static void Unsupported(string msg, object obj, [string filePath], [int lineNumber], [string memberName]) :319 void Diagnostics__Unsupported_fn(uString* msg, uObject* obj, uString* filePath, int32_t* lineNumber, uString* memberName) { Diagnostics::Unsupported(msg, obj, filePath, *lineNumber, memberName); } // public static void UserError(string msg, object obj, [string filePath], [int lineNumber], [string memberName], [Uno.Exception e]) :244 void Diagnostics__UserError_fn(uString* msg, uObject* obj, uString* filePath, int32_t* lineNumber, uString* memberName, ::g::Uno::Exception* e) { Diagnostics::UserError(msg, obj, filePath, *lineNumber, memberName, e); } // public static void UserRootError(string expectedType, object actualParent, object obj, [string filePath], [int lineNumber], [string memberName]) :282 void Diagnostics__UserRootError_fn(uString* expectedType, uObject* actualParent, uObject* obj, uString* filePath, int32_t* lineNumber, uString* memberName) { Diagnostics::UserRootError(expectedType, actualParent, obj, filePath, *lineNumber, memberName); } // public static void UserSuccess(string msg, object obj, [string filePath], [int lineNumber], [string memberName]) :255 void Diagnostics__UserSuccess_fn(uString* msg, uObject* obj, uString* filePath, int32_t* lineNumber, uString* memberName) { Diagnostics::UserSuccess(msg, obj, filePath, *lineNumber, memberName); } // private static string UserTypeOf(object a) :267 void Diagnostics__UserTypeOf_fn(uObject* a, uString** __retval) { *__retval = Diagnostics::UserTypeOf(a); } // public static void UserWarning(string msg, object obj, [string filePath], [int lineNumber], [string memberName]) :340 void Diagnostics__UserWarning_fn(uString* msg, uObject* obj, uString* filePath, int32_t* lineNumber, uString* memberName) { Diagnostics::UserWarning(msg, obj, filePath, *lineNumber, memberName); } uSStrong<uDelegate*> Diagnostics::DiagnosticDismissed1_; uSStrong<uDelegate*> Diagnostics::DiagnosticReported1_; // public static void Deprecated(string msg, object obj, [string filePath], [int lineNumber], [string memberName]) [static] :312 void Diagnostics::Deprecated(uString* msg, uObject* obj, uString* filePath, int32_t lineNumber, uString* memberName) { Diagnostics::Report(::g::Fuse::Diagnostic::New1(4, msg, obj, filePath, lineNumber, memberName, NULL)); } // private static void Dismiss(Fuse.Diagnostic d) [static] :176 void Diagnostics::Dismiss(::g::Fuse::Diagnostic* d) { if (::g::Uno::Delegate::op_Inequality(Diagnostics::DiagnosticDismissed1_, NULL)) uPtr(Diagnostics::DiagnosticDismissed1_)->InvokeVoid(d); } // public static void InternalError(string msg, [object obj], [string filePath], [int lineNumber], [string memberName]) [static] :294 void Diagnostics::InternalError(uString* msg, uObject* obj, uString* filePath, int32_t lineNumber, uString* memberName) { Diagnostics::Report(::g::Fuse::Diagnostic::New1(3, msg, obj, filePath, lineNumber, memberName, NULL)); } // public static void Report(Fuse.Diagnostic d) [static] :182 void Diagnostics::Report(::g::Fuse::Diagnostic* d) { if (::g::Uno::Delegate::op_Inequality(Diagnostics::DiagnosticReported1_, NULL)) uPtr(Diagnostics::DiagnosticReported1_)->InvokeVoid(d); else ::g::Uno::Diagnostics::Debug::Log2(uPtr(d)->Format(false), uPtr(d)->UnoType()); } // public static Uno.IDisposable ReportTemporal(Fuse.Diagnostic d) [static] :212 uObject* Diagnostics::ReportTemporal(::g::Fuse::Diagnostic* d) { if (::g::Uno::Delegate::op_Inequality(Diagnostics::DiagnosticReported1_, NULL)) uPtr(Diagnostics::DiagnosticReported1_)->InvokeVoid(d); ::g::Uno::Diagnostics::Debug::Log2(uPtr(d)->ToString(), uPtr(d)->UnoType()); return (uObject*)Diagnostics__Temporal::New1(d); } // public static Uno.IDisposable ReportTemporalUserWarning(string message, object origin) [static] :235 uObject* Diagnostics::ReportTemporalUserWarning(uString* message, uObject* origin) { return Diagnostics::ReportTemporalWarning(::g::Fuse::Diagnostic::New1(2, message, origin, NULL, 0, NULL, NULL)); } // public static Uno.IDisposable ReportTemporalWarning(Fuse.Diagnostic d) [static] :225 uObject* Diagnostics::ReportTemporalWarning(::g::Fuse::Diagnostic* d) { uPtr(d)->IsTemporalWarning = true; if (::g::Uno::Delegate::op_Inequality(Diagnostics::DiagnosticReported1_, NULL)) uPtr(Diagnostics::DiagnosticReported1_)->InvokeVoid(d); return (uObject*)Diagnostics__Temporal::New1(d); } // public static void UnknownException(string msg, Uno.Exception ex, object obj, [string filePath], [int lineNumber], [string memberName]) [static] :305 void Diagnostics::UnknownException(uString* msg, ::g::Uno::Exception* ex, uObject* obj, uString* filePath, int32_t lineNumber, uString* memberName) { Diagnostics::Report(::g::Fuse::Diagnostic::New1(3, msg, obj, filePath, lineNumber, memberName, ex)); } // public static void Unsupported(string msg, object obj, [string filePath], [int lineNumber], [string memberName]) [static] :319 void Diagnostics::Unsupported(uString* msg, uObject* obj, uString* filePath, int32_t lineNumber, uString* memberName) { Diagnostics::Report(::g::Fuse::Diagnostic::New1(5, msg, obj, filePath, lineNumber, memberName, NULL)); } // public static void UserError(string msg, object obj, [string filePath], [int lineNumber], [string memberName], [Uno.Exception e]) [static] :244 void Diagnostics::UserError(uString* msg, uObject* obj, uString* filePath, int32_t lineNumber, uString* memberName, ::g::Uno::Exception* e) { Diagnostics::Report(::g::Fuse::Diagnostic::New1(1, msg, obj, filePath, lineNumber, memberName, e)); } // public static void UserRootError(string expectedType, object actualParent, object obj, [string filePath], [int lineNumber], [string memberName]) [static] :282 void Diagnostics::UserRootError(uString* expectedType, uObject* actualParent, uObject* obj, uString* filePath, int32_t lineNumber, uString* memberName) { Diagnostics::UserError(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2(Diagnostics::UserTypeOf(obj), uString::Const(" cannot be used in a ")), Diagnostics::UserTypeOf(actualParent)), uString::Const(".")), uString::Const(" A ")), expectedType), uString::Const(" parent is expected")), obj, filePath, lineNumber, memberName, NULL); } // public static void UserSuccess(string msg, object obj, [string filePath], [int lineNumber], [string memberName]) [static] :255 void Diagnostics::UserSuccess(uString* msg, uObject* obj, uString* filePath, int32_t lineNumber, uString* memberName) { Diagnostics::Report(::g::Fuse::Diagnostic::New1(0, msg, obj, filePath, lineNumber, memberName, NULL)); } // private static string UserTypeOf(object a) [static] :267 uString* Diagnostics::UserTypeOf(uObject* a) { uString* q = ::g::Uno::String::op_Addition1(::STRINGS[25/*""*/], a); int32_t e = ::g::Uno::String::LastIndexOf(uPtr(q), '.'); if (e == -1) e = 0; else e = e + 1; return ::g::Uno::String::Substring(q, e); } // public static void UserWarning(string msg, object obj, [string filePath], [int lineNumber], [string memberName]) [static] :340 void Diagnostics::UserWarning(uString* msg, uObject* obj, uString* filePath, int32_t lineNumber, uString* memberName) { Diagnostics::Report(::g::Fuse::Diagnostic::New1(2, msg, obj, filePath, lineNumber, memberName, NULL)); } // public static generated void add_DiagnosticDismissed(Fuse.DiagnosticHandler value) [static] :174 void Diagnostics::add_DiagnosticDismissed(uDelegate* value) { Diagnostics::DiagnosticDismissed1_ = uCast<uDelegate*>(::g::Uno::Delegate::Combine(Diagnostics::DiagnosticDismissed1_, value), ::g::Fuse::DiagnosticHandler_typeof()); } // public static generated void remove_DiagnosticDismissed(Fuse.DiagnosticHandler value) [static] :174 void Diagnostics::remove_DiagnosticDismissed(uDelegate* value) { Diagnostics::DiagnosticDismissed1_ = uCast<uDelegate*>(::g::Uno::Delegate::Remove(Diagnostics::DiagnosticDismissed1_, value), ::g::Fuse::DiagnosticHandler_typeof()); } // public static generated void add_DiagnosticReported(Fuse.DiagnosticHandler value) [static] :173 void Diagnostics::add_DiagnosticReported(uDelegate* value) { Diagnostics::DiagnosticReported1_ = uCast<uDelegate*>(::g::Uno::Delegate::Combine(Diagnostics::DiagnosticReported1_, value), ::g::Fuse::DiagnosticHandler_typeof()); } // public static generated void remove_DiagnosticReported(Fuse.DiagnosticHandler value) [static] :173 void Diagnostics::remove_DiagnosticReported(uDelegate* value) { Diagnostics::DiagnosticReported1_ = uCast<uDelegate*>(::g::Uno::Delegate::Remove(Diagnostics::DiagnosticReported1_, value), ::g::Fuse::DiagnosticHandler_typeof()); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Diagnostics.uno // ----------------------------------------------------------------------------------- // public enum DiagnosticType :7 uEnumType* DiagnosticType_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.DiagnosticType", ::g::Uno::Int_typeof(), 7); type->SetLiterals( "UserSuccess", 0LL, "UserError", 1LL, "UserWarning", 2LL, "InternalError", 3LL, "Deprecated", 4LL, "Unsupported", 5LL, "PerformanceWarning", 6LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\DrawContext.uno // ---------------------------------------------------------------------------------- // public sealed class DrawContext :28 // { static void DrawContext_build(uType* type) { ::STRINGS[23] = uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.Nodes\\1.9.0\\DrawContext.uno"); ::STRINGS[24] = uString::Const("CaptureRootbuffer"); ::STRINGS[25] = uString::Const(""); ::STRINGS[26] = uString::Const("Clear"); ::STRINGS[27] = uString::Const("PopRenderTarget"); ::STRINGS[28] = uString::Const("PushRenderTarget"); ::STRINGS[29] = uString::Const("Unpopped Scissor"); ::STRINGS[30] = uString::Const("ReleaseRootbuffer"); ::STRINGS[31] = uString::Const("Unpopped CullFace"); ::STRINGS[32] = uString::Const("Unpopped Viewport"); ::STRINGS[33] = uString::Const("Unpopped RenderTarget"); ::STRINGS[34] = uString::Const("set_GLFramebuffer"); ::STRINGS[35] = uString::Const("set_GLScissor"); ::STRINGS[36] = uString::Const("set_GLViewportPixelSize"); ::TYPES[11] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::IRenderViewport_typeof(), NULL); ::TYPES[12] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::RenderTargetEntry_typeof(), NULL); ::TYPES[13] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Uno::Int4_typeof(), NULL); ::TYPES[14] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Uno::Graphics::PolygonFace_typeof(), NULL); ::TYPES[15] = ::g::Fuse::IRenderViewport_typeof(); ::TYPES[16] = ::g::Uno::Collections::IListExtensions_typeof()->MakeMethod(0/*RemoveLast<Fuse.RenderTargetEntry>*/, ::g::Fuse::RenderTargetEntry_typeof(), NULL); ::TYPES[17] = ::g::Uno::Collections::IListExtensions_typeof()->MakeMethod(0/*RemoveLast<int4>*/, ::g::Uno::Int4_typeof(), NULL); ::TYPES[18] = ::g::Uno::Collections::IListExtensions_typeof()->MakeMethod(0/*RemoveLast<Fuse.IRenderViewport>*/, ::TYPES[15/*Fuse.IRenderViewport*/], NULL); ::TYPES[19] = ::g::Fuse::ICommonViewport_typeof(); ::TYPES[20] = ::g::Uno::EventHandler_typeof(); type->SetDependencies( ::g::Uno::EventArgs_typeof(), ::g::Fuse::Platform::SystemUI_typeof()); type->SetFields(0, ::TYPES[15/*Fuse.IRenderViewport*/], offsetof(DrawContext, _viewport), 0, ::TYPES[11/*Uno.Collections.List<Fuse.IRenderViewport>*/], offsetof(DrawContext, _viewports), 0, ::g::Uno::Runtime::Implementation::GraphicsContextHandle_typeof(), offsetof(DrawContext, _handle), 0, ::g::Uno::Graphics::RenderTarget_typeof(), offsetof(DrawContext, _rootbuffer), 0, ::g::Uno::Graphics::RenderTarget_typeof(), offsetof(DrawContext, _renderTarget), 0, ::TYPES[12/*Uno.Collections.List<Fuse.RenderTargetEntry>*/], offsetof(DrawContext, _renderTargets), 0, ::g::OpenGL::GLFramebufferHandle_typeof(), offsetof(DrawContext, _glFramebuffer), 0, ::g::Uno::Int4_typeof(), offsetof(DrawContext, _glScissor), 0, ::TYPES[13/*Uno.Collections.List<int4>*/], offsetof(DrawContext, _glScissors), 0, ::g::Uno::Int4_typeof(), offsetof(DrawContext, _glViewport), 0, ::TYPES[14/*Uno.Collections.List<Uno.Graphics.PolygonFace>*/], offsetof(DrawContext, _cullFaces), 0, ::g::Uno::Graphics::PolygonFace_typeof(), offsetof(DrawContext, _cullFace), 0, ::g::Uno::Bool_typeof(), offsetof(DrawContext, _IsCaching), 0, ::TYPES[20/*Uno.EventHandler*/], offsetof(DrawContext, RenderTargetChange1), 0); } uType* DrawContext_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 14; options.DependencyCount = 2; options.ObjectSize = sizeof(DrawContext); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.DrawContext", options); type->fp_build_ = DrawContext_build; return type; } // public DrawContext(Fuse.IRenderViewport viewport) :61 void DrawContext__ctor__fn(DrawContext* __this, uObject* viewport) { __this->ctor_(viewport); } // internal void CaptureRootbuffer() :81 void DrawContext__CaptureRootbuffer_fn(DrawContext* __this) { __this->CaptureRootbuffer(); } // private void CheckGLError([string filePath], [int lineNumber], [string memberName]) :367 void DrawContext__CheckGLError_fn(DrawContext* __this, uString* filePath, int32_t* lineNumber, uString* memberName) { __this->CheckGLError(filePath, *lineNumber, memberName); } // public void Clear(float4 color, [float depth]) :232 void DrawContext__Clear_fn(DrawContext* __this, ::g::Uno::Float4* color, float* depth) { __this->Clear(*color, *depth); } // public Uno.Graphics.PolygonFace get_CullFace() :353 void DrawContext__get_CullFace_fn(DrawContext* __this, int32_t* __retval) { *__retval = __this->CullFace(); } // public float4x4 GetLocalToClipTransform(Fuse.Visual n) :51 void DrawContext__GetLocalToClipTransform_fn(DrawContext* __this, ::g::Fuse::Visual* n, ::g::Uno::Float4x4* __retval) { *__retval = __this->GetLocalToClipTransform(n); } // internal Fuse.RenderTargetEntry GetRenderTargetEntry() :156 void DrawContext__GetRenderTargetEntry_fn(DrawContext* __this, ::g::Fuse::RenderTargetEntry** __retval) { *__retval = __this->GetRenderTargetEntry(); } // private extern OpenGL.GLFramebufferHandle get_GLFramebuffer() :138 void DrawContext__get_GLFramebuffer_fn(DrawContext* __this, uint32_t* __retval) { *__retval = __this->GLFramebuffer(); } // private extern void set_GLFramebuffer(OpenGL.GLFramebufferHandle value) :148 void DrawContext__set_GLFramebuffer_fn(DrawContext* __this, uint32_t* value) { __this->GLFramebuffer(*value); } // private int4 get_GLScissor() :264 void DrawContext__get_GLScissor_fn(DrawContext* __this, ::g::Uno::Int4* __retval) { *__retval = __this->GLScissor(); } // private void set_GLScissor(int4 value) :275 void DrawContext__set_GLScissor_fn(DrawContext* __this, ::g::Uno::Int4* value) { __this->GLScissor(*value); } // public int2 get_GLViewportPixelSize() :308 void DrawContext__get_GLViewportPixelSize_fn(DrawContext* __this, ::g::Uno::Int2* __retval) { *__retval = __this->GLViewportPixelSize(); } // private void set_GLViewportPixelSize(int2 value) :319 void DrawContext__set_GLViewportPixelSize_fn(DrawContext* __this, ::g::Uno::Int2* value) { __this->GLViewportPixelSize(*value); } // public generated bool get_IsCaching() :347 void DrawContext__get_IsCaching_fn(DrawContext* __this, bool* __retval) { *__retval = __this->IsCaching(); } // public generated void set_IsCaching(bool value) :347 void DrawContext__set_IsCaching_fn(DrawContext* __this, bool* value) { __this->IsCaching(*value); } // public DrawContext New(Fuse.IRenderViewport viewport) :61 void DrawContext__New1_fn(uObject* viewport, DrawContext** __retval) { *__retval = DrawContext::New1(viewport); } // internal void OnRenderTargetChange() :75 void DrawContext__OnRenderTargetChange_fn(DrawContext* __this) { __this->OnRenderTargetChange(); } // public void PopRenderTarget() :194 void DrawContext__PopRenderTarget_fn(DrawContext* __this) { __this->PopRenderTarget(); } // public void PopRenderTargetFrustum() :220 void DrawContext__PopRenderTargetFrustum_fn(DrawContext* __this) { __this->PopRenderTargetFrustum(); } // public void PopScissor() :294 void DrawContext__PopScissor_fn(DrawContext* __this) { __this->PopScissor(); } // public void PopViewport() :45 void DrawContext__PopViewport_fn(DrawContext* __this) { __this->PopViewport(); } // public void PushRenderTarget(framebuffer fb) :164 void DrawContext__PushRenderTarget_fn(DrawContext* __this, ::g::Uno::Graphics::Framebuffer* fb) { __this->PushRenderTarget(fb); } // public void PushRenderTarget(Uno.Graphics.RenderTarget rt) :169 void DrawContext__PushRenderTarget1_fn(DrawContext* __this, ::g::Uno::Graphics::RenderTarget* rt) { __this->PushRenderTarget1(rt); } // private void PushRenderTarget(Uno.Graphics.RenderTarget rt, int2 viewportPixelSize, int4 glscissor) :174 void DrawContext__PushRenderTarget2_fn(DrawContext* __this, ::g::Uno::Graphics::RenderTarget* rt, ::g::Uno::Int2* viewportPixelSize, ::g::Uno::Int4* glscissor) { __this->PushRenderTarget2(rt, *viewportPixelSize, *glscissor); } // public void PushRenderTargetFrustum(framebuffer fb, Fuse.IFrustum frustum) :208 void DrawContext__PushRenderTargetFrustum_fn(DrawContext* __this, ::g::Uno::Graphics::Framebuffer* fb, uObject* frustum) { __this->PushRenderTargetFrustum(fb, frustum); } // public void PushScissor(Uno.Recti scissor) :288 void DrawContext__PushScissor_fn(DrawContext* __this, ::g::Uno::Recti* scissor) { __this->PushScissor(*scissor); } // public void PushViewport(Fuse.IRenderViewport v) :38 void DrawContext__PushViewport_fn(DrawContext* __this, uObject* v) { __this->PushViewport(v); } // internal void ReleaseRootbuffer() :107 void DrawContext__ReleaseRootbuffer_fn(DrawContext* __this) { __this->ReleaseRootbuffer(); } // public Uno.Graphics.RenderTarget get_RenderTarget() :132 void DrawContext__get_RenderTarget_fn(DrawContext* __this, ::g::Uno::Graphics::RenderTarget** __retval) { *__retval = __this->RenderTarget(); } // public generated void add_RenderTargetChange(Uno.EventHandler value) :73 void DrawContext__add_RenderTargetChange_fn(DrawContext* __this, uDelegate* value) { __this->add_RenderTargetChange(value); } // public generated void remove_RenderTargetChange(Uno.EventHandler value) :73 void DrawContext__remove_RenderTargetChange_fn(DrawContext* __this, uDelegate* value) { __this->remove_RenderTargetChange(value); } // public Uno.Recti get_Scissor() :246 void DrawContext__get_Scissor_fn(DrawContext* __this, ::g::Uno::Recti* __retval) { *__retval = __this->Scissor(); } // internal void set_Scissor(Uno.Recti value) :254 void DrawContext__set_Scissor_fn(DrawContext* __this, ::g::Uno::Recti* value) { __this->Scissor(*value); } // public Fuse.IRenderViewport get_Viewport() :34 void DrawContext__get_Viewport_fn(DrawContext* __this, uObject** __retval) { *__retval = __this->Viewport(); } // public float get_ViewportPixelsPerPoint() :341 void DrawContext__get_ViewportPixelsPerPoint_fn(DrawContext* __this, float* __retval) { *__retval = __this->ViewportPixelsPerPoint(); } // public DrawContext(Fuse.IRenderViewport viewport) [instance] :61 void DrawContext::ctor_(uObject* viewport) { _viewports = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[11/*Uno.Collections.List<Fuse.IRenderViewport>*/])); _renderTargets = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[12/*Uno.Collections.List<Fuse.RenderTargetEntry>*/])); _glScissors = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[13/*Uno.Collections.List<int4>*/])); _cullFaces = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[14/*Uno.Collections.List<Uno.Graphics.PolygonFace>*/])); _handle = (void*)NULL; _viewport = viewport; _rootbuffer = ::g::Uno::Graphics::RenderTarget::New1(); _renderTarget = _rootbuffer; } // internal void CaptureRootbuffer() [instance] :81 void DrawContext::CaptureRootbuffer() { ::g::OpenGL::GL::Enable(3089); CheckGLError(::STRINGS[23/*"C:\\Users\\...*/], 86, ::STRINGS[24/*"CaptureRoot...*/]); _glScissor = ::g::OpenGL::GL::GetInteger(3088); _glViewport = ::g::OpenGL::GL::GetInteger(2978); _glFramebuffer = ::g::OpenGL::GL::GetFramebufferBinding(); uPtr(_rootbuffer)->GLFramebufferHandle(_glFramebuffer); ::g::Uno::Float2 size = ::g::Fuse::Platform::SystemUI::Frame().Size(); uPtr(_rootbuffer)->Size(::g::Uno::Int2__New2((int32_t)size.X, (int32_t)size.Y)); uPtr(_rootbuffer)->HasDepth(true); } // private void CheckGLError([string filePath], [int lineNumber], [string memberName]) [instance] :367 void DrawContext::CheckGLError(uString* filePath, int32_t lineNumber, uString* memberName) { int32_t e = ::g::OpenGL::GL::GetError(); if (e != 0) ::g::Fuse::Diagnostics::InternalError(::g::Uno::String::op_Addition1(::STRINGS[25/*""*/], uBox<int32_t>(::g::OpenGL::GLError_typeof(), e)), this, filePath, lineNumber, memberName); } // public void Clear(float4 color, [float depth]) [instance] :232 void DrawContext::Clear(::g::Uno::Float4 color, float depth) { ::g::OpenGL::GL::ClearDepth(depth); ::g::OpenGL::GL::ClearColor(color.X, color.Y, color.Z, color.W); ::g::OpenGL::GL::Clear(17664); CheckGLError(::STRINGS[23/*"C:\\Users\\...*/], 240, ::STRINGS[26/*"Clear"*/]); } // public Uno.Graphics.PolygonFace get_CullFace() [instance] :353 int32_t DrawContext::CullFace() { return _cullFace; } // public float4x4 GetLocalToClipTransform(Fuse.Visual n) [instance] :51 ::g::Uno::Float4x4 DrawContext::GetLocalToClipTransform(::g::Fuse::Visual* n) { ::g::Uno::Float4x4 m = uPtr(n)->WorldTransform(); ::g::Uno::Float4x4 p = ::g::Uno::Matrix::Mul8(m, ::g::Fuse::IRenderViewport::ViewProjectionTransform(uInterface(uPtr(_viewport), ::TYPES[15/*Fuse.IRenderViewport*/]))); return p; } // internal Fuse.RenderTargetEntry GetRenderTargetEntry() [instance] :156 ::g::Fuse::RenderTargetEntry* DrawContext::GetRenderTargetEntry() { return ::g::Fuse::RenderTargetEntry::New1(RenderTarget(), GLViewportPixelSize(), GLScissor(), GLFramebuffer()); return NULL; } // private extern OpenGL.GLFramebufferHandle get_GLFramebuffer() [instance] :138 uint32_t DrawContext::GLFramebuffer() { return _glFramebuffer; } // private extern void set_GLFramebuffer(OpenGL.GLFramebufferHandle value) [instance] :148 void DrawContext::GLFramebuffer(uint32_t value) { _glFramebuffer = value; ::g::OpenGL::GL::BindFramebuffer(36160, value); CheckGLError(::STRINGS[23/*"C:\\Users\\...*/], 152, ::STRINGS[34/*"set_GLFrame...*/]); } // private int4 get_GLScissor() [instance] :264 ::g::Uno::Int4 DrawContext::GLScissor() { return _glScissor; } // private void set_GLScissor(int4 value) [instance] :275 void DrawContext::GLScissor(::g::Uno::Int4 value) { _glScissor = value; ::g::OpenGL::GL::Scissor(value.Item(0), value.Item(1), value.Item(2), value.Item(3)); CheckGLError(::STRINGS[23/*"C:\\Users\\...*/], 281, ::STRINGS[35/*"set_GLScissor"*/]); } // public int2 get_GLViewportPixelSize() [instance] :308 ::g::Uno::Int2 DrawContext::GLViewportPixelSize() { ::g::Uno::Int4 ind1; ind1 = _glViewport; return ::g::Uno::Int2__New2(ind1.Z, ind1.W); } // private void set_GLViewportPixelSize(int2 value) [instance] :319 void DrawContext::GLViewportPixelSize(::g::Uno::Int2 value) { _glViewport = ::g::Uno::Int4__New2(0, 0, value.X, value.Y); ::g::OpenGL::GL::Viewport(0, 0, value.X, value.Y); CheckGLError(::STRINGS[23/*"C:\\Users\\...*/], 325, ::STRINGS[36/*"set_GLViewp...*/]); } // public generated bool get_IsCaching() [instance] :347 bool DrawContext::IsCaching() { return _IsCaching; } // public generated void set_IsCaching(bool value) [instance] :347 void DrawContext::IsCaching(bool value) { _IsCaching = value; } // internal void OnRenderTargetChange() [instance] :75 void DrawContext::OnRenderTargetChange() { if (::g::Uno::Delegate::op_Inequality(RenderTargetChange1, NULL)) uPtr(RenderTargetChange1)->Invoke(2, this, (::g::Uno::EventArgs*)::g::Uno::EventArgs::Empty()); } // public void PopRenderTarget() [instance] :194 void DrawContext::PopRenderTarget() { ::g::Fuse::RenderTargetEntry* ret4; OnRenderTargetChange(); ::g::Fuse::RenderTargetEntry* old = (::g::Uno::Collections::IListExtensions__RemoveLast_fn(::TYPES[16/*Uno.Collections.IListExtensions.RemoveLast<Fuse.RenderTargetEntry>*/], (uObject*)_renderTargets, &ret4), ret4); _renderTarget = uPtr(old)->RenderTarget; GLFramebuffer(uPtr(old)->GLFramebuffer); CheckGLError(::STRINGS[23/*"C:\\Users\\...*/], 202, ::STRINGS[27/*"PopRenderTa...*/]); GLViewportPixelSize(old->GLViewportPixelSize); GLScissor(old->GLScissor); } // public void PopRenderTargetFrustum() [instance] :220 void DrawContext::PopRenderTargetFrustum() { PopViewport(); PopRenderTarget(); } // public void PopScissor() [instance] :294 void DrawContext::PopScissor() { ::g::Uno::Int4 ret5; ::g::Uno::Int4 s = (::g::Uno::Collections::IListExtensions__RemoveLast_fn(::TYPES[17/*Uno.Collections.IListExtensions.RemoveLast<int4>*/], (uObject*)_glScissors, &ret5), ret5); GLScissor(s); } // public void PopViewport() [instance] :45 void DrawContext::PopViewport() { uObject* ret6; OnRenderTargetChange(); _viewport = (::g::Uno::Collections::IListExtensions__RemoveLast_fn(::TYPES[18/*Uno.Collections.IListExtensions.RemoveLast<Fuse.IRenderViewport>*/], (uObject*)_viewports, &ret6), ret6); } // public void PushRenderTarget(framebuffer fb) [instance] :164 void DrawContext::PushRenderTarget(::g::Uno::Graphics::Framebuffer* fb) { PushRenderTarget1(uPtr(fb)->RenderTarget()); } // public void PushRenderTarget(Uno.Graphics.RenderTarget rt) [instance] :169 void DrawContext::PushRenderTarget1(::g::Uno::Graphics::RenderTarget* rt) { PushRenderTarget2(rt, uPtr(rt)->Size(), ::g::Uno::Int4__New2(0, 0, uPtr(rt)->Size().X, uPtr(rt)->Size().Y)); } // private void PushRenderTarget(Uno.Graphics.RenderTarget rt, int2 viewportPixelSize, int4 glscissor) [instance] :174 void DrawContext::PushRenderTarget2(::g::Uno::Graphics::RenderTarget* rt, ::g::Uno::Int2 viewportPixelSize, ::g::Uno::Int4 glscissor) { OnRenderTargetChange(); ::g::Uno::Collections::List__Add_fn(uPtr(_renderTargets), GetRenderTargetEntry()); GLFramebuffer(uPtr(rt)->GLFramebufferHandle()); CheckGLError(::STRINGS[23/*"C:\\Users\\...*/], 181, ::STRINGS[28/*"PushRenderT...*/]); _renderTarget = rt; GLViewportPixelSize(viewportPixelSize); GLScissor(glscissor); } // public void PushRenderTargetFrustum(framebuffer fb, Fuse.IFrustum frustum) [instance] :208 void DrawContext::PushRenderTargetFrustum(::g::Uno::Graphics::Framebuffer* fb, uObject* frustum) { PushRenderTarget2(uPtr(fb)->RenderTarget(), uPtr(fb)->Size(), ::g::Uno::Int4__New7(::g::Uno::Int2__New2(0, 0), uPtr(fb)->Size())); PushViewport((uObject*)::g::Fuse::FixedViewport::New1(fb->Size(), ::g::Fuse::ICommonViewport::PixelsPerPoint(uInterface(uPtr(Viewport()), ::TYPES[19/*Fuse.ICommonViewport*/])), frustum)); } // public void PushScissor(Uno.Recti scissor) [instance] :288 void DrawContext::PushScissor(::g::Uno::Recti scissor) { ::g::Uno::Collections::List__Add_fn(uPtr(_glScissors), uCRef(GLScissor())); Scissor(scissor); } // public void PushViewport(Fuse.IRenderViewport v) [instance] :38 void DrawContext::PushViewport(uObject* v) { OnRenderTargetChange(); ::g::Uno::Collections::List__Add_fn(uPtr(_viewports), _viewport); _viewport = v; } // internal void ReleaseRootbuffer() [instance] :107 void DrawContext::ReleaseRootbuffer() { if (uPtr(_glScissors)->Count() > 0) ::g::Fuse::Diagnostics::InternalError(::STRINGS[29/*"Unpopped Sc...*/], this, ::STRINGS[23/*"C:\\Users\\...*/], 112, ::STRINGS[30/*"ReleaseRoot...*/]); uPtr(_glScissors)->Clear(); if (uPtr(_cullFaces)->Count() > 0) ::g::Fuse::Diagnostics::InternalError(::STRINGS[31/*"Unpopped Cu...*/], this, ::STRINGS[23/*"C:\\Users\\...*/], 116, ::STRINGS[30/*"ReleaseRoot...*/]); uPtr(_cullFaces)->Clear(); if (uPtr(_viewports)->Count() > 0) ::g::Fuse::Diagnostics::InternalError(::STRINGS[32/*"Unpopped Vi...*/], this, ::STRINGS[23/*"C:\\Users\\...*/], 120, ::STRINGS[30/*"ReleaseRoot...*/]); uPtr(_viewports)->Clear(); if (uPtr(_renderTargets)->Count() > 0) ::g::Fuse::Diagnostics::InternalError(::STRINGS[33/*"Unpopped Re...*/], this, ::STRINGS[23/*"C:\\Users\\...*/], 124, ::STRINGS[30/*"ReleaseRoot...*/]); uPtr(_renderTargets)->Clear(); } // public Uno.Graphics.RenderTarget get_RenderTarget() [instance] :132 ::g::Uno::Graphics::RenderTarget* DrawContext::RenderTarget() { return _renderTarget; } // public generated void add_RenderTargetChange(Uno.EventHandler value) [instance] :73 void DrawContext::add_RenderTargetChange(uDelegate* value) { RenderTargetChange1 = uCast<uDelegate*>(::g::Uno::Delegate::Combine(RenderTargetChange1, value), ::TYPES[20/*Uno.EventHandler*/]); } // public generated void remove_RenderTargetChange(Uno.EventHandler value) [instance] :73 void DrawContext::remove_RenderTargetChange(uDelegate* value) { RenderTargetChange1 = uCast<uDelegate*>(::g::Uno::Delegate::Remove(RenderTargetChange1, value), ::TYPES[20/*Uno.EventHandler*/]); } // public Uno.Recti get_Scissor() [instance] :246 ::g::Uno::Recti DrawContext::Scissor() { ::g::Uno::Int2 vsz = GLViewportPixelSize(); ::g::Uno::Int4 gl = GLScissor(); int32_t x = gl.X; int32_t y = -gl.W - (gl.Y - vsz.Y); return ::g::Uno::Recti__New1(x, y, x + gl.Z, y + gl.W); } // internal void set_Scissor(Uno.Recti value) [instance] :254 void DrawContext::Scissor(::g::Uno::Recti value) { ::g::Uno::Int2 vsz = GLViewportPixelSize(); GLScissor(::g::Uno::Int4__New2(value.Left, vsz.Y - (value.Top + value.Size().Y), value.Size().X, value.Size().Y)); } // public Fuse.IRenderViewport get_Viewport() [instance] :34 uObject* DrawContext::Viewport() { return _viewport; } // public float get_ViewportPixelsPerPoint() [instance] :341 float DrawContext::ViewportPixelsPerPoint() { return ::g::Fuse::ICommonViewport::PixelsPerPoint(uInterface(uPtr(Viewport()), ::TYPES[19/*Fuse.ICommonViewport*/])); } // public DrawContext New(Fuse.IRenderViewport viewport) [static] :61 DrawContext* DrawContext::New1(uObject* viewport) { DrawContext* obj2 = (DrawContext*)uNew(DrawContext_typeof()); obj2->ctor_(viewport); return obj2; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\NodeGroup.uno // -------------------------------------------------------------------------------- // private sealed class NodeGroupBase.EmptyNode :151 // { static void NodeGroupBase__EmptyNode_build(uType* type) { type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(::g::Fuse::Node_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(::g::Fuse::Node_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(::g::Fuse::Node_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(::g::Fuse::Node_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface6)); type->SetFields(17); } ::g::Fuse::Node_type* NodeGroupBase__EmptyNode_typeof() { static uSStrong< ::g::Fuse::Node_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Node_typeof(); options.FieldCount = 17; options.InterfaceCount = 7; options.ObjectSize = sizeof(NodeGroupBase__EmptyNode); options.TypeSize = sizeof(::g::Fuse::Node_type); type = (::g::Fuse::Node_type*)uClassType::New("Fuse.NodeGroupBase.EmptyNode", options); type->fp_build_ = NodeGroupBase__EmptyNode_build; type->fp_ctor_ = (void*)NodeGroupBase__EmptyNode__New2_fn; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // public generated EmptyNode() :151 void NodeGroupBase__EmptyNode__ctor_2_fn(NodeGroupBase__EmptyNode* __this) { __this->ctor_2(); } // public generated EmptyNode New() :151 void NodeGroupBase__EmptyNode__New2_fn(NodeGroupBase__EmptyNode** __retval) { *__retval = NodeGroupBase__EmptyNode::New2(); } // public generated EmptyNode() [instance] :151 void NodeGroupBase__EmptyNode::ctor_2() { ctor_1(); } // public generated EmptyNode New() [static] :151 NodeGroupBase__EmptyNode* NodeGroupBase__EmptyNode::New2() { NodeGroupBase__EmptyNode* obj1 = (NodeGroupBase__EmptyNode*)uNew(NodeGroupBase__EmptyNode_typeof()); obj1->ctor_2(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\PreviewState.uno // ----------------------------------------------------------------------------------- // private sealed class PreviewStateData.Entry :69 // { static void PreviewStateData__Entry_build(uType* type) { type->SetFields(0, uObject_typeof(), offsetof(PreviewStateData__Entry, Data), 0, ::g::Uno::Bool_typeof(), offsetof(PreviewStateData__Entry, Consumed), 0); } uType* PreviewStateData__Entry_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.ObjectSize = sizeof(PreviewStateData__Entry); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.PreviewStateData.Entry", options); type->fp_build_ = PreviewStateData__Entry_build; return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Children.Enumerable.uno // ------------------------------------------------------------------------------------------------- // private sealed class Visual.Enumerator<T> :24 // { static void Visual__Enumerator_build(uType* type) { ::TYPES[21] = ::g::Fuse::Visual_typeof(); ::TYPES[22] = ::g::Fuse::Node_typeof(); type->SetPrecalc( ::g::Fuse::Visual_typeof()->MakeMethod(2/*FirstChild<T>*/, type->T(0), NULL), ::g::Fuse::Node_typeof()->MakeMethod(3/*NextSibling<T>*/, type->T(0), NULL)); type->SetInterfaces( ::g::Uno::Collections::IEnumerator1_typeof()->MakeType(type->T(0), NULL), offsetof(Visual__Enumerator_type, interface0), ::g::Uno::IDisposable_typeof(), offsetof(Visual__Enumerator_type, interface1), ::g::Uno::Collections::IEnumerator_typeof(), offsetof(Visual__Enumerator_type, interface2)); type->SetFields(0, ::TYPES[21/*Fuse.Visual*/], offsetof(Visual__Enumerator, _parent), 0, type->T(0), offsetof(Visual__Enumerator, _current), 0, ::g::Uno::Bool_typeof(), offsetof(Visual__Enumerator, _reachedEnd), 0); } Visual__Enumerator_type* Visual__Enumerator_typeof() { static uSStrong<Visual__Enumerator_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 3; options.GenericCount = 1; options.InterfaceCount = 3; options.PrecalcCount = 2; options.ObjectSize = sizeof(Visual__Enumerator); options.TypeSize = sizeof(Visual__Enumerator_type); type = (Visual__Enumerator_type*)uClassType::New("Fuse.Visual.Enumerator`1", options); type->fp_build_ = Visual__Enumerator_build; type->interface0.fp_get_Current = (void(*)(uObject*, uTRef))Visual__Enumerator__get_Current_fn; type->interface1.fp_Dispose = (void(*)(uObject*))Visual__Enumerator__Dispose_fn; type->interface2.fp_Reset = (void(*)(uObject*))Visual__Enumerator__Reset_fn; type->interface2.fp_MoveNext = (void(*)(uObject*, bool*))Visual__Enumerator__MoveNext_fn; return type; } // public Enumerator(Fuse.Visual parent) :30 void Visual__Enumerator__ctor__fn(Visual__Enumerator* __this, ::g::Fuse::Visual* parent) { __this->ctor_(parent); } // public T get_Current() :46 void Visual__Enumerator__get_Current_fn(Visual__Enumerator* __this, ::g::Fuse::Node** __retval) { *__retval = __this->Current(); } // public void Dispose() :48 void Visual__Enumerator__Dispose_fn(Visual__Enumerator* __this) { __this->Dispose(); } // public bool MoveNext() :35 void Visual__Enumerator__MoveNext_fn(Visual__Enumerator* __this, bool* __retval) { *__retval = __this->MoveNext(); } // public Enumerator New(Fuse.Visual parent) :30 void Visual__Enumerator__New1_fn(uType* __type, ::g::Fuse::Visual* parent, Visual__Enumerator** __retval) { *__retval = Visual__Enumerator::New1(__type, parent); } // public void Reset() :47 void Visual__Enumerator__Reset_fn(Visual__Enumerator* __this) { __this->Reset(); } // public Enumerator(Fuse.Visual parent) [instance] :30 void Visual__Enumerator::ctor_(::g::Fuse::Visual* parent) { _parent = parent; } // public T get_Current() [instance] :46 ::g::Fuse::Node* Visual__Enumerator::Current() { return _current; } // public void Dispose() [instance] :48 void Visual__Enumerator::Dispose() { Reset(); _parent = NULL; } // public bool MoveNext() [instance] :35 bool Visual__Enumerator::MoveNext() { uType* __types[] = { __type->Precalced(0/*Fuse.Visual.FirstChild<T>*/), __type->Precalced(1/*Fuse.Node.NextSibling<T>*/), }; if (_reachedEnd) return false; if (_current == NULL) _current = ((::g::Fuse::Node*)uPtr(_parent)->FirstChild(__types[0])); else _current = ((::g::Fuse::Node*)uPtr(_current)->NextSibling(__types[1])); if (_current == NULL) _reachedEnd = true; return !_reachedEnd; } // public void Reset() [instance] :47 void Visual__Enumerator::Reset() { _current = NULL; _reachedEnd = false; } // public Enumerator New(Fuse.Visual parent) [static] :30 Visual__Enumerator* Visual__Enumerator::New1(uType* __type, ::g::Fuse::Visual* parent) { Visual__Enumerator* obj1 = (Visual__Enumerator*)uNew(__type); obj1->ctor_(parent); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\FastMatrix.uno // ---------------------------------------------------------------------------------- // public sealed class FastMatrix :5 // { static void FastMatrix_build(uType* type) { type->SetFields(0, ::g::Uno::Float4x4_typeof(), offsetof(FastMatrix, _matrix), 0, ::g::Uno::Bool_typeof(), offsetof(FastMatrix, _hasNonTranslation), 0, ::g::Uno::Bool_typeof(), offsetof(FastMatrix, _isValid), 0); } uType* FastMatrix_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 3; options.ObjectSize = sizeof(FastMatrix); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.FastMatrix", options); type->fp_build_ = FastMatrix_build; type->fp_ctor_ = (void*)FastMatrix__New1_fn; return type; } // private FastMatrix() :35 void FastMatrix__ctor__fn(FastMatrix* __this) { __this->ctor_(); } // private FastMatrix(Fuse.FastMatrix orig) :40 void FastMatrix__ctor_1_fn(FastMatrix* __this, FastMatrix* orig) { __this->ctor_1(orig); } // public void AppendFastMatrix(Fuse.FastMatrix fm) :214 void FastMatrix__AppendFastMatrix_fn(FastMatrix* __this, FastMatrix* fm) { __this->AppendFastMatrix(fm); } // public void AppendRotation(float zRadians) :93 void FastMatrix__AppendRotation_fn(FastMatrix* __this, float* zRadians) { __this->AppendRotation(*zRadians); } // public void AppendRotationQuaternion(float4 q) :170 void FastMatrix__AppendRotationQuaternion_fn(FastMatrix* __this, ::g::Uno::Float4* q) { __this->AppendRotationQuaternion(*q); } // public void AppendScale(float factor) :105 void FastMatrix__AppendScale_fn(FastMatrix* __this, float* factor) { __this->AppendScale(*factor); } // public void AppendScale(float3 scale) :164 void FastMatrix__AppendScale1_fn(FastMatrix* __this, ::g::Uno::Float3* scale) { __this->AppendScale1(*scale); } // public void AppendShear(float xRadians, float yRadians) :123 void FastMatrix__AppendShear_fn(FastMatrix* __this, float* xRadians, float* yRadians) { __this->AppendShear(*xRadians, *yRadians); } // public void AppendTranslation(float x, float y, float z) :69 void FastMatrix__AppendTranslation_fn(FastMatrix* __this, float* x, float* y, float* z) { __this->AppendTranslation(*x, *y, *z); } // public Fuse.FastMatrix Copy() :49 void FastMatrix__Copy_fn(FastMatrix* __this, FastMatrix** __retval) { *__retval = __this->Copy(); } // public static Fuse.FastMatrix FromFloat4x4(float4x4 m) :61 void FastMatrix__FromFloat4x4_fn(::g::Uno::Float4x4* m, FastMatrix** __retval) { *__retval = FastMatrix::FromFloat4x4(*m); } // public bool get_HasNonTranslation() :13 void FastMatrix__get_HasNonTranslation_fn(FastMatrix* __this, bool* __retval) { *__retval = __this->HasNonTranslation(); } // public static Fuse.FastMatrix Identity() :47 void FastMatrix__Identity_fn(FastMatrix** __retval) { *__retval = FastMatrix::Identity(); } // public void Invert() :148 void FastMatrix__Invert_fn(FastMatrix* __this) { __this->Invert(); } // public bool get_IsValid() :20 void FastMatrix__get_IsValid_fn(FastMatrix* __this, bool* __retval) { *__retval = __this->IsValid(); } // public float4x4 get_Matrix() :8 void FastMatrix__get_Matrix_fn(FastMatrix* __this, ::g::Uno::Float4x4* __retval) { *__retval = __this->Matrix(); } // public Fuse.FastMatrix Mul(Fuse.FastMatrix m) :136 void FastMatrix__Mul_fn(FastMatrix* __this, FastMatrix* m, FastMatrix** __retval) { *__retval = __this->Mul(m); } // private FastMatrix New() :35 void FastMatrix__New1_fn(FastMatrix** __retval) { *__retval = FastMatrix::New1(); } // private FastMatrix New(Fuse.FastMatrix orig) :40 void FastMatrix__New2_fn(FastMatrix* orig, FastMatrix** __retval) { *__retval = FastMatrix::New2(orig); } // public void PrependFastMatrix(Fuse.FastMatrix fm) :198 void FastMatrix__PrependFastMatrix_fn(FastMatrix* __this, FastMatrix* fm) { __this->PrependFastMatrix(fm); } // public void PrependRotation(float zRadians) :99 void FastMatrix__PrependRotation_fn(FastMatrix* __this, float* zRadians) { __this->PrependRotation(*zRadians); } // public void PrependRotationQuaternion(float4 q) :187 void FastMatrix__PrependRotationQuaternion_fn(FastMatrix* __this, ::g::Uno::Float4* q) { __this->PrependRotationQuaternion(*q); } // public void PrependScale(float factor) :111 void FastMatrix__PrependScale_fn(FastMatrix* __this, float* factor) { __this->PrependScale(*factor); } // public void PrependScale(float3 scale) :181 void FastMatrix__PrependScale1_fn(FastMatrix* __this, ::g::Uno::Float3* scale) { __this->PrependScale1(*scale); } // public void PrependShear(float xRadians, float yRadians) :117 void FastMatrix__PrependShear_fn(FastMatrix* __this, float* xRadians, float* yRadians) { __this->PrependShear(*xRadians, *yRadians); } // public void PrependTranslation(float x, float y, float z) :81 void FastMatrix__PrependTranslation_fn(FastMatrix* __this, float* x, float* y, float* z) { __this->PrependTranslation(*x, *y, *z); } // public void PrependTranslation(float3 offset) :193 void FastMatrix__PrependTranslation1_fn(FastMatrix* __this, ::g::Uno::Float3* offset) { __this->PrependTranslation1(*offset); } // public void ResetIdentity() :54 void FastMatrix__ResetIdentity_fn(FastMatrix* __this) { __this->ResetIdentity(); } // private void SimpleTranslation(float x, float y, float z) :129 void FastMatrix__SimpleTranslation_fn(FastMatrix* __this, float* x, float* y, float* z) { __this->SimpleTranslation(*x, *y, *z); } // public float3 TransformVector(float3 v) :230 void FastMatrix__TransformVector_fn(FastMatrix* __this, ::g::Uno::Float3* v, ::g::Uno::Float3* __retval) { *__retval = __this->TransformVector(*v); } // internal float3 get_Translation() :10 void FastMatrix__get_Translation_fn(FastMatrix* __this, ::g::Uno::Float3* __retval) { *__retval = __this->Translation(); } // private FastMatrix() [instance] :35 void FastMatrix::ctor_() { _isValid = true; _matrix = ::g::Uno::Float4x4__Identity(); } // private FastMatrix(Fuse.FastMatrix orig) [instance] :40 void FastMatrix::ctor_1(FastMatrix* orig) { _isValid = true; _matrix = uPtr(orig)->_matrix; _hasNonTranslation = orig->_hasNonTranslation; _isValid = orig->_isValid; } // public void AppendFastMatrix(Fuse.FastMatrix fm) [instance] :214 void FastMatrix::AppendFastMatrix(FastMatrix* fm) { _isValid = (_isValid && uPtr(fm)->_isValid); if (_hasNonTranslation || fm->_hasNonTranslation) { _matrix = ::g::Uno::Matrix::Mul8(_matrix, uPtr(fm)->Matrix()); _hasNonTranslation = true; } else { _matrix.M41 = (_matrix.M41 + uPtr(fm)->_matrix.M41); _matrix.M42 = (_matrix.M42 + fm->_matrix.M42); _matrix.M43 = (_matrix.M43 + fm->_matrix.M43); } } // public void AppendRotation(float zRadians) [instance] :93 void FastMatrix::AppendRotation(float zRadians) { _matrix = ::g::Uno::Matrix::Mul8(_matrix, ::g::Uno::Matrix::RotationZ(zRadians)); _hasNonTranslation = true; } // public void AppendRotationQuaternion(float4 q) [instance] :170 void FastMatrix::AppendRotationQuaternion(::g::Uno::Float4 q) { _matrix = ::g::Uno::Matrix::Mul8(_matrix, ::g::Uno::Matrix::RotationQuaternion(q)); _hasNonTranslation = true; } // public void AppendScale(float factor) [instance] :105 void FastMatrix::AppendScale(float factor) { _matrix = ::g::Uno::Matrix::Mul8(_matrix, ::g::Uno::Matrix::Scaling2(::g::Uno::Float3__New2(factor, factor, factor))); _hasNonTranslation = true; } // public void AppendScale(float3 scale) [instance] :164 void FastMatrix::AppendScale1(::g::Uno::Float3 scale) { _matrix = ::g::Uno::Matrix::Mul8(_matrix, ::g::Uno::Matrix::Scaling2(scale)); _hasNonTranslation = true; } // public void AppendShear(float xRadians, float yRadians) [instance] :123 void FastMatrix::AppendShear(float xRadians, float yRadians) { _matrix = ::g::Uno::Matrix::Mul8(_matrix, ::g::Uno::Matrix::Shear(::g::Uno::Float2__New2(xRadians, yRadians))); _hasNonTranslation = true; } // public void AppendTranslation(float x, float y, float z) [instance] :69 void FastMatrix::AppendTranslation(float x, float y, float z) { if (!_hasNonTranslation) SimpleTranslation(x, y, z); else _matrix = ::g::Uno::Matrix::Mul8(_matrix, ::g::Uno::Matrix::Translation1(::g::Uno::Float3__New2(x, y, z))); } // public Fuse.FastMatrix Copy() [instance] :49 FastMatrix* FastMatrix::Copy() { return FastMatrix::New2(this); } // public bool get_HasNonTranslation() [instance] :13 bool FastMatrix::HasNonTranslation() { return _hasNonTranslation; } // public void Invert() [instance] :148 void FastMatrix::Invert() { if (!_hasNonTranslation) { _matrix.M41 = -_matrix.M41; _matrix.M42 = -_matrix.M42; _matrix.M43 = -_matrix.M43; } else { ::g::Uno::Float4x4 result = ::g::Uno::Float4x4__Identity(); _isValid = (_isValid && ::g::Uno::Matrix::TryInvert2(_matrix, &result)); _matrix = result; } } // public bool get_IsValid() [instance] :20 bool FastMatrix::IsValid() { return _isValid; } // public float4x4 get_Matrix() [instance] :8 ::g::Uno::Float4x4 FastMatrix::Matrix() { return _matrix; } // public Fuse.FastMatrix Mul(Fuse.FastMatrix m) [instance] :136 FastMatrix* FastMatrix::Mul(FastMatrix* m) { FastMatrix* res = FastMatrix::New1(); res->_matrix = ::g::Uno::Matrix::Mul8(_matrix, uPtr(m)->_matrix); res->_hasNonTranslation = (_hasNonTranslation || m->_hasNonTranslation); res->_isValid = (_isValid && m->_isValid); return res; } // public void PrependFastMatrix(Fuse.FastMatrix fm) [instance] :198 void FastMatrix::PrependFastMatrix(FastMatrix* fm) { _isValid = (_isValid && uPtr(fm)->_isValid); if (_hasNonTranslation || fm->_hasNonTranslation) { _matrix = ::g::Uno::Matrix::Mul8(uPtr(fm)->Matrix(), _matrix); _hasNonTranslation = true; } else { _matrix.M41 = (_matrix.M41 + uPtr(fm)->_matrix.M41); _matrix.M42 = (_matrix.M42 + fm->_matrix.M42); _matrix.M43 = (_matrix.M43 + fm->_matrix.M43); } } // public void PrependRotation(float zRadians) [instance] :99 void FastMatrix::PrependRotation(float zRadians) { _matrix = ::g::Uno::Matrix::Mul8(::g::Uno::Matrix::RotationZ(zRadians), _matrix); _hasNonTranslation = true; } // public void PrependRotationQuaternion(float4 q) [instance] :187 void FastMatrix::PrependRotationQuaternion(::g::Uno::Float4 q) { _matrix = ::g::Uno::Matrix::Mul8(::g::Uno::Matrix::RotationQuaternion(q), _matrix); _hasNonTranslation = true; } // public void PrependScale(float factor) [instance] :111 void FastMatrix::PrependScale(float factor) { _matrix = ::g::Uno::Matrix::Mul8(::g::Uno::Matrix::Scaling2(::g::Uno::Float3__New2(factor, factor, factor)), _matrix); _hasNonTranslation = true; } // public void PrependScale(float3 scale) [instance] :181 void FastMatrix::PrependScale1(::g::Uno::Float3 scale) { _matrix = ::g::Uno::Matrix::Mul8(::g::Uno::Matrix::Scaling2(scale), _matrix); _hasNonTranslation = true; } // public void PrependShear(float xRadians, float yRadians) [instance] :117 void FastMatrix::PrependShear(float xRadians, float yRadians) { _matrix = ::g::Uno::Matrix::Mul8(::g::Uno::Matrix::Shear(::g::Uno::Float2__New2(xRadians, yRadians)), _matrix); _hasNonTranslation = true; } // public void PrependTranslation(float x, float y, float z) [instance] :81 void FastMatrix::PrependTranslation(float x, float y, float z) { if (!_hasNonTranslation) SimpleTranslation(x, y, z); else _matrix = ::g::Uno::Matrix::Mul8(::g::Uno::Matrix::Translation1(::g::Uno::Float3__New2(x, y, z)), _matrix); } // public void PrependTranslation(float3 offset) [instance] :193 void FastMatrix::PrependTranslation1(::g::Uno::Float3 offset) { _matrix = ::g::Uno::Matrix::Mul8(::g::Uno::Matrix::Translation1(offset), _matrix); } // public void ResetIdentity() [instance] :54 void FastMatrix::ResetIdentity() { _matrix = ::g::Uno::Float4x4__Identity(); _hasNonTranslation = false; _isValid = true; } // private void SimpleTranslation(float x, float y, float z) [instance] :129 void FastMatrix::SimpleTranslation(float x, float y, float z) { _matrix.M41 = (_matrix.M41 + x); _matrix.M42 = (_matrix.M42 + y); _matrix.M43 = (_matrix.M43 + z); } // public float3 TransformVector(float3 v) [instance] :230 ::g::Uno::Float3 FastMatrix::TransformVector(::g::Uno::Float3 v) { if (_hasNonTranslation) return ::g::Uno::Vector::TransformCoordinate1(v, Matrix()); else return ::g::Uno::Float3__op_Addition2(v, Translation()); } // internal float3 get_Translation() [instance] :10 ::g::Uno::Float3 FastMatrix::Translation() { ::g::Uno::Float4x4 ind1; ind1 = _matrix; return ::g::Uno::Float3__New2(ind1.M41, ind1.M42, ind1.M43); } // public static Fuse.FastMatrix FromFloat4x4(float4x4 m) [static] :61 FastMatrix* FastMatrix::FromFloat4x4(::g::Uno::Float4x4 m) { FastMatrix* k = FastMatrix::New1(); k->_matrix = m; k->_hasNonTranslation = true; return k; } // public static Fuse.FastMatrix Identity() [static] :47 FastMatrix* FastMatrix::Identity() { return FastMatrix::New1(); } // private FastMatrix New() [static] :35 FastMatrix* FastMatrix::New1() { FastMatrix* obj3 = (FastMatrix*)uNew(FastMatrix_typeof()); obj3->ctor_(); return obj3; } // private FastMatrix New(Fuse.FastMatrix orig) [static] :40 FastMatrix* FastMatrix::New2(FastMatrix* orig) { FastMatrix* obj4 = (FastMatrix*)uNew(FastMatrix_typeof()); obj4->ctor_1(orig); return obj4; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.FastProperties1.uno // --------------------------------------------------------------------------------------------- // internal enum FastProperty1 :4 uEnumType* FastProperty1_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.FastProperty1", ::g::Uno::Int_typeof(), 29); type->SetLiterals( "IsEnabled", 1LL, "IsContextEnabledCache", 2LL, "IsLocalFlat", 4LL, "IsLocalFlatCached", 8LL, "AreChildrenFlatCached", 16LL, "AreChildrenFlat", 32LL, "MinWidth", 64LL, "MinHeight", 128LL, "MaxWidth", 256LL, "MaxHeight", 512LL, "Margin", 1024LL, "Padding", 2048LL, "Anchor", 4096LL, "Offset", 8192LL, "X", 16384LL, "Y", 32768LL, "Aspect", 65536LL, "AspectConstraint", 131072LL, "CachingMode", 262144LL, "HitTestMode", 524288LL, "ClipToBounds", 1048576LL, "TransformOrigin", 2097152LL, "Opacity", 4194304LL, "LimitWidth", 8388608LL, "LimitHeight", 16777216LL, "SnapToPixels", 33554432LL, "ContextSnapToPixelsCache", 67108864LL, "HasSnapToPixels", 134217728LL, "PendingRemove", 268435456LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.FastProperties1.uno // --------------------------------------------------------------------------------------------- // internal class FastProperty1Link :46 // { static void FastProperty1Link_build(uType* type) { type->SetFields(0, ::g::Fuse::FastProperty1_typeof(), offsetof(FastProperty1Link, Property), 0, type, offsetof(FastProperty1Link, Next), 0); } uType* FastProperty1Link_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.ObjectSize = sizeof(FastProperty1Link); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.FastProperty1Link", options); type->fp_build_ = FastProperty1Link_build; return type; } // public FastProperty1Link(Fuse.FastProperty1 p) :51 void FastProperty1Link__ctor__fn(FastProperty1Link* __this, int32_t* p) { __this->ctor_(*p); } // public FastProperty1Link(Fuse.FastProperty1 p) [instance] :51 void FastProperty1Link::ctor_(int32_t p) { Property = p; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.FastProperties1.uno // --------------------------------------------------------------------------------------------- // internal sealed class FastProperty1Link<T> :57 // { static void FastProperty1Link1_build(uType* type) { type->SetFields(2, type->T(0), (uintptr_t)0, uFieldFlagsConstrained); } uType* FastProperty1Link1_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::FastProperty1Link_typeof(); options.FieldCount = 3; options.GenericCount = 1; options.ObjectSize = sizeof(FastProperty1Link1); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.FastProperty1Link`1", options); type->fp_build_ = FastProperty1Link1_build; return type; } // public FastProperty1Link(Fuse.FastProperty1 p, T value) :60 void FastProperty1Link1__ctor_1_fn(FastProperty1Link1* __this, int32_t* p, void* value) { int32_t p_ = *p; __this->ctor_(p_); __this->Value() = value; } // public FastProperty1Link New(Fuse.FastProperty1 p, T value) :60 void FastProperty1Link1__New2_fn(uType* __type, int32_t* p, void* value, FastProperty1Link1** __retval) { int32_t p_ = *p; FastProperty1Link1* obj1 = (FastProperty1Link1*)uNew(__type); FastProperty1Link1__ctor_1_fn(obj1, uCRef<int32_t>(p_), value); return *__retval = obj1, void(); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.FastProperties2.uno // --------------------------------------------------------------------------------------------- // internal enum FastProperty2 :4 uEnumType* FastProperty2_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.FastProperty2", ::g::Uno::Int_typeof(), 16); type->SetLiterals( "Color", 1LL, "TextWrapping", 2LL, "IsMultiline", 4LL, "InputHint", 8LL, "PlaceholderText", 16LL, "PlaceholderColor", 32LL, "ActionStyle", 64LL, "CaretColor", 128LL, "SelectionColor", 256LL, "LineSpacing", 512LL, "TextAlignment", 1024LL, "TextTruncation", 2048LL, "IsPassword", 4096LL, "IsReadOnly", 8192LL, "AutoCorrectHint", 16384LL, "AutoCapitalizationHint", 32768LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.FastProperties2.uno // --------------------------------------------------------------------------------------------- // internal class FastProperty2Link :26 // { static void FastProperty2Link_build(uType* type) { type->SetFields(0, ::g::Fuse::FastProperty2_typeof(), offsetof(FastProperty2Link, Property), 0, type, offsetof(FastProperty2Link, Next), 0); } uType* FastProperty2Link_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.ObjectSize = sizeof(FastProperty2Link); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.FastProperty2Link", options); type->fp_build_ = FastProperty2Link_build; return type; } // public FastProperty2Link(Fuse.FastProperty2 p) :31 void FastProperty2Link__ctor__fn(FastProperty2Link* __this, int32_t* p) { __this->ctor_(*p); } // public FastProperty2Link(Fuse.FastProperty2 p) [instance] :31 void FastProperty2Link::ctor_(int32_t p) { Property = p; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.FastProperties2.uno // --------------------------------------------------------------------------------------------- // internal sealed class FastProperty2Link<T> :37 // { static void FastProperty2Link1_build(uType* type) { type->SetFields(2, type->T(0), (uintptr_t)0, uFieldFlagsConstrained); } uType* FastProperty2Link1_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::FastProperty2Link_typeof(); options.FieldCount = 3; options.GenericCount = 1; options.ObjectSize = sizeof(FastProperty2Link1); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.FastProperty2Link`1", options); type->fp_build_ = FastProperty2Link1_build; return type; } // public FastProperty2Link(Fuse.FastProperty2 p, T value) :40 void FastProperty2Link1__ctor_1_fn(FastProperty2Link1* __this, int32_t* p, void* value) { int32_t p_ = *p; __this->ctor_(p_); __this->Value() = value; } // public FastProperty2Link New(Fuse.FastProperty2 p, T value) :40 void FastProperty2Link1__New2_fn(uType* __type, int32_t* p, void* value, FastProperty2Link1** __retval) { int32_t p_ = *p; FastProperty2Link1* obj1 = (FastProperty2Link1*)uNew(__type); FastProperty2Link1__ctor_1_fn(obj1, uCRef<int32_t>(p_), value); return *__retval = obj1, void(); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\FileSourceConverter.uno // -------------------------------------------------------------------------------------------- // internal sealed class FileSourceConverter :8 // { static void FileSourceConverter_build(uType* type) { ::STRINGS[37] = uString::Const("path"); ::TYPES[23] = ::g::Uno::Type_typeof(); ::TYPES[24] = ::g::Uno::String_typeof(); ::TYPES[25] = ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Uno::IO::BundleFile_typeof(), NULL); ::TYPES[26] = ::g::Uno::Collections::IEnumerator_typeof(); ::TYPES[27] = ::g::Uno::Collections::IEnumerator1_typeof()->MakeType(::g::Uno::IO::BundleFile_typeof(), NULL); ::TYPES[28] = ::g::Uno::IDisposable_typeof(); ::TYPES[29] = ::g::Fuse::IObject_typeof(); type->SetDependencies( ::g::Uno::IO::Bundle_typeof(), ::g::Uno::Type_typeof()); type->SetInterfaces( ::g::Fuse::Marshal__IConverter_typeof(), offsetof(FileSourceConverter_type, interface0)); } FileSourceConverter_type* FileSourceConverter_typeof() { static uSStrong<FileSourceConverter_type*> type; if (type != NULL) return type; uTypeOptions options; options.InterfaceCount = 1; options.DependencyCount = 2; options.ObjectSize = sizeof(FileSourceConverter); options.TypeSize = sizeof(FileSourceConverter_type); type = (FileSourceConverter_type*)uClassType::New("Fuse.FileSourceConverter", options); type->fp_build_ = FileSourceConverter_build; type->fp_ctor_ = (void*)FileSourceConverter__New1_fn; type->interface0.fp_CanConvert = (void(*)(uObject*, uType*, bool*))FileSourceConverter__CanConvert_fn; type->interface0.fp_TryConvert = (void(*)(uObject*, uType*, uObject*, uObject**))FileSourceConverter__TryConvert_fn; return type; } // public generated FileSourceConverter() :8 void FileSourceConverter__ctor__fn(FileSourceConverter* __this) { __this->ctor_(); } // public bool CanConvert(Uno.Type t) :10 void FileSourceConverter__CanConvert_fn(FileSourceConverter* __this, uType* t, bool* __retval) { *__retval = __this->CanConvert(t); } // public generated FileSourceConverter New() :8 void FileSourceConverter__New1_fn(FileSourceConverter** __retval) { *__retval = FileSourceConverter::New1(); } // public object TryConvert(Uno.Type t, object obj) :11 void FileSourceConverter__TryConvert_fn(FileSourceConverter* __this, uType* t, uObject* obj, uObject** __retval) { *__retval = __this->TryConvert(t, obj); } // public generated FileSourceConverter() [instance] :8 void FileSourceConverter::ctor_() { } // public bool CanConvert(Uno.Type t) [instance] :10 bool FileSourceConverter::CanConvert(uType* t) { return ::g::Uno::Type::op_Equality(t, ::g::Uno::UX::FileSource_typeof()) || ::g::Uno::Type::IsSubclassOf(uPtr(t), ::g::Uno::UX::FileSource_typeof()); } // public object TryConvert(Uno.Type t, object obj) [instance] :11 uObject* FileSourceConverter::TryConvert(uType* t, uObject* obj) { ::g::Uno::IO::BundleFile* ret3; if (!CanConvert(t)) return NULL; if (uIs(obj, ::TYPES[24/*string*/])) { uString* path = uCast<uString*>(obj, ::TYPES[24/*string*/]); uObject* enum1 = (uObject*)::g::Uno::Collections::IEnumerable::GetEnumerator(uInterface(uPtr(::g::Uno::IO::Bundle::AllFiles()), ::TYPES[25/*Uno.Collections.IEnumerable<Uno.IO.BundleFile>*/])); { try { { while (::g::Uno::Collections::IEnumerator::MoveNext(uInterface(uPtr(enum1), ::TYPES[26/*Uno.Collections.IEnumerator*/]))) { ::g::Uno::IO::BundleFile* f = (::g::Uno::Collections::IEnumerator1::get_Current_ex(uInterface(uPtr(enum1), ::TYPES[27/*Uno.Collections.IEnumerator<Uno.IO.BundleFile>*/]), &ret3), ret3); if (::g::Uno::String::op_Equality(uPtr(f)->SourcePath(), path)) { uObject* __uno_retval = ::g::Uno::UX::BundleFileSource::New1(f); ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum1), ::TYPES[28/*Uno.IDisposable*/])); return __uno_retval; } } } } catch (const uThrowable& __t) { { ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum1), ::TYPES[28/*Uno.IDisposable*/])); } throw __t; goto __after_finally_0; } { ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum1), ::TYPES[28/*Uno.IDisposable*/])); } __after_finally_0:; } return ::g::Fuse::JSFileSource::New1(uCast<uString*>(obj, ::TYPES[24/*string*/])); } else if (uIs(obj, ::TYPES[29/*Fuse.IObject*/])) return ::g::Fuse::JSFileSource::New1(uAs<uString*>(::g::Fuse::IObject::Item(uInterface(uPtr((uObject*)obj), ::TYPES[29/*Fuse.IObject*/]), ::STRINGS[37/*"path"*/]), ::TYPES[24/*string*/])); return NULL; } // public generated FileSourceConverter New() [static] :8 FileSourceConverter* FileSourceConverter::New1() { FileSourceConverter* obj2 = (FileSourceConverter*)uNew(FileSourceConverter_typeof()); obj2->ctor_(); return obj2; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\IViewport.uno // -------------------------------------------------------------------------------- // internal sealed class FixedViewport :181 // { static void FixedViewport_build(uType* type) { type->SetInterfaces( ::g::Fuse::IRenderViewport_typeof(), offsetof(FixedViewport_type, interface0), ::g::Fuse::IViewport_typeof(), offsetof(FixedViewport_type, interface1), ::g::Fuse::ICommonViewport_typeof(), offsetof(FixedViewport_type, interface2)); type->SetFields(0, ::g::Uno::Float_typeof(), offsetof(FixedViewport, _pixelsPerPoint), 0, ::g::Uno::Float2_typeof(), offsetof(FixedViewport, _pixelSize), 0, ::g::Fuse::FrustumViewport_typeof(), offsetof(FixedViewport, _frustumViewport), 0, ::g::Fuse::IFrustum_typeof(), offsetof(FixedViewport, _frustum), 0); } FixedViewport_type* FixedViewport_typeof() { static uSStrong<FixedViewport_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 4; options.InterfaceCount = 3; options.ObjectSize = sizeof(FixedViewport); options.TypeSize = sizeof(FixedViewport_type); type = (FixedViewport_type*)uClassType::New("Fuse.FixedViewport", options); type->fp_build_ = FixedViewport_build; type->interface0.fp_get_ViewProjectionTransform = (void(*)(uObject*, ::g::Uno::Float4x4*))FixedViewport__get_ViewProjectionTransform_fn; type->interface1.fp_PointToWorldRay = (void(*)(uObject*, ::g::Uno::Float2*, ::g::Fuse::Ray*))FixedViewport__PointToWorldRay_fn; type->interface1.fp_WorldToLocalRay = (void(*)(uObject*, uObject*, ::g::Fuse::Ray*, ::g::Fuse::Visual*, ::g::Fuse::Ray*))FixedViewport__WorldToLocalRay_fn; type->interface2.fp_get_PixelsPerPoint = (void(*)(uObject*, float*))FixedViewport__get_PixelsPerPoint_fn; type->interface2.fp_get_Size = (void(*)(uObject*, ::g::Uno::Float2*))FixedViewport__get_Size_fn; return type; } // public FixedViewport(int2 pixelSize, float pixelsPerPoint, Fuse.IFrustum frustum) :220 void FixedViewport__ctor__fn(FixedViewport* __this, ::g::Uno::Int2* pixelSize, float* pixelsPerPoint, uObject* frustum) { __this->ctor_(*pixelSize, *pixelsPerPoint, frustum); } // public FixedViewport New(int2 pixelSize, float pixelsPerPoint, Fuse.IFrustum frustum) :220 void FixedViewport__New1_fn(::g::Uno::Int2* pixelSize, float* pixelsPerPoint, uObject* frustum, FixedViewport** __retval) { *__retval = FixedViewport::New1(*pixelSize, *pixelsPerPoint, frustum); } // public float2 get_PixelSize() :189 void FixedViewport__get_PixelSize_fn(FixedViewport* __this, ::g::Uno::Float2* __retval) { *__retval = __this->PixelSize(); } // public float get_PixelsPerPoint() :184 void FixedViewport__get_PixelsPerPoint_fn(FixedViewport* __this, float* __retval) { *__retval = __this->PixelsPerPoint(); } // public Fuse.Ray PointToWorldRay(float2 pointPos) :209 void FixedViewport__PointToWorldRay_fn(FixedViewport* __this, ::g::Uno::Float2* pointPos, ::g::Fuse::Ray* __retval) { *__retval = __this->PointToWorldRay(*pointPos); } // public float2 get_Size() :186 void FixedViewport__get_Size_fn(FixedViewport* __this, ::g::Uno::Float2* __retval) { *__retval = __this->Size(); } // public float4x4 get_ViewProjectionTransform() :198 void FixedViewport__get_ViewProjectionTransform_fn(FixedViewport* __this, ::g::Uno::Float4x4* __retval) { *__retval = __this->ViewProjectionTransform(); } // public Fuse.Ray WorldToLocalRay(Fuse.IViewport world, Fuse.Ray worldRay, Fuse.Visual where) :213 void FixedViewport__WorldToLocalRay_fn(FixedViewport* __this, uObject* world, ::g::Fuse::Ray* worldRay, ::g::Fuse::Visual* where, ::g::Fuse::Ray* __retval) { *__retval = __this->WorldToLocalRay(world, *worldRay, where); } // public FixedViewport(int2 pixelSize, float pixelsPerPoint, Fuse.IFrustum frustum) [instance] :220 void FixedViewport::ctor_(::g::Uno::Int2 pixelSize, float pixelsPerPoint, uObject* frustum) { _frustumViewport = ::g::Fuse::FrustumViewport::New1(); _frustum = frustum; _pixelSize = ::g::Uno::Float2__New2((float)pixelSize.X, (float)pixelSize.Y); _pixelsPerPoint = pixelsPerPoint; uPtr(_frustumViewport)->Update((uObject*)this, frustum); } // public float2 get_PixelSize() [instance] :189 ::g::Uno::Float2 FixedViewport::PixelSize() { return _pixelSize; } // public float get_PixelsPerPoint() [instance] :184 float FixedViewport::PixelsPerPoint() { return _pixelsPerPoint; } // public Fuse.Ray PointToWorldRay(float2 pointPos) [instance] :209 ::g::Fuse::Ray FixedViewport::PointToWorldRay(::g::Uno::Float2 pointPos) { return ::g::Fuse::ViewportHelpers::PointToWorldRay((uObject*)this, uPtr(_frustumViewport)->ViewProjectionTransformInverse, pointPos); } // public float2 get_Size() [instance] :186 ::g::Uno::Float2 FixedViewport::Size() { return ::g::Uno::Float2__op_Division1(PixelSize(), PixelsPerPoint()); } // public float4x4 get_ViewProjectionTransform() [instance] :198 ::g::Uno::Float4x4 FixedViewport::ViewProjectionTransform() { return uPtr(_frustumViewport)->ViewProjectionTransform; } // public Fuse.Ray WorldToLocalRay(Fuse.IViewport world, Fuse.Ray worldRay, Fuse.Visual where) [instance] :213 ::g::Fuse::Ray FixedViewport::WorldToLocalRay(uObject* world, ::g::Fuse::Ray worldRay, ::g::Fuse::Visual* where) { return ::g::Fuse::ViewportHelpers::WorldToLocalRay((uObject*)this, world, worldRay, where); } // public FixedViewport New(int2 pixelSize, float pixelsPerPoint, Fuse.IFrustum frustum) [static] :220 FixedViewport* FixedViewport::New1(::g::Uno::Int2 pixelSize, float pixelsPerPoint, uObject* frustum) { FixedViewport* obj1 = (FixedViewport*)uNew(FixedViewport_typeof()); obj1->ctor_(pixelSize, pixelsPerPoint, frustum); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\LayoutParams.uno // ----------------------------------------------------------------------------------- // private enum LayoutParams.Flags :14 uEnumType* LayoutParams__Flags_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.LayoutParams.Flags", ::g::Uno::Int_typeof(), 12); type->SetLiterals( "None", 0LL, "X", 1LL, "Y", 2LL, "Temporary", 4LL, "MaxX", 8LL, "MaxY", 16LL, "MinX", 32LL, "MinY", 64LL, "RelativeX", 128LL, "RelativeY", 256LL, "NoRelativeX", 512LL, "NoRelativeY", 1024LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // internal sealed class Float2Computer :224 // { static void Float2Computer_build(uType* type) { type->SetBase(::g::Fuse::Computer1_typeof()->MakeType(::g::Uno::Float2_typeof(), NULL)); } ::g::Fuse::Computer1_type* Float2Computer_typeof() { static uSStrong< ::g::Fuse::Computer1_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Computer1_typeof(); options.ObjectSize = sizeof(Float2Computer); options.TypeSize = sizeof(::g::Fuse::Computer1_type); type = (::g::Fuse::Computer1_type*)uClassType::New("Fuse.Float2Computer", options); type->fp_build_ = Float2Computer_build; type->fp_ctor_ = (void*)Float2Computer__New1_fn; type->fp_TryOpImpl = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, bool*, bool*))Float2Computer__TryOpImpl_fn; type->fp_TryOpImpl1 = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, uTRef, bool*))Float2Computer__TryOpImpl1_fn; return type; } // public generated Float2Computer() :224 void Float2Computer__ctor_2_fn(Float2Computer* __this) { __this->ctor_2(); } // public generated Float2Computer New() :224 void Float2Computer__New1_fn(Float2Computer** __retval) { *__retval = Float2Computer::New1(); } // protected override sealed bool TryOpImpl(Fuse.Computer.BoolOp op, float2 a, float2 b, bool& result) :240 void Float2Computer__TryOpImpl_fn(Float2Computer* __this, int32_t* op, ::g::Uno::Float2* a, ::g::Uno::Float2* b, bool* result, bool* __retval) { int32_t op_ = *op; ::g::Uno::Float2 a_ = *a; ::g::Uno::Float2 b_ = *b; switch (op_) { case 4: { *result = ::g::Uno::Float2__op_Equality(a_, b_); return *__retval = true, void(); } } *result = false; return *__retval = false, void(); } // protected override sealed bool TryOpImpl(Fuse.Computer.TypeOp op, float2 a, float2 b, float2& result) :226 void Float2Computer__TryOpImpl1_fn(Float2Computer* __this, int32_t* op, ::g::Uno::Float2* a, ::g::Uno::Float2* b, ::g::Uno::Float2* result, bool* __retval) { int32_t op_ = *op; ::g::Uno::Float2 a_ = *a; ::g::Uno::Float2 b_ = *b; switch (op_) { case 0: { *result = ::g::Uno::Float2__op_Addition2(a_, b_); return *__retval = true, void(); } case 1: { *result = ::g::Uno::Float2__op_Subtraction2(a_, b_); return *__retval = true, void(); } case 2: { *result = ::g::Uno::Float2__op_Multiply2(a_, b_); return *__retval = true, void(); } case 3: { *result = ::g::Uno::Float2__op_Division2(a_, b_); return *__retval = true, void(); } } *result = ::g::Uno::Float2__New1(0.0f); return *__retval = false, void(); } // public generated Float2Computer() [instance] :224 void Float2Computer::ctor_2() { ctor_1(); } // public generated Float2Computer New() [static] :224 Float2Computer* Float2Computer::New1() { Float2Computer* obj1 = (Float2Computer*)uNew(Float2Computer_typeof()); obj1->ctor_2(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // internal sealed class Float3Computer :252 // { static void Float3Computer_build(uType* type) { type->SetBase(::g::Fuse::Computer1_typeof()->MakeType(::g::Uno::Float3_typeof(), NULL)); } ::g::Fuse::Computer1_type* Float3Computer_typeof() { static uSStrong< ::g::Fuse::Computer1_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Computer1_typeof(); options.ObjectSize = sizeof(Float3Computer); options.TypeSize = sizeof(::g::Fuse::Computer1_type); type = (::g::Fuse::Computer1_type*)uClassType::New("Fuse.Float3Computer", options); type->fp_build_ = Float3Computer_build; type->fp_ctor_ = (void*)Float3Computer__New1_fn; type->fp_TryOpImpl = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, bool*, bool*))Float3Computer__TryOpImpl_fn; type->fp_TryOpImpl1 = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, uTRef, bool*))Float3Computer__TryOpImpl1_fn; return type; } // public generated Float3Computer() :252 void Float3Computer__ctor_2_fn(Float3Computer* __this) { __this->ctor_2(); } // public generated Float3Computer New() :252 void Float3Computer__New1_fn(Float3Computer** __retval) { *__retval = Float3Computer::New1(); } // protected override sealed bool TryOpImpl(Fuse.Computer.BoolOp op, float3 a, float3 b, bool& result) :268 void Float3Computer__TryOpImpl_fn(Float3Computer* __this, int32_t* op, ::g::Uno::Float3* a, ::g::Uno::Float3* b, bool* result, bool* __retval) { int32_t op_ = *op; ::g::Uno::Float3 a_ = *a; ::g::Uno::Float3 b_ = *b; switch (op_) { case 4: { *result = ::g::Uno::Float3__op_Equality(a_, b_); return *__retval = true, void(); } } *result = false; return *__retval = false, void(); } // protected override sealed bool TryOpImpl(Fuse.Computer.TypeOp op, float3 a, float3 b, float3& result) :254 void Float3Computer__TryOpImpl1_fn(Float3Computer* __this, int32_t* op, ::g::Uno::Float3* a, ::g::Uno::Float3* b, ::g::Uno::Float3* result, bool* __retval) { int32_t op_ = *op; ::g::Uno::Float3 a_ = *a; ::g::Uno::Float3 b_ = *b; switch (op_) { case 0: { *result = ::g::Uno::Float3__op_Addition2(a_, b_); return *__retval = true, void(); } case 1: { *result = ::g::Uno::Float3__op_Subtraction2(a_, b_); return *__retval = true, void(); } case 2: { *result = ::g::Uno::Float3__op_Multiply2(a_, b_); return *__retval = true, void(); } case 3: { *result = ::g::Uno::Float3__op_Division2(a_, b_); return *__retval = true, void(); } } *result = ::g::Uno::Float3__New1(0.0f); return *__retval = false, void(); } // public generated Float3Computer() [instance] :252 void Float3Computer::ctor_2() { ctor_1(); } // public generated Float3Computer New() [static] :252 Float3Computer* Float3Computer::New1() { Float3Computer* obj1 = (Float3Computer*)uNew(Float3Computer_typeof()); obj1->ctor_2(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // internal sealed class Float4Computer :280 // { static void Float4Computer_build(uType* type) { type->SetBase(::g::Fuse::Computer1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL)); } ::g::Fuse::Computer1_type* Float4Computer_typeof() { static uSStrong< ::g::Fuse::Computer1_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Computer1_typeof(); options.ObjectSize = sizeof(Float4Computer); options.TypeSize = sizeof(::g::Fuse::Computer1_type); type = (::g::Fuse::Computer1_type*)uClassType::New("Fuse.Float4Computer", options); type->fp_build_ = Float4Computer_build; type->fp_ctor_ = (void*)Float4Computer__New1_fn; type->fp_TryOpImpl = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, bool*, bool*))Float4Computer__TryOpImpl_fn; type->fp_TryOpImpl1 = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, uTRef, bool*))Float4Computer__TryOpImpl1_fn; return type; } // public generated Float4Computer() :280 void Float4Computer__ctor_2_fn(Float4Computer* __this) { __this->ctor_2(); } // public generated Float4Computer New() :280 void Float4Computer__New1_fn(Float4Computer** __retval) { *__retval = Float4Computer::New1(); } // protected override sealed bool TryOpImpl(Fuse.Computer.BoolOp op, float4 a, float4 b, bool& result) :296 void Float4Computer__TryOpImpl_fn(Float4Computer* __this, int32_t* op, ::g::Uno::Float4* a, ::g::Uno::Float4* b, bool* result, bool* __retval) { int32_t op_ = *op; ::g::Uno::Float4 a_ = *a; ::g::Uno::Float4 b_ = *b; switch (op_) { case 4: { *result = ::g::Uno::Float4__op_Equality(a_, b_); return *__retval = true, void(); } } *result = false; return *__retval = false, void(); } // protected override sealed bool TryOpImpl(Fuse.Computer.TypeOp op, float4 a, float4 b, float4& result) :282 void Float4Computer__TryOpImpl1_fn(Float4Computer* __this, int32_t* op, ::g::Uno::Float4* a, ::g::Uno::Float4* b, ::g::Uno::Float4* result, bool* __retval) { int32_t op_ = *op; ::g::Uno::Float4 a_ = *a; ::g::Uno::Float4 b_ = *b; switch (op_) { case 0: { *result = ::g::Uno::Float4__op_Addition2(a_, b_); return *__retval = true, void(); } case 1: { *result = ::g::Uno::Float4__op_Subtraction2(a_, b_); return *__retval = true, void(); } case 2: { *result = ::g::Uno::Float4__op_Multiply2(a_, b_); return *__retval = true, void(); } case 3: { *result = ::g::Uno::Float4__op_Division2(a_, b_); return *__retval = true, void(); } } *result = ::g::Uno::Float4__New1(0.0f); return *__retval = false, void(); } // public generated Float4Computer() [instance] :280 void Float4Computer::ctor_2() { ctor_1(); } // public generated Float4Computer New() [static] :280 Float4Computer* Float4Computer::New1() { Float4Computer* obj1 = (Float4Computer*)uNew(Float4Computer_typeof()); obj1->ctor_2(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Font.uno // ---------------------------------------------------------------------------- // public class Font :27 // { // static generated Font() :27 static void Font__cctor__fn(uType* __type) { Font::Thin_ = ::g::Fuse::SystemFont::New3(::STRINGS[38/*"sans-serif-...*/], 0, 1); Font::Light_ = ::g::Fuse::SystemFont::New3(::STRINGS[39/*"sans-serif-...*/], 0, 2); Font::Regular_ = ::g::Fuse::SystemFont::New3(::STRINGS[40/*"sans-serif"*/], 0, 3); Font::Medium_ = ::g::Fuse::SystemFont::New3(::STRINGS[40/*"sans-serif"*/], 0, 4); Font::Bold_ = ::g::Fuse::SystemFont::New3(::STRINGS[40/*"sans-serif"*/], 0, 6); Font::ThinItalic_ = ::g::Fuse::SystemFont::New3(::STRINGS[38/*"sans-serif-...*/], 1, 1); Font::LightItalic_ = ::g::Fuse::SystemFont::New3(::STRINGS[39/*"sans-serif-...*/], 1, 2); Font::Italic_ = ::g::Fuse::SystemFont::New3(::STRINGS[40/*"sans-serif"*/], 1, 3); Font::MediumItalic_ = ::g::Fuse::SystemFont::New3(::STRINGS[40/*"sans-serif"*/], 1, 4); Font::BoldItalic_ = ::g::Fuse::SystemFont::New3(::STRINGS[40/*"sans-serif"*/], 1, 6); } static void Font_build(uType* type) { ::STRINGS[38] = uString::Const("sans-serif-thin"); ::STRINGS[39] = uString::Const("sans-serif-light"); ::STRINGS[40] = uString::Const("sans-serif"); ::STRINGS[41] = uString::Const("descriptors"); ::STRINGS[42] = uString::Const("font contains no descriptors!"); type->SetFields(0, ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::Internal::FontFaceDescriptor_typeof(), NULL), offsetof(Font, Descriptors), 0, type, (uintptr_t)&Font::_fallback_, uFieldFlagsStatic, type, (uintptr_t)&Font::Thin_, uFieldFlagsStatic, type, (uintptr_t)&Font::Light_, uFieldFlagsStatic, type, (uintptr_t)&Font::Regular_, uFieldFlagsStatic, type, (uintptr_t)&Font::Medium_, uFieldFlagsStatic, type, (uintptr_t)&Font::Bold_, uFieldFlagsStatic, type, (uintptr_t)&Font::ThinItalic_, uFieldFlagsStatic, type, (uintptr_t)&Font::LightItalic_, uFieldFlagsStatic, type, (uintptr_t)&Font::Italic_, uFieldFlagsStatic, type, (uintptr_t)&Font::MediumItalic_, uFieldFlagsStatic, type, (uintptr_t)&Font::BoldItalic_, uFieldFlagsStatic); } uType* Font_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 12; options.ObjectSize = sizeof(Font); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.Font", options); type->fp_build_ = Font_build; type->fp_cctor_ = Font__cctor__fn; return type; } // internal Font(Uno.Collections.List<Fuse.Internal.FontFaceDescriptor> descriptors) :45 void Font__ctor__fn(Font* __this, ::g::Uno::Collections::List* descriptors) { __this->ctor_(descriptors); } // public Font(Uno.UX.FileSource file) :40 void Font__ctor_1_fn(Font* __this, ::g::Uno::UX::FileSource* file) { __this->ctor_1(file); } // internal Uno.UX.FileSource get_FileSource() :33 void Font__get_FileSource_fn(Font* __this, ::g::Uno::UX::FileSource** __retval) { *__retval = __this->FileSource(); } // internal Font New(Uno.Collections.List<Fuse.Internal.FontFaceDescriptor> descriptors) :45 void Font__New1_fn(::g::Uno::Collections::List* descriptors, Font** __retval) { *__retval = Font::New1(descriptors); } // public Font New(Uno.UX.FileSource file) :40 void Font__New2_fn(::g::Uno::UX::FileSource* file, Font** __retval) { *__retval = Font::New2(file); } // public static Fuse.Font get_PlatformDefault() :62 void Font__get_PlatformDefault_fn(Font** __retval) { *__retval = Font::PlatformDefault(); } // public static float get_PlatformDefaultSize() :73 void Font__get_PlatformDefaultSize_fn(float* __retval) { *__retval = Font::PlatformDefaultSize(); } // public static float4 get_PlatformDefaultTextColor() :83 void Font__get_PlatformDefaultTextColor_fn(::g::Uno::Float4* __retval) { *__retval = Font::PlatformDefaultTextColor(); } uSStrong<Font*> Font::_fallback_; uSStrong<Font*> Font::Thin_; uSStrong<Font*> Font::Light_; uSStrong<Font*> Font::Regular_; uSStrong<Font*> Font::Medium_; uSStrong<Font*> Font::Bold_; uSStrong<Font*> Font::ThinItalic_; uSStrong<Font*> Font::LightItalic_; uSStrong<Font*> Font::Italic_; uSStrong<Font*> Font::MediumItalic_; uSStrong<Font*> Font::BoldItalic_; // internal Font(Uno.Collections.List<Fuse.Internal.FontFaceDescriptor> descriptors) [instance] :45 void Font::ctor_(::g::Uno::Collections::List* descriptors) { if (descriptors == NULL) U_THROW(::g::Uno::ArgumentNullException::New6(::STRINGS[41/*"descriptors"*/])); if (uPtr(descriptors)->Count() < 1) U_THROW(::g::Uno::Exception::New2(::STRINGS[42/*"font contai...*/])); Descriptors = descriptors; } // public Font(Uno.UX.FileSource file) [instance] :40 void Font::ctor_1(::g::Uno::UX::FileSource* file) { ctor_(::g::Fuse::Internal::SystemFont::GetFallback(file)); } // internal Uno.UX.FileSource get_FileSource() [instance] :33 ::g::Uno::UX::FileSource* Font::FileSource() { ::g::Fuse::Internal::FontFaceDescriptor* ret3; return uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(Descriptors), uCRef<int32_t>(0), &ret3), ret3))->FileSource; } // internal Font New(Uno.Collections.List<Fuse.Internal.FontFaceDescriptor> descriptors) [static] :45 Font* Font::New1(::g::Uno::Collections::List* descriptors) { Font* obj2 = (Font*)uNew(Font_typeof()); obj2->ctor_(descriptors); return obj2; } // public Font New(Uno.UX.FileSource file) [static] :40 Font* Font::New2(::g::Uno::UX::FileSource* file) { Font* obj1 = (Font*)uNew(Font_typeof()); obj1->ctor_1(file); return obj1; } // public static Fuse.Font get_PlatformDefault() [static] :62 Font* Font::PlatformDefault() { Font_typeof()->Init(); if (Font::_fallback_ == NULL) Font::_fallback_ = Font::New1(::g::Fuse::Internal::SystemFont::Default()); return Font::_fallback_; } // public static float get_PlatformDefaultSize() [static] :73 float Font::PlatformDefaultSize() { Font_typeof()->Init(); return 16.0f; } // public static float4 get_PlatformDefaultTextColor() [static] :83 ::g::Uno::Float4 Font::PlatformDefaultTextColor() { Font_typeof()->Init(); return ::g::Uno::Float4__New2(0.321568638f, 0.321568638f, 0.321568638f, 1.0f); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\FramebufferPool.uno // --------------------------------------------------------------------------------------- // public static class FramebufferPool :9 // { static void FramebufferPool_build(uType* type) { type->SetFields(0, ::g::Fuse::FramebufferPoolImpl_typeof(), (uintptr_t)&FramebufferPool::framebufferPool_, uFieldFlagsStatic); } uClassType* FramebufferPool_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.FramebufferPool", options); type->fp_build_ = FramebufferPool_build; return type; } // private static void EnsurePool() :13 void FramebufferPool__EnsurePool_fn() { FramebufferPool::EnsurePool(); } // internal static int get_Frame() :45 void FramebufferPool__get_Frame_fn(int32_t* __retval) { *__retval = FramebufferPool::Frame(); } // public static framebuffer Lock(int width, int height, Uno.Graphics.Format format, bool depth) :31 void FramebufferPool__Lock_fn(int32_t* width, int32_t* height, int32_t* format, bool* depth, ::g::Uno::Graphics::Framebuffer** __retval) { *__retval = FramebufferPool::Lock(*width, *height, *format, *depth); } // public static framebuffer Lock(int2 size, Uno.Graphics.Format format, bool depth) :27 void FramebufferPool__Lock1_fn(::g::Uno::Int2* size, int32_t* format, bool* depth, ::g::Uno::Graphics::Framebuffer** __retval) { *__retval = FramebufferPool::Lock1(*size, *format, *depth); } // internal static void Register(Fuse.CacheFramebuffer cfb) :15 void FramebufferPool__Register_fn(::g::Fuse::CacheFramebuffer* cfb) { FramebufferPool::Register(cfb); } // public static void Release(framebuffer fb) :37 void FramebufferPool__Release_fn(::g::Uno::Graphics::Framebuffer* fb) { FramebufferPool::Release(fb); } // internal static void UnRegister(Fuse.CacheFramebuffer cfb) :21 void FramebufferPool__UnRegister_fn(::g::Fuse::CacheFramebuffer* cfb) { FramebufferPool::UnRegister(cfb); } uSStrong< ::g::Fuse::FramebufferPoolImpl*> FramebufferPool::framebufferPool_; // private static void EnsurePool() [static] :13 void FramebufferPool::EnsurePool() { if (FramebufferPool::framebufferPool_ == NULL) FramebufferPool::framebufferPool_ = ::g::Fuse::FramebufferPoolImpl::New1(); } // public static framebuffer Lock(int width, int height, Uno.Graphics.Format format, bool depth) [static] :31 ::g::Uno::Graphics::Framebuffer* FramebufferPool::Lock(int32_t width, int32_t height, int32_t format, bool depth) { FramebufferPool::EnsurePool(); return uPtr(FramebufferPool::framebufferPool_)->Lock(width, height, format, depth); } // public static framebuffer Lock(int2 size, Uno.Graphics.Format format, bool depth) [static] :27 ::g::Uno::Graphics::Framebuffer* FramebufferPool::Lock1(::g::Uno::Int2 size, int32_t format, bool depth) { return FramebufferPool::Lock(size.X, size.Y, format, depth); } // internal static void Register(Fuse.CacheFramebuffer cfb) [static] :15 void FramebufferPool::Register(::g::Fuse::CacheFramebuffer* cfb) { FramebufferPool::EnsurePool(); uPtr(FramebufferPool::framebufferPool_)->Register(cfb); } // public static void Release(framebuffer fb) [static] :37 void FramebufferPool::Release(::g::Uno::Graphics::Framebuffer* fb) { FramebufferPool::EnsurePool(); uPtr(FramebufferPool::framebufferPool_)->Release(fb); } // internal static void UnRegister(Fuse.CacheFramebuffer cfb) [static] :21 void FramebufferPool::UnRegister(::g::Fuse::CacheFramebuffer* cfb) { FramebufferPool::EnsurePool(); uPtr(FramebufferPool::framebufferPool_)->UnRegister(cfb); } // internal static int get_Frame() [static] :45 int32_t FramebufferPool::Frame() { FramebufferPool::EnsurePool(); return uPtr(FramebufferPool::framebufferPool_)->frame; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\FramebufferPool.uno // --------------------------------------------------------------------------------------- // internal sealed class FramebufferPoolImpl :60 // { static void FramebufferPoolImpl_build(uType* type) { ::STRINGS[43] = uString::Const("Attempted to allocate "); ::STRINGS[44] = uString::Const("x"); ::STRINGS[45] = uString::Const(" framebuffer, max is "); ::STRINGS[46] = uString::Const("framebuffer pinned while app going into the background"); ::STRINGS[47] = uString::Const("Pool is leaking"); ::TYPES[30] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Uno::Graphics::Framebuffer_typeof(), NULL); ::TYPES[31] = ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::Graphics::Framebuffer_typeof(), ::g::Uno::Int_typeof(), NULL); ::TYPES[32] = ::g::Uno::Collections::HashSet_typeof()->MakeType(::g::Uno::Graphics::Framebuffer_typeof(), NULL); ::TYPES[33] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::CacheFramebuffer_typeof(), NULL); ::TYPES[1] = ::g::Uno::Action_typeof(); ::TYPES[34] = ::g::Uno::Collections::List__Enumerator_typeof()->MakeType(::g::Fuse::CacheFramebuffer_typeof(), NULL); type->SetDependencies( ::g::Fuse::Resources::DisposalManager_typeof(), ::g::Uno::Math_typeof(), ::g::Fuse::UpdateManager_typeof()); type->SetInterfaces( ::g::Fuse::Resources::ISoftDisposable_typeof(), offsetof(FramebufferPoolImpl_type, interface0)); type->SetFields(0, ::g::Uno::Int_typeof(), offsetof(FramebufferPoolImpl, frame), 0, ::TYPES[30/*Uno.Collections.List<framebuffer>*/], offsetof(FramebufferPoolImpl, framebufferPool), 0, ::TYPES[31/*Uno.Collections.Dictionary<framebuffer, int>*/], offsetof(FramebufferPoolImpl, lastFrameUsed), 0, ::TYPES[32/*Uno.Collections.HashSet<framebuffer>*/], offsetof(FramebufferPoolImpl, lockedFramebuffers), 0, ::TYPES[33/*Uno.Collections.List<Fuse.CacheFramebuffer>*/], offsetof(FramebufferPoolImpl, cacheFramebuffers), 0, ::g::Uno::Int_typeof(), offsetof(FramebufferPoolImpl, framebuffersProvidedSinceLastCollect), 0, ::g::Uno::Int_typeof(), offsetof(FramebufferPoolImpl, pixelsProvidedSinceLastCollect), 0); } FramebufferPoolImpl_type* FramebufferPoolImpl_typeof() { static uSStrong<FramebufferPoolImpl_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 7; options.InterfaceCount = 1; options.DependencyCount = 3; options.ObjectSize = sizeof(FramebufferPoolImpl); options.TypeSize = sizeof(FramebufferPoolImpl_type); type = (FramebufferPoolImpl_type*)uClassType::New("Fuse.FramebufferPoolImpl", options); type->fp_build_ = FramebufferPoolImpl_build; type->fp_ctor_ = (void*)FramebufferPoolImpl__New1_fn; type->interface0.fp_SoftDispose = (void(*)(uObject*))FramebufferPoolImpl__FuseResourcesISoftDisposableSoftDispose_fn; return type; } // public FramebufferPoolImpl() :62 void FramebufferPoolImpl__ctor__fn(FramebufferPoolImpl* __this) { __this->ctor_(); } // private void CollectCacheFramebuffers() :150 void FramebufferPoolImpl__CollectCacheFramebuffers_fn(FramebufferPoolImpl* __this) { __this->CollectCacheFramebuffers(); } // private framebuffer FindBuffer(int width, int height, Uno.Graphics.Format format, Uno.Graphics.FramebufferFlags flags) :85 void FramebufferPoolImpl__FindBuffer_fn(FramebufferPoolImpl* __this, int32_t* width, int32_t* height, int32_t* format, int32_t* flags, ::g::Uno::Graphics::Framebuffer** __retval) { *__retval = __this->FindBuffer(*width, *height, *format, *flags); } // private void Fuse.Resources.ISoftDisposable.SoftDispose() :181 void FramebufferPoolImpl__FuseResourcesISoftDisposableSoftDispose_fn(FramebufferPoolImpl* __this) { ::g::Fuse::CacheFramebuffer* ret7; ::g::Uno::Graphics::Framebuffer* ret8; bool ret9; for (int32_t i = 0; i < uPtr(__this->cacheFramebuffers)->Count(); i++) { ::g::Fuse::CacheFramebuffer* c = (::g::Uno::Collections::List__get_Item_fn(uPtr(__this->cacheFramebuffers), uCRef<int32_t>(i), &ret7), ret7); if (uPtr(c)->IsPinned()) U_THROW(::g::Uno::Exception::New2(::STRINGS[46/*"framebuffer...*/])); uPtr(c)->Collect(); uPtr(__this->cacheFramebuffers)->RemoveAt(i--); } for (int32_t i1 = 0; i1 < uPtr(__this->framebufferPool)->Count(); i1++) { ::g::Uno::Graphics::Framebuffer* fb = (::g::Uno::Collections::List__get_Item_fn(uPtr(__this->framebufferPool), uCRef<int32_t>(i1), &ret8), ret8); uPtr(fb)->Dispose(); uPtr(__this->framebufferPool)->RemoveAt(i1--); ::g::Uno::Collections::Dictionary__Remove_fn(uPtr(__this->lastFrameUsed), fb, &ret9); } } // internal framebuffer Lock(int width, int height, Uno.Graphics.Format format, bool depth) :203 void FramebufferPoolImpl__Lock_fn(FramebufferPoolImpl* __this, int32_t* width, int32_t* height, int32_t* format, bool* depth, ::g::Uno::Graphics::Framebuffer** __retval) { *__retval = __this->Lock(*width, *height, *format, *depth); } // public FramebufferPoolImpl New() :62 void FramebufferPoolImpl__New1_fn(FramebufferPoolImpl** __retval) { *__retval = FramebufferPoolImpl::New1(); } // internal void Register(Fuse.CacheFramebuffer cfb) :126 void FramebufferPoolImpl__Register_fn(FramebufferPoolImpl* __this, ::g::Fuse::CacheFramebuffer* cfb) { __this->Register(cfb); } // internal void Release(framebuffer fb) :211 void FramebufferPoolImpl__Release_fn(FramebufferPoolImpl* __this, ::g::Uno::Graphics::Framebuffer* fb) { __this->Release(fb); } // internal void UnRegister(Fuse.CacheFramebuffer cfb) :143 void FramebufferPoolImpl__UnRegister_fn(FramebufferPoolImpl* __this, ::g::Fuse::CacheFramebuffer* cfb) { __this->UnRegister(cfb); } // public void Update() :221 void FramebufferPoolImpl__Update_fn(FramebufferPoolImpl* __this) { __this->Update(); } // public FramebufferPoolImpl() [instance] :62 void FramebufferPoolImpl::ctor_() { framebufferPool = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[30/*Uno.Collections.List<framebuffer>*/])); lastFrameUsed = ((::g::Uno::Collections::Dictionary*)::g::Uno::Collections::Dictionary::New1(::TYPES[31/*Uno.Collections.Dictionary<framebuffer, int>*/])); lockedFramebuffers = ((::g::Uno::Collections::HashSet*)::g::Uno::Collections::HashSet::New1(::TYPES[32/*Uno.Collections.HashSet<framebuffer>*/])); cacheFramebuffers = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[33/*Uno.Collections.List<Fuse.CacheFramebuffer>*/])); ::g::Fuse::UpdateManager::AddAction1(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)FramebufferPoolImpl__Update_fn, this), 0); ::g::Fuse::Resources::DisposalManager::Add1((uObject*)this); } // private void CollectCacheFramebuffers() [instance] :150 void FramebufferPoolImpl::CollectCacheFramebuffers() { ::g::Uno::Collections::List__Enumerator<uStrong< ::g::Fuse::CacheFramebuffer*> > ret3; ::g::Fuse::CacheFramebuffer* ret4; if (uPtr(cacheFramebuffers)->Count() < 3) return; int32_t sum = 0; ::g::Uno::Collections::List__Enumerator<uStrong< ::g::Fuse::CacheFramebuffer*> > enum1 = (::g::Uno::Collections::List__GetEnumerator_fn(uPtr(cacheFramebuffers), &ret3), ret3); { try { { while (enum1.MoveNext(::TYPES[34/*Uno.Collections.List<Fuse.CacheFramebuffer>.Enumerator*/])) { ::g::Fuse::CacheFramebuffer* cfb = enum1.Current(::TYPES[34/*Uno.Collections.List<Fuse.CacheFramebuffer>.Enumerator*/]); sum = sum + uPtr(cfb)->FramesSinceLastUse(); } } } catch (const uThrowable& __t) { { enum1.Dispose(::TYPES[34/*Uno.Collections.List<Fuse.CacheFramebuffer>.Enumerator*/]); } throw __t; goto __after_finally_1; } { enum1.Dispose(::TYPES[34/*Uno.Collections.List<Fuse.CacheFramebuffer>.Enumerator*/]); } __after_finally_1:; } int32_t avg = sum / uPtr(cacheFramebuffers)->Count(); int32_t limit = avg + 3; for (int32_t i = 0; i < uPtr(cacheFramebuffers)->Count(); i++) { ::g::Fuse::CacheFramebuffer* c = (::g::Uno::Collections::List__get_Item_fn(uPtr(cacheFramebuffers), uCRef<int32_t>(i), &ret4), ret4); if (!uPtr(c)->IsPinned() && (uPtr(c)->FramesSinceLastUse() >= limit)) { uPtr(c)->Collect(); uPtr(cacheFramebuffers)->RemoveAt(i--); } } framebuffersProvidedSinceLastCollect = 0; pixelsProvidedSinceLastCollect = 0; } // private framebuffer FindBuffer(int width, int height, Uno.Graphics.Format format, Uno.Graphics.FramebufferFlags flags) [instance] :85 ::g::Uno::Graphics::Framebuffer* FramebufferPoolImpl::FindBuffer(int32_t width, int32_t height, int32_t format, int32_t flags) { ::g::Uno::Graphics::Framebuffer* ret5; bool ret6; width = ::g::Uno::Math::Max8(1, width); height = ::g::Uno::Math::Max8(1, height); for (int32_t i = 0; i < uPtr(framebufferPool)->Count(); i++) { ::g::Uno::Graphics::Framebuffer* fb = (::g::Uno::Collections::List__get_Item_fn(uPtr(framebufferPool), uCRef<int32_t>(i), &ret5), ret5); if (uPtr(fb)->Size().X != width) continue; if (uPtr(fb)->Size().Y != height) continue; if (uPtr(fb)->Format() != format) continue; if (uPtr(fb)->HasDepth() != ((flags & 1) == 1)) continue; if (uPtr(uPtr(fb)->ColorBuffer())->IsMipmap() != ((flags & 2) == 2)) continue; uPtr(framebufferPool)->RemoveAt(i); ::g::Uno::Collections::HashSet__Add_fn(uPtr(lockedFramebuffers), fb, &ret6); ::g::Uno::Collections::Dictionary__set_Item_fn(uPtr(lastFrameUsed), fb, uCRef<int32_t>(frame)); return fb; } int32_t maxSize = ::g::Uno::Graphics::Texture2D::MaxSize(); if ((width > maxSize) || (height > maxSize)) U_THROW(::g::Uno::Exception::New2(::g::Uno::String::op_Addition1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::STRINGS[43/*"Attempted t...*/], uBox<int32_t>(::g::Uno::Int_typeof(), width)), ::STRINGS[44/*"x"*/]), uBox<int32_t>(::g::Uno::Int_typeof(), height)), ::STRINGS[45/*" framebuffe...*/]), uBox<int32_t>(::g::Uno::Int_typeof(), maxSize)), ::STRINGS[44/*"x"*/]), uBox<int32_t>(::g::Uno::Int_typeof(), maxSize)))); double t = 0.0; ::g::Uno::Graphics::Framebuffer* buffer = ::g::Uno::Graphics::Framebuffer::New1(::g::Uno::Int2__New2(width, height), format, flags); return buffer; } // internal framebuffer Lock(int width, int height, Uno.Graphics.Format format, bool depth) [instance] :203 ::g::Uno::Graphics::Framebuffer* FramebufferPoolImpl::Lock(int32_t width, int32_t height, int32_t format, bool depth) { bool ret10; ::g::Uno::Graphics::Framebuffer* fb = FindBuffer(width, height, format, depth ? 1 : 0); ::g::Uno::Collections::Dictionary__set_Item_fn(uPtr(lastFrameUsed), fb, uCRef<int32_t>(frame)); ::g::Uno::Collections::HashSet__Add_fn(uPtr(lockedFramebuffers), fb, &ret10); return fb; } // internal void Register(Fuse.CacheFramebuffer cfb) [instance] :126 void FramebufferPoolImpl::Register(::g::Fuse::CacheFramebuffer* cfb) { framebuffersProvidedSinceLastCollect = (framebuffersProvidedSinceLastCollect + 1); pixelsProvidedSinceLastCollect = (pixelsProvidedSinceLastCollect + (uPtr(cfb)->Width() * uPtr(cfb)->Height())); ::g::Uno::Collections::List__Add_fn(uPtr(cacheFramebuffers), cfb); if (pixelsProvidedSinceLastCollect > 1000000) CollectCacheFramebuffers(); else if (framebuffersProvidedSinceLastCollect > 50) CollectCacheFramebuffers(); } // internal void Release(framebuffer fb) [instance] :211 void FramebufferPoolImpl::Release(::g::Uno::Graphics::Framebuffer* fb) { bool ret11; bool ret12; if ((::g::Uno::Collections::HashSet__Contains_fn(uPtr(lockedFramebuffers), fb, &ret11), ret11)) { ::g::Uno::Collections::HashSet__Remove_fn(uPtr(lockedFramebuffers), fb, &ret12); ::g::Uno::Collections::Dictionary__set_Item_fn(uPtr(lastFrameUsed), fb, uCRef<int32_t>(frame)); ::g::Uno::Collections::List__Add_fn(uPtr(framebufferPool), fb); } } // internal void UnRegister(Fuse.CacheFramebuffer cfb) [instance] :143 void FramebufferPoolImpl::UnRegister(::g::Fuse::CacheFramebuffer* cfb) { bool ret13; framebuffersProvidedSinceLastCollect = 0; ::g::Uno::Collections::List__Remove_fn(uPtr(cacheFramebuffers), cfb, &ret13); } // public void Update() [instance] :221 void FramebufferPoolImpl::Update() { ::g::Uno::Graphics::Framebuffer* ret14; bool ret15; bool ret16; bool contextBound = false; frame++; for (int32_t i = 0; i < uPtr(framebufferPool)->Count(); i++) { ::g::Uno::Graphics::Framebuffer* fb = (::g::Uno::Collections::List__get_Item_fn(uPtr(framebufferPool), uCRef<int32_t>(i), &ret14), ret14); int32_t framesSinceUse; ::g::Uno::Collections::Dictionary__TryGetValue_fn(uPtr(lastFrameUsed), fb, &framesSinceUse, &ret15); framesSinceUse = frame - framesSinceUse; if (framesSinceUse < 0) U_THROW(::g::Uno::Exception::New2(::STRINGS[47/*"Pool is lea...*/])); if (framesSinceUse > 1) { if (!contextBound) { GLHelper::SwapBackToBackgroundSurface(); contextBound = true; } uPtr(fb)->Dispose(); uPtr(framebufferPool)->RemoveAt(i--); ::g::Uno::Collections::Dictionary__Remove_fn(uPtr(lastFrameUsed), fb, &ret16); } } } // public FramebufferPoolImpl New() [static] :62 FramebufferPoolImpl* FramebufferPoolImpl::New1() { FramebufferPoolImpl* obj2 = (FramebufferPoolImpl*)uNew(FramebufferPoolImpl_typeof()); obj2->ctor_(); return obj2; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\IViewport.uno // -------------------------------------------------------------------------------- // internal sealed class FrustumViewport :124 // { static void FrustumViewport_build(uType* type) { ::TYPES[35] = ::g::Fuse::IFrustum_typeof(); type->SetFields(0, ::g::Uno::Float4x4_typeof(), offsetof(FrustumViewport, ProjectionTransform), 0, ::g::Uno::Float4x4_typeof(), offsetof(FrustumViewport, ProjectionTransformInverse), 0, ::g::Uno::Float4x4_typeof(), offsetof(FrustumViewport, ViewProjectionTransform), 0, ::g::Uno::Float4x4_typeof(), offsetof(FrustumViewport, ViewProjectionTransformInverse), 0, ::g::Uno::Float4x4_typeof(), offsetof(FrustumViewport, ViewTransform), 0, ::g::Uno::Float4x4_typeof(), offsetof(FrustumViewport, ViewTransformInverse), 0); } uType* FrustumViewport_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 6; options.ObjectSize = sizeof(FrustumViewport); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.FrustumViewport", options); type->fp_build_ = FrustumViewport_build; type->fp_ctor_ = (void*)FrustumViewport__New1_fn; return type; } // public generated FrustumViewport() :124 void FrustumViewport__ctor__fn(FrustumViewport* __this) { __this->ctor_(); } // public generated FrustumViewport New() :124 void FrustumViewport__New1_fn(FrustumViewport** __retval) { *__retval = FrustumViewport::New1(); } // public void Update(Fuse.IViewport viewport, Fuse.IFrustum frustum) :133 void FrustumViewport__Update_fn(FrustumViewport* __this, uObject* viewport, uObject* frustum) { __this->Update(viewport, frustum); } // public generated FrustumViewport() [instance] :124 void FrustumViewport::ctor_() { } // public void Update(Fuse.IViewport viewport, Fuse.IFrustum frustum) [instance] :133 void FrustumViewport::Update(uObject* viewport, uObject* frustum) { if (::g::Fuse::IFrustum::TryGetProjectionTransform(uInterface(uPtr(frustum), ::TYPES[35/*Fuse.IFrustum*/]), viewport, &ProjectionTransform) && ::g::Fuse::IFrustum::TryGetProjectionTransformInverse(uInterface(uPtr(frustum), ::TYPES[35/*Fuse.IFrustum*/]), viewport, &ProjectionTransformInverse)) { ViewTransform = ::g::Fuse::IFrustum::GetViewTransform(uInterface(uPtr(frustum), ::TYPES[35/*Fuse.IFrustum*/]), viewport); ViewTransformInverse = ::g::Fuse::IFrustum::GetViewTransformInverse(uInterface(frustum, ::TYPES[35/*Fuse.IFrustum*/]), viewport); ViewProjectionTransform = ::g::Uno::Matrix::Mul8(ViewTransform, ProjectionTransform); ViewProjectionTransformInverse = ::g::Uno::Matrix::Mul8(ProjectionTransformInverse, ViewTransformInverse); } else { ProjectionTransform = ::g::Uno::Float4x4__Identity(); ProjectionTransformInverse = ::g::Uno::Float4x4__Identity(); ViewTransform = ::g::Uno::Float4x4__Identity(); ViewTransformInverse = ::g::Uno::Float4x4__Identity(); ViewProjectionTransform = ::g::Uno::Float4x4__Identity(); ViewProjectionTransformInverse = ::g::Uno::Float4x4__Identity(); } } // public generated FrustumViewport New() [static] :124 FrustumViewport* FrustumViewport::New1() { FrustumViewport* obj1 = (FrustumViewport*)uNew(FrustumViewport_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\GraphicsWorker.uno // -------------------------------------------------------------------------------------- // public static class GraphicsWorker :14 // { // static generated GraphicsWorker() :14 static void GraphicsWorker__cctor__fn(uType* __type) { GraphicsWorker::_exceptionQueue_ = ((::g::Uno::Threading::ConcurrentQueue*)::g::Uno::Threading::ConcurrentQueue::New1(::TYPES[36/*Uno.Threading.ConcurrentQueue<Uno.Exception>*/])); } static void GraphicsWorker_build(uType* type) { ::STRINGS[48] = uString::Const("_exceptionQueue mismatch"); ::STRINGS[49] = uString::Const("GraphicsWorker failed"); ::STRINGS[50] = uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.Common\\1.9.0\\GraphicsWorker.uno"); ::STRINGS[51] = uString::Const("Run"); ::TYPES[36] = ::g::Uno::Threading::ConcurrentQueue_typeof()->MakeType(::g::Uno::Exception_typeof(), NULL); ::TYPES[37] = ::g::Uno::Exception_typeof(); ::TYPES[1] = ::g::Uno::Action_typeof(); ::TYPES[0] = ::g::Uno::Action1_typeof()->MakeType(::g::Fuse::Platform::ApplicationState_typeof(), NULL); ::TYPES[38] = ::g::Uno::Threading::ConcurrentQueue_typeof()->MakeType(::TYPES[1/*Uno.Action*/], NULL); ::TYPES[39] = ::g::Uno::Threading::ThreadStart_typeof(); type->SetDependencies( ::g::Fuse::Platform::Lifecycle_typeof(), ::g::Fuse::UpdateManager_typeof()); type->SetFields(0, ::TYPES[38/*Uno.Threading.ConcurrentQueue<Uno.Action>*/], (uintptr_t)&GraphicsWorker::_work_, uFieldFlagsStatic, ::g::Uno::Threading::Thread_typeof(), (uintptr_t)&GraphicsWorker::_thread_, uFieldFlagsStatic, ::g::Uno::Threading::AutoResetEvent_typeof(), (uintptr_t)&GraphicsWorker::_resetEvent_, uFieldFlagsStatic, ::g::Uno::Bool_typeof(), (uintptr_t)&GraphicsWorker::_terminating_, uFieldFlagsStatic, ::TYPES[36/*Uno.Threading.ConcurrentQueue<Uno.Exception>*/], (uintptr_t)&GraphicsWorker::_exceptionQueue_, uFieldFlagsStatic); } uClassType* GraphicsWorker_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 5; options.DependencyCount = 2; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.GraphicsWorker", options); type->fp_build_ = GraphicsWorker_build; type->fp_cctor_ = GraphicsWorker__cctor__fn; return type; } // public static void Dispatch(Uno.Action a) :16 void GraphicsWorker__Dispatch_fn(uDelegate* a) { GraphicsWorker::Dispatch(a); } // public static void DispatchException() :80 void GraphicsWorker__DispatchException_fn() { GraphicsWorker::DispatchException(); } // private static void OnTerminating(Fuse.Platform.ApplicationState newState) :71 void GraphicsWorker__OnTerminating_fn(int32_t* newState) { GraphicsWorker::OnTerminating(*newState); } // private static void Run() :88 void GraphicsWorker__Run_fn() { GraphicsWorker::Run(); } // private static void Start() :53 void GraphicsWorker__Start_fn() { GraphicsWorker::Start(); } uSStrong< ::g::Uno::Threading::ConcurrentQueue*> GraphicsWorker::_work_; uSStrong< ::g::Uno::Threading::Thread*> GraphicsWorker::_thread_; uSStrong< ::g::Uno::Threading::AutoResetEvent*> GraphicsWorker::_resetEvent_; bool GraphicsWorker::_terminating_; uSStrong< ::g::Uno::Threading::ConcurrentQueue*> GraphicsWorker::_exceptionQueue_; // public static void Dispatch(Uno.Action a) [static] :16 void GraphicsWorker::Dispatch(uDelegate* a) { GraphicsWorker_typeof()->Init(); GraphicsWorker::Start(); ::g::Uno::Threading::ConcurrentQueue__Enqueue_fn(uPtr(GraphicsWorker::_work_), a); uPtr(GraphicsWorker::_resetEvent_)->Set(); } // public static void DispatchException() [static] :80 void GraphicsWorker::DispatchException() { GraphicsWorker_typeof()->Init(); bool ret1; ::g::Uno::Exception* e; if (!(::g::Uno::Threading::ConcurrentQueue__TryDequeue_fn(uPtr(GraphicsWorker::_exceptionQueue_), (void**)(&e), &ret1), ret1)) U_THROW(::g::Uno::Exception::New2(::STRINGS[48/*"_exceptionQ...*/])); U_THROW(::g::Fuse::WrapException::New4(e)); } // private static void OnTerminating(Fuse.Platform.ApplicationState newState) [static] :71 void GraphicsWorker::OnTerminating(int32_t newState) { GraphicsWorker_typeof()->Init(); GraphicsWorker::_terminating_ = true; uPtr(GraphicsWorker::_resetEvent_)->Set(); uPtr(GraphicsWorker::_thread_)->Join(); } // private static void Run() [static] :88 void GraphicsWorker::Run() { GraphicsWorker_typeof()->Init(); bool ret2; GLHelper::MakeWorkerThreadContextCurrent(); while (!GraphicsWorker::_terminating_) { uAutoReleasePool ____pool; uDelegate* a; if ((::g::Uno::Threading::ConcurrentQueue__TryDequeue_fn(uPtr(GraphicsWorker::_work_), (void**)(&a), &ret2), ret2)) { try { { uPtr(a)->InvokeVoid(); } } catch (const uThrowable& __t) { ::g::Uno::Exception* e = __t.Exception; ::g::Fuse::Diagnostics::UnknownException(::STRINGS[49/*"GraphicsWor...*/], e, a, ::STRINGS[50/*"C:\\Users\\...*/], 109, ::STRINGS[51/*"Run"*/]); ::g::Uno::Threading::ConcurrentQueue__Enqueue_fn(uPtr(GraphicsWorker::_exceptionQueue_), e); ::g::Fuse::UpdateManager::PostAction(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)GraphicsWorker__DispatchException_fn)); } continue; } uPtr(GraphicsWorker::_resetEvent_)->WaitOne(); } } // private static void Start() [static] :53 void GraphicsWorker::Start() { GraphicsWorker_typeof()->Init(); if (GraphicsWorker::_thread_ != NULL) return; ::g::Fuse::Platform::Lifecycle::add_Terminating(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)GraphicsWorker__OnTerminating_fn)); GraphicsWorker::_work_ = ((::g::Uno::Threading::ConcurrentQueue*)::g::Uno::Threading::ConcurrentQueue::New1(::TYPES[38/*Uno.Threading.ConcurrentQueue<Uno.Action>*/])); GraphicsWorker::_resetEvent_ = ::g::Uno::Threading::AutoResetEvent::New2(false); GraphicsWorker::_thread_ = ::g::Uno::Threading::Thread::New2(uDelegate::New(::TYPES[39/*Uno.Threading.ThreadStart*/], (void*)GraphicsWorker__Run_fn)); uPtr(GraphicsWorker::_thread_)->Start(); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Translation.uno // ---------------------------------------------------------------------------------- // private sealed class TranslationModes.HeightMode :136 // { static void TranslationModes__HeightMode_build(uType* type) { type->SetDependencies( ::g::Fuse::TranslationModes_typeof()); type->SetInterfaces( ::g::Fuse::ITranslationMode_typeof(), offsetof(::g::Fuse::TranslationModes__SizeMode_type, interface0), ::g::Fuse::ITransformMode_typeof(), offsetof(::g::Fuse::TranslationModes__SizeMode_type, interface1)); } ::g::Fuse::TranslationModes__SizeMode_type* TranslationModes__HeightMode_typeof() { static uSStrong< ::g::Fuse::TranslationModes__SizeMode_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::TranslationModes__SizeMode_typeof(); options.InterfaceCount = 2; options.DependencyCount = 1; options.ObjectSize = sizeof(TranslationModes__HeightMode); options.TypeSize = sizeof(::g::Fuse::TranslationModes__SizeMode_type); type = (::g::Fuse::TranslationModes__SizeMode_type*)uClassType::New("Fuse.TranslationModes.HeightMode", options); type->fp_build_ = TranslationModes__HeightMode_build; type->fp_ctor_ = (void*)TranslationModes__HeightMode__New2_fn; type->fp_GetAbsVector = (void(*)(::g::Fuse::TranslationModes__SizeMode*, ::g::Fuse::Translation*, ::g::Uno::Float3*))TranslationModes__HeightMode__GetAbsVector_fn; type->interface0.fp_GetAbsVector = (void(*)(uObject*, ::g::Fuse::Translation*, ::g::Uno::Float3*))TranslationModes__HeightMode__GetAbsVector_fn; type->interface1.fp_Subscribe = (void(*)(uObject*, uObject*, uObject**))::g::Fuse::TranslationModes__SizeMode__Subscribe_fn; type->interface1.fp_Unsubscribe = (void(*)(uObject*, uObject*, uObject*))::g::Fuse::TranslationModes__SizeMode__Unsubscribe_fn; return type; } // public generated HeightMode() :136 void TranslationModes__HeightMode__ctor_1_fn(TranslationModes__HeightMode* __this) { __this->ctor_1(); } // public override sealed float3 GetAbsVector(Fuse.Translation t) :138 void TranslationModes__HeightMode__GetAbsVector_fn(TranslationModes__HeightMode* __this, ::g::Fuse::Translation* t, ::g::Uno::Float3* __retval) { return *__retval = ::g::Uno::Float3__op_Multiply(::g::Fuse::TranslationModes::SizeOf(uPtr(t)->RelativeNode()).Y, uPtr(t)->Vector()), void(); } // public generated HeightMode New() :136 void TranslationModes__HeightMode__New2_fn(TranslationModes__HeightMode** __retval) { *__retval = TranslationModes__HeightMode::New2(); } // public generated HeightMode() [instance] :136 void TranslationModes__HeightMode::ctor_1() { ctor_(); } // public generated HeightMode New() [static] :136 TranslationModes__HeightMode* TranslationModes__HeightMode::New2() { TranslationModes__HeightMode* obj1 = (TranslationModes__HeightMode*)uNew(TranslationModes__HeightMode_typeof()); obj1->ctor_1(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\HitTestContext.uno // ------------------------------------------------------------------------------------- // public delegate void HitTestCallback(Fuse.HitTestResult result) :6 uDelegateType* HitTestCallback_typeof() { static uSStrong<uDelegateType*> type; if (type != NULL) return type; type = uDelegateType::New("Fuse.HitTestCallback", 1, 0); type->SetSignature(uVoid_typeof(), ::g::Fuse::HitTestResult_typeof()); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\HitTestContext.uno // ------------------------------------------------------------------------------------- // public sealed class HitTestContext :19 // { static void HitTestContext_build(uType* type) { type->SetFields(0, ::g::Uno::Float2_typeof(), offsetof(HitTestContext, _localPoint), 0, ::g::Fuse::Ray_typeof(), offsetof(HitTestContext, _worldRay), 0, ::g::Fuse::HitTestCallback_typeof(), offsetof(HitTestContext, _callback), 0, ::g::Uno::Float2_typeof(), offsetof(HitTestContext, _WindowPoint), 0); } uType* HitTestContext_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 4; options.ObjectSize = sizeof(HitTestContext); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.HitTestContext", options); type->fp_build_ = HitTestContext_build; return type; } // public HitTestContext(float2 windowPoint, Fuse.HitTestCallback callback) :81 void HitTestContext__ctor__fn(HitTestContext* __this, ::g::Uno::Float2* windowPoint, uDelegate* callback) { __this->ctor_(*windowPoint, callback); } // public Fuse.HitTestCallback get_Callback() :56 void HitTestContext__get_Callback_fn(HitTestContext* __this, uDelegate** __retval) { *__retval = __this->Callback(); } // public void Dispose() :88 void HitTestContext__Dispose_fn(HitTestContext* __this) { __this->Dispose(); } // public void Hit(Fuse.Visual obj) :59 void HitTestContext__Hit_fn(HitTestContext* __this, ::g::Fuse::Visual* obj) { __this->Hit(obj); } // public float2 get_LocalPoint() :24 void HitTestContext__get_LocalPoint_fn(HitTestContext* __this, ::g::Uno::Float2* __retval) { *__retval = __this->LocalPoint(); } // public HitTestContext New(float2 windowPoint, Fuse.HitTestCallback callback) :81 void HitTestContext__New1_fn(::g::Uno::Float2* windowPoint, uDelegate* callback, HitTestContext** __retval) { *__retval = HitTestContext::New1(*windowPoint, callback); } // public void PopLocalPoint(float2 lp) :33 void HitTestContext__PopLocalPoint_fn(HitTestContext* __this, ::g::Uno::Float2* lp) { __this->PopLocalPoint(*lp); } // public float2 PushLocalPoint(float2 lp) :26 void HitTestContext__PushLocalPoint_fn(HitTestContext* __this, ::g::Uno::Float2* lp, ::g::Uno::Float2* __retval) { *__retval = __this->PushLocalPoint(*lp); } // public Fuse.Ray PushWorldRay(Fuse.Ray n) :41 void HitTestContext__PushWorldRay_fn(HitTestContext* __this, ::g::Fuse::Ray* n, ::g::Fuse::Ray* __retval) { *__retval = __this->PushWorldRay(*n); } // public generated float2 get_WindowPoint() :21 void HitTestContext__get_WindowPoint_fn(HitTestContext* __this, ::g::Uno::Float2* __retval) { *__retval = __this->WindowPoint(); } // private generated void set_WindowPoint(float2 value) :21 void HitTestContext__set_WindowPoint_fn(HitTestContext* __this, ::g::Uno::Float2* value) { __this->WindowPoint(*value); } // public HitTestContext(float2 windowPoint, Fuse.HitTestCallback callback) [instance] :81 void HitTestContext::ctor_(::g::Uno::Float2 windowPoint, uDelegate* callback) { WindowPoint(windowPoint); _localPoint = windowPoint; _callback = callback; } // public Fuse.HitTestCallback get_Callback() [instance] :56 uDelegate* HitTestContext::Callback() { return _callback; } // public void Dispose() [instance] :88 void HitTestContext::Dispose() { _callback = NULL; } // public void Hit(Fuse.Visual obj) [instance] :59 void HitTestContext::Hit(::g::Fuse::Visual* obj) { ::g::Fuse::HitTestResult* collection1; if (::g::Uno::Delegate::op_Inequality(Callback(), NULL)) uPtr(Callback())->InvokeVoid((collection1 = ::g::Fuse::HitTestResult::New1(), uPtr(collection1)->HitObject(obj), obj, collection1)); } // public float2 get_LocalPoint() [instance] :24 ::g::Uno::Float2 HitTestContext::LocalPoint() { return _localPoint; } // public void PopLocalPoint(float2 lp) [instance] :33 void HitTestContext::PopLocalPoint(::g::Uno::Float2 lp) { _localPoint = lp; } // public float2 PushLocalPoint(float2 lp) [instance] :26 ::g::Uno::Float2 HitTestContext::PushLocalPoint(::g::Uno::Float2 lp) { ::g::Uno::Float2 r = _localPoint; _localPoint = lp; return r; } // public Fuse.Ray PushWorldRay(Fuse.Ray n) [instance] :41 ::g::Fuse::Ray HitTestContext::PushWorldRay(::g::Fuse::Ray n) { ::g::Fuse::Ray r = _worldRay; _worldRay = n; return r; } // public generated float2 get_WindowPoint() [instance] :21 ::g::Uno::Float2 HitTestContext::WindowPoint() { return _WindowPoint; } // private generated void set_WindowPoint(float2 value) [instance] :21 void HitTestContext::WindowPoint(::g::Uno::Float2 value) { _WindowPoint = value; } // public HitTestContext New(float2 windowPoint, Fuse.HitTestCallback callback) [static] :81 HitTestContext* HitTestContext::New1(::g::Uno::Float2 windowPoint, uDelegate* callback) { HitTestContext* obj3 = (HitTestContext*)uNew(HitTestContext_typeof()); obj3->ctor_(windowPoint, callback); return obj3; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.HitTest.uno // ------------------------------------------------------------------------------------- // private sealed class Visual.HitTestRecord :80 // { static void Visual__HitTestRecord_build(uType* type) { type->SetFields(0, ::g::Fuse::Visual_typeof(), offsetof(Visual__HitTestRecord, Visual), 0); } uType* Visual__HitTestRecord_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.ObjectSize = sizeof(Visual__HitTestRecord); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.Visual.HitTestRecord", options); type->fp_build_ = Visual__HitTestRecord_build; type->fp_ctor_ = (void*)Visual__HitTestRecord__New1_fn; return type; } // public generated HitTestRecord() :80 void Visual__HitTestRecord__ctor__fn(Visual__HitTestRecord* __this) { __this->ctor_(); } // public void HitTestCallback(Fuse.HitTestResult result) :83 void Visual__HitTestRecord__HitTestCallback_fn(Visual__HitTestRecord* __this, ::g::Fuse::HitTestResult* result) { __this->HitTestCallback(result); } // public generated HitTestRecord New() :80 void Visual__HitTestRecord__New1_fn(Visual__HitTestRecord** __retval) { *__retval = Visual__HitTestRecord::New1(); } // public generated HitTestRecord() [instance] :80 void Visual__HitTestRecord::ctor_() { } // public void HitTestCallback(Fuse.HitTestResult result) [instance] :83 void Visual__HitTestRecord::HitTestCallback(::g::Fuse::HitTestResult* result) { if (Visual == NULL) Visual = uPtr(result)->HitObject(); } // public generated HitTestRecord New() [static] :80 Visual__HitTestRecord* Visual__HitTestRecord::New1() { Visual__HitTestRecord* obj1 = (Visual__HitTestRecord*)uNew(Visual__HitTestRecord_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\HitTestContext.uno // ------------------------------------------------------------------------------------- // public sealed class HitTestResult :10 // { static void HitTestResult_build(uType* type) { type->SetFields(0, ::g::Uno::Bool_typeof(), offsetof(HitTestResult, _HasHitDistance), 0, ::g::Uno::Float_typeof(), offsetof(HitTestResult, _HitDistance), 0, ::g::Fuse::Visual_typeof(), offsetof(HitTestResult, _HitObject), 0); } uType* HitTestResult_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 3; options.ObjectSize = sizeof(HitTestResult); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.HitTestResult", options); type->fp_build_ = HitTestResult_build; type->fp_ctor_ = (void*)HitTestResult__New1_fn; return type; } // public generated HitTestResult() :10 void HitTestResult__ctor__fn(HitTestResult* __this) { __this->ctor_(); } // public generated bool get_HasHitDistance() :12 void HitTestResult__get_HasHitDistance_fn(HitTestResult* __this, bool* __retval) { *__retval = __this->HasHitDistance(); } // internal generated void set_HasHitDistance(bool value) :12 void HitTestResult__set_HasHitDistance_fn(HitTestResult* __this, bool* value) { __this->HasHitDistance(*value); } // public generated float get_HitDistance() :13 void HitTestResult__get_HitDistance_fn(HitTestResult* __this, float* __retval) { *__retval = __this->HitDistance(); } // internal generated void set_HitDistance(float value) :13 void HitTestResult__set_HitDistance_fn(HitTestResult* __this, float* value) { __this->HitDistance(*value); } // public generated Fuse.Visual get_HitObject() :14 void HitTestResult__get_HitObject_fn(HitTestResult* __this, ::g::Fuse::Visual** __retval) { *__retval = __this->HitObject(); } // internal generated void set_HitObject(Fuse.Visual value) :14 void HitTestResult__set_HitObject_fn(HitTestResult* __this, ::g::Fuse::Visual* value) { __this->HitObject(value); } // public generated HitTestResult New() :10 void HitTestResult__New1_fn(HitTestResult** __retval) { *__retval = HitTestResult::New1(); } // public generated HitTestResult() [instance] :10 void HitTestResult::ctor_() { } // public generated bool get_HasHitDistance() [instance] :12 bool HitTestResult::HasHitDistance() { return _HasHitDistance; } // internal generated void set_HasHitDistance(bool value) [instance] :12 void HitTestResult::HasHitDistance(bool value) { _HasHitDistance = value; } // public generated float get_HitDistance() [instance] :13 float HitTestResult::HitDistance() { return _HitDistance; } // internal generated void set_HitDistance(float value) [instance] :13 void HitTestResult::HitDistance(float value) { _HitDistance = value; } // public generated Fuse.Visual get_HitObject() [instance] :14 ::g::Fuse::Visual* HitTestResult::HitObject() { return _HitObject; } // internal generated void set_HitObject(Fuse.Visual value) [instance] :14 void HitTestResult::HitObject(::g::Fuse::Visual* value) { _HitObject = value; } // public generated HitTestResult New() [static] :10 HitTestResult* HitTestResult::New1() { HitTestResult* obj1 = (HitTestResult*)uNew(HitTestResult_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.HitTest.uno // ------------------------------------------------------------------------------------- // internal enum Visual.HitTestTransformMode :10 uEnumType* Visual__HitTestTransformMode_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.Visual.HitTestTransformMode", ::g::Uno::Int_typeof(), 2); type->SetLiterals( "LocalPoint", 0LL, "WorldRay", 1LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Translation.uno // ---------------------------------------------------------------------------------- // public abstract interface IActualPlacement :54 // { uInterfaceType* IActualPlacement_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IActualPlacement", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\IObject.uno // ------------------------------------------------------------------------------- // public abstract interface IArray :17 // { uInterfaceType* IArray_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IArray", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.BeginRemove.uno // ----------------------------------------------------------------------------------------- // public abstract interface IBeginRemoveVisualListener :56 // { uInterfaceType* IBeginRemoveVisualListener_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IBeginRemoveVisualListener", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\IViewport.uno // -------------------------------------------------------------------------------- // public abstract interface ICommonViewport :6 // { uInterfaceType* ICommonViewport_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.ICommonViewport", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Marshal.Convert.uno // ---------------------------------------------------------------------------------------- // public abstract interface Marshal.IConverter :9 // { uInterfaceType* Marshal__IConverter_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.Marshal.IConverter", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Node.DataContext.uno // --------------------------------------------------------------------------------------- // public abstract interface Node.IDataListener :175 // { uInterfaceType* Node__IDataListener_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.Node.IDataListener", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Triggers\1.9.0\Deferred.uno // ---------------------------------------------------------------------------------- // internal abstract interface IDeferred :10 // { uInterfaceType* IDeferred_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IDeferred", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Scaling.uno // ------------------------------------------------------------------------------ // private sealed class ScalingModes.IdentityMode :13 // { static void ScalingModes__IdentityMode_build(uType* type) { type->SetInterfaces( ::g::Fuse::IScalingMode_typeof(), offsetof(ScalingModes__IdentityMode_type, interface0), ::g::Fuse::ITransformMode_typeof(), offsetof(ScalingModes__IdentityMode_type, interface1)); } ScalingModes__IdentityMode_type* ScalingModes__IdentityMode_typeof() { static uSStrong<ScalingModes__IdentityMode_type*> type; if (type != NULL) return type; uTypeOptions options; options.InterfaceCount = 2; options.ObjectSize = sizeof(ScalingModes__IdentityMode); options.TypeSize = sizeof(ScalingModes__IdentityMode_type); type = (ScalingModes__IdentityMode_type*)uClassType::New("Fuse.ScalingModes.IdentityMode", options); type->fp_build_ = ScalingModes__IdentityMode_build; type->fp_ctor_ = (void*)ScalingModes__IdentityMode__New1_fn; type->interface0.fp_GetScaleVector = (void(*)(uObject*, ::g::Fuse::Scaling*, ::g::Uno::Float3*))ScalingModes__IdentityMode__GetScaleVector_fn; type->interface1.fp_Subscribe = (void(*)(uObject*, uObject*, uObject**))ScalingModes__IdentityMode__Subscribe_fn; type->interface1.fp_Unsubscribe = (void(*)(uObject*, uObject*, uObject*))ScalingModes__IdentityMode__Unsubscribe_fn; return type; } // public generated IdentityMode() :13 void ScalingModes__IdentityMode__ctor__fn(ScalingModes__IdentityMode* __this) { __this->ctor_(); } // public float3 GetScaleVector(Fuse.Scaling t) :15 void ScalingModes__IdentityMode__GetScaleVector_fn(ScalingModes__IdentityMode* __this, ::g::Fuse::Scaling* t, ::g::Uno::Float3* __retval) { *__retval = __this->GetScaleVector(t); } // public generated IdentityMode New() :13 void ScalingModes__IdentityMode__New1_fn(ScalingModes__IdentityMode** __retval) { *__retval = ScalingModes__IdentityMode::New1(); } // public object Subscribe(Fuse.ITransformRelative transform) :17 void ScalingModes__IdentityMode__Subscribe_fn(ScalingModes__IdentityMode* __this, uObject* transform, uObject** __retval) { *__retval = __this->Subscribe(transform); } // public void Unsubscribe(Fuse.ITransformRelative transform, object sub) :18 void ScalingModes__IdentityMode__Unsubscribe_fn(ScalingModes__IdentityMode* __this, uObject* transform, uObject* sub) { __this->Unsubscribe(transform, sub); } // public generated IdentityMode() [instance] :13 void ScalingModes__IdentityMode::ctor_() { } // public float3 GetScaleVector(Fuse.Scaling t) [instance] :15 ::g::Uno::Float3 ScalingModes__IdentityMode::GetScaleVector(::g::Fuse::Scaling* t) { return uPtr(t)->Vector(); } // public object Subscribe(Fuse.ITransformRelative transform) [instance] :17 uObject* ScalingModes__IdentityMode::Subscribe(uObject* transform) { return NULL; } // public void Unsubscribe(Fuse.ITransformRelative transform, object sub) [instance] :18 void ScalingModes__IdentityMode::Unsubscribe(uObject* transform, uObject* sub) { } // public generated IdentityMode New() [static] :13 ScalingModes__IdentityMode* ScalingModes__IdentityMode::New1() { ScalingModes__IdentityMode* obj1 = (ScalingModes__IdentityMode*)uNew(ScalingModes__IdentityMode_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\RootViewport.uno // ----------------------------------------------------------------------------------- // public abstract interface IFrame :12 // { uInterfaceType* IFrame_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IFrame", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\IFrustum.uno // ------------------------------------------------------------------------------- // public abstract interface IFrustum :5 // { uInterfaceType* IFrustum_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IFrustum", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Resources\ILoading.uno // ------------------------------------------------------------------------------------------ // internal abstract interface ILoading :9 // { uInterfaceType* ILoading_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.ILoading", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Resources\ILoading.uno // ------------------------------------------------------------------------------------------ // internal static class ILoadingStatic :14 // { // static generated ILoadingStatic() :14 static void ILoadingStatic__cctor__fn(uType* __type) { ILoadingStatic::IsLoadingName_ = ::g::Uno::UX::Selector__op_Implicit1(::STRINGS[52/*"IsLoading"*/]); } static void ILoadingStatic_build(uType* type) { ::STRINGS[52] = uString::Const("IsLoading"); type->SetFields(0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&ILoadingStatic::IsLoadingName_, uFieldFlagsStatic); } uClassType* ILoadingStatic_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.ILoadingStatic", options); type->fp_build_ = ILoadingStatic_build; type->fp_cctor_ = ILoadingStatic__cctor__fn; return type; } ::g::Uno::UX::Selector ILoadingStatic::IsLoadingName_; // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\NameRegistry.uno // ----------------------------------------------------------------------------------- // public abstract interface INameListener :8 // { uInterfaceType* INameListener_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.INameListener", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Node.Rooting.uno // ----------------------------------------------------------------------------------- // internal abstract interface INotifyUnrooted :15 // { uInterfaceType* INotifyUnrooted_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.INotifyUnrooted", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Interacting.uno // ----------------------------------------------------------------------------------------- // private struct Visual.InteractionItem :8 // { static void Visual__InteractionItem_build(uType* type) { type->SetFields(0, uObject_typeof(), offsetof(Visual__InteractionItem, Id), 0, ::g::Uno::Action_typeof(), offsetof(Visual__InteractionItem, Cancelled), 0); } uStructType* Visual__InteractionItem_typeof() { static uSStrong<uStructType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.Alignment = alignof(Visual__InteractionItem); options.ValueSize = sizeof(Visual__InteractionItem); options.TypeSize = sizeof(uStructType); type = uStructType::New("Fuse.Visual.InteractionItem", options); type->fp_build_ = Visual__InteractionItem_build; return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Layout.uno // ------------------------------------------------------------------------------------ // public enum InvalidateLayoutReason :42 uEnumType* InvalidateLayoutReason_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.InvalidateLayoutReason", ::g::Uno::Int_typeof(), 3); type->SetLiterals( "NothingChanged", 0LL, "ChildChanged", 1LL, "MarginBoxChanged", 2LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\IObject.uno // ------------------------------------------------------------------------------- // public abstract interface IObject :39 // { uInterfaceType* IObject_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IObject", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Children.uno // -------------------------------------------------------------------------------------- // public abstract interface IParentObserver :10 // { uInterfaceType* IParentObserver_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IParentObserver", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\PreviewState.uno // ----------------------------------------------------------------------------------- // internal abstract interface IPreviewStateSaver :105 // { uInterfaceType* IPreviewStateSaver_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IPreviewStateSaver", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Properties.uno // ---------------------------------------------------------------------------------- // public abstract interface IProperties :10 // { uInterfaceType* IProperties_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IProperties", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\IViewport.uno // -------------------------------------------------------------------------------- // public abstract interface IRenderViewport :34 // { uInterfaceType* IRenderViewport_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IRenderViewport", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Scaling.uno // ------------------------------------------------------------------------------ // public abstract interface IScalingMode :6 // { uInterfaceType* IScalingMode_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IScalingMode", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Node.DataContext.uno // --------------------------------------------------------------------------------------- // public abstract interface Node.ISiblingDataProvider :13 // { uInterfaceType* Node__ISiblingDataProvider_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.Node.ISiblingDataProvider", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Diagnostics.uno // ----------------------------------------------------------------------------------- // public abstract interface ISourceLocation :19 // { uInterfaceType* ISourceLocation_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.ISourceLocation", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Node.DataContext.uno // --------------------------------------------------------------------------------------- // public abstract interface Node.ISubtreeDataProvider :21 // { uInterfaceType* Node__ISubtreeDataProvider_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.Node.ISubtreeDataProvider", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Templates.uno // --------------------------------------------------------------------------------------- // public abstract interface ITemplateSource :9 // { uInterfaceType* ITemplateSource_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.ITemplateSource", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Transform.uno // -------------------------------------------------------------------------------- // public abstract interface ITransformMode :295 // { uInterfaceType* ITransformMode_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.ITransformMode", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Transform.uno // -------------------------------------------------------------------------------- // public abstract interface ITransformRelative :285 // { uInterfaceType* ITransformRelative_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.ITransformRelative", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Translation.uno // ---------------------------------------------------------------------------------- // public abstract interface ITranslationMode :61 // { uInterfaceType* ITranslationMode_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.ITranslationMode", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\UpdateManager.uno // ------------------------------------------------------------------------------------- // public abstract interface IUpdateListener :39 // { uInterfaceType* IUpdateListener_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IUpdateListener", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\IViewport.uno // -------------------------------------------------------------------------------- // public abstract interface IViewport :64 // { uInterfaceType* IViewport_typeof() { static uSStrong<uInterfaceType*> type; if (type != NULL) return type; type = uInterfaceType::New("Fuse.IViewport", 0, 0); return type; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\FileSourceConverter.uno // -------------------------------------------------------------------------------------------- // internal sealed class JSFileSource :31 // { static void JSFileSource_build(uType* type) { type->SetFields(2, ::g::Uno::String_typeof(), offsetof(JSFileSource, _path), 0); } ::g::Uno::UX::FileSource_type* JSFileSource_typeof() { static uSStrong< ::g::Uno::UX::FileSource_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::FileSource_typeof(); options.FieldCount = 3; options.ObjectSize = sizeof(JSFileSource); options.TypeSize = sizeof(::g::Uno::UX::FileSource_type); type = (::g::Uno::UX::FileSource_type*)uClassType::New("Fuse.JSFileSource", options); type->fp_build_ = JSFileSource_build; type->fp_OpenRead = (void(*)(::g::Uno::UX::FileSource*, ::g::Uno::IO::Stream**))JSFileSource__OpenRead_fn; return type; } // public JSFileSource(string path) :35 void JSFileSource__ctor_1_fn(JSFileSource* __this, uString* path) { __this->ctor_1(path); } // public JSFileSource New(string path) :35 void JSFileSource__New1_fn(uString* path, JSFileSource** __retval) { *__retval = JSFileSource::New1(path); } // public override sealed Uno.IO.Stream OpenRead() :40 void JSFileSource__OpenRead_fn(JSFileSource* __this, ::g::Uno::IO::Stream** __retval) { return *__retval = ::g::Uno::IO::File::OpenRead(__this->_path), void(); } // public JSFileSource(string path) [instance] :35 void JSFileSource::ctor_1(uString* path) { ctor_(path); _path = path; } // public JSFileSource New(string path) [static] :35 JSFileSource* JSFileSource::New1(uString* path) { JSFileSource* obj1 = (JSFileSource*)uNew(JSFileSource_typeof()); obj1->ctor_1(path); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Json.Parse.uno // ---------------------------------------------------------------------------------- // public partial static class Json :7 // { static void Json_build(uType* type) { } uClassType* Json_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.Json", options); type->fp_build_ = Json_build; return type; } // private static object Convert(Uno.Data.Json.JsonReader r) :29 void Json__Convert_fn(::g::Uno::Data::Json::JsonReader* r, uObject** __retval) { *__retval = Json::Convert(r); } // internal static object Parse(string json) :13 void Json__Parse_fn(uString* json, uObject** __retval) { *__retval = Json::Parse(json); } // public static string Stringify(object value, [bool normalized]) :15 void Json__Stringify_fn(uObject* value, bool* normalized, uString** __retval) { *__retval = Json::Stringify(value, *normalized); } // private static void Stringify(object value, bool normalized, Uno.Text.StringBuilder sb, Uno.Collections.HashSet<object> visitedSet) :22 void Json__Stringify1_fn(uObject* value, bool* normalized, ::g::Uno::Text::StringBuilder* sb, ::g::Uno::Collections::HashSet* visitedSet) { Json::Stringify1(value, *normalized, sb, visitedSet); } // public static string ToLiteral(bool b) :132 void Json__ToLiteral_fn(bool* b, uString** __retval) { *__retval = Json::ToLiteral(*b); } // public static string ToLiteral(double s) :125 void Json__ToLiteral1_fn(double* s, uString** __retval) { *__retval = Json::ToLiteral1(*s); } // public static void ToLiteral(string s, Uno.Text.StringBuilder sb) :119 void Json__ToLiteral3_fn(uString* s, ::g::Uno::Text::StringBuilder* sb) { Json::ToLiteral3(s, sb); } // private static object Convert(Uno.Data.Json.JsonReader r) [static] :29 uObject* Json::Convert(::g::Uno::Data::Json::JsonReader* r) { switch (uPtr(r)->JsonDataType()) { case 5: { uArray* keys = uPtr(r)->Keys(); ::g::Uno::Collections::Dictionary* dict = (::g::Uno::Collections::Dictionary*)::g::Uno::Collections::Dictionary::New1(::TYPES[76/*Uno.Collections.Dictionary<string, object>*/]); for (int32_t i = 0; i < uPtr(keys)->Length(); i++) ::g::Uno::Collections::Dictionary__Add_fn(uPtr(dict), uPtr(keys)->Strong<uString*>(i), Json::Convert(uPtr(r)->Item1(uPtr(keys)->Strong<uString*>(i)))); return Json__Object::New1(dict); } case 4: { uArray* values = uArray::New(::TYPES[7/*object[]*/], uPtr(r)->Count()); for (int32_t i1 = 0; i1 < values->Length(); i1++) uPtr(values)->Strong<uObject*>(i1) = Json::Convert(uPtr(r)->Item(i1)); return Json__Array::New1(values); } case 1: return uBox(::g::Uno::Double_typeof(), uPtr(r)->AsNumber()); case 2: return ::g::Uno::Data::Json::JsonReader::op_Explicit1(r); case 3: return uBox(::g::Uno::Bool_typeof(), ::g::Uno::Data::Json::JsonReader::op_Explicit3(r)); } return NULL; } // internal static object Parse(string json) [static] :13 uObject* Json::Parse(uString* json) { return Json::Convert(::g::Uno::Data::Json::JsonReader::Parse(json)); } // public static string Stringify(object value, [bool normalized]) [static] :15 uString* Json::Stringify(uObject* value, bool normalized) { ::g::Uno::Text::StringBuilder* sb = ::g::Uno::Text::StringBuilder::New1(); Json::Stringify1(value, normalized, sb, (::g::Uno::Collections::HashSet*)::g::Uno::Collections::HashSet::New1(::g::Uno::Collections::HashSet_typeof()->MakeType(uObject_typeof(), NULL))); return sb->ToString(); } // private static void Stringify(object value, bool normalized, Uno.Text.StringBuilder sb, Uno.Collections.HashSet<object> visitedSet) [static] :22 void Json::Stringify1(uObject* value, bool normalized, ::g::Uno::Text::StringBuilder* sb, ::g::Uno::Collections::HashSet* visitedSet) { bool ret1; bool ret2; bool ret3; bool ret4; bool ret5; bool ret6; if (uIs(value, ::TYPES[24/*string*/])) Json::ToLiteral3(uCast<uString*>(value, ::TYPES[24/*string*/]), sb); else if (uIs(value, ::g::Uno::Double_typeof())) uPtr(sb)->Append2(Json::ToLiteral1(uUnbox<double>(::g::Uno::Double_typeof(), value))); else if (uIs(value, ::g::Uno::Float_typeof())) uPtr(sb)->Append2(Json::ToLiteral1((double)uUnbox<float>(::g::Uno::Float_typeof(), value))); else if (uIs(value, ::g::Uno::Int_typeof())) uPtr(sb)->Append2(Json::ToLiteral1((double)uUnbox<int32_t>(::g::Uno::Int_typeof(), value))); else if (uIs(value, ::g::Uno::Bool_typeof())) uPtr(sb)->Append2(Json::ToLiteral(uUnbox<bool>(::g::Uno::Bool_typeof(), value))); else if (uIs(value, ::TYPES[29/*Fuse.IObject*/])) { if ((::g::Uno::Collections::HashSet__Contains_fn(uPtr(visitedSet), value, &ret1), ret1)) U_THROW(::g::Uno::Exception::New2(uString::Const("Json.Stringify(): object can not contain cycles"))); ::g::Uno::Collections::HashSet__Add_fn(uPtr(visitedSet), value, &ret2); uObject* obj = uAs<uObject*>(value, ::TYPES[29/*Fuse.IObject*/]); uPtr(sb)->Append2(uString::Const("{")); uArray* keys = uArray::New(::TYPES[47/*string[]*/], uPtr(::g::Fuse::IObject::Keys(uInterface(uPtr(obj), ::TYPES[29/*Fuse.IObject*/])))->Length()); ::g::Uno::Array::Copy1(::g::Uno::Array_typeof()->MakeMethod(1/*Copy<string>*/, ::TYPES[24/*string*/], NULL), ::g::Fuse::IObject::Keys(uInterface(obj, ::TYPES[29/*Fuse.IObject*/])), keys, uPtr(::g::Fuse::IObject::Keys(uInterface(obj, ::TYPES[29/*Fuse.IObject*/])))->Length()); if (normalized) ::g::Uno::Array::Sort1(::g::Uno::Array_typeof()->MakeMethod(7/*Sort<string>*/, ::TYPES[24/*string*/], NULL), keys, uDelegate::New(::g::Uno::Comparison_typeof()->MakeType(::TYPES[24/*string*/], NULL), (void*)::g::Uno::String__Compare_fn)); for (int32_t i = 0; i < keys->Length(); i++) { if (i > 0) uPtr(sb)->Append2(uString::Const(",")); Json::ToLiteral3(uPtr(keys)->Strong<uString*>(i), sb); uPtr(sb)->Append2(::STRINGS[19/*":"*/]); Json::Stringify1(::g::Fuse::IObject::Item(uInterface(uPtr(obj), ::TYPES[29/*Fuse.IObject*/]), keys->Strong<uString*>(i)), normalized, sb, visitedSet); } sb->Append2(uString::Const("}")); ::g::Uno::Collections::HashSet__Remove_fn(visitedSet, value, &ret3); } else if (uIs(value, ::g::Fuse::IArray_typeof())) { if ((::g::Uno::Collections::HashSet__Contains_fn(uPtr(visitedSet), value, &ret4), ret4)) U_THROW(::g::Uno::Exception::New2(uString::Const("Json.Stringify(): object can not contain cycles"))); ::g::Uno::Collections::HashSet__Add_fn(uPtr(visitedSet), value, &ret5); uObject* arr = uAs<uObject*>(value, ::g::Fuse::IArray_typeof()); uPtr(sb)->Append2(uString::Const("[")); for (int32_t i1 = 0; i1 < ::g::Fuse::IArray::Length(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof())); i1++) { if (i1 > 0) uPtr(sb)->Append2(uString::Const(",")); Json::Stringify1(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), i1), normalized, sb, visitedSet); } sb->Append2(uString::Const("]")); ::g::Uno::Collections::HashSet__Remove_fn(visitedSet, value, &ret6); } else uPtr(sb)->Append2(uString::Const("null")); } // public static string ToLiteral(bool b) [static] :132 uString* Json::ToLiteral(bool b) { if (b) return uString::Const("true"); else return uString::Const("false"); } // public static string ToLiteral(double s) [static] :125 uString* Json::ToLiteral1(double s) { if ((double)(int32_t)s == s) return ::g::Uno::Int::ToString((int32_t)s, ::g::Uno::Int_typeof()); return ::g::Uno::Double::ToString(s, ::g::Uno::Double_typeof()); } // public static void ToLiteral(string s, Uno.Text.StringBuilder sb) [static] :119 void Json::ToLiteral3(uString* s, ::g::Uno::Text::StringBuilder* sb) { uPtr(sb)->Append2(::g::Uno::Data::Json::JsonWriter::QuoteString(s)); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\KeyboardBootstrapper.uno // ------------------------------------------------------------------------------------------- // internal sealed class KeyboardBootstrapper :10 // { static void KeyboardBootstrapper_build(uType* type) { ::TYPES[37] = ::g::Uno::Exception_typeof(); type->SetDependencies( ::g::Fuse::Input::Focus_typeof(), ::g::Fuse::Input::Keyboard_typeof()); } uType* KeyboardBootstrapper_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.DependencyCount = 2; options.ObjectSize = sizeof(KeyboardBootstrapper); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.KeyboardBootstrapper", options); type->fp_build_ = KeyboardBootstrapper_build; return type; } // public static void OnKeyPressed(object sender, Uno.Platform.KeyEventArgs args) :12 void KeyboardBootstrapper__OnKeyPressed_fn(uObject* sender, ::g::Uno::Platform::KeyEventArgs* args) { KeyboardBootstrapper::OnKeyPressed(sender, args); } // public static void OnKeyReleased(object sender, Uno.Platform.KeyEventArgs args) :29 void KeyboardBootstrapper__OnKeyReleased_fn(uObject* sender, ::g::Uno::Platform::KeyEventArgs* args) { KeyboardBootstrapper::OnKeyReleased(sender, args); } // public static void OnKeyPressed(object sender, Uno.Platform.KeyEventArgs args) [static] :12 void KeyboardBootstrapper::OnKeyPressed(uObject* sender, ::g::Uno::Platform::KeyEventArgs* args) { try { { if (!uPtr(args)->Handled() && (uPtr(args)->Key() == 9)) ::g::Fuse::Input::Focus::Move(uPtr(args)->IsShiftKeyPressed() ? 0 : 1); ::g::Fuse::Input::Keyboard::RaiseKeyPressed(uPtr(args)->Key(), uPtr(args)->IsMetaKeyPressed(), uPtr(args)->IsControlKeyPressed(), uPtr(args)->IsShiftKeyPressed(), uPtr(args)->IsAltKeyPressed()); } } catch (const uThrowable& __t) { ::g::Uno::Exception* e = __t.Exception; ::g::Fuse::AppBase::OnUnhandledExceptionInternal(e); } } // public static void OnKeyReleased(object sender, Uno.Platform.KeyEventArgs args) [static] :29 void KeyboardBootstrapper::OnKeyReleased(uObject* sender, ::g::Uno::Platform::KeyEventArgs* args) { try { { ::g::Fuse::Input::Keyboard::RaiseKeyReleased(uPtr(args)->Key(), uPtr(args)->IsMetaKeyPressed(), uPtr(args)->IsControlKeyPressed(), uPtr(args)->IsShiftKeyPressed(), uPtr(args)->IsAltKeyPressed()); } } catch (const uThrowable& __t) { ::g::Uno::Exception* e = __t.Exception; ::g::Fuse::AppBase::OnUnhandledExceptionInternal(e); } } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Layout.uno // ------------------------------------------------------------------------------------ // public enum Layer :8 uEnumType* Layer_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.Layer", ::g::Uno::Int_typeof(), 4); type->SetLiterals( "Underlay", 0LL, "Background", 1LL, "Layout", 2LL, "Overlay", 3LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Layout.uno // ------------------------------------------------------------------------------------ // public enum LayoutDependent :50 uEnumType* LayoutDependent_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.LayoutDependent", ::g::Uno::Int_typeof(), 5); type->SetLiterals( "No", 0LL, "NoArrange", 1LL, "Maybe", 2LL, "MaybeArrange", 3LL, "Yes", 4LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\LayoutParams.uno // ----------------------------------------------------------------------------------- // public struct LayoutParams :12 // { static void LayoutParams_build(uType* type) { type->SetDependencies( ::g::Uno::Math_typeof()); type->SetFields(0, LayoutParams__Flags_typeof(), offsetof(LayoutParams, _flags), 0, ::g::Uno::Float2_typeof(), offsetof(LayoutParams, _size), 0, ::g::Uno::Float2_typeof(), offsetof(LayoutParams, _maxSize), 0, ::g::Uno::Float2_typeof(), offsetof(LayoutParams, _minSize), 0, ::g::Uno::Float2_typeof(), offsetof(LayoutParams, _relativeSize), 0, ::g::Uno::Bool_typeof(), (uintptr_t)&LayoutParams::_warnTrueClone_, uFieldFlagsStatic, ::g::Uno::Bool_typeof(), (uintptr_t)&LayoutParams::_warnDeriveClone_, uFieldFlagsStatic); } uStructType* LayoutParams_typeof() { static uSStrong<uStructType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 7; options.DependencyCount = 1; options.Alignment = alignof(LayoutParams); options.ValueSize = sizeof(LayoutParams); options.TypeSize = sizeof(uStructType); type = uStructType::New("Fuse.LayoutParams", options); type->fp_build_ = LayoutParams_build; return type; } // public void BoxConstrain(Fuse.LayoutParams o) :329 void LayoutParams__BoxConstrain_fn(LayoutParams* __this, LayoutParams* o) { __this->BoxConstrain(*o); } // public Fuse.LayoutParams Clone() :80 void LayoutParams__Clone_fn(LayoutParams* __this, LayoutParams* __retval) { *__retval = __this->Clone(); } // public Fuse.LayoutParams CloneAndDerive() :109 void LayoutParams__CloneAndDerive_fn(LayoutParams* __this, LayoutParams* __retval) { *__retval = __this->CloneAndDerive(); } // public void ConstrainMax(float2 max, [bool hasMaxX], [bool hasMaxY]) :286 void LayoutParams__ConstrainMax_fn(LayoutParams* __this, ::g::Uno::Float2* max, bool* hasMaxX, bool* hasMaxY) { __this->ConstrainMax(*max, *hasMaxX, *hasMaxY); } // public void ConstrainMaxX(float max) :268 void LayoutParams__ConstrainMaxX_fn(LayoutParams* __this, float* max) { __this->ConstrainMaxX(*max); } // public void ConstrainMaxY(float max) :277 void LayoutParams__ConstrainMaxY_fn(LayoutParams* __this, float* max) { __this->ConstrainMaxY(*max); } // public void ConstrainMin(float2 min, [bool hasMinX], [bool hasMinY]) :315 void LayoutParams__ConstrainMin_fn(LayoutParams* __this, ::g::Uno::Float2* min, bool* hasMinX, bool* hasMinY) { __this->ConstrainMin(*min, *hasMinX, *hasMinY); } // public void ConstrainMinX(float min) :297 void LayoutParams__ConstrainMinX_fn(LayoutParams* __this, float* min) { __this->ConstrainMinX(*min); } // public void ConstrainMinY(float min) :306 void LayoutParams__ConstrainMinY_fn(LayoutParams* __this, float* min) { __this->ConstrainMinY(*min); } // public static Fuse.LayoutParams Create(float2 size) :148 void LayoutParams__Create_fn(::g::Uno::Float2* size, LayoutParams* __retval) { *__retval = LayoutParams__Create(*size); } // public static Fuse.LayoutParams CreateEmpty() :177 void LayoutParams__CreateEmpty_fn(LayoutParams* __retval) { *__retval = LayoutParams__CreateEmpty(); } // public static Fuse.LayoutParams CreateTemporary(float2 size) :157 void LayoutParams__CreateTemporary_fn(::g::Uno::Float2* size, LayoutParams* __retval) { *__retval = LayoutParams__CreateTemporary(*size); } // public static Fuse.LayoutParams CreateXY(float2 size, bool hasX, bool hasY) :167 void LayoutParams__CreateXY_fn(::g::Uno::Float2* size, bool* hasX, bool* hasY, LayoutParams* __retval) { *__retval = LayoutParams__CreateXY(*size, *hasX, *hasY); } // public float2 GetAvailableSize() :383 void LayoutParams__GetAvailableSize_fn(LayoutParams* __this, ::g::Uno::Float2* __retval) { *__retval = __this->GetAvailableSize(); } // public float2 GetAvailableSize(bool& hasX, bool& hasY) :390 void LayoutParams__GetAvailableSize1_fn(LayoutParams* __this, bool* hasX, bool* hasY, ::g::Uno::Float2* __retval) { *__retval = __this->GetAvailableSize1(hasX, hasY); } // public bool get_HasMaxSize() :52 void LayoutParams__get_HasMaxSize_fn(LayoutParams* __this, bool* __retval) { *__retval = __this->HasMaxSize(); } // public bool get_HasMaxX() :50 void LayoutParams__get_HasMaxX_fn(LayoutParams* __this, bool* __retval) { *__retval = __this->HasMaxX(); } // public bool get_HasMaxY() :51 void LayoutParams__get_HasMaxY_fn(LayoutParams* __this, bool* __retval) { *__retval = __this->HasMaxY(); } // public bool get_HasMinX() :54 void LayoutParams__get_HasMinX_fn(LayoutParams* __this, bool* __retval) { *__retval = __this->HasMinX(); } // public bool get_HasMinY() :55 void LayoutParams__get_HasMinY_fn(LayoutParams* __this, bool* __retval) { *__retval = __this->HasMinY(); } // public bool get_HasRelativeX() :60 void LayoutParams__get_HasRelativeX_fn(LayoutParams* __this, bool* __retval) { *__retval = __this->HasRelativeX(); } // public bool get_HasRelativeY() :69 void LayoutParams__get_HasRelativeY_fn(LayoutParams* __this, bool* __retval) { *__retval = __this->HasRelativeY(); } // public bool get_HasSize() :46 void LayoutParams__get_HasSize_fn(LayoutParams* __this, bool* __retval) { *__retval = __this->HasSize(); } // public bool get_HasX() :44 void LayoutParams__get_HasX_fn(LayoutParams* __this, bool* __retval) { *__retval = __this->HasX(); } // public bool get_HasY() :45 void LayoutParams__get_HasY_fn(LayoutParams* __this, bool* __retval) { *__retval = __this->HasY(); } // public bool IsCompatible(Fuse.LayoutParams nlp) :479 void LayoutParams__IsCompatible_fn(LayoutParams* __this, LayoutParams* nlp, bool* __retval) { *__retval = __this->IsCompatible(*nlp); } // public float2 get_MaxSize() :401 void LayoutParams__get_MaxSize_fn(LayoutParams* __this, ::g::Uno::Float2* __retval) { *__retval = __this->MaxSize(); } // public float get_MaxX() :402 void LayoutParams__get_MaxX_fn(LayoutParams* __this, float* __retval) { *__retval = __this->MaxX(); } // public float get_MaxY() :403 void LayoutParams__get_MaxY_fn(LayoutParams* __this, float* __retval) { *__retval = __this->MaxY(); } // public float2 get_MinSize() :405 void LayoutParams__get_MinSize_fn(LayoutParams* __this, ::g::Uno::Float2* __retval) { *__retval = __this->MinSize(); } // public float get_MinX() :406 void LayoutParams__get_MinX_fn(LayoutParams* __this, float* __retval) { *__retval = __this->MinX(); } // public float get_MinY() :407 void LayoutParams__get_MinY_fn(LayoutParams* __this, float* __retval) { *__retval = __this->MinY(); } // public float2 PointConstrain(float2 p) :339 void LayoutParams__PointConstrain_fn(LayoutParams* __this, ::g::Uno::Float2* p, ::g::Uno::Float2* __retval) { *__retval = __this->PointConstrain(*p); } // private float2 PointConstrain(float2 p, bool& knowX, bool& knowY) :346 void LayoutParams__PointConstrain1_fn(LayoutParams* __this, ::g::Uno::Float2* p, bool* knowX, bool* knowY, ::g::Uno::Float2* __retval) { *__retval = __this->PointConstrain1(*p, knowX, knowY); } // public float get_RelativeX() :412 void LayoutParams__get_RelativeX_fn(LayoutParams* __this, float* __retval) { *__retval = __this->RelativeX(); } // public float get_RelativeY() :421 void LayoutParams__get_RelativeY_fn(LayoutParams* __this, float* __retval) { *__retval = __this->RelativeY(); } // public void RemoveSize(float2 size) :185 void LayoutParams__RemoveSize_fn(LayoutParams* __this, ::g::Uno::Float2* size) { __this->RemoveSize(*size); } // public void RemoveSize(float4 size) :192 void LayoutParams__RemoveSize1_fn(LayoutParams* __this, ::g::Uno::Float4* size) { __this->RemoveSize1(*size); } // public void Reset() :133 void LayoutParams__Reset_fn(LayoutParams* __this) { __this->Reset(); } // public void RetainAxesXY(bool x, bool y) :197 void LayoutParams__RetainAxesXY_fn(LayoutParams* __this, bool* x, bool* y) { __this->RetainAxesXY(*x, *y); } // public void RetainMaxXY(bool x, bool y) :222 void LayoutParams__RetainMaxXY_fn(LayoutParams* __this, bool* x, bool* y) { __this->RetainMaxXY(*x, *y); } // public void RetainXY(bool x, bool y) :208 void LayoutParams__RetainXY_fn(LayoutParams* __this, bool* x, bool* y) { __this->RetainXY(*x, *y); } // private void SetFlag(Fuse.LayoutParams.Flags g, bool val) :36 void LayoutParams__SetFlag_fn(LayoutParams* __this, int32_t* g, bool* val) { __this->SetFlag(*g, *val); } // public void SetRelativeSize(float2 sz, bool hasX, bool hasY) :259 void LayoutParams__SetRelativeSize_fn(LayoutParams* __this, ::g::Uno::Float2* sz, bool* hasX, bool* hasY) { __this->SetRelativeSize(*sz, *hasX, *hasY); } // public void SetSize(float2 xy, [bool hasX], [bool hasY]) :236 void LayoutParams__SetSize_fn(LayoutParams* __this, ::g::Uno::Float2* xy, bool* hasX, bool* hasY) { __this->SetSize(*xy, *hasX, *hasY); } // public void SetX(float x) :247 void LayoutParams__SetX_fn(LayoutParams* __this, float* x) { __this->SetX(*x); } // public void SetY(float y) :253 void LayoutParams__SetY_fn(LayoutParams* __this, float* y) { __this->SetY(*y); } // public float2 get_Size() :397 void LayoutParams__get_Size_fn(LayoutParams* __this, ::g::Uno::Float2* __retval) { *__retval = __this->Size(); } // public bool get_Temporary() :48 void LayoutParams__get_Temporary_fn(LayoutParams* __this, bool* __retval) { *__retval = __this->Temporary(); } // public float get_X() :398 void LayoutParams__get_X_fn(LayoutParams* __this, float* __retval) { *__retval = __this->X(); } // public float get_Y() :399 void LayoutParams__get_Y_fn(LayoutParams* __this, float* __retval) { *__retval = __this->Y(); } bool LayoutParams::_warnTrueClone_; bool LayoutParams::_warnDeriveClone_; // public void BoxConstrain(Fuse.LayoutParams o) [instance] :329 void LayoutParams::BoxConstrain(LayoutParams o) { SetSize(o.Size(), o.HasX(), o.HasY()); ConstrainMax(o.MaxSize(), o.HasMaxX(), o.HasMaxY()); ConstrainMin(o.MinSize(), o.HasMinX(), o.HasMinY()); } // public Fuse.LayoutParams Clone() [instance] :80 LayoutParams LayoutParams::Clone() { LayoutParams lp = uDefault<LayoutParams>(); lp._flags = _flags; lp._size = _size; lp._maxSize = _maxSize; lp._minSize = _minSize; lp._relativeSize = _relativeSize; return lp; } // public Fuse.LayoutParams CloneAndDerive() [instance] :109 LayoutParams LayoutParams::CloneAndDerive() { LayoutParams lp = Clone(); lp.SetFlag(128, false); lp.SetFlag(256, false); lp.SetFlag(512, false); lp.SetFlag(1024, false); lp._relativeSize = ::g::Uno::Float2__New1(0.0f); return lp; } // public void ConstrainMax(float2 max, [bool hasMaxX], [bool hasMaxY]) [instance] :286 void LayoutParams::ConstrainMax(::g::Uno::Float2 max, bool hasMaxX, bool hasMaxY) { max = ::g::Uno::Math::Max3(::g::Uno::Float2__New1(0.0f), max); if (hasMaxX) ConstrainMaxX(max.X); if (hasMaxY) ConstrainMaxY(max.Y); } // public void ConstrainMaxX(float max) [instance] :268 void LayoutParams::ConstrainMaxX(float max) { if (HasMaxX()) _maxSize.X = ::g::Uno::Math::Min1(_maxSize.X, max); else _maxSize.X = max; SetFlag(8, true); } // public void ConstrainMaxY(float max) [instance] :277 void LayoutParams::ConstrainMaxY(float max) { if (HasMaxY()) _maxSize.Y = ::g::Uno::Math::Min1(_maxSize.Y, max); else _maxSize.Y = max; SetFlag(16, true); } // public void ConstrainMin(float2 min, [bool hasMinX], [bool hasMinY]) [instance] :315 void LayoutParams::ConstrainMin(::g::Uno::Float2 min, bool hasMinX, bool hasMinY) { min = ::g::Uno::Math::Max3(::g::Uno::Float2__New1(0.0f), min); if (hasMinX) ConstrainMinX(min.X); if (hasMinY) ConstrainMinY(min.Y); } // public void ConstrainMinX(float min) [instance] :297 void LayoutParams::ConstrainMinX(float min) { if (HasMinX()) _minSize.X = ::g::Uno::Math::Max1(_minSize.X, min); else _minSize.X = min; SetFlag(32, true); } // public void ConstrainMinY(float min) [instance] :306 void LayoutParams::ConstrainMinY(float min) { if (HasMinY()) _minSize.Y = ::g::Uno::Math::Max1(_minSize.Y, min); else _minSize.Y = min; SetFlag(64, true); } // public float2 GetAvailableSize() [instance] :383 ::g::Uno::Float2 LayoutParams::GetAvailableSize() { bool x = false; bool y = false; return PointConstrain1(::g::Uno::Float2__New1(0.0f), &x, &y); } // public float2 GetAvailableSize(bool& hasX, bool& hasY) [instance] :390 ::g::Uno::Float2 LayoutParams::GetAvailableSize1(bool* hasX, bool* hasY) { *hasX = false; *hasY = false; return PointConstrain1(::g::Uno::Float2__New1(0.0f), hasX, hasY); } // public bool get_HasMaxSize() [instance] :52 bool LayoutParams::HasMaxSize() { return HasMaxX() && HasMaxY(); } // public bool get_HasMaxX() [instance] :50 bool LayoutParams::HasMaxX() { return (_flags & 8) == 8; } // public bool get_HasMaxY() [instance] :51 bool LayoutParams::HasMaxY() { return (_flags & 16) == 16; } // public bool get_HasMinX() [instance] :54 bool LayoutParams::HasMinX() { return (_flags & 32) == 32; } // public bool get_HasMinY() [instance] :55 bool LayoutParams::HasMinY() { return (_flags & 64) == 64; } // public bool get_HasRelativeX() [instance] :60 bool LayoutParams::HasRelativeX() { if ((_flags & 512) == 512) return false; return ((_flags & 128) == 128) || HasX(); } // public bool get_HasRelativeY() [instance] :69 bool LayoutParams::HasRelativeY() { if ((_flags & 1024) == 1024) return false; return ((_flags & 256) == 256) || HasY(); } // public bool get_HasSize() [instance] :46 bool LayoutParams::HasSize() { return HasX() && HasY(); } // public bool get_HasX() [instance] :44 bool LayoutParams::HasX() { return (_flags & 1) == 1; } // public bool get_HasY() [instance] :45 bool LayoutParams::HasY() { return (_flags & 2) == 2; } // public bool IsCompatible(Fuse.LayoutParams nlp) [instance] :479 bool LayoutParams::IsCompatible(LayoutParams nlp) { if ((((((HasX() != nlp.HasX()) || (HasY() != nlp.HasY())) || (HasMaxX() != nlp.HasMaxX())) || (HasMaxY() != nlp.HasMaxY())) || (HasMinX() != nlp.HasMinX())) || (HasMinY() != nlp.HasMinY())) return false; float zeroTolerance = 1e-05f; if (HasX() && (::g::Uno::Math::Abs1(X() - nlp.X()) > 1e-05f)) return false; if (HasY() && (::g::Uno::Math::Abs1(Y() - nlp.Y()) > 1e-05f)) return false; if (HasMaxX() && (::g::Uno::Math::Abs1(MaxX() - nlp.MaxX()) > 1e-05f)) return false; if (HasMinX() && (::g::Uno::Math::Abs1(MinX() - nlp.MinX()) > 1e-05f)) return false; if (HasMaxY() && (::g::Uno::Math::Abs1(MaxY() - nlp.MaxY()) > 1e-05f)) return false; if (HasMinY() && (::g::Uno::Math::Abs1(MinY() - nlp.MinY()) > 1e-05f)) return false; if (HasRelativeX() && (::g::Uno::Math::Abs1(RelativeX() - nlp.RelativeX()) > 1e-05f)) return false; if (HasRelativeY() && (::g::Uno::Math::Abs1(RelativeY() - nlp.RelativeY()) > 1e-05f)) return false; return true; } // public float2 get_MaxSize() [instance] :401 ::g::Uno::Float2 LayoutParams::MaxSize() { return _maxSize; } // public float get_MaxX() [instance] :402 float LayoutParams::MaxX() { return _maxSize.X; } // public float get_MaxY() [instance] :403 float LayoutParams::MaxY() { return _maxSize.Y; } // public float2 get_MinSize() [instance] :405 ::g::Uno::Float2 LayoutParams::MinSize() { return _minSize; } // public float get_MinX() [instance] :406 float LayoutParams::MinX() { return _minSize.X; } // public float get_MinY() [instance] :407 float LayoutParams::MinY() { return _minSize.Y; } // public float2 PointConstrain(float2 p) [instance] :339 ::g::Uno::Float2 LayoutParams::PointConstrain(::g::Uno::Float2 p) { bool x = true; bool y = true; return PointConstrain1(p, &x, &y); } // private float2 PointConstrain(float2 p, bool& knowX, bool& knowY) [instance] :346 ::g::Uno::Float2 LayoutParams::PointConstrain1(::g::Uno::Float2 p, bool* knowX, bool* knowY) { if (HasX()) { p.X = X(); *knowX = true; } if (HasMaxX()) { p.X = (*knowX ? ::g::Uno::Math::Min1(p.X, MaxX()) : MaxX()); *knowX = true; } if (HasMinX()) { p.X = (*knowX ? ::g::Uno::Math::Max1(p.X, MinX()) : MinX()); *knowX = true; } if (HasY()) { p.Y = Y(); *knowY = true; } if (HasMaxY()) { p.Y = (*knowY ? ::g::Uno::Math::Min1(p.Y, MaxY()) : MaxY()); *knowY = true; } if (HasMinY()) { p.Y = (*knowY ? ::g::Uno::Math::Max1(p.Y, MinY()) : MinY()); *knowY = true; } return p; } // public float get_RelativeX() [instance] :412 float LayoutParams::RelativeX() { if ((_flags & 512) == 512) return 0.0f; return ((_flags & 128) == 128) ? _relativeSize.X : _size.X; } // public float get_RelativeY() [instance] :421 float LayoutParams::RelativeY() { if ((_flags & 1024) == 1024) return 0.0f; return ((_flags & 256) == 256) ? _relativeSize.Y : _size.Y; } // public void RemoveSize(float2 size) [instance] :185 void LayoutParams::RemoveSize(::g::Uno::Float2 size) { _size = ::g::Uno::Math::Max3(::g::Uno::Float2__New1(0.0f), ::g::Uno::Float2__op_Subtraction2(_size, size)); _maxSize = ::g::Uno::Math::Max3(::g::Uno::Float2__New1(0.0f), ::g::Uno::Float2__op_Subtraction2(_maxSize, size)); _minSize = ::g::Uno::Math::Max3(::g::Uno::Float2__New1(0.0f), ::g::Uno::Float2__op_Subtraction2(_minSize, size)); } // public void RemoveSize(float4 size) [instance] :192 void LayoutParams::RemoveSize1(::g::Uno::Float4 size) { RemoveSize(::g::Uno::Float2__op_Addition2(::g::Uno::Float2__New2(size.X, size.Y), ::g::Uno::Float2__New2(size.Z, size.W))); } // public void Reset() [instance] :133 void LayoutParams::Reset() { _flags = 0; _size = (_maxSize = (_minSize = (_relativeSize = ::g::Uno::Float2__New1(0.0f)))); } // public void RetainAxesXY(bool x, bool y) [instance] :197 void LayoutParams::RetainAxesXY(bool x, bool y) { RetainXY(x, y); RetainMaxXY(x, y); } // public void RetainMaxXY(bool x, bool y) [instance] :222 void LayoutParams::RetainMaxXY(bool x, bool y) { if (!x) { _maxSize.X = 0.0f; SetFlag(8, false); } if (!y) { _maxSize.Y = 0.0f; SetFlag(16, false); } } // public void RetainXY(bool x, bool y) [instance] :208 void LayoutParams::RetainXY(bool x, bool y) { if (!x) { _size.X = 0.0f; SetFlag(1, false); } if (!y) { _size.Y = 0.0f; SetFlag(2, false); } } // private void SetFlag(Fuse.LayoutParams.Flags g, bool val) [instance] :36 void LayoutParams::SetFlag(int32_t g, bool val) { if (val) _flags = (_flags | g); else _flags = (_flags & ~g); } // public void SetRelativeSize(float2 sz, bool hasX, bool hasY) [instance] :259 void LayoutParams::SetRelativeSize(::g::Uno::Float2 sz, bool hasX, bool hasY) { _relativeSize = ::g::Uno::Math::Max3(::g::Uno::Float2__New1(0.0f), sz); SetFlag(128, hasX); SetFlag(512, !hasX); SetFlag(256, hasY); SetFlag(1024, !hasY); } // public void SetSize(float2 xy, [bool hasX], [bool hasY]) [instance] :236 void LayoutParams::SetSize(::g::Uno::Float2 xy, bool hasX, bool hasY) { _size = ::g::Uno::Math::Max3(::g::Uno::Float2__New1(0.0f), xy); SetFlag(1, hasX); if (!hasX) _size.X = 0.0f; SetFlag(2, hasY); if (!hasY) _size.Y = 0.0f; } // public void SetX(float x) [instance] :247 void LayoutParams::SetX(float x) { SetFlag(1, true); _size.X = ::g::Uno::Math::Max1(x, 0.0f); } // public void SetY(float y) [instance] :253 void LayoutParams::SetY(float y) { SetFlag(2, true); _size.Y = ::g::Uno::Math::Max1(y, 0.0f); } // public float2 get_Size() [instance] :397 ::g::Uno::Float2 LayoutParams::Size() { return _size; } // public bool get_Temporary() [instance] :48 bool LayoutParams::Temporary() { return (_flags & 4) == 4; } // public float get_X() [instance] :398 float LayoutParams::X() { return _size.X; } // public float get_Y() [instance] :399 float LayoutParams::Y() { return _size.Y; } // public static Fuse.LayoutParams Create(float2 size) [static] :148 LayoutParams LayoutParams__Create(::g::Uno::Float2 size) { LayoutParams lp = uDefault<LayoutParams>(); lp.SetFlag(1, true); lp.SetFlag(2, true); lp._size = ::g::Uno::Math::Max3(::g::Uno::Float2__New1(0.0f), size); return lp; } // public static Fuse.LayoutParams CreateEmpty() [static] :177 LayoutParams LayoutParams__CreateEmpty() { return uDefault<LayoutParams>(); } // public static Fuse.LayoutParams CreateTemporary(float2 size) [static] :157 LayoutParams LayoutParams__CreateTemporary(::g::Uno::Float2 size) { LayoutParams lp = uDefault<LayoutParams>(); lp.SetFlag(1, true); lp.SetFlag(2, true); lp._size = ::g::Uno::Math::Max3(::g::Uno::Float2__New1(0.0f), size); lp.SetFlag(4, true); return lp; } // public static Fuse.LayoutParams CreateXY(float2 size, bool hasX, bool hasY) [static] :167 LayoutParams LayoutParams__CreateXY(::g::Uno::Float2 size, bool hasX, bool hasY) { LayoutParams lp = uDefault<LayoutParams>(); lp.SetFlag(1, hasX); lp.SetFlag(2, hasY); lp._size.X = (hasX ? ::g::Uno::Math::Max1(size.X, 0.0f) : 0.0f); lp._size.Y = (hasY ? ::g::Uno::Math::Max1(size.Y, 0.0f) : 0.0f); return lp; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\UpdateManager.uno // ------------------------------------------------------------------------------------- // public enum LayoutPriority :22 uEnumType* LayoutPriority_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.LayoutPriority", ::g::Uno::Int_typeof(), 6); type->SetLiterals( "Now", 0LL, "EndGroup", 1LL, "Layout", 2LL, "Placement", 3LL, "Later", 4LL, "Post", 5LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Layout.uno // ------------------------------------------------------------------------------------ // public enum LayoutRole :30 uEnumType* LayoutRole_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.LayoutRole", ::g::Uno::Int_typeof(), 4); type->SetLiterals( "Standard", 0LL, "Placeholder", 1LL, "Inert", 2LL, "Independent", 3LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Translation.uno // ---------------------------------------------------------------------------------- // private sealed class TranslationModes.LocalMode :68 // { static void TranslationModes__LocalMode_build(uType* type) { type->SetInterfaces( ::g::Fuse::ITranslationMode_typeof(), offsetof(TranslationModes__LocalMode_type, interface0), ::g::Fuse::ITransformMode_typeof(), offsetof(TranslationModes__LocalMode_type, interface1)); } TranslationModes__LocalMode_type* TranslationModes__LocalMode_typeof() { static uSStrong<TranslationModes__LocalMode_type*> type; if (type != NULL) return type; uTypeOptions options; options.InterfaceCount = 2; options.ObjectSize = sizeof(TranslationModes__LocalMode); options.TypeSize = sizeof(TranslationModes__LocalMode_type); type = (TranslationModes__LocalMode_type*)uClassType::New("Fuse.TranslationModes.LocalMode", options); type->fp_build_ = TranslationModes__LocalMode_build; type->fp_ctor_ = (void*)TranslationModes__LocalMode__New1_fn; type->interface0.fp_GetAbsVector = (void(*)(uObject*, ::g::Fuse::Translation*, ::g::Uno::Float3*))TranslationModes__LocalMode__GetAbsVector_fn; type->interface1.fp_Subscribe = (void(*)(uObject*, uObject*, uObject**))TranslationModes__LocalMode__Subscribe_fn; type->interface1.fp_Unsubscribe = (void(*)(uObject*, uObject*, uObject*))TranslationModes__LocalMode__Unsubscribe_fn; return type; } // public generated LocalMode() :68 void TranslationModes__LocalMode__ctor__fn(TranslationModes__LocalMode* __this) { __this->ctor_(); } // public float3 GetAbsVector(Fuse.Translation t) :70 void TranslationModes__LocalMode__GetAbsVector_fn(TranslationModes__LocalMode* __this, ::g::Fuse::Translation* t, ::g::Uno::Float3* __retval) { *__retval = __this->GetAbsVector(t); } // public generated LocalMode New() :68 void TranslationModes__LocalMode__New1_fn(TranslationModes__LocalMode** __retval) { *__retval = TranslationModes__LocalMode::New1(); } // public object Subscribe(Fuse.ITransformRelative transform) :71 void TranslationModes__LocalMode__Subscribe_fn(TranslationModes__LocalMode* __this, uObject* transform, uObject** __retval) { *__retval = __this->Subscribe(transform); } // public void Unsubscribe(Fuse.ITransformRelative transform, object sub) :72 void TranslationModes__LocalMode__Unsubscribe_fn(TranslationModes__LocalMode* __this, uObject* transform, uObject* sub) { __this->Unsubscribe(transform, sub); } // public generated LocalMode() [instance] :68 void TranslationModes__LocalMode::ctor_() { } // public float3 GetAbsVector(Fuse.Translation t) [instance] :70 ::g::Uno::Float3 TranslationModes__LocalMode::GetAbsVector(::g::Fuse::Translation* t) { return uPtr(t)->Vector(); } // public object Subscribe(Fuse.ITransformRelative transform) [instance] :71 uObject* TranslationModes__LocalMode::Subscribe(uObject* transform) { return NULL; } // public void Unsubscribe(Fuse.ITransformRelative transform, object sub) [instance] :72 void TranslationModes__LocalMode::Unsubscribe(uObject* transform, uObject* sub) { } // public generated LocalMode New() [static] :68 TranslationModes__LocalMode* TranslationModes__LocalMode::New1() { TranslationModes__LocalMode* obj1 = (TranslationModes__LocalMode*)uNew(TranslationModes__LocalMode_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Layout.uno // ------------------------------------------------------------------------------------ // internal sealed class LostMarginBoxArgs :85 // { static void LostMarginBoxArgs_build(uType* type) { type->SetFields(0, ::g::Fuse::Visual_typeof(), offsetof(LostMarginBoxArgs, _Visual), 0); } uType* LostMarginBoxArgs_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::EventArgs_typeof(); options.FieldCount = 1; options.ObjectSize = sizeof(LostMarginBoxArgs); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.LostMarginBoxArgs", options); type->fp_build_ = LostMarginBoxArgs_build; return type; } // public LostMarginBoxArgs(Fuse.Visual elm) :88 void LostMarginBoxArgs__ctor_1_fn(LostMarginBoxArgs* __this, ::g::Fuse::Visual* elm) { __this->ctor_1(elm); } // public LostMarginBoxArgs New(Fuse.Visual elm) :88 void LostMarginBoxArgs__New2_fn(::g::Fuse::Visual* elm, LostMarginBoxArgs** __retval) { *__retval = LostMarginBoxArgs::New2(elm); } // public generated Fuse.Visual get_Visual() :87 void LostMarginBoxArgs__get_Visual_fn(LostMarginBoxArgs* __this, ::g::Fuse::Visual** __retval) { *__retval = __this->Visual(); } // private generated void set_Visual(Fuse.Visual value) :87 void LostMarginBoxArgs__set_Visual_fn(LostMarginBoxArgs* __this, ::g::Fuse::Visual* value) { __this->Visual(value); } // public LostMarginBoxArgs(Fuse.Visual elm) [instance] :88 void LostMarginBoxArgs::ctor_1(::g::Fuse::Visual* elm) { ctor_(); Visual(elm); } // public generated Fuse.Visual get_Visual() [instance] :87 ::g::Fuse::Visual* LostMarginBoxArgs::Visual() { return _Visual; } // private generated void set_Visual(Fuse.Visual value) [instance] :87 void LostMarginBoxArgs::Visual(::g::Fuse::Visual* value) { _Visual = value; } // public LostMarginBoxArgs New(Fuse.Visual elm) [static] :88 LostMarginBoxArgs* LostMarginBoxArgs::New2(::g::Fuse::Visual* elm) { LostMarginBoxArgs* obj1 = (LostMarginBoxArgs*)uNew(LostMarginBoxArgs_typeof()); obj1->ctor_1(elm); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Layout.uno // ------------------------------------------------------------------------------------ // internal delegate void LostMarginBoxHandler(object sender, Fuse.LostMarginBoxArgs args) :94 uDelegateType* LostMarginBoxHandler_typeof() { static uSStrong<uDelegateType*> type; if (type != NULL) return type; type = uDelegateType::New("Fuse.LostMarginBoxHandler", 2, 0); type->SetSignature(uVoid_typeof(), uObject_typeof(), ::g::Fuse::LostMarginBoxArgs_typeof()); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Marshal.Cast.uno // ------------------------------------------------------------------------------------- // public partial static class Marshal :12 // { // static Marshal() :11 static void Marshal__cctor__fn(uType* __type) { Marshal::_computers_ = ((::g::Uno::Collections::Dictionary*)::g::Uno::Collections::Dictionary::New1(::g::Uno::Collections::Dictionary_typeof()->MakeType(::TYPES[23/*Uno.Type*/], ::g::Fuse::Computer_typeof(), NULL))); Marshal::_converters_ = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[83/*Uno.Collections.List`1*/]->MakeType(Marshal__IConverter_typeof(), NULL))); ::g::Fuse::NumberComputer* number = ::g::Fuse::NumberComputer::New1(); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::Double_typeof(), number); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::Float_typeof(), number); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::Int_typeof(), number); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::Short_typeof(), number); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::SByte_typeof(), number); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::UInt_typeof(), number); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::UShort_typeof(), number); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::Byte_typeof(), number); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::Bool_typeof(), ::g::Fuse::BoolComputer::New1()); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::UX::Size_typeof(), ::g::Fuse::SizeComputer::New1()); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::UX::Size2_typeof(), ::g::Fuse::Size2Computer::New1()); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::TYPES[24/*string*/], ::g::Fuse::StringComputer::New1()); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::Float2_typeof(), ::g::Fuse::Float2Computer::New1()); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::Float3_typeof(), ::g::Fuse::Float3Computer::New1()); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Marshal::_computers_), ::g::Uno::Float4_typeof(), ::g::Fuse::Float4Computer::New1()); Marshal::AddConverter((uObject*)::g::Fuse::FileSourceConverter::New1()); } static void Marshal_build(uType* type) { type->SetDependencies( ::g::Uno::Color_typeof(), ::g::Uno::Type_typeof()); type->SetFields(0, ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::Type_typeof(), ::g::Fuse::Computer_typeof(), NULL), (uintptr_t)&Marshal::_computers_, uFieldFlagsStatic, ::g::Uno::Collections::List_typeof()->MakeType(Marshal__IConverter_typeof(), NULL), (uintptr_t)&Marshal::_converters_, uFieldFlagsStatic); } uClassType* Marshal_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.MethodTypeCount = 2; options.DependencyCount = 2; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.Marshal", options); type->MethodTypes[0] = type->NewMethodType(1, 0,0); type->MethodTypes[1] = type->NewMethodType(1, 0,0); type->fp_build_ = Marshal_build; type->fp_cctor_ = Marshal__cctor__fn; return type; } // public static object Add(object a, object b) :119 void Marshal__Add_fn(uObject* a, uObject* b, uObject** __retval) { *__retval = Marshal::Add(a, b); } // public static void AddConverter(Fuse.Marshal.IConverter conv) :31 void Marshal__AddConverter_fn(uObject* conv) { Marshal::AddConverter(conv); } // public static bool CanConvertClass(Uno.Type t) :134 void Marshal__CanConvertClass_fn(uType* t, bool* __retval) { *__retval = Marshal::CanConvertClass(t); } // private static object DepOp(Fuse.Computer.TypeOp op, object a, object b) :109 void Marshal__DepOp1_fn(int32_t* op, uObject* a, uObject* b, uObject** __retval) { *__retval = Marshal::DepOp1(*op, a, b); } // private static Uno.Type DominantType(Uno.Type a, Uno.Type b) :34 void Marshal__DominantType_fn(uType* a, uType* b, uType** __retval) { *__retval = Marshal::DominantType(a, b); } // public static bool Is(object obj, Uno.Type t) :7 void Marshal__Is_fn(uObject* obj, uType* t, bool* __retval) { *__retval = Marshal::Is(obj, t); } // public static object Multiply(object a, object b) :129 void Marshal__Multiply_fn(uObject* a, uObject* b, uObject** __retval) { *__retval = Marshal::Multiply(a, b); } // public static object Subtract(object a, object b) :124 void Marshal__Subtract_fn(uObject* a, uObject* b, uObject** __retval) { *__retval = Marshal::Subtract(a, b); } // public static bool ToBool(object v) :14 void Marshal__ToBool_fn(uObject* v, bool* __retval) { *__retval = Marshal::ToBool(v); } // public static double ToDouble(object v) :28 void Marshal__ToDouble_fn(uObject* v, double* __retval) { *__retval = Marshal::ToDouble(v); } // public static bool ToDouble(object v, double& res) :39 void Marshal__ToDouble1_fn(uObject* v, double* res, bool* __retval) { *__retval = Marshal::ToDouble1(v, res); } // public static float ToFloat(object o) :280 void Marshal__ToFloat_fn(uObject* o, float* __retval) { *__retval = Marshal::ToFloat(o); } // public static float2 ToFloat2(object o) :274 void Marshal__ToFloat2_fn(uObject* o, ::g::Uno::Float2* __retval) { *__retval = Marshal::ToFloat2(o); } // public static float3 ToFloat3(object o) :268 void Marshal__ToFloat3_fn(uObject* o, ::g::Uno::Float3* __retval) { *__retval = Marshal::ToFloat3(o); } // private static float4 ToFloat4(float f) :108 void Marshal__ToFloat4_fn(float* f, ::g::Uno::Float4* __retval) { *__retval = Marshal::ToFloat4(*f); } // private static float4 ToFloat4(float2 f) :103 void Marshal__ToFloat41_fn(::g::Uno::Float2* f, ::g::Uno::Float4* __retval) { *__retval = Marshal::ToFloat41(*f); } // private static float4 ToFloat4(float3 f) :98 void Marshal__ToFloat42_fn(::g::Uno::Float3* f, ::g::Uno::Float4* __retval) { *__retval = Marshal::ToFloat42(*f); } // public static float4 ToFloat4(object o) :113 void Marshal__ToFloat43_fn(uObject* o, ::g::Uno::Float4* __retval) { *__retval = Marshal::ToFloat43(o); } // public static int ToInt(object o) :286 void Marshal__ToInt_fn(uObject* o, int32_t* __retval) { *__retval = Marshal::ToInt(o); } // public static Uno.UX.Size ToSize(object o) :322 void Marshal__ToSize_fn(uObject* o, ::g::Uno::UX::Size* __retval) { *__retval = Marshal::ToSize(o); } // public static Uno.UX.Size2 ToSize2(object o) :354 void Marshal__ToSize2_fn(uObject* o, ::g::Uno::UX::Size2* __retval) { *__retval = Marshal::ToSize2(o); } // public static T ToType<T>(object o) :112 void Marshal__ToType_fn(uType* __type, uObject* o, uTRef __retval) { __type->Base->Init(); uObject* res; Marshal::TryConvertTo(__type->U(0), o, &res, NULL); return __retval.Store(__type->U(0), uUnboxAny(__type->U(0), res)), void(); } // private static object ToVector(Fuse.IArray arr) :7 void Marshal__ToVector_fn(uObject* arr, uObject** __retval) { *__retval = Marshal::ToVector(arr); } // public static bool TryAdd(object a, object b, object& result) :62 void Marshal__TryAdd_fn(uObject* a, uObject* b, uObject** result, bool* __retval) { *__retval = Marshal::TryAdd(a, b, result); } // private static object TryConvertArrayToVector(object arg) :30 void Marshal__TryConvertArrayToVector_fn(uObject* arg, uObject** __retval) { *__retval = Marshal::TryConvertArrayToVector(arg); } // public static bool TryConvertTo(Uno.Type t, object o, object& res, [object diagnosticSource]) :47 void Marshal__TryConvertTo_fn(uType* t, uObject* o, uObject** res, uObject* diagnosticSource, bool* __retval) { *__retval = Marshal::TryConvertTo(t, o, res, diagnosticSource); } // public static bool TryDivide(object a, object b, object& result) :71 void Marshal__TryDivide_fn(uObject* a, uObject* b, uObject** result, bool* __retval) { *__retval = Marshal::TryDivide(a, b, result); } // public static bool TryEqualTo(object a, object b, bool& result) :104 void Marshal__TryEqualTo_fn(uObject* a, uObject* b, bool* result, bool* __retval) { *__retval = Marshal::TryEqualTo(a, b, result); } // private static bool TryOp(Fuse.Computer.BoolOp op, object a, object b, bool& result) :80 void Marshal__TryOp_fn(int32_t* op, uObject* a, uObject* b, bool* result, bool* __retval) { *__retval = Marshal::TryOp(*op, a, b, result); } // private static bool TryOp(Fuse.Computer.TypeOp op, object a, object b, object& result) :47 void Marshal__TryOp1_fn(int32_t* op, uObject* a, uObject* b, uObject** result, bool* __retval) { *__retval = Marshal::TryOp1(*op, a, b, result); } // private static bool TryStringToSize(string o, Uno.UX.Size& result) :448 void Marshal__TryStringToSize_fn(uString* o, ::g::Uno::UX::Size* result, bool* __retval) { *__retval = Marshal::TryStringToSize(o, result); } // private static bool TryStringToSize2(string o, Uno.UX.Size2& result, int& count) :417 void Marshal__TryStringToSize2_fn(uString* o, ::g::Uno::UX::Size2* result, int32_t* count, bool* __retval) { *__retval = Marshal::TryStringToSize2(o, result, count); } // public static bool TrySubtract(object a, object b, object& result) :65 void Marshal__TrySubtract_fn(uObject* a, uObject* b, uObject** result, bool* __retval) { *__retval = Marshal::TrySubtract(a, b, result); } // public static bool TryToDouble(object v, double& res) :44 void Marshal__TryToDouble_fn(uObject* v, double* res, bool* __retval) { *__retval = Marshal::TryToDouble(v, res); } // public static bool TryToDouble(string s, double& res) :93 void Marshal__TryToDouble1_fn(uString* s, double* res, bool* __retval) { *__retval = Marshal::TryToDouble1(s, res); } // public static bool TryToFloat(object v, float& res) :71 void Marshal__TryToFloat_fn(uObject* v, float* res, bool* __retval) { *__retval = Marshal::TryToFloat(v, res); } // public static bool TryToSize(object o, Uno.UX.Size& result) :330 void Marshal__TryToSize_fn(uObject* o, ::g::Uno::UX::Size* result, bool* __retval) { *__retval = Marshal::TryToSize(o, result); } // public static bool TryToSize2(object o, Uno.UX.Size2& result) :362 void Marshal__TryToSize2_fn(uObject* o, ::g::Uno::UX::Size2* result, bool* __retval) { *__retval = Marshal::TryToSize2(o, result); } // public static bool TryToSize2(object o, Uno.UX.Size2& result, int& count) :369 void Marshal__TryToSize21_fn(uObject* o, ::g::Uno::UX::Size2* result, int32_t* count, bool* __retval) { *__retval = Marshal::TryToSize21(o, result, count); } // public static bool TryToType<T>(object o, T& res) :122 void Marshal__TryToType_fn(uType* __type, uObject* o, uTRef res, bool* __retval) { __type->Base->Init(); uObject* ores; if (!Marshal::TryConvertTo(__type->U(0), o, &ores, NULL) || (ores == NULL)) { res.Default(__type->U(0)); return *__retval = false, void(); } res.Store(__type->U(0), uUnboxAny(__type->U(0), ores)); return *__retval = true, void(); } // public static bool TryToZeroFloat4(object o, float4& value, int& size) :178 void Marshal__TryToZeroFloat4_fn(uObject* o, ::g::Uno::Float4* value, int32_t* size, bool* __retval) { *__retval = Marshal::TryToZeroFloat4(o, value, size); } uSStrong< ::g::Uno::Collections::Dictionary*> Marshal::_computers_; uSStrong< ::g::Uno::Collections::List*> Marshal::_converters_; // public static object Add(object a, object b) [static] :119 uObject* Marshal::Add(uObject* a, uObject* b) { Marshal_typeof()->Init(); return Marshal::DepOp1(0, a, b); } // public static void AddConverter(Fuse.Marshal.IConverter conv) [static] :31 void Marshal::AddConverter(uObject* conv) { Marshal_typeof()->Init(); ::g::Uno::Collections::List__Add_fn(uPtr(Marshal::_converters_), conv); } // public static bool CanConvertClass(Uno.Type t) [static] :134 bool Marshal::CanConvertClass(uType* t) { Marshal_typeof()->Init(); uObject* ret3; for (int32_t i = 0; i < uPtr(Marshal::_converters_)->Count(); i++) if (Marshal__IConverter::CanConvert(uInterface(uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(Marshal::_converters_), uCRef<int32_t>(i), &ret3), ret3)), Marshal__IConverter_typeof()), t)) return true; return false; } // private static object DepOp(Fuse.Computer.TypeOp op, object a, object b) [static] :109 uObject* Marshal::DepOp1(int32_t op, uObject* a, uObject* b) { Marshal_typeof()->Init(); uObject* result = NULL; if (!Marshal::TryOp1(op, a, b, &result)) U_THROW(::g::Fuse::ComputeException::New4(::g::Uno::String::op_Addition1(::STRINGS[25/*""*/], uBox<int32_t>(::g::Fuse::Computer__TypeOp_typeof(), op)), a, b)); return result; } // private static Uno.Type DominantType(Uno.Type a, Uno.Type b) [static] :34 uType* Marshal::DominantType(uType* a, uType* b) { Marshal_typeof()->Init(); if (::g::Uno::Type::op_Equality(a, ::g::Uno::Float4_typeof())) return a; if (::g::Uno::Type::op_Equality(b, ::g::Uno::Float4_typeof())) return b; if (::g::Uno::Type::op_Equality(a, ::g::Uno::Float3_typeof())) return a; if (::g::Uno::Type::op_Equality(b, ::g::Uno::Float3_typeof())) return b; if (::g::Uno::Type::op_Equality(a, ::g::Uno::UX::Size2_typeof())) return a; if (::g::Uno::Type::op_Equality(b, ::g::Uno::UX::Size2_typeof())) return b; if (::g::Uno::Type::op_Equality(a, ::g::Uno::UX::Size_typeof())) return a; if (::g::Uno::Type::op_Equality(b, ::g::Uno::UX::Size_typeof())) return b; return a; } // public static bool Is(object obj, Uno.Type t) [static] :7 bool Marshal::Is(uObject* obj, uType* t) { Marshal_typeof()->Init(); if (obj == NULL) return false; if (::g::Uno::Type::IsInterface(uPtr(t))) { uArray* intf = ::g::Uno::Type::GetInterfaces(uPtr(::g::Uno::Object::GetType(uPtr(obj)))); for (int32_t i = 0; i < uPtr(intf)->Length(); i++) if (::g::Uno::Type::op_Equality(uPtr(intf)->Strong<uType*>(i), t)) return true; } else { uType* objType = ::g::Uno::Object::GetType(uPtr(obj)); if (::g::Uno::Type::op_Equality(t, objType) || ::g::Uno::Type::IsSubclassOf(uPtr(::g::Uno::Object::GetType(obj)), t)) return true; } return false; } // public static object Multiply(object a, object b) [static] :129 uObject* Marshal::Multiply(uObject* a, uObject* b) { Marshal_typeof()->Init(); return Marshal::DepOp1(2, a, b); } // public static object Subtract(object a, object b) [static] :124 uObject* Marshal::Subtract(uObject* a, uObject* b) { Marshal_typeof()->Init(); return Marshal::DepOp1(1, a, b); } // public static bool ToBool(object v) [static] :14 bool Marshal::ToBool(uObject* v) { Marshal_typeof()->Init(); if (uIs(v, ::g::Uno::Bool_typeof())) return uUnbox<bool>(::g::Uno::Bool_typeof(), v); else if (uIs(v, ::TYPES[24/*string*/])) { uString* s = uCast<uString*>(v, ::TYPES[24/*string*/]); if (::g::Uno::String::op_Equality(s, uString::Const("true"))) return true; if (::g::Uno::String::op_Equality(s, uString::Const("True"))) return true; if (::g::Uno::String::op_Equality(s, uString::Const("false"))) return false; if (::g::Uno::String::op_Equality(s, uString::Const("False"))) return false; } U_THROW(::g::Fuse::MarshalException::New4(v, ::g::Uno::Bool_typeof())); } // public static double ToDouble(object v) [static] :28 double Marshal::ToDouble(uObject* v) { Marshal_typeof()->Init(); double res; if (Marshal::TryToDouble(v, &res)) return res; U_THROW(::g::Fuse::MarshalException::New4(v, ::g::Uno::Double_typeof())); } // public static bool ToDouble(object v, double& res) [static] :39 bool Marshal::ToDouble1(uObject* v, double* res) { Marshal_typeof()->Init(); return Marshal::TryToDouble(v, res); } // public static float ToFloat(object o) [static] :280 float Marshal::ToFloat(uObject* o) { Marshal_typeof()->Init(); if (uIs(o, ::g::Uno::Float_typeof())) return uUnbox<float>(::g::Uno::Float_typeof(), o); else return (float)Marshal::ToDouble(o); } // public static float2 ToFloat2(object o) [static] :274 ::g::Uno::Float2 Marshal::ToFloat2(uObject* o) { Marshal_typeof()->Init(); ::g::Uno::Float4 ind2; if (uIs(o, ::g::Uno::Float2_typeof())) return uUnbox< ::g::Uno::Float2>(::g::Uno::Float2_typeof(), o); else { ind2 = Marshal::ToFloat43(o); return ::g::Uno::Float2__New2(ind2.X, ind2.Y); } } // public static float3 ToFloat3(object o) [static] :268 ::g::Uno::Float3 Marshal::ToFloat3(uObject* o) { Marshal_typeof()->Init(); ::g::Uno::Float4 ind1; if (uIs(o, ::g::Uno::Float3_typeof())) return uUnbox< ::g::Uno::Float3>(::g::Uno::Float3_typeof(), o); else { ind1 = Marshal::ToFloat43(o); return ::g::Uno::Float3__New2(ind1.X, ind1.Y, ind1.Z); } } // private static float4 ToFloat4(float f) [static] :108 ::g::Uno::Float4 Marshal::ToFloat4(float f) { Marshal_typeof()->Init(); return ::g::Uno::Float4__New1(f); } // private static float4 ToFloat4(float2 f) [static] :103 ::g::Uno::Float4 Marshal::ToFloat41(::g::Uno::Float2 f) { Marshal_typeof()->Init(); return ::g::Uno::Float4__New2(f.X, f.Y, f.X, f.Y); } // private static float4 ToFloat4(float3 f) [static] :98 ::g::Uno::Float4 Marshal::ToFloat42(::g::Uno::Float3 f) { Marshal_typeof()->Init(); return ::g::Uno::Float4__New2(f.X, f.Y, f.Z, 1.0f); } // public static float4 ToFloat4(object o) [static] :113 ::g::Uno::Float4 Marshal::ToFloat43(uObject* o) { Marshal_typeof()->Init(); if (uIs(o, ::g::Uno::Float4_typeof())) return uUnbox< ::g::Uno::Float4>(::g::Uno::Float4_typeof(), o); else if (uIs(o, ::g::Uno::Float3_typeof())) return Marshal::ToFloat42(uUnbox< ::g::Uno::Float3>(::g::Uno::Float3_typeof(), o)); else if (uIs(o, ::g::Uno::Float2_typeof())) return Marshal::ToFloat41(uUnbox< ::g::Uno::Float2>(::g::Uno::Float2_typeof(), o)); else if (uIs(o, ::g::Uno::Float_typeof())) return Marshal::ToFloat4(uUnbox<float>(::g::Uno::Float_typeof(), o)); else if (uIs(o, ::TYPES[24/*string*/])) { uString* s = uCast<uString*>(o, ::TYPES[24/*string*/]); if (::g::Uno::String::StartsWith(uPtr(s), uString::Const("#"))) return ::g::Uno::Color::Parse(s); } else if (uIs(o, ::g::Uno::UX::Size_typeof())) { ::g::Uno::UX::Size s1 = uUnbox< ::g::Uno::UX::Size>(::g::Uno::UX::Size_typeof(), o); return ::g::Uno::Float4__New1(s1.Value); } else if (uIs(o, ::g::Uno::UX::Size2_typeof())) { ::g::Uno::UX::Size2 s2 = uUnbox< ::g::Uno::UX::Size2>(::g::Uno::UX::Size2_typeof(), o); ::g::Uno::UX::Size x = s2.X; ::g::Uno::UX::Size y = s2.Y; return ::g::Uno::Float4__New2(x.Value, y.Value, x.Value, y.Value); } else if (uIs(o, ::g::Fuse::IArray_typeof())) { uObject* a = (uObject*)o; float x1 = (::g::Fuse::IArray::Length(uInterface(uPtr(a), ::g::Fuse::IArray_typeof())) > 0) ? Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(a), ::g::Fuse::IArray_typeof()), 0)) : 0.0f; float y1 = (::g::Fuse::IArray::Length(uInterface(a, ::g::Fuse::IArray_typeof())) > 1) ? Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(a, ::g::Fuse::IArray_typeof()), 1)) : 0.0f; float z = (::g::Fuse::IArray::Length(uInterface(a, ::g::Fuse::IArray_typeof())) > 2) ? Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(a, ::g::Fuse::IArray_typeof()), 2)) : 0.0f; float w = (::g::Fuse::IArray::Length(uInterface(a, ::g::Fuse::IArray_typeof())) > 3) ? Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(a, ::g::Fuse::IArray_typeof()), 3)) : 1.0f; switch (::g::Fuse::IArray::Length(uInterface(a, ::g::Fuse::IArray_typeof()))) { case 0: return uDefault< ::g::Uno::Float4>(); case 1: return Marshal::ToFloat4(x1); case 2: return Marshal::ToFloat41(::g::Uno::Float2__New2(x1, y1)); case 3: return Marshal::ToFloat42(::g::Uno::Float3__New2(x1, y1, z)); default: return ::g::Uno::Float4__New2(x1, y1, z, w); } } double d; if (Marshal::TryToDouble(o, &d)) { float f = (float)d; return ::g::Uno::Float4__New1(f); } U_THROW(::g::Fuse::MarshalException::New4(o, ::g::Uno::Float4_typeof())); } // public static int ToInt(object o) [static] :286 int32_t Marshal::ToInt(uObject* o) { Marshal_typeof()->Init(); if (uIs(o, ::g::Uno::Int_typeof())) return uUnbox<int32_t>(::g::Uno::Int_typeof(), o); else return (int32_t)Marshal::ToDouble(o); } // public static Uno.UX.Size ToSize(object o) [static] :322 ::g::Uno::UX::Size Marshal::ToSize(uObject* o) { Marshal_typeof()->Init(); ::g::Uno::UX::Size a = uDefault< ::g::Uno::UX::Size>(); if (!Marshal::TryToSize(o, &a)) U_THROW(::g::Fuse::MarshalException::New4(o, ::g::Uno::UX::Size_typeof())); return a; } // public static Uno.UX.Size2 ToSize2(object o) [static] :354 ::g::Uno::UX::Size2 Marshal::ToSize2(uObject* o) { Marshal_typeof()->Init(); ::g::Uno::UX::Size2 a = uDefault< ::g::Uno::UX::Size2>(); if (!Marshal::TryToSize2(o, &a)) U_THROW(::g::Fuse::MarshalException::New4(o, ::g::Uno::UX::Size2_typeof())); return a; } // private static object ToVector(Fuse.IArray arr) [static] :7 uObject* Marshal::ToVector(uObject* arr) { Marshal_typeof()->Init(); if (::g::Fuse::IArray::Length(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof())) == 1) { if (uIs((uObject*)::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 0), ::g::Uno::UX::Size_typeof())) return uBox(::g::Uno::UX::Size_typeof(), uUnbox< ::g::Uno::UX::Size>(::g::Uno::UX::Size_typeof(), ::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 0))); else return uBox(::g::Uno::Float_typeof(), Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 0))); } else if (::g::Fuse::IArray::Length(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof())) == 2) { if (uIs((uObject*)::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 0), ::g::Uno::UX::Size_typeof()) || uIs((uObject*)::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 1), ::g::Uno::UX::Size_typeof())) return uBox(::g::Uno::UX::Size2_typeof(), ::g::Uno::UX::Size2__New1(Marshal::ToSize(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 0)), Marshal::ToSize(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 1)))); else return uBox(::g::Uno::Float2_typeof(), ::g::Uno::Float2__New2(Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 0)), Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 1)))); } else if (::g::Fuse::IArray::Length(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof())) == 3) return uBox(::g::Uno::Float3_typeof(), ::g::Uno::Float3__New2(Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 0)), Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 1)), Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 2)))); else if (::g::Fuse::IArray::Length(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof())) == 4) return uBox(::g::Uno::Float4_typeof(), ::g::Uno::Float4__New2(Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 0)), Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 1)), Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 2)), Marshal::ToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 3)))); else U_THROW(::g::Fuse::MarshalException::New4(arr, ::g::Uno::Float4_typeof())); } // public static bool TryAdd(object a, object b, object& result) [static] :62 bool Marshal::TryAdd(uObject* a, uObject* b, uObject** result) { Marshal_typeof()->Init(); return Marshal::TryOp1(0, a, b, result); } // private static object TryConvertArrayToVector(object arg) [static] :30 uObject* Marshal::TryConvertArrayToVector(uObject* arg) { Marshal_typeof()->Init(); uObject* arr = uAs<uObject*>(arg, ::g::Fuse::IArray_typeof()); if (arr != NULL) return Marshal::ToVector(arr); return arg; } // public static bool TryConvertTo(Uno.Type t, object o, object& res, [object diagnosticSource]) [static] :47 bool Marshal::TryConvertTo(uType* t, uObject* o, uObject** res, uObject* diagnosticSource) { Marshal_typeof()->Init(); uObject* ret4; if (o == NULL) { *res = NULL; return true; } try { { if (::g::Uno::Type::IsValueType(uPtr(t))) { if (::g::Uno::Type::op_Equality(t, ::g::Uno::Double_typeof())) { *res = uBox(::g::Uno::Double_typeof(), Marshal::ToDouble(o)); return true; } else if (::g::Uno::Type::op_Equality(t, ::g::Uno::UX::Selector_typeof())) { *res = uBox(::g::Uno::UX::Selector_typeof(), ::g::Uno::UX::Selector__op_Implicit1(::g::Uno::Object::ToString(uPtr(o)))); return true; } else if (::g::Uno::Type::op_Equality(t, ::g::Uno::Float_typeof())) { *res = uBox(::g::Uno::Float_typeof(), Marshal::ToFloat(o)); return true; } else if (::g::Uno::Type::op_Equality(t, ::g::Uno::Int_typeof())) { *res = uBox<int32_t>(::g::Uno::Int_typeof(), Marshal::ToInt(o)); return true; } else if (::g::Uno::Type::op_Equality(t, ::g::Uno::Bool_typeof())) { *res = uBox(::g::Uno::Bool_typeof(), Marshal::ToBool(o)); return true; } else if (::g::Uno::Type::op_Equality(t, ::g::Uno::UX::Size_typeof())) { *res = uBox(::g::Uno::UX::Size_typeof(), Marshal::ToSize(o)); return true; } else if (::g::Uno::Type::op_Equality(t, ::g::Uno::UX::Size2_typeof())) { *res = uBox(::g::Uno::UX::Size2_typeof(), Marshal::ToSize2(o)); return true; } else if (::g::Uno::Type::op_Equality(t, ::g::Uno::Float2_typeof())) { *res = uBox(::g::Uno::Float2_typeof(), Marshal::ToFloat2(o)); return true; } else if (::g::Uno::Type::op_Equality(t, ::g::Uno::Float3_typeof())) { *res = uBox(::g::Uno::Float3_typeof(), Marshal::ToFloat3(o)); return true; } else if (::g::Uno::Type::op_Equality(t, ::g::Uno::Float4_typeof())) { *res = uBox(::g::Uno::Float4_typeof(), Marshal::ToFloat43(o)); return true; } else if (::g::Uno::Type::IsEnum(uPtr(t)) && uIs(o, ::TYPES[24/*string*/])) { *res = ::g::Uno::Enum::Parse(t, uCast<uString*>(o, ::TYPES[24/*string*/])); return true; } } else if (::g::Uno::Type::op_Equality(t, ::TYPES[24/*string*/])) { *res = ::g::Uno::Object::ToString(uPtr(o)); return true; } uType* ot = ::g::Uno::Object::GetType(uPtr(o)); if (::g::Uno::Type::op_Equality(ot, t) || ::g::Uno::Type::IsSubclassOf(uPtr(ot), t)) { *res = o; return true; } if (::g::Uno::Type::op_Equality(t, ::g::Fuse::IArray_typeof())) { if (uIs(o, ::g::Fuse::IArray_typeof())) *res = o; else *res = Marshal__SingleArray::New1(o); return true; } for (int32_t i = 0; i < uPtr(Marshal::_converters_)->Count(); i++) { uObject* c = Marshal__IConverter::TryConvert(uInterface(uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(Marshal::_converters_), uCRef<int32_t>(i), &ret4), ret4)), Marshal__IConverter_typeof()), t, o); if (c != NULL) { *res = c; return true; } } } } catch (const uThrowable& __t) { ::g::Uno::Exception* e = __t.Exception; } if (diagnosticSource != NULL) ::g::Fuse::Diagnostics::UserError(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::STRINGS[53/*"Cannot conv...*/], o), uString::Const("' to target type '")), t), ::STRINGS[11/*"'"*/]), diagnosticSource, uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.Marshal\\1.9.0\\Marshal.Convert.uno"), 103, uString::Const("TryConvertTo"), NULL); *res = NULL; return false; } // public static bool TryDivide(object a, object b, object& result) [static] :71 bool Marshal::TryDivide(uObject* a, uObject* b, uObject** result) { Marshal_typeof()->Init(); return Marshal::TryOp1(3, a, b, result); } // public static bool TryEqualTo(object a, object b, bool& result) [static] :104 bool Marshal::TryEqualTo(uObject* a, uObject* b, bool* result) { Marshal_typeof()->Init(); return Marshal::TryOp(4, a, b, result); } // private static bool TryOp(Fuse.Computer.BoolOp op, object a, object b, bool& result) [static] :80 bool Marshal::TryOp(int32_t op, uObject* a, uObject* b, bool* result) { Marshal_typeof()->Init(); bool ret5; *result = false; if ((a == NULL) || (b == NULL)) return false; uType* t = Marshal::DominantType(::g::Uno::Object::GetType(uPtr(a)), ::g::Uno::Object::GetType(uPtr(b))); ::g::Fuse::Computer* c; if ((::g::Uno::Collections::Dictionary__TryGetValue_fn(uPtr(Marshal::_computers_), t, (void**)(&c), &ret5), ret5)) return uPtr(c)->TryOp(op, a, b, result); return false; } // private static bool TryOp(Fuse.Computer.TypeOp op, object a, object b, object& result) [static] :47 bool Marshal::TryOp1(int32_t op, uObject* a, uObject* b, uObject** result) { Marshal_typeof()->Init(); bool ret6; *result = NULL; if ((a == NULL) || (b == NULL)) return false; a = Marshal::TryConvertArrayToVector(a); uType* ta = ::g::Uno::Object::GetType(uPtr(a)); uType* tb = ::g::Uno::Object::GetType(uPtr(b)); uType* t = Marshal::DominantType(ta, tb); ::g::Fuse::Computer* c; if ((::g::Uno::Collections::Dictionary__TryGetValue_fn(uPtr(Marshal::_computers_), t, (void**)(&c), &ret6), ret6)) return uPtr(c)->TryOp1(op, a, b, result); return false; } // private static bool TryStringToSize(string o, Uno.UX.Size& result) [static] :448 bool Marshal::TryStringToSize(uString* o, ::g::Uno::UX::Size* result) { Marshal_typeof()->Init(); uString* s = ::g::Uno::String::Trim(uPtr(o)); int32_t unit = 1; if (::g::Uno::String::EndsWith(uPtr(s), uString::Const("%"))) { unit = 4; s = ::g::Uno::String::Substring1(uPtr(s), 0, uPtr(s)->Length() - 1); } else if (::g::Uno::String::EndsWith(uPtr(s), uString::Const("pt"))) { unit = 2; s = ::g::Uno::String::Substring1(uPtr(s), 0, uPtr(s)->Length() - 2); } else if (::g::Uno::String::EndsWith(uPtr(s), uString::Const("px"))) { unit = 3; s = ::g::Uno::String::Substring1(uPtr(s), 0, uPtr(s)->Length() - 2); } float v; if (!::g::Uno::Float::TryParse(s, &v)) { *result = uDefault< ::g::Uno::UX::Size>(); return false; } *result = ::g::Uno::UX::Size__New1(v, unit); return true; } // private static bool TryStringToSize2(string o, Uno.UX.Size2& result, int& count) [static] :417 bool Marshal::TryStringToSize2(uString* o, ::g::Uno::UX::Size2* result, int32_t* count) { Marshal_typeof()->Init(); *result = uDefault< ::g::Uno::UX::Size2>(); *count = 0; if (::g::Uno::String::Contains(uPtr(o), uString::Const(","))) { uArray* p = ::g::Uno::String::Split(uPtr(o), uArray::Init<int32_t>(::g::Uno::Char_typeof()->Array(), 1, ',')); if (uPtr(p)->Length() != 2) return false; ::g::Uno::UX::Size a = uDefault< ::g::Uno::UX::Size>(); ::g::Uno::UX::Size b = uDefault< ::g::Uno::UX::Size>(); if (!Marshal::TryStringToSize(uPtr(p)->Strong<uString*>(0), &a) || !Marshal::TryStringToSize(uPtr(p)->Strong<uString*>(1), &b)) return false; *result = ::g::Uno::UX::Size2__New1(a, b); *count = 2; return true; } else { ::g::Uno::UX::Size a1; if (!Marshal::TryStringToSize(o, &a1)) return false; *result = ::g::Uno::UX::Size2__New1(a1, a1); *count = 1; return true; } } // public static bool TrySubtract(object a, object b, object& result) [static] :65 bool Marshal::TrySubtract(uObject* a, uObject* b, uObject** result) { Marshal_typeof()->Init(); return Marshal::TryOp1(1, a, b, result); } // public static bool TryToDouble(object v, double& res) [static] :44 bool Marshal::TryToDouble(uObject* v, double* res) { Marshal_typeof()->Init(); if (uIs(v, ::g::Uno::Double_typeof())) { *res = uUnbox<double>(::g::Uno::Double_typeof(), v); return true; } else if (uIs(v, ::g::Uno::Float_typeof())) { *res = (double)uUnbox<float>(::g::Uno::Float_typeof(), v); return true; } else if (uIs(v, ::TYPES[24/*string*/])) return Marshal::TryToDouble1(uCast<uString*>(v, ::TYPES[24/*string*/]), res); else if (uIs(v, ::g::Uno::Int_typeof())) { *res = (double)uUnbox<int32_t>(::g::Uno::Int_typeof(), v); return true; } else if (uIs(v, ::g::Uno::Float2_typeof())) { *res = (double)uUnbox< ::g::Uno::Float2>(::g::Uno::Float2_typeof(), v).X; return true; } else if (uIs(v, ::g::Uno::Float3_typeof())) { *res = (double)uUnbox< ::g::Uno::Float3>(::g::Uno::Float3_typeof(), v).X; return true; } else if (uIs(v, ::g::Uno::Float4_typeof())) { *res = (double)uUnbox< ::g::Uno::Float4>(::g::Uno::Float4_typeof(), v).X; return true; } else if (uIs(v, ::g::Uno::UX::Size_typeof())) { *res = (double)uUnbox< ::g::Uno::UX::Size>(::g::Uno::UX::Size_typeof(), v).Value; return true; } else if (uIs(v, ::g::Uno::UX::Size2_typeof())) { ::g::Uno::UX::Size2 s = uUnbox< ::g::Uno::UX::Size2>(::g::Uno::UX::Size2_typeof(), v); ::g::Uno::UX::Size x = s.X; *res = (double)x.Value; return true; } else if (uIs(v, ::g::Uno::UInt_typeof())) { *res = (double)uUnbox<uint32_t>(::g::Uno::UInt_typeof(), v); return true; } else if (uIs(v, ::g::Uno::Short_typeof())) { *res = (double)uUnbox<int16_t>(::g::Uno::Short_typeof(), v); return true; } else if (uIs(v, ::g::Uno::UShort_typeof())) { *res = (double)uUnbox<uint16_t>(::g::Uno::UShort_typeof(), v); return true; } else if (uIs(v, ::g::Uno::Byte_typeof())) { *res = (double)uUnbox<uint8_t>(::g::Uno::Byte_typeof(), v); return true; } else if (uIs(v, ::g::Uno::SByte_typeof())) { *res = (double)uUnbox<int8_t>(::g::Uno::SByte_typeof(), v); return true; } *res = 0; return false; } // public static bool TryToDouble(string s, double& res) [static] :93 bool Marshal::TryToDouble1(uString* s, double* res) { Marshal_typeof()->Init(); return ::g::Uno::Double::TryParse(s, res); } // public static bool TryToFloat(object v, float& res) [static] :71 bool Marshal::TryToFloat(uObject* v, float* res) { Marshal_typeof()->Init(); double d; if (!Marshal::TryToDouble(v, &d)) { *res = 0; return false; } *res = (float)d; return true; } // public static bool TryToSize(object o, Uno.UX.Size& result) [static] :330 bool Marshal::TryToSize(uObject* o, ::g::Uno::UX::Size* result) { Marshal_typeof()->Init(); *result = uDefault< ::g::Uno::UX::Size>(); if (uIs(o, ::g::Uno::UX::Size_typeof())) { *result = uUnbox< ::g::Uno::UX::Size>(::g::Uno::UX::Size_typeof(), o); return true; } if (uIs(o, ::g::Uno::UX::Size2_typeof())) { *result = uUnbox< ::g::Uno::UX::Size2>(::g::Uno::UX::Size2_typeof(), o).X; return true; } if (uIs(o, ::TYPES[24/*string*/])) return Marshal::TryStringToSize(uCast<uString*>(o, ::TYPES[24/*string*/]), result); float v; if (!Marshal::TryToFloat(o, &v)) return false; *result = ::g::Uno::UX::Size__New1(v, 1); return true; } // public static bool TryToSize2(object o, Uno.UX.Size2& result) [static] :362 bool Marshal::TryToSize2(uObject* o, ::g::Uno::UX::Size2* result) { Marshal_typeof()->Init(); int32_t ignore; return Marshal::TryToSize21(o, result, &ignore); } // public static bool TryToSize2(object o, Uno.UX.Size2& result, int& count) [static] :369 bool Marshal::TryToSize21(uObject* o, ::g::Uno::UX::Size2* result, int32_t* count) { Marshal_typeof()->Init(); *result = uDefault< ::g::Uno::UX::Size2>(); *count = 0; if (uIs(o, ::g::Uno::UX::Size2_typeof())) { *result = uUnbox< ::g::Uno::UX::Size2>(::g::Uno::UX::Size2_typeof(), o); *count = 2; return true; } if (uIs(o, ::g::Uno::UX::Size_typeof())) { *result = ::g::Uno::UX::Size2__New1(uUnbox< ::g::Uno::UX::Size>(::g::Uno::UX::Size_typeof(), o), uUnbox< ::g::Uno::UX::Size>(::g::Uno::UX::Size_typeof(), o)); *count = 1; return true; } if (uIs(o, ::TYPES[24/*string*/])) return Marshal::TryStringToSize2(uCast<uString*>(o, ::TYPES[24/*string*/]), result, count); if (uIs(o, ::g::Fuse::IArray_typeof())) { uObject* arr = (uObject*)o; if (::g::Fuse::IArray::Length(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof())) < 2) return false; ::g::Uno::UX::Size a = uDefault< ::g::Uno::UX::Size>(); ::g::Uno::UX::Size b = uDefault< ::g::Uno::UX::Size>(); if (!Marshal::TryToSize(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 0), &a) || !Marshal::TryToSize(::g::Fuse::IArray::Item(uInterface(uPtr(arr), ::g::Fuse::IArray_typeof()), 1), &b)) return false; *result = ::g::Uno::UX::Size2__New1(a, b); *count = 2; return true; } ::g::Uno::Float4 v; int32_t vc; if (!Marshal::TryToZeroFloat4(o, &v, &vc) || (vc < 1)) return false; if (vc == 1) *result = ::g::Uno::UX::Size2__New1(::g::Uno::UX::Size__op_Implicit1(v.X), ::g::Uno::UX::Size__op_Implicit1(v.X)); else *result = ::g::Uno::UX::Size2__New1(::g::Uno::UX::Size__op_Implicit1(v.X), ::g::Uno::UX::Size__op_Implicit1(v.Y)); *count = vc; return true; } // public static bool TryToZeroFloat4(object o, float4& value, int& size) [static] :178 bool Marshal::TryToZeroFloat4(uObject* o, ::g::Uno::Float4* value, int32_t* size) { Marshal_typeof()->Init(); *value = ::g::Uno::Float4__New1(0.0f); *size = 0; if (uIs(o, ::g::Uno::Float4_typeof())) { *value = uUnbox< ::g::Uno::Float4>(::g::Uno::Float4_typeof(), o); *size = 4; return true; } if (uIs(o, ::g::Uno::Float3_typeof())) { ::g::Uno::Float3 f = uUnbox< ::g::Uno::Float3>(::g::Uno::Float3_typeof(), o); *value = ::g::Uno::Float4__New2(f.X, f.Y, f.Z, 0.0f); *size = 3; return true; } if (uIs(o, ::g::Uno::Float2_typeof())) { ::g::Uno::Float2 f1 = uUnbox< ::g::Uno::Float2>(::g::Uno::Float2_typeof(), o); *value = ::g::Uno::Float4__New2(f1.X, f1.Y, 0.0f, 0.0f); *size = 2; return true; } if (uIs(o, ::TYPES[24/*string*/])) { uString* s = uCast<uString*>(o, ::TYPES[24/*string*/]); if (::g::Uno::String::StartsWith(uPtr(s), uString::Const("#"))) { if (::g::Uno::Color::TryParse(s, value)) { *size = 4; return true; } return false; } } else if (uIs(o, ::g::Fuse::IArray_typeof())) { uObject* a = (uObject*)o; float x = 0.0f, y = 0.0f, z = 0.0f, w = 0.0f; if (((((::g::Fuse::IArray::Length(uInterface(uPtr(a), ::g::Fuse::IArray_typeof())) > 0) && !Marshal::TryToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(a), ::g::Fuse::IArray_typeof()), 0), &x)) || ((::g::Fuse::IArray::Length(uInterface(uPtr(a), ::g::Fuse::IArray_typeof())) > 1) && !Marshal::TryToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(a), ::g::Fuse::IArray_typeof()), 1), &y))) || ((::g::Fuse::IArray::Length(uInterface(uPtr(a), ::g::Fuse::IArray_typeof())) > 2) && !Marshal::TryToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(a), ::g::Fuse::IArray_typeof()), 2), &z))) || ((::g::Fuse::IArray::Length(uInterface(uPtr(a), ::g::Fuse::IArray_typeof())) > 3) && !Marshal::TryToFloat(::g::Fuse::IArray::Item(uInterface(uPtr(a), ::g::Fuse::IArray_typeof()), 3), &w))) return false; *value = ::g::Uno::Float4__New2(x, y, z, w); *size = ::g::Fuse::IArray::Length(uInterface(uPtr(a), ::g::Fuse::IArray_typeof())); return true; } double d; if (Marshal::TryToDouble(o, &d)) { float f2 = (float)d; *value = ::g::Uno::Float4__New2(f2, 0.0f, 0.0f, 0.0f); *size = 1; return true; } return false; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Marshal.Cast.uno // ------------------------------------------------------------------------------------- // public sealed class MarshalException :7 // { static void MarshalException_build(uType* type) { ::STRINGS[53] = uString::Const("Cannot convert '"); ::STRINGS[54] = uString::Const("' to required target type '"); ::STRINGS[11] = uString::Const("'"); type->SetFields(4); } ::g::Uno::Exception_type* MarshalException_typeof() { static uSStrong< ::g::Uno::Exception_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::Exception_typeof(); options.FieldCount = 4; options.ObjectSize = sizeof(MarshalException); options.TypeSize = sizeof(::g::Uno::Exception_type); type = (::g::Uno::Exception_type*)uClassType::New("Fuse.MarshalException", options); type->fp_build_ = MarshalException_build; return type; } // public MarshalException(object v, Uno.Type t) :9 void MarshalException__ctor_3_fn(MarshalException* __this, uObject* v, uType* t) { __this->ctor_3(v, t); } // public MarshalException New(object v, Uno.Type t) :9 void MarshalException__New4_fn(uObject* v, uType* t, MarshalException** __retval) { *__retval = MarshalException::New4(v, t); } // public MarshalException(object v, Uno.Type t) [instance] :9 void MarshalException::ctor_3(uObject* v, uType* t) { ctor_1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::STRINGS[53/*"Cannot conv...*/], v), ::STRINGS[54/*"' to requir...*/]), t), ::STRINGS[11/*"'"*/])); } // public MarshalException New(object v, Uno.Type t) [static] :9 MarshalException* MarshalException::New4(uObject* v, uType* t) { MarshalException* obj1 = (MarshalException*)uNew(MarshalException_typeof()); obj1->ctor_3(v, t); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\MobileBootstrapping.uno // ------------------------------------------------------------------------------------------ // internal sealed extern class MobileBootstrapping :6 // { static void MobileBootstrapping_build(uType* type) { ::TYPES[0] = ::g::Uno::Action1_typeof()->MakeType(::g::Fuse::Platform::ApplicationState_typeof(), NULL); ::TYPES[40] = ::g::Uno::EventHandler1_typeof()->MakeType(::g::Uno::Platform::KeyEventArgs_typeof(), NULL); type->SetDependencies( ::g::Uno::Platform::CoreApp_typeof(), ::g::Uno::Platform::Displays_typeof(), ::g::Fuse::Platform::Lifecycle_typeof()); type->SetFields(0, ::g::Uno::Bool_typeof(), (uintptr_t)&MobileBootstrapping::_isInited_, uFieldFlagsStatic); } uType* MobileBootstrapping_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.DependencyCount = 3; options.ObjectSize = sizeof(MobileBootstrapping); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.MobileBootstrapping", options); type->fp_build_ = MobileBootstrapping_build; return type; } // public static void Init() :9 void MobileBootstrapping__Init_fn() { MobileBootstrapping::Init(); } // private static void OnEnterForeground(Fuse.Platform.ApplicationState state) :41 void MobileBootstrapping__OnEnterForeground_fn(int32_t* state) { MobileBootstrapping::OnEnterForeground(*state); } // private static void OnEnterInteractive(Fuse.Platform.ApplicationState state) :46 void MobileBootstrapping__OnEnterInteractive_fn(int32_t* state) { MobileBootstrapping::OnEnterInteractive(*state); } // private static void OnExitInteractive(Fuse.Platform.ApplicationState state) :51 void MobileBootstrapping__OnExitInteractive_fn(int32_t* state) { MobileBootstrapping::OnExitInteractive(*state); } // private static void OnStarted(Fuse.Platform.ApplicationState state) :36 void MobileBootstrapping__OnStarted_fn(int32_t* state) { MobileBootstrapping::OnStarted(*state); } // private static void OnTerminating(Fuse.Platform.ApplicationState state) :27 void MobileBootstrapping__OnTerminating_fn(int32_t* state) { MobileBootstrapping::OnTerminating(*state); } bool MobileBootstrapping::_isInited_; // public static void Init() [static] :9 void MobileBootstrapping::Init() { if (MobileBootstrapping::_isInited_) return; MobileBootstrapping::_isInited_ = true; ::g::Fuse::Platform::Lifecycle::add_Started(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)MobileBootstrapping__OnStarted_fn)); ::g::Fuse::Platform::Lifecycle::add_EnteringForeground(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)MobileBootstrapping__OnEnterForeground_fn)); ::g::Fuse::Platform::Lifecycle::add_EnteringInteractive(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)MobileBootstrapping__OnEnterInteractive_fn)); ::g::Fuse::Platform::Lifecycle::add_ExitedInteractive(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)MobileBootstrapping__OnExitInteractive_fn)); ::g::Fuse::Platform::Lifecycle::add_Terminating(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)MobileBootstrapping__OnTerminating_fn)); ::g::Uno::Platform::EventSources::HardwareKeys::add_KeyDown(uDelegate::New(::TYPES[40/*Uno.EventHandler<Uno.Platform.KeyEventArgs>*/], (void*)::g::Fuse::KeyboardBootstrapper__OnKeyPressed_fn)); ::g::Uno::Platform::EventSources::HardwareKeys::add_KeyUp(uDelegate::New(::TYPES[40/*Uno.EventHandler<Uno.Platform.KeyEventArgs>*/], (void*)::g::Fuse::KeyboardBootstrapper__OnKeyReleased_fn)); } // private static void OnEnterForeground(Fuse.Platform.ApplicationState state) [static] :41 void MobileBootstrapping::OnEnterForeground(int32_t state) { uPtr(::g::Uno::Platform::Displays::MainDisplay())->TicksPerSecond(20U); } // private static void OnEnterInteractive(Fuse.Platform.ApplicationState state) [static] :46 void MobileBootstrapping::OnEnterInteractive(int32_t state) { uPtr(::g::Uno::Platform::Displays::MainDisplay())->TicksPerSecond(60U); } // private static void OnExitInteractive(Fuse.Platform.ApplicationState state) [static] :51 void MobileBootstrapping::OnExitInteractive(int32_t state) { uPtr(::g::Uno::Platform::Displays::MainDisplay())->TicksPerSecond(20U); } // private static void OnStarted(Fuse.Platform.ApplicationState state) [static] :36 void MobileBootstrapping::OnStarted(int32_t state) { uPtr(::g::Uno::Platform::CoreApp::Current())->Load(); } // private static void OnTerminating(Fuse.Platform.ApplicationState state) [static] :27 void MobileBootstrapping::OnTerminating(int32_t state) { ::g::Fuse::Platform::Lifecycle::remove_Started(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)MobileBootstrapping__OnStarted_fn)); ::g::Fuse::Platform::Lifecycle::remove_EnteringForeground(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)MobileBootstrapping__OnEnterForeground_fn)); ::g::Fuse::Platform::Lifecycle::remove_EnteringInteractive(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)MobileBootstrapping__OnEnterInteractive_fn)); ::g::Fuse::Platform::Lifecycle::remove_ExitedInteractive(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)MobileBootstrapping__OnExitInteractive_fn)); ::g::Fuse::Platform::Lifecycle::remove_Terminating(uDelegate::New(::TYPES[0/*Uno.Action<Fuse.Platform.ApplicationState>*/], (void*)MobileBootstrapping__OnTerminating_fn)); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\NameRegistry.uno // ----------------------------------------------------------------------------------- // public static class NameRegistry :14 // { // static generated NameRegistry() :14 static void NameRegistry__cctor__fn(uType* __type) { NameRegistry::_nameToObj_ = ((::g::Uno::Collections::Dictionary*)::g::Uno::Collections::Dictionary::New1(::TYPES[41/*Uno.Collections.Dictionary<Uno.UX.Selector, Uno.Collections.List<Fuse.Node>>*/])); NameRegistry::_names_ = ((::g::Uno::Collections::Dictionary*)::g::Uno::Collections::Dictionary::New1(::TYPES[42/*Uno.Collections.Dictionary<Fuse.Node, Uno.UX.Selector>*/])); NameRegistry::_listeners_ = ((::g::Uno::Collections::Dictionary*)::g::Uno::Collections::Dictionary::New1(::TYPES[43/*Uno.Collections.Dictionary<Uno.UX.Selector, Uno.Collections.List<Fuse.INameListener>>*/])); } static void NameRegistry_build(uType* type) { ::TYPES[41] = ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::UX::Selector_typeof(), ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), NULL); ::TYPES[42] = ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Fuse::Node_typeof(), ::g::Uno::UX::Selector_typeof(), NULL); ::TYPES[43] = ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::UX::Selector_typeof(), ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::INameListener_typeof(), NULL), NULL); ::TYPES[44] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::INameListener_typeof(), NULL); ::TYPES[45] = ::g::Fuse::INameListener_typeof(); ::TYPES[46] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL); type->SetFields(0, ::TYPES[41/*Uno.Collections.Dictionary<Uno.UX.Selector, Uno.Collections.List<Fuse.Node>>*/], (uintptr_t)&NameRegistry::_nameToObj_, uFieldFlagsStatic, ::TYPES[42/*Uno.Collections.Dictionary<Fuse.Node, Uno.UX.Selector>*/], (uintptr_t)&NameRegistry::_names_, uFieldFlagsStatic, ::TYPES[43/*Uno.Collections.Dictionary<Uno.UX.Selector, Uno.Collections.List<Fuse.INameListener>>*/], (uintptr_t)&NameRegistry::_listeners_, uFieldFlagsStatic); } uClassType* NameRegistry_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 3; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.NameRegistry", options); type->fp_build_ = NameRegistry_build; type->fp_cctor_ = NameRegistry__cctor__fn; return type; } // public static void AddListener(Uno.UX.Selector name, Fuse.INameListener listener) :75 void NameRegistry__AddListener_fn(::g::Uno::UX::Selector* name, uObject* listener) { NameRegistry::AddListener(*name, listener); } // public static void ClearName(Fuse.Node obj) :68 void NameRegistry__ClearName_fn(::g::Fuse::Node* obj) { NameRegistry::ClearName(obj); } // internal static Uno.Collections.List<Fuse.Node> GetObjectsWithName(Uno.UX.Selector name) :55 void NameRegistry__GetObjectsWithName_fn(::g::Uno::UX::Selector* name, ::g::Uno::Collections::List** __retval) { *__retval = NameRegistry::GetObjectsWithName(*name); } // private static void NotifyNameChanged(Fuse.Node obj, Uno.UX.Selector name) :108 void NameRegistry__NotifyNameChanged_fn(::g::Fuse::Node* obj, ::g::Uno::UX::Selector* name) { NameRegistry::NotifyNameChanged(obj, *name); } // public static void RemoveListener(Uno.UX.Selector name, Fuse.INameListener listener) :85 void NameRegistry__RemoveListener1_fn(::g::Uno::UX::Selector* name, uObject* listener) { NameRegistry::RemoveListener1(*name, listener); } // public static void SetName(Fuse.Node obj, Uno.UX.Selector name) :20 void NameRegistry__SetName_fn(::g::Fuse::Node* obj, ::g::Uno::UX::Selector* name) { NameRegistry::SetName(obj, *name); } uSStrong< ::g::Uno::Collections::Dictionary*> NameRegistry::_nameToObj_; uSStrong< ::g::Uno::Collections::Dictionary*> NameRegistry::_names_; uSStrong< ::g::Uno::Collections::Dictionary*> NameRegistry::_listeners_; // public static void AddListener(Uno.UX.Selector name, Fuse.INameListener listener) [static] :75 void NameRegistry::AddListener(::g::Uno::UX::Selector name, uObject* listener) { NameRegistry_typeof()->Init(); bool ret5; bool ret6; ::g::Uno::Collections::List* ret7; ::g::Uno::Collections::List* ret8; if (!(::g::Uno::Collections::Dictionary__ContainsKey_fn(uPtr(NameRegistry::_listeners_), uCRef(name), &ret5), ret5)) ::g::Uno::Collections::Dictionary__Add_fn(uPtr(NameRegistry::_listeners_), uCRef(name), (::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[44/*Uno.Collections.List<Fuse.INameListener>*/])); if (!(::g::Uno::Collections::List__Contains_fn(uPtr((::g::Uno::Collections::Dictionary__get_Item_fn(uPtr(NameRegistry::_listeners_), uCRef(name), &ret7), ret7)), listener, &ret6), ret6)) ::g::Uno::Collections::List__Add_fn(uPtr((::g::Uno::Collections::Dictionary__get_Item_fn(uPtr(NameRegistry::_listeners_), uCRef(name), &ret8), ret8)), listener); } // public static void ClearName(Fuse.Node obj) [static] :68 void NameRegistry::ClearName(::g::Fuse::Node* obj) { NameRegistry_typeof()->Init(); NameRegistry::SetName(obj, uDefault< ::g::Uno::UX::Selector>()); } // internal static Uno.Collections.List<Fuse.Node> GetObjectsWithName(Uno.UX.Selector name) [static] :55 ::g::Uno::Collections::List* NameRegistry::GetObjectsWithName(::g::Uno::UX::Selector name) { NameRegistry_typeof()->Init(); bool ret11; ::g::Uno::Collections::List* res = NULL; ::g::Uno::Collections::Dictionary__TryGetValue_fn(uPtr(NameRegistry::_nameToObj_), uCRef(name), (void**)(&res), &ret11); return res; } // private static void NotifyNameChanged(Fuse.Node obj, Uno.UX.Selector name) [static] :108 void NameRegistry::NotifyNameChanged(::g::Fuse::Node* obj, ::g::Uno::UX::Selector name) { NameRegistry_typeof()->Init(); uArray* array2; int32_t index3; int32_t length4; bool ret12; ::g::Uno::Collections::List* ret13; if ((::g::Uno::Collections::Dictionary__ContainsKey_fn(uPtr(NameRegistry::_listeners_), uCRef(name), &ret12), ret12)) for (array2 = (uArray*)uPtr((::g::Uno::Collections::Dictionary__get_Item_fn(uPtr(NameRegistry::_listeners_), uCRef(name), &ret13), ret13))->ToArray(), index3 = 0, length4 = uPtr(array2)->Length(); index3 < length4; ++index3) { uObject* listener = uPtr(array2)->Strong<uObject*>(index3); ::g::Fuse::INameListener::OnNameChanged(uInterface(uPtr(listener), ::TYPES[45/*Fuse.INameListener*/]), obj, name); } } // public static void RemoveListener(Uno.UX.Selector name, Fuse.INameListener listener) [static] :85 void NameRegistry::RemoveListener1(::g::Uno::UX::Selector name, uObject* listener) { NameRegistry_typeof()->Init(); bool ret17; bool ret18; ::g::Uno::Collections::List* list; if (!(::g::Uno::Collections::Dictionary__TryGetValue_fn(uPtr(NameRegistry::_listeners_), uCRef(name), (void**)(&list), &ret17), ret17)) return; ::g::Uno::Collections::List__Remove_fn(uPtr(list), listener, &ret18); } // public static void SetName(Fuse.Node obj, Uno.UX.Selector name) [static] :20 void NameRegistry::SetName(::g::Fuse::Node* obj, ::g::Uno::UX::Selector name) { NameRegistry_typeof()->Init(); bool ret19; ::g::Uno::UX::Selector ret20; bool ret21; ::g::Uno::Collections::List* ret22; ::g::Uno::Collections::List* ret23; bool ret24; bool ret25; bool ret26; ::g::Uno::Collections::List* ret27; ::g::Uno::UX::Selector oldName = uDefault< ::g::Uno::UX::Selector>(); if ((::g::Uno::Collections::Dictionary__ContainsKey_fn(uPtr(NameRegistry::_names_), obj, &ret19), ret19)) { oldName = (::g::Uno::Collections::Dictionary__get_Item_fn(uPtr(NameRegistry::_names_), obj, &ret20), ret20); if (::g::Uno::UX::Selector__op_Equality(name, oldName)) return; ::g::Uno::Collections::List__Remove_fn(uPtr((::g::Uno::Collections::Dictionary__get_Item_fn(uPtr(NameRegistry::_nameToObj_), uCRef(oldName), &ret22), ret22)), obj, &ret21); if (uPtr((::g::Uno::Collections::Dictionary__get_Item_fn(uPtr(NameRegistry::_nameToObj_), uCRef(oldName), &ret23), ret23))->Count() == 0) ::g::Uno::Collections::Dictionary__Remove_fn(uPtr(NameRegistry::_nameToObj_), uCRef(oldName), &ret24); } if (::g::Uno::UX::Selector__op_Inequality(name, oldName)) { if (name.IsNull()) ::g::Uno::Collections::Dictionary__Remove_fn(uPtr(NameRegistry::_names_), obj, &ret25); else { ::g::Uno::Collections::Dictionary__set_Item_fn(uPtr(NameRegistry::_names_), obj, uCRef(name)); if (!(::g::Uno::Collections::Dictionary__ContainsKey_fn(uPtr(NameRegistry::_nameToObj_), uCRef(name), &ret26), ret26)) ::g::Uno::Collections::Dictionary__set_Item_fn(uPtr(NameRegistry::_nameToObj_), uCRef(name), (::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[46/*Uno.Collections.List<Fuse.Node>*/])); ::g::Uno::Collections::List__Add_fn(uPtr((::g::Uno::Collections::Dictionary__get_Item_fn(uPtr(NameRegistry::_nameToObj_), uCRef(name), &ret27), ret27)), obj); } if (!oldName.IsNull()) NameRegistry::NotifyNameChanged(obj, oldName); if (!name.IsNull()) NameRegistry::NotifyNameChanged(obj, name); } } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\NameValuePair.uno // ------------------------------------------------------------------------------------- // public sealed class NameValuePair :17 // { static void NameValuePair_build(uType* type) { ::STRINGS[55] = uString::Const("("); ::STRINGS[15] = uString::Const(": "); ::STRINGS[20] = uString::Const(")"); ::STRINGS[56] = uString::Const("Object (NameValuePair) does not contain the given key"); ::TYPES[47] = ::g::Uno::String_typeof()->Array(); type->SetInterfaces( ::g::Fuse::IObject_typeof(), offsetof(NameValuePair_type, interface0)); type->SetFields(0, ::g::Uno::String_typeof(), offsetof(NameValuePair, _Name), 0, uObject_typeof(), offsetof(NameValuePair, _Value), 0); } NameValuePair_type* NameValuePair_typeof() { static uSStrong<NameValuePair_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.InterfaceCount = 1; options.ObjectSize = sizeof(NameValuePair); options.TypeSize = sizeof(NameValuePair_type); type = (NameValuePair_type*)uClassType::New("Fuse.NameValuePair", options); type->fp_build_ = NameValuePair_build; type->fp_ToString = (void(*)(uObject*, uString**))NameValuePair__ToString_fn; type->interface0.fp_ContainsKey = (void(*)(uObject*, uString*, bool*))NameValuePair__FuseIObjectContainsKey_fn; type->interface0.fp_get_Keys = (void(*)(uObject*, uArray**))NameValuePair__FuseIObjectget_Keys_fn; type->interface0.fp_get_Item = (void(*)(uObject*, uString*, uObject**))NameValuePair__FuseIObjectget_Item_fn; return type; } // private bool Fuse.IObject.ContainsKey(string key) :33 void NameValuePair__FuseIObjectContainsKey_fn(NameValuePair* __this, uString* key, bool* __retval) { return *__retval = ::g::Uno::String::op_Equality(__this->Name(), key), void(); } // private object Fuse.IObject.get_Item(string key) :36 void NameValuePair__FuseIObjectget_Item_fn(NameValuePair* __this, uString* key, uObject** __retval) { if (::g::Uno::String::op_Inequality(key, __this->Name())) U_THROW(::g::Uno::ArgumentException::New4(::STRINGS[56/*"Object (Nam...*/])); return *__retval = __this->Value(), void(); } // private string[] Fuse.IObject.get_Keys() :32 void NameValuePair__FuseIObjectget_Keys_fn(NameValuePair* __this, uArray** __retval) { return *__retval = uArray::Init<uString*>(::TYPES[47/*string[]*/], 1, (uString*)__this->Name()), void(); } // public generated string get_Name() :19 void NameValuePair__get_Name_fn(NameValuePair* __this, uString** __retval) { *__retval = __this->Name(); } // private generated void set_Name(string value) :19 void NameValuePair__set_Name_fn(NameValuePair* __this, uString* value) { __this->Name(value); } // public override sealed string ToString() :27 void NameValuePair__ToString_fn(NameValuePair* __this, uString** __retval) { return *__retval = ::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2(::STRINGS[55/*"("*/], __this->Name()), ::STRINGS[15/*": "*/]), __this->Value()), ::STRINGS[20/*")"*/]), void(); } // public generated object get_Value() :20 void NameValuePair__get_Value_fn(NameValuePair* __this, uObject** __retval) { *__retval = __this->Value(); } // private generated void set_Value(object value) :20 void NameValuePair__set_Value_fn(NameValuePair* __this, uObject* value) { __this->Value(value); } // public generated string get_Name() [instance] :19 uString* NameValuePair::Name() { return _Name; } // private generated void set_Name(string value) [instance] :19 void NameValuePair::Name(uString* value) { _Name = value; } // public generated object get_Value() [instance] :20 uObject* NameValuePair::Value() { return _Value; } // private generated void set_Value(object value) [instance] :20 void NameValuePair::Value(uObject* value) { _Value = value; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Node.Bindings.uno // ------------------------------------------------------------------------------------ // public interfacemodifiers class Node :10 // { // static Node() :11 static void Node__cctor__fn(uType* __type) { ::g::Fuse::Scripting::ScriptClass_typeof()->Init(); Node::_emptyBindings_ = (uObject*)((::g::Uno::Runtime::Implementation::Internal::ArrayEnumerable*)::g::Uno::Runtime::Implementation::Internal::ArrayEnumerable::New1(::g::Uno::Runtime::Implementation::Internal::ArrayEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), uArray::New(::g::Fuse::Binding_typeof()->Array(), 0))); Node::_dataListeners_ = ((::g::Uno::Collections::Dictionary*)::g::Uno::Collections::Dictionary::New1(::g::Uno::Collections::Dictionary_typeof()->MakeType(::TYPES[24/*string*/], ::TYPES[83/*Uno.Collections.List`1*/]->MakeType(::TYPES[6/*Fuse.Node.IDataListener*/], NULL), NULL))); Node::_laterReleaseRooting_ = uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)Node__LaterReleaseRooting_fn); ::g::Fuse::Scripting::ScriptClass::Register(__type, uArray::Init< ::g::Fuse::Scripting::ScriptMember*>(::TYPES[73/*Fuse.Scripting.ScriptMember[]*/], 3, (::g::Fuse::Scripting::ScriptMethod1*)::g::Fuse::Scripting::ScriptMethod1::New4(::g::Fuse::Scripting::ScriptMethod1_typeof()->MakeType(__type, NULL), uString::Const("_createWatcher"), uDelegate::New(::g::Uno::Func3_typeof()->MakeType(::g::Fuse::Scripting::Context_typeof(), __type, ::TYPES[7/*object[]*/], uObject_typeof(), NULL), (void*)Node___createWatcher_fn)), (::g::Fuse::Scripting::ScriptMethod1*)::g::Fuse::Scripting::ScriptMethod1::New4(::g::Fuse::Scripting::ScriptMethod1_typeof()->MakeType(__type, NULL), uString::Const("_destroyWatcher"), uDelegate::New(::g::Uno::Func3_typeof()->MakeType(::g::Fuse::Scripting::Context_typeof(), __type, ::TYPES[7/*object[]*/], uObject_typeof(), NULL), (void*)Node___destroyWatcher_fn)), (::g::Fuse::Scripting::ScriptMethodInline*)::g::Fuse::Scripting::ScriptMethodInline::New2(uString::Const("findData"), uString::Const("function(key) { return Observable._getDataObserver(this, key); }")))); } static void Node_build(uType* type) { type->SetDependencies( ::g::Fuse::NameRegistry_typeof(), ::g::Fuse::UpdateManager_typeof()); type->MethodTypes[0]->SetPrecalc( ::g::Fuse::Visual_typeof()->MakeMethod(2/*FirstChild<T>*/, type->MethodTypes[0]->U(0), NULL)); type->MethodTypes[1]->SetPrecalc( type->MakeMethod(2/*GetNearestAncestorOfType<T>*/, type->MethodTypes[1]->U(0), NULL)); type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(Node_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(Node_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(Node_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(Node_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(Node_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(Node_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(Node_type, interface6)); type->SetFields(1, uObject_typeof(), offsetof(Node, _bindings), 0, ::g::Uno::UX::Selector_typeof(), offsetof(Node, _name), 0, ::g::Fuse::RootStage_typeof(), offsetof(Node, _rootStage), 0, ::g::Uno::Int_typeof(), offsetof(Node, _preservedRootFrame), 0, ::g::Fuse::Scripting::Context_typeof(), offsetof(Node, _scriptContext), 0, uObject_typeof(), offsetof(Node, _scriptObject), 0, ::g::Fuse::Properties_typeof(), offsetof(Node, _properties), 0, ::g::Fuse::Visual_typeof(), offsetof(Node, _parent), 0, type, offsetof(Node, OverrideContextParent), uFieldFlagsWeak, type, offsetof(Node, _nextSibling), 0, ::g::Uno::Int_typeof(), offsetof(Node, _parentID), 0, ::g::Fuse::Internal::RawPointer_typeof()->MakeType(type, NULL), offsetof(Node, _previousSibling), 0, ::g::Uno::String_typeof(), offsetof(Node, _SourceFileName), 0, ::g::Uno::Int_typeof(), offsetof(Node, _SourceLineNumber), 0, ::g::Uno::Action_typeof(), offsetof(Node, RootingCompleted1), 0, ::g::Uno::Action_typeof(), offsetof(Node, Unrooted1), 0, ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), (uintptr_t)&Node::_emptyBindings_, uFieldFlagsStatic, ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::String_typeof(), ::g::Uno::Collections::List_typeof()->MakeType(Node__IDataListener_typeof(), NULL), NULL), (uintptr_t)&Node::_dataListeners_, uFieldFlagsStatic, ::g::Uno::Int_typeof(), (uintptr_t)&Node::_rootCaptureIndex_, uFieldFlagsStatic, ::g::Uno::Bool_typeof(), (uintptr_t)&Node::_hasRootCapture_, uFieldFlagsStatic, ::g::Uno::Action_typeof(), (uintptr_t)&Node::_laterReleaseRooting_, uFieldFlagsStatic); } Node_type* Node_typeof() { static uSStrong<Node_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::PropertyObject_typeof(); options.FieldCount = 22; options.InterfaceCount = 7; options.MethodTypeCount = 5; options.DependencyCount = 2; options.ObjectSize = sizeof(Node); options.TypeSize = sizeof(Node_type); type = (Node_type*)uClassType::New("Fuse.Node", options); type->MethodTypes[0] = type->NewMethodType(1, 1,0); type->MethodTypes[1] = type->NewMethodType(1, 1,0); type->MethodTypes[2] = type->NewMethodType(1, 0,0); type->MethodTypes[3] = type->NewMethodType(1, 0,0); type->MethodTypes[4] = type->NewMethodType(1, 0,0); type->fp_build_ = Node_build; type->fp_cctor_ = Node__cctor__fn; type->fp_GetLastNodeInGroup = Node__GetLastNodeInGroup_fn; type->fp_OnRooted = Node__OnRooted_fn; type->fp_OnUnrooted = Node__OnUnrooted_fn; type->fp_SoftDispose = Node__SoftDispose_fn; type->fp_ToString = (void(*)(uObject*, uString**))Node__ToString_fn; type->fp_TryGetResource = Node__TryGetResource_fn; type->interface5.fp_Clear = (void(*)(uObject*))Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))Node__Remove_fn; return type; } // protected generated Node() :10 void Node__ctor_1_fn(Node* __this) { __this->ctor_1(); } // private static object _createWatcher(Fuse.Scripting.Context c, Fuse.Node n, object[] args) :19 void Node___createWatcher_fn(::g::Fuse::Scripting::Context* c, Node* n, uArray* args, uObject** __retval) { *__retval = Node::_createWatcher(c, n, args); } // private static object _destroyWatcher(Fuse.Scripting.Context c, Fuse.Node n, object[] args) :26 void Node___destroyWatcher_fn(::g::Fuse::Scripting::Context* c, Node* n, uArray* args, uObject** __retval) { *__retval = Node::_destroyWatcher(c, n, args); } // private bool AcquireData(Fuse.Node.DataType type, string key, object data, object& result, Fuse.IObject& provider) :52 void Node__AcquireData_fn(Node* __this, int32_t* type, uString* key, uObject* data, uObject** result, uObject** provider, bool* __retval) { *__retval = __this->AcquireData(*type, key, data, result, provider); } // public void Add(Fuse.Binding item) :70 void Node__Add_fn(Node* __this, ::g::Fuse::Binding* item) { __this->Add(item); } // private void AddDataListener(Fuse.Node.DataType type, string key, Fuse.Node.IDataListener listener) :205 void Node__AddDataListener_fn(Node* __this, int32_t* type, uString* key, uObject* listener) { __this->AddDataListener(*type, key, listener); } // private Fuse.Binding get_Binding() :18 void Node__get_Binding_fn(Node* __this, ::g::Fuse::Binding** __retval) { *__retval = __this->Binding(); } // private Uno.Collections.List<Fuse.Binding> get_BindingList() :19 void Node__get_BindingList_fn(Node* __this, ::g::Uno::Collections::List** __retval) { *__retval = __this->BindingList(); } // public Uno.Collections.IList<Fuse.Binding> get_Bindings() :14 void Node__get_Bindings_fn(Node* __this, uObject** __retval) { *__retval = __this->Bindings(); } // protected internal void BroadcastDataChange(object oldData, object newData) :137 void Node__BroadcastDataChange_fn(Node* __this, uObject* oldData, uObject* newData) { __this->BroadcastDataChange(oldData, newData); } // internal static bool CaptureRooting() :57 void Node__CaptureRooting_fn(bool* __retval) { *__retval = Node::CaptureRooting(); } // private bool CheckDataKey(string key) :183 void Node__CheckDataKey_fn(Node* __this, uString* key, bool* __retval) { *__retval = __this->CheckDataKey(key); } // private static bool Contains(string[] strs, string s) :166 void Node__Contains_fn(uArray* strs, uString* s, bool* __retval) { *__retval = Node::Contains(strs, s); } // public Fuse.Node get_ContextParent() :83 void Node__get_ContextParent_fn(Node* __this, Node** __retval) { *__retval = __this->ContextParent(); } // private int DistanceTo(Fuse.Node obj, int reference) :61 void Node__DistanceTo_fn(Node* __this, Node* obj, int32_t* reference, int32_t* __retval) { *__retval = __this->DistanceTo(obj, *reference); } // internal T FindBehavior<T>() :138 void Node__FindBehavior_fn(Node* __this, uType* __type, Node** __retval) { *__retval = __this->FindBehavior(__type); } // public T FindByType<T>() :161 void Node__FindByType_fn(Node* __this, uType* __type, uObject** __retval) { *__retval = __this->FindByType(__type); } // public Fuse.Node FindNodeByName(Uno.UX.Selector name, [Uno.Predicate<Fuse.Node> acceptor]) :36 void Node__FindNodeByName_fn(Node* __this, ::g::Uno::UX::Selector* name, uDelegate* acceptor, Node** __retval) { *__retval = __this->FindNodeByName(*name, acceptor); } // private void Fuse.INotifyUnrooted.add_Unrooted(Uno.Action value) :148 void Node__FuseINotifyUnrootedadd_Unrooted_fn(Node* __this, uDelegate* value) { __this->add_Unrooted(value); } // private void Fuse.INotifyUnrooted.remove_Unrooted(Uno.Action value) :149 void Node__FuseINotifyUnrootedremove_Unrooted_fn(Node* __this, uDelegate* value) { __this->remove_Unrooted(value); } // private Fuse.ISourceLocation Fuse.ISourceLocation.get_SourceNearest() :187 void Node__FuseISourceLocationget_SourceNearest_fn(Node* __this, uObject** __retval) { if (::g::Uno::String::op_Inequality(__this->SourceFileName(), NULL)) return *__retval = (uObject*)__this, void(); if (__this->Parent() != NULL) return *__retval = ::g::Fuse::ISourceLocation::SourceNearest(uInterface(uPtr((uObject*)__this->Parent()), ::TYPES[10/*Fuse.ISourceLocation*/])), void(); return *__retval = NULL, void(); } // private Fuse.Scripting.Context Fuse.Scripting.IScriptObject.get_ScriptContext() :35 void Node__FuseScriptingIScriptObjectget_ScriptContext_fn(Node* __this, ::g::Fuse::Scripting::Context** __retval) { return *__retval = __this->_scriptContext, void(); } // private object Fuse.Scripting.IScriptObject.get_ScriptObject() :30 void Node__FuseScriptingIScriptObjectget_ScriptObject_fn(Node* __this, uObject** __retval) { return *__retval = __this->_scriptObject, void(); } // private void Fuse.Scripting.IScriptObject.SetScriptObject(object obj, Fuse.Scripting.Context context) :38 void Node__FuseScriptingIScriptObjectSetScriptObject_fn(Node* __this, uObject* obj, ::g::Fuse::Scripting::Context* context) { __this->_scriptObject = obj; __this->_scriptContext = context; } // internal virtual Fuse.Node GetLastNodeInGroup() :132 void Node__GetLastNodeInGroup_fn(Node* __this, Node** __retval) { return *__retval = __this, void(); } // public T GetNearestAncestorOfType<T>() :167 void Node__GetNearestAncestorOfType_fn(Node* __this, uType* __type, uObject** __retval) { *__retval = __this->GetNearestAncestorOfType(__type); } // private bool HasInSubtree(Fuse.Node c) :77 void Node__HasInSubtree_fn(Node* __this, Node* c, bool* __retval) { *__retval = __this->HasInSubtree(c); } // public void Insert(int index, Fuse.Binding item) :107 void Node__Insert_fn(Node* __this, int32_t* index, ::g::Fuse::Binding* item) { __this->Insert(*index, item); } // internal bool get_IsPreservedRootFrame() :202 void Node__get_IsPreservedRootFrame_fn(Node* __this, bool* __retval) { *__retval = __this->IsPreservedRootFrame(); } // internal static bool IsRootCapture(int index) :52 void Node__IsRootCapture_fn(int32_t* index, bool* __retval) { *__retval = Node::IsRootCapture(*index); } // public bool get_IsRootingCompleted() :39 void Node__get_IsRootingCompleted_fn(Node* __this, bool* __retval) { *__retval = __this->IsRootingCompleted(); } // public bool get_IsRootingStarted() :29 void Node__get_IsRootingStarted_fn(Node* __this, bool* __retval) { *__retval = __this->IsRootingStarted(); } // internal bool get_IsUnrooted() :43 void Node__get_IsUnrooted_fn(Node* __this, bool* __retval) { *__retval = __this->IsUnrooted(); } // internal bool get_IsUnrooting() :41 void Node__get_IsUnrooting_fn(Node* __this, bool* __retval) { *__retval = __this->IsUnrooting(); } // private static void LaterReleaseRooting() :79 void Node__LaterReleaseRooting_fn() { Node::LaterReleaseRooting(); } // private void MakeBindingList(Fuse.Binding newItem) :21 void Node__MakeBindingList_fn(Node* __this, ::g::Fuse::Binding* newItem) { __this->MakeBindingList(newItem); } // public Uno.UX.Selector get_Name() :14 void Node__get_Name_fn(Node* __this, ::g::Uno::UX::Selector* __retval) { *__retval = __this->Name(); } // public void set_Name(Uno.UX.Selector value) :15 void Node__set_Name_fn(Node* __this, ::g::Uno::UX::Selector* value) { __this->Name(*value); } // public T NextSibling<T>() :23 void Node__NextSibling_fn(Node* __this, uType* __type, Node** __retval) { *__retval = __this->NextSibling(__type); } // internal int get_NodeDepth() :63 void Node__get_NodeDepth_fn(Node* __this, int32_t* __retval) { *__retval = __this->NodeDepth(); } // public void OnDataChanged(string key, object newValue) :193 void Node__OnDataChanged_fn(Node* __this, uString* key, uObject* newValue) { __this->OnDataChanged(key, newValue); } // protected virtual void OnRooted() :139 void Node__OnRooted_fn(Node* __this) { __this->RootBindings(); } // protected virtual void OnUnrooted() :174 void Node__OnUnrooted_fn(Node* __this) { __this->UnrootBindings(); } // public Fuse.Visual get_Parent() :58 void Node__get_Parent_fn(Node* __this, ::g::Fuse::Visual** __retval) { *__retval = __this->Parent(); } // public T PreviousSibling<T>() :36 void Node__PreviousSibling_fn(Node* __this, uType* __type, Node** __retval) { *__retval = __this->PreviousSibling(__type); } // public Fuse.Properties get_Properties() :48 void Node__get_Properties_fn(Node* __this, ::g::Fuse::Properties** __retval) { *__retval = __this->Properties(); } // internal static void Relate(Fuse.Visual parent, Fuse.Node child) :179 void Node__Relate_fn(::g::Fuse::Visual* parent, Node* child) { Node::Relate(parent, child); } // internal static void ReleaseRooting(bool captured) :70 void Node__ReleaseRooting_fn(bool* captured) { Node::ReleaseRooting(*captured); } // public bool Remove(Fuse.Binding item) :79 void Node__Remove_fn(Node* __this, ::g::Fuse::Binding* item, bool* __retval) { *__retval = __this->Remove(item); } // private void RemoveDataListener(Fuse.Node.DataType type, string key, Fuse.Node.IDataListener listener) :224 void Node__RemoveDataListener_fn(Node* __this, int32_t* type, uString* key, uObject* listener) { __this->RemoveDataListener(*type, key, listener); } // private void Root(Fuse.Binding b) :30 void Node__Root_fn(Node* __this, ::g::Fuse::Binding* b) { __this->Root(b); } // private void RootBindings() :40 void Node__RootBindings_fn(Node* __this) { __this->RootBindings(); } // internal static int get_RootCaptureIndex() :51 void Node__get_RootCaptureIndex_fn(int32_t* __retval) { *__retval = Node::RootCaptureIndex(); } // internal generated void add_RootingCompleted(Uno.Action value) :134 void Node__add_RootingCompleted_fn(Node* __this, uDelegate* value) { __this->add_RootingCompleted(value); } // internal generated void remove_RootingCompleted(Uno.Action value) :134 void Node__remove_RootingCompleted_fn(Node* __this, uDelegate* value) { __this->remove_RootingCompleted(value); } // internal void RootInternal(Fuse.Visual parent) :87 void Node__RootInternal_fn(Node* __this, ::g::Fuse::Visual* parent) { __this->RootInternal(parent); } // private void RootInternalImpl(Fuse.Visual parent) :100 void Node__RootInternalImpl_fn(Node* __this, ::g::Fuse::Visual* parent) { __this->RootInternalImpl(parent); } // protected virtual void SoftDispose() :196 void Node__SoftDispose_fn(Node* __this) { } // public generated string get_SourceFileName() :183 void Node__get_SourceFileName_fn(Node* __this, uString** __retval) { *__retval = __this->SourceFileName(); } // public generated void set_SourceFileName(string value) :183 void Node__set_SourceFileName_fn(Node* __this, uString* value) { __this->SourceFileName(value); } // public generated int get_SourceLineNumber() :180 void Node__get_SourceLineNumber_fn(Node* __this, int32_t* __retval) { *__retval = __this->SourceLineNumber(); } // public generated void set_SourceLineNumber(int value) :180 void Node__set_SourceLineNumber_fn(Node* __this, int32_t* value) { __this->SourceLineNumber(*value); } // internal Fuse.Node.NodeDataSubscription SubscribeData(string key, Fuse.Node.IDataListener listener) :242 void Node__SubscribeData_fn(Node* __this, uString* key, uObject* listener, Node__NodeDataSubscription** __retval) { *__retval = __this->SubscribeData(key, listener); } // internal Fuse.Node.NodeDataSubscription SubscribePrimeDataContext(Fuse.Node.IDataListener listener) :260 void Node__SubscribePrimeDataContext_fn(Node* __this, uObject* listener, Node__NodeDataSubscription** __retval) { *__retval = __this->SubscribePrimeDataContext(listener); } // public override sealed string ToString() :107 void Node__ToString_fn(Node* __this, uString** __retval) { uString* ret11; uString* ret12; if (!__this->Name().IsNull()) return *__retval = ::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2((::g::Uno::Object__ToString_fn(__this, &ret11), ret11), uString::Const(", Name: ")), __this->Name().ToString(::g::Uno::UX::Selector_typeof())), void(); else return *__retval = (::g::Uno::Object__ToString_fn(__this, &ret12), ret12), void(); } // private bool TryFindData(Fuse.Node.DataType type, string key, object& result, Fuse.IObject& provider) :76 void Node__TryFindData_fn(Node* __this, int32_t* type, uString* key, uObject** result, uObject** provider, bool* __retval) { *__retval = __this->TryFindData(*type, key, result, provider); } // internal bool TryGetPrimeDataContext(object& result) :46 void Node__TryGetPrimeDataContext_fn(Node* __this, uObject** result, bool* __retval) { *__retval = __this->TryGetPrimeDataContext(result); } // public virtual bool TryGetResource(string key, Uno.Predicate<object> acceptor, object& resource) :93 void Node__TryGetResource_fn(Node* __this, uString* key, uDelegate* acceptor, uObject** resource, bool* __retval) { if (__this->ContextParent() != NULL) return *__retval = uPtr(__this->ContextParent())->TryGetResource(key, acceptor, resource), void(); *resource = NULL; return *__retval = false, void(); } // private void Uno.Collections.ICollection<Fuse.Binding>.Clear() :64 void Node__UnoCollectionsICollectionFuseBindingClear_fn(Node* __this) { if (__this->IsRootingStarted()) __this->UnrootBindings(); __this->_bindings = NULL; } // private bool Uno.Collections.ICollection<Fuse.Binding>.Contains(Fuse.Binding item) :89 void Node__UnoCollectionsICollectionFuseBindingContains_fn(Node* __this, ::g::Fuse::Binding* item, bool* __retval) { bool ret13; if (__this->_bindings == item) return *__retval = true, void(); ::g::Uno::Collections::List* bl = __this->BindingList(); if (bl != NULL) return *__retval = (::g::Uno::Collections::List__Contains_fn(uPtr(bl), item, &ret13), ret13), void(); return *__retval = false, void(); } // private int Uno.Collections.ICollection<Fuse.Binding>.get_Count() :99 void Node__UnoCollectionsICollectionFuseBindingget_Count_fn(Node* __this, int32_t* __retval) { if (__this->_bindings == NULL) return *__retval = 0, void(); if (uIs((uObject*)__this->_bindings, ::g::Fuse::Binding_typeof())) return *__retval = 1, void(); return *__retval = uPtr(__this->BindingList())->Count(), void(); } // private Uno.Collections.IEnumerator<Fuse.Binding> Uno.Collections.IEnumerable<Fuse.Binding>.GetEnumerator() :158 void Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn(Node* __this, uObject** __retval) { ::g::Uno::Collections::List__Enumerator<uStrong< ::g::Fuse::Binding*> > ret14; if (__this->_bindings == NULL) return *__retval = (uObject*)::g::Uno::Collections::IEnumerable::GetEnumerator(uInterface(uPtr(Node::_emptyBindings_), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL))), void(); if (uIs((uObject*)__this->_bindings, ::g::Fuse::Binding_typeof())) __this->MakeBindingList(NULL); return *__retval = uBox(::g::Uno::Collections::List__Enumerator_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), (::g::Uno::Collections::List__GetEnumerator_fn(uPtr(__this->BindingList()), &ret14), ret14)), void(); } // private Fuse.Binding Uno.Collections.IList<Fuse.Binding>.get_Item(int index) :139 void Node__UnoCollectionsIListFuseBindingget_Item_fn(Node* __this, int32_t* index, ::g::Fuse::Binding** __retval) { int32_t index_ = *index; ::g::Fuse::Binding* ret17; if (__this->_bindings == NULL) U_THROW(::g::Uno::Exception::New1()); ::g::Fuse::Binding* b = __this->Binding(); if (b != NULL) { if (index_ != 0) U_THROW(::g::Uno::Exception::New1()); return *__retval = b, void(); } else return *__retval = (::g::Uno::Collections::List__get_Item_fn(uPtr(__this->BindingList()), uCRef<int32_t>(index_), &ret17), ret17), void(); } // private void Uno.Collections.IList<Fuse.Binding>.RemoveAt(int index) :119 void Node__UnoCollectionsIListFuseBindingRemoveAt_fn(Node* __this, int32_t* index) { int32_t index_ = *index; ::g::Fuse::Binding* ret15; if (__this->_bindings == NULL) U_THROW(::g::Uno::Exception::New1()); ::g::Fuse::Binding* b = __this->Binding(); if (b != NULL) { if (index_ != 0) U_THROW(::g::Uno::Exception::New1()); __this->Unroot(b); __this->_bindings = NULL; } else { __this->Unroot((::g::Uno::Collections::List__get_Item_fn(uPtr(__this->BindingList()), uCRef<int32_t>(index_), &ret15), ret15)); uPtr(__this->BindingList())->RemoveAt(index_); } } // internal static void Unrelate(Fuse.Visual parent, Fuse.Node child) :187 void Node__Unrelate_fn(::g::Fuse::Visual* parent, Node* child) { Node::Unrelate(parent, child); } // private void Unroot(Fuse.Binding b) :35 void Node__Unroot_fn(Node* __this, ::g::Fuse::Binding* b) { __this->Unroot(b); } // private void UnrootBindings() :52 void Node__UnrootBindings_fn(Node* __this) { __this->UnrootBindings(); } // internal generated void add_Unrooted(Uno.Action value) :144 void Node__add_Unrooted_fn(Node* __this, uDelegate* value) { __this->add_Unrooted(value); } // internal generated void remove_Unrooted(Uno.Action value) :144 void Node__remove_Unrooted_fn(Node* __this, uDelegate* value) { __this->remove_Unrooted(value); } // internal void UnrootInternal() :152 void Node__UnrootInternal_fn(Node* __this) { __this->UnrootInternal(); } uSStrong<uObject*> Node::_emptyBindings_; uSStrong< ::g::Uno::Collections::Dictionary*> Node::_dataListeners_; int32_t Node::_rootCaptureIndex_; bool Node::_hasRootCapture_; uSStrong<uDelegate*> Node::_laterReleaseRooting_; // protected generated Node() [instance] :10 void Node::ctor_1() { _preservedRootFrame = -1; _parentID = -1; ctor_(); } // private bool AcquireData(Fuse.Node.DataType type, string key, object data, object& result, Fuse.IObject& provider) [instance] :52 bool Node::AcquireData(int32_t type, uString* key, uObject* data, uObject** result, uObject** provider) { *result = NULL; *provider = uAs<uObject*>(data, ::TYPES[29/*Fuse.IObject*/]); if ((::g::Uno::String::op_Equality(key, ::STRINGS[25/*""*/]) || (type == 1)) && (data != NULL)) { *result = data; return true; } else if (*provider != NULL) { if (::g::Fuse::IObject::ContainsKey(uInterface(uPtr(*provider), ::TYPES[29/*Fuse.IObject*/]), key)) { *result = ::g::Fuse::IObject::Item(uInterface(uPtr(*provider), ::TYPES[29/*Fuse.IObject*/]), key); return true; } } return false; } // public void Add(Fuse.Binding item) [instance] :70 void Node::Add(::g::Fuse::Binding* item) { if (_bindings == NULL) _bindings = item; else if (uIs((uObject*)_bindings, ::g::Fuse::Binding_typeof())) MakeBindingList(item); else ::g::Uno::Collections::List__Add_fn(uPtr(BindingList()), item); Root(item); } // private void AddDataListener(Fuse.Node.DataType type, string key, Fuse.Node.IDataListener listener) [instance] :205 void Node::AddDataListener(int32_t type, uString* key, uObject* listener) { bool ret2; if ((type == 1) && ::g::Uno::String::op_Equality(key, NULL)) key = ::STRINGS[25/*""*/]; if (!CheckDataKey(key)) return; ::g::Uno::Collections::List* listeners; if (!(::g::Uno::Collections::Dictionary__TryGetValue_fn(uPtr(Node::_dataListeners_), key, (void**)(&listeners), &ret2), ret2)) { listeners = (::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[83/*Uno.Collections.List`1*/]->MakeType(::TYPES[6/*Fuse.Node.IDataListener*/], NULL)); ::g::Uno::Collections::Dictionary__Add_fn(uPtr(Node::_dataListeners_), key, listeners); } ::g::Uno::Collections::List__Add_fn(uPtr(listeners), listener); } // private Fuse.Binding get_Binding() [instance] :18 ::g::Fuse::Binding* Node::Binding() { return uAs< ::g::Fuse::Binding*>(_bindings, ::g::Fuse::Binding_typeof()); } // private Uno.Collections.List<Fuse.Binding> get_BindingList() [instance] :19 ::g::Uno::Collections::List* Node::BindingList() { return uAs< ::g::Uno::Collections::List*>(_bindings, ::TYPES[83/*Uno.Collections.List`1*/]->MakeType(::g::Fuse::Binding_typeof(), NULL)); } // public Uno.Collections.IList<Fuse.Binding> get_Bindings() [instance] :14 uObject* Node::Bindings() { return (uObject*)this; } // protected internal void BroadcastDataChange(object oldData, object newData) [instance] :137 void Node::BroadcastDataChange(uObject* oldData, uObject* newData) { uArray* newKeys = NULL; uObject* newObj = uAs<uObject*>(newData, ::TYPES[29/*Fuse.IObject*/]); if (newObj != NULL) { newKeys = ::g::Fuse::IObject::Keys(uInterface(uPtr(newObj), ::TYPES[29/*Fuse.IObject*/])); for (int32_t i = 0; i < uPtr(newKeys)->Length(); i++) OnDataChanged(uPtr(newKeys)->Strong<uString*>(i), ::g::Fuse::IObject::Item(uInterface(uPtr(newObj), ::TYPES[29/*Fuse.IObject*/]), uPtr(newKeys)->Strong<uString*>(i))); } if (newData != NULL) OnDataChanged(::STRINGS[25/*""*/], newData); uObject* oldObj = uAs<uObject*>(oldData, ::TYPES[29/*Fuse.IObject*/]); if (oldObj != NULL) { uArray* keys = ::g::Fuse::IObject::Keys(uInterface(uPtr(oldObj), ::TYPES[29/*Fuse.IObject*/])); for (int32_t i1 = 0; i1 < uPtr(keys)->Length(); i1++) { if ((newKeys != NULL) && Node::Contains(newKeys, uPtr(keys)->Strong<uString*>(i1))) continue; OnDataChanged(uPtr(keys)->Strong<uString*>(i1), NULL); } } if ((oldData != NULL) && (newData == NULL)) OnDataChanged(::STRINGS[25/*""*/], NULL); } // private bool CheckDataKey(string key) [instance] :183 bool Node::CheckDataKey(uString* key) { if (::g::Uno::String::op_Equality(key, NULL)) { ::g::Fuse::Diagnostics::InternalError(uString::Const("null provided as DataContext key"), NULL, uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.Nodes\\1.9.0\\Node.DataContext.uno"), 187, uString::Const("CheckDataKey")); return false; } return true; } // public Fuse.Node get_ContextParent() [instance] :83 Node* Node::ContextParent() { Node* ind1; ind1 = OverrideContextParent; return (ind1 != NULL) ? ind1 : (::g::Fuse::Visual*)Parent(); } // private int DistanceTo(Fuse.Node obj, int reference) [instance] :61 int32_t Node::DistanceTo(Node* obj, int32_t reference) { Node* p = this; int32_t c = 0; while (p != NULL) { if (uPtr(p)->HasInSubtree(obj)) return c; c++; if (c > reference) return c; p = uPtr(p)->Parent(); } return 2147483647; } // internal T FindBehavior<T>() [instance] :138 Node* Node::FindBehavior(uType* __type) { uType* __types[] = { __type->Precalced(0/*Fuse.Visual.FirstChild<T>*/), }; Node* from = this; while (from != NULL) { Node* b = uAs<Node*>(from, __type->U(0)); if (b != NULL) return b; ::g::Fuse::Visual* v = uAs< ::g::Fuse::Visual*>(from, ::TYPES[21/*Fuse.Visual*/]); if (v != NULL) { Node* c = (Node*)uPtr(v)->FirstChild(__types[0]); if (c != NULL) return c; } from = uPtr(from)->ContextParent(); } return NULL; } // public T FindByType<T>() [instance] :161 uObject* Node::FindByType(uType* __type) { uType* __types[] = { __type->Precalced(0/*Fuse.Node.GetNearestAncestorOfType<T>*/), }; if (uIs(this, __type->U(0))) return uAs<uObject*>(this, __type->U(0)); return (uObject*)GetNearestAncestorOfType(__types[0]); } // public Fuse.Node FindNodeByName(Uno.UX.Selector name, [Uno.Predicate<Fuse.Node> acceptor]) [instance] :36 Node* Node::FindNodeByName(::g::Uno::UX::Selector name, uDelegate* acceptor) { Node* ret3; bool ret4; ::g::Uno::Collections::List* objs = ::g::Fuse::NameRegistry::GetObjectsWithName(name); if (objs == NULL) return NULL; int32_t bestDistance = 2147483647; Node* best = NULL; for (int32_t i = 0; i < uPtr(objs)->Count(); i++) { Node* n = (::g::Uno::Collections::List__get_Item_fn(uPtr(objs), uCRef<int32_t>(i), &ret3), ret3); if (::g::Uno::Delegate::op_Inequality(acceptor, NULL) && !(uPtr(acceptor)->Invoke(&ret4, 1, n), ret4)) continue; int32_t dist = DistanceTo(n, bestDistance); if (dist < bestDistance) { bestDistance = dist; best = n; } if (bestDistance == 0) return best; } return best; } // public T GetNearestAncestorOfType<T>() [instance] :167 uObject* Node::GetNearestAncestorOfType(uType* __type) { Node* current = Parent(); while (current != NULL) { if (uIs(current, __type->U(0))) return uAs<uObject*>(current, __type->U(0)); current = uPtr(current)->Parent(); } return NULL; } // private bool HasInSubtree(Fuse.Node c) [instance] :77 bool Node::HasInSubtree(Node* c) { if (c == this) return true; if (c != NULL) { ::g::Fuse::Visual* p = uPtr(c)->Parent(); if (p != NULL) return HasInSubtree(p); } return false; } // public void Insert(int index, Fuse.Binding item) [instance] :107 void Node::Insert(int32_t index, ::g::Fuse::Binding* item) { if (_bindings == NULL) _bindings = item; else { if (uIs((uObject*)_bindings, ::g::Fuse::Binding_typeof())) MakeBindingList(NULL); ::g::Uno::Collections::List__Insert_fn(uPtr(BindingList()), uCRef<int32_t>(index), item); } Root(item); } // internal bool get_IsPreservedRootFrame() [instance] :202 bool Node::IsPreservedRootFrame() { return _preservedRootFrame == ::g::Fuse::UpdateManager::FrameIndex(); } // public bool get_IsRootingCompleted() [instance] :39 bool Node::IsRootingCompleted() { return _rootStage == 2; } // public bool get_IsRootingStarted() [instance] :29 bool Node::IsRootingStarted() { return (_rootStage == 1) || (_rootStage == 2); } // internal bool get_IsUnrooted() [instance] :43 bool Node::IsUnrooted() { return _rootStage == 0; } // internal bool get_IsUnrooting() [instance] :41 bool Node::IsUnrooting() { return _rootStage == 3; } // private void MakeBindingList(Fuse.Binding newItem) [instance] :21 void Node::MakeBindingList(::g::Fuse::Binding* newItem) { ::g::Uno::Collections::List* list = (::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[83/*Uno.Collections.List`1*/]->MakeType(::g::Fuse::Binding_typeof(), NULL)); ::g::Fuse::Binding* oldItem = uAs< ::g::Fuse::Binding*>(_bindings, ::g::Fuse::Binding_typeof()); if (oldItem != NULL) ::g::Uno::Collections::List__Add_fn(uPtr(list), oldItem); if (newItem != NULL) ::g::Uno::Collections::List__Add_fn(uPtr(list), newItem); _bindings = list; } // public Uno.UX.Selector get_Name() [instance] :14 ::g::Uno::UX::Selector Node::Name() { return _name; } // public void set_Name(Uno.UX.Selector value) [instance] :15 void Node::Name(::g::Uno::UX::Selector value) { if (::g::Uno::UX::Selector__op_Inequality(_name, value)) { _name = value; if (IsRootingStarted()) ::g::Fuse::NameRegistry::SetName(this, _name); } } // public T NextSibling<T>() [instance] :23 Node* Node::NextSibling(uType* __type) { Node* n = _nextSibling; while (n != NULL) { Node* v = uAs<Node*>(n, __type->U(0)); if (v != NULL) return v; n = uPtr(n)->_nextSibling; } return NULL; } // internal int get_NodeDepth() [instance] :63 int32_t Node::NodeDepth() { ::g::Fuse::Visual* n = Parent(); int32_t c = 0; while (n != NULL) { c++; n = uPtr(n)->Parent(); } return c; } // public void OnDataChanged(string key, object newValue) [instance] :193 void Node::OnDataChanged(uString* key, uObject* newValue) { bool ret5; uObject* ret6; if (!CheckDataKey(key)) return; ::g::Uno::Collections::List* listeners; if ((::g::Uno::Collections::Dictionary__TryGetValue_fn(uPtr(Node::_dataListeners_), key, (void**)(&listeners), &ret5), ret5)) for (int32_t i = 0; i < uPtr(listeners)->Count(); i++) Node__IDataListener::OnDataChanged(uInterface(uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(listeners), uCRef<int32_t>(i), &ret6), ret6)), ::TYPES[6/*Fuse.Node.IDataListener*/])); } // public Fuse.Visual get_Parent() [instance] :58 ::g::Fuse::Visual* Node::Parent() { return _parent; } // public T PreviousSibling<T>() [instance] :36 Node* Node::PreviousSibling(uType* __type) { Node* n = (Node*)::g::Fuse::Internal::RawPointer::op_Explicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(__type->Base, NULL), _previousSibling); while (n != NULL) { Node* v = uAs<Node*>(n, __type->U(0)); if (v != NULL) return v; n = (Node*)::g::Fuse::Internal::RawPointer::op_Explicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(__type->Base, NULL), uPtr(n)->_previousSibling); } return NULL; } // public Fuse.Properties get_Properties() [instance] :48 ::g::Fuse::Properties* Node::Properties() { if (_properties == NULL) _properties = ::g::Fuse::Properties::New1(); return _properties; } // public bool Remove(Fuse.Binding item) [instance] :79 bool Node::Remove(::g::Fuse::Binding* item) { bool ret7; Unroot(item); if (_bindings == item) { _bindings = NULL; return true; } if ((_bindings == NULL) || uIs((uObject*)_bindings, ::g::Fuse::Binding_typeof())) return false; return (::g::Uno::Collections::List__Remove_fn(uPtr(BindingList()), item, &ret7), ret7); } // private void RemoveDataListener(Fuse.Node.DataType type, string key, Fuse.Node.IDataListener listener) [instance] :224 void Node::RemoveDataListener(int32_t type, uString* key, uObject* listener) { bool ret8; ::g::Uno::Collections::List* ret9; if ((type == 1) && ::g::Uno::String::op_Equality(key, NULL)) key = ::STRINGS[25/*""*/]; if (!CheckDataKey(key)) return; ::g::Uno::Collections::List__Remove_fn(uPtr((::g::Uno::Collections::Dictionary__get_Item_fn(uPtr(Node::_dataListeners_), key, &ret9), ret9)), listener, &ret8); } // private void Root(Fuse.Binding b) [instance] :30 void Node::Root(::g::Fuse::Binding* b) { if (IsRootingStarted()) uPtr(b)->Root(this); } // private void RootBindings() [instance] :40 void Node::RootBindings() { ::g::Fuse::Binding* ret10; if (_bindings == NULL) return; if (Binding() != NULL) uPtr(Binding())->Root(this); else { ::g::Uno::Collections::List* bl = BindingList(); for (int32_t i = 0; i < uPtr(bl)->Count(); i++) uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(bl), uCRef<int32_t>(i), &ret10), ret10))->Root(this); } } // internal generated void add_RootingCompleted(Uno.Action value) [instance] :134 void Node::add_RootingCompleted(uDelegate* value) { RootingCompleted1 = uCast<uDelegate*>(::g::Uno::Delegate::Combine(RootingCompleted1, value), ::TYPES[1/*Uno.Action*/]); } // internal generated void remove_RootingCompleted(Uno.Action value) [instance] :134 void Node::remove_RootingCompleted(uDelegate* value) { RootingCompleted1 = uCast<uDelegate*>(::g::Uno::Delegate::Remove(RootingCompleted1, value), ::TYPES[1/*Uno.Action*/]); } // internal void RootInternal(Fuse.Visual parent) [instance] :87 void Node::RootInternal(::g::Fuse::Visual* parent) { bool captured = Node::CaptureRooting(); { try { { RootInternalImpl(parent); } } catch (const uThrowable& __t) { { Node::ReleaseRooting(captured); } throw __t; goto __after_finally_2; } { Node::ReleaseRooting(captured); } __after_finally_2:; } } // private void RootInternalImpl(Fuse.Visual parent) [instance] :100 void Node::RootInternalImpl(::g::Fuse::Visual* parent) { if (_rootStage != 0) U_THROW(::g::Uno::Exception::New2(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(uString::Const("Incomplete or duplicate rooting: "), this), uString::Const("/")), ::g::Uno::UX::Selector__op_Implicit2(Name())))); if (_parent != NULL) { if (_parent != parent) U_THROW(::g::Uno::Exception::New2(uString::Const("Node is already rooted with a different parent"))); else return; } _rootStage = 1; _parent = parent; if (::g::Uno::String::op_Inequality(::g::Uno::UX::Selector__op_Implicit2(Name()), NULL)) ::g::Fuse::NameRegistry::SetName(this, Name()); OnRooted(); _rootStage = 2; if (::g::Uno::Delegate::op_Inequality(RootingCompleted1, NULL)) uPtr(RootingCompleted1)->InvokeVoid(); if (_rootStage != 2) U_THROW(::g::Uno::Exception::New2(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(uString::Const("Invalid RootStage post rooting: "), this), uString::Const("/")), ::g::Uno::UX::Selector__op_Implicit2(Name())))); } // public generated string get_SourceFileName() [instance] :183 uString* Node::SourceFileName() { return _SourceFileName; } // public generated void set_SourceFileName(string value) [instance] :183 void Node::SourceFileName(uString* value) { _SourceFileName = value; } // public generated int get_SourceLineNumber() [instance] :180 int32_t Node::SourceLineNumber() { return _SourceLineNumber; } // public generated void set_SourceLineNumber(int value) [instance] :180 void Node::SourceLineNumber(int32_t value) { _SourceLineNumber = value; } // internal Fuse.Node.NodeDataSubscription SubscribeData(string key, Fuse.Node.IDataListener listener) [instance] :242 Node__NodeDataSubscription* Node::SubscribeData(uString* key, uObject* listener) { if (!IsRootingStarted()) ::g::Fuse::Diagnostics::InternalError(uString::Const("SubscribeData called prior to rooting"), this, uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.Nodes\\1.9.0\\Node.DataContext.uno"), 246, uString::Const("SubscribeData")); if (::g::Uno::String::op_Equality(key, ::STRINGS[25/*""*/])) ::g::Fuse::Diagnostics::UserError(uString::Const("Binding to an empty key, `{}`, is deprecated due to ambiguity. Use the `data()` expression instead."), this, uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.Nodes\\1.9.0\\Node.DataContext.uno"), 253, uString::Const("SubscribeData"), NULL); Node__NodeDataSubscription* dw = Node__NodeDataSubscription::New1(this, 0, key, listener); return dw; } // internal Fuse.Node.NodeDataSubscription SubscribePrimeDataContext(Fuse.Node.IDataListener listener) [instance] :260 Node__NodeDataSubscription* Node::SubscribePrimeDataContext(uObject* listener) { if (!IsRootingStarted()) ::g::Fuse::Diagnostics::InternalError(uString::Const("SubscribeData called prior to rooting"), this, uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.Nodes\\1.9.0\\Node.DataContext.uno"), 264, uString::Const("SubscribePrimeDataContext")); Node__NodeDataSubscription* dw = Node__NodeDataSubscription::New1(this, 1, NULL, listener); return dw; } // private bool TryFindData(Fuse.Node.DataType type, string key, object& result, Fuse.IObject& provider) [instance] :76 bool Node::TryFindData(int32_t type, uString* key, uObject** result, uObject** provider) { *result = NULL; *provider = NULL; if (type == 1) { if (::g::Uno::String::op_Inequality(key, NULL)) { ::g::Fuse::Diagnostics::InternalError(uString::Const("Invalid key for DataType.Prime"), this, uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.Nodes\\1.9.0\\Node.DataContext.uno"), 85, uString::Const("TryFindData")); return false; } } Node* n = this; while (n != NULL) { Node* np = uPtr(n)->ContextParent(); if (np != NULL) { uObject* subdp = uAs<uObject*>(np, Node__ISubtreeDataProvider_typeof()); if (subdp != NULL) { uObject* data; int32_t sr = Node__ISubtreeDataProvider::TryGetDataProvider(uInterface(uPtr(subdp), Node__ISubtreeDataProvider_typeof()), n, type, &data); if (AcquireData(type, key, data, result, provider)) return true; if (sr == 2) return true; if (sr == 1) return false; } } ::g::Fuse::Visual* p = uAs< ::g::Fuse::Visual*>(np, ::TYPES[21/*Fuse.Visual*/]); if (p != NULL) for (Node* dp = (Node*)uPtr(p)->LastChild(::TYPES[21/*Fuse.Visual*/]->MakeMethod(7/*LastChild<Fuse.Node>*/, Node_typeof(), NULL)); dp != NULL; dp = (Node*)uPtr(dp)->PreviousSibling(Node_typeof()->MakeMethod(4/*PreviousSibling<Fuse.Node>*/, Node_typeof(), NULL))) { uObject* sdp = uAs<uObject*>(dp, Node__ISiblingDataProvider_typeof()); if (sdp != NULL) { uObject* data1; int32_t sr1 = Node__ISiblingDataProvider::TryGetDataProvider(uInterface(uPtr(sdp), Node__ISiblingDataProvider_typeof()), type, &data1); if (AcquireData(type, key, data1, result, provider)) return true; if (sr1 == 2) return true; if (sr1 == 1) return false; } } n = uPtr(n)->ContextParent(); } return false; } // internal bool TryGetPrimeDataContext(object& result) [instance] :46 bool Node::TryGetPrimeDataContext(uObject** result) { uObject* providerIgnore = NULL; return TryFindData(1, NULL, result, &providerIgnore); } // private void Unroot(Fuse.Binding b) [instance] :35 void Node::Unroot(::g::Fuse::Binding* b) { if (IsRootingStarted()) uPtr(b)->Unroot(); } // private void UnrootBindings() [instance] :52 void Node::UnrootBindings() { ::g::Fuse::Binding* ret16; if (_bindings == NULL) return; if (Binding() != NULL) uPtr(Binding())->Unroot(); else { ::g::Uno::Collections::List* bl = BindingList(); for (int32_t i = 0; i < uPtr(bl)->Count(); i++) uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(bl), uCRef<int32_t>(i), &ret16), ret16))->Unroot(); } } // internal generated void add_Unrooted(Uno.Action value) [instance] :144 void Node::add_Unrooted(uDelegate* value) { Unrooted1 = uCast<uDelegate*>(::g::Uno::Delegate::Combine(Unrooted1, value), ::TYPES[1/*Uno.Action*/]); } // internal generated void remove_Unrooted(Uno.Action value) [instance] :144 void Node::remove_Unrooted(uDelegate* value) { Unrooted1 = uCast<uDelegate*>(::g::Uno::Delegate::Remove(Unrooted1, value), ::TYPES[1/*Uno.Action*/]); } // internal void UnrootInternal() [instance] :152 void Node::UnrootInternal() { if (_rootStage == 0) return; if (_rootStage != 2) U_THROW(::g::Uno::Exception::New2(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition2(::g::Uno::String::op_Addition1(uString::Const("Incomplete or duplicate unrooting: "), this), uString::Const("/")), ::g::Uno::UX::Selector__op_Implicit2(Name())))); _rootStage = 3; OnUnrooted(); if (::g::Uno::Delegate::op_Inequality(Unrooted1, NULL)) uPtr(Unrooted1)->InvokeVoid(); if (::g::Uno::String::op_Inequality(::g::Uno::UX::Selector__op_Implicit2(Name()), NULL)) ::g::Fuse::NameRegistry::ClearName(this); OverrideContextParent = NULL; SoftDispose(); _parent = NULL; _rootStage = 0; } // private static object _createWatcher(Fuse.Scripting.Context c, Fuse.Node n, object[] args) [static] :19 uObject* Node::_createWatcher(::g::Fuse::Scripting::Context* c, Node* n, uArray* args) { Node_typeof()->Init(); uString* key = uCast<uString*>(uPtr(args)->Strong<uObject*>(0), ::TYPES[24/*string*/]); ::g::Fuse::Scripting::Function* callback = uCast< ::g::Fuse::Scripting::Function*>(args->Strong<uObject*>(1), ::g::Fuse::Scripting::Function_typeof()); return ::g::Fuse::Scripting::External::New1(Node__DataWatcher::New1(n, c, callback, key)); } // private static object _destroyWatcher(Fuse.Scripting.Context c, Fuse.Node n, object[] args) [static] :26 uObject* Node::_destroyWatcher(::g::Fuse::Scripting::Context* c, Node* n, uArray* args) { Node_typeof()->Init(); if (uPtr(args)->Strong<uObject*>(0) != NULL) { Node__DataWatcher* watcher = uCast<Node__DataWatcher*>(uPtr(uCast< ::g::Fuse::Scripting::External*>(uPtr(args)->Strong<uObject*>(0), ::g::Fuse::Scripting::External_typeof()))->Object, Node__DataWatcher_typeof()); uPtr(watcher)->Dispose(); } return NULL; } // internal static bool CaptureRooting() [static] :57 bool Node::CaptureRooting() { Node_typeof()->Init(); if (Node::_hasRootCapture_) return false; Node::_rootCaptureIndex_++; if (Node::_rootCaptureIndex_ < 1) Node::_rootCaptureIndex_ = 1; Node::_hasRootCapture_ = true; return true; } // private static bool Contains(string[] strs, string s) [static] :166 bool Node::Contains(uArray* strs, uString* s) { Node_typeof()->Init(); for (int32_t i = 0; i < uPtr(strs)->Length(); i++) if (::g::Uno::String::op_Equality(uPtr(strs)->Strong<uString*>(i), s)) return true; return false; } // internal static bool IsRootCapture(int index) [static] :52 bool Node::IsRootCapture(int32_t index) { Node_typeof()->Init(); return Node::_hasRootCapture_ && (index == Node::_rootCaptureIndex_); } // private static void LaterReleaseRooting() [static] :79 void Node::LaterReleaseRooting() { Node_typeof()->Init(); Node::_hasRootCapture_ = false; } // internal static void Relate(Fuse.Visual parent, Fuse.Node child) [static] :179 void Node::Relate(::g::Fuse::Visual* parent, Node* child) { Node_typeof()->Init(); if (child != NULL) { if (uPtr(parent)->ShouldRootChildren()) uPtr(child)->RootInternal(parent); } } // internal static void ReleaseRooting(bool captured) [static] :70 void Node::ReleaseRooting(bool captured) { Node_typeof()->Init(); if (!captured) return; ::g::Fuse::UpdateManager::AddDeferredAction3(Node::_laterReleaseRooting_, 1); } // internal static void Unrelate(Fuse.Visual parent, Fuse.Node child) [static] :187 void Node::Unrelate(::g::Fuse::Visual* parent, Node* child) { Node_typeof()->Init(); if ((child != NULL) && !uPtr(child)->IsUnrooting()) uPtr(child)->UnrootInternal(); } // internal static int get_RootCaptureIndex() [static] :51 int32_t Node::RootCaptureIndex() { Node_typeof()->Init(); return Node::_rootCaptureIndex_; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Node.DataContext.uno // --------------------------------------------------------------------------------------- // internal sealed class Node.NodeDataSubscription :277 // { static void Node__NodeDataSubscription_build(uType* type) { ::TYPES[6] = ::g::Fuse::Node__IDataListener_typeof(); type->SetInterfaces( ::TYPES[6/*Fuse.Node.IDataListener*/], offsetof(Node__NodeDataSubscription_type, interface0), ::g::Uno::IDisposable_typeof(), offsetof(Node__NodeDataSubscription_type, interface1)); type->SetFields(0, ::g::Fuse::Node__DataType_typeof(), offsetof(Node__NodeDataSubscription, _type), 0, ::g::Uno::String_typeof(), offsetof(Node__NodeDataSubscription, _key), 0, ::g::Uno::Bool_typeof(), offsetof(Node__NodeDataSubscription, _hasData), 0, uObject_typeof(), offsetof(Node__NodeDataSubscription, _data), 0, ::g::Fuse::IObject_typeof(), offsetof(Node__NodeDataSubscription, _provider), 0, ::g::Fuse::Node_typeof(), offsetof(Node__NodeDataSubscription, _origin), 0, ::TYPES[6/*Fuse.Node.IDataListener*/], offsetof(Node__NodeDataSubscription, _listener), 0); } Node__NodeDataSubscription_type* Node__NodeDataSubscription_typeof() { static uSStrong<Node__NodeDataSubscription_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 7; options.InterfaceCount = 2; options.ObjectSize = sizeof(Node__NodeDataSubscription); options.TypeSize = sizeof(Node__NodeDataSubscription_type); type = (Node__NodeDataSubscription_type*)uClassType::New("Fuse.Node.NodeDataSubscription", options); type->fp_build_ = Node__NodeDataSubscription_build; type->interface0.fp_OnDataChanged = (void(*)(uObject*))Node__NodeDataSubscription__FuseNodeIDataListenerOnDataChanged_fn; type->interface1.fp_Dispose = (void(*)(uObject*))Node__NodeDataSubscription__Dispose_fn; return type; } // internal NodeDataSubscription(Fuse.Node origin, Fuse.Node.DataType type, string key, Fuse.Node.IDataListener listener) :295 void Node__NodeDataSubscription__ctor__fn(Node__NodeDataSubscription* __this, ::g::Fuse::Node* origin, int32_t* type, uString* key, uObject* listener) { __this->ctor_(origin, *type, key, listener); } // public object get_Data() :288 void Node__NodeDataSubscription__get_Data_fn(Node__NodeDataSubscription* __this, uObject** __retval) { *__retval = __this->Data(); } // public void Dispose() :317 void Node__NodeDataSubscription__Dispose_fn(Node__NodeDataSubscription* __this) { __this->Dispose(); } // private void Fuse.Node.IDataListener.OnDataChanged() :307 void Node__NodeDataSubscription__FuseNodeIDataListenerOnDataChanged_fn(Node__NodeDataSubscription* __this) { if (__this->_origin == NULL) return; __this->_hasData = uPtr(__this->_origin)->TryFindData(__this->_type, __this->_key, &__this->_data, &__this->_provider); if (__this->_listener != NULL) ::g::Fuse::Node__IDataListener::OnDataChanged(uInterface(uPtr(__this->_listener), ::TYPES[6/*Fuse.Node.IDataListener*/])); } // public bool get_HasData() :286 void Node__NodeDataSubscription__get_HasData_fn(Node__NodeDataSubscription* __this, bool* __retval) { *__retval = __this->HasData(); } // internal NodeDataSubscription New(Fuse.Node origin, Fuse.Node.DataType type, string key, Fuse.Node.IDataListener listener) :295 void Node__NodeDataSubscription__New1_fn(::g::Fuse::Node* origin, int32_t* type, uString* key, uObject* listener, Node__NodeDataSubscription** __retval) { *__retval = Node__NodeDataSubscription::New1(origin, *type, key, listener); } // public Fuse.IObject get_Provider() :290 void Node__NodeDataSubscription__get_Provider_fn(Node__NodeDataSubscription* __this, uObject** __retval) { *__retval = __this->Provider(); } // internal NodeDataSubscription(Fuse.Node origin, Fuse.Node.DataType type, string key, Fuse.Node.IDataListener listener) [instance] :295 void Node__NodeDataSubscription::ctor_(::g::Fuse::Node* origin, int32_t type, uString* key, uObject* listener) { _type = type; _key = key; _origin = origin; _hasData = uPtr(_origin)->TryFindData(_type, _key, &_data, &_provider); _listener = listener; if (_listener != NULL) uPtr(_origin)->AddDataListener(_type, _key, (uObject*)this); } // public object get_Data() [instance] :288 uObject* Node__NodeDataSubscription::Data() { return _data; } // public void Dispose() [instance] :317 void Node__NodeDataSubscription::Dispose() { if (_listener != NULL) uPtr(_origin)->RemoveDataListener(_type, _key, (uObject*)this); _origin = NULL; _listener = NULL; _hasData = false; _data = NULL; _provider = NULL; } // public bool get_HasData() [instance] :286 bool Node__NodeDataSubscription::HasData() { return _hasData; } // public Fuse.IObject get_Provider() [instance] :290 uObject* Node__NodeDataSubscription::Provider() { return _provider; } // internal NodeDataSubscription New(Fuse.Node origin, Fuse.Node.DataType type, string key, Fuse.Node.IDataListener listener) [static] :295 Node__NodeDataSubscription* Node__NodeDataSubscription::New1(::g::Fuse::Node* origin, int32_t type, uString* key, uObject* listener) { Node__NodeDataSubscription* obj1 = (Node__NodeDataSubscription*)uNew(Node__NodeDataSubscription_typeof()); obj1->ctor_(origin, type, key, listener); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\NodeGroup.uno // -------------------------------------------------------------------------------- // public abstract class NodeGroupBase :16 // { static void NodeGroupBase_build(uType* type) { type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(::g::Fuse::Node_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(::g::Fuse::Node_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(::g::Fuse::Node_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(::g::Fuse::Node_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface6)); type->SetFields(17, ::g::Uno::Collections::RootableList_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), offsetof(NodeGroupBase, _nodes), 0, ::g::Fuse::TemplateSourceImpl_typeof(), offsetof(NodeGroupBase, _templates), 0, ::g::Uno::Bool_typeof(), offsetof(NodeGroupBase, _useTemplates), 0, ::g::Uno::Bool_typeof(), offsetof(NodeGroupBase, _useContent), 0, ::g::Uno::Collections::RootableList_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL), offsetof(NodeGroupBase, _resources), 0, ::g::Uno::Bool_typeof(), offsetof(NodeGroupBase, _contentAdded), 0, ::g::Fuse::Node_typeof()->Array(), offsetof(NodeGroupBase, _addedNodes), 0); } ::g::Fuse::Node_type* NodeGroupBase_typeof() { static uSStrong< ::g::Fuse::Node_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Behavior_typeof(); options.FieldCount = 24; options.InterfaceCount = 7; options.ObjectSize = sizeof(NodeGroupBase); options.TypeSize = sizeof(::g::Fuse::Node_type); type = (::g::Fuse::Node_type*)uClassType::New("Fuse.NodeGroupBase", options); type->fp_build_ = NodeGroupBase_build; type->fp_OnRooted = (void(*)(::g::Fuse::Node*))NodeGroupBase__OnRooted_fn; type->fp_OnUnrooted = (void(*)(::g::Fuse::Node*))NodeGroupBase__OnUnrooted_fn; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // internal NodeGroupBase([Fuse.NodeGroupBase.ConstructFlags flags]) :51 void NodeGroupBase__ctor_3_fn(NodeGroupBase* __this, int32_t* flags) { __this->ctor_3(*flags); } // private void AddContent() :153 void NodeGroupBase__AddContent_fn(NodeGroupBase* __this) { __this->AddContent(); } // private int get_NodeCount() :19 void NodeGroupBase__get_NodeCount_fn(NodeGroupBase* __this, int32_t* __retval) { *__retval = __this->NodeCount(); } // public Uno.Collections.IList<Fuse.Node> get_Nodes() :27 void NodeGroupBase__get_Nodes_fn(NodeGroupBase* __this, uObject** __retval) { *__retval = __this->Nodes(); } // protected void OnNodeAdded(Fuse.Node n) :75 void NodeGroupBase__OnNodeAdded_fn(NodeGroupBase* __this, ::g::Fuse::Node* n) { __this->OnNodeAdded(n); } // protected void OnNodeRemoved(Fuse.Node n) :85 void NodeGroupBase__OnNodeRemoved_fn(NodeGroupBase* __this, ::g::Fuse::Node* n) { __this->OnNodeRemoved(n); } // private void OnResourceAdded(Uno.UX.Resource r) :108 void NodeGroupBase__OnResourceAdded_fn(NodeGroupBase* __this, ::g::Uno::UX::Resource* r) { __this->OnResourceAdded(r); } // private void OnResourceRemoved(Uno.UX.Resource r) :116 void NodeGroupBase__OnResourceRemoved_fn(NodeGroupBase* __this, ::g::Uno::UX::Resource* r) { __this->OnResourceRemoved(r); } // protected override void OnRooted() :122 void NodeGroupBase__OnRooted_fn(NodeGroupBase* __this) { ::g::Fuse::Node__OnRooted_fn(__this); if (__this->UseContent()) __this->AddContent(); if (__this->_nodes != NULL) uPtr(__this->_nodes)->Subscribe(uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), (void*)NodeGroupBase__OnNodeAdded_fn, __this), uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), (void*)NodeGroupBase__OnNodeRemoved_fn, __this)); if (__this->_resources != NULL) uPtr(__this->_resources)->Subscribe(uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL), (void*)NodeGroupBase__OnResourceAdded_fn, __this), uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL), (void*)NodeGroupBase__OnResourceRemoved_fn, __this)); } // protected override void OnUnrooted() :134 void NodeGroupBase__OnUnrooted_fn(NodeGroupBase* __this) { if (__this->UseContent()) __this->RemoveContent(); if (__this->_nodes != NULL) uPtr(__this->_nodes)->Unsubscribe(); if (__this->_resources != NULL) uPtr(__this->_resources)->Unsubscribe(); ::g::Fuse::Node__OnUnrooted_fn(__this); } // private void RemoveContent() :208 void NodeGroupBase__RemoveContent_fn(NodeGroupBase* __this) { __this->RemoveContent(); } // public Uno.Collections.IList<Uno.UX.Resource> get_Resources() :96 void NodeGroupBase__get_Resources_fn(NodeGroupBase* __this, uObject** __retval) { *__retval = __this->Resources(); } // internal bool get_UseContent() :61 void NodeGroupBase__get_UseContent_fn(NodeGroupBase* __this, bool* __retval) { *__retval = __this->UseContent(); } // internal void set_UseContent(bool value) :62 void NodeGroupBase__set_UseContent_fn(NodeGroupBase* __this, bool* value) { __this->UseContent(*value); } // internal NodeGroupBase([Fuse.NodeGroupBase.ConstructFlags flags]) [instance] :51 void NodeGroupBase::ctor_3(int32_t flags) { ctor_2(); _useTemplates = !((flags & 1) == 1); } // private void AddContent() [instance] :153 void NodeGroupBase::AddContent() { ::g::Fuse::Node* ind1; ::g::Fuse::Node* ind2; ::g::Uno::UX::Resource* ret3; ::g::Fuse::Node* ret4; if (_contentAdded) return; _contentAdded = true; if (Parent() == NULL) { ::g::Fuse::Diagnostics::InternalError(uString::Const("AddContent called prior to having a Parent"), this, uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.Nodes\\1.9.0\\NodeGroup.uno"), 161, uString::Const("AddContent")); return; } if (_resources != NULL) for (int32_t i = 0; i < uPtr(_resources)->Count(); i++) ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(Parent())->Resources()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL)), (::g::Uno::Collections::RootableList__get_Item_fn(uPtr(_resources), uCRef<int32_t>(i), &ret3), ret3)); if ((NodeCount() == 0) && (_templates.Count() == 0)) return; int32_t addedNodesCount = NodeCount() + (_useTemplates ? _templates.Count() : 0); _addedNodes = uArray::New(::TYPES[61/*Fuse.Node[]*/], addedNodesCount); int32_t addedNodesAt = 0; for (int32_t i1 = 0; i1 < NodeCount(); ++i1) { ::g::Fuse::Node* n = (::g::Uno::Collections::RootableList__get_Item_fn(uPtr(_nodes), uCRef<int32_t>(i1), &ret4), ret4); uPtr(n)->OverrideContextParent = (ind1 = uPtr(n)->OverrideContextParent, ((ind1 != NULL) ? ind1 : this)); uPtr(_addedNodes)->Strong< ::g::Fuse::Node*>(addedNodesAt++) = n; } if (_useTemplates) for (int32_t i2 = 0; i2 < _templates.Count(); ++i2) { ::g::Fuse::Node* n1 = uAs< ::g::Fuse::Node*>(uPtr(_templates.Item(i2))->New1(), ::TYPES[22/*Fuse.Node*/]); if (n1 == NULL) { ::g::Fuse::Diagnostics::InternalError(uString::Const("Template contains a non-Node"), this, uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.Nodes\\1.9.0\\NodeGroup.uno"), 194, uString::Const("AddContent")); n1 = NodeGroupBase__EmptyNode::New2(); } uPtr(n1)->OverrideContextParent = (ind2 = uPtr(n1)->OverrideContextParent, ((ind2 != NULL) ? ind2 : this)); uPtr(_addedNodes)->Strong< ::g::Fuse::Node*>(addedNodesAt++) = n1; } if (addedNodesAt != addedNodesCount) U_THROW(::g::Uno::Exception::New2(uString::Const("mismatch in added nodes"))); uPtr(Parent())->InsertNodesAfter(this, (uObject*)::g::Uno::Collections::IEnumerable::GetEnumerator(uInterface((uObject*)((::g::Uno::Runtime::Implementation::Internal::ArrayEnumerable*)::g::Uno::Runtime::Implementation::Internal::ArrayEnumerable::New1(::g::Uno::Runtime::Implementation::Internal::ArrayEnumerable_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), _addedNodes)), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL)))); } // private int get_NodeCount() [instance] :19 int32_t NodeGroupBase::NodeCount() { return (_nodes == NULL) ? 0 : uPtr(_nodes)->Count(); } // public Uno.Collections.IList<Fuse.Node> get_Nodes() [instance] :27 uObject* NodeGroupBase::Nodes() { if (_nodes == NULL) { _nodes = ((::g::Uno::Collections::RootableList*)::g::Uno::Collections::RootableList::New1(::g::Uno::Collections::RootableList_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL))); if (IsRootingCompleted()) uPtr(_nodes)->Subscribe(uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), (void*)NodeGroupBase__OnNodeAdded_fn, this), uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), (void*)NodeGroupBase__OnNodeRemoved_fn, this)); } return (uObject*)_nodes; } // protected void OnNodeAdded(Fuse.Node n) [instance] :75 void NodeGroupBase::OnNodeAdded(::g::Fuse::Node* n) { if (IsRootingCompleted() && UseContent()) { RemoveContent(); AddContent(); } } // protected void OnNodeRemoved(Fuse.Node n) [instance] :85 void NodeGroupBase::OnNodeRemoved(::g::Fuse::Node* n) { if (IsRootingCompleted() && UseContent()) uPtr(Parent())->BeginRemoveChild(n, NULL); } // private void OnResourceAdded(Uno.UX.Resource r) [instance] :108 void NodeGroupBase::OnResourceAdded(::g::Uno::UX::Resource* r) { if (IsRootingCompleted() && UseContent()) ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(Parent())->Resources()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL)), r); } // private void OnResourceRemoved(Uno.UX.Resource r) [instance] :116 void NodeGroupBase::OnResourceRemoved(::g::Uno::UX::Resource* r) { bool ret5; if (IsRootingCompleted() && UseContent()) ::g::Uno::Collections::ICollection::Remove_ex(uInterface(uPtr(uPtr(Parent())->Resources()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL)), r, &ret5); } // private void RemoveContent() [instance] :208 void NodeGroupBase::RemoveContent() { bool ret6; ::g::Uno::UX::Resource* ret7; if (!_contentAdded) return; _contentAdded = false; if (Parent() == NULL) return; if (_resources != NULL) for (int32_t i = 0; i < uPtr(_resources)->Count(); i++) ::g::Uno::Collections::ICollection::Remove_ex(uInterface(uPtr(uPtr(Parent())->Resources()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL)), (::g::Uno::Collections::RootableList__get_Item_fn(uPtr(_resources), uCRef<int32_t>(i), &ret7), ret7), &ret6); if (_addedNodes != NULL) for (int32_t i1 = 0; i1 < uPtr(_addedNodes)->Length(); ++i1) { ::g::Fuse::Node* n = uPtr(_addedNodes)->Strong< ::g::Fuse::Node*>(i1); if (uPtr(n)->OverrideContextParent == this) uPtr(n)->OverrideContextParent = NULL; uPtr(Parent())->BeginRemoveChild(n, NULL); } _addedNodes = NULL; } // public Uno.Collections.IList<Uno.UX.Resource> get_Resources() [instance] :96 uObject* NodeGroupBase::Resources() { if (_resources == NULL) { _resources = ((::g::Uno::Collections::RootableList*)::g::Uno::Collections::RootableList::New1(::g::Uno::Collections::RootableList_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL))); if (IsRootingCompleted()) uPtr(_resources)->Subscribe(uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL), (void*)NodeGroupBase__OnResourceAdded_fn, this), uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL), (void*)NodeGroupBase__OnResourceRemoved_fn, this)); } return (uObject*)_resources; } // internal bool get_UseContent() [instance] :61 bool NodeGroupBase::UseContent() { return _useContent; } // internal void set_UseContent(bool value) [instance] :62 void NodeGroupBase::UseContent(bool value) { if (value == _useContent) return; _useContent = value; if (IsRootingStarted() && _useContent) AddContent(); else if (!_useContent) RemoveContent(); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // internal sealed class NumberComputer :102 // { static void NumberComputer_build(uType* type) { type->SetBase(::g::Fuse::Computer1_typeof()->MakeType(::g::Uno::Double_typeof(), NULL)); type->SetDependencies( ::g::Uno::Math_typeof()); } ::g::Fuse::Computer1_type* NumberComputer_typeof() { static uSStrong< ::g::Fuse::Computer1_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Computer1_typeof(); options.DependencyCount = 1; options.ObjectSize = sizeof(NumberComputer); options.TypeSize = sizeof(::g::Fuse::Computer1_type); type = (::g::Fuse::Computer1_type*)uClassType::New("Fuse.NumberComputer", options); type->fp_build_ = NumberComputer_build; type->fp_ctor_ = (void*)NumberComputer__New1_fn; type->fp_TryOpImpl = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, bool*, bool*))NumberComputer__TryOpImpl_fn; type->fp_TryOpImpl1 = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, uTRef, bool*))NumberComputer__TryOpImpl1_fn; return type; } // public generated NumberComputer() :102 void NumberComputer__ctor_2_fn(NumberComputer* __this) { __this->ctor_2(); } // public generated NumberComputer New() :102 void NumberComputer__New1_fn(NumberComputer** __retval) { *__retval = NumberComputer::New1(); } // protected override sealed bool TryOpImpl(Fuse.Computer.BoolOp op, double a, double b, bool& result) :120 void NumberComputer__TryOpImpl_fn(NumberComputer* __this, int32_t* op, double* a, double* b, bool* result, bool* __retval) { int32_t op_ = *op; double a_ = *a; double b_ = *b; switch (op_) { case 4: { *result = a_ == b_; return *__retval = true, void(); } case 0: { *result = a_ < b_; return *__retval = true, void(); } case 1: { *result = a_ <= b_; return *__retval = true, void(); } case 2: { *result = a_ > b_; return *__retval = true, void(); } case 3: { *result = a_ >= b_; return *__retval = true, void(); } } *result = false; return *__retval = false, void(); } // protected override sealed bool TryOpImpl(Fuse.Computer.TypeOp op, double a, double b, double& result) :104 void NumberComputer__TryOpImpl1_fn(NumberComputer* __this, int32_t* op, double* a, double* b, double* result, bool* __retval) { int32_t op_ = *op; double a_ = *a; double b_ = *b; switch (op_) { case 0: { *result = a_ + b_; return *__retval = true, void(); } case 1: { *result = a_ - b_; return *__retval = true, void(); } case 2: { *result = a_ * b_; return *__retval = true, void(); } case 3: { *result = a_ / b_; return *__retval = true, void(); } case 4: { *result = ::g::Uno::Math::Min(a_, b_); return *__retval = true, void(); } case 5: { *result = ::g::Uno::Math::Max(a_, b_); return *__retval = true, void(); } } *result = 0.0; return *__retval = false, void(); } // public generated NumberComputer() [instance] :102 void NumberComputer::ctor_2() { ctor_1(); } // public generated NumberComputer New() [static] :102 NumberComputer* NumberComputer::New1() { NumberComputer* obj1 = (NumberComputer*)uNew(NumberComputer_typeof()); obj1->ctor_2(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Json.Parse.uno // ---------------------------------------------------------------------------------- // internal sealed class Json.Object :55 // { static void Json__Object_build(uType* type) { ::TYPES[48] = ::g::Uno::Collections::EnumerableExtensions_typeof()->MakeMethod(5/*ToArray<string>*/, ::g::Uno::String_typeof(), NULL); type->SetInterfaces( ::g::Fuse::IObject_typeof(), offsetof(Json__Object_type, interface0)); type->SetFields(0, ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::String_typeof(), uObject_typeof(), NULL), offsetof(Json__Object, _dict), 0); } Json__Object_type* Json__Object_typeof() { static uSStrong<Json__Object_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.InterfaceCount = 1; options.ObjectSize = sizeof(Json__Object); options.TypeSize = sizeof(Json__Object_type); type = (Json__Object_type*)uClassType::New("Fuse.Json.Object", options); type->fp_build_ = Json__Object_build; type->interface0.fp_ContainsKey = (void(*)(uObject*, uString*, bool*))Json__Object__ContainsKey_fn; type->interface0.fp_get_Item = (void(*)(uObject*, uString*, uObject**))Json__Object__get_Item_fn; type->interface0.fp_get_Keys = (void(*)(uObject*, uArray**))Json__Object__get_Keys_fn; return type; } // public Object(Uno.Collections.Dictionary<string, object> dict) :59 void Json__Object__ctor__fn(Json__Object* __this, ::g::Uno::Collections::Dictionary* dict) { __this->ctor_(dict); } // public bool ContainsKey(string key) :69 void Json__Object__ContainsKey_fn(Json__Object* __this, uString* key, bool* __retval) { *__retval = __this->ContainsKey(key); } // public object get_Item(string key) :76 void Json__Object__get_Item_fn(Json__Object* __this, uString* key, uObject** __retval) { *__retval = __this->Item(key); } // public string[] get_Keys() :66 void Json__Object__get_Keys_fn(Json__Object* __this, uArray** __retval) { *__retval = __this->Keys(); } // public Object New(Uno.Collections.Dictionary<string, object> dict) :59 void Json__Object__New1_fn(::g::Uno::Collections::Dictionary* dict, Json__Object** __retval) { *__retval = Json__Object::New1(dict); } // public Object(Uno.Collections.Dictionary<string, object> dict) [instance] :59 void Json__Object::ctor_(::g::Uno::Collections::Dictionary* dict) { _dict = dict; } // public bool ContainsKey(string key) [instance] :69 bool Json__Object::ContainsKey(uString* key) { bool ret2; return (::g::Uno::Collections::Dictionary__ContainsKey_fn(uPtr(_dict), key, &ret2), ret2); } // public object get_Item(string key) [instance] :76 uObject* Json__Object::Item(uString* key) { uObject* ret3; return (::g::Uno::Collections::Dictionary__get_Item_fn(uPtr(_dict), key, &ret3), ret3); } // public string[] get_Keys() [instance] :66 uArray* Json__Object::Keys() { return (uArray*)::g::Uno::Collections::EnumerableExtensions::ToArray(::TYPES[48/*Uno.Collections.EnumerableExtensions.ToArray<string>*/], (uObject*)((::g::Uno::Collections::Dictionary__KeyCollection*)uPtr(_dict)->Keys())); } // public Object New(Uno.Collections.Dictionary<string, object> dict) [static] :59 Json__Object* Json__Object::New1(::g::Uno::Collections::Dictionary* dict) { Json__Object* obj1 = (Json__Object*)uNew(Json__Object_typeof()); obj1->ctor_(dict); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\OrthographicFrustum.uno // ------------------------------------------------------------------------------------------ // public sealed class OrthographicFrustum :7 // { static void OrthographicFrustum_build(uType* type) { ::TYPES[19] = ::g::Fuse::ICommonViewport_typeof(); type->SetInterfaces( ::g::Fuse::IFrustum_typeof(), offsetof(OrthographicFrustum_type, interface0)); type->SetFields(0, ::g::Uno::Bool_typeof(), offsetof(OrthographicFrustum, _hasOrigin), 0, ::g::Uno::Float2_typeof(), offsetof(OrthographicFrustum, _origin), 0, ::g::Uno::Bool_typeof(), offsetof(OrthographicFrustum, _hasSize), 0, ::g::Uno::Float2_typeof(), offsetof(OrthographicFrustum, _size), 0, ::g::Uno::Float4x4_typeof(), offsetof(OrthographicFrustum, _localFromWorld), 0, ::g::Uno::Bool_typeof(), offsetof(OrthographicFrustum, _hasLocalFromWorld), 0); } OrthographicFrustum_type* OrthographicFrustum_typeof() { static uSStrong<OrthographicFrustum_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 6; options.InterfaceCount = 1; options.ObjectSize = sizeof(OrthographicFrustum); options.TypeSize = sizeof(OrthographicFrustum_type); type = (OrthographicFrustum_type*)uClassType::New("Fuse.OrthographicFrustum", options); type->fp_build_ = OrthographicFrustum_build; type->fp_ctor_ = (void*)OrthographicFrustum__New1_fn; type->interface0.fp_TryGetProjectionTransform = (void(*)(uObject*, uObject*, ::g::Uno::Float4x4*, bool*))OrthographicFrustum__TryGetProjectionTransform_fn; type->interface0.fp_TryGetProjectionTransformInverse = (void(*)(uObject*, uObject*, ::g::Uno::Float4x4*, bool*))OrthographicFrustum__TryGetProjectionTransformInverse_fn; type->interface0.fp_GetViewTransform = (void(*)(uObject*, uObject*, ::g::Uno::Float4x4*))OrthographicFrustum__GetViewTransform_fn; type->interface0.fp_GetViewTransformInverse = (void(*)(uObject*, uObject*, ::g::Uno::Float4x4*))OrthographicFrustum__GetViewTransformInverse_fn; return type; } // public generated OrthographicFrustum() :7 void OrthographicFrustum__ctor__fn(OrthographicFrustum* __this) { __this->ctor_(); } // public float4x4 GetViewTransform(Fuse.ICommonViewport viewport) :54 void OrthographicFrustum__GetViewTransform_fn(OrthographicFrustum* __this, uObject* viewport, ::g::Uno::Float4x4* __retval) { *__retval = __this->GetViewTransform(viewport); } // public float4x4 GetViewTransformInverse(Fuse.ICommonViewport viewport) :75 void OrthographicFrustum__GetViewTransformInverse_fn(OrthographicFrustum* __this, uObject* viewport, ::g::Uno::Float4x4* __retval) { *__retval = __this->GetViewTransformInverse(viewport); } // public float4x4 get_LocalFromWorld() :40 void OrthographicFrustum__get_LocalFromWorld_fn(OrthographicFrustum* __this, ::g::Uno::Float4x4* __retval) { *__retval = __this->LocalFromWorld(); } // public void set_LocalFromWorld(float4x4 value) :41 void OrthographicFrustum__set_LocalFromWorld_fn(OrthographicFrustum* __this, ::g::Uno::Float4x4* value) { __this->LocalFromWorld(*value); } // public generated OrthographicFrustum New() :7 void OrthographicFrustum__New1_fn(OrthographicFrustum** __retval) { *__retval = OrthographicFrustum::New1(); } // public float2 get_Origin() :13 void OrthographicFrustum__get_Origin_fn(OrthographicFrustum* __this, ::g::Uno::Float2* __retval) { *__retval = __this->Origin(); } // public void set_Origin(float2 value) :14 void OrthographicFrustum__set_Origin_fn(OrthographicFrustum* __this, ::g::Uno::Float2* value) { __this->Origin(*value); } // public float2 get_Size() :25 void OrthographicFrustum__get_Size_fn(OrthographicFrustum* __this, ::g::Uno::Float2* __retval) { *__retval = __this->Size(); } // public void set_Size(float2 value) :29 void OrthographicFrustum__set_Size_fn(OrthographicFrustum* __this, ::g::Uno::Float2* value) { __this->Size(*value); } // public bool TryGetProjectionTransform(Fuse.ICommonViewport viewport, float4x4& result) :48 void OrthographicFrustum__TryGetProjectionTransform_fn(OrthographicFrustum* __this, uObject* viewport, ::g::Uno::Float4x4* result, bool* __retval) { *__retval = __this->TryGetProjectionTransform(viewport, result); } // public bool TryGetProjectionTransformInverse(Fuse.ICommonViewport viewport, float4x4& result) :68 void OrthographicFrustum__TryGetProjectionTransformInverse_fn(OrthographicFrustum* __this, uObject* viewport, ::g::Uno::Float4x4* result, bool* __retval) { *__retval = __this->TryGetProjectionTransformInverse(viewport, result); } // public generated OrthographicFrustum() [instance] :7 void OrthographicFrustum::ctor_() { _localFromWorld = ::g::Uno::Float4x4__Identity(); } // public float4x4 GetViewTransform(Fuse.ICommonViewport viewport) [instance] :54 ::g::Uno::Float4x4 OrthographicFrustum::GetViewTransform(uObject* viewport) { ::g::Uno::Float2 origin = _hasOrigin ? Origin() : ::g::Uno::Float2__New1(0.0f); ::g::Uno::Float2 viewSize = _hasSize ? Size() : ::g::Fuse::ICommonViewport::Size(uInterface(uPtr(viewport), ::TYPES[19/*Fuse.ICommonViewport*/])); ::g::Uno::Float4x4 t = ::g::Uno::Matrix::Translation((-viewSize.X / 2.0f) - origin.X, (-viewSize.Y / 2.0f) - origin.Y, -2.0f); ::g::Uno::Float4x4 s = ::g::Uno::Matrix::Scaling1(1.0f, -1.0f, 1.0f); ::g::Uno::Float4x4 ts = ::g::Uno::Matrix::Mul8(t, s); if (_hasLocalFromWorld) ts = ::g::Uno::Matrix::Mul8(LocalFromWorld(), ts); return ts; } // public float4x4 GetViewTransformInverse(Fuse.ICommonViewport viewport) [instance] :75 ::g::Uno::Float4x4 OrthographicFrustum::GetViewTransformInverse(uObject* viewport) { ::g::Uno::Float2 origin = _hasOrigin ? Origin() : ::g::Uno::Float2__New1(0.0f); ::g::Uno::Float2 viewSize = _hasSize ? Size() : ::g::Fuse::ICommonViewport::Size(uInterface(uPtr(viewport), ::TYPES[19/*Fuse.ICommonViewport*/])); ::g::Uno::Float4x4 s = ::g::Uno::Matrix::Scaling1(1.0f, -1.0f, 1.0f); ::g::Uno::Float4x4 t = ::g::Uno::Matrix::Translation((viewSize.X / 2.0f) + origin.X, (viewSize.Y / 2.0f) + origin.Y, 2.0f); ::g::Uno::Float4x4 ts = ::g::Uno::Matrix::Mul8(s, t); if (_hasLocalFromWorld) ts = ::g::Uno::Matrix::Mul8(ts, ::g::Uno::Matrix::Invert2(LocalFromWorld())); return ts; } // public float4x4 get_LocalFromWorld() [instance] :40 ::g::Uno::Float4x4 OrthographicFrustum::LocalFromWorld() { return _localFromWorld; } // public void set_LocalFromWorld(float4x4 value) [instance] :41 void OrthographicFrustum::LocalFromWorld(::g::Uno::Float4x4 value) { _localFromWorld = value; _hasLocalFromWorld = true; } // public float2 get_Origin() [instance] :13 ::g::Uno::Float2 OrthographicFrustum::Origin() { return _origin; } // public void set_Origin(float2 value) [instance] :14 void OrthographicFrustum::Origin(::g::Uno::Float2 value) { _origin = value; _hasOrigin = true; } // public float2 get_Size() [instance] :25 ::g::Uno::Float2 OrthographicFrustum::Size() { return _size; } // public void set_Size(float2 value) [instance] :29 void OrthographicFrustum::Size(::g::Uno::Float2 value) { _size = value; _hasSize = true; } // public bool TryGetProjectionTransform(Fuse.ICommonViewport viewport, float4x4& result) [instance] :48 bool OrthographicFrustum::TryGetProjectionTransform(uObject* viewport, ::g::Uno::Float4x4* result) { ::g::Uno::Float2 viewSize = _hasSize ? Size() : ::g::Fuse::ICommonViewport::Size(uInterface(uPtr(viewport), ::TYPES[19/*Fuse.ICommonViewport*/])); return ::g::Fuse::Internal::FrustumMatrix::TryOrthoRH(viewSize.X, viewSize.Y, 1.0f, 1000.0f, result); } // public bool TryGetProjectionTransformInverse(Fuse.ICommonViewport viewport, float4x4& result) [instance] :68 bool OrthographicFrustum::TryGetProjectionTransformInverse(uObject* viewport, ::g::Uno::Float4x4* result) { ::g::Uno::Float2 viewSize = _hasSize ? Size() : ::g::Fuse::ICommonViewport::Size(uInterface(uPtr(viewport), ::TYPES[19/*Fuse.ICommonViewport*/])); *result = ::g::Fuse::Internal::FrustumMatrix::OrthoRHInverse(viewSize.X, viewSize.Y, 1.0f, 1000.0f); return true; } // public generated OrthographicFrustum New() [static] :7 OrthographicFrustum* OrthographicFrustum::New1() { OrthographicFrustum* obj1 = (OrthographicFrustum*)uNew(OrthographicFrustum_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.ScriptClass.uno // ----------------------------------------------------------------------------------------- // private sealed class Visual.ParameterProperty :19 // { // static generated ParameterProperty() :19 static void Visual__ParameterProperty__cctor__fn(uType* __type) { Visual__ParameterProperty::_name1_ = ::g::Uno::UX::Selector__op_Implicit1(::STRINGS[57/*"Parameter"*/]); } static void Visual__ParameterProperty_build(uType* type) { ::STRINGS[57] = uString::Const("Parameter"); type->SetBase(::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL)); type->SetFields(1, ::g::Fuse::Visual_typeof(), offsetof(Visual__ParameterProperty, _visual), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&Visual__ParameterProperty::_name1_, uFieldFlagsStatic); } ::g::Uno::UX::Property1_type* Visual__ParameterProperty_typeof() { static uSStrong< ::g::Uno::UX::Property1_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Property1_typeof(); options.FieldCount = 3; options.ObjectSize = sizeof(Visual__ParameterProperty); options.TypeSize = sizeof(::g::Uno::UX::Property1_type); type = (::g::Uno::UX::Property1_type*)uClassType::New("Fuse.Visual.ParameterProperty", options); type->fp_build_ = Visual__ParameterProperty_build; type->fp_cctor_ = Visual__ParameterProperty__cctor__fn; type->fp_Get1 = (void(*)(::g::Uno::UX::Property1*, ::g::Uno::UX::PropertyObject*, uTRef))Visual__ParameterProperty__Get1_fn; type->fp_get_Object = (void(*)(::g::Uno::UX::Property*, ::g::Uno::UX::PropertyObject**))Visual__ParameterProperty__get_Object_fn; type->fp_Set1 = (void(*)(::g::Uno::UX::Property1*, ::g::Uno::UX::PropertyObject*, void*, uObject*))Visual__ParameterProperty__Set1_fn; type->fp_get_SupportsOriginSetter = (void(*)(::g::Uno::UX::PropertyAccessor*, bool*))Visual__ParameterProperty__get_SupportsOriginSetter_fn; return type; } // public ParameterProperty(Fuse.Visual visual) :27 void Visual__ParameterProperty__ctor_3_fn(Visual__ParameterProperty* __this, ::g::Fuse::Visual* visual) { __this->ctor_3(visual); } // public override sealed string Get(Uno.UX.PropertyObject obj) :24 void Visual__ParameterProperty__Get1_fn(Visual__ParameterProperty* __this, ::g::Uno::UX::PropertyObject* obj, uString** __retval) { return *__retval = uPtr(__this->_visual)->Parameter(), void(); } // public ParameterProperty New(Fuse.Visual visual) :27 void Visual__ParameterProperty__New1_fn(::g::Fuse::Visual* visual, Visual__ParameterProperty** __retval) { *__retval = Visual__ParameterProperty::New1(visual); } // public override sealed Uno.UX.PropertyObject get_Object() :22 void Visual__ParameterProperty__get_Object_fn(Visual__ParameterProperty* __this, ::g::Uno::UX::PropertyObject** __retval) { return *__retval = __this->_visual, void(); } // public override sealed void Set(Uno.UX.PropertyObject obj, string value, Uno.UX.IPropertyListener origin) :25 void Visual__ParameterProperty__Set1_fn(Visual__ParameterProperty* __this, ::g::Uno::UX::PropertyObject* obj, uString* value, uObject* origin) { uPtr(__this->_visual)->Parameter(value); } // public override sealed bool get_SupportsOriginSetter() :23 void Visual__ParameterProperty__get_SupportsOriginSetter_fn(Visual__ParameterProperty* __this, bool* __retval) { return *__retval = false, void(); } ::g::Uno::UX::Selector Visual__ParameterProperty::_name1_; // public ParameterProperty(Fuse.Visual visual) [instance] :27 void Visual__ParameterProperty::ctor_3(::g::Fuse::Visual* visual) { ctor_2(Visual__ParameterProperty::_name1_); _visual = visual; } // public ParameterProperty New(Fuse.Visual visual) [static] :27 Visual__ParameterProperty* Visual__ParameterProperty::New1(::g::Fuse::Visual* visual) { Visual__ParameterProperty* obj1 = (Visual__ParameterProperty*)uNew(Visual__ParameterProperty_typeof()); obj1->ctor_3(visual); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Translation.uno // ---------------------------------------------------------------------------------- // private sealed class TranslationModes.ParentSizeMode :91 // { static void TranslationModes__ParentSizeMode_build(uType* type) { ::TYPES[49] = ::g::Fuse::IActualPlacement_typeof(); ::TYPES[50] = ::g::Fuse::ITransformRelative_typeof(); ::TYPES[51] = ::g::Fuse::PlacedHandler_typeof(); type->SetDependencies( ::g::Fuse::TranslationModes_typeof()); type->SetInterfaces( ::g::Fuse::ITranslationMode_typeof(), offsetof(TranslationModes__ParentSizeMode_type, interface0), ::g::Fuse::ITransformMode_typeof(), offsetof(TranslationModes__ParentSizeMode_type, interface1)); } TranslationModes__ParentSizeMode_type* TranslationModes__ParentSizeMode_typeof() { static uSStrong<TranslationModes__ParentSizeMode_type*> type; if (type != NULL) return type; uTypeOptions options; options.InterfaceCount = 2; options.DependencyCount = 1; options.ObjectSize = sizeof(TranslationModes__ParentSizeMode); options.TypeSize = sizeof(TranslationModes__ParentSizeMode_type); type = (TranslationModes__ParentSizeMode_type*)uClassType::New("Fuse.TranslationModes.ParentSizeMode", options); type->fp_build_ = TranslationModes__ParentSizeMode_build; type->fp_ctor_ = (void*)TranslationModes__ParentSizeMode__New1_fn; type->interface0.fp_GetAbsVector = (void(*)(uObject*, ::g::Fuse::Translation*, ::g::Uno::Float3*))TranslationModes__ParentSizeMode__GetAbsVector_fn; type->interface1.fp_Subscribe = (void(*)(uObject*, uObject*, uObject**))TranslationModes__ParentSizeMode__Subscribe_fn; type->interface1.fp_Unsubscribe = (void(*)(uObject*, uObject*, uObject*))TranslationModes__ParentSizeMode__Unsubscribe_fn; return type; } // public generated ParentSizeMode() :91 void TranslationModes__ParentSizeMode__ctor__fn(TranslationModes__ParentSizeMode* __this) { __this->ctor_(); } // public float3 GetAbsVector(Fuse.Translation t) :93 void TranslationModes__ParentSizeMode__GetAbsVector_fn(TranslationModes__ParentSizeMode* __this, ::g::Fuse::Translation* t, ::g::Uno::Float3* __retval) { *__retval = __this->GetAbsVector(t); } // public generated ParentSizeMode New() :91 void TranslationModes__ParentSizeMode__New1_fn(TranslationModes__ParentSizeMode** __retval) { *__retval = TranslationModes__ParentSizeMode::New1(); } // public object Subscribe(Fuse.ITransformRelative transform) :94 void TranslationModes__ParentSizeMode__Subscribe_fn(TranslationModes__ParentSizeMode* __this, uObject* transform, uObject** __retval) { *__retval = __this->Subscribe(transform); } // public void Unsubscribe(Fuse.ITransformRelative transform, object sub) :101 void TranslationModes__ParentSizeMode__Unsubscribe_fn(TranslationModes__ParentSizeMode* __this, uObject* transform, uObject* sub) { __this->Unsubscribe(transform, sub); } // public generated ParentSizeMode() [instance] :91 void TranslationModes__ParentSizeMode::ctor_() { } // public float3 GetAbsVector(Fuse.Translation t) [instance] :93 ::g::Uno::Float3 TranslationModes__ParentSizeMode::GetAbsVector(::g::Fuse::Translation* t) { return ::g::Uno::Float3__op_Multiply2(::g::Fuse::TranslationModes::SizeOf(uPtr(uPtr(t)->RelativeNode())->Parent()), uPtr(t)->Vector()); } // public object Subscribe(Fuse.ITransformRelative transform) [instance] :94 uObject* TranslationModes__ParentSizeMode::Subscribe(uObject* transform) { uObject* n = uAs<uObject*>(uPtr(::g::Fuse::ITransformRelative::RelativeNode(uInterface(uPtr(transform), ::TYPES[50/*Fuse.ITransformRelative*/])))->Parent(), ::TYPES[49/*Fuse.IActualPlacement*/]); if (n != NULL) ::g::Fuse::IActualPlacement::add_Placed(uInterface(uPtr(n), ::TYPES[49/*Fuse.IActualPlacement*/]), uDelegate::New(::TYPES[51/*Fuse.PlacedHandler*/], uInterface(uPtr(transform), ::TYPES[50/*Fuse.ITransformRelative*/]), offsetof(::g::Fuse::ITransformRelative, fp_OnTransformChanged))); return n; } // public void Unsubscribe(Fuse.ITransformRelative transform, object sub) [instance] :101 void TranslationModes__ParentSizeMode::Unsubscribe(uObject* transform, uObject* sub) { if (sub != NULL) ::g::Fuse::IActualPlacement::remove_Placed(uInterface(uPtr(uAs<uObject*>(sub, ::TYPES[49/*Fuse.IActualPlacement*/])), ::TYPES[49/*Fuse.IActualPlacement*/]), uDelegate::New(::TYPES[51/*Fuse.PlacedHandler*/], uInterface(uPtr(transform), ::TYPES[50/*Fuse.ITransformRelative*/]), offsetof(::g::Fuse::ITransformRelative, fp_OnTransformChanged))); } // public generated ParentSizeMode New() [static] :91 TranslationModes__ParentSizeMode* TranslationModes__ParentSizeMode::New1() { TranslationModes__ParentSizeMode* obj1 = (TranslationModes__ParentSizeMode*)uNew(TranslationModes__ParentSizeMode_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.BeginRemove.uno // ----------------------------------------------------------------------------------------- // public sealed class PendingRemoveVisual :5 // { static void PendingRemoveVisual_build(uType* type) { type->SetInterfaces( ::g::Fuse::IUpdateListener_typeof(), offsetof(PendingRemoveVisual_type, interface0)); type->SetFields(0, ::g::Uno::Action1_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), offsetof(PendingRemoveVisual, _then), 0, ::g::Uno::Int_typeof(), offsetof(PendingRemoveVisual, subscribers), 0, ::g::Uno::Bool_typeof(), offsetof(PendingRemoveVisual, _done), 0, ::g::Fuse::Visual_typeof(), offsetof(PendingRemoveVisual, _Child), 0, ::g::Fuse::Visual_typeof(), offsetof(PendingRemoveVisual, _Parent), 0); } PendingRemoveVisual_type* PendingRemoveVisual_typeof() { static uSStrong<PendingRemoveVisual_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 5; options.InterfaceCount = 1; options.ObjectSize = sizeof(PendingRemoveVisual); options.TypeSize = sizeof(PendingRemoveVisual_type); type = (PendingRemoveVisual_type*)uClassType::New("Fuse.PendingRemoveVisual", options); type->fp_build_ = PendingRemoveVisual_build; type->interface0.fp_Update = (void(*)(uObject*))PendingRemoveVisual__FuseIUpdateListenerUpdate_fn; return type; } // internal PendingRemoveVisual(Fuse.Visual child, Fuse.Visual parent, Uno.Action<Fuse.Node> then) :12 void PendingRemoveVisual__ctor__fn(PendingRemoveVisual* __this, ::g::Fuse::Visual* child, ::g::Fuse::Visual* parent, uDelegate* then) { __this->ctor_(child, parent, then); } // public void AddSubscriber() :20 void PendingRemoveVisual__AddSubscriber_fn(PendingRemoveVisual* __this) { __this->AddSubscriber(); } // public generated Fuse.Visual get_Child() :8 void PendingRemoveVisual__get_Child_fn(PendingRemoveVisual* __this, ::g::Fuse::Visual** __retval) { *__retval = __this->Child(); } // private generated void set_Child(Fuse.Visual value) :8 void PendingRemoveVisual__set_Child_fn(PendingRemoveVisual* __this, ::g::Fuse::Visual* value) { __this->Child(value); } // private void Fuse.IUpdateListener.Update() :50 void PendingRemoveVisual__FuseIUpdateListenerUpdate_fn(PendingRemoveVisual* __this) { __this->Remove(); } // public bool get_HasSubscribers() :36 void PendingRemoveVisual__get_HasSubscribers_fn(PendingRemoveVisual* __this, bool* __retval) { *__retval = __this->HasSubscribers(); } // internal PendingRemoveVisual New(Fuse.Visual child, Fuse.Visual parent, Uno.Action<Fuse.Node> then) :12 void PendingRemoveVisual__New1_fn(::g::Fuse::Visual* child, ::g::Fuse::Visual* parent, uDelegate* then, PendingRemoveVisual** __retval) { *__retval = PendingRemoveVisual::New1(child, parent, then); } // public generated Fuse.Visual get_Parent() :7 void PendingRemoveVisual__get_Parent_fn(PendingRemoveVisual* __this, ::g::Fuse::Visual** __retval) { *__retval = __this->Parent(); } // private generated void set_Parent(Fuse.Visual value) :7 void PendingRemoveVisual__set_Parent_fn(PendingRemoveVisual* __this, ::g::Fuse::Visual* value) { __this->Parent(value); } // public void Remove() :40 void PendingRemoveVisual__Remove_fn(PendingRemoveVisual* __this) { __this->Remove(); } // public void RemoveSubscriber() :25 void PendingRemoveVisual__RemoveSubscriber_fn(PendingRemoveVisual* __this) { __this->RemoveSubscriber(); } // internal PendingRemoveVisual(Fuse.Visual child, Fuse.Visual parent, Uno.Action<Fuse.Node> then) [instance] :12 void PendingRemoveVisual::ctor_(::g::Fuse::Visual* child, ::g::Fuse::Visual* parent, uDelegate* then) { Parent(parent); Child(child); _then = then; } // public void AddSubscriber() [instance] :20 void PendingRemoveVisual::AddSubscriber() { subscribers++; } // public generated Fuse.Visual get_Child() [instance] :8 ::g::Fuse::Visual* PendingRemoveVisual::Child() { return _Child; } // private generated void set_Child(Fuse.Visual value) [instance] :8 void PendingRemoveVisual::Child(::g::Fuse::Visual* value) { _Child = value; } // public bool get_HasSubscribers() [instance] :36 bool PendingRemoveVisual::HasSubscribers() { return subscribers > 0; } // public generated Fuse.Visual get_Parent() [instance] :7 ::g::Fuse::Visual* PendingRemoveVisual::Parent() { return _Parent; } // private generated void set_Parent(Fuse.Visual value) [instance] :7 void PendingRemoveVisual::Parent(::g::Fuse::Visual* value) { _Parent = value; } // public void Remove() [instance] :40 void PendingRemoveVisual::Remove() { if (_done) return; if (::g::Uno::Delegate::op_Inequality(_then, NULL)) uPtr(_then)->InvokeVoid(Child()); _done = true; uPtr(Child())->ConcludePendingRemove(); } // public void RemoveSubscriber() [instance] :25 void PendingRemoveVisual::RemoveSubscriber() { subscribers--; if (subscribers == 0) Remove(); } // internal PendingRemoveVisual New(Fuse.Visual child, Fuse.Visual parent, Uno.Action<Fuse.Node> then) [static] :12 PendingRemoveVisual* PendingRemoveVisual::New1(::g::Fuse::Visual* child, ::g::Fuse::Visual* parent, uDelegate* then) { PendingRemoveVisual* obj1 = (PendingRemoveVisual*)uNew(PendingRemoveVisual_typeof()); obj1->ctor_(child, parent, then); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Translation.uno // ---------------------------------------------------------------------------------- // public sealed class PlacedArgs :21 // { static void PlacedArgs_build(uType* type) { ::STRINGS[44] = uString::Const("x"); ::STRINGS[58] = uString::Const("y"); ::STRINGS[59] = uString::Const("width"); ::STRINGS[60] = uString::Const("height"); ::TYPES[52] = ::g::Fuse::Scripting::IEventSerializer_typeof(); type->SetInterfaces( ::g::Fuse::Scripting::IScriptEvent_typeof(), offsetof(PlacedArgs_type, interface0)); type->SetFields(0, ::g::Uno::Bool_typeof(), offsetof(PlacedArgs, _HasPrev), 0, ::g::Uno::Float2_typeof(), offsetof(PlacedArgs, _NewPosition), 0, ::g::Uno::Float2_typeof(), offsetof(PlacedArgs, _NewSize), 0, ::g::Uno::Float2_typeof(), offsetof(PlacedArgs, _PrevPosition), 0, ::g::Uno::Float2_typeof(), offsetof(PlacedArgs, _PrevSize), 0); } PlacedArgs_type* PlacedArgs_typeof() { static uSStrong<PlacedArgs_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::EventArgs_typeof(); options.FieldCount = 5; options.InterfaceCount = 1; options.ObjectSize = sizeof(PlacedArgs); options.TypeSize = sizeof(PlacedArgs_type); type = (PlacedArgs_type*)uClassType::New("Fuse.PlacedArgs", options); type->fp_build_ = PlacedArgs_build; type->interface0.fp_Serialize = (void(*)(uObject*, uObject*))PlacedArgs__Serialize_fn; return type; } // internal PlacedArgs(bool hasPrev, float2 prevPosition, float2 newPosition, float2 prevSize, float2 newSize) :29 void PlacedArgs__ctor_1_fn(PlacedArgs* __this, bool* hasPrev, ::g::Uno::Float2* prevPosition, ::g::Uno::Float2* newPosition, ::g::Uno::Float2* prevSize, ::g::Uno::Float2* newSize) { __this->ctor_1(*hasPrev, *prevPosition, *newPosition, *prevSize, *newSize); } // public generated bool get_HasPrev() :23 void PlacedArgs__get_HasPrev_fn(PlacedArgs* __this, bool* __retval) { *__retval = __this->HasPrev(); } // private generated void set_HasPrev(bool value) :23 void PlacedArgs__set_HasPrev_fn(PlacedArgs* __this, bool* value) { __this->HasPrev(*value); } // internal PlacedArgs New(bool hasPrev, float2 prevPosition, float2 newPosition, float2 prevSize, float2 newSize) :29 void PlacedArgs__New2_fn(bool* hasPrev, ::g::Uno::Float2* prevPosition, ::g::Uno::Float2* newPosition, ::g::Uno::Float2* prevSize, ::g::Uno::Float2* newSize, PlacedArgs** __retval) { *__retval = PlacedArgs::New2(*hasPrev, *prevPosition, *newPosition, *prevSize, *newSize); } // public generated float2 get_NewPosition() :27 void PlacedArgs__get_NewPosition_fn(PlacedArgs* __this, ::g::Uno::Float2* __retval) { *__retval = __this->NewPosition(); } // private generated void set_NewPosition(float2 value) :27 void PlacedArgs__set_NewPosition_fn(PlacedArgs* __this, ::g::Uno::Float2* value) { __this->NewPosition(*value); } // public generated float2 get_NewSize() :26 void PlacedArgs__get_NewSize_fn(PlacedArgs* __this, ::g::Uno::Float2* __retval) { *__retval = __this->NewSize(); } // private generated void set_NewSize(float2 value) :26 void PlacedArgs__set_NewSize_fn(PlacedArgs* __this, ::g::Uno::Float2* value) { __this->NewSize(*value); } // public generated float2 get_PrevPosition() :24 void PlacedArgs__get_PrevPosition_fn(PlacedArgs* __this, ::g::Uno::Float2* __retval) { *__retval = __this->PrevPosition(); } // private generated void set_PrevPosition(float2 value) :24 void PlacedArgs__set_PrevPosition_fn(PlacedArgs* __this, ::g::Uno::Float2* value) { __this->PrevPosition(*value); } // public generated float2 get_PrevSize() :25 void PlacedArgs__get_PrevSize_fn(PlacedArgs* __this, ::g::Uno::Float2* __retval) { *__retval = __this->PrevSize(); } // private generated void set_PrevSize(float2 value) :25 void PlacedArgs__set_PrevSize_fn(PlacedArgs* __this, ::g::Uno::Float2* value) { __this->PrevSize(*value); } // public void Serialize(Fuse.Scripting.IEventSerializer serializer) :39 void PlacedArgs__Serialize_fn(PlacedArgs* __this, uObject* serializer) { __this->Serialize(serializer); } // internal PlacedArgs(bool hasPrev, float2 prevPosition, float2 newPosition, float2 prevSize, float2 newSize) [instance] :29 void PlacedArgs::ctor_1(bool hasPrev, ::g::Uno::Float2 prevPosition, ::g::Uno::Float2 newPosition, ::g::Uno::Float2 prevSize, ::g::Uno::Float2 newSize) { ctor_(); HasPrev(hasPrev); PrevPosition(prevPosition); PrevSize(prevSize); NewSize(newSize); NewPosition(newPosition); } // public generated bool get_HasPrev() [instance] :23 bool PlacedArgs::HasPrev() { return _HasPrev; } // private generated void set_HasPrev(bool value) [instance] :23 void PlacedArgs::HasPrev(bool value) { _HasPrev = value; } // public generated float2 get_NewPosition() [instance] :27 ::g::Uno::Float2 PlacedArgs::NewPosition() { return _NewPosition; } // private generated void set_NewPosition(float2 value) [instance] :27 void PlacedArgs::NewPosition(::g::Uno::Float2 value) { _NewPosition = value; } // public generated float2 get_NewSize() [instance] :26 ::g::Uno::Float2 PlacedArgs::NewSize() { return _NewSize; } // private generated void set_NewSize(float2 value) [instance] :26 void PlacedArgs::NewSize(::g::Uno::Float2 value) { _NewSize = value; } // public generated float2 get_PrevPosition() [instance] :24 ::g::Uno::Float2 PlacedArgs::PrevPosition() { return _PrevPosition; } // private generated void set_PrevPosition(float2 value) [instance] :24 void PlacedArgs::PrevPosition(::g::Uno::Float2 value) { _PrevPosition = value; } // public generated float2 get_PrevSize() [instance] :25 ::g::Uno::Float2 PlacedArgs::PrevSize() { return _PrevSize; } // private generated void set_PrevSize(float2 value) [instance] :25 void PlacedArgs::PrevSize(::g::Uno::Float2 value) { _PrevSize = value; } // public void Serialize(Fuse.Scripting.IEventSerializer serializer) [instance] :39 void PlacedArgs::Serialize(uObject* serializer) { ::g::Fuse::Scripting::IEventSerializer::AddDouble(uInterface(uPtr(serializer), ::TYPES[52/*Fuse.Scripting.IEventSerializer*/]), ::STRINGS[44/*"x"*/], (double)NewPosition().X); ::g::Fuse::Scripting::IEventSerializer::AddDouble(uInterface(serializer, ::TYPES[52/*Fuse.Scripting.IEventSerializer*/]), ::STRINGS[58/*"y"*/], (double)NewPosition().Y); ::g::Fuse::Scripting::IEventSerializer::AddDouble(uInterface(serializer, ::TYPES[52/*Fuse.Scripting.IEventSerializer*/]), ::STRINGS[59/*"width"*/], (double)NewSize().X); ::g::Fuse::Scripting::IEventSerializer::AddDouble(uInterface(serializer, ::TYPES[52/*Fuse.Scripting.IEventSerializer*/]), ::STRINGS[60/*"height"*/], (double)NewSize().Y); } // internal PlacedArgs New(bool hasPrev, float2 prevPosition, float2 newPosition, float2 prevSize, float2 newSize) [static] :29 PlacedArgs* PlacedArgs::New2(bool hasPrev, ::g::Uno::Float2 prevPosition, ::g::Uno::Float2 newPosition, ::g::Uno::Float2 prevSize, ::g::Uno::Float2 newSize) { PlacedArgs* obj1 = (PlacedArgs*)uNew(PlacedArgs_typeof()); obj1->ctor_1(hasPrev, prevPosition, newPosition, prevSize, newSize); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Translation.uno // ---------------------------------------------------------------------------------- // public delegate void PlacedHandler(object sender, Fuse.PlacedArgs args) :52 uDelegateType* PlacedHandler_typeof() { static uSStrong<uDelegateType*> type; if (type != NULL) return type; type = uDelegateType::New("Fuse.PlacedHandler", 2, 0); type->SetSignature(uVoid_typeof(), uObject_typeof(), ::g::Fuse::PlacedArgs_typeof()); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\PreviewState.uno // ----------------------------------------------------------------------------------- // internal sealed class PreviewState :8 // { static void PreviewState_build(uType* type) { ::TYPES[53] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::IPreviewStateSaver_typeof(), NULL); ::TYPES[54] = ::g::Fuse::RootViewport_typeof(); type->SetFields(0, ::g::Fuse::PreviewStateData_typeof(), offsetof(PreviewState, _current), 0, ::TYPES[53/*Uno.Collections.List<Fuse.IPreviewStateSaver>*/], offsetof(PreviewState, _savers), 0); } uType* PreviewState_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.ObjectSize = sizeof(PreviewState); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.PreviewState", options); type->fp_build_ = PreviewState_build; type->fp_ctor_ = (void*)PreviewState__New1_fn; return type; } // public generated PreviewState() :8 void PreviewState__ctor__fn(PreviewState* __this) { __this->ctor_(); } // public void AddSaver(Fuse.IPreviewStateSaver saver) :40 void PreviewState__AddSaver_fn(PreviewState* __this, uObject* saver) { __this->AddSaver(saver); } // public Fuse.PreviewStateData get_Current() :35 void PreviewState__get_Current_fn(PreviewState* __this, ::g::Fuse::PreviewStateData** __retval) { *__retval = __this->Current(); } // public static Fuse.PreviewState Find(Fuse.Node n) :51 void PreviewState__Find_fn(::g::Fuse::Node* n, PreviewState** __retval) { *__retval = PreviewState::Find(n); } // public generated PreviewState New() :8 void PreviewState__New1_fn(PreviewState** __retval) { *__retval = PreviewState::New1(); } // public void RemoveSaver(Fuse.IPreviewStateSaver saver) :45 void PreviewState__RemoveSaver_fn(PreviewState* __this, uObject* saver) { __this->RemoveSaver(saver); } // public generated PreviewState() [instance] :8 void PreviewState::ctor_() { _savers = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[53/*Uno.Collections.List<Fuse.IPreviewStateSaver>*/])); } // public void AddSaver(Fuse.IPreviewStateSaver saver) [instance] :40 void PreviewState::AddSaver(uObject* saver) { ::g::Uno::Collections::List__Add_fn(uPtr(_savers), saver); } // public Fuse.PreviewStateData get_Current() [instance] :35 ::g::Fuse::PreviewStateData* PreviewState::Current() { return _current; } // public void RemoveSaver(Fuse.IPreviewStateSaver saver) [instance] :45 void PreviewState::RemoveSaver(uObject* saver) { bool ret2; ::g::Uno::Collections::List__Remove_fn(uPtr(_savers), saver, &ret2); } // public static Fuse.PreviewState Find(Fuse.Node n) [static] :51 PreviewState* PreviewState::Find(::g::Fuse::Node* n) { while (n != NULL) { ::g::Fuse::RootViewport* rv = uAs< ::g::Fuse::RootViewport*>(n, ::TYPES[54/*Fuse.RootViewport*/]); if (rv != NULL) return uPtr(rv)->PreviewState(); n = uPtr(n)->Parent(); } return NULL; } // public generated PreviewState New() [static] :8 PreviewState* PreviewState::New1() { PreviewState* obj1 = (PreviewState*)uNew(PreviewState_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\PreviewState.uno // ----------------------------------------------------------------------------------- // internal sealed class PreviewStateData :64 // { static void PreviewStateData_build(uType* type) { type->SetFields(0, ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::String_typeof(), PreviewStateData__Entry_typeof(), NULL), offsetof(PreviewStateData, _data), 0); } uType* PreviewStateData_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.ObjectSize = sizeof(PreviewStateData); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.PreviewStateData", options); type->fp_build_ = PreviewStateData_build; return type; } // public object Consume(string key) :93 void PreviewStateData__Consume_fn(PreviewStateData* __this, uString* key, uObject** __retval) { *__retval = __this->Consume(key); } // public object Consume(string key) [instance] :93 uObject* PreviewStateData::Consume(uString* key) { bool ret3; PreviewStateData__Entry* v; if ((::g::Uno::Collections::Dictionary__TryGetValue_fn(uPtr(_data), key, (void**)(&v), &ret3), ret3) && !uPtr(v)->Consumed) { uPtr(v)->Consumed = true; return v->Data; } return NULL; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Properties.uno // ---------------------------------------------------------------------------------- // public sealed class Properties :15 // { // static generated Properties() :15 static void Properties__cctor__fn(uType* __type) { Properties::NoValue_ = ::g::Uno::Object::New(); } static void Properties_build(uType* type) { type->SetFields(0, type, offsetof(Properties, _next), 0, ::g::Fuse::PropertyHandle_typeof(), offsetof(Properties, _handle), 0, uObject_typeof(), offsetof(Properties, _value), 0, uObject_typeof(), (uintptr_t)&Properties::NoValue_, uFieldFlagsStatic); } uType* Properties_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 4; options.ObjectSize = sizeof(Properties); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.Properties", options); type->fp_build_ = Properties_build; type->fp_ctor_ = (void*)Properties__New1_fn; type->fp_cctor_ = Properties__cctor__fn; return type; } // public generated Properties() :15 void Properties__ctor__fn(Properties* __this) { __this->ctor_(); } // public void AddToList(Fuse.PropertyHandle handle, object val) :66 void Properties__AddToList_fn(Properties* __this, ::g::Fuse::PropertyHandle* handle, uObject* val) { __this->AddToList(handle, val); } // public void Clear(Fuse.PropertyHandle handle) :149 void Properties__Clear_fn(Properties* __this, ::g::Fuse::PropertyHandle* handle) { __this->Clear(handle); } // private void Clear(Fuse.PropertyHandle handle, object val, bool all) :156 void Properties__Clear1_fn(Properties* __this, ::g::Fuse::PropertyHandle* handle, uObject* val, bool* all) { __this->Clear1(handle, val, *all); } // public static Fuse.PropertyHandle CreateHandle() :21 void Properties__CreateHandle_fn(::g::Fuse::PropertyHandle** __retval) { *__retval = Properties::CreateHandle(); } // public void ForeachInList(Fuse.PropertyHandle handle, Uno.Action<object, object[]> action, object[] state) :132 void Properties__ForeachInList_fn(Properties* __this, ::g::Fuse::PropertyHandle* handle, uDelegate* action, uArray* state) { __this->ForeachInList(handle, action, state); } // public void ForeachInList(Fuse.PropertyHandle handle, Uno.Action<object, object> action, object state) :115 void Properties__ForeachInList1_fn(Properties* __this, ::g::Fuse::PropertyHandle* handle, uDelegate* action, uObject* state) { __this->ForeachInList1(handle, action, state); } // public object Get(Fuse.PropertyHandle handle) :26 void Properties__Get_fn(Properties* __this, ::g::Fuse::PropertyHandle* handle, uObject** __retval) { *__retval = __this->Get(handle); } // public bool Has(Fuse.PropertyHandle handle) :41 void Properties__Has_fn(Properties* __this, ::g::Fuse::PropertyHandle* handle, bool* __retval) { *__retval = __this->Has(handle); } // public generated Properties New() :15 void Properties__New1_fn(Properties** __retval) { *__retval = Properties::New1(); } // public void RemoveFromList(Fuse.PropertyHandle handle, object val) :84 void Properties__RemoveFromList_fn(Properties* __this, ::g::Fuse::PropertyHandle* handle, uObject* val) { __this->RemoveFromList(handle, val); } // public void Set(Fuse.PropertyHandle handle, object val) :48 void Properties__Set_fn(Properties* __this, ::g::Fuse::PropertyHandle* handle, uObject* val) { __this->Set(handle, val); } // public bool TryGet(Fuse.PropertyHandle handle, object& val) :33 void Properties__TryGet_fn(Properties* __this, ::g::Fuse::PropertyHandle* handle, uObject** val, bool* __retval) { *__retval = __this->TryGet(handle, val); } uSStrong<uObject*> Properties::NoValue_; // public generated Properties() [instance] :15 void Properties::ctor_() { } // public void AddToList(Fuse.PropertyHandle handle, object val) [instance] :66 void Properties::AddToList(::g::Fuse::PropertyHandle* handle, uObject* val) { if (_handle == NULL) { _handle = handle; _value = val; } else if (_next == NULL) { _next = Properties::New1(); uPtr(_next)->AddToList(handle, val); } else uPtr(_next)->AddToList(handle, val); } // public void Clear(Fuse.PropertyHandle handle) [instance] :149 void Properties::Clear(::g::Fuse::PropertyHandle* handle) { Clear1(handle, Properties::NoValue_, true); } // private void Clear(Fuse.PropertyHandle handle, object val, bool all) [instance] :156 void Properties::Clear1(::g::Fuse::PropertyHandle* handle, uObject* val, bool all) { if (_handle == NULL) return; Properties* p = this; Properties* previous = NULL; while (p != NULL) if ((uPtr(p)->_handle == handle) && ((val == Properties::NoValue_) || ::g::Uno::Object::Equals(uPtr(val), uPtr(p)->_value))) { if (previous == NULL) { if (uPtr(p)->_next == NULL) { uPtr(p)->_handle = NULL; p->_value = NULL; break; } else { uPtr(p)->_handle = uPtr(uPtr(p)->_next)->_handle; p->_value = uPtr(p->_next)->_value; p->_next = uPtr(p->_next)->_next; if (all) continue; else break; } } else { uPtr(previous)->_next = uPtr(p)->_next; p = uPtr(p)->_next; if (all) continue; else break; } } else { previous = p; p = uPtr(p)->_next; } } // public void ForeachInList(Fuse.PropertyHandle handle, Uno.Action<object, object[]> action, object[] state) [instance] :132 void Properties::ForeachInList(::g::Fuse::PropertyHandle* handle, uDelegate* action, uArray* state) { if (_handle == NULL) return; Properties* p = this; while (p != NULL) { if (uPtr(p)->_handle == handle) uPtr(action)->Invoke(2, (uObject*)uPtr(p)->_value, state); p = uPtr(p)->_next; } } // public void ForeachInList(Fuse.PropertyHandle handle, Uno.Action<object, object> action, object state) [instance] :115 void Properties::ForeachInList1(::g::Fuse::PropertyHandle* handle, uDelegate* action, uObject* state) { if (_handle == NULL) return; Properties* p = this; while (p != NULL) { if (uPtr(p)->_handle == handle) uPtr(action)->Invoke(2, (uObject*)uPtr(p)->_value, state); p = uPtr(p)->_next; } } // public object Get(Fuse.PropertyHandle handle) [instance] :26 uObject* Properties::Get(::g::Fuse::PropertyHandle* handle) { if (_handle == handle) return _value; if (_next != NULL) return uPtr(_next)->Get(handle); return NULL; } // public bool Has(Fuse.PropertyHandle handle) [instance] :41 bool Properties::Has(::g::Fuse::PropertyHandle* handle) { if (_handle == handle) return true; if (_next != NULL) return uPtr(_next)->Has(handle); return false; } // public void RemoveFromList(Fuse.PropertyHandle handle, object val) [instance] :84 void Properties::RemoveFromList(::g::Fuse::PropertyHandle* handle, uObject* val) { Clear1(handle, val, false); } // public void Set(Fuse.PropertyHandle handle, object val) [instance] :48 void Properties::Set(::g::Fuse::PropertyHandle* handle, uObject* val) { if (_handle == NULL) { _handle = handle; _value = val; } else if (_handle == handle) _value = val; else { if (_next == NULL) _next = Properties::New1(); uPtr(_next)->Set(handle, val); } } // public bool TryGet(Fuse.PropertyHandle handle, object& val) [instance] :33 bool Properties::TryGet(::g::Fuse::PropertyHandle* handle, uObject** val) { if (_handle == handle) { *val = _value; return true; } if (_next != NULL) return uPtr(_next)->TryGet(handle, val); *val = NULL; return false; } // public static Fuse.PropertyHandle CreateHandle() [static] :21 ::g::Fuse::PropertyHandle* Properties::CreateHandle() { Properties_typeof()->Init(); return ::g::Fuse::PropertyHandle::New1(); } // public generated Properties New() [static] :15 Properties* Properties::New1() { Properties* obj1 = (Properties*)uNew(Properties_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Properties.uno // ---------------------------------------------------------------------------------- // public sealed class PropertyHandle :5 // { static void PropertyHandle_build(uType* type) { } uType* PropertyHandle_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.ObjectSize = sizeof(PropertyHandle); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.PropertyHandle", options); type->fp_build_ = PropertyHandle_build; type->fp_ctor_ = (void*)PropertyHandle__New1_fn; return type; } // internal PropertyHandle() :7 void PropertyHandle__ctor__fn(PropertyHandle* __this) { __this->ctor_(); } // internal PropertyHandle New() :7 void PropertyHandle__New1_fn(PropertyHandle** __retval) { *__retval = PropertyHandle::New1(); } // internal PropertyHandle() [instance] :7 void PropertyHandle::ctor_() { } // internal PropertyHandle New() [static] :7 PropertyHandle* PropertyHandle::New1() { PropertyHandle* obj1 = (PropertyHandle*)uNew(PropertyHandle_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Ray.uno // --------------------------------------------------------------------------- // public struct Ray :5 // { static void Ray_build(uType* type) { type->SetFields(0, ::g::Uno::Float3_typeof(), offsetof(Ray, Position), 0, ::g::Uno::Float3_typeof(), offsetof(Ray, Direction), 0); } uStructType* Ray_typeof() { static uSStrong<uStructType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.Alignment = alignof(Ray); options.ValueSize = sizeof(Ray); options.TypeSize = sizeof(uStructType); type = uStructType::New("Fuse.Ray", options); type->fp_build_ = Ray_build; return type; } // public Ray(float3 pos, float3 dir) :10 void Ray__ctor__fn(Ray* __this, ::g::Uno::Float3* pos, ::g::Uno::Float3* dir) { __this->ctor_(*pos, *dir); } // public Ray New(float3 pos, float3 dir) :10 void Ray__New1_fn(::g::Uno::Float3* pos, ::g::Uno::Float3* dir, Ray* __retval) { *__retval = Ray__New1(*pos, *dir); } // public Ray(float3 pos, float3 dir) [instance] :10 void Ray::ctor_(::g::Uno::Float3 pos, ::g::Uno::Float3 dir) { Position = pos; Direction = dir; } // public Ray New(float3 pos, float3 dir) [static] :10 Ray Ray__New1(::g::Uno::Float3 pos, ::g::Uno::Float3 dir) { Ray obj2; obj2.ctor_(pos, dir); return obj2; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Transform.uno // -------------------------------------------------------------------------------- // public abstract class RelativeTransform<TransformMode> :325 // { static void RelativeTransform_build(uType* type) { ::TYPES[1] = ::g::Uno::Action_typeof(); ::TYPES[55] = ::g::Fuse::ITransformMode_typeof(); type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(RelativeTransform_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(RelativeTransform_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(RelativeTransform_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(RelativeTransform_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(RelativeTransform_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(RelativeTransform_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(RelativeTransform_type, interface6), ::g::Fuse::ITransformRelative_typeof(), offsetof(RelativeTransform_type, interface7)); type->SetFields(18, ::g::Fuse::Visual_typeof(), offsetof(RelativeTransform, _relativeNode), 0, type->T(0), offsetof(RelativeTransform, _relativeTo), 0, ::g::Fuse::Visual_typeof(), offsetof(RelativeTransform, _waitRootingCompleted), 0, uObject_typeof(), offsetof(RelativeTransform, _subscription), 0); } RelativeTransform_type* RelativeTransform_typeof() { static uSStrong<RelativeTransform_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Transform_typeof(); options.FieldCount = 22; options.GenericCount = 1; options.InterfaceCount = 8; options.ObjectSize = sizeof(RelativeTransform); options.TypeSize = sizeof(RelativeTransform_type); type = (RelativeTransform_type*)uClassType::New("Fuse.RelativeTransform`1", options); type->fp_build_ = RelativeTransform_build; type->fp_OnRooted = (void(*)(::g::Fuse::Node*))RelativeTransform__OnRooted_fn; type->fp_OnUnrooted = (void(*)(::g::Fuse::Node*))RelativeTransform__OnUnrooted_fn; type->interface7.fp_OnTransformChanged = (void(*)(uObject*, uObject*, uObject*))RelativeTransform__FuseITransformRelativeOnTransformChanged_fn; type->interface7.fp_get_Target = (void(*)(uObject*, ::g::Fuse::Visual**))RelativeTransform__FuseITransformRelativeget_Target_fn; type->interface7.fp_get_RelativeNode = (void(*)(uObject*, ::g::Fuse::Visual**))RelativeTransform__FuseITransformRelativeget_RelativeNode_fn; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // internal RelativeTransform(TransformMode defaultTransform) :357 void RelativeTransform__ctor_3_fn(RelativeTransform* __this, uObject* defaultTransform) { __this->ctor_3(defaultTransform); } // private void CheckSubscription(bool fromRooted) :404 void RelativeTransform__CheckSubscription_fn(RelativeTransform* __this, bool* fromRooted) { __this->CheckSubscription(*fromRooted); } // private void ClearRootingCompleted() :390 void RelativeTransform__ClearRootingCompleted_fn(RelativeTransform* __this) { __this->ClearRootingCompleted(); } // private void ClearSubscription() :379 void RelativeTransform__ClearSubscription_fn(RelativeTransform* __this) { __this->ClearSubscription(); } // private void Fuse.ITransformRelative.OnTransformChanged(object s, object a) :364 void RelativeTransform__FuseITransformRelativeOnTransformChanged_fn(RelativeTransform* __this, uObject* s, uObject* a) { __this->OnMatrixChanged(NULL, NULL); } // private Fuse.Visual Fuse.ITransformRelative.get_RelativeNode() :363 void RelativeTransform__FuseITransformRelativeget_RelativeNode_fn(RelativeTransform* __this, ::g::Fuse::Visual** __retval) { return *__retval = __this->RelativeNode(), void(); } // private Fuse.Visual Fuse.ITransformRelative.get_Target() :362 void RelativeTransform__FuseITransformRelativeget_Target_fn(RelativeTransform* __this, ::g::Fuse::Visual** __retval) { return *__retval = __this->Parent(), void(); } // protected override sealed void OnRooted() :366 void RelativeTransform__OnRooted_fn(RelativeTransform* __this) { ::g::Fuse::Node__OnRooted_fn(__this); __this->CheckSubscription(true); } // private void OnRootingCompleted() :398 void RelativeTransform__OnRootingCompleted_fn(RelativeTransform* __this) { __this->OnRootingCompleted(); } // protected override sealed void OnUnrooted() :372 void RelativeTransform__OnUnrooted_fn(RelativeTransform* __this) { __this->ClearRootingCompleted(); __this->ClearSubscription(); ::g::Fuse::Node__OnUnrooted_fn(__this); } // public Fuse.Visual get_RelativeNode() :331 void RelativeTransform__get_RelativeNode_fn(RelativeTransform* __this, ::g::Fuse::Visual** __retval) { *__retval = __this->RelativeNode(); } // public void set_RelativeNode(Fuse.Visual value) :332 void RelativeTransform__set_RelativeNode_fn(RelativeTransform* __this, ::g::Fuse::Visual* value) { __this->RelativeNode(value); } // public TransformMode get_RelativeTo() :345 void RelativeTransform__get_RelativeTo_fn(RelativeTransform* __this, uObject** __retval) { *__retval = __this->RelativeTo(); } // public void set_RelativeTo(TransformMode value) :346 void RelativeTransform__set_RelativeTo_fn(RelativeTransform* __this, uObject* value) { __this->RelativeTo(value); } // internal RelativeTransform(TransformMode defaultTransform) [instance] :357 void RelativeTransform::ctor_3(uObject* defaultTransform) { ctor_2(); _relativeTo = defaultTransform; } // private void CheckSubscription(bool fromRooted) [instance] :404 void RelativeTransform::CheckSubscription(bool fromRooted) { if (!fromRooted && !IsRootingCompleted()) return; if ((RelativeNode() != NULL) && !uPtr(RelativeNode())->IsRootingStarted()) { ClearRootingCompleted(); _waitRootingCompleted = RelativeNode(); uPtr(_waitRootingCompleted)->add_RootingCompleted(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)RelativeTransform__OnRootingCompleted_fn, this)); return; } ClearSubscription(); _subscription = ::g::Fuse::ITransformMode::Subscribe(uInterface(uPtr(uAs<uObject*>(RelativeTo(), ::TYPES[55/*Fuse.ITransformMode*/])), ::TYPES[55/*Fuse.ITransformMode*/]), (uObject*)this); OnMatrixChanged(NULL, NULL); } // private void ClearRootingCompleted() [instance] :390 void RelativeTransform::ClearRootingCompleted() { if (_waitRootingCompleted != NULL) { uPtr(_waitRootingCompleted)->remove_RootingCompleted(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)RelativeTransform__OnRootingCompleted_fn, this)); _waitRootingCompleted = NULL; } } // private void ClearSubscription() [instance] :379 void RelativeTransform::ClearSubscription() { if (_subscription != NULL) { ::g::Fuse::ITransformMode::Unsubscribe(uInterface(uPtr(uAs<uObject*>(RelativeTo(), ::TYPES[55/*Fuse.ITransformMode*/])), ::TYPES[55/*Fuse.ITransformMode*/]), (uObject*)this, _subscription); _subscription = NULL; } } // private void OnRootingCompleted() [instance] :398 void RelativeTransform::OnRootingCompleted() { CheckSubscription(false); } // public Fuse.Visual get_RelativeNode() [instance] :331 ::g::Fuse::Visual* RelativeTransform::RelativeNode() { ::g::Fuse::Visual* ind1; ind1 = _relativeNode; return (ind1 != NULL) ? ind1 : (::g::Fuse::Visual*)Parent(); } // public void set_RelativeNode(Fuse.Visual value) [instance] :332 void RelativeTransform::RelativeNode(::g::Fuse::Visual* value) { if (_relativeNode == value) return; _relativeNode = value; CheckSubscription(false); } // public TransformMode get_RelativeTo() [instance] :345 uObject* RelativeTransform::RelativeTo() { return _relativeTo; } // public void set_RelativeTo(TransformMode value) [instance] :346 void RelativeTransform::RelativeTo(uObject* value) { if (_relativeTo == value) return; ClearSubscription(); _relativeTo = value; CheckSubscription(false); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\DrawContext.uno // ---------------------------------------------------------------------------------- // internal sealed class RenderTargetEntry :11 // { static void RenderTargetEntry_build(uType* type) { type->SetFields(0, ::g::OpenGL::GLFramebufferHandle_typeof(), offsetof(RenderTargetEntry, GLFramebuffer), 0, ::g::Uno::Graphics::RenderTarget_typeof(), offsetof(RenderTargetEntry, RenderTarget), 0, ::g::Uno::Int2_typeof(), offsetof(RenderTargetEntry, GLViewportPixelSize), 0, ::g::Uno::Int4_typeof(), offsetof(RenderTargetEntry, GLScissor), 0); } uType* RenderTargetEntry_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 4; options.ObjectSize = sizeof(RenderTargetEntry); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.RenderTargetEntry", options); type->fp_build_ = RenderTargetEntry_build; return type; } // public extern RenderTargetEntry(Uno.Graphics.RenderTarget rt, int2 viewportPixelSize, int4 glScissor, OpenGL.GLFramebufferHandle handle) :18 void RenderTargetEntry__ctor__fn(RenderTargetEntry* __this, ::g::Uno::Graphics::RenderTarget* rt, ::g::Uno::Int2* viewportPixelSize, ::g::Uno::Int4* glScissor, uint32_t* handle) { __this->ctor_(rt, *viewportPixelSize, *glScissor, *handle); } // public extern RenderTargetEntry New(Uno.Graphics.RenderTarget rt, int2 viewportPixelSize, int4 glScissor, OpenGL.GLFramebufferHandle handle) :18 void RenderTargetEntry__New1_fn(::g::Uno::Graphics::RenderTarget* rt, ::g::Uno::Int2* viewportPixelSize, ::g::Uno::Int4* glScissor, uint32_t* handle, RenderTargetEntry** __retval) { *__retval = RenderTargetEntry::New1(rt, *viewportPixelSize, *glScissor, *handle); } // public extern RenderTargetEntry(Uno.Graphics.RenderTarget rt, int2 viewportPixelSize, int4 glScissor, OpenGL.GLFramebufferHandle handle) [instance] :18 void RenderTargetEntry::ctor_(::g::Uno::Graphics::RenderTarget* rt, ::g::Uno::Int2 viewportPixelSize, ::g::Uno::Int4 glScissor, uint32_t handle) { RenderTarget = rt; GLViewportPixelSize = viewportPixelSize; GLScissor = glScissor; GLFramebuffer = handle; } // public extern RenderTargetEntry New(Uno.Graphics.RenderTarget rt, int2 viewportPixelSize, int4 glScissor, OpenGL.GLFramebufferHandle handle) [static] :18 RenderTargetEntry* RenderTargetEntry::New1(::g::Uno::Graphics::RenderTarget* rt, ::g::Uno::Int2 viewportPixelSize, ::g::Uno::Int4 glScissor, uint32_t handle) { RenderTargetEntry* obj1 = (RenderTargetEntry*)uNew(RenderTargetEntry_typeof()); obj1->ctor_(rt, viewportPixelSize, glScissor, handle); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Layout.uno // ------------------------------------------------------------------------------------ // public sealed class RequestBringIntoViewArgs :74 // { static void RequestBringIntoViewArgs_build(uType* type) { type->SetFields(0, ::g::Fuse::Visual_typeof(), offsetof(RequestBringIntoViewArgs, _Visual), 0); } uType* RequestBringIntoViewArgs_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::EventArgs_typeof(); options.FieldCount = 1; options.ObjectSize = sizeof(RequestBringIntoViewArgs); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.RequestBringIntoViewArgs", options); type->fp_build_ = RequestBringIntoViewArgs_build; return type; } // public RequestBringIntoViewArgs(Fuse.Visual elm) :77 void RequestBringIntoViewArgs__ctor_1_fn(RequestBringIntoViewArgs* __this, ::g::Fuse::Visual* elm) { __this->ctor_1(elm); } // public RequestBringIntoViewArgs New(Fuse.Visual elm) :77 void RequestBringIntoViewArgs__New2_fn(::g::Fuse::Visual* elm, RequestBringIntoViewArgs** __retval) { *__retval = RequestBringIntoViewArgs::New2(elm); } // public generated Fuse.Visual get_Visual() :76 void RequestBringIntoViewArgs__get_Visual_fn(RequestBringIntoViewArgs* __this, ::g::Fuse::Visual** __retval) { *__retval = __this->Visual(); } // private generated void set_Visual(Fuse.Visual value) :76 void RequestBringIntoViewArgs__set_Visual_fn(RequestBringIntoViewArgs* __this, ::g::Fuse::Visual* value) { __this->Visual(value); } // public RequestBringIntoViewArgs(Fuse.Visual elm) [instance] :77 void RequestBringIntoViewArgs::ctor_1(::g::Fuse::Visual* elm) { ctor_(); Visual(elm); } // public generated Fuse.Visual get_Visual() [instance] :76 ::g::Fuse::Visual* RequestBringIntoViewArgs::Visual() { return _Visual; } // private generated void set_Visual(Fuse.Visual value) [instance] :76 void RequestBringIntoViewArgs::Visual(::g::Fuse::Visual* value) { _Visual = value; } // public RequestBringIntoViewArgs New(Fuse.Visual elm) [static] :77 RequestBringIntoViewArgs* RequestBringIntoViewArgs::New2(::g::Fuse::Visual* elm) { RequestBringIntoViewArgs* obj1 = (RequestBringIntoViewArgs*)uNew(RequestBringIntoViewArgs_typeof()); obj1->ctor_1(elm); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Layout.uno // ------------------------------------------------------------------------------------ // public delegate void RequestBringIntoViewHandler(object sender, Fuse.RequestBringIntoViewArgs args) :83 uDelegateType* RequestBringIntoViewHandler_typeof() { static uSStrong<uDelegateType*> type; if (type != NULL) return type; type = uDelegateType::New("Fuse.RequestBringIntoViewHandler", 2, 0); type->SetSignature(uVoid_typeof(), uObject_typeof(), ::g::Fuse::RequestBringIntoViewArgs_typeof()); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Node.Rooting.uno // ----------------------------------------------------------------------------------- // internal enum RootStage :7 uEnumType* RootStage_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.RootStage", ::g::Uno::Int_typeof(), 4); type->SetLiterals( "Unrooted", 0LL, "Started", 1LL, "Completed", 2LL, "Unrooting", 3LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Android\1.9.0\AndroidApp.uno // ----------------------------------------------------------------------------------- // private sealed class App.RootViewHost :16 // { static void App__RootViewHost_build(uType* type) { type->SetDependencies( ::g::Fuse::Android::AppRoot_typeof()); type->SetInterfaces( ::g::Fuse::Controls::INativeViewRoot_typeof(), offsetof(App__RootViewHost_type, interface0)); } App__RootViewHost_type* App__RootViewHost_typeof() { static uSStrong<App__RootViewHost_type*> type; if (type != NULL) return type; uTypeOptions options; options.InterfaceCount = 1; options.DependencyCount = 1; options.ObjectSize = sizeof(App__RootViewHost); options.TypeSize = sizeof(App__RootViewHost_type); type = (App__RootViewHost_type*)uClassType::New("Fuse.App.RootViewHost", options); type->fp_build_ = App__RootViewHost_build; type->fp_ctor_ = (void*)App__RootViewHost__New1_fn; type->interface0.fp_Add = (void(*)(uObject*, ::g::Fuse::Controls::Native::ViewHandle*))App__RootViewHost__FuseControlsINativeViewRootAdd_fn; type->interface0.fp_Remove = (void(*)(uObject*, ::g::Fuse::Controls::Native::ViewHandle*))App__RootViewHost__FuseControlsINativeViewRootRemove_fn; return type; } // public generated RootViewHost() :16 void App__RootViewHost__ctor__fn(App__RootViewHost* __this) { __this->ctor_(); } // private void Fuse.Controls.INativeViewRoot.Add(Fuse.Controls.Native.ViewHandle handle) :18 void App__RootViewHost__FuseControlsINativeViewRootAdd_fn(App__RootViewHost* __this, ::g::Fuse::Controls::Native::ViewHandle* handle) { ::g::Fuse::Android::AppRoot::SetRootView(handle); } // private void Fuse.Controls.INativeViewRoot.Remove(Fuse.Controls.Native.ViewHandle handle) :19 void App__RootViewHost__FuseControlsINativeViewRootRemove_fn(App__RootViewHost* __this, ::g::Fuse::Controls::Native::ViewHandle* handle) { ::g::Fuse::Android::AppRoot::ClearRoot(handle); } // public generated RootViewHost New() :16 void App__RootViewHost__New1_fn(App__RootViewHost** __retval) { *__retval = App__RootViewHost::New1(); } // public generated RootViewHost() [instance] :16 void App__RootViewHost::ctor_() { } // public generated RootViewHost New() [static] :16 App__RootViewHost* App__RootViewHost::New1() { App__RootViewHost* obj1 = (App__RootViewHost*)uNew(App__RootViewHost_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\RootViewport.uno // ----------------------------------------------------------------------------------- // public class RootViewport :33 // { static void RootViewport_build(uType* type) { ::TYPES[56] = ::g::Fuse::IFrame_typeof(); ::TYPES[20] = ::g::Uno::EventHandler_typeof(); ::TYPES[57] = ::g::Fuse::Visual_typeof()->MakeMethod(2/*FirstChild<Fuse.Visual>*/, ::g::Fuse::Visual_typeof(), NULL); ::TYPES[58] = ::g::Fuse::Node_typeof()->MakeMethod(3/*NextSibling<Fuse.Visual>*/, ::g::Fuse::Visual_typeof(), NULL); ::TYPES[1] = ::g::Uno::Action_typeof(); ::TYPES[59] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL); ::TYPES[60] = ::g::Uno::Action1_typeof()->MakeType(::g::Uno::Float2_typeof(), NULL); type->SetDependencies( ::g::Uno::Platform::Displays_typeof(), ::g::Fuse::UpdateManager_typeof()); type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(RootViewport_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(RootViewport_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(RootViewport_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(RootViewport_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(RootViewport_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(RootViewport_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(RootViewport_type, interface6), ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), offsetof(RootViewport_type, interface7), ::g::Uno::UX::IPropertyListener_typeof(), offsetof(RootViewport_type, interface8), ::g::Fuse::ITemplateSource_typeof(), offsetof(RootViewport_type, interface9), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Visual_typeof(), NULL), offsetof(RootViewport_type, interface10), ::TYPES[59/*Uno.Collections.ICollection<Fuse.Node>*/], offsetof(RootViewport_type, interface11), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), offsetof(RootViewport_type, interface12), ::g::Fuse::IViewport_typeof(), offsetof(RootViewport_type, interface13), ::g::Uno::IDisposable_typeof(), offsetof(RootViewport_type, interface14), ::g::Fuse::ICommonViewport_typeof(), offsetof(RootViewport_type, interface15)); type->SetFields(68, ::TYPES[56/*Fuse.IFrame*/], offsetof(RootViewport, _frame), 0, ::g::Fuse::IFrustum_typeof(), offsetof(RootViewport, Frustum), 0, ::g::Fuse::FrustumViewport_typeof(), offsetof(RootViewport, _frustumViewport), 0, ::g::Uno::Bool_typeof(), offsetof(RootViewport, _sizeOverridden), 0, ::g::Uno::Float_typeof(), offsetof(RootViewport, _pixelsPerPoint), 0, ::g::Uno::Float_typeof(), offsetof(RootViewport, _pixelsPerOSPoint), 0, ::g::Uno::Float_typeof(), offsetof(RootViewport, _overridePixelsPerPoint), 0, ::g::Uno::Float2_typeof(), offsetof(RootViewport, _pixelSize), 0, ::g::Fuse::PreviewState_typeof(), offsetof(RootViewport, _previewState), 0, ::TYPES[60/*Uno.Action<float2>*/], offsetof(RootViewport, Resized1), 0); } RootViewport_type* RootViewport_typeof() { static uSStrong<RootViewport_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Visual_typeof(); options.FieldCount = 78; options.InterfaceCount = 16; options.DependencyCount = 2; options.ObjectSize = sizeof(RootViewport); options.TypeSize = sizeof(RootViewport_type); type = (RootViewport_type*)uClassType::New("Fuse.RootViewport", options); type->fp_build_ = RootViewport_build; type->fp_Draw = (void(*)(::g::Fuse::Visual*, ::g::Fuse::DrawContext*))RootViewport__Draw_fn; type->fp_OnInvalidateLayout = (void(*)(::g::Fuse::Visual*))RootViewport__OnInvalidateLayout_fn; type->fp_get_VisualContext = (void(*)(::g::Fuse::Visual*, int32_t*))RootViewport__get_VisualContext_fn; type->interface14.fp_Dispose = (void(*)(uObject*))RootViewport__UnoIDisposableDispose_fn; type->interface13.fp_PointToWorldRay = (void(*)(uObject*, ::g::Uno::Float2*, ::g::Fuse::Ray*))RootViewport__PointToWorldRay_fn; type->interface13.fp_WorldToLocalRay = (void(*)(uObject*, uObject*, ::g::Fuse::Ray*, ::g::Fuse::Visual*, ::g::Fuse::Ray*))RootViewport__WorldToLocalRay_fn; type->interface15.fp_get_PixelsPerPoint = (void(*)(uObject*, float*))RootViewport__get_PixelsPerPoint_fn; type->interface15.fp_get_Size = (void(*)(uObject*, ::g::Uno::Float2*))RootViewport__get_Size_fn; type->interface10.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Visual__UnoCollectionsIEnumerableFuseVisualGetEnumerator_fn; type->interface11.fp_Clear = (void(*)(uObject*))::g::Fuse::Visual__UnoCollectionsICollectionFuseNodeClear_fn; type->interface11.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Visual__UnoCollectionsICollectionFuseNodeContains_fn; type->interface7.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Visual__UnoCollectionsIListFuseNodeRemoveAt_fn; type->interface12.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Visual__UnoCollectionsIEnumerableFuseNodeGetEnumerator_fn; type->interface11.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Visual__UnoCollectionsICollectionFuseNodeget_Count_fn; type->interface7.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Visual__UnoCollectionsIListFuseNodeget_Item_fn; type->interface7.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Visual__Insert1_fn; type->interface8.fp_OnPropertyChanged = (void(*)(uObject*, ::g::Uno::UX::PropertyObject*, ::g::Uno::UX::Selector*))::g::Fuse::Visual__OnPropertyChanged2_fn; type->interface9.fp_FindTemplate = (void(*)(uObject*, uString*, ::g::Uno::UX::Template**))::g::Fuse::Visual__FindTemplate_fn; type->interface11.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Visual__Add1_fn; type->interface11.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Visual__Remove1_fn; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // public extern RootViewport() :61 void RootViewport__ctor_3_fn(RootViewport* __this) { __this->ctor_3(); } // public extern RootViewport(Fuse.IFrame frame) :43 void RootViewport__ctor_4_fn(RootViewport* __this, uObject* frame) { __this->ctor_4(frame); } // public override sealed void Draw(Fuse.DrawContext dc) :103 void RootViewport__Draw_fn(RootViewport* __this, ::g::Fuse::DrawContext* dc) { for (::g::Fuse::Visual* v = (::g::Fuse::Visual*)__this->FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (::g::Fuse::Visual*)uPtr(v)->NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) uPtr(v)->Draw(dc); } // private void EstablishSize() :153 void RootViewport__EstablishSize_fn(RootViewport* __this) { __this->EstablishSize(); } // private extern void EstablishSizeInternals() :216 void RootViewport__EstablishSizeInternals_fn(RootViewport* __this) { __this->EstablishSizeInternals(); } // protected override sealed void OnInvalidateLayout() :88 void RootViewport__OnInvalidateLayout_fn(RootViewport* __this) { ::g::Fuse::UpdateManager::AddOnceAction(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)::g::Fuse::Visual__PerformLayout_fn, __this), 1); } // internal void OnResized(object s, object a) :133 void RootViewport__OnResized_fn(RootViewport* __this, uObject* s, uObject* a) { __this->OnResized(s, a); } // public float2 get_PixelSize() :255 void RootViewport__get_PixelSize_fn(RootViewport* __this, ::g::Uno::Float2* __retval) { *__retval = __this->PixelSize(); } // internal float get_PixelsPerOSPoint() :237 void RootViewport__get_PixelsPerOSPoint_fn(RootViewport* __this, float* __retval) { *__retval = __this->PixelsPerOSPoint(); } // public float get_PixelsPerPoint() :242 void RootViewport__get_PixelsPerPoint_fn(RootViewport* __this, float* __retval) { *__retval = __this->PixelsPerPoint(); } // public Fuse.Ray PointToWorldRay(float2 pixelPos) :272 void RootViewport__PointToWorldRay_fn(RootViewport* __this, ::g::Uno::Float2* pixelPos, ::g::Fuse::Ray* __retval) { *__retval = __this->PointToWorldRay(*pixelPos); } // internal Fuse.PreviewState get_PreviewState() :283 void RootViewport__get_PreviewState_fn(RootViewport* __this, ::g::Fuse::PreviewState** __retval) { *__retval = __this->PreviewState(); } // public generated void add_Resized(Uno.Action<float2> value) :37 void RootViewport__add_Resized_fn(RootViewport* __this, uDelegate* value) { __this->add_Resized(value); } // public generated void remove_Resized(Uno.Action<float2> value) :37 void RootViewport__remove_Resized_fn(RootViewport* __this, uDelegate* value) { __this->remove_Resized(value); } // public float2 get_Size() :249 void RootViewport__get_Size_fn(RootViewport* __this, ::g::Uno::Float2* __retval) { *__retval = __this->Size(); } // private void Uno.IDisposable.Dispose() :93 void RootViewport__UnoIDisposableDispose_fn(RootViewport* __this) { ::g::Uno::Collections::ICollection::Clear(uInterface(uPtr(__this->Children()), ::TYPES[59/*Uno.Collections.ICollection<Fuse.Node>*/])); } // public override sealed Fuse.VisualContext get_VisualContext() :100 void RootViewport__get_VisualContext_fn(RootViewport* __this, int32_t* __retval) { return *__retval = 1, void(); } // public Fuse.Ray WorldToLocalRay(Fuse.IViewport world, Fuse.Ray worldRay, Fuse.Visual where) :276 void RootViewport__WorldToLocalRay_fn(RootViewport* __this, uObject* world, ::g::Fuse::Ray* worldRay, ::g::Fuse::Visual* where, ::g::Fuse::Ray* __retval) { *__retval = __this->WorldToLocalRay(world, *worldRay, where); } // public extern RootViewport() [instance] :61 void RootViewport::ctor_3() { Frustum = (uObject*)::g::Fuse::OrthographicFrustum::New1(); _frustumViewport = ::g::Fuse::FrustumViewport::New1(); _previewState = ::g::Fuse::PreviewState::New1(); ctor_4((uObject*)::g::Fuse::SystemUIFrame::New1()); } // public extern RootViewport(Fuse.IFrame frame) [instance] :43 void RootViewport::ctor_4(uObject* frame) { Frustum = (uObject*)::g::Fuse::OrthographicFrustum::New1(); _frustumViewport = ::g::Fuse::FrustumViewport::New1(); _previewState = ::g::Fuse::PreviewState::New1(); ctor_2(); _frame = frame; ::g::Fuse::IFrame::add_FrameChanged(uInterface(uPtr(_frame), ::TYPES[56/*Fuse.IFrame*/]), uDelegate::New(::TYPES[20/*Uno.EventHandler*/], (void*)RootViewport__OnResized_fn, this)); _overridePixelsPerPoint = 0.0f; EstablishSize(); uPtr(_frustumViewport)->Update((uObject*)this, Frustum); RootInternal(NULL); OnInvalidateLayout(); } // private void EstablishSize() [instance] :153 void RootViewport::EstablishSize() { if (!_sizeOverridden) EstablishSizeInternals(); if (::g::Uno::Delegate::op_Inequality(Resized1, NULL)) uPtr(Resized1)->InvokeVoid(uCRef(_pixelSize)); } // private extern void EstablishSizeInternals() [instance] :216 void RootViewport::EstablishSizeInternals() { if (::g::Fuse::AppBase::Current2() == NULL) { _pixelsPerPoint = 1.0f; _pixelsPerOSPoint = 1.0f; return; } _pixelSize = ::g::Fuse::IFrame::Size(uInterface(uPtr(_frame), ::TYPES[56/*Fuse.IFrame*/])); _pixelsPerOSPoint = uPtr(::g::Uno::Platform::Displays::MainDisplay())->Density(); _pixelsPerPoint = _pixelsPerOSPoint; } // internal void OnResized(object s, object a) [instance] :133 void RootViewport::OnResized(uObject* s, uObject* a) { EstablishSize(); uPtr(_frustumViewport)->Update((uObject*)this, Frustum); OnInvalidateLayout(); } // public float2 get_PixelSize() [instance] :255 ::g::Uno::Float2 RootViewport::PixelSize() { return _pixelSize; } // internal float get_PixelsPerOSPoint() [instance] :237 float RootViewport::PixelsPerOSPoint() { return _pixelsPerOSPoint; } // public float get_PixelsPerPoint() [instance] :242 float RootViewport::PixelsPerPoint() { return (_overridePixelsPerPoint > 0.0f) ? _overridePixelsPerPoint : _pixelsPerPoint; } // public Fuse.Ray PointToWorldRay(float2 pixelPos) [instance] :272 ::g::Fuse::Ray RootViewport::PointToWorldRay(::g::Uno::Float2 pixelPos) { return ::g::Fuse::ViewportHelpers::PointToWorldRay((uObject*)this, uPtr(_frustumViewport)->ViewProjectionTransformInverse, pixelPos); } // internal Fuse.PreviewState get_PreviewState() [instance] :283 ::g::Fuse::PreviewState* RootViewport::PreviewState() { return _previewState; } // public generated void add_Resized(Uno.Action<float2> value) [instance] :37 void RootViewport::add_Resized(uDelegate* value) { Resized1 = uCast<uDelegate*>(::g::Uno::Delegate::Combine(Resized1, value), ::TYPES[60/*Uno.Action<float2>*/]); } // public generated void remove_Resized(Uno.Action<float2> value) [instance] :37 void RootViewport::remove_Resized(uDelegate* value) { Resized1 = uCast<uDelegate*>(::g::Uno::Delegate::Remove(Resized1, value), ::TYPES[60/*Uno.Action<float2>*/]); } // public float2 get_Size() [instance] :249 ::g::Uno::Float2 RootViewport::Size() { return ::g::Uno::Float2__op_Division1(PixelSize(), PixelsPerPoint()); } // public Fuse.Ray WorldToLocalRay(Fuse.IViewport world, Fuse.Ray worldRay, Fuse.Visual where) [instance] :276 ::g::Fuse::Ray RootViewport::WorldToLocalRay(uObject* world, ::g::Fuse::Ray worldRay, ::g::Fuse::Visual* where) { return ::g::Fuse::ViewportHelpers::WorldToLocalRay((uObject*)this, world, worldRay, where); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Transform.uno // -------------------------------------------------------------------------------- // public sealed class Rotation :59 // { static void Rotation_build(uType* type) { type->SetDependencies( ::g::Uno::Math_typeof()); type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Transform_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(::g::Fuse::Transform_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(::g::Fuse::Transform_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(::g::Fuse::Transform_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(::g::Fuse::Transform_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Transform_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Transform_type, interface6)); type->SetFields(18, ::g::Uno::Float3_typeof(), offsetof(Rotation, _euler), 0); } ::g::Fuse::Transform_type* Rotation_typeof() { static uSStrong< ::g::Fuse::Transform_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Transform_typeof(); options.FieldCount = 19; options.InterfaceCount = 7; options.DependencyCount = 1; options.ObjectSize = sizeof(Rotation); options.TypeSize = sizeof(::g::Fuse::Transform_type); type = (::g::Fuse::Transform_type*)uClassType::New("Fuse.Rotation", options); type->fp_build_ = Rotation_build; type->fp_ctor_ = (void*)Rotation__New2_fn; type->fp_AppendTo = (void(*)(::g::Fuse::Transform*, ::g::Fuse::FastMatrix*, float*))Rotation__AppendTo_fn; type->fp_get_IsFlat = (void(*)(::g::Fuse::Transform*, bool*))Rotation__get_IsFlat_fn; type->fp_PrependTo = (void(*)(::g::Fuse::Transform*, ::g::Fuse::FastMatrix*))Rotation__PrependTo_fn; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // public generated Rotation() :59 void Rotation__ctor_3_fn(Rotation* __this) { __this->ctor_3(); } // public float get_AngleZ() :124 void Rotation__get_AngleZ_fn(Rotation* __this, float* __retval) { *__retval = __this->AngleZ(); } // public void set_AngleZ(float value) :125 void Rotation__set_AngleZ_fn(Rotation* __this, float* value) { __this->AngleZ(*value); } // public override sealed void AppendTo(Fuse.FastMatrix m, float weight) :185 void Rotation__AppendTo_fn(Rotation* __this, ::g::Fuse::FastMatrix* m, float* weight) { float weight_ = *weight; if (__this->HasRotation()) uPtr(m)->AppendRotationQuaternion(::g::Uno::Quaternion::FromEulerAngle1(::g::Uno::Float3__op_Multiply1(__this->_euler, weight_))); } // public float get_Degrees() :99 void Rotation__get_Degrees_fn(Rotation* __this, float* __retval) { *__retval = __this->Degrees(); } // public void set_Degrees(float value) :100 void Rotation__set_Degrees_fn(Rotation* __this, float* value) { __this->Degrees(*value); } // public float get_DegreesZ() :118 void Rotation__get_DegreesZ_fn(Rotation* __this, float* __retval) { *__retval = __this->DegreesZ(); } // public void set_DegreesZ(float value) :119 void Rotation__set_DegreesZ_fn(Rotation* __this, float* value) { __this->DegreesZ(*value); } // public float3 get_EulerAngle() :67 void Rotation__get_EulerAngle_fn(Rotation* __this, ::g::Uno::Float3* __retval) { *__retval = __this->EulerAngle(); } // public void set_EulerAngle(float3 value) :68 void Rotation__set_EulerAngle_fn(Rotation* __this, ::g::Uno::Float3* value) { __this->EulerAngle(*value); } // private bool get_HasRotation() :178 void Rotation__get_HasRotation_fn(Rotation* __this, bool* __retval) { *__retval = __this->HasRotation(); } // public override sealed bool get_IsFlat() :199 void Rotation__get_IsFlat_fn(Rotation* __this, bool* __retval) { return *__retval = (::g::Uno::Math::Abs1(__this->_euler.X) < 1e-05f) && (::g::Uno::Math::Abs1(__this->_euler.Y) < 1e-05f), void(); } // public generated Rotation New() :59 void Rotation__New2_fn(Rotation** __retval) { *__retval = Rotation::New2(); } // public override sealed void PrependTo(Fuse.FastMatrix m) :191 void Rotation__PrependTo_fn(Rotation* __this, ::g::Fuse::FastMatrix* m) { if (__this->HasRotation()) uPtr(m)->PrependRotationQuaternion(::g::Uno::Quaternion::FromEulerAngle1(__this->_euler)); } // public generated Rotation() [instance] :59 void Rotation::ctor_3() { ctor_2(); } // public float get_AngleZ() [instance] :124 float Rotation::AngleZ() { return _euler.Z; } // public void set_AngleZ(float value) [instance] :125 void Rotation::AngleZ(float value) { if (_euler.Z != value) { _euler.Z = value; OnMatrixChanged(NULL, NULL); } } // public float get_Degrees() [instance] :99 float Rotation::Degrees() { return DegreesZ(); } // public void set_Degrees(float value) [instance] :100 void Rotation::Degrees(float value) { DegreesZ(value); } // public float get_DegreesZ() [instance] :118 float Rotation::DegreesZ() { return ::g::Uno::Math::RadiansToDegrees1(_euler.Z); } // public void set_DegreesZ(float value) [instance] :119 void Rotation::DegreesZ(float value) { AngleZ(::g::Uno::Math::DegreesToRadians1(value)); } // public float3 get_EulerAngle() [instance] :67 ::g::Uno::Float3 Rotation::EulerAngle() { return _euler; } // public void set_EulerAngle(float3 value) [instance] :68 void Rotation::EulerAngle(::g::Uno::Float3 value) { if (::g::Uno::Float3__op_Inequality(_euler, value)) { _euler = value; OnMatrixChanged(NULL, NULL); } } // private bool get_HasRotation() [instance] :178 bool Rotation::HasRotation() { return ((::g::Uno::Math::Abs1(_euler.X) + ::g::Uno::Math::Abs1(_euler.Y)) + ::g::Uno::Math::Abs1(_euler.Z)) > 1e-05f; } // public generated Rotation New() [static] :59 Rotation* Rotation::New2() { Rotation* obj1 = (Rotation*)uNew(Rotation_typeof()); obj1->ctor_3(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Children.SafeIterator.uno // --------------------------------------------------------------------------------------------------- // private sealed class Visual.SafeIterator :53 // { static void Visual__SafeIterator_build(uType* type) { ::TYPES[61] = ::g::Fuse::Node_typeof()->Array(); type->SetInterfaces( ::g::Uno::Collections::IEnumerator1_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), offsetof(Visual__SafeIterator_type, interface0), ::g::Uno::IDisposable_typeof(), offsetof(Visual__SafeIterator_type, interface1), ::g::Uno::Collections::IEnumerator_typeof(), offsetof(Visual__SafeIterator_type, interface2)); type->SetFields(0, ::TYPES[61/*Fuse.Node[]*/], offsetof(Visual__SafeIterator, _array), 0, ::g::Uno::Int_typeof(), offsetof(Visual__SafeIterator, _pos), 0, ::g::Fuse::Node_typeof(), offsetof(Visual__SafeIterator, _current), 0, type, offsetof(Visual__SafeIterator, _nextIterator), 0, ::g::Fuse::Visual_typeof(), offsetof(Visual__SafeIterator, _v), 0, ::g::Uno::Bool_typeof(), offsetof(Visual__SafeIterator, _reachedEnd), 0); } Visual__SafeIterator_type* Visual__SafeIterator_typeof() { static uSStrong<Visual__SafeIterator_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 6; options.InterfaceCount = 3; options.ObjectSize = sizeof(Visual__SafeIterator); options.TypeSize = sizeof(Visual__SafeIterator_type); type = (Visual__SafeIterator_type*)uClassType::New("Fuse.Visual.SafeIterator", options); type->fp_build_ = Visual__SafeIterator_build; type->interface0.fp_get_Current = (void(*)(uObject*, uTRef))Visual__SafeIterator__get_Current_fn; type->interface1.fp_Dispose = (void(*)(uObject*))Visual__SafeIterator__Dispose_fn; type->interface2.fp_Reset = (void(*)(uObject*))Visual__SafeIterator__Reset_fn; type->interface2.fp_MoveNext = (void(*)(uObject*, bool*))Visual__SafeIterator__MoveNext_fn; return type; } // internal SafeIterator(Fuse.Visual v) :61 void Visual__SafeIterator__ctor__fn(Visual__SafeIterator* __this, ::g::Fuse::Visual* v) { __this->ctor_(v); } // private void AddToIteratorList() :122 void Visual__SafeIterator__AddToIteratorList_fn(Visual__SafeIterator* __this) { __this->AddToIteratorList(); } // public Fuse.Node get_Current() :69 void Visual__SafeIterator__get_Current_fn(Visual__SafeIterator* __this, ::g::Fuse::Node** __retval) { *__retval = __this->Current(); } // public void Dispose() :107 void Visual__SafeIterator__Dispose_fn(Visual__SafeIterator* __this) { __this->Dispose(); } // public bool MoveNext() :85 void Visual__SafeIterator__MoveNext_fn(Visual__SafeIterator* __this, bool* __retval) { *__retval = __this->MoveNext(); } // private bool get_MultipleIterators() :145 void Visual__SafeIterator__get_MultipleIterators_fn(Visual__SafeIterator* __this, bool* __retval) { *__retval = __this->MultipleIterators(); } // internal SafeIterator New(Fuse.Visual v) :61 void Visual__SafeIterator__New1_fn(::g::Fuse::Visual* v, Visual__SafeIterator** __retval) { *__retval = Visual__SafeIterator::New1(v); } // private void RemoveFromIteratorList() :128 void Visual__SafeIterator__RemoveFromIteratorList_fn(Visual__SafeIterator* __this) { __this->RemoveFromIteratorList(); } // public void Reset() :114 void Visual__SafeIterator__Reset_fn(Visual__SafeIterator* __this) { __this->Reset(); } // internal void SecureCopy() :147 void Visual__SafeIterator__SecureCopy_fn(Visual__SafeIterator* __this) { __this->SecureCopy(); } // internal SafeIterator(Fuse.Visual v) [instance] :61 void Visual__SafeIterator::ctor_(::g::Fuse::Visual* v) { _pos = -1; _v = v; AddToIteratorList(); } // private void AddToIteratorList() [instance] :122 void Visual__SafeIterator::AddToIteratorList() { _nextIterator = uPtr(_v)->_safeIterator; uPtr(_v)->_safeIterator = this; } // public Fuse.Node get_Current() [instance] :69 ::g::Fuse::Node* Visual__SafeIterator::Current() { if (_array != NULL) { if (uPtr(_array)->Strong< ::g::Fuse::Node*>(_pos) == NULL) U_THROW(::g::Uno::Exception::New1()); return uPtr(_array)->Strong< ::g::Fuse::Node*>(_pos); } else { if (_current == NULL) U_THROW(::g::Uno::Exception::New1()); return _current; } } // public void Dispose() [instance] :107 void Visual__SafeIterator::Dispose() { Reset(); RemoveFromIteratorList(); _v = NULL; } // public bool MoveNext() [instance] :85 bool Visual__SafeIterator::MoveNext() { if (_reachedEnd) return false; if (_pos == -1) _array = uPtr(_v)->Children_cachedArray; _pos++; if (_array != NULL) return _pos < uPtr(_array)->Length(); if (_current == NULL) _current = uPtr(_v)->_firstChild; else _current = uPtr(_current)->_nextSibling; _reachedEnd = (_current == NULL); return !_reachedEnd; } // private bool get_MultipleIterators() [instance] :145 bool Visual__SafeIterator::MultipleIterators() { return uPtr(uPtr(_v)->_safeIterator)->_nextIterator != NULL; } // private void RemoveFromIteratorList() [instance] :128 void Visual__SafeIterator::RemoveFromIteratorList() { if (uPtr(_v)->_safeIterator == this) uPtr(_v)->_safeIterator = _nextIterator; else for (Visual__SafeIterator* si = uPtr(_v)->_safeIterator; si != NULL; si = uPtr(si)->_nextIterator) if (uPtr(si)->_nextIterator == this) { uPtr(si)->_nextIterator = _nextIterator; return; } } // public void Reset() [instance] :114 void Visual__SafeIterator::Reset() { _pos = -1; _current = NULL; _array = NULL; _reachedEnd = false; } // internal void SecureCopy() [instance] :147 void Visual__SafeIterator::SecureCopy() { if (_array == NULL) { if ((uPtr(_v)->Children_cachedArray != NULL) || MultipleIterators()) _array = uPtr(_v)->Children_GetCachedArray(); else { _array = uArray::New(::TYPES[61/*Fuse.Node[]*/], uPtr(_v)->_childCount - _pos); int32_t i = 0; while (_current != NULL) { uPtr(_array)->Strong< ::g::Fuse::Node*>(i++) = _current; _current = uPtr(_current)->_nextSibling; } if ((_pos != -1) && (uPtr(_array)->Length() > 0)) _pos = 0; } } if (_nextIterator != NULL) uPtr(_nextIterator)->SecureCopy(); RemoveFromIteratorList(); } // internal SafeIterator New(Fuse.Visual v) [static] :61 Visual__SafeIterator* Visual__SafeIterator::New1(::g::Fuse::Visual* v) { Visual__SafeIterator* obj1 = (Visual__SafeIterator*)uNew(Visual__SafeIterator_typeof()); obj1->ctor_(v); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Scaling.uno // ------------------------------------------------------------------------------ // public sealed class Scaling :43 // { static void Scaling_build(uType* type) { ::TYPES[62] = ::g::Fuse::IScalingMode_typeof(); type->SetBase(::g::Fuse::RelativeTransform_typeof()->MakeType(::g::Fuse::IScalingMode_typeof(), NULL)); type->SetDependencies( ::g::Uno::Math_typeof(), ::g::Fuse::ScalingModes_typeof()); type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::RelativeTransform_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(::g::Fuse::RelativeTransform_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(::g::Fuse::RelativeTransform_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(::g::Fuse::RelativeTransform_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(::g::Fuse::RelativeTransform_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::RelativeTransform_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::RelativeTransform_type, interface6), ::g::Fuse::ITransformRelative_typeof(), offsetof(::g::Fuse::RelativeTransform_type, interface7)); type->SetFields(22, ::g::Uno::Float3_typeof(), offsetof(Scaling, _vector), 0); } ::g::Fuse::RelativeTransform_type* Scaling_typeof() { static uSStrong< ::g::Fuse::RelativeTransform_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::RelativeTransform_typeof(); options.FieldCount = 23; options.InterfaceCount = 8; options.DependencyCount = 2; options.ObjectSize = sizeof(Scaling); options.TypeSize = sizeof(::g::Fuse::RelativeTransform_type); type = (::g::Fuse::RelativeTransform_type*)uClassType::New("Fuse.Scaling", options); type->fp_build_ = Scaling_build; type->fp_ctor_ = (void*)Scaling__New2_fn; type->fp_AppendTo = (void(*)(::g::Fuse::Transform*, ::g::Fuse::FastMatrix*, float*))Scaling__AppendTo_fn; type->fp_get_IsFlat = (void(*)(::g::Fuse::Transform*, bool*))Scaling__get_IsFlat_fn; type->fp_PrependTo = (void(*)(::g::Fuse::Transform*, ::g::Fuse::FastMatrix*))Scaling__PrependTo_fn; type->interface7.fp_OnTransformChanged = (void(*)(uObject*, uObject*, uObject*))::g::Fuse::RelativeTransform__FuseITransformRelativeOnTransformChanged_fn; type->interface7.fp_get_Target = (void(*)(uObject*, ::g::Fuse::Visual**))::g::Fuse::RelativeTransform__FuseITransformRelativeget_Target_fn; type->interface7.fp_get_RelativeNode = (void(*)(uObject*, ::g::Fuse::Visual**))::g::Fuse::RelativeTransform__FuseITransformRelativeget_RelativeNode_fn; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // public Scaling() :45 void Scaling__ctor_4_fn(Scaling* __this) { __this->ctor_4(); } // public override sealed void AppendTo(Fuse.FastMatrix m, float weight) :123 void Scaling__AppendTo_fn(Scaling* __this, ::g::Fuse::FastMatrix* m, float* weight) { float weight_ = *weight; ::g::Uno::Float3 v = __this->EffectiveVector(); if (!__this->IsIdentity(v)) uPtr(m)->AppendScale1(::g::Uno::Math::Lerp4(::g::Uno::Float3__New1(1.0f), v, weight_)); } // private float3 get_EffectiveVector() :109 void Scaling__get_EffectiveVector_fn(Scaling* __this, ::g::Uno::Float3* __retval) { *__retval = __this->EffectiveVector(); } // public float get_Factor() :56 void Scaling__get_Factor_fn(Scaling* __this, float* __retval) { *__retval = __this->Factor(); } // public void set_Factor(float value) :57 void Scaling__set_Factor_fn(Scaling* __this, float* value) { __this->Factor(*value); } // public override sealed bool get_IsFlat() :139 void Scaling__get_IsFlat_fn(Scaling* __this, bool* __retval) { return *__retval = true, void(); } // private bool IsIdentity(float3 v) :115 void Scaling__IsIdentity_fn(Scaling* __this, ::g::Uno::Float3* v, bool* __retval) { *__retval = __this->IsIdentity(*v); } // public Scaling New() :45 void Scaling__New2_fn(Scaling** __retval) { *__retval = Scaling::New2(); } // public override sealed void PrependTo(Fuse.FastMatrix m) :130 void Scaling__PrependTo_fn(Scaling* __this, ::g::Fuse::FastMatrix* m) { ::g::Uno::Float3 v = __this->EffectiveVector(); if (!__this->IsIdentity(v)) uPtr(m)->PrependScale1(v); } // public float3 get_Vector() :75 void Scaling__get_Vector_fn(Scaling* __this, ::g::Uno::Float3* __retval) { *__retval = __this->Vector(); } // public void set_Vector(float3 value) :76 void Scaling__set_Vector_fn(Scaling* __this, ::g::Uno::Float3* value) { __this->Vector(*value); } // public Scaling() [instance] :45 void Scaling::ctor_4() { _vector = ::g::Uno::Float3__New1(1.0f); ctor_3(::g::Fuse::ScalingModes::Identity()); } // private float3 get_EffectiveVector() [instance] :109 ::g::Uno::Float3 Scaling::EffectiveVector() { return ::g::Fuse::IScalingMode::GetScaleVector(uInterface(uPtr((uObject*)RelativeTo()), ::TYPES[62/*Fuse.IScalingMode*/]), this); } // public float get_Factor() [instance] :56 float Scaling::Factor() { return _vector.X; } // public void set_Factor(float value) [instance] :57 void Scaling::Factor(float value) { if (::g::Uno::Float3__op_Inequality(_vector, ::g::Uno::Float3__New1(value))) { _vector = ::g::Uno::Float3__New1(value); OnMatrixChanged(NULL, NULL); } } // private bool IsIdentity(float3 v) [instance] :115 bool Scaling::IsIdentity(::g::Uno::Float3 v) { float zeroTolerance = 1e-05f; return ((::g::Uno::Math::Abs1(v.X - 1.0f) < 1e-05f) && (::g::Uno::Math::Abs1(v.Y - 1.0f) < 1e-05f)) && (::g::Uno::Math::Abs1(v.Z - 1.0f) < 1e-05f); } // public float3 get_Vector() [instance] :75 ::g::Uno::Float3 Scaling::Vector() { return _vector; } // public void set_Vector(float3 value) [instance] :76 void Scaling::Vector(::g::Uno::Float3 value) { if (::g::Uno::Float3__op_Inequality(_vector, value)) { _vector = value; OnMatrixChanged(NULL, NULL); } } // public Scaling New() [static] :45 Scaling* Scaling::New2() { Scaling* obj1 = (Scaling*)uNew(Scaling_typeof()); obj1->ctor_4(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Scaling.uno // ------------------------------------------------------------------------------ // public static class ScalingModes :11 // { // static generated ScalingModes() :11 static void ScalingModes__cctor__fn(uType* __type) { ScalingModes::Identity_ = (uObject*)ScalingModes__IdentityMode::New1(); } static void ScalingModes_build(uType* type) { type->SetFields(0, ::g::Fuse::IScalingMode_typeof(), (uintptr_t)&ScalingModes::Identity_, uFieldFlagsStatic); } uClassType* ScalingModes_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.ScalingModes", options); type->fp_build_ = ScalingModes_build; type->fp_cctor_ = ScalingModes__cctor__fn; return type; } uSStrong<uObject*> ScalingModes::Identity_; // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Transform.uno // -------------------------------------------------------------------------------- // public sealed class Shear :209 // { static void Shear_build(uType* type) { type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Transform_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(::g::Fuse::Transform_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(::g::Fuse::Transform_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(::g::Fuse::Transform_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(::g::Fuse::Transform_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Transform_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Transform_type, interface6)); type->SetFields(18, ::g::Uno::Float2_typeof(), offsetof(Shear, _vector), 0); } ::g::Fuse::Transform_type* Shear_typeof() { static uSStrong< ::g::Fuse::Transform_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Transform_typeof(); options.FieldCount = 19; options.InterfaceCount = 7; options.ObjectSize = sizeof(Shear); options.TypeSize = sizeof(::g::Fuse::Transform_type); type = (::g::Fuse::Transform_type*)uClassType::New("Fuse.Shear", options); type->fp_build_ = Shear_build; type->fp_ctor_ = (void*)Shear__New2_fn; type->fp_AppendTo = (void(*)(::g::Fuse::Transform*, ::g::Fuse::FastMatrix*, float*))Shear__AppendTo_fn; type->fp_get_IsFlat = (void(*)(::g::Fuse::Transform*, bool*))Shear__get_IsFlat_fn; type->fp_PrependTo = (void(*)(::g::Fuse::Transform*, ::g::Fuse::FastMatrix*))Shear__PrependTo_fn; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // public generated Shear() :209 void Shear__ctor_3_fn(Shear* __this) { __this->ctor_3(); } // public override sealed void AppendTo(Fuse.FastMatrix m, float weight) :267 void Shear__AppendTo_fn(Shear* __this, ::g::Fuse::FastMatrix* m, float* weight) { float weight_ = *weight; ::g::Uno::Float2 v = ::g::Uno::Float2__op_Multiply1(__this->Vector(), weight_); uPtr(m)->AppendShear(v.X, v.Y); } // public override sealed bool get_IsFlat() :281 void Shear__get_IsFlat_fn(Shear* __this, bool* __retval) { return *__retval = true, void(); } // public generated Shear New() :209 void Shear__New2_fn(Shear** __retval) { *__retval = Shear::New2(); } // public override sealed void PrependTo(Fuse.FastMatrix m) :273 void Shear__PrependTo_fn(Shear* __this, ::g::Fuse::FastMatrix* m) { ::g::Uno::Float2 v = __this->Vector(); uPtr(m)->PrependShear(v.X, v.Y); } // public float2 get_Vector() :215 void Shear__get_Vector_fn(Shear* __this, ::g::Uno::Float2* __retval) { *__retval = __this->Vector(); } // public void set_Vector(float2 value) :216 void Shear__set_Vector_fn(Shear* __this, ::g::Uno::Float2* value) { __this->Vector(*value); } // public generated Shear() [instance] :209 void Shear::ctor_3() { ctor_2(); } // public float2 get_Vector() [instance] :215 ::g::Uno::Float2 Shear::Vector() { return _vector; } // public void set_Vector(float2 value) [instance] :216 void Shear::Vector(::g::Uno::Float2 value) { if (::g::Uno::Float2__op_Inequality(_vector, value)) { _vector = value; OnMatrixChanged(NULL, NULL); } } // public generated Shear New() [static] :209 Shear* Shear::New2() { Shear* obj1 = (Shear*)uNew(Shear_typeof()); obj1->ctor_3(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Marshal.Convert.uno // ---------------------------------------------------------------------------------------- // private sealed class Marshal.SingleArray :15 // { static void Marshal__SingleArray_build(uType* type) { type->SetInterfaces( ::g::Fuse::IArray_typeof(), offsetof(Marshal__SingleArray_type, interface0)); type->SetFields(0, uObject_typeof(), offsetof(Marshal__SingleArray, _obj), 0); } Marshal__SingleArray_type* Marshal__SingleArray_typeof() { static uSStrong<Marshal__SingleArray_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.InterfaceCount = 1; options.ObjectSize = sizeof(Marshal__SingleArray); options.TypeSize = sizeof(Marshal__SingleArray_type); type = (Marshal__SingleArray_type*)uClassType::New("Fuse.Marshal.SingleArray", options); type->fp_build_ = Marshal__SingleArray_build; type->interface0.fp_get_Length = (void(*)(uObject*, int32_t*))Marshal__SingleArray__get_Length_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uObject**))Marshal__SingleArray__get_Item_fn; return type; } // public SingleArray(object obj) :18 void Marshal__SingleArray__ctor__fn(Marshal__SingleArray* __this, uObject* obj) { __this->ctor_(obj); } // public object get_Item(int index) :22 void Marshal__SingleArray__get_Item_fn(Marshal__SingleArray* __this, int32_t* index, uObject** __retval) { *__retval = __this->Item(*index); } // public int get_Length() :19 void Marshal__SingleArray__get_Length_fn(Marshal__SingleArray* __this, int32_t* __retval) { *__retval = __this->Length(); } // public SingleArray New(object obj) :18 void Marshal__SingleArray__New1_fn(uObject* obj, Marshal__SingleArray** __retval) { *__retval = Marshal__SingleArray::New1(obj); } // public SingleArray(object obj) [instance] :18 void Marshal__SingleArray::ctor_(uObject* obj) { _obj = obj; } // public object get_Item(int index) [instance] :22 uObject* Marshal__SingleArray::Item(int32_t index) { if (index != 0) U_THROW(::g::Uno::IndexOutOfRangeException::New4()); return _obj; } // public int get_Length() [instance] :19 int32_t Marshal__SingleArray::Length() { return 1; } // public SingleArray New(object obj) [static] :18 Marshal__SingleArray* Marshal__SingleArray::New1(uObject* obj) { Marshal__SingleArray* obj1 = (Marshal__SingleArray*)uNew(Marshal__SingleArray_typeof()); obj1->ctor_(obj); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // internal sealed class Size2Computer :196 // { static void Size2Computer_build(uType* type) { type->SetBase(::g::Fuse::Computer1_typeof()->MakeType(::g::Uno::UX::Size2_typeof(), NULL)); } ::g::Fuse::Computer1_type* Size2Computer_typeof() { static uSStrong< ::g::Fuse::Computer1_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Computer1_typeof(); options.ObjectSize = sizeof(Size2Computer); options.TypeSize = sizeof(::g::Fuse::Computer1_type); type = (::g::Fuse::Computer1_type*)uClassType::New("Fuse.Size2Computer", options); type->fp_build_ = Size2Computer_build; type->fp_ctor_ = (void*)Size2Computer__New1_fn; type->fp_TryOpImpl = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, bool*, bool*))Size2Computer__TryOpImpl_fn; type->fp_TryOpImpl1 = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, uTRef, bool*))Size2Computer__TryOpImpl1_fn; return type; } // public generated Size2Computer() :196 void Size2Computer__ctor_2_fn(Size2Computer* __this) { __this->ctor_2(); } // public generated Size2Computer New() :196 void Size2Computer__New1_fn(Size2Computer** __retval) { *__retval = Size2Computer::New1(); } // protected override sealed bool TryOpImpl(Fuse.Computer.BoolOp op, Uno.UX.Size2 a, Uno.UX.Size2 b, bool& result) :212 void Size2Computer__TryOpImpl_fn(Size2Computer* __this, int32_t* op, ::g::Uno::UX::Size2* a, ::g::Uno::UX::Size2* b, bool* result, bool* __retval) { int32_t op_ = *op; ::g::Uno::UX::Size2 a_ = *a; ::g::Uno::UX::Size2 b_ = *b; switch (op_) { case 4: { *result = ::g::Uno::UX::Size2__op_Equality(a_, b_); return *__retval = true, void(); } } *result = false; return *__retval = false, void(); } // protected override sealed bool TryOpImpl(Fuse.Computer.TypeOp op, Uno.UX.Size2 a, Uno.UX.Size2 b, Uno.UX.Size2& result) :198 void Size2Computer__TryOpImpl1_fn(Size2Computer* __this, int32_t* op, ::g::Uno::UX::Size2* a, ::g::Uno::UX::Size2* b, ::g::Uno::UX::Size2* result, bool* __retval) { int32_t op_ = *op; ::g::Uno::UX::Size2 a_ = *a; ::g::Uno::UX::Size2 b_ = *b; switch (op_) { case 0: { *result = ::g::Uno::UX::Size2__op_Addition(a_, b_); return *__retval = true, void(); } case 1: { *result = ::g::Uno::UX::Size2__op_Subtraction(a_, b_); return *__retval = true, void(); } case 2: { *result = ::g::Uno::UX::Size2__op_Multiply1(a_, b_); return *__retval = true, void(); } case 3: { *result = ::g::Uno::UX::Size2__op_Division1(a_, b_); return *__retval = true, void(); } } *result = uDefault< ::g::Uno::UX::Size2>(); return *__retval = false, void(); } // public generated Size2Computer() [instance] :196 void Size2Computer::ctor_2() { ctor_1(); } // public generated Size2Computer New() [static] :196 Size2Computer* Size2Computer::New1() { Size2Computer* obj1 = (Size2Computer*)uNew(Size2Computer_typeof()); obj1->ctor_2(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // internal sealed class SizeComputer :158 // { static void SizeComputer_build(uType* type) { type->SetBase(::g::Fuse::Computer1_typeof()->MakeType(::g::Uno::UX::Size_typeof(), NULL)); type->SetDependencies( ::g::Uno::Math_typeof()); } ::g::Fuse::Computer1_type* SizeComputer_typeof() { static uSStrong< ::g::Fuse::Computer1_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Computer1_typeof(); options.DependencyCount = 1; options.ObjectSize = sizeof(SizeComputer); options.TypeSize = sizeof(::g::Fuse::Computer1_type); type = (::g::Fuse::Computer1_type*)uClassType::New("Fuse.SizeComputer", options); type->fp_build_ = SizeComputer_build; type->fp_ctor_ = (void*)SizeComputer__New1_fn; type->fp_TryOpImpl = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, bool*, bool*))SizeComputer__TryOpImpl_fn; type->fp_TryOpImpl1 = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, uTRef, bool*))SizeComputer__TryOpImpl1_fn; return type; } // public generated SizeComputer() :158 void SizeComputer__ctor_2_fn(SizeComputer* __this) { __this->ctor_2(); } // public generated SizeComputer New() :158 void SizeComputer__New1_fn(SizeComputer** __retval) { *__retval = SizeComputer::New1(); } // protected override sealed bool TryOpImpl(Fuse.Computer.BoolOp op, Uno.UX.Size a, Uno.UX.Size b, bool& result) :180 void SizeComputer__TryOpImpl_fn(SizeComputer* __this, int32_t* op, ::g::Uno::UX::Size* a, ::g::Uno::UX::Size* b, bool* result, bool* __retval) { int32_t op_ = *op; ::g::Uno::UX::Size a_ = *a; ::g::Uno::UX::Size b_ = *b; switch (op_) { case 4: { *result = ::g::Uno::UX::Size__op_Equality(a_, b_); return *__retval = true, void(); } case 0: { *result = a_.Value < b_.Value; return *__retval = true, void(); } case 1: { *result = a_.Value <= b_.Value; return *__retval = true, void(); } case 2: { *result = a_.Value > b_.Value; return *__retval = true, void(); } case 3: { *result = a_.Value >= b_.Value; return *__retval = true, void(); } } *result = false; return *__retval = false, void(); } // protected override sealed bool TryOpImpl(Fuse.Computer.TypeOp op, Uno.UX.Size a, Uno.UX.Size b, Uno.UX.Size& result) :160 void SizeComputer__TryOpImpl1_fn(SizeComputer* __this, int32_t* op, ::g::Uno::UX::Size* a, ::g::Uno::UX::Size* b, ::g::Uno::UX::Size* result, bool* __retval) { int32_t op_ = *op; ::g::Uno::UX::Size a_ = *a; ::g::Uno::UX::Size b_ = *b; switch (op_) { case 0: { *result = ::g::Uno::UX::Size__op_Addition(a_, b_); return *__retval = true, void(); } case 1: { *result = ::g::Uno::UX::Size__op_Subtraction(a_, b_); return *__retval = true, void(); } case 2: { *result = ::g::Uno::UX::Size__op_Multiply1(a_, b_); return *__retval = true, void(); } case 3: { *result = ::g::Uno::UX::Size__op_Division1(a_, b_); return *__retval = true, void(); } case 4: { *result = ::g::Uno::UX::Size__New1(::g::Uno::Math::Min1(a_.Value, b_.Value), ::g::Uno::UX::Size::Combine(a_.Unit, b_.Unit)); return *__retval = true, void(); } case 5: { *result = ::g::Uno::UX::Size__New1(::g::Uno::Math::Max1(a_.Value, b_.Value), ::g::Uno::UX::Size::Combine(a_.Unit, b_.Unit)); return *__retval = true, void(); } } *result = uDefault< ::g::Uno::UX::Size>(); return *__retval = false, void(); } // public generated SizeComputer() [instance] :158 void SizeComputer::ctor_2() { ctor_1(); } // public generated SizeComputer New() [static] :158 SizeComputer* SizeComputer::New1() { SizeComputer* obj1 = (SizeComputer*)uNew(SizeComputer_typeof()); obj1->ctor_2(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Translation.uno // ---------------------------------------------------------------------------------- // private class TranslationModes.SizeMode :75 // { static void TranslationModes__SizeMode_build(uType* type) { ::TYPES[49] = ::g::Fuse::IActualPlacement_typeof(); ::TYPES[50] = ::g::Fuse::ITransformRelative_typeof(); ::TYPES[51] = ::g::Fuse::PlacedHandler_typeof(); type->SetDependencies( ::g::Fuse::TranslationModes_typeof()); type->SetInterfaces( ::g::Fuse::ITranslationMode_typeof(), offsetof(TranslationModes__SizeMode_type, interface0), ::g::Fuse::ITransformMode_typeof(), offsetof(TranslationModes__SizeMode_type, interface1)); } TranslationModes__SizeMode_type* TranslationModes__SizeMode_typeof() { static uSStrong<TranslationModes__SizeMode_type*> type; if (type != NULL) return type; uTypeOptions options; options.InterfaceCount = 2; options.DependencyCount = 1; options.ObjectSize = sizeof(TranslationModes__SizeMode); options.TypeSize = sizeof(TranslationModes__SizeMode_type); type = (TranslationModes__SizeMode_type*)uClassType::New("Fuse.TranslationModes.SizeMode", options); type->fp_build_ = TranslationModes__SizeMode_build; type->fp_ctor_ = (void*)TranslationModes__SizeMode__New1_fn; type->fp_GetAbsVector = TranslationModes__SizeMode__GetAbsVector_fn; type->interface0.fp_GetAbsVector = (void(*)(uObject*, ::g::Fuse::Translation*, ::g::Uno::Float3*))TranslationModes__SizeMode__GetAbsVector_fn; type->interface1.fp_Subscribe = (void(*)(uObject*, uObject*, uObject**))TranslationModes__SizeMode__Subscribe_fn; type->interface1.fp_Unsubscribe = (void(*)(uObject*, uObject*, uObject*))TranslationModes__SizeMode__Unsubscribe_fn; return type; } // public generated SizeMode() :75 void TranslationModes__SizeMode__ctor__fn(TranslationModes__SizeMode* __this) { __this->ctor_(); } // public virtual float3 GetAbsVector(Fuse.Translation t) :77 void TranslationModes__SizeMode__GetAbsVector_fn(TranslationModes__SizeMode* __this, ::g::Fuse::Translation* t, ::g::Uno::Float3* __retval) { return *__retval = ::g::Uno::Float3__op_Multiply2(::g::Fuse::TranslationModes::SizeOf(uPtr(t)->RelativeNode()), uPtr(t)->Vector()), void(); } // public generated SizeMode New() :75 void TranslationModes__SizeMode__New1_fn(TranslationModes__SizeMode** __retval) { *__retval = TranslationModes__SizeMode::New1(); } // public object Subscribe(Fuse.ITransformRelative transform) :78 void TranslationModes__SizeMode__Subscribe_fn(TranslationModes__SizeMode* __this, uObject* transform, uObject** __retval) { *__retval = __this->Subscribe(transform); } // public void Unsubscribe(Fuse.ITransformRelative transform, object sub) :85 void TranslationModes__SizeMode__Unsubscribe_fn(TranslationModes__SizeMode* __this, uObject* transform, uObject* sub) { __this->Unsubscribe(transform, sub); } // public generated SizeMode() [instance] :75 void TranslationModes__SizeMode::ctor_() { } // public object Subscribe(Fuse.ITransformRelative transform) [instance] :78 uObject* TranslationModes__SizeMode::Subscribe(uObject* transform) { uObject* n = uAs<uObject*>(::g::Fuse::ITransformRelative::RelativeNode(uInterface(uPtr(transform), ::TYPES[50/*Fuse.ITransformRelative*/])), ::TYPES[49/*Fuse.IActualPlacement*/]); if (n != NULL) ::g::Fuse::IActualPlacement::add_Placed(uInterface(uPtr(n), ::TYPES[49/*Fuse.IActualPlacement*/]), uDelegate::New(::TYPES[51/*Fuse.PlacedHandler*/], uInterface(uPtr(transform), ::TYPES[50/*Fuse.ITransformRelative*/]), offsetof(::g::Fuse::ITransformRelative, fp_OnTransformChanged))); return ::g::Fuse::ITransformRelative::RelativeNode(uInterface(transform, ::TYPES[50/*Fuse.ITransformRelative*/])); } // public void Unsubscribe(Fuse.ITransformRelative transform, object sub) [instance] :85 void TranslationModes__SizeMode::Unsubscribe(uObject* transform, uObject* sub) { ::g::Fuse::IActualPlacement::remove_Placed(uInterface(uPtr(uAs<uObject*>(sub, ::TYPES[49/*Fuse.IActualPlacement*/])), ::TYPES[49/*Fuse.IActualPlacement*/]), uDelegate::New(::TYPES[51/*Fuse.PlacedHandler*/], uInterface(uPtr(transform), ::TYPES[50/*Fuse.ITransformRelative*/]), offsetof(::g::Fuse::ITransformRelative, fp_OnTransformChanged))); } // public generated SizeMode New() [static] :75 TranslationModes__SizeMode* TranslationModes__SizeMode::New1() { TranslationModes__SizeMode* obj1 = (TranslationModes__SizeMode*)uNew(TranslationModes__SizeMode_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\UpdateManager.uno // ------------------------------------------------------------------------------------- // internal sealed class Stage :81 // { static void Stage_build(uType* type) { ::TYPES[63] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::UpdateListener_typeof(), NULL); ::TYPES[64] = ::g::Uno::Collections::Queue_typeof()->MakeType(::g::Fuse::UpdateAction_typeof(), NULL)->Array(); ::TYPES[65] = ::g::Uno::Collections::Queue_typeof()->MakeType(::g::Fuse::UpdateAction_typeof(), NULL); type->SetFields(0, ::g::Fuse::UpdateStage_typeof(), offsetof(Stage, UpdateStage), 0, ::TYPES[63/*Uno.Collections.List<Fuse.UpdateListener>*/], offsetof(Stage, Listeners), 0, ::TYPES[63/*Uno.Collections.List<Fuse.UpdateListener>*/], offsetof(Stage, Onces), 0, ::TYPES[63/*Uno.Collections.List<Fuse.UpdateListener>*/], offsetof(Stage, OncesPending), 0, ::TYPES[64/*Uno.Collections.Queue<Fuse.UpdateAction>[]*/], offsetof(Stage, PhaseDeferredActions), 0, ::g::Uno::Bool_typeof(), offsetof(Stage, HasListenersRemoved), 0); } uType* Stage_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 6; options.ObjectSize = sizeof(Stage); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.Stage", options); type->fp_build_ = Stage_build; return type; } // public Stage(Fuse.UpdateStage _updateStage) :105 void Stage__ctor__fn(Stage* __this, int32_t* _updateStage) { __this->ctor_(*_updateStage); } // public void AddDeferredAction(Uno.Action pu, Fuse.IUpdateListener ul, [Fuse.LayoutPriority priority]) :130 void Stage__AddDeferredAction_fn(Stage* __this, uDelegate* pu, uObject* ul, int32_t* priority) { __this->AddDeferredAction(pu, ul, *priority); } // public Fuse.UpdateAction GetFirstPriorityAction() :93 void Stage__GetFirstPriorityAction_fn(Stage* __this, ::g::Fuse::UpdateAction** __retval) { *__retval = __this->GetFirstPriorityAction(); } // public void Insert(Uno.Collections.List<Fuse.UpdateListener> list, Fuse.UpdateListener us) :116 void Stage__Insert_fn(Stage* __this, ::g::Uno::Collections::List* list, ::g::Fuse::UpdateListener* us) { __this->Insert(list, us); } // public Stage New(Fuse.UpdateStage _updateStage) :105 void Stage__New1_fn(int32_t* _updateStage, Stage** __retval) { *__retval = Stage::New1(*_updateStage); } // public Stage(Fuse.UpdateStage _updateStage) [instance] :105 void Stage::ctor_(int32_t _updateStage) { Listeners = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[63/*Uno.Collections.List<Fuse.UpdateListener>*/])); Onces = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[63/*Uno.Collections.List<Fuse.UpdateListener>*/])); OncesPending = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[63/*Uno.Collections.List<Fuse.UpdateListener>*/])); UpdateStage = _updateStage; int32_t queueCount = 6; PhaseDeferredActions = uArray::New(::TYPES[64/*Uno.Collections.Queue<Fuse.UpdateAction>[]*/], queueCount); for (int32_t i = 0; i < queueCount; ++i) uPtr(PhaseDeferredActions)->Strong< ::g::Uno::Collections::Queue*>(i) = (::g::Uno::Collections::Queue*)::g::Uno::Collections::Queue::New1(::TYPES[65/*Uno.Collections.Queue<Fuse.UpdateAction>*/]); } // public void AddDeferredAction(Uno.Action pu, Fuse.IUpdateListener ul, [Fuse.LayoutPriority priority]) [instance] :130 void Stage::AddDeferredAction(uDelegate* pu, uObject* ul, int32_t priority) { ::g::Fuse::UpdateAction* collection1; ::g::Uno::Collections::Queue* queue = uPtr(PhaseDeferredActions)->Strong< ::g::Uno::Collections::Queue*>(priority); ::g::Uno::Collections::Queue__Enqueue_fn(uPtr(queue), (collection1 = ::g::Fuse::UpdateAction::New1(), uPtr(collection1)->action = pu, uPtr(collection1)->update = ul, collection1)); } // public Fuse.UpdateAction GetFirstPriorityAction() [instance] :93 ::g::Fuse::UpdateAction* Stage::GetFirstPriorityAction() { ::g::Fuse::UpdateAction* ret3; for (int32_t i = 0; i < uPtr(PhaseDeferredActions)->Length(); i++) { ::g::Uno::Collections::Queue* q = uPtr(PhaseDeferredActions)->Strong< ::g::Uno::Collections::Queue*>(i); if (uPtr(q)->Count() > 0) return (::g::Uno::Collections::Queue__Dequeue_fn(uPtr(q), &ret3), ret3); } return NULL; } // public void Insert(Uno.Collections.List<Fuse.UpdateListener> list, Fuse.UpdateListener us) [instance] :116 void Stage::Insert(::g::Uno::Collections::List* list, ::g::Fuse::UpdateListener* us) { ::g::Fuse::UpdateListener* ret4; for (int32_t i = uPtr(list)->Count(); i > 0; --i) if (uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(list), uCRef<int32_t>(i - 1), &ret4), ret4))->sequence <= uPtr(us)->sequence) { ::g::Uno::Collections::List__Insert_fn(uPtr(list), uCRef<int32_t>(i), us); return; } ::g::Uno::Collections::List__Insert_fn(list, uCRef<int32_t>(0), us); } // public Stage New(Fuse.UpdateStage _updateStage) [static] :105 Stage* Stage::New1(int32_t _updateStage) { Stage* obj2 = (Stage*)uNew(Stage_typeof()); obj2->ctor_(_updateStage); return obj2; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // internal sealed class StringComputer :77 // { static void StringComputer_build(uType* type) { type->SetBase(::g::Fuse::Computer1_typeof()->MakeType(::g::Uno::String_typeof(), NULL)); } ::g::Fuse::Computer1_type* StringComputer_typeof() { static uSStrong< ::g::Fuse::Computer1_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Computer1_typeof(); options.ObjectSize = sizeof(StringComputer); options.TypeSize = sizeof(::g::Fuse::Computer1_type); type = (::g::Fuse::Computer1_type*)uClassType::New("Fuse.StringComputer", options); type->fp_build_ = StringComputer_build; type->fp_ctor_ = (void*)StringComputer__New1_fn; type->fp_TryOpImpl = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, bool*, bool*))StringComputer__TryOpImpl_fn; type->fp_TryOpImpl1 = (void(*)(::g::Fuse::Computer1*, int32_t*, void*, void*, uTRef, bool*))StringComputer__TryOpImpl1_fn; return type; } // public generated StringComputer() :77 void StringComputer__ctor_2_fn(StringComputer* __this) { __this->ctor_2(); } // public generated StringComputer New() :77 void StringComputer__New1_fn(StringComputer** __retval) { *__retval = StringComputer::New1(); } // protected override sealed bool TryOpImpl(Fuse.Computer.BoolOp op, string a, string b, bool& result) :90 void StringComputer__TryOpImpl_fn(StringComputer* __this, int32_t* op, uString* a, uString* b, bool* result, bool* __retval) { int32_t op_ = *op; switch (op_) { case 4: { *result = ::g::Uno::String::op_Equality(a, b); return *__retval = true, void(); } } *result = false; return *__retval = false, void(); } // protected override sealed bool TryOpImpl(Fuse.Computer.TypeOp op, string a, string b, string& result) :79 void StringComputer__TryOpImpl1_fn(StringComputer* __this, int32_t* op, uString* a, uString* b, uString** result, bool* __retval) { int32_t op_ = *op; switch (op_) { case 0: { *result = ::g::Uno::String::op_Addition2(a, b); return *__retval = true, void(); } } *result = NULL; return *__retval = false, void(); } // public generated StringComputer() [instance] :77 void StringComputer::ctor_2() { ctor_1(); } // public generated StringComputer New() [static] :77 StringComputer* StringComputer::New1() { StringComputer* obj1 = (StringComputer*)uNew(StringComputer_typeof()); obj1->ctor_2(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\SystemFont.uno // ---------------------------------------------------------------------------------- // public enum SystemFont.Style :51 uEnumType* SystemFont__Style_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.SystemFont.Style", ::g::Uno::Int_typeof(), 2); type->SetLiterals( "Normal", 0LL, "Italic", 1LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\SystemFont.uno // ---------------------------------------------------------------------------------- // public sealed class SystemFont :36 // { static void SystemFont_build(uType* type) { type->SetFields(1); } uType* SystemFont_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Font_typeof(); options.FieldCount = 1; options.ObjectSize = sizeof(SystemFont); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.SystemFont", options); type->fp_build_ = SystemFont_build; return type; } // public SystemFont(string family, [Fuse.SystemFont.Style style], [Fuse.SystemFont.Weight weight]) :58 void SystemFont__ctor_2_fn(SystemFont* __this, uString* family, int32_t* style, int32_t* weight) { __this->ctor_2(family, *style, *weight); } // public SystemFont New(string family, [Fuse.SystemFont.Style style], [Fuse.SystemFont.Weight weight]) :58 void SystemFont__New3_fn(uString* family, int32_t* style, int32_t* weight, SystemFont** __retval) { *__retval = SystemFont::New3(family, *style, *weight); } // public SystemFont(string family, [Fuse.SystemFont.Style style], [Fuse.SystemFont.Weight weight]) [instance] :58 void SystemFont::ctor_2(uString* family, int32_t style, int32_t weight) { ctor_(::g::Fuse::Internal::SystemFont::Get(family, style, weight)); } // public SystemFont New(string family, [Fuse.SystemFont.Style style], [Fuse.SystemFont.Weight weight]) [static] :58 SystemFont* SystemFont::New3(uString* family, int32_t style, int32_t weight) { SystemFont* obj1 = (SystemFont*)uNew(SystemFont_typeof()); obj1->ctor_2(family, style, weight); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\RootViewport.uno // ----------------------------------------------------------------------------------- // internal sealed extern class SystemUIFrame :19 // { static void SystemUIFrame_build(uType* type) { type->SetDependencies( ::g::Fuse::Platform::SystemUI_typeof()); type->SetInterfaces( ::g::Fuse::IFrame_typeof(), offsetof(SystemUIFrame_type, interface0)); } SystemUIFrame_type* SystemUIFrame_typeof() { static uSStrong<SystemUIFrame_type*> type; if (type != NULL) return type; uTypeOptions options; options.InterfaceCount = 1; options.DependencyCount = 1; options.ObjectSize = sizeof(SystemUIFrame); options.TypeSize = sizeof(SystemUIFrame_type); type = (SystemUIFrame_type*)uClassType::New("Fuse.SystemUIFrame", options); type->fp_build_ = SystemUIFrame_build; type->fp_ctor_ = (void*)SystemUIFrame__New1_fn; type->interface0.fp_get_Size = (void(*)(uObject*, ::g::Uno::Float2*))SystemUIFrame__get_Size_fn; type->interface0.fp_add_FrameChanged = (void(*)(uObject*, uDelegate*))SystemUIFrame__add_FrameChanged_fn; type->interface0.fp_remove_FrameChanged = (void(*)(uObject*, uDelegate*))SystemUIFrame__remove_FrameChanged_fn; return type; } // public generated SystemUIFrame() :19 void SystemUIFrame__ctor__fn(SystemUIFrame* __this) { __this->ctor_(); } // public void add_FrameChanged(Uno.EventHandler value) :23 void SystemUIFrame__add_FrameChanged_fn(SystemUIFrame* __this, uDelegate* value) { __this->add_FrameChanged(value); } // public void remove_FrameChanged(Uno.EventHandler value) :24 void SystemUIFrame__remove_FrameChanged_fn(SystemUIFrame* __this, uDelegate* value) { __this->remove_FrameChanged(value); } // public generated SystemUIFrame New() :19 void SystemUIFrame__New1_fn(SystemUIFrame** __retval) { *__retval = SystemUIFrame::New1(); } // public float2 get_Size() :29 void SystemUIFrame__get_Size_fn(SystemUIFrame* __this, ::g::Uno::Float2* __retval) { *__retval = __this->Size(); } // public generated SystemUIFrame() [instance] :19 void SystemUIFrame::ctor_() { } // public void add_FrameChanged(Uno.EventHandler value) [instance] :23 void SystemUIFrame::add_FrameChanged(uDelegate* value) { ::g::Fuse::Platform::SystemUI::add_FrameChanged(value); } // public void remove_FrameChanged(Uno.EventHandler value) [instance] :24 void SystemUIFrame::remove_FrameChanged(uDelegate* value) { ::g::Fuse::Platform::SystemUI::remove_FrameChanged(value); } // public float2 get_Size() [instance] :29 ::g::Uno::Float2 SystemUIFrame::Size() { return ::g::Fuse::Platform::SystemUI::Frame().Size(); } // public generated SystemUIFrame New() [static] :19 SystemUIFrame* SystemUIFrame::New1() { SystemUIFrame* obj1 = (SystemUIFrame*)uNew(SystemUIFrame_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.Templates.uno // --------------------------------------------------------------------------------------- // internal struct TemplateSourceImpl :14 // { static void TemplateSourceImpl_build(uType* type) { ::TYPES[66] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL); type->SetFields(0, ::TYPES[66/*Uno.Collections.List<Uno.UX.Template>*/], offsetof(TemplateSourceImpl, _templates), 0); } uStructType* TemplateSourceImpl_typeof() { static uSStrong<uStructType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.Alignment = alignof(TemplateSourceImpl); options.ValueSize = sizeof(TemplateSourceImpl); options.TypeSize = sizeof(uStructType); type = uStructType::New("Fuse.TemplateSourceImpl", options); type->fp_build_ = TemplateSourceImpl_build; return type; } // public int get_Count() :18 void TemplateSourceImpl__get_Count_fn(TemplateSourceImpl* __this, int32_t* __retval) { *__retval = __this->Count(); } // public Uno.UX.Template FindTemplate(string key) :30 void TemplateSourceImpl__FindTemplate_fn(TemplateSourceImpl* __this, uString* key, ::g::Uno::UX::Template** __retval) { *__retval = __this->FindTemplate(key); } // public Uno.UX.Template get_Item(int index) :19 void TemplateSourceImpl__get_Item_fn(TemplateSourceImpl* __this, int32_t* index, ::g::Uno::UX::Template** __retval) { *__retval = __this->Item(*index); } // public Uno.Collections.List<Uno.UX.Template> get_Templates() :22 void TemplateSourceImpl__get_Templates_fn(TemplateSourceImpl* __this, ::g::Uno::Collections::List** __retval) { *__retval = __this->Templates(); } // public int get_Count() [instance] :18 int32_t TemplateSourceImpl::Count() { return (_templates == NULL) ? 0 : uPtr(_templates)->Count(); } // public Uno.UX.Template FindTemplate(string key) [instance] :30 ::g::Uno::UX::Template* TemplateSourceImpl::FindTemplate(uString* key) { ::g::Uno::UX::Template* ret1; for (int32_t i = Count() - 1; i >= 0; --i) { ::g::Uno::UX::Template* t = (::g::Uno::Collections::List__get_Item_fn(uPtr(_templates), uCRef<int32_t>(i), &ret1), ret1); if (::g::Uno::String::op_Equality(uPtr(t)->Key(), key)) return t; } return NULL; } // public Uno.UX.Template get_Item(int index) [instance] :19 ::g::Uno::UX::Template* TemplateSourceImpl::Item(int32_t index) { ::g::Uno::UX::Template* ret2; return (::g::Uno::Collections::List__get_Item_fn(uPtr(_templates), uCRef<int32_t>(index), &ret2), ret2); } // public Uno.Collections.List<Uno.UX.Template> get_Templates() [instance] :22 ::g::Uno::Collections::List* TemplateSourceImpl::Templates() { if (_templates == NULL) _templates = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[66/*Uno.Collections.List<Uno.UX.Template>*/])); return _templates; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Diagnostics.uno // ----------------------------------------------------------------------------------- // private sealed class Diagnostics.Temporal :192 // { static void Diagnostics__Temporal_build(uType* type) { type->SetInterfaces( ::g::Uno::IDisposable_typeof(), offsetof(Diagnostics__Temporal_type, interface0)); type->SetFields(0, ::g::Fuse::Diagnostic_typeof(), offsetof(Diagnostics__Temporal, _diag), 0); } Diagnostics__Temporal_type* Diagnostics__Temporal_typeof() { static uSStrong<Diagnostics__Temporal_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.InterfaceCount = 1; options.ObjectSize = sizeof(Diagnostics__Temporal); options.TypeSize = sizeof(Diagnostics__Temporal_type); type = (Diagnostics__Temporal_type*)uClassType::New("Fuse.Diagnostics.Temporal", options); type->fp_build_ = Diagnostics__Temporal_build; type->interface0.fp_Dispose = (void(*)(uObject*))Diagnostics__Temporal__Dispose_fn; return type; } // public Temporal(Fuse.Diagnostic diag) :195 void Diagnostics__Temporal__ctor__fn(Diagnostics__Temporal* __this, ::g::Fuse::Diagnostic* diag) { __this->ctor_(diag); } // public void Dispose() :200 void Diagnostics__Temporal__Dispose_fn(Diagnostics__Temporal* __this) { __this->Dispose(); } // public Temporal New(Fuse.Diagnostic diag) :195 void Diagnostics__Temporal__New1_fn(::g::Fuse::Diagnostic* diag, Diagnostics__Temporal** __retval) { *__retval = Diagnostics__Temporal::New1(diag); } // public Temporal(Fuse.Diagnostic diag) [instance] :195 void Diagnostics__Temporal::ctor_(::g::Fuse::Diagnostic* diag) { _diag = diag; } // public void Dispose() [instance] :200 void Diagnostics__Temporal::Dispose() { ::g::Fuse::Diagnostics::Dismiss(_diag); } // public Temporal New(Fuse.Diagnostic diag) [static] :195 Diagnostics__Temporal* Diagnostics__Temporal::New1(::g::Fuse::Diagnostic* diag) { Diagnostics__Temporal* obj1 = (Diagnostics__Temporal*)uNew(Diagnostics__Temporal_typeof()); obj1->ctor_(diag); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Time.uno // ---------------------------------------------------------------------------- // public static class Time :6 // { static void Time_build(uType* type) { type->SetFields(0, ::g::Uno::Double_typeof(), (uintptr_t)&Time::_base_, uFieldFlagsStatic, ::g::Uno::Double_typeof(), (uintptr_t)&Time::_delta_, uFieldFlagsStatic, ::g::Uno::Double_typeof(), (uintptr_t)&Time::_prev_, uFieldFlagsStatic, ::g::Uno::Double_typeof(), (uintptr_t)&Time::_current_, uFieldFlagsStatic, ::g::Uno::Bool_typeof(), (uintptr_t)&Time::_init_, uFieldFlagsStatic); } uClassType* Time_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 5; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.Time", options); type->fp_build_ = Time_build; return type; } // public static double get_FrameInterval() :48 void Time__get_FrameInterval_fn(double* __retval) { *__retval = Time::FrameInterval(); } // public static double get_FrameTime() :41 void Time__get_FrameTime_fn(double* __retval) { *__retval = Time::FrameTime(); } // public static double get_FrameTimeBase() :54 void Time__get_FrameTimeBase_fn(double* __retval) { *__retval = Time::FrameTimeBase(); } // internal static void Init(double start) :14 void Time__Init_fn(double* start) { Time::Init(*start); } // internal static void Set(double current) :23 void Time__Set_fn(double* current) { Time::Set(*current); } double Time::_base_; double Time::_delta_; double Time::_prev_; double Time::_current_; bool Time::_init_; // internal static void Init(double start) [static] :14 void Time::Init(double start) { Time::_base_ = start; Time::_current_ = start; Time::_delta_ = 0.0; Time::_prev_ = start; Time::_init_ = true; } // internal static void Set(double current) [static] :23 void Time::Set(double current) { if (!Time::_init_) Time::Init(current); else { Time::_delta_ = (current - Time::_prev_); Time::_current_ = current; Time::_prev_ = current; } } // public static double get_FrameInterval() [static] :48 double Time::FrameInterval() { return Time::_delta_; } // public static double get_FrameTime() [static] :41 double Time::FrameTime() { return Time::_current_ - Time::_base_; } // public static double get_FrameTimeBase() [static] :54 double Time::FrameTimeBase() { return Time::_base_; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\Timer.uno // ----------------------------------------------------------------------------- // public sealed class Timer :7 // { static void Timer_build(uType* type) { ::TYPES[1] = ::g::Uno::Action_typeof(); type->SetDependencies( ::g::Fuse::UpdateManager_typeof()); type->SetFields(0, ::TYPES[1/*Uno.Action*/], offsetof(Timer, _callback), 0, ::g::Uno::Double_typeof(), offsetof(Timer, _startTime), 0, ::g::Uno::Double_typeof(), offsetof(Timer, _interval), 0, ::g::Uno::Bool_typeof(), offsetof(Timer, _running), 0, ::g::Uno::Bool_typeof(), offsetof(Timer, _once), 0); } uType* Timer_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 5; options.DependencyCount = 1; options.ObjectSize = sizeof(Timer); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.Timer", options); type->fp_build_ = Timer_build; return type; } // private Timer(double interval, Uno.Action callback) :15 void Timer__ctor__fn(Timer* __this, double* interval, uDelegate* callback) { __this->ctor_(*interval, callback); } // private Timer New(double interval, Uno.Action callback) :15 void Timer__New1_fn(double* interval, uDelegate* callback, Timer** __retval) { *__retval = Timer::New1(*interval, callback); } // private void Start() :23 void Timer__Start_fn(Timer* __this) { __this->Start(); } // private void Stop() :30 void Timer__Stop_fn(Timer* __this) { __this->Stop(); } // private void Update() :36 void Timer__Update_fn(Timer* __this) { __this->Update(); } // public static void Wait(double duration, Uno.Action callback) :57 void Timer__Wait_fn(double* duration, uDelegate* callback) { Timer::Wait(*duration, callback); } // private Timer(double interval, Uno.Action callback) [instance] :15 void Timer::ctor_(double interval, uDelegate* callback) { _callback = callback; _startTime = ::g::Uno::Diagnostics::Clock::GetSeconds(); _interval = interval; _once = true; } // private void Start() [instance] :23 void Timer::Start() { _startTime = ::g::Uno::Diagnostics::Clock::GetSeconds(); ::g::Fuse::UpdateManager::AddAction1(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)Timer__Update_fn, this), 0); _running = true; } // private void Stop() [instance] :30 void Timer::Stop() { _running = false; ::g::Fuse::UpdateManager::RemoveAction1(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)Timer__Update_fn, this), 0); } // private void Update() [instance] :36 void Timer::Update() { double now = ::g::Uno::Diagnostics::Clock::GetSeconds(); double time = now - _startTime; if (time > _interval) { uPtr(_callback)->InvokeVoid(); if (_once) Stop(); else _startTime = now; } } // private Timer New(double interval, Uno.Action callback) [static] :15 Timer* Timer::New1(double interval, uDelegate* callback) { Timer* obj1 = (Timer*)uNew(Timer_typeof()); obj1->ctor_(interval, callback); return obj1; } // public static void Wait(double duration, Uno.Action callback) [static] :57 void Timer::Wait(double duration, uDelegate* callback) { Timer* t = Timer::New1(duration, callback); t->Start(); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Transform.uno // -------------------------------------------------------------------------------- // public abstract class Transform :25 // { static void Transform_build(uType* type) { ::TYPES[67] = ::g::Uno::Action1_typeof()->MakeType(type, NULL); type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(Transform_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(Transform_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(Transform_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(Transform_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(Transform_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(Transform_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(Transform_type, interface6)); type->SetFields(17, ::TYPES[67/*Uno.Action<Fuse.Transform>*/], offsetof(Transform, MatrixChanged1), 0); } Transform_type* Transform_typeof() { static uSStrong<Transform_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Node_typeof(); options.FieldCount = 18; options.InterfaceCount = 7; options.ObjectSize = sizeof(Transform); options.TypeSize = sizeof(Transform_type); type = (Transform_type*)uClassType::New("Fuse.Transform", options); type->fp_build_ = Transform_build; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // protected generated Transform() :25 void Transform__ctor_2_fn(Transform* __this) { __this->ctor_2(); } // internal generated void add_MatrixChanged(Uno.Action<Fuse.Transform> value) :30 void Transform__add_MatrixChanged_fn(Transform* __this, uDelegate* value) { __this->add_MatrixChanged(value); } // internal generated void remove_MatrixChanged(Uno.Action<Fuse.Transform> value) :30 void Transform__remove_MatrixChanged_fn(Transform* __this, uDelegate* value) { __this->remove_MatrixChanged(value); } // protected void OnMatrixChanged([object igoreSender], [object ignoreArgs]) :32 void Transform__OnMatrixChanged_fn(Transform* __this, uObject* igoreSender, uObject* ignoreArgs) { __this->OnMatrixChanged(igoreSender, ignoreArgs); } // protected generated Transform() [instance] :25 void Transform::ctor_2() { ctor_1(); } // internal generated void add_MatrixChanged(Uno.Action<Fuse.Transform> value) [instance] :30 void Transform::add_MatrixChanged(uDelegate* value) { MatrixChanged1 = uCast<uDelegate*>(::g::Uno::Delegate::Combine(MatrixChanged1, value), ::TYPES[67/*Uno.Action<Fuse.Transform>*/]); } // internal generated void remove_MatrixChanged(Uno.Action<Fuse.Transform> value) [instance] :30 void Transform::remove_MatrixChanged(uDelegate* value) { MatrixChanged1 = uCast<uDelegate*>(::g::Uno::Delegate::Remove(MatrixChanged1, value), ::TYPES[67/*Uno.Action<Fuse.Transform>*/]); } // protected void OnMatrixChanged([object igoreSender], [object ignoreArgs]) [instance] :32 void Transform::OnMatrixChanged(uObject* igoreSender, uObject* ignoreArgs) { if (::g::Uno::Delegate::op_Inequality(MatrixChanged1, NULL)) uPtr(MatrixChanged1)->InvokeVoid(this); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Translation.uno // ---------------------------------------------------------------------------------- // public sealed class Translation :149 // { static void Translation_build(uType* type) { ::TYPES[68] = ::g::Fuse::ITranslationMode_typeof(); type->SetBase(::g::Fuse::RelativeTransform_typeof()->MakeType(::g::Fuse::ITranslationMode_typeof(), NULL)); type->SetDependencies( ::g::Uno::Math_typeof(), ::g::Fuse::TranslationModes_typeof()); type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::RelativeTransform_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(::g::Fuse::RelativeTransform_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(::g::Fuse::RelativeTransform_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(::g::Fuse::RelativeTransform_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(::g::Fuse::RelativeTransform_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::RelativeTransform_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::RelativeTransform_type, interface6), ::g::Fuse::ITransformRelative_typeof(), offsetof(::g::Fuse::RelativeTransform_type, interface7)); type->SetFields(22, ::g::Uno::Float_typeof(), offsetof(Translation, _x), 0, ::g::Uno::Float_typeof(), offsetof(Translation, _y), 0, ::g::Uno::Float_typeof(), offsetof(Translation, _z), 0); } ::g::Fuse::RelativeTransform_type* Translation_typeof() { static uSStrong< ::g::Fuse::RelativeTransform_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::RelativeTransform_typeof(); options.FieldCount = 25; options.InterfaceCount = 8; options.DependencyCount = 2; options.ObjectSize = sizeof(Translation); options.TypeSize = sizeof(::g::Fuse::RelativeTransform_type); type = (::g::Fuse::RelativeTransform_type*)uClassType::New("Fuse.Translation", options); type->fp_build_ = Translation_build; type->fp_ctor_ = (void*)Translation__New2_fn; type->fp_AppendTo = (void(*)(::g::Fuse::Transform*, ::g::Fuse::FastMatrix*, float*))Translation__AppendTo_fn; type->fp_get_IsFlat = (void(*)(::g::Fuse::Transform*, bool*))Translation__get_IsFlat_fn; type->fp_PrependTo = (void(*)(::g::Fuse::Transform*, ::g::Fuse::FastMatrix*))Translation__PrependTo_fn; type->interface7.fp_OnTransformChanged = (void(*)(uObject*, uObject*, uObject*))::g::Fuse::RelativeTransform__FuseITransformRelativeOnTransformChanged_fn; type->interface7.fp_get_Target = (void(*)(uObject*, ::g::Fuse::Visual**))::g::Fuse::RelativeTransform__FuseITransformRelativeget_Target_fn; type->interface7.fp_get_RelativeNode = (void(*)(uObject*, ::g::Fuse::Visual**))::g::Fuse::RelativeTransform__FuseITransformRelativeget_RelativeNode_fn; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // public Translation() :151 void Translation__ctor_4_fn(Translation* __this) { __this->ctor_4(); } // public override sealed void AppendTo(Fuse.FastMatrix m, float weight) :250 void Translation__AppendTo_fn(Translation* __this, ::g::Fuse::FastMatrix* m, float* weight) { float weight_ = *weight; ::g::Uno::Float3 v = ::g::Uno::Float3__op_Multiply1(::g::Fuse::ITranslationMode::GetAbsVector(uInterface(uPtr((uObject*)__this->RelativeTo()), ::TYPES[68/*Fuse.ITranslationMode*/]), __this), weight_); uPtr(m)->AppendTranslation(v.X, v.Y, v.Z); } // public override sealed bool get_IsFlat() :264 void Translation__get_IsFlat_fn(Translation* __this, bool* __retval) { float zeroTolerance = 1e-05f; return *__retval = ::g::Uno::Math::Abs1(__this->Z()) < 1e-05f, void(); } // public Translation New() :151 void Translation__New2_fn(Translation** __retval) { *__retval = Translation::New2(); } // public override sealed void PrependTo(Fuse.FastMatrix m) :256 void Translation__PrependTo_fn(Translation* __this, ::g::Fuse::FastMatrix* m) { ::g::Uno::Float3 v = ::g::Fuse::ITranslationMode::GetAbsVector(uInterface(uPtr((uObject*)__this->RelativeTo()), ::TYPES[68/*Fuse.ITranslationMode*/]), __this); uPtr(m)->PrependTranslation(v.X, v.Y, v.Z); } // public float3 get_Vector() :236 void Translation__get_Vector_fn(Translation* __this, ::g::Uno::Float3* __retval) { *__retval = __this->Vector(); } // public void set_Vector(float3 value) :237 void Translation__set_Vector_fn(Translation* __this, ::g::Uno::Float3* value) { __this->Vector(*value); } // public float get_X() :163 void Translation__get_X_fn(Translation* __this, float* __retval) { *__retval = __this->X(); } // public void set_X(float value) :164 void Translation__set_X_fn(Translation* __this, float* value) { __this->X(*value); } // public float2 get_XY() :181 void Translation__get_XY_fn(Translation* __this, ::g::Uno::Float2* __retval) { *__retval = __this->XY(); } // public void set_XY(float2 value) :182 void Translation__set_XY_fn(Translation* __this, ::g::Uno::Float2* value) { __this->XY(*value); } // public float get_Y() :201 void Translation__get_Y_fn(Translation* __this, float* __retval) { *__retval = __this->Y(); } // public void set_Y(float value) :202 void Translation__set_Y_fn(Translation* __this, float* value) { __this->Y(*value); } // public float get_Z() :220 void Translation__get_Z_fn(Translation* __this, float* __retval) { *__retval = __this->Z(); } // public void set_Z(float value) :221 void Translation__set_Z_fn(Translation* __this, float* value) { __this->Z(*value); } // public Translation() [instance] :151 void Translation::ctor_4() { ctor_3(::g::Fuse::TranslationModes::Local()); } // public float3 get_Vector() [instance] :236 ::g::Uno::Float3 Translation::Vector() { return ::g::Uno::Float3__New2(X(), Y(), Z()); } // public void set_Vector(float3 value) [instance] :237 void Translation::Vector(::g::Uno::Float3 value) { if (((_x != value.X) || (_y != value.Y)) || (_z != value.Z)) { _x = value.X; _y = value.Y; _z = value.Z; OnMatrixChanged(NULL, NULL); } } // public float get_X() [instance] :163 float Translation::X() { return _x; } // public void set_X(float value) [instance] :164 void Translation::X(float value) { if (_x != value) { _x = value; OnMatrixChanged(NULL, NULL); } } // public float2 get_XY() [instance] :181 ::g::Uno::Float2 Translation::XY() { return ::g::Uno::Float2__New2(_x, _y); } // public void set_XY(float2 value) [instance] :182 void Translation::XY(::g::Uno::Float2 value) { if ((_x != value.X) || (_y != value.Y)) { _x = value.X; _y = value.Y; OnMatrixChanged(NULL, NULL); } } // public float get_Y() [instance] :201 float Translation::Y() { return _y; } // public void set_Y(float value) [instance] :202 void Translation::Y(float value) { if (_y != value) { _y = value; OnMatrixChanged(NULL, NULL); } } // public float get_Z() [instance] :220 float Translation::Z() { return _z; } // public void set_Z(float value) [instance] :221 void Translation::Z(float value) { if (_z != value) { _z = value; OnMatrixChanged(NULL, NULL); } } // public Translation New() [static] :151 Translation* Translation::New2() { Translation* obj1 = (Translation*)uNew(Translation_typeof()); obj1->ctor_4(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Translation.uno // ---------------------------------------------------------------------------------- // public static class TranslationModes :66 // { // static generated TranslationModes() :66 static void TranslationModes__cctor__fn(uType* __type) { TranslationModes::Local_ = (uObject*)TranslationModes__LocalMode::New1(); TranslationModes::Size_ = (uObject*)TranslationModes__SizeMode::New1(); TranslationModes::ParentSize_ = (uObject*)TranslationModes__ParentSizeMode::New1(); TranslationModes::Width_ = (uObject*)TranslationModes__WidthMode::New2(); TranslationModes::Height_ = (uObject*)TranslationModes__HeightMode::New2(); } static void TranslationModes_build(uType* type) { type->SetFields(0, ::g::Fuse::ITranslationMode_typeof(), (uintptr_t)&TranslationModes::Local_, uFieldFlagsStatic, ::g::Fuse::ITranslationMode_typeof(), (uintptr_t)&TranslationModes::Size_, uFieldFlagsStatic, ::g::Fuse::ITranslationMode_typeof(), (uintptr_t)&TranslationModes::ParentSize_, uFieldFlagsStatic, ::g::Fuse::ITranslationMode_typeof(), (uintptr_t)&TranslationModes::Width_, uFieldFlagsStatic, ::g::Fuse::ITranslationMode_typeof(), (uintptr_t)&TranslationModes::Height_, uFieldFlagsStatic); } uClassType* TranslationModes_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 5; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.TranslationModes", options); type->fp_build_ = TranslationModes_build; type->fp_cctor_ = TranslationModes__cctor__fn; return type; } // private static float3 SizeOf(Fuse.Node node) :108 void TranslationModes__SizeOf_fn(::g::Fuse::Node* node, ::g::Uno::Float3* __retval) { *__retval = TranslationModes::SizeOf(node); } uSStrong<uObject*> TranslationModes::Local_; uSStrong<uObject*> TranslationModes::Size_; uSStrong<uObject*> TranslationModes::ParentSize_; uSStrong<uObject*> TranslationModes::Width_; uSStrong<uObject*> TranslationModes::Height_; // private static float3 SizeOf(Fuse.Node node) [static] :108 ::g::Uno::Float3 TranslationModes::SizeOf(::g::Fuse::Node* node) { TranslationModes_typeof()->Init(); uObject* isz = uAs<uObject*>(node, ::TYPES[49/*Fuse.IActualPlacement*/]); if (isz == NULL) return ::g::Uno::Float3__New1(0.0f); return ::g::Fuse::IActualPlacement::ActualSize(uInterface(uPtr(isz), ::TYPES[49/*Fuse.IActualPlacement*/])); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\VisualBounds.uno // ----------------------------------------------------------------------------------- // internal enum VisualBounds.Type :324 uEnumType* VisualBounds__Type_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.VisualBounds.Type", ::g::Uno::Int_typeof(), 2); type->SetLiterals( "Render", 0LL, "HitTest", 1LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Marshal\1.9.0\Computer.uno // --------------------------------------------------------------------------------- // public enum Computer.TypeOp :16 uEnumType* Computer__TypeOp_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.Computer.TypeOp", ::g::Uno::Int_typeof(), 6); type->SetLiterals( "Add", 0LL, "Subtract", 1LL, "Multiply", 2LL, "Divide", 3LL, "Min", 4LL, "Max", 5LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\AppBase.uno // ------------------------------------------------------------------------------ // public sealed class UnhandledExceptionArgs :20 // { static void UnhandledExceptionArgs_build(uType* type) { type->SetFields(0, ::g::Uno::Exception_typeof(), offsetof(UnhandledExceptionArgs, _Exception), 0, ::g::Uno::Bool_typeof(), offsetof(UnhandledExceptionArgs, _IsHandled), 0); } uType* UnhandledExceptionArgs_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::EventArgs_typeof(); options.FieldCount = 2; options.ObjectSize = sizeof(UnhandledExceptionArgs); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.UnhandledExceptionArgs", options); type->fp_build_ = UnhandledExceptionArgs_build; return type; } // public UnhandledExceptionArgs(Uno.Exception e) :25 void UnhandledExceptionArgs__ctor_1_fn(UnhandledExceptionArgs* __this, ::g::Uno::Exception* e) { __this->ctor_1(e); } // public generated Uno.Exception get_Exception() :22 void UnhandledExceptionArgs__get_Exception_fn(UnhandledExceptionArgs* __this, ::g::Uno::Exception** __retval) { *__retval = __this->Exception(); } // private generated void set_Exception(Uno.Exception value) :22 void UnhandledExceptionArgs__set_Exception_fn(UnhandledExceptionArgs* __this, ::g::Uno::Exception* value) { __this->Exception(value); } // public generated bool get_IsHandled() :23 void UnhandledExceptionArgs__get_IsHandled_fn(UnhandledExceptionArgs* __this, bool* __retval) { *__retval = __this->IsHandled(); } // public generated void set_IsHandled(bool value) :23 void UnhandledExceptionArgs__set_IsHandled_fn(UnhandledExceptionArgs* __this, bool* value) { __this->IsHandled(*value); } // public UnhandledExceptionArgs New(Uno.Exception e) :25 void UnhandledExceptionArgs__New2_fn(::g::Uno::Exception* e, UnhandledExceptionArgs** __retval) { *__retval = UnhandledExceptionArgs::New2(e); } // public UnhandledExceptionArgs(Uno.Exception e) [instance] :25 void UnhandledExceptionArgs::ctor_1(::g::Uno::Exception* e) { ctor_(); Exception(e); } // public generated Uno.Exception get_Exception() [instance] :22 ::g::Uno::Exception* UnhandledExceptionArgs::Exception() { return _Exception; } // private generated void set_Exception(Uno.Exception value) [instance] :22 void UnhandledExceptionArgs::Exception(::g::Uno::Exception* value) { _Exception = value; } // public generated bool get_IsHandled() [instance] :23 bool UnhandledExceptionArgs::IsHandled() { return _IsHandled; } // public generated void set_IsHandled(bool value) [instance] :23 void UnhandledExceptionArgs::IsHandled(bool value) { _IsHandled = value; } // public UnhandledExceptionArgs New(Uno.Exception e) [static] :25 UnhandledExceptionArgs* UnhandledExceptionArgs::New2(::g::Uno::Exception* e) { UnhandledExceptionArgs* obj1 = (UnhandledExceptionArgs*)uNew(UnhandledExceptionArgs_typeof()); obj1->ctor_1(e); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\AppBase.uno // ------------------------------------------------------------------------------ // public delegate void UnhandledExceptionHandler(object sender, Fuse.UnhandledExceptionArgs args) :32 uDelegateType* UnhandledExceptionHandler_typeof() { static uSStrong<uDelegateType*> type; if (type != NULL) return type; type = uDelegateType::New("Fuse.UnhandledExceptionHandler", 2, 0); type->SetSignature(uVoid_typeof(), uObject_typeof(), ::g::Fuse::UnhandledExceptionArgs_typeof()); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\UpdateManager.uno // ------------------------------------------------------------------------------------- // internal sealed class UpdateAction :66 // { static void UpdateAction_build(uType* type) { ::TYPES[69] = ::g::Fuse::IUpdateListener_typeof(); type->SetFields(0, ::g::Uno::Action_typeof(), offsetof(UpdateAction, action), 0, ::TYPES[69/*Fuse.IUpdateListener*/], offsetof(UpdateAction, update), 0); } uType* UpdateAction_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.ObjectSize = sizeof(UpdateAction); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.UpdateAction", options); type->fp_build_ = UpdateAction_build; type->fp_ctor_ = (void*)UpdateAction__New1_fn; return type; } // public generated UpdateAction() :66 void UpdateAction__ctor__fn(UpdateAction* __this) { __this->ctor_(); } // public void Invoke() :71 void UpdateAction__Invoke_fn(UpdateAction* __this) { __this->Invoke(); } // public generated UpdateAction New() :66 void UpdateAction__New1_fn(UpdateAction** __retval) { *__retval = UpdateAction::New1(); } // public generated UpdateAction() [instance] :66 void UpdateAction::ctor_() { } // public void Invoke() [instance] :71 void UpdateAction::Invoke() { if (::g::Uno::Delegate::op_Inequality(action, NULL)) uPtr(action)->InvokeVoid(); if (update != NULL) ::g::Fuse::IUpdateListener::Update(uInterface(uPtr(update), ::TYPES[69/*Fuse.IUpdateListener*/])); } // public generated UpdateAction New() [static] :66 UpdateAction* UpdateAction::New1() { UpdateAction* obj1 = (UpdateAction*)uNew(UpdateAction_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\UpdateManager.uno // ------------------------------------------------------------------------------------- // internal sealed class UpdateDispatcher :137 // { static void UpdateDispatcher_build(uType* type) { type->SetDependencies( ::g::Fuse::UpdateManager_typeof()); type->SetInterfaces( ::g::Uno::Threading::IDispatcher_typeof(), offsetof(UpdateDispatcher_type, interface0)); } UpdateDispatcher_type* UpdateDispatcher_typeof() { static uSStrong<UpdateDispatcher_type*> type; if (type != NULL) return type; uTypeOptions options; options.InterfaceCount = 1; options.DependencyCount = 1; options.ObjectSize = sizeof(UpdateDispatcher); options.TypeSize = sizeof(UpdateDispatcher_type); type = (UpdateDispatcher_type*)uClassType::New("Fuse.UpdateDispatcher", options); type->fp_build_ = UpdateDispatcher_build; type->fp_ctor_ = (void*)UpdateDispatcher__New1_fn; type->interface0.fp_Invoke = (void(*)(uObject*, uDelegate*))UpdateDispatcher__Invoke_fn; return type; } // public generated UpdateDispatcher() :137 void UpdateDispatcher__ctor__fn(UpdateDispatcher* __this) { __this->ctor_(); } // public void Invoke(Uno.Action action) :139 void UpdateDispatcher__Invoke_fn(UpdateDispatcher* __this, uDelegate* action) { __this->Invoke(action); } // public generated UpdateDispatcher New() :137 void UpdateDispatcher__New1_fn(UpdateDispatcher** __retval) { *__retval = UpdateDispatcher::New1(); } // public generated UpdateDispatcher() [instance] :137 void UpdateDispatcher::ctor_() { } // public void Invoke(Uno.Action action) [instance] :139 void UpdateDispatcher::Invoke(uDelegate* action) { ::g::Fuse::UpdateManager::PostAction(action); } // public generated UpdateDispatcher New() [static] :137 UpdateDispatcher* UpdateDispatcher::New1() { UpdateDispatcher* obj1 = (UpdateDispatcher*)uNew(UpdateDispatcher_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\UpdateManager.uno // ------------------------------------------------------------------------------------- // internal sealed class UpdateListener :44 // { static void UpdateListener_build(uType* type) { ::TYPES[69] = ::g::Fuse::IUpdateListener_typeof(); type->SetFields(0, ::g::Uno::Action_typeof(), offsetof(UpdateListener, action), 0, ::TYPES[69/*Fuse.IUpdateListener*/], offsetof(UpdateListener, update), 0, ::g::Uno::Bool_typeof(), offsetof(UpdateListener, removed), 0, ::g::Uno::Int_typeof(), offsetof(UpdateListener, deferFrame), 0, ::g::Uno::Int_typeof(), offsetof(UpdateListener, sequence), 0); } uType* UpdateListener_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 5; options.ObjectSize = sizeof(UpdateListener); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.UpdateListener", options); type->fp_build_ = UpdateListener_build; type->fp_ctor_ = (void*)UpdateListener__New1_fn; return type; } // public generated UpdateListener() :44 void UpdateListener__ctor__fn(UpdateListener* __this) { __this->ctor_(); } // public void Invoke() :53 void UpdateListener__Invoke_fn(UpdateListener* __this) { __this->Invoke(); } // public generated UpdateListener New() :44 void UpdateListener__New1_fn(UpdateListener** __retval) { *__retval = UpdateListener::New1(); } // public generated UpdateListener() [instance] :44 void UpdateListener::ctor_() { } // public void Invoke() [instance] :53 void UpdateListener::Invoke() { if (removed) return; if (::g::Uno::Delegate::op_Inequality(action, NULL)) uPtr(action)->InvokeVoid(); if (update != NULL) ::g::Fuse::IUpdateListener::Update(uInterface(uPtr(update), ::TYPES[69/*Fuse.IUpdateListener*/])); } // public generated UpdateListener New() [static] :44 UpdateListener* UpdateListener::New1() { UpdateListener* obj1 = (UpdateListener*)uNew(UpdateListener_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\UpdateManager.uno // ------------------------------------------------------------------------------------- // public static class UpdateManager :145 // { // static UpdateManager() :152 static void UpdateManager__cctor__fn(uType* __type) { UpdateManager::_stages_ = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[70/*Uno.Collections.List<Fuse.Stage>*/])); UpdateManager::_postActions_ = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[71/*Uno.Collections.List<Uno.Action>*/])); UpdateManager::_postActionsSwap_ = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[71/*Uno.Collections.List<Uno.Action>*/])); UpdateManager::Dispatcher_ = (uObject*)::g::Fuse::UpdateDispatcher::New1(); UpdateManager::_postActionLock_ = ::g::Uno::Object::New(); UpdateManager::_frameIndex_ = 1; for (int32_t i = 0; i <= 2; ++i) ::g::Uno::Collections::List__Add_fn(uPtr(UpdateManager::_stages_), ::g::Fuse::Stage::New1(i)); } static void UpdateManager_build(uType* type) { ::STRINGS[61] = uString::Const("no Action found to remove"); ::TYPES[70] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::Stage_typeof(), NULL); ::TYPES[71] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Uno::Action_typeof(), NULL); ::TYPES[37] = ::g::Uno::Exception_typeof(); ::TYPES[72] = ::g::Uno::Collections::List_typeof()->MakeType(::TYPES[37/*Uno.Exception*/], NULL); type->SetFields(0, ::TYPES[70/*Uno.Collections.List<Fuse.Stage>*/], (uintptr_t)&UpdateManager::_stages_, uFieldFlagsStatic, ::TYPES[71/*Uno.Collections.List<Uno.Action>*/], (uintptr_t)&UpdateManager::_postActions_, uFieldFlagsStatic, ::TYPES[71/*Uno.Collections.List<Uno.Action>*/], (uintptr_t)&UpdateManager::_postActionsSwap_, uFieldFlagsStatic, ::g::Uno::Threading::IDispatcher_typeof(), (uintptr_t)&UpdateManager::Dispatcher_, uFieldFlagsStatic, uObject_typeof(), (uintptr_t)&UpdateManager::_postActionLock_, uFieldFlagsStatic, ::g::Fuse::Stage_typeof(), (uintptr_t)&UpdateManager::_currentStage_, uFieldFlagsStatic, ::g::Uno::Int_typeof(), (uintptr_t)&UpdateManager::_frameIndex_, uFieldFlagsStatic); } uClassType* UpdateManager_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 7; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.UpdateManager", options); type->fp_build_ = UpdateManager_build; type->fp_cctor_ = UpdateManager__cctor__fn; return type; } // public static void AddAction(Fuse.IUpdateListener pu, [Fuse.UpdateStage stage]) :172 void UpdateManager__AddAction_fn(uObject* pu, int32_t* stage) { UpdateManager::AddAction(pu, *stage); } // public static void AddAction(Uno.Action pu, [Fuse.UpdateStage stage]) :161 void UpdateManager__AddAction1_fn(uDelegate* pu, int32_t* stage) { UpdateManager::AddAction1(pu, *stage); } // public static void AddDeferredAction(Fuse.IUpdateListener pu, [Fuse.UpdateStage stage], [Fuse.LayoutPriority priority]) :277 void UpdateManager__AddDeferredAction_fn(uObject* pu, int32_t* stage, int32_t* priority) { UpdateManager::AddDeferredAction(pu, *stage, *priority); } // public static void AddDeferredAction(Uno.Action pu, [Fuse.UpdateStage stage], [Fuse.LayoutPriority priority]) :271 void UpdateManager__AddDeferredAction2_fn(uDelegate* pu, int32_t* stage, int32_t* priority) { UpdateManager::AddDeferredAction2(pu, *stage, *priority); } // public static void AddDeferredAction(Uno.Action pu, Fuse.LayoutPriority priority) :283 void UpdateManager__AddDeferredAction3_fn(uDelegate* pu, int32_t* priority) { UpdateManager::AddDeferredAction3(pu, *priority); } // public static void AddOnceAction(Uno.Action pu, [Fuse.UpdateStage stage]) :216 void UpdateManager__AddOnceAction_fn(uDelegate* pu, int32_t* stage) { UpdateManager::AddOnceAction(pu, *stage); } // private static void CheckExceptions(Uno.Collections.List<Uno.Exception> exs) :492 void UpdateManager__CheckExceptions_fn(::g::Uno::Collections::List* exs) { UpdateManager::CheckExceptions(exs); } // private static Fuse.Stage get_CurrentDeferredActionStage() :262 void UpdateManager__get_CurrentDeferredActionStage_fn(::g::Fuse::Stage** __retval) { *__retval = UpdateManager::CurrentDeferredActionStage(); } // internal static Fuse.UpdateStage get_CurrentStage() :327 void UpdateManager__get_CurrentStage_fn(int32_t* __retval) { *__retval = UpdateManager::CurrentStage(); } // public static int get_FrameIndex() :506 void UpdateManager__get_FrameIndex_fn(int32_t* __retval) { *__retval = UpdateManager::FrameIndex(); } // public static void IncreaseFrameIndex() :293 void UpdateManager__IncreaseFrameIndex_fn() { UpdateManager::IncreaseFrameIndex(); } // public static void PerformNextFrame(Uno.Action pu, [Fuse.UpdateStage stage], [int deferFrame]) :233 void UpdateManager__PerformNextFrame_fn(uDelegate* pu, int32_t* stage, int32_t* deferFrame) { UpdateManager::PerformNextFrame(pu, *stage, *deferFrame); } // public static void PostAction(Uno.Action pu) :247 void UpdateManager__PostAction_fn(uDelegate* pu) { UpdateManager::PostAction(pu); } // private static void ProcessDeferredActions(Fuse.Stage stage, Uno.Collections.List<Uno.Exception>& _exceptions) :410 void UpdateManager__ProcessDeferredActions_fn(::g::Fuse::Stage* stage, ::g::Uno::Collections::List** _exceptions) { UpdateManager::ProcessDeferredActions(stage, _exceptions); } // private static void ProcessListeners(Fuse.Stage stage, Uno.Collections.List<Uno.Exception>& _exceptions) :382 void UpdateManager__ProcessListeners_fn(::g::Fuse::Stage* stage, ::g::Uno::Collections::List** _exceptions) { UpdateManager::ProcessListeners(stage, _exceptions); } // private static void ProcessOnces(Fuse.Stage stage, Uno.Collections.List<Uno.Exception>& _exceptions) :348 void UpdateManager__ProcessOnces_fn(::g::Fuse::Stage* stage, ::g::Uno::Collections::List** _exceptions) { UpdateManager::ProcessOnces(stage, _exceptions); } // private static void ProcessPostActions() :437 void UpdateManager__ProcessPostActions_fn() { UpdateManager::ProcessPostActions(); } // private static void ProcessPostActionsImpl() :452 void UpdateManager__ProcessPostActionsImpl_fn() { UpdateManager::ProcessPostActionsImpl(); } // private static void ProcessStages() :305 void UpdateManager__ProcessStages_fn() { UpdateManager::ProcessStages(); } // public static void RemoveAction(Fuse.IUpdateListener pu, [Fuse.UpdateStage stage]) :208 void UpdateManager__RemoveAction_fn(uObject* pu, int32_t* stage) { UpdateManager::RemoveAction(pu, *stage); } // public static void RemoveAction(Uno.Action pu, [Fuse.UpdateStage stage]) :200 void UpdateManager__RemoveAction1_fn(uDelegate* pu, int32_t* stage) { UpdateManager::RemoveAction1(pu, *stage); } // private static bool RemoveFrom(Uno.Collections.List<Fuse.UpdateListener> list, Uno.Action action, Fuse.IUpdateListener update) :182 void UpdateManager__RemoveFrom_fn(::g::Uno::Collections::List* list, uDelegate* action, uObject* update, bool* __retval) { *__retval = UpdateManager::RemoveFrom(list, action, update); } // public static void Update() :299 void UpdateManager__Update_fn() { UpdateManager::Update(); } // private static void Update(Fuse.Stage stage) :335 void UpdateManager__Update1_fn(::g::Fuse::Stage* stage) { UpdateManager::Update1(stage); } uSStrong< ::g::Uno::Collections::List*> UpdateManager::_stages_; uSStrong< ::g::Uno::Collections::List*> UpdateManager::_postActions_; uSStrong< ::g::Uno::Collections::List*> UpdateManager::_postActionsSwap_; uSStrong<uObject*> UpdateManager::Dispatcher_; uSStrong<uObject*> UpdateManager::_postActionLock_; uSStrong< ::g::Fuse::Stage*> UpdateManager::_currentStage_; int32_t UpdateManager::_frameIndex_; // public static void AddAction(Fuse.IUpdateListener pu, [Fuse.UpdateStage stage]) [static] :172 void UpdateManager::AddAction(uObject* pu, int32_t stage) { UpdateManager_typeof()->Init(); ::g::Fuse::Stage* ret1; ::g::Fuse::UpdateListener* us = ::g::Fuse::UpdateListener::New1(); us->update = pu; ::g::Fuse::Stage* s = (::g::Uno::Collections::List__get_Item_fn(uPtr(UpdateManager::_stages_), uCRef<int32_t>(stage), &ret1), ret1); uPtr(s)->Insert(uPtr(s)->Listeners, us); } // public static void AddAction(Uno.Action pu, [Fuse.UpdateStage stage]) [static] :161 void UpdateManager::AddAction1(uDelegate* pu, int32_t stage) { UpdateManager_typeof()->Init(); ::g::Fuse::Stage* ret2; ::g::Fuse::UpdateListener* us = ::g::Fuse::UpdateListener::New1(); us->action = pu; ::g::Fuse::Stage* s = (::g::Uno::Collections::List__get_Item_fn(uPtr(UpdateManager::_stages_), uCRef<int32_t>(stage), &ret2), ret2); uPtr(s)->Insert(uPtr(s)->Listeners, us); } // public static void AddDeferredAction(Fuse.IUpdateListener pu, [Fuse.UpdateStage stage], [Fuse.LayoutPriority priority]) [static] :277 void UpdateManager::AddDeferredAction(uObject* pu, int32_t stage, int32_t priority) { UpdateManager_typeof()->Init(); ::g::Fuse::Stage* ret3; ::g::Fuse::Stage* use = (stage != -1) ? (::g::Uno::Collections::List__get_Item_fn(uPtr(UpdateManager::_stages_), uCRef<int32_t>(stage), &ret3), ret3) : (::g::Fuse::Stage*)UpdateManager::CurrentDeferredActionStage(); uPtr(use)->AddDeferredAction(NULL, pu, priority); } // public static void AddDeferredAction(Uno.Action pu, [Fuse.UpdateStage stage], [Fuse.LayoutPriority priority]) [static] :271 void UpdateManager::AddDeferredAction2(uDelegate* pu, int32_t stage, int32_t priority) { UpdateManager_typeof()->Init(); ::g::Fuse::Stage* ret4; ::g::Fuse::Stage* use = (stage != -1) ? (::g::Uno::Collections::List__get_Item_fn(uPtr(UpdateManager::_stages_), uCRef<int32_t>(stage), &ret4), ret4) : (::g::Fuse::Stage*)UpdateManager::CurrentDeferredActionStage(); uPtr(use)->AddDeferredAction(pu, NULL, priority); } // public static void AddDeferredAction(Uno.Action pu, Fuse.LayoutPriority priority) [static] :283 void UpdateManager::AddDeferredAction3(uDelegate* pu, int32_t priority) { UpdateManager_typeof()->Init(); UpdateManager::AddDeferredAction2(pu, -1, priority); } // public static void AddOnceAction(Uno.Action pu, [Fuse.UpdateStage stage]) [static] :216 void UpdateManager::AddOnceAction(uDelegate* pu, int32_t stage) { UpdateManager_typeof()->Init(); ::g::Fuse::Stage* ret5; ::g::Fuse::UpdateListener* us = ::g::Fuse::UpdateListener::New1(); us->action = pu; ::g::Uno::Collections::List__Add_fn(uPtr(uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(UpdateManager::_stages_), uCRef<int32_t>(stage), &ret5), ret5))->OncesPending), us); } // private static void CheckExceptions(Uno.Collections.List<Uno.Exception> exs) [static] :492 void UpdateManager::CheckExceptions(::g::Uno::Collections::List* exs) { UpdateManager_typeof()->Init(); ::g::Uno::Exception* ret6; if (exs != NULL) { if (uPtr(exs)->Count() == 1) U_THROW(::g::Fuse::WrapException::New4((::g::Uno::Collections::List__get_Item_fn(uPtr(exs), uCRef<int32_t>(0), &ret6), ret6))); else U_THROW(::g::Uno::AggregateException::New7((uArray*)uPtr(exs)->ToArray())); } } // public static void IncreaseFrameIndex() [static] :293 void UpdateManager::IncreaseFrameIndex() { UpdateManager_typeof()->Init(); UpdateManager::_frameIndex_++; } // public static void PerformNextFrame(Uno.Action pu, [Fuse.UpdateStage stage], [int deferFrame]) [static] :233 void UpdateManager::PerformNextFrame(uDelegate* pu, int32_t stage, int32_t deferFrame) { UpdateManager_typeof()->Init(); ::g::Fuse::Stage* ret8; ::g::Fuse::UpdateListener* us = ::g::Fuse::UpdateListener::New1(); us->action = pu; us->deferFrame = (UpdateManager::FrameIndex() + deferFrame); ::g::Uno::Collections::List__Add_fn(uPtr(uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(UpdateManager::_stages_), uCRef<int32_t>(stage), &ret8), ret8))->OncesPending), us); } // public static void PostAction(Uno.Action pu) [static] :247 void UpdateManager::PostAction(uDelegate* pu) { UpdateManager_typeof()->Init(); ::g::Uno::Threading::Monitor::Enter(UpdateManager::_postActionLock_); { try { { ::g::Uno::Collections::List__Add_fn(uPtr(UpdateManager::_postActions_), pu); } } catch (const uThrowable& __t) { { ::g::Uno::Threading::Monitor::Exit(UpdateManager::_postActionLock_); } throw __t; goto __after_finally_3; } { ::g::Uno::Threading::Monitor::Exit(UpdateManager::_postActionLock_); } __after_finally_3:; } } // private static void ProcessDeferredActions(Fuse.Stage stage, Uno.Collections.List<Uno.Exception>& _exceptions) [static] :410 void UpdateManager::ProcessDeferredActions(::g::Fuse::Stage* stage, ::g::Uno::Collections::List** _exceptions) { UpdateManager_typeof()->Init(); for (::g::Fuse::UpdateAction* a = uPtr(stage)->GetFirstPriorityAction(); a != NULL; a = stage->GetFirstPriorityAction()) try { { uPtr(a)->Invoke(); } } catch (const uThrowable& __t) { ::g::Uno::Exception* e = __t.Exception; if (*_exceptions == NULL) *_exceptions = (::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[72/*Uno.Collections.List<Uno.Exception>*/]); ::g::Uno::Collections::List__Add_fn(uPtr(*_exceptions), e); } } // private static void ProcessListeners(Fuse.Stage stage, Uno.Collections.List<Uno.Exception>& _exceptions) [static] :382 void UpdateManager::ProcessListeners(::g::Fuse::Stage* stage, ::g::Uno::Collections::List** _exceptions) { UpdateManager_typeof()->Init(); ::g::Fuse::UpdateListener* ret9; ::g::Fuse::UpdateListener* ret10; for (int32_t i = 0; i < uPtr(uPtr(stage)->Listeners)->Count(); ++i) { ::g::Fuse::UpdateListener* ul = (::g::Uno::Collections::List__get_Item_fn(uPtr(uPtr(stage)->Listeners), uCRef<int32_t>(i), &ret9), ret9); try { { uPtr(ul)->Invoke(); } } catch (const uThrowable& __t) { ::g::Uno::Exception* e = __t.Exception; if (*_exceptions == NULL) *_exceptions = (::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[72/*Uno.Collections.List<Uno.Exception>*/]); ::g::Uno::Collections::List__Add_fn(uPtr(*_exceptions), e); } } if (uPtr(stage)->HasListenersRemoved) for (int32_t i1 = uPtr(uPtr(stage)->Listeners)->Count() - 1; i1 >= 0; --i1) if (uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(uPtr(stage)->Listeners), uCRef<int32_t>(i1), &ret10), ret10))->removed) uPtr(uPtr(stage)->Listeners)->RemoveAt(i1); } // private static void ProcessOnces(Fuse.Stage stage, Uno.Collections.List<Uno.Exception>& _exceptions) [static] :348 void UpdateManager::ProcessOnces(::g::Fuse::Stage* stage, ::g::Uno::Collections::List** _exceptions) { UpdateManager_typeof()->Init(); ::g::Fuse::UpdateListener* ret11; if (uPtr(uPtr(stage)->OncesPending)->Count() > 0) { ::g::Uno::Collections::List* t = uPtr(stage)->Onces; stage->Onces = stage->OncesPending; stage->OncesPending = t; uPtr(stage->OncesPending)->Clear(); int32_t c = uPtr(stage->Onces)->Count(); for (int32_t i = 0; i < c; ++i) { ::g::Fuse::UpdateListener* ul = (::g::Uno::Collections::List__get_Item_fn(uPtr(uPtr(stage)->Onces), uCRef<int32_t>(i), &ret11), ret11); if (uPtr(ul)->deferFrame > UpdateManager::FrameIndex()) ::g::Uno::Collections::List__Add_fn(uPtr(uPtr(stage)->OncesPending), ul); else { try { { uPtr(ul)->Invoke(); } } catch (const uThrowable& __t) { ::g::Uno::Exception* e = __t.Exception; if (*_exceptions == NULL) *_exceptions = (::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[72/*Uno.Collections.List<Uno.Exception>*/]); ::g::Uno::Collections::List__Add_fn(uPtr(*_exceptions), e); } } } } } // private static void ProcessPostActions() [static] :437 void UpdateManager::ProcessPostActions() { UpdateManager_typeof()->Init(); double t; UpdateManager::ProcessPostActionsImpl(); } // private static void ProcessPostActionsImpl() [static] :452 void UpdateManager::ProcessPostActionsImpl() { UpdateManager_typeof()->Init(); uDelegate* ret12; ::g::Uno::Collections::List* _exceptions = NULL; while (true) { ::g::Uno::Collections::List* a = NULL; ::g::Uno::Threading::Monitor::Enter(UpdateManager::_postActionLock_); { try { { a = UpdateManager::_postActions_; UpdateManager::_postActions_ = UpdateManager::_postActionsSwap_; UpdateManager::_postActionsSwap_ = a; } } catch (const uThrowable& __t) { { ::g::Uno::Threading::Monitor::Exit(UpdateManager::_postActionLock_); } throw __t; goto __after_finally_4; } { ::g::Uno::Threading::Monitor::Exit(UpdateManager::_postActionLock_); } __after_finally_4:; } if (uPtr(a)->Count() == 0) break; for (int32_t i = 0; i < uPtr(a)->Count(); ++i) try { { uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(a), uCRef<int32_t>(i), &ret12), ret12))->InvokeVoid(); } } catch (const uThrowable& __t) { ::g::Uno::Exception* e = __t.Exception; if (_exceptions == NULL) _exceptions = (::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[72/*Uno.Collections.List<Uno.Exception>*/]); ::g::Uno::Collections::List__Add_fn(uPtr(_exceptions), e); } uPtr(a)->Clear(); } UpdateManager::_currentStage_ = NULL; UpdateManager::CheckExceptions(_exceptions); } // private static void ProcessStages() [static] :305 void UpdateManager::ProcessStages() { UpdateManager_typeof()->Init(); ::g::Fuse::Stage* ret13; double t; int32_t c = uPtr(UpdateManager::_stages_)->Count(); for (int32_t i = 0; i < c; ++i) UpdateManager::Update1((::g::Uno::Collections::List__get_Item_fn(uPtr(UpdateManager::_stages_), uCRef<int32_t>(i), &ret13), ret13)); } // public static void RemoveAction(Fuse.IUpdateListener pu, [Fuse.UpdateStage stage]) [static] :208 void UpdateManager::RemoveAction(uObject* pu, int32_t stage) { UpdateManager_typeof()->Init(); ::g::Fuse::Stage* ret14; ::g::Fuse::Stage* s = (::g::Uno::Collections::List__get_Item_fn(uPtr(UpdateManager::_stages_), uCRef<int32_t>(stage), &ret14), ret14); if (!UpdateManager::RemoveFrom(uPtr(s)->Listeners, NULL, pu)) U_THROW(::g::Uno::Exception::New2(::STRINGS[61/*"no Action f...*/])); uPtr(s)->HasListenersRemoved = true; } // public static void RemoveAction(Uno.Action pu, [Fuse.UpdateStage stage]) [static] :200 void UpdateManager::RemoveAction1(uDelegate* pu, int32_t stage) { UpdateManager_typeof()->Init(); ::g::Fuse::Stage* ret15; ::g::Fuse::Stage* s = (::g::Uno::Collections::List__get_Item_fn(uPtr(UpdateManager::_stages_), uCRef<int32_t>(stage), &ret15), ret15); if (!UpdateManager::RemoveFrom(uPtr(s)->Listeners, pu, NULL)) U_THROW(::g::Uno::Exception::New2(::STRINGS[61/*"no Action f...*/])); uPtr(s)->HasListenersRemoved = true; } // private static bool RemoveFrom(Uno.Collections.List<Fuse.UpdateListener> list, Uno.Action action, Fuse.IUpdateListener update) [static] :182 bool UpdateManager::RemoveFrom(::g::Uno::Collections::List* list, uDelegate* action, uObject* update) { UpdateManager_typeof()->Init(); ::g::Fuse::UpdateListener* ret16; ::g::Fuse::UpdateListener* ret17; ::g::Fuse::UpdateListener* ret18; ::g::Fuse::UpdateListener* ret19; for (int32_t i = 0; i < uPtr(list)->Count(); ++i) { if (uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(list), uCRef<int32_t>(i), &ret16), ret16))->removed) continue; if ((::g::Uno::Delegate::op_Inequality(action, NULL) && ::g::Uno::Object::Equals1(action, uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(list), uCRef<int32_t>(i), &ret17), ret17))->action)) || ((update != NULL) && ::g::Uno::Object::Equals1(update, uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(list), uCRef<int32_t>(i), &ret18), ret18))->update))) { uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(list), uCRef<int32_t>(i), &ret19), ret19))->removed = true; return true; } } return false; } // public static void Update() [static] :299 void UpdateManager::Update() { UpdateManager_typeof()->Init(); UpdateManager::ProcessPostActions(); UpdateManager::ProcessStages(); } // private static void Update(Fuse.Stage stage) [static] :335 void UpdateManager::Update1(::g::Fuse::Stage* stage) { UpdateManager_typeof()->Init(); UpdateManager::_currentStage_ = stage; ::g::Uno::Collections::List* _exceptions = NULL; UpdateManager::ProcessOnces(stage, &_exceptions); UpdateManager::ProcessListeners(stage, &_exceptions); UpdateManager::ProcessDeferredActions(stage, &_exceptions); UpdateManager::_currentStage_ = NULL; UpdateManager::CheckExceptions(_exceptions); } // private static Fuse.Stage get_CurrentDeferredActionStage() [static] :262 ::g::Fuse::Stage* UpdateManager::CurrentDeferredActionStage() { UpdateManager_typeof()->Init(); ::g::Fuse::Stage* ret21; return (UpdateManager::_currentStage_ != NULL) ? (::g::Fuse::Stage*)UpdateManager::_currentStage_ : (::g::Uno::Collections::List__get_Item_fn(uPtr(UpdateManager::_stages_), uCRef<int32_t>(0), &ret21), ret21); } // internal static Fuse.UpdateStage get_CurrentStage() [static] :327 int32_t UpdateManager::CurrentStage() { UpdateManager_typeof()->Init(); return (UpdateManager::_currentStage_ == NULL) ? -1 : uPtr(UpdateManager::_currentStage_)->UpdateStage; } // public static int get_FrameIndex() [static] :506 int32_t UpdateManager::FrameIndex() { UpdateManager_typeof()->Init(); return UpdateManager::_frameIndex_; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\UpdateManager.uno // ------------------------------------------------------------------------------------- // public enum UpdateStage :7 uEnumType* UpdateStage_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.UpdateStage", ::g::Uno::Int_typeof(), 4); type->SetLiterals( "None", -1LL, "Primary", 0LL, "Layout", 1LL, "Draw", 2LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.UserEvents\1.9.0\UserEvent.ScriptClass.uno // ------------------------------------------------------------------------------------------------- // public partial sealed class UserEvent :9 // { // static UserEvent() :11 static void UserEvent__cctor_1_fn(uType* __type) { ::g::Fuse::Scripting::ScriptClass_typeof()->Init(); ::g::Fuse::Scripting::ScriptClass::Register(__type, uArray::Init< ::g::Fuse::Scripting::ScriptMember*>(::TYPES[73/*Fuse.Scripting.ScriptMember[]*/], 1, (::g::Fuse::Scripting::ScriptMethod1*)::g::Fuse::Scripting::ScriptMethod1::New2(::TYPES[74/*Fuse.Scripting.ScriptMethod<Fuse.UserEvent>*/], ::STRINGS[62/*"raise"*/], uDelegate::New(::TYPES[75/*Uno.Action<Fuse.UserEvent, object[]>*/], (void*)UserEvent__raise_fn)))); } static void UserEvent_build(uType* type) { ::STRINGS[62] = uString::Const("raise"); ::STRINGS[63] = uString::Const("UserEvent requires a Name"); ::STRINGS[64] = uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.UserEvents\\1.9.0\\UserEvent.uno"); ::STRINGS[65] = uString::Const("OnRooted"); ::STRINGS[66] = uString::Const("Raise must be called with zero arguments, or one argument defining the arguments to the event"); ::STRINGS[67] = uString::Const("C:\\Users\\Vaibhav\\AppData\\Local\\Fusetools\\Packages\\Fuse.UserEvents\\1.9.0\\UserEvent.ScriptClass.uno"); ::STRINGS[68] = uString::Const("Raise must be called with a JavaScript object to define name/value pairs"); ::STRINGS[69] = uString::Const("Trying to Raise on unrooted UserEvent"); ::STRINGS[70] = uString::Const("Raise"); ::TYPES[23] = ::g::Uno::Type_typeof(); ::TYPES[73] = ::g::Fuse::Scripting::ScriptMember_typeof()->Array(); ::TYPES[74] = ::g::Fuse::Scripting::ScriptMethod1_typeof()->MakeType(type, NULL); ::TYPES[75] = ::g::Uno::Action2_typeof()->MakeType(type, uObject_typeof()->Array(), NULL); ::TYPES[29] = ::g::Fuse::IObject_typeof(); ::TYPES[76] = ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::String_typeof(), uObject_typeof(), NULL); ::TYPES[21] = ::g::Fuse::Visual_typeof(); ::TYPES[77] = ::TYPES[21/*Fuse.Visual*/]->MakeMethod(2/*FirstChild<Fuse.UserEvent>*/, type, NULL); ::TYPES[78] = ::g::Fuse::Node_typeof()->MakeMethod(3/*NextSibling<Fuse.UserEvent>*/, type, NULL); type->SetDependencies( ::g::Fuse::UserEventDispatch_typeof()); type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(::g::Fuse::Node_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(::g::Fuse::Node_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(::g::Fuse::Node_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(::g::Fuse::Node_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Node_type, interface6)); type->SetFields(17, ::g::Fuse::UserEventDispatch_typeof(), offsetof(UserEvent, Dispatch), 0); } ::g::Fuse::Node_type* UserEvent_typeof() { static uSStrong< ::g::Fuse::Node_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Behavior_typeof(); options.FieldCount = 18; options.InterfaceCount = 7; options.DependencyCount = 1; options.ObjectSize = sizeof(UserEvent); options.TypeSize = sizeof(::g::Fuse::Node_type); type = (::g::Fuse::Node_type*)uClassType::New("Fuse.UserEvent", options); type->fp_build_ = UserEvent_build; type->fp_cctor_ = UserEvent__cctor_1_fn; type->fp_OnRooted = (void(*)(::g::Fuse::Node*))UserEvent__OnRooted_fn; type->fp_OnUnrooted = (void(*)(::g::Fuse::Node*))UserEvent__OnUnrooted_fn; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // protected override sealed void OnRooted() :201 void UserEvent__OnRooted_fn(UserEvent* __this) { ::g::Fuse::Node__OnRooted_fn(__this); if (::g::Uno::String::op_Equality(::g::Uno::UX::Selector__op_Implicit2(__this->Name()), NULL)) { ::g::Fuse::Diagnostics::UserError(::STRINGS[63/*"UserEvent r...*/], __this, ::STRINGS[64/*"C:\\Users\\...*/], 206, ::STRINGS[65/*"OnRooted"*/], NULL); return; } __this->Dispatch = ::g::Fuse::UserEventDispatch::GetByName(__this->Name()); } // protected override sealed void OnUnrooted() :213 void UserEvent__OnUnrooted_fn(UserEvent* __this) { __this->Dispatch = NULL; ::g::Fuse::Node__OnUnrooted_fn(__this); } // private static void raise(Fuse.UserEvent n, object[] args) :66 void UserEvent__raise_fn(UserEvent* n, uArray* args) { UserEvent::raise(n, args); } // public void Raise([Uno.Collections.Dictionary<string, object> args]) :248 void UserEvent__Raise_fn(UserEvent* __this, ::g::Uno::Collections::Dictionary* args) { __this->Raise(args); } // internal static Fuse.UserEvent ScanTree(Fuse.Node at, Uno.UX.Selector name, Fuse.Visual& visual) :225 void UserEvent__ScanTree_fn(::g::Fuse::Node* at, ::g::Uno::UX::Selector* name, ::g::Fuse::Visual** visual, UserEvent** __retval) { *__retval = UserEvent::ScanTree(at, *name, visual); } // public void Raise([Uno.Collections.Dictionary<string, object> args]) [instance] :248 void UserEvent::Raise(::g::Uno::Collections::Dictionary* args) { if (Dispatch == NULL) { ::g::Fuse::Diagnostics::InternalError(::STRINGS[69/*"Trying to R...*/], this, ::STRINGS[64/*"C:\\Users\\...*/], 252, ::STRINGS[70/*"Raise"*/]); return; } uPtr(Dispatch)->Raise(Parent(), args); } // private static void raise(Fuse.UserEvent n, object[] args) [static] :66 void UserEvent::raise(UserEvent* n, uArray* args) { UserEvent_typeof()->Init(); if (uPtr(args)->Length() == 0) { uPtr(n)->Raise(NULL); return; } if (uPtr(args)->Length() > 1) { ::g::Fuse::Diagnostics::UserError(::STRINGS[66/*"Raise must ...*/], n, ::STRINGS[67/*"C:\\Users\\...*/], 76, ::STRINGS[62/*"raise"*/], NULL); return; } uObject* so = uAs<uObject*>(uPtr(args)->Strong<uObject*>(0), ::TYPES[29/*Fuse.IObject*/]); if (so == NULL) { ::g::Fuse::Diagnostics::UserError(::STRINGS[68/*"Raise must ...*/], uPtr(args)->Strong<uObject*>(0), ::STRINGS[67/*"C:\\Users\\...*/], 83, ::STRINGS[62/*"raise"*/], NULL); return; } uArray* keys = ::g::Fuse::IObject::Keys(uInterface(uPtr(so), ::TYPES[29/*Fuse.IObject*/])); ::g::Uno::Collections::Dictionary* evArgs = (::g::Uno::Collections::Dictionary*)::g::Uno::Collections::Dictionary::New1(::TYPES[76/*Uno.Collections.Dictionary<string, object>*/]); for (int32_t i = 0; i < uPtr(keys)->Length(); i++) { uString* name = uPtr(keys)->Strong<uString*>(i); ::g::Uno::Collections::Dictionary__set_Item_fn(uPtr(evArgs), name, ::g::Fuse::IObject::Item(uInterface(uPtr(so), ::TYPES[29/*Fuse.IObject*/]), name)); } uPtr(n)->Raise(evArgs); } // internal static Fuse.UserEvent ScanTree(Fuse.Node at, Uno.UX.Selector name, Fuse.Visual& visual) [static] :225 UserEvent* UserEvent::ScanTree(::g::Fuse::Node* at, ::g::Uno::UX::Selector name, ::g::Fuse::Visual** visual) { UserEvent_typeof()->Init(); while (at != NULL) { ::g::Fuse::Visual* v = uAs< ::g::Fuse::Visual*>(at, ::TYPES[21/*Fuse.Visual*/]); if (v != NULL) for (UserEvent* ue = (UserEvent*)uPtr(v)->FirstChild(::TYPES[77/*Fuse.Visual.FirstChild<Fuse.UserEvent>*/]); ue != NULL; ue = (UserEvent*)uPtr(ue)->NextSibling(::TYPES[78/*Fuse.Node.NextSibling<Fuse.UserEvent>*/])) if (::g::Uno::UX::Selector__op_Equality(uPtr(ue)->Name(), name)) { *visual = v; return ue; } at = uPtr(at)->ContextParent(); } *visual = NULL; return NULL; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.UserEvents\1.9.0\UserEvent.uno // ------------------------------------------------------------------------------------- // public sealed class UserEventArgs :9 // { static void UserEventArgs_build(uType* type) { ::STRINGS[71] = uString::Const("name"); ::TYPES[52] = ::g::Fuse::Scripting::IEventSerializer_typeof(); ::TYPES[79] = ::g::Uno::Collections::Dictionary__Enumerator_typeof()->MakeType(::g::Uno::String_typeof(), uObject_typeof(), NULL); ::TYPES[80] = ::g::Uno::Collections::KeyValuePair_typeof()->MakeType(::g::Uno::String_typeof(), uObject_typeof(), NULL); type->SetInterfaces( ::g::Fuse::Scripting::IScriptEvent_typeof(), offsetof(UserEventArgs_type, interface0)); type->SetFields(0, ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::String_typeof(), uObject_typeof(), NULL), offsetof(UserEventArgs, _Args), 0, ::g::Fuse::UserEventDispatch_typeof(), offsetof(UserEventArgs, _Dispatch), 0, ::g::Fuse::Node_typeof(), offsetof(UserEventArgs, _Source), 0); } UserEventArgs_type* UserEventArgs_typeof() { static uSStrong<UserEventArgs_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::EventArgs_typeof(); options.FieldCount = 3; options.InterfaceCount = 1; options.ObjectSize = sizeof(UserEventArgs); options.TypeSize = sizeof(UserEventArgs_type); type = (UserEventArgs_type*)uClassType::New("Fuse.UserEventArgs", options); type->fp_build_ = UserEventArgs_build; type->interface0.fp_Serialize = (void(*)(uObject*, uObject*))UserEventArgs__FuseScriptingIScriptEventSerialize_fn; return type; } // internal UserEventArgs(Fuse.UserEventDispatch dispatch, Fuse.Node source, [Uno.Collections.Dictionary<string, object> args]) :23 void UserEventArgs__ctor_1_fn(UserEventArgs* __this, ::g::Fuse::UserEventDispatch* dispatch, ::g::Fuse::Node* source, ::g::Uno::Collections::Dictionary* args) { __this->ctor_1(dispatch, source, args); } // public generated Uno.Collections.Dictionary<string, object> get_Args() :21 void UserEventArgs__get_Args_fn(UserEventArgs* __this, ::g::Uno::Collections::Dictionary** __retval) { *__retval = __this->Args(); } // private generated void set_Args(Uno.Collections.Dictionary<string, object> value) :21 void UserEventArgs__set_Args_fn(UserEventArgs* __this, ::g::Uno::Collections::Dictionary* value) { __this->Args(value); } // internal generated Fuse.UserEventDispatch get_Dispatch() :11 void UserEventArgs__get_Dispatch_fn(UserEventArgs* __this, ::g::Fuse::UserEventDispatch** __retval) { *__retval = __this->Dispatch(); } // private generated void set_Dispatch(Fuse.UserEventDispatch value) :11 void UserEventArgs__set_Dispatch_fn(UserEventArgs* __this, ::g::Fuse::UserEventDispatch* value) { __this->Dispatch(value); } // private void Fuse.Scripting.IScriptEvent.Serialize(Fuse.Scripting.IEventSerializer s) :35 void UserEventArgs__FuseScriptingIScriptEventSerialize_fn(UserEventArgs* __this, uObject* s) { ::g::Uno::Collections::Dictionary__Enumerator<uStrong<uString*>, uStrong<uObject*> > ret3; ::g::Fuse::Scripting::IEventSerializer::AddString(uInterface(uPtr(s), ::TYPES[52/*Fuse.Scripting.IEventSerializer*/]), ::STRINGS[71/*"name"*/], ::g::Uno::UX::Selector__op_Implicit2(uPtr(__this->Dispatch())->Name())); if (__this->Args() != NULL) { ::g::Uno::Collections::Dictionary__Enumerator<uStrong<uString*>, uStrong<uObject*> > enum1 = (::g::Uno::Collections::Dictionary__GetEnumerator_fn(uPtr(__this->Args()), &ret3), ret3); { try { { while (enum1.MoveNext(::TYPES[79/*Uno.Collections.Dictionary<string, object>.Enumerator*/])) { ::g::Uno::Collections::KeyValuePair<uStrong<uString*>, uStrong<uObject*> > m = enum1.Current(::TYPES[79/*Uno.Collections.Dictionary<string, object>.Enumerator*/]); ::g::Fuse::Scripting::IEventSerializer::AddObject(uInterface(uPtr(s), ::TYPES[52/*Fuse.Scripting.IEventSerializer*/]), m.Key(::TYPES[80/*Uno.Collections.KeyValuePair<string, object>*/]), m.Value(::TYPES[80/*Uno.Collections.KeyValuePair<string, object>*/])); } } } catch (const uThrowable& __t) { { enum1.Dispose(::TYPES[79/*Uno.Collections.Dictionary<string, object>.Enumerator*/]); } throw __t; goto __after_finally_5; } { enum1.Dispose(::TYPES[79/*Uno.Collections.Dictionary<string, object>.Enumerator*/]); } __after_finally_5:; } } } // internal UserEventArgs New(Fuse.UserEventDispatch dispatch, Fuse.Node source, [Uno.Collections.Dictionary<string, object> args]) :23 void UserEventArgs__New2_fn(::g::Fuse::UserEventDispatch* dispatch, ::g::Fuse::Node* source, ::g::Uno::Collections::Dictionary* args, UserEventArgs** __retval) { *__retval = UserEventArgs::New2(dispatch, source, args); } // internal void Raise() :30 void UserEventArgs__Raise_fn(UserEventArgs* __this) { __this->Raise(); } // public generated Fuse.Node get_Source() :18 void UserEventArgs__get_Source_fn(UserEventArgs* __this, ::g::Fuse::Node** __retval) { *__retval = __this->Source(); } // private generated void set_Source(Fuse.Node value) :18 void UserEventArgs__set_Source_fn(UserEventArgs* __this, ::g::Fuse::Node* value) { __this->Source(value); } // internal UserEventArgs(Fuse.UserEventDispatch dispatch, Fuse.Node source, [Uno.Collections.Dictionary<string, object> args]) [instance] :23 void UserEventArgs::ctor_1(::g::Fuse::UserEventDispatch* dispatch, ::g::Fuse::Node* source, ::g::Uno::Collections::Dictionary* args) { ctor_(); Dispatch(dispatch); Source(source); Args(args); } // public generated Uno.Collections.Dictionary<string, object> get_Args() [instance] :21 ::g::Uno::Collections::Dictionary* UserEventArgs::Args() { return _Args; } // private generated void set_Args(Uno.Collections.Dictionary<string, object> value) [instance] :21 void UserEventArgs::Args(::g::Uno::Collections::Dictionary* value) { _Args = value; } // internal generated Fuse.UserEventDispatch get_Dispatch() [instance] :11 ::g::Fuse::UserEventDispatch* UserEventArgs::Dispatch() { return _Dispatch; } // private generated void set_Dispatch(Fuse.UserEventDispatch value) [instance] :11 void UserEventArgs::Dispatch(::g::Fuse::UserEventDispatch* value) { _Dispatch = value; } // internal void Raise() [instance] :30 void UserEventArgs::Raise() { uPtr(Dispatch())->OnRaised(this); } // public generated Fuse.Node get_Source() [instance] :18 ::g::Fuse::Node* UserEventArgs::Source() { return _Source; } // private generated void set_Source(Fuse.Node value) [instance] :18 void UserEventArgs::Source(::g::Fuse::Node* value) { _Source = value; } // internal UserEventArgs New(Fuse.UserEventDispatch dispatch, Fuse.Node source, [Uno.Collections.Dictionary<string, object> args]) [static] :23 UserEventArgs* UserEventArgs::New2(::g::Fuse::UserEventDispatch* dispatch, ::g::Fuse::Node* source, ::g::Uno::Collections::Dictionary* args) { UserEventArgs* obj2 = (UserEventArgs*)uNew(UserEventArgs_typeof()); obj2->ctor_1(dispatch, source, args); return obj2; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.UserEvents\1.9.0\UserEvent.uno // ------------------------------------------------------------------------------------- // internal sealed class UserEventDispatch :48 // { // static generated UserEventDispatch() :48 static void UserEventDispatch__cctor__fn(uType* __type) { UserEventDispatch::_userEvents_ = ((::g::Uno::Collections::Dictionary*)::g::Uno::Collections::Dictionary::New1(::TYPES[81/*Uno.Collections.Dictionary<Uno.UX.Selector, Fuse.UserEventDispatch>*/])); } static void UserEventDispatch_build(uType* type) { ::TYPES[81] = ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::UX::Selector_typeof(), type, NULL); ::TYPES[1] = ::g::Uno::Action_typeof(); ::TYPES[82] = ::g::Fuse::UserEventHandler_typeof(); type->SetDependencies( ::g::Fuse::UpdateManager_typeof()); type->SetFields(0, ::g::Uno::UX::Selector_typeof(), offsetof(UserEventDispatch, _Name), 0, ::TYPES[82/*Fuse.UserEventHandler*/], offsetof(UserEventDispatch, Raised1), 0, ::TYPES[81/*Uno.Collections.Dictionary<Uno.UX.Selector, Fuse.UserEventDispatch>*/], (uintptr_t)&UserEventDispatch::_userEvents_, uFieldFlagsStatic); } uType* UserEventDispatch_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 3; options.DependencyCount = 1; options.ObjectSize = sizeof(UserEventDispatch); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.UserEventDispatch", options); type->fp_build_ = UserEventDispatch_build; type->fp_ctor_ = (void*)UserEventDispatch__New1_fn; type->fp_cctor_ = UserEventDispatch__cctor__fn; return type; } // public generated UserEventDispatch() :48 void UserEventDispatch__ctor__fn(UserEventDispatch* __this) { __this->ctor_(); } // internal void DirectRaise([Fuse.Node source], [Uno.Collections.Dictionary<string, object> args]) :75 void UserEventDispatch__DirectRaise_fn(UserEventDispatch* __this, ::g::Fuse::Node* source, ::g::Uno::Collections::Dictionary* args) { __this->DirectRaise(source, args); } // internal static Fuse.UserEventDispatch GetByName(Uno.UX.Selector name) :57 void UserEventDispatch__GetByName_fn(::g::Uno::UX::Selector* name, UserEventDispatch** __retval) { *__retval = UserEventDispatch::GetByName(*name); } // public generated Uno.UX.Selector get_Name() :55 void UserEventDispatch__get_Name_fn(UserEventDispatch* __this, ::g::Uno::UX::Selector* __retval) { *__retval = __this->Name(); } // private generated void set_Name(Uno.UX.Selector value) :55 void UserEventDispatch__set_Name_fn(UserEventDispatch* __this, ::g::Uno::UX::Selector* value) { __this->Name(*value); } // public generated UserEventDispatch New() :48 void UserEventDispatch__New1_fn(UserEventDispatch** __retval) { *__retval = UserEventDispatch::New1(); } // internal void OnRaised(Fuse.UserEventArgs args) :81 void UserEventDispatch__OnRaised_fn(UserEventDispatch* __this, ::g::Fuse::UserEventArgs* args) { __this->OnRaised(args); } // public void Raise(Fuse.Node source, [Uno.Collections.Dictionary<string, object> args]) :69 void UserEventDispatch__Raise_fn(UserEventDispatch* __this, ::g::Fuse::Node* source, ::g::Uno::Collections::Dictionary* args) { __this->Raise(source, args); } // public generated void add_Raised(Fuse.UserEventHandler value) :53 void UserEventDispatch__add_Raised_fn(UserEventDispatch* __this, uDelegate* value) { __this->add_Raised(value); } // public generated void remove_Raised(Fuse.UserEventHandler value) :53 void UserEventDispatch__remove_Raised_fn(UserEventDispatch* __this, uDelegate* value) { __this->remove_Raised(value); } uSStrong< ::g::Uno::Collections::Dictionary*> UserEventDispatch::_userEvents_; // public generated UserEventDispatch() [instance] :48 void UserEventDispatch::ctor_() { } // internal void DirectRaise([Fuse.Node source], [Uno.Collections.Dictionary<string, object> args]) [instance] :75 void UserEventDispatch::DirectRaise(::g::Fuse::Node* source, ::g::Uno::Collections::Dictionary* args) { ::g::Fuse::UserEventArgs* m = ::g::Fuse::UserEventArgs::New2(this, source, args); OnRaised(m); } // public generated Uno.UX.Selector get_Name() [instance] :55 ::g::Uno::UX::Selector UserEventDispatch::Name() { return _Name; } // private generated void set_Name(Uno.UX.Selector value) [instance] :55 void UserEventDispatch::Name(::g::Uno::UX::Selector value) { _Name = value; } // internal void OnRaised(Fuse.UserEventArgs args) [instance] :81 void UserEventDispatch::OnRaised(::g::Fuse::UserEventArgs* args) { if (::g::Uno::Delegate::op_Inequality(Raised1, NULL)) uPtr(Raised1)->Invoke(2, this, args); } // public void Raise(Fuse.Node source, [Uno.Collections.Dictionary<string, object> args]) [instance] :69 void UserEventDispatch::Raise(::g::Fuse::Node* source, ::g::Uno::Collections::Dictionary* args) { ::g::Fuse::UserEventArgs* m = ::g::Fuse::UserEventArgs::New2(this, source, args); ::g::Fuse::UpdateManager::AddDeferredAction2(uDelegate::New(::TYPES[1/*Uno.Action*/], (void*)::g::Fuse::UserEventArgs__Raise_fn, m), -1, 2); } // public generated void add_Raised(Fuse.UserEventHandler value) [instance] :53 void UserEventDispatch::add_Raised(uDelegate* value) { Raised1 = uCast<uDelegate*>(::g::Uno::Delegate::Combine(Raised1, value), ::TYPES[82/*Fuse.UserEventHandler*/]); } // public generated void remove_Raised(Fuse.UserEventHandler value) [instance] :53 void UserEventDispatch::remove_Raised(uDelegate* value) { Raised1 = uCast<uDelegate*>(::g::Uno::Delegate::Remove(Raised1, value), ::TYPES[82/*Fuse.UserEventHandler*/]); } // internal static Fuse.UserEventDispatch GetByName(Uno.UX.Selector name) [static] :57 UserEventDispatch* UserEventDispatch::GetByName(::g::Uno::UX::Selector name) { UserEventDispatch_typeof()->Init(); bool ret2; UserEventDispatch* current; if ((::g::Uno::Collections::Dictionary__TryGetValue_fn(uPtr(UserEventDispatch::_userEvents_), uCRef(name), (void**)(&current), &ret2), ret2)) return current; UserEventDispatch* ue = UserEventDispatch::New1(); ue->Name(name); ::g::Uno::Collections::Dictionary__set_Item_fn(uPtr(UserEventDispatch::_userEvents_), uCRef(name), ue); return ue; } // public generated UserEventDispatch New() [static] :48 UserEventDispatch* UserEventDispatch::New1() { UserEventDispatch* obj1 = (UserEventDispatch*)uNew(UserEventDispatch_typeof()); obj1->ctor_(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.UserEvents\1.9.0\UserEvent.uno // ------------------------------------------------------------------------------------- // public delegate void UserEventHandler(object sender, Fuse.UserEventArgs args) :46 uDelegateType* UserEventHandler_typeof() { static uSStrong<uDelegateType*> type; if (type != NULL) return type; type = uDelegateType::New("Fuse.UserEventHandler", 2, 0); type->SetSignature(uVoid_typeof(), uObject_typeof(), ::g::Fuse::UserEventArgs_typeof()); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\IViewport.uno // -------------------------------------------------------------------------------- // public static class ViewportHelpers :81 // { static void ViewportHelpers_build(uType* type) { ::TYPES[19] = ::g::Fuse::ICommonViewport_typeof(); } uClassType* ViewportHelpers_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.ViewportHelpers", options); type->fp_build_ = ViewportHelpers_build; return type; } // public static float2 LocalPlaneIntersection(Fuse.Ray local) :112 void ViewportHelpers__LocalPlaneIntersection_fn(::g::Fuse::Ray* local, ::g::Uno::Float2* __retval) { *__retval = ViewportHelpers::LocalPlaneIntersection(*local); } // public static Fuse.Ray PointToWorldRay(Fuse.IViewport viewport, float4x4 viewProjectionInverse, float2 pointPos) :83 void ViewportHelpers__PointToWorldRay_fn(uObject* viewport, ::g::Uno::Float4x4* viewProjectionInverse, ::g::Uno::Float2* pointPos, ::g::Fuse::Ray* __retval) { *__retval = ViewportHelpers::PointToWorldRay(viewport, *viewProjectionInverse, *pointPos); } // public static Fuse.Ray WorldToLocalRay(Fuse.IViewport viewport, Fuse.IViewport world, Fuse.Ray worldRay, Fuse.Visual where) :98 void ViewportHelpers__WorldToLocalRay_fn(uObject* viewport, uObject* world, ::g::Fuse::Ray* worldRay, ::g::Fuse::Visual* where, ::g::Fuse::Ray* __retval) { *__retval = ViewportHelpers::WorldToLocalRay(viewport, world, *worldRay, where); } // public static float2 LocalPlaneIntersection(Fuse.Ray local) [static] :112 ::g::Uno::Float2 ViewportHelpers::LocalPlaneIntersection(::g::Fuse::Ray local) { float t = -local.Position.Z / local.Direction.Z; ::g::Uno::Float3 plane = ::g::Uno::Float3__op_Addition2(local.Position, ::g::Uno::Float3__op_Multiply1(local.Direction, t)); return ::g::Uno::Float2__New2(plane.X, plane.Y); } // public static Fuse.Ray PointToWorldRay(Fuse.IViewport viewport, float4x4 viewProjectionInverse, float2 pointPos) [static] :83 ::g::Fuse::Ray ViewportHelpers::PointToWorldRay(uObject* viewport, ::g::Uno::Float4x4 viewProjectionInverse, ::g::Uno::Float2 pointPos) { ::g::Uno::Float2 p = ::g::Uno::Float2__New2(((pointPos.X / ::g::Fuse::ICommonViewport::Size(uInterface(uPtr(viewport), ::TYPES[19/*Fuse.ICommonViewport*/])).X) * 2.0f) - 1.0f, ((pointPos.Y / ::g::Fuse::ICommonViewport::Size(uInterface(uPtr(viewport), ::TYPES[19/*Fuse.ICommonViewport*/])).Y) * -2.0f) + 1.0f); ::g::Uno::Float4x4 vpi = viewProjectionInverse; ::g::Uno::Float3 r0 = ::g::Uno::Vector::TransformCoordinate1(::g::Uno::Float3__New4(p, -1.0f), vpi); ::g::Uno::Float3 r1 = ::g::Uno::Vector::TransformCoordinate1(::g::Uno::Float3__New4(p, 1.0f), vpi); return ::g::Fuse::Ray__New1(r0, ::g::Uno::Vector::Normalize1(::g::Uno::Float3__op_Subtraction2(r1, r0))); } // public static Fuse.Ray WorldToLocalRay(Fuse.IViewport viewport, Fuse.IViewport world, Fuse.Ray worldRay, Fuse.Visual where) [static] :98 ::g::Fuse::Ray ViewportHelpers::WorldToLocalRay(uObject* viewport, uObject* world, ::g::Fuse::Ray worldRay, ::g::Fuse::Visual* where) { if (where == world) return worldRay; ::g::Uno::Float4x4 wi = uPtr(where)->WorldTransformInverse(); ::g::Uno::Float3 r0 = ::g::Uno::Vector::TransformCoordinate1(worldRay.Position, wi); ::g::Uno::Float3 r1 = ::g::Uno::Vector::TransformCoordinate1(::g::Uno::Float3__op_Addition2(worldRay.Position, worldRay.Direction), wi); return ::g::Fuse::Ray__New1(r0, ::g::Uno::Vector::Normalize1(::g::Uno::Float3__op_Subtraction2(r1, r0))); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.BeginRemove.uno // ----------------------------------------------------------------------------------------- // public interfacemodifiers class Visual :61 // { // static Visual() :11 static void Visual__cctor_1_fn(uType* __type) { ::g::Fuse::Properties_typeof()->Init(); ::g::Fuse::Scripting::ScriptClass_typeof()->Init(); Visual::_isContextEnabledChangedHandle_ = ::g::Fuse::Properties::CreateHandle(); Visual::_isEnabledName_ = ::g::Uno::UX::Selector__op_Implicit1(uString::Const("IsEnabled")); Visual::_isVisibleChangedHandle_ = ::g::Fuse::Properties::CreateHandle(); Visual::_layerProperty_ = ::g::Fuse::Properties::CreateHandle(); Visual::_layoutRoleProperty_ = ::g::Fuse::Properties::CreateHandle(); Visual::_parameterChangedHandle_ = ::g::Fuse::Properties::CreateHandle(); Visual::ParameterName_ = ::g::Uno::UX::Selector__op_Implicit1(::STRINGS[57/*"Parameter"*/]); Visual::_resourcesHandle_ = ::g::Fuse::Properties::CreateHandle(); Visual::_emptyVisuals_ = uArray::New(__type->Array(), 0); ::g::Fuse::Scripting::ScriptClass::Register(__type, uArray::Init< ::g::Fuse::Scripting::ScriptMember*>(::TYPES[73/*Fuse.Scripting.ScriptMember[]*/], 3, (::g::Fuse::Scripting::ScriptProperty1*)::g::Fuse::Scripting::ScriptProperty1::New1(::g::Fuse::Scripting::ScriptProperty1_typeof()->MakeType(__type, ::TYPES[24/*string*/], NULL), ::STRINGS[57/*"Parameter"*/], uDelegate::New(::g::Uno::Func1_typeof()->MakeType(__type, ::g::Uno::UX::Property1_typeof()->MakeType(::TYPES[24/*string*/], NULL), NULL), (void*)Visual__getParameterProperty_fn), uString::Const(".notNull().parseJson()")), (::g::Fuse::Scripting::ScriptMethod1*)::g::Fuse::Scripting::ScriptMethod1::New2(::g::Fuse::Scripting::ScriptMethod1_typeof()->MakeType(__type, NULL), uString::Const("onParameterChanged"), uDelegate::New(::g::Uno::Action2_typeof()->MakeType(__type, ::TYPES[7/*object[]*/], NULL), (void*)Visual__onParameterChanged_fn)), (::g::Fuse::Scripting::ScriptMethod1*)::g::Fuse::Scripting::ScriptMethod1::New3(::g::Fuse::Scripting::ScriptMethod1_typeof()->MakeType(__type, NULL), uString::Const("bringIntoView"), uDelegate::New(::g::Uno::Action1_typeof()->MakeType(__type, NULL), (void*)Visual__bringIntoView_fn)))); } static void Visual_build(uType* type) { type->SetDependencies( ::g::Uno::EventArgs_typeof(), ::g::Fuse::Input::Focus_typeof(), ::g::Uno::Math_typeof(), ::g::Fuse::Node_typeof(), ::g::Uno::UX::Resource_typeof(), ::g::Fuse::Resources::ResourceRegistry_typeof(), ::g::Fuse::UpdateManager_typeof(), ::g::Fuse::VisualBounds_typeof()); type->MethodTypes[0]->SetPrecalc( ::g::Fuse::FastProperty1Link1_typeof()->MakeType(type->MethodTypes[0]->U(0), NULL)); type->MethodTypes[1]->SetPrecalc( ::g::Fuse::FastProperty2Link1_typeof()->MakeType(type->MethodTypes[1]->U(0), NULL)); type->MethodTypes[3]->SetPrecalc( type->MakeMethod(0/*Find<T>*/, type->MethodTypes[3]->U(0), NULL)); type->MethodTypes[4]->SetPrecalc( type->MakeMethod(1/*Find<T>*/, type->MethodTypes[4]->U(0), NULL)); type->MethodTypes[5]->SetPrecalc( ::g::Fuse::FastProperty1Link1_typeof()->MakeType(type->MethodTypes[5]->U(0), NULL)); type->MethodTypes[6]->SetPrecalc( ::g::Fuse::FastProperty2Link1_typeof()->MakeType(type->MethodTypes[6]->U(0), NULL)); type->MethodTypes[9]->SetPrecalc( type->MakeMethod(0/*Find<T>*/, type->MethodTypes[9]->U(0), NULL), type->MakeMethod(5/*Insert<T>*/, type->MethodTypes[9]->U(0), NULL)); type->MethodTypes[10]->SetPrecalc( type->MakeMethod(1/*Find<T>*/, type->MethodTypes[10]->U(0), NULL), type->MakeMethod(6/*Insert<T>*/, type->MethodTypes[10]->U(0), NULL)); type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(Visual_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(Visual_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(Visual_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(Visual_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(Visual_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(Visual_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(Visual_type, interface6), ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), offsetof(Visual_type, interface7), ::g::Uno::UX::IPropertyListener_typeof(), offsetof(Visual_type, interface8), ::g::Fuse::ITemplateSource_typeof(), offsetof(Visual_type, interface9), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(type, NULL), offsetof(Visual_type, interface10), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), offsetof(Visual_type, interface11), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), offsetof(Visual_type, interface12)); type->SetFields(17, ::g::Uno::Int_typeof(), offsetof(Visual, _thisID), 0, ::g::Fuse::Node_typeof(), offsetof(Visual, _firstChild), 0, ::g::Fuse::Node_typeof(), offsetof(Visual, _lastChild), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _childCount), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _visualChildCount), 0, ::g::Fuse::Node_typeof()->Array(), offsetof(Visual, Children_cachedArray), 0, Visual__SafeIterator_typeof(), offsetof(Visual, _safeIterator), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _observerCount), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _nodebits), 0, ::g::Fuse::FastProperty1Link_typeof(), offsetof(Visual, _fastProperties1), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _fastPropertyBits1), 0, ::g::Fuse::FastProperty2Link_typeof(), offsetof(Visual, _fastProperties2), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _fastPropertyBits2), 0, ::g::Fuse::VisualBounds_typeof(), offsetof(Visual, _hitTestBoundsCache), 0, ::g::Uno::Bool_typeof(), offsetof(Visual, _isHitTestBoundsCacheValid), 0, ::g::Uno::Collections::Dictionary_typeof()->MakeType(uObject_typeof(), Visual__InteractionItem_typeof(), NULL), offsetof(Visual, _interactions), 0, ::g::Uno::Bool_typeof(), offsetof(Visual, _isVisibleCached), 0, ::g::Fuse::InvalidateLayoutReason_typeof(), offsetof(Visual, _layoutDirty), 0, ::g::Uno::Float2_typeof(), offsetof(Visual, _cachedRenderTargetSize), 0, ::g::Uno::Float2_typeof(), offsetof(Visual, _ambPosition), 0, ::g::Uno::Float2_typeof(), offsetof(Visual, _ambMargin), 0, ::g::Fuse::LayoutParams_typeof(), offsetof(Visual, _ambLayoutParams), 0, ::g::Uno::Bool_typeof(), offsetof(Visual, _hasMarginBox), 0, ::g::Uno::String_typeof(), offsetof(Visual, _parameter), 0, ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::Scripting::Function_typeof(), NULL), offsetof(Visual, _parameterListeners), 0, Visual__ParameterProperty_typeof(), offsetof(Visual, _parameterProperty), 0, ::g::Fuse::TemplateSourceImpl_typeof(), offsetof(Visual, _templates), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _transformCount), 0, ::g::Fuse::FastMatrix_typeof(), offsetof(Visual, _worldTransformInverse), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _worldTransformVersion), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _parentWorldTransformVersion), 0, ::g::Fuse::FastMatrix_typeof(), offsetof(Visual, _worldTransform), 0, ::g::Fuse::FastMatrix_typeof(), offsetof(Visual, _localTransform), 0, ::g::Fuse::FastMatrix_typeof(), offsetof(Visual, _localTransformInverse), 0, ::g::Uno::Bool_typeof(), offsetof(Visual, _isFocusable), 0, type, offsetof(Visual, _focusDelegate), 0, ::g::Uno::Double_typeof(), offsetof(Visual, _drawCost), 0, ::g::Fuse::IViewport_typeof(), offsetof(Visual, _viewport), 0, ::g::Uno::Bool_typeof(), offsetof(Visual, _childrenShouldRoot), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _lastInvalidate), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _wtiListeners), 0, ::g::Uno::Bool_typeof(), offsetof(Visual, _wtiRooted), 0, ::g::Uno::Float_typeof(), offsetof(Visual, _zOffset), 0, type->Array(), offsetof(Visual, _cachedZOrder), 0, ::g::Uno::Int_typeof(), offsetof(Visual, _naturalZOrder), 0, ::g::Uno::Bool_typeof(), offsetof(Visual, _zOrderFixed), 0, ::g::Fuse::Controls::Native::ViewHandle_typeof(), offsetof(Visual, _ViewHandle), 0, ::g::Uno::EventHandler_typeof(), offsetof(Visual, _worldTransformInvalidated1), 0, ::g::Uno::EventHandler_typeof(), offsetof(Visual, IsInteractingChanged1), 0, ::g::Fuse::LostMarginBoxHandler_typeof(), offsetof(Visual, LostMarginBox1), 0, ::g::Fuse::RequestBringIntoViewHandler_typeof(), offsetof(Visual, RequestBringIntoView1), 0, ::g::Uno::Int_typeof(), (uintptr_t)&Visual::_thisIDEnumerator_, uFieldFlagsStatic, ::g::Fuse::PropertyHandle_typeof(), (uintptr_t)&Visual::_isContextEnabledChangedHandle_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&Visual::_isEnabledName_, uFieldFlagsStatic, ::g::Fuse::PropertyHandle_typeof(), (uintptr_t)&Visual::_isVisibleChangedHandle_, uFieldFlagsStatic, ::g::Fuse::PropertyHandle_typeof(), (uintptr_t)&Visual::_layerProperty_, uFieldFlagsStatic, ::g::Fuse::PropertyHandle_typeof(), (uintptr_t)&Visual::_layoutRoleProperty_, uFieldFlagsStatic, ::g::Uno::Bool_typeof(), (uintptr_t)&Visual::_performingLayout_, uFieldFlagsStatic, ::g::Fuse::PropertyHandle_typeof(), (uintptr_t)&Visual::_parameterChangedHandle_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&Visual::ParameterName_, uFieldFlagsStatic, ::g::Fuse::PropertyHandle_typeof(), (uintptr_t)&Visual::_resourcesHandle_, uFieldFlagsStatic, type->Array(), (uintptr_t)&Visual::_emptyVisuals_, uFieldFlagsStatic); } Visual_type* Visual_typeof() { static uSStrong<Visual_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Node_typeof(); options.FieldCount = 79; options.InterfaceCount = 13; options.MethodTypeCount = 11; options.DependencyCount = 8; options.ObjectSize = sizeof(Visual); options.TypeSize = sizeof(Visual_type); type = (Visual_type*)uClassType::New("Fuse.Visual", options); type->MethodTypes[0] = type->NewMethodType(1, 1,0); type->MethodTypes[1] = type->NewMethodType(1, 1,0); type->MethodTypes[2] = type->NewMethodType(1, 0,0); type->MethodTypes[3] = type->NewMethodType(1, 1,0); type->MethodTypes[4] = type->NewMethodType(1, 1,0); type->MethodTypes[5] = type->NewMethodType(1, 1,0); type->MethodTypes[6] = type->NewMethodType(1, 1,0); type->MethodTypes[7] = type->NewMethodType(1, 0,0); type->MethodTypes[8] = type->NewMethodType(1, 0,0); type->MethodTypes[9] = type->NewMethodType(1, 2,0); type->MethodTypes[10] = type->NewMethodType(1, 2,0); type->fp_build_ = Visual_build; type->fp_cctor_ = Visual__cctor_1_fn; type->fp_get_AbsoluteViewportOrigin = Visual__get_AbsoluteViewportOrigin_fn; type->fp_get_CanAdjustMarginBox = Visual__get_CanAdjustMarginBox_fn; type->fp_GetMarginSize = Visual__GetMarginSize_fn; type->fp_get_HitTestChildrenBounds = Visual__get_HitTestChildrenBounds_fn; type->fp_get_HitTestLocalBounds = Visual__get_HitTestLocalBounds_fn; type->fp_InvalidateLocalTransform = Visual__InvalidateLocalTransform_fn; type->fp_get_IsLayoutRoot = Visual__get_IsLayoutRoot_fn; type->fp_get_IsLocalVisible = Visual__get_IsLocalVisible_fn; type->fp_IsMarginBoxDependent = Visual__IsMarginBoxDependent_fn; type->fp_get_LocalRenderBounds = Visual__get_LocalRenderBounds_fn; type->fp_OnAdjustMarginBoxPosition = Visual__OnAdjustMarginBoxPosition_fn; type->fp_OnArrangeMarginBox = Visual__OnArrangeMarginBox_fn; type->fp_OnChildAdded = Visual__OnChildAdded_fn; type->fp_OnChildMoved = Visual__OnChildMoved_fn; type->fp_OnChildRemoved = Visual__OnChildRemoved_fn; type->fp_OnHitTest = Visual__OnHitTest_fn; type->fp_OnInvalidateLayout = Visual__OnInvalidateLayout_fn; type->fp_OnInvalidateRenderBounds = Visual__OnInvalidateRenderBounds_fn; type->fp_OnInvalidateVisual = Visual__OnInvalidateVisual_fn; type->fp_OnInvalidateVisualComposition = Visual__OnInvalidateVisualComposition_fn; type->fp_OnIsContextEnabledChanged = Visual__OnIsContextEnabledChanged_fn; type->fp_OnIsVisibleChanged = Visual__OnIsVisibleChanged_fn; type->fp_OnPropertyChanged2 = Visual__OnPropertyChanged2_fn; type->fp_OnRooted = (void(*)(::g::Fuse::Node*))Visual__OnRooted_fn; type->fp_OnRootedPreChildren = Visual__OnRootedPreChildren_fn; type->fp_OnUnrooted = (void(*)(::g::Fuse::Node*))Visual__OnUnrooted_fn; type->fp_OnZOrderInvalidated = Visual__OnZOrderInvalidated_fn; type->fp_Prepare = Visual__Prepare_fn; type->fp_PrependImplicitTransform = Visual__PrependImplicitTransform_fn; type->fp_PrependInverseTransformOrigin = Visual__PrependInverseTransformOrigin_fn; type->fp_PrependTransformOrigin = Visual__PrependTransformOrigin_fn; type->fp_TryGetResource = (void(*)(::g::Fuse::Node*, uString*, uDelegate*, uObject**, bool*))Visual__TryGetResource_fn; type->fp_get_VisualContext = Visual__get_VisualContext_fn; type->interface10.fp_GetEnumerator = (void(*)(uObject*, uObject**))Visual__UnoCollectionsIEnumerableFuseVisualGetEnumerator_fn; type->interface11.fp_Clear = (void(*)(uObject*))Visual__UnoCollectionsICollectionFuseNodeClear_fn; type->interface11.fp_Contains = (void(*)(uObject*, void*, bool*))Visual__UnoCollectionsICollectionFuseNodeContains_fn; type->interface7.fp_RemoveAt = (void(*)(uObject*, int32_t*))Visual__UnoCollectionsIListFuseNodeRemoveAt_fn; type->interface12.fp_GetEnumerator = (void(*)(uObject*, uObject**))Visual__UnoCollectionsIEnumerableFuseNodeGetEnumerator_fn; type->interface11.fp_get_Count = (void(*)(uObject*, int32_t*))Visual__UnoCollectionsICollectionFuseNodeget_Count_fn; type->interface7.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))Visual__UnoCollectionsIListFuseNodeget_Item_fn; type->interface7.fp_Insert = (void(*)(uObject*, int32_t*, void*))Visual__Insert1_fn; type->interface8.fp_OnPropertyChanged = (void(*)(uObject*, ::g::Uno::UX::PropertyObject*, ::g::Uno::UX::Selector*))Visual__OnPropertyChanged2_fn; type->interface9.fp_FindTemplate = (void(*)(uObject*, uString*, ::g::Uno::UX::Template**))Visual__FindTemplate_fn; type->interface11.fp_Add = (void(*)(uObject*, void*))Visual__Add1_fn; type->interface11.fp_Remove = (void(*)(uObject*, void*, bool*))Visual__Remove1_fn; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // protected generated Visual() :61 void Visual__ctor_2_fn(Visual* __this) { __this->ctor_2(); } // private bool get__areChildrenFlat() :63 void Visual__get__areChildrenFlat_fn(Visual* __this, bool* __retval) { *__retval = __this->_areChildrenFlat(); } // private void set__areChildrenFlat(bool value) :64 void Visual__set__areChildrenFlat_fn(Visual* __this, bool* value) { __this->_areChildrenFlat(*value); } // private bool get__areChildrenFlatCached() :57 void Visual__get__areChildrenFlatCached_fn(Visual* __this, bool* __retval) { *__retval = __this->_areChildrenFlatCached(); } // private void set__areChildrenFlatCached(bool value) :58 void Visual__set__areChildrenFlatCached_fn(Visual* __this, bool* value) { __this->_areChildrenFlatCached(*value); } // private bool get__isLocalFlat() :29 void Visual__get__isLocalFlat_fn(Visual* __this, bool* __retval) { *__retval = __this->_isLocalFlat(); } // private void set__isLocalFlat(bool value) :30 void Visual__set__isLocalFlat_fn(Visual* __this, bool* value) { __this->_isLocalFlat(*value); } // private bool get__isLocalFlatCached() :24 void Visual__get__isLocalFlatCached_fn(Visual* __this, bool* __retval) { *__retval = __this->_isLocalFlatCached(); } // private void set__isLocalFlatCached(bool value) :25 void Visual__set__isLocalFlatCached_fn(Visual* __this, bool* value) { __this->_isLocalFlatCached(*value); } // private generated void add__worldTransformInvalidated(Uno.EventHandler value) :51 void Visual__add__worldTransformInvalidated_fn(Visual* __this, uDelegate* value) { __this->add__worldTransformInvalidated(value); } // private generated void remove__worldTransformInvalidated(Uno.EventHandler value) :51 void Visual__remove__worldTransformInvalidated_fn(Visual* __this, uDelegate* value) { __this->remove__worldTransformInvalidated(value); } // protected virtual float2 get_AbsoluteViewportOrigin() :509 void Visual__get_AbsoluteViewportOrigin_fn(Visual* __this, ::g::Uno::Float2* __retval) { if (__this->Parent() != NULL) return *__retval = uPtr(__this->Parent())->AbsoluteViewportOrigin(), void(); return *__retval = ::g::Uno::Float2__New1(0.0f), void(); } // public float get_AbsoluteZoom() :311 void Visual__get_AbsoluteZoom_fn(Visual* __this, float* __retval) { *__retval = __this->AbsoluteZoom(); } // public void Add(Fuse.Node item) :177 void Visual__Add1_fn(Visual* __this, ::g::Fuse::Node* item) { __this->Add1(item); } // public void AddDrawCost(double cost) :70 void Visual__AddDrawCost_fn(Visual* __this, double* cost) { __this->AddDrawCost(*cost); } // private void AddEventHandler(Fuse.PropertyHandle ph, Fuse.Visual.VisualBits ne, object handler) :44 void Visual__AddEventHandler_fn(Visual* __this, ::g::Fuse::PropertyHandle* ph, int32_t* ne, uObject* handler) { __this->AddEventHandler(ph, *ne, handler); } // private void AddParameterChangedListener(Fuse.Scripting.Function func) :58 void Visual__AddParameterChangedListener_fn(Visual* __this, ::g::Fuse::Scripting::Function* func) { __this->AddParameterChangedListener(func); } // internal void AdjustMarginBoxPosition(float2 position) :494 void Visual__AdjustMarginBoxPosition_fn(Visual* __this, ::g::Uno::Float2* position) { __this->AdjustMarginBoxPosition(*position); } // internal bool get_AreChildrenFlat() :70 void Visual__get_AreChildrenFlat_fn(Visual* __this, bool* __retval) { *__retval = __this->AreChildrenFlat(); } // public float2 ArrangeMarginBox(float2 position, Fuse.LayoutParams lp) :459 void Visual__ArrangeMarginBox_fn(Visual* __this, ::g::Uno::Float2* position, ::g::Fuse::LayoutParams* lp, ::g::Uno::Float2* __retval) { *__retval = __this->ArrangeMarginBox(*position, *lp); } // private void AssignNaturalZOrder() :121 void Visual__AssignNaturalZOrder_fn(Visual* __this) { __this->AssignNaturalZOrder(); } // public void BeginInteraction(object id, Uno.Action cancelled) :27 void Visual__BeginInteraction_fn(Visual* __this, uObject* id, uDelegate* cancelled) { __this->BeginInteraction(id, cancelled); } // public void BeginRemoveChild(Fuse.Node n, [Uno.Action<Fuse.Node> then]) :96 void Visual__BeginRemoveChild_fn(Visual* __this, ::g::Fuse::Node* n, uDelegate* then) { __this->BeginRemoveChild(n, then); } // public void BeginRemoveVisual(Fuse.Visual child, [Uno.Action<Fuse.Node> then]) :64 void Visual__BeginRemoveVisual_fn(Visual* __this, Visual* child, uDelegate* then) { __this->BeginRemoveVisual(child, then); } // private static void bringIntoView(Fuse.Visual n) :43 void Visual__bringIntoView_fn(Visual* n) { Visual::bringIntoView(n); } // public void BringIntoView() :530 void Visual__BringIntoView_fn(Visual* __this) { __this->BringIntoView(); } // public void BringToFront(Fuse.Visual item) :47 void Visual__BringToFront_fn(Visual* __this, Visual* item) { __this->BringToFront(item); } // internal bool CalcAreChildrenFlat() :81 void Visual__CalcAreChildrenFlat_fn(Visual* __this, bool* __retval) { *__retval = __this->CalcAreChildrenFlat(); } // internal bool CalcIsLocalFlat() :47 void Visual__CalcIsLocalFlat_fn(Visual* __this, bool* __retval) { *__retval = __this->CalcIsLocalFlat(); } // internal Fuse.VisualBounds CalcRenderBoundsInParentSpace() :302 void Visual__CalcRenderBoundsInParentSpace_fn(Visual* __this, ::g::Fuse::VisualBounds** __retval) { *__retval = __this->CalcRenderBoundsInParentSpace(); } // private Fuse.FastMatrix CalcWorldTransform() :180 void Visual__CalcWorldTransform_fn(Visual* __this, ::g::Fuse::FastMatrix** __retval) { *__retval = __this->CalcWorldTransform(); } // internal virtual bool get_CanAdjustMarginBox() :499 void Visual__get_CanAdjustMarginBox_fn(Visual* __this, bool* __retval) { return *__retval = false, void(); } // public void CancelInteractions([Fuse.Visual.CancelInteractionsType how]) :59 void Visual__CancelInteractions_fn(Visual* __this, int32_t* how) { __this->CancelInteractions(*how); } // internal void CancelPendingRemove() :118 void Visual__CancelPendingRemove_fn(Visual* __this) { __this->CancelPendingRemove(); } // private void CheckWorldTransformVersion() :101 void Visual__CheckWorldTransformVersion_fn(Visual* __this) { __this->CheckWorldTransformVersion(); } // public int get_ChildCount() :70 void Visual__get_ChildCount_fn(Visual* __this, int32_t* __retval) { *__retval = __this->ChildCount(); } // public Uno.Collections.IList<Fuse.Node> get_Children() :80 void Visual__get_Children_fn(Visual* __this, uObject** __retval) { *__retval = __this->Children(); } // private void Children_Add(Fuse.Node n) :94 void Visual__Children_Add_fn(Visual* __this, ::g::Fuse::Node* n) { __this->Children_Add(n); } // private void Children_Clear() :75 void Visual__Children_Clear_fn(Visual* __this) { __this->Children_Clear(); } // private bool Children_Contains(Fuse.Node n) :210 void Visual__Children_Contains_fn(Visual* __this, ::g::Fuse::Node* n, bool* __retval) { *__retval = __this->Children_Contains(n); } // private Fuse.Node[] Children_GetCachedArray() :17 void Visual__Children_GetCachedArray_fn(Visual* __this, uArray** __retval) { *__retval = __this->Children_GetCachedArray(); } // private Uno.Collections.IEnumerator<Fuse.Node> Children_GetEnumerator() :46 void Visual__Children_GetEnumerator_fn(Visual* __this, uObject** __retval) { *__retval = __this->Children_GetEnumerator(); } // private void Children_Insert(int index, Fuse.Node newNode) :168 void Visual__Children_Insert_fn(Visual* __this, int32_t* index, ::g::Fuse::Node* newNode) { __this->Children_Insert(*index, newNode); } // private void Children_InsertAfter(Fuse.Node preceeder, Fuse.Node newNode) :174 void Visual__Children_InsertAfter_fn(Visual* __this, ::g::Fuse::Node* preceeder, ::g::Fuse::Node* newNode) { __this->Children_InsertAfter(preceeder, newNode); } // private void Children_Invalidate() :39 void Visual__Children_Invalidate_fn(Visual* __this) { __this->Children_Invalidate(); } // private Fuse.Node Children_ItemAt(int index) :33 void Visual__Children_ItemAt_fn(Visual* __this, int32_t* index, ::g::Fuse::Node** __retval) { *__retval = __this->Children_ItemAt(*index); } // private Fuse.Node Children_ItemBefore(int index) :162 void Visual__Children_ItemBefore_fn(Visual* __this, int32_t* index, ::g::Fuse::Node** __retval) { *__retval = __this->Children_ItemBefore(*index); } // private void Children_MakeOrphan(Fuse.Node child) :60 void Visual__Children_MakeOrphan_fn(Visual* __this, ::g::Fuse::Node* child) { __this->Children_MakeOrphan(child); } // private void Children_MakeParent(Fuse.Visual parent, Fuse.Node child) :54 void Visual__Children_MakeParent_fn(Visual* __this, Visual* parent, ::g::Fuse::Node* child) { __this->Children_MakeParent(parent, child); } // private bool Children_Remove(Fuse.Node n) :115 void Visual__Children_Remove_fn(Visual* __this, ::g::Fuse::Node* n, bool* __retval) { *__retval = __this->Children_Remove(n); } // private void Clear(Fuse.FastProperty1 p) :92 void Visual__Clear_fn(Visual* __this, int32_t* p) { __this->Clear(*p); } // private void Clear(Fuse.FastProperty2 p) :71 void Visual__Clear1_fn(Visual* __this, int32_t* p) { __this->Clear1(*p); } // internal void ClearBit(Fuse.FastProperty1 p) :108 void Visual__ClearBit_fn(Visual* __this, int32_t* p) { __this->ClearBit(*p); } // internal void ClearBit(Fuse.FastProperty2 p) :87 void Visual__ClearBit1_fn(Visual* __this, int32_t* p) { __this->ClearBit1(*p); } // private void ClearBit(Fuse.Visual.VisualBits nb) :31 void Visual__ClearBit2_fn(Visual* __this, int32_t* nb) { __this->ClearBit2(*nb); } // private void ClearLayout() :163 void Visual__ClearLayout_fn(Visual* __this) { __this->ClearLayout(); } // internal void ClearMarginBox() :429 void Visual__ClearMarginBox_fn(Visual* __this) { __this->ClearMarginBox(); } // private Fuse.Visual[] ComputeZOrder() :93 void Visual__ComputeZOrder_fn(Visual* __this, uArray** __retval) { *__retval = __this->ComputeZOrder(); } // internal void ConcludePendingRemove() :126 void Visual__ConcludePendingRemove_fn(Visual* __this) { __this->ConcludePendingRemove(); } // private void DecrementWTIListener() :26 void Visual__DecrementWTIListener_fn(Visual* __this) { __this->DecrementWTIListener(); } // public double get_DrawCost() :68 void Visual__get_DrawCost_fn(Visual* __this, double* __retval) { *__retval = __this->DrawCost(); } // public void EndInteraction(object id) :36 void Visual__EndInteraction_fn(Visual* __this, uObject* id) { __this->EndInteraction(id); } // private Fuse.FastProperty1Link<T> Find<T>(Fuse.FastProperty1 p) :155 void Visual__Find_fn(Visual* __this, uType* __type, int32_t* p, ::g::Fuse::FastProperty1Link1** __retval) { *__retval = __this->Find(__type, *p); } // private Fuse.FastProperty2Link<T> Find<T>(Fuse.FastProperty2 p) :134 void Visual__Find1_fn(Visual* __this, uType* __type, int32_t* p, ::g::Fuse::FastProperty2Link1** __retval) { *__retval = __this->Find1(__type, *p); } // private Fuse.FastProperty1Link FindPrevious(Fuse.FastProperty1 p) :142 void Visual__FindPrevious_fn(Visual* __this, int32_t* p, ::g::Fuse::FastProperty1Link** __retval) { *__retval = __this->FindPrevious(*p); } // private Fuse.FastProperty2Link FindPrevious(Fuse.FastProperty2 p) :121 void Visual__FindPrevious1_fn(Visual* __this, int32_t* p, ::g::Fuse::FastProperty2Link** __retval) { *__retval = __this->FindPrevious1(*p); } // public Uno.UX.Template FindTemplate(string key) :70 void Visual__FindTemplate_fn(Visual* __this, uString* key, ::g::Uno::UX::Template** __retval) { *__retval = __this->FindTemplate(key); } // public Fuse.IViewport FindViewport() :199 void Visual__FindViewport_fn(Visual* __this, uObject** __retval) { *__retval = __this->FindViewport(); } // public T FirstChild<T>() :34 void Visual__FirstChild_fn(Visual* __this, uType* __type, ::g::Fuse::Node** __retval) { *__retval = __this->FirstChild(__type); } // internal T Get<T>(Fuse.FastProperty1 p, T defaultValue) :73 void Visual__Get_fn(Visual* __this, uType* __type, int32_t* p, void* defaultValue, uTRef __retval) { uType* __types[] = { __type->Precalced(0/*Fuse.Visual.Find<T>*/), }; int32_t p_ = *p; if (__this->HasBit(p_)) return __retval.Store(uPtr((::g::Fuse::FastProperty1Link1*)__this->Find(__types[0], p_))->Value()), void(); else return __retval.Store(__type->U(0), defaultValue), void(); } // internal T Get<T>(Fuse.FastProperty2 p, T defaultValue) :52 void Visual__Get1_fn(Visual* __this, uType* __type, int32_t* p, void* defaultValue, uTRef __retval) { uType* __types[] = { __type->Precalced(0/*Fuse.Visual.Find<T>*/), }; int32_t p_ = *p; if (__this->HasBit1(p_)) return __retval.Store(uPtr((::g::Fuse::FastProperty2Link1*)__this->Find1(__types[0], p_))->Value()), void(); else return __retval.Store(__type->U(0), defaultValue), void(); } // internal Fuse.Visual[] GetCachedZOrder() :33 void Visual__GetCachedZOrder_fn(Visual* __this, uArray** __retval) { *__retval = __this->GetCachedZOrder(); } // public Fuse.Visual GetHitWindowPoint(float2 windowPoint) :69 void Visual__GetHitWindowPoint_fn(Visual* __this, ::g::Uno::Float2* windowPoint, Visual** __retval) { *__retval = __this->GetHitWindowPoint(*windowPoint); } // public virtual float2 GetMarginSize(Fuse.LayoutParams lp) :154 void Visual__GetMarginSize_fn(Visual* __this, ::g::Fuse::LayoutParams* lp, ::g::Uno::Float2* __retval) { return *__retval = ::g::Uno::Float2__New1(0.0f), void(); } // private static Uno.UX.Property<string> getParameterProperty(Fuse.Visual v) :31 void Visual__getParameterProperty_fn(Visual* v, ::g::Uno::UX::Property1** __retval) { *__retval = Visual::getParameterProperty(v); } // public float4x4 GetTransformTo(Fuse.Visual other) :192 void Visual__GetTransformTo_fn(Visual* __this, Visual* other, ::g::Uno::Float4x4* __retval) { *__retval = __this->GetTransformTo(other); } // private float4x4 GetTransformToAncestor(Fuse.Visual ancestor) :221 void Visual__GetTransformToAncestor_fn(Visual* __this, Visual* ancestor, ::g::Uno::Float4x4* __retval) { *__retval = __this->GetTransformToAncestor(ancestor); } // internal bool HasBit(Fuse.FastProperty1 p) :103 void Visual__HasBit_fn(Visual* __this, int32_t* p, bool* __retval) { *__retval = __this->HasBit(*p); } // internal bool HasBit(Fuse.FastProperty2 p) :82 void Visual__HasBit1_fn(Visual* __this, int32_t* p, bool* __retval) { *__retval = __this->HasBit1(*p); } // private bool HasBit(Fuse.Visual.VisualBits nb) :29 void Visual__HasBit2_fn(Visual* __this, int32_t* nb, bool* __retval) { *__retval = __this->HasBit2(*nb); } // public bool get_HasChildren() :21 void Visual__get_HasChildren_fn(Visual* __this, bool* __retval) { *__retval = __this->HasChildren(); } // private bool get_HasExplicitTransforms() :32 void Visual__get_HasExplicitTransforms_fn(Visual* __this, bool* __retval) { *__retval = __this->HasExplicitTransforms(); } // internal bool get_HasMarginBox() :425 void Visual__get_HasMarginBox_fn(Visual* __this, bool* __retval) { *__retval = __this->HasMarginBox(); } // public bool get_HasPendingRemove() :135 void Visual__get_HasPendingRemove_fn(Visual* __this, bool* __retval) { *__retval = __this->HasPendingRemove(); } // private bool get_HasResources() :94 void Visual__get_HasResources_fn(Visual* __this, bool* __retval) { *__retval = __this->HasResources(); } // public bool get_HasVisualChildren() :140 void Visual__get_HasVisualChildren_fn(Visual* __this, bool* __retval) { *__retval = __this->HasVisualChildren(); } // public void HitTest(Fuse.HitTestContext htc) :26 void Visual__HitTest_fn(Visual* __this, ::g::Fuse::HitTestContext* htc) { __this->HitTest(htc); } // public Fuse.VisualBounds get_HitTestBounds() :105 void Visual__get_HitTestBounds_fn(Visual* __this, ::g::Fuse::VisualBounds** __retval) { *__retval = __this->HitTestBounds(); } // protected virtual Fuse.VisualBounds get_HitTestChildrenBounds() :134 void Visual__get_HitTestChildrenBounds_fn(Visual* __this, ::g::Fuse::VisualBounds** __retval) { return *__retval = ::g::Fuse::VisualBounds::Merge1(__this->VisualChildren(), 1), void(); } // protected virtual Fuse.VisualBounds get_HitTestLocalBounds() :126 void Visual__get_HitTestLocalBounds_fn(Visual* __this, ::g::Fuse::VisualBounds** __retval) { return *__retval = ::g::Fuse::VisualBounds::Empty(), void(); } // internal Fuse.Visual.HitTestTransformMode get_HitTestTransform() :18 void Visual__get_HitTestTransform_fn(Visual* __this, int32_t* __retval) { *__retval = __this->HitTestTransform(); } // protected float2 IfSnap(float2 p) :278 void Visual__IfSnap_fn(Visual* __this, ::g::Uno::Float2* p, ::g::Uno::Float2* __retval) { *__retval = __this->IfSnap(*p); } // protected float2 IfSnapDown(float2 p) :303 void Visual__IfSnapDown_fn(Visual* __this, ::g::Uno::Float2* p, ::g::Uno::Float2* __retval) { *__retval = __this->IfSnapDown(*p); } // protected float2 IfSnapUp(float2 p) :283 void Visual__IfSnapUp_fn(Visual* __this, ::g::Uno::Float2* p, ::g::Uno::Float2* __retval) { *__retval = __this->IfSnapUp(*p); } // private void IncrementWTIListener() :20 void Visual__IncrementWTIListener_fn(Visual* __this) { __this->IncrementWTIListener(); } // public void Insert(int index, Fuse.Node item) :220 void Visual__Insert1_fn(Visual* __this, int32_t* index, ::g::Fuse::Node* item) { __this->Insert1(*index, item); } // private void Insert<T>(Fuse.FastProperty1 p, T value) :124 void Visual__Insert2_fn(Visual* __this, uType* __type, int32_t* p, void* value) { uType* __types[] = { __type->Precalced(0/*Fuse.FastProperty1Link<T>*/), }; ::g::Fuse::FastProperty1Link1* ret20; int32_t p_ = *p; ::g::Fuse::FastProperty1Link1* nl = (::g::Fuse::FastProperty1Link1__New2_fn(__types[0], uCRef<int32_t>(p_), value, &ret20), ret20); if (__this->_fastProperties1 == NULL) __this->_fastProperties1 = nl; else { ::g::Fuse::FastProperty1Link* last = __this->_fastProperties1; while (uPtr(last)->Next != NULL) last = uPtr(last)->Next; uPtr(last)->Next = nl; } __this->SetBit(p_); } // private void Insert<T>(Fuse.FastProperty2 p, T value) :103 void Visual__Insert3_fn(Visual* __this, uType* __type, int32_t* p, void* value) { uType* __types[] = { __type->Precalced(0/*Fuse.FastProperty2Link<T>*/), }; ::g::Fuse::FastProperty2Link1* ret21; int32_t p_ = *p; ::g::Fuse::FastProperty2Link1* nl = (::g::Fuse::FastProperty2Link1__New2_fn(__types[0], uCRef<int32_t>(p_), value, &ret21), ret21); if (__this->_fastProperties2 == NULL) __this->_fastProperties2 = nl; else { ::g::Fuse::FastProperty2Link* last = __this->_fastProperties2; while (uPtr(last)->Next != NULL) last = uPtr(last)->Next; uPtr(last)->Next = nl; } __this->SetBit2(p_); } // public void InsertAfter(Fuse.Node sibling, Fuse.Node node) :201 void Visual__InsertAfter_fn(Visual* __this, ::g::Fuse::Node* sibling, ::g::Fuse::Node* node) { __this->InsertAfter(sibling, node); } // private void InsertCleanup(Fuse.Node item) :227 void Visual__InsertCleanup_fn(Visual* __this, ::g::Fuse::Node* item) { __this->InsertCleanup(item); } // internal void InsertNodesAfter(Fuse.Node preceeder, Uno.Collections.IEnumerator<Fuse.Node> items) :239 void Visual__InsertNodesAfter_fn(Visual* __this, ::g::Fuse::Node* preceeder, uObject* items) { __this->InsertNodesAfter(preceeder, items); } // private void InsertNodesAfterImpl(Fuse.Node preceeder, Uno.Collections.IEnumerator<Fuse.Node> items, bool allowMove) :250 void Visual__InsertNodesAfterImpl_fn(Visual* __this, ::g::Fuse::Node* preceeder, uObject* items, bool* allowMove) { __this->InsertNodesAfterImpl(preceeder, items, *allowMove); } // internal void InsertOrMoveNodesAfter(Fuse.Node preceeder, Uno.Collections.IEnumerator<Fuse.Node> items) :244 void Visual__InsertOrMoveNodesAfter_fn(Visual* __this, ::g::Fuse::Node* preceeder, uObject* items) { __this->InsertOrMoveNodesAfter(preceeder, items); } // internal Fuse.FastMatrix get_InternLocalTransformInternal() :146 void Visual__get_InternLocalTransformInternal_fn(Visual* __this, ::g::Fuse::FastMatrix** __retval) { *__retval = __this->InternLocalTransformInternal(); } // internal float2 InternSnap(float2 p) :271 void Visual__InternSnap_fn(Visual* __this, ::g::Uno::Float2* p, ::g::Uno::Float2* __retval) { *__retval = __this->InternSnap(*p); } // internal float2 InternSnapUp(float2 p) :290 void Visual__InternSnapUp_fn(Visual* __this, ::g::Uno::Float2* p, ::g::Uno::Float2* __retval) { *__retval = __this->InternSnapUp(*p); } // internal void InvalidateFlat() :11 void Visual__InvalidateFlat_fn(Visual* __this) { __this->InvalidateFlat(); } // protected void InvalidateHitTestBounds() :90 void Visual__InvalidateHitTestBounds_fn(Visual* __this) { __this->InvalidateHitTestBounds(); } // public void InvalidateLayout([Fuse.InvalidateLayoutReason reason]) :184 void Visual__InvalidateLayout_fn(Visual* __this, int32_t* reason) { __this->InvalidateLayout(*reason); } // protected virtual void InvalidateLocalTransform() :54 void Visual__InvalidateLocalTransform_fn(Visual* __this) { __this->_localTransform = NULL; __this->_localTransformInverse = NULL; __this->InvalidateFlat(); __this->InvalidateHitTestBounds(); __this->InvalidateWorldTransform(); } // protected void InvalidateRenderBounds() :281 void Visual__InvalidateRenderBounds_fn(Visual* __this) { __this->InvalidateRenderBounds(); } // public void InvalidateVisual() :12 void Visual__InvalidateVisual_fn(Visual* __this) { __this->InvalidateVisual(); } // public void InvalidateVisualComposition() :32 void Visual__InvalidateVisualComposition_fn(Visual* __this) { __this->InvalidateVisualComposition(); } // private void InvalidateWorldTransform() :32 void Visual__InvalidateWorldTransform_fn(Visual* __this) { __this->InvalidateWorldTransform(); } // private void InvalidateZOrder() :85 void Visual__InvalidateZOrder_fn(Visual* __this) { __this->InvalidateZOrder(); } // private void InvokeEventHandler(object obj, object args) :38 void Visual__InvokeEventHandler_fn(Visual* __this, uObject* obj, uObject* args) { __this->InvokeEventHandler(obj, args); } // public bool get_IsContextEnabled() :58 void Visual__get_IsContextEnabled_fn(Visual* __this, bool* __retval) { *__retval = __this->IsContextEnabled(); } // public void add_IsContextEnabledChanged(Uno.EventHandler value) :15 void Visual__add_IsContextEnabledChanged_fn(Visual* __this, uDelegate* value) { __this->add_IsContextEnabledChanged(value); } // public void remove_IsContextEnabledChanged(Uno.EventHandler value) :16 void Visual__remove_IsContextEnabledChanged_fn(Visual* __this, uDelegate* value) { __this->remove_IsContextEnabledChanged(value); } // public bool get_IsEnabled() :31 void Visual__get_IsEnabled_fn(Visual* __this, bool* __retval) { *__retval = __this->IsEnabled(); } // public void set_IsEnabled(bool value) :32 void Visual__set_IsEnabled_fn(Visual* __this, bool* value) { __this->IsEnabled(*value); } // public generated void add_IsInteractingChanged(Uno.EventHandler value) :17 void Visual__add_IsInteractingChanged_fn(Visual* __this, uDelegate* value) { __this->add_IsInteractingChanged(value); } // public generated void remove_IsInteractingChanged(Uno.EventHandler value) :17 void Visual__remove_IsInteractingChanged_fn(Visual* __this, uDelegate* value) { __this->remove_IsInteractingChanged(value); } // internal virtual bool get_IsLayoutRoot() :175 void Visual__get_IsLayoutRoot_fn(Visual* __this, bool* __retval) { return *__retval = false, void(); } // internal bool get_IsLocalFlat() :36 void Visual__get_IsLocalFlat_fn(Visual* __this, bool* __retval) { *__retval = __this->IsLocalFlat(); } // public virtual bool get_IsLocalVisible() :32 void Visual__get_IsLocalVisible_fn(Visual* __this, bool* __retval) { return *__retval = true, void(); } // protected virtual Fuse.LayoutDependent IsMarginBoxDependent(Fuse.Visual child) :265 void Visual__IsMarginBoxDependent_fn(Visual* __this, Visual* child, int32_t* __retval) { return *__retval = 2, void(); } // public bool get_IsVisible() :26 void Visual__get_IsVisible_fn(Visual* __this, bool* __retval) { *__retval = __this->IsVisible(); } // public void add_IsVisibleChanged(Uno.EventHandler value) :15 void Visual__add_IsVisibleChanged_fn(Visual* __this, uDelegate* value) { __this->add_IsVisibleChanged(value); } // public void remove_IsVisibleChanged(Uno.EventHandler value) :16 void Visual__remove_IsVisibleChanged_fn(Visual* __this, uDelegate* value) { __this->remove_IsVisibleChanged(value); } // public T LastChild<T>() :50 void Visual__LastChild_fn(Visual* __this, uType* __type, ::g::Fuse::Node** __retval) { *__retval = __this->LastChild(__type); } // public Fuse.Layer get_Layer() :105 void Visual__get_Layer_fn(Visual* __this, int32_t* __retval) { *__retval = __this->Layer(); } // public void set_Layer(Fuse.Layer value) :112 void Visual__set_Layer_fn(Visual* __this, int32_t* value) { __this->Layer(*value); } // public Fuse.LayoutRole get_LayoutRole() :131 void Visual__get_LayoutRole_fn(Visual* __this, int32_t* __retval) { *__retval = __this->LayoutRole(); } // public void set_LayoutRole(Fuse.LayoutRole value) :143 void Visual__set_LayoutRole_fn(Visual* __this, int32_t* value) { __this->LayoutRole(*value); } // public virtual Fuse.VisualBounds get_LocalRenderBounds() :270 void Visual__get_LocalRenderBounds_fn(Visual* __this, ::g::Fuse::VisualBounds** __retval) { return *__retval = ::g::Fuse::VisualBounds::Infinite(), void(); } // public float4x4 get_LocalTransform() :140 void Visual__get_LocalTransform_fn(Visual* __this, ::g::Uno::Float4x4* __retval) { *__retval = __this->LocalTransform(); } // protected Fuse.FastMatrix get_LocalTransformInternal() :150 void Visual__get_LocalTransformInternal_fn(Visual* __this, ::g::Fuse::FastMatrix** __retval) { *__retval = __this->LocalTransformInternal(); } // private Fuse.FastMatrix get_LocalTransformInverseInternal() :169 void Visual__get_LocalTransformInverseInternal_fn(Visual* __this, ::g::Fuse::FastMatrix** __retval) { *__retval = __this->LocalTransformInverseInternal(); } // internal generated void add_LostMarginBox(Fuse.LostMarginBoxHandler value) :428 void Visual__add_LostMarginBox_fn(Visual* __this, uDelegate* value) { __this->add_LostMarginBox(value); } // internal generated void remove_LostMarginBox(Fuse.LostMarginBoxHandler value) :428 void Visual__remove_LostMarginBox_fn(Visual* __this, uDelegate* value) { __this->remove_LostMarginBox(value); } // internal float2 get_MarginBoxPosition() :492 void Visual__get_MarginBoxPosition_fn(Visual* __this, ::g::Uno::Float2* __retval) { *__retval = __this->MarginBoxPosition(); } // private void OnAdded(Fuse.Node b) :128 void Visual__OnAdded_fn(Visual* __this, ::g::Fuse::Node* b) { __this->OnAdded(b); } // internal virtual void OnAdjustMarginBoxPosition(float2 position) :500 void Visual__OnAdjustMarginBoxPosition_fn(Visual* __this, ::g::Uno::Float2* position) { } // protected virtual float2 OnArrangeMarginBox(float2 position, Fuse.LayoutParams lp) :448 void Visual__OnArrangeMarginBox_fn(Visual* __this, ::g::Uno::Float2* position, ::g::Fuse::LayoutParams* lp, ::g::Uno::Float2* __retval) { ::g::Uno::Float2 position_ = *position; ::g::Fuse::LayoutParams lp_ = *lp; ::g::Uno::Float2 sz = ::g::Uno::Float2__New1(0.0f); for (Visual* v = (Visual*)__this->FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (Visual*)uPtr(v)->NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) { ::g::Uno::Float2 msz = uPtr(v)->ArrangeMarginBox(position_, lp_); sz = ::g::Uno::Math::Max3(sz, msz); } return *__retval = sz, void(); } // protected void OnBeginRemoveVisual(Fuse.PendingRemoveVisual args) :107 void Visual__OnBeginRemoveVisual_fn(Visual* __this, ::g::Fuse::PendingRemoveVisual* args) { __this->OnBeginRemoveVisual(args); } // protected internal void OnBringIntoView(Fuse.Visual elm) :521 void Visual__OnBringIntoView_fn(Visual* __this, Visual* elm) { __this->OnBringIntoView(elm); } // protected virtual void OnChildAdded(Fuse.Node elm) :85 void Visual__OnChildAdded_fn(Visual* __this, ::g::Fuse::Node* elm) { if ((__this->_observerCount != 0) && __this->IsRootingStarted()) for (::g::Fuse::Node* n = (::g::Fuse::Node*)__this->FirstChild(Visual_typeof()->MakeMethod(2/*FirstChild<Fuse.Node>*/, ::TYPES[22/*Fuse.Node*/], NULL)); n != NULL; n = (::g::Fuse::Node*)uPtr(n)->NextSibling(::TYPES[22/*Fuse.Node*/]->MakeMethod(3/*NextSibling<Fuse.Node>*/, ::TYPES[22/*Fuse.Node*/], NULL))) { uObject* obs = uAs<uObject*>(n, ::g::Fuse::IParentObserver_typeof()); if ((obs != NULL) && uPtr(n)->IsRootingCompleted()) ::g::Fuse::IParentObserver::OnChildAddedWhileRooted(uInterface(uPtr(obs), ::g::Fuse::IParentObserver_typeof()), elm); } if (uIs(elm, ::g::Fuse::IParentObserver_typeof())) __this->_observerCount++; } // protected virtual void OnChildMoved(Fuse.Node elm) :115 void Visual__OnChildMoved_fn(Visual* __this, ::g::Fuse::Node* elm) { if ((__this->_observerCount != 0) && __this->IsRootingStarted()) for (::g::Fuse::Node* n = (::g::Fuse::Node*)__this->FirstChild(Visual_typeof()->MakeMethod(2/*FirstChild<Fuse.Node>*/, ::TYPES[22/*Fuse.Node*/], NULL)); n != NULL; n = (::g::Fuse::Node*)uPtr(n)->NextSibling(::TYPES[22/*Fuse.Node*/]->MakeMethod(3/*NextSibling<Fuse.Node>*/, ::TYPES[22/*Fuse.Node*/], NULL))) { uObject* obs = uAs<uObject*>(n, ::g::Fuse::IParentObserver_typeof()); if ((obs != NULL) && uPtr(n)->IsRootingCompleted()) ::g::Fuse::IParentObserver::OnChildMovedWhileRooted(uInterface(uPtr(obs), ::g::Fuse::IParentObserver_typeof()), elm); } } // protected virtual void OnChildRemoved(Fuse.Node elm) :100 void Visual__OnChildRemoved_fn(Visual* __this, ::g::Fuse::Node* elm) { if ((__this->_observerCount != 0) && __this->IsRootingStarted()) for (::g::Fuse::Node* n = (::g::Fuse::Node*)__this->FirstChild(Visual_typeof()->MakeMethod(2/*FirstChild<Fuse.Node>*/, ::TYPES[22/*Fuse.Node*/], NULL)); n != NULL; n = (::g::Fuse::Node*)uPtr(n)->NextSibling(::TYPES[22/*Fuse.Node*/]->MakeMethod(3/*NextSibling<Fuse.Node>*/, ::TYPES[22/*Fuse.Node*/], NULL))) { uObject* obs = uAs<uObject*>(n, ::g::Fuse::IParentObserver_typeof()); if ((obs != NULL) && uPtr(n)->IsRootingCompleted()) ::g::Fuse::IParentObserver::OnChildRemovedWhileRooted(uInterface(uPtr(obs), ::g::Fuse::IParentObserver_typeof()), elm); } if (uIs(elm, ::g::Fuse::IParentObserver_typeof())) __this->_observerCount--; } // protected virtual void OnHitTest(Fuse.HitTestContext htc) :59 void Visual__OnHitTest_fn(Visual* __this, ::g::Fuse::HitTestContext* htc) { if (__this->HasVisualChildren()) { uArray* zOrder = __this->GetCachedZOrder(); for (int32_t i = uPtr(zOrder)->Length() - 1; i >= 0; i--) uPtr(uPtr(zOrder)->Strong<Visual*>(i))->HitTest(htc); } } // private void OnInteractionsChanged() :48 void Visual__OnInteractionsChanged_fn(Visual* __this) { __this->OnInteractionsChanged(); } // protected virtual void OnInvalidateLayout() :159 void Visual__OnInvalidateLayout_fn(Visual* __this) { } // protected virtual bool OnInvalidateRenderBounds() :295 void Visual__OnInvalidateRenderBounds_fn(Visual* __this, bool* __retval) { return *__retval = false, void(); } // protected virtual void OnInvalidateVisual() :24 void Visual__OnInvalidateVisual_fn(Visual* __this) { } // protected virtual void OnInvalidateVisualComposition() :43 void Visual__OnInvalidateVisualComposition_fn(Visual* __this) { } // protected virtual void OnIsContextEnabledChanged() :75 void Visual__OnIsContextEnabledChanged_fn(Visual* __this) { __this->RaiseEvent(Visual::_isContextEnabledChangedHandle_, 4); __this->InvalidateHitTestBounds(); __this->InvalidateVisual(); } // private void OnIsEnabledChanged(Uno.UX.IPropertyListener origin) :43 void Visual__OnIsEnabledChanged_fn(Visual* __this, uObject* origin) { __this->OnIsEnabledChanged(origin); } // protected virtual void OnIsVisibleChanged() :54 void Visual__OnIsVisibleChanged_fn(Visual* __this) { if (__this->IsVisible()) __this->InvalidateVisual(); if (__this->Parent() != NULL) uPtr(__this->Parent())->InvalidateVisual(); __this->RaiseEvent(Visual::_isVisibleChangedHandle_, 5); __this->InvalidateHitTestBounds(); } // protected void OnLocalVisibleChanged() :35 void Visual__OnLocalVisibleChanged_fn(Visual* __this) { __this->OnLocalVisibleChanged(); } // private void OnMatrixChanged(Fuse.Transform t) :49 void Visual__OnMatrixChanged_fn(Visual* __this, ::g::Fuse::Transform* t) { __this->OnMatrixChanged(t); } // private void OnMoved(Fuse.Node b) :152 void Visual__OnMoved_fn(Visual* __this, ::g::Fuse::Node* b) { __this->OnMoved(b); } // private static void onParameterChanged(Fuse.Visual v, object[] args) :69 void Visual__onParameterChanged_fn(Visual* v, uArray* args) { Visual::onParameterChanged(v, args); } // private void OnParameterChanged() :75 void Visual__OnParameterChanged_fn(Visual* __this) { __this->OnParameterChanged(); } // public virtual void OnPropertyChanged(Uno.UX.PropertyObject sender, Uno.UX.Selector property) :55 void Visual__OnPropertyChanged2_fn(Visual* __this, ::g::Uno::UX::PropertyObject* sender, ::g::Uno::UX::Selector* property) { } // private void OnRemoved(Fuse.Node b) :140 void Visual__OnRemoved_fn(Visual* __this, ::g::Fuse::Node* b) { __this->OnRemoved(b); } // private void OnResourceChanged(Uno.UX.Resource res) :97 void Visual__OnResourceChanged_fn(Visual* __this, ::g::Uno::UX::Resource* res) { __this->OnResourceChanged(res); } // protected override void OnRooted() :98 void Visual__OnRooted_fn(Visual* __this) { ::g::Fuse::Node* ret28; ::g::Fuse::Node__OnRooted_fn(__this); __this->UpdateIsContextEnabledCache(); __this->UpdateIsVisibleCache(); __this->UpdateContextSnapToPixelsCache(); __this->WTIRooted(); __this->OnRootedPreChildren(); __this->_childrenShouldRoot = true; if (__this->HasChildren()) { uObject* enum4 = (uObject*)::g::Uno::Collections::IEnumerable::GetEnumerator(uInterface(uPtr(__this->Children()), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL))); { try { { while (::g::Uno::Collections::IEnumerator::MoveNext(uInterface(uPtr(enum4), ::TYPES[26/*Uno.Collections.IEnumerator*/]))) { ::g::Fuse::Node* c = (::g::Uno::Collections::IEnumerator1::get_Current_ex(uInterface(uPtr(enum4), ::g::Uno::Collections::IEnumerator1_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL)), &ret28), ret28); if (uPtr(c)->IsUnrooted()) uPtr(c)->RootInternal(__this); } } } catch (const uThrowable& __t) { { ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum4), ::TYPES[28/*Uno.IDisposable*/])); } throw __t; goto __after_finally_6; } { ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum4), ::TYPES[28/*Uno.IDisposable*/])); } __after_finally_6:; } } __this->ClearLayout(); __this->InvalidateLayout(2); __this->_viewport = __this->FindViewport(); __this->RootResources(); } // protected virtual void OnRootedPreChildren() :132 void Visual__OnRootedPreChildren_fn(Visual* __this) { } // private void OnTransformAdded(Fuse.Transform t) :35 void Visual__OnTransformAdded_fn(Visual* __this, ::g::Fuse::Transform* t) { __this->OnTransformAdded(t); } // private void OnTransformRemoved(Fuse.Transform t) :42 void Visual__OnTransformRemoved_fn(Visual* __this, ::g::Fuse::Transform* t) { __this->OnTransformRemoved(t); } // protected override void OnUnrooted() :134 void Visual__OnUnrooted_fn(Visual* __this) { ::g::Fuse::Node* ret29; ::g::Fuse::Node__OnUnrooted_fn(__this); __this->_childrenShouldRoot = false; __this->UnrootResources(); __this->_viewport = NULL; __this->ClearLayout(); __this->ResetParameterListeners(); if (::g::Fuse::Input::Focus::FocusedVisual() == __this) ::g::Fuse::Input::Focus::Release(); __this->ConcludePendingRemove(); if (__this->HasChildren()) { uObject* enum5 = (uObject*)::g::Uno::Collections::IEnumerable::GetEnumerator(uInterface(uPtr(__this->Children()), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL))); { try { { while (::g::Uno::Collections::IEnumerator::MoveNext(uInterface(uPtr(enum5), ::TYPES[26/*Uno.Collections.IEnumerator*/]))) { ::g::Fuse::Node* c = (::g::Uno::Collections::IEnumerator1::get_Current_ex(uInterface(uPtr(enum5), ::g::Uno::Collections::IEnumerator1_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL)), &ret29), ret29); uPtr(c)->UnrootInternal(); } } } catch (const uThrowable& __t) { { ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum5), ::TYPES[28/*Uno.IDisposable*/])); } throw __t; goto __after_finally_7; } { ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum5), ::TYPES[28/*Uno.IDisposable*/])); } __after_finally_7:; } } __this->WTIUnrooted(); __this->ConcludePendingRemove(); } // private void OnVisualAdded(Fuse.Visual v) :157 void Visual__OnVisualAdded_fn(Visual* __this, Visual* v) { __this->OnVisualAdded(v); } // private void OnVisualRemoved(Fuse.Visual v) :163 void Visual__OnVisualRemoved_fn(Visual* __this, Visual* v) { __this->OnVisualRemoved(v); } // protected virtual void OnZOrderInvalidated() :83 void Visual__OnZOrderInvalidated_fn(Visual* __this) { } // public string get_Parameter() :34 void Visual__get_Parameter_fn(Visual* __this, uString** __retval) { *__retval = __this->Parameter(); } // public void set_Parameter(string value) :35 void Visual__set_Parameter_fn(Visual* __this, uString* value) { __this->Parameter(value); } // public void add_ParameterChanged(Uno.EventHandler value) :51 void Visual__add_ParameterChanged_fn(Visual* __this, uDelegate* value) { __this->add_ParameterChanged(value); } // public void remove_ParameterChanged(Uno.EventHandler value) :52 void Visual__remove_ParameterChanged_fn(Visual* __this, uDelegate* value) { __this->remove_ParameterChanged(value); } // internal Fuse.FastMatrix get_ParentWorldTransformInternal() :134 void Visual__get_ParentWorldTransformInternal_fn(Visual* __this, ::g::Fuse::FastMatrix** __retval) { *__retval = __this->ParentWorldTransformInternal(); } // protected void PerformLayout() :357 void Visual__PerformLayout_fn(Visual* __this) { __this->PerformLayout(); } // protected void PerformLayout(float2 clientSize) :365 void Visual__PerformLayout1_fn(Visual* __this, ::g::Uno::Float2* clientSize) { __this->PerformLayout1(*clientSize); } // internal virtual void Prepare(string parameter) :101 void Visual__Prepare_fn(Visual* __this, uString* parameter) { __this->Parameter(parameter); } // private void PrependExplicitTransforms(Fuse.FastMatrix m) :240 void Visual__PrependExplicitTransforms_fn(Visual* __this, ::g::Fuse::FastMatrix* m) { __this->PrependExplicitTransforms(m); } // protected virtual void PrependImplicitTransform(Fuse.FastMatrix m) :25 void Visual__PrependImplicitTransform_fn(Visual* __this, ::g::Fuse::FastMatrix* m) { } // protected virtual void PrependInverseTransformOrigin(Fuse.FastMatrix m) :27 void Visual__PrependInverseTransformOrigin_fn(Visual* __this, ::g::Fuse::FastMatrix* m) { } // private void PrependLocalTransform(Fuse.FastMatrix m) :234 void Visual__PrependLocalTransform_fn(Visual* __this, ::g::Fuse::FastMatrix* m) { __this->PrependLocalTransform(m); } // protected virtual void PrependTransformOrigin(Fuse.FastMatrix m) :26 void Visual__PrependTransformOrigin_fn(Visual* __this, ::g::Fuse::FastMatrix* m) { } // private void RaiseEvent(Fuse.PropertyHandle ph, Fuse.Visual.VisualBits ne) :33 void Visual__RaiseEvent_fn(Visual* __this, ::g::Fuse::PropertyHandle* ph, int32_t* ne) { __this->RaiseEvent(ph, *ne); } // private void RearrangeMarginBox() :439 void Visual__RearrangeMarginBox_fn(Visual* __this) { __this->RearrangeMarginBox(); } // public bool Remove(Fuse.Node item) :184 void Visual__Remove1_fn(Visual* __this, ::g::Fuse::Node* item, bool* __retval) { *__retval = __this->Remove1(item); } // public void RemoveAllChildren<T>() :66 void Visual__RemoveAllChildren_fn(Visual* __this, uType* __type) { __this->RemoveAllChildren(__type); } // public void RemoveDrawCost(double cost) :80 void Visual__RemoveDrawCost_fn(Visual* __this, double* cost) { __this->RemoveDrawCost(*cost); } // private void RemoveEventHandler(Fuse.PropertyHandle ph, Fuse.Visual.VisualBits ne, object handler) :50 void Visual__RemoveEventHandler_fn(Visual* __this, ::g::Fuse::PropertyHandle* ph, int32_t* ne, uObject* handler) { __this->RemoveEventHandler(ph, *ne, handler); } // public generated void add_RequestBringIntoView(Fuse.RequestBringIntoViewHandler value) :519 void Visual__add_RequestBringIntoView_fn(Visual* __this, uDelegate* value) { __this->add_RequestBringIntoView(value); } // public generated void remove_RequestBringIntoView(Fuse.RequestBringIntoViewHandler value) :519 void Visual__remove_RequestBringIntoView_fn(Visual* __this, uDelegate* value) { __this->remove_RequestBringIntoView(value); } // private void ResetParameterListeners() :91 void Visual__ResetParameterListeners_fn(Visual* __this) { __this->ResetParameterListeners(); } // public Uno.Collections.IList<Uno.UX.Resource> get_Resources() :16 void Visual__get_Resources_fn(Visual* __this, uObject** __retval) { *__retval = __this->Resources(); } // private void RootResources() :30 void Visual__RootResources_fn(Visual* __this) { __this->RootResources(); } // public void SendToBack(Fuse.Visual item) :67 void Visual__SendToBack_fn(Visual* __this, Visual* item) { __this->SendToBack(item); } // internal void Set<T>(Fuse.FastProperty1 p, T value, T defaultValue) :79 void Visual__Set_fn(Visual* __this, uType* __type, int32_t* p, void* value, void* defaultValue) { uType* __types[] = { __type->Precalced(0/*Fuse.Visual.Find<T>*/), __type->Precalced(1/*Fuse.Visual.Insert<T>*/), }; int32_t p_ = *p; if (__this->HasBit(p_)) { if (::g::Uno::Object::Equals1(uBoxPtr(__type->U(0), value), uBoxPtr(__type->U(0), defaultValue))) __this->Clear(p_); else uPtr((::g::Fuse::FastProperty1Link1*)__this->Find(__types[0], p_))->Value() = value; } else { if (!::g::Uno::Object::Equals1(uBoxPtr(__type->U(0), value), uBoxPtr(__type->U(0), defaultValue))) Visual__Insert2_fn(__this, __types[1], uCRef<int32_t>(p_), value); } } // internal void Set<T>(Fuse.FastProperty2 p, T value, T defaultValue) :58 void Visual__Set1_fn(Visual* __this, uType* __type, int32_t* p, void* value, void* defaultValue) { uType* __types[] = { __type->Precalced(0/*Fuse.Visual.Find<T>*/), __type->Precalced(1/*Fuse.Visual.Insert<T>*/), }; int32_t p_ = *p; if (__this->HasBit1(p_)) { if (::g::Uno::Object::Equals1(uBoxPtr(__type->U(0), value), uBoxPtr(__type->U(0), defaultValue))) __this->Clear1(p_); else uPtr((::g::Fuse::FastProperty2Link1*)__this->Find1(__types[0], p_))->Value() = value; } else { if (!::g::Uno::Object::Equals1(uBoxPtr(__type->U(0), value), uBoxPtr(__type->U(0), defaultValue))) Visual__Insert3_fn(__this, __types[1], uCRef<int32_t>(p_), value); } } // internal void SetBit(Fuse.FastProperty1 p) :113 void Visual__SetBit_fn(Visual* __this, int32_t* p) { __this->SetBit(*p); } // internal void SetBit(Fuse.FastProperty1 p, bool value) :118 void Visual__SetBit1_fn(Visual* __this, int32_t* p, bool* value) { __this->SetBit1(*p, *value); } // internal void SetBit(Fuse.FastProperty2 p) :92 void Visual__SetBit2_fn(Visual* __this, int32_t* p) { __this->SetBit2(*p); } // internal void SetBit(Fuse.FastProperty2 p, bool value) :97 void Visual__SetBit3_fn(Visual* __this, int32_t* p, bool* value) { __this->SetBit3(*p, *value); } // private void SetBit(Fuse.Visual.VisualBits nb) :30 void Visual__SetBit4_fn(Visual* __this, int32_t* nb) { __this->SetBit4(*nb); } // public void SetResource(string key, object value) :53 void Visual__SetResource_fn(Visual* __this, uString* key, uObject* value) { __this->SetResource(key, value); } // internal bool get_ShouldRootChildren() :95 void Visual__get_ShouldRootChildren_fn(Visual* __this, bool* __retval) { *__retval = __this->ShouldRootChildren(); } // protected float2 Snap(float2 p) :272 void Visual__Snap_fn(Visual* __this, ::g::Uno::Float2* p, ::g::Uno::Float2* __retval) { *__retval = __this->Snap(*p); } // protected float2 SnapDown(float2 p) :297 void Visual__SnapDown_fn(Visual* __this, ::g::Uno::Float2* p, ::g::Uno::Float2* __retval) { *__retval = __this->SnapDown(*p); } // public bool get_SnapToPixels() :325 void Visual__get_SnapToPixels_fn(Visual* __this, bool* __retval) { *__retval = __this->SnapToPixels(); } // public void set_SnapToPixels(bool value) :329 void Visual__set_SnapToPixels_fn(Visual* __this, bool* value) { __this->SnapToPixels(*value); } // protected float2 SnapUp(float2 p) :291 void Visual__SnapUp_fn(Visual* __this, ::g::Uno::Float2* p, ::g::Uno::Float2* __retval) { *__retval = __this->SnapUp(*p); } // public Uno.Collections.IList<Uno.UX.Template> get_Templates() :69 void Visual__get_Templates_fn(Visual* __this, uObject** __retval) { *__retval = __this->Templates(); } // public override sealed bool TryGetResource(string key, Uno.Predicate<object> acceptor, object& resource) :70 void Visual__TryGetResource_fn(Visual* __this, uString* key, uDelegate* acceptor, uObject** resource, bool* __retval) { ::g::Uno::UX::Resource* ret33; bool ret34; if (__this->HasResources()) { uObject* resources = __this->Resources(); for (int32_t i = 0; i < ::g::Uno::Collections::ICollection::Count(uInterface(uPtr(resources), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL))); i++) { ::g::Uno::UX::Resource* r = (::g::Uno::Collections::IList::get_Item_ex(uInterface(uPtr(resources), ::g::Uno::Collections::IList_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL)), uCRef<int32_t>(i), &ret33), ret33); if (::g::Uno::String::op_Equality(uPtr(r)->Key(), key) && (::g::Uno::Delegate::op_Equality(acceptor, NULL) || (uPtr(acceptor)->Invoke(&ret34, 1, (uObject*)uPtr(r)->Value()), ret34))) { *resource = uPtr(r)->Value(); return *__retval = true, void(); } } } if (__this->ContextParent() != NULL) return *__retval = uPtr(__this->ContextParent())->TryGetResource(key, acceptor, resource), void(); return *__retval = ::g::Uno::UX::Resource::TryFindGlobal(key, acceptor, resource), void(); } // public bool TryParentToLocal(float2 parentPoint, float2& result) :183 void Visual__TryParentToLocal_fn(Visual* __this, ::g::Uno::Float2* parentPoint, ::g::Uno::Float2* result, bool* __retval) { *__retval = __this->TryParentToLocal(*parentPoint, result); } // private void Uno.Collections.ICollection<Fuse.Node>.Clear() :170 void Visual__UnoCollectionsICollectionFuseNodeClear_fn(Visual* __this) { for (::g::Fuse::Node* c = __this->_firstChild; c != NULL; c = uPtr(c)->_nextSibling) __this->OnRemoved(c); __this->Children_Clear(); } // private bool Uno.Collections.ICollection<Fuse.Node>.Contains(Fuse.Node item) :208 void Visual__UnoCollectionsICollectionFuseNodeContains_fn(Visual* __this, ::g::Fuse::Node* item, bool* __retval) { return *__retval = __this->Children_Contains(item), void(); } // private int Uno.Collections.ICollection<Fuse.Node>.get_Count() :218 void Visual__UnoCollectionsICollectionFuseNodeget_Count_fn(Visual* __this, int32_t* __retval) { return *__retval = __this->ChildCount(), void(); } // private Uno.Collections.IEnumerator<Fuse.Node> Uno.Collections.IEnumerable<Fuse.Node>.GetEnumerator() :311 void Visual__UnoCollectionsIEnumerableFuseNodeGetEnumerator_fn(Visual* __this, uObject** __retval) { return *__retval = __this->Children_GetEnumerator(), void(); } // private Uno.Collections.IEnumerator<Fuse.Visual> Uno.Collections.IEnumerable<Fuse.Visual>.GetEnumerator() :16 void Visual__UnoCollectionsIEnumerableFuseVisualGetEnumerator_fn(Visual* __this, uObject** __retval) { return *__retval = (uObject*)((Visual__Enumerator*)Visual__Enumerator::New1(Visual__Enumerator_typeof()->MakeType(Visual_typeof(), NULL), __this)), void(); } // private Fuse.Node Uno.Collections.IList<Fuse.Node>.get_Item(int index) :309 void Visual__UnoCollectionsIListFuseNodeget_Item_fn(Visual* __this, int32_t* index, ::g::Fuse::Node** __retval) { int32_t index_ = *index; return *__retval = __this->Children_ItemAt(index_), void(); } // private void Uno.Collections.IList<Fuse.Node>.RemoveAt(int index) :302 void Visual__UnoCollectionsIListFuseNodeRemoveAt_fn(Visual* __this, int32_t* index) { ::g::Fuse::Node* ret35; int32_t index_ = *index; ::g::Fuse::Node* b = (::g::Uno::Collections::IList::get_Item_ex(uInterface(uPtr(__this->Children()), ::g::Uno::Collections::IList_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL)), uCRef<int32_t>(index_), &ret35), ret35); __this->Children_Remove(b); __this->OnRemoved(b); } // private void UnrootResources() :44 void Visual__UnrootResources_fn(Visual* __this) { __this->UnrootResources(); } // private void UpdateContextSnapToPixelsCache() :341 void Visual__UpdateContextSnapToPixelsCache_fn(Visual* __this) { __this->UpdateContextSnapToPixelsCache(); } // private void UpdateIsContextEnabledCache() :61 void Visual__UpdateIsContextEnabledCache_fn(Visual* __this) { __this->UpdateIsContextEnabledCache(); } // private void UpdateIsVisibleCache() :40 void Visual__UpdateIsVisibleCache_fn(Visual* __this) { __this->UpdateIsVisibleCache(); } // private void UpdateLayout() :399 void Visual__UpdateLayout_fn(Visual* __this) { __this->UpdateLayout(); } // public int get_ValidFrameCount() :49 void Visual__get_ValidFrameCount_fn(Visual* __this, int32_t* __retval) { *__retval = __this->ValidFrameCount(); } // public generated Fuse.Controls.Native.ViewHandle get_ViewHandle() :49 void Visual__get_ViewHandle_fn(Visual* __this, ::g::Fuse::Controls::Native::ViewHandle** __retval) { *__retval = __this->ViewHandle(); } // internal generated void set_ViewHandle(Fuse.Controls.Native.ViewHandle value) :49 void Visual__set_ViewHandle_fn(Visual* __this, ::g::Fuse::Controls::Native::ViewHandle* value) { __this->ViewHandle(value); } // public Fuse.IViewport get_Viewport() :215 void Visual__get_Viewport_fn(Visual* __this, uObject** __retval) { *__retval = __this->Viewport(); } // public int get_VisualChildCount() :73 void Visual__get_VisualChildCount_fn(Visual* __this, int32_t* __retval) { *__retval = __this->VisualChildCount(); } // internal Uno.Collections.IEnumerable<Fuse.Visual> get_VisualChildren() :22 void Visual__get_VisualChildren_fn(Visual* __this, uObject** __retval) { *__retval = __this->VisualChildren(); } // public virtual Fuse.VisualContext get_VisualContext() :41 void Visual__get_VisualContext_fn(Visual* __this, int32_t* __retval) { if (__this->Parent() != NULL) return *__retval = uPtr(__this->Parent())->VisualContext(), void(); else return *__retval = 0, void(); } // public float2 WindowToLocal(float2 windowCoord) :253 void Visual__WindowToLocal_fn(Visual* __this, ::g::Uno::Float2* windowCoord, ::g::Uno::Float2* __retval) { *__retval = __this->WindowToLocal(*windowCoord); } // public float4x4 get_WorldTransform() :82 void Visual__get_WorldTransform_fn(Visual* __this, ::g::Uno::Float4x4* __retval) { *__retval = __this->WorldTransform(); } // private Fuse.FastMatrix get_WorldTransformInternal() :121 void Visual__get_WorldTransformInternal_fn(Visual* __this, ::g::Fuse::FastMatrix** __retval) { *__retval = __this->WorldTransformInternal(); } // public void add_WorldTransformInvalidated(Uno.EventHandler value) :56 void Visual__add_WorldTransformInvalidated_fn(Visual* __this, uDelegate* value) { __this->add_WorldTransformInvalidated(value); } // public void remove_WorldTransformInvalidated(Uno.EventHandler value) :63 void Visual__remove_WorldTransformInvalidated_fn(Visual* __this, uDelegate* value) { __this->remove_WorldTransformInvalidated(value); } // public float4x4 get_WorldTransformInverse() :66 void Visual__get_WorldTransformInverse_fn(Visual* __this, ::g::Uno::Float4x4* __retval) { *__retval = __this->WorldTransformInverse(); } // private void WTIRooted() :74 void Visual__WTIRooted_fn(Visual* __this) { __this->WTIRooted(); } // private void WTIUnrooted() :84 void Visual__WTIUnrooted_fn(Visual* __this) { __this->WTIUnrooted(); } // public float get_ZOffset() :21 void Visual__get_ZOffset_fn(Visual* __this, float* __retval) { *__retval = __this->ZOffset(); } // public void set_ZOffset(float value) :22 void Visual__set_ZOffset_fn(Visual* __this, float* value) { __this->ZOffset(*value); } // private static int ZOrderComparator(Fuse.Visual a, Fuse.Visual b) :128 void Visual__ZOrderComparator_fn(Visual* a, Visual* b, int32_t* __retval) { *__retval = Visual::ZOrderComparator(a, b); } int32_t Visual::_thisIDEnumerator_; uSStrong< ::g::Fuse::PropertyHandle*> Visual::_isContextEnabledChangedHandle_; ::g::Uno::UX::Selector Visual::_isEnabledName_; uSStrong< ::g::Fuse::PropertyHandle*> Visual::_isVisibleChangedHandle_; uSStrong< ::g::Fuse::PropertyHandle*> Visual::_layerProperty_; uSStrong< ::g::Fuse::PropertyHandle*> Visual::_layoutRoleProperty_; bool Visual::_performingLayout_; uSStrong< ::g::Fuse::PropertyHandle*> Visual::_parameterChangedHandle_; ::g::Uno::UX::Selector Visual::ParameterName_; uSStrong< ::g::Fuse::PropertyHandle*> Visual::_resourcesHandle_; uSStrong<uArray*> Visual::_emptyVisuals_; // protected generated Visual() [instance] :61 void Visual::ctor_2() { _thisID = (Visual::_thisIDEnumerator_++); _fastPropertyBits1 = 100663299; _isVisibleCached = true; _ambLayoutParams = ::g::Fuse::LayoutParams__CreateEmpty(); _lastInvalidate = -1; _zOffset = 0.0f; ctor_1(); } // private bool get__areChildrenFlat() [instance] :63 bool Visual::_areChildrenFlat() { return HasBit(32); } // private void set__areChildrenFlat(bool value) [instance] :64 void Visual::_areChildrenFlat(bool value) { SetBit1(32, value); } // private bool get__areChildrenFlatCached() [instance] :57 bool Visual::_areChildrenFlatCached() { return HasBit(16); } // private void set__areChildrenFlatCached(bool value) [instance] :58 void Visual::_areChildrenFlatCached(bool value) { SetBit1(16, value); } // private bool get__isLocalFlat() [instance] :29 bool Visual::_isLocalFlat() { return HasBit(4); } // private void set__isLocalFlat(bool value) [instance] :30 void Visual::_isLocalFlat(bool value) { SetBit1(4, value); } // private bool get__isLocalFlatCached() [instance] :24 bool Visual::_isLocalFlatCached() { return HasBit(8); } // private void set__isLocalFlatCached(bool value) [instance] :25 void Visual::_isLocalFlatCached(bool value) { SetBit1(8, value); } // private generated void add__worldTransformInvalidated(Uno.EventHandler value) [instance] :51 void Visual::add__worldTransformInvalidated(uDelegate* value) { _worldTransformInvalidated1 = uCast<uDelegate*>(::g::Uno::Delegate::Combine(_worldTransformInvalidated1, value), ::TYPES[20/*Uno.EventHandler*/]); } // private generated void remove__worldTransformInvalidated(Uno.EventHandler value) [instance] :51 void Visual::remove__worldTransformInvalidated(uDelegate* value) { _worldTransformInvalidated1 = uCast<uDelegate*>(::g::Uno::Delegate::Remove(_worldTransformInvalidated1, value), ::TYPES[20/*Uno.EventHandler*/]); } // public float get_AbsoluteZoom() [instance] :311 float Visual::AbsoluteZoom() { uObject* v = Viewport(); if (v == NULL) return 1.0f; return ::g::Fuse::ICommonViewport::PixelsPerPoint(uInterface(uPtr(v), ::TYPES[19/*Fuse.ICommonViewport*/])); } // public void Add(Fuse.Node item) [instance] :177 void Visual::Add1(::g::Fuse::Node* item) { InsertCleanup(item); Children_Add(item); OnAdded(item); } // public void AddDrawCost(double cost) [instance] :70 void Visual::AddDrawCost(double cost) { Visual* p = this; while (p != NULL) { uPtr(p)->_drawCost = (uPtr(p)->_drawCost + cost); p = uPtr(p)->Parent(); } } // private void AddEventHandler(Fuse.PropertyHandle ph, Fuse.Visual.VisualBits ne, object handler) [instance] :44 void Visual::AddEventHandler(::g::Fuse::PropertyHandle* ph, int32_t ne, uObject* handler) { uPtr(Properties())->AddToList(ph, handler); SetBit4(ne); } // private void AddParameterChangedListener(Fuse.Scripting.Function func) [instance] :58 void Visual::AddParameterChangedListener(::g::Fuse::Scripting::Function* func) { if (_parameterListeners == NULL) _parameterListeners = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[83/*Uno.Collections.List`1*/]->MakeType(::g::Fuse::Scripting::Function_typeof(), NULL))); ::g::Uno::Collections::List__Add_fn(uPtr(_parameterListeners), func); if (::g::Uno::String::op_Inequality(_parameter, NULL)) { uObject* so = uAs<uObject*>(this, ::g::Fuse::Scripting::IScriptObject_typeof()); if (so != NULL) uPtr(func)->Call(::g::Fuse::Scripting::IScriptObject::ScriptContext(uInterface(uPtr(so), ::g::Fuse::Scripting::IScriptObject_typeof())), uArray::Init<uObject*>(::TYPES[7/*object[]*/], 1, (uObject*)uPtr(::g::Fuse::Scripting::IScriptObject::ScriptContext(uInterface(uPtr(so), ::g::Fuse::Scripting::IScriptObject_typeof())))->ParseJson(_parameter))); } } // internal void AdjustMarginBoxPosition(float2 position) [instance] :494 void Visual::AdjustMarginBoxPosition(::g::Uno::Float2 position) { ArrangeMarginBox(position, _ambLayoutParams); } // internal bool get_AreChildrenFlat() [instance] :70 bool Visual::AreChildrenFlat() { if (_areChildrenFlatCached()) return _areChildrenFlat(); _areChildrenFlat(CalcAreChildrenFlat()); _areChildrenFlatCached(true); return _areChildrenFlat(); } // public float2 ArrangeMarginBox(float2 position, Fuse.LayoutParams lp) [instance] :459 ::g::Uno::Float2 Visual::ArrangeMarginBox(::g::Uno::Float2 position, ::g::Fuse::LayoutParams lp) { bool same = (HasMarginBox() && (_layoutDirty == 0)) && _ambLayoutParams.IsCompatible(lp); float zeroTolerance = 1e-05f; ::g::Uno::Float2 marginBox; if (same && (::g::Uno::Vector::Distance(position, _ambPosition) < 1e-05f)) return _ambMargin; else if (same && CanAdjustMarginBox()) { marginBox = _ambMargin; OnAdjustMarginBoxPosition(position); } else marginBox = OnArrangeMarginBox(position, lp); _layoutDirty = 0; _ambMargin = marginBox; _ambPosition = position; _ambLayoutParams = lp.Clone(); _hasMarginBox = true; return marginBox; } // private void AssignNaturalZOrder() [instance] :121 void Visual::AssignNaturalZOrder() { int32_t i = 0; for (Visual* v = (Visual*)FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (Visual*)uPtr(v)->NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) if (!uPtr(v)->_zOrderFixed) uPtr(v)->_naturalZOrder = (i--); } // public void BeginInteraction(object id, Uno.Action cancelled) [instance] :27 void Visual::BeginInteraction(uObject* id, uDelegate* cancelled) { Visual__InteractionItem collection1; if (_interactions == NULL) _interactions = ((::g::Uno::Collections::Dictionary*)::g::Uno::Collections::Dictionary::New1(::g::Uno::Collections::Dictionary_typeof()->MakeType(uObject_typeof(), Visual__InteractionItem_typeof(), NULL))); ::g::Uno::Collections::Dictionary__set_Item_fn(uPtr(_interactions), id, uCRef((collection1 = uDefault<Visual__InteractionItem>(), collection1.Id = id, collection1.Cancelled = cancelled, collection1))); OnInteractionsChanged(); } // public void BeginRemoveChild(Fuse.Node n, [Uno.Action<Fuse.Node> then]) [instance] :96 void Visual::BeginRemoveChild(::g::Fuse::Node* n, uDelegate* then) { bool ret9; Visual* v = uAs<Visual*>(n, Visual_typeof()); if (v != NULL) BeginRemoveVisual(v, then); else { ::g::Uno::Collections::ICollection::Remove_ex(uInterface(uPtr(Children()), ::TYPES[59/*Uno.Collections.ICollection<Fuse.Node>*/]), n, &ret9); if (::g::Uno::Delegate::op_Inequality(then, NULL)) uPtr(then)->InvokeVoid(n); } } // public void BeginRemoveVisual(Fuse.Visual child, [Uno.Action<Fuse.Node> then]) [instance] :64 void Visual::BeginRemoveVisual(Visual* child, uDelegate* then) { bool ret10; bool ret11; if (!IsRootingCompleted()) { ::g::Uno::Collections::ICollection::Remove_ex(uInterface(uPtr(Children()), ::TYPES[59/*Uno.Collections.ICollection<Fuse.Node>*/]), child, &ret10); if (::g::Uno::Delegate::op_Inequality(then, NULL)) uPtr(then)->InvokeVoid(child); return; } if (!(::g::Uno::Collections::ICollection::Contains_ex(uInterface(uPtr(Children()), ::TYPES[59/*Uno.Collections.ICollection<Fuse.Node>*/]), child, &ret11), ret11)) return; if (uPtr(child)->HasBit(268435456)) return; ::g::Fuse::PendingRemoveVisual* args = ::g::Fuse::PendingRemoveVisual::New1(child, this, then); uPtr(child)->OnBeginRemoveVisual(args); if (args->HasSubscribers()) InvalidateLayout(2); else ::g::Fuse::UpdateManager::AddDeferredAction((uObject*)args, -1, 2); } // public void BringIntoView() [instance] :530 void Visual::BringIntoView() { OnBringIntoView(this); } // public void BringToFront(Fuse.Visual item) [instance] :47 void Visual::BringToFront(Visual* item) { AssignNaturalZOrder(); int32_t maxNaturalZOrder = (-2147483647 - 1); for (Visual* v = (Visual*)FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (Visual*)uPtr(v)->NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) if (((v != item) && (uPtr(v)->Layer() == uPtr(item)->Layer())) && (uPtr(v)->_naturalZOrder > maxNaturalZOrder)) maxNaturalZOrder = uPtr(v)->_naturalZOrder; if ((maxNaturalZOrder != (-2147483647 - 1)) && ((maxNaturalZOrder + 1) != uPtr(item)->_naturalZOrder)) { uPtr(item)->_naturalZOrder = (maxNaturalZOrder + 1); item->_zOrderFixed = true; InvalidateZOrder(); } } // internal bool CalcAreChildrenFlat() [instance] :81 bool Visual::CalcAreChildrenFlat() { for (Visual* v = (Visual*)FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (Visual*)uPtr(v)->NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) if (!uPtr(v)->AreChildrenFlat() || !uPtr(v)->IsLocalFlat()) return false; return true; } // internal bool CalcIsLocalFlat() [instance] :47 bool Visual::CalcIsLocalFlat() { for (::g::Fuse::Transform* t = (::g::Fuse::Transform*)FirstChild(Visual_typeof()->MakeMethod(2/*FirstChild<Fuse.Transform>*/, ::g::Fuse::Transform_typeof(), NULL)); t != NULL; t = (::g::Fuse::Transform*)uPtr(t)->NextSibling(::TYPES[22/*Fuse.Node*/]->MakeMethod(3/*NextSibling<Fuse.Transform>*/, ::g::Fuse::Transform_typeof(), NULL))) if (!uPtr(t)->IsFlat()) return false; return true; } // internal Fuse.VisualBounds CalcRenderBoundsInParentSpace() [instance] :302 ::g::Fuse::VisualBounds* Visual::CalcRenderBoundsInParentSpace() { return uPtr(::g::Fuse::VisualBounds::Empty())->MergeChild(this, LocalRenderBounds()); } // private Fuse.FastMatrix CalcWorldTransform() [instance] :180 ::g::Fuse::FastMatrix* Visual::CalcWorldTransform() { ::g::Fuse::FastMatrix* m = LocalTransformInternal(); if (Parent() != NULL) m = uPtr(m)->Mul(uPtr(Parent())->ParentWorldTransformInternal()); return m; } // public void CancelInteractions([Fuse.Visual.CancelInteractionsType how]) [instance] :59 void Visual::CancelInteractions(int32_t how) { ::g::Uno::Collections::Dictionary__Enumerator<uStrong<uObject*>, Visual__InteractionItem> ret12; ::g::Uno::Collections::List__Enumerator<uStrong<uObject*> > ret13; bool ret14; Visual__InteractionItem ret15; if (_interactions != NULL) { ::g::Uno::Collections::List* ids = (::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[83/*Uno.Collections.List`1*/]->MakeType(uObject_typeof(), NULL)); ::g::Uno::Collections::Dictionary__Enumerator<uStrong<uObject*>, Visual__InteractionItem> enum2 = (::g::Uno::Collections::Dictionary__GetEnumerator_fn(uPtr(_interactions), &ret12), ret12); { try { { while (enum2.MoveNext(::g::Uno::Collections::Dictionary__Enumerator_typeof()->MakeType(uObject_typeof(), Visual__InteractionItem_typeof(), NULL))) { ::g::Uno::Collections::KeyValuePair<uStrong<uObject*>, Visual__InteractionItem> i = enum2.Current(::g::Uno::Collections::Dictionary__Enumerator_typeof()->MakeType(uObject_typeof(), Visual__InteractionItem_typeof(), NULL)); ::g::Uno::Collections::List__Add_fn(uPtr(ids), i.Key(::g::Uno::Collections::KeyValuePair_typeof()->MakeType(uObject_typeof(), Visual__InteractionItem_typeof(), NULL))); } } } catch (const uThrowable& __t) { { enum2.Dispose(::g::Uno::Collections::Dictionary__Enumerator_typeof()->MakeType(uObject_typeof(), Visual__InteractionItem_typeof(), NULL)); } throw __t; goto __after_finally_8; } { enum2.Dispose(::g::Uno::Collections::Dictionary__Enumerator_typeof()->MakeType(uObject_typeof(), Visual__InteractionItem_typeof(), NULL)); } __after_finally_8:; } ::g::Uno::Collections::List__Enumerator<uStrong<uObject*> > enum3 = (::g::Uno::Collections::List__GetEnumerator_fn(uPtr(ids), &ret13), ret13); { try { { while (enum3.MoveNext(::g::Uno::Collections::List__Enumerator_typeof()->MakeType(uObject_typeof(), NULL))) { uObject* id = enum3.Current(::g::Uno::Collections::List__Enumerator_typeof()->MakeType(uObject_typeof(), NULL)); if ((::g::Uno::Collections::Dictionary__ContainsKey_fn(uPtr(_interactions), id, &ret14), ret14)) { Visual__InteractionItem i1 = (::g::Uno::Collections::Dictionary__get_Item_fn(uPtr(_interactions), id, &ret15), ret15); uPtr(i1.Cancelled)->InvokeVoid(); } } } } catch (const uThrowable& __t) { { enum3.Dispose(::g::Uno::Collections::List__Enumerator_typeof()->MakeType(uObject_typeof(), NULL)); } throw __t; goto __after_finally_9; } { enum3.Dispose(::g::Uno::Collections::List__Enumerator_typeof()->MakeType(uObject_typeof(), NULL)); } __after_finally_9:; } } if (how == 1) for (Visual* v = (Visual*)FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (Visual*)NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) uPtr(v)->CancelInteractions(how); } // internal void CancelPendingRemove() [instance] :118 void Visual::CancelPendingRemove() { if (HasBit(268435456)) SetBit1(268435456, false); } // private void CheckWorldTransformVersion() [instance] :101 void Visual::CheckWorldTransformVersion() { if ((_worldTransform != NULL) || (_worldTransformInverse != NULL)) { if (Parent() != NULL) { uPtr(Parent())->CheckWorldTransformVersion(); if (_parentWorldTransformVersion != uPtr(Parent())->_worldTransformVersion) { _parentWorldTransformVersion = uPtr(Parent())->_worldTransformVersion; _worldTransform = NULL; _worldTransformInverse = NULL; _worldTransformVersion++; } } } } // public int get_ChildCount() [instance] :70 int32_t Visual::ChildCount() { return _childCount; } // public Uno.Collections.IList<Fuse.Node> get_Children() [instance] :80 uObject* Visual::Children() { return (uObject*)this; } // private void Children_Add(Fuse.Node n) [instance] :94 void Visual::Children_Add(::g::Fuse::Node* n) { Children_Invalidate(); Children_MakeParent(this, n); if (_firstChild == NULL) { _firstChild = n; _lastChild = n; } else { uPtr(_lastChild)->_nextSibling = n; uPtr(n)->_previousSibling = ::g::Fuse::Internal::RawPointer::op_Implicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), _lastChild); _lastChild = n; } _childCount++; if (uIs(n, Visual_typeof())) _visualChildCount++; } // private void Children_Clear() [instance] :75 void Visual::Children_Clear() { Children_Invalidate(); ::g::Fuse::Node* nextSibling; for (::g::Fuse::Node* c = _firstChild; c != NULL; c = nextSibling) { Children_MakeOrphan(c); nextSibling = uPtr(c)->_nextSibling; c->_nextSibling = NULL; c->_previousSibling = ::g::Fuse::Internal::RawPointer::op_Implicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), NULL); } _firstChild = NULL; _lastChild = NULL; _childCount = 0; _visualChildCount = 0; } // private bool Children_Contains(Fuse.Node n) [instance] :210 bool Visual::Children_Contains(::g::Fuse::Node* n) { return uPtr(n)->_parentID == _thisID; } // private Fuse.Node[] Children_GetCachedArray() [instance] :17 uArray* Visual::Children_GetCachedArray() { if (Children_cachedArray != NULL) return Children_cachedArray; uArray* nodes = uArray::New(::TYPES[61/*Fuse.Node[]*/], _childCount); ::g::Fuse::Node* c = _firstChild; int32_t i = 0; while (c != NULL) { uPtr(nodes)->Strong< ::g::Fuse::Node*>(i++) = c; c = uPtr(c)->_nextSibling; } Children_cachedArray = nodes; return nodes; } // private Uno.Collections.IEnumerator<Fuse.Node> Children_GetEnumerator() [instance] :46 uObject* Visual::Children_GetEnumerator() { return (uObject*)Visual__SafeIterator::New1(this); } // private void Children_Insert(int index, Fuse.Node newNode) [instance] :168 void Visual::Children_Insert(int32_t index, ::g::Fuse::Node* newNode) { ::g::Fuse::Node* preceeder = Children_ItemBefore(index); Children_InsertAfter(preceeder, newNode); } // private void Children_InsertAfter(Fuse.Node preceeder, Fuse.Node newNode) [instance] :174 void Visual::Children_InsertAfter(::g::Fuse::Node* preceeder, ::g::Fuse::Node* newNode) { if ((preceeder != NULL) && !Children_Contains(preceeder)) U_THROW(::g::Uno::Exception::New1()); Children_Invalidate(); if (preceeder == NULL) { if (_firstChild == NULL) Children_Add(newNode); else { Children_MakeParent(this, newNode); uPtr(newNode)->_nextSibling = _firstChild; uPtr(_firstChild)->_previousSibling = ::g::Fuse::Internal::RawPointer::op_Implicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), newNode); _firstChild = newNode; _childCount++; if (uIs(newNode, Visual_typeof())) _visualChildCount++; } } else { if (_lastChild == preceeder) Children_Add(newNode); else { Children_MakeParent(this, newNode); uPtr(newNode)->_previousSibling = ::g::Fuse::Internal::RawPointer::op_Implicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), preceeder); newNode->_nextSibling = uPtr(preceeder)->_nextSibling; uPtr(preceeder->_nextSibling)->_previousSibling = ::g::Fuse::Internal::RawPointer::op_Implicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), newNode); preceeder->_nextSibling = newNode; _childCount++; if (uIs(newNode, Visual_typeof())) _visualChildCount++; } } } // private void Children_Invalidate() [instance] :39 void Visual::Children_Invalidate() { if (_safeIterator != NULL) uPtr(_safeIterator)->SecureCopy(); Children_cachedArray = NULL; InvalidateZOrder(); } // private Fuse.Node Children_ItemAt(int index) [instance] :33 ::g::Fuse::Node* Visual::Children_ItemAt(int32_t index) { uArray* arr = Children_GetCachedArray(); return uPtr(arr)->Strong< ::g::Fuse::Node*>(index); } // private Fuse.Node Children_ItemBefore(int index) [instance] :162 ::g::Fuse::Node* Visual::Children_ItemBefore(int32_t index) { if (index == 0) return NULL; else return Children_ItemAt(index - 1); } // private void Children_MakeOrphan(Fuse.Node child) [instance] :60 void Visual::Children_MakeOrphan(::g::Fuse::Node* child) { uPtr(child)->_parentID = -1; } // private void Children_MakeParent(Fuse.Visual parent, Fuse.Node child) [instance] :54 void Visual::Children_MakeParent(Visual* parent, ::g::Fuse::Node* child) { if (uPtr(child)->_parentID != -1) U_THROW(::g::Uno::Exception::New2(uString::Const("Node already has a parent - can only have one"))); uPtr(child)->_parentID = uPtr(parent)->_thisID; } // private bool Children_Remove(Fuse.Node n) [instance] :115 bool Visual::Children_Remove(::g::Fuse::Node* n) { if (uPtr(n)->_parentID != _thisID) return false; Children_Invalidate(); Children_MakeOrphan(n); if (_firstChild == n) { _firstChild = uPtr(n)->_nextSibling; if (_firstChild != NULL) uPtr(_firstChild)->_previousSibling = ::g::Fuse::Internal::RawPointer::op_Implicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), NULL); if (_lastChild == n) _lastChild = NULL; } else if (_lastChild == n) { _lastChild = ((::g::Fuse::Node*)::g::Fuse::Internal::RawPointer::op_Explicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), uPtr(n)->_previousSibling)); if (_lastChild != NULL) uPtr(_lastChild)->_nextSibling = NULL; } else { uPtr((::g::Fuse::Node*)::g::Fuse::Internal::RawPointer::op_Explicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), uPtr(n)->_previousSibling))->_nextSibling = uPtr(n)->_nextSibling; uPtr(n->_nextSibling)->_previousSibling = ::g::Fuse::Internal::RawPointer::op_Implicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), (::g::Fuse::Node*)::g::Fuse::Internal::RawPointer::op_Explicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), n->_previousSibling)); } uPtr(n)->_nextSibling = NULL; n->_previousSibling = ::g::Fuse::Internal::RawPointer::op_Implicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), NULL); _childCount--; if (uIs(n, Visual_typeof())) _visualChildCount--; return true; } // private void Clear(Fuse.FastProperty1 p) [instance] :92 void Visual::Clear(int32_t p) { if (HasBit(p)) { ::g::Fuse::FastProperty1Link* k = FindPrevious(p); if (k == NULL) _fastProperties1 = uPtr(_fastProperties1)->Next; else uPtr(k)->Next = uPtr(uPtr(k)->Next)->Next; ClearBit(p); } } // private void Clear(Fuse.FastProperty2 p) [instance] :71 void Visual::Clear1(int32_t p) { if (HasBit1(p)) { ::g::Fuse::FastProperty2Link* k = FindPrevious1(p); if (k == NULL) _fastProperties2 = uPtr(_fastProperties2)->Next; else uPtr(k)->Next = uPtr(uPtr(k)->Next)->Next; ClearBit1(p); } } // internal void ClearBit(Fuse.FastProperty1 p) [instance] :108 void Visual::ClearBit(int32_t p) { _fastPropertyBits1 = (_fastPropertyBits1 & ~p); } // internal void ClearBit(Fuse.FastProperty2 p) [instance] :87 void Visual::ClearBit1(int32_t p) { _fastPropertyBits2 = (_fastPropertyBits2 ^ p); } // private void ClearBit(Fuse.Visual.VisualBits nb) [instance] :31 void Visual::ClearBit2(int32_t nb) { _nodebits = (_nodebits & ~(1 << nb)); } // private void ClearLayout() [instance] :163 void Visual::ClearLayout() { _layoutDirty = 0; ClearMarginBox(); _ambLayoutParams.Reset(); } // internal void ClearMarginBox() [instance] :429 void Visual::ClearMarginBox() { if (!_hasMarginBox) return; _hasMarginBox = true; if (::g::Uno::Delegate::op_Inequality(LostMarginBox1, NULL)) uPtr(LostMarginBox1)->Invoke(2, this, (::g::Fuse::LostMarginBoxArgs*)::g::Fuse::LostMarginBoxArgs::New2(this)); } // private Fuse.Visual[] ComputeZOrder() [instance] :93 uArray* Visual::ComputeZOrder() { if (_visualChildCount == 0) return Visual::_emptyVisuals_; if (_visualChildCount == 1) return uArray::Init<Visual*>(Visual_typeof()->Array(), 1, (Visual*)FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/])); AssignNaturalZOrder(); uArray* zOrder = uArray::New(Visual_typeof()->Array(), _visualChildCount); bool needsSorting = false; int32_t layer = 0; bool hasLayer = false; int32_t i = 0; for (Visual* v = (Visual*)LastChild(Visual_typeof()->MakeMethod(7/*LastChild<Fuse.Visual>*/, Visual_typeof(), NULL)); v != NULL; v = (Visual*)uPtr(v)->PreviousSibling(::TYPES[22/*Fuse.Node*/]->MakeMethod(4/*PreviousSibling<Fuse.Visual>*/, Visual_typeof(), NULL)), i++) { uPtr(zOrder)->Strong<Visual*>(i) = v; if (uPtr(v)->ZOffset() != 0.0f) needsSorting = true; if (uPtr(v)->_zOrderFixed) needsSorting = true; if (!hasLayer) { layer = uPtr(v)->Layer(); hasLayer = true; } else if (uPtr(v)->Layer() != layer) needsSorting = true; } if (needsSorting) ::g::Uno::Array::Sort1(::g::Uno::Array_typeof()->MakeMethod(7/*Sort<Fuse.Visual>*/, Visual_typeof(), NULL), zOrder, uDelegate::New(::g::Uno::Comparison_typeof()->MakeType(Visual_typeof(), NULL), (void*)Visual__ZOrderComparator_fn)); return zOrder; } // internal void ConcludePendingRemove() [instance] :126 void Visual::ConcludePendingRemove() { bool ret16; if (HasBit(268435456)) { ::g::Uno::Collections::ICollection::Remove_ex(uInterface(uPtr(uPtr(Parent())->Children()), ::TYPES[59/*Uno.Collections.ICollection<Fuse.Node>*/]), this, &ret16); SetBit1(268435456, false); } } // private void DecrementWTIListener() [instance] :26 void Visual::DecrementWTIListener() { _wtiListeners--; if (Parent() != NULL) uPtr(Parent())->DecrementWTIListener(); } // public double get_DrawCost() [instance] :68 double Visual::DrawCost() { return _drawCost; } // public void EndInteraction(object id) [instance] :36 void Visual::EndInteraction(uObject* id) { bool ret17; if (_interactions == NULL) return; ::g::Uno::Collections::Dictionary__Remove_fn(uPtr(_interactions), id, &ret17); if (uPtr(_interactions)->Count() == 0) _interactions = NULL; OnInteractionsChanged(); } // private Fuse.FastProperty1Link<T> Find<T>(Fuse.FastProperty1 p) [instance] :155 ::g::Fuse::FastProperty1Link1* Visual::Find(uType* __type, int32_t p) { uType* __types[] = { __type->Precalced(0/*Fuse.FastProperty1Link<T>*/), }; ::g::Fuse::FastProperty1Link* n = _fastProperties1; while (n != NULL) { if (uPtr(n)->Property == p) return uCast< ::g::Fuse::FastProperty1Link1*>(n, __types[0]); n = uPtr(n)->Next; } return NULL; } // private Fuse.FastProperty2Link<T> Find<T>(Fuse.FastProperty2 p) [instance] :134 ::g::Fuse::FastProperty2Link1* Visual::Find1(uType* __type, int32_t p) { uType* __types[] = { __type->Precalced(0/*Fuse.FastProperty2Link<T>*/), }; ::g::Fuse::FastProperty2Link* n = _fastProperties2; while (n != NULL) { if (uPtr(n)->Property == p) return uCast< ::g::Fuse::FastProperty2Link1*>(n, __types[0]); n = uPtr(n)->Next; } return NULL; } // private Fuse.FastProperty1Link FindPrevious(Fuse.FastProperty1 p) [instance] :142 ::g::Fuse::FastProperty1Link* Visual::FindPrevious(int32_t p) { ::g::Fuse::FastProperty1Link* pr = NULL; ::g::Fuse::FastProperty1Link* n = _fastProperties1; while (n != NULL) { if (uPtr(n)->Property == p) return pr; pr = n; n = uPtr(n)->Next; } return NULL; } // private Fuse.FastProperty2Link FindPrevious(Fuse.FastProperty2 p) [instance] :121 ::g::Fuse::FastProperty2Link* Visual::FindPrevious1(int32_t p) { ::g::Fuse::FastProperty2Link* pr = NULL; ::g::Fuse::FastProperty2Link* n = _fastProperties2; while (n != NULL) { if (uPtr(n)->Property == p) return pr; pr = n; n = uPtr(n)->Next; } return NULL; } // public Uno.UX.Template FindTemplate(string key) [instance] :70 ::g::Uno::UX::Template* Visual::FindTemplate(uString* key) { return _templates.FindTemplate(key); } // public Fuse.IViewport FindViewport() [instance] :199 uObject* Visual::FindViewport() { Visual* p = this; while (p != NULL) { uObject* vp = uAs<uObject*>(p, ::g::Fuse::IViewport_typeof()); if (vp != NULL) return vp; p = uPtr(p)->Parent(); } return NULL; } // public T FirstChild<T>() [instance] :34 ::g::Fuse::Node* Visual::FirstChild(uType* __type) { ::g::Fuse::Node* c = _firstChild; while (c != NULL) { ::g::Fuse::Node* v = uAs< ::g::Fuse::Node*>(c, __type->U(0)); if (v != NULL) return v; c = uPtr(c)->_nextSibling; } return NULL; } // internal Fuse.Visual[] GetCachedZOrder() [instance] :33 uArray* Visual::GetCachedZOrder() { if (_cachedZOrder == NULL) _cachedZOrder = ComputeZOrder(); return _cachedZOrder; } // public Fuse.Visual GetHitWindowPoint(float2 windowPoint) [instance] :69 Visual* Visual::GetHitWindowPoint(::g::Uno::Float2 windowPoint) { Visual__HitTestRecord* htr = Visual__HitTestRecord::New1(); ::g::Fuse::HitTestContext* htc = ::g::Fuse::HitTestContext::New1(windowPoint, uDelegate::New(::g::Fuse::HitTestCallback_typeof(), (void*)Visual__HitTestRecord__HitTestCallback_fn, htr)); if (Parent() != NULL) uPtr(htc)->PushLocalPoint(uPtr(Parent())->WindowToLocal(windowPoint)); htc->PushWorldRay(::g::Fuse::IViewport::PointToWorldRay(uInterface(uPtr(Viewport()), ::g::Fuse::IViewport_typeof()), windowPoint)); HitTest(htc); return htr->Visual; } // public float4x4 GetTransformTo(Fuse.Visual other) [instance] :192 ::g::Uno::Float4x4 Visual::GetTransformTo(Visual* other) { bool ret18; bool ret19; ::g::Uno::Collections::HashSet* parents = (::g::Uno::Collections::HashSet*)::g::Uno::Collections::HashSet::New1(::g::Uno::Collections::HashSet_typeof()->MakeType(Visual_typeof(), NULL)); Visual* q = this; while (q != NULL) { ::g::Uno::Collections::HashSet__Add_fn(uPtr(parents), q, &ret18); q = uPtr(q)->Parent(); } Visual* c = other; while (c != NULL) { if ((::g::Uno::Collections::HashSet__Contains_fn(uPtr(parents), c, &ret19), ret19)) break; c = uPtr(c)->Parent(); } if (c == NULL) return ::g::Uno::Float4x4__Identity(); ::g::Uno::Float4x4 thisTo = GetTransformToAncestor(c); ::g::Uno::Float4x4 otherTo = uPtr(other)->GetTransformToAncestor(c); return ::g::Uno::Matrix::Mul8(thisTo, ::g::Uno::Matrix::Invert2(otherTo)); } // private float4x4 GetTransformToAncestor(Fuse.Visual ancestor) [instance] :221 ::g::Uno::Float4x4 Visual::GetTransformToAncestor(Visual* ancestor) { ::g::Fuse::FastMatrix* m = ::g::Fuse::FastMatrix::Identity(); Visual* n = this; while ((n != NULL) && (n != ancestor)) { m = uPtr(m)->Mul(uPtr(n)->LocalTransformInternal()); n = uPtr(n)->Parent(); } return uPtr(m)->Matrix(); } // internal bool HasBit(Fuse.FastProperty1 p) [instance] :103 bool Visual::HasBit(int32_t p) { return (_fastPropertyBits1 & p) != 0; } // internal bool HasBit(Fuse.FastProperty2 p) [instance] :82 bool Visual::HasBit1(int32_t p) { return (_fastPropertyBits2 & p) != 0; } // private bool HasBit(Fuse.Visual.VisualBits nb) [instance] :29 bool Visual::HasBit2(int32_t nb) { return (_nodebits & (1 << nb)) != 0; } // public bool get_HasChildren() [instance] :21 bool Visual::HasChildren() { return ChildCount() > 0; } // private bool get_HasExplicitTransforms() [instance] :32 bool Visual::HasExplicitTransforms() { return _transformCount > 0; } // internal bool get_HasMarginBox() [instance] :425 bool Visual::HasMarginBox() { return _hasMarginBox; } // public bool get_HasPendingRemove() [instance] :135 bool Visual::HasPendingRemove() { return HasBit(268435456); } // private bool get_HasResources() [instance] :94 bool Visual::HasResources() { return HasBit2(1); } // public bool get_HasVisualChildren() [instance] :140 bool Visual::HasVisualChildren() { return VisualChildCount() > 0; } // public void HitTest(Fuse.HitTestContext htc) [instance] :26 void Visual::HitTest(::g::Fuse::HitTestContext* htc) { if (!IsVisible()) return; ::g::Fuse::VisualBounds* bounds = HitTestBounds(); ::g::Uno::Float2 localPoint; bool hit; if (uPtr(bounds)->IsFlat() && (HitTestTransform() == 0)) { if (!TryParentToLocal(uPtr(htc)->LocalPoint(), &localPoint)) return; hit = uPtr(bounds)->ContainsPoint(localPoint); } else { ::g::Fuse::Ray world = ::g::Fuse::IViewport::PointToWorldRay(uInterface(uPtr(Viewport()), ::g::Fuse::IViewport_typeof()), uPtr(htc)->WindowPoint()); ::g::Fuse::Ray local = ::g::Fuse::IViewport::WorldToLocalRay(uInterface(uPtr(Viewport()), ::g::Fuse::IViewport_typeof()), Viewport(), world, this); localPoint = ::g::Fuse::ViewportHelpers::LocalPlaneIntersection(local); hit = uPtr(bounds)->IsFlat() ? uPtr(bounds)->ContainsPoint(localPoint) : uPtr(bounds)->IntersectsRay(local); } if (true && !hit) return; ::g::Uno::Float2 old = uPtr(htc)->PushLocalPoint(localPoint); OnHitTest(htc); htc->PopLocalPoint(old); } // public Fuse.VisualBounds get_HitTestBounds() [instance] :105 ::g::Fuse::VisualBounds* Visual::HitTestBounds() { if (_isHitTestBoundsCacheValid) return _hitTestBoundsCache; ::g::Fuse::VisualBounds* nb = ::g::Fuse::VisualBounds::Empty(); if (IsContextEnabled() && IsVisible()) { nb = uPtr(nb)->Merge(HitTestLocalBounds(), NULL); nb = uPtr(nb)->Merge(HitTestChildrenBounds(), NULL); } _hitTestBoundsCache = nb; _isHitTestBoundsCacheValid = true; return nb; } // internal Fuse.Visual.HitTestTransformMode get_HitTestTransform() [instance] :18 int32_t Visual::HitTestTransform() { if (IsLocalFlat()) return 0; return 1; } // protected float2 IfSnap(float2 p) [instance] :278 ::g::Uno::Float2 Visual::IfSnap(::g::Uno::Float2 p) { return SnapToPixels() ? Snap(p) : p; } // protected float2 IfSnapDown(float2 p) [instance] :303 ::g::Uno::Float2 Visual::IfSnapDown(::g::Uno::Float2 p) { return SnapToPixels() ? SnapDown(p) : p; } // protected float2 IfSnapUp(float2 p) [instance] :283 ::g::Uno::Float2 Visual::IfSnapUp(::g::Uno::Float2 p) { return SnapToPixels() ? SnapUp(p) : p; } // private void IncrementWTIListener() [instance] :20 void Visual::IncrementWTIListener() { _wtiListeners++; if (Parent() != NULL) uPtr(Parent())->IncrementWTIListener(); } // public void Insert(int index, Fuse.Node item) [instance] :220 void Visual::Insert1(int32_t index, ::g::Fuse::Node* item) { InsertCleanup(item); Children_Insert(index, item); OnAdded(item); } // public void InsertAfter(Fuse.Node sibling, Fuse.Node node) [instance] :201 void Visual::InsertAfter(::g::Fuse::Node* sibling, ::g::Fuse::Node* node) { InsertCleanup(node); Children_InsertAfter(sibling, node); OnAdded(node); } // private void InsertCleanup(Fuse.Node item) [instance] :227 void Visual::InsertCleanup(::g::Fuse::Node* item) { Visual* v = uAs<Visual*>(item, Visual_typeof()); if (v != NULL) uPtr(v)->ConcludePendingRemove(); } // internal void InsertNodesAfter(Fuse.Node preceeder, Uno.Collections.IEnumerator<Fuse.Node> items) [instance] :239 void Visual::InsertNodesAfter(::g::Fuse::Node* preceeder, uObject* items) { InsertNodesAfterImpl(preceeder, items, false); } // private void InsertNodesAfterImpl(Fuse.Node preceeder, Uno.Collections.IEnumerator<Fuse.Node> items, bool allowMove) [instance] :250 void Visual::InsertNodesAfterImpl(::g::Fuse::Node* preceeder, uObject* items, bool allowMove) { ::g::Fuse::Node* ret22; ::g::Fuse::Node* ret23; bool ret24; ::g::Fuse::Node* ret25; bool ret26; if (!Children_Contains(preceeder)) U_THROW(::g::Uno::Exception::New2(uString::Const("Cannot insert nodes after a node that is not a child of this parent"))); while (::g::Uno::Collections::IEnumerator::MoveNext(uInterface(uPtr(items), ::TYPES[26/*Uno.Collections.IEnumerator*/]))) InsertCleanup((::g::Uno::Collections::IEnumerator1::get_Current_ex(uInterface(uPtr(items), ::g::Uno::Collections::IEnumerator1_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL)), &ret22), ret22)); ::g::Uno::Collections::HashSet* moved = NULL; bool capture = ::g::Fuse::Node::CaptureRooting(); { try { { ::g::Uno::Collections::IEnumerator::Reset(uInterface(uPtr(items), ::TYPES[26/*Uno.Collections.IEnumerator*/])); while (::g::Uno::Collections::IEnumerator::MoveNext(uInterface(items, ::TYPES[26/*Uno.Collections.IEnumerator*/]))) { ::g::Fuse::Node* c = (::g::Uno::Collections::IEnumerator1::get_Current_ex(uInterface(uPtr(items), ::g::Uno::Collections::IEnumerator1_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL)), &ret23), ret23); if (allowMove) { if (Children_Contains(c)) { Children_Remove(c); if (moved == NULL) moved = (::g::Uno::Collections::HashSet*)::g::Uno::Collections::HashSet::New1(::g::Uno::Collections::HashSet_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL)); ::g::Uno::Collections::HashSet__Add_fn(uPtr(moved), c, &ret24); } } Children_InsertAfter(preceeder, c); preceeder = c; } ::g::Uno::Collections::IEnumerator::Reset(uInterface(items, ::TYPES[26/*Uno.Collections.IEnumerator*/])); while (::g::Uno::Collections::IEnumerator::MoveNext(uInterface(items, ::TYPES[26/*Uno.Collections.IEnumerator*/]))) { ::g::Fuse::Node* c1 = (::g::Uno::Collections::IEnumerator1::get_Current_ex(uInterface(uPtr(items), ::g::Uno::Collections::IEnumerator1_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL)), &ret25), ret25); if ((moved == NULL) || !(::g::Uno::Collections::HashSet__Contains_fn(uPtr(moved), c1, &ret26), ret26)) OnAdded(c1); else OnMoved(c1); } } } catch (const uThrowable& __t) { { ::g::Fuse::Node::ReleaseRooting(capture); } throw __t; goto __after_finally_10; } { ::g::Fuse::Node::ReleaseRooting(capture); } __after_finally_10:; } } // internal void InsertOrMoveNodesAfter(Fuse.Node preceeder, Uno.Collections.IEnumerator<Fuse.Node> items) [instance] :244 void Visual::InsertOrMoveNodesAfter(::g::Fuse::Node* preceeder, uObject* items) { InsertNodesAfterImpl(preceeder, items, true); } // internal Fuse.FastMatrix get_InternLocalTransformInternal() [instance] :146 ::g::Fuse::FastMatrix* Visual::InternLocalTransformInternal() { return LocalTransformInternal(); } // internal float2 InternSnap(float2 p) [instance] :271 ::g::Uno::Float2 Visual::InternSnap(::g::Uno::Float2 p) { return Snap(p); } // internal float2 InternSnapUp(float2 p) [instance] :290 ::g::Uno::Float2 Visual::InternSnapUp(::g::Uno::Float2 p) { return SnapUp(p); } // internal void InvalidateFlat() [instance] :11 void Visual::InvalidateFlat() { if (_isLocalFlatCached() || _areChildrenFlatCached()) { _isLocalFlatCached(false); _areChildrenFlatCached(false); if (Parent() != NULL) uPtr(Parent())->InvalidateFlat(); } } // protected void InvalidateHitTestBounds() [instance] :90 void Visual::InvalidateHitTestBounds() { Visual* p = this; while ((p != NULL) && p->_isHitTestBoundsCacheValid) { uPtr(p)->_isHitTestBoundsCacheValid = false; p = uPtr(p)->Parent(); } } // public void InvalidateLayout([Fuse.InvalidateLayoutReason reason]) [instance] :184 void Visual::InvalidateLayout(int32_t reason) { if (Visual::_performingLayout_) U_THROW(::g::Uno::Exception::New2(uString::Const("Layout was invalidated while performing layout"))); if (reason <= _layoutDirty) return; _layoutDirty = reason; OnInvalidateLayout(); Visual* child = this; Visual* parent = Parent(); Visual* maybeChild = NULL; while ((parent != NULL) && !uPtr(parent)->IsLayoutRoot()) { if (reason <= uPtr(parent)->_layoutDirty) break; int32_t useReason = reason; if (uPtr(child)->HasMarginBox() && (reason > 1)) { int32_t mb = uPtr(parent)->IsMarginBoxDependent(child); if ((mb == 4) || (mb == 3)) { while ((maybeChild != NULL) && (maybeChild != parent)) { uPtr(maybeChild)->_layoutDirty = 2; maybeChild = uPtr(maybeChild)->Parent(); } maybeChild = NULL; } switch (mb) { case 0: { useReason = reason = 1; break; } case 1: { useReason = 2; reason = 1; break; } case 2: { useReason = 1; if (maybeChild == NULL) maybeChild = parent; break; } case 3: { useReason = 2; if (maybeChild == NULL) maybeChild = parent; break; } case 4: { reason = useReason = 2; break; } } } uPtr(parent)->OnInvalidateLayout(); if (useReason > parent->_layoutDirty) uPtr(parent)->_layoutDirty = useReason; child = parent; parent = uPtr(parent)->Parent(); } } // protected void InvalidateRenderBounds() [instance] :281 void Visual::InvalidateRenderBounds() { InvalidateVisual(); Visual* p = this; while (p != NULL) { if (uPtr(p)->OnInvalidateRenderBounds()) break; p = uPtr(p)->Parent(); } } // public void InvalidateVisual() [instance] :12 void Visual::InvalidateVisual() { if (_lastInvalidate == ::g::Fuse::UpdateManager::FrameIndex()) return; _lastInvalidate = ::g::Fuse::UpdateManager::FrameIndex(); OnInvalidateVisual(); if ((Parent() != NULL) && IsVisible()) uPtr(Parent())->InvalidateVisual(); } // public void InvalidateVisualComposition() [instance] :32 void Visual::InvalidateVisualComposition() { OnInvalidateVisualComposition(); Visual* p = Parent(); if (p != NULL) uPtr(p)->InvalidateVisual(); else InvalidateVisual(); } // private void InvalidateWorldTransform() [instance] :32 void Visual::InvalidateWorldTransform() { _worldTransformVersion++; if ((_worldTransform != NULL) || (_worldTransformInverse != NULL)) { _worldTransform = NULL; _worldTransformInverse = NULL; } if (::g::Uno::Delegate::op_Inequality(_worldTransformInvalidated1, NULL)) uPtr(_worldTransformInvalidated1)->Invoke(2, this, (::g::Uno::EventArgs*)::g::Uno::EventArgs::Empty()); if (_wtiListeners > 0) for (Visual* v = (Visual*)FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (Visual*)uPtr(v)->NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) uPtr(v)->InvalidateWorldTransform(); } // private void InvalidateZOrder() [instance] :85 void Visual::InvalidateZOrder() { _cachedZOrder = NULL; OnZOrderInvalidated(); } // private void InvokeEventHandler(object obj, object args) [instance] :38 void Visual::InvokeEventHandler(uObject* obj, uObject* args) { uPtr(uCast<uDelegate*>(obj, ::TYPES[20/*Uno.EventHandler*/]))->Invoke(2, this, uCast< ::g::Uno::EventArgs*>(args, ::g::Uno::EventArgs_typeof())); } // public bool get_IsContextEnabled() [instance] :58 bool Visual::IsContextEnabled() { return HasBit(2); } // public void add_IsContextEnabledChanged(Uno.EventHandler value) [instance] :15 void Visual::add_IsContextEnabledChanged(uDelegate* value) { AddEventHandler(Visual::_isContextEnabledChangedHandle_, 4, value); } // public void remove_IsContextEnabledChanged(Uno.EventHandler value) [instance] :16 void Visual::remove_IsContextEnabledChanged(uDelegate* value) { RemoveEventHandler(Visual::_isContextEnabledChangedHandle_, 4, value); } // public bool get_IsEnabled() [instance] :31 bool Visual::IsEnabled() { return HasBit(1); } // public void set_IsEnabled(bool value) [instance] :32 void Visual::IsEnabled(bool value) { if (value != IsEnabled()) { SetBit1(1, value); UpdateIsContextEnabledCache(); OnIsEnabledChanged((uObject*)this); } } // public generated void add_IsInteractingChanged(Uno.EventHandler value) [instance] :17 void Visual::add_IsInteractingChanged(uDelegate* value) { IsInteractingChanged1 = uCast<uDelegate*>(::g::Uno::Delegate::Combine(IsInteractingChanged1, value), ::TYPES[20/*Uno.EventHandler*/]); } // public generated void remove_IsInteractingChanged(Uno.EventHandler value) [instance] :17 void Visual::remove_IsInteractingChanged(uDelegate* value) { IsInteractingChanged1 = uCast<uDelegate*>(::g::Uno::Delegate::Remove(IsInteractingChanged1, value), ::TYPES[20/*Uno.EventHandler*/]); } // internal bool get_IsLocalFlat() [instance] :36 bool Visual::IsLocalFlat() { if (_isLocalFlatCached()) return _isLocalFlat(); _isLocalFlat(CalcIsLocalFlat()); _isLocalFlatCached(true); return _isLocalFlat(); } // public bool get_IsVisible() [instance] :26 bool Visual::IsVisible() { return _isVisibleCached; } // public void add_IsVisibleChanged(Uno.EventHandler value) [instance] :15 void Visual::add_IsVisibleChanged(uDelegate* value) { AddEventHandler(Visual::_isVisibleChangedHandle_, 5, value); } // public void remove_IsVisibleChanged(Uno.EventHandler value) [instance] :16 void Visual::remove_IsVisibleChanged(uDelegate* value) { RemoveEventHandler(Visual::_isVisibleChangedHandle_, 5, value); } // public T LastChild<T>() [instance] :50 ::g::Fuse::Node* Visual::LastChild(uType* __type) { ::g::Fuse::Node* c = _lastChild; while (c != NULL) { ::g::Fuse::Node* v = uAs< ::g::Fuse::Node*>(c, __type->U(0)); if (v != NULL) return v; c = (::g::Fuse::Node*)::g::Fuse::Internal::RawPointer::op_Explicit1(::g::Fuse::Internal::RawPointer_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL), uPtr(c)->_previousSibling); } return NULL; } // public Fuse.Layer get_Layer() [instance] :105 int32_t Visual::Layer() { uObject* v; if (uPtr(Properties())->TryGet(Visual::_layerProperty_, &v)) return uUnbox<int32_t>(::g::Fuse::Layer_typeof(), v); return 2; } // public void set_Layer(Fuse.Layer value) [instance] :112 void Visual::Layer(int32_t value) { if (Layer() != value) { uPtr(Properties())->Set(Visual::_layerProperty_, uBox<int32_t>(::g::Fuse::Layer_typeof(), value)); InvalidateLayout(2); if (Parent() != NULL) uPtr(Parent())->InvalidateZOrder(); } } // public Fuse.LayoutRole get_LayoutRole() [instance] :131 int32_t Visual::LayoutRole() { uObject* v; if (uPtr(Properties())->TryGet(Visual::_layoutRoleProperty_, &v)) return uUnbox<int32_t>(::g::Fuse::LayoutRole_typeof(), v); if (Layer() != 2) return 2; return 0; } // public void set_LayoutRole(Fuse.LayoutRole value) [instance] :143 void Visual::LayoutRole(int32_t value) { uObject* v; if (uPtr(Properties())->TryGet(Visual::_layoutRoleProperty_, &v) && (uUnbox<int32_t>(::g::Fuse::LayoutRole_typeof(), v) == value)) return; uPtr(Properties())->Set(Visual::_layoutRoleProperty_, uBox<int32_t>(::g::Fuse::LayoutRole_typeof(), value)); InvalidateLayout(2); } // public float4x4 get_LocalTransform() [instance] :140 ::g::Uno::Float4x4 Visual::LocalTransform() { return uPtr(LocalTransformInternal())->Matrix(); } // protected Fuse.FastMatrix get_LocalTransformInternal() [instance] :150 ::g::Fuse::FastMatrix* Visual::LocalTransformInternal() { if (_localTransform == NULL) { _localTransform = ::g::Fuse::FastMatrix::Identity(); PrependLocalTransform(_localTransform); } return _localTransform; } // private Fuse.FastMatrix get_LocalTransformInverseInternal() [instance] :169 ::g::Fuse::FastMatrix* Visual::LocalTransformInverseInternal() { if (_localTransformInverse == NULL) { _localTransformInverse = ::g::Fuse::FastMatrix::FromFloat4x4(LocalTransform()); uPtr(_localTransformInverse)->Invert(); } return _localTransformInverse; } // internal generated void add_LostMarginBox(Fuse.LostMarginBoxHandler value) [instance] :428 void Visual::add_LostMarginBox(uDelegate* value) { LostMarginBox1 = uCast<uDelegate*>(::g::Uno::Delegate::Combine(LostMarginBox1, value), ::g::Fuse::LostMarginBoxHandler_typeof()); } // internal generated void remove_LostMarginBox(Fuse.LostMarginBoxHandler value) [instance] :428 void Visual::remove_LostMarginBox(uDelegate* value) { LostMarginBox1 = uCast<uDelegate*>(::g::Uno::Delegate::Remove(LostMarginBox1, value), ::g::Fuse::LostMarginBoxHandler_typeof()); } // internal float2 get_MarginBoxPosition() [instance] :492 ::g::Uno::Float2 Visual::MarginBoxPosition() { return _ambPosition; } // private void OnAdded(Fuse.Node b) [instance] :128 void Visual::OnAdded(::g::Fuse::Node* b) { Visual* v = uAs<Visual*>(b, Visual_typeof()); if (v != NULL) OnVisualAdded(v); ::g::Fuse::Transform* t = uAs< ::g::Fuse::Transform*>(b, ::g::Fuse::Transform_typeof()); if (t != NULL) OnTransformAdded(t); ::g::Fuse::Node::Relate(this, b); OnChildAdded(b); } // protected void OnBeginRemoveVisual(Fuse.PendingRemoveVisual args) [instance] :107 void Visual::OnBeginRemoveVisual(::g::Fuse::PendingRemoveVisual* args) { SetBit1(268435456, true); for (::g::Fuse::Node* n = (::g::Fuse::Node*)FirstChild(Visual_typeof()->MakeMethod(2/*FirstChild<Fuse.Node>*/, ::TYPES[22/*Fuse.Node*/], NULL)); n != NULL; n = (::g::Fuse::Node*)uPtr(n)->NextSibling(::TYPES[22/*Fuse.Node*/]->MakeMethod(3/*NextSibling<Fuse.Node>*/, ::TYPES[22/*Fuse.Node*/], NULL))) { uObject* rvl = uAs<uObject*>(n, ::g::Fuse::IBeginRemoveVisualListener_typeof()); if (rvl != NULL) ::g::Fuse::IBeginRemoveVisualListener::OnBeginRemoveVisual(uInterface(uPtr(rvl), ::g::Fuse::IBeginRemoveVisualListener_typeof()), args); } } // protected internal void OnBringIntoView(Fuse.Visual elm) [instance] :521 void Visual::OnBringIntoView(Visual* elm) { if (::g::Uno::Delegate::op_Inequality(RequestBringIntoView1, NULL)) uPtr(RequestBringIntoView1)->Invoke(2, this, (::g::Fuse::RequestBringIntoViewArgs*)::g::Fuse::RequestBringIntoViewArgs::New2(elm)); if (Parent() != NULL) uPtr(Parent())->OnBringIntoView(elm); } // private void OnInteractionsChanged() [instance] :48 void Visual::OnInteractionsChanged() { if (::g::Uno::Delegate::op_Inequality(IsInteractingChanged1, NULL)) uPtr(IsInteractingChanged1)->Invoke(2, this, (::g::Uno::EventArgs*)::g::Uno::EventArgs::Empty()); } // private void OnIsEnabledChanged(Uno.UX.IPropertyListener origin) [instance] :43 void Visual::OnIsEnabledChanged(uObject* origin) { OnPropertyChanged1(Visual::_isEnabledName_, origin); } // protected void OnLocalVisibleChanged() [instance] :35 void Visual::OnLocalVisibleChanged() { UpdateIsVisibleCache(); } // private void OnMatrixChanged(Fuse.Transform t) [instance] :49 void Visual::OnMatrixChanged(::g::Fuse::Transform* t) { InvalidateLocalTransform(); } // private void OnMoved(Fuse.Node b) [instance] :152 void Visual::OnMoved(::g::Fuse::Node* b) { OnChildMoved(b); } // private void OnParameterChanged() [instance] :75 void Visual::OnParameterChanged() { ::g::Fuse::Scripting::Function* ret27; if (_parameterListeners != NULL) { uObject* so = uAs<uObject*>(this, ::g::Fuse::Scripting::IScriptObject_typeof()); if (so != NULL) { uObject* param = uPtr(::g::Fuse::Scripting::IScriptObject::ScriptContext(uInterface(uPtr(so), ::g::Fuse::Scripting::IScriptObject_typeof())))->ParseJson(_parameter); for (int32_t i = 0; i < uPtr(_parameterListeners)->Count(); i++) uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(_parameterListeners), uCRef<int32_t>(i), &ret27), ret27))->Call(::g::Fuse::Scripting::IScriptObject::ScriptContext(uInterface(uPtr(so), ::g::Fuse::Scripting::IScriptObject_typeof())), uArray::Init<uObject*>(::TYPES[7/*object[]*/], 1, param)); } } OnPropertyChanged(Visual::ParameterName_); RaiseEvent(Visual::_parameterChangedHandle_, 11); } // private void OnRemoved(Fuse.Node b) [instance] :140 void Visual::OnRemoved(::g::Fuse::Node* b) { Visual* v = uAs<Visual*>(b, Visual_typeof()); if (v != NULL) OnVisualRemoved(v); ::g::Fuse::Transform* t = uAs< ::g::Fuse::Transform*>(b, ::g::Fuse::Transform_typeof()); if (t != NULL) OnTransformRemoved(t); ::g::Fuse::Node::Unrelate(this, b); OnChildRemoved(b); } // private void OnResourceChanged(Uno.UX.Resource res) [instance] :97 void Visual::OnResourceChanged(::g::Uno::UX::Resource* res) { ::g::Fuse::Resources::ResourceRegistry::NotifyResourceChanged(uPtr(res)->Key()); } // private void OnTransformAdded(Fuse.Transform t) [instance] :35 void Visual::OnTransformAdded(::g::Fuse::Transform* t) { _transformCount++; uPtr(t)->add_MatrixChanged(uDelegate::New(::TYPES[67/*Uno.Action<Fuse.Transform>*/], (void*)Visual__OnMatrixChanged_fn, this)); OnMatrixChanged(t); } // private void OnTransformRemoved(Fuse.Transform t) [instance] :42 void Visual::OnTransformRemoved(::g::Fuse::Transform* t) { _transformCount--; uPtr(t)->remove_MatrixChanged(uDelegate::New(::TYPES[67/*Uno.Action<Fuse.Transform>*/], (void*)Visual__OnMatrixChanged_fn, this)); OnMatrixChanged(t); } // private void OnVisualAdded(Fuse.Visual v) [instance] :157 void Visual::OnVisualAdded(Visual* v) { InvalidateHitTestBounds(); InvalidateRenderBounds(); } // private void OnVisualRemoved(Fuse.Visual v) [instance] :163 void Visual::OnVisualRemoved(Visual* v) { uPtr(v)->CancelPendingRemove(); InvalidateHitTestBounds(); InvalidateRenderBounds(); } // public string get_Parameter() [instance] :34 uString* Visual::Parameter() { return _parameter; } // public void set_Parameter(string value) [instance] :35 void Visual::Parameter(uString* value) { if (::g::Uno::String::op_Inequality(_parameter, value)) { _parameter = value; OnParameterChanged(); } } // public void add_ParameterChanged(Uno.EventHandler value) [instance] :51 void Visual::add_ParameterChanged(uDelegate* value) { AddEventHandler(Visual::_parameterChangedHandle_, 11, value); } // public void remove_ParameterChanged(Uno.EventHandler value) [instance] :52 void Visual::remove_ParameterChanged(uDelegate* value) { RemoveEventHandler(Visual::_parameterChangedHandle_, 11, value); } // internal Fuse.FastMatrix get_ParentWorldTransformInternal() [instance] :134 ::g::Fuse::FastMatrix* Visual::ParentWorldTransformInternal() { return WorldTransformInternal(); } // protected void PerformLayout() [instance] :357 void Visual::PerformLayout() { PerformLayout1(::g::Fuse::ICommonViewport::Size(uInterface(uPtr(Viewport()), ::TYPES[19/*Fuse.ICommonViewport*/]))); } // protected void PerformLayout(float2 clientSize) [instance] :365 void Visual::PerformLayout1(::g::Uno::Float2 clientSize) { if ((_cachedRenderTargetSize.X != clientSize.X) || (_cachedRenderTargetSize.Y != clientSize.Y)) { _cachedRenderTargetSize = clientSize; InvalidateLayout(2); } if (_layoutDirty != 0) { Visual::_performingLayout_ = true; { try { { if (_layoutDirty == 2) { ::g::Uno::Float2 availableSize = clientSize; ::g::Uno::Float2 offset = ::g::Uno::Float2__New1(0.0f); ArrangeMarginBox(offset, ::g::Fuse::LayoutParams__Create(availableSize)); } else UpdateLayout(); } } catch (const uThrowable& __t) { { Visual::_performingLayout_ = false; } throw __t; goto __after_finally_11; } { Visual::_performingLayout_ = false; } __after_finally_11:; } } } // private void PrependExplicitTransforms(Fuse.FastMatrix m) [instance] :240 void Visual::PrependExplicitTransforms(::g::Fuse::FastMatrix* m) { if (HasExplicitTransforms()) { PrependTransformOrigin(m); for (::g::Fuse::Transform* t = (::g::Fuse::Transform*)FirstChild(Visual_typeof()->MakeMethod(2/*FirstChild<Fuse.Transform>*/, ::g::Fuse::Transform_typeof(), NULL)); t != NULL; t = (::g::Fuse::Transform*)uPtr(t)->NextSibling(::TYPES[22/*Fuse.Node*/]->MakeMethod(3/*NextSibling<Fuse.Transform>*/, ::g::Fuse::Transform_typeof(), NULL))) uPtr(t)->PrependTo(m); PrependInverseTransformOrigin(m); } } // private void PrependLocalTransform(Fuse.FastMatrix m) [instance] :234 void Visual::PrependLocalTransform(::g::Fuse::FastMatrix* m) { PrependImplicitTransform(m); PrependExplicitTransforms(m); } // private void RaiseEvent(Fuse.PropertyHandle ph, Fuse.Visual.VisualBits ne) [instance] :33 void Visual::RaiseEvent(::g::Fuse::PropertyHandle* ph, int32_t ne) { if (HasBit2(ne)) uPtr(Properties())->ForeachInList1(ph, uDelegate::New(::g::Uno::Action2_typeof()->MakeType(uObject_typeof(), uObject_typeof(), NULL), (void*)Visual__InvokeEventHandler_fn, this), ::g::Uno::EventArgs::Empty()); } // private void RearrangeMarginBox() [instance] :439 void Visual::RearrangeMarginBox() { if (!HasMarginBox()) U_THROW(::g::Uno::Exception::New2(uString::Const("Invalid call to RearrangeMarginBox"))); ArrangeMarginBox(_ambPosition, _ambLayoutParams); } // public bool Remove(Fuse.Node item) [instance] :184 bool Visual::Remove1(::g::Fuse::Node* item) { if (Children_Remove(item)) { OnRemoved(item); return true; } return false; } // public void RemoveAllChildren<T>() [instance] :66 void Visual::RemoveAllChildren(uType* __type) { ::g::Fuse::Node* ret30; uObject* enum1 = (uObject*)::g::Uno::Collections::IEnumerable::GetEnumerator(uInterface(uPtr(Children()), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL))); { try { { while (::g::Uno::Collections::IEnumerator::MoveNext(uInterface(uPtr(enum1), ::TYPES[26/*Uno.Collections.IEnumerator*/]))) { ::g::Fuse::Node* c = (::g::Uno::Collections::IEnumerator1::get_Current_ex(uInterface(uPtr(enum1), ::g::Uno::Collections::IEnumerator1_typeof()->MakeType(::TYPES[22/*Fuse.Node*/], NULL)), &ret30), ret30); if (uIs(c, __type->U(0))) Remove1(c); } } } catch (const uThrowable& __t) { { ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum1), ::TYPES[28/*Uno.IDisposable*/])); } throw __t; goto __after_finally_12; } { ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum1), ::TYPES[28/*Uno.IDisposable*/])); } __after_finally_12:; } } // public void RemoveDrawCost(double cost) [instance] :80 void Visual::RemoveDrawCost(double cost) { Visual* p = this; while (p != NULL) { uPtr(p)->_drawCost = (uPtr(p)->_drawCost - cost); p = uPtr(p)->Parent(); } } // private void RemoveEventHandler(Fuse.PropertyHandle ph, Fuse.Visual.VisualBits ne, object handler) [instance] :50 void Visual::RemoveEventHandler(::g::Fuse::PropertyHandle* ph, int32_t ne, uObject* handler) { uPtr(Properties())->RemoveFromList(ph, handler); uObject* foo; if (!uPtr(Properties())->TryGet(ph, &foo)) ClearBit2(ne); } // public generated void add_RequestBringIntoView(Fuse.RequestBringIntoViewHandler value) [instance] :519 void Visual::add_RequestBringIntoView(uDelegate* value) { RequestBringIntoView1 = uCast<uDelegate*>(::g::Uno::Delegate::Combine(RequestBringIntoView1, value), ::g::Fuse::RequestBringIntoViewHandler_typeof()); } // public generated void remove_RequestBringIntoView(Fuse.RequestBringIntoViewHandler value) [instance] :519 void Visual::remove_RequestBringIntoView(uDelegate* value) { RequestBringIntoView1 = uCast<uDelegate*>(::g::Uno::Delegate::Remove(RequestBringIntoView1, value), ::g::Fuse::RequestBringIntoViewHandler_typeof()); } // private void ResetParameterListeners() [instance] :91 void Visual::ResetParameterListeners() { _parameterListeners = NULL; } // public Uno.Collections.IList<Uno.UX.Resource> get_Resources() [instance] :16 uObject* Visual::Resources() { if (!HasResources()) { SetBit4(1); ::g::Uno::Collections::RootableList* list = (::g::Uno::Collections::RootableList*)::g::Uno::Collections::RootableList::New1(::g::Uno::Collections::RootableList_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL)); if (IsRootingCompleted()) uPtr(list)->Subscribe(uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL), (void*)Visual__OnResourceChanged_fn, this), uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL), (void*)Visual__OnResourceChanged_fn, this)); uPtr(Properties())->Set(Visual::_resourcesHandle_, list); } return (uObject*)uPtr(Properties())->Get(Visual::_resourcesHandle_); } // private void RootResources() [instance] :30 void Visual::RootResources() { ::g::Uno::UX::Resource* ret31; if (HasResources()) { ::g::Uno::Collections::RootableList* list = uCast< ::g::Uno::Collections::RootableList*>(Resources(), ::g::Uno::Collections::RootableList_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL)); uPtr(list)->Subscribe(uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL), (void*)Visual__OnResourceChanged_fn, this), uDelegate::New(::g::Uno::Action1_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL), (void*)Visual__OnResourceChanged_fn, this)); for (int32_t i = 0; i < list->Count(); ++i) OnResourceChanged((::g::Uno::Collections::RootableList__get_Item_fn(uPtr(list), uCRef<int32_t>(i), &ret31), ret31)); } } // public void SendToBack(Fuse.Visual item) [instance] :67 void Visual::SendToBack(Visual* item) { AssignNaturalZOrder(); int32_t minNaturalZOrder = 2147483647; for (Visual* v = (Visual*)FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (Visual*)uPtr(v)->NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) if (((v != item) && (uPtr(v)->Layer() == uPtr(item)->Layer())) && (uPtr(v)->_naturalZOrder < minNaturalZOrder)) minNaturalZOrder = uPtr(v)->_naturalZOrder; if ((minNaturalZOrder != 2147483647) && ((minNaturalZOrder - 1) != uPtr(item)->_naturalZOrder)) { uPtr(item)->_naturalZOrder = (minNaturalZOrder - 1); item->_zOrderFixed = true; InvalidateZOrder(); } } // internal void SetBit(Fuse.FastProperty1 p) [instance] :113 void Visual::SetBit(int32_t p) { _fastPropertyBits1 = (_fastPropertyBits1 | p); } // internal void SetBit(Fuse.FastProperty1 p, bool value) [instance] :118 void Visual::SetBit1(int32_t p, bool value) { if (value) SetBit(p); else ClearBit(p); } // internal void SetBit(Fuse.FastProperty2 p) [instance] :92 void Visual::SetBit2(int32_t p) { _fastPropertyBits2 = (_fastPropertyBits2 | p); } // internal void SetBit(Fuse.FastProperty2 p, bool value) [instance] :97 void Visual::SetBit3(int32_t p, bool value) { if (value) SetBit2(p); else ClearBit1(p); } // private void SetBit(Fuse.Visual.VisualBits nb) [instance] :30 void Visual::SetBit4(int32_t nb) { _nodebits = (_nodebits | (1 << nb)); } // public void SetResource(string key, object value) [instance] :53 void Visual::SetResource(uString* key, uObject* value) { ::g::Uno::UX::Resource* ret32; uObject* resources = Resources(); for (int32_t i = 0; i < ::g::Uno::Collections::ICollection::Count(uInterface(uPtr(resources), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL))); ++i) { ::g::Uno::UX::Resource* r = (::g::Uno::Collections::IList::get_Item_ex(uInterface(uPtr(resources), ::g::Uno::Collections::IList_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL)), uCRef<int32_t>(i), &ret32), ret32); if (::g::Uno::String::op_Equality(uPtr(r)->Key(), key)) { ::g::Uno::Collections::IList::RemoveAt(uInterface(uPtr(resources), ::g::Uno::Collections::IList_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL)), i); break; } } ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(resources), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL)), ::g::Uno::UX::Resource::New1(key, value)); } // internal bool get_ShouldRootChildren() [instance] :95 bool Visual::ShouldRootChildren() { return IsRootingStarted() && _childrenShouldRoot; } // protected float2 Snap(float2 p) [instance] :272 ::g::Uno::Float2 Visual::Snap(::g::Uno::Float2 p) { ::g::Uno::Float2 s = ::g::Uno::Float2__op_Division1(::g::Uno::Math::Floor2(::g::Uno::Float2__op_Addition1(::g::Uno::Float2__op_Multiply1(p, AbsoluteZoom()), 0.5f)), AbsoluteZoom()); return s; } // protected float2 SnapDown(float2 p) [instance] :297 ::g::Uno::Float2 Visual::SnapDown(::g::Uno::Float2 p) { ::g::Uno::Float2 s = ::g::Uno::Float2__op_Division1(::g::Uno::Math::Floor2(::g::Uno::Float2__op_Addition1(::g::Uno::Float2__op_Multiply1(p, AbsoluteZoom()), 0.005f)), AbsoluteZoom()); return s; } // public bool get_SnapToPixels() [instance] :325 bool Visual::SnapToPixels() { return HasBit(67108864); } // public void set_SnapToPixels(bool value) [instance] :329 void Visual::SnapToPixels(bool value) { if ((SnapToPixels() != value) || !HasBit(134217728)) { SetBit(134217728); SetBit1(33554432, value); UpdateContextSnapToPixelsCache(); InvalidateLayout(2); } } // protected float2 SnapUp(float2 p) [instance] :291 ::g::Uno::Float2 Visual::SnapUp(::g::Uno::Float2 p) { ::g::Uno::Float2 s = ::g::Uno::Float2__op_Division1(::g::Uno::Math::Ceil2(::g::Uno::Float2__op_Subtraction1(::g::Uno::Float2__op_Multiply1(p, AbsoluteZoom()), 0.005f)), AbsoluteZoom()); return s; } // public Uno.Collections.IList<Uno.UX.Template> get_Templates() [instance] :69 uObject* Visual::Templates() { return (uObject*)_templates.Templates(); } // public bool TryParentToLocal(float2 parentPoint, float2& result) [instance] :183 bool Visual::TryParentToLocal(::g::Uno::Float2 parentPoint, ::g::Uno::Float2* result) { ::g::Uno::Float2 parentPoint_ = parentPoint; ::g::Fuse::FastMatrix* t = LocalTransformInverseInternal(); *result = ::g::Uno::Vector::TransformCoordinate(parentPoint_, uPtr(t)->Matrix()); return t->IsValid(); } // private void UnrootResources() [instance] :44 void Visual::UnrootResources() { if (HasResources()) { ::g::Uno::Collections::RootableList* list = uCast< ::g::Uno::Collections::RootableList*>(Resources(), ::g::Uno::Collections::RootableList_typeof()->MakeType(::g::Uno::UX::Resource_typeof(), NULL)); uPtr(list)->Unsubscribe(); } } // private void UpdateContextSnapToPixelsCache() [instance] :341 void Visual::UpdateContextSnapToPixelsCache() { bool newValue = HasBit(134217728) ? HasBit(33554432) : (Parent() != NULL) ? uPtr(Parent())->SnapToPixels() : true; if (newValue != SnapToPixels()) { SetBit1(67108864, newValue); for (Visual* v = (Visual*)FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (Visual*)uPtr(v)->NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) uPtr(v)->UpdateContextSnapToPixelsCache(); } } // private void UpdateIsContextEnabledCache() [instance] :61 void Visual::UpdateIsContextEnabledCache() { bool newValue = IsEnabled() && ((Parent() == NULL) || uPtr(Parent())->IsContextEnabled()); if (IsContextEnabled() != newValue) { SetBit1(2, newValue); OnIsContextEnabledChanged(); for (Visual* v = (Visual*)FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (Visual*)uPtr(v)->NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) uPtr(v)->UpdateIsContextEnabledCache(); } } // private void UpdateIsVisibleCache() [instance] :40 void Visual::UpdateIsVisibleCache() { bool newValue = IsLocalVisible() && ((Parent() == NULL) || uPtr(Parent())->IsVisible()); if (_isVisibleCached != newValue) { _isVisibleCached = newValue; OnIsVisibleChanged(); for (Visual* v = (Visual*)FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (Visual*)uPtr(v)->NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) uPtr(v)->UpdateIsVisibleCache(); } } // private void UpdateLayout() [instance] :399 void Visual::UpdateLayout() { switch (_layoutDirty) { case 0: break; case 1: { for (Visual* v = (Visual*)FirstChild(::TYPES[57/*Fuse.Visual.FirstChild<Fuse.Visual>*/]); v != NULL; v = (Visual*)uPtr(v)->NextSibling(::TYPES[58/*Fuse.Node.NextSibling<Fuse.Visual>*/])) uPtr(v)->UpdateLayout(); break; } case 2: { RearrangeMarginBox(); break; } } _layoutDirty = 0; } // public int get_ValidFrameCount() [instance] :49 int32_t Visual::ValidFrameCount() { return ::g::Fuse::UpdateManager::FrameIndex() - _lastInvalidate; } // public generated Fuse.Controls.Native.ViewHandle get_ViewHandle() [instance] :49 ::g::Fuse::Controls::Native::ViewHandle* Visual::ViewHandle() { return _ViewHandle; } // internal generated void set_ViewHandle(Fuse.Controls.Native.ViewHandle value) [instance] :49 void Visual::ViewHandle(::g::Fuse::Controls::Native::ViewHandle* value) { _ViewHandle = value; } // public Fuse.IViewport get_Viewport() [instance] :215 uObject* Visual::Viewport() { uObject* ind8; ind8 = _viewport; return (ind8 != NULL) ? ind8 : (uObject*)FindViewport(); } // public int get_VisualChildCount() [instance] :73 int32_t Visual::VisualChildCount() { return _visualChildCount; } // internal Uno.Collections.IEnumerable<Fuse.Visual> get_VisualChildren() [instance] :22 uObject* Visual::VisualChildren() { return (uObject*)this; } // public float2 WindowToLocal(float2 windowCoord) [instance] :253 ::g::Uno::Float2 Visual::WindowToLocal(::g::Uno::Float2 windowCoord) { ::g::Uno::Float3 ind6; if (HitTestTransform() == 0) { ::g::Uno::Float2 parentCoord = (Parent() == NULL) ? windowCoord : uPtr(Parent())->WindowToLocal(windowCoord); ind6 = uPtr(LocalTransformInverseInternal())->TransformVector(::g::Uno::Float3__New4(parentCoord, 0.0f)); return ::g::Uno::Float2__New2(ind6.X, ind6.Y); } else { ::g::Fuse::Ray world = ::g::Fuse::IViewport::PointToWorldRay(uInterface(uPtr(Viewport()), ::g::Fuse::IViewport_typeof()), windowCoord); ::g::Fuse::Ray local = ::g::Fuse::IViewport::WorldToLocalRay(uInterface(uPtr(Viewport()), ::g::Fuse::IViewport_typeof()), Viewport(), world, this); return ::g::Fuse::ViewportHelpers::LocalPlaneIntersection(local); } } // public float4x4 get_WorldTransform() [instance] :82 ::g::Uno::Float4x4 Visual::WorldTransform() { return uPtr(WorldTransformInternal())->Matrix(); } // private Fuse.FastMatrix get_WorldTransformInternal() [instance] :121 ::g::Fuse::FastMatrix* Visual::WorldTransformInternal() { if (_worldTransform != NULL) CheckWorldTransformVersion(); if (_worldTransform == NULL) _worldTransform = CalcWorldTransform(); return _worldTransform; } // public void add_WorldTransformInvalidated(Uno.EventHandler value) [instance] :56 void Visual::add_WorldTransformInvalidated(uDelegate* value) { if (::g::Uno::Delegate::op_Equality(_worldTransformInvalidated1, NULL) && _wtiRooted) IncrementWTIListener(); add__worldTransformInvalidated(value); } // public void remove_WorldTransformInvalidated(Uno.EventHandler value) [instance] :63 void Visual::remove_WorldTransformInvalidated(uDelegate* value) { remove__worldTransformInvalidated(value); if (::g::Uno::Delegate::op_Equality(_worldTransformInvalidated1, NULL) && _wtiRooted) DecrementWTIListener(); } // public float4x4 get_WorldTransformInverse() [instance] :66 ::g::Uno::Float4x4 Visual::WorldTransformInverse() { if (_worldTransformInverse != NULL) CheckWorldTransformVersion(); if (_worldTransformInverse == NULL) { _worldTransformInverse = uPtr(WorldTransformInternal())->Copy(); uPtr(_worldTransformInverse)->Invert(); } return uPtr(_worldTransformInverse)->Matrix(); } // private void WTIRooted() [instance] :74 void Visual::WTIRooted() { _wtiRooted = true; if (_wtiListeners != 0) U_THROW(::g::Uno::Exception::New1()); if (::g::Uno::Delegate::op_Inequality(_worldTransformInvalidated1, NULL)) IncrementWTIListener(); } // private void WTIUnrooted() [instance] :84 void Visual::WTIUnrooted() { _wtiRooted = false; if (::g::Uno::Delegate::op_Inequality(_worldTransformInvalidated1, NULL)) DecrementWTIListener(); if (_wtiListeners != 0) U_THROW(::g::Uno::Exception::New1()); } // public float get_ZOffset() [instance] :21 float Visual::ZOffset() { return _zOffset; } // public void set_ZOffset(float value) [instance] :22 void Visual::ZOffset(float value) { if (_zOffset == value) return; _zOffset = value; if (Parent() != NULL) uPtr(Parent())->InvalidateZOrder(); } // private static void bringIntoView(Fuse.Visual n) [static] :43 void Visual::bringIntoView(Visual* n) { Visual_typeof()->Init(); uPtr(n)->BringIntoView(); } // private static Uno.UX.Property<string> getParameterProperty(Fuse.Visual v) [static] :31 ::g::Uno::UX::Property1* Visual::getParameterProperty(Visual* v) { Visual_typeof()->Init(); if (uPtr(v)->_parameterProperty == NULL) uPtr(v)->_parameterProperty = Visual__ParameterProperty::New1(v); return uPtr(v)->_parameterProperty; } // private static void onParameterChanged(Fuse.Visual v, object[] args) [static] :69 void Visual::onParameterChanged(Visual* v, uArray* args) { Visual_typeof()->Init(); uObject* functionMirror = uAs<uObject*>(uPtr(args)->Strong<uObject*>(0), ::g::Fuse::Scripting::IFunctionMirror_typeof()); if (functionMirror != NULL) uPtr(v)->AddParameterChangedListener(::g::Fuse::Scripting::IFunctionMirror::Function(uInterface(uPtr(functionMirror), ::g::Fuse::Scripting::IFunctionMirror_typeof()))); } // private static int ZOrderComparator(Fuse.Visual a, Fuse.Visual b) [static] :128 int32_t Visual::ZOrderComparator(Visual* a, Visual* b) { Visual_typeof()->Init(); if (uPtr(a)->Layer() != uPtr(b)->Layer()) return uPtr(a)->Layer() - uPtr(b)->Layer(); if (uPtr(a)->ZOffset() != uPtr(b)->ZOffset()) return (uPtr(a)->ZOffset() > uPtr(b)->ZOffset()) ? 1 : -1; return uPtr(a)->_naturalZOrder - uPtr(b)->_naturalZOrder; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.EventStorage.uno // ------------------------------------------------------------------------------------------ // private enum Visual.VisualBits :13 uEnumType* Visual__VisualBits_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.Visual.VisualBits", ::g::Uno::Int_typeof(), 12); type->SetLiterals( "Styled", 0LL, "Resources", 1LL, "ResourceChanged", 2LL, "Style", 3LL, "IsContextEnabledChanged", 4LL, "IsVisibleChanged", 5LL, "Added", 6LL, "Removed", 7LL, "Rooted", 8LL, "Unrooted", 9LL, "WorldTransformInvalidated", 10LL, "ParameterChanged", 11LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\VisualBounds.uno // ----------------------------------------------------------------------------------- // public sealed class VisualBounds :12 // { // static generated VisualBounds() :12 static void VisualBounds__cctor__fn(uType* __type) { VisualBounds::_empty_ = VisualBounds::New1(); VisualBounds::_infinite_ = VisualBounds::New1(); } static void VisualBounds_build(uType* type) { type->SetDependencies( ::g::Uno::Math_typeof()); type->SetFields(0, ::g::Fuse::Box_typeof(), offsetof(VisualBounds, _box), 0, type, (uintptr_t)&VisualBounds::_empty_, uFieldFlagsStatic, type, (uintptr_t)&VisualBounds::_infinite_, uFieldFlagsStatic); } uType* VisualBounds_typeof() { static uSStrong<uType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 3; options.DependencyCount = 1; options.ObjectSize = sizeof(VisualBounds); options.TypeSize = sizeof(uType); type = uClassType::New("Fuse.VisualBounds", options); type->fp_build_ = VisualBounds_build; type->fp_ctor_ = (void*)VisualBounds__New1_fn; type->fp_cctor_ = VisualBounds__cctor__fn; return type; } // private VisualBounds() :14 void VisualBounds__ctor__fn(VisualBounds* __this) { __this->ctor_(); } // public Fuse.VisualBounds AddRect(float2 mn, float2 mx) :100 void VisualBounds__AddRect_fn(VisualBounds* __this, ::g::Uno::Float2* mn, ::g::Uno::Float2* mx, VisualBounds** __retval) { *__retval = __this->AddRect(*mn, *mx); } // public Fuse.VisualBounds AddRect(Uno.Rect r) :105 void VisualBounds__AddRect1_fn(VisualBounds* __this, ::g::Uno::Rect* r, VisualBounds** __retval) { *__retval = __this->AddRect1(*r); } // public float3 get_AxisMax() :77 void VisualBounds__get_AxisMax_fn(VisualBounds* __this, ::g::Uno::Float3* __retval) { *__retval = __this->AxisMax(); } // public float3 get_AxisMin() :76 void VisualBounds__get_AxisMin_fn(VisualBounds* __this, ::g::Uno::Float3* __retval) { *__retval = __this->AxisMin(); } // public static Fuse.VisualBounds Box(Fuse.Box a) :67 void VisualBounds__Box_fn(::g::Fuse::Box* a, VisualBounds** __retval) { *__retval = VisualBounds::Box(*a); } // public static Fuse.Box BoxTransform(Fuse.Box box, Fuse.FastMatrix matrix) :299 void VisualBounds__BoxTransform1_fn(::g::Fuse::Box* box, ::g::Fuse::FastMatrix* matrix, ::g::Fuse::Box* __retval) { *__retval = VisualBounds::BoxTransform1(*box, matrix); } // public bool ContainsPoint(float2 pt) :233 void VisualBounds__ContainsPoint_fn(VisualBounds* __this, ::g::Uno::Float2* pt, bool* __retval) { *__retval = __this->ContainsPoint(*pt); } // public static Fuse.VisualBounds get_Empty() :19 void VisualBounds__get_Empty_fn(VisualBounds** __retval) { *__retval = VisualBounds::Empty(); } // public Uno.Rect get_FlatRect() :82 void VisualBounds__get_FlatRect_fn(VisualBounds* __this, ::g::Uno::Rect* __retval) { *__retval = __this->FlatRect(); } // public static Fuse.VisualBounds get_Infinite() :30 void VisualBounds__get_Infinite_fn(VisualBounds** __retval) { *__retval = VisualBounds::Infinite(); } // public Fuse.VisualBounds InflateXY(float padding) :113 void VisualBounds__InflateXY_fn(VisualBounds* __this, float* padding, VisualBounds** __retval) { *__retval = __this->InflateXY(*padding); } // public bool IntersectsRay(Fuse.Ray ray) :245 void VisualBounds__IntersectsRay_fn(VisualBounds* __this, ::g::Fuse::Ray* ray, bool* __retval) { *__retval = __this->IntersectsRay(*ray); } // public Fuse.VisualBounds IntersectXY(Fuse.VisualBounds nb) :209 void VisualBounds__IntersectXY_fn(VisualBounds* __this, VisualBounds* nb, VisualBounds** __retval) { *__retval = __this->IntersectXY(nb); } // public bool get_IsEmpty() :24 void VisualBounds__get_IsEmpty_fn(VisualBounds* __this, bool* __retval) { *__retval = __this->IsEmpty(); } // public bool get_IsFlat() :87 void VisualBounds__get_IsFlat_fn(VisualBounds* __this, bool* __retval) { *__retval = __this->IsFlat(); } // public bool get_IsInfinite() :35 void VisualBounds__get_IsInfinite_fn(VisualBounds* __this, bool* __retval) { *__retval = __this->IsInfinite(); } // private static float Max8(float a, float b, float c, float d, float e, float f, float g, float h) :285 void VisualBounds__Max8_fn(float* a, float* b, float* c, float* d, float* e, float* f, float* g, float* h, float* __retval) { *__retval = VisualBounds::Max8(*a, *b, *c, *d, *e, *f, *g, *h); } // public Fuse.VisualBounds Merge(Fuse.VisualBounds nb, [Fuse.FastMatrix trans]) :185 void VisualBounds__Merge_fn(VisualBounds* __this, VisualBounds* nb, ::g::Fuse::FastMatrix* trans, VisualBounds** __retval) { *__retval = __this->Merge(nb, trans); } // internal static Fuse.VisualBounds Merge(Uno.Collections.IEnumerable<Fuse.Visual> visuals, Fuse.VisualBounds.Type bt) :330 void VisualBounds__Merge1_fn(uObject* visuals, int32_t* bt, VisualBounds** __retval) { *__retval = VisualBounds::Merge1(visuals, *bt); } // public Fuse.VisualBounds MergeChild(Fuse.Visual child, Fuse.VisualBounds nb) :228 void VisualBounds__MergeChild_fn(VisualBounds* __this, ::g::Fuse::Visual* child, VisualBounds* nb, VisualBounds** __retval) { *__retval = __this->MergeChild(child, nb); } // private static float Min8(float a, float b, float c, float d, float e, float f, float g, float h) :272 void VisualBounds__Min8_fn(float* a, float* b, float* c, float* d, float* e, float* f, float* g, float* h, float* __retval) { *__retval = VisualBounds::Min8(*a, *b, *c, *d, *e, *f, *g, *h); } // private VisualBounds New() :14 void VisualBounds__New1_fn(VisualBounds** __retval) { *__retval = VisualBounds::New1(); } // public static implicit operator Fuse.Box(Fuse.VisualBounds vb) :46 void VisualBounds__op_Implicit1_fn(VisualBounds* vb, ::g::Fuse::Box* __retval) { *__retval = VisualBounds::op_Implicit1(vb); } // public static Fuse.VisualBounds Rect(float2 a, float2 b) :62 void VisualBounds__Rect_fn(::g::Uno::Float2* a, ::g::Uno::Float2* b, VisualBounds** __retval) { *__retval = VisualBounds::Rect(*a, *b); } // public static Fuse.VisualBounds Rect(float3 a, float3 b) :54 void VisualBounds__Rect1_fn(::g::Uno::Float3* a, ::g::Uno::Float3* b, VisualBounds** __retval) { *__retval = VisualBounds::Rect1(*a, *b); } // public Fuse.VisualBounds Scale(float3 factor) :128 void VisualBounds__Scale_fn(VisualBounds* __this, ::g::Uno::Float3* factor, VisualBounds** __retval) { *__retval = __this->Scale(*factor); } // public float3 get_Size() :78 void VisualBounds__get_Size_fn(VisualBounds* __this, ::g::Uno::Float3* __retval) { *__retval = __this->Size(); } // public Fuse.VisualBounds Translate(float3 offset) :140 void VisualBounds__Translate_fn(VisualBounds* __this, ::g::Uno::Float3* offset, VisualBounds** __retval) { *__retval = __this->Translate(*offset); } uSStrong<VisualBounds*> VisualBounds::_empty_; uSStrong<VisualBounds*> VisualBounds::_infinite_; // private VisualBounds() [instance] :14 void VisualBounds::ctor_() { } // public Fuse.VisualBounds AddRect(float2 mn, float2 mx) [instance] :100 VisualBounds* VisualBounds::AddRect(::g::Uno::Float2 mn, ::g::Uno::Float2 mx) { return Merge(VisualBounds::Rect1(::g::Uno::Float3__New4(mn, 0.0f), ::g::Uno::Float3__New4(mx, 0.0f)), NULL); } // public Fuse.VisualBounds AddRect(Uno.Rect r) [instance] :105 VisualBounds* VisualBounds::AddRect1(::g::Uno::Rect r) { return AddRect(r.Minimum(), r.Maximum()); } // public float3 get_AxisMax() [instance] :77 ::g::Uno::Float3 VisualBounds::AxisMax() { return _box.Maximum; } // public float3 get_AxisMin() [instance] :76 ::g::Uno::Float3 VisualBounds::AxisMin() { return _box.Minimum; } // public bool ContainsPoint(float2 pt) [instance] :233 bool VisualBounds::ContainsPoint(::g::Uno::Float2 pt) { if (IsEmpty()) return false; if (IsInfinite()) return true; return (((((_box.Minimum.X <= pt.X) && (_box.Minimum.Y <= pt.Y)) && (_box.Maximum.X >= pt.X)) && (_box.Maximum.Y >= pt.Y)) && (_box.Minimum.Z <= 0.0f)) && (_box.Maximum.Z >= 0.0f); } // public Uno.Rect get_FlatRect() [instance] :82 ::g::Uno::Rect VisualBounds::FlatRect() { ::g::Uno::Float3 ind2; ::g::Uno::Float3 ind3; return ::g::Uno::Rect__New2((ind2 = AxisMin(), ::g::Uno::Float2__New2(ind2.X, ind2.Y)), (ind3 = Size(), ::g::Uno::Float2__New2(ind3.X, ind3.Y))); } // public Fuse.VisualBounds InflateXY(float padding) [instance] :113 VisualBounds* VisualBounds::InflateXY(float padding) { if (IsInfinite()) return VisualBounds::_infinite_; if (IsEmpty()) return VisualBounds::Rect(::g::Uno::Float2__New1(-padding), ::g::Uno::Float2__New1(padding)); ::g::Fuse::Box add = _box; add.Minimum = ::g::Uno::Float3__op_Subtraction2(add.Minimum, ::g::Uno::Float3__New2(padding, padding, 0.0f)); add.Maximum = ::g::Uno::Float3__op_Addition2(add.Maximum, ::g::Uno::Float3__New2(padding, padding, 0.0f)); return VisualBounds::Box(add); } // public bool IntersectsRay(Fuse.Ray ray) [instance] :245 bool VisualBounds::IntersectsRay(::g::Fuse::Ray ray) { if (IsEmpty()) return false; if (IsInfinite()) return true; float distance; return ::g::Fuse::Collision::RayIntersectsBox(ray, _box, &distance); } // public Fuse.VisualBounds IntersectXY(Fuse.VisualBounds nb) [instance] :209 VisualBounds* VisualBounds::IntersectXY(VisualBounds* nb) { if (uPtr(nb)->IsEmpty() || IsEmpty()) return VisualBounds::_empty_; if (uPtr(nb)->IsInfinite() || IsInfinite()) return VisualBounds::_infinite_; ::g::Uno::Float3 mn = ::g::Uno::Math::Max5(AxisMin(), uPtr(nb)->AxisMin()); ::g::Uno::Float3 mx = ::g::Uno::Math::Min5(AxisMax(), nb->AxisMax()); if ((mn.X >= mx.X) || (mn.Y >= mx.Y)) return VisualBounds::_empty_; if (mn.Z > mx.Z) mx.Z = mn.Z; return VisualBounds::Rect1(mn, mx); } // public bool get_IsEmpty() [instance] :24 bool VisualBounds::IsEmpty() { return this == VisualBounds::_empty_; } // public bool get_IsFlat() [instance] :87 bool VisualBounds::IsFlat() { return IsEmpty() || ((_box.Minimum.Z == 0.0f) && (_box.Maximum.Z == 0.0f)); } // public bool get_IsInfinite() [instance] :35 bool VisualBounds::IsInfinite() { return this == VisualBounds::_infinite_; } // public Fuse.VisualBounds Merge(Fuse.VisualBounds nb, [Fuse.FastMatrix trans]) [instance] :185 VisualBounds* VisualBounds::Merge(VisualBounds* nb, ::g::Fuse::FastMatrix* trans) { if (uPtr(nb)->IsEmpty()) return this; if (uPtr(nb)->IsInfinite() || IsInfinite()) return VisualBounds::_infinite_; ::g::Fuse::Box add = (trans != NULL) ? VisualBounds::BoxTransform1(uPtr(nb)->_box, trans) : uPtr(nb)->_box; if (!IsEmpty()) { add.Minimum = ::g::Uno::Math::Min5(_box.Minimum, add.Minimum); add.Maximum = ::g::Uno::Math::Max5(_box.Maximum, add.Maximum); } return VisualBounds::Box(add); } // public Fuse.VisualBounds MergeChild(Fuse.Visual child, Fuse.VisualBounds nb) [instance] :228 VisualBounds* VisualBounds::MergeChild(::g::Fuse::Visual* child, VisualBounds* nb) { return Merge(nb, uPtr(child)->InternLocalTransformInternal()); } // public Fuse.VisualBounds Scale(float3 factor) [instance] :128 VisualBounds* VisualBounds::Scale(::g::Uno::Float3 factor) { if (IsInfinite() || IsEmpty()) return this; ::g::Fuse::Box sc = _box; sc.Minimum = ::g::Uno::Float3__op_Multiply2(sc.Minimum, factor); sc.Maximum = ::g::Uno::Float3__op_Multiply2(sc.Maximum, factor); return VisualBounds::Box(sc); } // public float3 get_Size() [instance] :78 ::g::Uno::Float3 VisualBounds::Size() { return ::g::Uno::Float3__op_Subtraction2(_box.Maximum, _box.Minimum); } // public Fuse.VisualBounds Translate(float3 offset) [instance] :140 VisualBounds* VisualBounds::Translate(::g::Uno::Float3 offset) { if (IsInfinite() || IsEmpty()) return this; ::g::Fuse::Box add = _box; add.Minimum = ::g::Uno::Float3__op_Addition2(add.Minimum, offset); add.Maximum = ::g::Uno::Float3__op_Addition2(add.Maximum, offset); return VisualBounds::Box(add); } // public static Fuse.VisualBounds Box(Fuse.Box a) [static] :67 VisualBounds* VisualBounds::Box(::g::Fuse::Box a) { VisualBounds_typeof()->Init(); VisualBounds* nb = VisualBounds::New1(); nb->_box = a; return nb; } // public static Fuse.Box BoxTransform(Fuse.Box box, Fuse.FastMatrix matrix) [static] :299 ::g::Fuse::Box VisualBounds::BoxTransform1(::g::Fuse::Box box, ::g::Fuse::FastMatrix* matrix) { VisualBounds_typeof()->Init(); if (!uPtr(matrix)->HasNonTranslation()) return ::g::Fuse::Box__New1(::g::Uno::Float3__op_Addition2(box.Minimum, uPtr(matrix)->Translation()), ::g::Uno::Float3__op_Addition2(box.Maximum, uPtr(matrix)->Translation())); ::g::Uno::Float3 A = uPtr(matrix)->TransformVector(::g::Uno::Float3__New2(box.Minimum.X, box.Minimum.Y, box.Minimum.Z)); ::g::Uno::Float3 B = matrix->TransformVector(::g::Uno::Float3__New2(box.Maximum.X, box.Minimum.Y, box.Minimum.Z)); ::g::Uno::Float3 C = matrix->TransformVector(::g::Uno::Float3__New2(box.Maximum.X, box.Maximum.Y, box.Minimum.Z)); ::g::Uno::Float3 D = matrix->TransformVector(::g::Uno::Float3__New2(box.Minimum.X, box.Maximum.Y, box.Minimum.Z)); ::g::Uno::Float3 E = matrix->TransformVector(::g::Uno::Float3__New2(box.Minimum.X, box.Minimum.Y, box.Maximum.Z)); ::g::Uno::Float3 F = matrix->TransformVector(::g::Uno::Float3__New2(box.Maximum.X, box.Minimum.Y, box.Maximum.Z)); ::g::Uno::Float3 G = matrix->TransformVector(::g::Uno::Float3__New2(box.Maximum.X, box.Maximum.Y, box.Maximum.Z)); ::g::Uno::Float3 H = matrix->TransformVector(::g::Uno::Float3__New2(box.Minimum.X, box.Maximum.Y, box.Maximum.Z)); float minX = VisualBounds::Min8(A.X, B.X, C.X, D.X, E.X, F.X, G.X, H.X); float minY = VisualBounds::Min8(A.Y, B.Y, C.Y, D.Y, E.Y, F.Y, G.Y, H.Y); float minZ = VisualBounds::Min8(A.Z, B.Z, C.Z, D.Z, E.Z, F.Z, G.Z, H.Z); float maxX = VisualBounds::Max8(A.X, B.X, C.X, D.X, E.X, F.X, G.X, H.X); float maxY = VisualBounds::Max8(A.Y, B.Y, C.Y, D.Y, E.Y, F.Y, G.Y, H.Y); float maxZ = VisualBounds::Max8(A.Z, B.Z, C.Z, D.Z, E.Z, F.Z, G.Z, H.Z); return ::g::Fuse::Box__New1(::g::Uno::Float3__New2(minX, minY, minZ), ::g::Uno::Float3__New2(maxX, maxY, maxZ)); } // private static float Max8(float a, float b, float c, float d, float e, float f, float g, float h) [static] :285 float VisualBounds::Max8(float a, float b, float c, float d, float e, float f, float g, float h) { VisualBounds_typeof()->Init(); float max = a; if (b > max) max = b; if (c > max) max = c; if (d > max) max = d; if (e > max) max = e; if (f > max) max = f; if (g > max) max = g; if (h > max) max = h; return max; } // internal static Fuse.VisualBounds Merge(Uno.Collections.IEnumerable<Fuse.Visual> visuals, Fuse.VisualBounds.Type bt) [static] :330 VisualBounds* VisualBounds::Merge1(uObject* visuals, int32_t bt) { VisualBounds_typeof()->Init(); ::g::Fuse::Visual* ret5; bool hasAnyBounds = false; ::g::Fuse::Box box = ::g::Fuse::Box__New1(::g::Uno::Float3__New1(0.0f), ::g::Uno::Float3__New1(0.0f)); uObject* enum1 = (uObject*)::g::Uno::Collections::IEnumerable::GetEnumerator(uInterface(uPtr(visuals), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::TYPES[21/*Fuse.Visual*/], NULL))); { try { { while (::g::Uno::Collections::IEnumerator::MoveNext(uInterface(uPtr(enum1), ::TYPES[26/*Uno.Collections.IEnumerator*/]))) { ::g::Fuse::Visual* elm = (::g::Uno::Collections::IEnumerator1::get_Current_ex(uInterface(uPtr(enum1), ::g::Uno::Collections::IEnumerator1_typeof()->MakeType(::TYPES[21/*Fuse.Visual*/], NULL)), &ret5), ret5); VisualBounds* lrb = (bt == 1) ? (VisualBounds*)uPtr(elm)->HitTestBounds() : (VisualBounds*)uPtr(elm)->LocalRenderBounds(); if (lrb == VisualBounds::Empty()) continue; if (lrb == VisualBounds::Infinite()) { VisualBounds* __uno_retval = VisualBounds::Infinite(); ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum1), ::TYPES[28/*Uno.IDisposable*/])); return __uno_retval; } ::g::Fuse::Box b = VisualBounds::BoxTransform1(VisualBounds::op_Implicit1(lrb), elm->InternLocalTransformInternal()); if (!hasAnyBounds) { box = b; hasAnyBounds = true; } else { if (b.Minimum.X < box.Minimum.X) box.Minimum.X = b.Minimum.X; if (b.Minimum.Y < box.Minimum.Y) box.Minimum.Y = b.Minimum.Y; if (b.Minimum.Z < box.Minimum.Z) box.Minimum.Z = b.Minimum.Z; if (b.Maximum.X > box.Maximum.X) box.Maximum.X = b.Maximum.X; if (b.Maximum.Y > box.Maximum.Y) box.Maximum.Y = b.Maximum.Y; if (b.Maximum.Z > box.Maximum.Z) box.Maximum.Z = b.Maximum.Z; } } } } catch (const uThrowable& __t) { { ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum1), ::TYPES[28/*Uno.IDisposable*/])); } throw __t; goto __after_finally_13; } { ::g::Uno::IDisposable::Dispose(uInterface(uPtr(enum1), ::TYPES[28/*Uno.IDisposable*/])); } __after_finally_13:; } if (!hasAnyBounds) return VisualBounds::Empty(); else return VisualBounds::Box(box); } // private static float Min8(float a, float b, float c, float d, float e, float f, float g, float h) [static] :272 float VisualBounds::Min8(float a, float b, float c, float d, float e, float f, float g, float h) { VisualBounds_typeof()->Init(); float min = a; if (b < min) min = b; if (c < min) min = c; if (d < min) min = d; if (e < min) min = e; if (f < min) min = f; if (g < min) min = g; if (h < min) min = h; return min; } // private VisualBounds New() [static] :14 VisualBounds* VisualBounds::New1() { VisualBounds* obj4 = (VisualBounds*)uNew(VisualBounds_typeof()); obj4->ctor_(); return obj4; } // public static implicit operator Fuse.Box(Fuse.VisualBounds vb) [static] :46 ::g::Fuse::Box VisualBounds::op_Implicit1(VisualBounds* vb) { VisualBounds_typeof()->Init(); return uPtr(vb)->_box; } // public static Fuse.VisualBounds Rect(float2 a, float2 b) [static] :62 VisualBounds* VisualBounds::Rect(::g::Uno::Float2 a, ::g::Uno::Float2 b) { VisualBounds_typeof()->Init(); return VisualBounds::Rect1(::g::Uno::Float3__New4(a, 0.0f), ::g::Uno::Float3__New4(b, 0.0f)); } // public static Fuse.VisualBounds Rect(float3 a, float3 b) [static] :54 VisualBounds* VisualBounds::Rect1(::g::Uno::Float3 a, ::g::Uno::Float3 b) { VisualBounds_typeof()->Init(); VisualBounds* nb = VisualBounds::New1(); nb->_box.Minimum = ::g::Uno::Math::Min5(a, b); nb->_box.Maximum = ::g::Uno::Math::Max5(a, b); return nb; } // public static Fuse.VisualBounds get_Empty() [static] :19 VisualBounds* VisualBounds::Empty() { VisualBounds_typeof()->Init(); return VisualBounds::_empty_; } // public static Fuse.VisualBounds get_Infinite() [static] :30 VisualBounds* VisualBounds::Infinite() { VisualBounds_typeof()->Init(); return VisualBounds::_infinite_; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Visual.uno // ----------------------------------------------------------------------------- // public enum VisualContext :9 uEnumType* VisualContext_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.VisualContext", ::g::Uno::Int_typeof(), 3); type->SetLiterals( "Unknown", 0LL, "Graphics", 1LL, "Native", 2LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Event.uno // ---------------------------------------------------------------------------- // public abstract class VisualEvent<THandler, TArgs> :43 // { static void VisualEvent_build(uType* type) { ::STRINGS[72] = uString::Const("Invalid RaiseType for event"); ::STRINGS[73] = uString::Const("C:/Users/Vaibhav/AppData/Local/Fusetools/Packages/Fuse.Nodes/1.9.0/Event.uno"); ::TYPES[83] = ::g::Uno::Collections::List_typeof(); ::TYPES[37] = ::g::Uno::Exception_typeof(); ::TYPES[21] = ::g::Fuse::Visual_typeof(); ::TYPES[84] = ::g::Uno::Action2_typeof()->MakeType(uObject_typeof(), uObject_typeof()->Array(), NULL); ::TYPES[7] = uObject_typeof()->Array(); type->SetDependencies( ::g::Uno::Diagnostics::Debug_typeof(), ::g::Fuse::Properties_typeof(), ::g::Fuse::VisualListCache_typeof()); type->SetPrecalc( ::g::Uno::Collections::List_typeof()->MakeType(type->T(0), NULL)); type->SetFields(0, ::g::Fuse::PropertyHandle_typeof(), offsetof(VisualEvent, _handle), 0, ::TYPES[83/*Uno.Collections.List`1*/]->MakeType(type->T(0), NULL), offsetof(VisualEvent, _globalHandlers), 0); } VisualEvent_type* VisualEvent_typeof() { static uSStrong<VisualEvent_type*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 2; options.GenericCount = 2; options.DependencyCount = 3; options.PrecalcCount = 1; options.ObjectSize = sizeof(VisualEvent); options.TypeSize = sizeof(VisualEvent_type); type = (VisualEvent_type*)uClassType::New("Fuse.VisualEvent`2", options); type->fp_build_ = VisualEvent_build; return type; } // protected generated VisualEvent() :43 void VisualEvent__ctor__fn(VisualEvent* __this) { __this->ctor_(); } // public void AddGlobalHandler(THandler handler) :58 void VisualEvent__AddGlobalHandler_fn(VisualEvent* __this, void* handler) { ::g::Uno::Collections::List__Add_fn(uPtr(__this->_globalHandlers), handler); } // public void AddHandler(Fuse.Visual visual, THandler handler) :47 void VisualEvent__AddHandler_fn(VisualEvent* __this, ::g::Fuse::Visual* visual, void* handler) { uPtr(uPtr(visual)->Properties())->AddToList(__this->_handle, uBoxPtr(__this->__type->GetBase(VisualEvent_typeof())->T(0), handler)); } // private void InvokeGlobalHandlers(Fuse.Visual visual, TArgs args) :68 void VisualEvent__InvokeGlobalHandlers_fn(VisualEvent* __this, ::g::Fuse::Visual* visual, ::g::Fuse::VisualEventArgs* args) { __this->InvokeGlobalHandlers(visual, args); } // private void InvokeInternal(THandler handler, object sender, TArgs args) :145 void VisualEvent__InvokeInternal_fn(VisualEvent* __this, void* handler, uObject* sender, ::g::Fuse::VisualEventArgs* args) { try { { __this->Invoke_ex(handler, sender, args); } } catch (const uThrowable& __t) { ::g::Uno::Exception* e = __t.Exception; ::g::Fuse::AppBase::OnUnhandledExceptionInternal(e); } } // private void OnRaise(object target, object[] args) :128 void VisualEvent__OnRaise_fn(VisualEvent* __this, uObject* target, uArray* args) { __this->OnRaise(target, args); } // private void OnRaiseEnabled(object target, object[] args) :136 void VisualEvent__OnRaiseEnabled_fn(VisualEvent* __this, uObject* target, uArray* args) { __this->OnRaiseEnabled(target, args); } // private void Raise(TArgs args, Fuse.VisualEventMode type, bool bubble, [Uno.Action<TArgs, Uno.Collections.IList<Fuse.Visual>> PostBubbleAction]) :93 void VisualEvent__Raise_fn(VisualEvent* __this, ::g::Fuse::VisualEventArgs* args, int32_t* type, bool* bubble, uDelegate* PostBubbleAction) { __this->Raise(args, *type, *bubble, PostBubbleAction); } // public void RaiseWithBubble(TArgs args, [Fuse.VisualEventMode type]) :77 void VisualEvent__RaiseWithBubble_fn(VisualEvent* __this, ::g::Fuse::VisualEventArgs* args, int32_t* type) { __this->RaiseWithBubble(args, *type); } // internal void RaiseWithBubble(TArgs args, Fuse.VisualEventMode type, Uno.Action<TArgs, Uno.Collections.IList<Fuse.Visual>> PostBubbleAction) :82 void VisualEvent__RaiseWithBubble1_fn(VisualEvent* __this, ::g::Fuse::VisualEventArgs* args, int32_t* type, uDelegate* PostBubbleAction) { __this->RaiseWithBubble1(args, *type, PostBubbleAction); } // public void RaiseWithoutBubble(TArgs args, [Fuse.VisualEventMode type]) :88 void VisualEvent__RaiseWithoutBubble_fn(VisualEvent* __this, ::g::Fuse::VisualEventArgs* args, int32_t* type) { __this->RaiseWithoutBubble(args, *type); } // public void RemoveGlobalHandler(THandler handler) :63 void VisualEvent__RemoveGlobalHandler_fn(VisualEvent* __this, void* handler) { bool ret4; ::g::Uno::Collections::List__Remove_fn(uPtr(__this->_globalHandlers), handler, &ret4); } // public void RemoveHandler(Fuse.Visual visual, THandler handler) :52 void VisualEvent__RemoveHandler_fn(VisualEvent* __this, ::g::Fuse::Visual* visual, void* handler) { uPtr(uPtr(visual)->Properties())->RemoveFromList(__this->_handle, uBoxPtr(__this->__type->GetBase(VisualEvent_typeof())->T(0), handler)); } // protected generated VisualEvent() [instance] :43 void VisualEvent::ctor_() { uType* __types[] = { __type->GetBase(VisualEvent_typeof())->Precalced(0/*Uno.Collections.List<THandler>*/), }; _handle = ::g::Fuse::Properties::CreateHandle(); _globalHandlers = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(__types[0])); } // private void InvokeGlobalHandlers(Fuse.Visual visual, TArgs args) [instance] :68 void VisualEvent::InvokeGlobalHandlers(::g::Fuse::Visual* visual, ::g::Fuse::VisualEventArgs* args) { uT ret1(__type->GetBase(VisualEvent_typeof())->T(0), U_ALLOCA(__type->GetBase(VisualEvent_typeof())->T(0)->ValueSize)); if (uPtr(_globalHandlers)->Count() > 0) for (int32_t i = 0; i < uPtr(_globalHandlers)->Count(); i++) VisualEvent__InvokeInternal_fn(this, (::g::Uno::Collections::List__get_Item_fn(uPtr(_globalHandlers), uCRef<int32_t>(i), &ret1), ret1), visual, args); } // private void OnRaise(object target, object[] args) [instance] :128 void VisualEvent::OnRaise(uObject* target, uArray* args) { uT handler(__type->GetBase(VisualEvent_typeof())->T(0), U_ALLOCA(__type->GetBase(VisualEvent_typeof())->T(0)->ValueSize)); handler = uUnboxAny(__type->GetBase(VisualEvent_typeof())->T(0), target); ::g::Fuse::Visual* visual = uCast< ::g::Fuse::Visual*>(uPtr(args)->Strong<uObject*>(0), ::TYPES[21/*Fuse.Visual*/]); ::g::Fuse::VisualEventArgs* eventArgs = uCast< ::g::Fuse::VisualEventArgs*>(args->Strong<uObject*>(1), __type->GetBase(VisualEvent_typeof())->T(1)); VisualEvent__InvokeInternal_fn(this, handler, visual, eventArgs); } // private void OnRaiseEnabled(object target, object[] args) [instance] :136 void VisualEvent::OnRaiseEnabled(uObject* target, uArray* args) { uT handler(__type->GetBase(VisualEvent_typeof())->T(0), U_ALLOCA(__type->GetBase(VisualEvent_typeof())->T(0)->ValueSize)); handler = uUnboxAny(__type->GetBase(VisualEvent_typeof())->T(0), target); ::g::Fuse::Visual* visual = uCast< ::g::Fuse::Visual*>(uPtr(args)->Strong<uObject*>(0), ::TYPES[21/*Fuse.Visual*/]); ::g::Fuse::VisualEventArgs* eventArgs = uCast< ::g::Fuse::VisualEventArgs*>(args->Strong<uObject*>(1), __type->GetBase(VisualEvent_typeof())->T(1)); if (uPtr(visual)->IsContextEnabled()) VisualEvent__InvokeInternal_fn(this, handler, visual, eventArgs); } // private void Raise(TArgs args, Fuse.VisualEventMode type, bool bubble, [Uno.Action<TArgs, Uno.Collections.IList<Fuse.Visual>> PostBubbleAction]) [instance] :93 void VisualEvent::Raise(::g::Fuse::VisualEventArgs* args, int32_t type, bool bubble, uDelegate* PostBubbleAction) { ::g::Fuse::Visual* ret2; ::g::Fuse::Visual* ret3; ::g::Fuse::Visual* visual = uPtr(args)->Visual(); uDelegate* handler = NULL; switch (type) { case 0: { handler = uDelegate::New(::TYPES[84/*Uno.Action<object, object[]>*/], (void*)VisualEvent__OnRaise_fn, this); break; } case 2: { handler = uDelegate::New(::TYPES[84/*Uno.Action<object, object[]>*/], (void*)VisualEvent__OnRaise_fn, this); break; } case 1: { handler = uDelegate::New(::TYPES[84/*Uno.Action<object, object[]>*/], (void*)VisualEvent__OnRaiseEnabled_fn, this); break; } default: { ::g::Uno::Diagnostics::Debug::Log3(::STRINGS[72/*"Invalid Rai...*/], 0, ::STRINGS[73/*"C:/Users/Va...*/], 105); return; } } ::g::Uno::Collections::List* list = ::g::Fuse::VisualListCache::Acquire(); while (visual != NULL) { ::g::Uno::Collections::List__Add_fn(uPtr(list), visual); if (!bubble) break; visual = uPtr(visual)->Parent(); } for (int32_t i = 0; i < uPtr(list)->Count(); ++i) uPtr(uPtr((::g::Uno::Collections::List__get_Item_fn(uPtr(list), uCRef<int32_t>(i), &ret2), ret2))->Properties())->ForeachInList(_handle, handler, uArray::Init<uObject*>(::TYPES[7/*object[]*/], 2, (::g::Uno::Collections::List__get_Item_fn(uPtr(list), uCRef<int32_t>(i), &ret3), ret3), args)); if (::g::Uno::Delegate::op_Inequality(PostBubbleAction, NULL)) uPtr(PostBubbleAction)->Invoke(2, args, (uObject*)list); InvokeGlobalHandlers(visual, args); ::g::Fuse::VisualListCache::Release(list); } // public void RaiseWithBubble(TArgs args, [Fuse.VisualEventMode type]) [instance] :77 void VisualEvent::RaiseWithBubble(::g::Fuse::VisualEventArgs* args, int32_t type) { Raise(args, type, true, NULL); } // internal void RaiseWithBubble(TArgs args, Fuse.VisualEventMode type, Uno.Action<TArgs, Uno.Collections.IList<Fuse.Visual>> PostBubbleAction) [instance] :82 void VisualEvent::RaiseWithBubble1(::g::Fuse::VisualEventArgs* args, int32_t type, uDelegate* PostBubbleAction) { Raise(args, type, true, PostBubbleAction); } // public void RaiseWithoutBubble(TArgs args, [Fuse.VisualEventMode type]) [instance] :88 void VisualEvent::RaiseWithoutBubble(::g::Fuse::VisualEventArgs* args, int32_t type) { Raise(args, type, false, NULL); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Event.uno // ---------------------------------------------------------------------------- // public class VisualEventArgs :161 // { static void VisualEventArgs_build(uType* type) { ::STRINGS[74] = uString::Const("visual"); type->SetInterfaces( ::g::Fuse::Scripting::IScriptEvent_typeof(), offsetof(VisualEventArgs_type, interface0)); type->SetFields(0, ::g::Uno::Bool_typeof(), offsetof(VisualEventArgs, _IsHandled), 0, ::g::Fuse::Visual_typeof(), offsetof(VisualEventArgs, _Visual), 0); } VisualEventArgs_type* VisualEventArgs_typeof() { static uSStrong<VisualEventArgs_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::EventArgs_typeof(); options.FieldCount = 2; options.InterfaceCount = 1; options.ObjectSize = sizeof(VisualEventArgs); options.TypeSize = sizeof(VisualEventArgs_type); type = (VisualEventArgs_type*)uClassType::New("Fuse.VisualEventArgs", options); type->fp_build_ = VisualEventArgs_build; type->fp_Serialize = VisualEventArgs__Serialize_fn; type->interface0.fp_Serialize = (void(*)(uObject*, uObject*))VisualEventArgs__FuseScriptingIScriptEventSerialize_fn; return type; } // public VisualEventArgs(Fuse.Visual visual) :167 void VisualEventArgs__ctor_1_fn(VisualEventArgs* __this, ::g::Fuse::Visual* visual) { __this->ctor_1(visual); } // private void Fuse.Scripting.IScriptEvent.Serialize(Fuse.Scripting.IEventSerializer s) :175 void VisualEventArgs__FuseScriptingIScriptEventSerialize_fn(VisualEventArgs* __this, uObject* s) { __this->Serialize(s); } // public generated bool get_IsHandled() :163 void VisualEventArgs__get_IsHandled_fn(VisualEventArgs* __this, bool* __retval) { *__retval = __this->IsHandled(); } // public generated void set_IsHandled(bool value) :163 void VisualEventArgs__set_IsHandled_fn(VisualEventArgs* __this, bool* value) { __this->IsHandled(*value); } // public VisualEventArgs New(Fuse.Visual visual) :167 void VisualEventArgs__New2_fn(::g::Fuse::Visual* visual, VisualEventArgs** __retval) { *__retval = VisualEventArgs::New2(visual); } // private virtual void Serialize(Fuse.Scripting.IEventSerializer s) :180 void VisualEventArgs__Serialize_fn(VisualEventArgs* __this, uObject* s) { } // public generated Fuse.Visual get_Visual() :165 void VisualEventArgs__get_Visual_fn(VisualEventArgs* __this, ::g::Fuse::Visual** __retval) { *__retval = __this->Visual(); } // private generated void set_Visual(Fuse.Visual value) :165 void VisualEventArgs__set_Visual_fn(VisualEventArgs* __this, ::g::Fuse::Visual* value) { __this->Visual(value); } // public VisualEventArgs(Fuse.Visual visual) [instance] :167 void VisualEventArgs::ctor_1(::g::Fuse::Visual* visual) { ctor_(); if (visual == NULL) U_THROW(::g::Uno::ArgumentNullException::New6(::STRINGS[74/*"visual"*/])); Visual(visual); } // public generated bool get_IsHandled() [instance] :163 bool VisualEventArgs::IsHandled() { return _IsHandled; } // public generated void set_IsHandled(bool value) [instance] :163 void VisualEventArgs::IsHandled(bool value) { _IsHandled = value; } // public generated Fuse.Visual get_Visual() [instance] :165 ::g::Fuse::Visual* VisualEventArgs::Visual() { return _Visual; } // private generated void set_Visual(Fuse.Visual value) [instance] :165 void VisualEventArgs::Visual(::g::Fuse::Visual* value) { _Visual = value; } // public VisualEventArgs New(Fuse.Visual visual) [static] :167 VisualEventArgs* VisualEventArgs::New2(::g::Fuse::Visual* visual) { VisualEventArgs* obj1 = (VisualEventArgs*)uNew(VisualEventArgs_typeof()); obj1->ctor_1(visual); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Event.uno // ---------------------------------------------------------------------------- // public delegate void VisualEventHandler(object sender, Fuse.VisualEventArgs args) :185 uDelegateType* VisualEventHandler_typeof() { static uSStrong<uDelegateType*> type; if (type != NULL) return type; type = uDelegateType::New("Fuse.VisualEventHandler", 2, 0); type->SetSignature(uVoid_typeof(), uObject_typeof(), ::g::Fuse::VisualEventArgs_typeof()); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Event.uno // ---------------------------------------------------------------------------- // public enum VisualEventMode :8 uEnumType* VisualEventMode_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.VisualEventMode", ::g::Uno::Int_typeof(), 3); type->SetLiterals( "Normal", 0LL, "Enabled", 1LL, "Force", 2LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Event.uno // ---------------------------------------------------------------------------- // internal static class VisualListCache :21 // { // static generated VisualListCache() :21 static void VisualListCache__cctor__fn(uType* __type) { VisualListCache::_visualListCache_ = ((::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[85/*Uno.Collections.List<Uno.Collections.List<Fuse.Visual>>*/])); } static void VisualListCache_build(uType* type) { ::TYPES[85] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::Visual_typeof(), NULL), NULL); ::TYPES[86] = ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::Visual_typeof(), NULL); type->SetFields(0, ::TYPES[85/*Uno.Collections.List<Uno.Collections.List<Fuse.Visual>>*/], (uintptr_t)&VisualListCache::_visualListCache_, uFieldFlagsStatic); } uClassType* VisualListCache_typeof() { static uSStrong<uClassType*> type; if (type != NULL) return type; uTypeOptions options; options.FieldCount = 1; options.TypeSize = sizeof(uClassType); type = uClassType::New("Fuse.VisualListCache", options); type->fp_build_ = VisualListCache_build; type->fp_cctor_ = VisualListCache__cctor__fn; return type; } // public static Uno.Collections.List<Fuse.Visual> Acquire() :25 void VisualListCache__Acquire_fn(::g::Uno::Collections::List** __retval) { *__retval = VisualListCache::Acquire(); } // public static void Release(Uno.Collections.List<Fuse.Visual> list) :36 void VisualListCache__Release_fn(::g::Uno::Collections::List* list) { VisualListCache::Release(list); } uSStrong< ::g::Uno::Collections::List*> VisualListCache::_visualListCache_; // public static Uno.Collections.List<Fuse.Visual> Acquire() [static] :25 ::g::Uno::Collections::List* VisualListCache::Acquire() { VisualListCache_typeof()->Init(); ::g::Uno::Collections::List* ret1; if (uPtr(VisualListCache::_visualListCache_)->Count() > 0) { ::g::Uno::Collections::List* l = (::g::Uno::Collections::List__get_Item_fn(uPtr(VisualListCache::_visualListCache_), uCRef<int32_t>(uPtr(VisualListCache::_visualListCache_)->Count() - 1), &ret1), ret1); uPtr(VisualListCache::_visualListCache_)->RemoveAt(uPtr(VisualListCache::_visualListCache_)->Count() - 1); return l; } return (::g::Uno::Collections::List*)::g::Uno::Collections::List::New1(::TYPES[86/*Uno.Collections.List<Fuse.Visual>*/]); } // public static void Release(Uno.Collections.List<Fuse.Visual> list) [static] :36 void VisualListCache::Release(::g::Uno::Collections::List* list) { VisualListCache_typeof()->Init(); uPtr(list)->Clear(); ::g::Uno::Collections::List__Add_fn(uPtr(VisualListCache::_visualListCache_), list); } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\SystemFont.uno // ---------------------------------------------------------------------------------- // public enum SystemFont.Weight :38 uEnumType* SystemFont__Weight_typeof() { static uSStrong<uEnumType*> type; if (type != NULL) return type; type = uEnumType::New("Fuse.SystemFont.Weight", ::g::Uno::Int_typeof(), 9); type->SetLiterals( "UltraLight", 0LL, "Thin", 1LL, "Light", 2LL, "Normal", 3LL, "Medium", 4LL, "SemiBold", 5LL, "Bold", 6LL, "Heavy", 7LL, "Black", 8LL); return type; } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Nodes\1.9.0\Translation.uno // ---------------------------------------------------------------------------------- // private sealed class TranslationModes.WidthMode :128 // { static void TranslationModes__WidthMode_build(uType* type) { type->SetDependencies( ::g::Fuse::TranslationModes_typeof()); type->SetInterfaces( ::g::Fuse::ITranslationMode_typeof(), offsetof(::g::Fuse::TranslationModes__SizeMode_type, interface0), ::g::Fuse::ITransformMode_typeof(), offsetof(::g::Fuse::TranslationModes__SizeMode_type, interface1)); } ::g::Fuse::TranslationModes__SizeMode_type* TranslationModes__WidthMode_typeof() { static uSStrong< ::g::Fuse::TranslationModes__SizeMode_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::TranslationModes__SizeMode_typeof(); options.InterfaceCount = 2; options.DependencyCount = 1; options.ObjectSize = sizeof(TranslationModes__WidthMode); options.TypeSize = sizeof(::g::Fuse::TranslationModes__SizeMode_type); type = (::g::Fuse::TranslationModes__SizeMode_type*)uClassType::New("Fuse.TranslationModes.WidthMode", options); type->fp_build_ = TranslationModes__WidthMode_build; type->fp_ctor_ = (void*)TranslationModes__WidthMode__New2_fn; type->fp_GetAbsVector = (void(*)(::g::Fuse::TranslationModes__SizeMode*, ::g::Fuse::Translation*, ::g::Uno::Float3*))TranslationModes__WidthMode__GetAbsVector_fn; type->interface0.fp_GetAbsVector = (void(*)(uObject*, ::g::Fuse::Translation*, ::g::Uno::Float3*))TranslationModes__WidthMode__GetAbsVector_fn; type->interface1.fp_Subscribe = (void(*)(uObject*, uObject*, uObject**))::g::Fuse::TranslationModes__SizeMode__Subscribe_fn; type->interface1.fp_Unsubscribe = (void(*)(uObject*, uObject*, uObject*))::g::Fuse::TranslationModes__SizeMode__Unsubscribe_fn; return type; } // public generated WidthMode() :128 void TranslationModes__WidthMode__ctor_1_fn(TranslationModes__WidthMode* __this) { __this->ctor_1(); } // public override sealed float3 GetAbsVector(Fuse.Translation t) :130 void TranslationModes__WidthMode__GetAbsVector_fn(TranslationModes__WidthMode* __this, ::g::Fuse::Translation* t, ::g::Uno::Float3* __retval) { return *__retval = ::g::Uno::Float3__op_Multiply(::g::Fuse::TranslationModes::SizeOf(uPtr(t)->RelativeNode()).X, uPtr(t)->Vector()), void(); } // public generated WidthMode New() :128 void TranslationModes__WidthMode__New2_fn(TranslationModes__WidthMode** __retval) { *__retval = TranslationModes__WidthMode::New2(); } // public generated WidthMode() [instance] :128 void TranslationModes__WidthMode::ctor_1() { ctor_(); } // public generated WidthMode New() [static] :128 TranslationModes__WidthMode* TranslationModes__WidthMode::New2() { TranslationModes__WidthMode* obj1 = (TranslationModes__WidthMode*)uNew(TranslationModes__WidthMode_typeof()); obj1->ctor_1(); return obj1; } // } // C:\Users\Vaibhav\AppData\Local\Fusetools\Packages\Fuse.Common\1.9.0\WrapException.uno // ------------------------------------------------------------------------------------- // internal sealed class WrapException :12 // { static void WrapException_build(uType* type) { ::STRINGS[75] = uString::Const("Wrapped Exception"); type->SetFields(4); } ::g::Uno::Exception_type* WrapException_typeof() { static uSStrong< ::g::Uno::Exception_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::Exception_typeof(); options.FieldCount = 4; options.ObjectSize = sizeof(WrapException); options.TypeSize = sizeof(::g::Uno::Exception_type); type = (::g::Uno::Exception_type*)uClassType::New("Fuse.WrapException", options); type->fp_build_ = WrapException_build; type->fp_get_Message = (void(*)(::g::Uno::Exception*, uString**))WrapException__get_Message_fn; type->fp_ToString = (void(*)(uObject*, uString**))WrapException__ToString_fn; return type; } // public WrapException(Uno.Exception inner) :14 void WrapException__ctor_3_fn(WrapException* __this, ::g::Uno::Exception* inner) { __this->ctor_3(inner); } // public override sealed string get_Message() :38 void WrapException__get_Message_fn(WrapException* __this, uString** __retval) { return *__retval = uPtr(__this->InnerException())->Message(), void(); } // public WrapException New(Uno.Exception inner) :14 void WrapException__New4_fn(::g::Uno::Exception* inner, WrapException** __retval) { *__retval = WrapException::New4(inner); } // public override sealed string ToString() :31 void WrapException__ToString_fn(WrapException* __this, uString** __retval) { return *__retval = uPtr(__this->InnerException())->ToString(), void(); } // public static Uno.Exception Unwrap(Uno.Exception e) :21 void WrapException__Unwrap_fn(::g::Uno::Exception* e, ::g::Uno::Exception** __retval) { *__retval = WrapException::Unwrap(e); } // public WrapException(Uno.Exception inner) [instance] :14 void WrapException::ctor_3(::g::Uno::Exception* inner) { ctor_2(::STRINGS[75/*"Wrapped Exc...*/], inner); } // public WrapException New(Uno.Exception inner) [static] :14 WrapException* WrapException::New4(::g::Uno::Exception* inner) { WrapException* obj1 = (WrapException*)uNew(WrapException_typeof()); obj1->ctor_3(inner); return obj1; } // public static Uno.Exception Unwrap(Uno.Exception e) [static] :21 ::g::Uno::Exception* WrapException::Unwrap(::g::Uno::Exception* e) { while (uIs(e, WrapException_typeof()) && (uPtr(e)->InnerException() != NULL)) e = uPtr(e)->InnerException(); return e; } // } }} // ::g::Fuse
e40f5b4e764d5aaa5784606e59d8e61a760864f5
a9e74e759e0cc992cbf4f9a687fa8003c1a744d5
/Core/DolphinVM/LargeIntPrim.h
0187920bcfac2d8510d10ad335224acc99b0b772
[ "MIT" ]
permissive
Julieta2004/Dolphin
49d52a6270fa3e553a2dd9f09566ab59adb8786d
e47d13d94452ff3489584ef62d0872577a99dfc4
refs/heads/master
2020-07-21T11:32:09.994024
2019-09-02T17:52:27
2019-09-02T17:52:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,212
h
#include "Interprt.h" #pragma once // Template for operations where the result is zero if the argument is SmallInteger zero template <class Op, class OpSingle> static Oop* __fastcall Interpreter::primitiveLargeIntegerOpZ(Oop* const sp, unsigned argc) { Oop oopArg = *sp; const LargeIntegerOTE* oteReceiver = reinterpret_cast<const LargeIntegerOTE*>(*(sp - 1)); Oop result; if (ObjectMemoryIsIntegerObject(oopArg)) { SMALLINTEGER arg = ObjectMemoryIntegerValueOf(oopArg); if (arg != 0) { result = OpSingle()(oteReceiver, arg); } else { // Operand is zero, so result is zero *(sp - 1) = ZeroPointer; return sp - 1; } } else { const LargeIntegerOTE* oteArg = reinterpret_cast<const LargeIntegerOTE*>(oopArg); if (oteArg->m_oteClass == Pointers.ClassLargeInteger) { result = Op()(oteReceiver, oteArg); } else return primitiveFailure(_PrimitiveFailureCode::InvalidParameter1); } // Normalize and return result = normalizeIntermediateResult(result); *(sp - 1) = result; ObjectMemory::AddOopToZct(result); return sp - 1; } // Template for operations for which the result is the receiver if the operand is SmallInteger zero template <class Op, class OpSingle> static Oop* __fastcall Interpreter::primitiveLargeIntegerOpR(Oop* const sp, unsigned) { Oop oopArg = *sp; const LargeIntegerOTE* oteReceiver = reinterpret_cast<const LargeIntegerOTE*>(*(sp - 1)); if (ObjectMemoryIsIntegerObject(oopArg)) { SMALLINTEGER arg = ObjectMemoryIntegerValueOf(oopArg); if (arg != 0) { auto result = OpSingle()(oteReceiver, arg); // Normalize and return Oop oopResult = LargeInteger::NormalizeIntermediateResult(result); *(sp - 1) = oopResult; ObjectMemory::AddOopToZct(oopResult); return sp - 1; } else { // Operand is zero, so result is receiver return sp - 1; } } else { const LargeIntegerOTE* oteArg = reinterpret_cast<const LargeIntegerOTE*>(oopArg); if (oteArg->m_oteClass == Pointers.ClassLargeInteger) { auto result = Op()(oteReceiver, oteArg); // Normalize and return Oop oopResult = LargeInteger::NormalizeIntermediateResult(result); *(sp - 1) = oopResult; ObjectMemory::AddOopToZct(oopResult); return sp - 1; } else return primitiveFailure(_PrimitiveFailureCode::InvalidParameter1); } } /////////////////////////////////////////////////////////////////////////////// // Compare template to generate relational ops (all the same layout) ////////////////////////////////////////////////////////////////////////////// // Compare two large integers, answering // -ve for a < b, 0 for a = b, +ve for a > b template <bool Lt, bool Eq> static bool liCmp(const LargeIntegerOTE* oteA, const LargeIntegerOTE* oteB) { const LargeInteger* liA = oteA->m_location; const LargeInteger* liB = oteB->m_location; const int aSign = liA->sign(oteA); const int bSign = liB->sign(oteB); // Compiler will optimize this to one comparison, and two conditional jumps if (aSign < bSign) return Lt; if (aSign > bSign) return !Lt; // Same sign const MWORD ai = oteA->getWordSize(); const MWORD bi = oteB->getWordSize(); if (ai == bi) { int i = ai - 1; // Same sign and size: Compare words (same sign, so comparison can be unsigned) do { const uint32_t digitA = liA->m_digits[i]; const uint32_t digitB = liB->m_digits[i]; // Again single comparison, two conditional jumps if (digitA < digitB) return Lt; if (digitA > digitB) return !Lt; } while (--i >= 0); // Equal - same sign, same size, all limbs same return Eq; } else { // Same sign, different lengths, can compare based on number of limbs return ((static_cast<int>(ai) - static_cast<int>(bi)) * aSign) < 0 ? Lt : !Lt; } } template <bool Lt, bool Eq> static Oop* __fastcall Interpreter::primitiveLargeIntegerCmp(Oop* const sp, unsigned) { Oop argPointer = *sp; LargeIntegerOTE* oteReceiver = reinterpret_cast<LargeIntegerOTE*>(*(sp - 1)); if (ObjectMemoryIsIntegerObject(argPointer)) { // SmallInteger argument, which is lesser depends on sign of receiver only because, // since LargeIntegers are always normalized, any negative LargeInteger must be less // than any SmallInteger, and any positive LargeInteger must be greater than any SmallInteger // SmallIntegers can never be equal to normalized large integers int sign = oteReceiver->m_location->signDigit(oteReceiver); *(sp - 1) = reinterpret_cast<Oop>((sign < 0 ? Lt : !Lt) ? Pointers.True : Pointers.False); return sp - 1; } else { LargeIntegerOTE* oteArg = reinterpret_cast<LargeIntegerOTE*>(argPointer); if (oteArg->m_oteClass == Pointers.ClassLargeInteger) { bool cmp = liCmp<Lt, Eq>(oteReceiver, oteArg); *(sp - 1) = reinterpret_cast<Oop>(cmp ? Pointers.True : Pointers.False); return sp - 1; } else return primitiveFailure(_PrimitiveFailureCode::InvalidParameter1); /* Arg not an integer, fall back on Smalltalk code*/ } } template <typename Op> static Oop* __fastcall Interpreter::primitiveLargeIntegerUnaryOp(Oop* const sp, unsigned) { Oop oopResult = Op()(reinterpret_cast<LargeIntegerOTE*>(*sp)); *sp = oopResult; ObjectMemory::AddOopToZct(oopResult); return sp; } namespace Li { struct Mul { Oop operator()(const LargeIntegerOTE* oteOuter, const LargeIntegerOTE* oteInner) const { const LargeInteger* liOuter = oteOuter->m_location; MWORD outerSize = oteOuter->getWordSize(); const LargeInteger* liInner = oteInner->m_location; MWORD innerSize = oteInner->getWordSize(); // The algorithm is substantially faster if the outer loop is shorter return outerSize > innerSize ? LargeInteger::Mul(liInner, innerSize, liOuter, outerSize) : LargeInteger::Mul(liOuter, outerSize, liInner, innerSize); } }; struct MulSingle { __forceinline Oop operator()(const LargeIntegerOTE* oteInner, SMALLINTEGER outerDigit) const { return LargeInteger::Mul(oteInner, outerDigit); } }; struct AddSingle { __forceinline LargeIntegerOTE* operator()(const LargeIntegerOTE* oteLI, const SMALLINTEGER operand) const { return LargeInteger::Add(oteLI, operand); } }; struct Add { __forceinline LargeIntegerOTE* operator()(const LargeIntegerOTE* oteOp1, const LargeIntegerOTE* oteOp2) const { return LargeInteger::Add(oteOp1, oteOp2); } }; struct SubSingle { __forceinline LargeIntegerOTE* operator()(const LargeIntegerOTE* oteLI, SMALLINTEGER operand) const { return LargeInteger::Sub(oteLI, operand); } }; struct Sub { __forceinline LargeIntegerOTE* operator()(const LargeIntegerOTE* oteLI, const LargeIntegerOTE* oteOperand) const { return LargeInteger::Sub(oteLI, oteOperand); } }; struct BitAnd { __forceinline Oop operator()(const LargeIntegerOTE* oteA, const LargeIntegerOTE* oteB) const { return LargeInteger::BitAnd(oteA, oteB); } }; struct BitAndSingle { __forceinline Oop operator()(const LargeIntegerOTE* oteA, SMALLINTEGER mask) const { return LargeInteger::BitAnd(oteA, mask); } }; struct BitOr { __forceinline LargeIntegerOTE* operator() (const LargeIntegerOTE* oteA, const LargeIntegerOTE* oteB) const { return LargeInteger::BitOr(oteA, oteB); } }; // Optimized version for common case of multi-precision receiver and single-precision // mask. struct BitOrSingle { __forceinline LargeIntegerOTE* operator()(const LargeIntegerOTE* oteA, SMALLINTEGER mask) const { return LargeInteger::BitOr(oteA, mask); } }; struct BitXor { __forceinline LargeIntegerOTE* operator()(const LargeIntegerOTE* oteA, const LargeIntegerOTE* oteB) const { return LargeInteger::BitXor(oteA, oteB); } }; // Optimized version for common case of multi-precision receiver and single-precision // mask. struct BitXorSingle { __forceinline LargeIntegerOTE* operator()(const LargeIntegerOTE* oteA, SMALLINTEGER mask) const { return LargeInteger::BitXor(oteA, mask); } }; struct Negate { __forceinline Oop operator()(const LargeIntegerOTE* oteLi) { return LargeInteger::Negate(oteLi); } }; struct Normalize { __forceinline Oop operator()(LargeIntegerOTE* oteLi) { return LargeInteger::Normalize(oteLi); } }; };
0b511761794b0996c1a9f70f97095d9d7fab2972
feb318908fd6a747f3c39d7ae75133ac33ba55c3
/src/bgp/bgp_show_evpn_table.cc
7c384e728000e3f105964ff72ebe49316231b5d0
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
zhujunhui/contrail-controller
fc076ff94d361c6572cedeb3411d802edb208541
d03019ade541b9e9e665d0b9da0ec36ae6842082
refs/heads/master
2021-01-18T03:55:14.603612
2015-12-15T23:52:04
2015-12-15T23:52:04
48,093,859
1
0
null
2015-12-16T07:10:00
2015-12-16T07:10:00
null
UTF-8
C++
false
false
8,692
cc
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "bgp/bgp_show_handler.h" #include "bgp/bgp_evpn.h" #include "bgp/bgp_peer_internal_types.h" #include "bgp/evpn/evpn_table.h" #include "bgp/routing-instance/routing_instance.h" using std::string; using std::vector; // // Used by EvpnManager::FillShowInfo for sorting. // Note that the declaration is auto-generated by sandesh compiler. // bool ShowEvpnMcastLeaf::operator<(const ShowEvpnMcastLeaf &rhs) const { return get_address() < rhs.get_address(); } // // Fill in information for an evpn table. // static void FillEvpnTableInfo(ShowEvpnTable *sevt, const BgpSandeshContext *bsc, const EvpnTable *table, bool summary) { sevt->set_name(table->name()); sevt->set_deleted(table->IsDeleted()); sevt->set_deleted_at( UTCUsecToString(table->deleter()->delete_time_stamp_usecs())); sevt->set_mac_routes(table->mac_route_count()); sevt->set_unique_mac_routes(table->unique_mac_route_count()); sevt->set_im_routes(table->im_route_count()); if (summary || table->IsVpnTable() || !table->GetEvpnManager()) return; table->GetEvpnManager()->FillShowInfo(sevt); } // // Fill in information for list of evpn tables. // // Allows regular and summary introspect to share code. // static bool FillEvpnTableInfoList(const BgpSandeshContext *bsc, bool summary, uint32_t page_limit, uint32_t iter_limit, const string &start_instance, const string &search_string, vector<ShowEvpnTable> *sevt_list, string *next_instance) { RoutingInstanceMgr *rim = bsc->bgp_server->routing_instance_mgr(); RoutingInstanceMgr::const_name_iterator it = rim->name_clower_bound(start_instance); for (uint32_t iter_count = 0; it != rim->name_cend(); ++it, ++iter_count) { const RoutingInstance *rtinstance = it->second; const EvpnTable *table = static_cast<const EvpnTable *>(rtinstance->GetTable(Address::EVPN)); if (!table) continue; if (!search_string.empty() && (table->name().find(search_string) == string::npos) && (search_string != "deleted" || !table->IsDeleted())) { continue; } ShowEvpnTable sevt; FillEvpnTableInfo(&sevt, bsc, table, summary); sevt_list->push_back(sevt); if (sevt_list->size() >= page_limit) break; if (iter_count >= iter_limit) break; } // All done if we've looked at all instances. if (it == rim->name_cend() || ++it == rim->name_end()) return true; // Return true if we've reached the page limit, false if we've reached the // iteration limit. bool done = sevt_list->size() >= page_limit; *next_instance = it->second->name(); return done; } // // Specialization of BgpShowHandler<>::CallbackCommon for regular introspect. // template <> bool BgpShowHandler<ShowEvpnTableReq, ShowEvpnTableReqIterate, ShowEvpnTableResp, ShowEvpnTable>::CallbackCommon( const BgpSandeshContext *bsc, Data *data) { uint32_t page_limit = bsc->page_limit() ? bsc->page_limit() : kPageLimit; uint32_t iter_limit = bsc->iter_limit() ? bsc->iter_limit() : kIterLimit; string next_instance; bool done = FillEvpnTableInfoList(bsc, false, page_limit, iter_limit, data->next_entry, data->search_string, &data->show_list, &next_instance); if (!next_instance.empty()) SaveContextToData(next_instance, done, data); return done; } // // Specialization of BgpShowHandler<>::FillShowList for regular introspect. // template <> void BgpShowHandler<ShowEvpnTableReq, ShowEvpnTableReqIterate, ShowEvpnTableResp, ShowEvpnTable>::FillShowList( ShowEvpnTableResp *resp, const vector<ShowEvpnTable> &show_list) { resp->set_tables(show_list); } // // Specialization of BgpShowHandler<>::CallbackCommon for summary introspect. // template <> bool BgpShowHandler<ShowEvpnTableSummaryReq, ShowEvpnTableSummaryReqIterate, ShowEvpnTableSummaryResp, ShowEvpnTable>::CallbackCommon( const BgpSandeshContext *bsc, Data *data) { uint32_t page_limit = bsc->page_limit() ? bsc->page_limit() : kPageLimit; uint32_t iter_limit = bsc->iter_limit() ? bsc->iter_limit() : kIterLimit; string next_instance; bool done = FillEvpnTableInfoList(bsc, true, page_limit, iter_limit, data->next_entry, data->search_string, &data->show_list, &next_instance); if (!next_instance.empty()) SaveContextToData(next_instance, done, data); return done; } // // Specialization of BgpShowHandler<>::FillShowList for summary introspect. // template <> void BgpShowHandler<ShowEvpnTableSummaryReq, ShowEvpnTableSummaryReqIterate, ShowEvpnTableSummaryResp, ShowEvpnTable>::FillShowList( ShowEvpnTableSummaryResp *resp, const vector<ShowEvpnTable> &show_list) { resp->set_tables(show_list); } // // Handler for ShowEvpnTableReq. // Schedules the callback to run in Task ("db::DBTable", 0) so that multicast // data structures in EvpnManager can be accessed safely. // void ShowEvpnTableReq::HandleRequest() const { RequestPipeline::PipeSpec ps(this); RequestPipeline::StageSpec s1; TaskScheduler *scheduler = TaskScheduler::GetInstance(); s1.taskId_ = scheduler->GetTaskId("db::DBTable"); s1.cbFn_ = boost::bind(&BgpShowHandler< ShowEvpnTableReq, ShowEvpnTableReqIterate, ShowEvpnTableResp, ShowEvpnTable>::Callback, _1, _2, _3, _4, _5); s1.allocFn_ = BgpShowHandler< ShowEvpnTableReq, ShowEvpnTableReqIterate, ShowEvpnTableResp, ShowEvpnTable>::CreateData; s1.instances_.push_back(0); ps.stages_.push_back(s1); RequestPipeline rp(ps); } // // Handler for ShowEvpnTableReqIterate. // Schedules the callback to run in Task ("db::DBTable", 0) so that multicast // data structures in EvpnManager can be accessed safely. // void ShowEvpnTableReqIterate::HandleRequest() const { RequestPipeline::PipeSpec ps(this); RequestPipeline::StageSpec s1; TaskScheduler *scheduler = TaskScheduler::GetInstance(); s1.taskId_ = scheduler->GetTaskId("db::DBTable"); s1.cbFn_ = boost::bind(&BgpShowHandler< ShowEvpnTableReq, ShowEvpnTableReqIterate, ShowEvpnTableResp, ShowEvpnTable>::CallbackIterate, _1, _2, _3, _4, _5); s1.allocFn_ = BgpShowHandler< ShowEvpnTableReq, ShowEvpnTableReqIterate, ShowEvpnTableResp, ShowEvpnTable>::CreateData; s1.instances_.push_back(0); ps.stages_.push_back(s1); RequestPipeline rp(ps); } // // Handler for ShowEvpnTableSummaryReq. // Schedules the callback to run in Task ("db::DBTable", 0) so that multicast // data structures in EvpnManager can be accessed safely. This is not really // necessary for summary requests, but we do this for consistency with regular // requests. // void ShowEvpnTableSummaryReq::HandleRequest() const { RequestPipeline::PipeSpec ps(this); RequestPipeline::StageSpec s1; TaskScheduler *scheduler = TaskScheduler::GetInstance(); s1.taskId_ = scheduler->GetTaskId("db::DBTable"); s1.cbFn_ = boost::bind(&BgpShowHandler< ShowEvpnTableSummaryReq, ShowEvpnTableSummaryReqIterate, ShowEvpnTableSummaryResp, ShowEvpnTable>::Callback, _1, _2, _3, _4, _5); s1.allocFn_ = BgpShowHandler< ShowEvpnTableSummaryReq, ShowEvpnTableSummaryReqIterate, ShowEvpnTableSummaryResp, ShowEvpnTable>::CreateData; s1.instances_.push_back(0); ps.stages_.push_back(s1); RequestPipeline rp(ps); } // // Handler for ShowEvpnTableSummaryReqIterate. // Schedules the callback to run in Task ("db::DBTable", 0) so that multicast // data structures in EvpnManager can be accessed safely. This is not really // necessary for summary requests, but we do this for consistency with regular // requests. // void ShowEvpnTableSummaryReqIterate::HandleRequest() const { RequestPipeline::PipeSpec ps(this); RequestPipeline::StageSpec s1; TaskScheduler *scheduler = TaskScheduler::GetInstance(); s1.taskId_ = scheduler->GetTaskId("db::DBTable"); s1.cbFn_ = boost::bind(&BgpShowHandler< ShowEvpnTableSummaryReq, ShowEvpnTableSummaryReqIterate, ShowEvpnTableSummaryResp, ShowEvpnTable>::CallbackIterate, _1, _2, _3, _4, _5); s1.allocFn_ = BgpShowHandler< ShowEvpnTableSummaryReq, ShowEvpnTableSummaryReqIterate, ShowEvpnTableSummaryResp, ShowEvpnTable>::CreateData; s1.instances_.push_back(0); ps.stages_.push_back(s1); RequestPipeline rp(ps); }
8cd428b3cbd0d9953260e009b327bea5e3c9ac55
96c060b2701a1e93c640d154a29d3938107e2eb5
/main.cpp
c652bfef5a3beed060a1f59659bfd2c4a6c96e33
[]
no_license
klsn/cpp-matrix_determinant_iterative
7dcbb58aca507e51cda864db2f6ab3292b347f14
0e13c8cc187b5f62bbacb3a8bfb6bd069ec3f7d6
refs/heads/master
2023-08-10T10:20:21.160871
2021-09-15T07:35:57
2021-09-15T07:35:57
405,331,173
0
0
null
null
null
null
UTF-8
C++
false
false
1,461
cpp
#include <bits/stdc++.h> using namespace std; // if matirx[i][i] == 0; find a row such that !=0 and swap it. bool swapRows (vector<vector<double>> &matrix, int &i, int &n, double &ans) { for (int j=i+1;j<n;j++) { if (matrix.at(j).at(i) !=0) { vector<double> temp = matrix.at(j); matrix.at(j) = matrix.at(i); matrix.at(i) = temp; ans *= -1; // when swapping any 2 rows, det*=-1. return false; } } return true; } int main() { double ans=1, temp; int ansLog=0, n, tempInt; cin >> n; // size of matrix. vector<vector<double>> matrix (n, vector<double>(n)); for (int i=0;i<n;i++) for (int j=0;j<n;j++){ cin >> matrix.at(i).at(j); } // input till here. for (int i=0;i<n-1;i++){ // row reduction. if ( matrix.at(i).at(i) == 0) if ( swapRows(matrix, i, n, ans) ) { // returned true means det is 0 cout << 0 <<" \\times 10^ "<< 0 <<endl; return 0; } for (int j=i+1;j<n;j++){ temp = matrix.at(j).at(i) / matrix.at(i).at(i); for (int k=i;k<n;k++){ matrix.at(j).at(k) -= matrix.at(i).at(k) * temp; } } } /* output for debug. for (int i=0;i<n;i++){ for (int j=0;j<n;j++){ cout << matrix.at(i).at(j) << ' '; } cout <<endl; } */ for (int i=0;i<n;i++) { ans *= matrix.at(i).at(i); if (ans != 0){ tempInt = log(abs(ans))/log(10); if (tempInt !=0){ ansLog += tempInt; ans/= pow(10,tempInt); } } } cout << ans <<" \\times 10^ "<< ansLog <<endl; return 0; }
b3681d93d9201c304699feb769ee0852db5e0a21
612252bef1d47b5d5bfe2d94e8de0a318db4fc8e
/3.8.1/Voxel_Explorer/Classes/Sprites3D/Doors/BossDoor.cpp
f152f9700d8bc8145c81b4948522a096e10487cb
[ "MIT" ]
permissive
dingjunyong/MyCocos2dxGame
78cf0727b85f8d57c7c575e05766c84b9fa726c1
c8ca9a65cd6f54857fc8f6c445bd6226f2f5409d
refs/heads/master
2020-06-05T08:32:45.776325
2016-10-08T16:09:38
2016-10-08T16:09:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,345
cpp
// // BossDoor.cpp // Voxel_Explorer // // Created by wang haibo on 15/12/5. // // #include "BossDoor.hpp" #include "LevelResourceManager.h" USING_NS_CC; BossDoor* BossDoor::create(bool show) { auto tile = new (std::nothrow) BossDoor(); if (tile && tile->initWithFile("16x16x16.c3b")) { std::string tex = LevelResourceManager::getInstance()->getTerrainTileRes(TERRAIN_TILES_NAME[TerrainTile::TT_WALL]); if(!tex.empty()) tile->setTexture(tex); tile->setCameraMask((unsigned int)CameraFlag::USER1); tile->setLightMask((unsigned int)LightFlag::LIGHT0); tile->setVisible(show); tile->autorelease(); return tile; } CC_SAFE_DELETE(tile); return nullptr; } BossDoor::BossDoor() { m_OpenType = DOT_BOSS; } BossDoor::~BossDoor() { } bool BossDoor::createFakeDoor() { std::string model = LevelResourceManager::getInstance()->getDoorRes(DOOR_MODEL_NAMES[m_OpenType]); m_pFakeDoor = Sprite3D::create(model); if(!m_pFakeDoor) return false; m_pFakeDoor->setCameraMask((unsigned int)CameraFlag::USER1); m_pFakeDoor->setLightMask((unsigned int)LightFlag::LIGHT0); m_pFakeDoor->setPosition3D(Vec3(getPositionX(), -TerrainTile::CONTENT_SCALE*0.95f, getPositionZ())); this->getParent()->addChild(m_pFakeDoor); return true; }
4a00a212fe9789d938065fe4b8c39e7f70f94c1f
03210cbc69f64a76191d1e348b0325082bc40541
/project2D/Level.cpp
d0432fea93a260c04bc26c85c0417b4e246c7aef
[ "MIT" ]
permissive
AlexMollard/PacMan
94e7033aa56a991b0d6e5d9c211da4d50a0ef30f
03d6d0996d89652375abd7e0d604f609fae5f95b
refs/heads/master
2020-06-13T07:37:10.449331
2019-07-30T06:59:17
2019-07-30T06:59:17
194,587,638
0
0
null
null
null
null
UTF-8
C++
false
false
6,360
cpp
#include "Level.h" #include <iostream> #define NodeSize 50 Level::Level() { SetName("Level"); _collisionManager = new CollisionManager(); _Grid = new Grid(15, 15); _PacManTexture = new aie::Texture("./textures/PacManOpen.png"); _Font = new aie::Font("./font/consolas.ttf", 32); _Score = 0; _Timer = 20.0f; _Lifes = 3; _PowerUp = false; for (int x = 0; x < 15; x++) { for (int y = 0; y < 15; y++) { if (map[y][x] == 5) { _PacMan = new PacMan(_Grid); _PacMan->SetParent(this); _PacMan->SetPosition(Vector2(100 + NodeSize * x, 100 + NodeSize * y)); _PacMan->SetSpawn(Vector2(100 + NodeSize * x, 100 + NodeSize * y)); _PacMan->UpDateGlobalTransform(); _collisionManager->AddObject(_PacMan); } else if (map[y][x] == 0) { _Dot.push_back(new Dot("./textures/Dot.png", _Grid)); _Dot.back()->SetParent(this); _Dot.back()->SetPosition(Vector2(100 + NodeSize * x, 100 + NodeSize * y)); _Dot.back()->UpDateGlobalTransform(); _Dot.back()->SetScale(Vector2(0.5f, 0.5f)); _collisionManager->AddObject(_Dot.back()); } else if (map[y][x] == 1) { //Choose wall texture //if (map[y + 1][x] == 1 && map[y - 1][x] == 1 && map[y][x + 1] == 1 && y < 14 && y > 0 && x < 14 && x > 0) // Up, Down, Right // _Wall.push_back(new Wall("./textures/Walls/UpDownRight.png", _Grid)); //else if (map[y + 1][x] == 1 && map[y - 1][x] == 1 && map[y][x - 1] == 1 && y < 14 && y > 0 && x < 14 && x > 0) // Up, Down, Left // _Wall.push_back(new Wall("./textures/Walls/UpDownLeft.png", _Grid)); //else if (map[y + 1][x] == 1 && map[y - 1][x] != 1 && map[y][x + 1] == 1 && y < 14 && y > 0 && x < 14 && x > 0) // Right, Up // _Wall.push_back(new Wall("./textures/Walls/UpRight.png", _Grid)); //else if (map[y + 1][x] == 1 && map[y - 1][x] != 1 && map[y][x - 1] == 1 && y < 14 && y > 0 && x < 14 && x > 0) // Left, Up // _Wall.push_back(new Wall("./textures/Walls/UpLeft.png", _Grid)); //else if (map[y+1][x] == 1 && map[y+1][x] != 1 && y < 14 && y > 0) // Up // _Wall.push_back(new Wall("./textures/Walls/Up.png", _Grid)); //else if (map[y + 1][x] != 1 && map[y + 1][x] == 1 && y < 14 && y > 0) // Down // _Wall.push_back(new Wall("./textures/Walls/Down.png", _Grid)); //else if (map[y][x - 1] == 1 && map[y][x + 1] != 1 && x < 14 && x > 0) // Right // _Wall.push_back(new Wall("./textures/Walls/Right.png", _Grid)); //else if (map[y][x - 1] != 1 && map[y][x + 1] == 1 && x < 14 && x > 0) // Left // _Wall.push_back(new Wall("./textures/Walls/Left.png", _Grid)); //else if (map[y][x+1] == 1 && map[y][x - 1] == 1 && x < 14 && x > 0) // Right, Left // _Wall.push_back(new Wall("./textures/Walls/RightLeft.png", _Grid)); //else if (map[y + 1][x] == 1 && map[y - 1][x] == 1 && y < 14 && y > 0) // Up, Down // _Wall.push_back(new Wall("./textures/Walls/UpDown.png", _Grid)); //else _Wall.push_back(new Wall("./textures/Walls/Wall.png", _Grid)); // Normal _Wall.back()->SetParent(this); _Wall.back()->SetPosition(Vector2(100 + NodeSize * x, 100 + NodeSize * y)); _Wall.back()->UpDateGlobalTransform(); } else if (map[y][x] == 2) { _Wall.push_back(new Wall("./textures/Open.png", _Grid)); _Wall.back()->SetParent(this); _Wall.back()->SetPosition(Vector2(100 + NodeSize * x, 100 + NodeSize * y)); _Wall.back()->UpDateGlobalTransform(); } else if (map[y][x] == 3) { _Ghost.push_back(new Ghost(_Grid, _Ghost.size())); _Ghost.back()->SetParent(this); _Ghost.back()->SetPosition(Vector2(100 + NodeSize * x, 100 + NodeSize * y)); _Ghost.back()->SetSpawn(Vector2(100 + NodeSize * x, 100 + NodeSize * y)); _Ghost.back()->UpDateGlobalTransform(); _collisionManager->AddObject(_Ghost.back()); } else if (map[y][x] == 4) { _PlusDot.push_back(new PlusDot("./textures/Dot.png", _Grid)); _PlusDot.back()->SetParent(this); _PlusDot.back()->SetPosition(Vector2(100 + NodeSize * x, 100 + NodeSize * y)); _PlusDot.back()->UpDateGlobalTransform(); _collisionManager->AddObject(_PlusDot.back()); } } } } Level::~Level() { delete _collisionManager; _collisionManager = nullptr; } void Level::Update(float deltaTime) { _Timer += deltaTime; if (_Lifes > 0) { for (int i = 0; i < _Ghost.size(); i++) { _Ghost[i]->GetPacManPos(_PacMan); if (_PacMan->_Path.size() > 0) _Ghost[i]->GetPacManEndPos(_PacMan->_Path.back()); } GameObject::Update(deltaTime); _collisionManager->Update(deltaTime); _Grid->update(deltaTime); _Score = _PacMan->GetScore(); if (_Lifes != _PacMan->GetLifes()) { for (int i = 0; i < _Ghost.size(); i++) { _Ghost[i]->Respawn(); } _PacMan->Respawn(); _Lifes = _PacMan->GetLifes(); } } if (_PacMan->_PowerUp == true && _PowerUp == false) { _PowerUp = true; for (int i = 0; i < _Ghost.size(); i++) { _Ghost[i]->SetFlee(true); _Ghost[i]->SetTimer(0.0f); } _Timer = 0.0f; } if (_Timer > 10.0f) { _PowerUp = false; _PacMan->_PowerUp = false; for (int i = 0; i < _Ghost.size(); i++) { _Ghost[i]->SetFlee(false); } } } void Level::Draw(aie::Renderer2D* renderer) { _Grid->Draw(renderer); GameObject::Draw(renderer); _PacMan->Draw(renderer); for (int i = 0; i < _Ghost.size(); i++) { _Ghost[i]->Draw(renderer); } //_collisionManager->Draw(renderer); // output the score char score[32]; sprintf_s(score, 32, "Score: %i", _Score); renderer->drawText(_Font, score, 385, 785); switch (_Lifes) { case 3: renderer->drawSprite(_PacManTexture, 200.0f, 850.0f, 0.0f, 0.0f, 4.71239f); case 2: renderer->drawSprite(_PacManTexture, 150.0f, 850.0f, 0.0f, 0.0f, 4.71239f); case 1: renderer->drawSprite(_PacManTexture, 100.0f, 850.0f, 0.0f, 0.0f, 4.71239f); default: break; } if (_Lifes <= 0) { renderer->drawText(_Font, "YOU LOST YOU DUMB HEAD", 100.0f, 850.0f); } } bool Level::GetPowerUp() { return _PowerUp; } void Level::SetPowerUp(bool power) { _PowerUp = power; } void Level::GameOver() { }
4516d7275ac2ad383c8f530422e35f645309764c
5b3bf81b22f4eb78a1d9e801b2d1d6a48509a236
/codeforces/personal_round2_05w4/reconst.cc
25e6660ddc24872bf91e1494b04fce745ff679f4
[]
no_license
okoks9011/problem_solving
42a0843cfdf58846090dff1a2762b6e02362d068
e86d86bb5e3856fcaaa5e20fe19194871d3981ca
refs/heads/master
2023-01-21T19:06:14.143000
2023-01-08T17:45:16
2023-01-08T17:45:16
141,427,667
1
1
null
null
null
null
UTF-8
C++
false
false
767
cc
#include <iostream> #include <string> using namespace std; void Solve() { string s; int x; cin >> s >> x; string w(s.size(), '1'); for (int i = 0; i < s.size(); ++i) { if (i >= x && s[i-x] == '0') w[i] = '0'; if (i < s.size()-x && s[i+x] == '0') w[i] = '0'; } string r(w.size(), '0'); for (int i = 0; i < w.size(); ++i) { if (i >= x && w[i-x] == '1') r[i] = '1'; if (i < w.size()-x && w[i+x] == '1') r[i] = '1'; } if (s == r) cout << w << endl; else cout << -1 << endl; } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int t; cin >> t; for (int i = 0; i < t; ++i) Solve(); }
bce15a1c874f33d52e7a9de6ac9991f3ea074486
b87b7c0ebf1456cc9e7ce517ed7a75ff77e07e60
/GameEngine/bar60by120.cpp
e6e6784c8d48a88b6bf01992cf6b1a7d1cef9735
[]
no_license
sigmaroh/UnblockME
97ffb9e8de3fe2d8f62dd19de9a1e960cb638927
463e06a9ccb8e1b83c32f3e6e5ffaef19119ab20
refs/heads/master
2021-05-28T18:10:55.536590
2015-07-01T10:25:09
2015-07-01T10:25:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,510
cpp
#include"SDL/SDL.h" #include "SDL/SDL_image.h" #include"SDL/SDL_ttf.h" #include"declare.h" #include"load.h" #include"bar_declaration.h" #include"load_func.h" #include"load_from_file.h" #include"check_collison.h" #include<string> #include<sstream> #include<cmath> #include<iostream> #include<fstream> #include<vector> #include<cstdlib> using namespace std; int dummyi=praj.i; int dummyj=praj.j; int dummyk=praj.k; int dummyl=praj.l; int dummym=praj.m; int x,y; void doEveryThingForBara1() { while(i<dummyi) { int x1,y1; if (event.type == SDL_MOUSEBUTTONDOWN) { { if(x>a1[i].xpos&&x<(a1[i].xpos+a1[i].width)&&y>a1[i].ypos&&y<(a1[i].ypos+a1[i].height)) a1[i].select = true; if(y<a3[k].ypos-a1[i].height) { selected=true; fromUp=true; fromDown=false; } else if(y>a3[k].ypos+a3[k].height) { fromDown=true; fromUp=false; } } } { x = event.motion.x; y = event.motion.y; if(event.button.button==(SDL_BUTTON_LEFT) ) { { x1=event.motion.x; y1=event.motion.y; for(int k1=0; k1<dummyk; k1++) { if (! a1[i].select) continue; { //if(fromUp==true and fromDown==false and y1<a3[k].ypos-a1[i].height ) //{ if(checkcollison(a1[i],a3[k])==false) { if(fromUp==true and fromDown==false and checkcollison(a1[i],a3[k])==false ) { if(y1>(a3[k].ypos)) { if(checkcollison(a1[i],a3[k])==false) selected=false; } //else if(y1<(a3[k].ypos)) //{ // if(checkcollison(a1[i],a3[k])==false) //selected=true; //} if(selected==true) a1[i].assign(a1[i].xpos,y1); } else if(fromDown==true and fromUp==false and checkcollison(a1[i],a3[k])==false) { a1[i].assign(a1[i].xpos,y1); } } //a1[i].assign(a1[i].xpos,y1); //if(checkcollison(a1[i],a3[k])==true) //{ // y1=a3[k].ypos-a1[i].height; //a1[i].assign(a1[i].xpos,y1); //} //} // else if(fromUp==false and fromDown==true and y1>a3[k].ypos+a3[k].height ) //a1[i].assign(a1[i].xpos,y1); } } for(int k1=0; k1<dummyk; k1++) { if(checkcollison(a1[i],a3[k1])==true) { { if(returnstateofcollison(a1[i],a3[k1])==6) { if(y1<a3[k1].ypos+a3[k].height) { if(fromUp==false and fromDown==true) { y1=a3[k].ypos+a3[k].height; a1[i].assign(a1[i].xpos,y1); a[i].cantmoveup=true; } } } if(returnstateofcollison(a1[i],a3[k1])==5) { if(y1>a3[k1].ypos-a1[i].height) { if(fromUp==true and fromDown==false) { y1=a3[k1].ypos-a1[i].height; a1[i].assign(a1[i].xpos,y1); a[i].cantmovedown=true; } } } } } } } } } a1[i].loadgivenbar(); i++; } }
94c5b4b3ba101cf0ee121b6fcffd2c821d110a13
a8aee202bf8c6b5c25928388f08b6fad4a60d561
/Factorial/fact.cpp
88fcd9f4226f3b2b0addd91b55028e8833c0ddc8
[]
no_license
paulo-m-costa/HS-C
d7d7342bd6a02d8e3d9f19d6e53aa724371435c4
39b808daaa32157c95ddf23a14710fce957118d1
refs/heads/master
2021-01-10T05:25:44.729949
2015-12-10T02:30:42
2015-12-10T02:30:42
47,728,684
0
0
null
null
null
null
UTF-8
C++
false
false
403
cpp
//Paulo Costa //11/17/2010 //Factorial //Returns the factorial of an input integer using the recursive method. //The correct representations of factorials are limited to 12! in 32-bit memory. #include <iostream.h> unsigned long int fact(int n){ if (n<=0){ return 1; } return n*fact(n-1); } int main(void){ int n; cout<<"Enter a number between 1 and 12: "; cin>>n; cout<<n<<"!= "<<fact(n); }
168da8c27071e78f9b38a59ee95e0d8016d9cea6
ed9017f0222c52af0d2a6da73b9d046acae1ed76
/workspace/Activity_timak/src/Core/Metamodel/include/CombinedFragment.h
3e1537e0b28a9a4887d4f3173707ad266b17bcad
[]
no_license
next-dimension-team/Timak_15-16
7989d3a90d3cb20ec2a0d78fe604bf60740bf31d
0902a296ff835a1a7f091b1d25351330ea5e74e8
refs/heads/master
2021-01-11T02:11:11.558451
2016-10-06T10:08:31
2016-10-06T10:08:31
70,096,900
0
1
null
null
null
null
UTF-8
C++
false
false
553
h
#ifndef COMBINEDFRAGMENT_H_ #define COMBINEDFRAGMENT_H_ #include "InteractionFragment.h" namespace team4 { class InteractionOperator; class InteractionOperand; class CombinedFragment : public InteractionFragment { public: static const std::string ELEMENT_TYPE; CombinedFragment(); virtual ~CombinedFragment(); InteractionOperand *m_InteractionOperand; bool serialization(std::ofstream &A_stream); bool deserialization(std::ifstream &A_stream); private: InteractionOperator *_operator; }; }; #endif //COMBINEDFRAGMENT_H_
6d78e0c85866da9c75130cd4d9c6cf31b54979dc
0bcd641a6e27a082b83b858dd621e820907efcab
/bacthan.cpp
5e9d410f02af185dde66dd65fae8cbc4163de3af
[]
no_license
THANH-TRUYEN/QHD
24989545ab2c8f44bb296035df537ef8b5a50a7e
56e8b1614aaa6f092c5fad0311e9b873d9f16093
refs/heads/master
2023-02-10T21:08:26.983691
2021-01-06T06:45:20
2021-01-06T06:45:20
325,252,375
0
2
null
null
null
null
UTF-8
C++
false
false
368
cpp
#include<bits/stdc++.h> using namespace std; const int N=100000; const int Mod=14062008; bool a[N+1]; long long f[N+1]; int main(){ ios_base::sync_with_stdio(0); int n,k; cin>>n>>k; for(int i=1;i<=n;i++) a[i]=1; for(int i=1;i<=k;i++) { int x; cin>>x; a[x]=0; } f[0]=0, f[1]=1; for(int i=2;i<=n;i++) f[i]=a[i]*(f[i-1]+f[i-2])%Mod; cout<<f[n]; return 0; }
60b2d42ee23b0cddcc39f230d93f305d4c3530cc
3629cd0d8a245290a73114f01925ac959b714114
/src/ll1/ll1.cpp
998066427c4868e6dda61bcb1b6335f5152f6c7d
[]
no_license
peteryu47/ComplierTools
dd28e3098d79779d8b68a3282eb56189dee46ea9
7f2d0c39c3767b61216baf3a6627f08a9303e764
refs/heads/master
2021-01-21T07:08:42.969050
2017-03-26T15:00:22
2017-03-26T15:00:22
83,325,926
0
0
null
null
null
null
UTF-8
C++
false
false
13,152
cpp
#include "ll1.h" #include <iostream> #include "com/set_utils.h" void LL1::EliminateLeftRecursion() { vector<GMNodeNT*> nodeNTs = m_Grammer->GetNodeNTs(); vector<GMProduction*> leftRProductions; vector<GMProduction*> nonLeftRProductions; vector<GMNodeBase*> nodes; GMProduction* production; int maxPos = -2; //E->Ea1|Ea2|Ean|b1|b2|bm //1 E->b1E'|b2E'|bmE' //2 E'->a1E'|a2E'|anE'|e for (int i = 0; i < nodeNTs.size(); ++i) { GMNodeNT* nameNode = nodeNTs[i]; GetLeftRecursionProductions(nodeNTs[i], leftRProductions, nonLeftRProductions); if (leftRProductions.size() == 0) { continue; } maxPos = -1; GMNodeNT* newNameNode = m_Grammer->CreateGMNodeNT(nameNode->GetName() + "_"); // 1 for (int j = 0; j < nonLeftRProductions.size(); ++j) { production = nonLeftRProductions[j]; production->AddNode(newNameNode); } // 2 for (int j = 0; j < leftRProductions.size(); ++j) { production = leftRProductions[j]; nodes = production->GetNodes(); production->CleanNodes(); production->SetNameNode(newNameNode); for (int k = 1; k < nodes.size(); ++k) { production->AddNode(nodes[k]); } production->AddNode(newNameNode); if (production->GetNo() > maxPos) { maxPos = production->GetNo(); } } // add epsilon GMProduction* nullProduction = m_Grammer->CreateProduction(newNameNode, maxPos + 1); nullProduction->AddNode(m_Grammer->GetNodeTEpsilon()); } } void LL1::EliminateIndirectRecursion() { vector<GMNodeNT*> nodeNTs = m_Grammer->GetNodeNTs(); for (int i = 0; i < nodeNTs.size(); ++i) { for (int j = 0; j < i; ++j) { ReplaceProductionFirstNode(nodeNTs[i], nodeNTs[j]); } } } void LL1::EliminateCommonPrefix() { const vector<GMNodeNT*> ntNodes = m_Grammer->GetNodeNTs(); vector<GMProduction*> productions; for (int i = 0; i < ntNodes.size(); ++i) { GetProductionWithNameNode(ntNodes[i], productions); for (int j = 0; j < productions.size(); ++j) { } } } void LL1::CalFirstSet() { const vector<GMNodeNT*> ntNodes = m_Grammer->GetNodeNTs(); const vector<GMNodeT*> tNodes = m_Grammer->GetNodeTs(); const vector<GMProduction*> productions = m_Grammer->GetProductions(); vector<GMNodeBase*> nodes; int curCount = 0; int tempCount = 0; GMNodeBase* nameNode; bool flag = false; // init for (int i = 0; i < ntNodes.size(); ++i) { m_FirstSetMap[ntNodes[i]] = set<GMNodeBase*>(); ++curCount; } for (int i = 0; i < tNodes.size(); ++i) { m_FirstSetMap[tNodes[i]] = set<GMNodeBase*>(); m_FirstSetMap[tNodes[i]].insert(tNodes[i]); ++curCount; } while (true) { for (int i = 0; i < productions.size(); ++i) { nodes = productions[i]->GetNodes(); nameNode = const_cast<GMNodeBase*>(productions[i]->GetNameNode()); SetAdd<GMNodeBase*>(m_FirstSetMap[nameNode], m_FirstSetMap[nodes[0]]); SetRemove<GMNodeBase*>(m_FirstSetMap[nameNode], m_Grammer->GetNodeTEpsilon()); flag = true; for (int j = 0; j < nodes.size(); ++j) { if (!SetContains<GMNodeBase*>(m_FirstSetMap[nodes[j]], m_Grammer->GetNodeTEpsilon())) { flag = false; break; } } // all node has epsilon if (flag == true) { SetAdd<GMNodeBase*>(m_FirstSetMap[nameNode], m_Grammer->GetNodeTEpsilon()); } } tempCount = 0; for (map<GMNodeBase*, set<GMNodeBase*>>::iterator itr = m_FirstSetMap.begin(); itr != m_FirstSetMap.end(); ++itr) { for (set<GMNodeBase*>::iterator itr1 = itr->second.begin(); itr1 != itr->second.end(); ++itr1) { ++tempCount; } } if (curCount == tempCount) { break; } else { curCount = tempCount; } } } void LL1::DumpFirstSet() { cout << "**********DumpFirstSet***********" << endl; for (map<GMNodeBase*, set<GMNodeBase*>>::iterator itr = m_FirstSetMap.begin(); itr != m_FirstSetMap.end(); ++itr) { cout << itr->first->GetName() << " : ["; int count = 0; for (set<GMNodeBase*>::iterator itr1 = itr->second.begin(); itr1 != itr->second.end(); ++itr1) { cout << (*itr1)->GetName(); if (count != itr->second.size() - 1) { cout << ", "; } ++count; } cout << "]" << endl; } } void LL1::CalFellowSet() { const vector<GMNodeNT*> ntNodes = m_Grammer->GetNodeNTs(); const vector<GMNodeT*> tNodes = m_Grammer->GetNodeTs(); const vector<GMProduction*> productions = m_Grammer->GetProductions(); vector<GMNodeBase*> nodes; int curCount = 0; int tempCount = 0; GMNodeBase* nameNode; bool flag = false; GMNodeBase* nodeBeta; // init for (int i = 0; i < ntNodes.size(); ++i) { m_FellowSetMap[ntNodes[i]] = set<GMNodeBase*>(); ++curCount; } for (int i = 0; i < tNodes.size(); ++i) { m_FellowSetMap[tNodes[i]] = set<GMNodeBase*>(); ++curCount; } while (true) { for (int i = 0; i < productions.size(); ++i) { nodes = productions[i]->GetNodes(); nameNode = const_cast<GMNodeBase*>(productions[i]->GetNameNode()); set<GMNodeBase*> trailer = m_FellowSetMap[nameNode]; for (int j = nodes.size() - 1; j >= 0; --j) { nodeBeta = nodes[j]; if (nodeBeta->GetType() == kGMNodeTypeNT) { SetAdd(m_FellowSetMap[nodeBeta], trailer); if (SetContains<GMNodeBase*>(m_FirstSetMap[nodeBeta], m_Grammer->GetNodeTEpsilon())) { SetAdd(trailer, m_FirstSetMap[nodeBeta]); SetRemove<GMNodeBase*>(trailer, m_Grammer->GetNodeTEpsilon()); } else { trailer = m_FirstSetMap[nodeBeta]; } } else { trailer = m_FirstSetMap[nodeBeta]; } } } tempCount = 0; for (map<GMNodeBase*, set<GMNodeBase*>>::iterator itr = m_FellowSetMap.begin(); itr != m_FellowSetMap.end(); ++itr) { for (set<GMNodeBase*>::iterator itr1 = itr->second.begin(); itr1 != itr->second.end(); ++itr1) { ++tempCount; } } if (curCount == tempCount) { break; } else { curCount = tempCount; } } } void LL1::DumpFellowSet() { cout << "**********DumpFellowSet***********" << endl; for (map<GMNodeBase*, set<GMNodeBase*>>::iterator itr = m_FellowSetMap.begin(); itr != m_FellowSetMap.end(); ++itr) { cout << itr->first->GetName() << " : ["; int count = 0; for (set<GMNodeBase*>::iterator itr1 = itr->second.begin(); itr1 != itr->second.end(); ++itr1) { cout << (*itr1)->GetName(); if (count != itr->second.size() - 1) { cout << ", "; } ++count; } cout << "]" << endl; } } void LL1::CalFirstPlusSet() { const vector<GMProduction*> productions = m_Grammer->GetProductions(); set<GMNodeBase*> firstSet; for (int i = 0; i < productions.size(); ++i) { m_FirstlusSetMap[productions[i]] = set<GMNodeBase*>(); } for (int i = 0; i < productions.size(); ++i) { GetFirstSetOfNodes(productions[i]->GetNodes(), firstSet); if (!SetContains<GMNodeBase*>(firstSet, m_Grammer->GetNodeTEpsilon())) { m_FirstlusSetMap[productions[i]] = firstSet; } else { SetAdd(firstSet, m_FellowSetMap[const_cast<GMNodeBase*>(productions[i]->GetNameNode())]); m_FirstlusSetMap[productions[i]] = firstSet; } } } void LL1::DumpFirstPlusSet() { const vector<GMProduction*> productions = m_Grammer->GetProductions(); cout << "**********DumpFirstPlusSet***********" << endl; for (int i = 0; i < productions.size(); ++i) { GMProduction *production = productions[i]; const vector<GMNodeBase*>& nodes = production->GetNodes(); cout << production->GetNameNode()->GetName() << " : "; for (int j = 0; j < nodes.size(); ++j) { cout << nodes[j]->GetName() << " "; } cout << "\t\t: ["; int count = 0; const set<GMNodeBase*>& nodeSet = m_FirstlusSetMap[production]; for (set<GMNodeBase*>::iterator itr = nodeSet.begin(); itr != nodeSet.end(); ++itr) { cout << (*itr)->GetName(); if (count != nodeSet.size() - 1) { cout << ", "; } ++count; } cout << "]" << endl; } } void LL1::GetLeftRecursionProductions(GMNodeNT *nameNode, vector<GMProduction*>& leftRProductions, vector<GMProduction*>& nonLeftRProductions) { leftRProductions.clear(); nonLeftRProductions.clear(); const vector<GMProduction*>& productions = m_Grammer->GetProductions(); for (int i = 0; i < productions.size(); ++i) { if (productions[i]->GetNameNode() == nameNode) { if (productions[i]->GetNodes().size() != 0 && productions[i]->GetNodes()[0] == nameNode) { leftRProductions.push_back(productions[i]); } else { nonLeftRProductions.push_back(productions[i]); } } } } void LL1::GetProductionWithNameNodeAndStartNode(GMNodeNT* nameNode, GMNodeNT* startNode, vector<GMProduction*>& result) { result.clear(); const vector<GMProduction*>& productions = m_Grammer->GetProductions(); for (int i = 0; i < productions.size(); ++i) { if (productions[i]->GetNodes().size() == 0) { continue; } if (productions[i]->GetNameNode() == nameNode && productions[i]->GetNodes()[0] == startNode) { result.push_back(productions[i]); } } } void LL1::GetProductionWithNameNode(GMNodeNT* nameNode, vector<GMProduction*>& result) { result.clear(); const vector<GMProduction*>& productions = m_Grammer->GetProductions(); for (int i = 0; i < productions.size(); ++i) { if (productions[i]->GetNameNode() == nameNode) { result.push_back(productions[i]); } } } void LL1::ReplaceProductionFirstNode(GMNodeNT* nameNode, GMNodeNT* startNode) { vector<GMProduction*> productionsI; vector<GMProduction*> productionsJ; GMProduction* productionI; GMProduction* productionJ; vector<GMNodeBase*> nodes; GetProductionWithNameNodeAndStartNode(nameNode, startNode, productionsI); for (int i = 0; i < productionsI.size(); ++i) { productionI = productionsI[i]; GetProductionWithNameNode(startNode, productionsJ); for (int j = 0; j < productionsJ.size(); ++j) { productionJ = productionsJ[j]; nodes = productionI->GetNodes(); productionI->CleanNodes(); for (int k = 0; k < productionJ->GetNodes().size(); ++k) { productionI->AddNode(productionJ->GetNodes()[k]); } for (int k = 1; k < nodes.size(); ++k) { productionI->AddNode(nodes[k]); } } } } void LL1::GetFirstSetOfNodes(const vector<GMNodeBase*>& nodes, set<GMNodeBase*>& result) { result.clear(); for (int i = 0; i < nodes.size(); ++i) { if (nodes[i]->GetType() == kGMNodeTypeT) { SetAdd(result, m_FirstSetMap[nodes[i]]); break; } else { SetAdd(result, m_FirstSetMap[nodes[i]]); } } bool isAllHasEpsilon = true; for (int i = 0; i < nodes.size(); ++i) { if (nodes[i]->GetType() == kGMNodeTypeT) { isAllHasEpsilon = false; break; } else { if (!SetContains<GMNodeBase*>(m_FirstSetMap[nodes[i]], m_Grammer->GetNodeTEpsilon())) { isAllHasEpsilon = false; break; } } } if (!isAllHasEpsilon) { SetRemove<GMNodeBase*>(result, m_Grammer->GetNodeTEpsilon()); } }
0a5d812f9068825423cdfb72818b28a7a846a093
3e1c7b351ffa1b95832517cdb44bf97e4d5e5354
/ServerEngine/Server (2)/GameFramework/Application.cpp
3f92ebb1562dce22fb818b63d3491912ba726ef9
[]
no_license
willtriti03/cuver
726637e6e99b1521e01e03412841c002d7418af1
01bc1f81d00eda0c8c183b289eee34b88fa2a8bf
refs/heads/master
2021-01-22T10:55:39.907705
2017-05-28T12:41:38
2017-05-28T12:41:38
92,660,423
0
0
null
null
null
null
UHC
C++
false
false
2,256
cpp
#include "Application.h" #include "Function.h" #include "SceneManager.h" #include "SpriteManager.h" #include "TextureManager.h" #include "InputManager.h" LARGE_INTEGER LInterval; LARGE_INTEGER RInterval; LARGE_INTEGER Frequency; Application::Application() : m_pD3D(NULL), m_pd3dDevice(NULL), m_hWnd(NULL), m_pAppName(NULL), m_nWidth(0), m_nHeight(0) { QueryPerformanceCounter(&LInterval); QueryPerformanceFrequency(&Frequency); } Application::~Application() {} //타입 클래스이름::함수이름(){} void Application::RegisterWindowSize(int nWidth, int nHeight) { m_nWidth = nWidth; m_nHeight = nHeight; } float Application::GetElapsedTime() { QueryPerformanceCounter(&RInterval); __int64 Interval(RInterval.QuadPart - LInterval.QuadPart); float eTime = (double)Interval/(double)Frequency.QuadPart; LInterval = RInterval; return eTime; } void Application::InitializeApp() { WNDCLASSEX wc = { sizeof(WNDCLASSEX), CS_CLASSDC, MsgProc, 0L, 0L, GetModuleHandle(NULL), NULL, NULL, NULL, NULL, m_pAppName, NULL}; RegisterClassEx(&wc); m_hWnd = CreateWindow(m_pAppName, m_pAppName, WS_OVERLAPPEDWINDOW, 100, 0, m_nWidth, m_nHeight, GetDesktopWindow(), NULL, wc.hInstance, NULL); } HRESULT Application::InitDirect3D() { D3DPRESENT_PARAMETERS d3dpp; m_pD3D = Direct3DCreate9(D3D_SDK_VERSION); ZeroMemory(&d3dpp, sizeof(d3dpp)); d3dpp.Windowed = true; d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD; d3dpp.BackBufferFormat = D3DFMT_UNKNOWN; d3dpp.BackBufferWidth = m_nWidth; d3dpp.BackBufferHeight = m_nHeight; d3dpp.BackBufferCount = 1; m_pD3D->CreateDevice( D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, m_hWnd, D3DCREATE_SOFTWARE_VERTEXPROCESSING, &d3dpp, &m_pd3dDevice); SpriteMgr->Initialize(); return S_OK; } void Application::Update(float eTime) { SceneMgr->update(eTime); InputMgr->update(); } void Application::Render() { m_pd3dDevice->Clear(0, NULL, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 51, 53, 57), 1.0f, 0); Update(GetElapsedTime()); if(SUCCEEDED(m_pd3dDevice->BeginScene())) { SceneMgr->render(); m_pd3dDevice->EndScene(); } m_pd3dDevice->Present(NULL, NULL, NULL, NULL); } void Application::Destroy() { m_pD3D->Release(); m_pd3dDevice->Release(); SpriteMgr->Release(); TextureMgr->Release(); }
6aab8fcf7d5db09732b3ff4a233e63b072d022f6
38d8888061302f63f72950d6e550d12936263267
/Donders/Dick/c++/monkey/Bar.h
d4f9905e2cb7e5f404ccf3727d79ed587ccce603
[]
no_license
Leiqtcv/panda
922a6946d5a4d078e2547090542e7731ab3cdb9e
9945e583203392152371e2ba36e9673986a4e12e
refs/heads/master
2021-01-25T14:34:06.967859
2015-06-13T18:11:54
2015-06-13T18:11:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
991
h
#pragma once #include <gl.h> #include <glu.h> #include "afxcmn.h" // CBar dialog class CBar : public CDialog { DECLARE_DYNAMIC(CBar) public: CBar(CWnd* pParent = NULL); // standard constructor virtual ~CBar(); void init (HDC hDc); void purge (); void reset (); void PenColor (int Color); void InitScene (CDC *pDC); void BuildFont (void); void GetTextExtent (char txt[], float *rx, float *ry); void glPrint (int xd, int yd, float x, float y, const char *fmt, ...); void DrawXaxis (float X0, float X1, float Y0, int lowTick, int stepTick, int numTicks, bool showTicks); void DrawBar (); void redraw (); // Dialog Data enum { IDD = IDD_BAR }; protected: virtual BOOL OnInitDialog(); virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support public: CSpinButtonCtrl s_BarScale; DECLARE_MESSAGE_MAP() public: afx_msg void OnDeltaposSpin1(NMHDR *pNMHDR, LRESULT *pResult); };
[ "[email protected] clone https://gitlab.science.ru.nl/marcw/good-laboratory-practice.gitlsdir" ]
[email protected] clone https://gitlab.science.ru.nl/marcw/good-laboratory-practice.gitlsdir
7234e3ac8d5ac65689aa5c21628b66f88446191a
7c8f7ee315e10a719a39d90dd6b8b39978820049
/std_lib_facilities.h
a29ee0ee7d02149831617b7bfc56fde648e63ba6
[]
no_license
wldarden/Auto
9e7087f8696645b7899240bfa16e05aa8e6d39cf
7dc34384bcd706f504059f6459abdf43cc8efde5
refs/heads/master
2020-05-21T10:12:25.540425
2016-11-22T19:36:03
2016-11-22T19:36:03
70,082,593
0
0
null
null
null
null
UTF-8
C++
false
false
5,445
h
/* simple "Programming: Principles and Practice using C++" course header to be used for the first few weeks. It provides the most common standard headers (in the global namespace) and minimal exception/error support. Students: please don't try to understand the details of headers just yet. All will be explained. This header is primarily used so that you don't have to understand every concept all at once. Revised April 25, 2010: simple_error() added */ #ifndef H112 #define H112 201004L #include<iostream> #include<fstream> #include<sstream> #include<cmath> #include<cstdlib> #include<string> #include<list> #include<vector> #include<algorithm> #include<stdexcept> //------------------------------------------------------------------------------ #ifdef _MSC_VER #include <hash_map> using stdext::hash_map; #else #include <ext/hash_map> using __gnu_cxx::hash_map; namespace __gnu_cxx { template<> struct hash<std::string> { size_t operator()(const std::string& s) const { return hash<const char*>()(s.c_str()); } }; } // of namespace __gnu_cxx #endif //------------------------------------------------------------------------------ #define unordered_map hash_map //------------------------------------------------------------------------------ typedef long Unicode; //------------------------------------------------------------------------------ using namespace std; template<class T> string to_string(const T& t) { ostringstream os; os << t; return os.str(); } struct Range_error : out_of_range { // enhanced vector range error reporting int index; Range_error(int i) :out_of_range("Range error: "+to_string(i)), index(i) { } }; // trivially range-checked vector (no iterator checking): template< class T> struct Vector : public std::vector<T> { typedef typename std::vector<T>::size_type size_type; Vector() { } explicit Vector(size_type n) :std::vector<T>(n) {} Vector(size_type n, const T& v) :std::vector<T>(n,v) {} template <class I> Vector(I first, I last) :std::vector<T>(first,last) {} T& operator[](unsigned int i) // rather than return at(i); { if (i<0||this->size()<=i) throw Range_error(i); return std::vector<T>::operator[](i); } const T& operator[](unsigned int i) const { if (i<0||this->size()<=i) throw Range_error(i); return std::vector<T>::operator[](i); } }; // disgusting macro hack to get a range checked vector: #define vector Vector // trivially range-checked string (no iterator checking): struct String : std::string { String() { } String(const char* p) :std::string(p) {} String(const string& s) :std::string(s) {} template<class S> String(S s) :std::string(s) {} String(int sz, char val) :std::string(sz,val) {} template<class Iter> String(Iter p1, Iter p2) : std::string(p1,p2) { } char& operator[](unsigned int i) // rather than return at(i); { if (i<0||size()<=i) throw Range_error(i); return std::string::operator[](i); } const char& operator[](unsigned int i) const { if (i<0||size()<=i) throw Range_error(i); return std::string::operator[](i); } }; #ifndef _MSC_VER namespace __gnu_cxx { template<> struct hash<String> { size_t operator()(const String& s) const { return hash<std::string>()(s); } }; } // of namespace __gnu_cxx #endif struct Exit : runtime_error { Exit(): runtime_error("Exit") {} }; // error() simply disguises throws: inline void error(const string& s) { throw runtime_error(s); } inline void error(const string& s, const string& s2) { error(s+s2); } inline void error(const string& s, int i) { ostringstream os; os << s <<": " << i; error(os.str()); } #if _MSC_VER<1500 // disgusting macro hack to get a range checked string: #define string String // MS C++ 9.0 have a built-in assert for string range check // and uses "std::string" in several places so that macro substitution fails #endif template<class T> char* as_bytes(T& i) // needed for binary I/O { void* addr = &i; // get the address of the first byte // of memory used to store the object return static_cast<char*>(addr); // treat that memory as bytes } inline void keep_window_open() { cin.clear(); cout << "Please enter a character to exit\n"; char ch; cin >> ch; return; } inline void keep_window_open(string s) { if (s=="") return; cin.clear(); cin.ignore(120,'\n'); for (;;) { cout << "Please enter " << s << " to exit\n"; string ss; while (cin >> ss && ss!=s) cout << "Please enter " << s << " to exit\n"; return; } } // error function to be used (only) until error() is introduced in Chapter 5: inline void simple_error(string s) // write ``error: s�� and exit program { cerr << "error: " << s << '\n'; keep_window_open(); // for some Windows environments exit(1); } // make std::min() and std::max() accessible: #undef min #undef max #include<iomanip> inline ios_base& general(ios_base& b) // to augment fixed and scientific { b.setf(ios_base::fmtflags(0),ios_base::floatfield); return b; } // run-time checked narrowing cast (type conversion): template<class R, class A> R narrow_cast(const A& a) { R r = R(a); if (A(r)!=a) error(string("info loss")); return r; } inline int randint(int max) { return rand()%max; } inline int randint(int min, int max) { return randint(max-min)+min; } inline double sqrt(int x) { return sqrt(double(x)); } // to match C++0x #endif
45856c4d991e456468fbe6b84be2f75829e85fd2
6c996ca5146bd307a062f38819acec16d710656f
/workspace/iw8/code_source/libs/demonwareclient/bdlobby/bdobjectstore/bdobjectstoreerrorwrappedobject.cpp
28606f9b01676485d073f9e3541a7ded2beb46d0
[]
no_license
Omn1z/OpenIW8
d46f095d4d743d1d8657f7e396e6d3cf944aa562
6c01a9548e4d5f7e1185369a62846f2c6f8304ba
refs/heads/main
2023-08-15T22:43:01.627895
2021-10-10T20:44:57
2021-10-10T20:44:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
22,166
cpp
/* ============== bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject ============== */ void __fastcall bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject(bdObjectStoreErrorWrappedObject *this, const bdObjectStoreErrorWrappedObject *__that) { ??0bdObjectStoreErrorWrappedObject@@QEAA@AEBV0@@Z(this, __that); } /* ============== bdObjectStoreErrorWrappedObject::reset ============== */ void __fastcall bdObjectStoreErrorWrappedObject::reset(bdObjectStoreErrorWrappedObject *this) { ?reset@bdObjectStoreErrorWrappedObject@@QEAAXXZ(this); } /* ============== bdObjectStoreErrorWrappedObject::getObject ============== */ bdObjectStoreObject *__fastcall bdObjectStoreErrorWrappedObject::getObject(bdObjectStoreErrorWrappedObject *this) { return ?getObject@bdObjectStoreErrorWrappedObject@@QEAAAEAVbdObjectStoreObject@@XZ(this); } /* ============== bdObjectStoreErrorWrappedObject::deserializeFromJSON ============== */ bool __fastcall bdObjectStoreErrorWrappedObject::deserializeFromJSON(bdObjectStoreErrorWrappedObject *this, bdJSONDeserializer *json) { return ?deserializeFromJSON@bdObjectStoreErrorWrappedObject@@QEAA_NPEAVbdJSONDeserializer@@@Z(this, json); } /* ============== bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject ============== */ void __fastcall bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject(bdObjectStoreErrorWrappedObject *this) { ??0bdObjectStoreErrorWrappedObject@@QEAA@XZ(this); } /* ============== bdObjectStoreErrorWrappedObject::isModified ============== */ bdObjectStoreErrorWrappedObject::bdObjectStoreModifiedStatus __fastcall bdObjectStoreErrorWrappedObject::isModified(bdObjectStoreErrorWrappedObject *this) { return ?isModified@bdObjectStoreErrorWrappedObject@@QEBA?AW4bdObjectStoreModifiedStatus@1@XZ(this); } /* ============== bdObjectStoreErrorWrappedObject::getObject ============== */ const bdObjectStoreObject *__fastcall bdObjectStoreErrorWrappedObject::getObject(bdObjectStoreErrorWrappedObject *this) { return ?getObject@bdObjectStoreErrorWrappedObject@@QEBAAEBVbdObjectStoreObject@@XZ(this); } /* ============== bdObjectStoreErrorWrappedObject::deserializeErrorFromJSON ============== */ bool __fastcall bdObjectStoreErrorWrappedObject::deserializeErrorFromJSON(bdObjectStoreErrorWrappedObject *this, bdJSONDeserializer *json, bdObjectStoreObjectID::bdObjectStoreObjectIDOwnerType ownerType) { return ?deserializeErrorFromJSON@bdObjectStoreErrorWrappedObject@@QEAA_NPEAVbdJSONDeserializer@@W4bdObjectStoreObjectIDOwnerType@bdObjectStoreObjectID@@@Z(this, json, ownerType); } /* ============== bdObjectStoreErrorWrappedObject::setError ============== */ void __fastcall bdObjectStoreErrorWrappedObject::setError(bdObjectStoreErrorWrappedObject *this, const char *errorName) { ?setError@bdObjectStoreErrorWrappedObject@@QEAAXPEBD@Z(this, errorName); } /* ============== bdObjectStoreErrorWrappedObject::setDownloadStatus ============== */ void __fastcall bdObjectStoreErrorWrappedObject::setDownloadStatus(bdObjectStoreErrorWrappedObject *this, bdObjectStoreErrorWrappedObject::bdObjectStoreDownloadStatus status) { ?setDownloadStatus@bdObjectStoreErrorWrappedObject@@QEAAXW4bdObjectStoreDownloadStatus@1@@Z(this, status); } /* ============== bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject ============== */ void __fastcall bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject(bdObjectStoreErrorWrappedObject *this, bdObjectStoreObject *object) { ??0bdObjectStoreErrorWrappedObject@@QEAA@AEAVbdObjectStoreObject@@@Z(this, object); } /* ============== bdObjectStoreErrorWrappedObject::setError ============== */ void __fastcall bdObjectStoreErrorWrappedObject::setError(bdObjectStoreErrorWrappedObject *this, bdLobbyErrorCode errorCode) { ?setError@bdObjectStoreErrorWrappedObject@@QEAAXW4bdLobbyErrorCode@@@Z(this, errorCode); } /* ============== bdObjectStoreErrorWrappedObject::setObject ============== */ void __fastcall bdObjectStoreErrorWrappedObject::setObject(bdObjectStoreErrorWrappedObject *this, bdObjectStoreObject *object) { ?setObject@bdObjectStoreErrorWrappedObject@@QEAAXAEAVbdObjectStoreObject@@@Z(this, object); } /* ============== bdObjectStoreErrorWrappedObject::getError ============== */ const bdObjectStoreErrorWrappedObject::bdObjectStoreVectorizedError *__fastcall bdObjectStoreErrorWrappedObject::getError(bdObjectStoreErrorWrappedObject *this) { return ?getError@bdObjectStoreErrorWrappedObject@@QEBAAEBW4bdObjectStoreVectorizedError@1@XZ(this); } /* ============== bdObjectStoreErrorWrappedObject::markAsError ============== */ void __fastcall bdObjectStoreErrorWrappedObject::markAsError(bdObjectStoreErrorWrappedObject *this) { ?markAsError@bdObjectStoreErrorWrappedObject@@QEAAXXZ(this); } /* ============== bdObjectStoreErrorWrappedObject::hasError ============== */ bool __fastcall bdObjectStoreErrorWrappedObject::hasError(bdObjectStoreErrorWrappedObject *this) { return ?hasError@bdObjectStoreErrorWrappedObject@@QEBA_NXZ(this); } /* ============== bdObjectStoreErrorWrappedObject::getDownloadStatus ============== */ bdObjectStoreErrorWrappedObject::bdObjectStoreDownloadStatus __fastcall bdObjectStoreErrorWrappedObject::getDownloadStatus(bdObjectStoreErrorWrappedObject *this) { return ?getDownloadStatus@bdObjectStoreErrorWrappedObject@@QEBA?AW4bdObjectStoreDownloadStatus@1@XZ(this); } /* ============== bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject ============== */ void bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject(bdObjectStoreErrorWrappedObject *this, const bdObjectStoreErrorWrappedObject *__that) { char *m_contentURL; char *v5; __int64 v6; bdObjectStoreTag *v7; __int64 m_capacity; unsigned int m_size; __m256i *v10; char *v11; __int64 v12; *(_OWORD *)this->m_object.m_metadata.m_context = *(_OWORD *)__that->m_object.m_metadata.m_context; this->m_object.m_metadata.m_objectID = __that->m_object.m_metadata.m_objectID; *(__m256i *)this->m_object.m_metadata.m_contentChecksum = *(__m256i *)__that->m_object.m_metadata.m_contentChecksum; this->m_object.m_metadata.m_contentChecksum[32] = __that->m_object.m_metadata.m_contentChecksum[32]; *(__m256i *)this->m_object.m_metadata.m_objectVersion = *(__m256i *)__that->m_object.m_metadata.m_objectVersion; this->m_object.m_metadata.m_objectVersion[32] = __that->m_object.m_metadata.m_objectVersion[32]; this->m_object.m_metadata.m_expiresOn = __that->m_object.m_metadata.m_expiresOn; this->m_object.m_metadata.m_contentLength = __that->m_object.m_metadata.m_contentLength; this->m_object.m_metadata.m_acl.m_aclType = __that->m_object.m_metadata.m_acl.m_aclType; this->m_object.m_metadata.m_created = __that->m_object.m_metadata.m_created; this->m_object.m_metadata.m_modified = __that->m_object.m_metadata.m_modified; m_contentURL = this->m_object.m_metadata.m_contentURL; v5 = __that->m_object.m_metadata.m_contentURL; v6 = 8i64; do { *(_OWORD *)m_contentURL = *(_OWORD *)v5; *((_OWORD *)m_contentURL + 1) = *((_OWORD *)v5 + 1); *((_OWORD *)m_contentURL + 2) = *((_OWORD *)v5 + 2); *((_OWORD *)m_contentURL + 3) = *((_OWORD *)v5 + 3); *((_OWORD *)m_contentURL + 4) = *((_OWORD *)v5 + 4); *((_OWORD *)m_contentURL + 5) = *((_OWORD *)v5 + 5); *((_OWORD *)m_contentURL + 6) = *((_OWORD *)v5 + 6); m_contentURL += 128; *((_OWORD *)m_contentURL - 1) = *((_OWORD *)v5 + 7); v5 += 128; --v6; } while ( v6 ); *(__m256i *)this->m_object.m_metadata.m_category = *(__m256i *)__that->m_object.m_metadata.m_category; *(__m256i *)&this->m_object.m_metadata.m_category[32] = *(__m256i *)&__that->m_object.m_metadata.m_category[32]; this->m_object.m_metadata.m_category[64] = __that->m_object.m_metadata.m_category[64]; memcpy_0(this->m_object.m_metadata.m_extraData, __that->m_object.m_metadata.m_extraData, sizeof(this->m_object.m_metadata.m_extraData)); this->m_object.m_metadata.m_extraDataSize = __that->m_object.m_metadata.m_extraDataSize; this->m_object.m_metadata.m_summaryContentLength = __that->m_object.m_metadata.m_summaryContentLength; *(__m256i *)this->m_object.m_metadata.m_summaryChecksum = *(__m256i *)__that->m_object.m_metadata.m_summaryChecksum; this->m_object.m_metadata.m_summaryChecksum[32] = __that->m_object.m_metadata.m_summaryChecksum[32]; this->m_object.m_metadata.m_hasSummary = __that->m_object.m_metadata.m_hasSummary; this->m_object.m_metadata.m_tags.m_capacity = __that->m_object.m_metadata.m_tags.m_capacity; this->m_object.m_metadata.m_tags.m_size = __that->m_object.m_metadata.m_tags.m_size; v7 = NULL; m_capacity = __that->m_object.m_metadata.m_tags.m_capacity; if ( (_DWORD)m_capacity ) { v7 = (bdObjectStoreTag *)bdMemory::allocate(66 * m_capacity); m_size = __that->m_object.m_metadata.m_tags.m_size; if ( m_size ) { v10 = (__m256i *)v7; v11 = (char *)((char *)__that->m_object.m_metadata.m_tags.m_data - (char *)v7); v12 = m_size; do { if ( v10 ) { *v10 = *(__m256i *)((char *)v10 + (_QWORD)v11); v10[1] = *(__m256i *)((char *)v10 + (_QWORD)v11 + 32); v10[2].m256i_i16[0] = *(__int16 *)((char *)v10[2].m256i_i16 + (_QWORD)v11); } v10 = (__m256i *)((char *)v10 + 66); --v12; } while ( v12 ); } } this->m_object.m_metadata.m_tags.m_data = v7; this->m_object.m_metadata.m_numTags = __that->m_object.m_metadata.m_numTags; this->m_object.m_metadata.m_statistics = __that->m_object.m_metadata.m_statistics; this->m_object.m_contentPtr = __that->m_object.m_contentPtr; this->m_object.m_contentSize = __that->m_object.m_contentSize; this->m_object.m_downloadInterceptor = __that->m_object.m_downloadInterceptor; this->m_error = __that->m_error; this->m_hasError = __that->m_hasError; this->m_modified = __that->m_modified; this->m_downloadStatus = __that->m_downloadStatus; } /* ============== bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject ============== */ void bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject(bdObjectStoreErrorWrappedObject *this, bdObjectStoreObject *object) { char *m_contentURL; char *v5; __int64 v6; *(_OWORD *)this->m_object.m_metadata.m_context = *(_OWORD *)object->m_metadata.m_context; this->m_object.m_metadata.m_objectID = object->m_metadata.m_objectID; *(__m256i *)this->m_object.m_metadata.m_contentChecksum = *(__m256i *)object->m_metadata.m_contentChecksum; this->m_object.m_metadata.m_contentChecksum[32] = object->m_metadata.m_contentChecksum[32]; *(__m256i *)this->m_object.m_metadata.m_objectVersion = *(__m256i *)object->m_metadata.m_objectVersion; this->m_object.m_metadata.m_objectVersion[32] = object->m_metadata.m_objectVersion[32]; this->m_object.m_metadata.m_expiresOn = object->m_metadata.m_expiresOn; this->m_object.m_metadata.m_contentLength = object->m_metadata.m_contentLength; this->m_object.m_metadata.m_acl.m_aclType = object->m_metadata.m_acl.m_aclType; this->m_object.m_metadata.m_created = object->m_metadata.m_created; this->m_object.m_metadata.m_modified = object->m_metadata.m_modified; m_contentURL = this->m_object.m_metadata.m_contentURL; v5 = object->m_metadata.m_contentURL; v6 = 8i64; do { *(_OWORD *)m_contentURL = *(_OWORD *)v5; *((_OWORD *)m_contentURL + 1) = *((_OWORD *)v5 + 1); *((_OWORD *)m_contentURL + 2) = *((_OWORD *)v5 + 2); *((_OWORD *)m_contentURL + 3) = *((_OWORD *)v5 + 3); *((_OWORD *)m_contentURL + 4) = *((_OWORD *)v5 + 4); *((_OWORD *)m_contentURL + 5) = *((_OWORD *)v5 + 5); *((_OWORD *)m_contentURL + 6) = *((_OWORD *)v5 + 6); m_contentURL += 128; *((_OWORD *)m_contentURL - 1) = *((_OWORD *)v5 + 7); v5 += 128; --v6; } while ( v6 ); *(__m256i *)this->m_object.m_metadata.m_category = *(__m256i *)object->m_metadata.m_category; *(__m256i *)&this->m_object.m_metadata.m_category[32] = *(__m256i *)&object->m_metadata.m_category[32]; this->m_object.m_metadata.m_category[64] = object->m_metadata.m_category[64]; memcpy_0(this->m_object.m_metadata.m_extraData, object->m_metadata.m_extraData, sizeof(this->m_object.m_metadata.m_extraData)); this->m_object.m_metadata.m_extraDataSize = object->m_metadata.m_extraDataSize; this->m_object.m_metadata.m_summaryContentLength = object->m_metadata.m_summaryContentLength; *(__m256i *)this->m_object.m_metadata.m_summaryChecksum = *(__m256i *)object->m_metadata.m_summaryChecksum; this->m_object.m_metadata.m_summaryChecksum[32] = object->m_metadata.m_summaryChecksum[32]; this->m_object.m_metadata.m_hasSummary = object->m_metadata.m_hasSummary; this->m_object.m_metadata.m_tags.m_capacity = object->m_metadata.m_tags.m_capacity; this->m_object.m_metadata.m_tags.m_size = object->m_metadata.m_tags.m_size; this->m_object.m_metadata.m_tags.m_data = bdArray<bdObjectStoreTag>::uninitializedCopy(&this->m_object.m_metadata.m_tags, &object->m_metadata.m_tags); this->m_object.m_metadata.m_numTags = object->m_metadata.m_numTags; this->m_object.m_metadata.m_statistics = object->m_metadata.m_statistics; this->m_object.m_contentPtr = object->m_contentPtr; this->m_object.m_contentSize = object->m_contentSize; this->m_object.m_downloadInterceptor = object->m_downloadInterceptor; this->m_hasError = 0; *(_QWORD *)&this->m_modified = 1i64; } /* ============== bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject ============== */ void bdObjectStoreErrorWrappedObject::bdObjectStoreErrorWrappedObject(bdObjectStoreErrorWrappedObject *this) { bdObjectStoreObject::bdObjectStoreObject(&this->m_object); this->m_hasError = 0; *(_QWORD *)&this->m_modified = 1i64; } /* ============== bdObjectStoreErrorWrappedObject::deserializeErrorFromJSON ============== */ bool bdObjectStoreErrorWrappedObject::deserializeErrorFromJSON(bdObjectStoreErrorWrappedObject *this, bdJSONDeserializer *json, bdObjectStoreObjectID::bdObjectStoreObjectIDOwnerType ownerType) { bool result; bdObjectStoreErrorWrappedObject::bdObjectStoreModifiedStatus v7; __int32 v8; __int32 v9; __int32 v10; __int32 v11; bdObjectStoreMetadata *Metadata; bool v13; bdObjectStoreObjectID objectID; char v15[32]; char objectName[80]; char value[112]; result = bdJSONDeserializer::getString(json, "error", value, 0x64u); if ( !result ) return result; if ( !strncmp(notModifiedError, value, 0x64ui64) ) { this->m_error = BD_OBJECTSTORE_OBJECT_NOT_MODIFIED_ERROR; v7 = BD_OBJECTSTORE_OBJECT_NOT_MODIFIED; goto LABEL_15; } v8 = bdObjectStoreErrors::getLobbyErrorCodeFromErrorName(value) - 20000; if ( !v8 ) { this->m_error = BD_OBJECTSTORE_OBJECT_NOT_FOUND_ERROR; goto LABEL_14; } v9 = v8 - 1; if ( !v9 ) { this->m_error = BD_OBJECTSTORE_INVALID_ACCESS_ERROR; goto LABEL_14; } v10 = v9 - 1; if ( !v10 ) goto LABEL_9; v11 = v10 - 1; if ( !v11 ) { this->m_error = BD_OBJECTSTORE_OBJECT_TOO_BIG_FOR_REMAINING_SIZE_WINDOW_SPACE_ERROR; goto LABEL_14; } if ( v11 == 1 ) this->m_error = BD_OBJECTSTORE_OBJECT_TOO_BIG_FOR_SIZE_WINDOW_ERROR; else LABEL_9: this->m_error = BD_OBJECTSTORE_UNKNOWN_ERROR; LABEL_14: this->m_hasError = 1; v7 = BD_OBJECTSTORE_UNKNOWN; this->m_downloadStatus = BD_DOWNLOAD_FAILED; LABEL_15: this->m_modified = v7; Metadata = bdObjectStoreObject::getMetadata(&this->m_object); v13 = bdJSONDeserializer::getString(json, (const char *const)&stru_143C9A1A4, objectName, 0x41u) && bdJSONDeserializer::getString(json, "owner", v15, 0x1Eu); bdObjectStoreObjectID::bdObjectStoreObjectID(&objectID, v15, objectName, ownerType); return v13 && bdObjectStoreMetadata::setObjectID(Metadata, &objectID); } /* ============== bdObjectStoreErrorWrappedObject::deserializeFromJSON ============== */ _BOOL8 bdObjectStoreErrorWrappedObject::deserializeFromJSON(bdObjectStoreErrorWrappedObject *this, bdJSONDeserializer *json) { bdObjectStoreMetadata *Metadata; bool v5; unsigned int ContentSize; unsigned int v7; unsigned __int8 *Content; _BYTE *v9; signed __int64 v10; bool v11; bdJSONDeserializer value; char Buf[65536]; bdJSONDeserializer::bdJSONDeserializer(&value); v5 = 0; if ( bdJSONDeserializer::getObject(json, "metadata", &value) ) { Metadata = bdObjectStoreObject::getMetadata(&this->m_object); if ( bdObjectStoreMetadata::deserializeFromJSON(Metadata, &value, USER_OWNER_TYPE) ) v5 = 1; } ContentSize = bdObjectStoreObject::getContentSize(&this->m_object); v7 = ContentSize; if ( v5 && bdJSONDeserializer::getString(json, "content", Buf, ContentSize) ) { Content = bdObjectStoreObject::getContent(&this->m_object); v9 = memchr_0(Buf, 0, 0xFFFFui64); if ( v9 ) v10 = v9 - Buf; else LODWORD(v10) = 0xFFFF; v11 = bdBase64::decode(Buf, v10, Content, v7) != 0; } else { v11 = 0; } bdJSONDeserializer::~bdJSONDeserializer(&value); return v11; } /* ============== bdObjectStoreErrorWrappedObject::getDownloadStatus ============== */ __int64 bdObjectStoreErrorWrappedObject::getDownloadStatus(bdObjectStoreErrorWrappedObject *this) { return (unsigned int)this->m_downloadStatus; } /* ============== bdObjectStoreErrorWrappedObject::getError ============== */ bdObjectStoreErrorWrappedObject::bdObjectStoreVectorizedError *bdObjectStoreErrorWrappedObject::getError(bdObjectStoreErrorWrappedObject *this) { bdHandleAssert(this->m_hasError, "m_hasError", "c:\\workspace\\iw8\\code_source\\libs\\demonwareclient\\bdlobby\\bdobjectstore\\bdobjectstoreerrorwrappedobject.cpp", "bdObjectStoreErrorWrappedObject::getError", 0x23u, "No error exists"); return &this->m_error; } /* ============== bdObjectStoreErrorWrappedObject::getObject ============== */ bdObjectStoreErrorWrappedObject *bdObjectStoreErrorWrappedObject::getObject(bdObjectStoreErrorWrappedObject *this) { return this; } /* ============== bdObjectStoreErrorWrappedObject::getObject ============== */ bdObjectStoreErrorWrappedObject *bdObjectStoreErrorWrappedObject::getObject(bdObjectStoreErrorWrappedObject *this) { return this; } /* ============== bdObjectStoreErrorWrappedObject::hasError ============== */ _BOOL8 bdObjectStoreErrorWrappedObject::hasError(bdObjectStoreErrorWrappedObject *this) { return this->m_hasError; } /* ============== bdObjectStoreErrorWrappedObject::isModified ============== */ __int64 bdObjectStoreErrorWrappedObject::isModified(bdObjectStoreErrorWrappedObject *this) { return (unsigned int)this->m_modified; } /* ============== bdObjectStoreErrorWrappedObject::markAsError ============== */ void bdObjectStoreErrorWrappedObject::markAsError(bdObjectStoreErrorWrappedObject *this) { this->m_hasError = 1; this->m_modified = BD_OBJECTSTORE_UNKNOWN; this->m_downloadStatus = BD_DOWNLOAD_FAILED; } /* ============== bdObjectStoreErrorWrappedObject::reset ============== */ void bdObjectStoreErrorWrappedObject::reset(bdObjectStoreErrorWrappedObject *this) { this->m_hasError = 0; *(_QWORD *)&this->m_modified = 1i64; } /* ============== bdObjectStoreErrorWrappedObject::setDownloadStatus ============== */ void bdObjectStoreErrorWrappedObject::setDownloadStatus(bdObjectStoreErrorWrappedObject *this, bdObjectStoreErrorWrappedObject::bdObjectStoreDownloadStatus status) { this->m_downloadStatus = status; } /* ============== bdObjectStoreErrorWrappedObject::setError ============== */ void bdObjectStoreErrorWrappedObject::setError(bdObjectStoreErrorWrappedObject *this, const char *errorName) { __int32 v4; __int32 v5; __int32 v6; __int32 v7; if ( !strncmp(notModifiedError, errorName, 0x64ui64) ) { this->m_error = BD_OBJECTSTORE_OBJECT_NOT_MODIFIED_ERROR; this->m_modified = BD_OBJECTSTORE_OBJECT_NOT_MODIFIED; return; } v4 = bdObjectStoreErrors::getLobbyErrorCodeFromErrorName(errorName) - 20000; if ( !v4 ) { this->m_error = BD_OBJECTSTORE_OBJECT_NOT_FOUND_ERROR; goto LABEL_13; } v5 = v4 - 1; if ( !v5 ) { this->m_error = BD_OBJECTSTORE_INVALID_ACCESS_ERROR; goto LABEL_13; } v6 = v5 - 1; if ( !v6 ) goto LABEL_10; v7 = v6 - 1; if ( !v7 ) { this->m_error = BD_OBJECTSTORE_OBJECT_TOO_BIG_FOR_REMAINING_SIZE_WINDOW_SPACE_ERROR; goto LABEL_13; } if ( v7 != 1 ) { LABEL_10: this->m_error = BD_OBJECTSTORE_UNKNOWN_ERROR; goto LABEL_13; } this->m_error = BD_OBJECTSTORE_OBJECT_TOO_BIG_FOR_SIZE_WINDOW_ERROR; LABEL_13: this->m_hasError = 1; this->m_downloadStatus = BD_DOWNLOAD_FAILED; this->m_modified = BD_OBJECTSTORE_UNKNOWN; } /* ============== bdObjectStoreErrorWrappedObject::setError ============== */ void bdObjectStoreErrorWrappedObject::setError(bdObjectStoreErrorWrappedObject *this, bdLobbyErrorCode errorCode) { __int32 v2; __int32 v3; __int32 v4; __int32 v5; v2 = errorCode - 20000; if ( !v2 ) { this->m_error = BD_OBJECTSTORE_OBJECT_NOT_FOUND_ERROR; goto LABEL_11; } v3 = v2 - 1; if ( !v3 ) { this->m_error = BD_OBJECTSTORE_INVALID_ACCESS_ERROR; goto LABEL_11; } v4 = v3 - 1; if ( !v4 ) goto LABEL_8; v5 = v4 - 1; if ( !v5 ) { this->m_error = BD_OBJECTSTORE_OBJECT_TOO_BIG_FOR_REMAINING_SIZE_WINDOW_SPACE_ERROR; goto LABEL_11; } if ( v5 != 1 ) { LABEL_8: this->m_error = BD_OBJECTSTORE_UNKNOWN_ERROR; goto LABEL_11; } this->m_error = BD_OBJECTSTORE_OBJECT_TOO_BIG_FOR_SIZE_WINDOW_ERROR; LABEL_11: this->m_hasError = 1; this->m_modified = BD_OBJECTSTORE_UNKNOWN; this->m_downloadStatus = BD_DOWNLOAD_FAILED; } /* ============== bdObjectStoreErrorWrappedObject::setObject ============== */ void bdObjectStoreErrorWrappedObject::setObject(bdObjectStoreErrorWrappedObject *this, bdObjectStoreObject *object) { bdObjectStoreMetadata::operator=(&this->m_object.m_metadata, &object->m_metadata); this->m_object.m_contentPtr = object->m_contentPtr; this->m_object.m_contentSize = object->m_contentSize; this->m_object.m_downloadInterceptor = object->m_downloadInterceptor; }
e0fbd55cde9d536a44b4b99f89f52197f765cf0c
98b1e51f55fe389379b0db00365402359309186a
/midterm/cavity/cavity/0.16/U
cb7771fc030c83c126f83d25507e076499c6a904
[]
no_license
taddyb/597-009
f14c0e75a03ae2fd741905c4c0bc92440d10adda
5f67e7d3910e3ec115fb3f3dc89a21dcc9a1b927
refs/heads/main
2023-01-23T08:14:47.028429
2020-12-03T13:24:27
2020-12-03T13:24:27
311,713,551
1
0
null
null
null
null
UTF-8
C++
false
false
10,892
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "0.16"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField nonuniform List<vector> 400 ( (0.000253143 -0.000248974 0) (0.000140441 0.000112606 0) (-0.00117484 0.000564952 0) (-0.00347459 0.000884802 0) (-0.00636491 0.00104519 0) (-0.00945025 0.0010611 0) (-0.0123773 0.000957207 0) (-0.0148537 0.000759892 0) (-0.0166542 0.000494264 0) (-0.0176209 0.000184401 0) (-0.0176647 -0.000145176 0) (-0.0167698 -0.000468025 0) (-0.0149989 -0.000754861 0) (-0.0124995 -0.000973574 0) (-0.00950732 -0.00109047 0) (-0.00634256 -0.00107339 0) (-0.00339413 -0.000897785 0) (-0.00108461 -0.000556455 0) (0.000195442 -9.06563e-05 0) (0.000267009 0.000261712 0) (-7.71477e-05 -0.000168623 0) (-0.00160752 0.00164277 0) (-0.00567946 0.00361126 0) (-0.0116924 0.00502576 0) (-0.0188502 0.00573241 0) (-0.0263421 0.00574907 0) (-0.0333946 0.00516152 0) (-0.0393389 0.00408442 0) (-0.0436464 0.00264244 0) (-0.0459447 0.000965168 0) (-0.0460274 -0.000811329 0) (-0.0438649 -0.00254169 0) (-0.0396151 -0.00407031 0) (-0.0336306 -0.00523472 0) (-0.0264575 -0.0058753 0) (-0.0188154 -0.00585408 0) (-0.0115428 -0.00508586 0) (-0.00550193 -0.00358346 0) (-0.00149061 -0.00155638 0) (-4.30945e-05 0.000226745 0) (-0.000528291 0.00108895 0) (-0.00370387 0.00572394 0) (-0.0105651 0.0102028 0) (-0.0199473 0.0133787 0) (-0.0306968 0.0149134 0) (-0.0417297 0.0148057 0) (-0.0520043 0.0132258 0) (-0.0606094 0.0104326 0) (-0.0668211 0.00672706 0) (-0.0701276 0.0024341 0) (-0.0702463 -0.00210062 0) (-0.0671382 -0.00650937 0) (-0.0610213 -0.0104045 0) (-0.0523777 -0.0133903 0) (-0.0419498 -0.01509 0) (-0.0307112 -0.015193 0) (-0.0197892 -0.013528 0) (-0.010343 -0.0101584 0) (-0.00354273 -0.00553962 0) (-0.000477075 -0.000946955 0) (-0.000927667 0.00347134 0) (-0.00568096 0.0121939 0) (-0.0152698 0.0198789 0) (-0.0278589 0.0251433 0) (-0.0418985 0.0275364 0) (-0.0560624 0.0270772 0) (-0.0691079 0.024055 0) (-0.0799586 0.0189116 0) (-0.087765 0.0121691 0) (-0.0919277 0.00439694 0) (-0.0921133 -0.0037969 0) (-0.0882699 -0.0117673 0) (-0.0806425 -0.0188374 0) (-0.0697846 -0.0243206 0) (-0.0565591 -0.0275667 0) (-0.0421144 -0.0280419 0) (-0.0278043 -0.0254452 0) (-0.0150657 -0.0198518 0) (-0.00549652 -0.0119037 0) (-0.000861604 -0.0032185 0) (-0.00127845 0.00686241 0) (-0.00752394 0.0209094 0) (-0.0197681 0.0324427 0) (-0.0354695 0.040019 0) (-0.0526465 0.0431981 0) (-0.0697296 0.042102 0) (-0.085305 0.0371969 0) (-0.0981778 0.0291501 0) (-0.10742 0.018738 0) (-0.11238 0.00680189 0) (-0.11269 -0.00576361 0) (-0.108277 -0.0180108 0) (-0.0993839 -0.0289444 0) (-0.0865866 -0.0375492 0) (-0.0708133 -0.0428531 0) (-0.0533399 -0.0440379 0) (-0.035725 -0.0405978 0) (-0.0197026 -0.0325295 0) (-0.00736061 -0.0205511 0) (-0.00120377 -0.00648602 0) (-0.0016075 0.0111926 0) (-0.00930611 0.0318114 0) (-0.024172 0.0478575 0) (-0.0429366 0.0579565 0) (-0.0631598 0.0618121 0) (-0.0830242 0.0597588 0) (-0.100967 0.05252 0) (-0.115711 0.0410416 0) (-0.12629 0.0263846 0) (-0.13203 0.0096771 0) (-0.132543 -0.00789387 0) (-0.127726 -0.0250733 0) (-0.117788 -0.0405353 0) (-0.10328 -0.0529071 0) (-0.085145 -0.0608422 0) (-0.0647433 -0.0631564 0) (-0.0438241 -0.0590308 0) (-0.0244439 -0.0482564 0) (-0.0092443 -0.031501 0) (-0.0015383 -0.0107099 0) (-0.00194085 0.0164466 0) (-0.0111113 0.0448928 0) (-0.0286166 0.0661134 0) (-0.0504202 0.0789142 0) (-0.0735974 0.0832902 0) (-0.096088 0.0799219 0) (-0.11621 0.06989 0) (-0.132651 0.0544804 0) (-0.144452 0.0350666 0) (-0.150954 0.0130648 0) (-0.151762 -0.0100591 0) (-0.146737 -0.0327603 0) (-0.136018 -0.0533888 0) (-0.120082 -0.0701977 0) (-0.0998183 -0.0814108 0) (-0.0766158 -0.0853778 0) (-0.0523828 -0.0808233 0) (-0.029513 -0.0671646 0) (-0.011275 -0.0448662 0) (-0.00190144 -0.0159264 0) (-0.00230201 0.0226582 0) (-0.0130187 0.0602039 0) (-0.0332246 0.0872221 0) (-0.0580333 0.102826 0) (-0.0840063 0.107483 0) (-0.108863 0.102384 0) (-0.130856 0.0890873 0) (-0.148705 0.0692887 0) (-0.161524 0.0446952 0) (-0.168718 0.0169959 0) (-0.169912 -0.0121026 0) (-0.164927 -0.0408099 0) (-0.153797 -0.0671859 0) (-0.136854 -0.0891113 0) (-0.114848 -0.104332 0) (-0.0891049 -0.110615 0) (-0.0616228 -0.106046 0) (-0.0351217 -0.0894454 0) (-0.0135801 -0.0608611 0) (-0.00232886 -0.0222467 0) (-0.00271516 0.029906 0) (-0.0151068 0.0778488 0) (-0.0380995 0.111199 0) (-0.0658209 0.129561 0) (-0.0942858 0.134115 0) (-0.121043 0.126777 0) (-0.144374 0.109728 0) (-0.163131 0.0851459 0) (-0.176595 0.0550813 0) (-0.184309 0.021459 0) (-0.185958 -0.0138422 0) (-0.181325 -0.0488661 0) (-0.170305 -0.0814526 0) (-0.153002 -0.109145 0) (-0.129906 -0.129181 0) (-0.102136 -0.138626 0) (-0.0716558 -0.134701 0) (-0.0414481 -0.115318 0) (-0.0162863 -0.0797952 0) (-0.00285879 -0.0298543 0) (-0.00321309 0.038317 0) (-0.0174714 0.097977 0) (-0.0433392 0.138025 0) (-0.0737522 0.158848 0) (-0.104152 0.162689 0) (-0.132018 0.152465 0) (-0.155806 0.131157 0) (-0.174653 0.101496 0) (-0.188137 0.0658653 0) (-0.196033 0.0263578 0) (-0.198148 -0.0150807 0) (-0.194245 -0.056452 0) (-0.184044 -0.0954952 0) (-0.167332 -0.129502 0) (-0.144187 -0.155213 0) (-0.115316 -0.168883 0) (-0.0824302 -0.166605 0) (-0.0486274 -0.144963 0) (-0.0195323 -0.102053 0) (-0.00353969 -0.0390095 0) (-0.00385166 0.0480877 0) (-0.0202585 0.120784 0) (-0.0490592 0.167591 0) (-0.0817065 0.19017 0) (-0.11308 0.192345 0) (-0.140777 0.178406 0) (-0.163655 0.152326 0) (-0.181344 0.117445 0) (-0.19388 0.0764393 0) (-0.201392 0.0314594 0) (-0.203885 -0.0156295 0) (-0.201134 -0.0629591 0) (-0.192668 -0.108345 0) (-0.177872 -0.148983 0) (-0.156235 -0.181203 0) (-0.127788 -0.20039 0) (-0.093649 -0.201224 0) (-0.0567359 -0.17841 0) (-0.0234898 -0.128064 0) (-0.00444418 -0.0500665 0) (-0.00473559 0.0595351 0) (-0.0237141 0.146517 0) (-0.0554092 0.199607 0) (-0.0894196 0.222607 0) (-0.120182 0.22169 0) (-0.145749 0.202987 0) (-0.165714 0.171659 0) (-0.180463 0.131666 0) (-0.190677 0.0858746 0) (-0.196959 0.0363394 0) (-0.199595 -0.0153458 0) (-0.198422 -0.0676581 0) (-0.192794 -0.118729 0) (-0.181639 -0.165899 0) (-0.163697 -0.205284 0) (-0.138005 -0.231452 0) (-0.104622 -0.237432 0) (-0.0657484 -0.215367 0) (-0.0283946 -0.158263 0) (-0.00569368 -0.0635167 0) (-0.00606421 0.0731999 0) (-0.0282513 0.175479 0) (-0.0625459 0.233441 0) (-0.0963187 0.254583 0) (-0.123943 0.248549 0) (-0.144505 0.223842 0) (-0.158796 0.186939 0) (-0.168246 0.142326 0) (-0.174349 0.0928777 0) (-0.17827 0.0403413 0) (-0.180634 -0.0141792 0) (-0.181406 -0.0697462 0) (-0.179822 -0.125086 0) (-0.174379 -0.178017 0) (-0.162983 -0.224787 0) (-0.143383 -0.259396 0) (-0.113983 -0.273151 0) (-0.0754192 -0.254923 0) (-0.0345799 -0.192997 0) (-0.0075009 -0.0800737 0) (-0.00820589 0.0900269 0) (-0.0345111 0.207958 0) (-0.0704555 0.267781 0) (-0.101096 0.283469 0) (-0.121677 0.269654 0) (-0.133237 0.237679 0) (-0.138316 0.195255 0) (-0.139635 0.147111 0) (-0.139553 0.095826 0) (-0.139787 0.042583 0) (-0.1413 -0.0122193 0) (-0.144237 -0.0684444 0) (-0.147834 -0.125688 0) (-0.150313 -0.182629 0) (-0.148838 -0.236162 0) (-0.139733 -0.28028 0) (-0.119155 -0.304871 0) (-0.0849702 -0.295036 0) (-0.0424679 -0.2323 0) (-0.0102323 -0.100812 0) (-0.0117783 0.111623 0) (-0.0432835 0.243923 0) (-0.078339 0.299961 0) (-0.100702 0.304986 0) (-0.108457 0.280333 0) (-0.105867 0.240249 0) (-0.0976927 0.193156 0) (-0.0879576 0.143446 0) (-0.0797047 0.0929643 0) (-0.0749984 0.0420621 0) (-0.0750165 -0.00972006 0) (-0.0800957 -0.0631617 0) (-0.0896507 -0.118905 0) (-0.101952 -0.176843 0) (-0.11382 -0.235153 0) (-0.120407 -0.288746 0) (-0.115331 -0.327071 0) (-0.0923022 -0.331698 0) (-0.0523383 -0.275347 0) (-0.014443 -0.127327 0) (-0.0175457 0.140643 0) (-0.0547666 0.282135 0) (-0.0828156 0.324677 0) (-0.0881448 0.312398 0) (-0.0752038 0.27436 0) (-0.0527174 0.226668 0) (-0.0276149 0.177191 0) (-0.00469702 0.129054 0) (0.0128966 0.082856 0) (0.0232263 0.0379199 0) (0.0251826 -0.00706833 0) (0.0182991 -0.0537221 0) (0.0027884 -0.103688 0) (-0.0201634 -0.158235 0) (-0.0478212 -0.217403 0) (-0.0750854 -0.278259 0) (-0.0936112 -0.331699 0) (-0.0920892 -0.35762 0) (-0.0632776 -0.319266 0) (-0.0206291 -0.161946 0) (-0.0253981 0.181647 0) (-0.0657149 0.317821 0) (-0.0733401 0.331365 0) (-0.0481225 0.295354 0) (-0.00565046 0.244145 0) (0.0411158 0.192308 0) (0.0845197 0.144978 0) (0.120376 0.102914 0) (0.146521 0.0650972 0) (0.161854 0.0298719 0) (0.165745 -0.00466847 0) (0.157745 -0.0406036 0) (0.137557 -0.0802026 0) (0.105289 -0.12586 0) (0.0621414 -0.17966 0) (0.01172 -0.241953 0) (-0.037881 -0.307823 0) (-0.0716834 -0.360134 0) (-0.0699788 -0.356647 0) (-0.0278509 -0.208287 0) (-0.0294355 0.238942 0) (-0.0606152 0.335942 0) (-0.0219475 0.300577 0) (0.050505 0.240112 0) (0.127529 0.182911 0) (0.196939 0.135347 0) (0.254239 0.0973581 0) (0.298128 0.0668169 0) (0.328683 0.0413315 0) (0.346313 0.0187673 0) (0.351219 -0.00279214 0) (0.343151 -0.0252507 0) (0.32133 -0.0507627 0) (0.284524 -0.0820156 0) (0.23148 -0.12241 0) (0.162118 -0.175637 0) (0.079851 -0.243421 0) (-0.00319687 -0.319211 0) (-0.0544004 -0.368778 0) (-0.0282119 -0.267336 0) (0.00867991 0.281482 0) (0.0203618 0.295061 0) (0.138995 0.211057 0) (0.264399 0.143508 0) (0.364348 0.0972003 0) (0.440331 0.0657848 0) (0.496687 0.0442396 0) (0.536799 0.0288853 0) (0.563357 0.0171977 0) (0.578207 0.00748464 0) (0.582279 -0.00149298 0) (0.575598 -0.0108431 0) (0.557222 -0.0218456 0) (0.525063 -0.0363366 0) (0.475724 -0.0572677 0) (0.404497 -0.0894024 0) (0.305095 -0.13978 0) (0.17332 -0.216472 0) (0.0417908 -0.311724 0) (0.0190837 -0.299589 0) (0.300183 0.145891 0) (0.396874 0.12746 0) (0.55741 0.0761133 0) (0.674457 0.0437522 0) (0.743886 0.025598 0) (0.787142 0.0152632 0) (0.815462 0.00922781 0) (0.833924 0.00551994 0) (0.845349 0.00303383 0) (0.851332 0.00115287 0) (0.852627 -0.000498896 0) (0.849345 -0.00221747 0) (0.840966 -0.00434473 0) (0.826112 -0.00743539 0) (0.802058 -0.0125501 0) (0.763607 -0.0217982 0) (0.699062 -0.0393154 0) (0.583903 -0.0726876 0) (0.41641 -0.12782 0) (0.309416 -0.149275 0) ) ; boundaryField { movingWall { type fixedValue; value uniform (1 0 0); } fixedWalls { type noSlip; } frontAndBack { type empty; } } // ************************************************************************* //
96af9a6cb18676f488108ba50130aa23bb02a11f
668ac416ccbd85d1513f40a07a30918975634e98
/CENTRAL 3D/Source/MathGeoLib/include/Algorithm/GJK.h
bae070689d6cc4867787e069affa4509c37bb549
[ "Apache-2.0", "MIT" ]
permissive
AitorSimona/CENTRAL-3D
ec0b7761c8f09b0070f86748b1f697818ca702fd
01700230b4733e6976fb14971dcc835374f8db12
refs/heads/master
2021-09-28T02:20:08.660510
2021-09-22T14:29:54
2021-09-22T14:29:54
209,045,472
5
4
MIT
2020-04-20T13:55:42
2019-09-17T12:17:17
C++
UTF-8
C++
false
false
3,380
h
/* Copyright Jukka Jylanki Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ /** @file GJK.h @author Jukka Jylanki @brief Implementation of the Gilbert-Johnson-Keerthi (GJK) convex polyhedron intersection test. */ #pragma once #include "../MathGeoLibFwd.h" #include "../Math/float3.h" #include "../Geometry/AABB.h" MATH_BEGIN_NAMESPACE vec UpdateSimplex(vec *s, int &n); #define SUPPORT(dir, minS, maxS) (a.ExtremePoint(dir, maxS) - b.ExtremePoint(-dir, minS)); template<typename A, typename B> bool GJKIntersect(const A &a, const B &b) { vec support[4]; // Start with an arbitrary point in the Minkowski set shape. support[0] = a.AnyPointFast() - b.AnyPointFast(); if (support[0].LengthSq() < 1e-7f) // Robustness check: Test if the first arbitrary point we guessed produced the zero vector we are looking for! return true; vec d = -support[0]; // First search direction is straight toward the origin from the found point. int n = 1; // Stores the current number of points in the search simplex. int nIterations = 50; // Robustness check: Limit the maximum number of iterations to perform to avoid infinite loop if types A or B are buggy! while(nIterations-- > 0) { // Compute the extreme point to the direction d in the Minkowski set shape. float maxS, minS; vec newSupport = SUPPORT(d, minS, maxS); #ifdef MATH_VEC_IS_FLOAT4 assume(newSupport.w == 0.f); #endif // If the most extreme point in that search direction did not walk past the origin, then the origin cannot be contained in the Minkowski // convex shape, and the two convex objects a and b do not share a common point - no intersection! if (minS + maxS < 0.f) return false; // Add the newly evaluated point to the search simplex. assert(n < 4); support[n++] = newSupport; // Examine the current simplex, prune a redundant part of it, and produce the next search direction. d = UpdateSimplex(support, n); if (n == 0) // Was the origin contained in the current simplex? If so, then the convex shapes a and b do share a common point - intersection! return true; } assume2(false && "GJK intersection test did not converge to a result!", a.SerializeToString(), b.SerializeToString()); return false; // Report no intersection. } // This computes GJK intersection, but by first translating both objects to a coordinate frame that is as closely // centered around world origin as possible, to gain floating point precision. template<typename A, typename B> bool FloatingPointOffsetedGJKIntersect(const A &a, const B &b) { AABB ab = a.MinimalEnclosingAABB(); AABB bb = b.MinimalEnclosingAABB(); vec offset = (Min(ab.minPoint, bb.minPoint) + Max(ab.maxPoint, bb.maxPoint)) * 0.5f; const vec floatingPointPrecisionOffset = -offset; return GJKIntersect(a.Translated(floatingPointPrecisionOffset), b.Translated(floatingPointPrecisionOffset)); } MATH_END_NAMESPACE
c337640e73bb832c30ff0d3fa47c91404d27a6d7
2ecf807f4f70b98f4dd417af2834ab0843aabdf0
/tests/test.cpp
c98485b52da83892a5dad5831dbbaa3d4d972104
[ "MIT" ]
permissive
shizgnit/application-template
b30d9256932f594ab9396199ad19470ca201497b
3257e7655ebf205ff6d8260cd98c8bb879437fce
refs/heads/develop
2023-04-28T05:21:31.530939
2023-04-23T17:16:38
2023-04-23T17:16:38
234,957,574
0
0
MIT
2023-03-01T02:29:51
2020-01-19T20:01:28
C++
UTF-8
C++
false
false
1,816
cpp
/* ================================================================================ Copyright (c) 2023, Dee E. Abbott All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the organization nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ================================================================================ */ #include "pch.h" TEST(TestCaseName, TestName) { EXPECT_EQ(1, 1); EXPECT_TRUE(true); }
ebeaba3097837eb6a86303282225d664392c3300
4880980e5defcfbc76076a4d88738c6bc7c0f634
/src/SerialReporter.cpp
700dbf8f3608a88c24c67fad8ed182e8b44bb247
[ "Unlicense" ]
permissive
oturpe/rotation-counter
f170bf212d9b8089a322547ec389b61c300c67c6
852fd8ea9759386eb098074ce7de7f0d07490d5a
refs/heads/master
2021-01-18T22:31:58.490671
2016-06-01T14:22:50
2016-06-01T14:22:50
14,189,565
0
0
null
null
null
null
UTF-8
C++
false
false
444
cpp
/* * SerialReporter.cpp * * Created on: 7.11.2013 * Author: Otto Urpelainen */ #include "RotationCounter.h" #include "Arduino.h" #include "SerialReporter.h" SerialReporter::SerialReporter() : count(0) { } void SerialReporter::init() { Serial.begin(9600); } void SerialReporter::next() { static const int REPORT_INTERVAL = 1; count += 1; if(count % REPORT_INTERVAL == 0) { Serial.println(count); } }
bab3e7c3383dbb8800f9286464c67b442df294fc
3ed692cf3a69a3d430268d3dc8587cd46e405ffb
/lib/kbthread/include/tsqueue.h
d6155fba1c0821830c34f4f23b9f595ab7ca3bea
[]
no_license
KaiBartolone/kbnet
a8b586074cd2296c38773389f0f43125e94d6fdc
f5984aad256baf180d167f869a35f402d651a32f
refs/heads/main
2023-06-02T00:05:04.023895
2021-06-16T06:24:43
2021-06-16T06:24:43
376,409,479
0
0
null
null
null
null
UTF-8
C++
false
false
3,772
h
/* License (OLC-3) ~~~~~~~~~~~~~~~ Copyright 2018 - 2021 OneLoneCoder.com Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions or derivations of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions or derivative works in binary form must reproduce the above copyright notice. This list of conditions and the following disclaimer must be reproduced in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Links ~~~~~ YouTube: https://www.youtube.com/javidx9 Discord: https://discord.gg/WhwHUMV Twitter: https://www.twitter.com/javidx9 Twitch: https://www.twitch.tv/javidx9 GitHub: https://www.github.com/onelonecoder Homepage: https://www.onelonecoder.com Author ~~~~~~ David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021 */ #ifndef _TS_QUEUE_H #define _TS_QUEUE_H #include <deque> #include <mutex> #include <condition_variable> template <class T> class tsqueue { public: tsqueue() = default; const T& front() { std::lock_guard<std::mutex> lg(m); return dq.front(); } const T& back() { std::lock_guard<std::mutex> lg(m); return dq.back(); } void push_back(const T& value) { std::lock_guard<std::mutex> lg(m); dq.push_back(value); } void push_front(const T& value) { std::lock_guard<std::mutex> lg(m); dq.push_front(value); } T pop_front() { std::lock_guard<std::mutex> lg(m); T value = std::move(dq.front()); dq.pop_front(); cv.notify_one(); return value; } T pop_back() { std::lock_guard<std::mutex> lg(m); T value = std::move(dq.back()); dq.pop_back(); cv.notify_one(); return value; } bool empty() { std::lock_guard<std::mutex> lg(m); return dq.empty(); } size_t size() { std::lock_guard<std::mutex> lg(m); return dq.size(); } void clear() { std::lock_guard<std::mutex> lg(m); return dq.clear(); } void wait() { std::unique_lock<std::mutex> lg(wait_block); cv.wait(lg, [this]{return !empty();}); } void unwait(){} tsqueue(const tsqueue &) = delete; tsqueue(tsqueue &&) = delete; tsqueue &operator=(tsqueue &&) = delete; tsqueue &operator=(const tsqueue &) = delete; private: std::deque<T> dq; mutable std::mutex m; mutable std::mutex wait_block; std::condition_variable cv; }; #endif
822a4f856234126a8f7adeb514f51d50b3e7b4e6
fae45a23a885b72cd27c0ad1b918ad754b5de9fd
/benchmarks/shenango/parsec/pkgs/tools/cmake/src/Source/cmGetTargetPropertyCommand.h
2a894c3e0362e92524283df11a249b85134a3056
[ "MIT", "Apache-2.0", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-other-permissive" ]
permissive
bitslab/CompilerInterrupts
6678700651c7c83fd06451c94188716e37e258f0
053a105eaf176b85b4c0d5e796ac1d6ee02ad41b
refs/heads/main
2023-06-24T18:09:43.148845
2021-07-26T17:32:28
2021-07-26T17:32:28
342,868,949
3
3
MIT
2021-07-19T15:38:30
2021-02-27T13:57:16
C
UTF-8
C++
false
false
3,125
h
/*========================================================================= Program: CMake - Cross-Platform Makefile Generator Module: $RCSfile: cmGetTargetPropertyCommand.h,v $ Language: C++ Date: $Date: 2012/03/29 17:21:08 $ Version: $Revision: 1.1.1.1 $ Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ #ifndef cmGetTargetPropertyCommand_h #define cmGetTargetPropertyCommand_h #include "cmCommand.h" class cmGetTargetPropertyCommand : public cmCommand { public: virtual cmCommand* Clone() { return new cmGetTargetPropertyCommand; } /** * This is called when the command is first encountered in * the input file. */ virtual bool InitialPass(std::vector<std::string> const& args, cmExecutionStatus &status); /** * The name of the command as specified in CMakeList.txt. */ virtual const char* GetName() { return "get_target_property";} /** * Succinct documentation. */ virtual const char* GetTerseDocumentation() { return "Get a property from a target."; } /** * Longer documentation. */ virtual const char* GetFullDocumentation() { return " get_target_property(VAR target property)\n" "Get a property from a target. The value of the property is " "stored in the variable VAR. If the property is not found, VAR " "will be set to \"NOTFOUND\". Use set_target_properties to set " "property values. Properties are usually used to control how " "a target is built.\n" "The read-only property \"<CONFIG>_LOCATION\" provides the full " "path to the file on disk that will be created for the target when " "building under configuration <CONFIG> " "(in upper-case, such as \"DEBUG_LOCATION\"). " "The read-only property \"LOCATION\" specifies " "the full path to the file on disk that will be created for the " "target. The path may contain a build-system-specific portion that " "is replaced at build time with the configuration getting built " "(such as \"$(ConfigurationName)\" in VS). " "This is very useful for executable targets to get " "the path to the executable file for use in a custom command.\n" "The read-only property \"TYPE\" returns which type the specified " "target has (EXECUTABLE, STATIC_LIBRARY, SHARED_LIBRARY, " "MODULE_LIBRARY, UTILITY, INSTALL_FILES or INSTALL_PROGRAMS). " "This command can get properties for any target so far created. " "The targets do not need to be in the current CMakeLists.txt file."; } cmTypeMacro(cmGetTargetPropertyCommand, cmCommand); }; #endif
83345a10015a7d31f6f37b029d96752954691e99
d581184ce473db15d07fa03f971df13a658f9849
/statics/elements/uniformlydistributedload.h
822ac5bb755a96f23bf153d0c3a5ea4d17bcd9df
[]
no_license
chili-epfl/staTIc
b1bde8816612919ffbc40749d8e5440a6719283e
561d61d4d4ebba01c290ec195c8e5f302cf54a9f
refs/heads/master
2021-08-27T18:03:22.514920
2016-03-07T18:49:30
2016-03-07T18:49:30
31,056,806
5
1
null
null
null
null
UTF-8
C++
false
false
640
h
#ifndef UNIFORMLYDISTRIBUTEDLOAD_H #define UNIFORMLYDISTRIBUTEDLOAD_H #include "abstractelement.h" #include <QVector3D> class Beam; typedef QSharedPointer<Beam> BeamPtr; typedef QWeakPointer<Beam> WeakBeamPtr; class UniformlyDistributedLoad: public AbstractElement { Q_OBJECT public: UniformlyDistributedLoad(BeamPtr beam,QString name,QObject* parent=0); WeakBeamPtr beam(){return m_beam;} QVector3D force(){return m_force;} QVector3D forceLocal(); void setForce(QVector3D force); signals: void forceChanged(); private: WeakBeamPtr m_beam; QVector3D m_force; }; #endif // UNIFORMLYDISTRIBUTEDLOAD_H
ece31ef7465de5116b23b3dde7510cc28f41cca7
99e842067117ff018bd7728811eda1c9671637ee
/GraphicsProgramming/GraphicsProgramming/Scene.cpp
a685142b5315c0b8ad37afcb737adf3cb9c60af6
[ "MIT" ]
permissive
NecroMattSir/lab7
30e605d41d9a77e7f6ad2fe60bf963ae90bee80a
f407ef4f6a7bd0efc28b95541c8fb5e476234fa9
refs/heads/main
2023-09-04T08:23:17.166425
2021-11-03T10:36:14
2021-11-03T10:36:14
424,157,336
0
0
null
null
null
null
UTF-8
C++
false
false
17,496
cpp
#include "Scene.h" // Scene constructor, initilises OpenGL // You should add further variables to need initilised. Scene::Scene(Input* in) : camera(in) { // Store pointer for input class input = in; initialiseOpenGL(); // Other OpenGL / render setting should be applied here. glEnable(GL_COLOR_MATERIAL); glEnable(GL_LIGHTING); glEnable(GL_TEXTURE_2D); glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); // Initialise scene variables isMouse = true; camera.SetPos(0, 5, 8); camera.SetRot(0, -30, 0); camera.SetIsMouse(&isMouse); rot = 0; p1rot = 0; p2rot = 0; p3rot = 0; p2m1rot = 0; p2m1m1rot = 0; p3m1rot = 0; p3m2rot = 0; tex1 = SOIL_load_OGL_texture( "gfx/crate.png", SOIL_LOAD_AUTO, SOIL_CREATE_NEW_ID, SOIL_FLAG_MIPMAPS | SOIL_FLAG_NTSC_SAFE_RGB| SOIL_FLAG_COMPRESS_TO_DXT); tex2 = SOIL_load_OGL_texture( "gfx/checked.png", SOIL_LOAD_AUTO, SOIL_CREATE_NEW_ID, SOIL_FLAG_MIPMAPS | SOIL_FLAG_NTSC_SAFE_RGB | SOIL_FLAG_COMPRESS_TO_DXT); skybox = SOIL_load_OGL_texture( "gfx/skybox.png", SOIL_LOAD_AUTO, SOIL_CREATE_NEW_ID, SOIL_FLAG_MIPMAPS | SOIL_FLAG_NTSC_SAFE_RGB | SOIL_FLAG_COMPRESS_TO_DXT); //glBindTexture(GL_TEXTURE_2D, tex1); //glBindTexture(GL_TEXTURE_2D, tex2); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); } void Scene::handleInput(float dt) { camera.HandleInput(dt); // Handle user input if (input->isKeyDown('o')) { rot -= 15; input->setKeyUp('o'); } if (input->isKeyDown('p')) { rot += 15; input->setKeyUp('p'); } if (input->isKeyDown('i')) { isMouse = !isMouse; input->setKeyUp('i'); } } void Scene::update(float dt) { // update scene related variables. camera.Update(dt); //a rot += 10 * dt; p1rot += 10 * dt; p2rot += 15 * dt; p3rot += 5 * dt; //quad roty += 10 * dt; rotx += 30 * dt; rotz += 5 * dt; //solarsystem p2m1rot -= 40 * dt; p2m1m1rot += 70 * dt; p3m1rot += 50 * dt; p3m2rot += 80 * dt; // Calculate FPS for output calculateFPS(); } void Scene::render() { // Clear Color and Depth Buffers glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); // Reset transformations glLoadIdentity(); glDisable(GL_TEXTURE_2D); // Set the camera gluLookAt(camera.GetPosX(), camera.GetPosY(), camera.GetPosZ(), camera.GetLAX(), camera.GetLAY(), camera.GetLAZ(), camera.GetUpX(), camera.GetUpY(), camera.GetUpZ()); // Render geometry/scene here ------------------------------------- //skybox glEnable(GL_TEXTURE_2D); glDisable(GL_DEPTH_TEST); glBindTexture(GL_TEXTURE_2D, skybox); glPushMatrix(); glTranslatef(camera.GetPosX(), camera.GetPosY(), camera.GetPosZ()); glBegin(GL_QUADS); { glColor3f(1.0f, 1.0f, 1.0f); glNormal3f(0.0f, 0.0f, -1.0f); glTexCoord2f(1.0f, 0.5f); glVertex3f(-0.5f, -0.5f, 0.5f); glTexCoord2f(0.75f, 0.5f); glVertex3f(0.5f, -0.5f, 0.5f); glTexCoord2f(0.75f, 0.25f); glVertex3f(0.5f, 0.5f, 0.5f); glTexCoord2f(1.0f, 0.25f); glVertex3f(-0.5f, 0.5f, 0.5f); glNormal3f(-1.0f, 0.0f, 0.0f); glTexCoord2f(0.75f, 0.5f); glVertex3f(0.5f, -0.5f, 0.5f); glTexCoord2f(0.5f, 0.5f); glVertex3f(0.5f, -0.5f, -0.5f); glTexCoord2f(0.5f, 0.25f); glVertex3f(0.5f, 0.5f, -0.5f); glTexCoord2f(0.75f, 0.25f); glVertex3f(0.5f, 0.5f, 0.5f); glNormal3f(0.0f, 1.0f, 0.0f); glTexCoord2f(0.25f, 0.75f); glVertex3f(-0.5f, -0.5f, 0.5f); glTexCoord2f(0.25f, 0.5f); glVertex3f(-0.5f, -0.5f, -0.5f); glTexCoord2f(0.5f, 0.5f); glVertex3f(0.5f, -0.5f, -0.5f); glTexCoord2f(0.5f, 0.75f); glVertex3f(0.5f, -0.5f, 0.5f); glNormal3f(0.0f, 0.0f, 1.0f); glTexCoord2f(0.5f, 0.25f); glVertex3f(0.5f, 0.5f, -0.5f); glTexCoord2f(0.25f, 0.25f); glVertex3f(-0.5f, 0.5f, -0.5f); glTexCoord2f(0.25f, 0.5f); glVertex3f(-0.5f, -0.5f, -0.5f); glTexCoord2f(0.5f, 0.5f); glVertex3f(0.5f, -0.5f, -0.5f); glNormal3f(1.0f, 0.0f, 0.0f); glTexCoord2f(0.25f, 0.25f); glVertex3f(-0.5f, 0.5f, -0.5f); glTexCoord2f(0.0f, 0.25f); glVertex3f(-0.5f, 0.5f, 0.5f); glTexCoord2f(0.0f, 0.5f); glVertex3f(-0.5f, -0.5f, 0.5f); glTexCoord2f(0.25f, 0.5f); glVertex3f(-0.5f, -0.5f, -0.5f); glNormal3f(0.0f, -1.0f, 0.0f); glTexCoord2f(0.5f, 0.25f); glVertex3f(0.5f, 0.5f, -0.5f); glTexCoord2f(0.5f, 0.0f); glVertex3f(0.5f, 0.5f, 0.5f); glTexCoord2f(0.25f, 0.0f); glVertex3f(-0.5f, 0.5f, 0.5f); glTexCoord2f(0.25f, 0.25f); glVertex3f(-0.5f, 0.5f, -0.5f); } glEnd(); glPopMatrix(); glDisable(GL_TEXTURE_2D); glEnable(GL_DEPTH_TEST); //light GLfloat AmbientLight[] = { 0.2f, 0.2f, 0.2f, 1.0f }; GLfloat DiffuseLight[] = { 0.0f, 0.0f, 0.0f, 1.0f }; glLightfv(GL_LIGHT0, GL_AMBIENT, AmbientLight); glLightfv(GL_LIGHT0, GL_DIFFUSE, DiffuseLight); glEnable(GL_LIGHT0); GLfloat AmbientLight2[] = { 0.2f, 0.2f, 0.2f, 1.0f }; GLfloat PointCoords2[] = { 0.0f, 10.0f, 0.0f, 1.0f }; GLfloat DiffuseLight2[] = { 1.0f, 1.0f, 1.0f, 1.0f }; GLfloat Direction[] = { 0, -1, 0 }; glLightfv(GL_LIGHT1, GL_DIFFUSE, DiffuseLight2); glLightfv(GL_LIGHT1, GL_POSITION, PointCoords2); glLightfv(GL_LIGHT1, GL_AMBIENT, AmbientLight2); glLightfv(GL_LIGHT1, GL_SPOT_DIRECTION, Direction); glLightf(GL_LIGHT1, GL_SPOT_CUTOFF, 25.0f); glLightf(GL_LIGHT1, GL_SPOT_EXPONENT, 50.0f); glLightf(GL_LIGHT1, GL_CONSTANT_ATTENUATION, 1.0f); glLightf(GL_LIGHT1, GL_LINEAR_ATTENUATION, 0.05f); glLightf(GL_LIGHT1, GL_QUADRATIC_ATTENUATION, 0.005f); glEnable(GL_LIGHT1); //sideplanes glEnable(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, tex2); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glColor3f(1.0f, 1.0f, 1.0f); glBegin(GL_QUADS); for (float z = -90.0f; z < 10.f; z += 1.0f) { for (float y = -50.f; y < 50.f; y += 1.0f) { /*int temp = y + z; if (temp%2 == 0) { glColor3f(1.0f, 1.0f, 1.0f); } else { glColor3f(0.0f, 0.0f, 0.0f); }*/ glNormal3f(1.0f, 0.0f, 0.0f); glTexCoord2f(y, z); glVertex3f(-10, y, z); glTexCoord2f(y, z+1); glVertex3f(-10, y, z+1); glTexCoord2f(y+1, z+1); glVertex3f(-10, y+1, z + 1.f); glTexCoord2f(y+1, z); glVertex3f(-10, y+1, z); } } glEnd(); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glBegin(GL_QUADS); for (float z = -90.0f; z < 10.f; z += 1.0f) { for (float y = -50.f; y < 50.f; y += 1.0f) { /*int temp = y + z; if (temp % 2 == 0) { glColor3f(1.0f, 1.0f, 1.0f); } else { glColor3f(0.0f, 0.0f, 0.0f); }*/ glNormal3f(-1.0f, 0.0f, 0.0f); glTexCoord2f(y, z+1); glVertex3f(10, y, z+1); glTexCoord2f(y, z); glVertex3f(10, y, z); glTexCoord2f(y+1, z); glVertex3f(10, y + 1, z); glTexCoord2f(y+1, z+1); glVertex3f(10, y + 1, z+1); } } glEnd(); glDisable(GL_TEXTURE_2D); //glPushMatrix(); //glTranslatef(2, 1, -5); //glScalef(2, 0.5, 0); //glRotatef(rot, 0, 1, 0); ////a (has a part in update) //glTranslatef(-2, 0, 0); //glRotatef(rot, 0, 0, -1); ////b //glRotatef(rot, 0, 0, -1); //glTranslatef(1.5, 0, 0); //glRotatef(rot, 0, 0, 1); //glScalef(0.5, 0.5, 0); ////triangle //glBegin(GL_TRIANGLES); //glColor3f(1.0f, 0.0f, 0.0f); //glVertex3f(0.0f, 1.0f, 0.0f); //glColor3f(0.0f, 1.0f, 0.0f); //glVertex3f(-1.0f, -1.0f, 0.0f); //glColor3f(0.0f, 0.0f, 1.0f); //glVertex3f(1.0f, -1.0f, 0.0f); //glEnd(); ////trianglemidpoint //glBegin(GL_TRIANGLES); //glColor3f(0.0f, 0.0f, 0.0f); //glVertex3f(0.0f, 0.02f, 0.0f); //glVertex3f(-0.02f, -0.02f, 0.0f); //glVertex3f(0.02f, -0.02f, 0.0f); //glEnd(); //quad glPushMatrix(); glTranslatef(-3, 1, 0); glRotatef(roty, 50, 20, 5); DrawCube(); glPopMatrix(); //solarsystem { glPushMatrix(); glRotatef(90, 1, 0, 0); //sun glDisable(GL_LIGHTING); glColor3f(1.0f, 1.0f, 0.0f); gluSphere(gluNewQuadric(), 0.25, 100, 100); glEnable(GL_LIGHTING); //p1 glPushMatrix(); glRotatef(p1rot, 0, 0, 1); glTranslatef(0.7, 0, 0); glColor3f(0.8f, 0.0f, 0.0f); gluSphere(gluNewQuadric(), 0.05, 100, 100); glPopMatrix(); //p2 glPushMatrix(); { glRotatef(p2rot, 0, 0, 1); glTranslatef(1.4, 0, 0); glColor3f(0.0f, 0.5f, 0.0f); gluSphere(gluNewQuadric(), 0.05, 100, 100); //m1 glPushMatrix(); { glRotatef(p2m1rot, 0, 0, 1); glTranslatef(0.2, 0, 0); glColor3f(0.2f, 0.1f, 0.3f); gluSphere(gluNewQuadric(), 0.025, 100, 100); //m1m1 glPushMatrix(); { glRotatef(p2m1m1rot, 0, 0, 1); glTranslatef(0.1, 0, 0); glColor3f(0.2f, 0.6f, 0.3f); gluSphere(gluNewQuadric(), 0.015, 100, 100); } glPopMatrix(); } glPopMatrix(); } glPopMatrix(); //p3 glPushMatrix(); { glRotatef(p3rot, 0, 0, 1); glTranslatef(2.1, 0, 0); glColor3f(0.0f, 0.5f, 0.8f); gluSphere(gluNewQuadric(), 0.05, 100, 100); //m1 glPushMatrix(); { glRotatef(p3m1rot, 0, 0, 1); glTranslatef(0.2, 0, 0); glColor3f(0.8f, 0.1f, 0.6f); gluSphere(gluNewQuadric(), 0.025, 100, 100); } glPopMatrix(); //m2 glPushMatrix(); { glRotatef(p3m2rot, 1, 0, 0); glTranslatef(0, 0, 0.2); glColor3f(0.3f, 0.8f, 0.6f); gluSphere(gluNewQuadric(), 0.025, 100, 100); } glPopMatrix(); } glPopMatrix(); glPopMatrix(); } //spheres GLfloat no_mat[] = { 0, 0, 0, 0 }; GLfloat mat_ambient_color[] = { 0.2, 0, 0, 1 }; GLfloat mat_red[] = { 1, 0, 0, 1 }; GLfloat mat_metal[] = { 0.5, 0.5, 0.6, 1 }; GLfloat mat_specular[] = { 0.75, 0.75, 0.75, 1 }; GLfloat low_specular[] = { 0.05, 0.05, 0.05, 1 }; GLfloat noshine = 0; GLfloat midshine = 50; GLfloat highshine = 100; GLfloat mat_emissiom[] = { 0.3, 0.2, 0.2, 0.0 }; glDisable(GL_COLOR_MATERIAL); glPushMatrix(); glTranslatef(0.0f, -3.0f, 0.0f); { glPushMatrix(); glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, mat_red); glMaterialfv(GL_FRONT, GL_SPECULAR, mat_specular); glMateriali(GL_FRONT, GL_SHININESS, 100); glMaterialfv(GL_FRONT, GL_EMISSION, no_mat); gluSphere(gluNewQuadric(), 1.0f, 100, 100); glPopMatrix(); } glPushMatrix(); glTranslatef(2.0f, 0.0f, 0.0f); { glPushMatrix(); glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, mat_red); glMaterialfv(GL_FRONT, GL_SPECULAR, low_specular); glMateriali(GL_FRONT, GL_SHININESS, 50); glMaterialfv(GL_FRONT, GL_EMISSION, no_mat); gluSphere(gluNewQuadric(), 1.0f, 100, 100); glPopMatrix(); } glPopMatrix(); glPushMatrix(); glTranslatef(-2.0f, 0.0f, 0.0f); { glPushMatrix(); glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, mat_metal); glMaterialfv(GL_FRONT, GL_SPECULAR, mat_specular); glMateriali(GL_FRONT, GL_SHININESS, 5); glMaterialfv(GL_FRONT, GL_EMISSION, no_mat); gluSphere(gluNewQuadric(), 1.0f, 100, 100); glPopMatrix(); } glPopMatrix(); glPopMatrix(); glEnable(GL_COLOR_MATERIAL); glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, mat_red); glMaterialfv(GL_FRONT, GL_SPECULAR, low_specular); glMateriali(GL_FRONT, GL_SHININESS, 0); glMaterialfv(GL_FRONT, GL_EMISSION, no_mat); ////midpoint //glPopMatrix(); //glBegin(GL_TRIANGLES); //glColor3f(0.0f, 0.0f, 0.0f); //glVertex3f(0.0f, 0.02f, 0.0f); //glVertex3f(-0.02f, -0.02f, 0.0f); //glVertex3f(0.02f, -0.02f, 0.0f); //glEnd(); //midplane glEnable(GL_BLEND); glColor4f(0.2f, 0.4f, 0.6f, 0.5); glBegin(GL_QUADS); for (float z = -10.0f; z < 10.f; z += 1.0f) { for (float x = -10.f; x < 10.f; x += 1.0f) { glNormal3f(0.0f, 1.0f, 0.0f); glVertex3f(x, -3, z); glNormal3f(0.0f, 1.0f, 0.0f); glVertex3f(x + 1.f, -3, z); glNormal3f(0.0f, 1.0f, 0.0f); glVertex3f(x + 1.f, -3, z + 1.f); glNormal3f(0.0f, 1.0f, 0.0f); glVertex3f(x, -3, z + 1.f); } } glEnd(); glDisable(GL_BLEND); // End render geometry -------------------------------------- // Render text, should be last object rendered. renderTextOutput(); // Swap buffers, after all objects are rendered. glutSwapBuffers(); } void Scene::initialiseOpenGL() { //OpenGL settings glShadeModel(GL_SMOOTH); // Enable Smooth Shading glClearColor(0.39f, 0.58f, 93.0f, 1.0f); // Cornflour Blue Background glClearDepth(1.0f); // Depth Buffer Setup glClearStencil(0); // Clear stencil buffer glEnable(GL_DEPTH_TEST); // Enables Depth Testing glDepthFunc(GL_LEQUAL); // The Type Of Depth Testing To Do glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); // Really Nice Perspective Calculations glLightModelf(GL_LIGHT_MODEL_LOCAL_VIEWER, 1); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); } // Handles the resize of the window. If the window changes size the perspective matrix requires re-calculation to match new window size. void Scene::resize(int w, int h) { width = w; height = h; // Prevent a divide by zero, when window is too short // (you cant make a window of zero width). if (h == 0) h = 1; float ratio = (float)w / (float)h; fov = 45.0f; nearPlane = 0.1f; farPlane = 100.0f; // Use the Projection Matrix glMatrixMode(GL_PROJECTION); // Reset Matrix glLoadIdentity(); // Set the viewport to be the entire window glViewport(0, 0, w, h); // Set the correct perspective. gluPerspective(fov, ratio, nearPlane, farPlane); // Get Back to the Modelview glMatrixMode(GL_MODELVIEW); camera.SetWindow(&width, &height); } // Calculates FPS void Scene::calculateFPS() { frame++; time = glutGet(GLUT_ELAPSED_TIME); if (time - timebase > 1000) { sprintf_s(fps, "FPS: %4.2f", frame*1000.0 / (time - timebase)); timebase = time; frame = 0; } } // Compiles standard output text including FPS and current mouse position. void Scene::renderTextOutput() { // Render current mouse position and frames per second. sprintf_s(mouseText, "Mouse: %i, %i", input->getMouseX(), input->getMouseY()); displayText(-1.f, 0.96f, 1.f, 0.f, 0.f, mouseText); displayText(-1.f, 0.90f, 1.f, 0.f, 0.f, fps); } // Renders text to screen. Must be called last in render function (before swap buffers) void Scene::displayText(float x, float y, float r, float g, float b, char* string) { // Get Lenth of string int j = strlen(string); // Swap to 2D rendering glMatrixMode(GL_PROJECTION); glLoadIdentity(); glOrtho(-1.0, 1.0, -1.0, 1.0, 5, 100); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); // Orthographic lookAt (along the z-axis). gluLookAt(0.0f, 0.0f, 10.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f); // Set text colour and position. glColor3f(r, g, b); glRasterPos2f(x, y); // Render text. for (int i = 0; i < j; i++) { glutBitmapCharacter(GLUT_BITMAP_HELVETICA_12, string[i]); } // Reset colour to white. glColor3f(1.f, 1.f, 1.f); // Swap back to 3D rendering. glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluPerspective(fov, ((float)width/(float)height), nearPlane, farPlane); glMatrixMode(GL_MODELVIEW); } void Scene::DrawCube() { glEnable(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, tex1); glBegin(GL_QUADS); { glColor3f(1.0f, 1.0f, 1.0f); glNormal3f(0.0f, 0.0f, 1.0f); glTexCoord2f(0.0f, 1.0f); glVertex3f(-0.5f, 0.5f, 0.5f); glNormal3f(0.0f, 0.0f, 1.0f); glTexCoord2f(1.0f, 1.0f); glVertex3f(0.5f, 0.5f, 0.5f); glNormal3f(0.0f, 0.0f, 1.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f(0.5f, -0.5f, 0.5f); glNormal3f(0.0f, 0.0f, 1.0f); glTexCoord2f(0.0f, 0.0f); glVertex3f(-0.5f, -0.5f, 0.5f); glNormal3f(1.0f, 0.0f, 0.0f); glTexCoord2f(0.0f, 1.0f); glVertex3f(0.5f, 0.5f, 0.5f); glNormal3f(1.0f, 0.0f, 0.0f); glTexCoord2f(1.0f, 1.0f); glVertex3f(0.5f, 0.5f, -0.5f); glNormal3f(1.0f, 0.0f, 0.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f(0.5f, -0.5f, -0.5f); glNormal3f(1.0f, 0.0f, 0.0f); glTexCoord2f(0.0f, 0.0f); glVertex3f(0.5f, -0.5f, 0.5f); glNormal3f(0.0f, -1.0f, 0.0f); glTexCoord2f(0.0f, 1.0f); glVertex3f(0.5f, -0.5f, 0.5f); glNormal3f(0.0f, -1.0f, 0.0f); glTexCoord2f(1.0f, 1.0f); glVertex3f(0.5f, -0.5f, -0.5f); glNormal3f(0.0f, -1.0f, 0.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f(-0.5f, -0.5f, -0.5f); glNormal3f(0.0f, -1.0f, 0.0f); glTexCoord2f(0.0f, 0.0f); glVertex3f(-0.5f, -0.5f, 0.5f); glNormal3f(0.0f, 0.0f, -1.0f); glTexCoord2f(0.0f, 1.0f); glVertex3f(0.5f, -0.5f, -0.5f); glNormal3f(0.0f, 0.0f, -1.0f); glTexCoord2f(1.0f, 1.0f); glVertex3f(-0.5f, -0.5f,- 0.5f); glNormal3f(0.0f, 0.0f, -1.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f(-0.5f, 0.5f, -0.5f); glNormal3f(0.0f, 0.0f, -1.0f); glTexCoord2f(0.0f, 0.0f); glVertex3f(0.5f, 0.5f, -0.5f); glNormal3f(-1.0f, 0.0f, 0.0f); glTexCoord2f(0.0f, 1.0f); glVertex3f(-0.5f, -0.5f, -0.5f); glNormal3f(-1.0f, 0.0f, 0.0f); glTexCoord2f(1.0f, 1.0f); glVertex3f(-0.5f, -0.5f, 0.5f); glNormal3f(-1.0f, 0.0f, 0.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f(-0.5f, 0.5f, 0.5f); glNormal3f(-1.0f, 0.0f, 0.0f); glTexCoord2f(0.0f, 0.0f); glVertex3f(-0.5f, 0.5f, -0.5f); glNormal3f(0.0f, 1.0f, 0.0f); glTexCoord2f(0.0f, 1.0f); glVertex3f(-0.5f, 0.5f, -0.5f); glNormal3f(0.0f, 1.0f, 0.0f); glTexCoord2f(1.0f, 1.0f); glVertex3f(-0.5f, 0.5f, 0.5f); glNormal3f(0.0f, 1.0f, 0.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f(0.5f, 0.5f, 0.5f); glNormal3f(0.0f, 1.0f, 0.0f); glTexCoord2f(0.0f, 0.0f); glVertex3f(0.5f, 0.5f, -0.5f); } glEnd(); glDisable(GL_TEXTURE_2D); }
6f09b1cc01c80afd4f1eb875691f73a053bbc2c5
aeabee0b5ba8cb0b190fb88fce144b8021a6f6e0
/libraries/TaskScheduler/examples/Scheduler_example19_Dynamic_Tasks_stdQueue/Scheduler_example19_Dynamic_Tasks_stdQueue.ino
abe99ad9805451a980f8ebcfe780ad46818f23c3
[ "BSD-3-Clause" ]
permissive
guydvir2/Arduino
7313d590af23c95f7af59e7b1d07e19ed438f344
a33077d21ebe2b07d838794e0548d6bcaa311bbe
refs/heads/master
2023-05-26T11:27:59.517191
2023-04-21T13:17:06
2023-04-21T13:17:06
144,481,047
3
0
null
2018-11-25T20:34:29
2018-08-12T16:05:45
C++
UTF-8
C++
false
false
3,926
ino
/** TaskScheduler Test sketch - test of Task destructor Test case: Main task runs every 100 milliseconds 100 times and in 50% cases generates a task object which runs 1 to 10 times with 100 ms to 5 s interval, and then destroyed. Garbage collection deletes all the tasks which have finished (enabled in their respective OnDisable methods) This sketch uses the following libraries: - FreeMemory library: https://github.com/McNeight/MemoryFree - QueueArray library: https://playground.arduino.cc/Code/QueueArray/ */ #define _TASK_WDT_IDS // To enable task unique IDs #define _TASK_SLEEP_ON_IDLE_RUN // Compile with support for entering IDLE SLEEP state for 1 ms if not tasks are scheduled to run #define _TASK_LTS_POINTER // Compile with support for Local Task Storage pointer #include <TaskScheduler.h> #include <queue> int freeMemory(); #if defined (ARDUINO_ARCH_AVR) #include <MemoryFree.h> #elif defined(__arm__) extern "C" char* sbrk(int incr); static int freeMemory() { char top = 't'; return &top - reinterpret_cast<char*>(sbrk(0)); } #elif defined (ARDUINO_ARCH_ESP8266) || defined (ARDUINO_ARCH_ESP32) int freeMemory() { return ESP.getFreeHeap();} #else // Supply your own freeMemory method int freeMemory() { return 0;} #endif Scheduler ts; // Callback methods prototypes void MainLoop(); void GC(); // Statis task Task tMain(100 * TASK_MILLISECOND, 100, &MainLoop, &ts, true); Task tGarbageCollection(200 * TASK_MILLISECOND, TASK_FOREVER, &GC, &ts, false); void Iteration(); bool OnEnable(); void OnDisable(); int noOfTasks = 0; std::queue <Task*> toDelete; void MainLoop() { Serial.print(millis()); Serial.print("\t"); Serial.print("MainLoop run: "); int i = tMain.getRunCounter(); Serial.print(i); Serial.print(F(".\t")); if ( random(0, 101) > 50 ) { // generate a new task only in 50% of cases // Generating another task long p = random(100, 5001); // from 100 ms to 5 seconds long j = random(1, 11); // from 1 to 10 iterations) Task *t = new Task(p, j, Iteration, &ts, false, OnEnable, OnDisable); Serial.print(F("Generated a new task:\t")); Serial.print(t->getId()); Serial.print(F("\tInt, Iter = \t")); Serial.print(p); Serial.print(", "); Serial.print(j); Serial.print(F("\tFree mem=")); Serial.print(freeMemory()); Serial.print(F("\tNo of tasks=")); Serial.println(++noOfTasks); t->enable(); } else { Serial.println(F("Skipped generating a task")); } } void Iteration() { Task &t = ts.currentTask(); Serial.print(millis()); Serial.print("\t"); Serial.print("Task N"); Serial.print(t.getId()); Serial.print(F("\tcurrent iteration: ")); int i = t.getRunCounter(); Serial.println(i); } bool OnEnable() { // to-do: think of something to put in here. return true; } void OnDisable() { Task *t = &ts.currentTask(); unsigned int tid = t->getId(); toDelete.push(t); tGarbageCollection.enableIfNot(); Serial.print(millis()); Serial.print("\t"); Serial.print("Task N"); Serial.print(tid); Serial.println(F("\tfinished")); } /** Standard Arduino setup and loop methods */ void setup() { Serial.begin(115200); randomSeed(analogRead(0) + analogRead(5)); noOfTasks = 0; Serial.println(F("Dynamic Task Creation/Destruction Example")); Serial.println(); Serial.print(F("Free mem=")); Serial.print(freeMemory()); Serial.print(F("\tNo of tasks=")); Serial.println(noOfTasks); Serial.println(); } void GC() { if ( toDelete.empty() ) { tGarbageCollection.disable(); return; } Task *t = toDelete.front(); toDelete.pop(); Serial.print(millis()); Serial.print("\t"); Serial.print("Task N"); Serial.print(t->getId()); Serial.println(F("\tdestroyed")); Serial.print("Free mem="); Serial.print(freeMemory()); Serial.print(F("\tNo of tasks=")); Serial.println(--noOfTasks); delete t; } void loop() { ts.execute(); }
3a4b3e9636481ea63a042f37c350f146b81c8253
e7e9a8582850d29729c782556783e69862225a6c
/266A/9893112_AC_30ms_2048kB.cpp
c3eb267204d18cd9d445c0bbf3f75979420fc37a
[]
no_license
fanalis93/Codeforces-Solve
6be6164381f54cd8a3f42f2c8ffebba1dc8e0009
79d323a36ef9387263c4b4bc0412dc7d832c4d4c
refs/heads/master
2022-03-20T06:44:42.535792
2022-03-08T13:25:32
2022-03-08T13:25:32
222,153,057
0
0
null
null
null
null
UTF-8
C++
false
false
264
cpp
#include<bits/stdc++.h> #include<set> #include<string> using namespace std; int main() { int n; set <char> st; cin >> n; string s; cin >> s; s.erase(unique(s.begin(), s.end()), s.end()); cout << n-s.size() << endl; return 0; }
188b340b3089bc96c27a80df693602e0120c0f55
573b7f2b79b6fb8b21b40985f7639bc003b60f7e
/SDK/BP_Tooltip_RallyPoint_classes.h
91bad4a40861cb4bd4715f27835b752f39050333
[]
no_license
AlexzDK/SquadSDK2021
8d4c29486922fed3ba8451680d823a04a7b7fc44
cdce732ad4713b6d7f668f8b9c39e160035efb34
refs/heads/main
2023-02-21T02:52:15.634663
2021-01-23T23:28:57
2021-01-23T23:28:57
332,328,796
4
0
null
null
null
null
UTF-8
C++
false
false
1,829
h
#pragma once // Name: Squad, Version: 13-01-2021 #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Classes //--------------------------------------------------------------------------- // WidgetBlueprintGeneratedClass BP_Tooltip_RallyPoint.BP_Tooltip_RallyPoint_C // 0x0020 (FullSize[0x0260] - InheritedSize[0x0240]) class UBP_Tooltip_RallyPoint_C : public USQToolTipBaseWidget { public: struct FPointerToUberGraphFrame UberGraphFrame; // 0x0240(0x0008) (ZeroConstructor, Transient, DuplicateTransient) class UWidgetAnimation* OpenAnim; // 0x0248(0x0008) (BlueprintVisible, BlueprintReadOnly, ZeroConstructor, Transient, IsPlainOldData, RepSkip, NoDestructor, HasGetValueTypeHash) class UImage* BackgroundImage; // 0x0250(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, NoDestructor, PersistentInstance, HasGetValueTypeHash) class UTextBlock* RallyPointText; // 0x0258(0x0008) (ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, NoDestructor, PersistentInstance, HasGetValueTypeHash) static UClass* StaticClass() { static auto ptr = UObject::FindClass("WidgetBlueprintGeneratedClass BP_Tooltip_RallyPoint.BP_Tooltip_RallyPoint_C"); return ptr; } struct FText GetText_1(); void Construct(); void ExecuteUbergraph_BP_Tooltip_RallyPoint(int EntryPoint); }; } #ifdef _MSC_VER #pragma pack(pop) #endif
1fe46356661d47c965e7ca472d252e739dc40d1f
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/third_party/WebKit/public/web/WebSpeechRecognizerClient.h
e71a9e094a097f89ac87145a9e5c89247bc9ec90
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
C++
false
false
4,325
h
/* * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef WebSpeechRecognizerClient_h #define WebSpeechRecognizerClient_h #include "../platform/WebVector.h" namespace blink { class WebSpeechRecognitionResult; class WebSpeechRecognitionHandle; class WebString; // A client for reporting progress on speech recognition for a specific handle. class WebSpeechRecognizerClient { public: enum ErrorCode { OtherError = 0, NoSpeechError = 1, AbortedError = 2, AudioCaptureError = 3, NetworkError = 4, NotAllowedError = 5, ServiceNotAllowedError = 6, BadGrammarError = 7, LanguageNotSupportedError = 8 }; // These methods correspond to the events described in the spec: // http://speech-javascript-api-spec.googlecode.com/git/speechapi.html#speechreco-events // To be called when the embedder has started to capture audio. virtual void didStartAudio(const WebSpeechRecognitionHandle&) = 0; // To be called when some sound, possibly speech, has been detected. // This is expected to be called after didStartAudio. virtual void didStartSound(const WebSpeechRecognitionHandle&) = 0; // To be called when sound is no longer detected. // This is expected to be called after didEndSpeech. virtual void didEndSound(const WebSpeechRecognitionHandle&) = 0; // To be called when audio capture has stopped. // This is expected to be called after didEndSound. virtual void didEndAudio(const WebSpeechRecognitionHandle&) = 0; // To be called when the speech recognizer provides new results. // - newFinalResults contains zero or more final results that are new since // the last time the function was called. // - currentInterimResults contains zero or more inteirm results that // replace the interim results that were reported the last time this // function was called. virtual void didReceiveResults( const WebSpeechRecognitionHandle&, const WebVector<WebSpeechRecognitionResult>& newFinalResults, const WebVector<WebSpeechRecognitionResult>& currentInterimResults) = 0; // To be called when the speech recognizer returns a final result with no // recognizion hypothesis. virtual void didReceiveNoMatch(const WebSpeechRecognitionHandle&, const WebSpeechRecognitionResult&) = 0; // To be called when a speech recognition error occurs. virtual void didReceiveError(const WebSpeechRecognitionHandle&, const WebString& message, ErrorCode) = 0; // To be called when the recognizer has begun to listen to the audio with // the intention of recognizing. virtual void didStart(const WebSpeechRecognitionHandle&) = 0; // To be called when the recognition session has ended. This must always be // called, no matter the reason for the end. virtual void didEnd(const WebSpeechRecognitionHandle&) = 0; protected: virtual ~WebSpeechRecognizerClient() {} }; } // namespace blink #endif // WebSpeechRecognizerClient_h
b802815985e30bb730c9a5f155f89b670bd4a21e
29462ef63fd67d51885e8c16865e943f077fefac
/arduino/controle-acesso.ino
d39a76faf2fe56c5b9bb8d4f1fc095f685d5258d
[]
no_license
MatheusUehara/controle-acesso
077ff0077e3e46e2a57609f26b40bd2346954138
a6f4b9a807889e67a40da0b928b56b1ce1dc2162
refs/heads/master
2021-01-19T01:41:36.286307
2016-07-13T21:13:13
2016-07-13T21:13:13
62,049,460
0
0
null
null
null
null
UTF-8
C++
false
false
4,942
ino
//Ferramentas > Placa > Gerenciador de Placa > Pesquisar por ESP8266 e instalar //Ferramentas > Placa > selecionar ESP8266Modules //Arquivos > Preferencias > URLs adicionais e gerenciadores de placa : http://arduino.esp8266.com/package_esp8266com_index.json //Todos os links do Github devem ser baixados como .ZIP //Após baixar bibliotecas Sketch > Incluir Biblioteca > Adicionar Biblioteca .ZIP //Realizar este procedimento para todas as bibliotecas. //Reiniciar o Arduino //Biblioteca wifi do nodeMCUESP8266 #include <ESP8266WiFi.h> //https://www.arduino.cc/en/Reference/SPI #include <SPI.h> //Biblioteca do RFID //https://github.com/miguelbalboa/rfid #include <MFRC522.h> //https://www.arduino.cc/en/Reference/Wire #include <Wire.h> //Biblioteca do display LCD //https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library #include <LiquidCrystal_I2C.h> //Biblioteca do clientMQTT //http://pubsubclient.knolleary.net/api.html //https://github.com/knolleary/pubsubclient #include <PubSubClient.h> //Pinos do RFID #define RST_PIN 15 #define SS_PIN 2 WiFiClient espClient; PubSubClient client(espClient); LiquidCrystal_I2C lcd(0x27,16,2); MFRC522 mfrc522(SS_PIN, RST_PIN); //parametros WIFI. const char* ssid = "uehara"; const char* password = "naoentre"; //parametros MQTT. const char* mqtt_server = "m12.cloudmqtt.com"; const int mqtt_port = 15213; void setup() { Serial.begin(9600); setup_wifi(); client.setServer(mqtt_server, mqtt_port); client.setCallback(callback); SPI.begin(); mfrc522.PCD_Init(); Wire.begin(4, 5); lcd.begin(); printLCD("Passe o Cartao!"); } //Método de conexão com rede WIFI void setup_wifi() { delay(10); Serial.println(); Serial.print("Conectando com "); Serial.println(ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.println("WiFi conectado"); Serial.println("Endereco IP : "); Serial.println(WiFi.localIP()); } //Método de conexão com servidor MQTT void conectMqtt() { while (!client.connected()) { Serial.print("Conectando ao MQTT ..."); //Parametros são nodeMCUClient, usuárioMQTT, senhaMQTT if (client.connect("ESP8266Client","btqswnsx","KpPhAf77eFeQ")) { Serial.println("Conectado"); //Inscrevendo-se no tópico retorno. client.subscribe("retorno"); } else { Serial.print("Falha, rc="); Serial.print(client.state()); Serial.println(" Tentando novamente em 5 segundos"); // Wait 5 seconds before retrying delay(5000); } } } //Método que recebe os retornos do tópico retorno void callback(char* topic, byte* payload, unsigned int length) { Serial.println(); Serial.print("Messagem recebida ["); Serial.print(topic); Serial.print("]: "); String mensagem = ""; //Conversão da mensagem recebidade de byte pra String for (int i = 0; i < length; i++) { mensagem += (char)payload[i]; } Serial.println(mensagem); Serial.println(); //Chamada ao método que controla o acesso verificaAcesso(mensagem); } //Método de controle de acesso. void verificaAcesso(String mensagem){ //Estrutura da mensagem recebida // ENTRANDO/Nome_do_dono_do_cartao // SAINDO/Nome_do_dono_do_cartao // FALSE if ( mensagem.substring(0,8) == "ENTRANDO" ){ printLCD("BEM VINDO"); delay(1000); printLCD(mensagem.substring(9)); delay(1000); }else if (mensagem.substring(0,6) == "SAINDO" ){ printLCD("ATE MAIS"); delay(1000); printLCD(mensagem.substring(7)); delay(1000); }else{ printLCD("Acesso negado!"); delay(1000); } delay(1000); printLCD("Passe o Cartao!"); return; } //Método utilitário para print no display LCD void printLCD(String mensagem){ lcd.clear(); lcd.setCursor(0,0); lcd.print("Infra-Hardware"); lcd.setCursor(0,1); lcd.print(mensagem); } //Método de envio do id do cartão lido pra fila acesso void sendMessage(MFRC522 mfrc522){ printLCD("Lendo Cartao"); char rfidstr[15]; char s[100]; for (int i = 0; i < mfrc522.uid.size; i++){ //Conversão de byte pra Hexadecimal sprintf(s,"%x",mfrc522.uid.uidByte[i]); strcat( &rfidstr[i] , s); } Serial.print("Card ID : "); Serial.print(rfidstr); //Publicando na fila acesso o id do cartão lido client.publish("acesso", rfidstr); Serial.println(); printLCD("Verificando..."); //Voltando pro loop return; } void loop() { //Verificando Status do ClientMQTT if (!client.connected()) { conectMqtt(); } client.loop(); //Verificando existencia do card no leitor if ( ! mfrc522.PICC_IsNewCardPresent()) { delay(1000); return; } //Verificando Leitura do card if ( ! mfrc522.PICC_ReadCardSerial()) { delay(1000); return; } sendMessage(mfrc522); }