hexsha
stringlengths
40
40
size
int64
22
2.4M
ext
stringclasses
5 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
260
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
260
max_issues_repo_name
stringlengths
5
109
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
260
max_forks_repo_name
stringlengths
5
109
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
22
2.4M
avg_line_length
float64
5
169k
max_line_length
int64
5
786k
alphanum_fraction
float64
0.06
0.95
matches
listlengths
1
11
8b85062d235e0f76a30be22ff7f624f17c460575
13,088
h
C
src/liboslexec/automata.h
halirutan/OpenShadingLanguage
8ef7bebba4ba76c8438d2bca1d29469fe3e5cb27
[ "BSD-3-Clause" ]
null
null
null
src/liboslexec/automata.h
halirutan/OpenShadingLanguage
8ef7bebba4ba76c8438d2bca1d29469fe3e5cb27
[ "BSD-3-Clause" ]
null
null
null
src/liboslexec/automata.h
halirutan/OpenShadingLanguage
8ef7bebba4ba76c8438d2bca1d29469fe3e5cb27
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2010 Sony Pictures Imageworks Inc., et al. 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 Sony Pictures Imageworks 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. */ #pragma once #include <set> #include <map> #include <list> #include <vector> #include <unordered_map> #include <unordered_set> #include <OSL/oslconfig.h> OSL_NAMESPACE_ENTER // General container for all symbol sets // General container for integer sets typedef std::set<int> IntSet; // probably faster to test for equality, unions and so typedef std::unordered_set<ustring, ustringHash> SymbolSet; // This is for the transition table used in DfAutomata::State typedef std::unordered_map<ustring, int, ustringHash> SymbolToInt; // And this is for the transition table in NdfAutomata which // has several movements for each symbol typedef std::unordered_map<ustring, IntSet, ustringHash> SymbolToIntList; typedef std::unordered_map<int, int> HashIntInt; // For the rules in the deterministic states, we don't need a real set // cause when converting from the NDF automata we will never find the same // rule twice typedef std::vector<void *> RuleSet; // The lambda symbol (empty word) extern ustring lambda; /// This struct represent a wildcard (for wildcard transitions) /// but it is NOT the transition itself. Light path expressions also /// use this class to create the transitions. A wildcard matches /// any symbol which is not listed in its black list (m_minus). struct Wildcard { Wildcard() {}; Wildcard(SymbolSet &minus):m_minus(minus) {}; bool matches(ustring symbol)const { // true if the given symbol is not in m_minus return (m_minus.find(symbol) == m_minus.end()); }; // Black list of unincluded symbols SymbolSet m_minus; }; /// Non Deterministic Finite Automata // /// This class represents and automata with multiple transitions per /// symbol and allowed lambda transitions too. Light path expressions /// build this automata easily. It is later converted to a DF automata. class NdfAutomata { public: // Basic state for NDF automata class State { friend class NdfAutomata; public: State(int id) { m_id = id; m_wildcard_trans = -1; m_wildcard = NULL; m_rule = NULL; }; ~State() { delete m_wildcard; }; /// Get the set of state id's reachable by the given symbol /// /// It doesn't clean the given result set, so you can use this /// function to accumulate states. void getTransitions (ustring symbol, IntSet &out_states)const; /// Get all the lambda transitions /// /// Returns the state collection as a pair of iterators [begin, end) std::pair <IntSet::const_iterator, IntSet::const_iterator> getLambdaTransitions ()const; /// Add a standar transition (also valid for lambda) void addTransition (ustring symbol, State *state); /// Add a wildcard transition /// /// Note that the state is going to take ownership of the wildcard /// pointer. So it should be newly allocated on heap and you don't /// have to delete ir void addWildcardTransition(Wildcard *wildcard, State *state); /// For final states, this sets the associated rule. Which /// can be any kind of pointer void setRule(void *rule) { m_rule = rule; }; void *getRule()const { return m_rule; }; int getId()const { return m_id; }; /// For debuging purposes std::string tostr()const; protected: // State id (i.e index in the states vector) int m_id; // Transitions by single symbols SymbolToIntList m_symbol_trans; // In case m_wildcard is not NULL this holds the destination // of the wildcard transition int m_wildcard_trans; // Wildcard (NULL if no wildcard transition present) Wildcard *m_wildcard; // Associated rule for final states, NULL if not final void *m_rule; }; NdfAutomata() { newState(); }; ~NdfAutomata(); const State *getInitial()const { return m_states[0]; }; State *getInitial() { return m_states[0]; }; /// Creates a new state qith a valid id State *newState(); const State *getState(int i)const { return m_states[i]; }; size_t size()const { return m_states.size(); }; /// return all the symbols that lead to other states starting /// in any of the states in the given set. Also if there are /// wildcard transitions, give back a new wildcard that guarantees /// that its matches match all the wildcards in the set. /// So the symbols returned in out_symbols do NOT overlap those that /// match the returned wildcard (if present). And the union of out_symbols /// and those matched by the wildcard, are all the valid transitions from /// the given state set void symbolsFrom(const IntSet &states, SymbolSet &out_symbols, Wildcard *&wildcard)const; /// Get the set of states that are reachable from the given state set using the given symbol void transitionsFrom(const IntSet &states, ustring symbol, IntSet &out_states)const; /// Get the set of states that are reachable from the given state set by wildcard void wildcardTransitionsFrom(const IntSet &states, IntSet &out_states)const; /// Perform a lambda closure of a state set /// /// In other words, complete the given set so it includes all the aditional /// states that are reachable by the lambda symbol void lambdaClosure(IntSet &states)const; /// for debuging purposes std::string tostr()const; protected: /// Vector of states std::vector<State *> m_states; }; // We need to make a set of sets of integers (states). For doing that // we need a unique key for a single set, which is going to be the list // of state ids sorted by value. And this is the type that is going to hold // that. Legal to use in a std::set typedef std::vector<int> StateSetKey; // Compute the unique key for the given set of states void keyFromStateSet(const IntSet &states, StateSetKey &out_key); /// Deterministic Finite Automata /// /// This is a ready to use for parsing finite state automata where every /// symbol takes you to a single next state at most. It allows for linear /// time parsing of light path expressions class DfAutomata { friend class DfOptimizedAutomata; public: /// Simple state for a deterministic automata class State { friend class DfAutomata; friend class DfOptimizedAutomata; public: State(int id) { m_id = id; m_wildcard_trans = -1; } /// Get the transition for a symbol // /// Returns -1 if no transitions with that symbol. That means the /// symbol is not recognized at this point of the automata int getTransition(ustring symbol)const; // Same semantics as in NdfAutomata::State void addTransition(ustring symbol, State *state); // WARNING: this has an optimized representation and has to be called // always AFTER all the normal transitions have been added void addWildcardTransition(Wildcard *wildcard, State *state); /// Optimize transitions /// /// Sometimes the existing wildcard can be extended to wrap some of /// the single symbol transitions. This function performs that optimization void removeUselessTransitions(); void addRule(void *rule) { m_rules.push_back(rule); }; const RuleSet &getRules()const { return m_rules; }; int getId()const { return m_id; }; std::string tostr()const; protected: int m_id; // Only one transition per symbol here SymbolToInt m_symbol_trans; int m_wildcard_trans; // A final state here might contain several final states // from the original NDF automata. Therefore, we need a list // of rules here RuleSet m_rules; }; DfAutomata() {}; ~DfAutomata(); State *newState(); const State *getState(int i)const { return m_states[i]; }; size_t size()const { return m_states.size(); }; // In case somebody wants to reuse the same object and recreate // an automata, we provide this method void clear(); /// Colapse all the equivalent states into single ones void removeEquivalentStates(); /// Go through all the states and perform removeUselessTransitions /// method call on them void removeUselessTransitions(); /// For debuging purposes std::string tostr()const; protected: /// Return true if two states are equivalent /// /// Two states are equivalent if their transition tables lead /// to the same states for the same symbols bool equivalent(const State *dfstateA, const State *dfstateB); // State vector with the automata std::vector<State *> m_states; }; /// Helper class for the ndfautoToDfauto algorithm. It keeps a record /// of state sets that have already been found to be new states of the /// deterministic automata class StateSetRecord { public: StateSetRecord(const NdfAutomata &ndfautomata, DfAutomata &dfautomata): m_ndfautomata(ndfautomata), m_dfautomata(dfautomata) {}; // A new found state is defined by the deterministic state created // for it and the state(int) set in the original automata typedef std::pair<DfAutomata::State *, IntSet> Discovery; // The type that will index our new created states indexed by the set key typedef std::map<StateSetKey, DfAutomata::State *> StateSetMap; /// Take a state set and build a new df state (or return existing one) /// Also, if it was newly created, append it to the discovered list so we /// can iterate over it later DfAutomata::State *ensureState(const IntSet &newstates, std::list<Discovery> &discovered); private: /// Gather all the rules from the original automata in the given sets (if any) /// and put them in the dfstate rule set void getRulesFromSet(DfAutomata::State *dfstate, const NdfAutomata &ndfautomata, const IntSet &ndfstates); const NdfAutomata &m_ndfautomata; DfAutomata &m_dfautomata; StateSetMap m_key_to_dfstate; }; /// NDF to DF automata convertion /// /// This function is the most important pice of the whole process. It takes /// a non-deterministic finite automata and computes an equivalent deterministic /// one. It is equivalente in the sense that they both recognize the same language void ndfautoToDfauto(const NdfAutomata &ndfautomata, DfAutomata &dfautomata); OSL_NAMESPACE_EXIT
38.721893
114
0.644407
[ "object", "vector" ]
8b8521752e29eb579c1332b1e3a2384791d9d794
700
h
C
kalokairi2/player_movement.h
hiragisorah/kalokairi
bd06f7c6033dfa83cda45726dc9f2184ee0b081c
[ "MIT" ]
null
null
null
kalokairi2/player_movement.h
hiragisorah/kalokairi
bd06f7c6033dfa83cda45726dc9f2184ee0b081c
[ "MIT" ]
null
null
null
kalokairi2/player_movement.h
hiragisorah/kalokairi
bd06f7c6033dfa83cda45726dc9f2184ee0b081c
[ "MIT" ]
null
null
null
#pragma once #include "..\frame-work\engine.h" #include "transform.h" #include "hierarchy-animation.h" #include "renderer.h" #include "pistol.h" #include "camera.h" class PlayerMovement final : public Seed::Component { public: PlayerMovement(void); ~PlayerMovement(void); public: void Initialize(void) override; void Update(void) override; void Always(void) override; void Finalize(void) override; private: Transform * transform_; Renderer * renderer_; Pistol * pistol_; Transform * r_arm1_; Transform * r_hand_; HierarchyModelList * model_list_; private: int r_arm1_id_; float fade_; Camera * camera_; public: Transform * const transform(void); Pistol * const pistol(void); };
18.421053
51
0.741429
[ "transform" ]
8b92f3ae19bd57630ca77d1057f7c618895d1722
794
h
C
src/xtd.core/include/xtd/reset_color.h
ExternalRepositories/xtd
5889d69900ad22a00fcb640d7850a1d599cf593a
[ "MIT" ]
null
null
null
src/xtd.core/include/xtd/reset_color.h
ExternalRepositories/xtd
5889d69900ad22a00fcb640d7850a1d599cf593a
[ "MIT" ]
null
null
null
src/xtd.core/include/xtd/reset_color.h
ExternalRepositories/xtd
5889d69900ad22a00fcb640d7850a1d599cf593a
[ "MIT" ]
null
null
null
/// @file /// @brief Contains xtd::reset_color class. /// @copyright Copyright (c) 2021 Gammasoft. All rights reserved. #pragma once #include "console.h" #include "object.h" /// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more. namespace xtd { /// @brief Represent reset color output manipulator class. /// @par Library /// xtd.core /// @ingroup xtd_core /// @see xtd::console::reset_color method. class reset_color final : public object { public: reset_color() = default; /// @cond friend std::ostream& operator<<(std::ostream& os, const reset_color&) { if (!console::is_out_redireted() && os.rdbuf() == console::out.rdbuf()) console::reset_color(); return os; } /// @endcond }; }
28.357143
103
0.651134
[ "object" ]
8b93e769a8d1d1c061c5994588f6e6114c4cca7b
3,271
h
C
ns-allinone-3.27/ns-3.27/src/lte/test/lte-test-fading.h
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
93
2019-04-21T08:22:26.000Z
2022-03-30T04:26:29.000Z
ns-allinone-3.27/ns-3.27/src/lte/test/lte-test-fading.h
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
12
2019-04-19T16:39:58.000Z
2021-06-22T13:18:32.000Z
ns-allinone-3.27/ns-3.27/src/lte/test/lte-test-fading.h
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
21
2019-05-27T19:36:12.000Z
2021-07-26T02:37:41.000Z
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Author: Marco Miozzo <marco.miozzo@cttc.es> */ #ifndef LTE_TEST_FADING_H #define LTE_TEST_FADING_H #include "ns3/spectrum-value.h" #include "ns3/test.h" #include <ns3/buildings-mobility-model.h> #include <ns3/buildings-propagation-loss-model.h> #include <ns3/spectrum-value.h> #include <ns3/trace-fading-loss-model.h> using namespace ns3; /** * \ingroup lte-test * \ingroup tests * * \brief Test 1.1 fading model */ class LteFadingTestSuite : public TestSuite { public: LteFadingTestSuite (); }; /** * \ingroup lte-test * \ingroup tests * * \brief Fading test case is checking if the pathloss between macro and UE * is equal to the theoretical value when using the Okumura Hata Model * (150 < freq < 1500 MHz). */ class LteFadingTestCase : public TestCase { public: /** * Lte Fading Test Case function * \param m1 building mobility model #1 * \param m2 building modility model #2 * \param refValue reference value * \param name the reference name */ LteFadingTestCase (Ptr<BuildingsMobilityModel> m1, Ptr<BuildingsMobilityModel> m2, double refValue, std::string name); virtual ~LteFadingTestCase (); private: virtual void DoRun (void); void GetFadingSample (); Ptr<BuildingsMobilityModel> m_node1; ///< building mobility model #1 Ptr<BuildingsMobilityModel> m_node2; ///< building mobility model #2 Ptr<TraceFadingLossModel> m_fadingModule; ///< fading loss model double m_lossRef; ///< loss reference std::vector<SpectrumValue> m_fadingSamples; ///< fading samples }; /** * \ingroup lte-test * \ingroup tests * * \brief Lte Fading System Test Case */ class LteFadingSystemTestCase : public TestCase { public: /** * Lte Fading System Test Case function * \param name the reference name * \param snrDb SNR in DB * \param dist the distance * \param mcsIndex the MCS index */ LteFadingSystemTestCase (std::string name, double snrDb, double dist, uint16_t mcsIndex); LteFadingSystemTestCase (); virtual ~LteFadingSystemTestCase (); /** * DL scheduling function * \param dlInfo DL scheduling info */ void DlScheduling (DlSchedulingCallbackInfo dlInfo); private: virtual void DoRun (void); double m_snrDb; ///< SNR in DB double m_distance; ///< distance uint16_t m_mcsIndex; ///< MCS index }; #endif /*LTE_TEST_FADING_H*/
27.033058
122
0.690614
[ "vector", "model" ]
8b97d27d413e93373b8afc859e9ad008e878308d
1,339
h
C
MultiSource/Benchmarks/MallocBench/gs/gzdevice.h
gmlueck/llvm-test-suite
7ff842b8fec970561fed78c9347e496538cf74f5
[ "Apache-2.0" ]
70
2019-01-15T03:03:55.000Z
2022-03-28T02:16:13.000Z
MultiSource/Benchmarks/MallocBench/gs/gzdevice.h
gmlueck/llvm-test-suite
7ff842b8fec970561fed78c9347e496538cf74f5
[ "Apache-2.0" ]
519
2020-09-15T07:40:51.000Z
2022-03-31T20:51:15.000Z
MultiSource/Benchmarks/MallocBench/gs/gzdevice.h
gmlueck/llvm-test-suite
7ff842b8fec970561fed78c9347e496538cf74f5
[ "Apache-2.0" ]
117
2020-06-24T13:11:04.000Z
2022-03-23T15:44:23.000Z
/* Copyright (C) 1989 Aladdin Enterprises. All rights reserved. Distributed by Free Software Foundation, Inc. This file is part of Ghostscript. Ghostscript is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to anyone for the consequences of using it or for whether it serves any particular purpose or works at all, unless he says so in writing. Refer to the Ghostscript General Public License for full details. Everyone is granted permission to copy, modify and redistribute Ghostscript, but only under the conditions described in the Ghostscript General Public License. A copy of this license is supposed to have been given to you along with Ghostscript so you can know your rights and responsibilities. It should be in a file named COPYING. Among other things, the copyright notice and this notice must be preserved on all copies. */ /* gzdevice.h */ /* Private structures for describing devices for GhostScript */ /* requires gsmatrix.h */ #include "gxdevice.h" /* Structure for a device in the graphics state */ typedef struct device_s { gx_device *info; /* points to actual device info */ /*** ref show_procedure; ***/ int is_band_device; /* if true, must render in pieces */ gx_color_index white, black; /* device color codes */ } device;
41.84375
72
0.769978
[ "render" ]
8bac83110085c2da63df2d907d6352b4c328f972
46,691
h
C
src/wcslib/wcs.h
maartenbreddels/kaplot
305026209f8026094d54373e14541f4f039501d5
[ "MIT" ]
null
null
null
src/wcslib/wcs.h
maartenbreddels/kaplot
305026209f8026094d54373e14541f4f039501d5
[ "MIT" ]
null
null
null
src/wcslib/wcs.h
maartenbreddels/kaplot
305026209f8026094d54373e14541f4f039501d5
[ "MIT" ]
null
null
null
/*============================================================================ * * WCSLIB 3.6 - an implementation of the FITS WCS convention. * Copyright (C) 1995-2004, Mark Calabretta * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This library 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 Library * General Public License for more details. * * You should have received a copy of the GNU Library General Public License * along with this library; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * Correspondence concerning WCSLIB may be directed to: * Internet email: mcalabre@atnf.csiro.au * Postal address: Dr. Mark Calabretta * Australia Telescope National Facility, CSIRO * PO Box 76 * Epping NSW 1710 * AUSTRALIA * * Author: Mark Calabretta, Australia Telescope National Facility * http://www.atnf.csiro.au/~mcalabre/index.html * $Id: wcs.h,v 1.1 2005/12/22 22:44:24 breddels Exp $ *============================================================================= * * WCSLIB 3.6 - C routines that implement the FITS World Coordinate System * (WCS) convention. Refer to * * "Representations of world coordinates in FITS", * Greisen, E.W., & Calabretta, M.R. 2002, A&A, 395, 1061 (paper I) * * "Representations of celestial coordinates in FITS", * Calabretta, M.R., & Greisen, E.W. 2002, A&A, 395, 1077 (paper II) * * "Representations of spectral coordinates in FITS", * Greisen, E.W., Valdes, F.G., Calabretta, M.R., & Allen, S.L. 2004, A&A, * (paper III, in preparation) * * * Summary of routines * ------------------- * Three service routines, wcsini(), wcssub(), and wcsfree() are provided to * manage the wcsprm struct (see "Memory allocation and deallocation" below). * Another, wcsprt(), prints its contents. See "Coordinate transformation * parameters" below for an explanation of the anticipated usage of these * routines. * * A setup routine, wcsset(), computes indices from the ctype array but need * not be called explicitly - see the explanation of wcs.flag below. * * wcsp2s() and wcss2p() are high level driver routines for the WCS linear, * celestial, and spectral transformation routines. * * Given either the celestial longitude or latitude plus an element of the * pixel coordinate a hybrid routine, wcsmix(), iteratively solves for the * unknown elements. * * * Default constructor for the wcsprm struct; wcsini() * --------------------------------------------------- * wcsini() allocates memory for the crpix, pc, cdelt, cunit, ctype, crval, * pv, ps, cd, crota, cname, crder, and csyer arrays in the wcsprm struct and * sets all members of the wcsprm struct to default values. Memory is * allocated for up to NPVMAX PVi_ma cards or NPSMAX PSi_ma cards per WCS * representation. These may be changed via wcsnpv() and wcsnps() before * wcsini() is called. * * Given: * alloc int If true, allocate memory for the crpix, etc. arrays * (see "Memory allocation and deallocation below"). * Otherwise, it is assumed that pointers to these * arrays have been set by the caller except if they are * null pointers in which case memory will be allocated * for them regardless. (In other words, setting alloc * true saves having to initalize these pointers to * zero.) * * naxis int The number of world coordinate axes. This is used to * determine the length of the various wcsprm vectors * and matrices and therefore the amount of memory to * allocate for them. * * Given and returned: * wcs struct wcsprm* * Coordinate transformation parameters (see below). * Note that, in order to initialize memory management * wcs->flag should be set to -1 when wcs is initialized * for the first time (memory leaks may result if it had * already been initialized). * * Function return value: * int Status return value: * 0: Success. * 1: Null wcsprm pointer passed. * 2: Memory allocation failed. * * * Memory allocation for PVi_ma and PSi_ma; wcsnpv() and wcsnps() * -------------------------------------------------------------- * wcsnpv() and wcsnps() change the values of NPVMAX (default 64) and * NPSMAX (default 8). These control the number of PVi_ma and PSi_ma cards * that wcsini() should allocate space for. * * Given: * n int Value of NPVMAX or NPSMAX; ignored if < 0. * * Function return value: * int Current value of NPVMAX or NPSMAX. * * * Subimage extraction routine for the wcsprm struct; wcssub() * ----------------------------------------------------------- * wcssub() extracts the coordinate description for a subimage from a wcsprm * struct. It does a deep copy, using wcsini() to allocate memory for its * arrays if required. Only the "information to be provided" part of the * struct is extracted; a call to wcsset() is required to set up the * remainder. * * The world coordinate system of the subimage must be separable in * the sense that the world coordinates at any point in the subimage must * depend only on the pixel coordinates of the axes extracted. In practice, * this means that the PCi_ja matrix of the original image must not contain * non-zero off-diagonal terms that associate any of the subimage axes with * any of the non-subimage axes. * * Given: * alloc int If true, allocate memory for the crpix, etc. arrays * in the destination (see "Memory allocation and * deallocation below"). Otherwise, it is assumed that * pointers to these arrays have been set by the caller * except if they are null pointers in which case memory * will be allocated for them regardless. * * wcssrc const struct wcsprm* * Struct to extract from. * * Given and returned: * nsub int* * axes int[] Vector of length *nsub containing the image axis * numbers to extract. Order is significant; axes[0] is * the axis number of the input image that corresponds * to the first axis in the subimage, etc. * * nsub (the pointer) may be set to zero, and so also * may *nsub, to indicate the number of axes in the * input image; the number of axes will be returned if * nsub != 0. axes itself (the pointer) may be set to * zero to indicate the first *nsub axes in their * original order. * * Set both nsub and axes to zero to do a deep copy of * one wcsprm struct to another. * * Subimage extraction by coordinate axis type may be * done by setting the elements of axes[] to the * following special preprocessor macro values: * * WCSSUB_LONGITUDE: Celestial longitude. * WCSSUB_LATITUDE: Celestial latitude. * WCSSUB_CUBEFACE: Quadcube CUBEFACE axis. * WCSSUB_SPECTRAL: Spectral axis. * WCSSUB_STOKES: Stokes axis. * * See note 2 below for further usage notes. * * On return, *nsub will contain the number of axes in * the subimage; this may be zero if there were no axes * of the required type(s) (in which case no memory will * be allocated). axes[] will contain the axis numbers * that were extracted. The vector length must be * sufficient to contain all axis numbers. No checks * are performed to verify that the coordinate axes are * consistent, this is done by wcsset(). * * wcsdst struct wcsprm* * Struct describing the subimage. wcsdst->flag should * be set to -1 if wcsdst was not previously initialized * (memory leaks may result if it was previously * initialized). * * Function return value: * int Status return value: * 0: Success. * 1: Null wcsprm pointer passed. * 2: Memory allocation failed. * 12: Invalid subimage specification. * 13: Non-separable subimage coordinate system. * * * Copy routine for the wcsprm struct; wcscopy() * --------------------------------------------- * wcscopy() does a deep copy of one wcsprm struct to another. As of * WCSLIB 3.6, it is implemented as a preprocessor macro that invokes * wcssub() with the nsub and axes pointers both set to zero. * * * Destructor for the wcsprm struct; wcsfree() * ------------------------------------------- * wcsfree() frees memory allocated for the wcsprm arrays by wcsini() and/or * wcsset(). wcsini() records the memory it allocates and wcsfree() will * only attempt to free this. * * Returned: * wcs struct wcsprm* * Coordinate transformation parameters (see below). * * Function return value: * int Status return value: * 0: Success. * 1: Null wcsprm pointer passed. * * * Print routine for the wcsprm struct; wcsprt() * --------------------------------------------- * This service routine may be used to print the members of a wcsprm struct. * * Given: * wcs const struct wcsprm* * Coordinate transformation parameters (see below). * * Function return value: * int Status return value: * 0: Success. * 1: Null wcsprm pointer passed. * * * Setup routine; wcsset() * ----------------------- * Sets up a wcsprm data structure according to information supplied within * it (see "Coordinate transformation parameters" below). * * wcsset() recognizes the NCP projection and converts it to the equivalent * SIN projection. It also recognizes GLS as a synonym for SFL. * * Note that this routine need not be called directly; it will be invoked by * wcsp2s() and wcss2p() if the "flag" structure member is anything other * than a predefined magic value. * * Given and returned: * wcs struct wcsprm* * Coordinate transformation parameters (see below). * * Function return value: * int Status return value: * 0: Success. * 1: Null wcsprm pointer passed. * 2: Memory allocation failed. * 3: Linear transformation matrix is singular. * 4: Inconsistent or unrecognized coordinate axis * types. * 5: Invalid parameter value. * 6: Invalid coordinate transformation parameters. * 7: Ill-conditioned coordinate transformation * parameters. * * * Pixel-to-world transformation; wcsp2s() * --------------------------------------- * Transform an array of pixel coordinates to world coordinates. * * Given or returned: * wcs struct wcsprm* * Coordinate transformation parameters (see below). * * Given: * ncoord int The number of coordinates, each of vector length * nelem int nelem but containing wcs.naxis coordinate elements. * pixcrd const double[ncoord][nelem] * Array of pixel coordinates. * * Returned: * imgcrd double[ncoord][nelem] * Array of intermediate world coordinates. For * celestial axes, imgcrd[][wcs.lng] and * imgcrd[][wcs.lat] are the projected x-, and * y-coordinates, in "degrees". For spectral axes, * imgcrd[][wcs.spec] is the intermediate spectral * coordinate, in SI units. * * phi, double[ncoord] * theta Longitude and latitude in the native coordinate * system of the projection, in degrees. * * world double[ncoord][nelem] * Array of world coordinates. For celestial axes, * world[][wcs.lng] and world[][wcs.lat] are the * celestial longitude and latitude, in degrees. For * spectral axes, imgcrd[][wcs.spec] is the intermediate * spectral coordinate, in SI units. * * stat int[ncoord] * Status return value for each coordinate: * 0: Success. * 1: Invalid pixel coordinate. * * Function return value: * int Status return value: * 0: Success. * 1: Null wcsprm pointer passed. * 2: Memory allocation failed. * 3: Linear transformation matrix is singular. * 4: Inconsistent or unrecognized coordinate axis * types. * 5: Invalid parameter value. * 6: Invalid coordinate transformation parameters. * 7: Ill-conditioned coordinate transformation * parameters. * 8: One or more of the pixel coordinates were * invalid, as indicated by the stat vector. * * * World-to-pixel transformation; wcss2p() * --------------------------------------- * Transform an array of world coordinates to pixel coordinates. * * Given or returned: * wcs struct wcsprm* * Coordinate transformation parameters (see below). * * Given: * ncoord int The number of coordinates, each of vector length * nelem int nelem but containing wcs.naxis coordinate elements. * world const double[ncoord][nelem] * Array of world coordinates. For celestial axes, * world[][wcs.lng] and world[][wcs.lat] are the * celestial longitude and latitude, in degrees. For * spectral axes, world[][wcs.spec] is the spectral * coordinate, in SI units. * * Returned: * phi, double[ncoord] * theta Longitude and latitude in the native coordinate * system of the projection, in degrees. * * imgcrd double[ncoord][nelem] * Array of intermediate world coordinates. For * celestial axes, imgcrd[][wcs.lng] and * imgcrd[][wcs.lat] are the projected x-, and * y-coordinates, in "degrees". For quadcube * projections with a CUBEFACE axis the face number is * also returned in imgcrd[][wcs.cubeface]. For * spectral axes, imgcrd[][wcs.spec] is the intermediate * spectral coordinate, in SI units. * * pixcrd double[ncoord][nelem] * Array of pixel coordinates. * * stat int[ncoord] * Status return value for each coordinate: * 0: Success. * 1: Invalid world coordinate. * * Function return value: * int Status return value: * 0: Success. * 1: Null wcsprm pointer passed. * 2: Memory allocation failed. * 3: Linear transformation matrix is singular. * 4: Inconsistent or unrecognized coordinate axis * types. * 5: Invalid parameter value. * 6: Invalid coordinate transformation parameters. * 7: Ill-conditioned coordinate transformation * parameters. * 9: One or more of the world coordinates were * invalid, as indicated by the stat vector. * * * Hybrid transformation; wcsmix() * ------------------------------- * Given either the celestial longitude or latitude plus an element of the * pixel coordinate solve for the remaining elements by iterating on the * unknown celestial coordinate element using wcss2p(). * * Given or returned: * wcs struct wcsprm* * Indices for the celestial coordinates obtained * by parsing the ctype[] array (see below). * * Given: * mixpix int Which element of the pixel coordinate is given. * mixcel int Which element of the celestial coordinate is given: * 1: Celestial longitude is given in * world[wcs.lng], latitude returned in * world[wcs.lat]. * 2: Celestial latitude is given in * world[wcs.lat], longitude returned in * world[wcs.lng]. * * vspan const double[2] * Solution interval for the celestial coordinate, in * degrees. The ordering of the two limits is * irrelevant. Longitude ranges may be specified with * any convenient normalization, for example [-120,+120] * is the same as [240,480], except that the solution * will be returned with the same normalization, i.e. * lie within the interval specified. * * vstep const double * Step size for solution search, in degrees. If zero, * a sensible, although perhaps non-optimal default will * be used. * * viter int If a solution is not found then the step size will be * halved and the search recommenced. viter controls * how many times the step size is halved. The allowed * range is 5 - 10. * * Given and returned: * world double[naxis] * World coordinate elements. world[wcs.lng] and * world[wcs.lat] are the celestial longitude and * latitude, in degrees. Which is given and which * returned depends on the value of mixcel. All other * elements are given. * * Returned: * phi, double[naxis] * theta Longitude and latitude in the native coordinate * system of the projection, in degrees. * * imgcrd double[naxis] * Image coordinate elements. imgcrd[wcs.lng] and * imgcrd[wcs.lat] are the projected x-, and * y-coordinates, in "degrees". * * Given and returned: * pixcrd double[naxis] * Pixel coordinate. The element indicated by mixpix is * given and the remaining elements are returned. * * Function return value: * int Status return value: * 0: Success. * 1: Null wcsprm pointer passed. * 2: Memory allocation failed. * 3: Linear transformation matrix is singular. * 4: Inconsistent or unrecognized coordinate axis * types. * 5: Invalid parameter value. * 6: Invalid coordinate transformation parameters. * 7: Ill-conditioned coordinate transformation * parameters. * 10: Invalid world coordinate. * 11: No solution found in the specified interval. * * * Notes * ----- * 1) The quadcube projections (TSC, CSC, QSC) may be represented in FITS in * either of two ways: * * a) The six faces may be laid out in one plane and numbered as * follows: * * 0 * * 4 3 2 1 4 3 2 * * 5 * * Faces 2, 3 and 4 may appear on one side or the other (or both). * The world-to-pixel routines map faces 2, 3 and 4 to the left but * the pixel-to-world routines accept them on either side. * * b) The "COBE" convention in which the six faces are stored in a * three-dimensional structure using a "CUBEFACE" axis indexed from * 0 to 5 as above. * * These routines support both methods; wcsset() determines which is * being used by the presence or absence of a CUBEFACE axis in ctype[]. * wcsp2s() and wcss2p() translate the CUBEFACE axis representation to * the single plane representation understood by the lower-level WCSLIB * projection routines. * * 2) In wcssub(), combinations of subimage axes of particular types may be * extracted in the same order as they occur the input image by combining * preprocessor codes, for example * * *nsub = 1; * axes[0] = WCSSUB_LONGITUDE | WCSSUB_LATITUDE | WCSSUB_SPECTRAL; * * would extract the longitude, latitude, and spectral axes in the same * order as the input image. If one of each were present, *nsub = 3 * would be returned. * * For convenience, WCSSUB_CELESTIAL is defined as the combination * WCSSUB_LONGITUDE | WCSSUB_LATITUDE | WCSSUB_CUBEFACE. * * The codes may also be negated to extract all but the types specified, * for example * * *nsub = 4; * axes[0] = WCSSUB_LONGITUDE; * axes[1] = WCSSUB_LATITUDE; * axes[2] = WCSSUB_CUBEFACE; * axes[3] = -(WCSSUB_SPECTRAL | WCSSUB_STOKES); * * The last of these specifies all axis types other than spectral or * Stokes. However, as extraction is done in the order specified by * axes[] a longitude axis (if present) would be extracted first (via * axes[0]) and not subsequently (via axes[3]). Likewise for the * latitude and cubeface axes in this example. * * From the foregoing, it is apparent that the value of *nsub returned * may be less than or greater than that given. However, it will never * exceed the number of axes in the input image. * * * Coordinate transformation parameters * ------------------------------------ * The wcsprm struct consists of a number of data members that must be * supplied and others that are computed from them. In practice, it is * expected that a FITS header parser would scan the FITS header until it * encountered the NAXIS (or WCSAXESa) card which must occur near the start * of the header before any of the WCS keywords. It would then use wcsini() * to allocate memory for arrays in the wcsprm struct and set default * values. Then as it read and identified each WCS header card it would * load the value into the relevant wcsprm array element. Finally it would * invoke wcsset(), either directly or indirectly, to set the derived members * of the wcsprm struct. * * int flag * This flag must be set to zero whenever any of the following members * of the wcsprm struct are set or modified. This signals the setup * routine, wcsset(), to recompute intermediaries. * * flag should be set to -1 when wcsini() is called for the first time * for a wcsprm struct in order to initialize memory management. It * must ONLY be used on the first initialization otherwise memory leaks * may result. * * int naxis * Number of pixel and world coordinate elements, given by NAXIS or * WCSAXESa. * * double *crpix * Pointer to the first element of an array of double containing the * coordinate reference pixel, CRPIXja. * * double *pc * Pointer to the first element of the PCi_ja (pixel coordinate) * transformation matrix. The expected order is * * pc = {PC1_1, PC1_2, PC2_1, PC2_2}; * * This may be constructed conveniently from a two-dimensional array * via * * double m[2][2] = {{PC1_1, PC1_2}, * {PC2_1, PC2_2}}; * * which is equivalent to, * * double m[2][2]; * m[0][0] = PC1_1; * m[0][1] = PC1_2; * m[1][0] = PC2_1; * m[1][1] = PC2_2; * * for which the storage order is * * PC1_1, PC1_2, PC2_1, PC2_2 * * so it would be legitimate to set pc = *m. * * double *cdelt * Pointer to the first element of an array of double containing the * coordinate increments, CDELTia. * * char (*cunit)[72] * Pointer to the first element of an array of char[72] containing the * CUNITia cards which define the units of measurement of the CRVALia, * CDELTia, and CDi_ja cards. * * For celestial coordinates, CRVALia, CDELTia, and CDi_ja are measured * in degrees and CUNITia is not applicable. * * For spectral coordinates, CUNITia is currently ignored and default * (SI) units are assumed. * * For simple linear coordinate types CUNITia may be used to label * coordinate values. * * These variables accomodate the longest allowed string-valued FITS * keyword, being limited to 68 characters, plus the null-terminating * character. * * char (*ctype)[72] * Pointer to the first element of an array of char[72] containing the * coordinate axis types, CTYPEia. * * The ctype[][72] keyword values must be in upper case and there must * be zero or one pair of matched celestial axis types, and zero or one * spectral axis. The ctype[][72] strings should be padded with blanks * on the right and null-terminated so that they are at least eight * characters in length. * * These variables accomodate the longest allowed string-valued FITS * keyword, being limited to 68 characters, plus the null-terminating * character. * * double *crval * Pointer to the first element of an array of double containing the * coordinate reference values, CRVALia. * * double lonpole, latpole * The native longitude and latitude of the celestial pole, LONPOLEa * and LATPOLEa (degrees). * * double restfrq, restwav * Rest frequency (Hz) and/or wavelength (m). * * int npv, npvmax * struct pvcard *pv * Pointer to the first element of an array of length npvmax of pvcard * structs: * * struct pvcard { * int i; ...Axis number, as in PVi_ma, * (i.e. 1-relative). * int m; ...Parameter number, as in PVi_ma, * (i.e. 0-relative). * double value; ...Parameter value. * }; * * As a FITS header parser encounters each PVi_ma card it should load * it into a pvcard struct in the array and increment npv. wcsset() * interprets these as required. * * int nps, npsmax * struct pscard *ps * Pointer to the first element of an array of length npsmax of pscard * structs: * * struct pscard { * int i; ...Axis number, as in PSi_ma, * (i.e. 1-relative). * int m; ...Parameter number, as in PSi_ma, * (i.e. 0-relative). * char value[72]; ...Parameter value. * }; * * As a FITS header parser encounters each PSi_ma card it should load * it into a pscard struct in the array and increment nps. wcsset() * interprets these as required (currently no PSi_ma cards are * recognized). * * int altlin * double *cd * double *crota * For historical compatibility, the wcsprm struct supports two * alternate specifications of the linear transformation matrix, those * associated with the CDi_ja and CROTAia cards. Although these may * not formally co-exist with PCi_ja, the approach here is simply to * ignore them if given in conjunction with PCi_ja. * * altlin is a bit flag that denotes which of these cards are present * in the header: * * Bit 0: PCi_ja is present. * * Bit 1: CDi_ja is present. Matrix elements in the IRAF convention * are equivalent to the product CDi_ja = CDELTia * PCi_ja, but * the defaults differ from that of the PCi_ja matrix. If one * or more CDi_ja cards are present then all unspecified CDi_ja * default to zero. If no CDi_ja (or CROTAia) cards are * present, then the header is assumed to be in PCi_ja form * whether or not any PCi_ja cards are present since this * results in an interpretation of CDELTia consistent with the * original FITS specification. * * While CDi_ja may not formally co-exist with PCi_ja, it may * co-exist with CDELTia and CROTAia which are to be ignored. * * Bit 2: CROTAia is present. In the AIPS convention, CROTAia may only * be associated with the latitude axis of a celestial axis * pair. It specifies a rotation in the image plane that is * applied AFTER the CDELTia; any other CROTAia cards are * ignored. * * CROTAia may not formally co-exist with PCi_ja. CROTAia and * CDELTia may formally co-exist with CDi_ja but if so are to be * ignored. * * CDi_ja and CROTAia cards, if found, are to be stored in the cd and * crota arrays which are dimensioned similarly to pc and cdelt. FITS * header parsers should use the following precedure: * Whenever a PCi_ja card is encountered: altlin |= 1; * Whenever a CDi_ja card is encountered: altlin |= 2; * Whenever a CROTAia card is encountered: altlin |= 4; * If none of these bits are set the PCi_ja representation results, * i.e. pc and cdelt will be used as given. * * These alternate specifications of the linear transformation matrix * are translated immediately to PCi_ja by wcsset() and are nowhere * visible to the lower-level routines. In particular, wcsset() resets * cdelt to unity if CDi_ja is present (and no PCi_ja). If no CROTAia * is associated with the latitude axis, wcsset() reverts to a unity * PCi_ja matrix. * * The following members of the wcsprm struct are provided solely so that it * may contain a complete copy of all WCS cards associated with a particular * coordinate representation. They are not used by any WCSLIB routines. * * char alt[4]; * Character code for alternate coordinate descriptions (i.e. the "a" * in keyword names such as CTYPEia). This is blank for the primary * coordinate description, or one of the 26 upper-case letters, A-Z. * * An array of four characters is provided for alignment purposes, * only the first is used. * * int colnum; * Where the coordinate representation is associated with an image- * array column in a FITS binary table, this variable may be used to * record the relevant column number. * * It should be set to zero for an image header, or a binary table for * which there is no association with a specific column. * * char wcsname[72]; * char (*cname)[72]; * The name given to the coordinate representation WCSNAMEa, and a * pointer to the first element of an array of char[72] containing the * coordinate axis names, CNAMEia. * * These variables accomodate the longest allowed string-valued FITS * keyword, being limited to 68 characters, plus the null-terminating * character. * * double *crder, *csyer; * Pointers to the first elements of arrays of double recording the * random and systematic error in the coordinate value, CRDERia and * CSYERia. * * char radesys[72]; * double equinox; * The equatorial or ecliptic coordinate system type, RADESYSa, and for * the dynamical systems, the associated equinox, EQUINOXa (or EPOCH in * older headers). * * char specsys[72], ssysobs[72]; * double velosys; * Spectral reference frame (standard of rest), SPECSYSa, and the * actual frame in which there is no differential variation in the * spectral coordinate across the field-of-view, SSYSOBSa. The * relative radial velocity (m/s) between the observer and the selected * standard of rest in the direction of the celestial reference * coordinate, VELOSYSa. * * char ssyssrc[72]; * double zsource; * The redshift, ZSOURCEa, of the source and the spectral reference * frame (standard of rest) in which this was measured, SSYSSRCa. * * double obsgeo[3]; * Location of the observer in a standard terrestrial reference frame, * OBSGEO-X, OBSGEO-Y, OBSGEO-Z (in metres). * * char dateobs[72] * The date of observation in ISO format, yyyy-mm-ddThh:mm:ss. It * refers to the start of the observation unless otherwise explained in * the comment field of the DATE-OBS card. * * double mjdobs, mjdavg; * Modified Julian Date (MJD = JD - 2400000.5), MJD-OBS, corresponding * to DATE-OBS, and the MJD of a representative mid-point of the * observation, MJD-AVG. * * * The remaining members of the wcsprm struct are maintained by wcsset() and * must not be modified elsewhere: * * char lngtyp[8], lattyp[8] * Four-character WCS celestial axis types. e.g. RA, DEC, GLON, GLAT, * etc. (Declared as char[8] for alignment reasons.) * * int lng, lat, spc * Indices into the imgcrd[][], and world[][] arrays as described * above. These may also serve as indices into the pixcrd[][] array * provided that the PCi_ja matrix does not transpose axes. * * int cubeface * Index into the pixcrd[][] array for the CUBEFACE axis. This is used * for quadcube projections where the cube faces are stored on a * separate axis (see Note 1 above). * * struct linprm lin * Linear transformation parameters (usage is described in the * prologue to lin.h). * * struct celprm cel * Celestial transformation parameters (usage is described in the * prologue to cel.h). * * struct spcprm spc * Spectral transformation parameters (usage is described in the * prologue to spc.h). * * int m_flag, m_naxis * char (*m_cunit)[72], (*m_ctype)[72] * double *m_crpix, *m_pc, *m_cdelt, *m_crval * struct pvcard *m_pv * double *m_cd, *m_crota * These are used for memory management by wcsini() and wcsfree(). * * * Vector arguments * ---------------- * Arrays of pixel and world coordinates are two dimensional, i.e. * pixcrd[ncoord][nelem], where nelem must equal or exceed the number of * coordinate elements, naxis, stored in the wcsprm struct. Exception: when * ncoord == 1, nelem is not used. * * Note that the function prototypes must declare two-dimensional arrays as * one-dimensional to avoid warnings about declaration of "incomplete types". * This was considered preferable to declaring them as simple * pointers-to-double which gives no indication that storage is associated * with them. * * * Memory allocation and deallocation * ---------------------------------- * wcsini() allocates memory for the crpix, pc, cdelt, cunit, ctype, crval, * pv, ps, cd, crota, cname, crder, and csyer arrays in the wcsprm struct. * It is provided as a service routine; usage is optional, and the caller is * at liberty to set these pointers independently. * * If the pc matrix is not unity, wcsset() also allocates memory for the * piximg and imgpix arrays. The caller must not modify these. * * wcsini() maintains a record of memory it has allocated and this is used * by wcsfree() which wcsini() uses to free any memory that it may have * allocated on a previous invokation. Thus it is not necessary for the * caller to invoke wcsfree() separately if wcsini() is invoked repeatedly on * the same wcsprm struct. Likewise, wcsset() deallocates memory that it * may have allocated in the same wcsprm struct on a previous invokation. * * However, a memory leak will result if a wcsprm struct goes out of scope * before the memory has been free'd, either by wcsfree() or otherwise. * Likewise, if the wcsprm struct itself has been malloc'd and the allocated * memory is not free'd when the memory for the struct is free'd. A leak may * also arise if the caller interferes with the array pointers in the * "private" part of the wcsprm struct. * * Beware of making a shallow copy of a wcsprm struct by assignment; any * changes made to allocated memory in one would be reflected in the other, * and if the memory allocated for one was free'd the other would reference * unallocated memory. Use wcssub() instead to make a deep copy. * * * Status return values * -------------------- * Error messages to match the status value returned from each function are * encoded in the wcs_errmsg character array. * * * wcsmix() algorithm * ------------------ * Initially the specified solution interval is checked to see if it's a * "crossing" interval. If it isn't, a search is made for a crossing * solution by iterating on the unknown celestial coordinate starting at the * upper limit of the solution interval and decrementing by the specified * step size. A crossing is indicated if the trial value of the pixel * coordinate steps through the value specified. If a crossing interval is * found then the solution is determined by a modified form of "regula falsi" * division of the crossing interval. If no crossing interval was found * within the specified solution interval then a search is made for a "non- * crossing" solution as may arise from a point of tangency. The process is * complicated by having to make allowance for the discontinuities that occur * in all map projections. * * Once one solution has been determined others may be found by subsequent * invokations of wcsmix() with suitably restricted solution intervals. * * Note the circumstance that arises when the solution point lies at a * native pole of a projection in which the pole is represented as a finite * curve, for example the zenithals and conics. In such cases two or more * valid solutions may exist but WCSMIX only ever returns one. * * Because of its generality wcsmix() is very compute-intensive. For * compute-limited applications more efficient special-case solvers could be * written for simple projections, for example non-oblique cylindrical * projections. * *===========================================================================*/ #ifndef WCSLIB_WCS #define WCSLIB_WCS #include "lin.h" #include "cel.h" #include "spc.h" #ifdef __cplusplus extern "C" { #endif #define WCSSUB_LONGITUDE 0x1001 #define WCSSUB_LATITUDE 0x1002 #define WCSSUB_CUBEFACE 0x1004 #define WCSSUB_CELESTIAL 0x1007 #define WCSSUB_SPECTRAL 0x1008 #define WCSSUB_STOKES 0x1010 extern const char *wcs_errmsg[]; #define wcsini_errmsg wcs_errmsg #define wcssub_errmsg wcs_errmsg #define wcscopy_errmsg wcs_errmsg #define wcsfree_errmsg wcs_errmsg #define wcsprt_errmsg wcs_errmsg #define wcsset_errmsg wcs_errmsg #define wcsp2s_errmsg wcs_errmsg #define wcss2p_errmsg wcs_errmsg #define wcsmix_errmsg wcs_errmsg /* Struct used for storing PVi_ma cards. */ struct pvcard { int i; /* Axis number, as in PVi_ma (1-relative). */ int m; /* Parameter number, ditto (0-relative). */ double value; /* Parameter value. */ }; /* Struct used for storing PSi_ma cards. */ struct pscard { int i; /* Axis number, as in PSi_ma (1-relative). */ int m; /* Parameter number, ditto (0-relative). */ char value[72]; /* Parameter value. */ }; struct wcsprm { /* Initialization flag (see the prologue above). */ /*-----------------------------------------------------------------------*/ int flag; /* Set to zero to force initialization. */ /* FITS header cards to be provided (see the prologue above). */ /*-----------------------------------------------------------------------*/ int naxis; /* Number of axes (pixel and coordinate). */ double *crpix; /* CRPIXja cards for each pixel axis. */ double *pc; /* PCi_ja linear transformation matrix. */ double *cdelt; /* CDELTia cards for each coordinate axis. */ char (*cunit)[72]; /* CUNITia cards for each coordinate axis. */ char (*ctype)[72]; /* CTYPEia cards for each coordinate axis. */ double *crval; /* CRVALia cards for each coordinate axis. */ double lonpole; /* LONPOLEa card. */ double latpole; /* LATPOLEa card. */ double restfrq; /* RESTFRQa card. */ double restwav; /* RESTWAVa card. */ int npv; /* Number of PVi_ma cards, and the */ int npvmax; /* number for which space was allocated. */ struct pvcard *pv; /* PVi_ma cards for each i and m. */ int nps; /* Number of PSi_ma cards, and the */ int npsmax; /* number for which space was allocated. */ struct pscard *ps; /* PSi_ma cards for each i and m. */ /* Alternative header cards (see the prologue above). */ /*-----------------------------------------------------------------------*/ int altlin; /* Alternative representations */ /* Bit 0: PCi_ja is present, */ /* Bit 1: CDi_ja is present, */ /* Bit 2: CROTAia is present. */ double *cd; /* CDi_ja linear transformation matrix. */ double *crota; /* CROTAia cards for each coordinate axis. */ /* Auxiliary coordinate system information, not used by WCSLIB. */ char alt[4]; int colnum; char wcsname[72]; char (*cname)[72]; double *crder; double *csyer; char radesys[72]; double equinox; char specsys[72]; char ssysobs[72]; double velosys; char ssyssrc[72]; double zsource; double obsgeo[3]; char dateobs[72]; double mjdobs; double mjdavg; /* Information derived from the FITS header cards by wcsset(). */ /*-----------------------------------------------------------------------*/ char lngtyp[8], lattyp[8]; /* Celestial axis types, e.g. RA, DEC. */ int lng, lat, spec; /* Longitude, latitude, and spectral axis */ /* numbers. */ int cubeface; /* True if there is a CUBEFACE axis. */ struct linprm lin; /* Linear transformation parameters. */ struct celprm cel; /* Celestial transformation parameters. */ struct spcprm spc; /* Spectral transformation parameters. */ int m_flag, m_naxis; /* The remainder are for memory management. */ char (*m_cunit)[72], (*m_ctype)[72]; double *m_crpix, *m_pc, *m_cdelt, *m_crval; struct pvcard *m_pv; struct pscard *m_ps; double *m_cd, *m_crota; char (*m_cname)[72]; double *m_crder, *m_csyer; int padding1; /* (Dummy inserted for alignment purposes.) */ }; #define WCSLEN (sizeof(struct wcsprm)/sizeof(int)) int wcsnpv(int); int wcsnps(int); int wcsini(int, int, struct wcsprm *); int wcssub(int, const struct wcsprm *, int *, int[], struct wcsprm *); int wcsfree(struct wcsprm *); int wcsprt(const struct wcsprm *); int wcsset(struct wcsprm *); int wcsp2s(struct wcsprm *, int, int, const double[], double[], double[], double[], double[], int[]); int wcss2p(struct wcsprm *, int, int, const double[], double[], double[], double[], double[], int[]); int wcsmix(struct wcsprm *, int, int, const double[], double, int, double[], double[], double[], double[], double[]); int wcs_allEq(int, int, const double *); void wcs_setAll(int, int, double *); void wcs_setAli(int, int, int *); #define wcscopy(alloc, wcssrc, wcsdst) wcssub(alloc, wcssrc, 0, 0, wcsdst) #ifdef __cplusplus }; #endif #endif /* WCSLIB_WCS */
44.13138
78
0.584203
[ "vector", "transform" ]
8bb94fe1f8102402d401b2de2e41c090f8c664ee
760,025
c
C
logger.build/module.pynput._util.c
AlaaeddineBesbes/keyLogger
d7c6a94cc3645f8a0b6421188a4be291e7e9c3aa
[ "MIT" ]
null
null
null
logger.build/module.pynput._util.c
AlaaeddineBesbes/keyLogger
d7c6a94cc3645f8a0b6421188a4be291e7e9c3aa
[ "MIT" ]
null
null
null
logger.build/module.pynput._util.c
AlaaeddineBesbes/keyLogger
d7c6a94cc3645f8a0b6421188a4be291e7e9c3aa
[ "MIT" ]
null
null
null
/* Generated code for Python module 'pynput._util' * created by Nuitka version 0.6.18.4 * * This code is in part copyright 2021 Kay Hayen. * * 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 "nuitka/prelude.h" #include "nuitka/unfreezing.h" #include "__helpers.h" /* The "module_pynput$_util" is a Python object pointer of module type. * * Note: For full compatibility with CPython, every module variable access * needs to go through it except for cases where the module cannot possibly * have changed in the mean time. */ PyObject *module_pynput$_util; PyDictObject *moduledict_pynput$_util; /* The declarations of module constants used, if any. */ static PyObject *mod_consts[257]; #ifndef __NUITKA_NO_ASSERT__ static Py_hash_t mod_consts_hash[257]; #endif static PyObject *module_filename_obj = NULL; /* Indicator if this modules private constants were created yet. */ static bool constants_created = false; /* Function to create module private constants. */ static void createModuleConstants(void) { if (constants_created == false) { loadConstantsBlob(&mod_consts[0], UNTRANSLATE("pynput._util")); constants_created = true; #ifndef __NUITKA_NO_ASSERT__ for(int i = 0; i < 257; i++) { mod_consts_hash[i] = DEEP_HASH(mod_consts[i]); } #endif } } // We want to be able to initialize the "__main__" constants in any case. #if defined(_NUITKA_EXE) && 0 void createMainModuleConstants(void) { createModuleConstants(); } #endif /* Function to verify module private constants for non-corruption. */ #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_pynput$_util(void) { // The module may not have been used at all, then ignore this. if (constants_created == false) return; for(int i = 0; i < 257; i++) { assert(mod_consts_hash[i] == DEEP_HASH(mod_consts[i])); CHECK_OBJECT_DEEP(mod_consts[i]); } } #endif // The module code objects. static PyCodeObject *codeobj_6f6bc3d86d4715916e56dd9c7ad7c4cd; static PyCodeObject *codeobj_1e9216f90bbf81da5d4e805913dc196f; static PyCodeObject *codeobj_8b81a46cbffda69677389410858ff755; static PyCodeObject *codeobj_ad11f2f6826ab9f2cc5e7815a8fd5e74; static PyCodeObject *codeobj_04cbdac22049efe087007e4cc9fe7a2b; static PyCodeObject *codeobj_7ef3df841a2728058037a8466e430f22; static PyCodeObject *codeobj_1dc597190ffa7f3f1696bea5c6adfc0d; static PyCodeObject *codeobj_660c677b3059cd4ae7d679d14a2b365f; static PyCodeObject *codeobj_c0b7a58a090323b58655f5b4900db39e; static PyCodeObject *codeobj_a641e3cbcda791d6ffc09dbae1865dcc; static PyCodeObject *codeobj_bcf9346b14fd42bb8ba78e7dcfefb136; static PyCodeObject *codeobj_a276523c14ab364fbdba25d51b46ce81; static PyCodeObject *codeobj_3fbaf0b5370810260188ffe8ff1ef4ed; static PyCodeObject *codeobj_1c48cb08d433e05558203094bf9dbd14; static PyCodeObject *codeobj_17cdc765ed396e028308fe9343498d97; static PyCodeObject *codeobj_7263c060940bbeefb136899683399409; static PyCodeObject *codeobj_728de3282dee59da7d51638e630c26e3; static PyCodeObject *codeobj_5430d782033d9a401e028c1b1428e702; static PyCodeObject *codeobj_32be657066c77bebc98761935e14bd96; static PyCodeObject *codeobj_ab1228533581846d7be055d5a49114ad; static PyCodeObject *codeobj_6989749273065ad564fba338ffcea87f; static PyCodeObject *codeobj_55f135896e15ce82200ab44b05409e9d; static PyCodeObject *codeobj_e9606e78b89c09a5e7fdd36bee647c78; static PyCodeObject *codeobj_fb9e7c20320ac0c10957be788324aab2; static PyCodeObject *codeobj_136b6196a41dadf718f4a3c04ab6e9b8; static PyCodeObject *codeobj_897039a709ce791ad8525781e623bacf; static PyCodeObject *codeobj_48b645427c384f51035e1ebc613527b3; static PyCodeObject *codeobj_22366e4fdbb718f90e9d4a8fa6ab7422; static PyCodeObject *codeobj_9891e1a1601c0d108437b85bccda21b0; static PyCodeObject *codeobj_a429142c036cc16c340b60edc220b9ad; static PyCodeObject *codeobj_66e9b9d7f63d6f6a308b8f8e68b30666; static PyCodeObject *codeobj_929f54d50cb069b77a4b2cc413d0bd7f; static PyCodeObject *codeobj_67e21eb5c519edb5acef180c6da4f81c; static PyCodeObject *codeobj_cdb867885f4c534e1b7a22f063549191; static PyCodeObject *codeobj_811533a22df3ba41d568ff04fc79435d; static PyCodeObject *codeobj_0aa2e43f4f0e4a41f37116c6f0fcc602; static PyCodeObject *codeobj_8712f2ef9b4f2624671dd68b8bfb553c; static PyCodeObject *codeobj_31256d6568de8a8f8d77c4869827254d; static PyCodeObject *codeobj_2ac8918fc71646b4b8b26717a1370b0e; static PyCodeObject *codeobj_69b6a3d9ff114ed090c5062480c90140; static PyCodeObject *codeobj_49b8a8aaeeab4c2cb80744514d5913d3; static PyCodeObject *codeobj_c465f72392fdc0a88e312cc6bd8c9e07; static PyCodeObject *codeobj_3d01e20aa6ad592b170ea881146db0ee; static PyCodeObject *codeobj_ecadc2737a8d0530f097fd400e1052f0; static void createModuleCodeObjects(void) { module_filename_obj = MAKE_RELATIVE_PATH(mod_consts[225]); CHECK_OBJECT(module_filename_obj); codeobj_6f6bc3d86d4715916e56dd9c7ad7c4cd = MAKE_CODEOBJECT(module_filename_obj, 287, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[226], mod_consts[227], NULL, 1, 0, 0); codeobj_1e9216f90bbf81da5d4e805913dc196f = MAKE_CODEOBJECT(module_filename_obj, 77, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[33], mod_consts[228], NULL, 1, 0, 0); codeobj_8b81a46cbffda69677389410858ff755 = MAKE_CODEOBJECT(module_filename_obj, 279, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[33], mod_consts[229], NULL, 1, 0, 0); codeobj_ad11f2f6826ab9f2cc5e7815a8fd5e74 = MAKE_CODEOBJECT(module_filename_obj, 272, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[33], mod_consts[230], NULL, 1, 0, 0); codeobj_04cbdac22049efe087007e4cc9fe7a2b = MAKE_CODEOBJECT(module_filename_obj, 79, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[33], mod_consts[231], NULL, 1, 0, 0); codeobj_7ef3df841a2728058037a8466e430f22 = MAKE_CODEOBJECT(module_filename_obj, 143, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[55], mod_consts[232], NULL, 0, 0, 0); codeobj_1dc597190ffa7f3f1696bea5c6adfc0d = MAKE_CODEOBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[233], NULL, NULL, 0, 0, 0); codeobj_660c677b3059cd4ae7d679d14a2b365f = MAKE_CODEOBJECT(module_filename_obj, 86, CO_NOFREE, mod_consts[36], mod_consts[234], NULL, 0, 0, 0); codeobj_c0b7a58a090323b58655f5b4900db39e = MAKE_CODEOBJECT(module_filename_obj, 268, CO_NOFREE, mod_consts[202], mod_consts[234], NULL, 0, 0, 0); codeobj_a641e3cbcda791d6ffc09dbae1865dcc = MAKE_CODEOBJECT(module_filename_obj, 262, CO_NOFREE, mod_consts[101], mod_consts[234], NULL, 0, 0, 0); codeobj_bcf9346b14fd42bb8ba78e7dcfefb136 = MAKE_CODEOBJECT(module_filename_obj, 351, CO_NOFREE, mod_consts[217], mod_consts[234], NULL, 0, 0, 0); codeobj_a276523c14ab364fbdba25d51b46ce81 = MAKE_CODEOBJECT(module_filename_obj, 172, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[235], NULL, 1, 0, 0); codeobj_3fbaf0b5370810260188ffe8ff1ef4ed = MAKE_CODEOBJECT(module_filename_obj, 292, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[235], NULL, 1, 0, 0); codeobj_1c48cb08d433e05558203094bf9dbd14 = MAKE_CODEOBJECT(module_filename_obj, 276, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[206], mod_consts[236], NULL, 2, 0, 0); codeobj_17cdc765ed396e028308fe9343498d97 = MAKE_CODEOBJECT(module_filename_obj, 296, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[108], mod_consts[237], NULL, 1, 0, 0); codeobj_7263c060940bbeefb136899683399409 = MAKE_CODEOBJECT(module_filename_obj, 177, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[108], mod_consts[238], NULL, 4, 0, 0); codeobj_728de3282dee59da7d51638e630c26e3 = MAKE_CODEOBJECT(module_filename_obj, 283, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[37], mod_consts[239], NULL, 1, 0, 0); codeobj_5430d782033d9a401e028c1b1428e702 = MAKE_CODEOBJECT(module_filename_obj, 122, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[37], mod_consts[240], NULL, 2, 0, 0); codeobj_32be657066c77bebc98761935e14bd96 = MAKE_CODEOBJECT(module_filename_obj, 308, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[211], mod_consts[235], NULL, 1, 0, 0); codeobj_ab1228533581846d7be055d5a49114ad = MAKE_CODEOBJECT(module_filename_obj, 311, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[213], mod_consts[241], NULL, 1, 0, 0); codeobj_6989749273065ad564fba338ffcea87f = MAKE_CODEOBJECT(module_filename_obj, 269, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[204], mod_consts[235], NULL, 1, 0, 0); codeobj_55f135896e15ce82200ab44b05409e9d = MAKE_CODEOBJECT(module_filename_obj, 424, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[134], mod_consts[242], NULL, 2, 0, 0); codeobj_e9606e78b89c09a5e7fdd36bee647c78 = MAKE_CODEOBJECT(module_filename_obj, 357, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[219], mod_consts[243], NULL, 2, 0, 0); codeobj_fb9e7c20320ac0c10957be788324aab2 = MAKE_CODEOBJECT(module_filename_obj, 199, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[192], mod_consts[244], NULL, 2, 0, 0); codeobj_136b6196a41dadf718f4a3c04ab6e9b8 = MAKE_CODEOBJECT(module_filename_obj, 333, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[105], mod_consts[245], NULL, 2, 0, 0); codeobj_897039a709ce791ad8525781e623bacf = MAKE_CODEOBJECT(module_filename_obj, 409, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[118], mod_consts[242], NULL, 1, 0, 0); codeobj_48b645427c384f51035e1ebc613527b3 = MAKE_CODEOBJECT(module_filename_obj, 226, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[194], mod_consts[235], NULL, 1, 0, 0); codeobj_22366e4fdbb718f90e9d4a8fa6ab7422 = MAKE_CODEOBJECT(module_filename_obj, 377, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[221], mod_consts[246], NULL, 2, 0, 0); codeobj_9891e1a1601c0d108437b85bccda21b0 = MAKE_CODEOBJECT(module_filename_obj, 433, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[135], mod_consts[242], NULL, 2, 0, 0); codeobj_a429142c036cc16c340b60edc220b9ad = MAKE_CODEOBJECT(module_filename_obj, 237, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[73], mod_consts[235], NULL, 1, 0, 0); codeobj_66e9b9d7f63d6f6a308b8f8e68b30666 = MAKE_CODEOBJECT(module_filename_obj, 244, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[65], mod_consts[235], NULL, 1, 0, 0); codeobj_929f54d50cb069b77a4b2cc413d0bd7f = MAKE_CODEOBJECT(module_filename_obj, 49, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[161], mod_consts[247], NULL, 1, 0, 0); codeobj_67e21eb5c519edb5acef180c6da4f81c = MAKE_CODEOBJECT(module_filename_obj, 318, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[2], mod_consts[248], NULL, 2, 0, 0); codeobj_cdb867885f4c534e1b7a22f063549191 = MAKE_CODEOBJECT(module_filename_obj, 126, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS, mod_consts[57], mod_consts[249], mod_consts[250], 0, 0, 0); codeobj_811533a22df3ba41d568ff04fc79435d = MAKE_CODEOBJECT(module_filename_obj, 342, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS, mod_consts[57], mod_consts[251], mod_consts[252], 0, 0, 0); codeobj_0aa2e43f4f0e4a41f37116c6f0fcc602 = MAKE_CODEOBJECT(module_filename_obj, 208, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS, mod_consts[57], mod_consts[253], mod_consts[254], 1, 0, 0); codeobj_8712f2ef9b4f2624671dd68b8bfb553c = MAKE_CODEOBJECT(module_filename_obj, 251, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[89], mod_consts[255], NULL, 1, 0, 0); codeobj_31256d6568de8a8f8d77c4869827254d = MAKE_CODEOBJECT(module_filename_obj, 388, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[126], mod_consts[235], NULL, 1, 0, 0); codeobj_2ac8918fc71646b4b8b26717a1370b0e = MAKE_CODEOBJECT(module_filename_obj, 188, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[189], mod_consts[235], NULL, 1, 0, 0); codeobj_69b6a3d9ff114ed090c5062480c90140 = MAKE_CODEOBJECT(module_filename_obj, 152, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[183], mod_consts[235], NULL, 1, 0, 0); codeobj_49b8a8aaeeab4c2cb80744514d5913d3 = MAKE_CODEOBJECT(module_filename_obj, 157, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[69], mod_consts[235], NULL, 1, 0, 0); codeobj_c465f72392fdc0a88e312cc6bd8c9e07 = MAKE_CODEOBJECT(module_filename_obj, 146, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[181], mod_consts[235], NULL, 1, 0, 0); codeobj_3d01e20aa6ad592b170ea881146db0ee = MAKE_CODEOBJECT(module_filename_obj, 180, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[68], mod_consts[235], NULL, 1, 0, 0); codeobj_ecadc2737a8d0530f097fd400e1052f0 = MAKE_CODEOBJECT(module_filename_obj, 125, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[38], mod_consts[256], mod_consts[235], 1, 0, 0); } // The module function declarations. static PyObject *MAKE_GENERATOR_pynput$_util$$$function__1_backend$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure); static PyObject *MAKE_GENERATOR_pynput$_util$$$function__1_backend$$$genexpr__2_genexpr(struct Nuitka_CellObject **closure); static PyObject *MAKE_GENERATOR_pynput$_util$$$function__15___str__$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure); static PyObject *MAKE_GENERATOR_pynput$_util$$$function__16___eq__$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure); static PyObject *MAKE_GENERATOR_pynput$_util$$$function__25__receiver$$$function__1_receive$$$genobj__1_receive(struct Nuitka_CellObject **closure); static PyObject *MAKE_GENERATOR_pynput$_util$$$function__26__listeners$$$genobj__1__listeners(struct Nuitka_CellObject **closure); NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars); NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__4_complex_call_helper_star_list(PyObject **python_pars); NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__5_complex_call_helper_pos_star_list_star_dict(PyObject **python_pars); NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__6_complex_call_helper_star_list_star_dict(PyObject **python_pars); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__10__emitter(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__10__emitter$$$function__1_inner(struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__11__mark_ready(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__12__run(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__13__stop_platform(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__14_join(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__15___str__(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__16___eq__(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__17___init__(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__18___enter__(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__19___exit__(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__1_backend(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__20___iter__(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__21___next__(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__22_get(PyObject *defaults); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__23__event_mapper(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__23__event_mapper$$$function__1_inner(struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__24__emit(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__25__receiver(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__25__receiver$$$function__1_receive(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__26__listeners(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__27__add_listener(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__28__remove_listener(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__2___init__(PyObject *defaults); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__2___init__$$$function__1_wrapper(struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__2___init__$$$function__1_wrapper$$$function__1_inner(struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__2___init__$$$function__2_lambda(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__3_suppress(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__4_running(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__5_stop(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__6___enter__(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__7___exit__(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__8_wait(); static PyObject *MAKE_FUNCTION_pynput$_util$$$function__9_run(); // The module function definitions. static PyObject *impl_pynput$_util$$$function__1_backend(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_package = python_pars[0]; PyObject *var_backend_name = NULL; PyObject *var_modules = NULL; PyObject *var_errors = NULL; PyObject *var_resolutions = NULL; PyObject *var_module = NULL; PyObject *var_e = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_genexpr_1__$0 = NULL; PyObject *tmp_genexpr_2__$0 = NULL; struct Nuitka_FrameObject *frame_929f54d50cb069b77a4b2cc413d0bd7f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; bool tmp_result; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_929f54d50cb069b77a4b2cc413d0bd7f = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_929f54d50cb069b77a4b2cc413d0bd7f)) { Py_XDECREF(cache_frame_929f54d50cb069b77a4b2cc413d0bd7f); #if _DEBUG_REFCOUNTS if (cache_frame_929f54d50cb069b77a4b2cc413d0bd7f == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_929f54d50cb069b77a4b2cc413d0bd7f = MAKE_FUNCTION_FRAME(codeobj_929f54d50cb069b77a4b2cc413d0bd7f, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_929f54d50cb069b77a4b2cc413d0bd7f->m_type_description == NULL); frame_929f54d50cb069b77a4b2cc413d0bd7f = cache_frame_929f54d50cb069b77a4b2cc413d0bd7f; // Push the new frame as the currently active one. pushFrameStack(frame_929f54d50cb069b77a4b2cc413d0bd7f); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_929f54d50cb069b77a4b2cc413d0bd7f) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_value_1; PyObject *tmp_expression_value_1; PyObject *tmp_expression_value_2; PyObject *tmp_args_element_value_1; PyObject *tmp_called_value_2; PyObject *tmp_expression_value_3; PyObject *tmp_args_element_value_2; PyObject *tmp_called_value_3; PyObject *tmp_expression_value_4; PyObject *tmp_expression_value_5; PyObject *tmp_called_value_4; PyObject *tmp_expression_value_6; PyObject *tmp_subscript_value_1; PyObject *tmp_args_element_value_3; PyObject *tmp_called_value_5; PyObject *tmp_expression_value_7; PyObject *tmp_expression_value_8; tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_expression_value_2 == NULL)) { tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_expression_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 54; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[1]); if (tmp_expression_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 54; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[2]); Py_DECREF(tmp_expression_value_1); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 54; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_value_3 = mod_consts[3]; tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[4]); assert(!(tmp_called_value_2 == NULL)); CHECK_OBJECT(par_package); tmp_expression_value_6 = par_package; tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[5]); if (tmp_called_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_called_value_2); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame.f_lineno = 55; tmp_expression_value_5 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[6]); Py_DECREF(tmp_called_value_4); if (tmp_expression_value_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_called_value_2); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscript_value_1 = mod_consts[7]; tmp_expression_value_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_5, tmp_subscript_value_1, -1); Py_DECREF(tmp_expression_value_5); if (tmp_expression_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_called_value_2); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[8]); Py_DECREF(tmp_expression_value_4); if (tmp_called_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_called_value_2); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame.f_lineno = 55; tmp_args_element_value_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3); Py_DECREF(tmp_called_value_3); if (tmp_args_element_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_called_value_2); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame.f_lineno = 55; tmp_args_element_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2); Py_DECREF(tmp_called_value_2); Py_DECREF(tmp_args_element_value_2); if (tmp_args_element_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_expression_value_8 == NULL)) { tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_expression_value_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_element_value_1); exception_lineno = 56; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[1]); if (tmp_expression_value_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_element_value_1); exception_lineno = 56; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[2]); Py_DECREF(tmp_expression_value_7); if (tmp_called_value_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_element_value_1); exception_lineno = 56; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame.f_lineno = 56; tmp_args_element_value_3 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_5, mod_consts[9]); Py_DECREF(tmp_called_value_5); if (tmp_args_element_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_element_value_1); exception_lineno = 56; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame.f_lineno = 54; { PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_3}; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args); } Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_element_value_1); Py_DECREF(tmp_args_element_value_3); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 54; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert(var_backend_name == NULL); var_backend_name = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT(var_backend_name); tmp_truth_name_1 = CHECK_IF_TRUE(var_backend_name); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_list_element_1; CHECK_OBJECT(var_backend_name); tmp_list_element_1 = var_backend_name; tmp_assign_source_2 = PyList_New(1); PyList_SET_ITEM0(tmp_assign_source_2, 0, tmp_list_element_1); assert(var_modules == NULL); var_modules = tmp_assign_source_2; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_value_9; PyObject *tmp_tmp_condition_result_2_object_1; int tmp_truth_name_2; tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[10]); if (unlikely(tmp_expression_value_9 == NULL)) { tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]); } if (tmp_expression_value_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 59; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[11]); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 59; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = mod_consts[12]; tmp_tmp_condition_result_2_object_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_left_1); if (tmp_tmp_condition_result_2_object_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 59; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE(tmp_tmp_condition_result_2_object_1); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_tmp_condition_result_2_object_1); exception_lineno = 59; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_tmp_condition_result_2_object_1); if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_3; tmp_assign_source_3 = LIST_COPY(mod_consts[13]); assert(var_modules == NULL); var_modules = tmp_assign_source_3; } goto branch_end_2; branch_no_2:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_expression_value_10; PyObject *tmp_tmp_condition_result_3_object_1; int tmp_truth_name_3; tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[10]); if (unlikely(tmp_expression_value_10 == NULL)) { tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]); } if (tmp_expression_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 61; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[11]); if (tmp_compexpr_left_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 61; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = mod_consts[14]; tmp_tmp_condition_result_3_object_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_2, tmp_compexpr_right_2); Py_DECREF(tmp_compexpr_left_2); if (tmp_tmp_condition_result_3_object_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 61; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE(tmp_tmp_condition_result_3_object_1); if (tmp_truth_name_3 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_tmp_condition_result_3_object_1); exception_lineno = 61; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_tmp_condition_result_3_object_1); if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_assign_source_4; tmp_assign_source_4 = LIST_COPY(mod_consts[15]); assert(var_modules == NULL); var_modules = tmp_assign_source_4; } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_5; tmp_assign_source_5 = LIST_COPY(mod_consts[16]); assert(var_modules == NULL); var_modules = tmp_assign_source_5; } branch_end_3:; branch_end_2:; branch_end_1:; { PyObject *tmp_assign_source_6; tmp_assign_source_6 = PyList_New(0); assert(var_errors == NULL); var_errors = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = PyList_New(0); assert(var_resolutions == NULL); var_resolutions = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; PyObject *tmp_iter_arg_1; if (var_modules == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[17]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 68; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = var_modules; tmp_assign_source_8 = MAKE_ITERATOR(tmp_iter_arg_1); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 68; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_8; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_9; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_9 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_9 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooo"; exception_lineno = 68; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_9; Py_XDECREF(old); } } { PyObject *tmp_assign_source_10; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_assign_source_10 = tmp_for_loop_1__iter_value; { PyObject *old = var_module; var_module = tmp_assign_source_10; Py_INCREF(var_module); Py_XDECREF(old); } } // Tried code: { PyObject *tmp_called_value_6; PyObject *tmp_expression_value_11; PyObject *tmp_args_element_value_4; PyObject *tmp_left_value_1; PyObject *tmp_right_value_1; PyObject *tmp_args_element_value_5; tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[18]); if (unlikely(tmp_expression_value_11 == NULL)) { tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[18]); } if (tmp_expression_value_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 70; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[19]); if (tmp_called_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 70; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_left_value_1 = mod_consts[20]; CHECK_OBJECT(var_module); tmp_right_value_1 = var_module; tmp_args_element_value_4 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_left_value_1, tmp_right_value_1); if (tmp_args_element_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_6); exception_lineno = 70; type_description_1 = "ooooooo"; goto try_except_handler_3; } if (par_package == NULL) { Py_DECREF(tmp_called_value_6); Py_DECREF(tmp_args_element_value_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[21]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 70; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_args_element_value_5 = par_package; frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame.f_lineno = 70; { PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5}; tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_6, call_args); } Py_DECREF(tmp_called_value_6); Py_DECREF(tmp_args_element_value_4); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 70; type_description_1 = "ooooooo"; goto try_except_handler_3; } goto try_return_handler_2; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_1 == NULL) { exception_keeper_tb_1 = MAKE_TRACEBACK(frame_929f54d50cb069b77a4b2cc413d0bd7f, exception_keeper_lineno_1); } else if (exception_keeper_lineno_1 != 0) { exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_929f54d50cb069b77a4b2cc413d0bd7f, exception_keeper_lineno_1); } NORMALIZE_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_1, exception_keeper_tb_1); PUBLISH_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); // Tried code: { bool tmp_condition_result_4; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_3 = PyExc_ImportError; tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_3, tmp_compexpr_right_3); assert(!(tmp_res == -1)); tmp_condition_result_4 = (tmp_res != 0) ? true : false; if (tmp_condition_result_4 != false) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; { PyObject *tmp_assign_source_11; tmp_assign_source_11 = EXC_VALUE(PyThreadState_GET()); { PyObject *old = var_e; var_e = tmp_assign_source_11; Py_INCREF(var_e); Py_XDECREF(old); } } // Tried code: { PyObject *tmp_called_instance_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_value_6; if (var_errors == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[22]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 72; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_called_instance_1 = var_errors; CHECK_OBJECT(var_e); tmp_args_element_value_6 = var_e; frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame.f_lineno = 72; tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[23], tmp_args_element_value_6); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 72; type_description_1 = "ooooooo"; goto try_except_handler_5; } Py_DECREF(tmp_call_result_1); } { bool tmp_condition_result_5; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; if (var_module == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[24]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 73; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_compexpr_left_4 = var_module; tmp_compexpr_right_4 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[25]); if (unlikely(tmp_compexpr_right_4 == NULL)) { tmp_compexpr_right_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]); } if (tmp_compexpr_right_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 73; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_res = PySequence_Contains(tmp_compexpr_right_4, tmp_compexpr_left_4); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 73; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_condition_result_5 = (tmp_res == 1) ? true : false; if (tmp_condition_result_5 != false) { goto branch_yes_5; } else { goto branch_no_5; } } branch_yes_5:; { PyObject *tmp_called_value_7; PyObject *tmp_expression_value_12; PyObject *tmp_call_result_2; PyObject *tmp_args_element_value_7; PyObject *tmp_expression_value_13; PyObject *tmp_subscript_value_2; if (var_resolutions == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 74; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_expression_value_12 = var_resolutions; tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[23]); if (tmp_called_value_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 74; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[25]); if (unlikely(tmp_expression_value_13 == NULL)) { tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]); } if (tmp_expression_value_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_7); exception_lineno = 74; type_description_1 = "ooooooo"; goto try_except_handler_5; } if (var_module == NULL) { Py_DECREF(tmp_called_value_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[24]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 74; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_subscript_value_2 = var_module; tmp_args_element_value_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_13, tmp_subscript_value_2); if (tmp_args_element_value_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_7); exception_lineno = 74; type_description_1 = "ooooooo"; goto try_except_handler_5; } frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame.f_lineno = 74; tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_7); Py_DECREF(tmp_called_value_7); Py_DECREF(tmp_args_element_value_7); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 74; type_description_1 = "ooooooo"; goto try_except_handler_5; } Py_DECREF(tmp_call_result_2); } branch_no_5:; goto try_end_1; // Exception handler code: try_except_handler_5:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(var_e); var_e = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_4; // End of try: try_end_1:; Py_XDECREF(var_e); var_e = NULL; goto branch_end_4; branch_no_4:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 69; } if (exception_tb && exception_tb->tb_frame == &frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame) frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooo"; goto try_except_handler_4; branch_end_4:; goto try_end_2; // Exception handler code: try_except_handler_4:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_2; // End of try: try_end_2:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); goto try_end_3; NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); return NULL; // End of try: try_end_3:; if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 68; type_description_1 = "ooooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_4; // Return handler code: try_return_handler_2:; CHECK_OBJECT(tmp_for_loop_1__iter_value); Py_DECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; CHECK_OBJECT(tmp_for_loop_1__for_iterator); Py_DECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; goto frame_return_exit_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; CHECK_OBJECT(tmp_for_loop_1__for_iterator); Py_DECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; // End of try: try_end_4:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; CHECK_OBJECT(tmp_for_loop_1__for_iterator); Py_DECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; nuitka_bool tmp_condition_result_6; int tmp_truth_name_4; PyObject *tmp_left_value_2; PyObject *tmp_called_value_8; PyObject *tmp_expression_value_14; PyObject *tmp_args_element_value_8; PyObject *tmp_str_arg_value_1; PyObject *tmp_iterable_value_1; PyObject *tmp_right_value_2; PyObject *tmp_left_value_3; PyObject *tmp_right_value_3; PyObject *tmp_str_arg_value_2; PyObject *tmp_iterable_value_2; if (var_resolutions == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 82; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_truth_name_4 = CHECK_IF_TRUE(var_resolutions); if (tmp_truth_name_4 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 82; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_6 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; tmp_expression_value_14 = mod_consts[27]; tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[4]); assert(!(tmp_called_value_8 == NULL)); tmp_str_arg_value_1 = mod_consts[28]; { PyObject *tmp_assign_source_12; PyObject *tmp_iter_arg_2; if (var_errors == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[22]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 77; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_iter_arg_2 = var_errors; tmp_assign_source_12 = MAKE_ITERATOR(tmp_iter_arg_2); if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 77; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert(tmp_genexpr_1__$0 == NULL); tmp_genexpr_1__$0 = tmp_assign_source_12; } // Tried code: { struct Nuitka_CellObject *tmp_closure_1[1]; tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0); tmp_iterable_value_1 = MAKE_GENERATOR_pynput$_util$$$function__1_backend$$$genexpr__1_genexpr(tmp_closure_1); goto try_return_handler_6; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_6:; CHECK_OBJECT(tmp_genexpr_1__$0); Py_DECREF(tmp_genexpr_1__$0); tmp_genexpr_1__$0 = NULL; goto outline_result_1; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_result_1:; tmp_args_element_value_8 = UNICODE_JOIN(tmp_str_arg_value_1, tmp_iterable_value_1); Py_DECREF(tmp_iterable_value_1); if (tmp_args_element_value_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_8); exception_lineno = 77; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame.f_lineno = 76; tmp_left_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_8, tmp_args_element_value_8); Py_DECREF(tmp_called_value_8); Py_DECREF(tmp_args_element_value_8); if (tmp_left_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 76; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_left_value_3 = mod_consts[29]; tmp_str_arg_value_2 = mod_consts[30]; { PyObject *tmp_assign_source_13; PyObject *tmp_iter_arg_3; if (var_resolutions == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 81; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_iter_arg_3 = var_resolutions; tmp_assign_source_13 = MAKE_ITERATOR(tmp_iter_arg_3); if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 79; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert(tmp_genexpr_2__$0 == NULL); tmp_genexpr_2__$0 = tmp_assign_source_13; } // Tried code: { struct Nuitka_CellObject *tmp_closure_2[1]; tmp_closure_2[0] = Nuitka_Cell_New0(tmp_genexpr_2__$0); tmp_iterable_value_2 = MAKE_GENERATOR_pynput$_util$$$function__1_backend$$$genexpr__2_genexpr(tmp_closure_2); goto try_return_handler_7; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_7:; CHECK_OBJECT(tmp_genexpr_2__$0); Py_DECREF(tmp_genexpr_2__$0); tmp_genexpr_2__$0 = NULL; goto outline_result_2; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_result_2:; tmp_right_value_3 = UNICODE_JOIN(tmp_str_arg_value_2, tmp_iterable_value_2); Py_DECREF(tmp_iterable_value_2); if (tmp_right_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_value_2); exception_lineno = 79; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_right_value_2 = BINARY_OPERATION_ADD_OBJECT_UNICODE_UNICODE(tmp_left_value_3, tmp_right_value_3); Py_DECREF(tmp_right_value_3); assert(!(tmp_right_value_2 == NULL)); tmp_make_exception_arg_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_left_value_2, tmp_right_value_2); Py_DECREF(tmp_left_value_2); Py_DECREF(tmp_right_value_2); if (tmp_make_exception_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 77; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } goto condexpr_end_1; condexpr_false_1:; tmp_make_exception_arg_1 = mod_consts[31]; Py_INCREF(tmp_make_exception_arg_1); condexpr_end_1:; frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame.f_lineno = 76; tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ImportError, tmp_make_exception_arg_1); Py_DECREF(tmp_make_exception_arg_1); assert(!(tmp_raise_type_1 == NULL)); exception_type = tmp_raise_type_1; exception_lineno = 76; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooo"; goto frame_exception_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_929f54d50cb069b77a4b2cc413d0bd7f); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_929f54d50cb069b77a4b2cc413d0bd7f); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_929f54d50cb069b77a4b2cc413d0bd7f); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_929f54d50cb069b77a4b2cc413d0bd7f, exception_lineno); } else if (exception_tb->tb_frame != &frame_929f54d50cb069b77a4b2cc413d0bd7f->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_929f54d50cb069b77a4b2cc413d0bd7f, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_929f54d50cb069b77a4b2cc413d0bd7f, type_description_1, par_package, var_backend_name, var_modules, var_errors, var_resolutions, var_module, var_e ); // Release cached frame if used for exception. if (frame_929f54d50cb069b77a4b2cc413d0bd7f == cache_frame_929f54d50cb069b77a4b2cc413d0bd7f) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_929f54d50cb069b77a4b2cc413d0bd7f); cache_frame_929f54d50cb069b77a4b2cc413d0bd7f = NULL; } assertFrameObject(frame_929f54d50cb069b77a4b2cc413d0bd7f); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(var_backend_name); Py_DECREF(var_backend_name); var_backend_name = NULL; Py_XDECREF(var_modules); var_modules = NULL; Py_XDECREF(var_errors); var_errors = NULL; Py_XDECREF(var_resolutions); var_resolutions = NULL; CHECK_OBJECT(var_module); Py_DECREF(var_module); var_module = NULL; Py_XDECREF(var_e); var_e = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(var_backend_name); var_backend_name = NULL; Py_XDECREF(var_modules); var_modules = NULL; Py_XDECREF(var_errors); var_errors = NULL; Py_XDECREF(var_resolutions); var_resolutions = NULL; Py_XDECREF(var_module); var_module = NULL; Py_XDECREF(var_e); var_e = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_package); Py_DECREF(par_package); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_package); Py_DECREF(par_package); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } struct pynput$_util$$$function__1_backend$$$genexpr__1_genexpr_locals { PyObject *var_e; PyObject *tmp_iter_value_0; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; char yield_tmps[1024]; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; }; static PyObject *pynput$_util$$$function__1_backend$$$genexpr__1_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) { CHECK_OBJECT(generator); assert(Nuitka_Generator_Check((PyObject *)generator)); CHECK_OBJECT_X(yield_return_value); // Heap access if used. struct pynput$_util$$$function__1_backend$$$genexpr__1_genexpr_locals *generator_heap = (struct pynput$_util$$$function__1_backend$$$genexpr__1_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_e = NULL; generator_heap->tmp_iter_value_0 = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual generator function body. // Tried code: if (isFrameUnusable(cache_m_frame)) { Py_XDECREF(cache_m_frame); #if _DEBUG_REFCOUNTS if (cache_m_frame == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_1e9216f90bbf81da5d4e805913dc196f, module_pynput$_util, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF(generator->m_frame); assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack #if PYTHON_VERSION >= 0x340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif assert(generator->m_frame->m_frame.f_back == NULL); Py_CLEAR(generator->m_frame->m_frame.f_back); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF(generator->m_frame->m_frame.f_back); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF(generator->m_frame); Nuitka_Frame_MarkAsExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); EXC_TYPE_F(generator) = EXC_TYPE(thread_state); if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL; Py_XINCREF(EXC_TYPE_F(generator)); EXC_VALUE_F(generator) = EXC_VALUE(thread_state); Py_XINCREF(EXC_VALUE_F(generator)); EXC_TRACEBACK_F(generator) = EXC_TRACEBACK(thread_state); Py_XINCREF(EXC_TRACEBACK_F(generator)); } #endif // Framed code: // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0])); tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]); tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_1 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->type_description_1 = "No"; generator_heap->exception_lineno = 77; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF(old); } } { PyObject *tmp_assign_source_2; CHECK_OBJECT(generator_heap->tmp_iter_value_0); tmp_assign_source_2 = generator_heap->tmp_iter_value_0; { PyObject *old = generator_heap->var_e; generator_heap->var_e = tmp_assign_source_2; Py_INCREF(generator_heap->var_e); Py_XDECREF(old); } } { PyObject *tmp_expression_value_1; PyObject *tmp_unicode_arg_1; NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1; CHECK_OBJECT(generator_heap->var_e); tmp_unicode_arg_1 = generator_heap->var_e; tmp_expression_value_1 = PyObject_Unicode(tmp_unicode_arg_1); if (tmp_expression_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 77; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_unicode_arg_1, sizeof(PyObject *), NULL); generator->m_yield_return_index = 1; return tmp_expression_value_1; yield_return_1: Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_unicode_arg_1, sizeof(PyObject *), NULL); if (yield_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 77; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } tmp_yield_result_1 = yield_return_value; } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 77; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_1; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto frame_exception_exit_1; // End of try: try_end_1:; Nuitka_Frame_MarkAsNotExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif // Allow re-use of the frame again. Py_DECREF(generator->m_frame); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) { if (generator_heap->exception_tb == NULL) { generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno); } else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) { generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno); } Nuitka_Frame_AttachLocals( generator->m_frame, generator_heap->type_description_1, NULL, generator_heap->var_e ); // Release cached frame if used for exception. if (generator->m_frame == cache_m_frame) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_m_frame); cache_m_frame = NULL; } assertFrameObject(generator->m_frame); } #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif Py_DECREF(generator->m_frame); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_2; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->var_e); generator_heap->var_e = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto function_exception_exit; // End of try: try_end_2:; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; Py_XDECREF(generator_heap->var_e); generator_heap->var_e = NULL; return NULL; function_exception_exit: assert(generator_heap->exception_type); RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb); return NULL; } static PyObject *MAKE_GENERATOR_pynput$_util$$$function__1_backend$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) { return Nuitka_Generator_New( pynput$_util$$$function__1_backend$$$genexpr__1_genexpr_context, module_pynput$_util, mod_consts[33], #if PYTHON_VERSION >= 0x350 mod_consts[34], #endif codeobj_1e9216f90bbf81da5d4e805913dc196f, closure, 1, sizeof(struct pynput$_util$$$function__1_backend$$$genexpr__1_genexpr_locals) ); } struct pynput$_util$$$function__1_backend$$$genexpr__2_genexpr_locals { PyObject *var_s; PyObject *tmp_iter_value_0; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; char yield_tmps[1024]; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; }; static PyObject *pynput$_util$$$function__1_backend$$$genexpr__2_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) { CHECK_OBJECT(generator); assert(Nuitka_Generator_Check((PyObject *)generator)); CHECK_OBJECT_X(yield_return_value); // Heap access if used. struct pynput$_util$$$function__1_backend$$$genexpr__2_genexpr_locals *generator_heap = (struct pynput$_util$$$function__1_backend$$$genexpr__2_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_s = NULL; generator_heap->tmp_iter_value_0 = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual generator function body. // Tried code: if (isFrameUnusable(cache_m_frame)) { Py_XDECREF(cache_m_frame); #if _DEBUG_REFCOUNTS if (cache_m_frame == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_04cbdac22049efe087007e4cc9fe7a2b, module_pynput$_util, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF(generator->m_frame); assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack #if PYTHON_VERSION >= 0x340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif assert(generator->m_frame->m_frame.f_back == NULL); Py_CLEAR(generator->m_frame->m_frame.f_back); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF(generator->m_frame->m_frame.f_back); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF(generator->m_frame); Nuitka_Frame_MarkAsExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); EXC_TYPE_F(generator) = EXC_TYPE(thread_state); if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL; Py_XINCREF(EXC_TYPE_F(generator)); EXC_VALUE_F(generator) = EXC_VALUE(thread_state); Py_XINCREF(EXC_VALUE_F(generator)); EXC_TRACEBACK_F(generator) = EXC_TRACEBACK(thread_state); Py_XINCREF(EXC_TRACEBACK_F(generator)); } #endif // Framed code: // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0])); tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]); tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_1 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->type_description_1 = "No"; generator_heap->exception_lineno = 79; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF(old); } } { PyObject *tmp_assign_source_2; CHECK_OBJECT(generator_heap->tmp_iter_value_0); tmp_assign_source_2 = generator_heap->tmp_iter_value_0; { PyObject *old = generator_heap->var_s; generator_heap->var_s = tmp_assign_source_2; Py_INCREF(generator_heap->var_s); Py_XDECREF(old); } } { PyObject *tmp_expression_value_1; PyObject *tmp_called_value_1; PyObject *tmp_expression_value_2; PyObject *tmp_args_element_value_1; NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1; tmp_expression_value_2 = mod_consts[35]; tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[4]); assert(!(tmp_called_value_1 == NULL)); CHECK_OBJECT(generator_heap->var_s); tmp_args_element_value_1 = generator_heap->var_s; generator->m_frame->m_frame.f_lineno = 80; tmp_expression_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1); Py_DECREF(tmp_called_value_1); if (tmp_expression_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 80; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), NULL); generator->m_yield_return_index = 1; return tmp_expression_value_1; yield_return_1: Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), NULL); if (yield_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 80; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } tmp_yield_result_1 = yield_return_value; } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 79; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_1; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto frame_exception_exit_1; // End of try: try_end_1:; Nuitka_Frame_MarkAsNotExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif // Allow re-use of the frame again. Py_DECREF(generator->m_frame); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) { if (generator_heap->exception_tb == NULL) { generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno); } else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) { generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno); } Nuitka_Frame_AttachLocals( generator->m_frame, generator_heap->type_description_1, NULL, generator_heap->var_s ); // Release cached frame if used for exception. if (generator->m_frame == cache_m_frame) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_m_frame); cache_m_frame = NULL; } assertFrameObject(generator->m_frame); } #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif Py_DECREF(generator->m_frame); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_2; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->var_s); generator_heap->var_s = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto function_exception_exit; // End of try: try_end_2:; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; Py_XDECREF(generator_heap->var_s); generator_heap->var_s = NULL; return NULL; function_exception_exit: assert(generator_heap->exception_type); RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb); return NULL; } static PyObject *MAKE_GENERATOR_pynput$_util$$$function__1_backend$$$genexpr__2_genexpr(struct Nuitka_CellObject **closure) { return Nuitka_Generator_New( pynput$_util$$$function__1_backend$$$genexpr__2_genexpr_context, module_pynput$_util, mod_consts[33], #if PYTHON_VERSION >= 0x350 mod_consts[34], #endif codeobj_04cbdac22049efe087007e4cc9fe7a2b, closure, 1, sizeof(struct pynput$_util$$$function__1_backend$$$genexpr__2_genexpr_locals) ); } static PyObject *impl_pynput$_util$$$function__2___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]); PyObject *par_suppress = python_pars[1]; PyObject *par_kwargs = python_pars[2]; PyObject *var_wrapper = NULL; PyObject *var_name = NULL; PyObject *var_callback = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_5430d782033d9a401e028c1b1428e702; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; static struct Nuitka_FrameObject *cache_frame_5430d782033d9a401e028c1b1428e702 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_5430d782033d9a401e028c1b1428e702)) { Py_XDECREF(cache_frame_5430d782033d9a401e028c1b1428e702); #if _DEBUG_REFCOUNTS if (cache_frame_5430d782033d9a401e028c1b1428e702 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_5430d782033d9a401e028c1b1428e702 = MAKE_FUNCTION_FRAME(codeobj_5430d782033d9a401e028c1b1428e702, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_5430d782033d9a401e028c1b1428e702->m_type_description == NULL); frame_5430d782033d9a401e028c1b1428e702 = cache_frame_5430d782033d9a401e028c1b1428e702; // Push the new frame as the currently active one. pushFrameStack(frame_5430d782033d9a401e028c1b1428e702); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_5430d782033d9a401e028c1b1428e702) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_value_1; PyObject *tmp_object_arg_value_1; PyObject *tmp_call_result_1; tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[36]); if (unlikely(tmp_type_arg_value_1 == NULL)) { tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]); } if (tmp_type_arg_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 123; type_description_1 = "coooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(Nuitka_Cell_GET(par_self)); tmp_object_arg_value_1 = Nuitka_Cell_GET(par_self); tmp_called_instance_1 = BUILTIN_SUPER2(tmp_type_arg_value_1, tmp_object_arg_value_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 123; type_description_1 = "coooooN"; goto frame_exception_exit_1; } frame_5430d782033d9a401e028c1b1428e702->m_frame.f_lineno = 123; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[37]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 123; type_description_1 = "coooooN"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_1; struct Nuitka_CellObject *tmp_closure_1[1]; tmp_closure_1[0] = par_self; Py_INCREF(tmp_closure_1[0]); tmp_assign_source_1 = MAKE_FUNCTION_pynput$_util$$$function__2___init__$$$function__1_wrapper(tmp_closure_1); assert(var_wrapper == NULL); var_wrapper = tmp_assign_source_1; } { PyObject *tmp_assattr_value_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_suppress); tmp_assattr_value_1 = par_suppress; CHECK_OBJECT(Nuitka_Cell_GET(par_self)); tmp_assattr_target_1 = Nuitka_Cell_GET(par_self); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[40], tmp_assattr_value_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 131; type_description_1 = "coooooN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_2; PyObject *tmp_assattr_target_2; tmp_assattr_value_2 = Py_False; CHECK_OBJECT(Nuitka_Cell_GET(par_self)); tmp_assattr_target_2 = Nuitka_Cell_GET(par_self); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[41], tmp_assattr_value_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 132; type_description_1 = "coooooN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_3; PyObject *tmp_called_instance_2; PyObject *tmp_assattr_target_3; tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[42]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 133; type_description_1 = "coooooN"; goto frame_exception_exit_1; } frame_5430d782033d9a401e028c1b1428e702->m_frame.f_lineno = 133; tmp_assattr_value_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[43]); if (tmp_assattr_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 133; type_description_1 = "coooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(Nuitka_Cell_GET(par_self)); tmp_assattr_target_3 = Nuitka_Cell_GET(par_self); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[44], tmp_assattr_value_3); Py_DECREF(tmp_assattr_value_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 133; type_description_1 = "coooooN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_4; PyObject *tmp_called_instance_3; PyObject *tmp_assattr_target_4; tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[42]); if (unlikely(tmp_called_instance_3 == NULL)) { tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]); } if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 134; type_description_1 = "coooooN"; goto frame_exception_exit_1; } frame_5430d782033d9a401e028c1b1428e702->m_frame.f_lineno = 134; tmp_assattr_value_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[45]); if (tmp_assattr_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 134; type_description_1 = "coooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(Nuitka_Cell_GET(par_self)); tmp_assattr_target_4 = Nuitka_Cell_GET(par_self); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[46], tmp_assattr_value_4); Py_DECREF(tmp_assattr_value_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 134; type_description_1 = "coooooN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_5; PyObject *tmp_assattr_target_5; tmp_assattr_value_5 = Py_False; CHECK_OBJECT(Nuitka_Cell_GET(par_self)); tmp_assattr_target_5 = Nuitka_Cell_GET(par_self); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[47], tmp_assattr_value_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 135; type_description_1 = "coooooN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_6; PyObject *tmp_called_instance_4; PyObject *tmp_assattr_target_6; tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[48]); if (unlikely(tmp_called_instance_4 == NULL)) { tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]); } if (tmp_called_instance_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "coooooN"; goto frame_exception_exit_1; } frame_5430d782033d9a401e028c1b1428e702->m_frame.f_lineno = 138; tmp_assattr_value_6 = CALL_METHOD_WITH_SINGLE_ARG( tmp_called_instance_4, mod_consts[49], PyTuple_GET_ITEM(mod_consts[50], 0) ); if (tmp_assattr_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "coooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(Nuitka_Cell_GET(par_self)); tmp_assattr_target_6 = Nuitka_Cell_GET(par_self); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[51], tmp_assattr_value_6); Py_DECREF(tmp_assattr_value_6); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "coooooN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_7; PyObject *tmp_assattr_target_7; tmp_assattr_value_7 = Py_True; CHECK_OBJECT(Nuitka_Cell_GET(par_self)); tmp_assattr_target_7 = Nuitka_Cell_GET(par_self); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[52], tmp_assattr_value_7); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 140; type_description_1 = "coooooN"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_dict_arg_1; CHECK_OBJECT(par_kwargs); tmp_dict_arg_1 = par_kwargs; tmp_iter_arg_1 = DICT_ITERITEMS(tmp_dict_arg_1); assert(!(tmp_iter_arg_1 == NULL)); tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 142; type_description_1 = "coooooN"; goto frame_exception_exit_1; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_2; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_3 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "coooooN"; exception_lineno = 142; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_3; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_iter_arg_2; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_iter_arg_2 = tmp_for_loop_1__iter_value; tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 142; type_description_1 = "coooooN"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_4; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_5 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "coooooN"; exception_lineno = 142; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_5; Py_XDECREF(old); } } { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_6 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "coooooN"; exception_lineno = 142; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_6; Py_XDECREF(old); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "coooooN"; exception_lineno = 142; goto try_except_handler_4; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[53]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "coooooN"; exception_lineno = 142; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); Py_DECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_3; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; // End of try: try_end_2:; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); Py_DECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_7 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_name; var_name = tmp_assign_source_7; Py_INCREF(var_name); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_8; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_8 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_callback; var_callback = tmp_assign_source_8; Py_INCREF(var_callback); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_setattr_target_1; PyObject *tmp_setattr_attr_1; PyObject *tmp_setattr_value_1; PyObject *tmp_called_value_1; PyObject *tmp_args_element_value_1; int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; PyObject *tmp_capi_result_1; if (Nuitka_Cell_GET(par_self) == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 143; type_description_1 = "coooooN"; goto try_except_handler_2; } tmp_setattr_target_1 = Nuitka_Cell_GET(par_self); CHECK_OBJECT(var_name); tmp_setattr_attr_1 = var_name; if (var_wrapper == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[38]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 143; type_description_1 = "coooooN"; goto try_except_handler_2; } tmp_called_value_1 = var_wrapper; CHECK_OBJECT(var_callback); tmp_or_left_value_1 = var_callback; tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1); if (tmp_or_left_truth_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 143; type_description_1 = "coooooN"; goto try_except_handler_2; } if (tmp_or_left_truth_1 == 1) { goto or_left_1; } else { goto or_right_1; } or_right_1:; tmp_or_right_value_1 = MAKE_FUNCTION_pynput$_util$$$function__2___init__$$$function__2_lambda(); tmp_args_element_value_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; Py_INCREF(tmp_or_left_value_1); tmp_args_element_value_1 = tmp_or_left_value_1; or_end_1:; frame_5430d782033d9a401e028c1b1428e702->m_frame.f_lineno = 143; tmp_setattr_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1); Py_DECREF(tmp_args_element_value_1); if (tmp_setattr_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 143; type_description_1 = "coooooN"; goto try_except_handler_2; } tmp_capi_result_1 = BUILTIN_SETATTR(tmp_setattr_target_1, tmp_setattr_attr_1, tmp_setattr_value_1); Py_DECREF(tmp_setattr_value_1); if (tmp_capi_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 143; type_description_1 = "coooooN"; goto try_except_handler_2; } } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 142; type_description_1 = "coooooN"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; CHECK_OBJECT(tmp_for_loop_1__for_iterator); Py_DECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; // End of try: try_end_3:; #if 0 RESTORE_FRAME_EXCEPTION(frame_5430d782033d9a401e028c1b1428e702); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_5430d782033d9a401e028c1b1428e702); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_5430d782033d9a401e028c1b1428e702, exception_lineno); } else if (exception_tb->tb_frame != &frame_5430d782033d9a401e028c1b1428e702->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_5430d782033d9a401e028c1b1428e702, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_5430d782033d9a401e028c1b1428e702, type_description_1, par_self, par_suppress, par_kwargs, var_wrapper, var_name, var_callback, NULL ); // Release cached frame if used for exception. if (frame_5430d782033d9a401e028c1b1428e702 == cache_frame_5430d782033d9a401e028c1b1428e702) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_5430d782033d9a401e028c1b1428e702); cache_frame_5430d782033d9a401e028c1b1428e702 = NULL; } assertFrameObject(frame_5430d782033d9a401e028c1b1428e702); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; CHECK_OBJECT(tmp_for_loop_1__for_iterator); Py_DECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(var_wrapper); var_wrapper = NULL; Py_XDECREF(var_name); var_name = NULL; Py_XDECREF(var_callback); var_callback = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(var_wrapper); var_wrapper = NULL; Py_XDECREF(var_name); var_name = NULL; Py_XDECREF(var_callback); var_callback = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_suppress); Py_DECREF(par_suppress); CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_suppress); Py_DECREF(par_suppress); CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__2___init__$$$function__1_wrapper(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_CellObject *par_f = Nuitka_Cell_New1(python_pars[0]); PyObject *var_inner = NULL; PyObject *tmp_return_value = NULL; // Actual function body. { PyObject *tmp_assign_source_1; struct Nuitka_CellObject *tmp_closure_1[2]; tmp_closure_1[0] = par_f; Py_INCREF(tmp_closure_1[0]); tmp_closure_1[1] = self->m_closure[0]; Py_INCREF(tmp_closure_1[1]); tmp_assign_source_1 = MAKE_FUNCTION_pynput$_util$$$function__2___init__$$$function__1_wrapper$$$function__1_inner(tmp_closure_1); assert(var_inner == NULL); var_inner = tmp_assign_source_1; } // Tried code: CHECK_OBJECT(var_inner); tmp_return_value = var_inner; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(var_inner); Py_DECREF(var_inner); var_inner = NULL; goto function_return_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_f); Py_DECREF(par_f); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__2___init__$$$function__1_wrapper$$$function__1_inner(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_args = python_pars[0]; struct Nuitka_FrameObject *frame_cdb867885f4c534e1b7a22f063549191; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_cdb867885f4c534e1b7a22f063549191 = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_cdb867885f4c534e1b7a22f063549191)) { Py_XDECREF(cache_frame_cdb867885f4c534e1b7a22f063549191); #if _DEBUG_REFCOUNTS if (cache_frame_cdb867885f4c534e1b7a22f063549191 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_cdb867885f4c534e1b7a22f063549191 = MAKE_FUNCTION_FRAME(codeobj_cdb867885f4c534e1b7a22f063549191, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_cdb867885f4c534e1b7a22f063549191->m_type_description == NULL); frame_cdb867885f4c534e1b7a22f063549191 = cache_frame_cdb867885f4c534e1b7a22f063549191; // Push the new frame as the currently active one. pushFrameStack(frame_cdb867885f4c534e1b7a22f063549191); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_cdb867885f4c534e1b7a22f063549191) == 2); // Frame stack // Framed code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_dircall_arg1_1; PyObject *tmp_dircall_arg2_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[59]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 127; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_args); tmp_dircall_arg2_1 = par_args; Py_INCREF(tmp_dircall_arg1_1); Py_INCREF(tmp_dircall_arg2_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1}; tmp_compexpr_left_1 = impl___main__$$$function__4_complex_call_helper_star_list(dir_call_args); } if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_False; tmp_condition_result_1 = (tmp_compexpr_left_1 == tmp_compexpr_right_1) ? true : false; Py_DECREF(tmp_compexpr_left_1); if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_called_instance_1; if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 128; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_called_instance_1 = Nuitka_Cell_GET(self->m_closure[1]); frame_cdb867885f4c534e1b7a22f063549191->m_frame.f_lineno = 128; tmp_raise_type_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[60]); if (tmp_raise_type_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; type_description_1 = "occ"; goto frame_exception_exit_1; } exception_type = tmp_raise_type_1; exception_lineno = 128; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "occ"; goto frame_exception_exit_1; } branch_no_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_cdb867885f4c534e1b7a22f063549191); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_cdb867885f4c534e1b7a22f063549191); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_cdb867885f4c534e1b7a22f063549191, exception_lineno); } else if (exception_tb->tb_frame != &frame_cdb867885f4c534e1b7a22f063549191->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_cdb867885f4c534e1b7a22f063549191, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_cdb867885f4c534e1b7a22f063549191, type_description_1, par_args, self->m_closure[0], self->m_closure[1] ); // Release cached frame if used for exception. if (frame_cdb867885f4c534e1b7a22f063549191 == cache_frame_cdb867885f4c534e1b7a22f063549191) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_cdb867885f4c534e1b7a22f063549191); cache_frame_cdb867885f4c534e1b7a22f063549191 = NULL; } assertFrameObject(frame_cdb867885f4c534e1b7a22f063549191); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_args); Py_DECREF(par_args); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_args); Py_DECREF(par_args); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__3_suppress(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_c465f72392fdc0a88e312cc6bd8c9e07; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_c465f72392fdc0a88e312cc6bd8c9e07 = NULL; // Actual function body. if (isFrameUnusable(cache_frame_c465f72392fdc0a88e312cc6bd8c9e07)) { Py_XDECREF(cache_frame_c465f72392fdc0a88e312cc6bd8c9e07); #if _DEBUG_REFCOUNTS if (cache_frame_c465f72392fdc0a88e312cc6bd8c9e07 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_c465f72392fdc0a88e312cc6bd8c9e07 = MAKE_FUNCTION_FRAME(codeobj_c465f72392fdc0a88e312cc6bd8c9e07, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_c465f72392fdc0a88e312cc6bd8c9e07->m_type_description == NULL); frame_c465f72392fdc0a88e312cc6bd8c9e07 = cache_frame_c465f72392fdc0a88e312cc6bd8c9e07; // Push the new frame as the currently active one. pushFrameStack(frame_c465f72392fdc0a88e312cc6bd8c9e07); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_c465f72392fdc0a88e312cc6bd8c9e07) == 2); // Frame stack // Framed code: { PyObject *tmp_expression_value_1; CHECK_OBJECT(par_self); tmp_expression_value_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[40]); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 149; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_c465f72392fdc0a88e312cc6bd8c9e07); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_c465f72392fdc0a88e312cc6bd8c9e07); #endif // Put the previous frame back on top. popFrameStack(); goto function_return_exit; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_c465f72392fdc0a88e312cc6bd8c9e07); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_c465f72392fdc0a88e312cc6bd8c9e07, exception_lineno); } else if (exception_tb->tb_frame != &frame_c465f72392fdc0a88e312cc6bd8c9e07->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_c465f72392fdc0a88e312cc6bd8c9e07, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_c465f72392fdc0a88e312cc6bd8c9e07, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_c465f72392fdc0a88e312cc6bd8c9e07 == cache_frame_c465f72392fdc0a88e312cc6bd8c9e07) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_c465f72392fdc0a88e312cc6bd8c9e07); cache_frame_c465f72392fdc0a88e312cc6bd8c9e07 = NULL; } assertFrameObject(frame_c465f72392fdc0a88e312cc6bd8c9e07); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__4_running(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_69b6a3d9ff114ed090c5062480c90140; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_69b6a3d9ff114ed090c5062480c90140 = NULL; // Actual function body. if (isFrameUnusable(cache_frame_69b6a3d9ff114ed090c5062480c90140)) { Py_XDECREF(cache_frame_69b6a3d9ff114ed090c5062480c90140); #if _DEBUG_REFCOUNTS if (cache_frame_69b6a3d9ff114ed090c5062480c90140 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_69b6a3d9ff114ed090c5062480c90140 = MAKE_FUNCTION_FRAME(codeobj_69b6a3d9ff114ed090c5062480c90140, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_69b6a3d9ff114ed090c5062480c90140->m_type_description == NULL); frame_69b6a3d9ff114ed090c5062480c90140 = cache_frame_69b6a3d9ff114ed090c5062480c90140; // Push the new frame as the currently active one. pushFrameStack(frame_69b6a3d9ff114ed090c5062480c90140); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_69b6a3d9ff114ed090c5062480c90140) == 2); // Frame stack // Framed code: { PyObject *tmp_expression_value_1; CHECK_OBJECT(par_self); tmp_expression_value_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[41]); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 155; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_69b6a3d9ff114ed090c5062480c90140); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_69b6a3d9ff114ed090c5062480c90140); #endif // Put the previous frame back on top. popFrameStack(); goto function_return_exit; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_69b6a3d9ff114ed090c5062480c90140); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_69b6a3d9ff114ed090c5062480c90140, exception_lineno); } else if (exception_tb->tb_frame != &frame_69b6a3d9ff114ed090c5062480c90140->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_69b6a3d9ff114ed090c5062480c90140, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_69b6a3d9ff114ed090c5062480c90140, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_69b6a3d9ff114ed090c5062480c90140 == cache_frame_69b6a3d9ff114ed090c5062480c90140) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_69b6a3d9ff114ed090c5062480c90140); cache_frame_69b6a3d9ff114ed090c5062480c90140 = NULL; } assertFrameObject(frame_69b6a3d9ff114ed090c5062480c90140); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__5_stop(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_49b8a8aaeeab4c2cb80744514d5913d3; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_frame_49b8a8aaeeab4c2cb80744514d5913d3 = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_49b8a8aaeeab4c2cb80744514d5913d3)) { Py_XDECREF(cache_frame_49b8a8aaeeab4c2cb80744514d5913d3); #if _DEBUG_REFCOUNTS if (cache_frame_49b8a8aaeeab4c2cb80744514d5913d3 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_49b8a8aaeeab4c2cb80744514d5913d3 = MAKE_FUNCTION_FRAME(codeobj_49b8a8aaeeab4c2cb80744514d5913d3, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_49b8a8aaeeab4c2cb80744514d5913d3->m_type_description == NULL); frame_49b8a8aaeeab4c2cb80744514d5913d3 = cache_frame_49b8a8aaeeab4c2cb80744514d5913d3; // Push the new frame as the currently active one. pushFrameStack(frame_49b8a8aaeeab4c2cb80744514d5913d3); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_49b8a8aaeeab4c2cb80744514d5913d3) == 2); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_expression_value_1; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; CHECK_OBJECT(par_self); tmp_expression_value_1 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[41]); if (tmp_attribute_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 167; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_attribute_value_1); exception_lineno = 167; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_attribute_value_1); if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assattr_value_1; PyObject *tmp_assattr_target_1; tmp_assattr_value_1 = Py_False; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[41], tmp_assattr_value_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 168; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_called_instance_1; PyObject *tmp_expression_value_2; PyObject *tmp_call_result_1; CHECK_OBJECT(par_self); tmp_expression_value_2 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[51]); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 169; type_description_1 = "o"; goto frame_exception_exit_1; } frame_49b8a8aaeeab4c2cb80744514d5913d3->m_frame.f_lineno = 169; tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG( tmp_called_instance_1, mod_consts[63], PyTuple_GET_ITEM(mod_consts[64], 0) ); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 169; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_called_instance_2; PyObject *tmp_call_result_2; CHECK_OBJECT(par_self); tmp_called_instance_2 = par_self; frame_49b8a8aaeeab4c2cb80744514d5913d3->m_frame.f_lineno = 170; tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[65]); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 170; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } branch_no_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_49b8a8aaeeab4c2cb80744514d5913d3); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_49b8a8aaeeab4c2cb80744514d5913d3); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_49b8a8aaeeab4c2cb80744514d5913d3, exception_lineno); } else if (exception_tb->tb_frame != &frame_49b8a8aaeeab4c2cb80744514d5913d3->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_49b8a8aaeeab4c2cb80744514d5913d3, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_49b8a8aaeeab4c2cb80744514d5913d3, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_49b8a8aaeeab4c2cb80744514d5913d3 == cache_frame_49b8a8aaeeab4c2cb80744514d5913d3) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_49b8a8aaeeab4c2cb80744514d5913d3); cache_frame_49b8a8aaeeab4c2cb80744514d5913d3 = NULL; } assertFrameObject(frame_49b8a8aaeeab4c2cb80744514d5913d3); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__6___enter__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_a276523c14ab364fbdba25d51b46ce81; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_a276523c14ab364fbdba25d51b46ce81 = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_a276523c14ab364fbdba25d51b46ce81)) { Py_XDECREF(cache_frame_a276523c14ab364fbdba25d51b46ce81); #if _DEBUG_REFCOUNTS if (cache_frame_a276523c14ab364fbdba25d51b46ce81 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_a276523c14ab364fbdba25d51b46ce81 = MAKE_FUNCTION_FRAME(codeobj_a276523c14ab364fbdba25d51b46ce81, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_a276523c14ab364fbdba25d51b46ce81->m_type_description == NULL); frame_a276523c14ab364fbdba25d51b46ce81 = cache_frame_a276523c14ab364fbdba25d51b46ce81; // Push the new frame as the currently active one. pushFrameStack(frame_a276523c14ab364fbdba25d51b46ce81); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_a276523c14ab364fbdba25d51b46ce81) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_call_result_1; CHECK_OBJECT(par_self); tmp_called_instance_1 = par_self; frame_a276523c14ab364fbdba25d51b46ce81->m_frame.f_lineno = 173; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[67]); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 173; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_called_instance_2; PyObject *tmp_call_result_2; CHECK_OBJECT(par_self); tmp_called_instance_2 = par_self; frame_a276523c14ab364fbdba25d51b46ce81->m_frame.f_lineno = 174; tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[68]); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 174; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } #if 0 RESTORE_FRAME_EXCEPTION(frame_a276523c14ab364fbdba25d51b46ce81); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_a276523c14ab364fbdba25d51b46ce81); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_a276523c14ab364fbdba25d51b46ce81, exception_lineno); } else if (exception_tb->tb_frame != &frame_a276523c14ab364fbdba25d51b46ce81->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_a276523c14ab364fbdba25d51b46ce81, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_a276523c14ab364fbdba25d51b46ce81, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_a276523c14ab364fbdba25d51b46ce81 == cache_frame_a276523c14ab364fbdba25d51b46ce81) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_a276523c14ab364fbdba25d51b46ce81); cache_frame_a276523c14ab364fbdba25d51b46ce81 = NULL; } assertFrameObject(frame_a276523c14ab364fbdba25d51b46ce81); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; CHECK_OBJECT(par_self); tmp_return_value = par_self; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__7___exit__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_exc_type = python_pars[1]; PyObject *par_value = python_pars[2]; PyObject *par_traceback = python_pars[3]; struct Nuitka_FrameObject *frame_7263c060940bbeefb136899683399409; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_7263c060940bbeefb136899683399409 = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_7263c060940bbeefb136899683399409)) { Py_XDECREF(cache_frame_7263c060940bbeefb136899683399409); #if _DEBUG_REFCOUNTS if (cache_frame_7263c060940bbeefb136899683399409 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_7263c060940bbeefb136899683399409 = MAKE_FUNCTION_FRAME(codeobj_7263c060940bbeefb136899683399409, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_7263c060940bbeefb136899683399409->m_type_description == NULL); frame_7263c060940bbeefb136899683399409 = cache_frame_7263c060940bbeefb136899683399409; // Push the new frame as the currently active one. pushFrameStack(frame_7263c060940bbeefb136899683399409); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_7263c060940bbeefb136899683399409) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_call_result_1; CHECK_OBJECT(par_self); tmp_called_instance_1 = par_self; frame_7263c060940bbeefb136899683399409->m_frame.f_lineno = 178; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[69]); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 178; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } #if 0 RESTORE_FRAME_EXCEPTION(frame_7263c060940bbeefb136899683399409); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_7263c060940bbeefb136899683399409); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_7263c060940bbeefb136899683399409, exception_lineno); } else if (exception_tb->tb_frame != &frame_7263c060940bbeefb136899683399409->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_7263c060940bbeefb136899683399409, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_7263c060940bbeefb136899683399409, type_description_1, par_self, par_exc_type, par_value, par_traceback ); // Release cached frame if used for exception. if (frame_7263c060940bbeefb136899683399409 == cache_frame_7263c060940bbeefb136899683399409) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_7263c060940bbeefb136899683399409); cache_frame_7263c060940bbeefb136899683399409 = NULL; } assertFrameObject(frame_7263c060940bbeefb136899683399409); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_exc_type); Py_DECREF(par_exc_type); CHECK_OBJECT(par_value); Py_DECREF(par_value); CHECK_OBJECT(par_traceback); Py_DECREF(par_traceback); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_exc_type); Py_DECREF(par_exc_type); CHECK_OBJECT(par_value); Py_DECREF(par_value); CHECK_OBJECT(par_traceback); Py_DECREF(par_traceback); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__8_wait(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_3d01e20aa6ad592b170ea881146db0ee; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_3d01e20aa6ad592b170ea881146db0ee = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_3d01e20aa6ad592b170ea881146db0ee)) { Py_XDECREF(cache_frame_3d01e20aa6ad592b170ea881146db0ee); #if _DEBUG_REFCOUNTS if (cache_frame_3d01e20aa6ad592b170ea881146db0ee == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_3d01e20aa6ad592b170ea881146db0ee = MAKE_FUNCTION_FRAME(codeobj_3d01e20aa6ad592b170ea881146db0ee, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_3d01e20aa6ad592b170ea881146db0ee->m_type_description == NULL); frame_3d01e20aa6ad592b170ea881146db0ee = cache_frame_3d01e20aa6ad592b170ea881146db0ee; // Push the new frame as the currently active one. pushFrameStack(frame_3d01e20aa6ad592b170ea881146db0ee); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_3d01e20aa6ad592b170ea881146db0ee) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_expression_value_1; PyObject *tmp_call_result_1; CHECK_OBJECT(par_self); tmp_expression_value_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[46]); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 183; type_description_1 = "o"; goto frame_exception_exit_1; } frame_3d01e20aa6ad592b170ea881146db0ee->m_frame.f_lineno = 183; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[70]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 183; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } loop_start_1:; { bool tmp_condition_result_1; PyObject *tmp_operand_value_1; PyObject *tmp_operand_value_2; PyObject *tmp_expression_value_2; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 184; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_expression_value_2 = par_self; tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[47]); if (tmp_operand_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 184; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE(tmp_operand_value_2); Py_DECREF(tmp_operand_value_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 184; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_operand_value_1 = (tmp_res == 0) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_value_1); assert(!(tmp_res == -1)); tmp_condition_result_1 = (tmp_res == 0) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; goto loop_end_1; branch_no_1:; { PyObject *tmp_called_instance_2; PyObject *tmp_expression_value_3; PyObject *tmp_call_result_2; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 185; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_expression_value_3 = par_self; tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[46]); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; type_description_1 = "o"; goto frame_exception_exit_1; } frame_3d01e20aa6ad592b170ea881146db0ee->m_frame.f_lineno = 185; tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[68]); Py_DECREF(tmp_called_instance_2); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 184; type_description_1 = "o"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; { PyObject *tmp_called_instance_3; PyObject *tmp_expression_value_4; PyObject *tmp_call_result_3; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 186; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_expression_value_4 = par_self; tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[46]); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 186; type_description_1 = "o"; goto frame_exception_exit_1; } frame_3d01e20aa6ad592b170ea881146db0ee->m_frame.f_lineno = 186; tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[71]); Py_DECREF(tmp_called_instance_3); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 186; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_3); } #if 0 RESTORE_FRAME_EXCEPTION(frame_3d01e20aa6ad592b170ea881146db0ee); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_3d01e20aa6ad592b170ea881146db0ee); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_3d01e20aa6ad592b170ea881146db0ee, exception_lineno); } else if (exception_tb->tb_frame != &frame_3d01e20aa6ad592b170ea881146db0ee->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_3d01e20aa6ad592b170ea881146db0ee, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_3d01e20aa6ad592b170ea881146db0ee, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_3d01e20aa6ad592b170ea881146db0ee == cache_frame_3d01e20aa6ad592b170ea881146db0ee) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_3d01e20aa6ad592b170ea881146db0ee); cache_frame_3d01e20aa6ad592b170ea881146db0ee = NULL; } assertFrameObject(frame_3d01e20aa6ad592b170ea881146db0ee); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__9_run(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_2ac8918fc71646b4b8b26717a1370b0e; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_frame_2ac8918fc71646b4b8b26717a1370b0e = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_2ac8918fc71646b4b8b26717a1370b0e)) { Py_XDECREF(cache_frame_2ac8918fc71646b4b8b26717a1370b0e); #if _DEBUG_REFCOUNTS if (cache_frame_2ac8918fc71646b4b8b26717a1370b0e == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_2ac8918fc71646b4b8b26717a1370b0e = MAKE_FUNCTION_FRAME(codeobj_2ac8918fc71646b4b8b26717a1370b0e, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_2ac8918fc71646b4b8b26717a1370b0e->m_type_description == NULL); frame_2ac8918fc71646b4b8b26717a1370b0e = cache_frame_2ac8918fc71646b4b8b26717a1370b0e; // Push the new frame as the currently active one. pushFrameStack(frame_2ac8918fc71646b4b8b26717a1370b0e); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_2ac8918fc71646b4b8b26717a1370b0e) == 2); // Frame stack // Framed code: { PyObject *tmp_assattr_value_1; PyObject *tmp_assattr_target_1; tmp_assattr_value_1 = Py_True; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[41], tmp_assattr_value_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_2; PyObject *tmp_called_instance_1; PyObject *tmp_assattr_target_2; tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[42]); if (unlikely(tmp_called_instance_1 == NULL)) { tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]); } if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 192; type_description_1 = "o"; goto frame_exception_exit_1; } frame_2ac8918fc71646b4b8b26717a1370b0e->m_frame.f_lineno = 192; tmp_assattr_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[43]); if (tmp_assattr_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 192; type_description_1 = "o"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[44], tmp_assattr_value_2); Py_DECREF(tmp_assattr_value_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 192; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_called_instance_2; PyObject *tmp_call_result_1; CHECK_OBJECT(par_self); tmp_called_instance_2 = par_self; frame_2ac8918fc71646b4b8b26717a1370b0e->m_frame.f_lineno = 193; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[73]); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 193; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_called_instance_3; PyObject *tmp_expression_value_1; PyObject *tmp_call_result_2; CHECK_OBJECT(par_self); tmp_expression_value_1 = par_self; tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[51]); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 196; type_description_1 = "o"; goto frame_exception_exit_1; } frame_2ac8918fc71646b4b8b26717a1370b0e->m_frame.f_lineno = 196; tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG( tmp_called_instance_3, mod_consts[63], PyTuple_GET_ITEM(mod_consts[64], 0) ); Py_DECREF(tmp_called_instance_3); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 196; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } #if 0 RESTORE_FRAME_EXCEPTION(frame_2ac8918fc71646b4b8b26717a1370b0e); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_2ac8918fc71646b4b8b26717a1370b0e); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_2ac8918fc71646b4b8b26717a1370b0e, exception_lineno); } else if (exception_tb->tb_frame != &frame_2ac8918fc71646b4b8b26717a1370b0e->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_2ac8918fc71646b4b8b26717a1370b0e, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_2ac8918fc71646b4b8b26717a1370b0e, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_2ac8918fc71646b4b8b26717a1370b0e == cache_frame_2ac8918fc71646b4b8b26717a1370b0e) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_2ac8918fc71646b4b8b26717a1370b0e); cache_frame_2ac8918fc71646b4b8b26717a1370b0e = NULL; } assertFrameObject(frame_2ac8918fc71646b4b8b26717a1370b0e); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__10__emitter(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_CellObject *par_cls = Nuitka_Cell_New1(python_pars[0]); struct Nuitka_CellObject *par_f = Nuitka_Cell_New1(python_pars[1]); PyObject *var_inner = NULL; struct Nuitka_FrameObject *frame_fb9e7c20320ac0c10957be788324aab2; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_fb9e7c20320ac0c10957be788324aab2 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_fb9e7c20320ac0c10957be788324aab2)) { Py_XDECREF(cache_frame_fb9e7c20320ac0c10957be788324aab2); #if _DEBUG_REFCOUNTS if (cache_frame_fb9e7c20320ac0c10957be788324aab2 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_fb9e7c20320ac0c10957be788324aab2 = MAKE_FUNCTION_FRAME(codeobj_fb9e7c20320ac0c10957be788324aab2, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_fb9e7c20320ac0c10957be788324aab2->m_type_description == NULL); frame_fb9e7c20320ac0c10957be788324aab2 = cache_frame_fb9e7c20320ac0c10957be788324aab2; // Push the new frame as the currently active one. pushFrameStack(frame_fb9e7c20320ac0c10957be788324aab2); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_fb9e7c20320ac0c10957be788324aab2) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_value_1; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_value_1; PyObject *tmp_args_element_value_2; struct Nuitka_CellObject *tmp_closure_1[2]; tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[75]); if (unlikely(tmp_called_instance_1 == NULL)) { tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[75]); } if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 207; type_description_1 = "cco"; goto frame_exception_exit_1; } CHECK_OBJECT(Nuitka_Cell_GET(par_f)); tmp_args_element_value_1 = Nuitka_Cell_GET(par_f); frame_fb9e7c20320ac0c10957be788324aab2->m_frame.f_lineno = 207; tmp_called_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[76], tmp_args_element_value_1); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 207; type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_closure_1[0] = par_cls; Py_INCREF(tmp_closure_1[0]); tmp_closure_1[1] = par_f; Py_INCREF(tmp_closure_1[1]); tmp_args_element_value_2 = MAKE_FUNCTION_pynput$_util$$$function__10__emitter$$$function__1_inner(tmp_closure_1); frame_fb9e7c20320ac0c10957be788324aab2->m_frame.f_lineno = 207; tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_2); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_element_value_2); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 207; type_description_1 = "cco"; goto frame_exception_exit_1; } assert(var_inner == NULL); var_inner = tmp_assign_source_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_fb9e7c20320ac0c10957be788324aab2); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_fb9e7c20320ac0c10957be788324aab2); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_fb9e7c20320ac0c10957be788324aab2, exception_lineno); } else if (exception_tb->tb_frame != &frame_fb9e7c20320ac0c10957be788324aab2->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_fb9e7c20320ac0c10957be788324aab2, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_fb9e7c20320ac0c10957be788324aab2, type_description_1, par_cls, par_f, var_inner ); // Release cached frame if used for exception. if (frame_fb9e7c20320ac0c10957be788324aab2 == cache_frame_fb9e7c20320ac0c10957be788324aab2) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_fb9e7c20320ac0c10957be788324aab2); cache_frame_fb9e7c20320ac0c10957be788324aab2 = NULL; } assertFrameObject(frame_fb9e7c20320ac0c10957be788324aab2); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(var_inner); tmp_return_value = var_inner; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(var_inner); Py_DECREF(var_inner); var_inner = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_cls); Py_DECREF(par_cls); CHECK_OBJECT(par_f); Py_DECREF(par_f); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_cls); Py_DECREF(par_cls); CHECK_OBJECT(par_f); Py_DECREF(par_f); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__10__emitter$$$function__1_inner(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_args = python_pars[1]; PyObject *par_kwargs = python_pars[2]; PyObject *var_e = NULL; struct Nuitka_FrameObject *frame_0aa2e43f4f0e4a41f37116c6f0fcc602; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; bool tmp_result; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; static struct Nuitka_FrameObject *cache_frame_0aa2e43f4f0e4a41f37116c6f0fcc602 = NULL; // Actual function body. if (isFrameUnusable(cache_frame_0aa2e43f4f0e4a41f37116c6f0fcc602)) { Py_XDECREF(cache_frame_0aa2e43f4f0e4a41f37116c6f0fcc602); #if _DEBUG_REFCOUNTS if (cache_frame_0aa2e43f4f0e4a41f37116c6f0fcc602 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_0aa2e43f4f0e4a41f37116c6f0fcc602 = MAKE_FUNCTION_FRAME(codeobj_0aa2e43f4f0e4a41f37116c6f0fcc602, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_0aa2e43f4f0e4a41f37116c6f0fcc602->m_type_description == NULL); frame_0aa2e43f4f0e4a41f37116c6f0fcc602 = cache_frame_0aa2e43f4f0e4a41f37116c6f0fcc602; // Push the new frame as the currently active one. pushFrameStack(frame_0aa2e43f4f0e4a41f37116c6f0fcc602); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_0aa2e43f4f0e4a41f37116c6f0fcc602) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; PyObject *tmp_dircall_arg4_1; if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[59]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 211; type_description_1 = "oooocc"; goto try_except_handler_1; } tmp_dircall_arg1_1 = Nuitka_Cell_GET(self->m_closure[1]); CHECK_OBJECT(par_self); tmp_tuple_element_1 = par_self; tmp_dircall_arg2_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 0, tmp_tuple_element_1); CHECK_OBJECT(par_args); tmp_dircall_arg3_1 = par_args; CHECK_OBJECT(par_kwargs); tmp_dircall_arg4_1 = par_kwargs; Py_INCREF(tmp_dircall_arg1_1); Py_INCREF(tmp_dircall_arg3_1); Py_INCREF(tmp_dircall_arg4_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1, tmp_dircall_arg4_1}; tmp_return_value = impl___main__$$$function__5_complex_call_helper_pos_star_list_star_dict(dir_call_args); } if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 211; type_description_1 = "oooocc"; goto try_except_handler_1; } goto frame_return_exit_1; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_1 == NULL) { exception_keeper_tb_1 = MAKE_TRACEBACK(frame_0aa2e43f4f0e4a41f37116c6f0fcc602, exception_keeper_lineno_1); } else if (exception_keeper_lineno_1 != 0) { exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_0aa2e43f4f0e4a41f37116c6f0fcc602, exception_keeper_lineno_1); } NORMALIZE_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_1, exception_keeper_tb_1); PUBLISH_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); // Tried code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_Exception; tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_1, tmp_compexpr_right_1); assert(!(tmp_res == -1)); tmp_condition_result_1 = (tmp_res != 0) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_1; tmp_assign_source_1 = EXC_VALUE(PyThreadState_GET()); assert(var_e == NULL); Py_INCREF(tmp_assign_source_1); var_e = tmp_assign_source_1; } // Tried code: { bool tmp_condition_result_2; PyObject *tmp_operand_value_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_expression_value_1; CHECK_OBJECT(var_e); tmp_isinstance_inst_1 = var_e; CHECK_OBJECT(par_self); tmp_expression_value_1 = par_self; tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[79]); if (tmp_isinstance_cls_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 213; type_description_1 = "oooocc"; goto try_except_handler_3; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1); Py_DECREF(tmp_isinstance_cls_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 213; type_description_1 = "oooocc"; goto try_except_handler_3; } tmp_operand_value_1 = (tmp_res != 0) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_value_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 213; type_description_1 = "oooocc"; goto try_except_handler_3; } tmp_condition_result_2 = (tmp_res == 0) ? true : false; if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { bool tmp_condition_result_3; PyObject *tmp_operand_value_2; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_expression_value_2; CHECK_OBJECT(var_e); tmp_isinstance_inst_2 = var_e; tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[36]); if (unlikely(tmp_expression_value_2 == NULL)) { tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]); } if (tmp_expression_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 214; type_description_1 = "oooocc"; goto try_except_handler_3; } tmp_isinstance_cls_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[60]); if (tmp_isinstance_cls_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 214; type_description_1 = "oooocc"; goto try_except_handler_3; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2); Py_DECREF(tmp_isinstance_cls_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 214; type_description_1 = "oooocc"; goto try_except_handler_3; } tmp_operand_value_2 = (tmp_res != 0) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_value_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 214; type_description_1 = "oooocc"; goto try_except_handler_3; } tmp_condition_result_3 = (tmp_res == 0) ? true : false; if (tmp_condition_result_3 != false) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_called_instance_1; PyObject *tmp_expression_value_3; PyObject *tmp_call_result_1; CHECK_OBJECT(par_self); tmp_expression_value_3 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[80]); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooocc"; goto try_except_handler_3; } frame_0aa2e43f4f0e4a41f37116c6f0fcc602->m_frame.f_lineno = 215; tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG( tmp_called_instance_1, mod_consts[81], PyTuple_GET_ITEM(mod_consts[82], 0) ); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooocc"; goto try_except_handler_3; } Py_DECREF(tmp_call_result_1); } branch_no_3:; { PyObject *tmp_called_value_1; PyObject *tmp_expression_value_4; PyObject *tmp_expression_value_5; PyObject *tmp_call_result_2; PyObject *tmp_args_element_value_1; nuitka_bool tmp_condition_result_4; PyObject *tmp_isinstance_inst_3; PyObject *tmp_isinstance_cls_3; PyObject *tmp_expression_value_6; PyObject *tmp_called_instance_2; CHECK_OBJECT(par_self); tmp_expression_value_5 = par_self; tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[51]); if (tmp_expression_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 217; type_description_1 = "oooocc"; goto try_except_handler_3; } tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[63]); Py_DECREF(tmp_expression_value_4); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 217; type_description_1 = "oooocc"; goto try_except_handler_3; } CHECK_OBJECT(var_e); tmp_isinstance_inst_3 = var_e; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { Py_DECREF(tmp_called_value_1); FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[83]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 218; type_description_1 = "oooocc"; goto try_except_handler_3; } tmp_expression_value_6 = Nuitka_Cell_GET(self->m_closure[0]); tmp_isinstance_cls_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[60]); if (tmp_isinstance_cls_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); exception_lineno = 218; type_description_1 = "oooocc"; goto try_except_handler_3; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_3, tmp_isinstance_cls_3); Py_DECREF(tmp_isinstance_cls_3); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); exception_lineno = 218; type_description_1 = "oooocc"; goto try_except_handler_3; } tmp_condition_result_4 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; tmp_args_element_value_1 = Py_None; Py_INCREF(tmp_args_element_value_1); goto condexpr_end_1; condexpr_false_1:; tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[10]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); exception_lineno = 219; type_description_1 = "oooocc"; goto try_except_handler_3; } frame_0aa2e43f4f0e4a41f37116c6f0fcc602->m_frame.f_lineno = 219; tmp_args_element_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[84]); if (tmp_args_element_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); exception_lineno = 219; type_description_1 = "oooocc"; goto try_except_handler_3; } condexpr_end_1:; frame_0aa2e43f4f0e4a41f37116c6f0fcc602->m_frame.f_lineno = 217; tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_element_value_1); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 217; type_description_1 = "oooocc"; goto try_except_handler_3; } Py_DECREF(tmp_call_result_2); } { PyObject *tmp_called_instance_3; PyObject *tmp_call_result_3; CHECK_OBJECT(par_self); tmp_called_instance_3 = par_self; frame_0aa2e43f4f0e4a41f37116c6f0fcc602->m_frame.f_lineno = 220; tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[69]); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 220; type_description_1 = "oooocc"; goto try_except_handler_3; } Py_DECREF(tmp_call_result_3); } branch_no_2:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 221; } if (exception_tb && exception_tb->tb_frame == &frame_0aa2e43f4f0e4a41f37116c6f0fcc602->m_frame) frame_0aa2e43f4f0e4a41f37116c6f0fcc602->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooocc"; goto try_except_handler_3; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(var_e); var_e = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; // End of try: goto branch_end_1; branch_no_1:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 210; } if (exception_tb && exception_tb->tb_frame == &frame_0aa2e43f4f0e4a41f37116c6f0fcc602->m_frame) frame_0aa2e43f4f0e4a41f37116c6f0fcc602->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooocc"; goto try_except_handler_2; branch_end_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; // End of try: // End of try: #if 0 RESTORE_FRAME_EXCEPTION(frame_0aa2e43f4f0e4a41f37116c6f0fcc602); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_0aa2e43f4f0e4a41f37116c6f0fcc602); #endif // Put the previous frame back on top. popFrameStack(); goto function_return_exit; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_0aa2e43f4f0e4a41f37116c6f0fcc602); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_0aa2e43f4f0e4a41f37116c6f0fcc602, exception_lineno); } else if (exception_tb->tb_frame != &frame_0aa2e43f4f0e4a41f37116c6f0fcc602->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_0aa2e43f4f0e4a41f37116c6f0fcc602, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_0aa2e43f4f0e4a41f37116c6f0fcc602, type_description_1, par_self, par_args, par_kwargs, var_e, self->m_closure[1], self->m_closure[0] ); // Release cached frame if used for exception. if (frame_0aa2e43f4f0e4a41f37116c6f0fcc602 == cache_frame_0aa2e43f4f0e4a41f37116c6f0fcc602) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_0aa2e43f4f0e4a41f37116c6f0fcc602); cache_frame_0aa2e43f4f0e4a41f37116c6f0fcc602 = NULL; } assertFrameObject(frame_0aa2e43f4f0e4a41f37116c6f0fcc602); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_args); Py_DECREF(par_args); CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_args); Py_DECREF(par_args); CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__11__mark_ready(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_48b645427c384f51035e1ebc613527b3; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_48b645427c384f51035e1ebc613527b3 = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_48b645427c384f51035e1ebc613527b3)) { Py_XDECREF(cache_frame_48b645427c384f51035e1ebc613527b3); #if _DEBUG_REFCOUNTS if (cache_frame_48b645427c384f51035e1ebc613527b3 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_48b645427c384f51035e1ebc613527b3 = MAKE_FUNCTION_FRAME(codeobj_48b645427c384f51035e1ebc613527b3, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_48b645427c384f51035e1ebc613527b3->m_type_description == NULL); frame_48b645427c384f51035e1ebc613527b3 = cache_frame_48b645427c384f51035e1ebc613527b3; // Push the new frame as the currently active one. pushFrameStack(frame_48b645427c384f51035e1ebc613527b3); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_48b645427c384f51035e1ebc613527b3) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_expression_value_1; PyObject *tmp_call_result_1; CHECK_OBJECT(par_self); tmp_expression_value_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[46]); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 232; type_description_1 = "o"; goto frame_exception_exit_1; } frame_48b645427c384f51035e1ebc613527b3->m_frame.f_lineno = 232; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[70]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 232; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_value_1; PyObject *tmp_assattr_target_1; tmp_assattr_value_1 = Py_True; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[47], tmp_assattr_value_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_called_instance_2; PyObject *tmp_expression_value_2; PyObject *tmp_call_result_2; CHECK_OBJECT(par_self); tmp_expression_value_2 = par_self; tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[46]); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 234; type_description_1 = "o"; goto frame_exception_exit_1; } frame_48b645427c384f51035e1ebc613527b3->m_frame.f_lineno = 234; tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[85]); Py_DECREF(tmp_called_instance_2); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 234; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } { PyObject *tmp_called_instance_3; PyObject *tmp_expression_value_3; PyObject *tmp_call_result_3; CHECK_OBJECT(par_self); tmp_expression_value_3 = par_self; tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[46]); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; type_description_1 = "o"; goto frame_exception_exit_1; } frame_48b645427c384f51035e1ebc613527b3->m_frame.f_lineno = 235; tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[71]); Py_DECREF(tmp_called_instance_3); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_3); } #if 0 RESTORE_FRAME_EXCEPTION(frame_48b645427c384f51035e1ebc613527b3); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_48b645427c384f51035e1ebc613527b3); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_48b645427c384f51035e1ebc613527b3, exception_lineno); } else if (exception_tb->tb_frame != &frame_48b645427c384f51035e1ebc613527b3->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_48b645427c384f51035e1ebc613527b3, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_48b645427c384f51035e1ebc613527b3, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_48b645427c384f51035e1ebc613527b3 == cache_frame_48b645427c384f51035e1ebc613527b3) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_48b645427c384f51035e1ebc613527b3); cache_frame_48b645427c384f51035e1ebc613527b3 = NULL; } assertFrameObject(frame_48b645427c384f51035e1ebc613527b3); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__12__run(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_a429142c036cc16c340b60edc220b9ad; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_a429142c036cc16c340b60edc220b9ad = NULL; // Actual function body. if (isFrameUnusable(cache_frame_a429142c036cc16c340b60edc220b9ad)) { Py_XDECREF(cache_frame_a429142c036cc16c340b60edc220b9ad); #if _DEBUG_REFCOUNTS if (cache_frame_a429142c036cc16c340b60edc220b9ad == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_a429142c036cc16c340b60edc220b9ad = MAKE_FUNCTION_FRAME(codeobj_a429142c036cc16c340b60edc220b9ad, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_a429142c036cc16c340b60edc220b9ad->m_type_description == NULL); frame_a429142c036cc16c340b60edc220b9ad = cache_frame_a429142c036cc16c340b60edc220b9ad; // Push the new frame as the currently active one. pushFrameStack(frame_a429142c036cc16c340b60edc220b9ad); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_a429142c036cc16c340b60edc220b9ad) == 2); // Frame stack // Framed code: { PyObject *tmp_raise_type_1; frame_a429142c036cc16c340b60edc220b9ad->m_frame.f_lineno = 242; tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError); assert(!(tmp_raise_type_1 == NULL)); exception_type = tmp_raise_type_1; exception_lineno = 242; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "o"; goto frame_exception_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_a429142c036cc16c340b60edc220b9ad); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_a429142c036cc16c340b60edc220b9ad); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_a429142c036cc16c340b60edc220b9ad, exception_lineno); } else if (exception_tb->tb_frame != &frame_a429142c036cc16c340b60edc220b9ad->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_a429142c036cc16c340b60edc220b9ad, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_a429142c036cc16c340b60edc220b9ad, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_a429142c036cc16c340b60edc220b9ad == cache_frame_a429142c036cc16c340b60edc220b9ad) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_a429142c036cc16c340b60edc220b9ad); cache_frame_a429142c036cc16c340b60edc220b9ad = NULL; } assertFrameObject(frame_a429142c036cc16c340b60edc220b9ad); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; } static PyObject *impl_pynput$_util$$$function__13__stop_platform(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_66e9b9d7f63d6f6a308b8f8e68b30666; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_66e9b9d7f63d6f6a308b8f8e68b30666 = NULL; // Actual function body. if (isFrameUnusable(cache_frame_66e9b9d7f63d6f6a308b8f8e68b30666)) { Py_XDECREF(cache_frame_66e9b9d7f63d6f6a308b8f8e68b30666); #if _DEBUG_REFCOUNTS if (cache_frame_66e9b9d7f63d6f6a308b8f8e68b30666 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_66e9b9d7f63d6f6a308b8f8e68b30666 = MAKE_FUNCTION_FRAME(codeobj_66e9b9d7f63d6f6a308b8f8e68b30666, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_66e9b9d7f63d6f6a308b8f8e68b30666->m_type_description == NULL); frame_66e9b9d7f63d6f6a308b8f8e68b30666 = cache_frame_66e9b9d7f63d6f6a308b8f8e68b30666; // Push the new frame as the currently active one. pushFrameStack(frame_66e9b9d7f63d6f6a308b8f8e68b30666); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_66e9b9d7f63d6f6a308b8f8e68b30666) == 2); // Frame stack // Framed code: { PyObject *tmp_raise_type_1; frame_66e9b9d7f63d6f6a308b8f8e68b30666->m_frame.f_lineno = 249; tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError); assert(!(tmp_raise_type_1 == NULL)); exception_type = tmp_raise_type_1; exception_lineno = 249; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "o"; goto frame_exception_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_66e9b9d7f63d6f6a308b8f8e68b30666); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_66e9b9d7f63d6f6a308b8f8e68b30666); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_66e9b9d7f63d6f6a308b8f8e68b30666, exception_lineno); } else if (exception_tb->tb_frame != &frame_66e9b9d7f63d6f6a308b8f8e68b30666->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_66e9b9d7f63d6f6a308b8f8e68b30666, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_66e9b9d7f63d6f6a308b8f8e68b30666, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_66e9b9d7f63d6f6a308b8f8e68b30666 == cache_frame_66e9b9d7f63d6f6a308b8f8e68b30666) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_66e9b9d7f63d6f6a308b8f8e68b30666); cache_frame_66e9b9d7f63d6f6a308b8f8e68b30666 = NULL; } assertFrameObject(frame_66e9b9d7f63d6f6a308b8f8e68b30666); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; } static PyObject *impl_pynput$_util$$$function__14_join(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_args = python_pars[1]; PyObject *var_exc_type = NULL; PyObject *var_exc_value = NULL; PyObject *var_exc_traceback = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_8712f2ef9b4f2624671dd68b8bfb553c; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; PyObject *tmp_return_value = NULL; bool tmp_result; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_8712f2ef9b4f2624671dd68b8bfb553c = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_8712f2ef9b4f2624671dd68b8bfb553c)) { Py_XDECREF(cache_frame_8712f2ef9b4f2624671dd68b8bfb553c); #if _DEBUG_REFCOUNTS if (cache_frame_8712f2ef9b4f2624671dd68b8bfb553c == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_8712f2ef9b4f2624671dd68b8bfb553c = MAKE_FUNCTION_FRAME(codeobj_8712f2ef9b4f2624671dd68b8bfb553c, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_8712f2ef9b4f2624671dd68b8bfb553c->m_type_description == NULL); frame_8712f2ef9b4f2624671dd68b8bfb553c = cache_frame_8712f2ef9b4f2624671dd68b8bfb553c; // Push the new frame as the currently active one. pushFrameStack(frame_8712f2ef9b4f2624671dd68b8bfb553c); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_8712f2ef9b4f2624671dd68b8bfb553c) == 2); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_expression_value_1; PyObject *tmp_type_arg_value_1; PyObject *tmp_object_arg_value_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_call_result_1; tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[36]); if (unlikely(tmp_type_arg_value_1 == NULL)) { tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]); } if (tmp_type_arg_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_1 = "oooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_object_arg_value_1 = par_self; tmp_expression_value_1 = BUILTIN_SUPER2(tmp_type_arg_value_1, tmp_object_arg_value_1); if (tmp_expression_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_1 = "oooooN"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[89]); Py_DECREF(tmp_expression_value_1); if (tmp_dircall_arg1_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_1 = "oooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_args); tmp_dircall_arg2_1 = par_args; Py_INCREF(tmp_dircall_arg2_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1}; tmp_call_result_1 = impl___main__$$$function__4_complex_call_helper_star_list(dir_call_args); } if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_1 = "oooooN"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } // Tried code: // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_value_1; PyObject *tmp_expression_value_2; PyObject *tmp_expression_value_3; CHECK_OBJECT(par_self); tmp_expression_value_3 = par_self; tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[51]); if (tmp_expression_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_1 = "oooooN"; goto try_except_handler_3; } tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[2]); Py_DECREF(tmp_expression_value_2); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_1 = "oooooN"; goto try_except_handler_3; } frame_8712f2ef9b4f2624671dd68b8bfb553c->m_frame.f_lineno = 256; tmp_iter_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1); Py_DECREF(tmp_called_value_1); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_1 = "oooooN"; goto try_except_handler_3; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_1 = "oooooN"; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 3); if (tmp_assign_source_2 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooN"; exception_lineno = 256; goto try_except_handler_4; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 3); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooN"; exception_lineno = 256; goto try_except_handler_4; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_3, 2, 3); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooN"; exception_lineno = 256; goto try_except_handler_4; } assert(tmp_tuple_unpack_1__element_3 == NULL); tmp_tuple_unpack_1__element_3 = tmp_assign_source_4; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooN"; exception_lineno = 256; goto try_except_handler_4; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[90]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooN"; exception_lineno = 256; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); Py_DECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_3; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; // End of try: try_end_2:; goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_3 == NULL) { exception_keeper_tb_3 = MAKE_TRACEBACK(frame_8712f2ef9b4f2624671dd68b8bfb553c, exception_keeper_lineno_3); } else if (exception_keeper_lineno_3 != 0) { exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_8712f2ef9b4f2624671dd68b8bfb553c, exception_keeper_lineno_3); } NORMALIZE_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_3, exception_keeper_tb_3); PUBLISH_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3); // Tried code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_TypeError; tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_1, tmp_compexpr_right_1); assert(!(tmp_res == -1)); tmp_condition_result_1 = (tmp_res != 0) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_5; goto branch_end_1; branch_no_1:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 255; } if (exception_tb && exception_tb->tb_frame == &frame_8712f2ef9b4f2624671dd68b8bfb553c->m_frame) frame_8712f2ef9b4f2624671dd68b8bfb553c->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooN"; goto try_except_handler_5; branch_end_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_5:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); goto frame_return_exit_1; // Exception handler code: try_except_handler_5:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; // End of try: // End of try: try_end_3:; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); Py_DECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_5; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_5 = tmp_tuple_unpack_1__element_1; assert(var_exc_type == NULL); Py_INCREF(tmp_assign_source_5); var_exc_type = tmp_assign_source_5; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_6; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_6 = tmp_tuple_unpack_1__element_2; assert(var_exc_value == NULL); Py_INCREF(tmp_assign_source_6); var_exc_value = tmp_assign_source_6; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_3); tmp_assign_source_7 = tmp_tuple_unpack_1__element_3; assert(var_exc_traceback == NULL); Py_INCREF(tmp_assign_source_7); var_exc_traceback = tmp_assign_source_7; } Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; { PyObject *tmp_called_instance_1; PyObject *tmp_call_result_2; PyObject *tmp_args_element_value_1; PyObject *tmp_args_element_value_2; PyObject *tmp_args_element_value_3; tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[91]); if (unlikely(tmp_called_instance_1 == NULL)) { tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[91]); } if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 259; type_description_1 = "oooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(var_exc_type); tmp_args_element_value_1 = var_exc_type; CHECK_OBJECT(var_exc_value); tmp_args_element_value_2 = var_exc_value; CHECK_OBJECT(var_exc_traceback); tmp_args_element_value_3 = var_exc_traceback; frame_8712f2ef9b4f2624671dd68b8bfb553c->m_frame.f_lineno = 259; { PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3}; tmp_call_result_2 = CALL_METHOD_WITH_ARGS3( tmp_called_instance_1, mod_consts[92], call_args ); } if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 259; type_description_1 = "oooooN"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } #if 0 RESTORE_FRAME_EXCEPTION(frame_8712f2ef9b4f2624671dd68b8bfb553c); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_8712f2ef9b4f2624671dd68b8bfb553c); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_8712f2ef9b4f2624671dd68b8bfb553c); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_8712f2ef9b4f2624671dd68b8bfb553c, exception_lineno); } else if (exception_tb->tb_frame != &frame_8712f2ef9b4f2624671dd68b8bfb553c->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_8712f2ef9b4f2624671dd68b8bfb553c, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_8712f2ef9b4f2624671dd68b8bfb553c, type_description_1, par_self, par_args, var_exc_type, var_exc_value, var_exc_traceback, NULL ); // Release cached frame if used for exception. if (frame_8712f2ef9b4f2624671dd68b8bfb553c == cache_frame_8712f2ef9b4f2624671dd68b8bfb553c) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_8712f2ef9b4f2624671dd68b8bfb553c); cache_frame_8712f2ef9b4f2624671dd68b8bfb553c = NULL; } assertFrameObject(frame_8712f2ef9b4f2624671dd68b8bfb553c); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(var_exc_type); var_exc_type = NULL; Py_XDECREF(var_exc_value); var_exc_value = NULL; Py_XDECREF(var_exc_traceback); var_exc_traceback = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(var_exc_type); var_exc_type = NULL; Py_XDECREF(var_exc_value); var_exc_value = NULL; Py_XDECREF(var_exc_traceback); var_exc_traceback = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_args); Py_DECREF(par_args); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_args); Py_DECREF(par_args); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__15___str__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *tmp_genexpr_1__$0 = NULL; struct Nuitka_FrameObject *frame_6989749273065ad564fba338ffcea87f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_6989749273065ad564fba338ffcea87f = NULL; // Actual function body. if (isFrameUnusable(cache_frame_6989749273065ad564fba338ffcea87f)) { Py_XDECREF(cache_frame_6989749273065ad564fba338ffcea87f); #if _DEBUG_REFCOUNTS if (cache_frame_6989749273065ad564fba338ffcea87f == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_6989749273065ad564fba338ffcea87f = MAKE_FUNCTION_FRAME(codeobj_6989749273065ad564fba338ffcea87f, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_6989749273065ad564fba338ffcea87f->m_type_description == NULL); frame_6989749273065ad564fba338ffcea87f = cache_frame_6989749273065ad564fba338ffcea87f; // Push the new frame as the currently active one. pushFrameStack(frame_6989749273065ad564fba338ffcea87f); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_6989749273065ad564fba338ffcea87f) == 2); // Frame stack // Framed code: { PyObject *tmp_called_value_1; PyObject *tmp_expression_value_1; PyObject *tmp_args_element_value_1; PyObject *tmp_expression_value_2; PyObject *tmp_expression_value_3; PyObject *tmp_args_element_value_2; PyObject *tmp_str_arg_value_1; PyObject *tmp_iterable_value_1; tmp_expression_value_1 = mod_consts[93]; tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[4]); assert(!(tmp_called_value_1 == NULL)); CHECK_OBJECT(par_self); tmp_expression_value_3 = par_self; tmp_expression_value_2 = LOOKUP_ATTRIBUTE_CLASS_SLOT(tmp_expression_value_3); if (tmp_expression_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); exception_lineno = 271; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[94]); Py_DECREF(tmp_expression_value_2); if (tmp_args_element_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); exception_lineno = 271; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_str_arg_value_1 = mod_consts[95]; { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_value_2; PyObject *tmp_expression_value_4; PyObject *tmp_vars_arg_1; CHECK_OBJECT(par_self); tmp_vars_arg_1 = par_self; tmp_expression_value_4 = LOOKUP_VARS(tmp_vars_arg_1); if (tmp_expression_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 274; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[96]); Py_DECREF(tmp_expression_value_4); if (tmp_called_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 274; type_description_1 = "o"; goto frame_exception_exit_1; } frame_6989749273065ad564fba338ffcea87f->m_frame.f_lineno = 274; tmp_iter_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2); Py_DECREF(tmp_called_value_2); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 274; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 272; type_description_1 = "o"; goto frame_exception_exit_1; } assert(tmp_genexpr_1__$0 == NULL); tmp_genexpr_1__$0 = tmp_assign_source_1; } // Tried code: { struct Nuitka_CellObject *tmp_closure_1[1]; tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0); tmp_iterable_value_1 = MAKE_GENERATOR_pynput$_util$$$function__15___str__$$$genexpr__1_genexpr(tmp_closure_1); goto try_return_handler_1; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(tmp_genexpr_1__$0); Py_DECREF(tmp_genexpr_1__$0); tmp_genexpr_1__$0 = NULL; goto outline_result_1; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_result_1:; tmp_args_element_value_2 = UNICODE_JOIN(tmp_str_arg_value_1, tmp_iterable_value_1); Py_DECREF(tmp_iterable_value_1); if (tmp_args_element_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_element_value_1); exception_lineno = 272; type_description_1 = "o"; goto frame_exception_exit_1; } frame_6989749273065ad564fba338ffcea87f->m_frame.f_lineno = 270; { PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2}; tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args); } Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_element_value_1); Py_DECREF(tmp_args_element_value_2); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 270; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_6989749273065ad564fba338ffcea87f); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_6989749273065ad564fba338ffcea87f); #endif // Put the previous frame back on top. popFrameStack(); goto function_return_exit; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_6989749273065ad564fba338ffcea87f); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_6989749273065ad564fba338ffcea87f, exception_lineno); } else if (exception_tb->tb_frame != &frame_6989749273065ad564fba338ffcea87f->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_6989749273065ad564fba338ffcea87f, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_6989749273065ad564fba338ffcea87f, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_6989749273065ad564fba338ffcea87f == cache_frame_6989749273065ad564fba338ffcea87f) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_6989749273065ad564fba338ffcea87f); cache_frame_6989749273065ad564fba338ffcea87f = NULL; } assertFrameObject(frame_6989749273065ad564fba338ffcea87f); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } struct pynput$_util$$$function__15___str__$$$genexpr__1_genexpr_locals { PyObject *var_k; PyObject *var_v; PyObject *tmp_iter_value_0; PyObject *tmp_tuple_unpack_1__element_1; PyObject *tmp_tuple_unpack_1__element_2; PyObject *tmp_tuple_unpack_1__source_iter; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; char yield_tmps[1024]; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; int exception_keeper_lineno_4; }; static PyObject *pynput$_util$$$function__15___str__$$$genexpr__1_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) { CHECK_OBJECT(generator); assert(Nuitka_Generator_Check((PyObject *)generator)); CHECK_OBJECT_X(yield_return_value); // Heap access if used. struct pynput$_util$$$function__15___str__$$$genexpr__1_genexpr_locals *generator_heap = (struct pynput$_util$$$function__15___str__$$$genexpr__1_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_k = NULL; generator_heap->var_v = NULL; generator_heap->tmp_iter_value_0 = NULL; generator_heap->tmp_tuple_unpack_1__element_1 = NULL; generator_heap->tmp_tuple_unpack_1__element_2 = NULL; generator_heap->tmp_tuple_unpack_1__source_iter = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual generator function body. // Tried code: if (isFrameUnusable(cache_m_frame)) { Py_XDECREF(cache_m_frame); #if _DEBUG_REFCOUNTS if (cache_m_frame == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_ad11f2f6826ab9f2cc5e7815a8fd5e74, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF(generator->m_frame); assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack #if PYTHON_VERSION >= 0x340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif assert(generator->m_frame->m_frame.f_back == NULL); Py_CLEAR(generator->m_frame->m_frame.f_back); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF(generator->m_frame->m_frame.f_back); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF(generator->m_frame); Nuitka_Frame_MarkAsExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); EXC_TYPE_F(generator) = EXC_TYPE(thread_state); if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL; Py_XINCREF(EXC_TYPE_F(generator)); EXC_VALUE_F(generator) = EXC_VALUE(thread_state); Py_XINCREF(EXC_VALUE_F(generator)); EXC_TRACEBACK_F(generator) = EXC_TRACEBACK(thread_state); Py_XINCREF(EXC_TRACEBACK_F(generator)); } #endif // Framed code: // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0])); tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]); tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_1 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 272; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; CHECK_OBJECT(generator_heap->tmp_iter_value_0); tmp_iter_arg_1 = generator_heap->tmp_iter_value_0; tmp_assign_source_2 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 272; generator_heap->type_description_1 = "Noo"; goto try_except_handler_3; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__source_iter; generator_heap->tmp_tuple_unpack_1__source_iter = tmp_assign_source_2; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_1; CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = generator_heap->tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF(generator_heap->exception_type); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); } generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 272; goto try_except_handler_4; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__element_1; generator_heap->tmp_tuple_unpack_1__element_1 = tmp_assign_source_3; Py_XDECREF(old); } } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_2; CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = generator_heap->tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF(generator_heap->exception_type); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); } generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 272; goto try_except_handler_4; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__element_2; generator_heap->tmp_tuple_unpack_1__element_2 = tmp_assign_source_4; Py_XDECREF(old); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = generator_heap->tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); generator_heap->tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(generator_heap->tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 272; goto try_except_handler_4; } } } else { Py_DECREF(generator_heap->tmp_iterator_attempt); generator_heap->exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); generator_heap->exception_value = mod_consts[53]; Py_INCREF(generator_heap->exception_value); generator_heap->exception_tb = NULL; generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 272; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter); Py_DECREF(generator_heap->tmp_tuple_unpack_1__source_iter); generator_heap->tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto try_except_handler_3; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_3:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_1); generator_heap->tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_2); generator_heap->tmp_tuple_unpack_1__element_2 = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto try_except_handler_2; // End of try: try_end_2:; CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter); Py_DECREF(generator_heap->tmp_tuple_unpack_1__source_iter); generator_heap->tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_5; CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__element_1); tmp_assign_source_5 = generator_heap->tmp_tuple_unpack_1__element_1; { PyObject *old = generator_heap->var_k; generator_heap->var_k = tmp_assign_source_5; Py_INCREF(generator_heap->var_k); Py_XDECREF(old); } } Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_1); generator_heap->tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_6; CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__element_2); tmp_assign_source_6 = generator_heap->tmp_tuple_unpack_1__element_2; { PyObject *old = generator_heap->var_v; generator_heap->var_v = tmp_assign_source_6; Py_INCREF(generator_heap->var_v); Py_XDECREF(old); } } Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_2); generator_heap->tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_expression_value_1; PyObject *tmp_called_value_1; PyObject *tmp_expression_value_2; PyObject *tmp_args_element_value_1; PyObject *tmp_args_element_value_2; NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1; tmp_expression_value_2 = mod_consts[97]; tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[4]); assert(!(tmp_called_value_1 == NULL)); CHECK_OBJECT(generator_heap->var_k); tmp_args_element_value_1 = generator_heap->var_k; CHECK_OBJECT(generator_heap->var_v); tmp_args_element_value_2 = generator_heap->var_v; generator->m_frame->m_frame.f_lineno = 273; { PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2}; tmp_expression_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args); } Py_DECREF(tmp_called_value_1); if (tmp_expression_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 273; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_args_element_value_2, sizeof(PyObject *), NULL); generator->m_yield_return_index = 1; return tmp_expression_value_1; yield_return_1: Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_args_element_value_2, sizeof(PyObject *), NULL); if (yield_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 273; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } tmp_yield_result_1 = yield_return_value; } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 272; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_3; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_3 = generator_heap->exception_type; generator_heap->exception_keeper_value_3 = generator_heap->exception_value; generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_3 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_3; generator_heap->exception_value = generator_heap->exception_keeper_value_3; generator_heap->exception_tb = generator_heap->exception_keeper_tb_3; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3; goto frame_exception_exit_1; // End of try: try_end_3:; Nuitka_Frame_MarkAsNotExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif // Allow re-use of the frame again. Py_DECREF(generator->m_frame); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) { if (generator_heap->exception_tb == NULL) { generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno); } else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) { generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno); } Nuitka_Frame_AttachLocals( generator->m_frame, generator_heap->type_description_1, NULL, generator_heap->var_k, generator_heap->var_v ); // Release cached frame if used for exception. if (generator->m_frame == cache_m_frame) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_m_frame); cache_m_frame = NULL; } assertFrameObject(generator->m_frame); } #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif Py_DECREF(generator->m_frame); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_4; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_4 = generator_heap->exception_type; generator_heap->exception_keeper_value_4 = generator_heap->exception_value; generator_heap->exception_keeper_tb_4 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_4 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->var_k); generator_heap->var_k = NULL; Py_XDECREF(generator_heap->var_v); generator_heap->var_v = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_4; generator_heap->exception_value = generator_heap->exception_keeper_value_4; generator_heap->exception_tb = generator_heap->exception_keeper_tb_4; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_4; goto function_exception_exit; // End of try: try_end_4:; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; Py_XDECREF(generator_heap->var_k); generator_heap->var_k = NULL; Py_XDECREF(generator_heap->var_v); generator_heap->var_v = NULL; return NULL; function_exception_exit: assert(generator_heap->exception_type); RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb); return NULL; } static PyObject *MAKE_GENERATOR_pynput$_util$$$function__15___str__$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) { return Nuitka_Generator_New( pynput$_util$$$function__15___str__$$$genexpr__1_genexpr_context, module_pynput$_util, mod_consts[33], #if PYTHON_VERSION >= 0x350 mod_consts[98], #endif codeobj_ad11f2f6826ab9f2cc5e7815a8fd5e74, closure, 1, sizeof(struct pynput$_util$$$function__15___str__$$$genexpr__1_genexpr_locals) ); } static PyObject *impl_pynput$_util$$$function__16___eq__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]); struct Nuitka_CellObject *par_other = Nuitka_Cell_New1(python_pars[1]); PyObject *tmp_genexpr_1__$0 = NULL; struct Nuitka_FrameObject *frame_1c48cb08d433e05558203094bf9dbd14; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_1c48cb08d433e05558203094bf9dbd14 = NULL; // Actual function body. if (isFrameUnusable(cache_frame_1c48cb08d433e05558203094bf9dbd14)) { Py_XDECREF(cache_frame_1c48cb08d433e05558203094bf9dbd14); #if _DEBUG_REFCOUNTS if (cache_frame_1c48cb08d433e05558203094bf9dbd14 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_1c48cb08d433e05558203094bf9dbd14 = MAKE_FUNCTION_FRAME(codeobj_1c48cb08d433e05558203094bf9dbd14, module_pynput$_util, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_1c48cb08d433e05558203094bf9dbd14->m_type_description == NULL); frame_1c48cb08d433e05558203094bf9dbd14 = cache_frame_1c48cb08d433e05558203094bf9dbd14; // Push the new frame as the currently active one. pushFrameStack(frame_1c48cb08d433e05558203094bf9dbd14); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_1c48cb08d433e05558203094bf9dbd14) == 2); // Frame stack // Framed code: { int tmp_and_left_truth_1; PyObject *tmp_and_left_value_1; PyObject *tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_value_1; PyObject *tmp_expression_value_2; int tmp_and_left_truth_2; PyObject *tmp_and_left_value_2; PyObject *tmp_and_right_value_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_dir_arg_1; PyObject *tmp_dir_arg_2; PyObject *tmp_all_arg_1; CHECK_OBJECT(Nuitka_Cell_GET(par_self)); tmp_expression_value_1 = Nuitka_Cell_GET(par_self); tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT(tmp_expression_value_1); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 277; type_description_1 = "cc"; goto frame_exception_exit_1; } CHECK_OBJECT(Nuitka_Cell_GET(par_other)); tmp_expression_value_2 = Nuitka_Cell_GET(par_other); tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT(tmp_expression_value_2); if (tmp_compexpr_right_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_compexpr_left_1); exception_lineno = 277; type_description_1 = "cc"; goto frame_exception_exit_1; } tmp_and_left_value_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_left_1); Py_DECREF(tmp_compexpr_right_1); if (tmp_and_left_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 277; type_description_1 = "cc"; goto frame_exception_exit_1; } tmp_and_left_truth_1 = CHECK_IF_TRUE(tmp_and_left_value_1); if (tmp_and_left_truth_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_and_left_value_1); exception_lineno = 277; type_description_1 = "cc"; goto frame_exception_exit_1; } if (tmp_and_left_truth_1 == 1) { goto and_right_1; } else { goto and_left_1; } and_right_1:; Py_DECREF(tmp_and_left_value_1); CHECK_OBJECT(Nuitka_Cell_GET(par_self)); tmp_dir_arg_1 = Nuitka_Cell_GET(par_self); tmp_compexpr_left_2 = PyObject_Dir(tmp_dir_arg_1); if (tmp_compexpr_left_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 278; type_description_1 = "cc"; goto frame_exception_exit_1; } CHECK_OBJECT(Nuitka_Cell_GET(par_other)); tmp_dir_arg_2 = Nuitka_Cell_GET(par_other); tmp_compexpr_right_2 = PyObject_Dir(tmp_dir_arg_2); if (tmp_compexpr_right_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_compexpr_left_2); exception_lineno = 278; type_description_1 = "cc"; goto frame_exception_exit_1; } tmp_and_left_value_2 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_2, tmp_compexpr_right_2); Py_DECREF(tmp_compexpr_left_2); Py_DECREF(tmp_compexpr_right_2); if (tmp_and_left_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 278; type_description_1 = "cc"; goto frame_exception_exit_1; } tmp_and_left_truth_2 = CHECK_IF_TRUE(tmp_and_left_value_2); if (tmp_and_left_truth_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_and_left_value_2); exception_lineno = 278; type_description_1 = "cc"; goto frame_exception_exit_1; } if (tmp_and_left_truth_2 == 1) { goto and_right_2; } else { goto and_left_2; } and_right_2:; Py_DECREF(tmp_and_left_value_2); { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_dir_arg_3; CHECK_OBJECT(Nuitka_Cell_GET(par_self)); tmp_dir_arg_3 = Nuitka_Cell_GET(par_self); tmp_iter_arg_1 = PyObject_Dir(tmp_dir_arg_3); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 281; type_description_1 = "cc"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 279; type_description_1 = "cc"; goto frame_exception_exit_1; } assert(tmp_genexpr_1__$0 == NULL); tmp_genexpr_1__$0 = tmp_assign_source_1; } // Tried code: { struct Nuitka_CellObject *tmp_closure_1[3]; tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0); tmp_closure_1[1] = par_other; Py_INCREF(tmp_closure_1[1]); tmp_closure_1[2] = par_self; Py_INCREF(tmp_closure_1[2]); tmp_all_arg_1 = MAKE_GENERATOR_pynput$_util$$$function__16___eq__$$$genexpr__1_genexpr(tmp_closure_1); goto try_return_handler_1; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(tmp_genexpr_1__$0); Py_DECREF(tmp_genexpr_1__$0); tmp_genexpr_1__$0 = NULL; goto outline_result_1; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_result_1:; tmp_and_right_value_2 = BUILTIN_ALL(tmp_all_arg_1); Py_DECREF(tmp_all_arg_1); if (tmp_and_right_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 279; type_description_1 = "cc"; goto frame_exception_exit_1; } tmp_and_right_value_1 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_and_right_value_1 = tmp_and_left_value_2; and_end_2:; tmp_return_value = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_return_value = tmp_and_left_value_1; and_end_1:; goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_1c48cb08d433e05558203094bf9dbd14); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1c48cb08d433e05558203094bf9dbd14); #endif // Put the previous frame back on top. popFrameStack(); goto function_return_exit; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1c48cb08d433e05558203094bf9dbd14); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_1c48cb08d433e05558203094bf9dbd14, exception_lineno); } else if (exception_tb->tb_frame != &frame_1c48cb08d433e05558203094bf9dbd14->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_1c48cb08d433e05558203094bf9dbd14, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_1c48cb08d433e05558203094bf9dbd14, type_description_1, par_self, par_other ); // Release cached frame if used for exception. if (frame_1c48cb08d433e05558203094bf9dbd14 == cache_frame_1c48cb08d433e05558203094bf9dbd14) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_1c48cb08d433e05558203094bf9dbd14); cache_frame_1c48cb08d433e05558203094bf9dbd14 = NULL; } assertFrameObject(frame_1c48cb08d433e05558203094bf9dbd14); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_other); Py_DECREF(par_other); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_other); Py_DECREF(par_other); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } struct pynput$_util$$$function__16___eq__$$$genexpr__1_genexpr_locals { PyObject *var_k; PyObject *tmp_iter_value_0; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; char yield_tmps[1024]; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; }; static PyObject *pynput$_util$$$function__16___eq__$$$genexpr__1_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) { CHECK_OBJECT(generator); assert(Nuitka_Generator_Check((PyObject *)generator)); CHECK_OBJECT_X(yield_return_value); // Heap access if used. struct pynput$_util$$$function__16___eq__$$$genexpr__1_genexpr_locals *generator_heap = (struct pynput$_util$$$function__16___eq__$$$genexpr__1_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_k = NULL; generator_heap->tmp_iter_value_0 = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual generator function body. // Tried code: if (isFrameUnusable(cache_m_frame)) { Py_XDECREF(cache_m_frame); #if _DEBUG_REFCOUNTS if (cache_m_frame == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_8b81a46cbffda69677389410858ff755, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF(generator->m_frame); assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack #if PYTHON_VERSION >= 0x340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif assert(generator->m_frame->m_frame.f_back == NULL); Py_CLEAR(generator->m_frame->m_frame.f_back); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF(generator->m_frame->m_frame.f_back); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF(generator->m_frame); Nuitka_Frame_MarkAsExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); EXC_TYPE_F(generator) = EXC_TYPE(thread_state); if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL; Py_XINCREF(EXC_TYPE_F(generator)); EXC_VALUE_F(generator) = EXC_VALUE(thread_state); Py_XINCREF(EXC_VALUE_F(generator)); EXC_TRACEBACK_F(generator) = EXC_TRACEBACK(thread_state); Py_XINCREF(EXC_TRACEBACK_F(generator)); } #endif // Framed code: // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0])); tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]); tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_1 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->type_description_1 = "Nocc"; generator_heap->exception_lineno = 279; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF(old); } } { PyObject *tmp_assign_source_2; CHECK_OBJECT(generator_heap->tmp_iter_value_0); tmp_assign_source_2 = generator_heap->tmp_iter_value_0; { PyObject *old = generator_heap->var_k; generator_heap->var_k = tmp_assign_source_2; Py_INCREF(generator_heap->var_k); Py_XDECREF(old); } } { PyObject *tmp_expression_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1; if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[54]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 280; generator_heap->type_description_1 = "Nocc"; goto try_except_handler_2; } tmp_getattr_target_1 = Nuitka_Cell_GET(generator->m_closure[2]); CHECK_OBJECT(generator_heap->var_k); tmp_getattr_attr_1 = generator_heap->var_k; tmp_compexpr_left_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, NULL); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 280; generator_heap->type_description_1 = "Nocc"; goto try_except_handler_2; } if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) { Py_DECREF(tmp_compexpr_left_1); FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[99]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 280; generator_heap->type_description_1 = "Nocc"; goto try_except_handler_2; } tmp_getattr_target_2 = Nuitka_Cell_GET(generator->m_closure[1]); CHECK_OBJECT(generator_heap->var_k); tmp_getattr_attr_2 = generator_heap->var_k; tmp_compexpr_right_1 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, NULL); if (tmp_compexpr_right_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); Py_DECREF(tmp_compexpr_left_1); generator_heap->exception_lineno = 280; generator_heap->type_description_1 = "Nocc"; goto try_except_handler_2; } tmp_expression_value_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_left_1); Py_DECREF(tmp_compexpr_right_1); if (tmp_expression_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 280; generator_heap->type_description_1 = "Nocc"; goto try_except_handler_2; } Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_getattr_target_1, sizeof(PyObject *), &tmp_getattr_attr_1, sizeof(PyObject *), &tmp_getattr_target_2, sizeof(PyObject *), &tmp_getattr_attr_2, sizeof(PyObject *), NULL); generator->m_yield_return_index = 1; return tmp_expression_value_1; yield_return_1: Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_getattr_target_1, sizeof(PyObject *), &tmp_getattr_attr_1, sizeof(PyObject *), &tmp_getattr_target_2, sizeof(PyObject *), &tmp_getattr_attr_2, sizeof(PyObject *), NULL); if (yield_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 280; generator_heap->type_description_1 = "Nocc"; goto try_except_handler_2; } tmp_yield_result_1 = yield_return_value; } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 279; generator_heap->type_description_1 = "Nocc"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_1; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto frame_exception_exit_1; // End of try: try_end_1:; Nuitka_Frame_MarkAsNotExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif // Allow re-use of the frame again. Py_DECREF(generator->m_frame); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) { if (generator_heap->exception_tb == NULL) { generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno); } else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) { generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno); } Nuitka_Frame_AttachLocals( generator->m_frame, generator_heap->type_description_1, NULL, generator_heap->var_k, generator->m_closure[2], generator->m_closure[1] ); // Release cached frame if used for exception. if (generator->m_frame == cache_m_frame) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_m_frame); cache_m_frame = NULL; } assertFrameObject(generator->m_frame); } #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif Py_DECREF(generator->m_frame); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_2; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->var_k); generator_heap->var_k = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto function_exception_exit; // End of try: try_end_2:; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; Py_XDECREF(generator_heap->var_k); generator_heap->var_k = NULL; return NULL; function_exception_exit: assert(generator_heap->exception_type); RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb); return NULL; } static PyObject *MAKE_GENERATOR_pynput$_util$$$function__16___eq__$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) { return Nuitka_Generator_New( pynput$_util$$$function__16___eq__$$$genexpr__1_genexpr_context, module_pynput$_util, mod_consts[33], #if PYTHON_VERSION >= 0x350 mod_consts[100], #endif codeobj_8b81a46cbffda69677389410858ff755, closure, 3, sizeof(struct pynput$_util$$$function__16___eq__$$$genexpr__1_genexpr_locals) ); } static PyObject *impl_pynput$_util$$$function__17___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_args = python_pars[1]; PyObject *par_kwargs = python_pars[2]; PyObject *outline_0_var_key = NULL; PyObject *outline_0_var_value = NULL; PyObject *tmp_dictcontraction$tuple_unpack_1__element_1 = NULL; PyObject *tmp_dictcontraction$tuple_unpack_1__element_2 = NULL; PyObject *tmp_dictcontraction$tuple_unpack_1__source_iter = NULL; PyObject *tmp_dictcontraction_1__$0 = NULL; PyObject *tmp_dictcontraction_1__contraction = NULL; PyObject *tmp_dictcontraction_1__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_728de3282dee59da7d51638e630c26e3; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; struct Nuitka_FrameObject *frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; static struct Nuitka_FrameObject *cache_frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2 = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_728de3282dee59da7d51638e630c26e3 = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_728de3282dee59da7d51638e630c26e3)) { Py_XDECREF(cache_frame_728de3282dee59da7d51638e630c26e3); #if _DEBUG_REFCOUNTS if (cache_frame_728de3282dee59da7d51638e630c26e3 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_728de3282dee59da7d51638e630c26e3 = MAKE_FUNCTION_FRAME(codeobj_728de3282dee59da7d51638e630c26e3, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_728de3282dee59da7d51638e630c26e3->m_type_description == NULL); frame_728de3282dee59da7d51638e630c26e3 = cache_frame_728de3282dee59da7d51638e630c26e3; // Push the new frame as the currently active one. pushFrameStack(frame_728de3282dee59da7d51638e630c26e3); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_728de3282dee59da7d51638e630c26e3) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_value_1; PyObject *tmp_object_arg_value_1; PyObject *tmp_call_result_1; tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[101]); if (unlikely(tmp_type_arg_value_1 == NULL)) { tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[101]); } if (tmp_type_arg_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_1 = "oooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_object_arg_value_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER2(tmp_type_arg_value_1, tmp_object_arg_value_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_1 = "oooN"; goto frame_exception_exit_1; } frame_728de3282dee59da7d51638e630c26e3->m_frame.f_lineno = 284; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[37]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_1 = "oooN"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_value_1; PyObject *tmp_called_instance_2; PyObject *tmp_assattr_target_1; tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[48]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 285; type_description_1 = "oooN"; goto frame_exception_exit_1; } frame_728de3282dee59da7d51638e630c26e3->m_frame.f_lineno = 285; tmp_assattr_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[49]); if (tmp_assattr_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 285; type_description_1 = "oooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[102], tmp_assattr_value_1); Py_DECREF(tmp_assattr_value_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 285; type_description_1 = "oooN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_2; PyObject *tmp_called_value_1; PyObject *tmp_assattr_target_2; tmp_called_value_1 = (PyObject *)&PyBaseObject_Type; frame_728de3282dee59da7d51638e630c26e3->m_frame.f_lineno = 286; tmp_assattr_value_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1); if (tmp_assattr_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 286; type_description_1 = "oooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[103], tmp_assattr_value_2); Py_DECREF(tmp_assattr_value_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 286; type_description_1 = "oooN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_3; PyObject *tmp_dircall_arg1_1; PyObject *tmp_expression_value_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_dircall_arg3_1; PyObject *tmp_assattr_target_3; CHECK_OBJECT(par_self); tmp_expression_value_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[104]); if (tmp_dircall_arg1_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 287; type_description_1 = "oooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_args); tmp_dircall_arg2_1 = par_args; // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_dict_arg_1; CHECK_OBJECT(par_kwargs); tmp_dict_arg_1 = par_kwargs; tmp_iter_arg_1 = DICT_ITERITEMS(tmp_dict_arg_1); assert(!(tmp_iter_arg_1 == NULL)); tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 287; type_description_1 = "oooN"; goto try_except_handler_1; } assert(tmp_dictcontraction_1__$0 == NULL); tmp_dictcontraction_1__$0 = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = PyDict_New(); assert(tmp_dictcontraction_1__contraction == NULL); tmp_dictcontraction_1__contraction = tmp_assign_source_2; } if (isFrameUnusable(cache_frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2)) { Py_XDECREF(cache_frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2); #if _DEBUG_REFCOUNTS if (cache_frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2 = MAKE_FUNCTION_FRAME(codeobj_6f6bc3d86d4715916e56dd9c7ad7c4cd, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2->m_type_description == NULL); frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2 = cache_frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2; // Push the new frame as the currently active one. pushFrameStack(frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2) == 2); // Frame stack // Framed code: // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT(tmp_dictcontraction_1__$0); tmp_next_source_1 = tmp_dictcontraction_1__$0; tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_3 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_2 = "ooo"; exception_lineno = 287; goto try_except_handler_2; } } { PyObject *old = tmp_dictcontraction_1__iter_value_0; tmp_dictcontraction_1__iter_value_0 = tmp_assign_source_3; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_iter_arg_2; CHECK_OBJECT(tmp_dictcontraction_1__iter_value_0); tmp_iter_arg_2 = tmp_dictcontraction_1__iter_value_0; tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 287; type_description_2 = "ooo"; goto try_except_handler_3; } { PyObject *old = tmp_dictcontraction$tuple_unpack_1__source_iter; tmp_dictcontraction$tuple_unpack_1__source_iter = tmp_assign_source_4; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_dictcontraction$tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_dictcontraction$tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_5 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_2 = "ooo"; exception_lineno = 287; goto try_except_handler_4; } { PyObject *old = tmp_dictcontraction$tuple_unpack_1__element_1; tmp_dictcontraction$tuple_unpack_1__element_1 = tmp_assign_source_5; Py_XDECREF(old); } } { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_dictcontraction$tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_dictcontraction$tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_6 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_2 = "ooo"; exception_lineno = 287; goto try_except_handler_4; } { PyObject *old = tmp_dictcontraction$tuple_unpack_1__element_2; tmp_dictcontraction$tuple_unpack_1__element_2 = tmp_assign_source_6; Py_XDECREF(old); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_dictcontraction$tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_dictcontraction$tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_2 = "ooo"; exception_lineno = 287; goto try_except_handler_4; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[53]; Py_INCREF(exception_value); exception_tb = NULL; type_description_2 = "ooo"; exception_lineno = 287; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_dictcontraction$tuple_unpack_1__source_iter); Py_DECREF(tmp_dictcontraction$tuple_unpack_1__source_iter); tmp_dictcontraction$tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_3; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_dictcontraction$tuple_unpack_1__element_1); tmp_dictcontraction$tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_dictcontraction$tuple_unpack_1__element_2); tmp_dictcontraction$tuple_unpack_1__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; // End of try: try_end_2:; CHECK_OBJECT(tmp_dictcontraction$tuple_unpack_1__source_iter); Py_DECREF(tmp_dictcontraction$tuple_unpack_1__source_iter); tmp_dictcontraction$tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_dictcontraction$tuple_unpack_1__element_1); tmp_assign_source_7 = tmp_dictcontraction$tuple_unpack_1__element_1; { PyObject *old = outline_0_var_key; outline_0_var_key = tmp_assign_source_7; Py_INCREF(outline_0_var_key); Py_XDECREF(old); } } Py_XDECREF(tmp_dictcontraction$tuple_unpack_1__element_1); tmp_dictcontraction$tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_8; CHECK_OBJECT(tmp_dictcontraction$tuple_unpack_1__element_2); tmp_assign_source_8 = tmp_dictcontraction$tuple_unpack_1__element_2; { PyObject *old = outline_0_var_value; outline_0_var_value = tmp_assign_source_8; Py_INCREF(outline_0_var_value); Py_XDECREF(old); } } Py_XDECREF(tmp_dictcontraction$tuple_unpack_1__element_2); tmp_dictcontraction$tuple_unpack_1__element_2 = NULL; { PyObject *tmp_dictset38_key_1; PyObject *tmp_dictset38_value_1; PyObject *tmp_called_instance_3; PyObject *tmp_args_element_value_1; PyObject *tmp_dictset38_dict_1; CHECK_OBJECT(outline_0_var_key); tmp_dictset38_key_1 = outline_0_var_key; if (par_self == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 288; type_description_2 = "ooo"; goto try_except_handler_2; } tmp_called_instance_3 = par_self; CHECK_OBJECT(outline_0_var_value); tmp_args_element_value_1 = outline_0_var_value; frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2->m_frame.f_lineno = 288; tmp_dictset38_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[105], tmp_args_element_value_1); if (tmp_dictset38_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 288; type_description_2 = "ooo"; goto try_except_handler_2; } CHECK_OBJECT(tmp_dictcontraction_1__contraction); tmp_dictset38_dict_1 = tmp_dictcontraction_1__contraction; tmp_res = PyDict_SetItem(tmp_dictset38_dict_1, tmp_dictset38_key_1, tmp_dictset38_value_1); Py_DECREF(tmp_dictset38_value_1); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 287; type_description_2 = "ooo"; goto try_except_handler_2; } } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 287; type_description_2 = "ooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; CHECK_OBJECT(tmp_dictcontraction_1__contraction); tmp_dircall_arg3_1 = tmp_dictcontraction_1__contraction; Py_INCREF(tmp_dircall_arg3_1); goto try_return_handler_2; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_2:; CHECK_OBJECT(tmp_dictcontraction_1__$0); Py_DECREF(tmp_dictcontraction_1__$0); tmp_dictcontraction_1__$0 = NULL; CHECK_OBJECT(tmp_dictcontraction_1__contraction); Py_DECREF(tmp_dictcontraction_1__contraction); tmp_dictcontraction_1__contraction = NULL; Py_XDECREF(tmp_dictcontraction_1__iter_value_0); tmp_dictcontraction_1__iter_value_0 = NULL; goto frame_return_exit_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_dictcontraction_1__$0); Py_DECREF(tmp_dictcontraction_1__$0); tmp_dictcontraction_1__$0 = NULL; CHECK_OBJECT(tmp_dictcontraction_1__contraction); Py_DECREF(tmp_dictcontraction_1__contraction); tmp_dictcontraction_1__contraction = NULL; Py_XDECREF(tmp_dictcontraction_1__iter_value_0); tmp_dictcontraction_1__iter_value_0 = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_2; // End of try: #if 0 RESTORE_FRAME_EXCEPTION(frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION(frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2, exception_lineno); } else if (exception_tb->tb_frame != &frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2, type_description_2, outline_0_var_key, outline_0_var_value, par_self ); // Release cached frame if used for exception. if (frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2 == cache_frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2); cache_frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2 = NULL; } assertFrameObject(frame_6f6bc3d86d4715916e56dd9c7ad7c4cd_2); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "oooN"; goto try_except_handler_1; skip_nested_handling_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(outline_0_var_key); outline_0_var_key = NULL; Py_XDECREF(outline_0_var_value); outline_0_var_value = NULL; goto outline_result_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(outline_0_var_key); outline_0_var_key = NULL; Py_XDECREF(outline_0_var_value); outline_0_var_value = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto outline_exception_1; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_1:; exception_lineno = 287; goto frame_exception_exit_1; outline_result_1:; Py_INCREF(tmp_dircall_arg2_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_assattr_value_3 = impl___main__$$$function__6_complex_call_helper_star_list_star_dict(dir_call_args); } if (tmp_assattr_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 287; type_description_1 = "oooN"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_value_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 287; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[106], tmp_assattr_value_3); Py_DECREF(tmp_assattr_value_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 287; type_description_1 = "oooN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_4; PyObject *tmp_expression_value_2; PyObject *tmp_expression_value_3; PyObject *tmp_assattr_target_4; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 290; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_expression_value_3 = par_self; tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[106]); if (tmp_expression_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 290; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_assattr_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[67]); Py_DECREF(tmp_expression_value_2); if (tmp_assattr_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 290; type_description_1 = "oooN"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_value_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 290; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[67], tmp_assattr_value_4); Py_DECREF(tmp_assattr_value_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 290; type_description_1 = "oooN"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_728de3282dee59da7d51638e630c26e3); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_728de3282dee59da7d51638e630c26e3); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_728de3282dee59da7d51638e630c26e3, exception_lineno); } else if (exception_tb->tb_frame != &frame_728de3282dee59da7d51638e630c26e3->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_728de3282dee59da7d51638e630c26e3, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_728de3282dee59da7d51638e630c26e3, type_description_1, par_self, par_args, par_kwargs, NULL ); // Release cached frame if used for exception. if (frame_728de3282dee59da7d51638e630c26e3 == cache_frame_728de3282dee59da7d51638e630c26e3) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_728de3282dee59da7d51638e630c26e3); cache_frame_728de3282dee59da7d51638e630c26e3 = NULL; } assertFrameObject(frame_728de3282dee59da7d51638e630c26e3); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_2:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_args); Py_DECREF(par_args); CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_args); Py_DECREF(par_args); CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__18___enter__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_3fbaf0b5370810260188ffe8ff1ef4ed; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_3fbaf0b5370810260188ffe8ff1ef4ed = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_3fbaf0b5370810260188ffe8ff1ef4ed)) { Py_XDECREF(cache_frame_3fbaf0b5370810260188ffe8ff1ef4ed); #if _DEBUG_REFCOUNTS if (cache_frame_3fbaf0b5370810260188ffe8ff1ef4ed == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_3fbaf0b5370810260188ffe8ff1ef4ed = MAKE_FUNCTION_FRAME(codeobj_3fbaf0b5370810260188ffe8ff1ef4ed, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_3fbaf0b5370810260188ffe8ff1ef4ed->m_type_description == NULL); frame_3fbaf0b5370810260188ffe8ff1ef4ed = cache_frame_3fbaf0b5370810260188ffe8ff1ef4ed; // Push the new frame as the currently active one. pushFrameStack(frame_3fbaf0b5370810260188ffe8ff1ef4ed); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_3fbaf0b5370810260188ffe8ff1ef4ed) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_expression_value_1; PyObject *tmp_call_result_1; CHECK_OBJECT(par_self); tmp_expression_value_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[106]); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 293; type_description_1 = "o"; goto frame_exception_exit_1; } frame_3fbaf0b5370810260188ffe8ff1ef4ed->m_frame.f_lineno = 293; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[107]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 293; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } #if 0 RESTORE_FRAME_EXCEPTION(frame_3fbaf0b5370810260188ffe8ff1ef4ed); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_3fbaf0b5370810260188ffe8ff1ef4ed); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_3fbaf0b5370810260188ffe8ff1ef4ed, exception_lineno); } else if (exception_tb->tb_frame != &frame_3fbaf0b5370810260188ffe8ff1ef4ed->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_3fbaf0b5370810260188ffe8ff1ef4ed, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_3fbaf0b5370810260188ffe8ff1ef4ed, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_3fbaf0b5370810260188ffe8ff1ef4ed == cache_frame_3fbaf0b5370810260188ffe8ff1ef4ed) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_3fbaf0b5370810260188ffe8ff1ef4ed); cache_frame_3fbaf0b5370810260188ffe8ff1ef4ed = NULL; } assertFrameObject(frame_3fbaf0b5370810260188ffe8ff1ef4ed); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; CHECK_OBJECT(par_self); tmp_return_value = par_self; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__19___exit__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_args = python_pars[1]; struct Nuitka_FrameObject *frame_17cdc765ed396e028308fe9343498d97; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_17cdc765ed396e028308fe9343498d97 = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_17cdc765ed396e028308fe9343498d97)) { Py_XDECREF(cache_frame_17cdc765ed396e028308fe9343498d97); #if _DEBUG_REFCOUNTS if (cache_frame_17cdc765ed396e028308fe9343498d97 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_17cdc765ed396e028308fe9343498d97 = MAKE_FUNCTION_FRAME(codeobj_17cdc765ed396e028308fe9343498d97, module_pynput$_util, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_17cdc765ed396e028308fe9343498d97->m_type_description == NULL); frame_17cdc765ed396e028308fe9343498d97 = cache_frame_17cdc765ed396e028308fe9343498d97; // Push the new frame as the currently active one. pushFrameStack(frame_17cdc765ed396e028308fe9343498d97); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_17cdc765ed396e028308fe9343498d97) == 2); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_expression_value_1; PyObject *tmp_expression_value_2; PyObject *tmp_dircall_arg2_1; PyObject *tmp_call_result_1; CHECK_OBJECT(par_self); tmp_expression_value_2 = par_self; tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[106]); if (tmp_expression_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 297; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[108]); Py_DECREF(tmp_expression_value_1); if (tmp_dircall_arg1_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 297; type_description_1 = "oo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_args); tmp_dircall_arg2_1 = par_args; Py_INCREF(tmp_dircall_arg2_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1}; tmp_call_result_1 = impl___main__$$$function__4_complex_call_helper_star_list(dir_call_args); } if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 297; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } loop_start_1:; // Tried code: { PyObject *tmp_called_instance_1; PyObject *tmp_expression_value_3; PyObject *tmp_call_result_2; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 302; type_description_1 = "oo"; goto try_except_handler_1; } tmp_expression_value_3 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[102]); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 302; type_description_1 = "oo"; goto try_except_handler_1; } frame_17cdc765ed396e028308fe9343498d97->m_frame.f_lineno = 302; tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[109]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 302; type_description_1 = "oo"; goto try_except_handler_1; } Py_DECREF(tmp_call_result_2); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_1 == NULL) { exception_keeper_tb_1 = MAKE_TRACEBACK(frame_17cdc765ed396e028308fe9343498d97, exception_keeper_lineno_1); } else if (exception_keeper_lineno_1 != 0) { exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_17cdc765ed396e028308fe9343498d97, exception_keeper_lineno_1); } NORMALIZE_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_1, exception_keeper_tb_1); PUBLISH_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); // Tried code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_value_4; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[48]); if (unlikely(tmp_expression_value_4 == NULL)) { tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]); } if (tmp_expression_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 303; type_description_1 = "oo"; goto try_except_handler_2; } tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[110]); if (tmp_compexpr_right_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 303; type_description_1 = "oo"; goto try_except_handler_2; } tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_right_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 303; type_description_1 = "oo"; goto try_except_handler_2; } tmp_condition_result_1 = (tmp_res != 0) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; goto try_break_handler_2; goto branch_end_1; branch_no_1:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 301; } if (exception_tb && exception_tb->tb_frame == &frame_17cdc765ed396e028308fe9343498d97->m_frame) frame_17cdc765ed396e028308fe9343498d97->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oo"; goto try_except_handler_2; branch_end_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // try break handler code: try_break_handler_2:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); goto loop_end_1; // End of try: // End of try: try_end_1:; if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 300; type_description_1 = "oo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; { PyObject *tmp_called_value_1; PyObject *tmp_expression_value_5; PyObject *tmp_expression_value_6; PyObject *tmp_call_result_3; PyObject *tmp_args_element_value_1; PyObject *tmp_expression_value_7; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 306; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_value_6 = par_self; tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[102]); if (tmp_expression_value_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 306; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[63]); Py_DECREF(tmp_expression_value_5); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 306; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_value_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 306; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_value_7 = par_self; tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[103]); if (tmp_args_element_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); exception_lineno = 306; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_17cdc765ed396e028308fe9343498d97->m_frame.f_lineno = 306; tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_element_value_1); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 306; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_3); } #if 0 RESTORE_FRAME_EXCEPTION(frame_17cdc765ed396e028308fe9343498d97); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_17cdc765ed396e028308fe9343498d97); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_17cdc765ed396e028308fe9343498d97, exception_lineno); } else if (exception_tb->tb_frame != &frame_17cdc765ed396e028308fe9343498d97->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_17cdc765ed396e028308fe9343498d97, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_17cdc765ed396e028308fe9343498d97, type_description_1, par_self, par_args ); // Release cached frame if used for exception. if (frame_17cdc765ed396e028308fe9343498d97 == cache_frame_17cdc765ed396e028308fe9343498d97) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_17cdc765ed396e028308fe9343498d97); cache_frame_17cdc765ed396e028308fe9343498d97 = NULL; } assertFrameObject(frame_17cdc765ed396e028308fe9343498d97); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_args); Py_DECREF(par_args); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_args); Py_DECREF(par_args); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__20___iter__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *tmp_return_value = NULL; // Actual function body. CHECK_OBJECT(par_self); tmp_return_value = par_self; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__21___next__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *var_event = NULL; struct Nuitka_FrameObject *frame_ab1228533581846d7be055d5a49114ad; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_ab1228533581846d7be055d5a49114ad = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_ab1228533581846d7be055d5a49114ad)) { Py_XDECREF(cache_frame_ab1228533581846d7be055d5a49114ad); #if _DEBUG_REFCOUNTS if (cache_frame_ab1228533581846d7be055d5a49114ad == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_ab1228533581846d7be055d5a49114ad = MAKE_FUNCTION_FRAME(codeobj_ab1228533581846d7be055d5a49114ad, module_pynput$_util, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_ab1228533581846d7be055d5a49114ad->m_type_description == NULL); frame_ab1228533581846d7be055d5a49114ad = cache_frame_ab1228533581846d7be055d5a49114ad; // Push the new frame as the currently active one. pushFrameStack(frame_ab1228533581846d7be055d5a49114ad); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_ab1228533581846d7be055d5a49114ad) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_value_1; PyObject *tmp_expression_value_1; CHECK_OBJECT(par_self); tmp_expression_value_1 = par_self; tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[2]); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 312; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_ab1228533581846d7be055d5a49114ad->m_frame.f_lineno = 312; tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1); Py_DECREF(tmp_called_value_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 312; type_description_1 = "oo"; goto frame_exception_exit_1; } assert(var_event == NULL); var_event = tmp_assign_source_1; } { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(var_event); tmp_compexpr_left_1 = var_event; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; CHECK_OBJECT(var_event); tmp_return_value = var_event; Py_INCREF(tmp_return_value); goto frame_return_exit_1; goto branch_end_1; branch_no_1:; { PyObject *tmp_raise_type_1; frame_ab1228533581846d7be055d5a49114ad->m_frame.f_lineno = 316; tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_StopIteration); assert(!(tmp_raise_type_1 == NULL)); exception_type = tmp_raise_type_1; exception_lineno = 316; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_end_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_ab1228533581846d7be055d5a49114ad); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_ab1228533581846d7be055d5a49114ad); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_ab1228533581846d7be055d5a49114ad); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_ab1228533581846d7be055d5a49114ad, exception_lineno); } else if (exception_tb->tb_frame != &frame_ab1228533581846d7be055d5a49114ad->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_ab1228533581846d7be055d5a49114ad, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_ab1228533581846d7be055d5a49114ad, type_description_1, par_self, var_event ); // Release cached frame if used for exception. if (frame_ab1228533581846d7be055d5a49114ad == cache_frame_ab1228533581846d7be055d5a49114ad) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_ab1228533581846d7be055d5a49114ad); cache_frame_ab1228533581846d7be055d5a49114ad = NULL; } assertFrameObject(frame_ab1228533581846d7be055d5a49114ad); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(var_event); Py_DECREF(var_event); var_event = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(var_event); var_event = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__22_get(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_timeout = python_pars[1]; PyObject *var_event = NULL; struct Nuitka_FrameObject *frame_67e21eb5c519edb5acef180c6da4f81c; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_67e21eb5c519edb5acef180c6da4f81c = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_67e21eb5c519edb5acef180c6da4f81c)) { Py_XDECREF(cache_frame_67e21eb5c519edb5acef180c6da4f81c); #if _DEBUG_REFCOUNTS if (cache_frame_67e21eb5c519edb5acef180c6da4f81c == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_67e21eb5c519edb5acef180c6da4f81c = MAKE_FUNCTION_FRAME(codeobj_67e21eb5c519edb5acef180c6da4f81c, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_67e21eb5c519edb5acef180c6da4f81c->m_type_description == NULL); frame_67e21eb5c519edb5acef180c6da4f81c = cache_frame_67e21eb5c519edb5acef180c6da4f81c; // Push the new frame as the currently active one. pushFrameStack(frame_67e21eb5c519edb5acef180c6da4f81c); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_67e21eb5c519edb5acef180c6da4f81c) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_value_1; PyObject *tmp_expression_value_1; PyObject *tmp_expression_value_2; PyObject *tmp_kw_call_value_0_1; CHECK_OBJECT(par_self); tmp_expression_value_2 = par_self; tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[102]); if (tmp_expression_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 328; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[2]); Py_DECREF(tmp_expression_value_1); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 328; type_description_1 = "ooo"; goto try_except_handler_2; } CHECK_OBJECT(par_timeout); tmp_kw_call_value_0_1 = par_timeout; frame_67e21eb5c519edb5acef180c6da4f81c->m_frame.f_lineno = 328; { PyObject *kw_values[1] = {tmp_kw_call_value_0_1}; tmp_assign_source_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[111]); } Py_DECREF(tmp_called_value_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 328; type_description_1 = "ooo"; goto try_except_handler_2; } assert(var_event == NULL); var_event = tmp_assign_source_1; } { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_value_3; CHECK_OBJECT(var_event); tmp_compexpr_left_1 = var_event; CHECK_OBJECT(par_self); tmp_expression_value_3 = par_self; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[103]); if (tmp_compexpr_right_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 329; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; Py_DECREF(tmp_compexpr_right_1); if (tmp_condition_result_1 != false) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT(var_event); tmp_return_value = var_event; goto condexpr_end_1; condexpr_false_1:; tmp_return_value = Py_None; condexpr_end_1:; Py_INCREF(tmp_return_value); goto frame_return_exit_1; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_1 == NULL) { exception_keeper_tb_1 = MAKE_TRACEBACK(frame_67e21eb5c519edb5acef180c6da4f81c, exception_keeper_lineno_1); } else if (exception_keeper_lineno_1 != 0) { exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_67e21eb5c519edb5acef180c6da4f81c, exception_keeper_lineno_1); } NORMALIZE_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_1, exception_keeper_tb_1); PUBLISH_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); // Tried code: { bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_expression_value_4; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[48]); if (unlikely(tmp_expression_value_4 == NULL)) { tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]); } if (tmp_expression_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 330; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[110]); if (tmp_compexpr_right_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 330; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_2, tmp_compexpr_right_2); Py_DECREF(tmp_compexpr_right_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 330; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_condition_result_2 = (tmp_res != 0) ? true : false; if (tmp_condition_result_2 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_3; goto branch_end_1; branch_no_1:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 327; } if (exception_tb && exception_tb->tb_frame == &frame_67e21eb5c519edb5acef180c6da4f81c->m_frame) frame_67e21eb5c519edb5acef180c6da4f81c->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooo"; goto try_except_handler_3; branch_end_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_3:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); goto frame_return_exit_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: // End of try: #if 0 RESTORE_FRAME_EXCEPTION(frame_67e21eb5c519edb5acef180c6da4f81c); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_67e21eb5c519edb5acef180c6da4f81c); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_67e21eb5c519edb5acef180c6da4f81c); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_67e21eb5c519edb5acef180c6da4f81c, exception_lineno); } else if (exception_tb->tb_frame != &frame_67e21eb5c519edb5acef180c6da4f81c->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_67e21eb5c519edb5acef180c6da4f81c, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_67e21eb5c519edb5acef180c6da4f81c, type_description_1, par_self, par_timeout, var_event ); // Release cached frame if used for exception. if (frame_67e21eb5c519edb5acef180c6da4f81c == cache_frame_67e21eb5c519edb5acef180c6da4f81c) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_67e21eb5c519edb5acef180c6da4f81c); cache_frame_67e21eb5c519edb5acef180c6da4f81c = NULL; } assertFrameObject(frame_67e21eb5c519edb5acef180c6da4f81c); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(var_event); var_event = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(var_event); var_event = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_timeout); Py_DECREF(par_timeout); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_timeout); Py_DECREF(par_timeout); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__23__event_mapper(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]); struct Nuitka_CellObject *par_event = Nuitka_Cell_New1(python_pars[1]); PyObject *var_inner = NULL; struct Nuitka_FrameObject *frame_136b6196a41dadf718f4a3c04ab6e9b8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_136b6196a41dadf718f4a3c04ab6e9b8 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_136b6196a41dadf718f4a3c04ab6e9b8)) { Py_XDECREF(cache_frame_136b6196a41dadf718f4a3c04ab6e9b8); #if _DEBUG_REFCOUNTS if (cache_frame_136b6196a41dadf718f4a3c04ab6e9b8 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_136b6196a41dadf718f4a3c04ab6e9b8 = MAKE_FUNCTION_FRAME(codeobj_136b6196a41dadf718f4a3c04ab6e9b8, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_136b6196a41dadf718f4a3c04ab6e9b8->m_type_description == NULL); frame_136b6196a41dadf718f4a3c04ab6e9b8 = cache_frame_136b6196a41dadf718f4a3c04ab6e9b8; // Push the new frame as the currently active one. pushFrameStack(frame_136b6196a41dadf718f4a3c04ab6e9b8); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_136b6196a41dadf718f4a3c04ab6e9b8) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_value_1; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_value_1; PyObject *tmp_args_element_value_2; struct Nuitka_CellObject *tmp_closure_1[2]; tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[75]); if (unlikely(tmp_called_instance_1 == NULL)) { tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[75]); } if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 341; type_description_1 = "cco"; goto frame_exception_exit_1; } CHECK_OBJECT(Nuitka_Cell_GET(par_event)); tmp_args_element_value_1 = Nuitka_Cell_GET(par_event); frame_136b6196a41dadf718f4a3c04ab6e9b8->m_frame.f_lineno = 341; tmp_called_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[76], tmp_args_element_value_1); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 341; type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_closure_1[0] = par_event; Py_INCREF(tmp_closure_1[0]); tmp_closure_1[1] = par_self; Py_INCREF(tmp_closure_1[1]); tmp_args_element_value_2 = MAKE_FUNCTION_pynput$_util$$$function__23__event_mapper$$$function__1_inner(tmp_closure_1); frame_136b6196a41dadf718f4a3c04ab6e9b8->m_frame.f_lineno = 341; tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_2); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_element_value_2); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 341; type_description_1 = "cco"; goto frame_exception_exit_1; } assert(var_inner == NULL); var_inner = tmp_assign_source_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_136b6196a41dadf718f4a3c04ab6e9b8); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_136b6196a41dadf718f4a3c04ab6e9b8); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_136b6196a41dadf718f4a3c04ab6e9b8, exception_lineno); } else if (exception_tb->tb_frame != &frame_136b6196a41dadf718f4a3c04ab6e9b8->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_136b6196a41dadf718f4a3c04ab6e9b8, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_136b6196a41dadf718f4a3c04ab6e9b8, type_description_1, par_self, par_event, var_inner ); // Release cached frame if used for exception. if (frame_136b6196a41dadf718f4a3c04ab6e9b8 == cache_frame_136b6196a41dadf718f4a3c04ab6e9b8) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_136b6196a41dadf718f4a3c04ab6e9b8); cache_frame_136b6196a41dadf718f4a3c04ab6e9b8 = NULL; } assertFrameObject(frame_136b6196a41dadf718f4a3c04ab6e9b8); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(var_inner); tmp_return_value = var_inner; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(var_inner); Py_DECREF(var_inner); var_inner = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_event); Py_DECREF(par_event); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_event); Py_DECREF(par_event); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__23__event_mapper$$$function__1_inner(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_args = python_pars[0]; struct Nuitka_FrameObject *frame_811533a22df3ba41d568ff04fc79435d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_811533a22df3ba41d568ff04fc79435d = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_811533a22df3ba41d568ff04fc79435d)) { Py_XDECREF(cache_frame_811533a22df3ba41d568ff04fc79435d); #if _DEBUG_REFCOUNTS if (cache_frame_811533a22df3ba41d568ff04fc79435d == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_811533a22df3ba41d568ff04fc79435d = MAKE_FUNCTION_FRAME(codeobj_811533a22df3ba41d568ff04fc79435d, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_811533a22df3ba41d568ff04fc79435d->m_type_description == NULL); frame_811533a22df3ba41d568ff04fc79435d = cache_frame_811533a22df3ba41d568ff04fc79435d; // Push the new frame as the currently active one. pushFrameStack(frame_811533a22df3ba41d568ff04fc79435d); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_811533a22df3ba41d568ff04fc79435d) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_called_value_1; PyObject *tmp_expression_value_1; PyObject *tmp_expression_value_2; PyObject *tmp_call_result_1; PyObject *tmp_args_value_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg1_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_kwargs_value_1; if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[54]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 344; type_description_1 = "occ"; goto try_except_handler_1; } tmp_expression_value_2 = Nuitka_Cell_GET(self->m_closure[1]); tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[102]); if (tmp_expression_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 344; type_description_1 = "occ"; goto try_except_handler_1; } tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[63]); Py_DECREF(tmp_expression_value_1); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 344; type_description_1 = "occ"; goto try_except_handler_1; } if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { Py_DECREF(tmp_called_value_1); FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[115]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 344; type_description_1 = "occ"; goto try_except_handler_1; } tmp_dircall_arg1_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_args); tmp_dircall_arg2_1 = par_args; Py_INCREF(tmp_dircall_arg1_1); Py_INCREF(tmp_dircall_arg2_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1}; tmp_tuple_element_1 = impl___main__$$$function__4_complex_call_helper_star_list(dir_call_args); } if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_1); exception_lineno = 344; type_description_1 = "occ"; goto try_except_handler_1; } tmp_args_value_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_value_1, 0, tmp_tuple_element_1); tmp_kwargs_value_1 = PyDict_Copy(mod_consts[116]); frame_811533a22df3ba41d568ff04fc79435d->m_frame.f_lineno = 344; tmp_call_result_1 = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1); Py_DECREF(tmp_called_value_1); Py_DECREF(tmp_args_value_1); Py_DECREF(tmp_kwargs_value_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 344; type_description_1 = "occ"; goto try_except_handler_1; } Py_DECREF(tmp_call_result_1); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_1 == NULL) { exception_keeper_tb_1 = MAKE_TRACEBACK(frame_811533a22df3ba41d568ff04fc79435d, exception_keeper_lineno_1); } else if (exception_keeper_lineno_1 != 0) { exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_811533a22df3ba41d568ff04fc79435d, exception_keeper_lineno_1); } NORMALIZE_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_1, exception_keeper_tb_1); PUBLISH_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); // Tried code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_value_3; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[48]); if (unlikely(tmp_expression_value_3 == NULL)) { tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]); } if (tmp_expression_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 345; type_description_1 = "occ"; goto try_except_handler_2; } tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[117]); if (tmp_compexpr_right_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 345; type_description_1 = "occ"; goto try_except_handler_2; } tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_right_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 345; type_description_1 = "occ"; goto try_except_handler_2; } tmp_condition_result_1 = (tmp_res == 0) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 343; } if (exception_tb && exception_tb->tb_frame == &frame_811533a22df3ba41d568ff04fc79435d->m_frame) frame_811533a22df3ba41d568ff04fc79435d->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "occ"; goto try_except_handler_2; branch_no_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); goto try_end_1; NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); return NULL; // End of try: try_end_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_811533a22df3ba41d568ff04fc79435d); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_811533a22df3ba41d568ff04fc79435d); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_811533a22df3ba41d568ff04fc79435d, exception_lineno); } else if (exception_tb->tb_frame != &frame_811533a22df3ba41d568ff04fc79435d->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_811533a22df3ba41d568ff04fc79435d, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_811533a22df3ba41d568ff04fc79435d, type_description_1, par_args, self->m_closure[1], self->m_closure[0] ); // Release cached frame if used for exception. if (frame_811533a22df3ba41d568ff04fc79435d == cache_frame_811533a22df3ba41d568ff04fc79435d) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_811533a22df3ba41d568ff04fc79435d); cache_frame_811533a22df3ba41d568ff04fc79435d = NULL; } assertFrameObject(frame_811533a22df3ba41d568ff04fc79435d); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_args); Py_DECREF(par_args); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_args); Py_DECREF(par_args); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__24__emit(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_action = python_pars[1]; PyObject *par_args = python_pars[2]; PyObject *var_stopped = NULL; PyObject *var_listener = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_for_loop_2__for_iterator = NULL; PyObject *tmp_for_loop_2__iter_value = NULL; struct Nuitka_FrameObject *frame_e9606e78b89c09a5e7fdd36bee647c78; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_e9606e78b89c09a5e7fdd36bee647c78 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; // Actual function body. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = PyList_New(0); assert(var_stopped == NULL); var_stopped = tmp_assign_source_1; } // Tried code: if (isFrameUnusable(cache_frame_e9606e78b89c09a5e7fdd36bee647c78)) { Py_XDECREF(cache_frame_e9606e78b89c09a5e7fdd36bee647c78); #if _DEBUG_REFCOUNTS if (cache_frame_e9606e78b89c09a5e7fdd36bee647c78 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_e9606e78b89c09a5e7fdd36bee647c78 = MAKE_FUNCTION_FRAME(codeobj_e9606e78b89c09a5e7fdd36bee647c78, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_e9606e78b89c09a5e7fdd36bee647c78->m_type_description == NULL); frame_e9606e78b89c09a5e7fdd36bee647c78 = cache_frame_e9606e78b89c09a5e7fdd36bee647c78; // Push the new frame as the currently active one. pushFrameStack(frame_e9606e78b89c09a5e7fdd36bee647c78); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_e9606e78b89c09a5e7fdd36bee647c78) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_1; CHECK_OBJECT(par_self); tmp_called_instance_1 = par_self; frame_e9606e78b89c09a5e7fdd36bee647c78->m_frame.f_lineno = 368; tmp_iter_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[118]); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 368; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 368; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_2; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_3 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooo"; exception_lineno = 368; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_3; Py_XDECREF(old); } } { PyObject *tmp_assign_source_4; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_assign_source_4 = tmp_for_loop_1__iter_value; { PyObject *old = var_listener; var_listener = tmp_assign_source_4; Py_INCREF(var_listener); Py_XDECREF(old); } } // Tried code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_call_result_1; CHECK_OBJECT(var_listener); tmp_getattr_target_1 = var_listener; if (par_action == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[119]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 370; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_getattr_attr_1 = par_action; tmp_dircall_arg1_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, NULL); if (tmp_dircall_arg1_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 370; type_description_1 = "ooooo"; goto try_except_handler_3; } if (par_args == NULL) { Py_DECREF(tmp_dircall_arg1_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[120]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 370; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_dircall_arg2_1 = par_args; Py_INCREF(tmp_dircall_arg2_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1}; tmp_call_result_1 = impl___main__$$$function__4_complex_call_helper_star_list(dir_call_args); } if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 370; type_description_1 = "ooooo"; goto try_except_handler_3; } Py_DECREF(tmp_call_result_1); } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_1 == NULL) { exception_keeper_tb_1 = MAKE_TRACEBACK(frame_e9606e78b89c09a5e7fdd36bee647c78, exception_keeper_lineno_1); } else if (exception_keeper_lineno_1 != 0) { exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_e9606e78b89c09a5e7fdd36bee647c78, exception_keeper_lineno_1); } NORMALIZE_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_1, exception_keeper_tb_1); PUBLISH_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); // Tried code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_value_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); CHECK_OBJECT(var_listener); tmp_expression_value_1 = var_listener; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[60]); if (tmp_compexpr_right_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 371; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_right_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 371; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_condition_result_1 = (tmp_res != 0) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_called_instance_2; PyObject *tmp_call_result_2; PyObject *tmp_args_element_value_1; if (var_stopped == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[121]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 372; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_called_instance_2 = var_stopped; CHECK_OBJECT(var_listener); tmp_args_element_value_1 = var_listener; frame_e9606e78b89c09a5e7fdd36bee647c78->m_frame.f_lineno = 372; tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[23], tmp_args_element_value_1); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 372; type_description_1 = "ooooo"; goto try_except_handler_4; } Py_DECREF(tmp_call_result_2); } goto branch_end_1; branch_no_1:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 369; } if (exception_tb && exception_tb->tb_frame == &frame_e9606e78b89c09a5e7fdd36bee647c78->m_frame) frame_e9606e78b89c09a5e7fdd36bee647c78->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooo"; goto try_except_handler_4; branch_end_1:; goto try_end_2; // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; // End of try: try_end_2:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); goto try_end_1; NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); return NULL; // End of try: try_end_1:; if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 368; type_description_1 = "ooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; CHECK_OBJECT(tmp_for_loop_1__for_iterator); Py_DECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; // End of try: try_end_3:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; CHECK_OBJECT(tmp_for_loop_1__for_iterator); Py_DECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_2; if (var_stopped == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[121]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 373; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_iter_arg_2 = var_stopped; tmp_assign_source_5 = MAKE_ITERATOR(tmp_iter_arg_2); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 373; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert(tmp_for_loop_2__for_iterator == NULL); tmp_for_loop_2__for_iterator = tmp_assign_source_5; } // Tried code: loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_6; CHECK_OBJECT(tmp_for_loop_2__for_iterator); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_6 = ITERATOR_NEXT(tmp_next_source_2); if (tmp_assign_source_6 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooo"; exception_lineno = 373; goto try_except_handler_5; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_6; Py_XDECREF(old); } } { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_for_loop_2__iter_value); tmp_assign_source_7 = tmp_for_loop_2__iter_value; { PyObject *old = var_listener; var_listener = tmp_assign_source_7; Py_INCREF(var_listener); Py_XDECREF(old); } } { PyObject *tmp_called_instance_3; PyObject *tmp_call_result_3; CHECK_OBJECT(var_listener); tmp_called_instance_3 = var_listener; frame_e9606e78b89c09a5e7fdd36bee647c78->m_frame.f_lineno = 374; tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[69]); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 374; type_description_1 = "ooooo"; goto try_except_handler_5; } Py_DECREF(tmp_call_result_3); } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 373; type_description_1 = "ooooo"; goto try_except_handler_5; } goto loop_start_2; loop_end_2:; goto try_end_4; // Exception handler code: try_except_handler_5:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_2__iter_value); tmp_for_loop_2__iter_value = NULL; CHECK_OBJECT(tmp_for_loop_2__for_iterator); Py_DECREF(tmp_for_loop_2__for_iterator); tmp_for_loop_2__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; // End of try: try_end_4:; #if 0 RESTORE_FRAME_EXCEPTION(frame_e9606e78b89c09a5e7fdd36bee647c78); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_e9606e78b89c09a5e7fdd36bee647c78); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_e9606e78b89c09a5e7fdd36bee647c78, exception_lineno); } else if (exception_tb->tb_frame != &frame_e9606e78b89c09a5e7fdd36bee647c78->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_e9606e78b89c09a5e7fdd36bee647c78, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_e9606e78b89c09a5e7fdd36bee647c78, type_description_1, par_self, par_action, par_args, var_stopped, var_listener ); // Release cached frame if used for exception. if (frame_e9606e78b89c09a5e7fdd36bee647c78 == cache_frame_e9606e78b89c09a5e7fdd36bee647c78) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_e9606e78b89c09a5e7fdd36bee647c78); cache_frame_e9606e78b89c09a5e7fdd36bee647c78 = NULL; } assertFrameObject(frame_e9606e78b89c09a5e7fdd36bee647c78); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; Py_XDECREF(tmp_for_loop_2__iter_value); tmp_for_loop_2__iter_value = NULL; CHECK_OBJECT(tmp_for_loop_2__for_iterator); Py_DECREF(tmp_for_loop_2__for_iterator); tmp_for_loop_2__for_iterator = NULL; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(var_stopped); var_stopped = NULL; Py_XDECREF(var_listener); var_listener = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(var_stopped); var_stopped = NULL; Py_XDECREF(var_listener); var_listener = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_action); Py_DECREF(par_action); CHECK_OBJECT(par_args); Py_DECREF(par_args); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); CHECK_OBJECT(par_action); Py_DECREF(par_action); CHECK_OBJECT(par_args); Py_DECREF(par_args); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__25__receiver(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_cls = python_pars[0]; PyObject *par_listener_class = python_pars[1]; PyObject *var_receive = NULL; struct Nuitka_FrameObject *frame_22366e4fdbb718f90e9d4a8fa6ab7422; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; int tmp_res; static struct Nuitka_FrameObject *cache_frame_22366e4fdbb718f90e9d4a8fa6ab7422 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_22366e4fdbb718f90e9d4a8fa6ab7422)) { Py_XDECREF(cache_frame_22366e4fdbb718f90e9d4a8fa6ab7422); #if _DEBUG_REFCOUNTS if (cache_frame_22366e4fdbb718f90e9d4a8fa6ab7422 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_22366e4fdbb718f90e9d4a8fa6ab7422 = MAKE_FUNCTION_FRAME(codeobj_22366e4fdbb718f90e9d4a8fa6ab7422, module_pynput$_util, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_22366e4fdbb718f90e9d4a8fa6ab7422->m_type_description == NULL); frame_22366e4fdbb718f90e9d4a8fa6ab7422 = cache_frame_22366e4fdbb718f90e9d4a8fa6ab7422; // Push the new frame as the currently active one. pushFrameStack(frame_22366e4fdbb718f90e9d4a8fa6ab7422); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_22366e4fdbb718f90e9d4a8fa6ab7422) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_value_1; tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[123]); if (unlikely(tmp_called_instance_1 == NULL)) { tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[123]); } if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 387; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_value_1 = MAKE_FUNCTION_pynput$_util$$$function__25__receiver$$$function__1_receive(); frame_22366e4fdbb718f90e9d4a8fa6ab7422->m_frame.f_lineno = 387; tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[124], tmp_args_element_value_1); Py_DECREF(tmp_args_element_value_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 387; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert(var_receive == NULL); var_receive = tmp_assign_source_1; } { PyObject *tmp_assattr_value_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(var_receive); tmp_assattr_value_1 = var_receive; CHECK_OBJECT(par_listener_class); tmp_assattr_target_1 = par_listener_class; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[128], tmp_assattr_value_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 398; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_2; PyObject *tmp_assattr_target_2; CHECK_OBJECT(par_cls); tmp_assattr_value_2 = par_cls; CHECK_OBJECT(par_listener_class); tmp_assattr_target_2 = par_listener_class; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[129], tmp_assattr_value_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 399; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { bool tmp_condition_result_1; PyObject *tmp_operand_value_1; PyObject *tmp_expression_value_1; PyObject *tmp_attribute_value_1; CHECK_OBJECT(par_cls); tmp_expression_value_1 = par_cls; tmp_attribute_value_1 = mod_consts[130]; tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_1, tmp_attribute_value_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 402; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_operand_value_1 = (tmp_res != 0) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_value_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 402; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = (tmp_res == 0) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assattr_value_3; PyObject *tmp_assattr_target_3; tmp_assattr_value_3 = PySet_New(NULL); CHECK_OBJECT(par_cls); tmp_assattr_target_3 = par_cls; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[130], tmp_assattr_value_3); Py_DECREF(tmp_assattr_value_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 403; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_4; PyObject *tmp_called_instance_2; PyObject *tmp_assattr_target_4; tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[42]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 404; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_22366e4fdbb718f90e9d4a8fa6ab7422->m_frame.f_lineno = 404; tmp_assattr_value_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[131]); if (tmp_assattr_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 404; type_description_1 = "ooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_cls); tmp_assattr_target_4 = par_cls; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[132], tmp_assattr_value_4); Py_DECREF(tmp_assattr_value_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 404; type_description_1 = "ooo"; goto frame_exception_exit_1; } } branch_no_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_22366e4fdbb718f90e9d4a8fa6ab7422); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_22366e4fdbb718f90e9d4a8fa6ab7422); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_22366e4fdbb718f90e9d4a8fa6ab7422, exception_lineno); } else if (exception_tb->tb_frame != &frame_22366e4fdbb718f90e9d4a8fa6ab7422->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_22366e4fdbb718f90e9d4a8fa6ab7422, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_22366e4fdbb718f90e9d4a8fa6ab7422, type_description_1, par_cls, par_listener_class, var_receive ); // Release cached frame if used for exception. if (frame_22366e4fdbb718f90e9d4a8fa6ab7422 == cache_frame_22366e4fdbb718f90e9d4a8fa6ab7422) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_22366e4fdbb718f90e9d4a8fa6ab7422); cache_frame_22366e4fdbb718f90e9d4a8fa6ab7422 = NULL; } assertFrameObject(frame_22366e4fdbb718f90e9d4a8fa6ab7422); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(par_listener_class); tmp_return_value = par_listener_class; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(var_receive); Py_DECREF(var_receive); var_receive = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(var_receive); var_receive = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_cls); Py_DECREF(par_cls); CHECK_OBJECT(par_listener_class); Py_DECREF(par_listener_class); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_cls); Py_DECREF(par_cls); CHECK_OBJECT(par_listener_class); Py_DECREF(par_listener_class); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__25__receiver$$$function__1_receive(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]); PyObject *tmp_return_value = NULL; // Actual function body. { struct Nuitka_CellObject *tmp_closure_1[1]; tmp_closure_1[0] = par_self; Py_INCREF(tmp_closure_1[0]); tmp_return_value = MAKE_GENERATOR_pynput$_util$$$function__25__receiver$$$function__1_receive$$$genobj__1_receive(tmp_closure_1); goto function_return_exit; } NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_self); Py_DECREF(par_self); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } struct pynput$_util$$$function__25__receiver$$$function__1_receive$$$genobj__1_receive_locals { char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; bool tmp_result; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; }; static PyObject *pynput$_util$$$function__25__receiver$$$function__1_receive$$$genobj__1_receive_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) { CHECK_OBJECT(generator); assert(Nuitka_Generator_Check((PyObject *)generator)); CHECK_OBJECT_X(yield_return_value); // Heap access if used. struct pynput$_util$$$function__25__receiver$$$function__1_receive$$$genobj__1_receive_locals *generator_heap = (struct pynput$_util$$$function__25__receiver$$$function__1_receive$$$genobj__1_receive_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual generator function body. if (isFrameUnusable(cache_m_frame)) { Py_XDECREF(cache_m_frame); #if _DEBUG_REFCOUNTS if (cache_m_frame == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_31256d6568de8a8f8d77c4869827254d, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF(generator->m_frame); assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack #if PYTHON_VERSION >= 0x340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif assert(generator->m_frame->m_frame.f_back == NULL); Py_CLEAR(generator->m_frame->m_frame.f_back); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF(generator->m_frame->m_frame.f_back); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF(generator->m_frame); Nuitka_Frame_MarkAsExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); EXC_TYPE_F(generator) = EXC_TYPE(thread_state); if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL; Py_XINCREF(EXC_TYPE_F(generator)); EXC_VALUE_F(generator) = EXC_VALUE(thread_state); Py_XINCREF(EXC_VALUE_F(generator)); EXC_TRACEBACK_F(generator) = EXC_TRACEBACK(thread_state); Py_XINCREF(EXC_TRACEBACK_F(generator)); } #endif // Framed code: { PyObject *tmp_called_value_1; PyObject *tmp_expression_value_1; PyObject *tmp_expression_value_2; PyObject *tmp_call_result_1; PyObject *tmp_args_element_value_1; if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[54]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 392; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } tmp_expression_value_2 = Nuitka_Cell_GET(generator->m_closure[0]); tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[129]); if (tmp_expression_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 392; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[134]); Py_DECREF(tmp_expression_value_1); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 392; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) { Py_DECREF(tmp_called_value_1); FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[54]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 392; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } tmp_args_element_value_1 = Nuitka_Cell_GET(generator->m_closure[0]); generator->m_frame->m_frame.f_lineno = 392; tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1); Py_DECREF(tmp_called_value_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 392; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } // Tried code: { PyObject *tmp_expression_value_3; NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1; tmp_expression_value_3 = Py_None; Py_INCREF(tmp_expression_value_3); generator->m_yield_return_index = 1; return tmp_expression_value_3; yield_return_1: if (yield_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 394; generator_heap->type_description_1 = "c"; goto try_except_handler_1; } tmp_yield_result_1 = yield_return_value; } goto try_end_1; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&generator_heap->exception_preserved_type_1, &generator_heap->exception_preserved_value_1, &generator_heap->exception_preserved_tb_1); if (generator_heap->exception_keeper_tb_1 == NULL) { generator_heap->exception_keeper_tb_1 = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_keeper_lineno_1); } else if (generator_heap->exception_keeper_lineno_1 != 0) { generator_heap->exception_keeper_tb_1 = ADD_TRACEBACK(generator_heap->exception_keeper_tb_1, generator->m_frame, generator_heap->exception_keeper_lineno_1); } NORMALIZE_EXCEPTION(&generator_heap->exception_keeper_type_1, &generator_heap->exception_keeper_value_1, &generator_heap->exception_keeper_tb_1); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(generator_heap->exception_keeper_value_1, generator_heap->exception_keeper_tb_1); PUBLISH_EXCEPTION(&generator_heap->exception_keeper_type_1, &generator_heap->exception_keeper_value_1, &generator_heap->exception_keeper_tb_1); // Tried code: { PyObject *tmp_called_value_2; PyObject *tmp_expression_value_4; PyObject *tmp_expression_value_5; PyObject *tmp_call_result_2; PyObject *tmp_args_element_value_2; if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[54]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 396; generator_heap->type_description_1 = "c"; goto try_except_handler_2; } tmp_expression_value_5 = Nuitka_Cell_GET(generator->m_closure[0]); tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[129]); if (tmp_expression_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 396; generator_heap->type_description_1 = "c"; goto try_except_handler_2; } tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[135]); Py_DECREF(tmp_expression_value_4); if (tmp_called_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 396; generator_heap->type_description_1 = "c"; goto try_except_handler_2; } if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) { Py_DECREF(tmp_called_value_2); FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[54]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 396; generator_heap->type_description_1 = "c"; goto try_except_handler_2; } tmp_args_element_value_2 = Nuitka_Cell_GET(generator->m_closure[0]); generator->m_frame->m_frame.f_lineno = 396; tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2); Py_DECREF(tmp_called_value_2); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 396; generator_heap->type_description_1 = "c"; goto try_except_handler_2; } Py_DECREF(tmp_call_result_2); } generator_heap->tmp_result = RERAISE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); if (unlikely(generator_heap->tmp_result == false)) { generator_heap->exception_lineno = 393; } if (generator_heap->exception_tb && generator_heap->exception_tb->tb_frame == &generator->m_frame->m_frame) generator->m_frame->m_frame.f_lineno = generator_heap->exception_tb->tb_lineno; generator_heap->type_description_1 = "c"; goto try_except_handler_2; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(generator_heap->exception_preserved_type_1, generator_heap->exception_preserved_value_1, generator_heap->exception_preserved_tb_1); // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: // End of try: try_end_1:; { PyObject *tmp_called_value_3; PyObject *tmp_expression_value_6; PyObject *tmp_expression_value_7; PyObject *tmp_call_result_3; PyObject *tmp_args_element_value_3; if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[54]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 396; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } tmp_expression_value_7 = Nuitka_Cell_GET(generator->m_closure[0]); tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[129]); if (tmp_expression_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 396; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[135]); Py_DECREF(tmp_expression_value_6); if (tmp_called_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 396; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) { Py_DECREF(tmp_called_value_3); FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[54]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 396; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } tmp_args_element_value_3 = Nuitka_Cell_GET(generator->m_closure[0]); generator->m_frame->m_frame.f_lineno = 396; tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3); Py_DECREF(tmp_called_value_3); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 396; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_3); } Nuitka_Frame_MarkAsNotExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif // Allow re-use of the frame again. Py_DECREF(generator->m_frame); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) { if (generator_heap->exception_tb == NULL) { generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno); } else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) { generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno); } Nuitka_Frame_AttachLocals( generator->m_frame, generator_heap->type_description_1, generator->m_closure[0] ); // Release cached frame if used for exception. if (generator->m_frame == cache_m_frame) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_m_frame); cache_m_frame = NULL; } assertFrameObject(generator->m_frame); } #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif Py_DECREF(generator->m_frame); // Return the error. goto function_exception_exit; frame_no_exception_1:; return NULL; function_exception_exit: assert(generator_heap->exception_type); RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb); return NULL; } static PyObject *MAKE_GENERATOR_pynput$_util$$$function__25__receiver$$$function__1_receive$$$genobj__1_receive(struct Nuitka_CellObject **closure) { return Nuitka_Generator_New( pynput$_util$$$function__25__receiver$$$function__1_receive$$$genobj__1_receive_context, module_pynput$_util, mod_consts[126], #if PYTHON_VERSION >= 0x350 mod_consts[127], #endif codeobj_31256d6568de8a8f8d77c4869827254d, closure, 1, sizeof(struct pynput$_util$$$function__25__receiver$$$function__1_receive$$$genobj__1_receive_locals) ); } static PyObject *impl_pynput$_util$$$function__26__listeners(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_CellObject *par_cls = Nuitka_Cell_New1(python_pars[0]); PyObject *tmp_return_value = NULL; // Actual function body. { struct Nuitka_CellObject *tmp_closure_1[1]; tmp_closure_1[0] = par_cls; Py_INCREF(tmp_closure_1[0]); tmp_return_value = MAKE_GENERATOR_pynput$_util$$$function__26__listeners$$$genobj__1__listeners(tmp_closure_1); goto function_return_exit; } NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_cls); Py_DECREF(par_cls); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } struct pynput$_util$$$function__26__listeners$$$genobj__1__listeners_locals { PyObject *var_listener; PyObject *tmp_for_loop_1__for_iterator; PyObject *tmp_for_loop_1__iter_value; PyObject *tmp_with_1__enter; PyObject *tmp_with_1__exit; nuitka_bool tmp_with_1__indicator; PyObject *tmp_with_1__source; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; int tmp_res; PyObject *tmp_return_value; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; bool tmp_result; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; int exception_keeper_lineno_6; }; static PyObject *pynput$_util$$$function__26__listeners$$$genobj__1__listeners_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) { CHECK_OBJECT(generator); assert(Nuitka_Generator_Check((PyObject *)generator)); CHECK_OBJECT_X(yield_return_value); // Heap access if used. struct pynput$_util$$$function__26__listeners$$$genobj__1__listeners_locals *generator_heap = (struct pynput$_util$$$function__26__listeners$$$genobj__1__listeners_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_listener = NULL; generator_heap->tmp_for_loop_1__for_iterator = NULL; generator_heap->tmp_for_loop_1__iter_value = NULL; generator_heap->tmp_with_1__enter = NULL; generator_heap->tmp_with_1__exit = NULL; generator_heap->tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; generator_heap->tmp_with_1__source = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; generator_heap->tmp_return_value = NULL; // Actual generator function body. // Tried code: if (isFrameUnusable(cache_m_frame)) { Py_XDECREF(cache_m_frame); #if _DEBUG_REFCOUNTS if (cache_m_frame == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_897039a709ce791ad8525781e623bacf, module_pynput$_util, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF(generator->m_frame); assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack #if PYTHON_VERSION >= 0x340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif assert(generator->m_frame->m_frame.f_back == NULL); Py_CLEAR(generator->m_frame->m_frame.f_back); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF(generator->m_frame->m_frame.f_back); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF(generator->m_frame); Nuitka_Frame_MarkAsExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); EXC_TYPE_F(generator) = EXC_TYPE(thread_state); if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL; Py_XINCREF(EXC_TYPE_F(generator)); EXC_VALUE_F(generator) = EXC_VALUE(thread_state); Py_XINCREF(EXC_VALUE_F(generator)); EXC_TRACEBACK_F(generator) = EXC_TRACEBACK(thread_state); Py_XINCREF(EXC_TRACEBACK_F(generator)); } #endif // Framed code: { bool tmp_condition_result_1; PyObject *tmp_operand_value_1; PyObject *tmp_expression_value_1; if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[83]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 417; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_expression_value_1 = Nuitka_Cell_GET(generator->m_closure[0]); tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[130]); if (tmp_operand_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 417; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } generator_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_1); Py_DECREF(tmp_operand_value_1); if (generator_heap->tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 417; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_condition_result_1 = (generator_heap->tmp_res == 0) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; generator_heap->tmp_return_value = Py_None; Py_INCREF(generator_heap->tmp_return_value); goto frame_return_exit_1; branch_no_1:; // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_expression_value_2; if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[83]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 419; generator_heap->type_description_1 = "co"; goto try_except_handler_2; } tmp_expression_value_2 = Nuitka_Cell_GET(generator->m_closure[0]); tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[132]); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 419; generator_heap->type_description_1 = "co"; goto try_except_handler_2; } assert(generator_heap->tmp_with_1__source == NULL); generator_heap->tmp_with_1__source = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_value_1; PyObject *tmp_expression_value_3; CHECK_OBJECT(generator_heap->tmp_with_1__source); tmp_expression_value_3 = generator_heap->tmp_with_1__source; tmp_called_value_1 = LOOKUP_SPECIAL(tmp_expression_value_3, mod_consts[107]); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 419; generator_heap->type_description_1 = "co"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 419; tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1); Py_DECREF(tmp_called_value_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 419; generator_heap->type_description_1 = "co"; goto try_except_handler_2; } assert(generator_heap->tmp_with_1__enter == NULL); generator_heap->tmp_with_1__enter = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_expression_value_4; CHECK_OBJECT(generator_heap->tmp_with_1__source); tmp_expression_value_4 = generator_heap->tmp_with_1__source; tmp_assign_source_3 = LOOKUP_SPECIAL(tmp_expression_value_4, mod_consts[108]); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 419; generator_heap->type_description_1 = "co"; goto try_except_handler_2; } assert(generator_heap->tmp_with_1__exit == NULL); generator_heap->tmp_with_1__exit = tmp_assign_source_3; } { nuitka_bool tmp_assign_source_4; tmp_assign_source_4 = NUITKA_BOOL_TRUE; generator_heap->tmp_with_1__indicator = tmp_assign_source_4; } // Tried code: // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_1; PyObject *tmp_expression_value_5; if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[83]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 420; generator_heap->type_description_1 = "co"; goto try_except_handler_4; } tmp_expression_value_5 = Nuitka_Cell_GET(generator->m_closure[0]); tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[130]); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 420; generator_heap->type_description_1 = "co"; goto try_except_handler_4; } tmp_assign_source_5 = MAKE_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 420; generator_heap->type_description_1 = "co"; goto try_except_handler_4; } assert(generator_heap->tmp_for_loop_1__for_iterator == NULL); generator_heap->tmp_for_loop_1__for_iterator = tmp_assign_source_5; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_6; CHECK_OBJECT(generator_heap->tmp_for_loop_1__for_iterator); tmp_next_source_1 = generator_heap->tmp_for_loop_1__for_iterator; tmp_assign_source_6 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_6 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->type_description_1 = "co"; generator_heap->exception_lineno = 420; goto try_except_handler_5; } } { PyObject *old = generator_heap->tmp_for_loop_1__iter_value; generator_heap->tmp_for_loop_1__iter_value = tmp_assign_source_6; Py_XDECREF(old); } } { PyObject *tmp_assign_source_7; CHECK_OBJECT(generator_heap->tmp_for_loop_1__iter_value); tmp_assign_source_7 = generator_heap->tmp_for_loop_1__iter_value; { PyObject *old = generator_heap->var_listener; generator_heap->var_listener = tmp_assign_source_7; Py_INCREF(generator_heap->var_listener); Py_XDECREF(old); } } { PyObject *tmp_expression_value_6; NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1; CHECK_OBJECT(generator_heap->var_listener); tmp_expression_value_6 = generator_heap->var_listener; Py_INCREF(tmp_expression_value_6); generator->m_yield_return_index = 1; return tmp_expression_value_6; yield_return_1: if (yield_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 421; generator_heap->type_description_1 = "co"; goto try_except_handler_5; } tmp_yield_result_1 = yield_return_value; } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 420; generator_heap->type_description_1 = "co"; goto try_except_handler_5; } goto loop_start_1; loop_end_1:; goto try_end_1; // Exception handler code: try_except_handler_5:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->tmp_for_loop_1__iter_value); generator_heap->tmp_for_loop_1__iter_value = NULL; CHECK_OBJECT(generator_heap->tmp_for_loop_1__for_iterator); Py_DECREF(generator_heap->tmp_for_loop_1__for_iterator); generator_heap->tmp_for_loop_1__for_iterator = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto try_except_handler_4; // End of try: try_end_1:; Py_XDECREF(generator_heap->tmp_for_loop_1__iter_value); generator_heap->tmp_for_loop_1__iter_value = NULL; CHECK_OBJECT(generator_heap->tmp_for_loop_1__for_iterator); Py_DECREF(generator_heap->tmp_for_loop_1__for_iterator); generator_heap->tmp_for_loop_1__for_iterator = NULL; goto try_end_2; // Exception handler code: try_except_handler_4:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&generator_heap->exception_preserved_type_1, &generator_heap->exception_preserved_value_1, &generator_heap->exception_preserved_tb_1); if (generator_heap->exception_keeper_tb_2 == NULL) { generator_heap->exception_keeper_tb_2 = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_keeper_lineno_2); } else if (generator_heap->exception_keeper_lineno_2 != 0) { generator_heap->exception_keeper_tb_2 = ADD_TRACEBACK(generator_heap->exception_keeper_tb_2, generator->m_frame, generator_heap->exception_keeper_lineno_2); } NORMALIZE_EXCEPTION(&generator_heap->exception_keeper_type_2, &generator_heap->exception_keeper_value_2, &generator_heap->exception_keeper_tb_2); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(generator_heap->exception_keeper_value_2, generator_heap->exception_keeper_tb_2); PUBLISH_EXCEPTION(&generator_heap->exception_keeper_type_2, &generator_heap->exception_keeper_value_2, &generator_heap->exception_keeper_tb_2); // Tried code: { bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_BaseException; generator_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_1, tmp_compexpr_right_1); assert(!(generator_heap->tmp_res == -1)); tmp_condition_result_2 = (generator_heap->tmp_res != 0) ? true : false; if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { nuitka_bool tmp_assign_source_8; tmp_assign_source_8 = NUITKA_BOOL_FALSE; generator_heap->tmp_with_1__indicator = tmp_assign_source_8; } { bool tmp_condition_result_3; PyObject *tmp_operand_value_2; PyObject *tmp_called_value_2; PyObject *tmp_args_element_value_1; PyObject *tmp_args_element_value_2; PyObject *tmp_args_element_value_3; CHECK_OBJECT(generator_heap->tmp_with_1__exit); tmp_called_value_2 = generator_heap->tmp_with_1__exit; tmp_args_element_value_1 = EXC_TYPE(PyThreadState_GET()); tmp_args_element_value_2 = EXC_VALUE(PyThreadState_GET()); tmp_args_element_value_3 = EXC_TRACEBACK(PyThreadState_GET()); generator->m_frame->m_frame.f_lineno = 420; { PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3}; tmp_operand_value_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args); } if (tmp_operand_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 420; generator_heap->type_description_1 = "co"; goto try_except_handler_6; } generator_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_2); Py_DECREF(tmp_operand_value_2); if (generator_heap->tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 420; generator_heap->type_description_1 = "co"; goto try_except_handler_6; } tmp_condition_result_3 = (generator_heap->tmp_res == 0) ? true : false; if (tmp_condition_result_3 != false) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; generator_heap->tmp_result = RERAISE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); if (unlikely(generator_heap->tmp_result == false)) { generator_heap->exception_lineno = 420; } if (generator_heap->exception_tb && generator_heap->exception_tb->tb_frame == &generator->m_frame->m_frame) generator->m_frame->m_frame.f_lineno = generator_heap->exception_tb->tb_lineno; generator_heap->type_description_1 = "co"; goto try_except_handler_6; branch_no_3:; goto branch_end_2; branch_no_2:; generator_heap->tmp_result = RERAISE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); if (unlikely(generator_heap->tmp_result == false)) { generator_heap->exception_lineno = 419; } if (generator_heap->exception_tb && generator_heap->exception_tb->tb_frame == &generator->m_frame->m_frame) generator->m_frame->m_frame.f_lineno = generator_heap->exception_tb->tb_lineno; generator_heap->type_description_1 = "co"; goto try_except_handler_6; branch_end_2:; goto try_end_3; // Exception handler code: try_except_handler_6:; generator_heap->exception_keeper_type_3 = generator_heap->exception_type; generator_heap->exception_keeper_value_3 = generator_heap->exception_value; generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_3 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(generator_heap->exception_preserved_type_1, generator_heap->exception_preserved_value_1, generator_heap->exception_preserved_tb_1); // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_3; generator_heap->exception_value = generator_heap->exception_keeper_value_3; generator_heap->exception_tb = generator_heap->exception_keeper_tb_3; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3; goto try_except_handler_3; // End of try: try_end_3:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(generator_heap->exception_preserved_type_1, generator_heap->exception_preserved_value_1, generator_heap->exception_preserved_tb_1); goto try_end_2; NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); return NULL; // End of try: try_end_2:; goto try_end_4; // Exception handler code: try_except_handler_3:; generator_heap->exception_keeper_type_4 = generator_heap->exception_type; generator_heap->exception_keeper_value_4 = generator_heap->exception_value; generator_heap->exception_keeper_tb_4 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_4 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { bool tmp_condition_result_4; nuitka_bool tmp_compexpr_left_2; nuitka_bool tmp_compexpr_right_2; assert(generator_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_2 = generator_heap->tmp_with_1__indicator; tmp_compexpr_right_2 = NUITKA_BOOL_TRUE; tmp_condition_result_4 = (tmp_compexpr_left_2 == tmp_compexpr_right_2) ? true : false; if (tmp_condition_result_4 != false) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; { PyObject *tmp_called_value_3; PyObject *tmp_call_result_1; CHECK_OBJECT(generator_heap->tmp_with_1__exit); tmp_called_value_3 = generator_heap->tmp_with_1__exit; generator->m_frame->m_frame.f_lineno = 420; tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_3, mod_consts[137]); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); Py_DECREF(generator_heap->exception_keeper_type_4); Py_XDECREF(generator_heap->exception_keeper_value_4); Py_XDECREF(generator_heap->exception_keeper_tb_4); generator_heap->exception_lineno = 420; generator_heap->type_description_1 = "co"; goto try_except_handler_2; } Py_DECREF(tmp_call_result_1); } branch_no_4:; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_4; generator_heap->exception_value = generator_heap->exception_keeper_value_4; generator_heap->exception_tb = generator_heap->exception_keeper_tb_4; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_4; goto try_except_handler_2; // End of try: try_end_4:; { bool tmp_condition_result_5; nuitka_bool tmp_compexpr_left_3; nuitka_bool tmp_compexpr_right_3; assert(generator_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_3 = generator_heap->tmp_with_1__indicator; tmp_compexpr_right_3 = NUITKA_BOOL_TRUE; tmp_condition_result_5 = (tmp_compexpr_left_3 == tmp_compexpr_right_3) ? true : false; if (tmp_condition_result_5 != false) { goto branch_yes_5; } else { goto branch_no_5; } } branch_yes_5:; { PyObject *tmp_called_value_4; PyObject *tmp_call_result_2; CHECK_OBJECT(generator_heap->tmp_with_1__exit); tmp_called_value_4 = generator_heap->tmp_with_1__exit; generator->m_frame->m_frame.f_lineno = 420; tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[137]); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 420; generator_heap->type_description_1 = "co"; goto try_except_handler_2; } Py_DECREF(tmp_call_result_2); } branch_no_5:; goto try_end_5; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_5 = generator_heap->exception_type; generator_heap->exception_keeper_value_5 = generator_heap->exception_value; generator_heap->exception_keeper_tb_5 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_5 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->tmp_with_1__source); generator_heap->tmp_with_1__source = NULL; Py_XDECREF(generator_heap->tmp_with_1__enter); generator_heap->tmp_with_1__enter = NULL; Py_XDECREF(generator_heap->tmp_with_1__exit); generator_heap->tmp_with_1__exit = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_5; generator_heap->exception_value = generator_heap->exception_keeper_value_5; generator_heap->exception_tb = generator_heap->exception_keeper_tb_5; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_5; goto frame_exception_exit_1; // End of try: try_end_5:; Nuitka_Frame_MarkAsNotExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif // Allow re-use of the frame again. Py_DECREF(generator->m_frame); goto frame_no_exception_1; frame_return_exit_1:; #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif Py_DECREF(generator->m_frame); goto function_return_exit; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) { if (generator_heap->exception_tb == NULL) { generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno); } else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) { generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno); } Nuitka_Frame_AttachLocals( generator->m_frame, generator_heap->type_description_1, generator->m_closure[0], generator_heap->var_listener ); // Release cached frame if used for exception. if (generator->m_frame == cache_m_frame) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_m_frame); cache_m_frame = NULL; } assertFrameObject(generator->m_frame); } #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif Py_DECREF(generator->m_frame); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_6; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_6 = generator_heap->exception_type; generator_heap->exception_keeper_value_6 = generator_heap->exception_value; generator_heap->exception_keeper_tb_6 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_6 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->var_listener); generator_heap->var_listener = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_6; generator_heap->exception_value = generator_heap->exception_keeper_value_6; generator_heap->exception_tb = generator_heap->exception_keeper_tb_6; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_6; goto function_exception_exit; // End of try: try_end_6:; CHECK_OBJECT(generator_heap->tmp_with_1__source); Py_DECREF(generator_heap->tmp_with_1__source); generator_heap->tmp_with_1__source = NULL; CHECK_OBJECT(generator_heap->tmp_with_1__enter); Py_DECREF(generator_heap->tmp_with_1__enter); generator_heap->tmp_with_1__enter = NULL; Py_XDECREF(generator_heap->tmp_with_1__exit); generator_heap->tmp_with_1__exit = NULL; Py_XDECREF(generator_heap->var_listener); generator_heap->var_listener = NULL; return NULL; function_exception_exit: assert(generator_heap->exception_type); RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb); return NULL; NUITKA_CANNOT_GET_HERE("Generator must have exited already."); return NULL; function_return_exit: #if PYTHON_VERSION >= 0x300 generator->m_returned = generator_heap->tmp_return_value; #endif return NULL; } static PyObject *MAKE_GENERATOR_pynput$_util$$$function__26__listeners$$$genobj__1__listeners(struct Nuitka_CellObject **closure) { return Nuitka_Generator_New( pynput$_util$$$function__26__listeners$$$genobj__1__listeners_context, module_pynput$_util, mod_consts[118], #if PYTHON_VERSION >= 0x350 mod_consts[138], #endif codeobj_897039a709ce791ad8525781e623bacf, closure, 1, sizeof(struct pynput$_util$$$function__26__listeners$$$genobj__1__listeners_locals) ); } static PyObject *impl_pynput$_util$$$function__27__add_listener(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_cls = python_pars[0]; PyObject *par_listener = python_pars[1]; PyObject *tmp_with_1__enter = NULL; PyObject *tmp_with_1__exit = NULL; nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; PyObject *tmp_with_1__source = NULL; struct Nuitka_FrameObject *frame_55f135896e15ce82200ab44b05409e9d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_55f135896e15ce82200ab44b05409e9d = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_55f135896e15ce82200ab44b05409e9d)) { Py_XDECREF(cache_frame_55f135896e15ce82200ab44b05409e9d); #if _DEBUG_REFCOUNTS if (cache_frame_55f135896e15ce82200ab44b05409e9d == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_55f135896e15ce82200ab44b05409e9d = MAKE_FUNCTION_FRAME(codeobj_55f135896e15ce82200ab44b05409e9d, module_pynput$_util, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_55f135896e15ce82200ab44b05409e9d->m_type_description == NULL); frame_55f135896e15ce82200ab44b05409e9d = cache_frame_55f135896e15ce82200ab44b05409e9d; // Push the new frame as the currently active one. pushFrameStack(frame_55f135896e15ce82200ab44b05409e9d); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_55f135896e15ce82200ab44b05409e9d) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_expression_value_1; CHECK_OBJECT(par_cls); tmp_expression_value_1 = par_cls; tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[132]); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_1 = "oo"; goto try_except_handler_1; } assert(tmp_with_1__source == NULL); tmp_with_1__source = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_value_1; PyObject *tmp_expression_value_2; CHECK_OBJECT(tmp_with_1__source); tmp_expression_value_2 = tmp_with_1__source; tmp_called_value_1 = LOOKUP_SPECIAL(tmp_expression_value_2, mod_consts[107]); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_1 = "oo"; goto try_except_handler_1; } frame_55f135896e15ce82200ab44b05409e9d->m_frame.f_lineno = 429; tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1); Py_DECREF(tmp_called_value_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_1 = "oo"; goto try_except_handler_1; } assert(tmp_with_1__enter == NULL); tmp_with_1__enter = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_expression_value_3; CHECK_OBJECT(tmp_with_1__source); tmp_expression_value_3 = tmp_with_1__source; tmp_assign_source_3 = LOOKUP_SPECIAL(tmp_expression_value_3, mod_consts[108]); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_1 = "oo"; goto try_except_handler_1; } assert(tmp_with_1__exit == NULL); tmp_with_1__exit = tmp_assign_source_3; } { nuitka_bool tmp_assign_source_4; tmp_assign_source_4 = NUITKA_BOOL_TRUE; tmp_with_1__indicator = tmp_assign_source_4; } // Tried code: // Tried code: { PyObject *tmp_called_instance_1; PyObject *tmp_expression_value_4; PyObject *tmp_call_result_1; PyObject *tmp_args_element_value_1; CHECK_OBJECT(par_cls); tmp_expression_value_4 = par_cls; tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[130]); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 430; type_description_1 = "oo"; goto try_except_handler_3; } CHECK_OBJECT(par_listener); tmp_args_element_value_1 = par_listener; frame_55f135896e15ce82200ab44b05409e9d->m_frame.f_lineno = 430; tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[139], tmp_args_element_value_1); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 430; type_description_1 = "oo"; goto try_except_handler_3; } Py_DECREF(tmp_call_result_1); } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_1 == NULL) { exception_keeper_tb_1 = MAKE_TRACEBACK(frame_55f135896e15ce82200ab44b05409e9d, exception_keeper_lineno_1); } else if (exception_keeper_lineno_1 != 0) { exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_55f135896e15ce82200ab44b05409e9d, exception_keeper_lineno_1); } NORMALIZE_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_1, exception_keeper_tb_1); PUBLISH_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); // Tried code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_BaseException; tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_1, tmp_compexpr_right_1); assert(!(tmp_res == -1)); tmp_condition_result_1 = (tmp_res != 0) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { nuitka_bool tmp_assign_source_5; tmp_assign_source_5 = NUITKA_BOOL_FALSE; tmp_with_1__indicator = tmp_assign_source_5; } { bool tmp_condition_result_2; PyObject *tmp_operand_value_1; PyObject *tmp_called_value_2; PyObject *tmp_args_element_value_2; PyObject *tmp_args_element_value_3; PyObject *tmp_args_element_value_4; CHECK_OBJECT(tmp_with_1__exit); tmp_called_value_2 = tmp_with_1__exit; tmp_args_element_value_2 = EXC_TYPE(PyThreadState_GET()); tmp_args_element_value_3 = EXC_VALUE(PyThreadState_GET()); tmp_args_element_value_4 = EXC_TRACEBACK(PyThreadState_GET()); frame_55f135896e15ce82200ab44b05409e9d->m_frame.f_lineno = 430; { PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4}; tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args); } if (tmp_operand_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 430; type_description_1 = "oo"; goto try_except_handler_4; } tmp_res = CHECK_IF_TRUE(tmp_operand_value_1); Py_DECREF(tmp_operand_value_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 430; type_description_1 = "oo"; goto try_except_handler_4; } tmp_condition_result_2 = (tmp_res == 0) ? true : false; if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 430; } if (exception_tb && exception_tb->tb_frame == &frame_55f135896e15ce82200ab44b05409e9d->m_frame) frame_55f135896e15ce82200ab44b05409e9d->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oo"; goto try_except_handler_4; branch_no_2:; goto branch_end_1; branch_no_1:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 429; } if (exception_tb && exception_tb->tb_frame == &frame_55f135896e15ce82200ab44b05409e9d->m_frame) frame_55f135896e15ce82200ab44b05409e9d->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oo"; goto try_except_handler_4; branch_end_1:; goto try_end_2; // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; // End of try: try_end_2:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); goto try_end_1; NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); return NULL; // End of try: try_end_1:; goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { bool tmp_condition_result_3; nuitka_bool tmp_compexpr_left_2; nuitka_bool tmp_compexpr_right_2; assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_2 = tmp_with_1__indicator; tmp_compexpr_right_2 = NUITKA_BOOL_TRUE; tmp_condition_result_3 = (tmp_compexpr_left_2 == tmp_compexpr_right_2) ? true : false; if (tmp_condition_result_3 != false) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_called_value_3; PyObject *tmp_call_result_2; CHECK_OBJECT(tmp_with_1__exit); tmp_called_value_3 = tmp_with_1__exit; frame_55f135896e15ce82200ab44b05409e9d->m_frame.f_lineno = 430; tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_3, mod_consts[137]); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(exception_keeper_type_3); Py_XDECREF(exception_keeper_value_3); Py_XDECREF(exception_keeper_tb_3); exception_lineno = 430; type_description_1 = "oo"; goto try_except_handler_1; } Py_DECREF(tmp_call_result_2); } branch_no_3:; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_1; // End of try: try_end_3:; { bool tmp_condition_result_4; nuitka_bool tmp_compexpr_left_3; nuitka_bool tmp_compexpr_right_3; assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_3 = tmp_with_1__indicator; tmp_compexpr_right_3 = NUITKA_BOOL_TRUE; tmp_condition_result_4 = (tmp_compexpr_left_3 == tmp_compexpr_right_3) ? true : false; if (tmp_condition_result_4 != false) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; { PyObject *tmp_called_value_4; PyObject *tmp_call_result_3; CHECK_OBJECT(tmp_with_1__exit); tmp_called_value_4 = tmp_with_1__exit; frame_55f135896e15ce82200ab44b05409e9d->m_frame.f_lineno = 430; tmp_call_result_3 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[137]); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 430; type_description_1 = "oo"; goto try_except_handler_1; } Py_DECREF(tmp_call_result_3); } branch_no_4:; goto try_end_4; // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_with_1__source); tmp_with_1__source = NULL; Py_XDECREF(tmp_with_1__enter); tmp_with_1__enter = NULL; Py_XDECREF(tmp_with_1__exit); tmp_with_1__exit = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; // End of try: try_end_4:; #if 0 RESTORE_FRAME_EXCEPTION(frame_55f135896e15ce82200ab44b05409e9d); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_55f135896e15ce82200ab44b05409e9d); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_55f135896e15ce82200ab44b05409e9d, exception_lineno); } else if (exception_tb->tb_frame != &frame_55f135896e15ce82200ab44b05409e9d->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_55f135896e15ce82200ab44b05409e9d, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_55f135896e15ce82200ab44b05409e9d, type_description_1, par_cls, par_listener ); // Release cached frame if used for exception. if (frame_55f135896e15ce82200ab44b05409e9d == cache_frame_55f135896e15ce82200ab44b05409e9d) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_55f135896e15ce82200ab44b05409e9d); cache_frame_55f135896e15ce82200ab44b05409e9d = NULL; } assertFrameObject(frame_55f135896e15ce82200ab44b05409e9d); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; CHECK_OBJECT(tmp_with_1__source); Py_DECREF(tmp_with_1__source); tmp_with_1__source = NULL; CHECK_OBJECT(tmp_with_1__enter); Py_DECREF(tmp_with_1__enter); tmp_with_1__enter = NULL; Py_XDECREF(tmp_with_1__exit); tmp_with_1__exit = NULL; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_cls); Py_DECREF(par_cls); CHECK_OBJECT(par_listener); Py_DECREF(par_listener); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_cls); Py_DECREF(par_cls); CHECK_OBJECT(par_listener); Py_DECREF(par_listener); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_pynput$_util$$$function__28__remove_listener(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_cls = python_pars[0]; PyObject *par_listener = python_pars[1]; PyObject *tmp_with_1__enter = NULL; PyObject *tmp_with_1__exit = NULL; nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; PyObject *tmp_with_1__source = NULL; struct Nuitka_FrameObject *frame_9891e1a1601c0d108437b85bccda21b0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_9891e1a1601c0d108437b85bccda21b0 = NULL; PyObject *tmp_return_value = NULL; // Actual function body. if (isFrameUnusable(cache_frame_9891e1a1601c0d108437b85bccda21b0)) { Py_XDECREF(cache_frame_9891e1a1601c0d108437b85bccda21b0); #if _DEBUG_REFCOUNTS if (cache_frame_9891e1a1601c0d108437b85bccda21b0 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_9891e1a1601c0d108437b85bccda21b0 = MAKE_FUNCTION_FRAME(codeobj_9891e1a1601c0d108437b85bccda21b0, module_pynput$_util, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_9891e1a1601c0d108437b85bccda21b0->m_type_description == NULL); frame_9891e1a1601c0d108437b85bccda21b0 = cache_frame_9891e1a1601c0d108437b85bccda21b0; // Push the new frame as the currently active one. pushFrameStack(frame_9891e1a1601c0d108437b85bccda21b0); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_9891e1a1601c0d108437b85bccda21b0) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_expression_value_1; CHECK_OBJECT(par_cls); tmp_expression_value_1 = par_cls; tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[132]); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 438; type_description_1 = "oo"; goto try_except_handler_1; } assert(tmp_with_1__source == NULL); tmp_with_1__source = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_value_1; PyObject *tmp_expression_value_2; CHECK_OBJECT(tmp_with_1__source); tmp_expression_value_2 = tmp_with_1__source; tmp_called_value_1 = LOOKUP_SPECIAL(tmp_expression_value_2, mod_consts[107]); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 438; type_description_1 = "oo"; goto try_except_handler_1; } frame_9891e1a1601c0d108437b85bccda21b0->m_frame.f_lineno = 438; tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1); Py_DECREF(tmp_called_value_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 438; type_description_1 = "oo"; goto try_except_handler_1; } assert(tmp_with_1__enter == NULL); tmp_with_1__enter = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_expression_value_3; CHECK_OBJECT(tmp_with_1__source); tmp_expression_value_3 = tmp_with_1__source; tmp_assign_source_3 = LOOKUP_SPECIAL(tmp_expression_value_3, mod_consts[108]); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 438; type_description_1 = "oo"; goto try_except_handler_1; } assert(tmp_with_1__exit == NULL); tmp_with_1__exit = tmp_assign_source_3; } { nuitka_bool tmp_assign_source_4; tmp_assign_source_4 = NUITKA_BOOL_TRUE; tmp_with_1__indicator = tmp_assign_source_4; } // Tried code: // Tried code: { PyObject *tmp_called_instance_1; PyObject *tmp_expression_value_4; PyObject *tmp_call_result_1; PyObject *tmp_args_element_value_1; CHECK_OBJECT(par_cls); tmp_expression_value_4 = par_cls; tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[130]); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 439; type_description_1 = "oo"; goto try_except_handler_3; } CHECK_OBJECT(par_listener); tmp_args_element_value_1 = par_listener; frame_9891e1a1601c0d108437b85bccda21b0->m_frame.f_lineno = 439; tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[141], tmp_args_element_value_1); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 439; type_description_1 = "oo"; goto try_except_handler_3; } Py_DECREF(tmp_call_result_1); } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_1 == NULL) { exception_keeper_tb_1 = MAKE_TRACEBACK(frame_9891e1a1601c0d108437b85bccda21b0, exception_keeper_lineno_1); } else if (exception_keeper_lineno_1 != 0) { exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_9891e1a1601c0d108437b85bccda21b0, exception_keeper_lineno_1); } NORMALIZE_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_1, exception_keeper_tb_1); PUBLISH_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1); // Tried code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_BaseException; tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_1, tmp_compexpr_right_1); assert(!(tmp_res == -1)); tmp_condition_result_1 = (tmp_res != 0) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { nuitka_bool tmp_assign_source_5; tmp_assign_source_5 = NUITKA_BOOL_FALSE; tmp_with_1__indicator = tmp_assign_source_5; } { bool tmp_condition_result_2; PyObject *tmp_operand_value_1; PyObject *tmp_called_value_2; PyObject *tmp_args_element_value_2; PyObject *tmp_args_element_value_3; PyObject *tmp_args_element_value_4; CHECK_OBJECT(tmp_with_1__exit); tmp_called_value_2 = tmp_with_1__exit; tmp_args_element_value_2 = EXC_TYPE(PyThreadState_GET()); tmp_args_element_value_3 = EXC_VALUE(PyThreadState_GET()); tmp_args_element_value_4 = EXC_TRACEBACK(PyThreadState_GET()); frame_9891e1a1601c0d108437b85bccda21b0->m_frame.f_lineno = 439; { PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4}; tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args); } if (tmp_operand_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 439; type_description_1 = "oo"; goto try_except_handler_4; } tmp_res = CHECK_IF_TRUE(tmp_operand_value_1); Py_DECREF(tmp_operand_value_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 439; type_description_1 = "oo"; goto try_except_handler_4; } tmp_condition_result_2 = (tmp_res == 0) ? true : false; if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 439; } if (exception_tb && exception_tb->tb_frame == &frame_9891e1a1601c0d108437b85bccda21b0->m_frame) frame_9891e1a1601c0d108437b85bccda21b0->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oo"; goto try_except_handler_4; branch_no_2:; goto branch_end_1; branch_no_1:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 438; } if (exception_tb && exception_tb->tb_frame == &frame_9891e1a1601c0d108437b85bccda21b0->m_frame) frame_9891e1a1601c0d108437b85bccda21b0->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oo"; goto try_except_handler_4; branch_end_1:; goto try_end_2; // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; // End of try: try_end_2:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); goto try_end_1; NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); return NULL; // End of try: try_end_1:; goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { bool tmp_condition_result_3; nuitka_bool tmp_compexpr_left_2; nuitka_bool tmp_compexpr_right_2; assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_2 = tmp_with_1__indicator; tmp_compexpr_right_2 = NUITKA_BOOL_TRUE; tmp_condition_result_3 = (tmp_compexpr_left_2 == tmp_compexpr_right_2) ? true : false; if (tmp_condition_result_3 != false) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_called_value_3; PyObject *tmp_call_result_2; CHECK_OBJECT(tmp_with_1__exit); tmp_called_value_3 = tmp_with_1__exit; frame_9891e1a1601c0d108437b85bccda21b0->m_frame.f_lineno = 439; tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_3, mod_consts[137]); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(exception_keeper_type_3); Py_XDECREF(exception_keeper_value_3); Py_XDECREF(exception_keeper_tb_3); exception_lineno = 439; type_description_1 = "oo"; goto try_except_handler_1; } Py_DECREF(tmp_call_result_2); } branch_no_3:; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_1; // End of try: try_end_3:; { bool tmp_condition_result_4; nuitka_bool tmp_compexpr_left_3; nuitka_bool tmp_compexpr_right_3; assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_3 = tmp_with_1__indicator; tmp_compexpr_right_3 = NUITKA_BOOL_TRUE; tmp_condition_result_4 = (tmp_compexpr_left_3 == tmp_compexpr_right_3) ? true : false; if (tmp_condition_result_4 != false) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; { PyObject *tmp_called_value_4; PyObject *tmp_call_result_3; CHECK_OBJECT(tmp_with_1__exit); tmp_called_value_4 = tmp_with_1__exit; frame_9891e1a1601c0d108437b85bccda21b0->m_frame.f_lineno = 439; tmp_call_result_3 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[137]); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 439; type_description_1 = "oo"; goto try_except_handler_1; } Py_DECREF(tmp_call_result_3); } branch_no_4:; goto try_end_4; // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_with_1__source); tmp_with_1__source = NULL; Py_XDECREF(tmp_with_1__enter); tmp_with_1__enter = NULL; Py_XDECREF(tmp_with_1__exit); tmp_with_1__exit = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; // End of try: try_end_4:; #if 0 RESTORE_FRAME_EXCEPTION(frame_9891e1a1601c0d108437b85bccda21b0); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_9891e1a1601c0d108437b85bccda21b0); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_9891e1a1601c0d108437b85bccda21b0, exception_lineno); } else if (exception_tb->tb_frame != &frame_9891e1a1601c0d108437b85bccda21b0->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_9891e1a1601c0d108437b85bccda21b0, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_9891e1a1601c0d108437b85bccda21b0, type_description_1, par_cls, par_listener ); // Release cached frame if used for exception. if (frame_9891e1a1601c0d108437b85bccda21b0 == cache_frame_9891e1a1601c0d108437b85bccda21b0) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_9891e1a1601c0d108437b85bccda21b0); cache_frame_9891e1a1601c0d108437b85bccda21b0 = NULL; } assertFrameObject(frame_9891e1a1601c0d108437b85bccda21b0); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; CHECK_OBJECT(tmp_with_1__source); Py_DECREF(tmp_with_1__source); tmp_with_1__source = NULL; CHECK_OBJECT(tmp_with_1__enter); Py_DECREF(tmp_with_1__enter); tmp_with_1__enter = NULL; Py_XDECREF(tmp_with_1__exit); tmp_with_1__exit = NULL; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto function_return_exit; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: CHECK_OBJECT(par_cls); Py_DECREF(par_cls); CHECK_OBJECT(par_listener); Py_DECREF(par_listener); assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. CHECK_OBJECT(par_cls); Py_DECREF(par_cls); CHECK_OBJECT(par_listener); Py_DECREF(par_listener); // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__10__emitter() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__10__emitter, mod_consts[192], #if PYTHON_VERSION >= 0x300 mod_consts[193], #endif codeobj_fb9e7c20320ac0c10957be788324aab2, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[78], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__10__emitter$$$function__1_inner(struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__10__emitter$$$function__1_inner, mod_consts[57], #if PYTHON_VERSION >= 0x300 mod_consts[77], #endif codeobj_0aa2e43f4f0e4a41f37116c6f0fcc602, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, closure, 2 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__11__mark_ready() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__11__mark_ready, mod_consts[194], #if PYTHON_VERSION >= 0x300 mod_consts[195], #endif codeobj_48b645427c384f51035e1ebc613527b3, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[86], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__12__run() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__12__run, mod_consts[73], #if PYTHON_VERSION >= 0x300 mod_consts[196], #endif codeobj_a429142c036cc16c340b60edc220b9ad, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[87], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__13__stop_platform() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__13__stop_platform, mod_consts[65], #if PYTHON_VERSION >= 0x300 mod_consts[197], #endif codeobj_66e9b9d7f63d6f6a308b8f8e68b30666, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[88], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__14_join() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__14_join, mod_consts[89], #if PYTHON_VERSION >= 0x300 mod_consts[198], #endif codeobj_8712f2ef9b4f2624671dd68b8bfb553c, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__15___str__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__15___str__, mod_consts[204], #if PYTHON_VERSION >= 0x300 mod_consts[205], #endif codeobj_6989749273065ad564fba338ffcea87f, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__16___eq__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__16___eq__, mod_consts[206], #if PYTHON_VERSION >= 0x300 mod_consts[207], #endif codeobj_1c48cb08d433e05558203094bf9dbd14, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__17___init__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__17___init__, mod_consts[37], #if PYTHON_VERSION >= 0x300 mod_consts[208], #endif codeobj_728de3282dee59da7d51638e630c26e3, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__18___enter__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__18___enter__, mod_consts[107], #if PYTHON_VERSION >= 0x300 mod_consts[209], #endif codeobj_3fbaf0b5370810260188ffe8ff1ef4ed, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__19___exit__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__19___exit__, mod_consts[108], #if PYTHON_VERSION >= 0x300 mod_consts[210], #endif codeobj_17cdc765ed396e028308fe9343498d97, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__1_backend() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__1_backend, mod_consts[161], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_929f54d50cb069b77a4b2cc413d0bd7f, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[32], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__20___iter__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__20___iter__, mod_consts[211], #if PYTHON_VERSION >= 0x300 mod_consts[212], #endif codeobj_32be657066c77bebc98761935e14bd96, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__21___next__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__21___next__, mod_consts[213], #if PYTHON_VERSION >= 0x300 mod_consts[214], #endif codeobj_ab1228533581846d7be055d5a49114ad, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__22_get(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__22_get, mod_consts[2], #if PYTHON_VERSION >= 0x300 mod_consts[215], #endif codeobj_67e21eb5c519edb5acef180c6da4f81c, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[112], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__23__event_mapper() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__23__event_mapper, mod_consts[105], #if PYTHON_VERSION >= 0x300 mod_consts[216], #endif codeobj_136b6196a41dadf718f4a3c04ab6e9b8, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[114], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__23__event_mapper$$$function__1_inner(struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__23__event_mapper$$$function__1_inner, mod_consts[57], #if PYTHON_VERSION >= 0x300 mod_consts[113], #endif codeobj_811533a22df3ba41d568ff04fc79435d, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, closure, 2 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__24__emit() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__24__emit, mod_consts[219], #if PYTHON_VERSION >= 0x300 mod_consts[220], #endif codeobj_e9606e78b89c09a5e7fdd36bee647c78, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[122], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__25__receiver() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__25__receiver, mod_consts[221], #if PYTHON_VERSION >= 0x300 mod_consts[222], #endif codeobj_22366e4fdbb718f90e9d4a8fa6ab7422, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[133], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__25__receiver$$$function__1_receive() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__25__receiver$$$function__1_receive, mod_consts[126], #if PYTHON_VERSION >= 0x300 mod_consts[127], #endif codeobj_31256d6568de8a8f8d77c4869827254d, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[125], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__26__listeners() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__26__listeners, mod_consts[118], #if PYTHON_VERSION >= 0x300 mod_consts[138], #endif codeobj_897039a709ce791ad8525781e623bacf, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[136], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__27__add_listener() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__27__add_listener, mod_consts[134], #if PYTHON_VERSION >= 0x300 mod_consts[223], #endif codeobj_55f135896e15ce82200ab44b05409e9d, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[140], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__28__remove_listener() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__28__remove_listener, mod_consts[135], #if PYTHON_VERSION >= 0x300 mod_consts[224], #endif codeobj_9891e1a1601c0d108437b85bccda21b0, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[142], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__2___init__(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__2___init__, mod_consts[37], #if PYTHON_VERSION >= 0x300 mod_consts[179], #endif codeobj_5430d782033d9a401e028c1b1428e702, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__2___init__$$$function__1_wrapper(struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__2___init__$$$function__1_wrapper, mod_consts[38], #if PYTHON_VERSION >= 0x300 mod_consts[39], #endif codeobj_ecadc2737a8d0530f097fd400e1052f0, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__2___init__$$$function__1_wrapper$$$function__1_inner(struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__2___init__$$$function__1_wrapper$$$function__1_inner, mod_consts[57], #if PYTHON_VERSION >= 0x300 mod_consts[58], #endif codeobj_cdb867885f4c534e1b7a22f063549191, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, closure, 2 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__2___init__$$$function__2_lambda() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( NULL, mod_consts[55], #if PYTHON_VERSION >= 0x300 mod_consts[56], #endif codeobj_7ef3df841a2728058037a8466e430f22, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__3_suppress() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__3_suppress, mod_consts[181], #if PYTHON_VERSION >= 0x300 mod_consts[182], #endif codeobj_c465f72392fdc0a88e312cc6bd8c9e07, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[61], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__4_running() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__4_running, mod_consts[183], #if PYTHON_VERSION >= 0x300 mod_consts[184], #endif codeobj_69b6a3d9ff114ed090c5062480c90140, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[62], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__5_stop() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__5_stop, mod_consts[69], #if PYTHON_VERSION >= 0x300 mod_consts[185], #endif codeobj_49b8a8aaeeab4c2cb80744514d5913d3, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[66], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__6___enter__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__6___enter__, mod_consts[107], #if PYTHON_VERSION >= 0x300 mod_consts[186], #endif codeobj_a276523c14ab364fbdba25d51b46ce81, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__7___exit__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__7___exit__, mod_consts[108], #if PYTHON_VERSION >= 0x300 mod_consts[187], #endif codeobj_7263c060940bbeefb136899683399409, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__8_wait() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__8_wait, mod_consts[68], #if PYTHON_VERSION >= 0x300 mod_consts[188], #endif codeobj_3d01e20aa6ad592b170ea881146db0ee, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[72], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_pynput$_util$$$function__9_run() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_pynput$_util$$$function__9_run, mod_consts[189], #if PYTHON_VERSION >= 0x300 mod_consts[190], #endif codeobj_2ac8918fc71646b4b8b26717a1370b0e, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_pynput$_util, mod_consts[74], NULL, 0 ); return (PyObject *)result; } extern void _initCompiledCellType(); extern void _initCompiledGeneratorType(); extern void _initCompiledFunctionType(); extern void _initCompiledMethodType(); extern void _initCompiledFrameType(); extern PyTypeObject Nuitka_Loader_Type; #ifdef _NUITKA_PLUGIN_DILL_ENABLED // Provide a way to create find a function via its C code and create it back // in another process, useful for multiprocessing extensions like dill extern void registerDillPluginTables(char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function); function_impl_code functable_pynput$_util[] = { impl_pynput$_util$$$function__2___init__$$$function__1_wrapper, NULL, impl_pynput$_util$$$function__2___init__$$$function__1_wrapper$$$function__1_inner, impl_pynput$_util$$$function__10__emitter$$$function__1_inner, impl_pynput$_util$$$function__23__event_mapper$$$function__1_inner, impl_pynput$_util$$$function__25__receiver$$$function__1_receive, impl_pynput$_util$$$function__1_backend, impl_pynput$_util$$$function__2___init__, impl_pynput$_util$$$function__3_suppress, impl_pynput$_util$$$function__4_running, impl_pynput$_util$$$function__5_stop, impl_pynput$_util$$$function__6___enter__, impl_pynput$_util$$$function__7___exit__, impl_pynput$_util$$$function__8_wait, impl_pynput$_util$$$function__9_run, impl_pynput$_util$$$function__10__emitter, impl_pynput$_util$$$function__11__mark_ready, impl_pynput$_util$$$function__12__run, impl_pynput$_util$$$function__13__stop_platform, impl_pynput$_util$$$function__14_join, impl_pynput$_util$$$function__15___str__, impl_pynput$_util$$$function__16___eq__, impl_pynput$_util$$$function__17___init__, impl_pynput$_util$$$function__18___enter__, impl_pynput$_util$$$function__19___exit__, impl_pynput$_util$$$function__20___iter__, impl_pynput$_util$$$function__21___next__, impl_pynput$_util$$$function__22_get, impl_pynput$_util$$$function__23__event_mapper, impl_pynput$_util$$$function__24__emit, impl_pynput$_util$$$function__25__receiver, impl_pynput$_util$$$function__26__listeners, impl_pynput$_util$$$function__27__add_listener, impl_pynput$_util$$$function__28__remove_listener, NULL }; static char const *_reduce_compiled_function_argnames[] = { "func", NULL }; static PyObject *_reduce_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) { PyObject *func; if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:reduce_compiled_function", (char **)_reduce_compiled_function_argnames, &func, NULL)) { return NULL; } if (Nuitka_Function_Check(func) == false) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "not a compiled function"); return NULL; } struct Nuitka_FunctionObject *function = (struct Nuitka_FunctionObject *)func; function_impl_code *current = functable_pynput$_util; int offset = 0; while (*current != NULL) { if (*current == function->m_c_code) { break; } current += 1; offset += 1; } if (*current == NULL) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Cannot find compiled function in module."); return NULL; } PyObject *code_object_desc = PyTuple_New(6); PyTuple_SET_ITEM0(code_object_desc, 0, function->m_code_object->co_filename); PyTuple_SET_ITEM0(code_object_desc, 1, function->m_code_object->co_name); PyTuple_SET_ITEM(code_object_desc, 2, PyLong_FromLong(function->m_code_object->co_firstlineno)); PyTuple_SET_ITEM0(code_object_desc, 3, function->m_code_object->co_varnames); PyTuple_SET_ITEM(code_object_desc, 4, PyLong_FromLong(function->m_code_object->co_argcount)); PyTuple_SET_ITEM(code_object_desc, 5, PyLong_FromLong(function->m_code_object->co_flags)); CHECK_OBJECT_DEEP(code_object_desc); PyObject *result = PyTuple_New(4); PyTuple_SET_ITEM(result, 0, PyLong_FromLong(offset)); PyTuple_SET_ITEM(result, 1, code_object_desc); PyTuple_SET_ITEM0(result, 2, function->m_defaults); PyTuple_SET_ITEM0(result, 3, function->m_doc != NULL ? function->m_doc : Py_None); CHECK_OBJECT_DEEP(result); return result; } static PyMethodDef _method_def_reduce_compiled_function = {"reduce_compiled_function", (PyCFunction)_reduce_compiled_function, METH_VARARGS | METH_KEYWORDS, NULL}; static char const *_create_compiled_function_argnames[] = { "func", "code_object_desc", "defaults", "doc", NULL }; static PyObject *_create_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) { CHECK_OBJECT_DEEP(args); PyObject *func; PyObject *code_object_desc; PyObject *defaults; PyObject *doc; if (!PyArg_ParseTupleAndKeywords(args, kwds, "OOOO:create_compiled_function", (char **)_create_compiled_function_argnames, &func, &code_object_desc, &defaults, &doc, NULL)) { return NULL; } int offset = PyLong_AsLong(func); if (offset == -1 && ERROR_OCCURRED()) { return NULL; } if (offset > sizeof(functable_pynput$_util) || offset < 0) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Wrong offset for compiled function."); return NULL; } PyObject *filename = PyTuple_GET_ITEM(code_object_desc, 0); PyObject *function_name = PyTuple_GET_ITEM(code_object_desc, 1); PyObject *line = PyTuple_GET_ITEM(code_object_desc, 2); int line_int = PyLong_AsLong(line); assert(!ERROR_OCCURRED()); PyObject *argnames = PyTuple_GET_ITEM(code_object_desc, 3); PyObject *arg_count = PyTuple_GET_ITEM(code_object_desc, 4); int arg_count_int = PyLong_AsLong(arg_count); assert(!ERROR_OCCURRED()); PyObject *flags = PyTuple_GET_ITEM(code_object_desc, 5); int flags_int = PyLong_AsLong(flags); assert(!ERROR_OCCURRED()); PyCodeObject *code_object = MAKE_CODEOBJECT( filename, line_int, flags_int, function_name, argnames, NULL, // freevars arg_count_int, 0, // TODO: Missing kw_only_count 0 // TODO: Missing pos_only_count ); struct Nuitka_FunctionObject *result = Nuitka_Function_New( functable_pynput$_util[offset], code_object->co_name, #if PYTHON_VERSION >= 0x300 NULL, // TODO: Not transferring qualname yet #endif code_object, defaults, #if PYTHON_VERSION >= 0x300 NULL, // kwdefaults are done on the outside currently NULL, // TODO: Not transferring annotations #endif module_pynput$_util, doc, NULL, 0 ); return (PyObject *)result; } static PyMethodDef _method_def_create_compiled_function = { "create_compiled_function", (PyCFunction)_create_compiled_function, METH_VARARGS | METH_KEYWORDS, NULL }; #endif // Internal entry point for module code. PyObject *modulecode_pynput$_util(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) { // Report entry to PGO. PGO_onModuleEntered("pynput._util"); // Store the module for future use. module_pynput$_util = module; // Modules can be loaded again in case of errors, avoid the init being done again. static bool init_done = false; if (init_done == false) { #if defined(_NUITKA_MODULE) && 0 // In case of an extension module loaded into a process, we need to call // initialization here because that's the first and potentially only time // we are going called. // Initialize the constant values used. _initBuiltinModule(); createGlobalConstants(); /* Initialize the compiled types of Nuitka. */ _initCompiledCellType(); _initCompiledGeneratorType(); _initCompiledFunctionType(); _initCompiledMethodType(); _initCompiledFrameType(); _initSlotCompare(); #if PYTHON_VERSION >= 0x270 _initSlotIternext(); #endif patchBuiltinModule(); patchTypeComparison(); // Enable meta path based loader if not already done. #ifdef _NUITKA_TRACE PRINT_STRING("pynput._util: Calling setupMetaPathBasedLoader().\n"); #endif setupMetaPathBasedLoader(); #if PYTHON_VERSION >= 0x300 patchInspectModule(); #endif #endif /* The constants only used by this module are created now. */ #ifdef _NUITKA_TRACE PRINT_STRING("pynput._util: Calling createModuleConstants().\n"); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE PRINT_STRING("pynput._util: Calling createModuleCodeObjects().\n"); #endif createModuleCodeObjects(); init_done = true; } // PRINT_STRING("in initpynput$_util\n"); moduledict_pynput$_util = MODULE_DICT(module_pynput$_util); #ifdef _NUITKA_PLUGIN_DILL_ENABLED registerDillPluginTables(loader_entry->name, &_method_def_reduce_compiled_function, &_method_def_create_compiled_function); #endif // Set "__compiled__" to what version information we have. UPDATE_STRING_DICT0( moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___compiled__, Nuitka_dunder_compiled_value ); // Update "__package__" value to what it ought to be. { #if 0 UPDATE_STRING_DICT0( moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___package__, const_str_empty ); #elif 1 PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___name__); UPDATE_STRING_DICT0( moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 0x300 PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___name__); char const *module_name_cstr = PyString_AS_STRING(module_name); char const *last_dot = strrchr(module_name_cstr, '.'); if (last_dot != NULL) { UPDATE_STRING_DICT1( moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___package__, PyString_FromStringAndSize(module_name_cstr, last_dot - module_name_cstr) ); } #else PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___name__); Py_ssize_t dot_index = PyUnicode_Find(module_name, const_str_dot, 0, PyUnicode_GetLength(module_name), -1); if (dot_index != -1) { UPDATE_STRING_DICT1( moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring(module_name, 0, dot_index) ); } #endif #endif } CHECK_OBJECT(module_pynput$_util); // For deep importing of a module we need to have "__builtins__", so we set // it ourselves in the same way than CPython does. Note: This must be done // before the frame object is allocated, or else it may fail. if (GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___builtins__) == NULL) { PyObject *value = (PyObject *)builtin_module; // Check if main module, not a dict then but the module itself. #if defined(_NUITKA_MODULE) || !0 value = PyModule_GetDict(value); #endif UPDATE_STRING_DICT0(moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___builtins__, value); } #if PYTHON_VERSION >= 0x300 UPDATE_STRING_DICT0(moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___loader__, (PyObject *)&Nuitka_Loader_Type); #endif #if PYTHON_VERSION >= 0x340 // Set the "__spec__" value #if 0 // Main modules just get "None" as spec. UPDATE_STRING_DICT0(moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___spec__, Py_None); #else // Other modules get a "ModuleSpec" from the standard mechanism. { PyObject *bootstrap_module = getImportLibBootstrapModule(); CHECK_OBJECT(bootstrap_module); PyObject *_spec_from_module = PyObject_GetAttrString(bootstrap_module, "_spec_from_module"); CHECK_OBJECT(_spec_from_module); PyObject *spec_value = CALL_FUNCTION_WITH_SINGLE_ARG(_spec_from_module, module_pynput$_util); Py_DECREF(_spec_from_module); // We can assume this to never fail, or else we are in trouble anyway. // CHECK_OBJECT(spec_value); if (spec_value == NULL) { PyErr_PrintEx(0); abort(); } // Mark the execution in the "__spec__" value. SET_ATTRIBUTE(spec_value, const_str_plain__initializing, Py_True); UPDATE_STRING_DICT1(moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___spec__, spec_value); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; PyObject *outline_1_var___class__ = NULL; PyObject *outline_2_var___class__ = NULL; PyObject *outline_3_var___class__ = NULL; PyObject *outline_4_var___class__ = NULL; PyObject *tmp_AbstractListener$class_creation_1__bases = NULL; PyObject *tmp_AbstractListener$class_creation_1__bases_orig = NULL; PyObject *tmp_AbstractListener$class_creation_1__class_decl_dict = NULL; PyObject *tmp_AbstractListener$class_creation_1__metaclass = NULL; PyObject *tmp_AbstractListener$class_creation_1__prepared = NULL; PyObject *tmp_Events$class_creation_1__bases = NULL; PyObject *tmp_Events$class_creation_1__bases_orig = NULL; PyObject *tmp_Events$class_creation_1__class_decl_dict = NULL; PyObject *tmp_Events$class_creation_1__metaclass = NULL; PyObject *tmp_Events$class_creation_1__prepared = NULL; PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__bases_orig = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; struct Nuitka_FrameObject *frame_1dc597190ffa7f3f1696bea5c6adfc0d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_dictset_value; PyObject *tmp_dictset_dict; PyObject *tmp_dictset_key; int tmp_res; bool tmp_result; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; PyObject *locals_pynput$_util$$$class__1_AbstractListener_86 = NULL; struct Nuitka_FrameObject *frame_660c677b3059cd4ae7d679d14a2b365f_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; PyObject *locals_pynput$_util$$$class__2_StopException_112 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; static struct Nuitka_FrameObject *cache_frame_660c677b3059cd4ae7d679d14a2b365f_2 = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *locals_pynput$_util$$$class__3_Events_262 = NULL; struct Nuitka_FrameObject *frame_a641e3cbcda791d6ffc09dbae1865dcc_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; PyObject *locals_pynput$_util$$$class__4_Event_268 = NULL; struct Nuitka_FrameObject *frame_c0b7a58a090323b58655f5b4900db39e_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; static struct Nuitka_FrameObject *cache_frame_c0b7a58a090323b58655f5b4900db39e_4 = NULL; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; static struct Nuitka_FrameObject *cache_frame_a641e3cbcda791d6ffc09dbae1865dcc_3 = NULL; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *locals_pynput$_util$$$class__5_NotifierMixin_351 = NULL; struct Nuitka_FrameObject *frame_bcf9346b14fd42bb8ba78e7dcfefb136_5; NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; static struct Nuitka_FrameObject *cache_frame_bcf9346b14fd42bb8ba78e7dcfefb136_5 = NULL; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = mod_consts[143]; UPDATE_STRING_DICT0(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[144], tmp_assign_source_1); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = module_filename_obj; UPDATE_STRING_DICT0(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[145], tmp_assign_source_2); } // Frame without reuse. frame_1dc597190ffa7f3f1696bea5c6adfc0d = MAKE_MODULE_FRAME(codeobj_1dc597190ffa7f3f1696bea5c6adfc0d, module_pynput$_util); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack(frame_1dc597190ffa7f3f1696bea5c6adfc0d); assert(Py_REFCNT(frame_1dc597190ffa7f3f1696bea5c6adfc0d) == 2); // Framed code: { PyObject *tmp_assign_source_3; PyObject *tmp_list_element_1; PyObject *tmp_called_value_1; PyObject *tmp_expression_value_1; PyObject *tmp_args_element_value_1; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 1; { PyObject *hard_module = IMPORT_HARD_OS(); tmp_expression_value_1 = LOOKUP_ATTRIBUTE(hard_module, mod_consts[146]); } if (tmp_expression_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[147]); if (tmp_called_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } tmp_args_element_value_1 = module_filename_obj; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 1; tmp_list_element_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1); Py_DECREF(tmp_called_value_1); if (tmp_list_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } tmp_assign_source_3 = PyList_New(3); { PyObject *tmp_called_value_2; PyObject *tmp_expression_value_2; PyObject *tmp_args_element_value_2; PyObject *tmp_called_value_3; PyObject *tmp_expression_value_3; PyObject *tmp_args_element_value_3; PyObject *tmp_called_value_4; PyObject *tmp_expression_value_4; PyList_SET_ITEM(tmp_assign_source_3, 0, tmp_list_element_1); frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 1; { PyObject *hard_module = IMPORT_HARD_OS(); tmp_expression_value_2 = LOOKUP_ATTRIBUTE(hard_module, mod_consts[146]); } if (tmp_expression_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto list_build_exception_1; } tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[89]); if (tmp_called_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto list_build_exception_1; } frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 1; { PyObject *hard_module = IMPORT_HARD_OS(); tmp_expression_value_3 = LOOKUP_ATTRIBUTE(hard_module, mod_consts[1]); } if (tmp_expression_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_2); exception_lineno = 1; goto list_build_exception_1; } tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[2]); if (tmp_called_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_2); exception_lineno = 1; goto list_build_exception_1; } frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 1; tmp_args_element_value_2 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_3, mod_consts[148]); Py_DECREF(tmp_called_value_3); if (tmp_args_element_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_value_2); exception_lineno = 1; goto list_build_exception_1; } tmp_args_element_value_3 = mod_consts[149]; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 1; { PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3}; tmp_list_element_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args); } Py_DECREF(tmp_called_value_2); Py_DECREF(tmp_args_element_value_2); if (tmp_list_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto list_build_exception_1; } PyList_SET_ITEM(tmp_assign_source_3, 1, tmp_list_element_1); frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 1; { PyObject *hard_module = IMPORT_HARD_OS(); tmp_expression_value_4 = LOOKUP_ATTRIBUTE(hard_module, mod_consts[1]); } if (tmp_expression_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto list_build_exception_1; } tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[2]); if (tmp_called_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto list_build_exception_1; } frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 1; tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_4, mod_consts[150]); Py_DECREF(tmp_called_value_4); if (tmp_list_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto list_build_exception_1; } PyList_SET_ITEM(tmp_assign_source_3, 2, tmp_list_element_1); } goto list_build_noexception_1; // Exception handling pass through code for list_build: list_build_exception_1:; Py_DECREF(tmp_assign_source_3); goto frame_exception_exit_1; // Finished with no exception for list_build: list_build_noexception_1:; UPDATE_STRING_DICT1(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[151], tmp_assign_source_3); } { PyObject *tmp_expression_value_5; PyObject *tmp_subscript_value_1; tmp_dictset_value = Nuitka_Loader_New(loader_entry); tmp_dictset_dict = Nuitka_SysGetObject("path_importer_cache"); if (tmp_dictset_dict == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[151]); if (unlikely(tmp_expression_value_5 == NULL)) { tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]); } assert(!(tmp_expression_value_5 == NULL)); tmp_subscript_value_1 = mod_consts[152]; tmp_dictset_key = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_5, tmp_subscript_value_1, 0); if (tmp_dictset_key == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } tmp_res = PyDict_SetItem(tmp_dictset_dict, tmp_dictset_key, tmp_dictset_value); Py_DECREF(tmp_dictset_key); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_1; PyObject *tmp_assattr_target_1; tmp_assattr_value_1 = module_filename_obj; tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[153]); if (unlikely(tmp_assattr_target_1 == NULL)) { tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[153]); } assert(!(tmp_assattr_target_1 == NULL)); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[154], tmp_assattr_value_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_2; PyObject *tmp_assattr_target_2; tmp_assattr_value_2 = Py_True; tmp_assattr_target_2 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[153]); if (unlikely(tmp_assattr_target_2 == NULL)) { tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[153]); } assert(!(tmp_assattr_target_2 == NULL)); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[155], tmp_assattr_value_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_value_3; PyObject *tmp_assattr_target_3; tmp_assattr_value_3 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[151]); if (unlikely(tmp_assattr_value_3 == NULL)) { tmp_assattr_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]); } if (tmp_assattr_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } tmp_assattr_target_3 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[153]); if (unlikely(tmp_assattr_target_3 == NULL)) { tmp_assattr_target_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[153]); } assert(!(tmp_assattr_target_3 == NULL)); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[156], tmp_assattr_value_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_4; tmp_assign_source_4 = Py_None; UPDATE_STRING_DICT0(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[157], tmp_assign_source_4); } { PyObject *tmp_assign_source_5; PyObject *tmp_name_value_1; PyObject *tmp_globals_arg_value_1; PyObject *tmp_locals_arg_value_1; PyObject *tmp_fromlist_value_1; PyObject *tmp_level_value_1; tmp_name_value_1 = mod_consts[123]; tmp_globals_arg_value_1 = (PyObject *)moduledict_pynput$_util; tmp_locals_arg_value_1 = Py_None; tmp_fromlist_value_1 = Py_None; tmp_level_value_1 = mod_consts[152]; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 27; tmp_assign_source_5 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 27; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[123], tmp_assign_source_5); } { PyObject *tmp_assign_source_6; tmp_assign_source_6 = IMPORT_HARD_FUNCTOOLS(); assert(!(tmp_assign_source_6 == NULL)); UPDATE_STRING_DICT0(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[75], tmp_assign_source_6); } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = IMPORT_HARD_IMPORTLIB(); assert(!(tmp_assign_source_7 == NULL)); UPDATE_STRING_DICT0(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[18], tmp_assign_source_7); } { PyObject *tmp_assign_source_8; tmp_assign_source_8 = IMPORT_HARD_OS(); assert(!(tmp_assign_source_8 == NULL)); UPDATE_STRING_DICT0(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_8); } { PyObject *tmp_assign_source_9; tmp_assign_source_9 = IMPORT_HARD_SYS(); assert(!(tmp_assign_source_9 == NULL)); UPDATE_STRING_DICT0(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[10], tmp_assign_source_9); } { PyObject *tmp_assign_source_10; PyObject *tmp_name_value_2; PyObject *tmp_globals_arg_value_2; PyObject *tmp_locals_arg_value_2; PyObject *tmp_fromlist_value_2; PyObject *tmp_level_value_2; tmp_name_value_2 = mod_consts[42]; tmp_globals_arg_value_2 = (PyObject *)moduledict_pynput$_util; tmp_locals_arg_value_2 = Py_None; tmp_fromlist_value_2 = Py_None; tmp_level_value_2 = mod_consts[152]; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 32; tmp_assign_source_10 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[42], tmp_assign_source_10); } { PyObject *tmp_assign_source_11; PyObject *tmp_name_value_3; PyObject *tmp_globals_arg_value_3; PyObject *tmp_locals_arg_value_3; PyObject *tmp_fromlist_value_3; PyObject *tmp_level_value_3; tmp_name_value_3 = mod_consts[91]; tmp_globals_arg_value_3 = (PyObject *)moduledict_pynput$_util; tmp_locals_arg_value_3 = Py_None; tmp_fromlist_value_3 = Py_None; tmp_level_value_3 = mod_consts[152]; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 34; tmp_assign_source_11 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3); if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 34; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[91], tmp_assign_source_11); } { PyObject *tmp_assign_source_12; PyObject *tmp_import_name_from_1; PyObject *tmp_name_value_4; PyObject *tmp_globals_arg_value_4; PyObject *tmp_locals_arg_value_4; PyObject *tmp_fromlist_value_4; PyObject *tmp_level_value_4; tmp_name_value_4 = mod_consts[158]; tmp_globals_arg_value_4 = (PyObject *)moduledict_pynput$_util; tmp_locals_arg_value_4 = Py_None; tmp_fromlist_value_4 = mod_consts[159]; tmp_level_value_4 = mod_consts[152]; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 36; tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4); if (tmp_import_name_from_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 36; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_1)) { tmp_assign_source_12 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_1, (PyObject *)moduledict_pynput$_util, mod_consts[48], mod_consts[152] ); } else { tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[48]); } Py_DECREF(tmp_import_name_from_1); if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 36; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[48], tmp_assign_source_12); } { PyObject *tmp_assign_source_13; tmp_assign_source_13 = PyDict_Copy(mod_consts[160]); UPDATE_STRING_DICT1(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[25], tmp_assign_source_13); } { PyObject *tmp_assign_source_14; tmp_assign_source_14 = MAKE_FUNCTION_pynput$_util$$$function__1_backend(); UPDATE_STRING_DICT1(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[161], tmp_assign_source_14); } // Tried code: { PyObject *tmp_assign_source_15; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_value_6; tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[42]); if (unlikely(tmp_expression_value_6 == NULL)) { tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]); } if (tmp_expression_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[162]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } tmp_assign_source_15 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_15, 0, tmp_tuple_element_1); assert(tmp_class_creation_1__bases_orig == NULL); tmp_class_creation_1__bases_orig = tmp_assign_source_15; } { PyObject *tmp_assign_source_16; PyObject *tmp_dircall_arg1_1; CHECK_OBJECT(tmp_class_creation_1__bases_orig); tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig; Py_INCREF(tmp_dircall_arg1_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_16 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } assert(tmp_class_creation_1__bases == NULL); tmp_class_creation_1__bases = tmp_assign_source_16; } { PyObject *tmp_assign_source_17; tmp_assign_source_17 = PyDict_New(); assert(tmp_class_creation_1__class_decl_dict == NULL); tmp_class_creation_1__class_decl_dict = tmp_assign_source_17; } { PyObject *tmp_assign_source_18; PyObject *tmp_metaclass_value_1; bool tmp_condition_result_1; PyObject *tmp_key_value_1; PyObject *tmp_dict_arg_value_1; PyObject *tmp_dict_arg_value_2; PyObject *tmp_key_value_2; nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; PyObject *tmp_type_arg_1; PyObject *tmp_expression_value_7; PyObject *tmp_subscript_value_2; PyObject *tmp_bases_value_1; tmp_key_value_1 = mod_consts[163]; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_value_1 = tmp_class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_1, tmp_key_value_1); assert(!(tmp_res == -1)); tmp_condition_result_1 = (tmp_res != 0) ? true : false; if (tmp_condition_result_1 != false) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_value_2 = tmp_class_creation_1__class_decl_dict; tmp_key_value_2 = mod_consts[163]; \ tmp_metaclass_value_1 = DICT_GET_ITEM0(tmp_dict_arg_value_2, tmp_key_value_2); if (tmp_metaclass_value_1 == NULL) { tmp_metaclass_value_1 = Py_None; } assert(!(tmp_metaclass_value_1 == NULL)); Py_INCREF(tmp_metaclass_value_1); goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_truth_name_1 = CHECK_IF_TRUE(tmp_class_creation_1__bases); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_expression_value_7 = tmp_class_creation_1__bases; tmp_subscript_value_2 = mod_consts[152]; tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_7, tmp_subscript_value_2, 0); if (tmp_type_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } tmp_metaclass_value_1 = BUILTIN_TYPE1(tmp_type_arg_1); Py_DECREF(tmp_type_arg_1); if (tmp_metaclass_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } goto condexpr_end_2; condexpr_false_2:; tmp_metaclass_value_1 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_value_1); condexpr_end_2:; condexpr_end_1:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_bases_value_1 = tmp_class_creation_1__bases; tmp_assign_source_18 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1); Py_DECREF(tmp_metaclass_value_1); if (tmp_assign_source_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } assert(tmp_class_creation_1__metaclass == NULL); tmp_class_creation_1__metaclass = tmp_assign_source_18; } { bool tmp_condition_result_3; PyObject *tmp_key_value_3; PyObject *tmp_dict_arg_value_3; tmp_key_value_3 = mod_consts[163]; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_value_3 = tmp_class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_3, tmp_key_value_3); assert(!(tmp_res == -1)); tmp_condition_result_3 = (tmp_res != 0) ? true : false; if (tmp_condition_result_3 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict; tmp_dictdel_key = mod_consts[163]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } branch_no_1:; { nuitka_bool tmp_condition_result_4; PyObject *tmp_expression_value_8; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_expression_value_8 = tmp_class_creation_1__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_value_8, mod_consts[164]); tmp_condition_result_4 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_19; PyObject *tmp_called_value_5; PyObject *tmp_expression_value_9; PyObject *tmp_args_value_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_value_1; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_expression_value_9 = tmp_class_creation_1__metaclass; tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[164]); if (tmp_called_value_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } tmp_tuple_element_2 = mod_consts[36]; tmp_args_value_1 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_2); CHECK_OBJECT(tmp_class_creation_1__bases); tmp_tuple_element_2 = tmp_class_creation_1__bases; PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_2); CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 86; tmp_assign_source_19 = CALL_FUNCTION(tmp_called_value_5, tmp_args_value_1, tmp_kwargs_value_1); Py_DECREF(tmp_called_value_5); Py_DECREF(tmp_args_value_1); if (tmp_assign_source_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } assert(tmp_class_creation_1__prepared == NULL); tmp_class_creation_1__prepared = tmp_assign_source_19; } { bool tmp_condition_result_5; PyObject *tmp_operand_value_1; PyObject *tmp_expression_value_10; CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_expression_value_10 = tmp_class_creation_1__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_value_10, mod_consts[165]); tmp_operand_value_1 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_value_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } tmp_condition_result_5 = (tmp_res == 0) ? true : false; if (tmp_condition_result_5 != false) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_value_1; PyObject *tmp_right_value_1; PyObject *tmp_tuple_element_3; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; tmp_raise_type_1 = PyExc_TypeError; tmp_left_value_1 = mod_consts[166]; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = mod_consts[94]; tmp_getattr_default_1 = mod_consts[167]; tmp_tuple_element_3 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } tmp_right_value_1 = PyTuple_New(2); { PyObject *tmp_expression_value_11; PyObject *tmp_type_arg_2; PyTuple_SET_ITEM(tmp_right_value_1, 0, tmp_tuple_element_3); CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_expression_value_11 = BUILTIN_TYPE1(tmp_type_arg_2); assert(!(tmp_expression_value_11 == NULL)); tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[94]); Py_DECREF(tmp_expression_value_11); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_right_value_1, 1, tmp_tuple_element_3); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_right_value_1); goto try_except_handler_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_value_1, tmp_right_value_1); Py_DECREF(tmp_right_value_1); if (tmp_raise_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_1; } exception_type = tmp_raise_type_1; Py_INCREF(tmp_raise_type_1); exception_value = tmp_raise_value_1; exception_lineno = 86; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_1; } branch_no_3:; goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_20; tmp_assign_source_20 = PyDict_New(); assert(tmp_class_creation_1__prepared == NULL); tmp_class_creation_1__prepared = tmp_assign_source_20; } branch_end_2:; { PyObject *tmp_assign_source_21; { PyObject *tmp_set_locals_1; CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_pynput$_util$$$class__1_AbstractListener_86 = tmp_set_locals_1; Py_INCREF(tmp_set_locals_1); } // Tried code: // Tried code: tmp_dictset_value = mod_consts[168]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[169], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_3; } tmp_dictset_value = mod_consts[170]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[144], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_3; } tmp_dictset_value = mod_consts[36]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[171], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_3; } { PyObject *tmp_assign_source_22; PyObject *tmp_tuple_element_4; tmp_tuple_element_4 = PyObject_GetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[172]); if (tmp_tuple_element_4 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_tuple_element_4 = PyExc_Exception; Py_INCREF(tmp_tuple_element_4); } else { goto try_except_handler_3; } } tmp_assign_source_22 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_22, 0, tmp_tuple_element_4); assert(tmp_AbstractListener$class_creation_1__bases_orig == NULL); tmp_AbstractListener$class_creation_1__bases_orig = tmp_assign_source_22; } if (isFrameUnusable(cache_frame_660c677b3059cd4ae7d679d14a2b365f_2)) { Py_XDECREF(cache_frame_660c677b3059cd4ae7d679d14a2b365f_2); #if _DEBUG_REFCOUNTS if (cache_frame_660c677b3059cd4ae7d679d14a2b365f_2 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_660c677b3059cd4ae7d679d14a2b365f_2 = MAKE_FUNCTION_FRAME(codeobj_660c677b3059cd4ae7d679d14a2b365f, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_660c677b3059cd4ae7d679d14a2b365f_2->m_type_description == NULL); frame_660c677b3059cd4ae7d679d14a2b365f_2 = cache_frame_660c677b3059cd4ae7d679d14a2b365f_2; // Push the new frame as the currently active one. pushFrameStack(frame_660c677b3059cd4ae7d679d14a2b365f_2); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_660c677b3059cd4ae7d679d14a2b365f_2) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_assign_source_23; PyObject *tmp_dircall_arg1_2; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__bases_orig); tmp_dircall_arg1_2 = tmp_AbstractListener$class_creation_1__bases_orig; Py_INCREF(tmp_dircall_arg1_2); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_23 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } assert(tmp_AbstractListener$class_creation_1__bases == NULL); tmp_AbstractListener$class_creation_1__bases = tmp_assign_source_23; } { PyObject *tmp_assign_source_24; tmp_assign_source_24 = PyDict_New(); assert(tmp_AbstractListener$class_creation_1__class_decl_dict == NULL); tmp_AbstractListener$class_creation_1__class_decl_dict = tmp_assign_source_24; } { PyObject *tmp_assign_source_25; PyObject *tmp_metaclass_value_2; bool tmp_condition_result_6; PyObject *tmp_key_value_4; PyObject *tmp_dict_arg_value_4; PyObject *tmp_dict_arg_value_5; PyObject *tmp_key_value_5; nuitka_bool tmp_condition_result_7; int tmp_truth_name_2; PyObject *tmp_type_arg_3; PyObject *tmp_expression_value_12; PyObject *tmp_subscript_value_3; PyObject *tmp_bases_value_2; tmp_key_value_4 = mod_consts[163]; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__class_decl_dict); tmp_dict_arg_value_4 = tmp_AbstractListener$class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_4, tmp_key_value_4); assert(!(tmp_res == -1)); tmp_condition_result_6 = (tmp_res != 0) ? true : false; if (tmp_condition_result_6 != false) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__class_decl_dict); tmp_dict_arg_value_5 = tmp_AbstractListener$class_creation_1__class_decl_dict; tmp_key_value_5 = mod_consts[163]; \ tmp_metaclass_value_2 = DICT_GET_ITEM0(tmp_dict_arg_value_5, tmp_key_value_5); if (tmp_metaclass_value_2 == NULL) { tmp_metaclass_value_2 = Py_None; } assert(!(tmp_metaclass_value_2 == NULL)); Py_INCREF(tmp_metaclass_value_2); goto condexpr_end_3; condexpr_false_3:; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__bases); tmp_truth_name_2 = CHECK_IF_TRUE(tmp_AbstractListener$class_creation_1__bases); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } tmp_condition_result_7 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__bases); tmp_expression_value_12 = tmp_AbstractListener$class_creation_1__bases; tmp_subscript_value_3 = mod_consts[152]; tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_12, tmp_subscript_value_3, 0); if (tmp_type_arg_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } tmp_metaclass_value_2 = BUILTIN_TYPE1(tmp_type_arg_3); Py_DECREF(tmp_type_arg_3); if (tmp_metaclass_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } goto condexpr_end_4; condexpr_false_4:; tmp_metaclass_value_2 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_value_2); condexpr_end_4:; condexpr_end_3:; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__bases); tmp_bases_value_2 = tmp_AbstractListener$class_creation_1__bases; tmp_assign_source_25 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2); Py_DECREF(tmp_metaclass_value_2); if (tmp_assign_source_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } assert(tmp_AbstractListener$class_creation_1__metaclass == NULL); tmp_AbstractListener$class_creation_1__metaclass = tmp_assign_source_25; } { bool tmp_condition_result_8; PyObject *tmp_key_value_6; PyObject *tmp_dict_arg_value_6; tmp_key_value_6 = mod_consts[163]; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__class_decl_dict); tmp_dict_arg_value_6 = tmp_AbstractListener$class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_6, tmp_key_value_6); assert(!(tmp_res == -1)); tmp_condition_result_8 = (tmp_res != 0) ? true : false; if (tmp_condition_result_8 != false) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__class_decl_dict); tmp_dictdel_dict = tmp_AbstractListener$class_creation_1__class_decl_dict; tmp_dictdel_key = mod_consts[163]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } branch_no_4:; { nuitka_bool tmp_condition_result_9; PyObject *tmp_expression_value_13; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__metaclass); tmp_expression_value_13 = tmp_AbstractListener$class_creation_1__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_value_13, mod_consts[164]); tmp_condition_result_9 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) { goto branch_yes_5; } else { goto branch_no_5; } } branch_yes_5:; { PyObject *tmp_assign_source_26; PyObject *tmp_called_value_6; PyObject *tmp_expression_value_14; PyObject *tmp_args_value_2; PyObject *tmp_tuple_element_5; PyObject *tmp_kwargs_value_2; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__metaclass); tmp_expression_value_14 = tmp_AbstractListener$class_creation_1__metaclass; tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[164]); if (tmp_called_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } tmp_tuple_element_5 = mod_consts[60]; tmp_args_value_2 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_5); CHECK_OBJECT(tmp_AbstractListener$class_creation_1__bases); tmp_tuple_element_5 = tmp_AbstractListener$class_creation_1__bases; PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_5); CHECK_OBJECT(tmp_AbstractListener$class_creation_1__class_decl_dict); tmp_kwargs_value_2 = tmp_AbstractListener$class_creation_1__class_decl_dict; frame_660c677b3059cd4ae7d679d14a2b365f_2->m_frame.f_lineno = 112; tmp_assign_source_26 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_2, tmp_kwargs_value_2); Py_DECREF(tmp_called_value_6); Py_DECREF(tmp_args_value_2); if (tmp_assign_source_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } assert(tmp_AbstractListener$class_creation_1__prepared == NULL); tmp_AbstractListener$class_creation_1__prepared = tmp_assign_source_26; } { bool tmp_condition_result_10; PyObject *tmp_operand_value_2; PyObject *tmp_expression_value_15; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__prepared); tmp_expression_value_15 = tmp_AbstractListener$class_creation_1__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_value_15, mod_consts[165]); tmp_operand_value_2 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_value_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } tmp_condition_result_10 = (tmp_res == 0) ? true : false; if (tmp_condition_result_10 != false) { goto branch_yes_6; } else { goto branch_no_6; } } branch_yes_6:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_2; PyObject *tmp_left_value_2; PyObject *tmp_right_value_2; PyObject *tmp_tuple_element_6; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; tmp_raise_type_2 = PyExc_TypeError; tmp_left_value_2 = mod_consts[166]; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__metaclass); tmp_getattr_target_2 = tmp_AbstractListener$class_creation_1__metaclass; tmp_getattr_attr_2 = mod_consts[94]; tmp_getattr_default_2 = mod_consts[167]; tmp_tuple_element_6 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2); if (tmp_tuple_element_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } tmp_right_value_2 = PyTuple_New(2); { PyObject *tmp_expression_value_16; PyObject *tmp_type_arg_4; PyTuple_SET_ITEM(tmp_right_value_2, 0, tmp_tuple_element_6); CHECK_OBJECT(tmp_AbstractListener$class_creation_1__prepared); tmp_type_arg_4 = tmp_AbstractListener$class_creation_1__prepared; tmp_expression_value_16 = BUILTIN_TYPE1(tmp_type_arg_4); assert(!(tmp_expression_value_16 == NULL)); tmp_tuple_element_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[94]); Py_DECREF(tmp_expression_value_16); if (tmp_tuple_element_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_right_value_2, 1, tmp_tuple_element_6); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_right_value_2); goto try_except_handler_4; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_value_2, tmp_right_value_2); Py_DECREF(tmp_right_value_2); if (tmp_raise_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } exception_type = tmp_raise_type_2; Py_INCREF(tmp_raise_type_2); exception_value = tmp_raise_value_2; exception_lineno = 112; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); type_description_2 = "o"; goto try_except_handler_4; } branch_no_6:; goto branch_end_5; branch_no_5:; { PyObject *tmp_assign_source_27; tmp_assign_source_27 = PyDict_New(); assert(tmp_AbstractListener$class_creation_1__prepared == NULL); tmp_AbstractListener$class_creation_1__prepared = tmp_assign_source_27; } branch_end_5:; { PyObject *tmp_set_locals_2; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__prepared); tmp_set_locals_2 = tmp_AbstractListener$class_creation_1__prepared; locals_pynput$_util$$$class__2_StopException_112 = tmp_set_locals_2; Py_INCREF(tmp_set_locals_2); } // Tried code: // Tried code: tmp_dictset_value = mod_consts[168]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__2_StopException_112, mod_consts[169], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_6; } tmp_dictset_value = mod_consts[173]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__2_StopException_112, mod_consts[144], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_6; } tmp_dictset_value = mod_consts[174]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__2_StopException_112, mod_consts[171], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_6; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__bases); tmp_compexpr_left_1 = tmp_AbstractListener$class_creation_1__bases; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__bases_orig); tmp_compexpr_right_1 = tmp_AbstractListener$class_creation_1__bases_orig; tmp_condition_result_11 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_1, tmp_compexpr_right_1); if (tmp_condition_result_11 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_6; } if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) { goto branch_yes_7; } else { goto branch_no_7; } assert(tmp_condition_result_11 != NUITKA_BOOL_UNASSIGNED); } branch_yes_7:; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__bases_orig); tmp_dictset_value = tmp_AbstractListener$class_creation_1__bases_orig; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__2_StopException_112, mod_consts[175], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_6; } branch_no_7:; { PyObject *tmp_assign_source_28; PyObject *tmp_called_value_7; PyObject *tmp_args_value_3; PyObject *tmp_tuple_element_7; PyObject *tmp_kwargs_value_3; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__metaclass); tmp_called_value_7 = tmp_AbstractListener$class_creation_1__metaclass; tmp_tuple_element_7 = mod_consts[60]; tmp_args_value_3 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_7); CHECK_OBJECT(tmp_AbstractListener$class_creation_1__bases); tmp_tuple_element_7 = tmp_AbstractListener$class_creation_1__bases; PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_7); tmp_tuple_element_7 = locals_pynput$_util$$$class__2_StopException_112; PyTuple_SET_ITEM0(tmp_args_value_3, 2, tmp_tuple_element_7); CHECK_OBJECT(tmp_AbstractListener$class_creation_1__class_decl_dict); tmp_kwargs_value_3 = tmp_AbstractListener$class_creation_1__class_decl_dict; frame_660c677b3059cd4ae7d679d14a2b365f_2->m_frame.f_lineno = 112; tmp_assign_source_28 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_3, tmp_kwargs_value_3); Py_DECREF(tmp_args_value_3); if (tmp_assign_source_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_6; } assert(outline_1_var___class__ == NULL); outline_1_var___class__ = tmp_assign_source_28; } CHECK_OBJECT(outline_1_var___class__); tmp_dictset_value = outline_1_var___class__; Py_INCREF(tmp_dictset_value); goto try_return_handler_6; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_6:; Py_DECREF(locals_pynput$_util$$$class__2_StopException_112); locals_pynput$_util$$$class__2_StopException_112 = NULL; goto try_return_handler_5; // Exception handler code: try_except_handler_6:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_pynput$_util$$$class__2_StopException_112); locals_pynput$_util$$$class__2_StopException_112 = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_5; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_5:; CHECK_OBJECT(outline_1_var___class__); Py_DECREF(outline_1_var___class__); outline_1_var___class__ = NULL; goto outline_result_2; // Exception handler code: try_except_handler_5:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_2; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_2:; exception_lineno = 112; goto try_except_handler_4; outline_result_2:; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[60], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_2 = "o"; goto try_except_handler_4; } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__bases_orig); Py_DECREF(tmp_AbstractListener$class_creation_1__bases_orig); tmp_AbstractListener$class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_AbstractListener$class_creation_1__bases); tmp_AbstractListener$class_creation_1__bases = NULL; Py_XDECREF(tmp_AbstractListener$class_creation_1__class_decl_dict); tmp_AbstractListener$class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_AbstractListener$class_creation_1__metaclass); tmp_AbstractListener$class_creation_1__metaclass = NULL; Py_XDECREF(tmp_AbstractListener$class_creation_1__prepared); tmp_AbstractListener$class_creation_1__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_2; // End of try: try_end_1:; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__bases_orig); Py_DECREF(tmp_AbstractListener$class_creation_1__bases_orig); tmp_AbstractListener$class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_AbstractListener$class_creation_1__bases); tmp_AbstractListener$class_creation_1__bases = NULL; Py_XDECREF(tmp_AbstractListener$class_creation_1__class_decl_dict); tmp_AbstractListener$class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_AbstractListener$class_creation_1__metaclass); tmp_AbstractListener$class_creation_1__metaclass = NULL; CHECK_OBJECT(tmp_AbstractListener$class_creation_1__prepared); Py_DECREF(tmp_AbstractListener$class_creation_1__prepared); tmp_AbstractListener$class_creation_1__prepared = NULL; { nuitka_bool tmp_condition_result_12; PyObject *tmp_called_value_8; tmp_res = MAPPING_HAS_ITEM(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[176]); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 120; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_12 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; tmp_called_value_8 = PyObject_GetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[176]); if (unlikely(tmp_called_value_8 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) { FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[176]); NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 120; type_description_2 = "o"; goto frame_exception_exit_2; } if (tmp_called_value_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 120; type_description_2 = "o"; goto frame_exception_exit_2; } frame_660c677b3059cd4ae7d679d14a2b365f_2->m_frame.f_lineno = 120; tmp_dictset_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_8); Py_DECREF(tmp_called_value_8); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 120; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_5; condexpr_false_5:; tmp_dictset_value = mod_consts[177]; Py_INCREF(tmp_dictset_value); condexpr_end_5:; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[79], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 120; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_defaults_1; tmp_defaults_1 = mod_consts[178]; Py_INCREF(tmp_defaults_1); tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__2___init__(tmp_defaults_1); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[37], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 122; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_13; PyObject *tmp_called_value_9; PyObject *tmp_args_element_value_4; PyObject *tmp_called_value_10; PyObject *tmp_args_element_value_5; tmp_res = MAPPING_HAS_ITEM(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[180]); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 145; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_13 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; tmp_called_value_9 = PyObject_GetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[180]); if (unlikely(tmp_called_value_9 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) { FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[180]); NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 145; type_description_2 = "o"; goto frame_exception_exit_2; } if (tmp_called_value_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 145; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_value_4 = MAKE_FUNCTION_pynput$_util$$$function__3_suppress(); frame_660c677b3059cd4ae7d679d14a2b365f_2->m_frame.f_lineno = 145; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_9, tmp_args_element_value_4); Py_DECREF(tmp_called_value_9); Py_DECREF(tmp_args_element_value_4); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 145; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_6; condexpr_false_6:; tmp_called_value_10 = (PyObject *)&PyProperty_Type; tmp_args_element_value_5 = MAKE_FUNCTION_pynput$_util$$$function__3_suppress(); frame_660c677b3059cd4ae7d679d14a2b365f_2->m_frame.f_lineno = 145; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_10, tmp_args_element_value_5); Py_DECREF(tmp_args_element_value_5); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 145; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_6:; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[181], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 146; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_14; PyObject *tmp_called_value_11; PyObject *tmp_args_element_value_6; PyObject *tmp_called_value_12; PyObject *tmp_args_element_value_7; tmp_res = MAPPING_HAS_ITEM(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[180]); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_14 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; tmp_called_value_11 = PyObject_GetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[180]); if (unlikely(tmp_called_value_11 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) { FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[180]); NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 151; type_description_2 = "o"; goto frame_exception_exit_2; } if (tmp_called_value_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_value_6 = MAKE_FUNCTION_pynput$_util$$$function__4_running(); frame_660c677b3059cd4ae7d679d14a2b365f_2->m_frame.f_lineno = 151; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_11, tmp_args_element_value_6); Py_DECREF(tmp_called_value_11); Py_DECREF(tmp_args_element_value_6); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_7; condexpr_false_7:; tmp_called_value_12 = (PyObject *)&PyProperty_Type; tmp_args_element_value_7 = MAKE_FUNCTION_pynput$_util$$$function__4_running(); frame_660c677b3059cd4ae7d679d14a2b365f_2->m_frame.f_lineno = 151; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_12, tmp_args_element_value_7); Py_DECREF(tmp_args_element_value_7); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_7:; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[183], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 152; type_description_2 = "o"; goto frame_exception_exit_2; } } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__5_stop(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[69], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 157; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__6___enter__(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[107], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 172; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__7___exit__(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[108], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__8_wait(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[68], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 180; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__9_run(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[189], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 188; type_description_2 = "o"; goto frame_exception_exit_2; } { nuitka_bool tmp_condition_result_15; PyObject *tmp_called_value_13; PyObject *tmp_args_element_value_8; PyObject *tmp_classmethod_arg_1; tmp_res = MAPPING_HAS_ITEM(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[191]); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_15 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; tmp_called_value_13 = PyObject_GetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[191]); if (unlikely(tmp_called_value_13 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) { FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[191]); NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 198; type_description_2 = "o"; goto frame_exception_exit_2; } if (tmp_called_value_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_value_8 = MAKE_FUNCTION_pynput$_util$$$function__10__emitter(); frame_660c677b3059cd4ae7d679d14a2b365f_2->m_frame.f_lineno = 198; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_13, tmp_args_element_value_8); Py_DECREF(tmp_called_value_13); Py_DECREF(tmp_args_element_value_8); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_8; condexpr_false_8:; tmp_classmethod_arg_1 = MAKE_FUNCTION_pynput$_util$$$function__10__emitter(); tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_1); Py_DECREF(tmp_classmethod_arg_1); assert(!(tmp_dictset_value == NULL)); condexpr_end_8:; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[192], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 199; type_description_2 = "o"; goto frame_exception_exit_2; } } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__11__mark_ready(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[194], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 226; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__12__run(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[73], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 237; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__13__stop_platform(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[65], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 244; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__14_join(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[89], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 251; type_description_2 = "o"; goto frame_exception_exit_2; } #if 0 RESTORE_FRAME_EXCEPTION(frame_660c677b3059cd4ae7d679d14a2b365f_2); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION(frame_660c677b3059cd4ae7d679d14a2b365f_2); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_660c677b3059cd4ae7d679d14a2b365f_2, exception_lineno); } else if (exception_tb->tb_frame != &frame_660c677b3059cd4ae7d679d14a2b365f_2->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_660c677b3059cd4ae7d679d14a2b365f_2, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_660c677b3059cd4ae7d679d14a2b365f_2, type_description_2, outline_0_var___class__ ); // Release cached frame if used for exception. if (frame_660c677b3059cd4ae7d679d14a2b365f_2 == cache_frame_660c677b3059cd4ae7d679d14a2b365f_2) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_660c677b3059cd4ae7d679d14a2b365f_2); cache_frame_660c677b3059cd4ae7d679d14a2b365f_2 = NULL; } assertFrameObject(frame_660c677b3059cd4ae7d679d14a2b365f_2); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; goto try_except_handler_3; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_16; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_compexpr_left_2 = tmp_class_creation_1__bases; CHECK_OBJECT(tmp_class_creation_1__bases_orig); tmp_compexpr_right_2 = tmp_class_creation_1__bases_orig; tmp_condition_result_16 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_2, tmp_compexpr_right_2); if (tmp_condition_result_16 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_3; } if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) { goto branch_yes_8; } else { goto branch_no_8; } assert(tmp_condition_result_16 != NUITKA_BOOL_UNASSIGNED); } branch_yes_8:; CHECK_OBJECT(tmp_class_creation_1__bases_orig); tmp_dictset_value = tmp_class_creation_1__bases_orig; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__1_AbstractListener_86, mod_consts[175], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_3; } branch_no_8:; { PyObject *tmp_assign_source_29; PyObject *tmp_called_value_14; PyObject *tmp_args_value_4; PyObject *tmp_tuple_element_8; PyObject *tmp_kwargs_value_4; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_called_value_14 = tmp_class_creation_1__metaclass; tmp_tuple_element_8 = mod_consts[36]; tmp_args_value_4 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_8); CHECK_OBJECT(tmp_class_creation_1__bases); tmp_tuple_element_8 = tmp_class_creation_1__bases; PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_8); tmp_tuple_element_8 = locals_pynput$_util$$$class__1_AbstractListener_86; PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_8); CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_kwargs_value_4 = tmp_class_creation_1__class_decl_dict; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 86; tmp_assign_source_29 = CALL_FUNCTION(tmp_called_value_14, tmp_args_value_4, tmp_kwargs_value_4); Py_DECREF(tmp_args_value_4); if (tmp_assign_source_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; goto try_except_handler_3; } assert(outline_0_var___class__ == NULL); outline_0_var___class__ = tmp_assign_source_29; } CHECK_OBJECT(outline_0_var___class__); tmp_assign_source_21 = outline_0_var___class__; Py_INCREF(tmp_assign_source_21); goto try_return_handler_3; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_3:; Py_DECREF(locals_pynput$_util$$$class__1_AbstractListener_86); locals_pynput$_util$$$class__1_AbstractListener_86 = NULL; goto try_return_handler_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_pynput$_util$$$class__1_AbstractListener_86); locals_pynput$_util$$$class__1_AbstractListener_86 = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto try_except_handler_2; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_2:; CHECK_OBJECT(outline_0_var___class__); Py_DECREF(outline_0_var___class__); outline_0_var___class__ = NULL; goto outline_result_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto outline_exception_1; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_1:; exception_lineno = 86; goto try_except_handler_1; outline_result_1:; UPDATE_STRING_DICT1(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[36], tmp_assign_source_21); } goto try_end_2; // Exception handler code: try_except_handler_1:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_1__bases_orig); tmp_class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_class_creation_1__bases); tmp_class_creation_1__bases = NULL; Py_XDECREF(tmp_class_creation_1__class_decl_dict); tmp_class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_1__metaclass); tmp_class_creation_1__metaclass = NULL; Py_XDECREF(tmp_class_creation_1__prepared); tmp_class_creation_1__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto frame_exception_exit_1; // End of try: try_end_2:; CHECK_OBJECT(tmp_class_creation_1__bases_orig); Py_DECREF(tmp_class_creation_1__bases_orig); tmp_class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_class_creation_1__bases); tmp_class_creation_1__bases = NULL; Py_XDECREF(tmp_class_creation_1__class_decl_dict); tmp_class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_1__metaclass); tmp_class_creation_1__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_1__prepared); Py_DECREF(tmp_class_creation_1__prepared); tmp_class_creation_1__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_30; PyObject *tmp_dircall_arg1_3; tmp_dircall_arg1_3 = mod_consts[199]; Py_INCREF(tmp_dircall_arg1_3); { PyObject *dir_call_args[] = {tmp_dircall_arg1_3}; tmp_assign_source_30 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_7; } assert(tmp_class_creation_2__bases == NULL); tmp_class_creation_2__bases = tmp_assign_source_30; } { PyObject *tmp_assign_source_31; tmp_assign_source_31 = PyDict_New(); assert(tmp_class_creation_2__class_decl_dict == NULL); tmp_class_creation_2__class_decl_dict = tmp_assign_source_31; } { PyObject *tmp_assign_source_32; PyObject *tmp_metaclass_value_3; bool tmp_condition_result_17; PyObject *tmp_key_value_7; PyObject *tmp_dict_arg_value_7; PyObject *tmp_dict_arg_value_8; PyObject *tmp_key_value_8; nuitka_bool tmp_condition_result_18; int tmp_truth_name_3; PyObject *tmp_type_arg_5; PyObject *tmp_expression_value_17; PyObject *tmp_subscript_value_4; PyObject *tmp_bases_value_3; tmp_key_value_7 = mod_consts[163]; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_value_7 = tmp_class_creation_2__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_7, tmp_key_value_7); assert(!(tmp_res == -1)); tmp_condition_result_17 = (tmp_res != 0) ? true : false; if (tmp_condition_result_17 != false) { goto condexpr_true_9; } else { goto condexpr_false_9; } condexpr_true_9:; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_value_8 = tmp_class_creation_2__class_decl_dict; tmp_key_value_8 = mod_consts[163]; \ tmp_metaclass_value_3 = DICT_GET_ITEM0(tmp_dict_arg_value_8, tmp_key_value_8); if (tmp_metaclass_value_3 == NULL) { tmp_metaclass_value_3 = Py_None; } assert(!(tmp_metaclass_value_3 == NULL)); Py_INCREF(tmp_metaclass_value_3); goto condexpr_end_9; condexpr_false_9:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_2__bases); if (tmp_truth_name_3 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_7; } tmp_condition_result_18 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) { goto condexpr_true_10; } else { goto condexpr_false_10; } condexpr_true_10:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_expression_value_17 = tmp_class_creation_2__bases; tmp_subscript_value_4 = mod_consts[152]; tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_17, tmp_subscript_value_4, 0); if (tmp_type_arg_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_7; } tmp_metaclass_value_3 = BUILTIN_TYPE1(tmp_type_arg_5); Py_DECREF(tmp_type_arg_5); if (tmp_metaclass_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_7; } goto condexpr_end_10; condexpr_false_10:; tmp_metaclass_value_3 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_value_3); condexpr_end_10:; condexpr_end_9:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_bases_value_3 = tmp_class_creation_2__bases; tmp_assign_source_32 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3); Py_DECREF(tmp_metaclass_value_3); if (tmp_assign_source_32 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_7; } assert(tmp_class_creation_2__metaclass == NULL); tmp_class_creation_2__metaclass = tmp_assign_source_32; } { bool tmp_condition_result_19; PyObject *tmp_key_value_9; PyObject *tmp_dict_arg_value_9; tmp_key_value_9 = mod_consts[163]; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_value_9 = tmp_class_creation_2__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_9, tmp_key_value_9); assert(!(tmp_res == -1)); tmp_condition_result_19 = (tmp_res != 0) ? true : false; if (tmp_condition_result_19 != false) { goto branch_yes_9; } else { goto branch_no_9; } } branch_yes_9:; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict; tmp_dictdel_key = mod_consts[163]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_7; } branch_no_9:; { nuitka_bool tmp_condition_result_20; PyObject *tmp_expression_value_18; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_expression_value_18 = tmp_class_creation_2__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_value_18, mod_consts[164]); tmp_condition_result_20 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) { goto branch_yes_10; } else { goto branch_no_10; } } branch_yes_10:; { PyObject *tmp_assign_source_33; PyObject *tmp_called_value_15; PyObject *tmp_expression_value_19; PyObject *tmp_args_value_5; PyObject *tmp_tuple_element_9; PyObject *tmp_kwargs_value_5; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_expression_value_19 = tmp_class_creation_2__metaclass; tmp_called_value_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[164]); if (tmp_called_value_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_7; } tmp_tuple_element_9 = mod_consts[101]; tmp_args_value_5 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_9); CHECK_OBJECT(tmp_class_creation_2__bases); tmp_tuple_element_9 = tmp_class_creation_2__bases; PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_9); CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_kwargs_value_5 = tmp_class_creation_2__class_decl_dict; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 262; tmp_assign_source_33 = CALL_FUNCTION(tmp_called_value_15, tmp_args_value_5, tmp_kwargs_value_5); Py_DECREF(tmp_called_value_15); Py_DECREF(tmp_args_value_5); if (tmp_assign_source_33 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_7; } assert(tmp_class_creation_2__prepared == NULL); tmp_class_creation_2__prepared = tmp_assign_source_33; } { bool tmp_condition_result_21; PyObject *tmp_operand_value_3; PyObject *tmp_expression_value_20; CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_expression_value_20 = tmp_class_creation_2__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_value_20, mod_consts[165]); tmp_operand_value_3 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_value_3); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_7; } tmp_condition_result_21 = (tmp_res == 0) ? true : false; if (tmp_condition_result_21 != false) { goto branch_yes_11; } else { goto branch_no_11; } } branch_yes_11:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_3; PyObject *tmp_left_value_3; PyObject *tmp_right_value_3; PyObject *tmp_tuple_element_10; PyObject *tmp_getattr_target_3; PyObject *tmp_getattr_attr_3; PyObject *tmp_getattr_default_3; tmp_raise_type_3 = PyExc_TypeError; tmp_left_value_3 = mod_consts[166]; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_getattr_target_3 = tmp_class_creation_2__metaclass; tmp_getattr_attr_3 = mod_consts[94]; tmp_getattr_default_3 = mod_consts[167]; tmp_tuple_element_10 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3); if (tmp_tuple_element_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_7; } tmp_right_value_3 = PyTuple_New(2); { PyObject *tmp_expression_value_21; PyObject *tmp_type_arg_6; PyTuple_SET_ITEM(tmp_right_value_3, 0, tmp_tuple_element_10); CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_type_arg_6 = tmp_class_creation_2__prepared; tmp_expression_value_21 = BUILTIN_TYPE1(tmp_type_arg_6); assert(!(tmp_expression_value_21 == NULL)); tmp_tuple_element_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[94]); Py_DECREF(tmp_expression_value_21); if (tmp_tuple_element_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto tuple_build_exception_3; } PyTuple_SET_ITEM(tmp_right_value_3, 1, tmp_tuple_element_10); } goto tuple_build_noexception_3; // Exception handling pass through code for tuple_build: tuple_build_exception_3:; Py_DECREF(tmp_right_value_3); goto try_except_handler_7; // Finished with no exception for tuple_build: tuple_build_noexception_3:; tmp_raise_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_value_3, tmp_right_value_3); Py_DECREF(tmp_right_value_3); if (tmp_raise_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_7; } exception_type = tmp_raise_type_3; Py_INCREF(tmp_raise_type_3); exception_value = tmp_raise_value_3; exception_lineno = 262; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_7; } branch_no_11:; goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_34; tmp_assign_source_34 = PyDict_New(); assert(tmp_class_creation_2__prepared == NULL); tmp_class_creation_2__prepared = tmp_assign_source_34; } branch_end_10:; { PyObject *tmp_assign_source_35; { PyObject *tmp_set_locals_3; CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_set_locals_3 = tmp_class_creation_2__prepared; locals_pynput$_util$$$class__3_Events_262 = tmp_set_locals_3; Py_INCREF(tmp_set_locals_3); } // Tried code: // Tried code: tmp_dictset_value = mod_consts[168]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[169], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_9; } tmp_dictset_value = mod_consts[200]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[144], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_9; } tmp_dictset_value = mod_consts[101]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[171], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_9; } if (isFrameUnusable(cache_frame_a641e3cbcda791d6ffc09dbae1865dcc_3)) { Py_XDECREF(cache_frame_a641e3cbcda791d6ffc09dbae1865dcc_3); #if _DEBUG_REFCOUNTS if (cache_frame_a641e3cbcda791d6ffc09dbae1865dcc_3 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_a641e3cbcda791d6ffc09dbae1865dcc_3 = MAKE_FUNCTION_FRAME(codeobj_a641e3cbcda791d6ffc09dbae1865dcc, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_a641e3cbcda791d6ffc09dbae1865dcc_3->m_type_description == NULL); frame_a641e3cbcda791d6ffc09dbae1865dcc_3 = cache_frame_a641e3cbcda791d6ffc09dbae1865dcc_3; // Push the new frame as the currently active one. pushFrameStack(frame_a641e3cbcda791d6ffc09dbae1865dcc_3); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_a641e3cbcda791d6ffc09dbae1865dcc_3) == 2); // Frame stack // Framed code: tmp_dictset_value = Py_None; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[104], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 266; type_description_2 = "o"; goto frame_exception_exit_3; } { PyObject *tmp_assign_source_36; PyObject *tmp_tuple_element_11; tmp_tuple_element_11 = PyObject_GetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[201]); if (tmp_tuple_element_11 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_tuple_element_11 = (PyObject *)&PyBaseObject_Type; Py_INCREF(tmp_tuple_element_11); } else { goto frame_exception_exit_3; } } tmp_assign_source_36 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_36, 0, tmp_tuple_element_11); assert(tmp_Events$class_creation_1__bases_orig == NULL); tmp_Events$class_creation_1__bases_orig = tmp_assign_source_36; } // Tried code: { PyObject *tmp_assign_source_37; PyObject *tmp_dircall_arg1_4; CHECK_OBJECT(tmp_Events$class_creation_1__bases_orig); tmp_dircall_arg1_4 = tmp_Events$class_creation_1__bases_orig; Py_INCREF(tmp_dircall_arg1_4); { PyObject *dir_call_args[] = {tmp_dircall_arg1_4}; tmp_assign_source_37 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_37 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } assert(tmp_Events$class_creation_1__bases == NULL); tmp_Events$class_creation_1__bases = tmp_assign_source_37; } { PyObject *tmp_assign_source_38; tmp_assign_source_38 = PyDict_New(); assert(tmp_Events$class_creation_1__class_decl_dict == NULL); tmp_Events$class_creation_1__class_decl_dict = tmp_assign_source_38; } { PyObject *tmp_assign_source_39; PyObject *tmp_metaclass_value_4; bool tmp_condition_result_22; PyObject *tmp_key_value_10; PyObject *tmp_dict_arg_value_10; PyObject *tmp_dict_arg_value_11; PyObject *tmp_key_value_11; nuitka_bool tmp_condition_result_23; int tmp_truth_name_4; PyObject *tmp_type_arg_7; PyObject *tmp_expression_value_22; PyObject *tmp_subscript_value_5; PyObject *tmp_bases_value_4; tmp_key_value_10 = mod_consts[163]; CHECK_OBJECT(tmp_Events$class_creation_1__class_decl_dict); tmp_dict_arg_value_10 = tmp_Events$class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_10, tmp_key_value_10); assert(!(tmp_res == -1)); tmp_condition_result_22 = (tmp_res != 0) ? true : false; if (tmp_condition_result_22 != false) { goto condexpr_true_11; } else { goto condexpr_false_11; } condexpr_true_11:; CHECK_OBJECT(tmp_Events$class_creation_1__class_decl_dict); tmp_dict_arg_value_11 = tmp_Events$class_creation_1__class_decl_dict; tmp_key_value_11 = mod_consts[163]; \ tmp_metaclass_value_4 = DICT_GET_ITEM0(tmp_dict_arg_value_11, tmp_key_value_11); if (tmp_metaclass_value_4 == NULL) { tmp_metaclass_value_4 = Py_None; } assert(!(tmp_metaclass_value_4 == NULL)); Py_INCREF(tmp_metaclass_value_4); goto condexpr_end_11; condexpr_false_11:; CHECK_OBJECT(tmp_Events$class_creation_1__bases); tmp_truth_name_4 = CHECK_IF_TRUE(tmp_Events$class_creation_1__bases); if (tmp_truth_name_4 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } tmp_condition_result_23 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) { goto condexpr_true_12; } else { goto condexpr_false_12; } condexpr_true_12:; CHECK_OBJECT(tmp_Events$class_creation_1__bases); tmp_expression_value_22 = tmp_Events$class_creation_1__bases; tmp_subscript_value_5 = mod_consts[152]; tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_22, tmp_subscript_value_5, 0); if (tmp_type_arg_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } tmp_metaclass_value_4 = BUILTIN_TYPE1(tmp_type_arg_7); Py_DECREF(tmp_type_arg_7); if (tmp_metaclass_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } goto condexpr_end_12; condexpr_false_12:; tmp_metaclass_value_4 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_value_4); condexpr_end_12:; condexpr_end_11:; CHECK_OBJECT(tmp_Events$class_creation_1__bases); tmp_bases_value_4 = tmp_Events$class_creation_1__bases; tmp_assign_source_39 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4); Py_DECREF(tmp_metaclass_value_4); if (tmp_assign_source_39 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } assert(tmp_Events$class_creation_1__metaclass == NULL); tmp_Events$class_creation_1__metaclass = tmp_assign_source_39; } { bool tmp_condition_result_24; PyObject *tmp_key_value_12; PyObject *tmp_dict_arg_value_12; tmp_key_value_12 = mod_consts[163]; CHECK_OBJECT(tmp_Events$class_creation_1__class_decl_dict); tmp_dict_arg_value_12 = tmp_Events$class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_12, tmp_key_value_12); assert(!(tmp_res == -1)); tmp_condition_result_24 = (tmp_res != 0) ? true : false; if (tmp_condition_result_24 != false) { goto branch_yes_12; } else { goto branch_no_12; } } branch_yes_12:; CHECK_OBJECT(tmp_Events$class_creation_1__class_decl_dict); tmp_dictdel_dict = tmp_Events$class_creation_1__class_decl_dict; tmp_dictdel_key = mod_consts[163]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } branch_no_12:; { nuitka_bool tmp_condition_result_25; PyObject *tmp_expression_value_23; CHECK_OBJECT(tmp_Events$class_creation_1__metaclass); tmp_expression_value_23 = tmp_Events$class_creation_1__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_value_23, mod_consts[164]); tmp_condition_result_25 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_25 == NUITKA_BOOL_TRUE) { goto branch_yes_13; } else { goto branch_no_13; } } branch_yes_13:; { PyObject *tmp_assign_source_40; PyObject *tmp_called_value_16; PyObject *tmp_expression_value_24; PyObject *tmp_args_value_6; PyObject *tmp_tuple_element_12; PyObject *tmp_kwargs_value_6; CHECK_OBJECT(tmp_Events$class_creation_1__metaclass); tmp_expression_value_24 = tmp_Events$class_creation_1__metaclass; tmp_called_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[164]); if (tmp_called_value_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } tmp_tuple_element_12 = mod_consts[202]; tmp_args_value_6 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_12); CHECK_OBJECT(tmp_Events$class_creation_1__bases); tmp_tuple_element_12 = tmp_Events$class_creation_1__bases; PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_12); CHECK_OBJECT(tmp_Events$class_creation_1__class_decl_dict); tmp_kwargs_value_6 = tmp_Events$class_creation_1__class_decl_dict; frame_a641e3cbcda791d6ffc09dbae1865dcc_3->m_frame.f_lineno = 268; tmp_assign_source_40 = CALL_FUNCTION(tmp_called_value_16, tmp_args_value_6, tmp_kwargs_value_6); Py_DECREF(tmp_called_value_16); Py_DECREF(tmp_args_value_6); if (tmp_assign_source_40 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } assert(tmp_Events$class_creation_1__prepared == NULL); tmp_Events$class_creation_1__prepared = tmp_assign_source_40; } { bool tmp_condition_result_26; PyObject *tmp_operand_value_4; PyObject *tmp_expression_value_25; CHECK_OBJECT(tmp_Events$class_creation_1__prepared); tmp_expression_value_25 = tmp_Events$class_creation_1__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_value_25, mod_consts[165]); tmp_operand_value_4 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_value_4); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } tmp_condition_result_26 = (tmp_res == 0) ? true : false; if (tmp_condition_result_26 != false) { goto branch_yes_14; } else { goto branch_no_14; } } branch_yes_14:; { PyObject *tmp_raise_type_4; PyObject *tmp_raise_value_4; PyObject *tmp_left_value_4; PyObject *tmp_right_value_4; PyObject *tmp_tuple_element_13; PyObject *tmp_getattr_target_4; PyObject *tmp_getattr_attr_4; PyObject *tmp_getattr_default_4; tmp_raise_type_4 = PyExc_TypeError; tmp_left_value_4 = mod_consts[166]; CHECK_OBJECT(tmp_Events$class_creation_1__metaclass); tmp_getattr_target_4 = tmp_Events$class_creation_1__metaclass; tmp_getattr_attr_4 = mod_consts[94]; tmp_getattr_default_4 = mod_consts[167]; tmp_tuple_element_13 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4); if (tmp_tuple_element_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } tmp_right_value_4 = PyTuple_New(2); { PyObject *tmp_expression_value_26; PyObject *tmp_type_arg_8; PyTuple_SET_ITEM(tmp_right_value_4, 0, tmp_tuple_element_13); CHECK_OBJECT(tmp_Events$class_creation_1__prepared); tmp_type_arg_8 = tmp_Events$class_creation_1__prepared; tmp_expression_value_26 = BUILTIN_TYPE1(tmp_type_arg_8); assert(!(tmp_expression_value_26 == NULL)); tmp_tuple_element_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[94]); Py_DECREF(tmp_expression_value_26); if (tmp_tuple_element_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto tuple_build_exception_4; } PyTuple_SET_ITEM(tmp_right_value_4, 1, tmp_tuple_element_13); } goto tuple_build_noexception_4; // Exception handling pass through code for tuple_build: tuple_build_exception_4:; Py_DECREF(tmp_right_value_4); goto try_except_handler_10; // Finished with no exception for tuple_build: tuple_build_noexception_4:; tmp_raise_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_value_4, tmp_right_value_4); Py_DECREF(tmp_right_value_4); if (tmp_raise_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } exception_type = tmp_raise_type_4; Py_INCREF(tmp_raise_type_4); exception_value = tmp_raise_value_4; exception_lineno = 268; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); type_description_2 = "o"; goto try_except_handler_10; } branch_no_14:; goto branch_end_13; branch_no_13:; { PyObject *tmp_assign_source_41; tmp_assign_source_41 = PyDict_New(); assert(tmp_Events$class_creation_1__prepared == NULL); tmp_Events$class_creation_1__prepared = tmp_assign_source_41; } branch_end_13:; { PyObject *tmp_set_locals_4; CHECK_OBJECT(tmp_Events$class_creation_1__prepared); tmp_set_locals_4 = tmp_Events$class_creation_1__prepared; locals_pynput$_util$$$class__4_Event_268 = tmp_set_locals_4; Py_INCREF(tmp_set_locals_4); } // Tried code: // Tried code: tmp_dictset_value = mod_consts[168]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__4_Event_268, mod_consts[169], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_12; } tmp_dictset_value = mod_consts[203]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__4_Event_268, mod_consts[171], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_12; } if (isFrameUnusable(cache_frame_c0b7a58a090323b58655f5b4900db39e_4)) { Py_XDECREF(cache_frame_c0b7a58a090323b58655f5b4900db39e_4); #if _DEBUG_REFCOUNTS if (cache_frame_c0b7a58a090323b58655f5b4900db39e_4 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_c0b7a58a090323b58655f5b4900db39e_4 = MAKE_FUNCTION_FRAME(codeobj_c0b7a58a090323b58655f5b4900db39e, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_c0b7a58a090323b58655f5b4900db39e_4->m_type_description == NULL); frame_c0b7a58a090323b58655f5b4900db39e_4 = cache_frame_c0b7a58a090323b58655f5b4900db39e_4; // Push the new frame as the currently active one. pushFrameStack(frame_c0b7a58a090323b58655f5b4900db39e_4); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_c0b7a58a090323b58655f5b4900db39e_4) == 2); // Frame stack // Framed code: tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__15___str__(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__4_Event_268, mod_consts[204], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 269; type_description_3 = "o"; goto frame_exception_exit_4; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__16___eq__(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__4_Event_268, mod_consts[206], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 276; type_description_3 = "o"; goto frame_exception_exit_4; } #if 0 RESTORE_FRAME_EXCEPTION(frame_c0b7a58a090323b58655f5b4900db39e_4); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_4:; #if 0 RESTORE_FRAME_EXCEPTION(frame_c0b7a58a090323b58655f5b4900db39e_4); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_c0b7a58a090323b58655f5b4900db39e_4, exception_lineno); } else if (exception_tb->tb_frame != &frame_c0b7a58a090323b58655f5b4900db39e_4->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_c0b7a58a090323b58655f5b4900db39e_4, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_c0b7a58a090323b58655f5b4900db39e_4, type_description_3, outline_3_var___class__ ); // Release cached frame if used for exception. if (frame_c0b7a58a090323b58655f5b4900db39e_4 == cache_frame_c0b7a58a090323b58655f5b4900db39e_4) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_c0b7a58a090323b58655f5b4900db39e_4); cache_frame_c0b7a58a090323b58655f5b4900db39e_4 = NULL; } assertFrameObject(frame_c0b7a58a090323b58655f5b4900db39e_4); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_3; frame_no_exception_2:; goto skip_nested_handling_2; nested_frame_exit_3:; type_description_2 = "o"; goto try_except_handler_12; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_27; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT(tmp_Events$class_creation_1__bases); tmp_compexpr_left_3 = tmp_Events$class_creation_1__bases; CHECK_OBJECT(tmp_Events$class_creation_1__bases_orig); tmp_compexpr_right_3 = tmp_Events$class_creation_1__bases_orig; tmp_condition_result_27 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_3, tmp_compexpr_right_3); if (tmp_condition_result_27 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_12; } if (tmp_condition_result_27 == NUITKA_BOOL_TRUE) { goto branch_yes_15; } else { goto branch_no_15; } assert(tmp_condition_result_27 != NUITKA_BOOL_UNASSIGNED); } branch_yes_15:; CHECK_OBJECT(tmp_Events$class_creation_1__bases_orig); tmp_dictset_value = tmp_Events$class_creation_1__bases_orig; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__4_Event_268, mod_consts[175], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_12; } branch_no_15:; { PyObject *tmp_assign_source_42; PyObject *tmp_called_value_17; PyObject *tmp_args_value_7; PyObject *tmp_tuple_element_14; PyObject *tmp_kwargs_value_7; CHECK_OBJECT(tmp_Events$class_creation_1__metaclass); tmp_called_value_17 = tmp_Events$class_creation_1__metaclass; tmp_tuple_element_14 = mod_consts[202]; tmp_args_value_7 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_14); CHECK_OBJECT(tmp_Events$class_creation_1__bases); tmp_tuple_element_14 = tmp_Events$class_creation_1__bases; PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_14); tmp_tuple_element_14 = locals_pynput$_util$$$class__4_Event_268; PyTuple_SET_ITEM0(tmp_args_value_7, 2, tmp_tuple_element_14); CHECK_OBJECT(tmp_Events$class_creation_1__class_decl_dict); tmp_kwargs_value_7 = tmp_Events$class_creation_1__class_decl_dict; frame_a641e3cbcda791d6ffc09dbae1865dcc_3->m_frame.f_lineno = 268; tmp_assign_source_42 = CALL_FUNCTION(tmp_called_value_17, tmp_args_value_7, tmp_kwargs_value_7); Py_DECREF(tmp_args_value_7); if (tmp_assign_source_42 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_12; } assert(outline_3_var___class__ == NULL); outline_3_var___class__ = tmp_assign_source_42; } CHECK_OBJECT(outline_3_var___class__); tmp_dictset_value = outline_3_var___class__; Py_INCREF(tmp_dictset_value); goto try_return_handler_12; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_12:; Py_DECREF(locals_pynput$_util$$$class__4_Event_268); locals_pynput$_util$$$class__4_Event_268 = NULL; goto try_return_handler_11; // Exception handler code: try_except_handler_12:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_pynput$_util$$$class__4_Event_268); locals_pynput$_util$$$class__4_Event_268 = NULL; // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_11; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_11:; CHECK_OBJECT(outline_3_var___class__); Py_DECREF(outline_3_var___class__); outline_3_var___class__ = NULL; goto outline_result_4; // Exception handler code: try_except_handler_11:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto outline_exception_4; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_4:; exception_lineno = 268; goto try_except_handler_10; outline_result_4:; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[202], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 268; type_description_2 = "o"; goto try_except_handler_10; } goto try_end_3; // Exception handler code: try_except_handler_10:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_Events$class_creation_1__bases_orig); Py_DECREF(tmp_Events$class_creation_1__bases_orig); tmp_Events$class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_Events$class_creation_1__bases); tmp_Events$class_creation_1__bases = NULL; Py_XDECREF(tmp_Events$class_creation_1__class_decl_dict); tmp_Events$class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_Events$class_creation_1__metaclass); tmp_Events$class_creation_1__metaclass = NULL; Py_XDECREF(tmp_Events$class_creation_1__prepared); tmp_Events$class_creation_1__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto frame_exception_exit_3; // End of try: try_end_3:; CHECK_OBJECT(tmp_Events$class_creation_1__bases_orig); Py_DECREF(tmp_Events$class_creation_1__bases_orig); tmp_Events$class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_Events$class_creation_1__bases); tmp_Events$class_creation_1__bases = NULL; Py_XDECREF(tmp_Events$class_creation_1__class_decl_dict); tmp_Events$class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_Events$class_creation_1__metaclass); tmp_Events$class_creation_1__metaclass = NULL; CHECK_OBJECT(tmp_Events$class_creation_1__prepared); Py_DECREF(tmp_Events$class_creation_1__prepared); tmp_Events$class_creation_1__prepared = NULL; tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__17___init__(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[37], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 283; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__18___enter__(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[107], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 292; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__19___exit__(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[108], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 296; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__20___iter__(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[211], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 308; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__21___next__(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[213], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 311; type_description_2 = "o"; goto frame_exception_exit_3; } { PyObject *tmp_defaults_2; tmp_defaults_2 = mod_consts[64]; Py_INCREF(tmp_defaults_2); tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__22_get(tmp_defaults_2); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[2], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 318; type_description_2 = "o"; goto frame_exception_exit_3; } } tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__23__event_mapper(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[105], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 333; type_description_2 = "o"; goto frame_exception_exit_3; } #if 0 RESTORE_FRAME_EXCEPTION(frame_a641e3cbcda791d6ffc09dbae1865dcc_3); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_exception_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION(frame_a641e3cbcda791d6ffc09dbae1865dcc_3); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_a641e3cbcda791d6ffc09dbae1865dcc_3, exception_lineno); } else if (exception_tb->tb_frame != &frame_a641e3cbcda791d6ffc09dbae1865dcc_3->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_a641e3cbcda791d6ffc09dbae1865dcc_3, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_a641e3cbcda791d6ffc09dbae1865dcc_3, type_description_2, outline_2_var___class__ ); // Release cached frame if used for exception. if (frame_a641e3cbcda791d6ffc09dbae1865dcc_3 == cache_frame_a641e3cbcda791d6ffc09dbae1865dcc_3) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_a641e3cbcda791d6ffc09dbae1865dcc_3); cache_frame_a641e3cbcda791d6ffc09dbae1865dcc_3 = NULL; } assertFrameObject(frame_a641e3cbcda791d6ffc09dbae1865dcc_3); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_2; frame_no_exception_3:; goto skip_nested_handling_3; nested_frame_exit_2:; goto try_except_handler_9; skip_nested_handling_3:; { nuitka_bool tmp_condition_result_28; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_compexpr_left_4 = tmp_class_creation_2__bases; tmp_compexpr_right_4 = mod_consts[199]; tmp_condition_result_28 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_4, tmp_compexpr_right_4); if (tmp_condition_result_28 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_9; } if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) { goto branch_yes_16; } else { goto branch_no_16; } assert(tmp_condition_result_28 != NUITKA_BOOL_UNASSIGNED); } branch_yes_16:; tmp_dictset_value = mod_consts[199]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__3_Events_262, mod_consts[175], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_9; } branch_no_16:; { PyObject *tmp_assign_source_43; PyObject *tmp_called_value_18; PyObject *tmp_args_value_8; PyObject *tmp_tuple_element_15; PyObject *tmp_kwargs_value_8; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_called_value_18 = tmp_class_creation_2__metaclass; tmp_tuple_element_15 = mod_consts[101]; tmp_args_value_8 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_value_8, 0, tmp_tuple_element_15); CHECK_OBJECT(tmp_class_creation_2__bases); tmp_tuple_element_15 = tmp_class_creation_2__bases; PyTuple_SET_ITEM0(tmp_args_value_8, 1, tmp_tuple_element_15); tmp_tuple_element_15 = locals_pynput$_util$$$class__3_Events_262; PyTuple_SET_ITEM0(tmp_args_value_8, 2, tmp_tuple_element_15); CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_kwargs_value_8 = tmp_class_creation_2__class_decl_dict; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 262; tmp_assign_source_43 = CALL_FUNCTION(tmp_called_value_18, tmp_args_value_8, tmp_kwargs_value_8); Py_DECREF(tmp_args_value_8); if (tmp_assign_source_43 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 262; goto try_except_handler_9; } assert(outline_2_var___class__ == NULL); outline_2_var___class__ = tmp_assign_source_43; } CHECK_OBJECT(outline_2_var___class__); tmp_assign_source_35 = outline_2_var___class__; Py_INCREF(tmp_assign_source_35); goto try_return_handler_9; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_9:; Py_DECREF(locals_pynput$_util$$$class__3_Events_262); locals_pynput$_util$$$class__3_Events_262 = NULL; goto try_return_handler_8; // Exception handler code: try_except_handler_9:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_pynput$_util$$$class__3_Events_262); locals_pynput$_util$$$class__3_Events_262 = NULL; // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto try_except_handler_8; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_8:; CHECK_OBJECT(outline_2_var___class__); Py_DECREF(outline_2_var___class__); outline_2_var___class__ = NULL; goto outline_result_3; // Exception handler code: try_except_handler_8:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto outline_exception_3; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_3:; exception_lineno = 262; goto try_except_handler_7; outline_result_3:; UPDATE_STRING_DICT1(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[101], tmp_assign_source_35); } goto try_end_4; // Exception handler code: try_except_handler_7:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_2__bases); tmp_class_creation_2__bases = NULL; Py_XDECREF(tmp_class_creation_2__class_decl_dict); tmp_class_creation_2__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_2__metaclass); tmp_class_creation_2__metaclass = NULL; Py_XDECREF(tmp_class_creation_2__prepared); tmp_class_creation_2__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto frame_exception_exit_1; // End of try: try_end_4:; Py_XDECREF(tmp_class_creation_2__bases); tmp_class_creation_2__bases = NULL; Py_XDECREF(tmp_class_creation_2__class_decl_dict); tmp_class_creation_2__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_2__metaclass); tmp_class_creation_2__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_2__prepared); Py_DECREF(tmp_class_creation_2__prepared); tmp_class_creation_2__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_44; PyObject *tmp_dircall_arg1_5; tmp_dircall_arg1_5 = mod_consts[199]; Py_INCREF(tmp_dircall_arg1_5); { PyObject *dir_call_args[] = {tmp_dircall_arg1_5}; tmp_assign_source_44 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_44 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_13; } assert(tmp_class_creation_3__bases == NULL); tmp_class_creation_3__bases = tmp_assign_source_44; } { PyObject *tmp_assign_source_45; tmp_assign_source_45 = PyDict_New(); assert(tmp_class_creation_3__class_decl_dict == NULL); tmp_class_creation_3__class_decl_dict = tmp_assign_source_45; } { PyObject *tmp_assign_source_46; PyObject *tmp_metaclass_value_5; bool tmp_condition_result_29; PyObject *tmp_key_value_13; PyObject *tmp_dict_arg_value_13; PyObject *tmp_dict_arg_value_14; PyObject *tmp_key_value_14; nuitka_bool tmp_condition_result_30; int tmp_truth_name_5; PyObject *tmp_type_arg_9; PyObject *tmp_expression_value_27; PyObject *tmp_subscript_value_6; PyObject *tmp_bases_value_5; tmp_key_value_13 = mod_consts[163]; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_value_13 = tmp_class_creation_3__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_13, tmp_key_value_13); assert(!(tmp_res == -1)); tmp_condition_result_29 = (tmp_res != 0) ? true : false; if (tmp_condition_result_29 != false) { goto condexpr_true_13; } else { goto condexpr_false_13; } condexpr_true_13:; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_value_14 = tmp_class_creation_3__class_decl_dict; tmp_key_value_14 = mod_consts[163]; \ tmp_metaclass_value_5 = DICT_GET_ITEM0(tmp_dict_arg_value_14, tmp_key_value_14); if (tmp_metaclass_value_5 == NULL) { tmp_metaclass_value_5 = Py_None; } assert(!(tmp_metaclass_value_5 == NULL)); Py_INCREF(tmp_metaclass_value_5); goto condexpr_end_13; condexpr_false_13:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_truth_name_5 = CHECK_IF_TRUE(tmp_class_creation_3__bases); if (tmp_truth_name_5 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_13; } tmp_condition_result_30 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) { goto condexpr_true_14; } else { goto condexpr_false_14; } condexpr_true_14:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_expression_value_27 = tmp_class_creation_3__bases; tmp_subscript_value_6 = mod_consts[152]; tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_27, tmp_subscript_value_6, 0); if (tmp_type_arg_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_13; } tmp_metaclass_value_5 = BUILTIN_TYPE1(tmp_type_arg_9); Py_DECREF(tmp_type_arg_9); if (tmp_metaclass_value_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_13; } goto condexpr_end_14; condexpr_false_14:; tmp_metaclass_value_5 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_value_5); condexpr_end_14:; condexpr_end_13:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_bases_value_5 = tmp_class_creation_3__bases; tmp_assign_source_46 = SELECT_METACLASS(tmp_metaclass_value_5, tmp_bases_value_5); Py_DECREF(tmp_metaclass_value_5); if (tmp_assign_source_46 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_13; } assert(tmp_class_creation_3__metaclass == NULL); tmp_class_creation_3__metaclass = tmp_assign_source_46; } { bool tmp_condition_result_31; PyObject *tmp_key_value_15; PyObject *tmp_dict_arg_value_15; tmp_key_value_15 = mod_consts[163]; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_value_15 = tmp_class_creation_3__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_15, tmp_key_value_15); assert(!(tmp_res == -1)); tmp_condition_result_31 = (tmp_res != 0) ? true : false; if (tmp_condition_result_31 != false) { goto branch_yes_17; } else { goto branch_no_17; } } branch_yes_17:; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict; tmp_dictdel_key = mod_consts[163]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_13; } branch_no_17:; { nuitka_bool tmp_condition_result_32; PyObject *tmp_expression_value_28; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_expression_value_28 = tmp_class_creation_3__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_value_28, mod_consts[164]); tmp_condition_result_32 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) { goto branch_yes_18; } else { goto branch_no_18; } } branch_yes_18:; { PyObject *tmp_assign_source_47; PyObject *tmp_called_value_19; PyObject *tmp_expression_value_29; PyObject *tmp_args_value_9; PyObject *tmp_tuple_element_16; PyObject *tmp_kwargs_value_9; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_expression_value_29 = tmp_class_creation_3__metaclass; tmp_called_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[164]); if (tmp_called_value_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_13; } tmp_tuple_element_16 = mod_consts[217]; tmp_args_value_9 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_value_9, 0, tmp_tuple_element_16); CHECK_OBJECT(tmp_class_creation_3__bases); tmp_tuple_element_16 = tmp_class_creation_3__bases; PyTuple_SET_ITEM0(tmp_args_value_9, 1, tmp_tuple_element_16); CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_kwargs_value_9 = tmp_class_creation_3__class_decl_dict; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 351; tmp_assign_source_47 = CALL_FUNCTION(tmp_called_value_19, tmp_args_value_9, tmp_kwargs_value_9); Py_DECREF(tmp_called_value_19); Py_DECREF(tmp_args_value_9); if (tmp_assign_source_47 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_13; } assert(tmp_class_creation_3__prepared == NULL); tmp_class_creation_3__prepared = tmp_assign_source_47; } { bool tmp_condition_result_33; PyObject *tmp_operand_value_5; PyObject *tmp_expression_value_30; CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_expression_value_30 = tmp_class_creation_3__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_value_30, mod_consts[165]); tmp_operand_value_5 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_value_5); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_13; } tmp_condition_result_33 = (tmp_res == 0) ? true : false; if (tmp_condition_result_33 != false) { goto branch_yes_19; } else { goto branch_no_19; } } branch_yes_19:; { PyObject *tmp_raise_type_5; PyObject *tmp_raise_value_5; PyObject *tmp_left_value_5; PyObject *tmp_right_value_5; PyObject *tmp_tuple_element_17; PyObject *tmp_getattr_target_5; PyObject *tmp_getattr_attr_5; PyObject *tmp_getattr_default_5; tmp_raise_type_5 = PyExc_TypeError; tmp_left_value_5 = mod_consts[166]; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_getattr_target_5 = tmp_class_creation_3__metaclass; tmp_getattr_attr_5 = mod_consts[94]; tmp_getattr_default_5 = mod_consts[167]; tmp_tuple_element_17 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5); if (tmp_tuple_element_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_13; } tmp_right_value_5 = PyTuple_New(2); { PyObject *tmp_expression_value_31; PyObject *tmp_type_arg_10; PyTuple_SET_ITEM(tmp_right_value_5, 0, tmp_tuple_element_17); CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_type_arg_10 = tmp_class_creation_3__prepared; tmp_expression_value_31 = BUILTIN_TYPE1(tmp_type_arg_10); assert(!(tmp_expression_value_31 == NULL)); tmp_tuple_element_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_31, mod_consts[94]); Py_DECREF(tmp_expression_value_31); if (tmp_tuple_element_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto tuple_build_exception_5; } PyTuple_SET_ITEM(tmp_right_value_5, 1, tmp_tuple_element_17); } goto tuple_build_noexception_5; // Exception handling pass through code for tuple_build: tuple_build_exception_5:; Py_DECREF(tmp_right_value_5); goto try_except_handler_13; // Finished with no exception for tuple_build: tuple_build_noexception_5:; tmp_raise_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_value_5, tmp_right_value_5); Py_DECREF(tmp_right_value_5); if (tmp_raise_value_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_13; } exception_type = tmp_raise_type_5; Py_INCREF(tmp_raise_type_5); exception_value = tmp_raise_value_5; exception_lineno = 351; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_13; } branch_no_19:; goto branch_end_18; branch_no_18:; { PyObject *tmp_assign_source_48; tmp_assign_source_48 = PyDict_New(); assert(tmp_class_creation_3__prepared == NULL); tmp_class_creation_3__prepared = tmp_assign_source_48; } branch_end_18:; { PyObject *tmp_assign_source_49; { PyObject *tmp_set_locals_5; CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_set_locals_5 = tmp_class_creation_3__prepared; locals_pynput$_util$$$class__5_NotifierMixin_351 = tmp_set_locals_5; Py_INCREF(tmp_set_locals_5); } // Tried code: // Tried code: tmp_dictset_value = mod_consts[168]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[169], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_15; } tmp_dictset_value = mod_consts[218]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[144], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_15; } tmp_dictset_value = mod_consts[217]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[171], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_15; } if (isFrameUnusable(cache_frame_bcf9346b14fd42bb8ba78e7dcfefb136_5)) { Py_XDECREF(cache_frame_bcf9346b14fd42bb8ba78e7dcfefb136_5); #if _DEBUG_REFCOUNTS if (cache_frame_bcf9346b14fd42bb8ba78e7dcfefb136_5 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_bcf9346b14fd42bb8ba78e7dcfefb136_5 = MAKE_FUNCTION_FRAME(codeobj_bcf9346b14fd42bb8ba78e7dcfefb136, module_pynput$_util, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_bcf9346b14fd42bb8ba78e7dcfefb136_5->m_type_description == NULL); frame_bcf9346b14fd42bb8ba78e7dcfefb136_5 = cache_frame_bcf9346b14fd42bb8ba78e7dcfefb136_5; // Push the new frame as the currently active one. pushFrameStack(frame_bcf9346b14fd42bb8ba78e7dcfefb136_5); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_bcf9346b14fd42bb8ba78e7dcfefb136_5) == 2); // Frame stack // Framed code: tmp_dictset_value = MAKE_FUNCTION_pynput$_util$$$function__24__emit(); tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[219], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 357; type_description_2 = "o"; goto frame_exception_exit_5; } { nuitka_bool tmp_condition_result_34; PyObject *tmp_called_value_20; PyObject *tmp_args_element_value_9; PyObject *tmp_classmethod_arg_2; tmp_res = MAPPING_HAS_ITEM(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[191]); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 376; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_condition_result_34 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_34 == NUITKA_BOOL_TRUE) { goto condexpr_true_15; } else { goto condexpr_false_15; } condexpr_true_15:; tmp_called_value_20 = PyObject_GetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[191]); if (unlikely(tmp_called_value_20 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) { FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[191]); NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 376; type_description_2 = "o"; goto frame_exception_exit_5; } if (tmp_called_value_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 376; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_args_element_value_9 = MAKE_FUNCTION_pynput$_util$$$function__25__receiver(); frame_bcf9346b14fd42bb8ba78e7dcfefb136_5->m_frame.f_lineno = 376; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_20, tmp_args_element_value_9); Py_DECREF(tmp_called_value_20); Py_DECREF(tmp_args_element_value_9); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 376; type_description_2 = "o"; goto frame_exception_exit_5; } goto condexpr_end_15; condexpr_false_15:; tmp_classmethod_arg_2 = MAKE_FUNCTION_pynput$_util$$$function__25__receiver(); tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_2); Py_DECREF(tmp_classmethod_arg_2); assert(!(tmp_dictset_value == NULL)); condexpr_end_15:; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[221], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 377; type_description_2 = "o"; goto frame_exception_exit_5; } } { nuitka_bool tmp_condition_result_35; PyObject *tmp_called_value_21; PyObject *tmp_args_element_value_10; PyObject *tmp_classmethod_arg_3; tmp_res = MAPPING_HAS_ITEM(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[191]); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 408; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_condition_result_35 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_35 == NUITKA_BOOL_TRUE) { goto condexpr_true_16; } else { goto condexpr_false_16; } condexpr_true_16:; tmp_called_value_21 = PyObject_GetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[191]); if (unlikely(tmp_called_value_21 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) { FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[191]); NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 408; type_description_2 = "o"; goto frame_exception_exit_5; } if (tmp_called_value_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 408; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_args_element_value_10 = MAKE_FUNCTION_pynput$_util$$$function__26__listeners(); frame_bcf9346b14fd42bb8ba78e7dcfefb136_5->m_frame.f_lineno = 408; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_21, tmp_args_element_value_10); Py_DECREF(tmp_called_value_21); Py_DECREF(tmp_args_element_value_10); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 408; type_description_2 = "o"; goto frame_exception_exit_5; } goto condexpr_end_16; condexpr_false_16:; tmp_classmethod_arg_3 = MAKE_FUNCTION_pynput$_util$$$function__26__listeners(); tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_3); Py_DECREF(tmp_classmethod_arg_3); assert(!(tmp_dictset_value == NULL)); condexpr_end_16:; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[118], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 409; type_description_2 = "o"; goto frame_exception_exit_5; } } { nuitka_bool tmp_condition_result_36; PyObject *tmp_called_value_22; PyObject *tmp_args_element_value_11; PyObject *tmp_classmethod_arg_4; tmp_res = MAPPING_HAS_ITEM(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[191]); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 423; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_condition_result_36 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_36 == NUITKA_BOOL_TRUE) { goto condexpr_true_17; } else { goto condexpr_false_17; } condexpr_true_17:; tmp_called_value_22 = PyObject_GetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[191]); if (unlikely(tmp_called_value_22 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) { FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[191]); NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 423; type_description_2 = "o"; goto frame_exception_exit_5; } if (tmp_called_value_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 423; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_args_element_value_11 = MAKE_FUNCTION_pynput$_util$$$function__27__add_listener(); frame_bcf9346b14fd42bb8ba78e7dcfefb136_5->m_frame.f_lineno = 423; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_22, tmp_args_element_value_11); Py_DECREF(tmp_called_value_22); Py_DECREF(tmp_args_element_value_11); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 423; type_description_2 = "o"; goto frame_exception_exit_5; } goto condexpr_end_17; condexpr_false_17:; tmp_classmethod_arg_4 = MAKE_FUNCTION_pynput$_util$$$function__27__add_listener(); tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_4); Py_DECREF(tmp_classmethod_arg_4); assert(!(tmp_dictset_value == NULL)); condexpr_end_17:; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[134], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 424; type_description_2 = "o"; goto frame_exception_exit_5; } } { nuitka_bool tmp_condition_result_37; PyObject *tmp_called_value_23; PyObject *tmp_args_element_value_12; PyObject *tmp_classmethod_arg_5; tmp_res = MAPPING_HAS_ITEM(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[191]); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 432; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_condition_result_37 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_37 == NUITKA_BOOL_TRUE) { goto condexpr_true_18; } else { goto condexpr_false_18; } condexpr_true_18:; tmp_called_value_23 = PyObject_GetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[191]); if (unlikely(tmp_called_value_23 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) { FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[191]); NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 432; type_description_2 = "o"; goto frame_exception_exit_5; } if (tmp_called_value_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 432; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_args_element_value_12 = MAKE_FUNCTION_pynput$_util$$$function__28__remove_listener(); frame_bcf9346b14fd42bb8ba78e7dcfefb136_5->m_frame.f_lineno = 432; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_23, tmp_args_element_value_12); Py_DECREF(tmp_called_value_23); Py_DECREF(tmp_args_element_value_12); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 432; type_description_2 = "o"; goto frame_exception_exit_5; } goto condexpr_end_18; condexpr_false_18:; tmp_classmethod_arg_5 = MAKE_FUNCTION_pynput$_util$$$function__28__remove_listener(); tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_5); Py_DECREF(tmp_classmethod_arg_5); assert(!(tmp_dictset_value == NULL)); condexpr_end_18:; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[135], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 433; type_description_2 = "o"; goto frame_exception_exit_5; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_bcf9346b14fd42bb8ba78e7dcfefb136_5); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_4; frame_exception_exit_5:; #if 0 RESTORE_FRAME_EXCEPTION(frame_bcf9346b14fd42bb8ba78e7dcfefb136_5); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_bcf9346b14fd42bb8ba78e7dcfefb136_5, exception_lineno); } else if (exception_tb->tb_frame != &frame_bcf9346b14fd42bb8ba78e7dcfefb136_5->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_bcf9346b14fd42bb8ba78e7dcfefb136_5, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_bcf9346b14fd42bb8ba78e7dcfefb136_5, type_description_2, outline_4_var___class__ ); // Release cached frame if used for exception. if (frame_bcf9346b14fd42bb8ba78e7dcfefb136_5 == cache_frame_bcf9346b14fd42bb8ba78e7dcfefb136_5) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_bcf9346b14fd42bb8ba78e7dcfefb136_5); cache_frame_bcf9346b14fd42bb8ba78e7dcfefb136_5 = NULL; } assertFrameObject(frame_bcf9346b14fd42bb8ba78e7dcfefb136_5); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_4; frame_no_exception_4:; goto skip_nested_handling_4; nested_frame_exit_4:; goto try_except_handler_15; skip_nested_handling_4:; { nuitka_bool tmp_condition_result_38; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_compexpr_left_5 = tmp_class_creation_3__bases; tmp_compexpr_right_5 = mod_consts[199]; tmp_condition_result_38 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_5, tmp_compexpr_right_5); if (tmp_condition_result_38 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_15; } if (tmp_condition_result_38 == NUITKA_BOOL_TRUE) { goto branch_yes_20; } else { goto branch_no_20; } assert(tmp_condition_result_38 != NUITKA_BOOL_UNASSIGNED); } branch_yes_20:; tmp_dictset_value = mod_consts[199]; tmp_res = PyObject_SetItem(locals_pynput$_util$$$class__5_NotifierMixin_351, mod_consts[175], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_15; } branch_no_20:; { PyObject *tmp_assign_source_50; PyObject *tmp_called_value_24; PyObject *tmp_args_value_10; PyObject *tmp_tuple_element_18; PyObject *tmp_kwargs_value_10; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_called_value_24 = tmp_class_creation_3__metaclass; tmp_tuple_element_18 = mod_consts[217]; tmp_args_value_10 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_value_10, 0, tmp_tuple_element_18); CHECK_OBJECT(tmp_class_creation_3__bases); tmp_tuple_element_18 = tmp_class_creation_3__bases; PyTuple_SET_ITEM0(tmp_args_value_10, 1, tmp_tuple_element_18); tmp_tuple_element_18 = locals_pynput$_util$$$class__5_NotifierMixin_351; PyTuple_SET_ITEM0(tmp_args_value_10, 2, tmp_tuple_element_18); CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_kwargs_value_10 = tmp_class_creation_3__class_decl_dict; frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame.f_lineno = 351; tmp_assign_source_50 = CALL_FUNCTION(tmp_called_value_24, tmp_args_value_10, tmp_kwargs_value_10); Py_DECREF(tmp_args_value_10); if (tmp_assign_source_50 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; goto try_except_handler_15; } assert(outline_4_var___class__ == NULL); outline_4_var___class__ = tmp_assign_source_50; } CHECK_OBJECT(outline_4_var___class__); tmp_assign_source_49 = outline_4_var___class__; Py_INCREF(tmp_assign_source_49); goto try_return_handler_15; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_15:; Py_DECREF(locals_pynput$_util$$$class__5_NotifierMixin_351); locals_pynput$_util$$$class__5_NotifierMixin_351 = NULL; goto try_return_handler_14; // Exception handler code: try_except_handler_15:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_pynput$_util$$$class__5_NotifierMixin_351); locals_pynput$_util$$$class__5_NotifierMixin_351 = NULL; // Re-raise. exception_type = exception_keeper_type_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto try_except_handler_14; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_14:; CHECK_OBJECT(outline_4_var___class__); Py_DECREF(outline_4_var___class__); outline_4_var___class__ = NULL; goto outline_result_5; // Exception handler code: try_except_handler_14:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto outline_exception_5; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_5:; exception_lineno = 351; goto try_except_handler_13; outline_result_5:; UPDATE_STRING_DICT1(moduledict_pynput$_util, (Nuitka_StringObject *)mod_consts[217], tmp_assign_source_49); } goto try_end_5; // Exception handler code: try_except_handler_13:; exception_keeper_type_15 = exception_type; exception_keeper_value_15 = exception_value; exception_keeper_tb_15 = exception_tb; exception_keeper_lineno_15 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_3__bases); tmp_class_creation_3__bases = NULL; Py_XDECREF(tmp_class_creation_3__class_decl_dict); tmp_class_creation_3__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_3__metaclass); tmp_class_creation_3__metaclass = NULL; Py_XDECREF(tmp_class_creation_3__prepared); tmp_class_creation_3__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_15; exception_value = exception_keeper_value_15; exception_tb = exception_keeper_tb_15; exception_lineno = exception_keeper_lineno_15; goto frame_exception_exit_1; // End of try: try_end_5:; // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION(frame_1dc597190ffa7f3f1696bea5c6adfc0d); #endif popFrameStack(); assertFrameObject(frame_1dc597190ffa7f3f1696bea5c6adfc0d); goto frame_no_exception_5; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1dc597190ffa7f3f1696bea5c6adfc0d); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_1dc597190ffa7f3f1696bea5c6adfc0d, exception_lineno); } else if (exception_tb->tb_frame != &frame_1dc597190ffa7f3f1696bea5c6adfc0d->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_1dc597190ffa7f3f1696bea5c6adfc0d, exception_lineno); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_5:; Py_XDECREF(tmp_class_creation_3__bases); tmp_class_creation_3__bases = NULL; Py_XDECREF(tmp_class_creation_3__class_decl_dict); tmp_class_creation_3__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_3__metaclass); tmp_class_creation_3__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_3__prepared); Py_DECREF(tmp_class_creation_3__prepared); tmp_class_creation_3__prepared = NULL; // Report to PGO about leaving the module without error. PGO_onModuleExit("pynput._util", false); return module_pynput$_util; module_exception_exit: #if defined(_NUITKA_MODULE) && 0 { PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_pynput$_util, (Nuitka_StringObject *)const_str_plain___name__); if (module_name != NULL) { Nuitka_DelModule(module_name); } } #endif PGO_onModuleExit("pynput$_util", false); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; }
36.283239
315
0.688719
[ "object" ]
8bbc38ca46c881161abee5b98b6328dd9b2513e3
5,069
h
C
02-OOP-Basic/015-OOP-Array Container Class/014-OOP-Array Container Class/IntArray.h
zeogod/Cpp_Snippet
ed6bc10af4bef478364d6dd30406fa451fd85fc3
[ "MIT" ]
3
2019-08-10T13:48:45.000Z
2020-04-28T16:14:24.000Z
02-OOP-Basic/015-OOP-Array Container Class/014-OOP-Array Container Class/IntArray.h
zeogod/Cpp_Snippet
ed6bc10af4bef478364d6dd30406fa451fd85fc3
[ "MIT" ]
null
null
null
02-OOP-Basic/015-OOP-Array Container Class/014-OOP-Array Container Class/IntArray.h
zeogod/Cpp_Snippet
ed6bc10af4bef478364d6dd30406fa451fd85fc3
[ "MIT" ]
2
2019-08-07T11:58:42.000Z
2021-06-26T19:39:28.000Z
#pragma once #include <cassert> // for assert() /* https://www.learncpp.com/cpp-tutorial/106-container-classes/ There are many different kinds of container classes, each of which has various advantages, disadvantages, and restrictions in their use. By far the most commonly used container in programming is the array, which you have already seen many examples of. Although C++ has built-in array functionality, programmers will often use an array container class (std::array or std::vector) instead because of the additional benefits they provide. */ class IntArray { private: int m_length; int* m_data; public: IntArray() : m_length(0), m_data(nullptr) { } IntArray(int length) : m_length(length) { assert(length >= 0); if (length > 0) m_data = new int[length]; else m_data = nullptr; } ~IntArray() { delete[] m_data; // we don't need to set m_data to null or m_length to 0 here, // since the object will be destroyed immediately after this function anyway } void erase() { delete[] m_data; // We need to make sure we set m_data to nullptr here, otherwise it will // be left pointing at deallocated memory! m_data = nullptr; m_length = 0; } int& operator[](int index) { assert(index >= 0 && index < m_length); return m_data[index]; } // reallocate resizes the array. Any existing elements will be destroyed. // This function operates quickly. void reallocate(int newLength) { // First we delete any existing elements erase(); // If our array is going to be empty now, return here if (newLength <= 0) return; // Then we have to allocate new elements m_data = new int[newLength]; m_length = newLength; } // resize resizes the array. Any existing elements will be kept. // This function operates slowly. void resize(int newLength) { // if the array is already the right length, we're done if (newLength == m_length) return; // If we are resizing to an empty array, do that and return if (newLength <= 0) { erase(); return; } // Now we can assume newLength is at least 1 element. This algorithm // works as follows: First we are going to allocate a new array. Then we // are going to copy elements from the existing array to the new array. // Once that is done, we can destroy the old array, and make m_data // point to the new array. // First we have to allocate a new array int* data = new int[newLength]; // Then we have to figure out how many elements to copy from the existing // array to the new array. We want to copy as many elements as there are // in the smaller of the two arrays. if (m_length > 0) { int elementsToCopy = (newLength > m_length) ? m_length : newLength; // Now copy the elements one by one for (int index = 0; index < elementsToCopy; ++index) data[index] = m_data[index]; } // Now we can delete the old array because we don't need it any more delete[] m_data; // And use the new array instead! Note that this simply makes m_data point // to the same address as the new array we dynamically allocated. Because // data was dynamically allocated, it won't be destroyed when it goes out of scope. m_data = data; m_length = newLength; } void insertBefore(int value, int index) { // Sanity check our index value assert(index >= 0 && index <= m_length); // First create a new array one element larger than the old array int* data = new int[m_length + 1]; // Copy all of the elements up to the index for (int before = 0; before < index; ++before) data[before] = m_data[before]; // Insert our new element into the new array data[index] = value; // Copy all of the values after the inserted element for (int after = index; after < m_length; ++after) data[after + 1] = m_data[after]; // Finally, delete the old array, and use the new array instead delete[] m_data; m_data = data; ++m_length; } void remove(int index) { // Sanity check our index value assert(index >= 0 && index < m_length); // If we're removing the last element in the array, we can just erase the array and return early if (m_length == 1) { erase(); return; } // First create a new array one element smaller than the old array int* data = new int[m_length - 1]; // Copy all of the elements up to the index for (int before = 0; before < index; ++before) data[before] = m_data[before]; // Copy all of the values after the removed element for (int after = index + 1; after < m_length; ++after) data[after - 1] = m_data[after]; // Finally, delete the old array, and use the new array instead delete[] m_data; m_data = data; --m_length; } // A couple of additional functions just for convenience void insertAtBeginning(int value) { insertBefore(value, 0); } void insertAtEnd(int value) { insertBefore(value, m_length); } int getLength() { return m_length; } };
28.005525
99
0.666798
[ "object", "vector" ]
8bbdddf88c5d6218fc307ba054c38aea85f088dd
5,856
h
C
src/visit_vtk/full/vtkOnionPeelFilter.h
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
226
2018-12-29T01:13:49.000Z
2022-03-30T19:16:31.000Z
src/visit_vtk/full/vtkOnionPeelFilter.h
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
5,100
2019-01-14T18:19:25.000Z
2022-03-31T23:08:36.000Z
src/visit_vtk/full/vtkOnionPeelFilter.h
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
84
2019-01-24T17:41:50.000Z
2022-03-10T10:01:46.000Z
// Copyright (c) Lawrence Livermore National Security, LLC and other VisIt // Project developers. See the top-level LICENSE file for dates and other // details. No copyright assignment is required to contribute to VisIt. //======================================================================== // // Program: VisIt // Module: $RCSfile: vtkOnionPeelFilter.h,v $ // Language: C++ // Date: $Date: 2000/09/20 18:11:07 $ // Version: $Revision: 1.24 $ // // // //========================================================================= // .NAME vtkOnionPeelFilter - creates layers of cells around a given // seed cell // .SECTION Description // vtkOnionPeelFilter is a filter object that, given an initial seed // cell in a rectilinear grid will create layers of "neighbor" cells around // the seed cell. Neighbors are determined by either node adjacency (default) // or face adjacency. Adjacency type can be controlled by the user. // // To use this filter you should specifiy a starting seed cell and the number // of layers. // // Output is UnstructuredGrid // // .SECTION See Also // // .SECTION Caveats // First element in layerCellIds is always SeedCellId. // Layer zero offset is always zero, so first element in layerOffsets // will be the AdjacencyType (in case of updates to adjacency // while OnionPeelFilter is active) // // #ifndef __vtkOnionPeelFilter_h #define __vtkOnionPeelFilter_h #include <visit_vtk_exports.h> #include <vtkUnstructuredGridAlgorithm.h> #define VTK_NODE_ADJACENCY 0 #define VTK_FACE_ADJACENCY 1 class vtkIdList; //***************************************************************************** // Modifications: // Kathleen Bonnell, Thu Aug 15 18:37:59 PDT 2002 // Added a bool return for Intialize method. Changed SetSeedCell method // from a Macro to a regular method. Added logicalIndex and its associated // Set/Get methods, added useLogicalIndex. // // Kathleen Bonnell, Tue Jan 18 19:37:46 PST 2005 // Added bool 'ReconstructOriginalCells' and Set/Get methods. Added // FindCellsCorrespondingToOriginal. // // Kathleen Bonnell, Wed Jan 19 15:54:38 PST 2005 // Took 'Cell' out of callback name, renamed 'SeedCellId' to 'SeedId'. // Added 'SeedIdIsForCell'. Added 'FindNodesCorrespondingToOriginal'. // // Jeremy Meredith, Thu Aug 7 14:21:23 EDT 2008 // Adjacency type string should have been const char*. // // Kathleen Biagas, Wed Jul 23 16:43:42 MST 2014 // Added 'maxId' arg to FindCellsCorrespondingToOriginal, used in // error reporting. // //***************************************************************************** typedef void (*BadSeedCallback)(void *, int, int, bool); class VISIT_VTK_API vtkOnionPeelFilter : public vtkUnstructuredGridAlgorithm { public: vtkTypeMacro(vtkOnionPeelFilter,vtkUnstructuredGridAlgorithm); void PrintSelf(ostream& os, vtkIndent indent) override; static vtkOnionPeelFilter *New(); // Description: // Set the current Seed value. void SetSeedId(const int); vtkGetMacro(SeedId, int); // Description: // Turn on/off scaling of source geometry. vtkSetMacro(SeedIdIsForCell,bool); vtkGetMacro(SeedIdIsForCell,bool); vtkBooleanMacro(SeedIdIsForCell,bool); // Description: // Set the current LogicalIndex value. void SetLogicalIndex(const int, const int, const int k = 0); int *GetLogicalIndex(void) { return logicalIndex; }; // Description: // Set the current layer value. vtkSetClampMacro(RequestedLayer,int, 0, VTK_INT_MAX); vtkGetMacro(RequestedLayer,int); // Description: // Turn on/off scaling of source geometry. vtkSetMacro(ReconstructOriginalCells,bool); vtkGetMacro(ReconstructOriginalCells,bool); vtkBooleanMacro(ReconstructOriginalCells,bool); // Description: // Specify which type of adjacency to use when determining neighbor cells. // There are two choices: Face Adjacency and Node Adjacency. vtkSetClampMacro(AdjacencyType, int, VTK_NODE_ADJACENCY, VTK_FACE_ADJACENCY); vtkGetMacro(AdjacencyType, int); void SetAdjacencyTypeToFace() { this->SetAdjacencyType(VTK_FACE_ADJACENCY); }; void SetAdjacencyTypeToNode() { this->SetAdjacencyType(VTK_NODE_ADJACENCY); }; const char *GetAdjacencyTypeAsString(); bool Initialize(vtkDataSet *); void SetBadSeedCallback(BadSeedCallback, void *); protected: // Protected Methods vtkOnionPeelFilter(); ~vtkOnionPeelFilter(); virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override; virtual int FillInputPortInformation(int port, vtkInformation *info) override; void Grow(vtkDataSet *); void GenerateOutputGrid(vtkDataSet *, vtkUnstructuredGrid *); void FindCellNeighborsByNodeAdjacency(vtkDataSet *, vtkIdList *, vtkIdList*); void FindCellNeighborsByFaceAdjacency(vtkDataSet *, vtkIdList *, vtkIdList*); void FindCellsCorrespondingToOriginal(vtkDataSet *, int, vtkIdList*, int &); void FindCellsCorrespondingToOriginal(vtkDataSet *, vtkIdList *, vtkIdList*, int &); void FindNodesCorrespondingToOriginal(vtkDataSet *, int, vtkIdList*); // Protected Data Members vtkIdList *layerCellIds; vtkIdList *cellOffsets; int maxLayersReached; int maxLayerNum; int RequestedLayer; int AdjacencyType; int SeedId; bool ReconstructOriginalCells; bool SeedIdIsForCell; int logicalIndex[3]; bool useLogicalIndex; BadSeedCallback bsc_callback; void *bsc_args; private: vtkOnionPeelFilter(const vtkOnionPeelFilter&); void operator=(const vtkOnionPeelFilter&); }; inline const char *vtkOnionPeelFilter::GetAdjacencyTypeAsString(void) { if ( this->AdjacencyType == VTK_FACE_ADJACENCY ) { return "FaceAdjacency"; } else { return "NodeAdjacency"; } } #endif
31.654054
86
0.694331
[ "geometry", "object" ]
8bc02d2bc33e6b76b7d2bb76d2addd53db30d91a
33,381
h
C
3rdparty/dshowbase/include/litiv/3rdparty/dshowbase/gmf/GMFBridge_h.h
jpjodoin/litiv
435556bea20d60816aff492f50587b1a2d748b21
[ "BSD-3-Clause" ]
97
2015-10-16T04:32:33.000Z
2022-03-29T07:04:02.000Z
3rdparty/dshowbase/include/litiv/3rdparty/dshowbase/gmf/GMFBridge_h.h
jpjodoin/litiv
435556bea20d60816aff492f50587b1a2d748b21
[ "BSD-3-Clause" ]
19
2016-07-01T16:37:02.000Z
2020-09-10T06:09:39.000Z
3rdparty/dshowbase/include/litiv/3rdparty/dshowbase/gmf/GMFBridge_h.h
jpjodoin/litiv
435556bea20d60816aff492f50587b1a2d748b21
[ "BSD-3-Clause" ]
41
2015-11-17T05:59:23.000Z
2022-02-16T09:30:28.000Z
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 7.00.0555 */ /* at Fri Jul 27 11:20:53 2012 */ /* Compiler settings for GMFBridge.idl: Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 protocol : dce , ms_ext, c_ext, robust error checks: allocation ref bounds_check enum stub_data VC __declspec() decoration level: __declspec(uuid()), __declspec(selectany), __declspec(novtable) DECLSPEC_UUID(), MIDL_INTERFACE() */ /* @@MIDL_FILE_HEADING( ) */ #pragma warning( disable: 4049 ) /* more than 64k source lines */ /* verify that the <rpcndr.h> version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 #endif #include "rpc.h" #include "rpcndr.h" #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of <rpcndr.h> #endif // __RPCNDR_H_VERSION__ #ifndef COM_NO_WINDOWS_H #include "windows.h" #include "ole2.h" #endif /*COM_NO_WINDOWS_H*/ #ifndef __GMFBridge_h_h__ #define __GMFBridge_h_h__ #if defined(_MSC_VER) && (_MSC_VER >= 1020) #pragma once #endif /* Forward Declarations */ #ifndef __IGMFBridgeController_FWD_DEFINED__ #define __IGMFBridgeController_FWD_DEFINED__ typedef interface IGMFBridgeController IGMFBridgeController; #endif /* __IGMFBridgeController_FWD_DEFINED__ */ #ifndef __IGMFBridgeController2_FWD_DEFINED__ #define __IGMFBridgeController2_FWD_DEFINED__ typedef interface IGMFBridgeController2 IGMFBridgeController2; #endif /* __IGMFBridgeController2_FWD_DEFINED__ */ #ifndef __IGMFBridgeController3_FWD_DEFINED__ #define __IGMFBridgeController3_FWD_DEFINED__ typedef interface IGMFBridgeController3 IGMFBridgeController3; #endif /* __IGMFBridgeController3_FWD_DEFINED__ */ #ifndef ___IGMFBridgeEvents_FWD_DEFINED__ #define ___IGMFBridgeEvents_FWD_DEFINED__ typedef interface _IGMFBridgeEvents _IGMFBridgeEvents; #endif /* ___IGMFBridgeEvents_FWD_DEFINED__ */ #ifndef __GMFBridgeController_FWD_DEFINED__ #define __GMFBridgeController_FWD_DEFINED__ #ifdef __cplusplus typedef class GMFBridgeController GMFBridgeController; #else typedef struct GMFBridgeController GMFBridgeController; #endif /* __cplusplus */ #endif /* __GMFBridgeController_FWD_DEFINED__ */ /* header files for imported files */ #include "oaidl.h" #include "ocidl.h" #ifdef __cplusplus extern "C"{ #endif /* interface __MIDL_itf_GMFBridge_0000_0000 */ /* [local] */ typedef /* [public][public] */ enum __MIDL___MIDL_itf_GMFBridge_0000_0000_0001 { eUncompressed = 0, eMuxInputs = ( eUncompressed + 1 ) , eAny = ( eMuxInputs + 1 ) } eFormatType; extern RPC_IF_HANDLE __MIDL_itf_GMFBridge_0000_0000_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_GMFBridge_0000_0000_v0_0_s_ifspec; #ifndef __IGMFBridgeController_INTERFACE_DEFINED__ #define __IGMFBridgeController_INTERFACE_DEFINED__ /* interface IGMFBridgeController */ /* [unique][helpstring][dual][uuid][object] */ EXTERN_C const IID IID_IGMFBridgeController; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("8C4D8054-FCBA-4783-865A-7E8B3C814011") IGMFBridgeController : public IDispatch { public: virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddStream( BOOL bVideo, eFormatType AllowedTypes, BOOL bDiscardUnconnected) = 0; virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InsertSinkFilter( /* [in] */ IUnknown *pGraph, /* [retval][out] */ IUnknown **ppFilter) = 0; virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InsertSourceFilter( /* [in] */ IUnknown *pUnkSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraph, /* [retval][out] */ IUnknown **ppFilter) = 0; virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateSourceGraph( /* [in] */ BSTR strFile, /* [in] */ IUnknown *pGraph, /* [retval][out] */ IUnknown **pSinkFilter) = 0; virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateRenderGraph( /* [in] */ IUnknown *pSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraph, /* [retval][out] */ IUnknown **pRenderGraphSourceFilter) = 0; virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BridgeGraphs( /* [in] */ IUnknown *pSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraphSourceFilter) = 0; virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetNotify( /* [in] */ LONG_PTR hwnd, /* [in] */ long msg) = 0; virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetBufferMinimum( /* [in] */ long nMillisecs) = 0; virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSegmentTime( /* [retval][out] */ double *pdSeconds) = 0; virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NoMoreSegments( void) = 0; virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSegmentOffset( /* [retval][out] */ double *pdOffset) = 0; }; #else /* C style interface */ typedef struct IGMFBridgeControllerVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( IGMFBridgeController * This, /* [in] */ REFIID riid, /* [annotation][iid_is][out] */ __RPC__deref_out void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( IGMFBridgeController * This); ULONG ( STDMETHODCALLTYPE *Release )( IGMFBridgeController * This); HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( IGMFBridgeController * This, /* [out] */ UINT *pctinfo); HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( IGMFBridgeController * This, /* [in] */ UINT iTInfo, /* [in] */ LCID lcid, /* [out] */ ITypeInfo **ppTInfo); HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( IGMFBridgeController * This, /* [in] */ REFIID riid, /* [size_is][in] */ LPOLESTR *rgszNames, /* [range][in] */ UINT cNames, /* [in] */ LCID lcid, /* [size_is][out] */ DISPID *rgDispId); /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( IGMFBridgeController * This, /* [in] */ DISPID dispIdMember, /* [in] */ REFIID riid, /* [in] */ LCID lcid, /* [in] */ WORD wFlags, /* [out][in] */ DISPPARAMS *pDispParams, /* [out] */ VARIANT *pVarResult, /* [out] */ EXCEPINFO *pExcepInfo, /* [out] */ UINT *puArgErr); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddStream )( IGMFBridgeController * This, BOOL bVideo, eFormatType AllowedTypes, BOOL bDiscardUnconnected); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InsertSinkFilter )( IGMFBridgeController * This, /* [in] */ IUnknown *pGraph, /* [retval][out] */ IUnknown **ppFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InsertSourceFilter )( IGMFBridgeController * This, /* [in] */ IUnknown *pUnkSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraph, /* [retval][out] */ IUnknown **ppFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateSourceGraph )( IGMFBridgeController * This, /* [in] */ BSTR strFile, /* [in] */ IUnknown *pGraph, /* [retval][out] */ IUnknown **pSinkFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateRenderGraph )( IGMFBridgeController * This, /* [in] */ IUnknown *pSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraph, /* [retval][out] */ IUnknown **pRenderGraphSourceFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BridgeGraphs )( IGMFBridgeController * This, /* [in] */ IUnknown *pSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraphSourceFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetNotify )( IGMFBridgeController * This, /* [in] */ LONG_PTR hwnd, /* [in] */ long msg); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetBufferMinimum )( IGMFBridgeController * This, /* [in] */ long nMillisecs); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSegmentTime )( IGMFBridgeController * This, /* [retval][out] */ double *pdSeconds); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NoMoreSegments )( IGMFBridgeController * This); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSegmentOffset )( IGMFBridgeController * This, /* [retval][out] */ double *pdOffset); END_INTERFACE } IGMFBridgeControllerVtbl; interface IGMFBridgeController { CONST_VTBL struct IGMFBridgeControllerVtbl *lpVtbl; }; #ifdef COBJMACROS #define IGMFBridgeController_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IGMFBridgeController_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IGMFBridgeController_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IGMFBridgeController_GetTypeInfoCount(This,pctinfo) \ ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) #define IGMFBridgeController_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) #define IGMFBridgeController_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) #define IGMFBridgeController_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) #define IGMFBridgeController_AddStream(This,bVideo,AllowedTypes,bDiscardUnconnected) \ ( (This)->lpVtbl -> AddStream(This,bVideo,AllowedTypes,bDiscardUnconnected) ) #define IGMFBridgeController_InsertSinkFilter(This,pGraph,ppFilter) \ ( (This)->lpVtbl -> InsertSinkFilter(This,pGraph,ppFilter) ) #define IGMFBridgeController_InsertSourceFilter(This,pUnkSourceGraphSinkFilter,pRenderGraph,ppFilter) \ ( (This)->lpVtbl -> InsertSourceFilter(This,pUnkSourceGraphSinkFilter,pRenderGraph,ppFilter) ) #define IGMFBridgeController_CreateSourceGraph(This,strFile,pGraph,pSinkFilter) \ ( (This)->lpVtbl -> CreateSourceGraph(This,strFile,pGraph,pSinkFilter) ) #define IGMFBridgeController_CreateRenderGraph(This,pSourceGraphSinkFilter,pRenderGraph,pRenderGraphSourceFilter) \ ( (This)->lpVtbl -> CreateRenderGraph(This,pSourceGraphSinkFilter,pRenderGraph,pRenderGraphSourceFilter) ) #define IGMFBridgeController_BridgeGraphs(This,pSourceGraphSinkFilter,pRenderGraphSourceFilter) \ ( (This)->lpVtbl -> BridgeGraphs(This,pSourceGraphSinkFilter,pRenderGraphSourceFilter) ) #define IGMFBridgeController_SetNotify(This,hwnd,msg) \ ( (This)->lpVtbl -> SetNotify(This,hwnd,msg) ) #define IGMFBridgeController_SetBufferMinimum(This,nMillisecs) \ ( (This)->lpVtbl -> SetBufferMinimum(This,nMillisecs) ) #define IGMFBridgeController_GetSegmentTime(This,pdSeconds) \ ( (This)->lpVtbl -> GetSegmentTime(This,pdSeconds) ) #define IGMFBridgeController_NoMoreSegments(This) \ ( (This)->lpVtbl -> NoMoreSegments(This) ) #define IGMFBridgeController_GetSegmentOffset(This,pdOffset) \ ( (This)->lpVtbl -> GetSegmentOffset(This,pdOffset) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IGMFBridgeController_INTERFACE_DEFINED__ */ #ifndef __IGMFBridgeController2_INTERFACE_DEFINED__ #define __IGMFBridgeController2_INTERFACE_DEFINED__ /* interface IGMFBridgeController2 */ /* [unique][helpstring][dual][uuid][object] */ EXTERN_C const IID IID_IGMFBridgeController2; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("1CD80D64-817E-4beb-A711-A705F7CDFADB") IGMFBridgeController2 : public IGMFBridgeController { public: virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BridgeAtDiscont( /* [in] */ IUnknown *pSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraphSourceFilter, /* [in] */ BOOL bIsDiscontinuity) = 0; }; #else /* C style interface */ typedef struct IGMFBridgeController2Vtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( IGMFBridgeController2 * This, /* [in] */ REFIID riid, /* [annotation][iid_is][out] */ __RPC__deref_out void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( IGMFBridgeController2 * This); ULONG ( STDMETHODCALLTYPE *Release )( IGMFBridgeController2 * This); HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( IGMFBridgeController2 * This, /* [out] */ UINT *pctinfo); HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( IGMFBridgeController2 * This, /* [in] */ UINT iTInfo, /* [in] */ LCID lcid, /* [out] */ ITypeInfo **ppTInfo); HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( IGMFBridgeController2 * This, /* [in] */ REFIID riid, /* [size_is][in] */ LPOLESTR *rgszNames, /* [range][in] */ UINT cNames, /* [in] */ LCID lcid, /* [size_is][out] */ DISPID *rgDispId); /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( IGMFBridgeController2 * This, /* [in] */ DISPID dispIdMember, /* [in] */ REFIID riid, /* [in] */ LCID lcid, /* [in] */ WORD wFlags, /* [out][in] */ DISPPARAMS *pDispParams, /* [out] */ VARIANT *pVarResult, /* [out] */ EXCEPINFO *pExcepInfo, /* [out] */ UINT *puArgErr); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddStream )( IGMFBridgeController2 * This, BOOL bVideo, eFormatType AllowedTypes, BOOL bDiscardUnconnected); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InsertSinkFilter )( IGMFBridgeController2 * This, /* [in] */ IUnknown *pGraph, /* [retval][out] */ IUnknown **ppFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InsertSourceFilter )( IGMFBridgeController2 * This, /* [in] */ IUnknown *pUnkSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraph, /* [retval][out] */ IUnknown **ppFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateSourceGraph )( IGMFBridgeController2 * This, /* [in] */ BSTR strFile, /* [in] */ IUnknown *pGraph, /* [retval][out] */ IUnknown **pSinkFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateRenderGraph )( IGMFBridgeController2 * This, /* [in] */ IUnknown *pSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraph, /* [retval][out] */ IUnknown **pRenderGraphSourceFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BridgeGraphs )( IGMFBridgeController2 * This, /* [in] */ IUnknown *pSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraphSourceFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetNotify )( IGMFBridgeController2 * This, /* [in] */ LONG_PTR hwnd, /* [in] */ long msg); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetBufferMinimum )( IGMFBridgeController2 * This, /* [in] */ long nMillisecs); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSegmentTime )( IGMFBridgeController2 * This, /* [retval][out] */ double *pdSeconds); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NoMoreSegments )( IGMFBridgeController2 * This); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSegmentOffset )( IGMFBridgeController2 * This, /* [retval][out] */ double *pdOffset); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BridgeAtDiscont )( IGMFBridgeController2 * This, /* [in] */ IUnknown *pSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraphSourceFilter, /* [in] */ BOOL bIsDiscontinuity); END_INTERFACE } IGMFBridgeController2Vtbl; interface IGMFBridgeController2 { CONST_VTBL struct IGMFBridgeController2Vtbl *lpVtbl; }; #ifdef COBJMACROS #define IGMFBridgeController2_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IGMFBridgeController2_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IGMFBridgeController2_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IGMFBridgeController2_GetTypeInfoCount(This,pctinfo) \ ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) #define IGMFBridgeController2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) #define IGMFBridgeController2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) #define IGMFBridgeController2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) #define IGMFBridgeController2_AddStream(This,bVideo,AllowedTypes,bDiscardUnconnected) \ ( (This)->lpVtbl -> AddStream(This,bVideo,AllowedTypes,bDiscardUnconnected) ) #define IGMFBridgeController2_InsertSinkFilter(This,pGraph,ppFilter) \ ( (This)->lpVtbl -> InsertSinkFilter(This,pGraph,ppFilter) ) #define IGMFBridgeController2_InsertSourceFilter(This,pUnkSourceGraphSinkFilter,pRenderGraph,ppFilter) \ ( (This)->lpVtbl -> InsertSourceFilter(This,pUnkSourceGraphSinkFilter,pRenderGraph,ppFilter) ) #define IGMFBridgeController2_CreateSourceGraph(This,strFile,pGraph,pSinkFilter) \ ( (This)->lpVtbl -> CreateSourceGraph(This,strFile,pGraph,pSinkFilter) ) #define IGMFBridgeController2_CreateRenderGraph(This,pSourceGraphSinkFilter,pRenderGraph,pRenderGraphSourceFilter) \ ( (This)->lpVtbl -> CreateRenderGraph(This,pSourceGraphSinkFilter,pRenderGraph,pRenderGraphSourceFilter) ) #define IGMFBridgeController2_BridgeGraphs(This,pSourceGraphSinkFilter,pRenderGraphSourceFilter) \ ( (This)->lpVtbl -> BridgeGraphs(This,pSourceGraphSinkFilter,pRenderGraphSourceFilter) ) #define IGMFBridgeController2_SetNotify(This,hwnd,msg) \ ( (This)->lpVtbl -> SetNotify(This,hwnd,msg) ) #define IGMFBridgeController2_SetBufferMinimum(This,nMillisecs) \ ( (This)->lpVtbl -> SetBufferMinimum(This,nMillisecs) ) #define IGMFBridgeController2_GetSegmentTime(This,pdSeconds) \ ( (This)->lpVtbl -> GetSegmentTime(This,pdSeconds) ) #define IGMFBridgeController2_NoMoreSegments(This) \ ( (This)->lpVtbl -> NoMoreSegments(This) ) #define IGMFBridgeController2_GetSegmentOffset(This,pdOffset) \ ( (This)->lpVtbl -> GetSegmentOffset(This,pdOffset) ) #define IGMFBridgeController2_BridgeAtDiscont(This,pSourceGraphSinkFilter,pRenderGraphSourceFilter,bIsDiscontinuity) \ ( (This)->lpVtbl -> BridgeAtDiscont(This,pSourceGraphSinkFilter,pRenderGraphSourceFilter,bIsDiscontinuity) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IGMFBridgeController2_INTERFACE_DEFINED__ */ #ifndef __IGMFBridgeController3_INTERFACE_DEFINED__ #define __IGMFBridgeController3_INTERFACE_DEFINED__ /* interface IGMFBridgeController3 */ /* [unique][helpstring][dual][uuid][object] */ EXTERN_C const IID IID_IGMFBridgeController3; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("B344D399-F3F6-431C-882D-3DDFCFA9F968") IGMFBridgeController3 : public IGMFBridgeController2 { public: virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetLiveTiming( /* [in] */ BOOL bIsLiveTiming) = 0; }; #else /* C style interface */ typedef struct IGMFBridgeController3Vtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( IGMFBridgeController3 * This, /* [in] */ REFIID riid, /* [annotation][iid_is][out] */ __RPC__deref_out void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( IGMFBridgeController3 * This); ULONG ( STDMETHODCALLTYPE *Release )( IGMFBridgeController3 * This); HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( IGMFBridgeController3 * This, /* [out] */ UINT *pctinfo); HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( IGMFBridgeController3 * This, /* [in] */ UINT iTInfo, /* [in] */ LCID lcid, /* [out] */ ITypeInfo **ppTInfo); HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( IGMFBridgeController3 * This, /* [in] */ REFIID riid, /* [size_is][in] */ LPOLESTR *rgszNames, /* [range][in] */ UINT cNames, /* [in] */ LCID lcid, /* [size_is][out] */ DISPID *rgDispId); /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( IGMFBridgeController3 * This, /* [in] */ DISPID dispIdMember, /* [in] */ REFIID riid, /* [in] */ LCID lcid, /* [in] */ WORD wFlags, /* [out][in] */ DISPPARAMS *pDispParams, /* [out] */ VARIANT *pVarResult, /* [out] */ EXCEPINFO *pExcepInfo, /* [out] */ UINT *puArgErr); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddStream )( IGMFBridgeController3 * This, BOOL bVideo, eFormatType AllowedTypes, BOOL bDiscardUnconnected); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InsertSinkFilter )( IGMFBridgeController3 * This, /* [in] */ IUnknown *pGraph, /* [retval][out] */ IUnknown **ppFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InsertSourceFilter )( IGMFBridgeController3 * This, /* [in] */ IUnknown *pUnkSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraph, /* [retval][out] */ IUnknown **ppFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateSourceGraph )( IGMFBridgeController3 * This, /* [in] */ BSTR strFile, /* [in] */ IUnknown *pGraph, /* [retval][out] */ IUnknown **pSinkFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateRenderGraph )( IGMFBridgeController3 * This, /* [in] */ IUnknown *pSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraph, /* [retval][out] */ IUnknown **pRenderGraphSourceFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BridgeGraphs )( IGMFBridgeController3 * This, /* [in] */ IUnknown *pSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraphSourceFilter); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetNotify )( IGMFBridgeController3 * This, /* [in] */ LONG_PTR hwnd, /* [in] */ long msg); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetBufferMinimum )( IGMFBridgeController3 * This, /* [in] */ long nMillisecs); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSegmentTime )( IGMFBridgeController3 * This, /* [retval][out] */ double *pdSeconds); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NoMoreSegments )( IGMFBridgeController3 * This); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSegmentOffset )( IGMFBridgeController3 * This, /* [retval][out] */ double *pdOffset); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BridgeAtDiscont )( IGMFBridgeController3 * This, /* [in] */ IUnknown *pSourceGraphSinkFilter, /* [in] */ IUnknown *pRenderGraphSourceFilter, /* [in] */ BOOL bIsDiscontinuity); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetLiveTiming )( IGMFBridgeController3 * This, /* [in] */ BOOL bIsLiveTiming); END_INTERFACE } IGMFBridgeController3Vtbl; interface IGMFBridgeController3 { CONST_VTBL struct IGMFBridgeController3Vtbl *lpVtbl; }; #ifdef COBJMACROS #define IGMFBridgeController3_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IGMFBridgeController3_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IGMFBridgeController3_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IGMFBridgeController3_GetTypeInfoCount(This,pctinfo) \ ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) #define IGMFBridgeController3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) #define IGMFBridgeController3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) #define IGMFBridgeController3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) #define IGMFBridgeController3_AddStream(This,bVideo,AllowedTypes,bDiscardUnconnected) \ ( (This)->lpVtbl -> AddStream(This,bVideo,AllowedTypes,bDiscardUnconnected) ) #define IGMFBridgeController3_InsertSinkFilter(This,pGraph,ppFilter) \ ( (This)->lpVtbl -> InsertSinkFilter(This,pGraph,ppFilter) ) #define IGMFBridgeController3_InsertSourceFilter(This,pUnkSourceGraphSinkFilter,pRenderGraph,ppFilter) \ ( (This)->lpVtbl -> InsertSourceFilter(This,pUnkSourceGraphSinkFilter,pRenderGraph,ppFilter) ) #define IGMFBridgeController3_CreateSourceGraph(This,strFile,pGraph,pSinkFilter) \ ( (This)->lpVtbl -> CreateSourceGraph(This,strFile,pGraph,pSinkFilter) ) #define IGMFBridgeController3_CreateRenderGraph(This,pSourceGraphSinkFilter,pRenderGraph,pRenderGraphSourceFilter) \ ( (This)->lpVtbl -> CreateRenderGraph(This,pSourceGraphSinkFilter,pRenderGraph,pRenderGraphSourceFilter) ) #define IGMFBridgeController3_BridgeGraphs(This,pSourceGraphSinkFilter,pRenderGraphSourceFilter) \ ( (This)->lpVtbl -> BridgeGraphs(This,pSourceGraphSinkFilter,pRenderGraphSourceFilter) ) #define IGMFBridgeController3_SetNotify(This,hwnd,msg) \ ( (This)->lpVtbl -> SetNotify(This,hwnd,msg) ) #define IGMFBridgeController3_SetBufferMinimum(This,nMillisecs) \ ( (This)->lpVtbl -> SetBufferMinimum(This,nMillisecs) ) #define IGMFBridgeController3_GetSegmentTime(This,pdSeconds) \ ( (This)->lpVtbl -> GetSegmentTime(This,pdSeconds) ) #define IGMFBridgeController3_NoMoreSegments(This) \ ( (This)->lpVtbl -> NoMoreSegments(This) ) #define IGMFBridgeController3_GetSegmentOffset(This,pdOffset) \ ( (This)->lpVtbl -> GetSegmentOffset(This,pdOffset) ) #define IGMFBridgeController3_BridgeAtDiscont(This,pSourceGraphSinkFilter,pRenderGraphSourceFilter,bIsDiscontinuity) \ ( (This)->lpVtbl -> BridgeAtDiscont(This,pSourceGraphSinkFilter,pRenderGraphSourceFilter,bIsDiscontinuity) ) #define IGMFBridgeController3_SetLiveTiming(This,bIsLiveTiming) \ ( (This)->lpVtbl -> SetLiveTiming(This,bIsLiveTiming) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IGMFBridgeController3_INTERFACE_DEFINED__ */ #ifndef __GMFBridgeLib_LIBRARY_DEFINED__ #define __GMFBridgeLib_LIBRARY_DEFINED__ /* library GMFBridgeLib */ /* [helpstring][version][uuid] */ EXTERN_C const IID LIBID_GMFBridgeLib; #ifndef ___IGMFBridgeEvents_DISPINTERFACE_DEFINED__ #define ___IGMFBridgeEvents_DISPINTERFACE_DEFINED__ /* dispinterface _IGMFBridgeEvents */ /* [helpstring][uuid] */ EXTERN_C const IID DIID__IGMFBridgeEvents; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("0732D4D6-96F5-46f6-B687-1DB7CD36D413") _IGMFBridgeEvents : public IDispatch { }; #else /* C style interface */ typedef struct _IGMFBridgeEventsVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( _IGMFBridgeEvents * This, /* [in] */ REFIID riid, /* [annotation][iid_is][out] */ __RPC__deref_out void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( _IGMFBridgeEvents * This); ULONG ( STDMETHODCALLTYPE *Release )( _IGMFBridgeEvents * This); HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( _IGMFBridgeEvents * This, /* [out] */ UINT *pctinfo); HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( _IGMFBridgeEvents * This, /* [in] */ UINT iTInfo, /* [in] */ LCID lcid, /* [out] */ ITypeInfo **ppTInfo); HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( _IGMFBridgeEvents * This, /* [in] */ REFIID riid, /* [size_is][in] */ LPOLESTR *rgszNames, /* [range][in] */ UINT cNames, /* [in] */ LCID lcid, /* [size_is][out] */ DISPID *rgDispId); /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( _IGMFBridgeEvents * This, /* [in] */ DISPID dispIdMember, /* [in] */ REFIID riid, /* [in] */ LCID lcid, /* [in] */ WORD wFlags, /* [out][in] */ DISPPARAMS *pDispParams, /* [out] */ VARIANT *pVarResult, /* [out] */ EXCEPINFO *pExcepInfo, /* [out] */ UINT *puArgErr); END_INTERFACE } _IGMFBridgeEventsVtbl; interface _IGMFBridgeEvents { CONST_VTBL struct _IGMFBridgeEventsVtbl *lpVtbl; }; #ifdef COBJMACROS #define _IGMFBridgeEvents_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define _IGMFBridgeEvents_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define _IGMFBridgeEvents_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define _IGMFBridgeEvents_GetTypeInfoCount(This,pctinfo) \ ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) #define _IGMFBridgeEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) #define _IGMFBridgeEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) #define _IGMFBridgeEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* ___IGMFBridgeEvents_DISPINTERFACE_DEFINED__ */ EXTERN_C const CLSID CLSID_GMFBridgeController; #ifdef __cplusplus class DECLSPEC_UUID("08E3287F-3A5C-47e9-8179-A9E9221A5CDE") GMFBridgeController; #endif #endif /* __GMFBridgeLib_LIBRARY_DEFINED__ */ /* Additional Prototypes for ALL interfaces */ unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * ); unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * ); unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * ); /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif
36.165764
118
0.640514
[ "object" ]
8bc79950217c4803858c0e9731a943a5f17b74dd
664
h
C
src/shape.h
leonlynch/cortex
239ece88de004f35ef31ad3c57fb20b0b0d86bde
[ "MIT" ]
1
2017-11-26T08:37:04.000Z
2017-11-26T08:37:04.000Z
src/shape.h
leonlynch/cortex
239ece88de004f35ef31ad3c57fb20b0b0d86bde
[ "MIT" ]
null
null
null
src/shape.h
leonlynch/cortex
239ece88de004f35ef31ad3c57fb20b0b0d86bde
[ "MIT" ]
null
null
null
/** * @file shape.h * * Copyright (c) 2020 Leon Lynch * * This file is licensed under the terms of the MIT license. * See LICENSE file. */ #ifndef CORTEX_SHAPE_H #define CORTEX_SHAPE_H #include <cstddef> #include <vector> template <typename T> struct Cube { template<typename VertexType, typename IndexType = unsigned int> void tesselate(std::vector<VertexType>& vertices, std::vector<IndexType>& indices) const; }; template <typename T> struct Octahedron { template<typename VertexType, typename IndexType = unsigned int> void tesselate(std::vector<VertexType>& vertices, std::vector<IndexType>& indices) const; }; #include "shape.tcc" #endif
18.444444
90
0.73494
[ "shape", "vector" ]
8bd0e0c298a65d44c17af7c2ee9ca2b76608ccaa
1,291
h
C
L1Trigger/GlobalCaloTrigger/test/gctTestUsingLhcData.h
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
L1Trigger/GlobalCaloTrigger/test/gctTestUsingLhcData.h
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
L1Trigger/GlobalCaloTrigger/test/gctTestUsingLhcData.h
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#ifndef GCTTESTUSINGLHCDATA_H_ #define GCTTESTUSINGLHCDATA_H_ /*! * \class gctTestUsingLhcData * \brief Helper for hardware/emulator comparison tests using single events * * Read in the array of region energies from a file * * \author Greg Heath * \date February 2010 * */ #include <string> #include <vector> #include <stdint.h> class L1CaloRegion; class L1GlobalCaloTrigger; namespace edm { class Event; class InputTag; } class gctTestUsingLhcData { public: // structs and typedefs // Constructor and destructor gctTestUsingLhcData(); ~gctTestUsingLhcData(); std::vector<L1CaloRegion> loadEvent(const edm::Event& iEvent, const int16_t bx); void checkHwResults(const L1GlobalCaloTrigger* gct, const edm::Event& iEvent); void checkEmResults(const L1GlobalCaloTrigger* gct, const edm::Event& iEvent); private: bool checkResults(const L1GlobalCaloTrigger* gct, const edm::Event& iEvent, const edm::InputTag tag); bool checkJets (const L1GlobalCaloTrigger* gct, const edm::Event& iEvent, const edm::InputTag tag); bool checkEtSums (const L1GlobalCaloTrigger* gct, const edm::Event& iEvent, const edm::InputTag tag); bool checkHtSums (const L1GlobalCaloTrigger* gct, const edm::Event& iEvent, const edm::InputTag tag); }; #endif /*GCTTEST_H_*/
24.358491
103
0.751356
[ "vector" ]
8bd512ad9fdbdd63326d188584f79e2e116223e3
1,366
h
C
Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h
TheCrott/serenity
925f21353efaa5304c5d486e6802c4e75e0c4d15
[ "BSD-2-Clause" ]
2
2020-05-18T18:16:45.000Z
2020-08-15T19:01:05.000Z
Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h
TheCrott/serenity
925f21353efaa5304c5d486e6802c4e75e0c4d15
[ "BSD-2-Clause" ]
1
2020-06-21T23:22:11.000Z
2020-06-21T23:22:11.000Z
Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h
TheCrott/serenity
925f21353efaa5304c5d486e6802c4e75e0c4d15
[ "BSD-2-Clause" ]
1
2022-02-09T08:28:12.000Z
2022-02-09T08:28:12.000Z
/* * Copyright (c) 2021, Linus Groh <linusg@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <LibJS/Runtime/BigInt.h> #include <LibJS/Runtime/Object.h> namespace JS::Temporal { class ZonedDateTime final : public Object { JS_OBJECT(ZonedDateTime, Object); public: ZonedDateTime(BigInt const& nanoseconds, Object& time_zone, Object& calendar, Object& prototype); virtual ~ZonedDateTime() override = default; [[nodiscard]] BigInt const& nanoseconds() const { return m_nanoseconds; } [[nodiscard]] Object const& time_zone() const { return m_time_zone; } [[nodiscard]] Object& time_zone() { return m_time_zone; } [[nodiscard]] Object const& calendar() const { return m_calendar; } [[nodiscard]] Object& calendar() { return m_calendar; } private: virtual void visit_edges(Visitor&) override; // 6.4 Properties of Temporal.ZonedDateTime Instances, https://tc39.es/proposal-temporal/#sec-properties-of-temporal-zoneddatetime-instances BigInt const& m_nanoseconds; // [[Nanoseconds]] Object& m_time_zone; // [[TimeZone]] Object& m_calendar; // [[Calendar]] }; ThrowCompletionOr<ZonedDateTime*> create_temporal_zoned_date_time(GlobalObject&, BigInt const& epoch_nanoseconds, Object& time_zone, Object& calendar, FunctionObject const* new_target = nullptr); }
35.025641
195
0.718887
[ "object" ]
8bdc4145f6e47228855657e3c18b055b08542c21
598
c
C
tut37.c
FSchwarzenberg/ProgramacionEnC
d387bf3776c0b057b5dd9195ac45ff76ebc7f2e3
[ "Apache-2.0" ]
10
2015-08-05T21:17:41.000Z
2020-05-10T15:19:24.000Z
tut37.c
FSchwarzenberg/ProgramacionEnC
d387bf3776c0b057b5dd9195ac45ff76ebc7f2e3
[ "Apache-2.0" ]
null
null
null
tut37.c
FSchwarzenberg/ProgramacionEnC
d387bf3776c0b057b5dd9195ac45ff76ebc7f2e3
[ "Apache-2.0" ]
6
2015-05-19T00:09:48.000Z
2019-10-04T13:04:54.000Z
#include <stdio.h> //Copyright Chelin Tutorials. All Rights Reserved //http://chelintutorials.blogspot.com/ //punteros a cadenas de caracteres int main(void){ //vieja manera char vector_caracteres[] ="Soy la vieja manera"; printf(" %s\n",vector_caracteres); //nueva manera // int * p1; char * cad = "Youtube"; //es correcto //estoi apuntando al primer caracter (Y) printf(" %s\n",cad); //otra cosa no me den bola char * cad2; cad2= &vector_caracteres[0]; //es lo mismo q poner cad2= vector_caracteres printf(" %s\n",cad2); return 0; }
21.357143
52
0.638796
[ "cad" ]
8bee00c9b270ba7bba3448444efdcf1b53d34b6f
11,156
h
C
zircon/system/ulib/fbl/test/include/fbl/tests/intrusive_containers/objects.h
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
1
2019-04-21T18:02:26.000Z
2019-04-21T18:02:26.000Z
zircon/system/ulib/fbl/test/include/fbl/tests/intrusive_containers/objects.h
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
zircon/system/ulib/fbl/test/include/fbl/tests/intrusive_containers/objects.h
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #pragma once #include <fbl/alloc_checker.h> #include <fbl/ref_counted.h> #include <fbl/ref_ptr.h> #include <fbl/unique_ptr.h> #include <unittest/unittest.h> #include <atomic> #include <memory> #include <utility> namespace fbl { namespace tests { namespace intrusive_containers { // All test objects derive from a simple base class which keeps track of how // many of the object are currently alive. class TestObjBase { public: explicit TestObjBase(size_t) { ++live_obj_count_; } ~TestObjBase() { --live_obj_count_; } static size_t live_obj_count() { return live_obj_count_; } static void ResetLiveObjCount() { live_obj_count_ = 0; } private: static size_t live_obj_count_; }; // The base class for keyed test objects. Implements the storage for a key as // well as the default traits accessor and a set method for use by tests. template <typename KeyType> class KeyedTestObjBase : public TestObjBase { public: explicit KeyedTestObjBase(size_t val) : TestObjBase(val), key_(static_cast<KeyType>(val)) {} KeyType GetKey() const { return key_; } void SetKey(KeyType key) { key_ = key; } private: KeyType key_; }; // The base class for hash-able test objects. Implements a default hash // function accessor as well as inheriting from KeyedTestObjBase template <typename KeyType, typename HashType, HashType kNumBuckets> class HashedTestObjBase : public KeyedTestObjBase<KeyType> { public: explicit HashedTestObjBase(size_t val) : KeyedTestObjBase<KeyType>(val) {} static HashType GetHash(const KeyType& key) { // Our simple hash function just multiplies by a big prime and mods by // the number of buckets. return (static_cast<HashType>(key) * 0xcf2fd713) % kNumBuckets; } }; // A 'test' custom deleter for use when testing managed pointer type which have // support for template define custom deleters. template <typename T> struct TestCustomDeleter { public: constexpr TestCustomDeleter() = default; void operator()(T* ptr) const { delete_count_.fetch_add(1u); delete ptr; } static void reset_delete_count() { delete_count_.store(0); } static size_t delete_count() { return delete_count_.load(); } private: static std::atomic<size_t> delete_count_; }; // Container test objects are objects which... // // 1) Store a size_t value // 2) Store a 'visited' flag for use when testing iterators // 3) Derive from TestObjBase (so that live object counts are maintained) // 4) Exercise the base class helper for the container which makes an object // containable (SinglyLinkedListable for SinglyLinkedList, etc...) // 5) Have storage of the appropriate type to exist in another version of the // container being exercised. template <typename... ContainerTraits> class TestObj; class WAVLTreeChecker; template <typename ContainerTraits_> class TestObj<ContainerTraits_> : public ContainerTraits_::TestObjBaseType, public ContainerTraits_::ContainableBaseClass, public std::conditional_t<ContainerTraits_::ContainerType::PtrTraits::CanCopy, typename ContainerTraits_::TaggedContainableBaseClasses, fbl::DefaultObjectTag> { // just an empty struct otherwise public: using ContainerTraits = ContainerTraits_; using ContainerStateType = typename ContainerTraits::ContainerStateType; using PtrTraits = typename ContainerStateType::PtrTraits; explicit TestObj(size_t val) : ContainerTraits_::TestObjBaseType(val), val_(val) {} size_t value() const { return val_; } const void* raw_ptr() const { return this; } // Note: the visit method needs to be const (and the visited_count_ member mutable) so we can // test const_iterators. void Visit() const { ++visited_count_; } void ResetVisitedCount() { visited_count_ = 0; } size_t visited_count() const { return visited_count_; } bool operator==(const TestObj<ContainerTraits>& other) const { return this == &other; } bool operator!=(const TestObj<ContainerTraits>& other) const { return this != &other; } private: friend typename ContainerTraits::OtherContainerTraits; size_t val_; mutable size_t visited_count_ = 0; typename ContainerTraits::OtherContainerStateType other_container_state_; }; // RefedTestObj is a ref-counted version of TestObj for use with RefPtr<> tests. template <typename ContainerTraits> class RefedTestObj : public TestObj<ContainerTraits>, public RefCounted<RefedTestObj<ContainerTraits>> { public: explicit RefedTestObj(size_t val) : TestObj<ContainerTraits>(val) {} }; // Basic pointer type definitions for the 5 types of currently support pointers // // Used by the macros which generate the various test environmements // // 1) Foo* (unmanaged/raw) // 2) fbl::unique_ptr<Foo> // 3) std::unique_ptr<Foo> // 4) std::unique_ptr<Foo, CustomDeleter> // 5) fbl::RefPtr<Foo> // namespace ptr_type { template <typename _ObjType> struct Unmanaged { using type = _ObjType*; }; template <typename _ObjType> struct UniquePtr { using type = ::fbl::unique_ptr<_ObjType>; }; template <typename _ObjType> struct StdUniquePtrDefaultDeleter { using type = ::std::unique_ptr<_ObjType>; }; template <typename _ObjType> struct StdUniquePtrCustomDeleter { using type = ::std::unique_ptr<_ObjType, TestCustomDeleter<_ObjType>>; }; template <typename _ObjType> struct RefPtr { using type = ::fbl::RefPtr<_ObjType>; }; } // namespace ptr_type // Test trait structures contain utilities which define test behavior for the // five types of pointers which are managed by intrusive containers (see above). // // Defined behaviors include... // // 1) Allocating a valid version of a pointer to a TestObj of the proper type. // 2) "Transferring" a pointer (eg. copying if the pointer type supports copying, // otherwise moving). // 3) Testing to see if a pointer to an object was properly transferred into a // container. // 4) Testing to see if a pointer to an object was properly moved into a // container. // 5) Checking to see if the number of times an associated custom deleter was // invoked. // 5) Resetting any assoicated custom deleter state. template <typename _ObjType> struct UnmanagedTestTraits { using ObjType = _ObjType; using PtrType = typename ptr_type::Unmanaged<ObjType>::type; using ConstPtrType = const ObjType*; using ContainerType = typename ObjType::ContainerTraits::ContainerType; static PtrType CreateObject(size_t value) { AllocChecker ac; auto r = new (&ac) ObjType(value); return ac.check() ? r : nullptr; } static void ReleaseObject(PtrType& ptr) { delete ptr; ptr = nullptr; } static bool CheckCustomDeleteInvocations(size_t expected) { return true; } static void ResetCustomDeleter() {} // Unmanaged pointers never get cleared when being moved or transferred. static inline PtrType& Transfer(PtrType& ptr) { return ptr; } static bool WasTransferred(const ConstPtrType& ptr) { return ptr != nullptr; } static bool WasMoved(const ConstPtrType& ptr) { return ptr != nullptr; } }; template <typename _ObjType> struct UniquePtrTestTraits { using ObjType = _ObjType; using PtrType = typename ptr_type::UniquePtr<ObjType>::type; using ConstPtrType = const PtrType; using ContainerType = typename ObjType::ContainerTraits::ContainerType; static PtrType CreateObject(size_t value) { AllocChecker ac; auto r = new (&ac) ObjType(value); return PtrType(ac.check() ? r : nullptr); } static void ReleaseObject(PtrType& ptr) { ptr = nullptr; } static bool CheckCustomDeleteInvocations(size_t expected) { return true; } static void ResetCustomDeleter() {} // Unique pointers always get cleared when being moved or transferred. static inline PtrType&& Transfer(PtrType& ptr) { return std::move(ptr); } static bool WasTransferred(const ConstPtrType& ptr) { return ptr == nullptr; } static bool WasMoved(const ConstPtrType& ptr) { return ptr == nullptr; } }; template <typename _ObjType> struct StdUniquePtrDefaultDeleterTestTraits { using ObjType = _ObjType; using PtrType = typename ptr_type::StdUniquePtrDefaultDeleter<ObjType>::type; using ConstPtrType = const PtrType; using ContainerType = typename ObjType::ContainerTraits::ContainerType; static PtrType CreateObject(size_t value) { AllocChecker ac; auto r = new (&ac) ObjType(value); return PtrType(ac.check() ? r : nullptr); } static void ReleaseObject(PtrType& ptr) { ptr = nullptr; } static bool CheckCustomDeleteInvocations(size_t expected) { return true; } static void ResetCustomDeleter() {} // Unique pointers always get cleared when being moved or transferred. static inline PtrType&& Transfer(PtrType& ptr) { return std::move(ptr); } static bool WasTransferred(const ConstPtrType& ptr) { return ptr == nullptr; } static bool WasMoved(const ConstPtrType& ptr) { return ptr == nullptr; } }; template <typename _ObjType> struct StdUniquePtrCustomDeleterTestTraits { using ObjType = _ObjType; using PtrType = typename ptr_type::StdUniquePtrCustomDeleter<ObjType>::type; using ConstPtrType = const PtrType; using ContainerType = typename ObjType::ContainerTraits::ContainerType; static PtrType CreateObject(size_t value) { AllocChecker ac; auto r = new (&ac) ObjType(value); return PtrType(ac.check() ? r : nullptr); } static void ReleaseObject(PtrType& ptr) { ptr = nullptr; } static bool CheckCustomDeleteInvocations(size_t expected) { BEGIN_HELPER; EXPECT_EQ(expected, TestCustomDeleter<_ObjType>::delete_count()); END_HELPER; } static void ResetCustomDeleter() { TestCustomDeleter<_ObjType>::reset_delete_count(); } // Unique pointers always get cleared when being moved or transferred. static inline PtrType&& Transfer(PtrType& ptr) { return std::move(ptr); } static bool WasTransferred(const ConstPtrType& ptr) { return ptr == nullptr; } static bool WasMoved(const ConstPtrType& ptr) { return ptr == nullptr; } }; template <typename _ObjType> struct RefPtrTestTraits { using ObjType = _ObjType; using PtrType = typename ptr_type::RefPtr<ObjType>::type; using ConstPtrType = const PtrType; using ContainerType = typename ObjType::ContainerTraits::ContainerType; static PtrType CreateObject(size_t value) { AllocChecker ac; auto r = new (&ac) ObjType(value); return AdoptRef(ac.check() ? r : nullptr); } static void ReleaseObject(PtrType& ptr) { ptr = nullptr; } static bool CheckCustomDeleteInvocations(size_t expected) { return true; } static void ResetCustomDeleter() {} // RefCounted pointers do not get cleared when being transferred, but do get // cleared when being moved. static inline PtrType& Transfer(PtrType& ptr) { return ptr; } static bool WasTransferred(const ConstPtrType& ptr) { return ptr != nullptr; } static bool WasMoved(const ConstPtrType& ptr) { return ptr == nullptr; } }; } // namespace intrusive_containers } // namespace tests } // namespace fbl
34.5387
95
0.736823
[ "object" ]
27281c59b192fc86654aa20d083530e844184f26
3,158
h
C
arduino-board-mbed-os-v1.3.1/mbed/1.3.1/libraries/RPC/RPC_internal.h
edgeimpulse/example-SparkFun-MicroMod-nRF52840
90cd687ed71778318b3157320ce6a4abdd92b467
[ "Apache-2.0" ]
15
2021-06-28T23:32:16.000Z
2022-03-31T17:46:54.000Z
arduino-board-mbed-os-v1.3.1/mbed/1.3.1/libraries/RPC/RPC_internal.h
edgeimpulse/example-SparkFun-MicroMod-nRF52840
90cd687ed71778318b3157320ce6a4abdd92b467
[ "Apache-2.0" ]
null
null
null
arduino-board-mbed-os-v1.3.1/mbed/1.3.1/libraries/RPC/RPC_internal.h
edgeimpulse/example-SparkFun-MicroMod-nRF52840
90cd687ed71778318b3157320ce6a4abdd92b467
[ "Apache-2.0" ]
7
2021-06-26T23:53:20.000Z
2021-11-16T09:36:28.000Z
#ifdef __cplusplus #ifndef __ARDUINO_RPC_IMPLEMENTATION__ #define __ARDUINO_RPC_IMPLEMENTATION__ // msgpack overrides BIN symbol, undefine it #ifdef BIN #define _BIN BIN #undef BIN #define BIN BIN_MSGPACK #endif #include "rpclib.h" #include "rpc/dispatcher.h" #include "RPC_client.h" #ifdef _BIN #undef BIN #define BIN _BIN #endif extern "C" { #ifdef ATOMIC_FLAG_INIT #undef ATOMIC_FLAG_INIT #endif #ifdef ATOMIC_VAR_INIT #undef ATOMIC_VAR_INIT #endif #define boolean boolean_t #include "openamp.h" #include "arduino_openamp.h" #undef boolean #ifdef bool #define boolean bool #endif } #include "mbed.h" enum endpoints_t { ENDPOINT_CM7TOCM4 = 0, ENDPOINT_CM4TOCM7, ENDPOINT_RAW }; typedef struct _service_request { uint8_t* data; } service_request; namespace arduino { class RPC : public Stream, public rpc::detail::dispatcher { public: RPC() {}; int begin(); void end() {}; int available(void) { return rx_buffer.available(); }; int peek(void) { return rx_buffer.peek(); } int read(void) { return rx_buffer.read_char(); } void flush(void) {}; size_t write(uint8_t c); size_t write(const uint8_t*, size_t); size_t write(enum endpoints_t ep, const uint8_t* buf, size_t len); using Print::write; // pull in write(str) and write(buf, size) from Print operator bool() { return initialized; } void attach(void (*fptr)(void)) { if (fptr != NULL) { _rx = mbed::Callback<void()>(fptr); } } template <typename... Args> RPCLIB_MSGPACK::object_handle call(std::string const &func_name, Args... args) { // find a free spot in clients[] // create new object // protect this with mutex int i = 0; for (i=0; i<10; i++) { if (clients[i] == NULL) { clients[i] = new rpc::client(); break; } } // thread start and client .call clients[i]->call(func_name, args...); RPCLIB_MSGPACK::object_handle ret = std::move(clients[i]->result); delete clients[i]; clients[i] = NULL; return ret; } rpc::client* clients[10]; private: RingBufferN<256> rx_buffer; bool initialized = false; static int rpmsg_recv_cm7tocm4_callback(struct rpmsg_endpoint *ept, void *data, size_t len, uint32_t src, void *priv); static int rpmsg_recv_cm4tocm7_callback(struct rpmsg_endpoint *ept, void *data, size_t len, uint32_t src, void *priv); static int rpmsg_recv_raw_callback(struct rpmsg_endpoint *ept, void *data, size_t len, uint32_t src, void *priv); static void new_service_cb(struct rpmsg_device *rdev, const char *name, uint32_t dest); void dispatch(); events::EventQueue eventQueue; mbed::Ticker ticker; rtos::Thread* eventThread; rtos::Thread* dispatcherThread; RPCLIB_MSGPACK::unpacker pac_; mbed::Callback<void()> _rx; //rpc::detail::response response; RPCLIB_MSGPACK::object_handle call_result; osThreadId dispatcherThreadId; }; } extern arduino::RPC RPC1; #endif #endif
23.392593
89
0.649778
[ "object" ]
27337b8ca938f88e198336303dfdd549a39c1f5c
3,906
h
C
TIGLViewer/src/TIGLAISTriangulation.h
cfsengineering/tigl
abfbb57b82dc6beac7cde212a4cd5e0aed866db8
[ "Apache-2.0" ]
10
2018-09-05T15:12:26.000Z
2019-05-04T05:41:39.000Z
TIGLViewer/src/TIGLAISTriangulation.h
cfsengineering/tigl
abfbb57b82dc6beac7cde212a4cd5e0aed866db8
[ "Apache-2.0" ]
1
2019-08-21T12:12:25.000Z
2019-08-27T17:11:05.000Z
TIGLViewer/src/TIGLAISTriangulation.h
cfsengineering/tigl
abfbb57b82dc6beac7cde212a4cd5e0aed866db8
[ "Apache-2.0" ]
1
2019-01-12T13:54:14.000Z
2019-01-12T13:54:14.000Z
// Copyright (c) 1999-2012 OPEN CASCADE SAS // // The content of this file is subject to the Open CASCADE Technology Public // License Version 6.5 (the "License"). You may not use the content of this file // except in compliance with the License. Please obtain a copy of the License // at http://www.opencascade.org and read it completely before using this file. // // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. // // The Original Code and all software distributed under the License is // distributed on an "AS IS" basis, without warranty of any kind, and the // Initial Developer hereby disclaims all such warranties, including without // limitation, any warranties of merchantability, fitness for a particular // purpose or non-infringement. Please see the License for the specific terms // and conditions governing the rights and limitations under the License. #ifndef _TIGLAISTriangulation_HeaderFile #define _TIGLAISTriangulation_HeaderFile #include <Standard_DefineHandle.hxx> #include <Poly_Triangulation.hxx> #include <TColStd_HArray1OfInteger.hxx> #include <AIS_InteractiveObject.hxx> #include <occt_compat.h> #include "tigl_internal.h" DEFINE_STANDARD_HANDLE(TIGLAISTriangulation,AIS_InteractiveObject) //! Interactive object that draws data from Poly_Triangulation, optionally with colors associated <br> //! with each triangulation vertex. For maximum efficiency colors are represented as 32-bit integers <br> //! instead of classic Quantity_Color values. <br> //! Interactive selection of triangles and vertices is not yet implemented. <br> class TIGLAISTriangulation : public AIS_InteractiveObject { public: //! Constructs the Triangulation display object <br> Standard_EXPORT TIGLAISTriangulation(const Handle(Poly_Triangulation)& aTriangulation); //! Set the color for each node. <br> //! Each 32-bit color is Alpha << 24 + Blue << 16 + Green << 8 + Red <br> //! Order of color components is essential for further usage by OpenGL <br> Standard_EXPORT void SetColors(const Handle(TColStd_HArray1OfInteger)& aColor) ; //! Get the color for each node. <br> //! Each 32-bit color is Alpha << 24 + Blue << 16 + Green << 8 + Red <br> Standard_EXPORT Handle(TColStd_HArray1OfInteger) GetColors() const; Standard_EXPORT void SetTriangulation(const Handle(Poly_Triangulation)& aTriangulation) ; //! Returns Poly_Triangulation . <br> Standard_EXPORT Handle(Poly_Triangulation) GetTriangulation() const; DEFINE_STANDARD_RTTIEXT(TIGLAISTriangulation,AIS_InteractiveObject) protected: private: Standard_EXPORT void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) OVERRIDE; Standard_EXPORT void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode) OVERRIDE; //! Attenuates 32-bit color by a given attenuation factor (0...1): <br> //! aColor = Alpha << 24 + Blue << 16 + Green << 8 + Red <br> //! All color components are multiplied by aComponent, the result is then packed again as 32-bit integer. <br> //! Color attenuation is applied to the vertex colors in order to have correct visual result <br> //! after glColorMaterial(GL_AMBIENT_AND_DIFFUSE). Without it, colors look unnatural and flat. <br> Standard_EXPORT Standard_Integer AttenuateColor(const Standard_Integer aColor,const Standard_Real aComponent) ; Handle(Poly_Triangulation) myTriangulation; Handle(TColStd_HArray1OfInteger) myColor; Standard_Integer myFlagColor; Standard_Integer myNbNodes; Standard_Integer myNbTriangles; Standard_Real minx, miny, minz, maxx, maxy, maxz; }; // other Inline functions and methods (like "C++: function call" methods) #endif
42
190
0.768817
[ "object" ]
273cad63816d047e1c7a0fb3c3a656ed3ddade2d
4,788
h
C
third_party/WebKit/Source/core/page/FocusController.h
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
third_party/WebKit/Source/core/page/FocusController.h
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
third_party/WebKit/Source/core/page/FocusController.h
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
/* * Copyright (C) 2006, 2007 Apple 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: * 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 APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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 FocusController_h #define FocusController_h #include "core/CoreExport.h" #include "platform/geometry/LayoutRect.h" #include "platform/heap/Handle.h" #include "public/platform/WebFocusType.h" #include "wtf/Forward.h" #include "wtf/Noncopyable.h" #include "wtf/RefPtr.h" namespace blink { struct FocusCandidate; struct FocusParams; class Document; class Element; class Frame; class HTMLFrameOwnerElement; class InputDeviceCapabilities; class LocalFrame; class Node; class Page; class RemoteFrame; class CORE_EXPORT FocusController final : public GarbageCollected<FocusController> { WTF_MAKE_NONCOPYABLE(FocusController); public: static FocusController* create(Page*); void setFocusedFrame(Frame*, bool notifyEmbedder = true); void focusDocumentView(Frame*, bool notifyEmbedder = true); LocalFrame* focusedFrame() const; Frame* focusedOrMainFrame() const; // Finds the focused HTMLFrameOwnerElement, if any, in the provided frame. // An HTMLFrameOwnerElement is considered focused if the frame it owns, or // one of its descendant frames, is currently focused. HTMLFrameOwnerElement* focusedFrameOwnerElement( LocalFrame& currentFrame) const; // Determines whether the provided Document has focus according to // http://www.w3.org/TR/html5/editing.html#dom-document-hasfocus bool isDocumentFocused(const Document&) const; bool setInitialFocus(WebFocusType); bool advanceFocus(WebFocusType type, InputDeviceCapabilities* sourceCapabilities = nullptr) { return advanceFocus(type, false, sourceCapabilities); } bool advanceFocusAcrossFrames( WebFocusType, RemoteFrame* from, LocalFrame* to, InputDeviceCapabilities* sourceCapabilities = nullptr); Element* findFocusableElementInShadowHost(const Element& shadowHost); bool setFocusedElement(Element*, Frame*, const FocusParams&); // |setFocusedElement| variant with SelectionBehaviorOnFocus::None, // |WebFocusTypeNone, and null InputDeviceCapabilities. bool setFocusedElement(Element*, Frame*); void setActive(bool); bool isActive() const { return m_isActive; } void setFocused(bool); bool isFocused() const { return m_isFocused; } DECLARE_TRACE(); private: explicit FocusController(Page*); Element* findFocusableElement(WebFocusType, Element&); bool advanceFocus(WebFocusType, bool initialFocus, InputDeviceCapabilities* sourceCapabilities = nullptr); bool advanceFocusDirectionally(WebFocusType); bool advanceFocusInDocumentOrder(LocalFrame*, Element* start, WebFocusType, bool initialFocus, InputDeviceCapabilities* sourceCapabilities); bool advanceFocusDirectionallyInContainer(Node* container, const LayoutRect& startingRect, WebFocusType); void findFocusCandidateInContainer(Node& container, const LayoutRect& startingRect, WebFocusType, FocusCandidate& closest); Member<Page> m_page; Member<Frame> m_focusedFrame; bool m_isActive; bool m_isFocused; bool m_isChangingFocusedFrame; }; } // namespace blink #endif // FocusController_h
36.549618
80
0.712615
[ "geometry" ]
27418d665d66241500af64e0f460b9b691080c6b
4,158
h
C
monik/log/third_party/amqp/Envelope.h
Totopolis/monik.cpp
2286381b2eb8fb93ef64e0bf495dd2cba3d97aad
[ "MIT" ]
null
null
null
monik/log/third_party/amqp/Envelope.h
Totopolis/monik.cpp
2286381b2eb8fb93ef64e0bf495dd2cba3d97aad
[ "MIT" ]
null
null
null
monik/log/third_party/amqp/Envelope.h
Totopolis/monik.cpp
2286381b2eb8fb93ef64e0bf495dd2cba3d97aad
[ "MIT" ]
1
2018-10-18T07:07:47.000Z
2018-10-18T07:07:47.000Z
// Envelope.h // #pragma once #ifndef SIMPLEAMQPCLIENT_ENVELOPE_H #define SIMPLEAMQPCLIENT_ENVELOPE_H #include "monik/log/third_party/amqp/BasicMessage.h" namespace monik { namespace AmqpClient { class Envelope final : noncopyable { public: typedef std::shared_ptr<Envelope> ptr_t; /** * Creates an new envelope object * @param message the payload * @param consumer_tag the consumer tag the message was delivered to * @param delivery_tag the delivery tag that the broker assigned to the * message * @param exchange the name of the exchange that the message was published to * @param redelivered a flag indicating whether the message consumed as a * result of a redelivery * @param routing_key the routing key that the message was published with * @returns a std::shared_ptr to an envelope object */ static ptr_t Create(const BasicMessage::ptr_t message, const std::string &consumer_tag, const std::uint64_t delivery_tag, const std::string &exchange, bool redelivered, const std::string &routing_key, const std::uint16_t delivery_channel) { return std::make_shared<Envelope>(message, consumer_tag, delivery_tag, exchange, redelivered, routing_key, delivery_channel); } explicit Envelope(const BasicMessage::ptr_t message, const std::string &consumer_tag, const std::uint64_t delivery_tag, const std::string &exchange, bool redelivered, const std::string &routing_key, const std::uint16_t delivery_channel); public: /** * destructor */ virtual ~Envelope(); /** * Get the payload of the envelope * * @returns the message */ inline BasicMessage::ptr_t Message() const { return m_message; } /** * Get the consumer tag for the consumer that delivered the message * * @returns the consumer that delivered the message */ inline std::string ConsumerTag() const { return m_consumerTag; } /** * Get the delivery tag for the message. * * The delivery tag is a unique tag for a given message assigned by the * broker * This tag is used when Ack'ing a message * * @returns the delivery tag for a message */ inline std::uint64_t DeliveryTag() const { return m_deliveryTag; } /** * Get the name of the exchange that the message was published to * * @returns the name of the exchange the message was published to */ inline std::string Exchange() const { return m_exchange; } /** * Get the flag that indicates whether the message was redelivered * * A flag that indicates whether the message was redelievered means * the broker tried to deliver the message and the client did not Ack * the message, so the message was requeued, or the client asked the broker * to Recover which forced all non-Acked messages to be redelivered * * @return a boolean flag indicating whether the message was redelivered */ inline bool Redelivered() const { return m_redelivered; } /** * Get the routing key that the message was published with * * @returns a string containing the routing key the message was published * with */ inline std::string RoutingKey() const { return m_routingKey; } inline std::uint16_t DeliveryChannel() const { return m_deliveryChannel; } struct DeliveryInfo { std::uint64_t delivery_tag; std::uint16_t delivery_channel; }; inline DeliveryInfo GetDeliveryInfo() const { DeliveryInfo info; info.delivery_tag = m_deliveryTag; info.delivery_channel = m_deliveryChannel; return info; } private: const BasicMessage::ptr_t m_message; const std::string m_consumerTag; const std::uint64_t m_deliveryTag; const std::string m_exchange; const bool m_redelivered; const std::string m_routingKey; const std::uint16_t m_deliveryChannel; }; }} // AmqpClient #endif // SIMPLEAMQPCLIENT_ENVELOPE_H
31.740458
80
0.668831
[ "object" ]
2743015d69f23e5958a7c67793b6b026f4da3d11
6,649
c
C
microcontrollers/pic32-explorer16/lcd.c
sergev/vak-opensource
e1912b83dabdbfab2baee5e7a9a40c3077349381
[ "Apache-2.0" ]
34
2016-10-29T19:50:34.000Z
2022-02-12T21:27:43.000Z
microcontrollers/pic32-explorer16/lcd.c
sergev/vak-opensource
e1912b83dabdbfab2baee5e7a9a40c3077349381
[ "Apache-2.0" ]
null
null
null
microcontrollers/pic32-explorer16/lcd.c
sergev/vak-opensource
e1912b83dabdbfab2baee5e7a9a40c3077349381
[ "Apache-2.0" ]
19
2017-06-19T23:04:00.000Z
2021-11-13T15:00:41.000Z
/* * Include processor definitions. */ #include "pic32mx.h" #define MHZ 80 /* CPU clock. */ #define PMDATA PMDIN #define LCDREG_CMD 0 /* Address of LCD command register */ #define LCDREG_DATA 1 /* Address of LCD data register */ void lcd_init (void); void lcd_write (int addr, int c); int lcd_read (int addr); void lcd_puts (char *s); #define lcd_putchar(d) lcd_write (LCDREG_DATA, (d)) #define lcd_cmd(c) lcd_write (LCDREG_CMD, (c)) #define lcd_clr() lcd_write (LCDREG_CMD, 1) // 1 msec delay needed #define lcd_home() lcd_write (LCDREG_CMD, 2) #define lcd_set_col(a) lcd_write (LCDREG_CMD, (a) | 0x80) #define lcd_get() lcd_read (LCDREG_DATA) #define lcd_busy() (lcd_read (LCDREG_CMD) & 0x80) #define lcd_addr() (lcd_read (LCDREG_CMD) & 0x7F) /* * Delay for a given number of microseconds. * The processor has a 32-bit hardware Count register, * which increments at half CPU rate. * We use it to get a precise delay. */ void udelay (unsigned usec) { unsigned now = mfc0 (C0_COUNT, 0); unsigned final = now + usec * MHZ / 2; for (;;) { now = mfc0 (C0_COUNT, 0); /* This comparison is valid only when using a signed type. */ if ((int) (now - final) >= 0) break; } } void pmp_set_address (unsigned addr) { while (PMMODE & PIC32_PMMODE_BUSY) ; PMADDR = addr; } void pmp_master_write (unsigned value) { while (PMMODE & PIC32_PMMODE_BUSY) ; PMDIN = value; } int pmp_master_read() { while (PMMODE & PIC32_PMMODE_BUSY) ; return PMDIN; } void lcd_init (void) { /* PMP initialization: 8-bit data bus, * only PMA0 enabled. */ PMCON = PIC32_PMCON_ON | /* Parallel master port enable */ PIC32_PMCON_PTRDEN | /* Read/write strobe port enable */ PIC32_PMCON_PTWREN | /* Write enable strobe port enable */ PIC32_PMCON_RDSP | /* Read strobe polarity active-high */ PIC32_PMCON_WRSP; /* Write strobe polarity active-high */ PMMODE = PIC32_PMMODE_MODE_MAST1 | /* Master mode 1 */ PIC32_PMMODE_WAITB(4) | /* Wait states: data setup to RW strobe */ PIC32_PMMODE_WAITM(15) | /* Wait states: data RW strobe */ PIC32_PMMODE_WAITE(4); /* Wait states: data hold after RW strobe */ PMAEN = 0x0001; // wait for >30ms udelay (30000); // initiate the HD44780 display 8-bit init sequence pmp_set_address (LCDREG_CMD); // select command register pmp_master_write (0x38); // 8-bit int, 2 lines, 5x7 udelay (50); // > 48 us pmp_master_write (0x0c); // ON, no cursor, no blink udelay (50); // > 48 us pmp_master_write (0x01); // clear display udelay (2000); // > 1.6ms pmp_master_write (0x06); // increment cursor, no shift udelay (2000); // > 1.6ms } int lcd_read (int addr) { pmp_set_address (addr); // select register pmp_master_read(); // initiate read sequence return pmp_master_read(); // read actual data } void lcd_write (int addr, int c) { while (lcd_busy()) ; pmp_set_address (addr); // select register pmp_master_write (c); // initiate write sequence } void lcd_puts (char *s) { int c; for (; *s; s++) { switch (*s) { case '\n': // point to second line lcd_set_col (0x40); break; case '\r': // home, point to first line lcd_set_col (0); break; case '\t': // advance next tab (8) positions c = lcd_addr(); while (c & 7) { lcd_putchar (' '); c++; } if (c > 15) // if necessary move to second line lcd_set_col (0x40); break; default: // print character lcd_putchar (*s); break; } } } /* * Chip configuration. */ PIC32_DEVCFG ( DEVCFG0_DEBUG_DISABLED, /* ICE debugger disabled */ DEVCFG1_FNOSC_PRIPLL | /* Primary oscillator with PLL */ DEVCFG1_POSCMOD_HS | /* HS oscillator */ DEVCFG1_OSCIOFNC_OFF | /* CLKO output disable */ DEVCFG1_FPBDIV_2 | /* Peripheral bus clock = SYSCLK/2 */ DEVCFG1_FCKM_DISABLE | /* Fail-safe clock monitor disable */ DEVCFG1_FCKS_DISABLE, /* Clock switching disable */ DEVCFG2_FPLLIDIV_2 | /* PLL divider = 1/2 */ DEVCFG2_FPLLMUL_20 | /* PLL multiplier = 20x */ DEVCFG2_UPLLIDIV_2 | /* USB PLL divider = 1/2 */ DEVCFG2_UPLLDIS | /* Disable USB PLL */ DEVCFG2_FPLLODIV_1, /* PLL postscaler = 1/1 */ DEVCFG3_USERID(0xffff) | /* User-defined ID */ DEVCFG3_FSRSSEL_7); /* Assign irq priority 7 to shadow set */ /* * Boot code at bfc00000. * Setup stack pointer and $gp registers, and jump to main(). */ asm (" .section .exception"); asm (" .globl _start"); asm (" .type _start, function"); asm ("_start: la $sp, _estack"); asm (" la $ra, main"); asm (" la $gp, _gp"); asm (" jr $ra"); asm (" .text"); asm ("_estack = _end + 0x1000"); int main() { /* Initialize coprocessor 0. */ mtc0 (C0_COUNT, 0, 0); mtc0 (C0_COMPARE, 0, -1); mtc0 (C0_EBASE, 1, 0x9fc00000); /* Vector base */ mtc0 (C0_INTCTL, 1, 1 << 5); /* Vector spacing 32 bytes */ mtc0 (C0_CAUSE, 0, 1 << 23); /* Set IV */ mtc0 (C0_STATUS, 0, 0); /* Clear BEV */ /* Disable JTAG port, to make all LEDs available. */ DDPCON = 0; /* Set A and B ports as output. */ LATA = 0; TRISA = 0; lcd_init(); lcd_puts ("\rSimple LCD demo"); lcd_puts ("\n--------"); int pos = 0; int to_left = 1; for (;;) { LATA = 1 << pos; /* Shift the value. */ if (to_left) pos++; else pos--; /* Reverse direction. */ if (pos == 7) to_left = 0; else if (pos == 0) to_left = 1; lcd_set_col (0x40 + 7 - pos); lcd_putchar ('#'); /* Wait 200 msec. */ udelay (200000); lcd_set_col (0x40 + 7 - pos); lcd_putchar ('-'); } }
28.78355
84
0.527598
[ "vector" ]
274442751371700f65e492aaddd13181e29f2bbb
31,910
h
C
include/mapidefs.h
RazZziel/wine-dplay
9f74b5cdfd4873cb3302c363b4d953580971c384
[ "MIT" ]
3
2015-08-06T13:40:28.000Z
2017-11-09T15:50:17.000Z
include/mapidefs.h
devyn/wine
76bb12558beaece005419feb98f024a1eb1f74e8
[ "MIT" ]
null
null
null
include/mapidefs.h
devyn/wine
76bb12558beaece005419feb98f024a1eb1f74e8
[ "MIT" ]
1
2019-01-31T13:35:30.000Z
2019-01-31T13:35:30.000Z
/* * Copyright (C) 1998 Justin Bradford * * This library 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 2.1 of the License, or (at your option) any later version. * * This library 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ #ifndef MAPIDEFS_H #define MAPIDEFS_H #ifndef __WINESRC__ # include <windows.h> #endif #include <winerror.h> #include <objbase.h> #include <stddef.h> /* Some types from other headers */ #ifndef __LHANDLE #define __LHANDLE typedef ULONG_PTR LHANDLE, *LPLHANDLE; #endif #ifndef _tagCY_DEFINED #define _tagCY_DEFINED typedef union tagCY { struct { #ifdef WORDS_BIGENDIAN LONG Hi; ULONG Lo; #else ULONG Lo; LONG Hi; #endif } DUMMYSTRUCTNAME; LONGLONG int64; } CY; typedef CY CURRENCY; #endif /* _tagCY_DEFINED */ #ifndef _FILETIME_ #define _FILETIME_ typedef struct _FILETIME { #ifdef WORDS_BIGENDIAN DWORD dwHighDateTime; DWORD dwLowDateTime; #else DWORD dwLowDateTime; DWORD dwHighDateTime; #endif } FILETIME, *PFILETIME, *LPFILETIME; #endif /* Memory allocation routines */ typedef SCODE (WINAPI ALLOCATEBUFFER)(ULONG,LPVOID*); typedef SCODE (WINAPI ALLOCATEMORE)(ULONG,LPVOID,LPVOID*); typedef ULONG (WINAPI FREEBUFFER)(LPVOID); typedef ALLOCATEBUFFER *LPALLOCATEBUFFER; typedef ALLOCATEMORE *LPALLOCATEMORE; typedef FREEBUFFER *LPFREEBUFFER; /* MAPI exposed interfaces */ typedef const IID *LPCIID; typedef struct IAddrBook IAddrBook; typedef IAddrBook *LPADRBOOK; typedef struct IABContainer IABContainer; typedef IABContainer *LPABCONT; typedef struct IAttach IAttach; typedef IAttach *LPATTACH; typedef struct IDistList IDistList; typedef IDistList *LPDISTLIST; typedef struct IMailUser IMailUser; typedef IMailUser *LPMAILUSER; typedef struct IMAPIAdviseSink *LPMAPIADVISESINK; typedef struct IMAPIContainer IMAPIContainer; typedef IMAPIContainer *LPMAPICONTAINER; typedef struct IMAPIFolder IMAPIFolder; typedef IMAPIFolder *LPMAPIFOLDER; typedef struct IMAPIProgress IMAPIProgress; typedef IMAPIProgress *LPMAPIPROGRESS; typedef struct IMAPIStatus IMAPIStatus; typedef IMAPIStatus *LPMAPISTATUS; typedef struct IMessage IMessage; typedef IMessage *LPMESSAGE; typedef struct IMsgStore IMsgStore; typedef IMsgStore *LPMDB; typedef struct IProfSect IProfSect; typedef IProfSect *LPPROFSECT; typedef struct IProviderAdmin IProviderAdmin; typedef IProviderAdmin *LPPROVIDERADMIN; #ifndef MAPI_DIM # define MAPI_DIM 1 /* Default to one dimension for variable length arrays */ #endif /* Flags for abFlags[0] */ #define MAPI_NOTRESERVED 0x08 #define MAPI_NOW 0x10 #define MAPI_THISSESSION 0x20 #define MAPI_NOTRECIP 0x40 #define MAPI_SHORTTERM 0x80 /* Flags for abFlags[1] */ #define MAPI_COMPOUND 0x80 typedef struct _ENTRYID { BYTE abFlags[4]; BYTE ab[MAPI_DIM]; } ENTRYID, *LPENTRYID; /* MAPI GUID's */ typedef struct _MAPIUID { BYTE ab[sizeof(GUID)]; } MAPIUID, *LPMAPIUID; #define IsEqualMAPIUID(pl,pr) (!memcmp((pl),(pr),sizeof(MAPIUID))) #define MAPI_ONE_OFF_UID { 0x81,0x2b,0x1f,0xa4,0xbe,0xa3,0x10,0x19,0x9d,0x6e, \ 0x00,0xdd,0x01,0x0f,0x54,0x02 } #define MAPI_ONE_OFF_UNICODE 0x8000 #define MAPI_ONE_OFF_NO_RICH_INFO 0x0001 /* Object types */ #define MAPI_STORE 1U #define MAPI_ADDRBOOK 2U #define MAPI_FOLDER 3U #define MAPI_ABCONT 4U #define MAPI_MESSAGE 5U #define MAPI_MAILUSER 6U #define MAPI_ATTACH 7U #define MAPI_DISTLIST 8U #define MAPI_PROFSECT 9U #define MAPI_STATUS 10U #define MAPI_SESSION 11U #define MAPI_FORMINFO 12U /* Flags for various calls */ #define MAPI_MODIFY 0x00000001U /* Object can be modified */ #define MAPI_ACCESS_MODIFY MAPI_MODIFY /* Want write access */ #define MAPI_ACCESS_READ 0x00000002U /* Want read access */ #define MAPI_ACCESS_DELETE 0x00000004U /* Want delete access */ #define MAPI_ACCESS_CREATE_HIERARCHY 0x00000008U #define MAPI_ACCESS_CREATE_CONTENTS 0x00000010U #define MAPI_ACCESS_CREATE_ASSOCIATED 0x00000020U #define MAPI_UNICODE 0x80000000U /* Strings in this call are Unicode */ #if defined (UNICODE) || defined (__WINESRC__) #define fMapiUnicode MAPI_UNICODE #else #define fMapiUnicode 0U #endif /* Types of message receivers */ #ifndef MAPI_ORIG #define MAPI_ORIG 0 /* The original author */ #define MAPI_TO 1 /* The primary message receiver */ #define MAPI_CC 2 /* A carbon copy receiver */ #define MAPI_BCC 3 /* A blind carbon copy receiver */ #define MAPI_P1 0x10000000 /* A message resend */ #define MAPI_SUBMITTED 0x80000000 /* This message has already been sent */ #endif #ifndef cchProfileNameMax #define cchProfileNameMax 64 /* Maximum length of a profile name */ #define cchProfilePassMax 64 /* Maximum length of a profile password */ #endif /* Properties: The are the contents of cells in MAPI tables, as well as the * values returned when object properties are queried. */ /* Property types */ #define PT_UNSPECIFIED 0U #define PT_NULL 1U #define PT_I2 2U #define PT_SHORT PT_I2 #define PT_LONG 3U #define PT_I4 PT_LONG #define PT_R4 4U #define PT_FLOAT PT_R4 #define PT_DOUBLE 5U #define PT_R8 PT_DOUBLE #define PT_CURRENCY 6U #define PT_APPTIME 7U #define PT_ERROR 10U #define PT_BOOLEAN 11U #define PT_OBJECT 13U #define PT_I8 20U #define PT_LONGLONG PT_I8 #define PT_STRING8 30U #define PT_UNICODE 31U #define PT_SYSTIME 64U #define PT_CLSID 72U #define PT_BINARY 258U #define MV_FLAG 0x1000 /* This property type is multi-valued (an array) */ #define MV_INSTANCE 0x2000 #define MVI_FLAG (MV_FLAG|MV_INSTANCE) #define MVI_PROP(t) ((t)|MVI_FLAG) #ifndef WINE_NO_UNICODE_MACROS # ifdef UNICODE # define PT_TSTRING PT_UNICODE # define PT_MV_TSTRING (MV_FLAG|PT_UNICODE) # define LPSZ lpszW # define LPPSZ lppszW # define MVSZ MVszW # else # define PT_TSTRING PT_STRING8 # define PT_MV_TSTRING (MV_FLAG|PT_STRING8) # define LPSZ lpszA # define LPPSZ lppszA # define MVSZ MVszA # endif #endif #define PROP_TYPE_MASK 0xFFFFU #define PROP_TYPE(t) ((t) & PROP_TYPE_MASK) #define PROP_ID(t) ((t) >> 16) #define PROP_TAG(t,id) (((id) << 16) | t) #define PROP_ID_NULL 0 #define PROP_ID_INVALID 0xFFFF #define PR_NULL PROP_TAG(PT_NULL, PROP_ID_NULL) #define CHANGE_PROP_TYPE(t,typ) ((0xFFFF0000 & t) | typ) /* Multi-valued property types */ #define PT_MV_I2 (MV_FLAG|PT_I2) #define PT_MV_SHORT PT_MV_I2 #define PT_MV_LONG (MV_FLAG|PT_LONG) #define PT_MV_I4 PT_MV_LONG #define PT_MV_R4 (MV_FLAG|PT_R4) #define PT_MV_FLOAT PT_MV_R4 #define PT_MV_DOUBLE (MV_FLAG|PT_DOUBLE) #define PT_MV_R8 PT_MV_DOUBLE #define PT_MV_CURRENCY (MV_FLAG|PT_CURRENCY) #define PT_MV_APPTIME (MV_FLAG|PT_APPTIME) #define PT_MV_SYSTIME (MV_FLAG|PT_SYSTIME) #define PT_MV_STRING8 (MV_FLAG|PT_STRING8) #define PT_MV_BINARY (MV_FLAG|PT_BINARY) #define PT_MV_UNICODE (MV_FLAG|PT_UNICODE) #define PT_MV_CLSID (MV_FLAG|PT_CLSID) #define PT_MV_I8 (MV_FLAG|PT_I8) #define PT_MV_LONGLONG PT_MV_I8 /* The property tag structure. This describes a list of columns */ typedef struct _SPropTagArray { ULONG cValues; /* Number of elements in aulPropTag */ ULONG aulPropTag[MAPI_DIM]; /* Property tags */ } SPropTagArray, *LPSPropTagArray; #define CbNewSPropTagArray(c) (offsetof(SPropTagArray,aulPropTag)+(c)*sizeof(ULONG)) #define CbSPropTagArray(p) CbNewSPropTagArray((p)->cValues) #define SizedSPropTagArray(n,id) \ struct _SPropTagArray_##id { ULONG cValues; ULONG aulPropTag[n]; } id /* Multi-valued PT_APPTIME property value */ typedef struct _SAppTimeArray { ULONG cValues; /* Number of doubles in lpat */ double *lpat; /* Pointer to double array of length cValues */ } SAppTimeArray; /* PT_BINARY property value */ typedef struct _SBinary { ULONG cb; /* Number of bytes in lpb */ LPBYTE lpb; /* Pointer to byte array of length cb */ } SBinary, *LPSBinary; /* Multi-valued PT_BINARY property value */ typedef struct _SBinaryArray { ULONG cValues; /* Number of SBinarys in lpbin */ SBinary *lpbin; /* Pointer to SBinary array of length cValues */ } SBinaryArray; typedef SBinaryArray ENTRYLIST, *LPENTRYLIST; /* Multi-valued PT_CY property value */ typedef struct _SCurrencyArray { ULONG cValues; /* Number of CYs in lpcu */ CY *lpcur; /* Pointer to CY array of length cValues */ } SCurrencyArray; /* Multi-valued PT_SYSTIME property value */ typedef struct _SDateTimeArray { ULONG cValues; /* Number of FILETIMEs in lpft */ FILETIME *lpft; /* Pointer to FILETIME array of length cValues */ } SDateTimeArray; /* Multi-valued PT_DOUBLE property value */ typedef struct _SDoubleArray { ULONG cValues; /* Number of doubles in lpdbl */ double *lpdbl; /* Pointer to double array of length cValues */ } SDoubleArray; /* Multi-valued PT_CLSID property value */ typedef struct _SGuidArray { ULONG cValues; /* Number of GUIDs in lpguid */ GUID *lpguid; /* Pointer to GUID array of length cValues */ } SGuidArray; /* Multi-valued PT_LONGLONG property value */ typedef struct _SLargeIntegerArray { ULONG cValues; /* Number of long64s in lpli */ LARGE_INTEGER *lpli; /* Pointer to long64 array of length cValues */ } SLargeIntegerArray; /* Multi-valued PT_LONG property value */ typedef struct _SLongArray { ULONG cValues; /* Number of longs in lpl */ LONG *lpl; /* Pointer to long array of length cValues */ } SLongArray; /* Multi-valued PT_STRING8 property value */ typedef struct _SLPSTRArray { ULONG cValues; /* Number of Ascii strings in lppszA */ LPSTR *lppszA; /* Pointer to Ascii string array of length cValues */ } SLPSTRArray; /* Multi-valued PT_FLOAT property value */ typedef struct _SRealArray { ULONG cValues; /* Number of floats in lpflt */ float *lpflt; /* Pointer to float array of length cValues */ } SRealArray; /* Multi-valued PT_SHORT property value */ typedef struct _SShortArray { ULONG cValues; /* Number of shorts in lpb */ short int *lpi; /* Pointer to short array of length cValues */ } SShortArray; /* Multi-valued PT_UNICODE property value */ typedef struct _SWStringArray { ULONG cValues; /* Number of Unicode strings in lppszW */ LPWSTR *lppszW; /* Pointer to Unicode string array of length cValues */ } SWStringArray; /* A property value */ typedef union _PV { short int i; LONG l; ULONG ul; float flt; double dbl; unsigned short b; CY cur; double at; FILETIME ft; LPSTR lpszA; SBinary bin; LPWSTR lpszW; LPGUID lpguid; LARGE_INTEGER li; SShortArray MVi; SLongArray MVl; SRealArray MVflt; SDoubleArray MVdbl; SCurrencyArray MVcur; SAppTimeArray MVat; SDateTimeArray MVft; SBinaryArray MVbin; SLPSTRArray MVszA; SWStringArray MVszW; SGuidArray MVguid; SLargeIntegerArray MVli; SCODE err; LONG x; } __UPV; /* Property value structure. This is essentially a mini-Variant */ typedef struct _SPropValue { ULONG ulPropTag; /* The property type */ ULONG dwAlignPad; /* Alignment, treat as reserved */ union _PV Value; /* The property value */ } SPropValue, *LPSPropValue; /* Structure describing a table row (a collection of property values) */ typedef struct _SRow { ULONG ulAdrEntryPad; /* Padding, treat as reserved */ ULONG cValues; /* Count of property values in lpProbs */ LPSPropValue lpProps; /* Pointer to an array of property values of length cValues */ } SRow, *LPSRow; /* Structure describing a set of table rows */ typedef struct _SRowSet { ULONG cRows; /* Count of rows in aRow */ SRow aRow[MAPI_DIM]; /* Array of rows of length cRows */ } SRowSet, *LPSRowSet; #define CbNewSRowSet(c) (offsetof(SRowSet,aRow)+(c)*sizeof(SRow)) #define CbSRowSet(p) CbNewSRowSet((p)->cRows) #define SizedSRowSet(n,id) \ struct _SRowSet_##id { ULONG cRows; SRow aRow[n]; } id /* Structure describing a problem with a property */ typedef struct _SPropProblem { ULONG ulIndex; /* Index of the property */ ULONG ulPropTag; /* Property tag of the property */ SCODE scode; /* Error code of the problem */ } SPropProblem, *LPSPropProblem; /* A collection of property problems */ typedef struct _SPropProblemArray { ULONG cProblem; /* Number of problems in aProblem */ SPropProblem aProblem[MAPI_DIM]; /* Array of problems of length cProblem */ } SPropProblemArray, *LPSPropProblemArray; /* FPropContainsProp flags */ #define FL_FULLSTRING 0x00000ul /* Exact string match */ #define FL_SUBSTRING 0x00001ul /* Substring match */ #define FL_PREFIX 0x00002ul /* Prefix match */ #define FL_IGNORECASE 0x10000ul /* Case insensitive */ #define FL_IGNORENONSPACE 0x20000ul /* Ignore non spacing characters */ #define FL_LOOSE 0x40000ul /* Try very hard to match */ /* Table types returned by IMAPITable_GetStatus() */ #define TBLTYPE_SNAPSHOT 0U /* Table is fixed at creation time and contents do not change */ #define TBLTYPE_KEYSET 1U /* Table has a fixed number of rows, but row values may change */ #define TBLTYPE_DYNAMIC 2U /* Table values and the number of rows may change */ /* Table status returned by IMAPITable_GetStatus() */ #define TBLSTAT_COMPLETE 0U /* All operations have completed (normal status) */ #define TBLSTAT_QCHANGED 7U /* Table data has changed as expected */ #define TBLSTAT_SORTING 9U /* Table is being asynchronously sorted */ #define TBLSTAT_SORT_ERROR 10U /* An error occurred while sorting the table */ #define TBLSTAT_SETTING_COLS 11U /* Table columns are being asynchronously changed */ #define TBLSTAT_SETCOL_ERROR 13U /* An error occurred during column changing */ #define TBLSTAT_RESTRICTING 14U /* Table rows are being asynchronously restricted */ #define TBLSTAT_RESTRICT_ERROR 15U /* An error occurred during row restriction */ /* Flags for IMAPITable operations that can be asynchronous */ #define TBL_NOWAIT 1U /* Perform the operation asynchronously */ #define TBL_BATCH 2U /* Perform the operation when the results are needed */ #define TBL_ASYNC TBL_NOWAIT /* Synonym for TBL_NOWAIT */ /* Flags for IMAPITable_FindRow() */ #define DIR_BACKWARD 1U /* Read rows backwards from the start bookmark */ /* Table bookmarks */ typedef ULONG BOOKMARK; #define BOOKMARK_BEGINNING ((BOOKMARK)0) /* The first row */ #define BOOKMARK_CURRENT ((BOOKMARK)1) /* The curent table row */ #define BOOKMARK_END ((BOOKMARK)2) /* The last row */ /* Row restrictions */ typedef struct _SRestriction* LPSRestriction; typedef struct _SAndRestriction { ULONG cRes; LPSRestriction lpRes; } SAndRestriction; typedef struct _SBitMaskRestriction { ULONG relBMR; ULONG ulPropTag; ULONG ulMask; } SBitMaskRestriction; typedef struct _SCommentRestriction { ULONG cValues; LPSRestriction lpRes; LPSPropValue lpProp; } SCommentRestriction; #define RELOP_LT 0U #define RELOP_LE 1U #define RELOP_GT 2U #define RELOP_GE 3U #define RELOP_EQ 4U #define RELOP_NE 5U #define RELOP_RE 6U typedef struct _SComparePropsRestriction { ULONG relop; ULONG ulPropTag1; ULONG ulPropTag2; } SComparePropsRestriction; typedef struct _SContentRestriction { ULONG ulFuzzyLevel; ULONG ulPropTag; LPSPropValue lpProp; } SContentRestriction; typedef struct _SExistRestriction { ULONG ulReserved1; ULONG ulPropTag; ULONG ulReserved2; } SExistRestriction; typedef struct _SNotRestriction { ULONG ulReserved; LPSRestriction lpRes; } SNotRestriction; typedef struct _SOrRestriction { ULONG cRes; LPSRestriction lpRes; } SOrRestriction; typedef struct _SPropertyRestriction { ULONG relop; ULONG ulPropTag; LPSPropValue lpProp; } SPropertyRestriction; typedef struct _SSizeRestriction { ULONG relop; ULONG ulPropTag; ULONG cb; } SSizeRestriction; typedef struct _SSubRestriction { ULONG ulSubObject; LPSRestriction lpRes; } SSubRestriction; /* Restriction types */ #define RES_AND 0U #define RES_OR 1U #define RES_NOT 2U #define RES_CONTENT 3U #define RES_PROPERTY 4U #define RES_COMPAREPROPS 5U #define RES_BITMASK 6U #define RES_SIZE 7U #define RES_EXIST 8U #define RES_SUBRESTRICTION 9U #define RES_COMMENT 10U typedef struct _SRestriction { ULONG rt; union { SAndRestriction resAnd; SBitMaskRestriction resBitMask; SCommentRestriction resComment; SComparePropsRestriction resCompareProps; SContentRestriction resContent; SExistRestriction resExist; SNotRestriction resNot; SOrRestriction resOr; SPropertyRestriction resProperty; SSizeRestriction resSize; SSubRestriction resSub; } res; } SRestriction; /* Errors */ typedef struct _MAPIERROR { ULONG ulVersion; /* Mapi version */ #if defined (UNICODE) || defined (__WINESRC__) LPWSTR lpszError; /* Error and component strings. These are Ascii */ LPWSTR lpszComponent; /* unless the MAPI_UNICODE flag is passed in */ #else LPSTR lpszError; LPSTR lpszComponent; #endif ULONG ulLowLevelError; ULONG ulContext; } MAPIERROR, *LPMAPIERROR; /* Sorting */ #define TABLE_SORT_ASCEND 0U #define TABLE_SORT_DESCEND 1U #define TABLE_SORT_COMBINE 2U typedef struct _SSortOrder { ULONG ulPropTag; ULONG ulOrder; } SSortOrder, *LPSSortOrder; typedef struct _SSortOrderSet { ULONG cSorts; ULONG cCategories; ULONG cExpanded; SSortOrder aSort[MAPI_DIM]; } SSortOrderSet, * LPSSortOrderSet; #define MNID_ID 0 #define MNID_STRING 1 typedef struct _MAPINAMEID { LPGUID lpguid; ULONG ulKind; union { LONG lID; LPWSTR lpwstrName; } Kind; } MAPINAMEID, *LPMAPINAMEID; /* Desired notification types (bitflags) */ #define fnevCriticalError 0x00000001UL #define fnevNewMail 0x00000002UL #define fnevObjectCreated 0x00000004UL #define fnevObjectDeleted 0x00000008UL #define fnevObjectModified 0x00000010UL #define fnevObjectMoved 0x00000020UL #define fnevObjectCopied 0x00000040UL #define fnevSearchComplete 0x00000080UL #define fnevTableModified 0x00000100UL #define fnevStatusObjectModified 0x00000200UL #define fnevReservedForMapi 0x40000000UL #define fnevExtended 0x80000000UL /* Type of notification event */ #define TABLE_CHANGED 1U #define TABLE_ERROR 2U #define TABLE_ROW_ADDED 3U #define TABLE_ROW_DELETED 4U #define TABLE_ROW_MODIFIED 5U #define TABLE_SORT_DONE 6U #define TABLE_RESTRICT_DONE 7U #define TABLE_SETCOL_DONE 8U #define TABLE_RELOAD 9U /* fnevCriticalError notification */ typedef struct _ERROR_NOTIFICATION { ULONG cbEntryID; LPENTRYID lpEntryID; SCODE scode; ULONG ulFlags; LPMAPIERROR lpMAPIError; } ERROR_NOTIFICATION; /* fnevNewMail notification */ typedef struct _NEWMAIL_NOTIFICATION { ULONG cbEntryID; LPENTRYID lpEntryID; ULONG cbParentID; LPENTRYID lpParentID; ULONG ulFlags; #if defined (UNICODE) || defined (__WINESRC__) LPWSTR lpszMessageClass; #else LPSTR lpszMessageClass; #endif ULONG ulMessageFlags; } NEWMAIL_NOTIFICATION; /* fnevObjectCreated/Deleted/Modified/Moved/Copied notification */ typedef struct _OBJECT_NOTIFICATION { ULONG cbEntryID; LPENTRYID lpEntryID; ULONG ulObjType; ULONG cbParentID; LPENTRYID lpParentID; ULONG cbOldID; LPENTRYID lpOldID; ULONG cbOldParentID; LPENTRYID lpOldParentID; LPSPropTagArray lpPropTagArray; } OBJECT_NOTIFICATION; /* fnevTableModified notification */ typedef struct _TABLE_NOTIFICATION { ULONG ulTableEvent; HRESULT hResult; SPropValue propIndex; SPropValue propPrior; SRow row; ULONG ulPad; } TABLE_NOTIFICATION; /* fnevExtended notification */ typedef struct _EXTENDED_NOTIFICATION { ULONG ulEvent; ULONG cb; LPBYTE pbEventParameters; } EXTENDED_NOTIFICATION; /* fnevStatusObjectModified notification */ typedef struct { ULONG cbEntryID; LPENTRYID lpEntryID; ULONG cValues; LPSPropValue lpPropVals; } STATUS_OBJECT_NOTIFICATION; /* The notification structure passed to advise sinks */ typedef struct _NOTIFICATION { ULONG ulEventType; ULONG ulAlignPad; union { ERROR_NOTIFICATION err; NEWMAIL_NOTIFICATION newmail; OBJECT_NOTIFICATION obj; TABLE_NOTIFICATION tab; EXTENDED_NOTIFICATION ext; STATUS_OBJECT_NOTIFICATION statobj; } info; } NOTIFICATION, *LPNOTIFICATION; typedef LONG (WINAPI NOTIFCALLBACK)(LPVOID,ULONG,LPNOTIFICATION); typedef NOTIFCALLBACK *LPNOTIFCALLBACK; /***************************************************************************** * IMAPITable interface * * This is the read-only 'view' over an I(MAPI)TableData object. */ #define INTERFACE IMAPITable DECLARE_INTERFACE_(IMAPITable,IUnknown) { /*** IUnknown methods ***/ STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; STDMETHOD_(ULONG,AddRef)(THIS) PURE; STDMETHOD_(ULONG,Release)(THIS) PURE; /*** IMAPITable methods ***/ STDMETHOD(GetLastError)(THIS_ HRESULT hRes, ULONG ulFlags, LPMAPIERROR *lppError) PURE; STDMETHOD(Advise)(THIS_ ULONG ulMask, LPMAPIADVISESINK lpSink, ULONG *lpCxn) PURE; STDMETHOD(Unadvise)(THIS_ ULONG ulCxn) PURE; STDMETHOD(GetStatus)(THIS_ ULONG *lpStatus, ULONG *lpType) PURE; STDMETHOD(SetColumns)(THIS_ LPSPropTagArray lpProps, ULONG ulFlags) PURE; STDMETHOD(QueryColumns)(THIS_ ULONG ulFlags, LPSPropTagArray *lpCols) PURE; STDMETHOD(GetRowCount)(THIS_ ULONG ulFlags, ULONG *lpCount) PURE; STDMETHOD(SeekRow)(THIS_ BOOKMARK lpStart, LONG lRows, LONG *lpSeeked) PURE; STDMETHOD(SeekRowApprox)(THIS_ ULONG ulNum, ULONG ulDenom) PURE; STDMETHOD(QueryPosition)(THIS_ ULONG *lpRow, ULONG *lpNum, ULONG *lpDenom) PURE; STDMETHOD(FindRow)(THIS_ LPSRestriction lpRestrict, BOOKMARK lpOrigin, ULONG ulFlags) PURE; STDMETHOD(Restrict)(THIS_ LPSRestriction lpRestrict, ULONG ulFlags) PURE; STDMETHOD(CreateBookmark)(THIS_ BOOKMARK *lppPos) PURE; STDMETHOD(FreeBookmark)(THIS_ BOOKMARK lpPos) PURE; STDMETHOD(SortTable)(THIS_ LPSSortOrderSet lpSortOpts, ULONG ulFlags) PURE; STDMETHOD(QuerySortOrder)(THIS_ LPSSortOrderSet *lppSortOpts) PURE; STDMETHOD(QueryRows)(THIS_ LONG lRows, ULONG ulFlags, LPSRowSet *lppRows) PURE; STDMETHOD(Abort) (THIS) PURE; STDMETHOD(ExpandRow)(THIS_ ULONG cbKey, LPBYTE lpKey, ULONG ulRows, ULONG ulFlags, LPSRowSet *lppRows, ULONG *lpMore) PURE; STDMETHOD(CollapseRow)(THIS_ ULONG cbKey, LPBYTE lpKey, ULONG ulFlags, ULONG *lpRows) PURE; STDMETHOD(WaitForCompletion)(THIS_ ULONG ulFlags, ULONG ulTime, ULONG *lpState) PURE; STDMETHOD(GetCollapseState)(THIS_ ULONG ulFlags, ULONG cbKey, LPBYTE lpKey, ULONG *lpStateLen, LPBYTE *lpState) PURE; STDMETHOD(SetCollapseState)(THIS_ ULONG ulFlags, ULONG ulLen, LPBYTE lpStart, BOOKMARK *lppWhere) PURE; }; #undef INTERFACE #if !defined(__cplusplus) || defined(CINTERFACE) /*** IUnknown methods ***/ #define IMAPITable_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) #define IMAPITable_AddRef(p) (p)->lpVtbl->AddRef(p) #define IMAPITable_Release(p) (p)->lpVtbl->Release(p) /*** IMAPITable methods ***/ #define IMAPITable_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c) #define IMAPITable_Advise(p,a,b,c) (p)->lpVtbl->Advise(p,a,b,c) #define IMAPITable_Unadvise(p,a) (p)->lpVtbl->Unadvise(p,a) #define IMAPITable_GetStatus(p,a,b) (p)->lpVtbl->GetStatus(p,a,b) #define IMAPITable_SetColumns(p,a,b) (p)->lpVtbl->SetColumns(p,a,b) #define IMAPITable_QueryColumns(p,a,b) (p)->lpVtbl->QueryColumns(p,a,b) #define IMAPITable_GetRowCount(p,a,b) (p)->lpVtbl->GetRowCount(p,a,b) #define IMAPITable_SeekRow(p,a,b) (p)->lpVtbl->SeekRow(p,a,b) #define IMAPITable_SeekRowApprox(p,a,b) (p)->lpVtbl->SeekRowApprox(p,a,b) #define IMAPITable_QueryPosition(p,a,b) (p)->lpVtbl->QueryPosition(p,a,b) #define IMAPITable_FindRow(p,a,b,c) (p)->lpVtbl->FindRow(p,a,b,c) #define IMAPITable_Restrict(p,a,b) (p)->lpVtbl->Recstrict(p,a,b) #define IMAPITable_CreateBookmark(p,a) (p)->lpVtbl->CreateBookmark(p,a) #define IMAPITable_FreeBookmark(p,a) (p)->lpVtbl->FreeBookmark(p,a) #define IMAPITable_SortTable(p,a,b) (p)->lpVtbl->SortTable(p,a,b) #define IMAPITable_QuerySortOrder(p,a) (p)->lpVtbl->QuerySortOrder(p,a) #define IMAPITable_QueryRows(p,a,b,c) (p)->lpVtbl->QueryRows(p,a,b,c) #define IMAPITable_Abort(p) (p)->lpVtbl->Abort(p) #define IMAPITable_ExpandRow(p,a,b,c,d,e,f) (p)->lpVtbl->ExpandRow(p,a,b,c,d,e,f) #define IMAPITable_CollapseRow(p,a,b,c,d) (p)->lpVtbl->CollapseRow(p,a,b,c,d) #define IMAPITable_WaitForCompletion(p,a,b,c) (p)->lpVtbl->WaitForCompletion(p,a,b,c) #define IMAPITable_GetCollapseState(p,a,b,c,d,e) (p)->lpVtbl->GetCollapseState(p,a,b,c,d,e) #define IMAPITable_SetCollapseState(p,a,b,c,d) (p)->lpVtbl->SetCollapseState(p,a,b,c,d) #endif typedef IMAPITable *LPMAPITABLE; /***************************************************************************** * IMAPIAdviseSink interface */ #define INTERFACE IMAPIAdviseSink DECLARE_INTERFACE_(IMAPIAdviseSink,IUnknown) { /*** IUnknown methods ***/ STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; STDMETHOD_(ULONG,AddRef)(THIS) PURE; STDMETHOD_(ULONG,Release)(THIS) PURE; /*** IMAPIAdviseSink methods ***/ STDMETHOD(OnNotify)(THIS_ ULONG NumNotif, LPNOTIFICATION lpNotif) PURE; }; #undef INTERFACE #if !defined(__cplusplus) || defined(CINTERFACE) /*** IUnknown methods ***/ #define IMAPIAdviseSink_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) #define IMAPIAdviseSink_AddRef(p) (p)->lpVtbl->AddRef(p) #define IMAPIAdviseSink_Release(p) (p)->lpVtbl->Release(p) /*** IMAPIAdviseSink methods ***/ #define IMAPIAdviseSink_OnNotify(p,a,b) (p)->lpVtbl->OnNotify(p,a,b) #endif /***************************************************************************** * IMAPIProp interface */ #define INTERFACE IMAPIProp DECLARE_INTERFACE_(IMAPIProp,IUnknown) { /*** IUnknown methods ***/ STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; STDMETHOD_(ULONG,AddRef)(THIS) PURE; STDMETHOD_(ULONG,Release)(THIS) PURE; /*** IMAPIProp methods ***/ STDMETHOD(GetLastError)(THIS_ HRESULT hRes, ULONG ulFlags, LPMAPIERROR *lppErr) PURE; STDMETHOD(SaveChanges)(THIS_ ULONG ulFlags) PURE; STDMETHOD(GetProps)(THIS_ LPSPropTagArray lpPropTags, ULONG ulFlags, ULONG *lpValues, LPSPropValue *lppProps) PURE; STDMETHOD(GetPropList)(THIS_ ULONG ulFlags, LPSPropTagArray *lppPropTagArray) PURE; STDMETHOD(OpenProperty)(THIS_ ULONG ulPropTag, LPCIID lpIid, ULONG ulOpts, ULONG ulFlags, LPUNKNOWN *lppUnk) PURE; STDMETHOD(SetProps)(THIS_ ULONG cValues, LPSPropValue lpProps, LPSPropProblemArray *lppProbs) PURE; STDMETHOD(DeleteProps)(THIS_ LPSPropTagArray lpPropTags, LPSPropProblemArray *lppProbs) PURE; STDMETHOD(CopyTo)(THIS_ ULONG ciidExclude, LPCIID lpIid, LPSPropTagArray lpProps, ULONG ulParam, LPMAPIPROGRESS lpProgress, LPCIID lpIface,LPVOID lpDest, ULONG ulFlags, LPSPropProblemArray *lppProbs) PURE; STDMETHOD(CopyProps)(THIS_ LPSPropTagArray lpIncludeProps, ULONG ulParam, LPMAPIPROGRESS lpProgress, LPCIID lpIid, LPVOID lpDestObj, ULONG ulFlags, LPSPropProblemArray *lppProblems) PURE; STDMETHOD(GetNamesFromIDs)(THIS_ LPSPropTagArray *lppPropTags, LPGUID lpIid, ULONG ulFlags, ULONG *lpCount, LPMAPINAMEID **lpppNames) PURE; STDMETHOD(GetIDsFromNames)(THIS_ ULONG cPropNames, LPMAPINAMEID *lppNames, ULONG ulFlags, LPSPropTagArray *lppPropTags) PURE; }; #undef INTERFACE #if !defined(__cplusplus) || defined(CINTERFACE) /*** IUnknown methods ***/ #define IMAPIProp_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) #define IMAPIProp_AddRef(p) (p)->lpVtbl->AddRef(p) #define IMAPIProp_Release(p) (p)->lpVtbl->Release(p) /*** IMAPIProp methods ***/ #define IMAPIProp_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c) #define IMAPIProp_SaveChanges(p,a) (p)->lpVtbl->SaveChanges(p,a) #define IMAPIProp_GetProps(p,a,b,c,d) (p)->lpVtbl->GetProps(p,a,b,c,d) #define IMAPIProp_GetPropList(p,a,b) (p)->lpVtbl->GetPropList(p,a,b) #define IMAPIProp_OpenProperty(p,a,b,c,d,e) (p)->lpVtbl->OpenProperty(p,a,b,c,d,e) #define IMAPIProp_SetProps(p,a,b,c) (p)->lpVtbl->SetProps(p,a,b,c) #define IMAPIProp_DeleteProps(p,a,b) (p)->lpVtbl->DeleteProps(p,a,b) #define IMAPIProp_CopyTo(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CopyTo(p,a,b,c,d,e,f,g,h,i) #define IMAPIProp_CopyProps(p,a,b,c,d,e,f,g) (p)->lpVtbl->CopyProps(p,a,b,c,d,e,f,g) #define IMAPIProp_GetNamesFromIDs(p,a,b,c,d,e) (p)->lpVtbl->GetNamesFromIDs(p,a,b,c,d,e) #define IMAPIProp_GetIDsFromNames(p,a,b,c,d) (p)->lpVtbl->GetIDsFromNames(p,a,b,c,d) #endif typedef IMAPIProp *LPMAPIPROP; typedef struct { ULONG cb; BYTE abEntry[MAPI_DIM]; } FLATENTRY, *LPFLATENTRY; typedef struct { ULONG cEntries; ULONG cbEntries; BYTE abEntries[MAPI_DIM]; } FLATENTRYLIST, *LPFLATENTRYLIST; typedef struct { ULONG cb; BYTE ab[MAPI_DIM]; } MTSID, *LPMTSID; typedef struct { ULONG cMTSIDs; ULONG cbMTSIDs; BYTE abMTSIDs[MAPI_DIM]; } FLATMTSIDLIST, *LPFLATMTSIDLIST; typedef struct _ADRENTRY { ULONG ulReserved1; ULONG cValues; LPSPropValue rgPropVals; } ADRENTRY, *LPADRENTRY; typedef struct _ADRLIST { ULONG cEntries; ADRENTRY aEntries[MAPI_DIM]; } ADRLIST, *LPADRLIST; #endif /*MAPIDEFS_H*/
33.483736
129
0.690912
[ "object" ]
2746dcd1c733248dd3c944877edacb36a40eb8e9
5,998
h
C
src/CCA/Components/Wasatch/Expressions/PBE/MultiEnvMixingModel.h
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
null
null
null
src/CCA/Components/Wasatch/Expressions/PBE/MultiEnvMixingModel.h
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
null
null
null
src/CCA/Components/Wasatch/Expressions/PBE/MultiEnvMixingModel.h
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
null
null
null
/* * The MIT License * * Copyright (c) 1997-2021 The University of Utah * * 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. */ #ifndef MultiEnvMixingModel_Expr_h #define MultiEnvMixingModel_Expr_h #include <expression/Expression.h> /** * \ingroup WasatchExpressions * \class MultiEnvMixingModel * \author Alex Abboud, Tony Saad * \date June 2012 * \tparam FieldT the type of field. * \brief Implements a basic three absciassae multi-environment mixing model. * This expression sets \f$w_1\f$ at \f$\eta = 0\f$ and \f$w_3\f$ at \f$\eta = 1\f$ * where \f$\eta\f$ is the average mixture fraction. * closure of this is that \f$w_2 = <Z>\f$ * for precipitation, reaction only occurs at w_2 * this returns a vector of weights * with a vector of dw/dt base on scalr diss * [w1 dw1/dt w2 dw2/dt w3 dw3/dt] */ template< typename FieldT > class MultiEnvMixingModel : public Expr::Expression<FieldT> { // const Expr::Tag mixFracTag_, scalarVarTag_, scalarDissTag_; //this will correspond to proper tags for mix frac & sclar var // const FieldT* mixFrac_; // mixture fraction from grid // const FieldT* scalarVar_; // sclar variance form grid // const FieldT* scalarDiss_; DECLARE_FIELDS(FieldT, mixFrac_, scalarVar_, scalarDiss_) const double maxDt_; MultiEnvMixingModel( const Expr::Tag& mixFracTag_, const Expr::Tag& scalarVarTag_, const Expr::Tag& scalarDissTag_, const double& maxDt_ ); public: class Builder : public Expr::ExpressionBuilder { public: Builder( const Expr::TagList& results, const Expr::Tag& mixFracTag, const Expr::Tag& scalarVarTag, const Expr::Tag& scalarDissTag, const double& maxDt) : ExpressionBuilder(results), mixfract_(mixFracTag), scalarvart_(scalarVarTag), scalardisst_(scalarDissTag), maxdt_(maxDt) {} ~Builder(){} Expr::ExpressionBase* build() const { return new MultiEnvMixingModel<FieldT>( mixfract_, scalarvart_, scalardisst_, maxdt_ ); } private: const Expr::Tag mixfract_, scalarvart_, scalardisst_; double maxdt_; }; ~MultiEnvMixingModel(); void evaluate(); }; // ################################################################### // // Implementation // // ################################################################### template< typename FieldT > MultiEnvMixingModel<FieldT>:: MultiEnvMixingModel( const Expr::Tag& mixFracTag, const Expr::Tag& scalarVarTag, const Expr::Tag& scalarDissTag, const double& maxDt) : Expr::Expression<FieldT>(), maxDt_(maxDt) { this->set_gpu_runnable( true ); mixFrac_ = this->template create_field_request<FieldT>(mixFracTag); scalarVar_ = this->template create_field_request<FieldT>(scalarVarTag); scalarDiss_ = this->template create_field_request<FieldT>(scalarDissTag); } //-------------------------------------------------------------------- template< typename FieldT > MultiEnvMixingModel<FieldT>:: ~MultiEnvMixingModel() {} //-------------------------------------------------------------------- template< typename FieldT > void MultiEnvMixingModel<FieldT>:: evaluate() { using namespace SpatialOps; typedef typename Expr::Expression<FieldT>::ValVec ResultsVec; ResultsVec& results = this->get_value_vec(); const FieldT& mixFrac = mixFrac_->field_ref(); const FieldT& scalarVar = scalarVar_->field_ref(); const FieldT& scalarDiss = scalarDiss_->field_ref(); double small = 1.0e-10; // w1 *results[0] <<= cond( mixFrac <= small, 1.0 ) ( mixFrac >= 1.0-small, 0.0 ) ( scalarVar/ mixFrac ); // dw1/dt *results[1] <<= cond( mixFrac <= small || mixFrac >= 1.0-small, 0.0 ) ( - scalarDiss/ mixFrac > - *results[0]/maxDt_, - scalarDiss/ mixFrac ) ( - *results[0]/maxDt_ ); // w3 *results[4] <<= cond( mixFrac <= small, 0.0 ) ( mixFrac >= 1.0-small, 1.0 ) ( - scalarVar / ( mixFrac - 1.0 ) ); // dw3/dt *results[5] <<= cond( mixFrac <= small || mixFrac >= 1.0-small, 0.0 ) ( - scalarDiss / (1.0 - mixFrac) > - *results[4]/maxDt_, - scalarDiss / (1.0 - mixFrac) ) ( - *results[4]/maxDt_); //weight 2 last, sicne stability requires w1&3 calc // w2 *results[2] <<= cond( mixFrac <= small || mixFrac >= 1.0-small, 0.0 ) ( 1.0 + scalarVar / (mixFrac * mixFrac - mixFrac) ); // dw2/dt *results[3] <<= cond( mixFrac <= small || mixFrac >= 1.0-small, 0.0 ) ( scalarDiss / (mixFrac - mixFrac * mixFrac) < (*results[0] + *results[4])/maxDt_ , scalarDiss / (mixFrac - mixFrac * mixFrac) ) ( (*results[0] + *results[4])/maxDt_ ); } #endif
34.471264
150
0.611537
[ "vector", "model" ]
2749fac7f4bed3508558850dbf05c58d91badd91
27,127
c
C
php_http_message_body.c
svn2github/pecl-http-v2
1fba12feb80a0468296b2a6d54a5040a53c0b739
[ "BSD-2-Clause" ]
null
null
null
php_http_message_body.c
svn2github/pecl-http-v2
1fba12feb80a0468296b2a6d54a5040a53c0b739
[ "BSD-2-Clause" ]
1
2019-01-16T07:41:17.000Z
2019-01-16T07:41:17.000Z
php_http_message_body.c
svn2github/pecl-http-v2
1fba12feb80a0468296b2a6d54a5040a53c0b739
[ "BSD-2-Clause" ]
null
null
null
/* +--------------------------------------------------------------------+ | PECL :: http | +--------------------------------------------------------------------+ | Redistribution and use in source and binary forms, with or without | | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ | Copyright (c) 2004-2013, Michael Wallner <mike@php.net> | +--------------------------------------------------------------------+ */ #include "php_http_api.h" #include <ext/standard/php_lcg.h> #define BOUNDARY_OPEN(body) \ do {\ size_t size = php_http_message_body_size(body); \ if (size) { \ php_stream_truncate_set_size(php_http_message_body_stream(body), size - lenof("--" PHP_HTTP_CRLF)); \ php_http_message_body_append(body, ZEND_STRL(PHP_HTTP_CRLF)); \ } else { \ php_http_message_body_appendf(body, "--%s" PHP_HTTP_CRLF, php_http_message_body_boundary(body)); \ } \ } while(0) #define BOUNDARY_CLOSE(body) \ php_http_message_body_appendf(body, PHP_HTTP_CRLF "--%s--" PHP_HTTP_CRLF, php_http_message_body_boundary(body)) static STATUS add_recursive_fields(php_http_message_body_t *body, const char *name, zval *value); static STATUS add_recursive_files(php_http_message_body_t *body, const char *name, zval *value); php_http_message_body_t *php_http_message_body_init(php_http_message_body_t **body_ptr, php_stream *stream TSRMLS_DC) { php_http_message_body_t *body; if (body_ptr && *body_ptr) { body = *body_ptr; ++body->refcount; return body; } body = ecalloc(1, sizeof(php_http_message_body_t)); body->refcount = 1; if (stream) { php_stream_auto_cleanup(stream); body->stream_id = php_stream_get_resource_id(stream); zend_list_addref(body->stream_id); } else { stream = php_stream_temp_create(TEMP_STREAM_DEFAULT, 0xffff); php_stream_auto_cleanup(stream); body->stream_id = php_stream_get_resource_id(stream); } TSRMLS_SET_CTX(body->ts); return body; } unsigned php_http_message_body_addref(php_http_message_body_t *body) { return ++body->refcount; } php_http_message_body_t *php_http_message_body_copy(php_http_message_body_t *from, php_http_message_body_t *to) { if (from) { TSRMLS_FETCH_FROM_CTX(from->ts); if (to) { php_stream_truncate_set_size(php_http_message_body_stream(to), 0); } else { to = php_http_message_body_init(NULL, NULL TSRMLS_CC); } php_http_message_body_to_stream(from, php_http_message_body_stream(to), 0, 0); if (to->boundary) { efree(to->boundary); } if (from->boundary) { to->boundary = estrdup(from->boundary); } } else { to = NULL; } return to; } void php_http_message_body_free(php_http_message_body_t **body_ptr) { if (*body_ptr) { php_http_message_body_t *body = *body_ptr; if (!--body->refcount) { TSRMLS_FETCH_FROM_CTX(body->ts); /* NOFIXME: shows leakinfo in DEBUG mode */ zend_list_delete(body->stream_id); STR_FREE(body->boundary); efree(body); } *body_ptr = NULL; } } const php_stream_statbuf *php_http_message_body_stat(php_http_message_body_t *body) { TSRMLS_FETCH_FROM_CTX(body->ts); php_stream_stat(php_http_message_body_stream(body), &body->ssb); return &body->ssb; } const char *php_http_message_body_boundary(php_http_message_body_t *body) { if (!body->boundary) { union { double dbl; int num[2]; } data; TSRMLS_FETCH_FROM_CTX(body->ts); data.dbl = php_combined_lcg(TSRMLS_C); spprintf(&body->boundary, 0, "%x.%x", data.num[0], data.num[1]); } return body->boundary; } char *php_http_message_body_etag(php_http_message_body_t *body) { const php_stream_statbuf *ssb = php_http_message_body_stat(body); TSRMLS_FETCH_FROM_CTX(body->ts); /* real file or temp buffer ? */ if (ssb && ssb->sb.st_mtime) { char *etag; spprintf(&etag, 0, "%lx-%lx-%lx", ssb->sb.st_ino, ssb->sb.st_mtime, ssb->sb.st_size); return etag; } else { php_http_etag_t *etag = php_http_etag_init(PHP_HTTP_G->env.etag_mode TSRMLS_CC); if (etag) { php_http_message_body_to_callback(body, (php_http_pass_callback_t) php_http_etag_update, etag, 0, 0); return php_http_etag_finish(etag); } else { return NULL; } } } void php_http_message_body_to_string(php_http_message_body_t *body, char **buf, size_t *len, off_t offset, size_t forlen) { php_stream *s = php_http_message_body_stream(body); TSRMLS_FETCH_FROM_CTX(body->ts); php_stream_seek(s, offset, SEEK_SET); if (!forlen) { forlen = -1; } *len = php_stream_copy_to_mem(s, buf, forlen, 0); } STATUS php_http_message_body_to_stream(php_http_message_body_t *body, php_stream *dst, off_t offset, size_t forlen) { php_stream *s = php_http_message_body_stream(body); TSRMLS_FETCH_FROM_CTX(body->ts); php_stream_seek(s, offset, SEEK_SET); if (!forlen) { forlen = -1; } return php_stream_copy_to_stream_ex(s, dst, forlen, NULL); } STATUS php_http_message_body_to_callback(php_http_message_body_t *body, php_http_pass_callback_t cb, void *cb_arg, off_t offset, size_t forlen) { php_stream *s = php_http_message_body_stream(body); char *buf = emalloc(0x1000); TSRMLS_FETCH_FROM_CTX(body->ts); php_stream_seek(s, offset, SEEK_SET); if (!forlen) { forlen = -1; } while (!php_stream_eof(s)) { size_t read = php_stream_read(s, buf, MIN(forlen, 0x1000)); if (read) { if (-1 == cb(cb_arg, buf, read)) { return FAILURE; } } if (read < MIN(forlen, sizeof(buf))) { break; } if (forlen && !(forlen -= read)) { break; } } efree(buf); return SUCCESS; } size_t php_http_message_body_append(php_http_message_body_t *body, const char *buf, size_t len) { php_stream *s; size_t written; TSRMLS_FETCH_FROM_CTX(body->ts); if (!(s = php_http_message_body_stream(body))) { return -1; } if (s->ops->seek) { php_stream_seek(s, 0, SEEK_END); } written = php_stream_write(s, buf, len); if (written != len) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to append %zu bytes to body; wrote %zu", len, written); } return len; } size_t php_http_message_body_appendf(php_http_message_body_t *body, const char *fmt, ...) { va_list argv; char *print_str; size_t print_len; va_start(argv, fmt); print_len = vspprintf(&print_str, 0, fmt, argv); va_end(argv); print_len = php_http_message_body_append(body, print_str, print_len); efree(print_str); return print_len; } STATUS php_http_message_body_add_form(php_http_message_body_t *body, HashTable *fields, HashTable *files) { zval tmp; if (fields) { INIT_PZVAL_ARRAY(&tmp, fields); if (SUCCESS != add_recursive_fields(body, NULL, &tmp)) { return FAILURE; } } if (files) { INIT_PZVAL_ARRAY(&tmp, files); if (SUCCESS != add_recursive_files(body, NULL, &tmp)) { return FAILURE; } } return SUCCESS; } void php_http_message_body_add_part(php_http_message_body_t *body, php_http_message_t *part) { TSRMLS_FETCH_FROM_CTX(body->ts); BOUNDARY_OPEN(body); php_http_message_to_callback(part, (php_http_pass_callback_t) php_http_message_body_append, body); BOUNDARY_CLOSE(body); } STATUS php_http_message_body_add_form_field(php_http_message_body_t *body, const char *name, const char *value_str, size_t value_len) { char *safe_name; TSRMLS_FETCH_FROM_CTX(body->ts); safe_name = php_addslashes(estrdup(name), strlen(name), NULL, 1 TSRMLS_CC); BOUNDARY_OPEN(body); php_http_message_body_appendf( body, "Content-Disposition: form-data; name=\"%s\"" PHP_HTTP_CRLF "" PHP_HTTP_CRLF, safe_name ); php_http_message_body_append(body, value_str, value_len); BOUNDARY_CLOSE(body); efree(safe_name); return SUCCESS; } STATUS php_http_message_body_add_form_file(php_http_message_body_t *body, const char *name, const char *ctype, const char *path, php_stream *in) { char *safe_name, *path_dup = estrdup(path), *bname; size_t bname_len; TSRMLS_FETCH_FROM_CTX(body->ts); safe_name = php_addslashes(estrdup(name), strlen(name), NULL, 1 TSRMLS_CC); php_basename(path_dup, strlen(path_dup), NULL, 0, &bname, &bname_len TSRMLS_CC); BOUNDARY_OPEN(body); php_http_message_body_appendf( body, "Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"" PHP_HTTP_CRLF "Content-Transfer-Encoding: binary" PHP_HTTP_CRLF "Content-Type: %s" PHP_HTTP_CRLF PHP_HTTP_CRLF, safe_name, bname, ctype ); php_stream_copy_to_stream_ex(in, php_http_message_body_stream(body), PHP_STREAM_COPY_ALL, NULL); BOUNDARY_CLOSE(body); efree(safe_name); efree(path_dup); efree(bname); return SUCCESS; } static inline char *format_key(uint type, char *str, ulong num, const char *prefix) { char *new_key = NULL; if (prefix && *prefix) { if (type == HASH_KEY_IS_STRING) { spprintf(&new_key, 0, "%s[%s]", prefix, str); } else { spprintf(&new_key, 0, "%s[%lu]", prefix, num); } } else if (type == HASH_KEY_IS_STRING) { new_key = estrdup(str); } else { new_key = estrdup(""); } return new_key; } static STATUS add_recursive_fields(php_http_message_body_t *body, const char *name, zval *value) { if (Z_TYPE_P(value) == IS_ARRAY || Z_TYPE_P(value) == IS_OBJECT) { zval **val; HashTable *ht; HashPosition pos; php_http_array_hashkey_t key = php_http_array_hashkey_init(0); TSRMLS_FETCH_FROM_CTX(body->ts); ht = HASH_OF(value); if (!ht->nApplyCount) { ++ht->nApplyCount; FOREACH_KEYVAL(pos, value, key, val) { char *str = format_key(key.type, key.str, key.num, name); if (SUCCESS != add_recursive_fields(body, str, *val)) { efree(str); ht->nApplyCount--; return FAILURE; } efree(str); } --ht->nApplyCount; } } else { zval *cpy = php_http_ztyp(IS_STRING, value); php_http_message_body_add_form_field(body, name, Z_STRVAL_P(cpy), Z_STRLEN_P(cpy)); zval_ptr_dtor(&cpy); } return SUCCESS; } static STATUS add_recursive_files(php_http_message_body_t *body, const char *name, zval *value) { zval **zdata = NULL, **zfile, **zname, **ztype; HashTable *ht; TSRMLS_FETCH_FROM_CTX(body->ts); if (Z_TYPE_P(value) != IS_ARRAY && Z_TYPE_P(value) != IS_OBJECT) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expected array or object (name, type, file) for message body file to add"); return FAILURE; } ht = HASH_OF(value); if ((SUCCESS != zend_hash_find(ht, ZEND_STRS("name"), (void *) &zname)) || (SUCCESS != zend_hash_find(ht, ZEND_STRS("type"), (void *) &ztype)) || (SUCCESS != zend_hash_find(ht, ZEND_STRS("file"), (void *) &zfile)) ) { zval **val; HashPosition pos; php_http_array_hashkey_t key = php_http_array_hashkey_init(0); if (!ht->nApplyCount) { ++ht->nApplyCount; FOREACH_HASH_KEYVAL(pos, ht, key, val) { if (Z_TYPE_PP(val) == IS_ARRAY || Z_TYPE_PP(val) == IS_OBJECT) { char *str = format_key(key.type, key.str, key.num, name); if (SUCCESS != add_recursive_files(body, str, *val)) { efree(str); --ht->nApplyCount; return FAILURE; } efree(str); } } --ht->nApplyCount; } return SUCCESS; } else { php_stream *stream; zval *zfc = php_http_ztyp(IS_STRING, *zfile); if (SUCCESS == zend_hash_find(ht, ZEND_STRS("data"), (void *) &zdata)) { if (Z_TYPE_PP(zdata) == IS_RESOURCE) { php_stream_from_zval_no_verify(stream, zdata); } else { zval *tmp = php_http_ztyp(IS_STRING, *zdata); stream = php_stream_memory_open(TEMP_STREAM_READONLY, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); zval_ptr_dtor(&tmp); } } else { stream = php_stream_open_wrapper(Z_STRVAL_P(zfc), "r", REPORT_ERRORS|USE_PATH, NULL); } if (!stream) { zval_ptr_dtor(&zfc); return FAILURE; } else { zval *znc = php_http_ztyp(IS_STRING, *zname), *ztc = php_http_ztyp(IS_STRING, *ztype); char *key = format_key(HASH_KEY_IS_STRING, Z_STRVAL_P(znc), 0, name); STATUS ret = php_http_message_body_add_form_file(body, key, Z_STRVAL_P(ztc), Z_STRVAL_P(zfc), stream); efree(key); zval_ptr_dtor(&znc); zval_ptr_dtor(&ztc); zval_ptr_dtor(&zfc); if (!zdata || Z_TYPE_PP(zdata) != IS_RESOURCE) { php_stream_close(stream); } return ret; } } } struct splitbody_arg { php_http_buffer_t buf; php_http_message_parser_t *parser; char *boundary_str; size_t boundary_len; size_t consumed; }; static size_t splitbody(void *opaque, char *buf, size_t len TSRMLS_DC) { struct splitbody_arg *arg = opaque; const char *boundary = NULL; size_t consumed = 0; int first_boundary; do { first_boundary = !(consumed || arg->consumed); if ((boundary = php_http_locate_str(buf, len, arg->boundary_str + first_boundary, arg->boundary_len - first_boundary))) { size_t real_boundary_len = arg->boundary_len - 1, cut; const char *real_boundary = boundary + !first_boundary; int eol_len = 0; if (buf + len <= real_boundary + real_boundary_len) { /* if we just have enough data for the boundary, it's just a byte too less */ arg->consumed += consumed; return consumed; } if (!first_boundary) { /* this is not the first boundary, read rest of this message */ php_http_buffer_append(&arg->buf, buf, real_boundary - buf); php_http_message_parser_parse(arg->parser, &arg->buf, 0, &arg->parser->message); } /* move after the boundary */ cut = real_boundary - buf + real_boundary_len; buf += cut; len -= cut; consumed += cut; if (buf == php_http_locate_bin_eol(buf, len, &eol_len)) { /* skip CRLF */ buf += eol_len; len -= eol_len; consumed += eol_len; if (!first_boundary) { /* advance messages */ php_http_message_t *msg; msg = php_http_message_init(NULL, 0, NULL TSRMLS_CC); msg->parent = arg->parser->message; arg->parser->message = msg; } } else { /* is this the last boundary? */ if (*buf == '-') { /* ignore the rest */ consumed += len; len = 0; } else { /* let this be garbage */ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Malformed multipart boundary at pos %zu", consumed); return -1; } } } } while (boundary && len); /* let there be room for the next boundary */ if (len > arg->boundary_len) { consumed += len - arg->boundary_len; php_http_buffer_append(&arg->buf, buf, len - arg->boundary_len); php_http_message_parser_parse(arg->parser, &arg->buf, 0, &arg->parser->message); } arg->consumed += consumed; return consumed; } php_http_message_t *php_http_message_body_split(php_http_message_body_t *body, const char *boundary) { php_stream *s = php_http_message_body_stream(body); php_http_buffer_t *tmp = NULL; php_http_message_t *msg = NULL; struct splitbody_arg arg; TSRMLS_FETCH_FROM_CTX(body->ts); php_http_buffer_init(&arg.buf); arg.parser = php_http_message_parser_init(NULL TSRMLS_CC); arg.boundary_len = spprintf(&arg.boundary_str, 0, "\n--%s", boundary); arg.consumed = 0; php_stream_rewind(s); while (!php_stream_eof(s)) { php_http_buffer_passthru(&tmp, 0x1000, (php_http_buffer_pass_func_t) _php_stream_read, s, splitbody, &arg TSRMLS_CC); } msg = arg.parser->message; arg.parser->message = NULL; php_http_buffer_free(&tmp); php_http_message_parser_free(&arg.parser); php_http_buffer_dtor(&arg.buf); STR_FREE(arg.boundary_str); return msg; } static zend_object_handlers php_http_message_body_object_handlers; zend_object_value php_http_message_body_object_new(zend_class_entry *ce TSRMLS_DC) { return php_http_message_body_object_new_ex(ce, NULL, NULL TSRMLS_CC); } zend_object_value php_http_message_body_object_new_ex(zend_class_entry *ce, php_http_message_body_t *body, php_http_message_body_object_t **ptr TSRMLS_DC) { php_http_message_body_object_t *o; o = ecalloc(1, sizeof(php_http_message_body_object_t)); zend_object_std_init((zend_object *) o, php_http_message_body_class_entry TSRMLS_CC); object_properties_init((zend_object *) o, ce); if (ptr) { *ptr = o; } if (body) { o->body = body; } o->zv.handle = zend_objects_store_put((zend_object *) o, NULL, php_http_message_body_object_free, NULL TSRMLS_CC); o->zv.handlers = &php_http_message_body_object_handlers; return o->zv; } zend_object_value php_http_message_body_object_clone(zval *object TSRMLS_DC) { zend_object_value new_ov; php_http_message_body_object_t *new_obj = NULL; php_http_message_body_object_t *old_obj = zend_object_store_get_object(object TSRMLS_CC); php_http_message_body_t *body = php_http_message_body_copy(old_obj->body, NULL); new_ov = php_http_message_body_object_new_ex(old_obj->zo.ce, body, &new_obj TSRMLS_CC); zend_objects_clone_members(&new_obj->zo, new_ov, &old_obj->zo, Z_OBJ_HANDLE_P(object) TSRMLS_CC); return new_ov; } void php_http_message_body_object_free(void *object TSRMLS_DC) { php_http_message_body_object_t *obj = object; php_http_message_body_free(&obj->body); zend_object_std_dtor((zend_object *) obj TSRMLS_CC); efree(obj); } #define PHP_HTTP_MESSAGE_BODY_OBJECT_INIT(obj) \ do { \ if (!obj->body) { \ obj->body = php_http_message_body_init(NULL, NULL TSRMLS_CC); \ } \ } while(0) ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody___construct, 0, 0, 0) ZEND_ARG_INFO(0, stream) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, __construct) { php_http_message_body_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); zval *zstream = NULL; php_stream *stream; php_http_expect(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|r!", &zstream), invalid_arg, return); if (zstream) { php_http_expect(php_stream_from_zval_no_verify(stream, &zstream), unexpected_val, return); if (obj->body) { php_http_message_body_free(&obj->body); } obj->body = php_http_message_body_init(NULL, stream TSRMLS_CC); } } ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody___toString, 0, 0, 0) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, __toString) { if (SUCCESS == zend_parse_parameters_none()) { php_http_message_body_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); char *str; size_t len; PHP_HTTP_MESSAGE_BODY_OBJECT_INIT(obj); php_http_message_body_to_string(obj->body, &str, &len, 0, 0); if (str) { RETURN_STRINGL(str, len, 0); } } RETURN_EMPTY_STRING(); } ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody_unserialize, 0, 0, 1) ZEND_ARG_INFO(0, serialized) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, unserialize) { char *us_str; int us_len; if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &us_str, &us_len)) { php_http_message_body_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); php_stream *s = php_stream_memory_open(0, us_str, us_len); obj->body = php_http_message_body_init(NULL, s TSRMLS_CC); } } ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody_toStream, 0, 0, 1) ZEND_ARG_INFO(0, stream) ZEND_ARG_INFO(0, offset) ZEND_ARG_INFO(0, maxlen) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, toStream) { zval *zstream; long offset = 0, forlen = 0; if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ll", &zstream, &offset, &forlen)) { php_stream *stream; php_http_message_body_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); PHP_HTTP_MESSAGE_BODY_OBJECT_INIT(obj); php_stream_from_zval(stream, &zstream); php_http_message_body_to_stream(obj->body, stream, offset, forlen); RETURN_ZVAL(getThis(), 1, 0); } } ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody_toCallback, 0, 0, 1) ZEND_ARG_INFO(0, callback) ZEND_ARG_INFO(0, offset) ZEND_ARG_INFO(0, maxlen) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, toCallback) { php_http_pass_fcall_arg_t fcd; long offset = 0, forlen = 0; if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f|ll", &fcd.fci, &fcd.fcc, &offset, &forlen)) { php_http_message_body_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); PHP_HTTP_MESSAGE_BODY_OBJECT_INIT(obj); fcd.fcz = getThis(); Z_ADDREF_P(fcd.fcz); TSRMLS_SET_CTX(fcd.ts); php_http_message_body_to_callback(obj->body, php_http_pass_fcall_callback, &fcd, offset, forlen); zend_fcall_info_args_clear(&fcd.fci, 1); zval_ptr_dtor(&fcd.fcz); RETURN_ZVAL(getThis(), 1, 0); } } ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody_getResource, 0, 0, 0) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, getResource) { if (SUCCESS == zend_parse_parameters_none()) { php_http_message_body_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); PHP_HTTP_MESSAGE_BODY_OBJECT_INIT(obj); zend_list_addref(obj->body->stream_id); RETVAL_RESOURCE(obj->body->stream_id); } } ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody_getBoundary, 0, 0, 0) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, getBoundary) { if (SUCCESS == zend_parse_parameters_none()) { php_http_message_body_object_t * obj = zend_object_store_get_object(getThis() TSRMLS_CC); PHP_HTTP_MESSAGE_BODY_OBJECT_INIT(obj); if (obj->body->boundary) { RETURN_STRING(obj->body->boundary, 1); } } } ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody_append, 0, 0, 1) ZEND_ARG_INFO(0, string) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, append) { char *str; int len; php_http_message_body_object_t *obj; php_http_expect(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &len), invalid_arg, return); obj = zend_object_store_get_object(getThis() TSRMLS_CC); PHP_HTTP_MESSAGE_BODY_OBJECT_INIT(obj); php_http_expect(len == php_http_message_body_append(obj->body, str, len), runtime, return); RETURN_ZVAL(getThis(), 1, 0); } ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody_addForm, 0, 0, 0) ZEND_ARG_ARRAY_INFO(0, fields, 1) ZEND_ARG_ARRAY_INFO(0, files, 1) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, addForm) { HashTable *fields = NULL, *files = NULL; php_http_message_body_object_t *obj; php_http_expect(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|h!h!", &fields, &files), invalid_arg, return); obj = zend_object_store_get_object(getThis() TSRMLS_CC); PHP_HTTP_MESSAGE_BODY_OBJECT_INIT(obj); php_http_expect(SUCCESS == php_http_message_body_add_form(obj->body, fields, files), runtime, return); RETURN_ZVAL(getThis(), 1, 0); } ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody_addPart, 0, 0, 1) ZEND_ARG_OBJ_INFO(0, message, http\\Message, 0) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, addPart) { zval *zobj; php_http_message_body_object_t *obj; php_http_message_object_t *mobj; zend_error_handling zeh; php_http_expect(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &zobj, php_http_message_class_entry), invalid_arg, return); obj = zend_object_store_get_object(getThis() TSRMLS_CC); mobj = zend_object_store_get_object(zobj TSRMLS_CC); PHP_HTTP_MESSAGE_BODY_OBJECT_INIT(obj); zend_replace_error_handling(EH_THROW, php_http_exception_runtime_class_entry, &zeh TSRMLS_CC); php_http_message_body_add_part(obj->body, mobj->message); zend_restore_error_handling(&zeh TSRMLS_CC); if (!EG(exception)) { RETURN_ZVAL(getThis(), 1, 0); } } ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody_etag, 0, 0, 0) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, etag) { if (SUCCESS == zend_parse_parameters_none()) { php_http_message_body_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); char *etag; PHP_HTTP_MESSAGE_BODY_OBJECT_INIT(obj); if ((etag = php_http_message_body_etag(obj->body))) { RETURN_STRING(etag, 0); } else { RETURN_FALSE; } } } ZEND_BEGIN_ARG_INFO_EX(ai_HttpMessageBody_stat, 0, 0, 0) ZEND_ARG_INFO(0, field) ZEND_END_ARG_INFO(); PHP_METHOD(HttpMessageBody, stat) { char *field_str = NULL; int field_len = 0; if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_str, &field_len)) { php_http_message_body_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); const php_stream_statbuf *sb; PHP_HTTP_MESSAGE_BODY_OBJECT_INIT(obj); if ((sb = php_http_message_body_stat(obj->body))) { if (field_str && field_len) { switch (*field_str) { case 's': case 'S': RETURN_LONG(sb->sb.st_size); break; case 'a': case 'A': RETURN_LONG(sb->sb.st_atime); break; case 'm': case 'M': RETURN_LONG(sb->sb.st_mtime); break; case 'c': case 'C': RETURN_LONG(sb->sb.st_ctime); break; default: php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown stat field: '%s' (should be one of [s]ize, [a]time, [m]time or [c]time)", field_str); break; } } else { object_init(return_value); add_property_long_ex(return_value, ZEND_STRS("size"), sb->sb.st_size TSRMLS_CC); add_property_long_ex(return_value, ZEND_STRS("atime"), sb->sb.st_atime TSRMLS_CC); add_property_long_ex(return_value, ZEND_STRS("mtime"), sb->sb.st_mtime TSRMLS_CC); add_property_long_ex(return_value, ZEND_STRS("ctime"), sb->sb.st_ctime TSRMLS_CC); } } } } static zend_function_entry php_http_message_body_methods[] = { PHP_ME(HttpMessageBody, __construct, ai_HttpMessageBody___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) PHP_ME(HttpMessageBody, __toString, ai_HttpMessageBody___toString, ZEND_ACC_PUBLIC) PHP_MALIAS(HttpMessageBody, toString, __toString, ai_HttpMessageBody___toString, ZEND_ACC_PUBLIC) PHP_MALIAS(HttpMessageBody, serialize, __toString, ai_HttpMessageBody___toString, ZEND_ACC_PUBLIC) PHP_ME(HttpMessageBody, unserialize, ai_HttpMessageBody_unserialize, ZEND_ACC_PUBLIC) PHP_ME(HttpMessageBody, toStream, ai_HttpMessageBody_toStream, ZEND_ACC_PUBLIC) PHP_ME(HttpMessageBody, toCallback, ai_HttpMessageBody_toCallback, ZEND_ACC_PUBLIC) PHP_ME(HttpMessageBody, getResource, ai_HttpMessageBody_getResource, ZEND_ACC_PUBLIC) PHP_ME(HttpMessageBody, getBoundary, ai_HttpMessageBody_getBoundary, ZEND_ACC_PUBLIC) PHP_ME(HttpMessageBody, append, ai_HttpMessageBody_append, ZEND_ACC_PUBLIC) PHP_ME(HttpMessageBody, addForm, ai_HttpMessageBody_addForm, ZEND_ACC_PUBLIC) PHP_ME(HttpMessageBody, addPart, ai_HttpMessageBody_addPart, ZEND_ACC_PUBLIC) PHP_ME(HttpMessageBody, etag, ai_HttpMessageBody_etag, ZEND_ACC_PUBLIC) PHP_ME(HttpMessageBody, stat, ai_HttpMessageBody_stat, ZEND_ACC_PUBLIC) EMPTY_FUNCTION_ENTRY }; zend_class_entry *php_http_message_body_class_entry; PHP_MINIT_FUNCTION(http_message_body) { zend_class_entry ce = {0}; INIT_NS_CLASS_ENTRY(ce, "http\\Message", "Body", php_http_message_body_methods); php_http_message_body_class_entry = zend_register_internal_class(&ce TSRMLS_CC); php_http_message_body_class_entry->create_object = php_http_message_body_object_new; memcpy(&php_http_message_body_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); php_http_message_body_object_handlers.clone_obj = php_http_message_body_object_clone; zend_class_implements(php_http_message_body_class_entry TSRMLS_CC, 1, zend_ce_serializable); return SUCCESS; } /* * Local variables: * tab-width: 4 * c-basic-offset: 4 * End: * vim600: noet sw=4 ts=4 fdm=marker * vim<600: noet sw=4 ts=4 */
29.263215
154
0.724813
[ "object" ]
274defb5800b65f4cf62c423410c27f39c55209a
7,977
c
C
missile-command.c
1999kevin/ece391
06be9f25bc6428415683fba7c1dd200faf8ead23
[ "AFL-1.1" ]
null
null
null
missile-command.c
1999kevin/ece391
06be9f25bc6428415683fba7c1dd200faf8ead23
[ "AFL-1.1" ]
null
null
null
missile-command.c
1999kevin/ece391
06be9f25bc6428415683fba7c1dd200faf8ead23
[ "AFL-1.1" ]
null
null
null
/* missile-command.c * Mark Murphy 2007 * This is the user-space side of the ECE391 Missile Command game. Enjoy. */ #include <unistd.h> #include <fcntl.h> #include <termios.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <signal.h> #include <sys/ioctl.h> #include <sys/time.h> #include "mp1.h" /* screen writing routines - defined in vga.c */ extern void init_screen(); extern void write_char(char, int x, int y); extern void write_string(char*, int x, int y); extern void clear_screen(); /* Static data */ static int rtc_fd = -1; /* RTC file descriptor */ static int fired = 0; /* Count of user-fired missiles */ volatile int score = 0; /* score, as reported by ioctl(GETSTATUS) */ volatile int bases_left = 3; /* number of bases remaining */ /* Input stuff */ static struct termios tio_orig; /* init_input() * Configure stdin for non-blocking, non-line-buffered, non-echoing input so * that the arrow-keys, spacebar, etc. behave correctly. */ int init_input() { struct termios tio_new; if (fcntl (fileno (stdin), F_SETFL, O_NONBLOCK) != 0) { perror ("fcntl to make stdin non-blocking"); return -1; } if (tcgetattr (fileno (stdin), &tio_orig) != 0) { perror ("tcgetattr to read stdin terminal settings"); return -1; } tio_new = tio_orig; tio_new.c_lflag &= ~(ICANON | ECHO); tio_new.c_cc[VMIN] = 1; tio_new.c_cc[VTIME] = 0; if (tcsetattr (fileno (stdin), TCSANOW, &tio_new) != 0) { perror ("tcsetattr to set stdin terminal settings"); return -1; } return 0; } /* This command_t enum encodes the input keys we care about */ typedef enum { NOKEY, QUIT, LEFT, RIGHT, UP, DOWN, FIRE } command_t; /* get_command() * Checks if a meaningful key was pressed, and returns it; */ command_t get_command(void) { char ch; int state = 0; while ((ch = getc (stdin)) != EOF) { switch(ch){ case '`': return QUIT; case ' ': return FIRE; /* I am a vi-junkie, so you can control the crosshair with * the h,j,k,l vi-style cursor moving keys. */ case 'h': return LEFT; case 'j': return DOWN; case 'k': return UP; case 'l': return RIGHT; } /* Arrow keys send the escape sequence "\033[?", where ? is one * of A, B, C, or D . We use a small state-machine to track * this character sequence */ if (ch == '\033'){ state = 1; }else if (ch == '[' && state == 1){ state = 2; }else { if (state == 2 && ch >= 'A' && ch <= 'D') { switch (ch) { case 'A': return UP; case 'B': return DOWN; case 'C': return RIGHT; case 'D': return LEFT; } } state = 0; } } return NOKEY; } /* make_missile() * Wrapper around the ioctl() to add a missile to the game. */ void make_missile(int sx, int sy, int dx, int dy, char c, int vel) { struct missile m[1]; int vx, vy, mag; m->x = (sx<<16) | 0x8000; m->y = (sy<<16) | 0x8000; m->dest_x = dx; m->dest_y = dy; vx = (dx - sx); vy = (dy - sy); mag = sqrt((vx*vx + vy*vy)<<16); m->vx = ((vx<<16)*vel)/mag; m->vy = ((vy<<16)*vel)/mag; m->c = c; m->exploded = 0; ioctl(rtc_fd, RTC_ADDMISSILE, (unsigned long)m); } /* update_crosshairs() * move the crosshairs via the ioctl() */ void update_crosshairs(command_t cmd){ int dx = 0, dy = 0; static int chx = 80/2, chy = 25/2; switch(cmd){ case LEFT: dx--; break; case RIGHT: dx++; break; case UP: dy--; break; case DOWN: dy++; break; case FIRE: make_missile(79, 24, chx, chy, '*', 200); fired++; default: break; } if((dx != 0) || (dy != 0)){ unsigned long d; if(80 <= (chx += dx)) chx = 79; if(0 > chx) chx = 0; if(24 <= (chy += dy)) chy = 24; if(0 > chy) chy = 0; d = (unsigned long)dx&0xFFFF; d |= ((unsigned long)dy&0xFFFF)<<16; ioctl(rtc_fd, RTC_MOVEXHAIRS, d); } } void siginthandler(int ignore){ /* Reset I/O in desperation, then let signal do its usual thing... */ tcsetattr (fileno (stdin), TCSANOW, &tio_orig); signal (SIGINT, SIG_DFL); kill (getpid (), SIGINT); } void sigusr1_handler(int foobar){ unsigned long status_word; if(!ioctl(rtc_fd, RTC_GETSTATUS, (unsigned long) &status_word)){ score = status_word&0xFFFF; bases_left = ((status_word>>16)&1) + ((status_word>>17)&1) + ((status_word>>18)&1); } } void draw_centered_string(char *s, int y){ write_string(s, (80-strlen(s))/2, y); } #define DCS(str) draw_centered_string( str , line++) void draw_starting_screen(){ int line = 5; clear_screen(); DCS(" MISSILE COMMAND "); DCS(" Mark Murphy, 2007 "); DCS(" "); DCS(" Commands: "); DCS(" space ................. fire missile "); DCS(" arrow keys ................. move crosshairs "); DCS(" h,j,k,l ................. move crosshairs (vi-style"); DCS(" ` (backtick) ................. exit the game "); DCS(" "); DCS(" "); DCS(" Protect your bases by destroying the enemy missiles (e's) "); DCS(" with your missiles. You get 1 point for each enemy "); DCS(" missile you destroy. The game ends when your bases are all "); DCS(" dead or you hit the ` key. "); DCS(" "); DCS(" Press the space bar to continue. "); } void draw_status_bar(){ char buf[80]; int percent = fired ? (100*score)/fired : 0; snprintf(buf, 80, "[score %3d] [fired %3d] [accuracy %3d%%] ", score, fired, percent); write_string(buf, 0, 0); } int main(){ command_t cmd; struct timeval tv[1], last[1]; unsigned long ival, avg_ival, elapsed; int count = 0; /* Set up the random enemy missile generation */ avg_ival = 4000000; /* Begin the interval at 4 seconds */ ival = avg_ival + ((rand()%1000000) - 500000); gettimeofday(last, NULL); /* Initialize the RTC */ if(-1 == (rtc_fd = open("/dev/rtc", O_RDWR))){ perror("/dev/rtc"); return -1; } signal(SIGUSR1, sigusr1_handler); ioctl(rtc_fd, RTC_STARTGAME, 0); /* Try not to leave terminal in unusable state when terminating... */ signal(SIGINT, siginthandler); /* Some other initialization ... */ init_screen(); init_input(); /* On with the game! */ draw_starting_screen(); while(FIRE != get_command()); clear_screen(); /* Start the RTC running */ ioctl(rtc_fd, RTC_IRQP_SET, 32); ioctl(rtc_fd, RTC_PIE_ON, 0); while(bases_left && QUIT != (cmd = get_command())) { draw_status_bar(); update_crosshairs(cmd); gettimeofday(tv, NULL); tv->tv_sec -= last->tv_sec; if((tv->tv_usec -= last->tv_usec) < 0){ tv->tv_sec--; tv->tv_usec += 1000000; } elapsed = tv->tv_sec*1000000 + tv->tv_usec; /* Inject enemy missiles after random amounts of time */ if(ival <= elapsed){ /* The longer the game runs, the more frequent the * enemy missiles come */ if(!((++count)%10) && avg_ival > 200000){ avg_ival -= 100000; } ival = avg_ival + ((rand()%1000000) - 500000); make_missile(rand()%80, 0, 20*(rand()%3+1), 24, 'e', rand()%5 + 10); gettimeofday(last, NULL); } } /* Shutdown the RTC */ ioctl(rtc_fd, RTC_ENDGAME, 0); ioctl(rtc_fd, RTC_PIE_OFF, 0); close(rtc_fd); draw_centered_string("+--------------------------------+", (25/2)-1); draw_centered_string("| Game over. Press space to exit |", 25/2); draw_centered_string("+--------------------------------+", (25/2)+1); while(FIRE != get_command()); clear_screen(); tcsetattr (fileno (stdin), TCSANOW, &tio_orig); printf("\nGame over. Your score was %d\n\n", score); return 0; }
25.404459
76
0.563871
[ "3d" ]
275a90a4223a7c0b71f0b920d2cc990c39c49243
4,336
c
C
orbotservice/src/main/jni/pdnsd/src/rr_types.c
Zombiedistributor/orbot
170a27713618ef92ee99811c8576d55b4d5c0b03
[ "BSD-2-Clause" ]
654
2019-05-16T12:32:41.000Z
2022-03-31T00:16:18.000Z
orbotservice/src/main/jni/pdnsd/src/rr_types.c
adolabsnet/orbot
eeb31422723193a7b2e98f712529ef13ad35d194
[ "BSD-2-Clause" ]
412
2019-05-12T21:41:32.000Z
2022-03-27T10:49:03.000Z
orbotservice/src/main/jni/pdnsd/src/rr_types.c
adolabsnet/orbot
eeb31422723193a7b2e98f712529ef13ad35d194
[ "BSD-2-Clause" ]
148
2019-05-11T19:11:37.000Z
2022-03-29T07:53:33.000Z
/* rr_types.c - Tables with information for handling all rr types known to pdnsd, plus some helper functions useful for turning binary RR data into text or vice versa. Copyright (C) 2000, 2001 Thomas Moestl Copyright (C) 2003, 2004, 2007, 2010, 2011 Paul A. Rombouts This file is part of the pdnsd package. pdnsd is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. pdnsd 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 General Public License for more details. You should have received a copy of the GNU General Public License along with pdnsd; see the file COPYING. If not, see <http://www.gnu.org/licenses/>. */ #include <config.h> #include <string.h> #include <stdio.h> #define DEFINE_RR_TYPE_ARRAYS 1 #include "helpers.h" #include "dns.h" #include "rr_types.h" /* * OK, this is inefficient. But it is used _really_ seldom (only in some cases while parsing the * config file or by pdnsd-ctl), so it is much more effective to sort by id. */ int rr_tp_byname(char *name) { int i; for (i=0;i<T_NUM;i++) { if (strcmp(name, rrnames[i])==0) return i+T_MIN; } return -1; /* invalid */ } /* The following is not needed by pdnsd-ctl. */ #ifndef CLIENT_ONLY static const unsigned int poweroften[8] = {1, 10, 100, 1000, 10000, 100000, 1000000,10000000}; #define NPRECSIZE (sizeof "90000000") /* takes an XeY precision/size value, returns a string representation. This is an adapted version of the function of the same name that can be found in the BIND 9 source. */ static const char *precsize_ntoa(uint8_t prec,char *retbuf) { unsigned int mantissa, exponent; mantissa = (prec >> 4); exponent = (prec & 0x0f); if(mantissa>=10 || exponent>=10) return NULL; if (exponent>= 2) sprintf(retbuf, "%u", mantissa * poweroften[exponent-2]); else sprintf(retbuf, "0.%.2u", mantissa * poweroften[exponent]); return (retbuf); } /* takes an on-the-wire LOC RR and formats it in a human readable format. This is an adapted version of the loc_ntoa function that can be found in the BIND 9 source. */ const char *loc2str(const void *binary, char *ascii, size_t asclen) { const unsigned char *cp = binary; int latdeg, latmin, latsec, latsecfrac; int longdeg, longmin, longsec, longsecfrac; char northsouth, eastwest; const char *altsign; int altmeters, altfrac; const uint32_t referencealt = 100000 * 100; int32_t latval, longval, altval; uint32_t templ; uint8_t sizeval, hpval, vpval, versionval; char sizestr[NPRECSIZE],hpstr[NPRECSIZE],vpstr[NPRECSIZE]; versionval = *cp++; if (versionval) { /* unknown LOC RR version */ return NULL; } sizeval = *cp++; hpval = *cp++; vpval = *cp++; GETINT32(templ, cp); latval = (templ - ((unsigned)1<<31)); GETINT32(templ, cp); longval = (templ - ((unsigned)1<<31)); GETINT32(templ, cp); if (templ < referencealt) { /* below WGS 84 spheroid */ altval = referencealt - templ; altsign = "-"; } else { altval = templ - referencealt; altsign = ""; } if (latval < 0) { northsouth = 'S'; latval = -latval; } else northsouth = 'N'; latsecfrac = latval % 1000; latval /= 1000; latsec = latval % 60; latval /= 60; latmin = latval % 60; latval /= 60; latdeg = latval; if (longval < 0) { eastwest = 'W'; longval = -longval; } else eastwest = 'E'; longsecfrac = longval % 1000; longval /= 1000; longsec = longval % 60; longval /= 60; longmin = longval % 60; longval /= 60; longdeg = longval; altfrac = altval % 100; altmeters = (altval / 100); if(!precsize_ntoa(sizeval,sizestr) || !precsize_ntoa(hpval,hpstr) || !precsize_ntoa(vpval,vpstr)) return NULL; { int n=snprintf(ascii,asclen, "%d %.2d %.2d.%.3d %c %d %.2d %.2d.%.3d %c %s%d.%.2dm %sm %sm %sm", latdeg, latmin, latsec, latsecfrac, northsouth, longdeg, longmin, longsec, longsecfrac, eastwest, altsign, altmeters, altfrac, sizestr, hpstr, vpstr); if(n<0 || n>=asclen) return NULL; } return (ascii); } #endif
25.063584
98
0.675046
[ "3d" ]
2776785b5f589238c46c11dd3f7581c4d4ec7d3c
7,154
h
C
OSX/ReallyBadEggsOSX/libwoopsigfx/include/rect.h
ant512/ReallyBadEggs
5537e9f4c22c5de7686623ac63d4b84992467ad4
[ "MIT" ]
null
null
null
OSX/ReallyBadEggsOSX/libwoopsigfx/include/rect.h
ant512/ReallyBadEggs
5537e9f4c22c5de7686623ac63d4b84992467ad4
[ "MIT" ]
null
null
null
OSX/ReallyBadEggsOSX/libwoopsigfx/include/rect.h
ant512/ReallyBadEggs
5537e9f4c22c5de7686623ac63d4b84992467ad4
[ "MIT" ]
1
2021-08-21T07:57:58.000Z
2021-08-21T07:57:58.000Z
#ifndef _RECT_H_ #define _RECT_H_ #include <nds.h> #include "woopsiarray.h" namespace WoopsiGfx { /** * Class describing a rectangle. */ class Rect { public: s16 x; /**< X co-ordinate of the rectangle. */ s16 y; /**< Y co-ordinate of the rectangle. */ s32 width; /**< Width of the rectangle. */ s32 height; /**< Height of the rectangle. */ /** * Constructor. */ Rect(); /** * Constructor. * @param x The x co-ordinate of the rect. * @param y The y co-ordinate of the rect. * @param width The width of the rect. * @param height The height of the rect. */ Rect(s16 x, s16 y, s32 width, s32 height); /** * Copy constructor. * @param rect Rect to copy. */ Rect(const Rect& rect); /** * Create a rect object from the supplied co-ordinates. * @param x1 The x co-ordinate of the rect's top-left corner. * @param y1 The y co-ordinate of the rect's top-left corner. * @param x2 The x co-ordinate of the rect's bottom-right corner. * @param y2 The y co-ordinate of the rect's bottom-right corner. * @return A new rect. */ static Rect fromCoordinates(s16 x1, s16 y1, s16 x2, s16 y2); /** * Get the rect's x co-ordinate. * @return The rect's x co-ordinate. */ inline s16 getX() const { return x; }; /** * Get the rect's y co-ordinate. * @return The rect's y co-ordinate. */ inline s16 getY() const { return y; }; /** * Get the rect's width. * @return The rect's width. */ inline s32 getWidth() const { return width; }; /** * Get the rect's height. * @return The rect's height. */ inline s32 getHeight() const { return height; }; /** * Set the rect's x co-ordinate. * @param x The new x co-ordinate. */ inline void setX(s16 x) { this->x = x; }; /** * Set the rect's y co-ordinate. * @param y The new y co-ordinate. */ inline void setY(s16 y) { this->y = y; }; /** * Set the rect's width. * @param width The new width. */ inline void setWidth(s32 width) { this->width = width; }; /** * Set the rect's height. * @param height The new height. */ inline void setHeight(s32 height) { this->height = height; }; /** * Set the x co-ordinate of the rect's bottom-right corner. If x2 is * less than the rect's current x co-ordinate the method automatically * adjusts the co-ords so that the rect's width is never negative. * Changing this property will change the width of the rect. * @param x2 The x co-ordinate of the rect's bottom-right corner. */ void setX2(s16 x2); /** * Set the y co-ordinate of the rect's bottom-right corner. If y2 is * less than the rect's current y co-ordinate the method automatically * adjusts the co-ords so that the rect's height is never negative. * Changing this property will change the height of the rect. * @param y2 The y co-ordinate of the rect's bottom-right corner. */ void setY2(s16 y2); /** * Get the x co-ordinate of the rect's bottom-right corner. * @return The x co-ordinate of the rect's bottom-right corner. */ inline s16 getX2() const { return x + (width - 1); }; /** * Get the y co-ordinate of the rect's bottom-right corner. * @return The y co-ordinate of the rect's bottom-right corner. */ inline s16 getY2() const { return y + (height - 1); }; /** * Determines if the rectangle has two dimensions; in other words, does * it have both height and width? Negative width or height is * considered not to be valid. * @return True if the rect has height and width; false if not. */ bool hasDimensions() const; /** * Populates dest with a rectangle representating the intersection of * this rectangle and rect. * @param rect The rectangle to intersect with this. * @param dest The destination rectangle. */ void getIntersect(const Rect& rect, Rect& dest) const; /** * Populates dest with a rectangle representating the smallest rectangle * that contains this rectangle and rect. * @param rect The rectangle to add to this. * @param dest The destination rectangle. */ void getAddition(const Rect& rect, Rect& dest) const; /** * Clips this rect to the region that intersects the supplied rect. */ void clipToIntersect(const Rect& rect); /** * Expands this rect so that it includes the area described by the * supplied rect. */ void expandToInclude(const Rect& rect); /** * Check if the supplied rect intersects this. * @param rect Rect to check for intersection with this. * @return True if the rect intersects this; false if not. */ bool intersects(const Rect& rect) const; /** * Check if the rect contains the supplied point. * @param x X co-ord of the point. * @param y Y co-ord of the point. * @return True if the rect contains the point; false if not. */ bool contains(s16 x, s16 y) const; /** * Copy the properties of this rect to the destination rect. * @param dest Destination rect to copy to. */ void copyTo(Rect& dest) const; /** * Determines if the supplied rect intersects this and, if so, divides * the supplied rect into the intersected region (stored in * "intersection") and the rectangular regions that do not intersect * (stored in "remainderRects"). * @param rect Rectangle to check for intersection. * @param intersection Will contain the dimensions of the intersect once * the function ends. * @param remainderRects Will contain the list of non-intersecting * regions of rect. * @return True if there is an intersection; false if not. */ bool splitIntersection(const Rect& rect, Rect& intersection, WoopsiArray<Rect>* remainderRects) const; /** * Overloaded & operator. Returns the intersect of this rectangle and * the rectangle passed as the "rect" argument". * @param rect The rectangle to intersect with this. * @return The intersect of this rect with the argument. */ Rect operator&(const Rect& rect); /** * Overloaded + operator. Returns the smallest rectangle that can * contain this rectangle and the rectangle passed as the "rect" * argument. * @param rect The rectangle to add to this. * @return The smallest rect that contains this and the argument. */ Rect operator+(const Rect& rect); /** * Overloaded == operator. Checks if the dimensions of the supplied * rect are the same as this rect. * @param rect The rect to compare with this. * @return True if the dimensions are equal; false if not. */ bool operator==(const Rect& rect); /** * Overloaded != operator. Checks if the dimensions of the supplied * rect are not the same as this rect. * @param rect The rect to compare with this. * @return True if the dimensions are not equal; false if they are. */ bool operator!=(const Rect& rect); }; } #endif
30.703863
105
0.63475
[ "object" ]
277b41e10600f9810692d1c4bf72caf99373fa74
310
h
C
src/ui-nvg/Types.h
alecnunn/mud
9e204e2dc65f4a8ab52da3d11e6a261ff279d353
[ "Zlib" ]
1
2019-03-28T20:45:32.000Z
2019-03-28T20:45:32.000Z
src/ui-nvg/Types.h
alecnunn/mud
9e204e2dc65f4a8ab52da3d11e6a261ff279d353
[ "Zlib" ]
null
null
null
src/ui-nvg/Types.h
alecnunn/mud
9e204e2dc65f4a8ab52da3d11e6a261ff279d353
[ "Zlib" ]
null
null
null
#pragma once #include <ui-nanovg/Forward.h> #if !defined MUD_MODULES || defined MUD_TYPE_LIB #include <obj/Type.h> #include <obj/Vector.h> #endif #ifndef MUD_MODULES #endif #ifndef MUD_CPP_20 #include <string> #include <cstdint> #include <vector> #endif namespace mud { // Exported types }
11.923077
48
0.7
[ "vector" ]
277bb076edb3b12f79b061b11981720452fbab3e
817
h
C
device/serial/serial_device_info.h
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
device/serial/serial_device_info.h
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
device/serial/serial_device_info.h
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright 2014 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 DEVICE_SERIAL_SERIAL_DEVICE_INFO_H_ #define DEVICE_SERIAL_SERIAL_DEVICE_INFO_H_ #include <string> #include <vector> #include "base/basictypes.h" #include "base/memory/linked_ptr.h" #include "base/memory/scoped_ptr.h" namespace device { struct SerialDeviceInfo { SerialDeviceInfo(); ~SerialDeviceInfo(); std::string path; scoped_ptr<uint16> vendor_id; scoped_ptr<uint16> product_id; scoped_ptr<std::string> display_name; private: DISALLOW_COPY_AND_ASSIGN(SerialDeviceInfo); }; typedef std::vector<linked_ptr<SerialDeviceInfo> > SerialDeviceInfoList; } // namespace device #endif // DEVICE_SERIAL_SERIAL_DEVICE_INFO_H_
23.342857
73
0.78213
[ "vector" ]
27846ba9107745098845409eed328bf479f387fb
714
c
C
lst2/comp.c
LambdaCalculus37/little-smalltalk
d7157339e23a3e75ee3763dccf6d8d1b5c32e42d
[ "MIT" ]
2
2021-07-07T11:59:23.000Z
2022-01-17T22:18:14.000Z
lst2/comp.c
LambdaCalculus37/little-smalltalk
d7157339e23a3e75ee3763dccf6d8d1b5c32e42d
[ "MIT" ]
null
null
null
lst2/comp.c
LambdaCalculus37/little-smalltalk
d7157339e23a3e75ee3763dccf6d8d1b5c32e42d
[ "MIT" ]
null
null
null
/* Little Smalltalk, version 2 Written by Tim Budd, Oregon State University, July 1987 Unix specific front end for the initial object image maker */ # include <stdio.h> # include "env.h" # include "memory.h" # include "names.h" main(argc, argv) int argc; char **argv; { FILE *fp; int i; initMemoryManager(); buildInitialNameTables(); if (argc == 1) readFile(stdin); else for (i = 1; i < argc; i++) { fp = fopen(argv[i], "r"); if (fp == NULL) sysError("can't open file", argv[i]); else { readFile(fp); ignore fclose(fp); } } fp = fopen("imageFile", "w"); if (fp == NULL) sysError("error during image file open","imageFile"); imageWrite(fp); ignore fclose(fp); }
17
70
0.623249
[ "object" ]
27856427397d34cb11cabda8a6a3c337656d5bdf
700
h
C
aws-cpp-sdk-macie2/include/aws/macie2/model/DataIdentifierSeverity.h
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-macie2/include/aws/macie2/model/DataIdentifierSeverity.h
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-macie2/include/aws/macie2/model/DataIdentifierSeverity.h
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/macie2/Macie2_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace Macie2 { namespace Model { enum class DataIdentifierSeverity { NOT_SET, LOW, MEDIUM, HIGH }; namespace DataIdentifierSeverityMapper { AWS_MACIE2_API DataIdentifierSeverity GetDataIdentifierSeverityForName(const Aws::String& name); AWS_MACIE2_API Aws::String GetNameForDataIdentifierSeverity(DataIdentifierSeverity value); } // namespace DataIdentifierSeverityMapper } // namespace Model } // namespace Macie2 } // namespace Aws
21.212121
96
0.765714
[ "model" ]
8f627f6532f415484419160f5d92c6865b184936
11,711
c
C
parser/symtab.c
dmezh/dcc
ab01edfbc02755d87c2d53082b0b0ad3a5b2f10d
[ "MIT" ]
null
null
null
parser/symtab.c
dmezh/dcc
ab01edfbc02755d87c2d53082b0b0ad3a5b2f10d
[ "MIT" ]
9
2021-11-06T04:58:26.000Z
2021-11-08T06:47:00.000Z
parser/symtab.c
dmezh/dcc
ab01edfbc02755d87c2d53082b0b0ad3a5b2f10d
[ "MIT" ]
null
null
null
/* * symtab.c * * This file contains the interfaces for the symbol table. * It also maintains a static reference to the current scope in the scope stack. */ #include "symtab.h" #include <stdbool.h> #include <stdio.h> #include "ast.h" #include "location.h" #include "symtab_util.h" #include "types.h" #include "util.h" static void st_check_linkage(sym e); static sym real_begin_st_entry(astn decl, enum namespaces ns, YYLTYPE context); // symtab for this translation unit symtab root_symtab = { .scope_type = SCOPE_FILE, .parent = NULL, .first = NULL, .last = NULL, .context = {0} // must set with %initial-action }; symtab *current_scope = &root_symtab; sym st_define_function(astn fndef, astn block, YYLTYPE context) { ast_check(fndef, ASTN_DECL, "Expected decl."); ast_check(block, ASTN_LIST, "Expected list for fn body."); // get the name const char *name = get_dtypechain_ident(fndef->Decl.type); // check if function has been declarated and/or defined sym fn = st_lookup(name, NS_MISC); if (fn) { // found existing entry if (fn->entry_type == STE_FN) { // entry is fn if (fn->fn_defined) { // fn defined st_error("Attempted redefinition of function %s near %s:%d\n", name, context.filename, context.lineno); } } else { st_error("Attempted redeclaration of symbol %s near %s:%d\n", name, context.filename, context.lineno); } } // check existing declaration's compatibility at this point fn = st_declare_function(fndef, context); // define the scope's context and function body AST fn->body = block; fn->fn_defined = true; fn->fn_scope->context = context; return fn; } sym st_declare_function(astn decl, YYLTYPE context) { ast_check(decl, ASTN_DECL, "Expected decl."); ast_check(decl->Decl.type, ASTN_TYPE, "Invalid non-type astn at top of function declaration type chain."); struct astn_type *decl_type = &decl->Decl.type->Type; if (decl_type->derived.type != t_FN) { st_error("Invalid declaration near %s:%d:\n", context.filename, context.lineno); } // get the name const char *name = get_dtypechain_ident(decl->Decl.type); // make new st_entry if needed sym fn = st_lookup_ns(name, NS_MISC); if (!fn) // check for compatibility with existing declaration here fn = real_begin_st_entry(decl, NS_MISC, decl->Decl.context); // check the parameter list for ellipses and missing names astn p = decl_type->derived.param_list; while (p) { if (list_data(p)->type == ASTN_ELLIPSIS) { fn->variadic = true; } else if (list_data(p)->type != ASTN_DECLREC) { YYLTYPE *scope_context = &decl_type->derived.scope->context; st_error("function parameter name omitted near %s:%d\n", scope_context->filename, scope_context->lineno); } p = list_next(p); } // set the rest of the st_entry fields we'll need fn->param_list = decl_type->derived.param_list; fn->entry_type = STE_FN; fn->fn_scope = decl_type->derived.scope; // we're destroying any existing scope, fix this for type-checking prototypes. fn->fn_scope->parent_func = fn; fn->storspec = SS_NONE; fn->def_context = context; // this probably isn't consistent with structs, whatever fn->fn_defined = false; return fn; } /* * Declare (optionally permissively) a struct in the current scope without defining. */ sym st_declare_struct(const char* ident, bool strict, YYLTYPE context) { sym n = st_lookup(ident, NS_TAGS); if (n) { if (strict && n->members) { eprintf("Error: attempted redeclaration of complete tag"); exit(-5); } else { return n; // "redeclared" } } else { sym new = stentry_alloc(ident); new->ns = NS_TAGS; new->entry_type = STE_STRUNION_DEF; new->is_union = false; new->decl_context = context; new->linkage = L_NONE; new->storspec = SS_NONE; new->scope = current_scope; // get up to the closest scope in the stack that's not a mini-scope symtab* save = current_scope; while (current_scope->scope_type == SCOPE_MINI) st_pop_scope(); current_scope = save; // restore scope stack st_insert_given(new); return new; } } /* * Declare and define a struct in the current scope. * * Note: changes would need to be made to support unnamed structs. */ sym st_define_struct(const char *ident, astn decl_list, YYLTYPE name_context, YYLTYPE closebrace_context, YYLTYPE openbrace_context) { sym strunion; strunion = st_declare_struct(ident, true, name_context); // strict bc we're about to define! //printf("creating mini at %s:%d\n", openbrace_context.filename, openbrace_context.lineno); st_new_scope(SCOPE_MINI, openbrace_context); strunion->members = current_scope; // mini-scope sym member; while (decl_list) { member = real_begin_st_entry(list_data(decl_list), NS_MEMBERS, list_data(decl_list)->Decl.context); member->linkage = L_NONE; member->storspec = SS_NONE; decl_list = list_next(decl_list); } strunion->def_context = closebrace_context; st_pop_scope(); return strunion; } void st_make_union() { } // ret function scope if in function, else NULL symtab* st_parent_function() { symtab* cur = current_scope; while (cur->scope_type == SCOPE_BLOCK) cur = cur->parent; if (cur->scope_type == SCOPE_FUNCTION) return cur; else return NULL; } // kludge up the linkage and storage specs for globals static void st_check_linkage(sym e) { if (e->scope == &root_symtab) { if (e->storspec == SS_UNDEF) { // plain declaration in global scope if (e->type->Type.is_const)// top level type e->linkage = L_INTERNAL; else e->linkage = L_EXTERNAL; e->storspec = SS_STATIC; } else if (e->storspec == SS_EXTERN) { // extern declaration in global scope e->linkage = L_EXTERNAL; // why does this make sense? e->storspec = SS_EXTERN; } else if (e->storspec == SS_STATIC) { e->linkage = L_INTERNAL; e->storspec = SS_STATIC; } else { st_error("Only 'static' and 'extern' are valid storage/linkage specifiers for top-level declarations!\n"); } } } void st_reserve_stack(sym e) { if (e->storspec == SS_AUTO) { int size; if (e->type->Type.is_derived && e->type->Type.derived.type == t_ARRAY) { // only diff size for arrays size = get_sizeof(e->type); //eprintf("got arr size %d\n", size); } else size = 4; symtab *f = st_parent_function(); if (e->is_param) { f->param_stack_total -= size; e->stack_offset = f->param_stack_total; } else { f->stack_total += size; e->stack_offset = f->stack_total; //printf("inres stack total is now %d\n", f->stack_total); } } } static void check_dtypechain_legality(astn head) { // TODO: add context // not allowed: // - array of function // - function returning function // - function returning array while (head && head->type == ASTN_TYPE && head->Type.is_derived) { astn target = head->Type.derived.target; switch (head->Type.derived.type) { case t_PTR: break; case t_ARRAY: { if (target->type == ASTN_TYPE && target->Type.is_derived && target->Type.derived.type == t_FN) { st_error("Attempted declaration of array of functions\n"); } break; } case t_FN: { if (target->type == ASTN_TYPE && target->Type.is_derived) { if (target->Type.derived.type == t_FN) { st_error("Attempted declaration of function returning function\n"); } if (target->Type.derived.type == t_ARRAY) { st_error("Attempted declaration of function returning array\n"); } } } default: break; } head = head->Type.derived.target; } } /* * Synthesize a new st_entry, qualify and specify it, and attempt to install it * into the current scope. Sets entry_type to STE_VAR by default. * * TODO: decl is not yet a list */ static sym real_begin_st_entry(astn decl, enum namespaces ns, YYLTYPE context) { ast_check(decl, ASTN_DECL, "Expected decl to make new st_entry."); // Get information from the type chain astn type_chain = decl->Decl.type; check_dtypechain_legality(type_chain); const char *name = get_dtypechain_ident(type_chain); // allocate a new entry sym new = stentry_alloc(name); // set context, namespace, scope, and entry type new->decl_context = context; new->ns = ns; new->scope = current_scope; new->entry_type = STE_VAR; // default; override from caller when needed! // describe the storage and linkage new->storspec = describe_type(decl->Decl.specs, &new->type->Type); if (!new->storspec && st_parent_function()) new->storspec = SS_AUTO; st_check_linkage(new); // complete the type by flipping the dtypechain reset_dtypechain_target(type_chain, new->type); // end of chain is now the type instead of ident if (type_chain->type == ASTN_TYPE && type_chain->Type.is_derived) { // ALLOCATE HERE? new->type = type_chain; // because otherwise it's just an IDENT } // attempt to insert the new entry, check for permitted redeclaration if (!st_insert_given(new)) { if (new->scope == &root_symtab) { sym prev = st_lookup_ns(new->ident, new->ns); // is previous extern? if so, completely replace it. // this logic and behavior is total shit, please fix this some day // this whole problem can only be described as disgusting // #1 the standard (6.9.2) is nearly incomprehensible on this point // #2 it seems like that rule is not always applied evenly across compilers. // H&S 4.8.5 was extremely useful on this. I'll try to follow a C++ -like model, // in which the only tentative definition is one that's 'extern', and those cannot have initializers. if (prev->storspec == SS_EXTERN && new->storspec != SS_EXTERN) { sym next = prev->next; *prev = *new; prev->next = next; return prev; } else if (prev->storspec == SS_STATIC && new->storspec == SS_EXTERN) { return prev; } else if (prev->storspec == SS_EXTERN && new->storspec == SS_EXTERN) { return prev; } } st_error("attempted redeclaration of symbol %s\n", new->ident); } return new; } sym begin_st_entry(astn decl, enum namespaces ns, YYLTYPE context) { if (decl->Decl.type->type == ASTN_TYPE && decl->Decl.type->Type.derived.type == t_FN) { sym newfn = st_declare_function(decl, context); newfn->fn_defined = false; newfn->def_context = (YYLTYPE){NULL, 0}; // it's not defined return newfn; } else { return real_begin_st_entry(decl, ns, context); } }
34.343109
123
0.608573
[ "model" ]
8f68cafb4cf018b66d962d2bb76b2fb2cd2c02f8
901
h
C
include/jeepney/arrayobject.h
stein2k/jeepney
e9bb626ee31b0404fc68bdbc1667ffaa12de78d9
[ "MIT" ]
null
null
null
include/jeepney/arrayobject.h
stein2k/jeepney
e9bb626ee31b0404fc68bdbc1667ffaa12de78d9
[ "MIT" ]
null
null
null
include/jeepney/arrayobject.h
stein2k/jeepney
e9bb626ee31b0404fc68bdbc1667ffaa12de78d9
[ "MIT" ]
null
null
null
#ifndef __jeepney_arrayobject_h #define __jeepney_arrayobject_h #include <jeepney/object.h> namespace jeepney { enum JEEPNEY_TYPES { JEEPNEY_BOOL = 0, JEEPNEY_USHORT, JEEPNEY_UINT }; /* forward declaration */ struct _PyArray_Descr; typedef struct _JeepneyArray_Descr { __jeepney_preprocessor_JeepneyObject_HEAD char kind, type, flags; int type_num; } JeepneyArray_Descr; JeepneyArray_Descr * JeepneyArray_DescrFromType(int); typedef struct { __jeepney_preprocessor_JeepneyObject_VAR_HEAD char *data; JeepneyArray_Descr *descr; } JeepneyArray; extern JeepneyTypeObject JeepneyArrayType; JeepneyObject * JeepneyArray_NewFromDescr(JeepneyTypeObject *, JeepneyArray_Descr *, ssize_t); char * JeepneyArray_BYTES(JeepneyArray *); } #endif
23.102564
99
0.681465
[ "object" ]
8f705eef8f5227430b685eff050dde590fc7a6e0
9,802
h
C
os/include/tls/hap/t_pwd.h
kimvsparrow/TizenRT-RA8875
8970ce0673296ee8967fc69d8b79e015ca4b7f98
[ "Apache-2.0" ]
2
2018-03-30T06:19:59.000Z
2021-12-19T05:47:08.000Z
os/include/tls/hap/t_pwd.h
kimvsparrow/TizenRT-RA8875
8970ce0673296ee8967fc69d8b79e015ca4b7f98
[ "Apache-2.0" ]
null
null
null
os/include/tls/hap/t_pwd.h
kimvsparrow/TizenRT-RA8875
8970ce0673296ee8967fc69d8b79e015ca4b7f98
[ "Apache-2.0" ]
2
2018-09-27T04:42:21.000Z
2020-07-23T14:00:03.000Z
/**************************************************************************** * * Copyright 2016 Samsung Electronics All Rights Reserved. * * 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 (c) 1997-2007 The Stanford SRP Authentication Project * All Rights Reserved. * * 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" AND WITHOUT WARRANTY OF ANY KIND, * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. * * IN NO EVENT SHALL STANFORD BE LIABLE FOR ANY SPECIAL, INCIDENTAL, * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * Redistributions in source or binary form must retain an intact copy * of this copyright notice. */ #ifndef T_PWD_H #define T_PWD_H #include <stdio.h> #include <tls/hap/cstr.h> #define MAXPARAMBITS 2048 #define MAXPARAMLEN ((MAXPARAMBITS + 7) / 8) #define MAXB64PARAMLEN ((MAXPARAMBITS + 5) / 6 + 1) #define MAXHEXPARAMLEN ((MAXPARAMBITS + 3) / 4 + 1) #define MAXOCTPARAMLEN ((MAXPARAMBITS + 2) / 3 + 1) #define MAXUSERLEN 32 #define MAXSALTLEN 32 #define MAXB64SALTLEN 44 /* 256 bits in b64 + null */ #define SALTLEN 10 /* Normally 80 bits */ #define RESPONSE_LEN 20 /* 160-bit proof hashes */ #define SESSION_KEY_LEN (2 * RESPONSE_LEN) /* 320-bit session key */ #define DEFAULT_PASSWD "/etc/tpasswd" #define DEFAULT_CONF "/etc/tpasswd.conf" struct t_num { /* Standard byte-oriented integer representation */ int len; unsigned char *data; }; struct t_preconf { /* Structure returned by t_getpreparam() */ char *mod_b64; char *gen_b64; char *comment; struct t_num modulus; struct t_num generator; }; /* * The built-in (known good) parameters access routines * * "t_getprecount" returns the number of precompiled parameter sets. * "t_getpreparam" returns the indicated parameter set. * Memory is statically allocated - callers need not perform any memory mgmt. */ _TYPE(int) t_getprecount(void); _TYPE(struct t_preconf *) t_getpreparam P((int)); struct t_confent { /* One configuration file entry (index, N, g) */ int index; struct t_num modulus; struct t_num generator; }; struct t_conf { /* An open configuration file */ FILE *instream; char close_on_exit; cstr *modbuf; cstr *genbuf; struct t_confent tcbuf; }; /* * The configuration file routines are designed along the lines of the * "getpw" functions in the standard C library. * * "t_openconf" accepts a stdio stream and interprets it as a config file. * "t_openconfbyname" accepts a filename and does the same thing. * "t_closeconf" closes the config file. * "t_getconfent" fetches the next sequential configuration entry. * "t_getconfbyindex" fetches the configuration entry whose index * matches the one supplied, or NULL if one can't be found. * "t_getconflast" fetches the last configuration entry in the file. * "t_makeconfent" generates a set of configuration entry parameters * randomly. * "t_newconfent" returns an empty configuration entry. * "t_cmpconfent" compares two configuration entries a la strcmp. * "t_checkconfent" verifies that a set of configuration parameters * are suitable. N must be prime and should be a safe prime. * "t_putconfent" writes a configuration entry to a stream. */ _TYPE(struct t_conf *) t_openconf P((FILE *)); _TYPE(struct t_conf *) t_openconfbyname P((const char *)); _TYPE(void) t_closeconf P((struct t_conf *)); _TYPE(void) t_rewindconf P((struct t_conf *)); _TYPE(struct t_confent *) t_getconfent P((struct t_conf *)); _TYPE(struct t_confent *) t_getconfbyindex P((struct t_conf *, int)); _TYPE(struct t_confent *) t_getconflast P((struct t_conf *)); _TYPE(struct t_confent *) t_makeconfent P((struct t_conf *, int)); _TYPE(struct t_confent *) t_makeconfent_c P((struct t_conf *, int)); _TYPE(struct t_confent *) t_newconfent P((struct t_conf *)); _TYPE(int) t_cmpconfent P((const struct t_confent *, const struct t_confent *)); _TYPE(int) t_checkconfent P((const struct t_confent *)); _TYPE(void) t_putconfent P((const struct t_confent *, FILE *)); /* libc-style system conf file access */ _TYPE(struct t_confent *) gettcent(void); _TYPE(struct t_confent *) gettcid P((int)); _TYPE(void) settcent(void); _TYPE(void) endtcent(void); #ifdef ENABLE_NSW extern struct t_confent *_gettcent(void); extern struct t_confent *_gettcid P((int)); extern void _settcent(void); extern void _endtcent(void); #endif /* A hack to support '+'-style entries in the passwd file */ typedef enum fstate { FILE_ONLY, /* Ordinary file, don't consult NIS ever */ FILE_NIS, /* Currently accessing file, use NIS if encountered */ IN_NIS, /* Currently in a '+' entry; use NIS for getXXent */ } FILE_STATE; struct t_pwent { /* A single password file entry */ char *name; struct t_num password; struct t_num salt; int index; }; struct t_pw { /* An open password file */ FILE *instream; char close_on_exit; FILE_STATE state; char userbuf[MAXUSERLEN]; cstr *pwbuf; unsigned char saltbuf[SALTLEN]; struct t_pwent pebuf; }; /* * The password manipulation routines are patterned after the getpw* * standard C library function calls. * * "t_openpw" reads a stream as if it were a password file. * "t_openpwbyname" opens the named file as a password file. * "t_closepw" closes an open password file. * "t_rewindpw" starts the internal file pointer from the beginning * of the password file. * "t_getpwent" retrieves the next sequential password entry. * "t_getpwbyname" looks up the password entry corresponding to the * specified user. * "t_makepwent" constructs a password entry from a username, password, * numeric salt, and configuration entry. * "t_putpwent" writes a password entry to a stream. */ _TYPE(struct t_pw *) t_newpw(void); _TYPE(struct t_pw *) t_openpw P((FILE *)); _TYPE(struct t_pw *) t_openpwbyname P((const char *)); _TYPE(void) t_closepw P((struct t_pw *)); _TYPE(void) t_rewindpw P((struct t_pw *)); _TYPE(struct t_pwent *) t_getpwent P((struct t_pw *)); _TYPE(struct t_pwent *) t_getpwbyname P((struct t_pw *, const char *)); _TYPE(struct t_pwent *) t_makepwent P((struct t_pw *, const char *, const char *, const struct t_num *, const struct t_confent *)); _TYPE(void) t_putpwent P((const struct t_pwent *, FILE *)); struct t_passwd { struct t_pwent tp; struct t_confent tc; }; /* libc-style system password file access */ _TYPE(struct t_passwd *) gettpent(void); _TYPE(struct t_passwd *) gettpnam P((const char *)); _TYPE(void) settpent(void); _TYPE(void) endtpent(void); #ifdef ENABLE_NSW extern struct t_passwd *_gettpent(void); extern struct t_passwd *_gettpnam P((const char *)); extern void _settpent(void); extern void _endtpent(void); #endif /* * Utility functions * * "t_verifypw" accepts a username and password, and checks against the * system password file to see if the password for that user is correct. * Returns > 0 if it is correct, 0 if not, and -1 if some error occurred * (i.e. the user doesn't exist on the system). This is intended ONLY * for local authentication; for remote authentication, look at the * t_client and t_server source. (That's the whole point of SRP!) * "t_changepw" modifies the specified file, substituting the given password * entry for the one already in the file. If no matching entry is found, * the new entry is simply appended to the file. * "t_deletepw" removes the specified user from the specified file. */ _TYPE(int) t_verifypw P((const char *, const char *)); _TYPE(int) t_changepw P((const char *, const struct t_pwent *)); _TYPE(int) t_deletepw P((const char *, const char *)); /* Conversion utilities */ /* * All these calls accept output as the first parameter. In the case of * t_tohex and t_tob64, the last argument is the length of the byte-string * input. */ _TYPE(char *) t_tohex P((char *, const char *, unsigned)); _TYPE(int) t_fromhex P((char *, const char *)); _TYPE(char *) t_tob64 P((char *, const char *, unsigned)); _TYPE(int) t_fromb64 P((char *, const char *)); /* These functions put their output in a cstr object */ _TYPE(char *) t_tohexcstr P((cstr *, const char *, unsigned)); _TYPE(int) t_cstrfromhex P((cstr *, const char *)); _TYPE(char *) t_tob64cstr P((cstr *, const char *, unsigned)); _TYPE(int) t_cstrfromb64 P((cstr *, const char *)); /* Miscellaneous utilities (moved to t_defines.h) */ #endif
33.003367
107
0.717915
[ "object" ]
8f73208c856eb6c1ec181da95ae191241cb52f40
487
h
C
multitasking/vector.h
wenoptics/Rubiks-Cube-Robot
c440f81ef13a15787d4c0d1209966153c7909920
[ "Cube" ]
null
null
null
multitasking/vector.h
wenoptics/Rubiks-Cube-Robot
c440f81ef13a15787d4c0d1209966153c7909920
[ "Cube" ]
null
null
null
multitasking/vector.h
wenoptics/Rubiks-Cube-Robot
c440f81ef13a15787d4c0d1209966153c7909920
[ "Cube" ]
null
null
null
#define VECTOR_INITIAL_CAPACITY 100 // Define a vector type typedef struct { int size; // slots used so far int capacity; // total available slots int *data; // array of data we're storing } Vector; void vector_init(Vector *vector); void vector_append(Vector *vector, int value); int vector_get(Vector *vector, int index); void vector_set(Vector *vector, int index, int value); void vector_double_capacity_if_full(Vector *vector); void vector_free(Vector *vector);
24.35
54
0.73922
[ "vector" ]
8f74ab5ddfe9f8684104efdc555014cff3457119
3,465
h
C
libs/skybox.h
BYossarian/voxy-lady
eb1c82296bff4ea41b2cc9f3338ae8eeb9d3469b
[ "MIT" ]
null
null
null
libs/skybox.h
BYossarian/voxy-lady
eb1c82296bff4ea41b2cc9f3338ae8eeb9d3469b
[ "MIT" ]
null
null
null
libs/skybox.h
BYossarian/voxy-lady
eb1c82296bff4ea41b2cc9f3338ae8eeb9d3469b
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <string> #include <glm/glm.hpp> #include "./cube-map.h" #include "./shader.h" namespace { std::string vertexShader = R"( #version 330 core uniform mat4 view; uniform mat4 projection; layout (location = 0) in vec3 aPos; out vec3 textureCoords; void main() { textureCoords = aPos; vec4 pos = projection * view * vec4(aPos, 1.0); gl_Position = pos.xyww; } )"; std::string fragmentShader = R"( #version 330 core uniform samplerCube skybox; in vec3 textureCoords; out vec4 colour; void main() { colour = texture(skybox, textureCoords); } )"; float skyboxVertices[] = { // positions -1.0f, 1.0f, -1.0f, -1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, 1.0f, 1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, 1.0f, 1.0f, -1.0f, -1.0f, 1.0f, 1.0f, -1.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, -1.0f, 1.0f, -1.0f, -1.0f, -1.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, -1.0f, 1.0f, -1.0f, -1.0f, 1.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, 1.0f, 1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, -1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f }; } class SkyBox { public: SkyBox(const std::vector<std::string> &filePaths, const glm::mat4 &projection); ~SkyBox(); void render(const glm::mat4 &view); // prevent copy and copy-assignment SkyBox& operator=(const SkyBox&) = delete; SkyBox(const SkyBox&) = delete; private: Shader shader; CubeMap cubemap; GLuint skyboxVBO, skyboxVAO; }; SkyBox::SkyBox(const std::vector<std::string> &filePaths, const glm::mat4 &projection) : shader(vertexShader, fragmentShader), cubemap(filePaths) { shader.useShader(); shader.setUniformMat4("projection", projection); glGenVertexArrays(1, &skyboxVAO); glGenBuffers(1, &skyboxVBO); glBindVertexArray(skyboxVAO); // load vertex data into VBO: glBindBuffer(GL_ARRAY_BUFFER, skyboxVBO); glBufferData(GL_ARRAY_BUFFER, sizeof(skyboxVertices), skyboxVertices, GL_STATIC_DRAW); // position attribute glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(float), (void*)0); glEnableVertexAttribArray(0); glBindBuffer(GL_ARRAY_BUFFER, 0); glBindVertexArray(0); } SkyBox::~SkyBox() { glDeleteBuffers(1, &skyboxVBO); glDeleteVertexArrays(1, &skyboxVAO); } void SkyBox::render(const glm::mat4 &view) { shader.useShader(); // want the view without translation: shader.setUniformMat4("view", glm::mat4(glm::mat3(view))); cubemap.useCubeMap(GL_TEXTURE0); shader.setUniformInt("skybox", 0); glBindVertexArray(skyboxVAO); glDepthFunc(GL_LEQUAL); glDrawArrays(GL_TRIANGLES, 0, 36); glDepthFunc(GL_LESS); }
22.5
90
0.538528
[ "render", "vector" ]
8f755d9213c67f763f3224010e8125bd52753ea6
23,424
c
C
BlockMatching/src/blockmatching/bal-pyramid.c
Xqua/standalone-Mouse
1655a2cf15563155a13d6094638c5d440a383005
[ "BSD-3-Clause" ]
2
2018-10-16T01:52:14.000Z
2021-03-16T11:53:46.000Z
BlockMatching/src/blockmatching/bal-pyramid.c
Xqua/standalone-Mouse
1655a2cf15563155a13d6094638c5d440a383005
[ "BSD-3-Clause" ]
2
2018-11-24T00:16:44.000Z
2019-11-11T09:01:26.000Z
BlockMatching/src/blockmatching/bal-pyramid.c
Xqua/standalone-Mouse
1655a2cf15563155a13d6094638c5d440a383005
[ "BSD-3-Clause" ]
2
2018-11-21T23:55:04.000Z
2020-12-10T16:52:54.000Z
/************************************************************************* * bal-pyramid.c - * * $Id$ * * Copyright (c) INRIA 2012, all rights reserved * * AUTHOR: * Gregoire Malandain (gregoire.malandain@inria.fr) * * CREATION DATE: * Tue Dec 25 20:10:58 CET 2012 * * * ADDITIONS, CHANGES * * * * */ #include <stdlib.h> #include <stdio.h> #include <math.h> #include <vtmalloc.h> #include <bal-transformation-tools.h> #include <bal-pyramid.h> static int _verbose_ = 1; static int _debug_ = 0; static int MAXIMAL_DIMENSION = 32; int BAL_GetVerboseInBalPyramid( ) { return( _verbose_ ); } void BAL_SetVerboseInBalPyramid( int v ) { _verbose_ = v; } void BAL_IncrementVerboseInBalPyramid( ) { _verbose_ ++; } void BAL_DecrementVerboseInBalPyramid( ) { _verbose_ --; if ( _verbose_ < 0 ) _verbose_ = 0; } int BAL_GetDebugInBalPyramid( ) { return( _debug_ ); } void BAL_SetDebugInBalPyramid( int d ) { _debug_ = d; } void BAL_IncrementDebugInBalPyramid( ) { _debug_ ++; } /*--------------------------------------------------* * * Pyramid tools * *--------------------------------------------------*/ /* computes the series of decreasing dimensions and the associated sigma (for gaussian filtering) for one dimension */ static void _FillPyramidDimension( int *d, double *s, int dim, int levels ) { double power; int l; if ( levels <= 0 ) return; d[0] = dim; s[0] = 0.0; if ( levels <= 1 ) return; /* if dim is something like 2^n, then the dimension can be divided at each step d[0] = dim, d[1]= dim/2, etc ... else the first step is the closest (and inferior) 2^n number d[0] = dim, d[1]=2^n, d[2]=d[1]/2, etc for the sigma, we smooth the first level is 2^n is significantly different from dim */ power = log((double)(dim)) / log(2.0); if ( power - (int)power < EPSILON ) { d[1] = d[0] / 2; s[1] = 2.0; } else { d[1] = (int)pow(2.0, (int) (power) ); if ( power - (int)power < 0.5 ) s[1] = 0.0; else s[1] = 2.0; } /* from one level to the next - the dimension is divided by 2 - the sigma is calculated with the formula found in baladin stop changing if the dimension is too small */ for ( l=2; l<levels; l++ ) { d[l] = d[l-1] / 2; if ( power - (int)power < EPSILON || power - (int)power >= 0.5 ) s[l] = 2.0 * sqrt ( (double)l ); else s[l] = 2.0 * sqrt ( (double)(l-1) ); if ( d[l] < 1 ) { d[l] = 1; s[l] = s[l-1]; } } } /* pyramid level construction from #0 to #levels */ int _ComputePyramidLevel( bal_pyramid_level *pyramid_level, int pyramid_levels, bal_image *theInrimage_ref, bal_blockmatching_pyramidal_param *p ) { char *proc = "_ComputePyramidLevel"; int *d = NULL; int *dx, *dy, *dz; int *dmax; double *s = NULL; double *sx, *sy, *sz; int levels = pyramid_levels; int l, ix, iy, iz; /* build the series of decreasing dimension for each direction (X, Y, Z) */ d = (int*)vtmalloc( 3 * (levels+1) * sizeof( int ), "d", proc ); if ( d == (int*)NULL ) { if ( _verbose_ ) fprintf( stderr, "%s: unable to allocate dimension array\n", proc ); return( -1 ); } dx = d; dy = d + (levels+1); dz = d + 2*(levels+1); s = (double*)vtmalloc( 3 * (levels+1) * sizeof( double ), "s", proc ); if ( s == (double*)NULL ) { if ( _verbose_ ) fprintf( stderr, "%s: unable to allocate sigma array\n", proc ); vtfree( d ); return( -1 ); } sx = s; sy = s + (levels+1); sz = s + 2*(levels+1); _FillPyramidDimension( dx, sx, (int)theInrimage_ref->ncols, (levels+1) ); _FillPyramidDimension( dy, sy, (int)theInrimage_ref->nrows, (levels+1) ); _FillPyramidDimension( dz, sz, (int)theInrimage_ref->nplanes, (levels+1) ); /* find the largest dimension */ if ( dx[0] >= dy[0] && dx[0] >= dz[0] ) { dmax = dx; } else { if ( dy[0] >= dx[0] && dy[0] >= dz[0] ) dmax = dy; else dmax = dz; } /* build the pyramid */ for ( l=0, ix=0, iy=0, iz=0; l<=levels; l++ ) { /* compute the dimensions */ while ( dx[ix] > dmax[l] ) ix++; while ( dy[iy] > dmax[l] ) iy++; while ( dz[iz] > dmax[l] ) iz++; pyramid_level[l].ncols = dx[ix]; pyramid_level[l].nrows = dy[iy]; pyramid_level[l].nplanes = dz[iz]; pyramid_level[l].vx = theInrimage_ref->ncols * theInrimage_ref->vx / (double)pyramid_level[l].ncols; pyramid_level[l].vy = theInrimage_ref->nrows * theInrimage_ref->vy / (double)pyramid_level[l].nrows; pyramid_level[l].vz = theInrimage_ref->nplanes * theInrimage_ref->vz / (double)pyramid_level[l].nplanes; pyramid_level[l].sigma.x = sx[ix]; pyramid_level[l].sigma.y = sy[iy]; pyramid_level[l].sigma.z = sz[iz]; pyramid_level[l].param.pyramid_level = l; BAL_InitBlockMatchingParametersFromPyramidalOnes( p, &(pyramid_level[l].param) ); /* check 2D computation */ if ( theInrimage_ref->nplanes == 1 ) { pyramid_level[l].param.block_dim.z = 1; pyramid_level[l].param.block_border.z = 0; pyramid_level[l].param.block_spacing.z = 0; pyramid_level[l].param.half_neighborhood_size.z = 0; pyramid_level[l].param.step_neighborhood_search.z = 0; } } /* verbose: built levels */ if ( _verbose_ >= 2 ) { fprintf( stderr, "%s:\n", proc ); for ( l=0; l<=levels; l++ ) { if ( _debug_ ) _PrintPyramidLevel( stdout, &(pyramid_level[l]), 0 ); else fprintf( stderr, " - build pyramid level #%2d: %4d x %4d x %4d\n", l, pyramid_level[l].ncols, pyramid_level[l].nrows, pyramid_level[l].nplanes ); } fprintf( stderr, "\n" ); } /* check the pyramid levels - maximal dimension should be larger than MAXIMAL_DIMENSION - blocks have to be included */ for ( l=levels; l>=0; l-- ) { if ( max( pyramid_level[l].ncols, max( pyramid_level[l].nrows, pyramid_level[l].nplanes ) ) < MAXIMAL_DIMENSION ) { if ( _verbose_ >= 2 ) { fprintf( stderr, "level #%d/%d is discarded\n", l, levels ); fprintf( stderr, "\t maximal dimension (=%d) < %d\n", max( pyramid_level[l].ncols, max( pyramid_level[l].nrows, pyramid_level[l].nplanes ) ), MAXIMAL_DIMENSION ); } levels --; continue; } if ( pyramid_level[l].ncols < p->block_dim.x || pyramid_level[l].nrows < p->block_dim.y || pyramid_level[l].nplanes < p->block_dim.z ) { if ( _verbose_ ) { fprintf( stderr, "level #%d/%d is discarded\n", l, levels ); fprintf( stderr, "\t blocks (%dx%dx%d) are not included in the image (%dx%dx%d)\n", p->block_dim.x, p->block_dim.y, p->block_dim.z, pyramid_level[l].ncols, pyramid_level[l].nrows, pyramid_level[l].nplanes ); } levels --; continue; } } /* parameters that evolved in the pyramid */ /* blocks_fraction */ for ( l=0; l<= p->pyramid_lowest_level; l++ ) pyramid_level[l].param.blocks_fraction = p->blocks_fraction.lowest; for ( l=p->pyramid_lowest_level+1; l<=levels; l++ ) { pyramid_level[l].param.blocks_fraction = p->blocks_fraction.lowest + (p->blocks_fraction.highest - p->blocks_fraction.lowest) * (double)(l - p->pyramid_lowest_level) / (double)(levels - p->pyramid_lowest_level); } for ( l=levels+1; l<=pyramid_levels; l++ ) pyramid_level[l].param.blocks_fraction = p->blocks_fraction.highest; /* elastic_regularization_sigma */ for ( l=0; l<= p->pyramid_lowest_level; l++ ) { pyramid_level[l].param.elastic_regularization_sigma = p->elastic_regularization_sigma.lowest; } for ( l=p->pyramid_lowest_level+1; l<=levels; l++ ) { pyramid_level[l].param.elastic_regularization_sigma.x = p->elastic_regularization_sigma.lowest.x + (p->elastic_regularization_sigma.highest.x - p->elastic_regularization_sigma.lowest.x) * (double)(l - p->pyramid_lowest_level) / (double)(levels - p->pyramid_lowest_level); pyramid_level[l].param.elastic_regularization_sigma.y = p->elastic_regularization_sigma.lowest.y + (p->elastic_regularization_sigma.highest.y - p->elastic_regularization_sigma.lowest.y) * (double)(l - p->pyramid_lowest_level) / (double)(levels - p->pyramid_lowest_level); pyramid_level[l].param.elastic_regularization_sigma.z = p->elastic_regularization_sigma.lowest.z + (p->elastic_regularization_sigma.highest.z - p->elastic_regularization_sigma.lowest.z) * (double)(l - p->pyramid_lowest_level) / (double)(levels - p->pyramid_lowest_level); } for ( l=levels+1; l<=pyramid_levels; l++ ) { pyramid_level[l].param.elastic_regularization_sigma = p->elastic_regularization_sigma.highest; } /* estimator */ for ( l=0; l<= p->pyramid_lowest_level; l++ ) { pyramid_level[l].param.estimator = p->estimator.lowest; } for ( l=p->pyramid_lowest_level+1; l<=levels; l++ ) { pyramid_level[l].param.estimator.max_iterations = (int)( p->estimator.lowest.max_iterations + ( p->estimator.highest.max_iterations - p->estimator.lowest.max_iterations ) * (double)(l - p->pyramid_lowest_level) / (double)(levels - p->pyramid_lowest_level) + 0.5 ); pyramid_level[l].param.estimator.standard_deviation_threshold = p->estimator.lowest.standard_deviation_threshold + ( p->estimator.highest.standard_deviation_threshold - p->estimator.lowest.standard_deviation_threshold) * (double)(l - p->pyramid_lowest_level) / (double)(levels - p->pyramid_lowest_level); pyramid_level[l].param.estimator.retained_fraction = p->estimator.lowest.retained_fraction + ( p->estimator.highest.retained_fraction - p->estimator.lowest.retained_fraction) * (double)(l - p->pyramid_lowest_level) / (double)(levels - p->pyramid_lowest_level); pyramid_level[l].param.estimator.sigma.x = p->estimator.lowest.sigma.x + ( p->estimator.highest.sigma.x - p->estimator.lowest.sigma.x) * (double)(l - p->pyramid_lowest_level) / (double)(levels - p->pyramid_lowest_level); pyramid_level[l].param.estimator.sigma.y = p->estimator.lowest.sigma.y + ( p->estimator.highest.sigma.y - p->estimator.lowest.sigma.y) * (double)(l - p->pyramid_lowest_level) / (double)(levels - p->pyramid_lowest_level); pyramid_level[l].param.estimator.sigma.z = p->estimator.lowest.sigma.z + ( p->estimator.highest.sigma.z - p->estimator.lowest.sigma.z) * (double)(l - p->pyramid_lowest_level) / (double)(levels - p->pyramid_lowest_level); } for ( l=levels+1; l<=pyramid_levels; l++ ) { pyramid_level[l].param.estimator = p->estimator.highest; } /* max_iterations */ for ( l=0; l<= p->pyramid_lowest_level; l++ ) { pyramid_level[l].param.max_iterations = p->max_iterations.lowest; } for ( l=p->pyramid_lowest_level+1; l<=levels; l++ ) { pyramid_level[l].param.max_iterations = (int)( p->max_iterations.lowest + ( p->max_iterations.highest - p->max_iterations.lowest ) * (double)(l - p->pyramid_lowest_level) / (double)(levels - p->pyramid_lowest_level) + 0.5 ); } for ( l=levels+1; l<=pyramid_levels; l++ ) { pyramid_level[l].param.max_iterations = p->max_iterations.highest; } vtfree( s ); vtfree( d ); return( levels ); } void _PrintPyramidLevel( FILE *f, bal_pyramid_level *p, int print_params ) { char *proc = "_PrintPyramidLevel"; fprintf( f, "\n" ); fprintf( f, "------------------------------------------------------------\n" ); fprintf( f, "Entering %s:\n", proc ); fprintf( f, "At level %d\n", p->param.pyramid_level ); fprintf( f, "- image dimensions = %3d x %3d x %3d\n", p->ncols, p->nrows, p->nplanes ); fprintf( f, "- voxel dimensions = %f x %f x %f\n", p->vx, p->vy, p->vz ); fprintf( f, "- sigma = %f x %f x %f\n", p->sigma.x, p->sigma.y, p->sigma.z ); fprintf( f, "- block fraction = %f\n", p->param.blocks_fraction ); if ( print_params ) BAL_PrintBlockMatchingParameters( f, &(p->param) ); fprintf( f, "Exiting %s:\n", proc ); fprintf( f, "------------------------------------------------------------\n" ); } /****************************************************************************** * * Pyramid image construction * ******************************************************************************/ int BAL_AllocComputeSubsampledImage( bal_image *resIm, int dimx, int dimy, int dimz, bal_image *theIm, bal_pyramid_level *p, int pyramid_gaussian_filtering ) { char *proc = "BAL_PyramidImage"; double theCtr[3], theTrsfedCtr[3]; double resCtr[3], resTrsfedCtr[3]; int tmpIsAllocated = 0; bal_image tmpIm; bal_image *ptrIm = (bal_image*)NULL; bal_transformation identity; /*********************************************** * allocation and building of the result image */ BAL_FreeImage( resIm ); /* resIm is assumed is to empty and initialized */ if ( BAL_InitImage( resIm, (char*)NULL, dimx, dimy, dimz, theIm->vdim, theIm->type ) != 1 ) { if ( _verbose_ ) fprintf( stderr, "%s: unable to initialize image\n", proc ); return( -1 ); } /* allocation */ if ( BAL_AllocImage( resIm ) != 1 ) { BAL_FreeImage( resIm ); if ( _verbose_ ) fprintf( stderr, "%s: unable to allocate image\n", proc ); return( -1 ); } if ( BAL_AllocImageGeometry( resIm ) != 1 ) { BAL_FreeImage( resIm ); if ( _verbose_ ) fprintf( stderr, "%s: unable to initialize image geometry\n", proc ); return( -1 ); } /* compute image geometry */ if ( dimx > 1 && theIm->ncols > 1 ) { resIm->vx = ( (double)theIm->ncols * theIm->vx ) / (double)dimx; } else { resIm->vx = theIm->vx; } if ( dimy > 1 && theIm->nrows > 1 ) { resIm->vy = ( (double)theIm->nrows * theIm->vy ) / (double)dimy; } else { resIm->vy = theIm->vy; } if ( dimz > 1 && theIm->nplanes > 1 ) { resIm->vz = ( (double)theIm->nplanes * theIm->vz ) / (double)dimz; } else { resIm->vz = theIm->vz; } /* we want the centers to superimpose, thus * AT CTZ + TT = AR CRZ + TR * we assume that the affine matrice is composed by * AT = RT * HT * and that RT (real to real transformation) will be the same for both images * thus AR = RT * HR = AR * HT^(-1) * HR * and TR = AT CTZ + TT - AR CRZ */ /* center in voxel coordinates */ theCtr[0] = (double)(theIm->ncols - 1) / 2.0; theCtr[1] = (double)(theIm->nrows - 1) / 2.0; theCtr[2] = (double)(theIm->nplanes - 1) / 2.0; resCtr[0] = (double)(resIm->ncols - 1) / 2.0; resCtr[1] = (double)(resIm->nrows - 1) / 2.0; resCtr[2] = (double)(resIm->nplanes - 1) / 2.0; /* vectorial part of the qform matrix */ resIm->to_real.m[ 0] = theIm->to_real.m[ 0] * resIm->vx / theIm->vx; resIm->to_real.m[ 4] = theIm->to_real.m[ 4] * resIm->vx / theIm->vx; resIm->to_real.m[ 8] = theIm->to_real.m[ 8] * resIm->vx / theIm->vx; resIm->to_real.m[ 1] = theIm->to_real.m[ 1] * resIm->vy / theIm->vy; resIm->to_real.m[ 5] = theIm->to_real.m[ 5] * resIm->vy / theIm->vy; resIm->to_real.m[ 9] = theIm->to_real.m[ 9] * resIm->vy / theIm->vy; resIm->to_real.m[ 2] = theIm->to_real.m[ 2] * resIm->vz / theIm->vz; resIm->to_real.m[ 6] = theIm->to_real.m[ 6] * resIm->vz / theIm->vz; resIm->to_real.m[10] = theIm->to_real.m[ 10] * resIm->vz / theIm->vz; /* transformed centers (through the vectorial part) in real coordinates */ theTrsfedCtr[0] = theIm->to_real.m[ 0] * theCtr[0] + theIm->to_real.m[ 1] * theCtr[1] + theIm->to_real.m[ 2] * theCtr[2]; theTrsfedCtr[1] = theIm->to_real.m[ 4] * theCtr[0] + theIm->to_real.m[ 5] * theCtr[1] + theIm->to_real.m[ 6] * theCtr[2]; theTrsfedCtr[2] = theIm->to_real.m[ 8] * theCtr[0] + theIm->to_real.m[ 9] * theCtr[1] + theIm->to_real.m[10] * theCtr[2]; resTrsfedCtr[0] = resIm->to_real.m[ 0] * resCtr[0] + resIm->to_real.m[ 1] * resCtr[1] + resIm->to_real.m[ 2] * resCtr[2]; resTrsfedCtr[1] = resIm->to_real.m[ 4] * resCtr[0] + resIm->to_real.m[ 5] * resCtr[1] + resIm->to_real.m[ 6] * resCtr[2]; resTrsfedCtr[2] = resIm->to_real.m[ 8] * resCtr[0] + resIm->to_real.m[ 9] * resCtr[1] + resIm->to_real.m[10] * resCtr[2]; /* translational part */ resIm->to_real.m[ 3] = theIm->to_real.m[ 3] + theTrsfedCtr[0] - resTrsfedCtr[0]; resIm->to_real.m[ 7] = theIm->to_real.m[ 7] + theTrsfedCtr[1] - resTrsfedCtr[1]; resIm->to_real.m[11] = theIm->to_real.m[11] + theTrsfedCtr[2] - resTrsfedCtr[2]; switch( theIm->geometry ) { default : case _BAL_UNKNOWN_GEOMETRY_ : case _BAL_HOMOTHETY_GEOMETRY_ : case _BAL_TRANSLATION_GEOMETRY_ : resIm->geometry = _BAL_TRANSLATION_GEOMETRY_; case _BAL_QFORM_GEOMETRY_ : resIm->geometry = _BAL_QFORM_GEOMETRY_; } if ( InverseMat4x4( resIm->to_real.m, resIm->to_voxel.m ) != 4 ) { BAL_FreeImage( resIm ); if ( _verbose_ ) fprintf( stderr, "%s: unable to invert qform matrix\n", proc ); return( -1 ); } /*********************************************** * smoothing of input image ? */ if ( p != (bal_pyramid_level*)NULL && pyramid_gaussian_filtering ) { if ( BAL_AllocImageFromImage( &tmpIm, "smoothed_reference_image.inr", theIm, theIm->type ) != 1 ) { BAL_FreeImage( resIm ); if ( _verbose_ ) fprintf( stderr, "%s: unable to allocate auxiliary image\n", proc ); return( -1 ); } if ( BAL_SmoothImageIntoImage( theIm, &tmpIm, &(p->sigma) ) != 1 ) { BAL_FreeImage( &tmpIm ); BAL_FreeImage( resIm ); if ( _verbose_ ) fprintf( stderr, "%s: unable to filter auxiliary image\n", proc ); return( -1 ); } tmpIsAllocated = 1; ptrIm = &tmpIm; } else { ptrIm = theIm; } /*********************************************** * transformation and resampling */ BAL_InitTransformation( &identity ); if ( BAL_AllocTransformation( &identity, AFFINE_3D, (bal_image *)NULL ) != 1 ) { if ( tmpIsAllocated ) BAL_FreeImage( &tmpIm ); BAL_FreeImage( resIm ); if ( _verbose_ ) fprintf( stderr, "%s: unable to allocate auxiliary transformation\n", proc ); return( -1 ); } if ( BAL_ResampleImage( ptrIm, resIm, &identity, LINEAR ) != 1 ) { BAL_FreeTransformation( &identity ); if ( tmpIsAllocated ) BAL_FreeImage( &tmpIm ); BAL_FreeImage( resIm ); if ( _verbose_ ) fprintf( stderr, "%s: unable to resample image\n", proc ); return( -1 ); } BAL_FreeTransformation( &identity ); if ( tmpIsAllocated ) BAL_FreeImage( &tmpIm ); return( 1 ); } /****************************************************************************** * * Pyramid construction * ******************************************************************************/ #define STRLENGTH 1024 int BAL_BuildPyramidImage( bal_image *theIm, stringList *image_names, int pyramid_lowest_level, int pyramid_highest_level, int pyramid_gaussian_filtering ) { char * proc = "BAL_BuildPyramidImage"; int m; bal_pyramid_level *pyramid_level = NULL; int l, nl, levels; int highest_level = pyramid_highest_level; int lowest_level = pyramid_lowest_level; bal_image resIm; bal_blockmatching_pyramidal_param p; char *name; int maximal_dimension = MAXIMAL_DIMENSION; MAXIMAL_DIMENSION = 16; /* number of pyramid levels */ if ( theIm->nplanes == 1 ) m = max ( theIm->ncols, theIm->nrows ); else m = max ( theIm->ncols, max( theIm->nrows, theIm->nplanes ) ); levels = (int)( log((double)(m)) / log(2.0) ) + 2; pyramid_level = (bal_pyramid_level *)vtmalloc( (levels) * sizeof(bal_pyramid_level), "pyramid_level", proc ); BAL_InitBlockMatchingPyramidalParameters( &p ); p.pyramid_lowest_level = 0; p.pyramid_highest_level = levels-1; if ( theIm->nplanes == 1 ) { p.block_dim.z = 1; } nl = _ComputePyramidLevel( pyramid_level, levels-1, theIm, &p ); /* levels to be written */ if ( nl < 0 ) { if ( _verbose_ ) fprintf( stderr, "%s: no pyramid level\n", proc ); MAXIMAL_DIMENSION = maximal_dimension; return( -1 ); } highest_level = ( pyramid_highest_level < 0 ) ? nl : pyramid_highest_level; lowest_level = ( pyramid_lowest_level < 0 ) ? 0 : pyramid_lowest_level; if ( nl < highest_level ) { if ( _verbose_ ) fprintf( stderr, "%s: start at level %d instead of %d\n", proc, nl, highest_level ); highest_level = nl; } /* verbose: built levels */ if ( _verbose_ ) { fprintf( stderr, "%s:\n", proc ); for ( l=lowest_level; l<=highest_level; l++ ) { if ( _debug_ ) _PrintPyramidLevel( stdout, &(pyramid_level[l]), 0 ); else fprintf( stderr, " - build pyramid level #%2d: %4d x %4d x %4d\n", l, pyramid_level[l].ncols, pyramid_level[l].nrows, pyramid_level[l].nplanes ); } fprintf( stderr, "\n" ); } /* build transformation and images */ BAL_InitImage( &resIm, (char*)NULL, 0, 0, 0, 0, TYPE_UNKNOWN ); for ( l=highest_level; l>=lowest_level; l-- ) { fprintf( stderr, "%s: processing level %d\n", proc, l ); _PrintPyramidLevel( stderr, &(pyramid_level[l]), 0 ); /* image name * we assume that image names has been built from * 'pyramid_lowest_level' to 'pyramid_highest_level' */ name = (char*)NULL; if ( image_names != (stringList*)NULL && l-pyramid_lowest_level < image_names->n_data ) { name = image_names->data[l-pyramid_lowest_level]; } else { if ( _debug_ || _verbose_ >= 2 ) { fprintf( stderr, "%s: no image name for level #%d\n", proc, l ); } } /* image allocation and computation */ if ( BAL_AllocComputeSubsampledImage( &resIm, pyramid_level[l].ncols, pyramid_level[l].nrows, pyramid_level[l].nplanes, theIm, &(pyramid_level[l]), pyramid_gaussian_filtering ) != 1 ) { BAL_FreeImage( &resIm ); if ( _verbose_ ) fprintf( stderr, "%s: unable to allocate image at level %d\n", proc, l ); MAXIMAL_DIMENSION = maximal_dimension; return( -1 ); } /* writing results */ if ( name != (char*)NULL ) { if ( BAL_WriteImage( &resIm, name ) != 1 ) { BAL_FreeImage( &resIm ); if ( _verbose_ ) fprintf( stderr, "%s: unable to write image '%s' at level %d\n", proc, name, l ); MAXIMAL_DIMENSION = maximal_dimension; return( -1 ); } } BAL_FreeImage( &resIm ); } MAXIMAL_DIMENSION = maximal_dimension; return( 1 ); }
29.17061
125
0.577485
[ "geometry", "3d" ]
8f760837ef177f1ff869e7d058a46938fd0d7474
1,293
h
C
GDADPRG_HO7/GameObjectManager.h
NeilDG/GDADPRG-GDPARCM_Courseware
771509ec7b3eb6d6375807819ca9da957dd22641
[ "MIT" ]
null
null
null
GDADPRG_HO7/GameObjectManager.h
NeilDG/GDADPRG-GDPARCM_Courseware
771509ec7b3eb6d6375807819ca9da957dd22641
[ "MIT" ]
null
null
null
GDADPRG_HO7/GameObjectManager.h
NeilDG/GDADPRG-GDPARCM_Courseware
771509ec7b3eb6d6375807819ca9da957dd22641
[ "MIT" ]
null
null
null
#pragma once //singleton class /* Game object manager contains all of the declared game object classes and calls the update function */ #include <unordered_map> #include <vector> #include <string> #include "AGameObject.h" #include <SFML/Graphics.hpp> typedef std::unordered_map<std::string, AGameObject*> HashTable; typedef std::vector<AGameObject*> List; class GameObjectManager { public: static GameObjectManager* getInstance(); AGameObject* findObjectByName(string name); List getAllObjects(); int activeObjects(); void processInput(sf::Event event); void update(sf::Time deltaTime); void updateChildren(AGameObject::ObjectList objectList, sf::Time deltaTime); void processInputChildren(AGameObject::ObjectList objectList, sf::Event event); void draw(sf::RenderWindow* window); void addObject(AGameObject* gameObject); void deleteObject(AGameObject* gameObject); void deleteObjectByName(string name); void deleteAllObjectsInScene(); private: GameObjectManager() {}; GameObjectManager(GameObjectManager const&) {}; // copy constructor is private GameObjectManager& operator=(GameObjectManager const&) {}; // assignment operator is private static GameObjectManager* sharedInstance; HashTable gameObjectMap; List gameObjectList; };
30.069767
101
0.764888
[ "object", "vector" ]
8f7c62469abebf611ff370da8dc9916aaf1561dd
4,137
h
C
aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ParameterizedStatement.h
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ParameterizedStatement.h
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ParameterizedStatement.h
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/dynamodb/DynamoDB_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/dynamodb/model/AttributeValue.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DynamoDB { namespace Model { /** * <p> Represents a PartiQL statment that uses parameters. </p><p><h3>See * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ParameterizedStatement">AWS * API Reference</a></p> */ class AWS_DYNAMODB_API ParameterizedStatement { public: ParameterizedStatement(); ParameterizedStatement(Aws::Utils::Json::JsonView jsonValue); ParameterizedStatement& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * <p> A PartiQL statment that uses parameters. </p> */ inline const Aws::String& GetStatement() const{ return m_statement; } /** * <p> A PartiQL statment that uses parameters. </p> */ inline bool StatementHasBeenSet() const { return m_statementHasBeenSet; } /** * <p> A PartiQL statment that uses parameters. </p> */ inline void SetStatement(const Aws::String& value) { m_statementHasBeenSet = true; m_statement = value; } /** * <p> A PartiQL statment that uses parameters. </p> */ inline void SetStatement(Aws::String&& value) { m_statementHasBeenSet = true; m_statement = std::move(value); } /** * <p> A PartiQL statment that uses parameters. </p> */ inline void SetStatement(const char* value) { m_statementHasBeenSet = true; m_statement.assign(value); } /** * <p> A PartiQL statment that uses parameters. </p> */ inline ParameterizedStatement& WithStatement(const Aws::String& value) { SetStatement(value); return *this;} /** * <p> A PartiQL statment that uses parameters. </p> */ inline ParameterizedStatement& WithStatement(Aws::String&& value) { SetStatement(std::move(value)); return *this;} /** * <p> A PartiQL statment that uses parameters. </p> */ inline ParameterizedStatement& WithStatement(const char* value) { SetStatement(value); return *this;} /** * <p> The parameter values. </p> */ inline const Aws::Vector<AttributeValue>& GetParameters() const{ return m_parameters; } /** * <p> The parameter values. </p> */ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** * <p> The parameter values. </p> */ inline void SetParameters(const Aws::Vector<AttributeValue>& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** * <p> The parameter values. </p> */ inline void SetParameters(Aws::Vector<AttributeValue>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** * <p> The parameter values. </p> */ inline ParameterizedStatement& WithParameters(const Aws::Vector<AttributeValue>& value) { SetParameters(value); return *this;} /** * <p> The parameter values. </p> */ inline ParameterizedStatement& WithParameters(Aws::Vector<AttributeValue>&& value) { SetParameters(std::move(value)); return *this;} /** * <p> The parameter values. </p> */ inline ParameterizedStatement& AddParameters(const AttributeValue& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } /** * <p> The parameter values. </p> */ inline ParameterizedStatement& AddParameters(AttributeValue&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } private: Aws::String m_statement; bool m_statementHasBeenSet; Aws::Vector<AttributeValue> m_parameters; bool m_parametersHasBeenSet; }; } // namespace Model } // namespace DynamoDB } // namespace Aws
30.419118
163
0.668117
[ "vector", "model" ]
8f7e207388a8732839d8ada3962f9e24dea264b0
450
h
C
TNTLoveFreshBee 2/TNTLoveFreshBee/Classes/Mine/SouCangShop/view/NewshopCell.h
LifengDuan/gitCaoLian
cefdc615b754dae7d5597a813fb938668b5b4d77
[ "MIT" ]
null
null
null
TNTLoveFreshBee 2/TNTLoveFreshBee/Classes/Mine/SouCangShop/view/NewshopCell.h
LifengDuan/gitCaoLian
cefdc615b754dae7d5597a813fb938668b5b4d77
[ "MIT" ]
null
null
null
TNTLoveFreshBee 2/TNTLoveFreshBee/Classes/Mine/SouCangShop/view/NewshopCell.h
LifengDuan/gitCaoLian
cefdc615b754dae7d5597a813fb938668b5b4d77
[ "MIT" ]
null
null
null
// // NewshopCell.h // shouCangShop // // Created by Book on 16/10/15. // Copyright © 2016年 qau. All rights reserved. // #import <UIKit/UIKit.h> #import "model.h" @class NewshopCell; @protocol NewshopCellDelegate <NSObject> -(void)newshopCell:(NewshopCell *)shopcell andWith:(model *)mode ; @end @interface NewshopCell : UITableViewCell @property(nonatomic,strong)model *mode; @property(nonatomic,weak)id<NewshopCellDelegate> delegate; @end
19.565217
66
0.737778
[ "model" ]
8f818fa954e3aa564c37f24524fb9d1185a4c56a
914
h
C
include/sensors.h
bach74/Lisa
6f79b909f734883cd05a0ccf8679199ae2e301cf
[ "MIT", "Unlicense" ]
2
2016-06-23T21:20:19.000Z
2020-03-25T15:01:07.000Z
include/sensors.h
bach74/Lisa
6f79b909f734883cd05a0ccf8679199ae2e301cf
[ "MIT", "Unlicense" ]
null
null
null
include/sensors.h
bach74/Lisa
6f79b909f734883cd05a0ccf8679199ae2e301cf
[ "MIT", "Unlicense" ]
null
null
null
// ============================================================================= // Sensors.h // // Copyright (C) 2007-2012 by Bach // This file is part of the LiSA project. // The LiSA project is licensed under MIT license. // // ============================================================================= #ifndef __SENSORS_H__ #define __SENSORS_H__ #include "sensor.h" #include "simulation.h" /**---------------------------------------------------------------------------- Maintain sensors \param simulation (Simulation *) \return () -----------------------------------------------------------------------------*/ class Sensors { public: Sensors(Simulation* simulation); ~Sensors(); void update(); SensorVectors* getSensor(const std::string& sensorName) const; private: // A collection of vector sensors std::vector<boost::shared_ptr<SensorVectors> > mSensors; }; #endif
25.388889
80
0.45186
[ "vector" ]
8f8fd0d9c0734c9aa866e6c2a7315d0026b75e84
1,085
h
C
smtlib/ast/ast_script.h
cristina-serban/smtlib-parser
35906488715f3defad8eeed6ac53998093abaa5e
[ "Apache-2.0" ]
null
null
null
smtlib/ast/ast_script.h
cristina-serban/smtlib-parser
35906488715f3defad8eeed6ac53998093abaa5e
[ "Apache-2.0" ]
1
2018-06-20T16:51:27.000Z
2018-06-24T00:12:19.000Z
smtlib/ast/ast_script.h
cristina-serban/smtlib-parser
35906488715f3defad8eeed6ac53998093abaa5e
[ "Apache-2.0" ]
null
null
null
/** * \file smt_script * \brief SMT-LIB script. * \author Cristina Serban <cristina.serban89@gmail.com> */ #ifndef SMTLIB_PARSER_AST_SCRIPT_H #define SMTLIB_PARSER_AST_SCRIPT_H #include "ast_abstract.h" #include "ast_basic.h" #include "ast_command.h" #include <memory> #include <vector> namespace smtlib { namespace ast { /** * SMT-LIB script. * Node and (possible) root of the SMT abstract syntax tree. * Represents the contents of a query file. */ class Script : public AstRoot, public std::enable_shared_from_this<Script> { private: sptr_v<Command> commands; public: /** Default constructor */ inline Script() { } /** * \param cmds Command list */ Script(sptr_v<Command>& commands); inline sptr_v<Command>& getCommands() { return commands; } virtual void accept(AstVisitor0* visitor); virtual std::string toString(); }; } } #endif //SMTLIB_PARSER_AST_SCRIPT_H
23.586957
84
0.59447
[ "vector" ]
8f92459f5ccee0f11d480e13a4372d15aa3a0079
9,356
c
C
src/config.c
pagodabox/narc
258e6d94cdf100b7309afb6e39da2b44a87a8b1a
[ "MIT" ]
null
null
null
src/config.c
pagodabox/narc
258e6d94cdf100b7309afb6e39da2b44a87a8b1a
[ "MIT" ]
null
null
null
src/config.c
pagodabox/narc
258e6d94cdf100b7309afb6e39da2b44a87a8b1a
[ "MIT" ]
2
2018-12-13T06:53:37.000Z
2019-10-24T22:34:33.000Z
// -*- mode: c; tab-width: 8; indent-tabs-mode: 1; st-rulers: [70] -*- // vim: ts=8 sw=8 ft=c noet /* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. * See the License for the specific language governing permissions * and limitations under the License. * * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at usr/src/OPENSOLARIS.LICENSE. * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 2013 Pagoda Box, Inc. All rights reserved. */ #include "config.h" #include "narc.h" #include "stream.h" #include "sds.h" /* dynamic safe strings */ #include "malloc.h" /* total memory usage aware version of malloc/free */ #include <stdio.h> /* standard buffered input/output */ #include <stdlib.h> /* standard library definitions */ #include <errno.h> /* system error numbers */ #include <syslog.h> /* definitions for system error logging */ #include <string.h> /* string operations */ /*----------------------------------------------------------------------------- * Data types *----------------------------------------------------------------------------*/ static struct { const char *name; const int value; } validSyslogFacilities[] = { {"user", LOG_USER}, {"local0", LOG_LOCAL0}, {"local1", LOG_LOCAL1}, {"local2", LOG_LOCAL2}, {"local3", LOG_LOCAL3}, {"local4", LOG_LOCAL4}, {"local5", LOG_LOCAL5}, {"local6", LOG_LOCAL6}, {"local7", LOG_LOCAL7}, {NULL, 0} }; static struct { const char *name; const int value; } validSyslogPriorities[] = { {"emergency", LOG_EMERG}, {"alert", LOG_ALERT}, {"critical", LOG_CRIT}, {"error", LOG_ERR}, {"warning", LOG_WARNING}, {"notice", LOG_NOTICE}, {"info", LOG_INFO}, {"debug", LOG_DEBUG}, {NULL, 0} }; /*----------------------------------------------------------------------------- * Config file parsing *----------------------------------------------------------------------------*/ int yesnotoi(char *s) { if (!strcasecmp(s,"yes")) return 1; else if (!strcasecmp(s,"no")) return 0; else return -1; } void load_server_config_from_string(char *config) { char *err = NULL; int linenum = 0, totlines, i; sds *lines; lines = sdssplitlen(config,strlen(config),"\n",1,&totlines); for (i = 0; i < totlines; i++) { sds *argv; int argc; linenum = i+1; lines[i] = sdstrim(lines[i]," \t\r\n"); /* Skip comments and blank lines */ if (lines[i][0] == '#' || lines[i][0] == '\0') continue; /* Split into arguments */ argv = sdssplitargs(lines[i],&argc); if (argv == NULL) { err = "Unbalanced quotes in configuration line"; goto loaderr; } /* Skip this line if the resulting command vector is empty. */ if (argc == 0) { sdsfreesplitres(argv,argc); continue; } sdstolower(argv[0]); /* Execute config directives */ if (!strcasecmp(argv[0], "daemonize") && argc == 2) { if ((server.daemonize = yesnotoi(argv[1])) == -1) { err = "argument must be 'yes' or 'no'"; goto loaderr; } } else if (!strcasecmp(argv[0], "pidfile") && argc == 2) { free(server.pidfile); server.pidfile = strdup(argv[1]); } else if (!strcasecmp(argv[0], "loglevel") && argc == 2) { if (!strcasecmp(argv[1],"debug")) server.verbosity = NARC_DEBUG; else if (!strcasecmp(argv[1],"verbose")) server.verbosity = NARC_VERBOSE; else if (!strcasecmp(argv[1],"notice")) server.verbosity = NARC_NOTICE; else if (!strcasecmp(argv[1],"warning")) server.verbosity = NARC_WARNING; else { err = "Invalid log level. Must be one of debug, notice, warning"; goto loaderr; } } else if (!strcasecmp(argv[0],"logfile") && argc == 2) { FILE *logfp; free(server.logfile); server.logfile = strdup(argv[1]); if (server.logfile[0] != '\0') { /* Test if we are able to open the file. The server will not * be able to abort just for this problem later... */ logfp = fopen(server.logfile,"a"); if (logfp == NULL) { err = sdscatprintf(sdsempty(), "Can't open the log file: %s", strerror(errno)); goto loaderr; } fclose(logfp); } } else if (!strcasecmp(argv[0],"syslog-enabled") && argc == 2) { if ((server.syslog_enabled = yesnotoi(argv[1])) == -1) { err = "argument must be 'yes' or 'no'"; goto loaderr; } } else if (!strcasecmp(argv[0],"syslog-ident") && argc == 2) { if (server.syslog_ident) free(server.syslog_ident); server.syslog_ident = strdup(argv[1]); } else if (!strcasecmp(argv[0],"syslog-facility") && argc == 2) { int i; for (i = 0; validSyslogFacilities[i].name; i++) { if (!strcasecmp(validSyslogFacilities[i].name, argv[1])) { server.syslog_facility = validSyslogFacilities[i].value; break; } } if (!validSyslogFacilities[i].name) { err = "Invalid log facility. Must be one of 'user' or between 'local0-local7'"; goto loaderr; } } else if (!strcasecmp(argv[0], "remote-host") && argc == 2) { free(server.host); server.host = strdup(argv[1]); } else if (!strcasecmp(argv[0], "remote-port") && argc == 2) { server.port = atoi(argv[1]); if (server.port < 0 || server.port > 65535) { err = "Invalid port"; goto loaderr; } } else if (!strcasecmp(argv[0], "remote-proto") && argc == 2) { if (!strcasecmp(argv[1],"udp")) server.protocol = NARC_PROTO_UDP; else if (!strcasecmp(argv[1],"tcp")) server.protocol = NARC_PROTO_TCP; else { err = "Invalid protocol. Must be either udp or tcp"; goto loaderr; } } else if (!strcasecmp(argv[0], "max-connect-attempts") && argc == 2) { server.max_connect_attempts = atoi(argv[1]); } else if (!strcasecmp(argv[0], "connect-retry-delay") && argc == 2) { server.connect_retry_delay = atoll(argv[1]); } else if (!strcasecmp(argv[0], "max-open-attempts") && argc == 2) { server.max_open_attempts = atoi(argv[1]); } else if (!strcasecmp(argv[0], "open-retry-delay") && argc == 2) { server.open_retry_delay = atoll(argv[1]); } else if (!strcasecmp(argv[0], "stream-id") && argc == 2) { free(server.stream_id); server.stream_id = strdup(argv[1]); } else if (!strcasecmp(argv[0], "stream-facility") && argc == 2) { int i; for (i = 0; validSyslogFacilities[i].name; i++) { if (!strcasecmp(validSyslogFacilities[i].name, argv[1])) { server.stream_facility = validSyslogFacilities[i].value; break; } } if (!validSyslogFacilities[i].name) { err = "Invalid stream facility. Must be one of 'user' or between 'local0-local7'"; goto loaderr; } } else if (!strcasecmp(argv[0], "stream-priority") && argc == 2) { int i; for (i = 0; validSyslogPriorities[i].name; i++) { if (!strcasecmp(validSyslogPriorities[i].name, argv[1])) { server.stream_priority = validSyslogPriorities[i].value; break; } } if (!validSyslogPriorities[i].name) { err = "Invalid stream priority. Must be one of: 'emergency', 'alert', 'critical', 'error', 'warning', 'info', 'notice', or 'debug'"; goto loaderr; } } else if (!strcasecmp(argv[0],"stream") && argc == 3) { char *id = sdsdup(argv[1]); char *file = sdsdup(argv[2]); narc_stream *stream = new_stream(id, file); listAddNodeTail(server.streams, (void *)stream); } else if (!strcasecmp(argv[0],"rate-limit") && argc == 2) { server.rate_limit = atoi(argv[1]); } else if (!strcasecmp(argv[0],"rate-time") && argc == 2) { server.rate_time = atoi(argv[1]); } else { err = "Bad directive or wrong number of arguments"; goto loaderr; } sdsfreesplitres(argv,argc); } sdsfreesplitres(lines,totlines); return; loaderr: fprintf(stderr, "\n*** FATAL CONFIG FILE ERROR ***\n"); fprintf(stderr, "Reading the configuration file, at line %d\n", linenum); fprintf(stderr, ">>> '%s'\n", lines[i]); fprintf(stderr, "%s\n", err); exit(1); } /* Load the server configuration from the specified filename. * The function appends the additional configuration directives stored * in the 'options' string to the config file before loading. * * Both filename and options can be NULL, in such a case are considered * empty. This way load_server_config can be used to just load a file or * just load a string. */ void load_server_config(char *filename, char *options) { sds config = sdsempty(); char buf[NARC_CONFIGLINE_MAX+1]; /* Load the file content */ if (filename) { FILE *fp; if (filename[0] == '-' && filename[1] == '\0') { fp = stdin; } else { if ((fp = fopen(filename,"r")) == NULL) { narc_log(NARC_WARNING, "Fatal error, can't open config file '%s'", filename); exit(1); } } while(fgets(buf,NARC_CONFIGLINE_MAX+1,fp) != NULL) config = sdscat(config,buf); if (fp != stdin) fclose(fp); } /* Append the additional options */ if (options) { config = sdscat(config,"\n"); config = sdscat(config,options); } load_server_config_from_string(config); sdsfree(config); }
32.041096
136
0.617999
[ "vector" ]
8f99eff4e4ae86851bdbc718a453a0ecf8e33426
2,085
c
C
d/av_rooms/hlal/inspirationstation_1.c
Dbevan/SunderingShadows
6c15ec56cef43c36361899bae6dc08d0ee907304
[ "MIT" ]
13
2019-07-19T05:24:44.000Z
2021-11-18T04:08:19.000Z
d/av_rooms/hlal/inspirationstation_1.c
Dbevan/SunderingShadows
6c15ec56cef43c36361899bae6dc08d0ee907304
[ "MIT" ]
4
2021-03-15T18:56:39.000Z
2021-08-17T17:08:22.000Z
d/av_rooms/hlal/inspirationstation_1.c
Dbevan/SunderingShadows
6c15ec56cef43c36361899bae6dc08d0ee907304
[ "MIT" ]
13
2019-09-12T06:22:38.000Z
2022-01-31T01:15:12.000Z
// File created with /daemon/persistent_room_d.c #include <std.h> inherit "/cmds/avatar/avatar_room.c"; void create() { ::create(); set_name("inspirationstation_1"); set_property("indoors",1); set_property("light",2); set_property("no teleport",1); set_terrain("stone building"); set_travel("slick floor"); set_climate("temperate"); set_short("%^MAGENTA%^Trapped within a painting%^RESET%^"); set_long("%^CYAN%^Chaos unfolds before you. It is as if a %^GREEN%^thousand scenes %^CYAN%^appear around you in painted form, ever changing and difficult to view for more than a moment. Even the most focused of" " minds would have trouble deciphering what goes on around them here. The consequence of trying is dizzying but if lucky, you might eventually find the %^BOLD%^true nature %^RESET%^%^CYAN%^of the room." "%^RESET%^" ); set_smell("default"," %^BOLD%^%^CYAN%^Fresh paint and other oils scent the air%^RESET%^"); set_listen("default","%^BOLD%^%^WHITE%^The deep silence here contradicts the neverending drama that unfolds%^RESET%^"); set_search("wand","%^CYAN%^You suddenly feel as if you can (%^BOLD%^use wand%^RESET%^%^CYAN%^)%^RESET%^"); set_items(([ "scene 2" : "%^MAGENTA%^A slender woman carves a flute out of an %^BOLD%^%^WHITE%^innocent looking stick", "scene 3" : "%^BOLD%^%^BLACK%^A shadowy figure sneaks towards a chest full of %^YELLOW%^treasure.", "true nature" : "%^BOLD%^%^GREEN%^A river of paint flows steadily along the ground, fed by a colorful waterfall. In the center of the river is a pedestal holding a %^YELLOW%^wand %^RESET%^%^GREEN%^of some kind", "wand" : "%^BOLD%^%^WHITE%^The wand has trouble holding its shape. It takes on many forms. It leads one to wonder what might happen if you search it", "scenes" : "%^GREEN%^There are thousands of scenes and more being created every second. Three of the scenes show themselves most clearly though.%^RESET%^", "scene 1" : "%^BOLD%^%^MAGENTA%^A young girl is in the middle of opening her presents at her birthday celebration%^RESET%^", ])); }
54.868421
215
0.695923
[ "shape" ]
8f9aaffbb5cbac32e0fdcff39afe9b16411eb733
73,983
c
C
lib/acvp/definition.c
ChrisKohlbacher/acvpproxy
1478386873634838a45a3137ead4f89e2482b359
[ "BSD-3-Clause" ]
null
null
null
lib/acvp/definition.c
ChrisKohlbacher/acvpproxy
1478386873634838a45a3137ead4f89e2482b359
[ "BSD-3-Clause" ]
null
null
null
lib/acvp/definition.c
ChrisKohlbacher/acvpproxy
1478386873634838a45a3137ead4f89e2482b359
[ "BSD-3-Clause" ]
null
null
null
/* ACVP definition handling * * Copyright (C) 2018 - 2022, Stephan Mueller <smueller@chronox.de> * * License: see LICENSE file in root directory * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF * WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR 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 NOT ADVISED OF THE POSSIBILITY OF SUCH * DAMAGE. */ #include <sys/types.h> #include <dirent.h> #include <string.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include "acvpproxy.h" #include "definition.h" #include "internal.h" #include "json_wrapper.h" #include "logger.h" #include "mutex.h" #include "request_helper.h" /* List of instantiated module definitions */ static DEFINE_MUTEX_UNLOCKED(def_mutex); static struct definition *def_head = NULL; /* List of uninstantiated module definitions */ static DEFINE_MUTEX_UNLOCKED(def_uninstantiated_mutex); static struct def_algo_map *def_uninstantiated_head = NULL; static DEFINE_MUTEX_UNLOCKED(def_file_access_mutex); /***************************************************************************** * Conversions *****************************************************************************/ struct def_dependency_type_names { enum def_dependency_type type; const char *name; }; static struct def_dependency_type_names type_name[] = { { def_dependency_os, "os" }, { def_dependency_hardware, "processor" }, { def_dependency_hardware, "cpu" }, { def_dependency_software, "software" }, { def_dependency_firmware, "firmware" } }; int acvp_dep_type2name(enum def_dependency_type type, const char **name) { unsigned int i; for (i = 0; i < ARRAY_SIZE(type_name); i++) { if (type == type_name[i].type) { *name = type_name[i].name; return 0; } } return -ENOENT; } int acvp_dep_name2type(const char *name, enum def_dependency_type *type) { unsigned int i; for (i = 0; i < ARRAY_SIZE(type_name); i++) { size_t len = strlen(type_name[i].name); if (strlen(name) == len && !strncmp(name, type_name[i].name, len)) { *type = type_name[i].type; return 0; } } return -ENOENT; } /***************************************************************************** * Handle refcnt lock *****************************************************************************/ int acvp_def_alloc_lock(struct def_lock **lock) { struct def_lock *tmp; int ret = 0; tmp = calloc(1, sizeof(*tmp)); CKNULL(tmp, -ENOMEM); mutex_init(&tmp->lock, 0); atomic_set(0, &tmp->refcnt); *lock = tmp; out: return ret; } static void acvp_def_get_lock(struct def_lock *lock) { atomic_inc(&lock->refcnt); } static void acvp_def_lock_lock(struct def_lock *lock) { mutex_lock(&lock->lock); } static void acvp_def_lock_unlock(struct def_lock *lock) { mutex_unlock(&lock->lock); } static void acvp_def_put_lock(struct def_lock *lock) { if (!lock) return; /* Free if lock was not used so far (e.g. uninstantiated defs) */ if (!atomic_read(&lock->refcnt)) { free(lock); return; } /* Free if refcount is zero. */ if (atomic_dec_and_test(&lock->refcnt)) free(lock); } static void acvp_def_dealloc_unused_lock(struct def_lock *lock) { if (!lock) return; if (!atomic_read(&lock->refcnt)) { free(lock); return; } } /***************************************************************************** * Runtime registering code for cipher definitions *****************************************************************************/ /** * @brief Register one cipher module implementation with the library. This * function is intended to be invoked in the constructor of the library, * i.e. in a function that is marked with the ACVP_DEFINE_CONSTRUCTOR * macro to allow an automatic invocation of the register operation * during load time of the library. * * @param curr_def Pointer to the definition to be registered. */ static void acvp_register_def(struct definition *curr_def) { struct definition *tmp_def; /* Safety-measure to prevent programming bugs to affect us. */ curr_def->next = NULL; mutex_lock(&def_mutex); if (!def_head) { def_head = curr_def; goto out; } for (tmp_def = def_head; tmp_def != NULL; tmp_def = tmp_def->next) { /* do not re-register */ if (curr_def == tmp_def) { logger(LOGGER_ERR, LOGGER_C_ANY, "Programming bug: re-registering definition!\n"); goto out; } if (!tmp_def->next) { tmp_def->next = curr_def; goto out; } } out: mutex_unlock(&def_mutex); return; } static int acvp_match_def_search(const struct acvp_search_ctx *search, const struct definition *def) { const struct def_vendor *vendor = def->vendor; const struct def_info *mod_info = def->info; const struct def_oe *oe = def->oe; const struct def_dependency *def_dep; bool match = false, match_found = false, match2 = false, match2_found = false; if (!acvp_find_match(search->modulename, mod_info->module_name, search->modulename_fuzzy_search) || !acvp_find_match(search->moduleversion, mod_info->module_version, search->moduleversion_fuzzy_search) || !acvp_find_match(search->orig_modulename, mod_info->orig_module_name, false) || !acvp_find_match(search->vendorname, vendor->vendor_name, search->vendorname_fuzzy_search)) return -ENOENT; for (def_dep = oe->def_dep; def_dep != NULL; def_dep = def_dep->next) { switch (def_dep->def_dependency_type) { case def_dependency_firmware: case def_dependency_os: case def_dependency_software: match |= acvp_find_match(search->execenv, def_dep->name, search->execenv_fuzzy_search); match_found = true; break; case def_dependency_hardware: match2 |= acvp_find_match(search->processor, def_dep->proc_name, search->processor_fuzzy_search); match2_found = true; break; default: logger(LOGGER_ERR, LOGGER_C_ANY, "Unknown OE dependency type\n"); return -ENOENT; } } /* * If we do not have a specific dependency type, we match it * trivially. */ if (!match_found) match = true; if (!match2_found) match2 = true; /* It is permissible to have no dependencies at all */ if (oe->def_dep && (!match || !match2)) return -ENOENT; return 0; } const struct definition *acvp_find_def(const struct acvp_search_ctx *search, const struct definition *processed_ptr) { const struct definition *tmp_def = NULL; mutex_reader_lock(&def_mutex); if (processed_ptr) { /* * Guarantee that the pointer is valid as we unlock the mutex * when returning. */ for (tmp_def = def_head; tmp_def != NULL; tmp_def = tmp_def->next) { if (tmp_def == processed_ptr) break; } if (!tmp_def) { logger(LOGGER_WARN, LOGGER_C_ANY, "Processed pointer is not known to definition list! - Programming Bug at file %s line %d\n", __FILE__, __LINE__); goto out; } tmp_def = processed_ptr->next; } else { tmp_def = def_head; } for (; tmp_def != NULL; tmp_def = tmp_def->next) { int ret = acvp_match_def_search(search, tmp_def); if (ret == -ENOENT) continue; else if (ret) { tmp_def = NULL; goto out; } if (search->with_es_def && !tmp_def->es) continue; break; } out: mutex_reader_unlock(&def_mutex); return tmp_def; } static int acvp_export_def_search_dep_v1(const struct def_oe *oe, struct json_object *s) { const struct def_dependency *def_dep; int ret = 0; bool execenv_done = false, cpu_done = false; for (def_dep = oe->def_dep; def_dep; def_dep = def_dep->next) { if (def_dep->name && !execenv_done) { CKINT(json_object_object_add( s, "execenv", json_object_new_string(def_dep->name))); /* we only store one */ execenv_done = true; } if (def_dep->proc_name && def_dep->proc_family && def_dep->proc_series && !cpu_done) { CKINT(json_object_object_add( s, "processor", json_object_new_string(def_dep->proc_name))); CKINT(json_object_object_add( s, "processorFamily", json_object_new_string(def_dep->proc_family))); CKINT(json_object_object_add( s, "processorSeries", json_object_new_string(def_dep->proc_series))); cpu_done = true; } if (execenv_done && cpu_done) break; } out: return ret; } static int acvp_export_def_search_dep_v2(const struct def_oe *oe, struct json_object *s) { const struct def_dependency *def_dep; struct json_object *array; int ret; array = json_object_new_array(); CKNULL(array, -ENOMEM); CKINT(json_object_object_add(s, "dependencies", array)); for (def_dep = oe->def_dep; def_dep; def_dep = def_dep->next) { struct json_object *entry = json_object_new_object(); CKNULL(entry, -ENOMEM); CKINT(json_object_array_add(array, entry)); switch (def_dep->def_dependency_type) { case def_dependency_firmware: case def_dependency_os: case def_dependency_software: CKINT(json_object_object_add( entry, "execenv", json_object_new_string(def_dep->name))); break; case def_dependency_hardware: CKINT(json_object_object_add( entry, "processor", json_object_new_string(def_dep->proc_name))); CKINT(json_object_object_add( entry, "processorFamily", json_object_new_string(def_dep->proc_family))); CKINT(json_object_object_add( entry, "processorSeries", json_object_new_string(def_dep->proc_series))); break; default: logger(LOGGER_ERR, LOGGER_C_ANY, "Unknown dependency type\n"); ret = -EINVAL; goto out; } } out: return ret; } int acvp_export_def_search(const struct acvp_testid_ctx *testid_ctx) { const struct definition *def = testid_ctx->def; const struct def_vendor *vendor; const struct def_info *mod_info; const struct def_oe *oe; struct json_object *s = NULL; ACVP_BUFFER_INIT(tmp); int ret; const char *str; CKNULL_LOG(def, -EINVAL, "Module definition context missing\n"); vendor = def->vendor; mod_info = def->info; oe = def->oe; s = json_object_new_object(); CKNULL(s, -ENOMEM); CKINT(json_object_object_add( s, "moduleName", json_object_new_string(mod_info->module_name))); CKINT(json_object_object_add( s, "moduleVersion", json_object_new_string(mod_info->module_version))); CKINT(json_object_object_add( s, "vendorName", json_object_new_string(vendor->vendor_name))); switch (oe->config_file_version) { case 0: case 1: CKINT(acvp_export_def_search_dep_v1(oe, s)); break; case 2: CKINT(acvp_export_def_search_dep_v2(oe, s)); break; default: logger(LOGGER_ERR, LOGGER_C_ANY, "Unknown dependency version\n"); ret = -EINVAL; goto out; } /* Convert the JSON buffer into a string */ str = json_object_to_json_string_ext( s, JSON_C_TO_STRING_PRETTY | JSON_C_TO_STRING_NOSLASHESCAPE); CKNULL_LOG(str, -EFAULT, "JSON object conversion into string failed\n"); /* Write the JSON data to disk */ tmp.buf = (uint8_t *)str; tmp.len = (uint32_t)strlen(str); CKINT(ds->acvp_datastore_write_testid(testid_ctx, ACVP_DS_DEF_REFERENCE, false, &tmp)); out: ACVP_JSON_PUT_NULL(s); return ret; } static int acvp_match_def_v1(const struct acvp_testid_ctx *testid_ctx, const struct json_object *def_config) { const struct definition *def = testid_ctx->def; struct acvp_search_ctx search; int ret; memset(&search, 0, sizeof(search)); CKINT(json_get_string(def_config, "moduleName", (const char **)&search.modulename)); CKINT(json_get_string(def_config, "moduleVersion", (const char **)&search.moduleversion)); CKINT(json_get_string(def_config, "vendorName", (const char **)&search.vendorname)); ret = json_get_string(def_config, "execenv", (const char **)&search.execenv); if (ret < 0) search.execenv = NULL; CKINT(json_get_string(def_config, "processor", (const char **)&search.processor)); ret = acvp_match_def_search(&search, def); if (ret) { logger(LOGGER_VERBOSE, LOGGER_C_ANY, "Crypto definition for testID %u for current search does not match with old search\n", testid_ctx->testid); } else { logger(LOGGER_DEBUG, LOGGER_C_ANY, "Crypto definition for testID %u for current search matches with old search\n", testid_ctx->testid); } out: return ret; } static int acvp_match_def_v2(const struct acvp_testid_ctx *testid_ctx, const struct json_object *def_config) { const struct definition *def = testid_ctx->def; struct acvp_search_ctx search; struct json_object *dep_array; unsigned int i; int ret; CKINT(json_find_key(def_config, "dependencies", &dep_array, json_type_array)); memset(&search, 0, sizeof(search)); CKINT(json_get_string(def_config, "moduleName", (const char **)&search.modulename)); CKINT(json_get_string(def_config, "moduleVersion", (const char **)&search.moduleversion)); CKINT(json_get_string(def_config, "vendorName", (const char **)&search.vendorname)); CKINT(acvp_match_def_search(&search, def)); for (i = 0; i < json_object_array_length(dep_array); i++) { struct json_object *dep_entry = json_object_array_get_idx(dep_array, i); memset(&search, 0, sizeof(search)); CKNULL(dep_array, -EFAULT); /* * no error checks, as we do not require these entries to be * found everywhere */ json_get_string(dep_entry, "execenv", (const char **)&search.execenv); json_get_string(dep_entry, "processor", (const char **)&search.processor); CKINT(acvp_match_def_search(&search, def)); } out: if (ret) { logger(LOGGER_VERBOSE, LOGGER_C_ANY, "Crypto definition for testID %u for current search does not match with old search\n", testid_ctx->testid); } else { logger(LOGGER_DEBUG, LOGGER_C_ANY, "Crypto definition for testID %u for current search matches with old search\n", testid_ctx->testid); } return ret; } int acvp_match_def(const struct acvp_testid_ctx *testid_ctx, const struct json_object *def_config) { struct json_object *o; if (json_find_key(def_config, "dependencies", &o, json_type_array)) return acvp_match_def_v1(testid_ctx, def_config); return acvp_match_def_v2(testid_ctx, def_config); } DSO_PUBLIC int acvp_list_unregistered_definitions(void) { struct def_algo_map *map = NULL; fprintf(stderr, "Algo Name | Processor | Implementation Name\n"); mutex_reader_lock(&def_uninstantiated_mutex); for (map = def_uninstantiated_head; map != NULL; map = map->next) fprintf(stderr, "%s | %s | %s\n", map->algo_name, map->processor, map->impl_name); mutex_reader_unlock(&def_uninstantiated_mutex); fprintf(stderr, "\nUse this information to create instantiations by module definition configuration files\n"); return 0; } static void acvp_get_max(int *len, const char *str) { int tmp = str ? (int)strlen(str) : 0; if (tmp > *len) *len = tmp; } DSO_PUBLIC int acvp_list_registered_definitions(const struct acvp_search_ctx *search) { const struct definition *def; unsigned int vsid = 0; int v_len = 11, o_len = 2, p_len = 4, m_len = 11, mv_len = 7; char bottomline[200]; /* Finding maximum sizes */ def = acvp_find_def(search, NULL); if (!def) { logger(LOGGER_WARN, LOGGER_C_ANY, "No cipher implementation found for search criteria\n"); return -EINVAL; } while (def) { const struct def_info *mod_info = def->info; const struct def_vendor *vendor = def->vendor; const struct def_oe *oe = def->oe; const struct def_dependency *def_dep = oe->def_dep; acvp_get_max(&v_len, vendor->vendor_name); acvp_get_max(&m_len, mod_info->module_name); acvp_get_max(&mv_len, mod_info->module_version); for (; def_dep; def_dep = def_dep->next) { acvp_get_max(&o_len, def_dep->name); acvp_get_max(&p_len, def_dep->proc_name); } /* Check if we find another module definition. */ def = acvp_find_def(search, def); } /* Printing data */ fprintf(stderr, "%*s | %*s | %*s | %*s | %*s | %5s\n", v_len, "Vendor Name", o_len, "OE", p_len, "Proc", m_len, "Module Name", mv_len, "Version", "vsIDs"); def = acvp_find_def(search, NULL); if (!def) { logger(LOGGER_WARN, LOGGER_C_ANY, "No cipher implementation found for search criteria\n"); return -EINVAL; } while (def) { const struct def_info *mod_info = def->info; const struct def_vendor *vendor = def->vendor; const struct def_oe *oe = def->oe; const struct def_dependency *def_dep; bool found = false; //%*s | %*s | %*s | %*s | %5u\n", fprintf(stderr, "%*s |", v_len, vendor->vendor_name); for (def_dep = oe->def_dep; def_dep; def_dep = def_dep->next) { if (def_dep->name) { if (found) fprintf(stderr, " +"); fprintf(stderr, " %*s", o_len, def_dep->name); found = true; } } if (found) fprintf(stderr, " | "); else fprintf(stderr, " %*s |", o_len, ""); found = false; for (def_dep = oe->def_dep; def_dep; def_dep = def_dep->next) { if (def_dep->proc_name) { if (found) fprintf(stderr, " + "); fprintf(stderr, "%*s", p_len, def_dep->proc_name); found = true; } } if (found) fprintf(stderr, " | "); else fprintf(stderr, "%*s | ", p_len, ""); fprintf(stderr, "%*s | %*s | %5u\n", m_len, mod_info->module_name, mv_len, mod_info->module_version, def->num_algos); vsid += def->num_algos; /* Check if we find another module definition. */ def = acvp_find_def(search, def); } v_len += o_len + p_len + m_len + mv_len + 15 + 5; if (v_len < 0) v_len = 20; if (v_len > (int)sizeof(bottomline)) v_len = sizeof(bottomline) - 1; memset(bottomline, 61, (unsigned long)v_len); bottomline[v_len] = '\0'; fprintf(stderr, "%s\n", bottomline); fprintf(stderr, "Expected numbers of vsIDs for listed definitions: %u\n", vsid); return 0; } void acvp_def_free_info(struct def_info *info) { ACVP_PTR_FREE_NULL(info->module_name); ACVP_PTR_FREE_NULL(info->impl_name); ACVP_PTR_FREE_NULL(info->impl_description); ACVP_PTR_FREE_NULL(info->orig_module_name); ACVP_PTR_FREE_NULL(info->module_name_filesafe); ACVP_PTR_FREE_NULL(info->module_name_internal); ACVP_PTR_FREE_NULL(info->module_version); ACVP_PTR_FREE_NULL(info->module_version_filesafe); ACVP_PTR_FREE_NULL(info->module_description); ACVP_PTR_FREE_NULL(info->def_module_file); acvp_def_put_lock(info->def_lock); } static void acvp_def_del_info(struct definition *def) { struct def_info *info; if (!def || !def->info) return; info = def->info; acvp_def_free_info(info); ACVP_PTR_FREE_NULL(def->info); } void acvp_def_free_vendor(struct def_vendor *vendor) { ACVP_PTR_FREE_NULL(vendor->vendor_name); ACVP_PTR_FREE_NULL(vendor->vendor_name_filesafe); ACVP_PTR_FREE_NULL(vendor->vendor_url); ACVP_PTR_FREE_NULL(vendor->contact_name); ACVP_PTR_FREE_NULL(vendor->contact_email); ACVP_PTR_FREE_NULL(vendor->contact_phone); ACVP_PTR_FREE_NULL(vendor->addr_street); ACVP_PTR_FREE_NULL(vendor->addr_locality); ACVP_PTR_FREE_NULL(vendor->addr_region); ACVP_PTR_FREE_NULL(vendor->addr_country); ACVP_PTR_FREE_NULL(vendor->addr_zipcode); ACVP_PTR_FREE_NULL(vendor->def_vendor_file); acvp_def_put_lock(vendor->def_lock); } static void acvp_def_del_vendor(struct definition *def) { struct def_vendor *vendor; if (!def || !def->vendor) return; vendor = def->vendor; acvp_def_free_vendor(vendor); ACVP_PTR_FREE_NULL(def->vendor); } static void acvp_def_free_dep(struct def_oe *oe) { struct def_dependency *def_dep; if (!oe) return; def_dep = oe->def_dep; while (def_dep) { struct def_dependency *tmp = def_dep; ACVP_PTR_FREE_NULL(def_dep->name); ACVP_PTR_FREE_NULL(def_dep->cpe); ACVP_PTR_FREE_NULL(def_dep->swid); ACVP_PTR_FREE_NULL(def_dep->description); ACVP_PTR_FREE_NULL(def_dep->manufacturer); ACVP_PTR_FREE_NULL(def_dep->proc_family); ACVP_PTR_FREE_NULL(def_dep->proc_family_internal); ACVP_PTR_FREE_NULL(def_dep->proc_name); ACVP_PTR_FREE_NULL(def_dep->proc_series); def_dep = def_dep->next; free(tmp); } } void acvp_def_free_oe(struct def_oe *oe) { if (!oe) return; acvp_def_free_dep(oe); ACVP_PTR_FREE_NULL(oe->def_oe_file); acvp_def_put_lock(oe->def_lock); } static void acvp_def_del_oe(struct definition *def) { struct def_oe *oe; if (!def || !def->oe) return; oe = def->oe; acvp_def_free_oe(oe); ACVP_PTR_FREE_NULL(def->oe); } static void acvp_def_del_deps(struct definition *def) { struct def_deps *deps; if (!def || !def->deps) return; deps = def->deps; while (deps) { struct def_deps *tmp = deps->next; ACVP_PTR_FREE_NULL(deps->dep_cipher); ACVP_PTR_FREE_NULL(deps->dep_name); ACVP_PTR_FREE_NULL(deps); /* * deps->dependency is freed by the deallocation of the * definition. */ deps = tmp; } } int acvp_def_module_name(char **newname, const char *module_name, const char *impl_name) { char *tmp; int ret = 0; if (impl_name) { size_t len = strlen(module_name) + strlen(impl_name) + 4; tmp = malloc(len); CKNULL(tmp, -ENOMEM); snprintf(tmp, len, "%s (%s)", module_name, impl_name); } else { tmp = strdup(module_name); CKNULL(tmp, -ENOMEM); } *newname = tmp; out: if (ret) free(tmp); return ret; } static int acvp_def_add_info(struct definition *def, const struct def_info *src, const char *impl_name, const char *impl_description) { struct def_info *info; int ret = 0; CKNULL_LOG(def, -EINVAL, "Definition context missing\n"); info = calloc(1, sizeof(*info)); CKNULL(info, -ENOMEM); def->info = info; CKINT(acvp_def_module_name(&info->module_name, src->module_name, impl_name)); CKINT(acvp_duplicate(&info->impl_name, impl_name)); CKINT(acvp_duplicate(&info->impl_description, impl_description)); CKINT(acvp_duplicate(&info->orig_module_name, src->module_name)); CKINT(acvp_duplicate(&info->module_name_filesafe, info->module_name)); CKINT(acvp_sanitize_string(info->module_name_filesafe)); CKINT(acvp_duplicate(&info->module_name_internal, info->module_name_internal)); CKINT(acvp_duplicate(&info->module_version, src->module_version)); CKINT(acvp_duplicate(&info->module_version_filesafe, info->module_version)); CKINT(acvp_sanitize_string(info->module_version_filesafe)); CKINT(acvp_duplicate(&info->module_description, src->module_description)); info->module_type = src->module_type; CKINT(acvp_duplicate(&info->def_module_file, src->def_module_file)); /* Use a global lock for all module definitions */ info->def_lock = src->def_lock; acvp_def_get_lock(info->def_lock); /* We do not read the module ID here. */ out: if (ret) acvp_def_del_info(def); return ret; } static int acvp_def_add_vendor(struct definition *def, const struct def_vendor *src) { struct def_vendor *vendor; int ret = 0; CKNULL_LOG(def, -EINVAL, "Definition context missing\n"); vendor = calloc(1, sizeof(*vendor)); CKNULL(vendor, -ENOMEM); def->vendor = vendor; CKINT(acvp_duplicate(&vendor->vendor_name, src->vendor_name)); CKINT(acvp_duplicate(&vendor->vendor_name_filesafe, src->vendor_name)); CKINT(acvp_sanitize_string(vendor->vendor_name_filesafe)); CKINT(acvp_duplicate(&vendor->vendor_url, src->vendor_url)); CKINT(acvp_duplicate(&vendor->contact_name, src->contact_name)); CKINT(acvp_duplicate(&vendor->contact_email, src->contact_email)); CKINT(acvp_duplicate(&vendor->contact_phone, src->contact_phone)); CKINT(acvp_duplicate(&vendor->addr_street, src->addr_street)); CKINT(acvp_duplicate(&vendor->addr_locality, src->addr_locality)); CKINT(acvp_duplicate(&vendor->addr_region, src->addr_region)); CKINT(acvp_duplicate(&vendor->addr_country, src->addr_country)); CKINT(acvp_duplicate(&vendor->addr_zipcode, src->addr_zipcode)); CKINT(acvp_duplicate(&vendor->def_vendor_file, src->def_vendor_file)); /* Use a global lock for all vendor definitions */ vendor->def_lock = src->def_lock; acvp_def_get_lock(vendor->def_lock); out: if (ret) acvp_def_del_vendor(def); return ret; } static int acvp_def_add_dep(struct def_oe *oe, const struct def_dependency *src) { struct def_dependency *def_dep; int ret; CKNULL_LOG(oe, -EINVAL, "Definition context missing\n"); def_dep = calloc(1, sizeof(*def_dep)); CKNULL(def_dep, -ENOMEM); /* Append to the end */ if (!oe->def_dep) { oe->def_dep = def_dep; } else { struct def_dependency *tmp; for (tmp = oe->def_dep; tmp; tmp = tmp->next) { if (!tmp->next) { tmp->next = def_dep; break; } } } CKINT(acvp_duplicate(&def_dep->name, src->name)); CKINT(acvp_duplicate(&def_dep->cpe, src->cpe)); CKINT(acvp_duplicate(&def_dep->swid, src->swid)); CKINT(acvp_duplicate(&def_dep->description, src->description)); CKINT(acvp_duplicate(&def_dep->manufacturer, src->manufacturer)); CKINT(acvp_duplicate(&def_dep->proc_family, src->proc_family)); CKINT(acvp_duplicate(&def_dep->proc_family_internal, src->proc_family_internal)); CKINT(acvp_duplicate(&def_dep->proc_name, src->proc_name)); CKINT(acvp_duplicate(&def_dep->proc_series, src->proc_series)); def_dep->features = src->features; def_dep->acvp_dep_id = src->acvp_dep_id; def_dep->def_dependency_type = src->def_dependency_type; out: return ret; } static int acvp_def_add_oe(struct definition *def, const struct def_oe *src) { struct def_oe *oe; struct def_dependency *def_dep; int ret = 0; CKNULL_LOG(def, -EINVAL, "Definition context missing\n"); oe = calloc(1, sizeof(*oe)); CKNULL(oe, -ENOMEM); def->oe = oe; CKINT(acvp_duplicate(&oe->def_oe_file, src->def_oe_file)); oe->acvp_oe_id = src->acvp_oe_id; oe->config_file_version = src->config_file_version; for (def_dep = src->def_dep; def_dep; def_dep = def_dep->next) { CKINT(acvp_def_add_dep(oe, def_dep)); } /* Use a global lock for all OE definitions */ oe->def_lock = src->def_lock; acvp_def_get_lock(oe->def_lock); out: if (ret) acvp_def_del_oe(def); return ret; } static int acvp_def_add_deps(struct definition *def, const struct json_object *json_deps, const enum acvp_deps_type dep_type) { const struct def_info *info; struct def_deps *deps; struct json_object *my_dep; struct json_object_iter one_dep; int ret; CKNULL_LOG(def, -EINVAL, "Definition context missing\n"); if (!json_deps) { logger(LOGGER_DEBUG, LOGGER_C_ANY, "No dependency definition found\n"); ret = 0; goto out; } deps = def->deps; info = def->info; CKNULL_LOG(info, -EINVAL, "Module meta data missing\n"); CKNULL(info->impl_name, 0); /* Try finding the dependency for our definition */ ret = json_find_key(json_deps, info->impl_name, &my_dep, json_type_object); if (ret) { /* Not found, skipping further processing */ ret = 0; goto out; } /* Iterate over the one or more entries found in the configuration */ json_object_object_foreachC(my_dep, one_dep) { /* Allocate a linked-list entry for the definition */ if (deps) { /* fast-forward to the end */ while (deps->next) deps = deps->next; deps->next = calloc(1, sizeof(*deps)); CKNULL(deps->next, -ENOMEM); deps = deps->next; } else { /* First entry */ deps = calloc(1, sizeof(*deps)); CKNULL(deps, -ENOMEM); def->deps = deps; } /* * The key is the cipher name for which the dependency is * used. */ CKINT(acvp_duplicate(&deps->dep_cipher, one_dep.key)); /* * The value is the pointer to the impl_name fulfilling the * dependency. */ CKINT(acvp_duplicate(&deps->dep_name, json_object_get_string(one_dep.val))); /* Store the type of the defintion */ deps->deps_type = dep_type; logger(LOGGER_DEBUG, LOGGER_C_ANY, "Initiate dependency for %s: type %s -> %s\n", info->impl_name, deps->dep_cipher, deps->dep_name); } out: return ret; } /* * Fill in the def_deps->dependency pointers * * The code iterates through the dependency linked list and tries to find * the definition matching the impl_name defined by the dependency. If a * match is found, the pointer to the definition is added to the dependency * for later immediate resolution. */ static int acvp_def_wire_deps(void) { struct definition *curr_def; int ret = 0; mutex_lock(&def_mutex); if (!def_head) goto out; /* Iterate through the linked list of the registered definitions. */ for (curr_def = def_head; curr_def != NULL; curr_def = curr_def->next) { const struct def_vendor *vendor; const struct def_oe *oe; const struct def_info *curr_info; const struct def_dependency *def_dep; struct def_deps *deps; struct acvp_search_ctx search; if (!curr_def->deps) continue; vendor = curr_def->vendor; oe = curr_def->oe; curr_info = curr_def->info; /* Make sure that the dependency definition has the same OE. */ memset(&search, 0, sizeof(search)); search.orig_modulename = curr_info->orig_module_name; search.moduleversion = curr_info->module_version; search.vendorname = vendor->vendor_name; for (def_dep = oe->def_dep; def_dep; def_dep = def_dep->next) { if (def_dep->name) { search.execenv = def_dep->name; break; } } for (def_dep = oe->def_dep; def_dep; def_dep = def_dep->next) { if (def_dep->proc_name) { search.processor = def_dep->proc_name; break; } } /* Iterate through the dependencies */ for (deps = curr_def->deps; deps != NULL; deps = deps->next) { struct definition *s_def; /* * We have an external certificate reference. The user * requested a manual dependency handling for this * entry, we do not resolve anything. */ if (deps->deps_type == acvp_deps_manual_resolution) continue; /* * Search through all definitions for a match of the * impl_name. */ for (s_def = def_head; s_def != NULL; s_def = s_def->next) { struct def_info *info = s_def->info; CKNULL(info, -EFAULT); /* * We allow a fuzzy search. The reason is that * a dependency can be matched by any * implementation as long as it is tested. * For example, if we have a Hash DRBG which * depends on SHA, it does not matter whether * the dependency is covered by a SHA C * implementation or by a SHA assembler */ if (!acvp_find_match(deps->dep_name, info->impl_name, true)) continue; /* We do not allow references to ourselves */ if (s_def == curr_def) continue; /* * Make sure that the dependency applies to our * environment. */ if (acvp_match_def_search(&search, s_def)) continue; /* We found a match, wire it up */ deps->dependency = s_def; logger(LOGGER_DEBUG, LOGGER_C_ANY, "Found dependency for %s: type %s -> %s (vendor name: %s, OE %s, processor %s)\n", curr_info->impl_name, deps->dep_cipher, info->impl_name, search.vendorname, search.execenv, search.processor); /* * One match is sufficient. As we have a fuzzy * search criteria above, we may find multiple * matches. */ break; } /* * If we did not find anything, the references are * wrong */ CKNULL_LOG( deps->dependency, -EINVAL, "Unmatched dependency for %s: type %s -> %s (vendor name: %s, OE %s, processor %s)\n", curr_info->impl_name, deps->dep_cipher, deps->dep_name, search.vendorname, search.execenv, search.processor); } } out: mutex_unlock(&def_mutex); return ret; } static int acvp_def_init(struct definition **def_out, const struct def_algo_map *map) { struct definition *def; int ret = 0; def = calloc(1, sizeof(*def)); CKNULL(def, -ENOMEM); if (map) { def->algos = map->algos; def->num_algos = map->num_algos; } *def_out = def; out: if (ret && def) free(def); return ret; } static void acvp_def_release(struct definition *def) { if (!def) return; acvp_def_del_oe(def); acvp_def_del_vendor(def); acvp_def_del_info(def); acvp_def_del_deps(def); esvp_def_es_free(def->es); free(def); } void acvp_def_release_all(void) { struct definition *def = NULL; mutex_lock(&def_mutex); if (!def_head) goto out; def = def_head; while (def) { struct definition *curr = def; def = def->next; acvp_def_release(curr); } def_head = NULL; out: mutex_unlock(&def_mutex); return; } static int acvp_def_write_json(struct json_object *config, const char *pathname) { int ret, fd; mutex_lock(&def_file_access_mutex); fd = open(pathname, O_WRONLY | O_TRUNC); if (fd < 0) return -errno; ret = json_object_to_fd(fd, config, JSON_C_TO_STRING_PRETTY | JSON_C_TO_STRING_NOSLASHESCAPE); close(fd); mutex_unlock(&def_file_access_mutex); return ret; } static int acvp_def_read_json(struct json_object **config, const char *pathname) { struct json_object *filecontent; int ret = 0, fd; mutex_reader_lock(&def_file_access_mutex); fd = open(pathname, O_RDONLY); if (fd < 0) return -errno; filecontent = json_object_from_fd(fd); close(fd); CKNULL(filecontent, -EFAULT); *config = filecontent; out: mutex_reader_unlock(&def_file_access_mutex); return ret; } static int acvp_def_set_value(struct json_object *json, const char *name, const uint32_t id, bool *set) { struct json_object *val; uint32_t tmp; int ret; ret = json_find_key(json, name, &val, json_type_int); if (ret) { /* No addition of entry if it was rejected */ if (id & ACVP_REQUEST_REJECTED) return 0; json_object_object_add(json, name, json_object_new_int((int)id)); *set = true; return 0; } /* Delete entry */ if (id & ACVP_REQUEST_REJECTED) { logger(LOGGER_VERBOSE, LOGGER_C_ANY, "Removing ID entry for %s\n", name); json_object_object_del(json, name); return 0; } tmp = (uint32_t)json_object_get_int(val); if (tmp >= INT_MAX) return -EINVAL; if (tmp != id) { json_object_set_int(val, (int)id); *set = true; } return 0; } struct acvp_def_update_id_entry { const char *name; uint32_t id; }; static int acvp_def_update_id(const char *pathname, const struct acvp_def_update_id_entry *list, const uint32_t list_entries) { struct json_object *config = NULL; unsigned int i; int ret = 0; bool updated = false; CKNULL(pathname, -EINVAL); CKINT_LOG(acvp_def_read_json(&config, pathname), "Cannot parse config file %s\n", pathname); for (i = 0; i < list_entries; i++) { if (!list[i].name) continue; logger(LOGGER_VERBOSE, LOGGER_C_ANY, "Updating entry %s with %u\n", list[i].name, list[i].id); CKINT(acvp_def_set_value(config, list[i].name, list[i].id, &updated)); } if (updated) CKINT(acvp_def_write_json(config, pathname)); out: ACVP_JSON_PUT_NULL(config); return ret; } static int acvp_def_set_str(struct json_object *json, const char *name, const char *str, bool *set) { struct json_object *val; int ret; if (!name) return -EINVAL; /* We may have a string or NULL */ ret = json_find_key(json, name, &val, json_type_string); if (ret) ret = json_find_key(json, name, &val, json_type_null); /* Create a new entry */ if (ret) { /* Do not create a NULL entry */ if (!str) return 0; json_object_object_add(json, name, json_object_new_string(str)); *set = true; return 0; } /* Update existing entry to NULL */ if (!str) { /* We do not need updating as the entry is already NULL */ if (json_object_is_type(val, json_type_null)) return 0; json_object_object_del(json, name); json_object_object_add(json, name, NULL); *set = true; return 0; } /* Update existing entry if it does not match */ if (!acvp_find_match(str, json_object_get_string(val), false)) { json_object_set_string(val, str); *set = true; } return 0; } struct acvp_def_update_string_entry { const char *name; const char *str; }; static int acvp_def_update_str(const char *pathname, const struct acvp_def_update_string_entry *list, const uint32_t list_entries) { struct json_object *config = NULL; unsigned int i; int ret = 0; bool updated = false; CKNULL(pathname, -EINVAL); CKINT_LOG(acvp_def_read_json(&config, pathname), "Cannot parse config file %s\n", pathname); for (i = 0; i < list_entries; i++) { if (!list[i].name) continue; logger(LOGGER_VERBOSE, LOGGER_C_ANY, "Updating entry %s with %s\n", list[i].name, list[i].str); CKINT(acvp_def_set_str(config, list[i].name, list[i].str, &updated)); } if (updated) CKINT(acvp_def_write_json(config, pathname)); out: return ret; } static void acvp_def_read_vendor_id(const struct json_object *vendor_config, struct def_vendor *def_vendor) { /* * No error handling - in case we cannot find entry, it will be * created. */ json_get_uint(vendor_config, ACVP_DEF_PRODUCTION_ID("acvpVendorId"), &def_vendor->acvp_vendor_id); json_get_uint(vendor_config, ACVP_DEF_PRODUCTION_ID("acvpAddressId"), &def_vendor->acvp_addr_id); } int acvp_def_get_vendor_id(struct def_vendor *def_vendor) { struct json_object *vendor_config = NULL; int ret = 0; acvp_def_lock_lock(def_vendor->def_lock); CKINT_LOG(acvp_def_read_json(&vendor_config, def_vendor->def_vendor_file), "Cannot parse vendor information config file %s\n", def_vendor->def_vendor_file); acvp_def_read_vendor_id(vendor_config, def_vendor); out: if (ret) acvp_def_lock_unlock(def_vendor->def_lock); ACVP_JSON_PUT_NULL(vendor_config); return ret; } static int acvp_def_update_vendor_id(const struct def_vendor *def_vendor) { struct acvp_def_update_id_entry list[2]; list[0].name = ACVP_DEF_PRODUCTION_ID("acvpVendorId"); list[0].id = def_vendor->acvp_vendor_id; list[1].name = ACVP_DEF_PRODUCTION_ID("acvpAddressId"); list[1].id = def_vendor->acvp_addr_id; return acvp_def_update_id(def_vendor->def_vendor_file, list, 2); } int acvp_def_put_vendor_id(const struct def_vendor *def_vendor) { int ret; if (!def_vendor) return 0; CKINT(acvp_def_update_vendor_id(def_vendor)); acvp_def_lock_unlock(def_vendor->def_lock); out: return ret; } static void acvp_def_read_person_id(const struct json_object *vendor_config, struct def_vendor *def_vendor) { /* * No error handling - in case we cannot find entry, it will be * created. */ json_get_uint(vendor_config, ACVP_DEF_PRODUCTION_ID("acvpPersonId"), &def_vendor->acvp_person_id); } int acvp_def_get_person_id(struct def_vendor *def_vendor) { struct json_object *vendor_config = NULL; int ret = 0; acvp_def_lock_lock(def_vendor->def_lock); CKINT_LOG(acvp_def_read_json(&vendor_config, def_vendor->def_vendor_file), "Cannot parse vendor information config file %s\n", def_vendor->def_vendor_file); /* Person ID depends on vendor ID and thus we read it. */ acvp_def_read_vendor_id(vendor_config, def_vendor); acvp_def_read_person_id(vendor_config, def_vendor); out: if (ret) acvp_def_lock_unlock(def_vendor->def_lock); ACVP_JSON_PUT_NULL(vendor_config); return ret; } static int acvp_def_update_person_id(const struct def_vendor *def_vendor) { struct acvp_def_update_id_entry list; list.name = ACVP_DEF_PRODUCTION_ID("acvpPersonId"); list.id = def_vendor->acvp_person_id; return acvp_def_update_id(def_vendor->def_vendor_file, &list, 1); } int acvp_def_put_person_id(const struct def_vendor *def_vendor) { int ret; if (!def_vendor) return 0; CKINT(acvp_def_update_person_id(def_vendor)); acvp_def_lock_unlock(def_vendor->def_lock); out: return ret; } static void acvp_def_read_oe_id_v1(const struct json_object *oe_config, struct def_oe *def_oe) { struct def_dependency *def_dep; json_get_uint(oe_config, ACVP_DEF_PRODUCTION_ID("acvpOeId"), &def_oe->acvp_oe_id); for (def_dep = def_oe->def_dep; def_dep; def_dep = def_dep->next) { switch (def_dep->def_dependency_type) { case def_dependency_firmware: case def_dependency_os: case def_dependency_software: json_get_uint(oe_config, ACVP_DEF_PRODUCTION_ID("acvpOeDepSwId"), &def_dep->acvp_dep_id); break; case def_dependency_hardware: json_get_uint(oe_config, ACVP_DEF_PRODUCTION_ID("acvpOeDepProcId"), &def_dep->acvp_dep_id); break; default: logger(LOGGER_ERR, LOGGER_C_ANY, "Unknown OE dependency type\n"); return; } } } static int acvp_def_oe_config_get_deps(const struct def_oe *def_oe, const struct json_object *config, struct json_object **dep_array_out) { struct json_object *dep_array; struct def_dependency *def_dep; unsigned int i = 0; int ret; CKINT(json_find_key(config, "oeDependencies", &dep_array, json_type_array)); /* * The following loop implicitly assumes that the order of the entries * in the in-memory linked list are identical to the order of the * entries in the JSON array found in the configuration file. */ for (def_dep = def_oe->def_dep; def_dep; def_dep = def_dep->next) i++; if (i != json_object_array_length(dep_array)) { logger(LOGGER_ERR, LOGGER_C_ANY, "JSON configuration file %s inconsistent with in-memory representation of the file read during startup\n", def_oe->def_oe_file); ret = -EFAULT; goto out; } *dep_array_out = dep_array; out: return ret; } static void acvp_def_read_oe_id_v2(struct json_object *oe_config, struct def_oe *def_oe) { struct json_object *dep_array; struct def_dependency *def_dep; unsigned int i = 0; if (acvp_def_oe_config_get_deps(def_oe, oe_config, &dep_array)) return; json_get_uint(oe_config, ACVP_DEF_PRODUCTION_ID("acvpId"), &def_oe->acvp_oe_id); /* * Iterate over configuration file dependency array and in-memory * dependency definition in unison. */ for (def_dep = def_oe->def_dep, i = 0; def_dep && (i < json_object_array_length(dep_array)); def_dep = def_dep->next, i++) { struct json_object *dep_entry = json_object_array_get_idx(dep_array, i); if (!dep_entry) continue; json_get_uint(dep_entry, ACVP_DEF_PRODUCTION_ID("acvpId"), &def_dep->acvp_dep_id); } } int acvp_def_get_oe_id(struct def_oe *def_oe) { struct json_object *oe_config = NULL; int ret = 0; if (!def_oe) return 0; acvp_def_lock_lock(def_oe->def_lock); CKINT_LOG(acvp_def_read_json(&oe_config, def_oe->def_oe_file), "Cannot parse operational environment config file %s\n", def_oe->def_oe_file); /* * No error handling - in case we cannot find entry, it will be * created. */ switch (def_oe->config_file_version) { case 0: case 1: acvp_def_read_oe_id_v1(oe_config, def_oe); break; case 2: acvp_def_read_oe_id_v2(oe_config, def_oe); break; default: logger(LOGGER_ERR, LOGGER_C_ANY, "Unknown OE configuration file version %u\n", def_oe->config_file_version); ret = -EFAULT; goto out; } out: if (ret) acvp_def_lock_unlock(def_oe->def_lock); ACVP_JSON_PUT_NULL(oe_config); return ret; } static int acvp_def_update_oe_id_v1(const struct def_oe *def_oe) { struct acvp_def_update_id_entry list[3]; struct def_dependency *def_dep; list[0].name = ACVP_DEF_PRODUCTION_ID("acvpOeId"); list[0].id = def_oe->acvp_oe_id; list[1].name = ACVP_DEF_PRODUCTION_ID("acvpOeDepProcId"); list[1].id = 0; list[2].name = ACVP_DEF_PRODUCTION_ID("acvpOeDepSwId"); list[2].id = 0; for (def_dep = def_oe->def_dep; def_dep; def_dep = def_dep->next) { switch (def_dep->def_dependency_type) { case def_dependency_firmware: case def_dependency_os: case def_dependency_software: list[2].id = def_dep->acvp_dep_id; break; case def_dependency_hardware: list[1].id = def_dep->acvp_dep_id; break; default: logger(LOGGER_ERR, LOGGER_C_ANY, "Unknown OE dependency type\n"); return -EFAULT; } } return acvp_def_update_id(def_oe->def_oe_file, list, 3); } static int acvp_def_update_oe_id_v2(const struct def_oe *def_oe) { struct json_object *config = NULL, *dep_array; struct def_dependency *def_dep; unsigned int i = 0; int ret = 0; bool updated = false; CKINT_LOG(acvp_def_read_json(&config, def_oe->def_oe_file), "Cannot parse config file %s\n", def_oe->def_oe_file); CKINT(acvp_def_oe_config_get_deps(def_oe, config, &dep_array)); CKINT(acvp_def_set_value(config, ACVP_DEF_PRODUCTION_ID("acvpId"), def_oe->acvp_oe_id, &updated)); /* * Iterate over configuration file dependency array and in-memory * dependency definition in unison. */ for (def_dep = def_oe->def_dep, i = 0; def_dep && (i < json_object_array_length(dep_array)); def_dep = def_dep->next, i++) { struct json_object *dep_entry = json_object_array_get_idx(dep_array, i); CKNULL(dep_entry, -EINVAL); CKINT(acvp_def_set_value(dep_entry, ACVP_DEF_PRODUCTION_ID("acvpId"), def_dep->acvp_dep_id, &updated)); } if (updated) CKINT(acvp_def_write_json(config, def_oe->def_oe_file)); out: ACVP_JSON_PUT_NULL(config); return ret; } int acvp_def_put_oe_id(const struct def_oe *def_oe) { int ret; if (!def_oe) return 0; switch (def_oe->config_file_version) { case 0: case 1: CKINT(acvp_def_update_oe_id_v1(def_oe)); break; case 2: CKINT(acvp_def_update_oe_id_v2(def_oe)); break; default: logger(LOGGER_ERR, LOGGER_C_ANY, "Unknown OE configuration file version %u\n", def_oe->config_file_version); ret = -EFAULT; goto out; } acvp_def_lock_unlock(def_oe->def_lock); out: return ret; } static int acvp_def_update_oe_config_v1(const struct def_oe *def_oe) { struct acvp_def_update_string_entry str_list[7]; struct def_dependency *def_dep; int ret; str_list[0].name = "oeEnvName"; str_list[0].str = NULL; str_list[1].name = "cpe"; str_list[1].str = NULL; str_list[2].name = "swid"; str_list[2].str = NULL; str_list[3].name = "manufacturer"; str_list[3].str = NULL; str_list[4].name = "procFamily"; str_list[4].str = NULL; str_list[5].name = "procName"; str_list[5].str = NULL; str_list[6].name = "procSeries"; str_list[6].str = NULL; for (def_dep = def_oe->def_dep; def_dep; def_dep = def_dep->next) { switch (def_dep->def_dependency_type) { case def_dependency_firmware: case def_dependency_os: case def_dependency_software: str_list[0].str = def_dep->name; str_list[1].str = def_dep->cpe; str_list[2].str = def_dep->swid; break; case def_dependency_hardware: str_list[3].str = def_dep->manufacturer; str_list[4].str = def_dep->proc_family; str_list[5].str = def_dep->proc_name; str_list[6].str = def_dep->proc_series; break; default: logger(LOGGER_ERR, LOGGER_C_ANY, "Unknown OE dependency type\n"); return -EFAULT; } } acvp_def_lock_lock(def_oe->def_lock); ret = acvp_def_update_str(def_oe->def_oe_file, str_list, ARRAY_SIZE(str_list)); acvp_def_lock_unlock(def_oe->def_lock); return ret; } static int acvp_def_update_oe_config_v2(const struct def_oe *def_oe) { struct json_object *config = NULL, *dep_array; struct def_dependency *def_dep; unsigned int i = 0; int ret = 0; bool updated = false; acvp_def_lock_lock(def_oe->def_lock); CKINT_LOG(acvp_def_read_json(&config, def_oe->def_oe_file), "Cannot parse config file %s\n", def_oe->def_oe_file); CKINT(acvp_def_oe_config_get_deps(def_oe, config, &dep_array)); /* * Iterate over configuration file dependency array and in-memory * dependency definition in unison. */ for (def_dep = def_oe->def_dep, i = 0; def_dep && (i < json_object_array_length(dep_array)); def_dep = def_dep->next, i++) { struct json_object *dep_entry = json_object_array_get_idx(dep_array, i); CKNULL(dep_entry, -EINVAL); switch (def_dep->def_dependency_type) { case def_dependency_firmware: case def_dependency_os: case def_dependency_software: CKINT(acvp_def_set_str(dep_entry, "oeEnvName", def_dep->name, &updated)); CKINT(acvp_def_set_str(dep_entry, "cpe", def_dep->cpe, &updated)); CKINT(acvp_def_set_str(dep_entry, "swid", def_dep->swid, &updated)); break; case def_dependency_hardware: CKINT(acvp_def_set_str(dep_entry, "manufacturer", def_dep->manufacturer, &updated)); CKINT(acvp_def_set_str(dep_entry, "procFamily", def_dep->proc_family, &updated)); CKINT(acvp_def_set_str(dep_entry, "procName", def_dep->proc_name, &updated)); CKINT(acvp_def_set_str(dep_entry, "procSeries", def_dep->proc_series, &updated)); break; default: logger(LOGGER_ERR, LOGGER_C_ANY, "Unknown OE dependency type\n"); ret = -EFAULT; goto out; } } if (updated) CKINT(acvp_def_write_json(config, def_oe->def_oe_file)); out: acvp_def_lock_unlock(def_oe->def_lock); ACVP_JSON_PUT_NULL(config); return ret; } int acvp_def_update_oe_config(const struct def_oe *def_oe) { int ret; if (!def_oe) return 0; switch (def_oe->config_file_version) { case 0: case 1: CKINT(acvp_def_update_oe_config_v1(def_oe)); break; case 2: CKINT(acvp_def_update_oe_config_v2(def_oe)); break; default: logger(LOGGER_ERR, LOGGER_C_ANY, "Unknown OE configuration file version %u\n", def_oe->config_file_version); ret = -EFAULT; goto out; } out: return ret; } static int acvp_def_find_module_id(const struct def_info *def_info, const struct json_object *config, struct json_object **entry) { struct json_object *id_list, *id_entry = NULL; unsigned int i; int ret; bool found = false; CKINT(json_find_key(config, ACVP_DEF_PRODUCTION_ID("acvpModuleIds"), &id_list, json_type_array)); for (i = 0; i < json_object_array_length(id_list); i++) { const char *str; id_entry = json_object_array_get_idx(id_list, i); if (!id_entry) break; CKINT(json_get_string(id_entry, ACVP_DEF_PRODUCTION_ID("acvpModuleName"), &str)); if (strncmp(def_info->module_name, str, strlen(def_info->module_name))) continue; found = true; break; } if (found) { *entry = id_entry; } else { ret = -ENOENT; } out: return ret; } static int acvp_def_read_module_id(const struct def_info *def_info, uint32_t *id) { struct json_object *config = NULL; struct json_object *entry; int ret; CKINT_LOG(acvp_def_read_json(&config, def_info->def_module_file), "Cannot parse operational environment config file %s\n", def_info->def_module_file); CKINT(acvp_def_find_module_id(def_info, config, &entry)); CKINT(json_get_uint(entry, ACVP_DEF_PRODUCTION_ID("acvpModuleId"), id)); out: ACVP_JSON_PUT_NULL(config); return ret; } int acvp_def_get_module_id(struct def_info *def_info) { acvp_def_lock_lock(def_info->def_lock); /* * Return code not needed - if entry does not exist, * module id is zero. */ acvp_def_read_module_id(def_info, &def_info->acvp_module_id); /* * As each instantiated module has its own module ID, each * def_info instance manages its own private ID. Hence, we do not * need to keep the lock unlike for the other IDs. */ acvp_def_lock_unlock(def_info->def_lock); return 0; } static int acvp_def_update_module_id(const struct def_info *def_info) { struct json_object *config = NULL, *id_list, *id_entry; int ret = 0; bool updated = false; if (!def_info->module_name) return 0; CKINT_LOG(acvp_def_read_json(&config, def_info->def_module_file), "Cannot parse operational environment config file %s\n", def_info->def_module_file); ret = acvp_def_find_module_id(def_info, config, &id_entry); if (ret) { logger(LOGGER_VERBOSE, LOGGER_C_ANY, "Adding entry %s with %u\n", def_info->module_name, def_info->acvp_module_id); ret = json_find_key(config, ACVP_DEF_PRODUCTION_ID("acvpModuleIds"), &id_list, json_type_array); if (ret) { /* * entire array acvpModuleIds does not exist, * create it */ id_list = json_object_new_array(); CKNULL(id_list, -ENOMEM); CKINT(json_object_object_add( config, ACVP_DEF_PRODUCTION_ID("acvpModuleIds"), id_list)); } id_entry = json_object_new_object(); CKNULL(id_entry, -ENOMEM); CKINT(json_object_array_add(id_list, id_entry)); CKINT(json_object_object_add( id_entry, ACVP_DEF_PRODUCTION_ID("acvpModuleName"), json_object_new_string(def_info->module_name))); CKINT(json_object_object_add( id_entry, ACVP_DEF_PRODUCTION_ID("acvpModuleId"), json_object_new_int((int)def_info->acvp_module_id))); updated = true; } else { logger(LOGGER_VERBOSE, LOGGER_C_ANY, "Updating entry %s with %u\n", def_info->module_name, def_info->acvp_module_id); CKINT(acvp_def_set_value(id_entry, ACVP_DEF_PRODUCTION_ID("acvpModuleId"), def_info->acvp_module_id, &updated)); } if (updated) CKINT(acvp_def_write_json(config, def_info->def_module_file)); out: ACVP_JSON_PUT_NULL(config); return ret; } int acvp_def_put_module_id(struct def_info *def_info) { int ret; if (!def_info) return 0; acvp_def_lock_lock(def_info->def_lock); CKINT(acvp_def_update_module_id(def_info)); acvp_def_lock_unlock(def_info->def_lock); out: return ret; } int acvp_def_update_module_config(const struct def_info *def_info) { struct acvp_def_update_string_entry str_list[2]; int ret; str_list[0].name = "moduleName"; str_list[0].str = def_info->orig_module_name; str_list[1].name = "moduleVersion"; str_list[1].str = def_info->module_version; acvp_def_lock_lock(def_info->def_lock); ret = acvp_def_update_str(def_info->def_module_file, str_list, ARRAY_SIZE(str_list)); acvp_def_lock_unlock(def_info->def_lock); return ret; } static int acvp_check_features(const uint64_t feature) { unsigned int i; uint64_t allowed_features = 0; for (i = 0; i < ARRAY_SIZE(acvp_features); i++) { allowed_features |= acvp_features[i].feature; } if (feature > allowed_features) return -EINVAL; return 0; } static int acvp_def_load_deps(const struct json_object *config, struct definition *def) { struct json_object *deps_int = NULL, *deps_ext = NULL; int ret; /* Dependencies may not be defined */ json_find_key(config, "dependencies-internal", &deps_int, json_type_object); json_find_key(config, "dependencies-external", &deps_ext, json_type_object); /* First stage of dependencies */ CKINT(acvp_def_add_deps(def, deps_int, acvp_deps_automated_resolution)); CKINT(acvp_def_add_deps(def, deps_ext, acvp_deps_manual_resolution)); out: return ret; } static int acvp_def_load_config_dep_typed(const struct json_object *dep_entry, struct def_dependency *def_dep, const char **local_proc_family) { int ret; CKNULL(dep_entry, -EINVAL); switch (def_dep->def_dependency_type) { case def_dependency_firmware: case def_dependency_os: case def_dependency_software: ret = json_get_string(dep_entry, "oeEnvName", (const char **)&def_dep->name); if (ret < 0) { struct json_object *o = NULL; CKINT(json_find_key(dep_entry, "oeEnvName", &o, json_type_null)); def_dep->name = NULL; } /* * No error handling - one or more may not exist. */ json_get_string(dep_entry, "cpe", (const char **)&def_dep->cpe); json_get_string(dep_entry, "swid", (const char **)&def_dep->swid); json_get_string(dep_entry, "oe_description", (const char **)&def_dep->description); break; case def_dependency_hardware: CKINT(json_get_string(dep_entry, "manufacturer", (const char **)&def_dep->manufacturer)); CKINT(json_get_string(dep_entry, "procFamily", (const char **)&def_dep->proc_family)); /* This is an option */ json_get_string(dep_entry, "procFamilyInternal", (const char **)&def_dep->proc_family_internal); CKINT(json_get_string(dep_entry, "procName", (const char **)&def_dep->proc_name)); CKINT(json_get_string(dep_entry, "procSeries", (const char **)&def_dep->proc_series)); CKINT(json_get_uint(dep_entry, "features", (uint32_t *)&def_dep->features)); CKINT(acvp_check_features(def_dep->features)); *local_proc_family = def_dep->proc_family_internal ? def_dep->proc_family_internal : def_dep->proc_family; break; default: logger(LOGGER_ERR, LOGGER_C_ANY, "Unknown OE dependency type\n"); ret = -EFAULT; goto out; } out: return ret; } static int acvp_def_load_config_dep(struct json_object *dep_entry, struct def_dependency *def_dep, const char **local_proc_family) { const char *str; int ret; CKNULL(dep_entry, -EINVAL); CKINT(json_get_string(dep_entry, "dependencyType", &str)); CKINT_LOG(acvp_dep_name2type(str, &def_dep->def_dependency_type), "dependencyType %s is unknown\n", str); CKINT(acvp_def_load_config_dep_typed(dep_entry, def_dep, local_proc_family)); out: return ret; } static int acvp_def_load_config_oe(const struct json_object *oe_config, struct def_oe *oe, const char **local_proc_family) { struct def_dependency def_dep; struct json_object *dep_array; uint32_t type; int ret; CKINT(acvp_def_alloc_lock(&oe->def_lock)); /* Check whether we have old or new style configuration file */ ret = json_find_key(oe_config, "oeDependencies", &dep_array, json_type_array); if (!ret) { /* We have version 2 configuration file */ struct json_object *oe_name; unsigned int i; /* * Sanity check: if any of the following entries are found, * the user has a mix-n-match of v1 and v2 config files. */ if (!json_find_key(oe_config, "oeEnvName", &oe_name, json_type_string) || !json_find_key(oe_config, "oeEnvName", &oe_name, json_type_null) || !json_find_key(oe_config, "manufacturer", &oe_name, json_type_string)) goto v2_err; oe->config_file_version = 2; for (i = 0; i < json_object_array_length(dep_array); i++) { struct json_object *dep_entry = json_object_array_get_idx(dep_array, i); memset(&def_dep, 0, sizeof(def_dep)); CKINT_LOG( acvp_def_load_config_dep(dep_entry, &def_dep, local_proc_family), "Loading of dependency configuration %u failed\n", i); CKINT(acvp_def_add_dep(oe, &def_dep)); } goto out; } /* We have version 1 configuration file */ memset(&def_dep, 0, sizeof(def_dep)); /* Software dependency */ oe->config_file_version = 1; def_dep.def_dependency_type = def_dependency_software; CKINT(acvp_def_load_config_dep_typed(oe_config, &def_dep, local_proc_family)); ret = json_get_uint(oe_config, "envType", &type); /* Kludge for the old handling */ if (!ret && (type == 2)) def_dep.def_dependency_type = def_dependency_firmware; CKINT(acvp_def_add_dep(oe, &def_dep)); /* Processor dependency */ memset(&def_dep, 0, sizeof(def_dep)); def_dep.def_dependency_type = def_dependency_hardware; CKINT(acvp_def_load_config_dep_typed(oe_config, &def_dep, local_proc_family)); CKINT(acvp_def_add_dep(oe, &def_dep)); /* We do not read the dependency ID here */ #if 0 if (!oe.cpe && !oe.swid) { logger(LOGGER_ERR, LOGGER_C_ANY, "CPE or SWID missing\n"); ret = -EINVAL; goto out; } #endif /* We do not read the OE and dependency ID here */ out: return ret; v2_err: logger(LOGGER_ERR, LOGGER_C_ANY, "Mix-n-match of v1 and v2 style OE configuration not permissible\n"); ret = -EINVAL; goto out; } static int acvp_def_load_config_module(const struct json_object *info_config, struct def_info *info, const char **local_module_name) { int ret; CKINT(acvp_def_alloc_lock(&info->def_lock)); CKINT(json_get_string(info_config, "moduleName", (const char **)&info->module_name)); /* This is an option */ json_get_string(info_config, "moduleNameInternal", (const char **)&info->module_name_internal); CKINT(json_get_string(info_config, "moduleVersion", (const char **)&info->module_version)); CKINT(json_get_string(info_config, "moduleDescription", (const char **)&info->module_description)); ret = json_get_uint(info_config, "moduleType", (uint32_t *)&info->module_type); if (ret < 0) { const char *str; CKINT(json_get_string(info_config, "moduleType", &str)); CKINT(acvp_module_type_name_to_enum(str, &info->module_type)); } CKINT(acvp_module_oe_type(info->module_type, NULL)); /* Shall we use the internal name for the mapping lookup? */ *local_module_name = info->module_name_internal ? info->module_name_internal : info->module_name; /* We do not read the module ID here */ out: return ret; } static int acvp_def_load_config_vendor(const struct json_object *vendor_config, struct def_vendor *vendor) { int ret; CKINT(acvp_def_alloc_lock(&vendor->def_lock)); CKINT(json_get_string(vendor_config, "vendorName", (const char **)&vendor->vendor_name)); CKINT(json_get_string(vendor_config, "vendorUrl", (const char **)&vendor->vendor_url)); CKINT(json_get_string(vendor_config, "contactName", (const char **)&vendor->contact_name)); CKINT(json_get_string(vendor_config, "contactEmail", (const char **)&vendor->contact_email)); /* no error handling */ json_get_string(vendor_config, "contactPhone", (const char **)&vendor->contact_phone); CKINT(json_get_string(vendor_config, "addressStreet", (const char **)&vendor->addr_street)); CKINT(json_get_string(vendor_config, "addressCity", (const char **)&vendor->addr_locality)); ret = json_get_string(vendor_config, "addressState", (const char **)&vendor->addr_region); if (ret) vendor->addr_region = NULL; CKINT(json_get_string(vendor_config, "addressCountry", (const char **)&vendor->addr_country)); CKINT(json_get_string(vendor_config, "addressZip", (const char **)&vendor->addr_zipcode)); /* We do not read the vendor and person IDs here */ out: return ret; } static int acvp_def_load_config(const char *basedir, const char *oe_file, const char *vendor_file, const char *info_file, const char *impl_file) { struct json_object *oe_config = NULL, *vendor_config = NULL, *info_config = NULL, *impl_config = NULL, *impl_array = NULL; struct def_algo_map *map = NULL; struct definition *def = NULL; struct def_oe oe; struct def_info info; struct def_vendor vendor; const char *local_module_name, *local_proc_family = NULL; int ret; bool registered = false; memset(&oe, 0, sizeof(oe)); memset(&info, 0, sizeof(info)); memset(&vendor, 0, sizeof(vendor)); CKNULL_LOG( oe_file, -EINVAL, "No operational environment file name given for definition config\n"); CKNULL_LOG(vendor_file, -EINVAL, "No vendor file name given for definition config\n"); CKNULL_LOG( info_file, -EINVAL, "No module information file name given for definition config\n"); /* It is permissible to have a NULL impl_file */ logger(LOGGER_DEBUG, LOGGER_C_ANY, "Reading module definitions from %s, %s, %s, %s\n", oe_file, vendor_file, info_file, impl_file ? impl_file : "Implementation definition not provided"); /* Load OE configuration */ CKINT_LOG(acvp_def_read_json(&oe_config, oe_file), "Cannot parse operational environment config file %s\n", oe_file); CKINT_LOG(acvp_def_load_config_oe(oe_config, &oe, &local_proc_family), "Loading of OE configuration file %s failed\n", oe_file); if (!local_proc_family) local_proc_family = "unknown processor family"; /* Unconstify harmless, because data will be duplicated */ oe.def_oe_file = (char *)oe_file; /* Load module configuration */ CKINT_LOG(acvp_def_read_json(&info_config, info_file), "Cannot parse module information config file %s\n", info_file); CKINT_LOG(acvp_def_load_config_module(info_config, &info, &local_module_name), "Loading of module configuration file %s failed\n", info_file); /* Unconstify harmless, because data will be duplicated */ info.def_module_file = (char *)info_file; /* Load vendor configuration */ CKINT_LOG(acvp_def_read_json(&vendor_config, vendor_file), "Cannot parse vendor information config file %s\n", vendor_file); CKINT_LOG(acvp_def_load_config_vendor(vendor_config, &vendor), "Loading of vendor configuration file %s failed\n", vendor_file); /* Unconstify harmless, because data will be duplicated */ vendor.def_vendor_file = (char *)vendor_file; /* Allow an empty impl file, for example when we simply sync-meta */ if (impl_file) { CKINT_LOG(acvp_def_read_json(&impl_config, impl_file), "Cannot parse cipher implementations config file %s\n", impl_file); CKINT(json_find_key(impl_config, "implementations", &impl_array, json_type_array)); } mutex_lock(&def_uninstantiated_mutex); for (map = def_uninstantiated_head; map != NULL; map = map->next) { size_t i, found = 0; if (!impl_array) break; /* Ensure that configuration applies to map. */ if (strncmp(map->algo_name, local_module_name, strlen(map->algo_name)) || strncmp(map->processor, local_proc_family, strlen(map->processor))) continue; /* * Match one of the requested implementation * configurations. */ for (i = 0; i < json_object_array_length(impl_array); i++) { struct json_object *impl = json_object_array_get_idx(impl_array, i); const char *string; /* * If this loop executes, we have some registered * module definition eventually. Note, the registered * false setting is used for ESVP only where there is * no ACVP definition, but ESVP definition. */ registered = true; CKNULL(impl, EINVAL); string = json_object_get_string(impl); if (acvp_find_match(map->impl_name, string, false)) { found = 1; break; } } /* If no entry found, try the next map. */ if (!found) continue; /* Instantiate mapping into definition. */ logger(LOGGER_DEBUG, LOGGER_C_ANY, "Algorithm map for name %s, processor %s found\n", info.module_name, local_proc_family); CKINT_ULCK(acvp_def_init(&def, map)); CKINT_ULCK(acvp_def_add_oe(def, &oe)); CKINT_ULCK(acvp_def_add_vendor(def, &vendor)); CKINT_ULCK(acvp_def_add_info(def, &info, map->impl_name, map->impl_description)); CKINT_ULCK(esvp_def_config(basedir, &def->es)); /* First stage of dependencies */ CKINT_ULCK(acvp_def_load_deps(impl_config, def)); CKINT_ULCK(acvp_def_load_deps(oe_config, def)); CKINT_ULCK(acvp_def_load_deps(vendor_config, def)); CKINT_ULCK(acvp_def_load_deps(info_config, def)); def->uninstantiated_def = map; acvp_register_def(def); registered = true; } if (!registered) { logger(LOGGER_VERBOSE, LOGGER_C_ANY, "Register %s without cipher definition\n", info.module_name); CKINT_ULCK(acvp_def_init(&def, NULL)); CKINT_ULCK(acvp_def_add_oe(def, &oe)); CKINT_ULCK(acvp_def_add_vendor(def, &vendor)); CKINT_ULCK(acvp_def_add_info(def, &info, NULL, NULL)); CKINT_ULCK(esvp_def_config(basedir, &def->es)); /* First stage of dependencies */ CKINT_ULCK(acvp_def_load_deps(impl_config, def)); CKINT_ULCK(acvp_def_load_deps(oe_config, def)); CKINT_ULCK(acvp_def_load_deps(vendor_config, def)); CKINT_ULCK(acvp_def_load_deps(info_config, def)); acvp_register_def(def); } unlock: mutex_unlock(&def_uninstantiated_mutex); out: ACVP_JSON_PUT_NULL(oe_config); ACVP_JSON_PUT_NULL(vendor_config); ACVP_JSON_PUT_NULL(info_config); ACVP_JSON_PUT_NULL(impl_config); acvp_def_free_dep(&oe); /* * In error case, acvp_def_release will free the lock, in successful * case we need to check if the lock is used at all and free it if not. */ if (ret) { acvp_def_release(def); } else { acvp_def_dealloc_unused_lock(oe.def_lock); acvp_def_dealloc_unused_lock(vendor.def_lock); acvp_def_dealloc_unused_lock(info.def_lock); } return ret; } static int acvp_def_usable_dirent(const struct dirent *dirent) { return acvp_usable_dirent(dirent, ACVP_DEF_CONFIG_FILE_EXTENSION); } DSO_PUBLIC int acvp_def_config(const char *directory) { struct dirent *oe_dirent, *vendor_dirent, *info_dirent, *impl_dirent; DIR *oe_dir = NULL, *vendor_dir = NULL, *info_dir = NULL, *impl_dir = NULL; char oe_pathname[FILENAME_MAX - 257], vendor_pathname[FILENAME_MAX - 257], info_pathname[FILENAME_MAX - 257], impl_pathname[FILENAME_MAX - 257]; char oe[FILENAME_MAX], vendor[FILENAME_MAX], info[FILENAME_MAX], impl[FILENAME_MAX]; int ret = 0; CKNULL_LOG(directory, -EINVAL, "Configuration directory missing\n"); snprintf(oe_pathname, sizeof(oe_pathname) - 256, "%s/%s", directory, ACVP_DEF_DIR_OE); oe_dir = opendir(oe_pathname); CKNULL_LOG(oe_dir, -errno, "Failed to open directory %s\n", oe_pathname); snprintf(vendor_pathname, sizeof(vendor_pathname) - 256, "%s/%s", directory, ACVP_DEF_DIR_VENDOR); vendor_dir = opendir(vendor_pathname); CKNULL_LOG(vendor_dir, -errno, "Failed to open directory %s\n", vendor_pathname); snprintf(info_pathname, sizeof(info_pathname) - 256, "%s/%s", directory, ACVP_DEF_DIR_MODINFO); info_dir = opendir(info_pathname); CKNULL_LOG(info_dir, -errno, "Failed to open directory %s\n", info_pathname); snprintf(impl_pathname, sizeof(impl_pathname) - 256, "%s/%s", directory, ACVP_DEF_DIR_IMPLEMENTATIONS); impl_dir = opendir(impl_pathname); /* we allow implementation to be non-existant */ if (!impl_dir) { logger(LOGGER_WARN, LOGGER_C_ANY, "No implementation directory found - only meta data synchronization possible!\n"); } /* Process all permutations of configuration files. */ while ((vendor_dirent = readdir(vendor_dir)) != NULL) { if (!acvp_def_usable_dirent(vendor_dirent)) continue; snprintf(vendor, sizeof(vendor), "%s/%s", vendor_pathname, vendor_dirent->d_name); while ((info_dirent = readdir(info_dir)) != NULL) { if (!acvp_def_usable_dirent(info_dirent)) continue; snprintf(info, sizeof(info), "%s/%s", info_pathname, info_dirent->d_name); while ((oe_dirent = readdir(oe_dir)) != NULL) { bool impl_found = false; if (!acvp_def_usable_dirent(oe_dirent)) continue; snprintf(oe, sizeof(oe), "%s/%s", oe_pathname, oe_dirent->d_name); if (!impl_dir) { CKINT(acvp_def_load_config(directory, oe, vendor, info, NULL)); continue; } while ((impl_dirent = readdir(impl_dir)) != NULL) { if (!acvp_def_usable_dirent( impl_dirent)) continue; impl_found = true; snprintf(impl, sizeof(impl), "%s/%s", impl_pathname, impl_dirent->d_name); CKINT(acvp_def_load_config(directory, oe, vendor, info, impl)); } if (!impl_found) { CKINT(acvp_def_load_config(directory, oe, vendor, info, NULL)); } rewinddir(impl_dir); } rewinddir(oe_dir); } rewinddir(info_dir); } /* * Resolving the dependencies at this point implies that the * dependency resolution is confined to an IUT. For example, if OpenSSL * has multiple cipher implementations defined, all of these * implementations are used for resolving the dependencies. But, say, * a reference to the Linux kernel API IUT will not be resolved. * * This is due to the fact that our current function only operates * on one given module definition directory. */ CKINT(acvp_def_wire_deps()); out: if (oe_dir) closedir(oe_dir); if (vendor_dir) closedir(vendor_dir); if (info_dir) closedir(info_dir); if (impl_dir) closedir(impl_dir); return ret; } DSO_PUBLIC int acvp_def_default_config(const char *config_basedir) { struct dirent *dirent; DIR *dir = NULL; char configdir[255]; char pathname[FILENAME_MAX]; int ret = 0, errsv; if (config_basedir) { snprintf(configdir, sizeof(configdir), "%s", config_basedir); } else { snprintf(configdir, sizeof(configdir), "%s", ACVP_DEF_DEFAULT_CONFIG_DIR); } dir = opendir(configdir); errsv = errno; if (!dir && errsv == ENOENT) { logger(LOGGER_VERBOSE, LOGGER_C_ANY, "Configuration directory %s not present, skipping\n", configdir); goto out; } CKNULL_LOG(dir, -errsv, "Failed to open directory %s\n", ACVP_DEF_DEFAULT_CONFIG_DIR); while ((dirent = readdir(dir)) != NULL) { /* Check that entry is neither ".", "..", or a hidden file */ if (!strncmp(dirent->d_name, ".", 1)) continue; /* Check that it is a directory */ if (dirent->d_type != DT_DIR) continue; snprintf(pathname, sizeof(pathname), "%s/%s", configdir, dirent->d_name); CKINT(acvp_def_config(pathname)); } out: if (dir) closedir(dir); return ret; } void acvp_register_algo_map(struct def_algo_map *curr_map, const unsigned int nrmaps) { struct def_algo_map *tmp_map; unsigned int i; if (!curr_map || !nrmaps) { logger(LOGGER_WARN, LOGGER_C_ANY, "Programming error: missing map definitions\n"); return; } /* Safety-measure to prevent programming bugs to affect us. */ curr_map[nrmaps - 1].next = NULL; /* Link all provided maps together */ for (i = 0; i < (nrmaps - 1); i++) curr_map[i].next = &curr_map[i + 1]; mutex_lock(&def_uninstantiated_mutex); /* There was no previously registered map, take the first spot. */ if (!def_uninstantiated_head) { def_uninstantiated_head = curr_map; goto out; } /* Find the last entry to append the current map. */ for (tmp_map = def_uninstantiated_head; tmp_map != NULL; tmp_map = tmp_map->next) { /* do not re-register */ if (curr_map == tmp_map) goto out; if (!tmp_map->next) { tmp_map->next = curr_map; goto out; } } out: mutex_unlock(&def_uninstantiated_mutex); return; }
25.913485
115
0.70081
[ "object" ]
8fa283f10a69c4206d305b84b03fd09ca56ca9d1
2,225
h
C
src/coopnet/sat/problem/shuffler.h
wolfjagger/coopnet
8ba81ee8ca45d6476d4733f315c909020ef55585
[ "MIT" ]
null
null
null
src/coopnet/sat/problem/shuffler.h
wolfjagger/coopnet
8ba81ee8ca45d6476d4733f315c909020ef55585
[ "MIT" ]
null
null
null
src/coopnet/sat/problem/shuffler.h
wolfjagger/coopnet
8ba81ee8ca45d6476d4733f315c909020ef55585
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <map> #include <memory> #include "coopnet/graph/base/graph.h" #include "coopnet/sat/component/component_fwd.h" namespace coopnet { struct Assignment; class Problem; class IShuffler { public: virtual void shuffle() = 0; virtual bool is_trivial() const = 0; virtual void apply_to_assignment(Assignment& assign) const = 0; virtual void apply_to_problem(Problem& prob) const = 0; }; class NodeShuffler : public IShuffler { private: std::vector<Node> nodes; public: // Note: shuffles on creation NodeShuffler(const Problem& prob); NodeShuffler(std::vector<Node> shuffleNodes); void shuffle() override; bool is_trivial() const override; Node shuffled_node(Node orig) const; void apply_to_assignment(Assignment& assign) const override; void apply_to_problem(Problem& prob) const override; }; class SgnShuffler : public IShuffler { private: std::vector<bool> sgns; public: // Note: shuffles on creation SgnShuffler(const Problem& prob); SgnShuffler(std::vector<bool> shuffleSgns); void shuffle() override; bool is_trivial() const override; bool shuffled_sgn(Node n) const; void apply_to_assignment(Assignment& assign) const override; /* NOTE: This will also change it for satsifiability_visitor, incomplete_assignment, and anything that holds the same shared_ptr. Change them too! */ void apply_to_problem(Problem& prob) const override; }; class LiteralShuffler : public IShuffler { private: NodeShuffler node_sh; SgnShuffler sgn_sh; public: // Note: shuffles on creation LiteralShuffler(const Problem& prob); LiteralShuffler( const Problem& prob, const std::vector<Literal>& lits); void shuffle() override; bool is_trivial() const override; bool shuffles_nodes() const; bool flips_sgns() const; Literal shuffled_literal(Literal lit) const; void apply_to_assignment(Assignment& assign) const override; /* NOTE: This will also change it for satsifiability_visitor, incomplete_assignment, and anything that holds the same shared_ptr. Change them too! */ void apply_to_problem(Problem& prob) const override; }; }
15.451389
65
0.724045
[ "vector" ]
8fafdbf3daa3e7509620d938de3cd78ac9fb4834
515
h
C
ios/Classes/Render.h
smarsu/bitmap_texture
24484905646f1769bb4c5d432e89fd21fbd9e49c
[ "MIT" ]
null
null
null
ios/Classes/Render.h
smarsu/bitmap_texture
24484905646f1769bb4c5d432e89fd21fbd9e49c
[ "MIT" ]
null
null
null
ios/Classes/Render.h
smarsu/bitmap_texture
24484905646f1769bb4c5d432e89fd21fbd9e49c
[ "MIT" ]
1
2022-03-23T13:39:22.000Z
2022-03-23T13:39:22.000Z
#import <Flutter/Flutter.h> @interface Render : NSObject<FlutterTexture> - (instancetype)initWithCallback:(void (^)(void))callback width:(int)width height:(int)height; - (void)r:(FlutterResult)result path:(NSString *)path width:(int)width height:(int)height srcWidth:(int)srcWidth srcHeight:(int)srcHeight fit:(int)fit bitmap:(NSString *)bitmap findCache:(bool)findCache; // set render param - (void)d; // dispose - (void)doRender; // do render - (void)si:(NSInteger)textureId; // si: set textureId @end
32.1875
224
0.730097
[ "render" ]
8fb29026303ec0b951897b1872dbd2c12ff10f2b
1,911
h
C
CosBase/include/cos/cpp/arith.h
zhuyadong/COS
0056f1b42120614ec25331d9a40349390c1d03fb
[ "Apache-2.0" ]
292
2015-01-03T08:06:47.000Z
2022-03-20T18:28:33.000Z
CosBase/include/cos/cpp/arith.h
devel-chm/COS
66adcdae7292d384f4ec3034df1236db9c29ee8d
[ "Apache-2.0" ]
25
2015-07-14T13:52:59.000Z
2019-04-23T12:08:52.000Z
CosBase/include/cos/cpp/arith.h
devel-chm/COS
66adcdae7292d384f4ec3034df1236db9c29ee8d
[ "Apache-2.0" ]
44
2015-09-18T09:09:18.000Z
2022-03-20T18:28:11.000Z
#ifndef COS_CPP_ARITH_H #define COS_CPP_ARITH_H /** * C Object System * COS preprocessor arithmetic macros * * Copyright 2006+ Laurent Deniau <laurent.deniau@gmail.com> * * 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. */ #ifndef COS_COS_COS_H #error "COS: use <cos/cos/cos.h> instead of <cos/cpp/arith.h>" #endif // increment integer 0 <= n <= COS_PP_MAX_N, saturates at COS_PP_MAX_N #define COS_PP_INCR(n) \ COS_PP_1ST(COS_PP_2ND(COS_PP_SPLIT(n,(COS_PP_NUMSEQ_N(),COS_PP_MAX_N)))) // decrement integer 0 <= n <= COS_PP_MAX_N, saturates at zero #define COS_PP_DECR(n) \ COS_PP_1ST(COS_PP_2ND(COS_PP_SPLIT(n,(0,0,COS_PP_NUMSEQ_N())))) // add two integers m >= 0, n >= 0, m+n <= COS_PP_MAX_N #define COS_PP_ADD(m,n) \ COS_PP_1ST(COS_PP_2ND(COS_PP_SPLIT(n, \ COS_PP_2ND(COS_PP_SPLIT(m,(0,COS_PP_NUMSEQ_N())))))) // substract two integers m >= 0, n >= 0, (m,n,m-n) <= COS_PP_MAX_N #define COS_PP_SUB(m,n) \ COS_PP_IF(COS_PP_ISZERO(m))(0, \ COS_PP_1ST(COS_PP_2ND(COS_PP_SPLIT(n,COS_PP_RCONS(COS_PP_REV( \ COS_PP_1ST(COS_PP_SPLIT(m,(COS_PP_NUMSEQ_N(),)))),0))))) // multiply two integers m >= 0, n >= 0, (m,n,m*n)<=COS_PP_MAX_N #define COS_PP_MUL(m,n) \ COS_PP_IF(COS_PP_OR(COS_PP_ISZERO(m),COS_PP_ISZERO(n)))(0, \ COS_PP_NARG(COS_PP_PAIR(COS_PP_REST,(COS_PP_DUP(m,COS_PP_DUP(n,,)))))) #endif // COS_CPP_ARITH_H
36.75
80
0.69911
[ "object" ]
8fbbb429cf73afb025519f259410831213ba22b2
934
h
C
eLosh/entity.h
infyhr/elosh
a3c7060933ed13cbcf079cfb007a7c16f393d65a
[ "MIT" ]
null
null
null
eLosh/entity.h
infyhr/elosh
a3c7060933ed13cbcf079cfb007a7c16f393d65a
[ "MIT" ]
null
null
null
eLosh/entity.h
infyhr/elosh
a3c7060933ed13cbcf079cfb007a7c16f393d65a
[ "MIT" ]
null
null
null
#pragma once #include "engine.h" #include <map> #include <vector> class Entity { public: Entity(Engine *e); //~Entity(); void Tick(); void Food(std::map<std::string, bool> &dataBool, std::map<std::string, int> &data); void TeleportTo(float x, float y, float z); int iBattle; // 0 || 1. Currently in battle? float fX; // X pos float fY; // Y pos float fZ; // Z pos char szName[32]; // player name int iHP, iMP, iFP, iLv; int iCurrentTarget; int iTargetType; float fTargetX; float fTargetY; float fTargetZ; char szTargetName[32]; // target name int iTargetHP, iTargetMP, iTargetFP, iTargetLv; float iTargetDistance; // Players around us? int iPlayerCount; private: Engine *objEngine; int getPlayers(); };
25.944444
92
0.536403
[ "vector" ]
28ea8c1d76ca37f5670dd33a9a714e2b0f079cf2
13,217
h
C
include/gf/View.h
jylm6d/gf
33151311479f3e067c7525f29e4a4948ec4230c4
[ "Zlib" ]
191
2016-07-19T07:54:06.000Z
2022-03-26T16:49:20.000Z
include/gf/View.h
jylm6d/gf
33151311479f3e067c7525f29e4a4948ec4230c4
[ "Zlib" ]
46
2016-07-19T08:23:51.000Z
2021-06-19T20:52:27.000Z
include/gf/View.h
jylm6d/gf
33151311479f3e067c7525f29e4a4948ec4230c4
[ "Zlib" ]
46
2016-07-19T08:04:41.000Z
2021-09-28T17:18:37.000Z
/* * Gamedev Framework (gf) * Copyright (C) 2016-2021 Julien Bernard * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * * 1. The origin of this software must not be misrepresented; you must not * claim that you wrote the original software. If you use this software * in a product, an acknowledgment in the product documentation would be * appreciated but is not required. * 2. Altered source versions must be plainly marked as such, and must not be * misrepresented as being the original software. * 3. This notice may not be removed or altered from any source distribution. * * Part of this file comes from SFML, with the same license: * Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org) */ #ifndef GF_VIEW_H #define GF_VIEW_H #include "GraphicsApi.h" #include "Matrix.h" #include "Rect.h" #include "Vector.h" namespace gf { #ifndef DOXYGEN_SHOULD_SKIP_THIS inline namespace v1 { #endif struct Event; class RenderTarget; /** * @ingroup graphics_views * @brief 2D camera that defines what region is shown on framebuffer * * gf::View defines a camera in the 2D scene. This is a * very powerful concept: you can scroll, rotate or zoom * the entire scene without altering the way that your * drawable objects are drawn. * * A view is composed of a source rectangle, which defines * what part of the 2D scene is shown, and a target viewport, * which defines where the contents of the source rectangle * will be displayed on the render target (window or texture). * * The viewport allows to map the scene to a custom part * of the render target, and can be used for split-framebuffer * or for displaying a minimap, for example. If the source * rectangle has not the same size as the viewport, its * contents will be stretched to fit in. * * To apply a view, you have to assign it to the render target. * Then, every objects drawn in this render target will be * affected by the view until you use another view. * * Usage example: * * ~~~{.cc} * gf::RenderWindow renderer; * gf::View view; * * // Initialize the view to a rectangle located at (100, 100) and * // with a size of 400x200 * view.reset({ 100.0f, 100.0f, 400.0f, 200.0f }); * * // Rotate it by 45 degrees * view.rotate(gf::Pi / 4); * * // Set its target viewport to be half of the window * view.setViewport({ 0.f, 0.f, 0.5f, 1.f }); * * // Apply it * renderer.setView(view); * * // Render stuff * renderer.draw(someSprite); * * // Set the default view back * renderer.setView(renderer.getDefaultView()); * * // Render stuff not affected by the view * renderer.draw(someOtherSprite); * ~~~ * * @sa gf::RenderTarget, gf::AdaptativeView */ class GF_GRAPHICS_API View { public: /** * @brief Default constructor * * This constructor creates a default view of @f$(0, 0, 1000, 1000)@f$. */ View(); /** * @brief Construct the view from a rectangle * * @param rect Rectangle defining the zone to display */ explicit View(const RectF& rect); /** * @brief Construct the view from its center and size * * @param center Center of the zone to display * @param size Size of the zone to display */ View(Vector2f center, Vector2f size); /** * @brief Destructor */ virtual ~View(); /** * @brief Get the non-rotated bounds * * @returns A rectangle representing the non-rotated bounds of the view */ RectF getBounds() const; /** * @brief Set the center of the view * * @param center New center * * @sa getCenter() */ void setCenter(Vector2f center) { m_center = center; } /** * @brief Get the center of the view * * @return Center of the view * * @sa setCenter() */ Vector2f getCenter() const { return m_center; } /** * @brief Set the size of the view * * @param size New size * * @sa getSize() */ void setSize(Vector2f size) { m_size = size; onSizeChange(m_size); } /** * @brief Get the size of the view * * @return Size of the view * * @sa setSize() */ Vector2f getSize() const { return m_size; } /** * @brief Set the orientation of the view * * The default rotation of a view is 0 radians. * * @param angle New angle, in radians * * @sa getRotation() */ void setRotation(float angle) { m_rotation = angle; } /** * @brief Get the current orientation of the view * * @return Rotation angle of the view, in radians * * @sa setRotation() */ float getRotation() const { return m_rotation; } /** * @brief Set the target viewport * * The viewport is the rectangle into which the contents of the * view are displayed, expressed as a factor (between 0 and 1) * of the size of the RenderTarget to which the view is applied. * * For example, a view which takes the left side of the target would * be defined with: * * ~~~{.cc} * view.setViewport({0.0f, 0.0f, 0.5f, 1.0f}). * ~~~ * * By default, a view has a viewport which covers the entire target. * * @param viewport New viewport rectangle * * @sa getViewport() */ void setViewport(const RectF& viewport); /** * @brief Get the target viewport rectangle of the view * * @return Viewport rectangle, expressed as a factor of the target size * * @sa setViewport() */ const RectF& getViewport() const { return m_viewport; } /** * @brief Reset the view to the given rectangle * * Note that this function resets the rotation angle to 0. * * @param rect Rectangle defining the zone to display * * @sa setCenter(), setSize(), setRotation() */ void reset(const RectF& rect); /** * @brief Move the view relatively to its current position * * @param offset Move offset * * @sa setCenter(), rotate(), zoom() */ void move(Vector2f offset); /** * @brief Rotate the view relatively to its current orientation * * @param angle Angle to rotate, in radians * * @sa setRotation(), move(), zoom() */ void rotate(float angle); /** * @brief Resize the view rectangle relatively to its current size * * Resizing the view simulates a zoom, as the zone displayed on * framebuffer grows or shrinks. `factor` is a multiplier: * * - @f$ = 1 @f$ keeps the size unchanged * - @f$ > 1 @f$ makes the view bigger (objects appear smaller) * - @f$ < 1 @f$ makes the view smaller (objects appear bigger) * * @param factor Zoom factor to apply * * @sa setSize(), move(), rotate() */ void zoom(float factor); /** * @brief Resize the view rectangle relatively to its current size and a fixed point * * Resizing the view simulates a zoom, as the zone displayed on * framebuffer grows or shrinks. `factor` is a multiplier: * * - @f$ = 1 @f$ keeps the size unchanged * - @f$ > 1 @f$ makes the view bigger (objects appear smaller) * - @f$ < 1 @f$ makes the view smaller (objects appear bigger) * * Additionally, a fixed point is used as the center of the zoom. It is the * only point that stays at the same place in the view. * * @param factor Zoom factor to apply * @param fixed The center of the zoom * * @sa setSize(), move(), rotate() */ void zoom(float factor, Vector2f fixed); /** * @brief Get the projection transform of the view * * This function is meant for internal use only. * * @return Projection transform defining the view * * @sa getInverseTransform() */ Matrix3f getTransform() const; /** * @brief Get the inverse projection transform of the view * * This function is meant for internal use only. * * @return Inverse of the projection transform defining the view * * @sa getTransform */ Matrix3f getInverseTransform() const; protected: /** * @brief Set the world size, without calling onSizeChange() * * This function is meant for adaptative views so that they can * adapt the world size without having a callback infinite loop. * * @param size The new world size */ void setSizeNoCallback(Vector2f size) { m_size = size; } /** * @brief Callback when the world has just been resized * * This callback is called when setSize() is called. * * @param size The new size of the visible world */ virtual void onSizeChange(Vector2f size); /** * @brief Set the viewport, without calling onViewportChange() * * This function is meant for adaptative views so that they can * adapt the viewport without having a callback infinite loop. * * @param viewport The new viewport */ void setViewportNoCallback(const RectF& viewport); /** * @brief Callback when the viewport has just been changed * * @param viewport The new viewport */ virtual void onViewportChange(const RectF& viewport); private: Vector2f m_center; Vector2f m_size; float m_rotation; RectF m_viewport; }; /** * @ingroup graphics_views * @brief Adaptative view * * An adaptative view is a view that adapts automatically to framebuffer * resolution change. * * There are several kinds of adaptative views, according to the policy * that is adopted when the resolution changes. In the examples below, * The framebuffer is represented by the black rectangle and the world is * the red square. If red dashed lines appears, it means that the world * has been modified. * * | Class | Example | * |-----------------|-----------------------------| * | gf::StretchView | @image html stretchview.png | * | gf::FitView | @image html fitview.png | * | gf::FillView | @image html fillview.png | * | gf::ExtendView | @image html extendview.png | * | gf::LockedView | @image html lockedview.png | * | gf::ScreenView | @image html screenview.png | * * @sa gf::ViewContainer */ class GF_GRAPHICS_API AdaptativeView : public View { public: /** * @brief Default constructor * * This constructor creates a default view of @f$(0, 0, 1000, 1000)@f$. */ AdaptativeView() : View() { } /** * @brief Construct the view from a rectangle * * @param rect Rectangle defining the zone to display */ explicit AdaptativeView(const RectF& rect) : View(rect) { } /** * @brief Construct the view from its center and size * * @param center Center of the zone to display * @param size Size of the zone to display */ AdaptativeView(Vector2f center, Vector2f size) : View(center, size) { } /** * @brief Set the initial framebuffer size * * @param framebufferSize The initial size of the framebuffer */ void setInitialFramebufferSize(Vector2i framebufferSize); /** * @brief Set the initial screen size * * @param screenSize The initial size of the screen * * @deprecated You should use setInitialFramebufferSize() instead */ [[deprecated("You should use setInitialFramebufferSize() instead")]] void setInitialScreenSize(Vector2i screenSize) { setInitialFramebufferSize(screenSize); } /** * @brief Callback when the framebuffer has just been resized * * @param framebufferSize The new size of the framebuffer */ virtual void onFramebufferSizeChange(Vector2i framebufferSize) = 0; }; /** * @ingroup graphics_views * @brief A view adaptor for zooming/moving with the mouse */ class GF_GRAPHICS_API ZoomingViewAdaptor { public: /** * @brief Constructor * * @param target The rendering target * @param view The original view to zoom/move */ ZoomingViewAdaptor(const RenderTarget& target, View& view); /** * @brief Update the original view thanks to the event * * @param event An event */ void processEvent(const Event& event); private: const RenderTarget& m_target; View& m_view; Vector2i m_mousePosition; enum class State { Stationary, Moving, }; State m_state; }; #ifndef DOXYGEN_SHOULD_SKIP_THIS } #endif } #endif // GF_VIEW_H
26.755061
88
0.618824
[ "render", "vector", "transform" ]
28ef76306fe078342ac9728975b0440dfaca9d6a
2,772
h
C
aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/CompromisedCredentialsActionsType.h
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2020-03-11T05:36:20.000Z
2020-03-11T05:36:20.000Z
aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/CompromisedCredentialsActionsType.h
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/CompromisedCredentialsActionsType.h
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file 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. */ #pragma once #include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h> #include <aws/cognito-idp/model/CompromisedCredentialsEventActionType.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CognitoIdentityProvider { namespace Model { /** * <p>The compromised credentials actions type</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CompromisedCredentialsActionsType">AWS * API Reference</a></p> */ class AWS_COGNITOIDENTITYPROVIDER_API CompromisedCredentialsActionsType { public: CompromisedCredentialsActionsType(); CompromisedCredentialsActionsType(Aws::Utils::Json::JsonView jsonValue); CompromisedCredentialsActionsType& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * <p>The event action.</p> */ inline const CompromisedCredentialsEventActionType& GetEventAction() const{ return m_eventAction; } /** * <p>The event action.</p> */ inline bool EventActionHasBeenSet() const { return m_eventActionHasBeenSet; } /** * <p>The event action.</p> */ inline void SetEventAction(const CompromisedCredentialsEventActionType& value) { m_eventActionHasBeenSet = true; m_eventAction = value; } /** * <p>The event action.</p> */ inline void SetEventAction(CompromisedCredentialsEventActionType&& value) { m_eventActionHasBeenSet = true; m_eventAction = std::move(value); } /** * <p>The event action.</p> */ inline CompromisedCredentialsActionsType& WithEventAction(const CompromisedCredentialsEventActionType& value) { SetEventAction(value); return *this;} /** * <p>The event action.</p> */ inline CompromisedCredentialsActionsType& WithEventAction(CompromisedCredentialsEventActionType&& value) { SetEventAction(std::move(value)); return *this;} private: CompromisedCredentialsEventActionType m_eventAction; bool m_eventActionHasBeenSet; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws
31.146067
159
0.727994
[ "model" ]
28f0266960b2e062872387f2ea1532a0f5247e66
1,063
h
C
chrome/browser/chromeos/printing/history/print_job_info_proto_conversions.h
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/chromeos/printing/history/print_job_info_proto_conversions.h
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/chromeos/printing/history/print_job_info_proto_conversions.h
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2019 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 CHROME_BROWSER_CHROMEOS_PRINTING_HISTORY_PRINT_JOB_INFO_PROTO_CONVERSIONS_H_ #define CHROME_BROWSER_CHROMEOS_PRINTING_HISTORY_PRINT_JOB_INFO_PROTO_CONVERSIONS_H_ #include "chrome/browser/chromeos/printing/cups_print_job.h" #include "chrome/browser/chromeos/printing/history/print_job_info.pb.h" #include "printing/print_settings.h" namespace chromeos { // This conversion is used to store only necessary part of huge PrintSettings // object in proto format. This proto is later used for saving print job // history. printing::proto::PrintSettings PrintSettingsToProto( const ::printing::PrintSettings& settings); printing::proto::PrintJobInfo CupsPrintJobToProto( const CupsPrintJob& print_job, const std::string& id, const base::Time& completion_time); } // namespace chromeos #endif // CHROME_BROWSER_CHROMEOS_PRINTING_HISTORY_PRINT_JOB_INFO_PROTO_CONVERSIONS_H_
37.964286
87
0.813735
[ "object" ]
28f43a21aa391a728b60f36e5a5c22c3a8101edc
1,552
h
C
src/native/supyo.h
lidio601/node-facedetect-supyo
f28535db1c2e5fde32ad014be8c08847d6f8f0fc
[ "Unlicense" ]
null
null
null
src/native/supyo.h
lidio601/node-facedetect-supyo
f28535db1c2e5fde32ad014be8c08847d6f8f0fc
[ "Unlicense" ]
null
null
null
src/native/supyo.h
lidio601/node-facedetect-supyo
f28535db1c2e5fde32ad014be8c08847d6f8f0fc
[ "Unlicense" ]
null
null
null
// // Created by Fabio Cigliano on 02/07/18. // #ifndef CAMERA_WRAPPER_SUPYO_H #define CAMERA_WRAPPER_SUPYO_H #include <cstring> #include "types.h" #include "pico/picort.h" /* * object detection parameters */ /** * how much to rescale the window during the multiscale detection process * increasing this value leads to lower number of detections and higher processing * speed for example, set to 1.2f if you're using pico on a mobile device */ #ifndef SCALEFACTOR #define SCALEFACTOR 1.1f #endif /** * how much to move the window between neighboring detections increasing this * value leads to lower number of detections and higher processing speed * for example, set to 0.05f if you want really high recall */ #ifndef STRIDEFACTOR #define STRIDEFACTOR 0.1f #endif /** * max number of detected objects */ #define MAXNDETECTIONS 2048 /** * how much to move the window between neighboring detections increasing this * value leads to lower number of detections and higher processing speed * for example, set to 0.05f if you want really high recall */ #ifndef STRIDEFACTOR #define STRIDEFACTOR 0.1f #endif /** * face minimum size (in pixels) - suggested 128 */ #ifndef MIN_SIZE #define MIN_SIZE 128 #endif /** * detection quality threshold (must be >= 0.0f) * you can vary the TPR and FPR with this value * if you're experiencing too many false positives * try a larger number here (for example, 7.5f) */ #ifndef CUTOFF_THRES #define CUTOFF_THRES 0.5 #endif bool detect(cv::Mat greyFrame); #endif //CAMERA_WRAPPER_SUPYO_H
22.823529
82
0.746778
[ "object" ]
e9069893ecdb86f988f2b4d4a16669bbe5bba7a7
886
h
C
BunnySimulation/Bunny.h
NikolaDimitroff/BunnySimulation
1da309053885d4ac3997f85f89fd95f9ef240ad1
[ "MIT" ]
1
2015-05-10T13:04:57.000Z
2015-05-10T13:04:57.000Z
BunnySimulation/Bunny.h
NikolaDimitroff/BunnySimulation
1da309053885d4ac3997f85f89fd95f9ef240ad1
[ "MIT" ]
null
null
null
BunnySimulation/Bunny.h
NikolaDimitroff/BunnySimulation
1da309053885d4ac3997f85f89fd95f9ef240ad1
[ "MIT" ]
null
null
null
#ifndef BUNNY_H_GUARD #define BUNNY_H_GUARD #include <iostream> #include <string> #include <vector> enum class Color { White, Black, Gray, Pink, Red, }; enum class BunnyGender { Male, Female, Radioactive }; class Bunny { protected: Bunny() {} Bunny(const Bunny& bunny) { } int age; Color color; std::string name; BunnyGender gender; public: static std::vector<std::string> Names; Bunny(std::string name, Color color); Bunny(std::string name, const Bunny& mother) : Bunny(name, mother.color) { } bool CanBreedWith(const Bunny& other) { return true; } void Print() const; int GetAge() const { return this->age; } void GrowOlder() { this->age++; } Color GetColor() const { return this->color; } std::string GetName() const { return this->name; } BunnyGender GetGender() const { return this->gender; } }; #endif
10.068182
73
0.65237
[ "vector" ]
e90b55e740f8409b5e3ddbad3440c2cd4b39050c
26,024
h
C
OOFSWIG/Include/swig.h
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
31
2015-04-01T15:59:36.000Z
2022-03-18T20:21:47.000Z
OOFSWIG/Include/swig.h
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
3
2015-02-06T19:30:24.000Z
2017-05-25T14:14:31.000Z
OOFSWIG/Include/swig.h
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
7
2015-01-23T15:19:22.000Z
2021-06-09T09:03:59.000Z
/****************************************************************************** * Simplified Wrapper and Interface Generator (SWIG) * * Author : David Beazley * * Department of Computer Science * University of Chicago * 1100 E 58th Street * Chicago, IL 60637 * beazley@cs.uchicago.edu * * Please read the file LICENSE for the copyright and terms by which SWIG * can be used and distributed. *******************************************************************************/ /*********************************************************************** * $Header: /users/langer/FE/CVSoof/OOF2/OOFSWIG/Include/swig.h,v 1.1.2.2 2014/06/27 20:28:02 langer Exp $ * * swig.h * * This is the header file containing the main class definitions and * declarations. Should be included in all extensions and code * modules. * ***********************************************************************/ #include <stdlib.h> #include <stdio.h> #include <string.h> #include "swigver.h" /* Global variables. Needs to be cleaned up */ #ifdef MACSWIG #define Status Swig_Status #undef stderr #define stderr swig_log extern FILE *swig_log; #endif extern FILE *f_header; // Some commonly used extern FILE *f_wrappers; // FILE pointers extern FILE *f_init; extern FILE *f_input; extern char InitName[256]; extern char LibDir[512]; // Library directory extern char **InitNames; // List of other init functions extern int Status; // Variable creation status extern int TypeStrict; // Type checking strictness extern int Verbose; extern int yyparse(); extern int line_number; extern int start_line; extern char *input_file; // Current input file extern int CPlusPlus; // C++ mode extern int ObjC; // Objective-C mode extern int ObjCClass; // Objective-C style class extern int AddMethods; // AddMethods mode extern int NewObject; // NewObject mode extern int Inline; // Inline mode extern int NoInclude; // NoInclude flag extern char *typemap_lang; // Current language name extern int error_count; extern char *copy_string(const char *); extern char output_dir[512]; // Output directory #define FatalError() if ((error_count++) > 20) { fprintf(stderr,"Confused by earlier errors. Bailing out\n"); SWIG_exit(1); } /* Miscellaneous stuff */ #define STAT_READONLY 1 #define MAXSCOPE 16 // ----------------------------------------------------------------------- // String class // ----------------------------------------------------------------------- class String { private: int maxsize; // Max size of current string void add(const char *newstr); // Function to add a new string void add(char c); // Add a character void insert(const char *newstr); int len; public: String(); String(const char *s); ~String(); char *get() const; char *str; // String data friend String& operator<<(String&,const char *s); friend String& operator<<(String&,const int); friend String& operator<<(String&,const char); friend String& operator<<(String&,String&); friend String& operator>>(const char *s, String&); friend String& operator>>(String&,String&); String& operator=(const char *); operator char*() const { return str; } void untabify(); void replace(const char *token, const char *rep); void replaceid(const char *id, const char *rep); void strip(); }; #define tab2 " " #define tab4 " " #define tab8 " " #define br "\n" #define endl "\n" #define quote "\"" // ------------------------------------------------------------------- // Hash table class // ------------------------------------------------------------------- class Hash { private: struct Node { Node(const char *k, void *obj, void (*d)(void *)) { key = new char[strlen(k)+1]; strcpy(key,k); object = obj; del_proc = d; next = 0; }; ~Node() { delete key; if (del_proc) (*del_proc)(object); }; char *key; void *object; struct Node *next; void (*del_proc)(void *); }; int h1(const char *key); // Hashing function int hashsize; // Size of hash table Node **hashtable; // Actual hash table int index; // Current index (used by iterators) Node *current; // Current item in hash table public: Hash(); ~Hash(); int add(const char *key, void *object); int add(const char *key, void *object, void (*del)(void *)); void *lookup(const char *key); void remove(const char *key); void *first(); void *next(); char *firstkey(); char *nextkey(); }; /************************************************************************ * class DataType * * Defines the basic datatypes supported by the translator. * ************************************************************************/ #define T_INT 1 #define T_SHORT 2 #define T_LONG 3 #define T_UINT 4 #define T_USHORT 5 #define T_ULONG 6 #define T_UCHAR 7 #define T_SCHAR 8 #define T_BOOL 9 #define T_DOUBLE 10 #define T_FLOAT 11 #define T_CHAR 12 #define T_USER 13 #define T_VOID 14 #define T_SYMBOL 98 #define T_ERROR 99 // These types are now obsolete, but defined for backwards compatibility #define T_SINT 90 #define T_SSHORT 91 #define T_SLONG 92 // Class for storing data types #define MAX_NAME 96 class DataType { private: static Hash *typedef_hash[MAXSCOPE]; static int scope; public: int type; // SWIG Type code char name[MAX_NAME]; // Name of type char is_pointer; // Is this a pointer? char implicit_ptr; // Implicit ptr char is_reference; // A C++ reference type char status; // Is this datatype read-only? char *qualifier; // A qualifier string (ie. const). char *arraystr; // String containing array part int id; // type identifier (unique for every type). DataType(); DataType(DataType *); DataType(int type); ~DataType(); void primitive(); // Turn a datatype into its primitive type char *print_type(); // Return string containing datatype char *print_full(); // Return string with full datatype char *print_cast(); // Return string for type casting char *print_mangle();// Return mangled version of type char *print_real(char *local=0); // Print the real datatype (as far as we can determine) char *print_arraycast(); // Prints an array cast char *print_mangle_default(); // Default mangling scheme // Array query functions int array_dimensions(); // Return number of array dimensions (if any) char *get_dimension(int); // Return string containing a particular dimension char *get_array(); // Returns the array string for a datatype // typedef support void typedef_add(char *name, int mode = 0); // Add this type to typedef list void typedef_resolve(int level = 0); // See if this type has been typedef'd void typedef_replace(); // Replace this type with it's original type static int is_typedef(char *name); // See if this is a typedef void typedef_updatestatus(int newstatus); // Change status of a typedef static void init_typedef(void); // Initialize typedef manager static void merge_scope(Hash *h); // Functions for managing scoping of datatypes static void new_scope(Hash *h = 0); static Hash *collapse_scope(char *); int check_defined(); // Check to see if type is defined by a typedef. }; #define STAT_REPLACETYPE 2 /************************************************************************ * class Parm * * Structure for holding information about function parameters * * CALL_VALUE --> Call by value even though function parameter * is a pointer. * ex : foo(&_arg0); * CALL_REF --> Call by reference even though function parameter * is by value * ex : foo(*_arg0); * ************************************************************************/ #define CALL_VALUE 0x01 #define CALL_REFERENCE 0x02 #define CALL_OUTPUT 0x04 struct Parm { DataType *t; // Datatype of this parameter int call_type; // Call type (value or reference or value) char *name; // Name of parameter (optional) char *defvalue; // Default value (as a string) int ignore; // Ignore flag char *objc_separator; // Parameter separator for Objective-C Parm(DataType *type, char *n); Parm(Parm *p); ~Parm(); }; // ------------------------------------------------------------- // class ParmList // // This class is used for manipulating parameter lists in // function and type declarations. // ------------------------------------------------------------- #define MAXPARMS 16 class ParmList { private: int maxparms; // Max parms possible in current list Parm **parms; // Pointer to parms array void moreparms(); // Increase number of stored parms int current_parm; // Internal state for get_first,get_next public: int nparms; // Number of parms in list void append(Parm *p); // Append a parameter to the end void insert(Parm *p, int pos); // Insert a parameter into the list void del(int pos); // Delete a parameter at position pos int numopt(); // Get number of optional arguments int numarg(); // Get number of active arguments Parm *get(int pos); // Get the parameter at position pos Parm &operator[](int); // An alias for get(). ParmList(); ParmList(ParmList *l); ~ParmList(); // Keep this for backwards compatibility Parm *get_first(); // Get first parameter from list Parm *get_next(); // Get next parameter from list void print_types(FILE *f); // Print list of datatypes void print_types(String &f); // Generate list of datatypes. void print_args(FILE *f); // Print argument list int check_defined(); // Checks to make sure the arguments are defined void sub_parmnames(String &s); // Remaps real parameter names in code fragment }; // Modes for different types of inheritance #define INHERIT_FUNC 0x1 #define INHERIT_VAR 0x2 #define INHERIT_CONST 0x4 #define INHERIT_ALL (INHERIT_FUNC | INHERIT_VAR | INHERIT_CONST) struct Pragma { Pragma() { next = 0; } String filename; int lineno; String lang; String name; String value; Pragma *next; }; /************************************************************************ * class language: * * This class defines the functions that need to be supported by the * scripting language being used. The translator calls these virtual * functions to output different types of code for different languages. * * By implementing this using virtual functions, hopefully it will be * easy to support different types of scripting languages. * * The following functions are used : * * parse_args(argc, argv) * Parse the arguments used by this language. * * parse() * Entry function that starts parsing of a particular language * * create_function(fname, iname, rtype, parmlist) * Creates a function wrappper. * * link_variable(vname, iname, type) * Creates a link to a variable. * * declare_const(cname, type, value) * Creates a constant (for #define). * * initialize(char *fn) * Produces initialization code. * * headers() * Produce code for headers * * close() * Close up files * * usage_var(iname,type,string) * Produces usage string for variable declaration. * * usage_func(iname,rttype, parmlist, string) * Produces usage string for function declaration. * * usage_const(iname, type, value, string) * Produces usage string for constants * * set_module(char *modname) * Sets the name of the module (%module directive) * * set_init(char *initname) * Sets name of initialization function (an alternative to set_module) * add_native(char *name, char *funcname); * Adds a native wrapper function to the initialize process * * type_mangle(DataType *t); * Mangles the name of a datatype. * --- C++ Functions --- * * These functions are optional additions to any of the target * languages. SWIG handles inheritance, symbol tables, and other * information. * * cpp_open_class(char *classname, char *rname) * Open a new C++ class definition. * cpp_close_class(char *) * Close current C++ class * cpp_member_func(char *name, char *rname, DataType *rt, ParmList *l) * Create a C++ member function * cpp_constructor(char *name, char *iname, ParmList *l) * Create a C++ constructor. * cpp_destructor(char *name, char *iname) * Create a C++ destructor * cpp_variable(char *name, char *iname, DataType *t) * Create a C++ member data item. * cpp_declare_const(char *name, char *iname, int type, char *value) * Create a C++ constant. * cpp_inherit(char *baseclass) * Inherit data from baseclass. * cpp_static_func(char *name, char *iname, DataType *t, ParmList *l) * A C++ static member function. * cpp_static_var(char *name, char *iname, DataType *t) * A C++ static member data variable. * *************************************************************************/ class Language { public: virtual void parse_args(int argc, char *argv[]) = 0; virtual void parse() = 0; virtual void create_function(char *,const char *, DataType *, ParmList *) = 0; virtual void link_variable(char *,const char *, DataType *) = 0; virtual void declare_const(const char *,const char *, DataType *,const char *) = 0; virtual void initialize(void) = 0; virtual void headers(void) = 0; virtual void close(void) = 0; virtual void set_module(const char *mod_name,char **mod_list) = 0; virtual void set_init(const char *init_name); virtual void add_native(char *, char *); virtual char *type_mangle(DataType *t) { return t->print_mangle_default(); } virtual void add_typedef(DataType *t, char *name); virtual void create_command(const char *cname,const char *iname); // // C++ language extensions. // You can redefine these, or use the defaults below // virtual void cpp_member_func(char *name, const char *iname, DataType *t, ParmList *l); virtual void cpp_constructor(char *name,const char *iname, ParmList *l); virtual void cpp_destructor(char *name,const char *newname); virtual void cpp_open_class(char *name, const char *rename, char *ctype, int strip); virtual void cpp_close_class(); virtual void cpp_cleanup(); virtual void cpp_inherit(char **baseclass, int mode = INHERIT_ALL); virtual void cpp_variable(char *name,const char *iname, DataType *t); virtual void cpp_static_func(char *name,const char *iname, DataType *t, ParmList *l); virtual void cpp_declare_const(const char *name,const char *iname, DataType *type,const char *value); virtual void cpp_static_var(char *name,const char *iname, DataType *t); virtual void cpp_pragma(Pragma *plist); // Pragma directive virtual void pragma(char *, char *, char *); // Declaration of a class, but not a full definition virtual void cpp_class_decl(char *, char *,const char *); // Import directive virtual void import(char *filename); }; class Documentation; // -------------------------------------------------------------------- // class DocEntry // // Base class for the documentation system. Basically everything is // a documentation entry of some sort. Specific derived classes // are created internally and shouldn't be accessed by third-party // modules. // -------------------------------------------------------------------- class DocEntry { public: char *name; // Name of the entry String usage; // Short description (optional) String cinfo; // Information about C interface (optional). String text; // Supporting text (optional) DocEntry *parent; // Parent of this entry (optional) DocEntry *child; // Children of this entry (optional) DocEntry *next; // Next entry (or sibling) DocEntry *previous; // Previous entry int counter; // Counter for section control int is_separator; // Is this a separator entry? int sorted; // Sorted? int line_number; // Line number int end_line; // Ending line number int format; // Format this documentation entry int print_info; // Print C information about this entry char *file; // File virtual ~DocEntry(); // Destructor (common to all subclasses) // Methods applicable to all documentation entries virtual void output(Documentation *d); void add(DocEntry *de); // Add documentation entry to the list void addchild(DocEntry *de); // Add documentation entry as a child void sort_children(); // Sort all of the children void remove(); // Remove this doc entry void parse_args(int argc, char **argv); // Parse command line options void style(const char *name,char *value);// Change doc style. static DocEntry *dead_entries; // Dead documentation entries }; extern DocEntry *doc_entry; // Default DocEntry style parameters #define SWIGDEFAULT_SORT 0 #define SWIGDEFAULT_FORMAT 1 #define SWIGDEFAULT_INFO 1 // ---------------------------------------------------------------------- // Documentation module base class // // This class defines methods that need to be implemented for a // documentation module. // // title() - Print out a title entry // newsection() - Start a new section (may be nested to form subsections) // endsection() - End a section // print_decl() - Print a standard declaration // print_text() - Print standard text // init() - Initialize the documentation module // close() - Close documentation module // ---------------------------------------------------------------------- class Documentation { public: virtual void parse_args(int argc, char **argv) = 0; virtual void title(DocEntry *de) = 0; virtual void newsection(DocEntry *de, int sectnum) = 0; virtual void endsection() = 0; virtual void print_decl(DocEntry *de) = 0; virtual void print_text(DocEntry *de) = 0; virtual void separator() = 0; virtual void init(char *filename) = 0; virtual void close(void) = 0; virtual void style(char *name, char *value) = 0; }; /* Emit functions */ extern void emit_extern_var(char *, DataType *, int, FILE *); extern void emit_extern_func(char *, DataType *, ParmList *, int, FILE *); extern int emit_args(DataType *, ParmList *, FILE *); extern void emit_func_call(char *, DataType *, ParmList *, FILE *); extern void emit_hex(FILE *); extern void emit_set_get(char *, char *, DataType *); extern void emit_banner(FILE *); extern void emit_ptr_equivalence(FILE *); extern int SWIG_main(int, char **, Language *, Documentation *); extern void make_wrap_name(char *); // Some functions for emitting some C++ helper code extern void cplus_emit_member_func(char *classname, char *classtype, char *classrename, char *mname,const char *mrename, DataType *type, ParmList *l, int mode); extern void cplus_emit_static_func(char *classname, char *classtype, char *classrename, char *mname,const char *mrename, DataType *type, ParmList *l, int mode); extern void cplus_emit_destructor(char *classname, char *classtype, char *classrename, char *name,const char *iname, int mode); extern void cplus_emit_constructor(char *classname, char *classtype, char *classrename, char *name,const char *iname, ParmList *l, int mode); extern void cplus_emit_variable_get(char *classname, char *classtype, char *classrename, char *name,const char *iname, DataType *type, int mode); extern void cplus_emit_variable_set(char *classname, char *classtype, char *classrename, char *name,const char *iname, DataType *type, int mode); extern char *cplus_base_class(const char *name); extern void cplus_support_doc(String &f); /* Function for building search directories */ extern void add_directory(char *dirname); extern int insert_file(const char *, FILE *); extern int get_file(const char *filename, String &str); extern int checkout_file(char *filename, char *dest); extern int checkin_file(char *dir, char *lang, char *source, char *dest); extern int include_file(char *filename); /* Miscellaneous */ extern void check_options(); extern void init_args(int argc, char **); extern void mark_arg(int n); extern void arg_error(); extern void library_add(char *name); extern void library_insert(); // ----------------------------------------------------------------------- // Class for Creating Wrapper Functions // ----------------------------------------------------------------------- class WrapperFunction { private: Hash h; public: String def; String locals; String code; String init; void print(FILE *f); void print(String &f); void add_local(const char *type, const char *name, char *defvalue = 0); char *new_local(char *type, char *name, char *defvalue = 0); static void del_type(void *obj); }; extern int emit_args(DataType *, ParmList *, WrapperFunction &f); extern void emit_func_call(char *, DataType *, ParmList *, WrapperFunction &f); extern void SWIG_exit(int); // Symbol table management extern int add_symbol(const char *, DataType *,const char *); extern void remove_symbol(char *); extern int update_symbol(const char *, DataType *,const char *); extern char *lookup_symvalue(char *); extern DataType *lookup_symtype(char *); extern int lookup_symbol(char *); // ----------------------------------------------------------------------- // Typemap support // ----------------------------------------------------------------------- extern void typemap_register(const char *op,const char *lang, DataType *type,const char *pname,const char *code, ParmList *l = 0); extern void typemap_register(const char *op,const char *lang, char *type,const char *pname,const char *code,ParmList *l = 0); extern void typemap_register_default(const char *op,const char *lang, int type, int ptr,const char *arraystr,const char *code, ParmList *l = 0); extern char *typemap_lookup(const char *op,const char *lang, DataType *type,const char *pname,const char *source,const char *target, WrapperFunction *f = 0); extern void typemap_clear(const char *op,const char *lang, DataType *type,const char *pname); extern void typemap_copy(const char *op,const char *lang, DataType *stype, char *sname, DataType *ttype, char *tname); extern char *typemap_check(const char *op,const char *lang, DataType *type,const char *pname); extern void typemap_apply(DataType *tm_type, char *tmname, DataType *type,const char *pname); extern void typemap_clear_apply(DataType *type,const char *pname); // ----------------------------------------------------------------------- // Code fragment support // ----------------------------------------------------------------------- extern void fragment_register(const char *op,const char *lang, char *code); extern char *fragment_lookup(const char *op,const char *lang, int age); extern void fragment_clear(const char *op,const char *lang); extern void emit_ptr_equivalence(WrapperFunction &); // ----------------------------------------------------------------------- // Naming system // ----------------------------------------------------------------------- #define AS_IS 1 extern void name_register(char *method, char *format); extern int name_scope(int); extern char *name_wrapper(const char *fname, const char *prefix, int suppress=0); extern char *name_member(const char *fname, char *classname, int suppress=0); extern char *name_get(char *vname, int suppress=0); extern char *name_set(char *vname, int suppress=0); extern char *name_construct(const char *classname, int suppress=0); extern char *name_destroy(const char *classname, int suppress=0);
38.899851
147
0.579734
[ "object" ]
e916c631240217bb8ad3a4940007e223c701d693
28,403
h
C
localization_boat_assisted/include/localization_boat_assisted/MarkerFactor.h
algprasad/localization_boat_assisted
81b8c47c7a1318d9187819fb1fdf02b98c92fb81
[ "BSD-3-Clause" ]
1
2022-03-11T02:42:54.000Z
2022-03-11T02:42:54.000Z
localization_boat_assisted/include/localization_boat_assisted/MarkerFactor.h
algprasad/localization_boat_assisted
81b8c47c7a1318d9187819fb1fdf02b98c92fb81
[ "BSD-3-Clause" ]
null
null
null
localization_boat_assisted/include/localization_boat_assisted/MarkerFactor.h
algprasad/localization_boat_assisted
81b8c47c7a1318d9187819fb1fdf02b98c92fb81
[ "BSD-3-Clause" ]
null
null
null
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * -------------------------------------------------------------------------- */ /** Marker Factor based on ProjectionFactor. * Modified by ALG. * */ #ifndef ISAM2_MARKERFACTOR_H #define ISAM2_MARKERFACTOR_H #include <gtsam/nonlinear/NonlinearFactor.h> #include <gtsam/geometry/SimpleCamera.h> #include <boost/optional.hpp> //#include "InitialParameters.h" #include <gtsam/geometry/Pose2.h> #include <gtsam/geometry/CalibratedCamera.h> namespace gtsam{ /*Non-linear factor for Factor between robot pose and ArUco landmark*/ template<class POSE, class LANDMARK, class CALIBRATION = Cal3_S2> class MarkerFactor: public NoiseModelFactor2<POSE, LANDMARK> { protected: // Keep a copy of measurement and calibration for I/O Vector8 measured_; ///< 2D measurement //individual measurements of points Point2 measured_tl_; Point2 measured_tr_; Point2 measured_br_; Point2 measured_bl_; boost::shared_ptr<CALIBRATION> K_; ///< shared pointer to calibration object boost::optional<POSE> body_P_sensor_; ///< The pose of the sensor in the body frame // verbosity handling for Cheirality Exceptions bool throwCheirality_; ///< If true, rethrows Cheirality exceptions (default: false) bool verboseCheirality_; ///< If true, prints text for Cheirality exceptions (default: false) public: //Marker Size double marker_size_; ///Fiducial marker side length (Assuming that the fiducial marker is a square) /// shorthand for base class type typedef NoiseModelFactor2<POSE, LANDMARK> Base; /// shorthand for this class typedef MarkerFactor<POSE, LANDMARK, CALIBRATION> This; /// shorthand for a smart pointer to a factor typedef boost::shared_ptr<This> shared_ptr; /// Default constructor MarkerFactor() : throwCheirality_(false), verboseCheirality_(false), measured_tl_(0,0), measured_tr_(0,0), measured_br_(0,0), measured_bl_(0,0){ measured_ << 0, 0, 0, 0, 0, 0, 0, 0; } /** * Constructor * TODO: Mark argument order standard (keys, measurement, parameters) * @param measured is vector of 4 corner points * @param model is the standard deviation * @param poseKey is the index of the base_link * @param markerKey is the index of the ArUco marker * @param K shared pointer to the constant calibration * @param body_P_sensor is the transform from body to sensor frame (default identity) */ MarkerFactor(const Point2& measured_tl, const Point2& measured_tr, const Point2& measured_br, const Point2& measured_bl, const SharedNoiseModel& model, Key poseKey, Key markerKey, const boost::shared_ptr<CALIBRATION>& K, double marker_size, boost::optional<POSE> body_P_sensor = boost::none) : Base(model, poseKey, markerKey), measured_tl_(measured_tl), measured_tr_(measured_tr), measured_br_(measured_br), measured_bl_(measured_bl), K_(K), marker_size_(marker_size), body_P_sensor_(body_P_sensor), throwCheirality_(false), verboseCheirality_(false) { measured_ << measured_tl_.x(), measured_tl_.y(), measured_tr_.x(), measured_tr_.y(), measured_br_.x(), measured_br_.y(), measured_bl_.x(), measured_bl_.y(); } /** * Constructor with exception-handling flags * TODO: Mark argument order standard (keys, measurement, parameters) * @param measured is vector of 4 corner points * @param model is the standard deviation * @param poseKey is the index of the base_link * @param markerKey is the index of the ArUco marker * @param K shared pointer to the constant calibration * @param throwCheirality determines whether Cheirality exceptions are rethrown * @param verboseCheirality determines whether exceptions are printed for Cheirality * @param body_P_sensor is the transform from body to sensor frame (default identity) */ MarkerFactor(const Point2& measured_tl, const Point2& measured_tr, const Point2& measured_br, const Point2& measured_bl, const SharedNoiseModel& model, Key poseKey, Key markerKey, const boost::shared_ptr<CALIBRATION>& K, double marker_size, bool throwCheirality, bool verboseCheirality, boost::optional<POSE> body_P_sensor = boost::none) : Base(model, poseKey, markerKey), measured_tl_(measured_tl), measured_tr_(measured_tr), measured_br_(measured_br), measured_bl_(measured_bl), K_(K), marker_size_(marker_size), body_P_sensor_(body_P_sensor), throwCheirality_(throwCheirality), verboseCheirality_(verboseCheirality) { measured_ << measured_tl_.x(), measured_tl_.y(), measured_tr_.x(), measured_tr_.y(), measured_br_.x(), measured_br_.y(), measured_bl_.x(), measured_bl_.y(); } /** Virtual destructor */ virtual ~MarkerFactor() {} /// @return a deep copy of this factor virtual gtsam::NonlinearFactor::shared_ptr clone() const { return boost::static_pointer_cast<gtsam::NonlinearFactor>( gtsam::NonlinearFactor::shared_ptr(new This(*this))); } /** * print * @param s optional string naming the factor * @param keyFormatter optional formatter useful for printing Symbols */ void print(const std::string& s = "", const KeyFormatter& keyFormatter = DefaultKeyFormatter) const { std::cout << s << "MarkerFactor, z = "; traits<Vector8>::Print(measured_); /*traits<Point2>::Print(measured_[1]); traits<Point2>::Print(measured_[2]); traits<Point2>::Print(measured_[3]);*/ if(this->body_P_sensor_) this->body_P_sensor_->print(" sensor pose in body frame: "); Base::print("", keyFormatter); } /// equals virtual bool equals(const NonlinearFactor& p, double tol = 1e-9) const { const This *e = dynamic_cast<const This*>(&p); return e && Base::equals(p, tol) && traits<Vector8>::Equals(this->measured_, e->measured_, tol) /*&& traits<Point2>::Equals(this->measured_[1], e->measured_[1], tol) && traits<Point2>::Equals(this->measured_[2], e->measured_[2], tol) && traits<Point2>::Equals(this->measured_[3], e->measured_[3], tol)*/ && this->K_->equals(*e->K_, tol) && ((!body_P_sensor_ && !e->body_P_sensor_) || (body_P_sensor_ && e->body_P_sensor_ && body_P_sensor_->equals(*e->body_P_sensor_))); } /// Evaluate error h(x)-z and optionally derivatives Vector evaluateError(const Pose3& pose, const Pose3& landmark, boost::optional<Matrix&> H1 = boost::none, boost::optional<Matrix&> H2 = boost::none) const { try { if (body_P_sensor_) { if (H1) { gtsam::Matrix H0; PinholeCamera<CALIBRATION> camera(pose.compose(*body_P_sensor_, H0), *K_); //h21_tl is the 3x6 Jacobian matrix that we get for transforming the corner in world coordinates from landmark coordinate frame gtsam::Matrix36 h21_tl, h21_tr, h21_br, h21_bl; //h22_tl is the 2x3 jacobian matrix that represents derivative of the pixel coordinates w.r.t to the corner point gtsam::Matrix23 h22_tl, h22_tr, h22_br, h22_bl; Point3 top_left(-marker_size_ / 2, marker_size_ / 2, 0), top_right(marker_size_ / 2, marker_size_ / 2, 0), bottom_right(marker_size_ / 2, -marker_size_ / 2, 0), bottom_left(-marker_size_ / 2, -marker_size_ / 2, 0); Point3 w_tl = landmark.transform_from(top_left, h21_tl); Point3 w_tr = landmark.transform_from(top_right, h21_tr); Point3 w_br = landmark.transform_from(bottom_right, h21_br); Point3 w_bl = landmark.transform_from(bottom_left, h21_bl); //h11_tl is the 2x6 jacobian matrix representing derivative of pixel coordinates wrt the pose of the robot gtsam::Matrix26 h11_tl, h11_tr, h11_br, h11_bl; Point2 reprojection_tl(camera.project(w_tl, h11_tl, h22_tl, boost::none) - measured_tl_); Point2 reprojection_tr(camera.project(w_tr, h11_tr, h22_tr, boost::none) - measured_tr_); Point2 reprojection_br(camera.project(w_br, h11_br, h22_br, boost::none) - measured_br_); Point2 reprojection_bl(camera.project(w_bl, h11_bl, h22_bl, boost::none) - measured_bl_); h11_tl = h11_tl * H0; h11_tr = h11_tr * H0; h11_br = h11_br * H0; h11_bl = h11_bl * H0; if(H1){ // setH(H1, h11_tl, h11_tr, h11_br, h11_bl); *H1 = (gtsam::Matrix86() << h11_tl(0,0), h11_tl(0,1), h11_tl(0,2), h11_tl(0,3), h11_tl(0,4), h11_tl(0,5), h11_tl(1,0), h11_tl(1,1), h11_tl(1,2), h11_tl(1,3), h11_tl(1,4), h11_tl(1,5), h11_tr(0,0), h11_tr(0,1), h11_tr(0,2), h11_tr(0,3), h11_tr(0,4), h11_tr(0,5), h11_tr(1,0), h11_tr(1,1), h11_tr(1,2), h11_tr(1,3), h11_tr(1,4), h11_tr(1,5), h11_br(0,0), h11_br(0,1), h11_br(0,2), h11_br(0,3), h11_br(0,4), h11_br(0,5), h11_br(1,0), h11_br(1,1), h11_br(1,2), h11_br(1,3), h11_br(1,4), h11_br(1,5), h11_bl(0,0), h11_bl(0,1), h11_bl(0,2), h11_bl(0,3), h11_bl(0,4), h11_bl(0,5), h11_bl(1,0), h11_bl(1,1), h11_bl(1,2), h11_bl(1,3), h11_bl(1,4), h11_bl(1,5)).finished(); /*(*H1) << 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 ,1, 0, 0, 0, 0, 0, 1;*/ } if(H2){ gtsam::Matrix26 h2_tl, h2_tr, h2_br, h2_bl; h2_tl = h22_tl * h21_tl; h2_tr = h22_tr * h21_tr, h2_br = h22_br * h21_br, h2_bl = h22_bl * h21_bl; //setH(H2, h2_tl, h2_tr, h2_br, h2_bl); *H2 = (gtsam::Matrix86() << h2_tl(0,0), h2_tl(0,1), h2_tl(0,2), h2_tl(0,3), h2_tl(0,4), h2_tl(0,5), h2_tl(1,0), h2_tl(1,1), h2_tl(1,2), h2_tl(1,3), h2_tl(1,4), h2_tl(1,5), h2_tr(0,0), h2_tr(0,1), h2_tr(0,2), h2_tr(0,3), h2_tr(0,4), h2_tr(0,5), h2_tr(1,0), h2_tr(1,1), h2_tr(1,2), h2_tr(1,3), h2_tr(1,4), h2_tr(1,5), h2_br(0,0), h2_br(0,1), h2_br(0,2), h2_br(0,3), h2_br(0,4), h2_br(0,5), h2_br(1,0), h2_br(1,1), h2_br(1,2), h2_br(1,3), h2_br(1,4), h2_br(1,5), h2_bl(0,0), h2_bl(0,1), h2_bl(0,2), h2_bl(0,3), h2_bl(0,4), h2_bl(0,5), h2_bl(1,0), h2_bl(1,1), h2_bl(1,2), h2_bl(1,3), h2_bl(1,4), h2_bl(1,5)).finished(); /*(*H2) << 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 ,1, 0, 0, 0, 0, 0, 1;*/ } Vector8 measurement_error; measurement_error << reprojection_tl.x(), reprojection_tl.y(), reprojection_tr.x(), reprojection_tr.y(), reprojection_br.x(), reprojection_br.y(), reprojection_bl.x(), reprojection_bl.y(); return measurement_error; } else { //i.e. if(!H1) PinholeCamera<CALIBRATION> camera(pose.compose(*body_P_sensor_), *K_); //h21_tl is the 3x6 Jacobian matrix that we get for transforming the corner in world coordinates from landmark coordinate frame gtsam::Matrix36 h21_tl, h21_tr, h21_br, h21_bl; //h22_tl is the 2x3 jacobian matrix that represents derivative of the pixel coordinates w.r.t to the corner point gtsam::Matrix23 h22_tl, h22_tr, h22_br, h22_bl; Point3 top_left(-marker_size_ / 2, marker_size_ / 2, 0), top_right(marker_size_ / 2, marker_size_ / 2, 0), bottom_right(marker_size_ / 2, -marker_size_ / 2, 0), bottom_left(-marker_size_ / 2, marker_size_ / 2, 0); Point3 w_tl = landmark.transform_from(top_left, h21_tl); Point3 w_tr = landmark.transform_from(top_right, h21_tr); Point3 w_br = landmark.transform_from(bottom_right, h21_br); Point3 w_bl = landmark.transform_from(bottom_left, h21_bl); //h11_tl is the 2x6 jacobian matrix representing derivative of pixel coordinates wrt the pose of the robot gtsam::Matrix26 h11_tl, h11_tr, h11_br, h11_bl; Point2 reprojection_tl(camera.project(w_tl, h11_tl, h22_tl, boost::none) - measured_tl_); Point2 reprojection_tr(camera.project(w_tr, h11_tr, h22_tr, boost::none) - measured_tr_); Point2 reprojection_br(camera.project(w_br, h11_br, h22_br, boost::none) - measured_br_); Point2 reprojection_bl(camera.project(w_bl, h11_bl, h22_bl, boost::none) - measured_bl_); if(H1){ //setH(H1, h11_tl, h11_tr, h11_br, h11_bl); *H1 = (gtsam::Matrix86() << h11_tl(0,0), h11_tl(0,1), h11_tl(0,2), h11_tl(0,3), h11_tl(0,4), h11_tl(0,5), h11_tl(1,0), h11_tl(1,1), h11_tl(1,2), h11_tl(1,3), h11_tl(1,4), h11_tl(1,5), h11_tr(0,0), h11_tr(0,1), h11_tr(0,2), h11_tr(0,3), h11_tr(0,4), h11_tr(0,5), h11_tr(1,0), h11_tr(1,1), h11_tr(1,2), h11_tr(1,3), h11_tr(1,4), h11_tr(1,5), h11_br(0,0), h11_br(0,1), h11_br(0,2), h11_br(0,3), h11_br(0,4), h11_br(0,5), h11_br(1,0), h11_br(1,1), h11_br(1,2), h11_br(1,3), h11_br(1,4), h11_br(1,5), h11_bl(0,0), h11_bl(0,1), h11_bl(0,2), h11_bl(0,3), h11_bl(0,4), h11_bl(0,5), h11_bl(1,0), h11_bl(1,1), h11_bl(1,2), h11_bl(1,3), h11_bl(1,4), h11_bl(1,5)).finished(); /*(*H1) << 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 ,1, 0, 0, 0, 0, 0, 1;*/ } if(H2){ gtsam::Matrix26 h2_tl, h2_tr, h2_br, h2_bl; h2_tl = h22_tl * h21_tl; h2_tr = h22_tr * h21_tr, h2_br = h22_br * h21_br, h2_bl = h22_bl * h21_bl; //setH(H2, h2_tl, h2_tr, h2_br, h2_bl); *H2 = (gtsam::Matrix86() << h2_tl(0,0), h2_tl(0,1), h2_tl(0,2), h2_tl(0,3), h2_tl(0,4), h2_tl(0,5), h2_tl(1,0), h2_tl(1,1), h2_tl(1,2), h2_tl(1,3), h2_tl(1,4), h2_tl(1,5), h2_tr(0,0), h2_tr(0,1), h2_tr(0,2), h2_tr(0,3), h2_tr(0,4), h2_tr(0,5), h2_tr(1,0), h2_tr(1,1), h2_tr(1,2), h2_tr(1,3), h2_tr(1,4), h2_tr(1,5), h2_br(0,0), h2_br(0,1), h2_br(0,2), h2_br(0,3), h2_br(0,4), h2_br(0,5), h2_br(1,0), h2_br(1,1), h2_br(1,2), h2_br(1,3), h2_br(1,4), h2_br(1,5), h2_bl(0,0), h2_bl(0,1), h2_bl(0,2), h2_bl(0,3), h2_bl(0,4), h2_bl(0,5), h2_bl(1,0), h2_bl(1,1), h2_bl(1,2), h2_bl(1,3), h2_bl(1,4), h2_bl(1,5)).finished(); /*(*H2) << 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 ,1, 0, 0, 0, 0, 0, 1;*/ } Vector8 measurement_error; measurement_error << reprojection_tl.x(), reprojection_tl.y(), reprojection_tr.x(), reprojection_tr.y(), reprojection_br.x(), reprojection_br.y(), reprojection_bl.x(), reprojection_bl.y(); return measurement_error; } } else{ //i.e. if(!body_p_sensor) PinholeCamera<CALIBRATION> camera(pose, *K_); //h21_tl is the 3x6 Jacobian matrix that we get for transforming the corner in world coordinates from landmark coordinate frame gtsam::Matrix36 h21_tl, h21_tr, h21_br, h21_bl; //h22_tl is the 2x3 jacobian matrix that represents derivative of the pixel coordinates w.r.t to the corner point gtsam::Matrix23 h22_tl, h22_tr, h22_br, h22_bl; Point3 top_left(-marker_size_ / 2, marker_size_ / 2, 0), top_right(marker_size_ / 2, marker_size_ / 2, 0), bottom_right(marker_size_ / 2, -marker_size_ / 2, 0), bottom_left(-marker_size_ / 2, marker_size_ / 2, 0); Point3 w_tl = landmark.transform_from(top_left, h21_tl); Point3 w_tr = landmark.transform_from(top_right, h21_tr); Point3 w_br = landmark.transform_from(bottom_right, h21_br); Point3 w_bl = landmark.transform_from(bottom_left, h21_bl); //h11_tl is the 2x6 jacobian matrix representing derivative of pixel coordinates wrt the pose of the robot gtsam::Matrix26 h11_tl, h11_tr, h11_br, h11_bl; Point2 reprojection_tl(camera.project(w_tl, h11_tl, h22_tl, boost::none) - measured_tl_); Point2 reprojection_tr(camera.project(w_tr, h11_tr, h22_tr, boost::none) - measured_tr_); Point2 reprojection_br(camera.project(w_br, h11_br, h22_br, boost::none) - measured_br_); Point2 reprojection_bl(camera.project(w_bl, h11_bl, h22_bl, boost::none) - measured_bl_); //TODO(ALG): Need to initialize H1 and H2 before dereferencing --Maybe NOT if(H1){ //setH(H1, h11_tl, h11_tr, h11_br, h11_bl); *H1 = (gtsam::Matrix86() << h11_tl(0,0), h11_tl(0,1), h11_tl(0,2), h11_tl(0,3), h11_tl(0,4), h11_tl(0,5), h11_tl(1,0), h11_tl(1,1), h11_tl(1,2), h11_tl(1,3), h11_tl(1,4), h11_tl(1,5), h11_tr(0,0), h11_tr(0,1), h11_tr(0,2), h11_tr(0,3), h11_tr(0,4), h11_tr(0,5), h11_tr(1,0), h11_tr(1,1), h11_tr(1,2), h11_tr(1,3), h11_tr(1,4), h11_tr(1,5), h11_br(0,0), h11_br(0,1), h11_br(0,2), h11_br(0,3), h11_br(0,4), h11_br(0,5), h11_br(1,0), h11_br(1,1), h11_br(1,2), h11_br(1,3), h11_br(1,4), h11_br(1,5), h11_bl(0,0), h11_bl(0,1), h11_bl(0,2), h11_bl(0,3), h11_bl(0,4), h11_bl(0,5), h11_bl(1,0), h11_bl(1,1), h11_bl(1,2), h11_bl(1,3), h11_bl(1,4), h11_bl(1,5)).finished(); /*(*H1) << 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 ,1, 0, 0, 0, 0, 0, 1;*/ } if(H2){ gtsam::Matrix26 h2_tl, h2_tr, h2_br, h2_bl; h2_tl = h22_tl * h21_tl; h2_tr = h22_tr * h21_tr, h2_br = h22_br * h21_br, h2_bl = h22_bl * h21_bl; //setH(H2, h2_tl, h2_tr, h2_br, h2_bl); *H2 = (gtsam::Matrix86() << h2_tl(0,0), h2_tl(0,1), h2_tl(0,2), h2_tl(0,3), h2_tl(0,4), h2_tl(0,5), h2_tl(1,0), h2_tl(1,1), h2_tl(1,2), h2_tl(1,3), h2_tl(1,4), h2_tl(1,5), h2_tr(0,0), h2_tr(0,1), h2_tr(0,2), h2_tr(0,3), h2_tr(0,4), h2_tr(0,5), h2_tr(1,0), h2_tr(1,1), h2_tr(1,2), h2_tr(1,3), h2_tr(1,4), h2_tr(1,5), h2_br(0,0), h2_br(0,1), h2_br(0,2), h2_br(0,3), h2_br(0,4), h2_br(0,5), h2_br(1,0), h2_br(1,1), h2_br(1,2), h2_br(1,3), h2_br(1,4), h2_br(1,5), h2_bl(0,0), h2_bl(0,1), h2_bl(0,2), h2_bl(0,3), h2_bl(0,4), h2_bl(0,5), h2_bl(1,0), h2_bl(1,1), h2_bl(1,2), h2_bl(1,3), h2_bl(1,4), h2_bl(1,5)).finished(); /*(*H2) << 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 ,1, 0, 0, 0, 0, 0, 1;*/ } Vector8 measurement_error; measurement_error << reprojection_tl.x(), reprojection_tl.y(), reprojection_tr.x(), reprojection_tr.y(), reprojection_br.x(), reprojection_br.y(), reprojection_bl.x(), reprojection_bl.y(); return measurement_error; } } catch( CheiralityException& e) { if (H1) *H1 = Matrix::Zero(8,6); if (H2) *H2 = Matrix::Zero(8,6); if (verboseCheirality_) std::cout << e.what() << ": Landmark "<< DefaultKeyFormatter(this->key2()) << " moved behind camera " << DefaultKeyFormatter(this->key1()) << std::endl; if (throwCheirality_) throw e; } return Vector8::Constant(2.0 * K_->fx()); } /* void setH(OptionalJacobian<8, 6> H = boost::none, gtsam::Matrix26 h_tl = Matrix::Zero(2,6), gtsam::Matrix26 h_tr = Matrix::Zero(2,6), gtsam::Matrix26 h_br = Matrix::Zero(2,6), gtsam::Matrix26 h_bl = Matrix::Zero(2,6)){ if(H){ (*H) << h_tl(0,0), h_tl(0,1), h_tl(0,2), h_tl(0,3), h_tl(0,4), h_tl(0,5), h_tl(1,0), h_tl(1,1), h_tl(1,2), h_tl(1,3), h_tl(1,4), h_tl(1,5), h_tr(0,0), h_tr(0,1), h_tr(0,2), h_tr(0,3), h_tr(0,4), h_tr(0,5), h_tr(1,0), h_tr(1,1), h_tr(1,2), h_tr(1,3), h_tr(1,4), h_tr(1,5), h_br(0,0), h_br(0,1), h_br(0,2), h_br(0,3), h_br(0,4), h_br(0,5), h_br(1,0), h_br(1,1), h_br(1,2), h_br(1,3), h_br(1,4), h_br(1,5), h_bl(0,0), h_bl(0,1), h_bl(0,2), h_bl(0,3), h_bl(0,4), h_bl(0,5), h_bl(1,0), h_bl(1,1), h_bl(1,2), h_bl(1,3), h_bl(1,4), h_bl(1,5); } }*/ /** return the measurement */ const Vector8& measured() const { return measured_; } /** return the calibration object */ inline const boost::shared_ptr<CALIBRATION> calibration() const { return K_; } /** return verbosity */ inline bool verboseCheirality() const { return verboseCheirality_; } /** return flag for throwing cheirality exceptions */ inline bool throwCheirality() const { return throwCheirality_; } private: /// Serialization function friend class boost::serialization::access; template<class ARCHIVE> void serialize(ARCHIVE & ar, const unsigned int /*version*/) { ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Base); ar & BOOST_SERIALIZATION_NVP(measured_); ar & BOOST_SERIALIZATION_NVP(K_); ar & BOOST_SERIALIZATION_NVP(body_P_sensor_); ar & BOOST_SERIALIZATION_NVP(throwCheirality_); ar & BOOST_SERIALIZATION_NVP(verboseCheirality_); } public: EIGEN_MAKE_ALIGNED_OPERATOR_NEW }; /// traits template<class POSE, class LANDMARK, class CALIBRATION> struct traits<MarkerFactor<POSE, LANDMARK, CALIBRATION> > : public Testable<MarkerFactor<POSE, LANDMARK, CALIBRATION> > { }; } #endif //ISAM2_MARKERFACTOR_H
49.917399
161
0.469563
[ "geometry", "object", "vector", "model", "transform" ]
e9404119b9ccebf6a394e7a322d9a7577b949f3c
893
h
C
src/xray/editor/world/sources/property_string.h
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/editor/world/sources/property_string.h
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/editor/world/sources/property_string.h
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 07.12.2007 // Author : Dmitriy Iassenev // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #ifndef PROPERTY_STRING_HPP_INCLUDED #define PROPERTY_STRING_HPP_INCLUDED #include "property_holder_include.h" public ref class property_string : public xray::editor::controls::property_value { public: property_string ( string_getter_type^ getter, string_setter_type^ setter ); virtual ~property_string(); !property_string(); virtual System::Object ^get_value (); virtual void set_value (System::Object ^object); private: string_getter_type^ m_getter; string_setter_type^ m_setter; }; // ref class property_string #endif // ifndef PROPERTY_STRING_HPP_INCLUDED
30.793103
83
0.583427
[ "object" ]
e9478b78f14c3513b27e08e2e4fb38d87128e985
3,802
h
C
src/Sparrow/Sparrow/Implementations/Nddo/Utils/FockMatrix.h
DockBio/sparrow
f82cf86584e9edfc6f2c78af4896dc6f2ee8a455
[ "BSD-3-Clause" ]
null
null
null
src/Sparrow/Sparrow/Implementations/Nddo/Utils/FockMatrix.h
DockBio/sparrow
f82cf86584e9edfc6f2c78af4896dc6f2ee8a455
[ "BSD-3-Clause" ]
null
null
null
src/Sparrow/Sparrow/Implementations/Nddo/Utils/FockMatrix.h
DockBio/sparrow
f82cf86584e9edfc6f2c78af4896dc6f2ee8a455
[ "BSD-3-Clause" ]
null
null
null
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ #ifndef SPARROW_NDDO_FOCKMATRIX_H #define SPARROW_NDDO_FOCKMATRIX_H #include "OneElectronMatrix.h" #include "TwoElectronMatrix.h" #include <Sparrow/Implementations/Nddo/Utils/IntegralsEvaluationUtils/TwoCenterIntegralContainer.h> #include <Utils/Math/AutomaticDifferentiation/MethodsTypesHelper.h> #include <Utils/Scf/MethodInterfaces/ElectronicContributionCalculator.h> #include <memory> namespace Scine { namespace Utils { class AtomsOrbitalsIndexes; class DensityMatrix; class OverlapCalculator; class ElectronicEnergyCalculator; } // namespace Utils namespace Sparrow { namespace nddo { class FockMatrix : public Utils::ElectronicContributionCalculator { public: FockMatrix(const Utils::ElementTypeCollection& elements, const Utils::PositionCollection& positions, const Utils::DensityMatrix& densityMatrix, const OneCenterIntegralContainer& oneCIntegrals, const ElementParameters& elementPar, const Utils::AtomsOrbitalsIndexes& aoIndexes, const Utils::OverlapCalculator& overlapCalculator, const bool& unrestrictedCalculationRunning); void initialize() override; void calculateDensityIndependentPart(Utils::derivOrder order) override; void calculateDensityDependentPart(Utils::derivOrder order) override; void finalize(Utils::derivOrder order) override; Utils::SpinAdaptedMatrix getMatrix() const override; double calculateElectronicEnergy() const override; void addDerivatives(Utils::AutomaticDifferentiation::DerivativeContainerType<Utils::derivativeType::first>& derivatives) const override; void addDerivatives(Utils::AutomaticDifferentiation::DerivativeContainerType<Utils::derivativeType::second_atomic>& derivatives) const override; void addDerivatives(Utils::AutomaticDifferentiation::DerivativeContainerType<Utils::derivativeType::second_full>& derivatives) const override; const OneElectronMatrix& getOneElectronMatrix() const; const TwoElectronMatrix& getTwoElectronMatrix() const; const std::vector<std::shared_ptr<Utils::AdditiveElectronicContribution>>& getDensityDependentContributions() const; const std::vector<std::shared_ptr<Utils::AdditiveElectronicContribution>>& getDensityIndependentContributions() const; /** * This function adds an additive electronic contribution to the * Hamiltonian that will be evaluated each SCF iteration. */ void addDensityDependentElectronicContribution(std::shared_ptr<Utils::AdditiveElectronicContribution> contribution) final; /** * This function adds an additive electronic contribution to the Hamiltonian * that will be evaluated once per single-point calculation. */ void addDensityIndependentElectronicContribution(std::shared_ptr<Utils::AdditiveElectronicContribution> contribution) final; void clearElectronicContributions(); void eraseElectronicContribution(std::shared_ptr<Utils::AdditiveElectronicContribution> contribution); private: template<Utils::derivativeType O> void addDerivativesImpl(Utils::AutomaticDifferentiation::DerivativeContainerType<O>& derivatives) const; TwoCenterIntegralContainer twoCenterIntegrals_; OneElectronMatrix F1_; TwoElectronMatrix F2_; const Utils::OverlapCalculator& overlapCalculator_; const bool& unrestrictedCalculationRunning_; std::unique_ptr<Utils::ElectronicEnergyCalculator> electronicEnergyCalculator_; std::vector<std::shared_ptr<Utils::AdditiveElectronicContribution>> densityDependentContributions_, densityIndependentContributions_; }; } // namespace nddo } // namespace Sparrow } // namespace Scine #endif // SPARROW_NDDO_FOCKMATRIX_H
44.729412
146
0.809837
[ "vector" ]
e949cf835c89accf364a4a082855ec128832bb64
1,821
h
C
sb/cli.h
ScottBailey/libsb
078517f0dc8f168034044a969badafc177b8a398
[ "BSD-3-Clause" ]
null
null
null
sb/cli.h
ScottBailey/libsb
078517f0dc8f168034044a969badafc177b8a398
[ "BSD-3-Clause" ]
null
null
null
sb/cli.h
ScottBailey/libsb
078517f0dc8f168034044a969badafc177b8a398
[ "BSD-3-Clause" ]
null
null
null
#ifndef sb_cli_h #define sb_cli_h #include <vector> #include <utility> // std::pair #include <sb/detail/cli_iterator.ipp> // Iterators plus types namespace sb { class cli { public: cli() = delete; cli(const cli& rhs) = delete; cli(const cli&& rhs) = delete; cli(int argc, const char* const argv[]); ~cli(); /// Report the number of expanded enties. /// @return The number of expanded entries in the CLI, excluding argv[0]; size_t size() const; /// @return true if the CLI is empty (other than argv[0]). bool empty() const; /// @return The invocation, aka argv[0]. const std::string& invocation() const; /// @param index Index into the arg list, note that 0 is the first NON invocation argument. /// @return Const ref to the requested argument. const std::string& operator[](size_t index) const; // iterator functionality using iterator = detail::cli_iterator; ///< mutable iterator. using const_iterator = detail::const_cli_iterator; ///< const iterator. // @return The argument following iter's argument. example: `-ftr filename` if dereferencing iter would return any of "-f", // "-t", or "-r" then follows() will return "filename". const std::string& follows(const iterator& iter) const; const std::string& follows(const const_iterator& iter) const; // Iterators do NOT include invocation/argv[0] and iterate over the expanded data. iterator begin() noexcept; const_iterator begin() const noexcept; const_iterator cbegin() const noexcept; iterator end() noexcept; const_iterator end() const noexcept; const_iterator cend() const noexcept; private: std::string m_invocation; detail::args_t m_args; // These are the arguments, excluding argv[0]. }; } // namespace sb #include <sb/detail/cli.ipp> #endif
28.453125
126
0.689731
[ "vector" ]
e94ccd53198146e8bc9df8f263236ff7c1d86849
524
h
C
include/metadiff.h
Botev/metaDiff
fb571da1e0267109d96c3206ffb26717afdf6253
[ "MIT" ]
7
2016-05-29T09:39:52.000Z
2017-11-29T10:52:09.000Z
include/metadiff.h
Botev/metaDiff
fb571da1e0267109d96c3206ffb26717afdf6253
[ "MIT" ]
9
2016-01-05T23:04:24.000Z
2016-02-21T21:34:17.000Z
include/metadiff.h
Botev/metaDiff
fb571da1e0267109d96c3206ffb26717afdf6253
[ "MIT" ]
5
2016-06-07T12:26:24.000Z
2016-12-12T16:49:38.000Z
// // Created by alex on 19/03/15. // #ifndef METADIFF_METADIFF_H #define METADIFF_METADIFF_H #include "vector" #include "memory" #include "iostream" #include "iomanip" #include <exception> #include <fstream> #include <dlfcn.h> #include "sstream" #include "os.h" #include "logging.h" #include "symbolic.h" #include "defs.h" #include "shared.h" #include "core.h" #include "exceptions.h" #include "core_impl.h" #include "operators.h" #include "visual.h" #include "backends.h" #include "api.h" #endif //METADIFF_METADIFF_H
16.903226
31
0.723282
[ "vector" ]
e95572f8d8adf53954e9b80c117921b3da196aaa
54,843
c
C
release/src-rt-6.x.4708/router/samba3/source3/librpc/gen_ndr/py_dfsblobs.c
zaion520/ATtomato
4d48bb79f8d147f89a568cf18da9e0edc41f93fb
[ "FSFAP" ]
2
2019-01-13T09:19:10.000Z
2019-02-15T01:21:02.000Z
release/src-rt-6.x.4708/router/samba3/source3/librpc/gen_ndr/py_dfsblobs.c
zaion520/ATtomato
4d48bb79f8d147f89a568cf18da9e0edc41f93fb
[ "FSFAP" ]
null
null
null
release/src-rt-6.x.4708/router/samba3/source3/librpc/gen_ndr/py_dfsblobs.c
zaion520/ATtomato
4d48bb79f8d147f89a568cf18da9e0edc41f93fb
[ "FSFAP" ]
2
2020-03-08T01:58:25.000Z
2020-12-20T10:34:54.000Z
/* Python wrapper functions auto-generated by pidl */ #include <Python.h> #include "includes.h" #include <pytalloc.h> #include "librpc/rpc/pyrpc.h" #include "librpc/rpc/pyrpc_util.h" #include "librpc/gen_ndr/ndr_dfsblobs.h" #include "librpc/gen_ndr/ndr_dfsblobs_c.h" #include "librpc/gen_ndr/misc.h" staticforward PyTypeObject dfs_referral_v1_Type; staticforward PyTypeObject dfs_referral_v2_Type; staticforward PyTypeObject dfs_normal_referral_Type; staticforward PyTypeObject dfs_domain_referral_Type; staticforward PyTypeObject dfs_referral_v3_remaining_Type; staticforward PyTypeObject dfs_referral_v3_Type; staticforward PyTypeObject dfs_referral_v4_Type; staticforward PyTypeObject dfs_referral_type_Type; staticforward PyTypeObject dfs_referral_resp_Type; staticforward PyTypeObject dfs_GetDFSReferral_in_Type; staticforward PyTypeObject dfsblobs_InterfaceType; void initdfsblobs(void);static PyTypeObject *ClientConnection_Type; static PyTypeObject *Object_Type; static PyObject *py_dfs_referral_v1_get_size(PyObject *obj, void *closure) { struct dfs_referral_v1 *object = (struct dfs_referral_v1 *)py_talloc_get_ptr(obj); PyObject *py_size; py_size = PyInt_FromLong(object->size); return py_size; } static int py_dfs_referral_v1_set_size(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v1 *object = (struct dfs_referral_v1 *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->size = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_v1_get_server_type(PyObject *obj, void *closure) { struct dfs_referral_v1 *object = (struct dfs_referral_v1 *)py_talloc_get_ptr(obj); PyObject *py_server_type; py_server_type = PyInt_FromLong(object->server_type); return py_server_type; } static int py_dfs_referral_v1_set_server_type(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v1 *object = (struct dfs_referral_v1 *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->server_type = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_v1_get_entry_flags(PyObject *obj, void *closure) { struct dfs_referral_v1 *object = (struct dfs_referral_v1 *)py_talloc_get_ptr(obj); PyObject *py_entry_flags; py_entry_flags = PyInt_FromLong(object->entry_flags); return py_entry_flags; } static int py_dfs_referral_v1_set_entry_flags(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v1 *object = (struct dfs_referral_v1 *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->entry_flags = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_v1_get_share_name(PyObject *obj, void *closure) { struct dfs_referral_v1 *object = (struct dfs_referral_v1 *)py_talloc_get_ptr(obj); PyObject *py_share_name; if (object->share_name == NULL) { py_share_name = Py_None; Py_INCREF(py_share_name); } else { py_share_name = PyString_FromStringOrNULL(object->share_name); } return py_share_name; } static int py_dfs_referral_v1_set_share_name(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v1 *object = (struct dfs_referral_v1 *)py_talloc_get_ptr(py_obj); if (value == Py_None) { object->share_name = NULL; } else { object->share_name = NULL; object->share_name = talloc_strdup(py_talloc_get_mem_ctx(py_obj), PyString_AS_STRING(value)); } return 0; } static PyGetSetDef py_dfs_referral_v1_getsetters[] = { { discard_const_p(char, "size"), py_dfs_referral_v1_get_size, py_dfs_referral_v1_set_size }, { discard_const_p(char, "server_type"), py_dfs_referral_v1_get_server_type, py_dfs_referral_v1_set_server_type }, { discard_const_p(char, "entry_flags"), py_dfs_referral_v1_get_entry_flags, py_dfs_referral_v1_set_entry_flags }, { discard_const_p(char, "share_name"), py_dfs_referral_v1_get_share_name, py_dfs_referral_v1_set_share_name }, { NULL } }; static PyObject *py_dfs_referral_v1_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { return py_talloc_new(struct dfs_referral_v1, type); } static PyTypeObject dfs_referral_v1_Type = { PyObject_HEAD_INIT(NULL) 0, .tp_name = "dfsblobs.dfs_referral_v1", .tp_getset = py_dfs_referral_v1_getsetters, .tp_methods = NULL, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_basicsize = sizeof(py_talloc_Object), .tp_new = py_dfs_referral_v1_new, }; static PyObject *py_dfs_referral_v2_get_size(PyObject *obj, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(obj); PyObject *py_size; py_size = PyInt_FromLong(object->size); return py_size; } static int py_dfs_referral_v2_set_size(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->size = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_v2_get_server_type(PyObject *obj, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(obj); PyObject *py_server_type; py_server_type = PyInt_FromLong(object->server_type); return py_server_type; } static int py_dfs_referral_v2_set_server_type(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(py_obj); if (PyLong_Check(value)) { object->server_type = PyLong_AsLongLong(value); } else if (PyInt_Check(value)) { object->server_type = PyInt_AsLong(value); } else { PyErr_Format(PyExc_TypeError, "Expected type %s or %s",\ PyInt_Type.tp_name, PyLong_Type.tp_name); return -1; } return 0; } static PyObject *py_dfs_referral_v2_get_entry_flags(PyObject *obj, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(obj); PyObject *py_entry_flags; py_entry_flags = PyInt_FromLong(object->entry_flags); return py_entry_flags; } static int py_dfs_referral_v2_set_entry_flags(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(py_obj); if (PyLong_Check(value)) { object->entry_flags = PyLong_AsLongLong(value); } else if (PyInt_Check(value)) { object->entry_flags = PyInt_AsLong(value); } else { PyErr_Format(PyExc_TypeError, "Expected type %s or %s",\ PyInt_Type.tp_name, PyLong_Type.tp_name); return -1; } return 0; } static PyObject *py_dfs_referral_v2_get_proximity(PyObject *obj, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(obj); PyObject *py_proximity; py_proximity = PyInt_FromLong(object->proximity); return py_proximity; } static int py_dfs_referral_v2_set_proximity(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->proximity = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_v2_get_ttl(PyObject *obj, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(obj); PyObject *py_ttl; py_ttl = PyInt_FromLong(object->ttl); return py_ttl; } static int py_dfs_referral_v2_set_ttl(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->ttl = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_v2_get_DFS_path(PyObject *obj, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(obj); PyObject *py_DFS_path; if (object->DFS_path == NULL) { py_DFS_path = Py_None; Py_INCREF(py_DFS_path); } else { py_DFS_path = PyString_FromStringOrNULL(object->DFS_path); } return py_DFS_path; } static int py_dfs_referral_v2_set_DFS_path(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(py_obj); if (value == Py_None) { object->DFS_path = NULL; } else { object->DFS_path = NULL; object->DFS_path = talloc_strdup(py_talloc_get_mem_ctx(py_obj), PyString_AS_STRING(value)); } return 0; } static PyObject *py_dfs_referral_v2_get_DFS_alt_path(PyObject *obj, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(obj); PyObject *py_DFS_alt_path; if (object->DFS_alt_path == NULL) { py_DFS_alt_path = Py_None; Py_INCREF(py_DFS_alt_path); } else { py_DFS_alt_path = PyString_FromStringOrNULL(object->DFS_alt_path); } return py_DFS_alt_path; } static int py_dfs_referral_v2_set_DFS_alt_path(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(py_obj); if (value == Py_None) { object->DFS_alt_path = NULL; } else { object->DFS_alt_path = NULL; object->DFS_alt_path = talloc_strdup(py_talloc_get_mem_ctx(py_obj), PyString_AS_STRING(value)); } return 0; } static PyObject *py_dfs_referral_v2_get_netw_address(PyObject *obj, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(obj); PyObject *py_netw_address; if (object->netw_address == NULL) { py_netw_address = Py_None; Py_INCREF(py_netw_address); } else { py_netw_address = PyString_FromStringOrNULL(object->netw_address); } return py_netw_address; } static int py_dfs_referral_v2_set_netw_address(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v2 *object = (struct dfs_referral_v2 *)py_talloc_get_ptr(py_obj); if (value == Py_None) { object->netw_address = NULL; } else { object->netw_address = NULL; object->netw_address = talloc_strdup(py_talloc_get_mem_ctx(py_obj), PyString_AS_STRING(value)); } return 0; } static PyGetSetDef py_dfs_referral_v2_getsetters[] = { { discard_const_p(char, "size"), py_dfs_referral_v2_get_size, py_dfs_referral_v2_set_size }, { discard_const_p(char, "server_type"), py_dfs_referral_v2_get_server_type, py_dfs_referral_v2_set_server_type }, { discard_const_p(char, "entry_flags"), py_dfs_referral_v2_get_entry_flags, py_dfs_referral_v2_set_entry_flags }, { discard_const_p(char, "proximity"), py_dfs_referral_v2_get_proximity, py_dfs_referral_v2_set_proximity }, { discard_const_p(char, "ttl"), py_dfs_referral_v2_get_ttl, py_dfs_referral_v2_set_ttl }, { discard_const_p(char, "DFS_path"), py_dfs_referral_v2_get_DFS_path, py_dfs_referral_v2_set_DFS_path }, { discard_const_p(char, "DFS_alt_path"), py_dfs_referral_v2_get_DFS_alt_path, py_dfs_referral_v2_set_DFS_alt_path }, { discard_const_p(char, "netw_address"), py_dfs_referral_v2_get_netw_address, py_dfs_referral_v2_set_netw_address }, { NULL } }; static PyObject *py_dfs_referral_v2_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { return py_talloc_new(struct dfs_referral_v2, type); } static PyTypeObject dfs_referral_v2_Type = { PyObject_HEAD_INIT(NULL) 0, .tp_name = "dfsblobs.dfs_referral_v2", .tp_getset = py_dfs_referral_v2_getsetters, .tp_methods = NULL, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_basicsize = sizeof(py_talloc_Object), .tp_new = py_dfs_referral_v2_new, }; static PyObject *py_dfs_normal_referral_get_DFS_path(PyObject *obj, void *closure) { struct dfs_normal_referral *object = (struct dfs_normal_referral *)py_talloc_get_ptr(obj); PyObject *py_DFS_path; if (object->DFS_path == NULL) { py_DFS_path = Py_None; Py_INCREF(py_DFS_path); } else { py_DFS_path = PyString_FromStringOrNULL(object->DFS_path); } return py_DFS_path; } static int py_dfs_normal_referral_set_DFS_path(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_normal_referral *object = (struct dfs_normal_referral *)py_talloc_get_ptr(py_obj); if (value == Py_None) { object->DFS_path = NULL; } else { object->DFS_path = NULL; object->DFS_path = talloc_strdup(py_talloc_get_mem_ctx(py_obj), PyString_AS_STRING(value)); } return 0; } static PyObject *py_dfs_normal_referral_get_DFS_alt_path(PyObject *obj, void *closure) { struct dfs_normal_referral *object = (struct dfs_normal_referral *)py_talloc_get_ptr(obj); PyObject *py_DFS_alt_path; if (object->DFS_alt_path == NULL) { py_DFS_alt_path = Py_None; Py_INCREF(py_DFS_alt_path); } else { py_DFS_alt_path = PyString_FromStringOrNULL(object->DFS_alt_path); } return py_DFS_alt_path; } static int py_dfs_normal_referral_set_DFS_alt_path(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_normal_referral *object = (struct dfs_normal_referral *)py_talloc_get_ptr(py_obj); if (value == Py_None) { object->DFS_alt_path = NULL; } else { object->DFS_alt_path = NULL; object->DFS_alt_path = talloc_strdup(py_talloc_get_mem_ctx(py_obj), PyString_AS_STRING(value)); } return 0; } static PyObject *py_dfs_normal_referral_get_netw_address(PyObject *obj, void *closure) { struct dfs_normal_referral *object = (struct dfs_normal_referral *)py_talloc_get_ptr(obj); PyObject *py_netw_address; if (object->netw_address == NULL) { py_netw_address = Py_None; Py_INCREF(py_netw_address); } else { py_netw_address = PyString_FromStringOrNULL(object->netw_address); } return py_netw_address; } static int py_dfs_normal_referral_set_netw_address(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_normal_referral *object = (struct dfs_normal_referral *)py_talloc_get_ptr(py_obj); if (value == Py_None) { object->netw_address = NULL; } else { object->netw_address = NULL; object->netw_address = talloc_strdup(py_talloc_get_mem_ctx(py_obj), PyString_AS_STRING(value)); } return 0; } static PyGetSetDef py_dfs_normal_referral_getsetters[] = { { discard_const_p(char, "DFS_path"), py_dfs_normal_referral_get_DFS_path, py_dfs_normal_referral_set_DFS_path }, { discard_const_p(char, "DFS_alt_path"), py_dfs_normal_referral_get_DFS_alt_path, py_dfs_normal_referral_set_DFS_alt_path }, { discard_const_p(char, "netw_address"), py_dfs_normal_referral_get_netw_address, py_dfs_normal_referral_set_netw_address }, { NULL } }; static PyObject *py_dfs_normal_referral_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { return py_talloc_new(struct dfs_normal_referral, type); } static PyTypeObject dfs_normal_referral_Type = { PyObject_HEAD_INIT(NULL) 0, .tp_name = "dfsblobs.dfs_normal_referral", .tp_getset = py_dfs_normal_referral_getsetters, .tp_methods = NULL, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_basicsize = sizeof(py_talloc_Object), .tp_new = py_dfs_normal_referral_new, }; static PyObject *py_dfs_domain_referral_get_special_name(PyObject *obj, void *closure) { struct dfs_domain_referral *object = (struct dfs_domain_referral *)py_talloc_get_ptr(obj); PyObject *py_special_name; if (object->special_name == NULL) { py_special_name = Py_None; Py_INCREF(py_special_name); } else { py_special_name = PyString_FromStringOrNULL(object->special_name); } return py_special_name; } static int py_dfs_domain_referral_set_special_name(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_domain_referral *object = (struct dfs_domain_referral *)py_talloc_get_ptr(py_obj); if (value == Py_None) { object->special_name = NULL; } else { object->special_name = NULL; object->special_name = talloc_strdup(py_talloc_get_mem_ctx(py_obj), PyString_AS_STRING(value)); } return 0; } static PyObject *py_dfs_domain_referral_get_nb_expanded_names(PyObject *obj, void *closure) { struct dfs_domain_referral *object = (struct dfs_domain_referral *)py_talloc_get_ptr(obj); PyObject *py_nb_expanded_names; py_nb_expanded_names = PyInt_FromLong(object->nb_expanded_names); return py_nb_expanded_names; } static int py_dfs_domain_referral_set_nb_expanded_names(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_domain_referral *object = (struct dfs_domain_referral *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->nb_expanded_names = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_domain_referral_get_expanded_names(PyObject *obj, void *closure) { struct dfs_domain_referral *object = (struct dfs_domain_referral *)py_talloc_get_ptr(obj); PyObject *py_expanded_names; if (object->expanded_names == NULL) { py_expanded_names = Py_None; Py_INCREF(py_expanded_names); } else { py_expanded_names = PyCObject_FromTallocPtr(object->expanded_names); } return py_expanded_names; } static int py_dfs_domain_referral_set_expanded_names(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_domain_referral *object = (struct dfs_domain_referral *)py_talloc_get_ptr(py_obj); talloc_unlink(py_talloc_get_mem_ctx(py_obj), object->expanded_names); if (value == Py_None) { object->expanded_names = NULL; } else { object->expanded_names = NULL; object->expanded_names = PyCObject_AsVoidPtr(value); } return 0; } static PyGetSetDef py_dfs_domain_referral_getsetters[] = { { discard_const_p(char, "special_name"), py_dfs_domain_referral_get_special_name, py_dfs_domain_referral_set_special_name }, { discard_const_p(char, "nb_expanded_names"), py_dfs_domain_referral_get_nb_expanded_names, py_dfs_domain_referral_set_nb_expanded_names }, { discard_const_p(char, "expanded_names"), py_dfs_domain_referral_get_expanded_names, py_dfs_domain_referral_set_expanded_names }, { NULL } }; static PyObject *py_dfs_domain_referral_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { return py_talloc_new(struct dfs_domain_referral, type); } static PyTypeObject dfs_domain_referral_Type = { PyObject_HEAD_INIT(NULL) 0, .tp_name = "dfsblobs.dfs_domain_referral", .tp_getset = py_dfs_domain_referral_getsetters, .tp_methods = NULL, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_basicsize = sizeof(py_talloc_Object), .tp_new = py_dfs_domain_referral_new, }; PyObject *py_import_dfs_referral(TALLOC_CTX *mem_ctx, int level, union dfs_referral *in) { PyObject *ret; switch (level) { case 0: ret = py_talloc_reference_ex(&dfs_normal_referral_Type, mem_ctx, &in->r1); return ret; case 2: ret = py_talloc_reference_ex(&dfs_domain_referral_Type, mem_ctx, &in->r2); return ret; default: ret = Py_None; Py_INCREF(ret); return ret; } PyErr_SetString(PyExc_TypeError, "unknown union level"); return NULL; } union dfs_referral *py_export_dfs_referral(TALLOC_CTX *mem_ctx, int level, PyObject *in) { union dfs_referral *ret = talloc_zero(mem_ctx, union dfs_referral); switch (level) { case 0: PY_CHECK_TYPE(&dfs_normal_referral_Type, in, talloc_free(ret); return NULL;); if (talloc_reference(mem_ctx, py_talloc_get_mem_ctx(in)) == NULL) { PyErr_NoMemory(); talloc_free(ret); return NULL; } ret->r1 = *(struct dfs_normal_referral *)py_talloc_get_ptr(in); break; case 2: PY_CHECK_TYPE(&dfs_domain_referral_Type, in, talloc_free(ret); return NULL;); if (talloc_reference(mem_ctx, py_talloc_get_mem_ctx(in)) == NULL) { PyErr_NoMemory(); talloc_free(ret); return NULL; } ret->r2 = *(struct dfs_domain_referral *)py_talloc_get_ptr(in); break; default: break; } return ret; } PyObject *py_import_dfs_padding(TALLOC_CTX *mem_ctx, int level, union dfs_padding *in) { PyObject *ret; switch (level) { case 16: ret = PyList_New(16); if (ret == NULL) { return NULL; } { int value_cntr_0; for (value_cntr_0 = 0; value_cntr_0 < 16; value_cntr_0++) { PyObject *py_value_0; py_value_0 = PyInt_FromLong(in->value[value_cntr_0]); PyList_SetItem(ret, value_cntr_0, py_value_0); } } return ret; default: ret = Py_None; Py_INCREF(ret); return ret; } PyErr_SetString(PyExc_TypeError, "unknown union level"); return NULL; } union dfs_padding *py_export_dfs_padding(TALLOC_CTX *mem_ctx, int level, PyObject *in) { union dfs_padding *ret = talloc_zero(mem_ctx, union dfs_padding); switch (level) { case 16: PY_CHECK_TYPE(&PyList_Type, in, talloc_free(ret); return NULL;); { int value_cntr_0; for (value_cntr_0 = 0; value_cntr_0 < PyList_GET_SIZE(in); value_cntr_0++) { PY_CHECK_TYPE(&PyInt_Type, PyList_GET_ITEM(in, value_cntr_0), talloc_free(ret); return NULL;); ret->value[value_cntr_0] = PyInt_AsLong(PyList_GET_ITEM(in, value_cntr_0)); } } break; default: break; } return ret; } static PyObject *py_dfs_referral_v3_remaining_get_server_type(PyObject *obj, void *closure) { struct dfs_referral_v3_remaining *object = (struct dfs_referral_v3_remaining *)py_talloc_get_ptr(obj); PyObject *py_server_type; py_server_type = PyInt_FromLong(object->server_type); return py_server_type; } static int py_dfs_referral_v3_remaining_set_server_type(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v3_remaining *object = (struct dfs_referral_v3_remaining *)py_talloc_get_ptr(py_obj); if (PyLong_Check(value)) { object->server_type = PyLong_AsLongLong(value); } else if (PyInt_Check(value)) { object->server_type = PyInt_AsLong(value); } else { PyErr_Format(PyExc_TypeError, "Expected type %s or %s",\ PyInt_Type.tp_name, PyLong_Type.tp_name); return -1; } return 0; } static PyObject *py_dfs_referral_v3_remaining_get_entry_flags(PyObject *obj, void *closure) { struct dfs_referral_v3_remaining *object = (struct dfs_referral_v3_remaining *)py_talloc_get_ptr(obj); PyObject *py_entry_flags; py_entry_flags = PyInt_FromLong(object->entry_flags); return py_entry_flags; } static int py_dfs_referral_v3_remaining_set_entry_flags(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v3_remaining *object = (struct dfs_referral_v3_remaining *)py_talloc_get_ptr(py_obj); if (PyLong_Check(value)) { object->entry_flags = PyLong_AsLongLong(value); } else if (PyInt_Check(value)) { object->entry_flags = PyInt_AsLong(value); } else { PyErr_Format(PyExc_TypeError, "Expected type %s or %s",\ PyInt_Type.tp_name, PyLong_Type.tp_name); return -1; } return 0; } static PyObject *py_dfs_referral_v3_remaining_get_ttl(PyObject *obj, void *closure) { struct dfs_referral_v3_remaining *object = (struct dfs_referral_v3_remaining *)py_talloc_get_ptr(obj); PyObject *py_ttl; py_ttl = PyInt_FromLong(object->ttl); return py_ttl; } static int py_dfs_referral_v3_remaining_set_ttl(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v3_remaining *object = (struct dfs_referral_v3_remaining *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->ttl = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_v3_remaining_get_referrals(PyObject *obj, void *closure) { struct dfs_referral_v3_remaining *object = (struct dfs_referral_v3_remaining *)py_talloc_get_ptr(obj); PyObject *py_referrals; py_referrals = py_import_dfs_referral(py_talloc_get_mem_ctx(obj), object->entry_flags & DFS_FLAG_REFERRAL_DOMAIN_RESP, &object->referrals); if (py_referrals == NULL) { return NULL; } return py_referrals; } static int py_dfs_referral_v3_remaining_set_referrals(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v3_remaining *object = (struct dfs_referral_v3_remaining *)py_talloc_get_ptr(py_obj); { union dfs_referral *referrals_switch_0; referrals_switch_0 = py_export_dfs_referral(py_talloc_get_mem_ctx(py_obj), object->entry_flags & DFS_FLAG_REFERRAL_DOMAIN_RESP, value); if (referrals_switch_0 == NULL) { return -1; } object->referrals = *referrals_switch_0; } return 0; } static PyGetSetDef py_dfs_referral_v3_remaining_getsetters[] = { { discard_const_p(char, "server_type"), py_dfs_referral_v3_remaining_get_server_type, py_dfs_referral_v3_remaining_set_server_type }, { discard_const_p(char, "entry_flags"), py_dfs_referral_v3_remaining_get_entry_flags, py_dfs_referral_v3_remaining_set_entry_flags }, { discard_const_p(char, "ttl"), py_dfs_referral_v3_remaining_get_ttl, py_dfs_referral_v3_remaining_set_ttl }, { discard_const_p(char, "referrals"), py_dfs_referral_v3_remaining_get_referrals, py_dfs_referral_v3_remaining_set_referrals }, { NULL } }; static PyObject *py_dfs_referral_v3_remaining_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { return py_talloc_new(struct dfs_referral_v3_remaining, type); } static PyTypeObject dfs_referral_v3_remaining_Type = { PyObject_HEAD_INIT(NULL) 0, .tp_name = "dfsblobs.dfs_referral_v3_remaining", .tp_getset = py_dfs_referral_v3_remaining_getsetters, .tp_methods = NULL, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_basicsize = sizeof(py_talloc_Object), .tp_new = py_dfs_referral_v3_remaining_new, }; static PyObject *py_dfs_referral_v3_get_size(PyObject *obj, void *closure) { struct dfs_referral_v3 *object = (struct dfs_referral_v3 *)py_talloc_get_ptr(obj); PyObject *py_size; py_size = PyInt_FromLong(object->size); return py_size; } static int py_dfs_referral_v3_set_size(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v3 *object = (struct dfs_referral_v3 *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->size = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_v3_get_data(PyObject *obj, void *closure) { struct dfs_referral_v3 *object = (struct dfs_referral_v3 *)py_talloc_get_ptr(obj); PyObject *py_data; py_data = py_talloc_reference_ex(&dfs_referral_v3_remaining_Type, py_talloc_get_mem_ctx(obj), &object->data); return py_data; } static int py_dfs_referral_v3_set_data(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v3 *object = (struct dfs_referral_v3 *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&dfs_referral_v3_remaining_Type, value, return -1;); if (talloc_reference(py_talloc_get_mem_ctx(py_obj), py_talloc_get_mem_ctx(value)) == NULL) { PyErr_NoMemory(); return -1; } object->data = *(struct dfs_referral_v3_remaining *)py_talloc_get_ptr(value); return 0; } static PyObject *py_dfs_referral_v3_get_service_site_guid(PyObject *obj, void *closure) { struct dfs_referral_v3 *object = (struct dfs_referral_v3 *)py_talloc_get_ptr(obj); PyObject *py_service_site_guid; py_service_site_guid = py_import_dfs_padding(py_talloc_get_mem_ctx(obj), object->size - 18, &object->service_site_guid); if (py_service_site_guid == NULL) { return NULL; } return py_service_site_guid; } static int py_dfs_referral_v3_set_service_site_guid(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v3 *object = (struct dfs_referral_v3 *)py_talloc_get_ptr(py_obj); { union dfs_padding *service_site_guid_switch_0; service_site_guid_switch_0 = py_export_dfs_padding(py_talloc_get_mem_ctx(py_obj), object->size - 18, value); if (service_site_guid_switch_0 == NULL) { return -1; } object->service_site_guid = *service_site_guid_switch_0; } return 0; } static PyGetSetDef py_dfs_referral_v3_getsetters[] = { { discard_const_p(char, "size"), py_dfs_referral_v3_get_size, py_dfs_referral_v3_set_size }, { discard_const_p(char, "data"), py_dfs_referral_v3_get_data, py_dfs_referral_v3_set_data }, { discard_const_p(char, "service_site_guid"), py_dfs_referral_v3_get_service_site_guid, py_dfs_referral_v3_set_service_site_guid }, { NULL } }; static PyObject *py_dfs_referral_v3_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { return py_talloc_new(struct dfs_referral_v3, type); } static PyTypeObject dfs_referral_v3_Type = { PyObject_HEAD_INIT(NULL) 0, .tp_name = "dfsblobs.dfs_referral_v3", .tp_getset = py_dfs_referral_v3_getsetters, .tp_methods = NULL, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_basicsize = sizeof(py_talloc_Object), .tp_new = py_dfs_referral_v3_new, }; static PyObject *py_dfs_referral_v4_get_size(PyObject *obj, void *closure) { struct dfs_referral_v4 *object = (struct dfs_referral_v4 *)py_talloc_get_ptr(obj); PyObject *py_size; py_size = PyInt_FromLong(object->size); return py_size; } static int py_dfs_referral_v4_set_size(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v4 *object = (struct dfs_referral_v4 *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->size = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_v4_get_server_type(PyObject *obj, void *closure) { struct dfs_referral_v4 *object = (struct dfs_referral_v4 *)py_talloc_get_ptr(obj); PyObject *py_server_type; py_server_type = PyInt_FromLong(object->server_type); return py_server_type; } static int py_dfs_referral_v4_set_server_type(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v4 *object = (struct dfs_referral_v4 *)py_talloc_get_ptr(py_obj); if (PyLong_Check(value)) { object->server_type = PyLong_AsLongLong(value); } else if (PyInt_Check(value)) { object->server_type = PyInt_AsLong(value); } else { PyErr_Format(PyExc_TypeError, "Expected type %s or %s",\ PyInt_Type.tp_name, PyLong_Type.tp_name); return -1; } return 0; } static PyObject *py_dfs_referral_v4_get_entry_flags(PyObject *obj, void *closure) { struct dfs_referral_v4 *object = (struct dfs_referral_v4 *)py_talloc_get_ptr(obj); PyObject *py_entry_flags; py_entry_flags = PyInt_FromLong(object->entry_flags); return py_entry_flags; } static int py_dfs_referral_v4_set_entry_flags(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v4 *object = (struct dfs_referral_v4 *)py_talloc_get_ptr(py_obj); if (PyLong_Check(value)) { object->entry_flags = PyLong_AsLongLong(value); } else if (PyInt_Check(value)) { object->entry_flags = PyInt_AsLong(value); } else { PyErr_Format(PyExc_TypeError, "Expected type %s or %s",\ PyInt_Type.tp_name, PyLong_Type.tp_name); return -1; } return 0; } static PyObject *py_dfs_referral_v4_get_ttl(PyObject *obj, void *closure) { struct dfs_referral_v4 *object = (struct dfs_referral_v4 *)py_talloc_get_ptr(obj); PyObject *py_ttl; py_ttl = PyInt_FromLong(object->ttl); return py_ttl; } static int py_dfs_referral_v4_set_ttl(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v4 *object = (struct dfs_referral_v4 *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->ttl = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_v4_get_r1(PyObject *obj, void *closure) { struct dfs_referral_v4 *object = (struct dfs_referral_v4 *)py_talloc_get_ptr(obj); PyObject *py_r1; py_r1 = py_talloc_reference_ex(&dfs_normal_referral_Type, py_talloc_get_mem_ctx(obj), &object->r1); return py_r1; } static int py_dfs_referral_v4_set_r1(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_v4 *object = (struct dfs_referral_v4 *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&dfs_normal_referral_Type, value, return -1;); if (talloc_reference(py_talloc_get_mem_ctx(py_obj), py_talloc_get_mem_ctx(value)) == NULL) { PyErr_NoMemory(); return -1; } object->r1 = *(struct dfs_normal_referral *)py_talloc_get_ptr(value); return 0; } static PyGetSetDef py_dfs_referral_v4_getsetters[] = { { discard_const_p(char, "size"), py_dfs_referral_v4_get_size, py_dfs_referral_v4_set_size }, { discard_const_p(char, "server_type"), py_dfs_referral_v4_get_server_type, py_dfs_referral_v4_set_server_type }, { discard_const_p(char, "entry_flags"), py_dfs_referral_v4_get_entry_flags, py_dfs_referral_v4_set_entry_flags }, { discard_const_p(char, "ttl"), py_dfs_referral_v4_get_ttl, py_dfs_referral_v4_set_ttl }, { discard_const_p(char, "r1"), py_dfs_referral_v4_get_r1, py_dfs_referral_v4_set_r1 }, { NULL } }; static PyObject *py_dfs_referral_v4_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { return py_talloc_new(struct dfs_referral_v4, type); } static PyTypeObject dfs_referral_v4_Type = { PyObject_HEAD_INIT(NULL) 0, .tp_name = "dfsblobs.dfs_referral_v4", .tp_getset = py_dfs_referral_v4_getsetters, .tp_methods = NULL, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_basicsize = sizeof(py_talloc_Object), .tp_new = py_dfs_referral_v4_new, }; PyObject *py_import_dfs_referral_version(TALLOC_CTX *mem_ctx, int level, union dfs_referral_version *in) { PyObject *ret; switch (level) { case 1: ret = py_talloc_reference_ex(&dfs_referral_v1_Type, mem_ctx, &in->v1); return ret; case 2: ret = py_talloc_reference_ex(&dfs_referral_v2_Type, mem_ctx, &in->v2); return ret; case 3: ret = py_talloc_reference_ex(&dfs_referral_v3_Type, mem_ctx, &in->v3); return ret; case 4: ret = py_talloc_reference_ex(&dfs_referral_v4_Type, mem_ctx, &in->v4); return ret; default: ret = Py_None; Py_INCREF(ret); return ret; } PyErr_SetString(PyExc_TypeError, "unknown union level"); return NULL; } union dfs_referral_version *py_export_dfs_referral_version(TALLOC_CTX *mem_ctx, int level, PyObject *in) { union dfs_referral_version *ret = talloc_zero(mem_ctx, union dfs_referral_version); switch (level) { case 1: PY_CHECK_TYPE(&dfs_referral_v1_Type, in, talloc_free(ret); return NULL;); if (talloc_reference(mem_ctx, py_talloc_get_mem_ctx(in)) == NULL) { PyErr_NoMemory(); talloc_free(ret); return NULL; } ret->v1 = *(struct dfs_referral_v1 *)py_talloc_get_ptr(in); break; case 2: PY_CHECK_TYPE(&dfs_referral_v2_Type, in, talloc_free(ret); return NULL;); if (talloc_reference(mem_ctx, py_talloc_get_mem_ctx(in)) == NULL) { PyErr_NoMemory(); talloc_free(ret); return NULL; } ret->v2 = *(struct dfs_referral_v2 *)py_talloc_get_ptr(in); break; case 3: PY_CHECK_TYPE(&dfs_referral_v3_Type, in, talloc_free(ret); return NULL;); if (talloc_reference(mem_ctx, py_talloc_get_mem_ctx(in)) == NULL) { PyErr_NoMemory(); talloc_free(ret); return NULL; } ret->v3 = *(struct dfs_referral_v3 *)py_talloc_get_ptr(in); break; case 4: PY_CHECK_TYPE(&dfs_referral_v4_Type, in, talloc_free(ret); return NULL;); if (talloc_reference(mem_ctx, py_talloc_get_mem_ctx(in)) == NULL) { PyErr_NoMemory(); talloc_free(ret); return NULL; } ret->v4 = *(struct dfs_referral_v4 *)py_talloc_get_ptr(in); break; default: break; } return ret; } static PyObject *py_dfs_referral_type_get_version(PyObject *obj, void *closure) { struct dfs_referral_type *object = (struct dfs_referral_type *)py_talloc_get_ptr(obj); PyObject *py_version; py_version = PyInt_FromLong(object->version); return py_version; } static int py_dfs_referral_type_set_version(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_type *object = (struct dfs_referral_type *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->version = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_type_get_referral(PyObject *obj, void *closure) { struct dfs_referral_type *object = (struct dfs_referral_type *)py_talloc_get_ptr(obj); PyObject *py_referral; py_referral = py_import_dfs_referral_version(py_talloc_get_mem_ctx(obj), object->version, &object->referral); if (py_referral == NULL) { return NULL; } return py_referral; } static int py_dfs_referral_type_set_referral(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_type *object = (struct dfs_referral_type *)py_talloc_get_ptr(py_obj); { union dfs_referral_version *referral_switch_0; referral_switch_0 = py_export_dfs_referral_version(py_talloc_get_mem_ctx(py_obj), object->version, value); if (referral_switch_0 == NULL) { return -1; } object->referral = *referral_switch_0; } return 0; } static PyGetSetDef py_dfs_referral_type_getsetters[] = { { discard_const_p(char, "version"), py_dfs_referral_type_get_version, py_dfs_referral_type_set_version }, { discard_const_p(char, "referral"), py_dfs_referral_type_get_referral, py_dfs_referral_type_set_referral }, { NULL } }; static PyObject *py_dfs_referral_type_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { return py_talloc_new(struct dfs_referral_type, type); } static PyTypeObject dfs_referral_type_Type = { PyObject_HEAD_INIT(NULL) 0, .tp_name = "dfsblobs.dfs_referral_type", .tp_getset = py_dfs_referral_type_getsetters, .tp_methods = NULL, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_basicsize = sizeof(py_talloc_Object), .tp_new = py_dfs_referral_type_new, }; static PyObject *py_dfs_referral_resp_get_path_consumed(PyObject *obj, void *closure) { struct dfs_referral_resp *object = (struct dfs_referral_resp *)py_talloc_get_ptr(obj); PyObject *py_path_consumed; py_path_consumed = PyInt_FromLong(object->path_consumed); return py_path_consumed; } static int py_dfs_referral_resp_set_path_consumed(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_resp *object = (struct dfs_referral_resp *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->path_consumed = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_resp_get_nb_referrals(PyObject *obj, void *closure) { struct dfs_referral_resp *object = (struct dfs_referral_resp *)py_talloc_get_ptr(obj); PyObject *py_nb_referrals; py_nb_referrals = PyInt_FromLong(object->nb_referrals); return py_nb_referrals; } static int py_dfs_referral_resp_set_nb_referrals(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_resp *object = (struct dfs_referral_resp *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->nb_referrals = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_referral_resp_get_header_flags(PyObject *obj, void *closure) { struct dfs_referral_resp *object = (struct dfs_referral_resp *)py_talloc_get_ptr(obj); PyObject *py_header_flags; py_header_flags = PyInt_FromLong(object->header_flags); return py_header_flags; } static int py_dfs_referral_resp_set_header_flags(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_resp *object = (struct dfs_referral_resp *)py_talloc_get_ptr(py_obj); if (PyLong_Check(value)) { object->header_flags = PyLong_AsLongLong(value); } else if (PyInt_Check(value)) { object->header_flags = PyInt_AsLong(value); } else { PyErr_Format(PyExc_TypeError, "Expected type %s or %s",\ PyInt_Type.tp_name, PyLong_Type.tp_name); return -1; } return 0; } static PyObject *py_dfs_referral_resp_get_referral_entries(PyObject *obj, void *closure) { struct dfs_referral_resp *object = (struct dfs_referral_resp *)py_talloc_get_ptr(obj); PyObject *py_referral_entries; py_referral_entries = PyList_New(object->nb_referrals); if (py_referral_entries == NULL) { return NULL; } { int referral_entries_cntr_0; for (referral_entries_cntr_0 = 0; referral_entries_cntr_0 < object->nb_referrals; referral_entries_cntr_0++) { PyObject *py_referral_entries_0; py_referral_entries_0 = py_talloc_reference_ex(&dfs_referral_type_Type, object->referral_entries, &object->referral_entries[referral_entries_cntr_0]); PyList_SetItem(py_referral_entries, referral_entries_cntr_0, py_referral_entries_0); } } return py_referral_entries; } static int py_dfs_referral_resp_set_referral_entries(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_referral_resp *object = (struct dfs_referral_resp *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyList_Type, value, return -1;); { int referral_entries_cntr_0; object->referral_entries = talloc_array_ptrtype(py_talloc_get_mem_ctx(py_obj), object->referral_entries, PyList_GET_SIZE(value)); if (!object->referral_entries) { return -1;; } talloc_set_name_const(object->referral_entries, "ARRAY: object->referral_entries"); for (referral_entries_cntr_0 = 0; referral_entries_cntr_0 < PyList_GET_SIZE(value); referral_entries_cntr_0++) { PY_CHECK_TYPE(&dfs_referral_type_Type, PyList_GET_ITEM(value, referral_entries_cntr_0), return -1;); if (talloc_reference(object->referral_entries, py_talloc_get_mem_ctx(PyList_GET_ITEM(value, referral_entries_cntr_0))) == NULL) { PyErr_NoMemory(); return -1; } object->referral_entries[referral_entries_cntr_0] = *(struct dfs_referral_type *)py_talloc_get_ptr(PyList_GET_ITEM(value, referral_entries_cntr_0)); } } return 0; } static PyGetSetDef py_dfs_referral_resp_getsetters[] = { { discard_const_p(char, "path_consumed"), py_dfs_referral_resp_get_path_consumed, py_dfs_referral_resp_set_path_consumed }, { discard_const_p(char, "nb_referrals"), py_dfs_referral_resp_get_nb_referrals, py_dfs_referral_resp_set_nb_referrals }, { discard_const_p(char, "header_flags"), py_dfs_referral_resp_get_header_flags, py_dfs_referral_resp_set_header_flags }, { discard_const_p(char, "referral_entries"), py_dfs_referral_resp_get_referral_entries, py_dfs_referral_resp_set_referral_entries }, { NULL } }; static PyObject *py_dfs_referral_resp_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { return py_talloc_new(struct dfs_referral_resp, type); } static PyObject *py_dfs_referral_resp_ndr_pack(PyObject *py_obj) { struct dfs_referral_resp *object = (struct dfs_referral_resp *)py_talloc_get_ptr(py_obj); DATA_BLOB blob; enum ndr_err_code err; err = ndr_push_struct_blob(&blob, py_talloc_get_mem_ctx(py_obj), object, (ndr_push_flags_fn_t)ndr_push_dfs_referral_resp); if (err != NDR_ERR_SUCCESS) { PyErr_SetNdrError(err); return NULL; } return PyString_FromStringAndSize((char *)blob.data, blob.length); } static PyObject *py_dfs_referral_resp_ndr_unpack(PyObject *py_obj, PyObject *args) { struct dfs_referral_resp *object = (struct dfs_referral_resp *)py_talloc_get_ptr(py_obj); DATA_BLOB blob; enum ndr_err_code err; if (!PyArg_ParseTuple(args, "s#:__ndr_unpack__", &blob.data, &blob.length)) return NULL; err = ndr_pull_struct_blob_all(&blob, py_talloc_get_mem_ctx(py_obj), object, (ndr_pull_flags_fn_t)ndr_pull_dfs_referral_resp); if (err != NDR_ERR_SUCCESS) { PyErr_SetNdrError(err); return NULL; } Py_RETURN_NONE; } static PyObject *py_dfs_referral_resp_ndr_print(PyObject *py_obj) { struct dfs_referral_resp *object = (struct dfs_referral_resp *)py_talloc_get_ptr(py_obj); PyObject *ret; char *retstr; retstr = ndr_print_struct_string(py_talloc_get_mem_ctx(py_obj), (ndr_print_fn_t)ndr_print_dfs_referral_resp, "dfs_referral_resp", object); ret = PyString_FromString(retstr); talloc_free(retstr); return ret; } static PyMethodDef py_dfs_referral_resp_methods[] = { { "__ndr_pack__", (PyCFunction)py_dfs_referral_resp_ndr_pack, METH_NOARGS, "S.ndr_pack(object) -> blob\nNDR pack" }, { "__ndr_unpack__", (PyCFunction)py_dfs_referral_resp_ndr_unpack, METH_VARARGS, "S.ndr_unpack(class, blob) -> None\nNDR unpack" }, { "__ndr_print__", (PyCFunction)py_dfs_referral_resp_ndr_print, METH_VARARGS, "S.ndr_print(object) -> None\nNDR print" }, { NULL, NULL, 0, NULL } }; static PyTypeObject dfs_referral_resp_Type = { PyObject_HEAD_INIT(NULL) 0, .tp_name = "dfsblobs.dfs_referral_resp", .tp_getset = py_dfs_referral_resp_getsetters, .tp_methods = py_dfs_referral_resp_methods, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_basicsize = sizeof(py_talloc_Object), .tp_new = py_dfs_referral_resp_new, }; static PyObject *py_dfs_GetDFSReferral_in_get_max_referral_level(PyObject *obj, void *closure) { struct dfs_GetDFSReferral_in *object = (struct dfs_GetDFSReferral_in *)py_talloc_get_ptr(obj); PyObject *py_max_referral_level; py_max_referral_level = PyInt_FromLong(object->max_referral_level); return py_max_referral_level; } static int py_dfs_GetDFSReferral_in_set_max_referral_level(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_GetDFSReferral_in *object = (struct dfs_GetDFSReferral_in *)py_talloc_get_ptr(py_obj); PY_CHECK_TYPE(&PyInt_Type, value, return -1;); object->max_referral_level = PyInt_AsLong(value); return 0; } static PyObject *py_dfs_GetDFSReferral_in_get_servername(PyObject *obj, void *closure) { struct dfs_GetDFSReferral_in *object = (struct dfs_GetDFSReferral_in *)py_talloc_get_ptr(obj); PyObject *py_servername; py_servername = PyString_FromStringOrNULL(object->servername); return py_servername; } static int py_dfs_GetDFSReferral_in_set_servername(PyObject *py_obj, PyObject *value, void *closure) { struct dfs_GetDFSReferral_in *object = (struct dfs_GetDFSReferral_in *)py_talloc_get_ptr(py_obj); object->servername = talloc_strdup(py_talloc_get_mem_ctx(py_obj), PyString_AS_STRING(value)); return 0; } static PyGetSetDef py_dfs_GetDFSReferral_in_getsetters[] = { { discard_const_p(char, "max_referral_level"), py_dfs_GetDFSReferral_in_get_max_referral_level, py_dfs_GetDFSReferral_in_set_max_referral_level }, { discard_const_p(char, "servername"), py_dfs_GetDFSReferral_in_get_servername, py_dfs_GetDFSReferral_in_set_servername }, { NULL } }; static PyObject *py_dfs_GetDFSReferral_in_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { return py_talloc_new(struct dfs_GetDFSReferral_in, type); } static PyObject *py_dfs_GetDFSReferral_in_ndr_pack(PyObject *py_obj) { struct dfs_GetDFSReferral_in *object = (struct dfs_GetDFSReferral_in *)py_talloc_get_ptr(py_obj); DATA_BLOB blob; enum ndr_err_code err; err = ndr_push_struct_blob(&blob, py_talloc_get_mem_ctx(py_obj), object, (ndr_push_flags_fn_t)ndr_push_dfs_GetDFSReferral_in); if (err != NDR_ERR_SUCCESS) { PyErr_SetNdrError(err); return NULL; } return PyString_FromStringAndSize((char *)blob.data, blob.length); } static PyObject *py_dfs_GetDFSReferral_in_ndr_unpack(PyObject *py_obj, PyObject *args) { struct dfs_GetDFSReferral_in *object = (struct dfs_GetDFSReferral_in *)py_talloc_get_ptr(py_obj); DATA_BLOB blob; enum ndr_err_code err; if (!PyArg_ParseTuple(args, "s#:__ndr_unpack__", &blob.data, &blob.length)) return NULL; err = ndr_pull_struct_blob_all(&blob, py_talloc_get_mem_ctx(py_obj), object, (ndr_pull_flags_fn_t)ndr_pull_dfs_GetDFSReferral_in); if (err != NDR_ERR_SUCCESS) { PyErr_SetNdrError(err); return NULL; } Py_RETURN_NONE; } static PyObject *py_dfs_GetDFSReferral_in_ndr_print(PyObject *py_obj) { struct dfs_GetDFSReferral_in *object = (struct dfs_GetDFSReferral_in *)py_talloc_get_ptr(py_obj); PyObject *ret; char *retstr; retstr = ndr_print_struct_string(py_talloc_get_mem_ctx(py_obj), (ndr_print_fn_t)ndr_print_dfs_GetDFSReferral_in, "dfs_GetDFSReferral_in", object); ret = PyString_FromString(retstr); talloc_free(retstr); return ret; } static PyMethodDef py_dfs_GetDFSReferral_in_methods[] = { { "__ndr_pack__", (PyCFunction)py_dfs_GetDFSReferral_in_ndr_pack, METH_NOARGS, "S.ndr_pack(object) -> blob\nNDR pack" }, { "__ndr_unpack__", (PyCFunction)py_dfs_GetDFSReferral_in_ndr_unpack, METH_VARARGS, "S.ndr_unpack(class, blob) -> None\nNDR unpack" }, { "__ndr_print__", (PyCFunction)py_dfs_GetDFSReferral_in_ndr_print, METH_VARARGS, "S.ndr_print(object) -> None\nNDR print" }, { NULL, NULL, 0, NULL } }; static PyTypeObject dfs_GetDFSReferral_in_Type = { PyObject_HEAD_INIT(NULL) 0, .tp_name = "dfsblobs.dfs_GetDFSReferral_in", .tp_getset = py_dfs_GetDFSReferral_in_getsetters, .tp_methods = py_dfs_GetDFSReferral_in_methods, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_basicsize = sizeof(py_talloc_Object), .tp_new = py_dfs_GetDFSReferral_in_new, }; static bool pack_py_dfs_GetDFSReferral_args_in(PyObject *args, PyObject *kwargs, struct dfs_GetDFSReferral *r) { PyObject *py_req; const char *kwnames[] = { "req", NULL }; if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:dfs_GetDFSReferral", discard_const_p(char *, kwnames), &py_req)) { return false; } PY_CHECK_TYPE(&dfs_GetDFSReferral_in_Type, py_req, return false;); if (talloc_reference(r, py_talloc_get_mem_ctx(py_req)) == NULL) { PyErr_NoMemory(); return false; } r->in.req = *(struct dfs_GetDFSReferral_in *)py_talloc_get_ptr(py_req); return true; } static PyObject *unpack_py_dfs_GetDFSReferral_args_out(struct dfs_GetDFSReferral *r) { PyObject *result; PyObject *py_resp; py_resp = py_talloc_reference_ex(&dfs_referral_resp_Type, r->out.resp, r->out.resp); result = py_resp; return result; } const struct PyNdrRpcMethodDef py_ndr_dfsblobs_methods[] = { { "dfs_GetDFSReferral", "S.dfs_GetDFSReferral(req) -> resp", (py_dcerpc_call_fn)dcerpc_dfs_GetDFSReferral_r, (py_data_pack_fn)pack_py_dfs_GetDFSReferral_args_in, (py_data_unpack_fn)unpack_py_dfs_GetDFSReferral_args_out, 0, &ndr_table_dfsblobs }, { NULL } }; static PyObject *interface_dfsblobs_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { return py_dcerpc_interface_init_helper(type, args, kwargs, &ndr_table_dfsblobs); } #define PY_DOC_DFSBLOBS "dfs referral blobs" static PyTypeObject dfsblobs_InterfaceType = { PyObject_HEAD_INIT(NULL) 0, .tp_name = "dfsblobs.dfsblobs", .tp_basicsize = sizeof(dcerpc_InterfaceObject), .tp_doc = "dfsblobs(binding, lp_ctx=None, credentials=None) -> connection\n" "\n" "binding should be a DCE/RPC binding string (for example: ncacn_ip_tcp:127.0.0.1)\n" "lp_ctx should be a path to a smb.conf file or a param.LoadParm object\n" "credentials should be a credentials.Credentials object.\n\n"PY_DOC_DFSBLOBS, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_new = interface_dfsblobs_new, }; static PyMethodDef dfsblobs_methods[] = { { NULL, NULL, 0, NULL } }; void initdfsblobs(void) { PyObject *m; PyObject *dep_samba_dcerpc_misc; PyObject *dep_samba_dcerpc_base; PyObject *dep_talloc; dep_samba_dcerpc_misc = PyImport_ImportModule("samba.dcerpc.misc"); if (dep_samba_dcerpc_misc == NULL) return; dep_samba_dcerpc_base = PyImport_ImportModule("samba.dcerpc.base"); if (dep_samba_dcerpc_base == NULL) return; dep_talloc = PyImport_ImportModule("talloc"); if (dep_talloc == NULL) return; ClientConnection_Type = (PyTypeObject *)PyObject_GetAttrString(dep_samba_dcerpc_base, "ClientConnection"); if (ClientConnection_Type == NULL) return; Object_Type = (PyTypeObject *)PyObject_GetAttrString(dep_talloc, "Object"); if (Object_Type == NULL) return; dfs_referral_v1_Type.tp_base = Object_Type; dfs_referral_v2_Type.tp_base = Object_Type; dfs_normal_referral_Type.tp_base = Object_Type; dfs_domain_referral_Type.tp_base = Object_Type; dfs_referral_v3_remaining_Type.tp_base = Object_Type; dfs_referral_v3_Type.tp_base = Object_Type; dfs_referral_v4_Type.tp_base = Object_Type; dfs_referral_type_Type.tp_base = Object_Type; dfs_referral_resp_Type.tp_base = Object_Type; dfs_GetDFSReferral_in_Type.tp_base = Object_Type; dfsblobs_InterfaceType.tp_base = ClientConnection_Type; if (PyType_Ready(&dfs_referral_v1_Type) < 0) return; if (PyType_Ready(&dfs_referral_v2_Type) < 0) return; if (PyType_Ready(&dfs_normal_referral_Type) < 0) return; if (PyType_Ready(&dfs_domain_referral_Type) < 0) return; if (PyType_Ready(&dfs_referral_v3_remaining_Type) < 0) return; if (PyType_Ready(&dfs_referral_v3_Type) < 0) return; if (PyType_Ready(&dfs_referral_v4_Type) < 0) return; if (PyType_Ready(&dfs_referral_type_Type) < 0) return; if (PyType_Ready(&dfs_referral_resp_Type) < 0) return; if (PyType_Ready(&dfs_GetDFSReferral_in_Type) < 0) return; if (PyType_Ready(&dfsblobs_InterfaceType) < 0) return; if (!PyInterface_AddNdrRpcMethods(&dfsblobs_InterfaceType, py_ndr_dfsblobs_methods)) return; #ifdef PY_DFS_REFERRAL_V1_PATCH PY_DFS_REFERRAL_V1_PATCH(&dfs_referral_v1_Type); #endif #ifdef PY_DFS_REFERRAL_V2_PATCH PY_DFS_REFERRAL_V2_PATCH(&dfs_referral_v2_Type); #endif #ifdef PY_DFS_NORMAL_REFERRAL_PATCH PY_DFS_NORMAL_REFERRAL_PATCH(&dfs_normal_referral_Type); #endif #ifdef PY_DFS_DOMAIN_REFERRAL_PATCH PY_DFS_DOMAIN_REFERRAL_PATCH(&dfs_domain_referral_Type); #endif #ifdef PY_DFS_REFERRAL_V3_REMAINING_PATCH PY_DFS_REFERRAL_V3_REMAINING_PATCH(&dfs_referral_v3_remaining_Type); #endif #ifdef PY_DFS_REFERRAL_V3_PATCH PY_DFS_REFERRAL_V3_PATCH(&dfs_referral_v3_Type); #endif #ifdef PY_DFS_REFERRAL_V4_PATCH PY_DFS_REFERRAL_V4_PATCH(&dfs_referral_v4_Type); #endif #ifdef PY_DFS_REFERRAL_TYPE_PATCH PY_DFS_REFERRAL_TYPE_PATCH(&dfs_referral_type_Type); #endif #ifdef PY_DFS_REFERRAL_RESP_PATCH PY_DFS_REFERRAL_RESP_PATCH(&dfs_referral_resp_Type); #endif #ifdef PY_DFS_GETDFSREFERRAL_IN_PATCH PY_DFS_GETDFSREFERRAL_IN_PATCH(&dfs_GetDFSReferral_in_Type); #endif #ifdef PY_DFSBLOBS_PATCH PY_DFSBLOBS_PATCH(&dfsblobs_InterfaceType); #endif m = Py_InitModule3("dfsblobs", dfsblobs_methods, "dfsblobs DCE/RPC"); if (m == NULL) return; PyModule_AddObject(m, "DFS_HEADER_FLAG_STORAGE_SVR", PyInt_FromLong(DFS_HEADER_FLAG_STORAGE_SVR)); PyModule_AddObject(m, "DFS_FLAG_REFERRAL_DOMAIN_RESP", PyInt_FromLong(DFS_FLAG_REFERRAL_DOMAIN_RESP)); PyModule_AddObject(m, "DFS_HEADER_FLAG_REFERAL_SVR", PyInt_FromLong(DFS_HEADER_FLAG_REFERAL_SVR)); PyModule_AddObject(m, "DFS_HEADER_FLAG_TARGET_BCK", PyInt_FromLong(DFS_HEADER_FLAG_TARGET_BCK)); PyModule_AddObject(m, "DFS_SERVER_ROOT", PyInt_FromLong(DFS_SERVER_ROOT)); PyModule_AddObject(m, "DFS_SERVER_NON_ROOT", PyInt_FromLong(DFS_SERVER_NON_ROOT)); PyModule_AddObject(m, "DFS_FLAG_REFERRAL_FIRST_TARGET_SET", PyInt_FromLong(DFS_FLAG_REFERRAL_FIRST_TARGET_SET)); Py_INCREF((PyObject *)(void *)&dfs_referral_v1_Type); PyModule_AddObject(m, "dfs_referral_v1", (PyObject *)(void *)&dfs_referral_v1_Type); Py_INCREF((PyObject *)(void *)&dfs_referral_v2_Type); PyModule_AddObject(m, "dfs_referral_v2", (PyObject *)(void *)&dfs_referral_v2_Type); Py_INCREF((PyObject *)(void *)&dfs_normal_referral_Type); PyModule_AddObject(m, "dfs_normal_referral", (PyObject *)(void *)&dfs_normal_referral_Type); Py_INCREF((PyObject *)(void *)&dfs_domain_referral_Type); PyModule_AddObject(m, "dfs_domain_referral", (PyObject *)(void *)&dfs_domain_referral_Type); Py_INCREF((PyObject *)(void *)&dfs_referral_v3_remaining_Type); PyModule_AddObject(m, "dfs_referral_v3_remaining", (PyObject *)(void *)&dfs_referral_v3_remaining_Type); Py_INCREF((PyObject *)(void *)&dfs_referral_v3_Type); PyModule_AddObject(m, "dfs_referral_v3", (PyObject *)(void *)&dfs_referral_v3_Type); Py_INCREF((PyObject *)(void *)&dfs_referral_v4_Type); PyModule_AddObject(m, "dfs_referral_v4", (PyObject *)(void *)&dfs_referral_v4_Type); Py_INCREF((PyObject *)(void *)&dfs_referral_type_Type); PyModule_AddObject(m, "dfs_referral_type", (PyObject *)(void *)&dfs_referral_type_Type); Py_INCREF((PyObject *)(void *)&dfs_referral_resp_Type); PyModule_AddObject(m, "dfs_referral_resp", (PyObject *)(void *)&dfs_referral_resp_Type); Py_INCREF((PyObject *)(void *)&dfs_GetDFSReferral_in_Type); PyModule_AddObject(m, "dfs_GetDFSReferral_in", (PyObject *)(void *)&dfs_GetDFSReferral_in_Type); Py_INCREF((PyObject *)(void *)&dfsblobs_InterfaceType); PyModule_AddObject(m, "dfsblobs", (PyObject *)(void *)&dfsblobs_InterfaceType); #ifdef PY_MOD_DFSBLOBS_PATCH PY_MOD_DFSBLOBS_PATCH(m); #endif }
35.110755
246
0.787411
[ "object" ]
e95667c7c4c71d896de3bdcb737cf277bf53e012
2,534
h
C
src/mixings/base_mixing.h
JoaoHenriqueOliveira/bayesmix
8ebc95c5188d236796593dd21b72436f903bf5e5
[ "BSD-3-Clause" ]
null
null
null
src/mixings/base_mixing.h
JoaoHenriqueOliveira/bayesmix
8ebc95c5188d236796593dd21b72436f903bf5e5
[ "BSD-3-Clause" ]
null
null
null
src/mixings/base_mixing.h
JoaoHenriqueOliveira/bayesmix
8ebc95c5188d236796593dd21b72436f903bf5e5
[ "BSD-3-Clause" ]
null
null
null
#ifndef BAYESMIX_MIXINGS_BASE_MIXING_H_ #define BAYESMIX_MIXINGS_BASE_MIXING_H_ #include <google/protobuf/message.h> #include <memory> #include "src/hierarchies/base_hierarchy.h" //! Abstract base class for a generic mixture model //! This class represents a mixture model object to be used in a BNP iterative //! algorithm. By definition, a mixture is a probability distribution that //! integrates over a density kernel to generate the actual distribution for //! the data. However, in the context of this library, where a clustering //! structure is generated on the data, a certain mixture translates to a //! certain way of weighing the insertion of data in old clusters vs the //! creation of new clusters. Therefore any mixture object inheriting from the //! class must have methods that provide the probabilities for the two //! aforementioned events. The class will then have its own parameters, and //! maybe even prior distributions on them. class BaseMixing { public: // DESTRUCTOR AND CONSTRUCTORS virtual ~BaseMixing() = default; BaseMixing() = default; // PROBABILITIES FUNCTIONS //! Mass probability for choosing an already existing cluster //! \param card Cardinality of the cluster //! \param n Total number of data points //! \return Probability value virtual double mass_existing_cluster(std::shared_ptr<BaseHierarchy> hier, const unsigned int n, bool log, bool propto) const = 0; //! Mass probability for choosing a newly created cluster //! \param n_clust Number of clusters //! \param n Total number of data points //! \return Probability value virtual double mass_new_cluster(const unsigned int n_clust, const unsigned int n, bool log, bool propto) const = 0; virtual void initialize() = 0; //! Returns true if the mixing has covariates i.e. is a dependent model virtual bool is_dependent() const { return false; } virtual void update_state( const std::vector<std::shared_ptr<BaseHierarchy>> &unique_values, unsigned int n) = 0; // GETTERS AND SETTERS virtual void set_state_from_proto( const google::protobuf::Message &state_) = 0; virtual void set_prior(const google::protobuf::Message &prior_) = 0; virtual void write_state_to_proto(google::protobuf::Message *out) const = 0; virtual std::string get_id() const = 0; }; #endif // BAYESMIX_MIXINGS_BASE_MIXING_H_
38.984615
78
0.702052
[ "object", "vector", "model" ]
e95743d575581fcbb5f12cd7eb9aa79ebeb2553d
2,361
h
C
frameworks/bridge/common/dom/dom_popup.h
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/bridge/common/dom/dom_popup.h
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/bridge/common/dom/dom_popup.h
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
1
2021-09-13T12:07:42.000Z
2021-09-13T12:07:42.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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. */ #ifndef FOUNDATION_ACE_FRAMEWORKS_BRIDGE_COMMON_DOM_DOM_POPUP_H #define FOUNDATION_ACE_FRAMEWORKS_BRIDGE_COMMON_DOM_DOM_POPUP_H #include "core/components/popup/popup_component.h" #include "frameworks/bridge/common/dom/dom_node.h" namespace OHOS::Ace::Framework { class DOMPopup final : public DOMNode { DECLARE_ACE_TYPE(DOMPopup, DOMNode); public: DOMPopup(NodeId nodeId, const std::string& nodeName); ~DOMPopup() override; void BindIdNode(const RefPtr<DOMNode>& idNode); void CallSpecializedMethod(const std::string& method, const std::string& args) override; void InitializeStyle() override; RefPtr<Component> GetSpecializedComponent() override { return popupChild_; } protected: bool SetSpecializedAttr(const std::pair<std::string, std::string>& attr) override; bool SetSpecializedStyle(const std::pair<std::string, std::string>& style) override; bool AddSpecializedEvent(int32_t pageId, const std::string& event) override; void OnChildNodeAdded(const RefPtr<DOMNode>& child, int32_t slot) override; void OnChildNodeRemoved(const RefPtr<DOMNode>& child) override; void ResetInitializedStyle() override; void PrepareSpecializedComponent() override; RefPtr<Component> CompositeSpecializedComponent(const std::vector<RefPtr<SingleChild>>& components) override; private: void RemoveMarker(); bool clickable_ = true; bool hasBackground_ = false; Color maskColor_; Color backgroundColor_; RefPtr<PopupComponent> popupChild_; EventMarker clickMarker_; EventMarker visibilityChangeEventId_; RefPtr<SingleChild> lastComponent_; }; } // namespace OHOS::Ace::Framework #endif // FOUNDATION_ACE_FRAMEWORKS_BRIDGE_COMMON_DOM_DOM_POPUP_H
34.720588
113
0.75773
[ "vector" ]
e95fdb04016ad90ecb9b0da2f47c3f14b6c7a6d3
3,251
h
C
Dev/Cpp/Viewer/Graphics/efk.Graphics.h
NumAniCloud/Effekseer
f4547a57eea4c85b55cb8218bf6cac6af6d6dd37
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-11-21T01:34:30.000Z
2020-11-21T01:34:30.000Z
Dev/Cpp/Viewer/Graphics/efk.Graphics.h
NumAniCloud/Effekseer
f4547a57eea4c85b55cb8218bf6cac6af6d6dd37
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Dev/Cpp/Viewer/Graphics/efk.Graphics.h
NumAniCloud/Effekseer
f4547a57eea4c85b55cb8218bf6cac6af6d6dd37
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#pragma once #include <Effekseer.h> #include <functional> #include <vector> #include "../../EffekseerRendererCommon/EffekseerRenderer.Renderer.h" #include "../Math/Vector2DI.h" #include "../efk.Base.h" namespace Effekseer { namespace Tool { class RenderPass; class CommandList; } // namespace Tool } // namespace Effekseer namespace efk { class Graphics; enum class TextureFormat { RGBA8U, RGBA16F, R16F, }; enum class TextureFeatureType { Texture2D, MultisampledTexture2DRenderTarget, MultisampledTexture2DResolve, }; class RenderTexture { protected: int32_t samplingCount_ = 1; Effekseer::Tool::Vector2DI size_; TextureFormat format_; public: RenderTexture() = default; virtual ~RenderTexture() = default; virtual bool Initialize(Effekseer::Tool::Vector2DI size, TextureFormat format, uint32_t multisample = 1) = 0; virtual uint64_t GetViewID() = 0; Effekseer::Tool::Vector2DI GetSize() const { return size_; } int32_t GetSamplingCount() const { return samplingCount_; } TextureFormat GetFormat() const { return format_; } static RenderTexture* Create(Graphics* graphics); }; class DepthTexture { public: DepthTexture() = default; virtual ~DepthTexture() = default; virtual bool Initialize(int32_t width, int32_t height, uint32_t multisample = 1) = 0; static DepthTexture* Create(Graphics* graphics); }; class Graphics { protected: RenderTexture* currentRenderTexture = nullptr; DepthTexture* currentDepthTexture = nullptr; public: Graphics() { } virtual ~Graphics() { } virtual bool Initialize(void* windowHandle, int32_t windowWidth, int32_t windowHeight, bool isSRGBMode) = 0; virtual void CopyTo(RenderTexture* src, RenderTexture* dst) = 0; //virtual void CopyToBackground() = 0; virtual void Resize(int32_t width, int32_t height) = 0; virtual bool Present() = 0; virtual void BeginScene() = 0; virtual void EndScene() = 0; virtual void SetRenderTarget(RenderTexture* renderTexture, DepthTexture* depthTexture) = 0; virtual void SaveTexture(RenderTexture* texture, std::vector<Effekseer::Color>& pixels) = 0; virtual void Clear(Effekseer::Color color) = 0; virtual void ResetDevice() = 0; //virtual void* GetBack() = 0; virtual DeviceType GetDeviceType() const = 0; virtual RenderTexture* GetRenderTexture() const { return currentRenderTexture; } virtual DepthTexture* GetDepthTexture() const { return currentDepthTexture; } virtual void ResolveRenderTarget(RenderTexture* src, RenderTexture* dest) { } virtual bool CheckFormatSupport(TextureFormat format, TextureFeatureType feature) { return true; } virtual int GetMultisampleLevel(TextureFormat format) { return 4; } virtual std::shared_ptr<Effekseer::Tool::RenderPass> CreateRenderPass(std::shared_ptr<efk::RenderTexture> colorTexture, std::shared_ptr<efk::DepthTexture> depthTexture) { return nullptr; } virtual std::shared_ptr<Effekseer::Tool::CommandList> CreateCommandList() { return nullptr; } /** Called when device is losted. */ //std::function<void()> LostedDevice; /** Called when device is resetted. */ //std::function<void()> ResettedDevice; /** Called when device is presented. */ std::function<void()> Presented; }; } // namespace efk
18.683908
169
0.739465
[ "vector" ]
e96775f439a9bed2d6e334dc13c55c860a866330
1,125
h
C
sys_info.h
libo8621696/Cpp_SystemMonitor
87a276f22e512f89ca6e8ba5aa654c54025041c4
[ "MIT" ]
null
null
null
sys_info.h
libo8621696/Cpp_SystemMonitor
87a276f22e512f89ca6e8ba5aa654c54025041c4
[ "MIT" ]
null
null
null
sys_info.h
libo8621696/Cpp_SystemMonitor
87a276f22e512f89ca6e8ba5aa654c54025041c4
[ "MIT" ]
null
null
null
#ifndef CPPND_SYSTEM_MONITOR_SYS_INFO_H_ #define CPPND_SYSTEM_MONITOR_SYS_INFO_H_ #include <string> #include <vector> #include "process_parser.h" class SysInfo { public: SysInfo(); void SetAttributes(); void SetLastCpuMeasures(); std::string GetMemPercent() const; long GetUpTime() const; std::string GetThreads() const; std::string GetTotalProc() const; std::string GetRunningProc() const; std::string GetKernelVersion() const; std::string GetOSName() const; std::string GetCpuPercent() const; void GetOtherCores(int _size); void SetCpuCoresStats(); std::vector<std::string> GetCoresStats() const; private: std::vector<std::string> last_cpu_stats_; std::vector<std::string> current_cpu_stats_; std::vector<std::string> cores_stats_; std::vector<std::vector<std::string>> last_cpu_cores_stats_; std::vector<std::vector<std::string>> current_cpu_cores_stats_; std::string cpu_percent_; float mem_percent_; std::string os_name_; std::string kernel_ver_; long up_time_; int total_proc_; int running_proc_; int threads_; }; #endif // CPPND_SYSTEM_MONITOR_SYS_INFO_H_
26.162791
65
0.748444
[ "vector" ]
e974bd7c5ccd5e683c34cf4bfabeee3c29d12062
672
h
C
graficos/FabricaDeAnimacionesCliente.h
seblaz/Final-Fight
b79677191a4d4239e8793fa0b6e8a8b69870a14d
[ "MIT" ]
1
2020-02-23T21:15:59.000Z
2020-02-23T21:15:59.000Z
graficos/FabricaDeAnimacionesCliente.h
seblaz/Final-Fight
b79677191a4d4239e8793fa0b6e8a8b69870a14d
[ "MIT" ]
1
2020-03-06T21:31:10.000Z
2020-03-06T21:31:10.000Z
graficos/FabricaDeAnimacionesCliente.h
seblaz/Final-Fight
b79677191a4d4239e8793fa0b6e8a8b69870a14d
[ "MIT" ]
1
2020-02-23T21:28:28.000Z
2020-02-23T21:28:28.000Z
// // Created by sebas on 2/11/19. // #ifndef FINAL_FIGHT_FABRICADEANIMACIONESCLIENTE_H #define FINAL_FIGHT_FABRICADEANIMACIONESCLIENTE_H #include <string> #include "AnimacionCliente.h" #include "../modelo/serializables/EstadoDePersonaje.h" using namespace std; class FabricaDeAnimacionesCliente : public Estado { private: string rutaBase; unordered_map<string, tuple<vector<SDL_Rect> *, float>> animaciones; public: explicit FabricaDeAnimacionesCliente(string rutaBase); AnimacionCliente *getAnimacion(const string& rutaFinal); AnimacionCliente *getAnimacion(ESTADO_DE_PERSONAJE estado); }; #endif //FINAL_FIGHT_FABRICADEANIMACIONESCLIENTE_H
23.172414
72
0.794643
[ "vector" ]
e9800d868ebc12a921cb81ed60cfcc1821d13ce0
365
h
C
gamelib/include/gamelib/InputController.h
DennisWandschura/GravBall
f140e304368ce1bfb9a8750c5a5c68ceac4c24bd
[ "MIT" ]
null
null
null
gamelib/include/gamelib/InputController.h
DennisWandschura/GravBall
f140e304368ce1bfb9a8750c5a5c68ceac4c24bd
[ "MIT" ]
null
null
null
gamelib/include/gamelib/InputController.h
DennisWandschura/GravBall
f140e304368ce1bfb9a8750c5a5c68ceac4c24bd
[ "MIT" ]
null
null
null
#pragma once struct DynamicEntity; #include <vxLib/math/Vector.h> class InputController { public: virtual ~InputController() {} virtual void VX_CALLCONV update(__m128 dt, DynamicEntity* entity) = 0; virtual void setValue(void* p) {}; }; typedef InputController* (*CreateInputControllerFn)(void*); typedef void (*DestroyInputControllerFn)(InputController*);
20.277778
71
0.764384
[ "vector" ]
e986a995480ab28cb0665a714c692e214d302b39
3,951
h
C
options/options.h
mgrosvenor/libchaste
3cabdafb3d449a4afaf78ec212f1d963667323dc
[ "BSD-3-Clause" ]
33
2015-02-02T17:28:06.000Z
2021-02-03T10:24:28.000Z
options/options.h
mgrosvenor/libchaste
3cabdafb3d449a4afaf78ec212f1d963667323dc
[ "BSD-3-Clause" ]
null
null
null
options/options.h
mgrosvenor/libchaste
3cabdafb3d449a4afaf78ec212f1d963667323dc
[ "BSD-3-Clause" ]
5
2017-03-21T21:32:02.000Z
2022-01-19T18:03:08.000Z
/* * Copyright (C) Matthew P. Grosvenor, 2012, All Rights Reserved * * Tools to parse and print command line options */ #ifndef CH_OPTIONS_H_ #define CH_OPTIONS_H_ #include "../types/types.h" #include "../log/log.h" //Include this here, so users don't have to #include "options_vectors.h" #include "../data_structs/vector/vector_std.h" typedef struct { char* short_description; char* long_description; CH_VECTOR(opts)* opt_defs; uint64_t count; ch_bool help; unsigned int max_long_opt_len; unsigned int max_descr_len; int unlimted_set; ch_bool done_init; int noprint_short; int print_mode; int print_type; int noprint_defualt; int noprint_long; int noexit; } ch_options_t; //Declare all the options parsers for non vector types, with initializers #define ch_opt_add_declare_i(ch_type_name, c_type_name, short_name, long_name)\ int ch_opt_add##short_name##i(ch_options_mode_e mode, char short_opt, char* long_opt, char* descr, c_type_name* result_out, c_type_name default_val) ch_opt_add_declare_i(CH_BOOL, ch_bool, b, "Boolean"); ch_opt_add_declare_i(CH_UINT64, u64, u, "Unsigned"); ch_opt_add_declare_i(CH_INT64, ch_word, i, "Integer"); ch_opt_add_declare_i(CH_STRING, ch_cstr, s, "String"); ch_opt_add_declare_i(CH_DOUBLE, ch_float, f, "Float"); ch_opt_add_declare_i(CH_HEX, u64, x, "Unsigned"); //Declare all the options parsers for non vector types, untantalized #define ch_opt_add_declare_u(ch_type_name, c_type_name, short_name, long_name)\ int ch_opt_add##short_name##u(ch_options_mode_e mode, char short_opt, char* long_opt, char* descr, c_type_name* result_out) ch_opt_add_declare_u(CH_BOOL, ch_bool, b, "boolean"); ch_opt_add_declare_u(CH_UINT64, u64, u, "unsigned"); ch_opt_add_declare_u(CH_INT64, ch_word, i, "integer"); ch_opt_add_declare_u(CH_STRING, ch_cstr, s, "string"); ch_opt_add_declare_u(CH_DOUBLE, ch_float, f, "float"); ch_opt_add_declare_u(CH_HEX, u64, x, "Unsigned"); //Declare all the options parsers for vector types, with initializers #define ch_opt_add_declare_VI(ch_type_name, vector_name, c_type_name_default, short_name, long_name)\ int ch_opt_add##short_name##I(ch_options_mode_e mode, char short_opt, char* long_opt, char* descr, CH_VECTOR(vector_name)** result_out, c_type_name_default default_val) ch_opt_add_declare_VI(CH_BOOLS, ch_bool, ch_bool, B, "Boolean List"); ch_opt_add_declare_VI(CH_UINT64S, u64, u64, U, "Unsigned List"); ch_opt_add_declare_VI(CH_INT64S, word, ch_word, I, "Integer List"); ch_opt_add_declare_VI(CH_STRINGS, cstr, ch_cstr, S, "String List"); ch_opt_add_declare_VI(CH_DOUBLES, float, ch_float, F, "Float List"); ch_opt_add_declare_VI(CH_HEXS, u64, u64, X, "Unsigned List"); //Declare all the options parsers for vector types, with uninitialized #define ch_opt_add_declare_VU(ch_type_name, vector_name, short_name, long_name)\ int ch_opt_add##short_name##U(ch_options_mode_e mode, char short_opt, char* long_opt, char* descr, CH_VECTOR(vector_name)** result_out) ch_opt_add_declare_VU(CH_BOOLS, ch_bool, B, "Boolean List"); ch_opt_add_declare_VU(CH_UINT64S, u64, U, "Unsigned List"); ch_opt_add_declare_VU(CH_INT64S, word, I, "Integer List"); ch_opt_add_declare_VU(CH_STRINGS, cstr, S, "String List"); ch_opt_add_declare_VU(CH_DOUBLES, float, F, "Float List"); ch_opt_add_declare_VU(CH_HEXS, u64, X, "Unsigned List"); #define Vector_geti(type,vector,i) ((type*)vector.mem)[i] #define USE_CH_OPTIONS \ ch_options_t opts = { 0 } int ch_opt_name(char* description); int ch_opt_tail(char* description); int ch_opt_short_description(char* description); int ch_opt_long_description(char* description); int ch_opt_parse(int argc, char** argv); void ch_opt_print_usage(const char* err_tx_fmt, ...); #endif /* CH_OPTIONS_H_ */
42.483871
168
0.738041
[ "vector" ]
e98820e775790312d94e2b52785b5790a08e3c41
3,022
h
C
src/ft2_structs.h
kode54/ft2-clone
3c4a36a34df0c3f2a33a1a2330a7a34eefc43c6e
[ "BSD-3-Clause" ]
null
null
null
src/ft2_structs.h
kode54/ft2-clone
3c4a36a34df0c3f2a33a1a2330a7a34eefc43c6e
[ "BSD-3-Clause" ]
null
null
null
src/ft2_structs.h
kode54/ft2-clone
3c4a36a34df0c3f2a33a1a2330a7a34eefc43c6e
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <stdint.h> #include <stdbool.h> #include "ft2_header.h" typedef struct cpu_t { bool hasSSE, hasSSE2; } cpu_t; typedef struct editor_t { UNICHAR binaryPathU[PATH_MAX + 2]; UNICHAR *tmpFilenameU, *tmpInstrFilenameU; // used by saving/loading threads UNICHAR *configFileLocation, *audioDevConfigFileLocation, *midiConfigFileLocation; volatile bool mainLoopOngoing; volatile bool busy, scopeThreadMutex, programRunning, wavIsRendering, wavReachedEndFlag; volatile bool updateCurSmp, updateCurInstr, diskOpReadDir, diskOpReadDone, updateWindowTitle; volatile uint8_t loadMusicEvent; volatile FILE *wavRendererFileHandle; bool autoPlayOnDrop, trimThreadWasDone, throwExit, editTextFlag; bool copyMaskEnable, diskOpReadOnOpen, samplingAudioFlag, editSampleFlag; bool instrBankSwapped, chnMode[MAX_VOICES], NI_Play; uint8_t curPlayInstr, curPlaySmp, curSmpChannel, currPanEnvPoint, currVolEnvPoint; uint8_t copyMask[5], pasteMask[5], transpMask[5], smpEd_NoteNr, instrBankOffset, sampleBankOffset; uint8_t srcInstr, curInstr, srcSmp, curSmp, currHelpScreen, currConfigScreen, textCursorBlinkCounter; uint8_t keyOnTab[MAX_VOICES], ID_Add, curOctave; uint8_t sampleSaveMode, moduleSaveMode, ptnJumpPos[4]; int16_t globalVol, songPos, pattPos; uint16_t tmpPattern, editPattern, speed, tempo, timer, ptnCursorY; int32_t keyOffNr, keyOffTime[MAX_VOICES]; uint32_t framesPassed, wavRendererTime; double dPerfFreq, dPerfFreqMulMicro, dPerfFreqMulMs; } editor_t; typedef struct ui_t { volatile bool setMouseBusy, setMouseIdle; bool sysReqEnterPressed; // all screens bool extended, sysReqShown; // top screens bool instrSwitcherShown, aboutScreenShown, helpScreenShown, configScreenShown; bool scopesShown, diskOpShown, nibblesShown, transposeShown, instEditorExtShown; bool sampleEditorExtShown, advEditShown, wavRendererShown, trimScreenShown; bool drawBPMFlag, drawSpeedFlag, drawGlobVolFlag, drawPosEdFlag, drawPattNumLenFlag; bool updatePosSections, updatePosEdScrollBar; uint8_t oldTopLeftScreen; // bottom screens bool patternEditorShown, instEditorShown, sampleEditorShown, pattChanScrollShown; bool leftLoopPinMoving, rightLoopPinMoving; bool drawReplayerPianoFlag, drawPianoFlag, updatePatternEditor; uint8_t channelOffset, numChannelsShown, maxVisibleChannels; uint16_t patternChannelWidth; int32_t sampleDataOrLoopDrag; // backup flag for when entering/exiting extended pattern editor (TODO: this is lame and shouldn't be hardcoded) bool _aboutScreenShown, _helpScreenShown, _configScreenShown, _diskOpShown; bool _nibblesShown, _transposeShown, _instEditorShown; bool _instEditorExtShown, _sampleEditorExtShown, _patternEditorShown; bool _sampleEditorShown, _advEditShown, _wavRendererShown, _trimScreenShown; // ------------------------------------------------------------------------- } ui_t; typedef struct cursor_t { uint8_t ch; int8_t object; } cursor_t; extern cpu_t cpu; extern editor_t editor; extern ui_t ui; extern cursor_t cursor;
36.853659
113
0.805427
[ "object" ]
e9938b4fa0e553db0dc083439684e6e0d6e17cac
5,342
h
C
Object_Recognition/src/pnp/signature.h
EricCJoyce/The-Recognitions
05aafbcd124988d58b1cc60070b9ad17d49322d7
[ "MIT" ]
1
2021-06-29T20:53:18.000Z
2021-06-29T20:53:18.000Z
Object_Recognition/src/pnp/signature.h
EricCJoyce/The-Recognitions
05aafbcd124988d58b1cc60070b9ad17d49322d7
[ "MIT" ]
null
null
null
Object_Recognition/src/pnp/signature.h
EricCJoyce/The-Recognitions
05aafbcd124988d58b1cc60070b9ad17d49322d7
[ "MIT" ]
1
2021-09-26T03:14:49.000Z
2021-09-26T03:14:49.000Z
/* Eric C. Joyce, Stevens Institute of Technology, 2020. Class for a single 3D object's representation, called that object's "signature." A signature may be made of one or more descriptors. The system is currently equipped to recognize four descriptors. */ #ifndef __SIGNATURE_H #define __SIGNATURE_H #include <fstream> #include <opencv2/core/mat.hpp> #include "descriptor.h" #define SIGNATURE_HEADER_LENGTH 512 /* #define __SIGNATURE_DEBUG 1 */ using namespace cv; using namespace std; /************************************************************************************************** Signature */ class Signature { public: Signature(); // Constructor ~Signature(); // Destructor bool load(char*); // Load a signature from file bool write(char*) const; // Write the signature to file using the given name bool toText(char*) const; // Write the signature details to a human-readable file unsigned int toBuffer(unsigned char, void**) const; // Write to a given buffer all (concatenated) feature vectors of given type void toMat(unsigned char, cv::Mat*) const; // Write to a given matrix all features of given type // Both these functions return the length of the vector in buffer: unsigned char desc(unsigned int, void**) const; // Write the i-th descriptor vector (of whatever type that is) to buffer // Write the i-th descriptor vector of GIVEN type to buffer unsigned char descType(unsigned int, unsigned char, void**) const; unsigned int count(unsigned char) const; // Return the count of features that use the given type of Descriptor unsigned char flags(void) const; // Return an 8-bit "array" indicating which Descriptors are in use unsigned int writeByteArray(char**) const; // Convert an instance of this class to a byte array bool readByteArray(char*); // Update an instance of this class according to given byte array void summary(void) const; void print(void) const; void printFilename(void) const; void setIndex(signed int); // Sets attribute '_index' and '_signature' of all Descriptors void setXYZ(unsigned int, float, float, float); // Sets the i-th interest point's x, y, and z components unsigned int numPoints() const; // Getters unsigned int numMutex() const; float bboxMin(unsigned char) const; float bboxMax(unsigned char) const; unsigned char filename(char**) const; char* fileStem() const; // Just give me the file name without the path or the extension unsigned int header(char**) const; signed int index(void) const; unsigned char type(unsigned int) const; // Return the #define'd type of the i-th feature unsigned char len(unsigned int) const; float x(unsigned int) const; // Return the i-th x float y(unsigned int) const; // Return the i-th y float z(unsigned int) const; // Return the i-th z float size(unsigned int) const; float angle(unsigned int) const; float response(unsigned int) const; signed int octave(unsigned int) const; float x(unsigned int, unsigned char) const; // Return the i-th x of type float y(unsigned int, unsigned char) const; // Return the i-th y of type float z(unsigned int, unsigned char) const; // Return the i-th z of type float size(unsigned int, unsigned char) const; float angle(unsigned int, unsigned char) const; float response(unsigned int, unsigned char) const; signed int octave(unsigned int, unsigned char) const; private: unsigned int _numPoints; // Number of feature points in a .3df file unsigned int _numMutex; // Number of mutual-exclusions in a .3df file char* _filename; // For reference unsigned char filenameLen; unsigned int* descriptorCtr; // Number of each descriptor occurring in a .3df file float bboxminX, bboxminY, bboxminZ; // Bounding box extrema float bboxmaxX, bboxmaxY, bboxmaxZ; char hdr[SIGNATURE_HEADER_LENGTH]; // File header signed int _index; // This Signature's index in an array of Signatures Descriptor** d; // Contains all descriptor vectors of all types }; #endif
51.864078
144
0.539311
[ "object", "vector", "3d" ]
e9982a7c5f275cc78fc7cc8466e997a6347ec506
1,903
h
C
sort/merge.h
KrusnikViers/Algorithm
f26d9eee71651e280002c417ec1b2a21ca241812
[ "MIT" ]
1
2020-09-07T10:31:16.000Z
2020-09-07T10:31:16.000Z
sort/merge.h
KrusnikViers/Algorithm
f26d9eee71651e280002c417ec1b2a21ca241812
[ "MIT" ]
null
null
null
sort/merge.h
KrusnikViers/Algorithm
f26d9eee71651e280002c417ec1b2a21ca241812
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <vector> namespace sort { namespace impl { template<class RandomAccessIterator, class ValueType, class Compare> void merge(RandomAccessIterator begin, RandomAccessIterator end, Compare comp, std::vector<ValueType>& buffer) { if (end - begin < 2u) return; // Sorting begin-middle and middle-end subarrays. RandomAccessIterator middle = begin + (end - begin) / 2; merge(begin, middle, comp, buffer); merge(middle, end, comp, buffer); // Merging results. RandomAccessIterator merged_left = begin, merged_right = middle; auto merged_in_buffer = buffer.begin(); while (merged_left != middle && merged_right != end) { if (comp(*merged_right, *merged_left)) { *merged_in_buffer = std::move(*merged_right); ++merged_right; } else { *merged_in_buffer = std::move(*merged_left); ++merged_left; } ++merged_in_buffer; } // There can be elements left in right or left subarray. While rest of right subarray elements is already in the // end of the sorted data, left subarray tail should be moved directly. if (merged_left != middle) std::move_backward(merged_left, middle, end); std::move(buffer.begin(), merged_in_buffer, begin); } } // namespace impl template<class RandomAccessIterator, class Compare> void merge(RandomAccessIterator begin, RandomAccessIterator end, Compare comp) { if (end - begin < 2u) return; std::vector<typename std::iterator_traits<RandomAccessIterator>::value_type> buffer(end - begin); impl::merge(begin, end, comp, buffer); } template<class RandomAccessIterator> void merge(RandomAccessIterator begin, RandomAccessIterator end) { return merge(begin, end, std::less<typename std::iterator_traits<RandomAccessIterator>::value_type>()); } } // namespace sort
32.254237
116
0.689963
[ "vector" ]
e99918f49bea11da70a096ebd318857aad2bbb85
1,075
h
C
inc/Tap2ScreenDocument.h
kolayuk/Tap2Screen
824893bb84b8c81b8151a25b415ea2def610c4ba
[ "Apache-2.0" ]
3
2015-06-30T14:08:20.000Z
2020-04-27T03:19:58.000Z
inc/Tap2ScreenDocument.h
kolayuk/Tap2Screen
824893bb84b8c81b8151a25b415ea2def610c4ba
[ "Apache-2.0" ]
null
null
null
inc/Tap2ScreenDocument.h
kolayuk/Tap2Screen
824893bb84b8c81b8151a25b415ea2def610c4ba
[ "Apache-2.0" ]
null
null
null
/* ======================================================================== Name : Tap2ScreenDocument.h Author : Usanov-Kornilov Nikolay (aka Kolay) Copyright : Contacts: kolayuk@mail.ru http://kolaysoft.ru (c) KolaySoft, 2010 Description : ======================================================================== */ #ifndef TAP2SCREENDOCUMENT_H #define TAP2SCREENDOCUMENT_H #include <akndoc.h> class CEikAppUi; /** * @class CTap2ScreenDocument Tap2ScreenDocument.h * @brief A CAknDocument-derived class is required by the S60 application * framework. It is responsible for creating the AppUi object. */ class CTap2ScreenDocument : public CAknDocument { public: // constructor static CTap2ScreenDocument* NewL( CEikApplication& aApp ); private: // constructors CTap2ScreenDocument( CEikApplication& aApp ); void ConstructL(); void UpdateTaskNameL(CApaWindowGroupName* aWg); public: // from base class CEikDocument CEikAppUi* CreateAppUiL(); }; #endif // TAP2SCREENDOCUMENT_H
24.431818
74
0.609302
[ "object" ]
e9b2db51c56f038e91dd8aad74443b5e0cbf2526
1,416
h
C
src/tools/transform.h
eyeon-software/Fixture
5b8b7aefa500ff548b2054a714d363016adac46f
[ "Zlib" ]
36
2018-07-07T10:03:43.000Z
2021-08-19T18:02:43.000Z
src/tools/transform.h
eyeon-software/Fixture
5b8b7aefa500ff548b2054a714d363016adac46f
[ "Zlib" ]
5
2018-07-09T08:29:37.000Z
2018-10-24T07:34:28.000Z
src/tools/transform.h
eyeon-software/Fixture
5b8b7aefa500ff548b2054a714d363016adac46f
[ "Zlib" ]
8
2018-09-08T08:05:44.000Z
2020-12-11T12:05:43.000Z
#ifndef SELECTTOOL_H #define SELECTTOOL_H #include "abstractselection.h" #include "components/boundingrectitem.h" #include "tooloptions/transform_menu.h" /** * @brief class Transform responsible for different properties and functions of * the transform tool, which is being used for moving, scaling and rotating items */ class Transform : public AbstractSelection { Q_OBJECT public: Transform(QWidget *parent = nullptr); Transform(const Transform &other); ~Transform(); void move(QGraphicsSceneMouseEvent *event); void press(QGraphicsSceneMouseEvent *event); void release(QGraphicsSceneMouseEvent *event); void setTransformMode(bool set); QWidget * getToolMenu(); Tool * clone() const; void updateBounds(); public slots: void drawBounds(bool draw); inline void setAutoSelect(bool set){ _autoSelect = set; } void actionTaken(bool accept); private: void drawBoundingRect(); void connectMenu(); TransformTool::BoundingRectItem *_rect; TransformTool::BoundingRectItem::HotSpot _handle; bool _boundsDrawn, _autoSelect; QPointF _prevPos, _curPos; Qt::MouseButton _mouseButton; QList<QTransform> _curState, _prevState; QList<QGraphicsItem *> _curItems; qreal _scalex, _scaley; qreal width, height; qreal _totaldx, _totaldy; signals: void switchedToTransformMode(bool enable); }; #endif // SELECTTOOL_H
25.745455
81
0.733051
[ "transform" ]
e9b7fab7474ad3d835974380fb1f2a114c3bbfc8
1,137
h
C
src/xray/render/common/sources/render_device.h
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/render/common/sources/render_device.h
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/render/common/sources/render_device.h
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 09.02.2009 // Author : Igor Lobanchikov // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #ifndef RENDER_DEVICE_H_INCLUDED #define RENDER_DEVICE_H_INCLUDED namespace xray { namespace render { class render_device: public quasi_singleton<render_device> { public: render_device(); ~render_device(); bool begin_frame(); void end_frame(); void test_corrporate_level(); u32 get_frame() {return m_frame;} private: enum device_state { ds_ok = 0, ds_lost, ds_need_reset }; private: void reset( bool precache = true ) const; void setup_states() const; // Platform specific device_state get_device_state() const; void begin_scene_platform(); void end_scene_platform(); void setup_states_platform() const; private: bool m_frame_started; u32 m_frame; device_state m_device_state; }; // class render_device } // namespace render } // namespace xray #endif // #ifndef RENDER_DEVICE_H_INCLUDED
21.055556
77
0.604222
[ "render" ]
e9c04249e583f9946365ef924fbbc6688400402f
1,778
h
C
dali/kernels/tensor_shape_print.h
klecki/DALI
a101e0065ae568c8b01931ed65babf40728f8360
[ "ECL-2.0", "Apache-2.0" ]
2
2019-03-24T17:18:58.000Z
2021-01-19T09:58:15.000Z
dali/kernels/tensor_shape_print.h
Omar-Belghaouti/DALI
3aa1b44349cb94f25a35050bbf33c001049851c7
[ "ECL-2.0", "Apache-2.0" ]
1
2019-08-27T09:25:16.000Z
2019-08-27T09:25:16.000Z
dali/kernels/tensor_shape_print.h
aalugore/DALI
2d4178e7263910d96f8e91f498c727e2366506a4
[ "ECL-2.0", "Apache-2.0" ]
1
2019-02-22T01:10:39.000Z
2019-02-22T01:10:39.000Z
// Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. // // 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. #ifndef DALI_KERNELS_TENSOR_SHAPE_PRINT_H_ #define DALI_KERNELS_TENSOR_SHAPE_PRINT_H_ #include <dali/kernels/tensor_shape.h> #include <sstream> #include <string> namespace dali { namespace kernels { template <int ndim> std::ostream &operator<<(std::ostream &os, const TensorShape<ndim> &shape) { for (int i = 0; i < shape.size(); i++) { if (i) os << " x "; os << shape[i]; } return os; } template <int ndim> std::ostream &operator<<(std::ostream &os, const TensorListShape<ndim> &shape) { os << "{"; for (int i = 0; i < shape.num_samples(); i++) { if (i) os << ",\n "; os << shape[i]; } os << "}"; return os; } } // namespace kernels } // namespace dali namespace std { template <int ndim> inline string to_string(const dali::kernels::TensorShape<ndim> &shape) { using dali::kernels::operator<<; stringstream ss; ss << shape; return ss.str(); } template <int ndim> inline string to_string(const dali::kernels::TensorListShape<ndim> &shape) { using dali::kernels::operator<<; stringstream ss; ss << shape; return ss.str(); } } // namespace std #endif // DALI_KERNELS_TENSOR_SHAPE_PRINT_H_
25.768116
80
0.688414
[ "shape" ]
e9c298aa1dc4f28943e9a9c1008b2c94ad1e1f12
20,207
c
C
rock/external/gstreamer-rockchip/gst/vpudec/gstvpudec.c
NovasomIndustries/Utils-2019.01
ab6d48edc03363f3ee4f1e9efc5269fdecfe35a8
[ "MIT" ]
2
2019-04-20T14:21:56.000Z
2019-06-14T07:17:22.000Z
rock/external/gstreamer-rockchip/gst/vpudec/gstvpudec.c
NovasomIndustries/Utils-2019.07
4a41062e0f50c1f97cb37df91457672ce386516d
[ "MIT" ]
null
null
null
rock/external/gstreamer-rockchip/gst/vpudec/gstvpudec.c
NovasomIndustries/Utils-2019.07
4a41062e0f50c1f97cb37df91457672ce386516d
[ "MIT" ]
1
2021-07-11T14:36:00.000Z
2021-07-11T14:36:00.000Z
/* * Copyright 2016 Rockchip Electronics Co., Ltd * * 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. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include <sys/ioctl.h> #include <sys/mman.h> #include <fcntl.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <gst/gst.h> #include "gstvpudec.h" GST_DEBUG_CATEGORY (gst_vpudec_debug); #define GST_CAT_DEFAULT gst_vpudec_debug #define parent_class gst_vpudec_parent_class G_DEFINE_TYPE (GstVpuDec, gst_vpudec, GST_TYPE_VIDEO_DECODER); #define NB_INPUT_BUFS 4 #define NB_OUTPUT_BUFS 22 /* nb frames necessary for display pipeline */ /* GstVideoDecoder base class method */ static GstStaticPadTemplate gst_vpudec_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS ("video/x-h264," "stream-format = (string) { byte-stream }," "alignment = (string) { au }" ";" "video/x-h265," "stream-format = (string) { byte-stream }," "alignment = (string) { au }" ";" "video/mpeg," "mpegversion = (int) { 1, 2, 4 }," "systemstream = (boolean) false," "parsed = (boolean) true" ";" "video/x-vp8" ";" "video/x-h263" ";") ); static GstStaticPadTemplate gst_vpudec_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, GST_STATIC_CAPS ("video/x-raw, " "format = (string) NV12, " "width = (int) [ 32, 4096 ], " "height = (int) [ 32, 4096 ]" ";" "video/x-raw, " "format = (string) P010_10LE, " "width = (int) [ 32, 4096 ], " "height = (int) [ 32, 4096 ]" ";") ); static gboolean gst_vpudec_flush (GstVideoDecoder * decoder); static void gst_vpudec_finalize (GObject * object) { G_OBJECT_CLASS (parent_class)->finalize (object); } static gboolean gst_vpudec_close (GstVpuDec * vpudec) { if (vpudec->vpu_codec_ctx != NULL) { vpu_close_context (&vpudec->vpu_codec_ctx); vpudec->vpu_codec_ctx = NULL; } GST_DEBUG_OBJECT (vpudec, "vpu codec context closed"); return TRUE; } /* Open the device */ static gboolean gst_vpudec_start (GstVideoDecoder * decoder) { GstVpuDec *vpudec = GST_VPUDEC (decoder); GST_DEBUG_OBJECT (vpudec, "Starting"); vpudec->output_flow = GST_FLOW_OK; return TRUE; } static gint gst_vpudec_sendeos (GstVideoDecoder * decoder) { GstVpuDec *vpudec = GST_VPUDEC (decoder); VpuCodecContext_t *vpu_codec_ctx = vpudec->vpu_codec_ctx; VideoPacket_t pkt; RK_S32 is_eos = 0; pkt.size = 0; pkt.data = NULL; /* eos flag */ pkt.nFlags = VPU_API_DEC_OUTPUT_EOS; vpu_codec_ctx->decode_sendstream (vpu_codec_ctx, &pkt); /* Not need to wait flag here, dec_loop() may have exited */ vpu_codec_ctx->control (vpu_codec_ctx, VPU_API_DEC_GET_EOS_STATUS, &is_eos); return is_eos; } static gboolean gst_vpudec_stop (GstVideoDecoder * decoder) { GstVpuDec *vpudec = GST_VPUDEC (decoder); GST_DEBUG_OBJECT (vpudec, "Stopping"); /* Wait for mpp/libvpu output thread to stop */ gst_pad_stop_task (decoder->srcpad); GST_VIDEO_DECODER_STREAM_LOCK (decoder); vpudec->output_flow = GST_FLOW_OK; GST_VIDEO_DECODER_STREAM_UNLOCK (decoder); gst_vpudec_sendeos (decoder); /* Should have been flushed already */ g_assert (g_atomic_int_get (&vpudec->active) == FALSE); g_assert (g_atomic_int_get (&vpudec->processing) == FALSE); if (vpudec->input_state) gst_video_codec_state_unref (vpudec->input_state); if (vpudec->output_state) gst_video_codec_state_unref (vpudec->output_state); gst_vpudec_close (vpudec); if (vpudec->pool) { gst_object_unref (vpudec->pool); vpudec->pool = NULL; } GST_DEBUG_OBJECT (vpudec, "Stopped"); return TRUE; } static VPU_VIDEO_CODINGTYPE to_vpu_stream_format (GstStructure * s) { if (gst_structure_has_name (s, "video/x-h264")) return VPU_VIDEO_CodingAVC; if (gst_structure_has_name (s, "video/x-h265")) return VPU_VIDEO_CodingHEVC; if (gst_structure_has_name (s, "video/x-h263")) return VPU_VIDEO_CodingH263; if (gst_structure_has_name (s, "video/mpeg")) { gint mpegversion = 0; if (gst_structure_get_int (s, "mpegversion", &mpegversion)) { switch (mpegversion) { case 2: return VPU_VIDEO_CodingMPEG2; break; case 4: return VPU_VIDEO_CodingMPEG4; break; default: break; } } } if (gst_structure_has_name (s, "video/x-vp8")) return VPU_VIDEO_CodingVP8; /* add more type here */ return VPU_VIDEO_CodingUnused; } static GstVideoFormat to_gst_pix_format (VPU_VIDEO_PIXEL_FMT pix_fmt) { switch (pix_fmt) { case VPU_VIDEO_PIXEL_FMT_NV12: return GST_VIDEO_FORMAT_NV12; case VPU_VIDEO_PIXEL_FMT_P010LE: return GST_VIDEO_FORMAT_P010_10LE; default: return GST_VIDEO_FORMAT_UNKNOWN; } } static gboolean gst_vpudec_open (GstVpuDec * vpudec, VPU_VIDEO_CODINGTYPE codingType) { if (vpu_open_context (&vpudec->vpu_codec_ctx) || vpudec->vpu_codec_ctx == NULL) goto vpu_codec_ctx_error; GST_DEBUG_OBJECT (vpudec, "created vpu context %p", vpudec->vpu_codec_ctx); vpudec->vpu_codec_ctx->codecType = CODEC_DECODER; vpudec->vpu_codec_ctx->videoCoding = codingType; vpudec->vpu_codec_ctx->width = vpudec->width; vpudec->vpu_codec_ctx->height = vpudec->height; vpudec->vpu_codec_ctx->no_thread = 0; vpudec->vpu_codec_ctx->enableparsing = 1; if (vpudec->vpu_codec_ctx->init (vpudec->vpu_codec_ctx, NULL, 0) != 0) goto init_error; return TRUE; vpu_codec_ctx_error: { GST_ERROR_OBJECT (vpudec, "libvpu open context failed"); return FALSE; } init_error: { GST_ERROR_OBJECT (vpudec, "libvpu init failed"); if (!vpudec->vpu_codec_ctx) vpu_close_context (&vpudec->vpu_codec_ctx); return FALSE; } } static gboolean gst_vpudec_set_format (GstVideoDecoder * decoder, GstVideoCodecState * state) { GstVpuDec *vpudec = GST_VPUDEC (decoder); GstStructure *structure; gint width, height; VPU_VIDEO_CODINGTYPE codingtype; const gchar *codec_profile; GST_DEBUG_OBJECT (vpudec, "Setting format: %" GST_PTR_FORMAT, state->caps); structure = gst_caps_get_structure (state->caps, 0); if (vpudec->input_state) { GstQuery *query = gst_query_new_drain (); if (gst_caps_is_strictly_equal (vpudec->input_state->caps, state->caps)) goto done; gst_video_codec_state_unref (vpudec->input_state); vpudec->input_state = NULL; GST_VIDEO_DECODER_STREAM_UNLOCK (decoder); gst_vpudec_sendeos (decoder); do { /* Wait all the reminded buffers are pushed to downstream */ } while (g_atomic_int_get (&vpudec->processing)); gst_vpudec_flush (decoder); GST_VIDEO_DECODER_STREAM_LOCK (decoder); /* Query the downstream to release buffers from buffer pool */ if (!gst_pad_peer_query (GST_VIDEO_DECODER_SRC_PAD (vpudec), query)) GST_DEBUG_OBJECT (vpudec, "drain query failed"); gst_query_unref (query); if (vpudec->pool) { gst_object_unref (vpudec->pool); vpudec->pool = NULL; } vpudec->output_flow = GST_FLOW_OK; g_atomic_int_set (&vpudec->active, FALSE); } g_return_val_if_fail (gst_structure_get_int (structure, "width", &width) != 0, FALSE); g_return_val_if_fail (gst_structure_get_int (structure, "height", &height) != 0, FALSE); codingtype = to_vpu_stream_format (structure); if (!codingtype) goto format_error; codec_profile = gst_structure_get_string (structure, "profile"); if (codec_profile && g_strrstr (codec_profile, "10")) /* The mpp vpu api use this way to mark it as 10bit video */ vpudec->width = width | 0x80000000; else vpudec->width = width; vpudec->height = height; if (vpudec->vpu_codec_ctx) { VPU_GENERIC vpug; vpug.CodecType = codingtype; vpug.ImgWidth = width; vpug.ImgHeight = height; vpudec->vpu_codec_ctx->control (vpudec->vpu_codec_ctx, VPU_API_SET_DEFAULT_WIDTH_HEIGH, &vpug); } else { if (!gst_vpudec_open (vpudec, codingtype)) goto device_error; } vpudec->input_state = gst_video_codec_state_ref (state); done: return TRUE; /* Errors */ format_error: { GST_ERROR_OBJECT (vpudec, "Unsupported format in caps: %" GST_PTR_FORMAT, state->caps); return FALSE; } device_error: { GST_ERROR_OBJECT (vpudec, "Failed to open the device"); return FALSE; } } static void gst_vpudec_dec_loop (GstVideoDecoder * decoder) { GstVpuDec *vpudec = GST_VPUDEC (decoder); GstBuffer *output_buffer; GstVideoCodecFrame *frame; GstFlowReturn ret = GST_FLOW_OK; ret = gst_buffer_pool_acquire_buffer (vpudec->pool, &output_buffer, NULL); if ((ret != GST_FLOW_OK) && (ret != GST_FLOW_CUSTOM_ERROR_1)) goto beach; frame = gst_video_decoder_get_oldest_frame (decoder); if (frame) { if (ret == GST_FLOW_CUSTOM_ERROR_1) { gst_video_decoder_drop_frame (decoder, frame); GST_DEBUG_OBJECT (vpudec, "I want to drop a frame"); return; } frame->output_buffer = output_buffer; output_buffer = NULL; ret = gst_video_decoder_finish_frame (decoder, frame); GST_TRACE_OBJECT (vpudec, "finish buffer ts=%" GST_TIME_FORMAT, GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (frame->output_buffer))); if (ret != GST_FLOW_OK) goto beach; } else { GST_WARNING_OBJECT (vpudec, "Decoder is producing too many buffers"); gst_buffer_unref (output_buffer); } return; beach: GST_DEBUG_OBJECT (vpudec, "Leaving output thread: %s", gst_flow_get_name (ret)); gst_buffer_replace (&output_buffer, NULL); vpudec->output_flow = ret; g_atomic_int_set (&vpudec->processing, FALSE); gst_pad_pause_task (decoder->srcpad); } static void gst_vpudec_dec_loop_stopped (GstVpuDec * self) { if (g_atomic_int_get (&self->processing)) { GST_DEBUG_OBJECT (self, "Early stop of decoding thread"); self->output_flow = GST_FLOW_FLUSHING; g_atomic_int_set (&self->processing, FALSE); } GST_DEBUG_OBJECT (self, "Decoding task destroyed: %s", gst_flow_get_name (self->output_flow)); } static gboolean gst_vpudec_default_output_info (GstVpuDec * vpudec) { GstVideoCodecState *output_state; GstVideoAlignment *align; GstVideoInfo *info; DecoderFormat_t fmt; gboolean ret = TRUE; GST_DEBUG_OBJECT (vpudec, "Setting output"); vpudec->vpu_codec_ctx->control (vpudec->vpu_codec_ctx, VPU_API_DEC_GETFORMAT, &fmt); info = &vpudec->info; GST_INFO_OBJECT (vpudec, "Format found from vpu :pixelfmt:%s, aligned_width:%d, aligned_height:%d, stride:%d, sizeimage:%d", gst_video_format_to_string (to_gst_pix_format (fmt.format)), fmt.aligned_width, fmt.aligned_height, fmt.aligned_stride, fmt.aligned_frame_size); /* FIXME not complete video information */ gst_video_info_init (info); info->finfo = gst_video_format_get_info (to_gst_pix_format (fmt.format)); info->width = fmt.width; info->height = fmt.height; info->size = fmt.aligned_frame_size; info->offset[0] = 0; info->offset[1] = fmt.aligned_stride * fmt.aligned_height; info->stride[0] = fmt.aligned_stride; info->stride[1] = fmt.aligned_stride; GST_INFO_OBJECT (vpudec, "video info stride %d, offset %d, stride %d, offset %d", GST_VIDEO_INFO_PLANE_STRIDE (&vpudec->info, 0), GST_VIDEO_INFO_PLANE_OFFSET (&vpudec->info, 0), GST_VIDEO_INFO_PLANE_STRIDE (&vpudec->info, 1), GST_VIDEO_INFO_PLANE_OFFSET (&vpudec->info, 1)); #if 1 output_state = gst_video_decoder_set_output_state (GST_VIDEO_DECODER (vpudec), to_gst_pix_format (fmt.format), fmt.width, fmt.height, vpudec->input_state); if (vpudec->output_state) gst_video_codec_state_unref (vpudec->output_state); vpudec->output_state = gst_video_codec_state_ref (output_state); align = &vpudec->align; gst_video_alignment_reset (align); /* Compute padding and set buffer alignment */ align->padding_right = fmt.aligned_stride - fmt.width; align->padding_bottom = fmt.aligned_height - fmt.height; #endif /* construct a new buffer pool */ vpudec->pool = gst_vpudec_buffer_pool_new (vpudec, NULL); if (vpudec->pool == NULL) goto error_new_pool; g_atomic_int_set (&vpudec->active, TRUE); return ret; /* Errors */ error_new_pool: { GST_ERROR_OBJECT (vpudec, "Unable to construct a new buffer pool"); return FALSE; } } static GstFlowReturn gst_vpudec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame) { GstVpuDec *vpudec = GST_VPUDEC (decoder); GstBufferPool *pool = NULL; GstMapInfo mapinfo = { 0, }; GstFlowReturn ret = GST_FLOW_OK; VpuCodecContext_t *vpu_codec_ctx; VideoPacket_t access_unit; GST_DEBUG_OBJECT (vpudec, "Handling frame %d", frame->system_frame_number); if (!g_atomic_int_get (&vpudec->active)) { if (!vpudec->input_state) goto not_negotiated; } if (!vpudec->pool) { if (!gst_vpudec_default_output_info (vpudec)) goto not_negotiated; } pool = GST_BUFFER_POOL (vpudec->pool); vpu_codec_ctx = vpudec->vpu_codec_ctx; if (!gst_buffer_pool_is_active (pool)) { GstBuffer *codec_data; GstStructure *config = gst_buffer_pool_get_config (pool); /* FIXME if you suffer from the reconstruction of buffer pool which slows * down the decoding, then don't allocate more than 10 buffers here */ gst_buffer_pool_config_set_params (config, vpudec->output_state->caps, vpudec->info.size, 22, 22); if (!gst_buffer_pool_set_config (pool, config)) goto error_activate_pool; /* activate the pool: the buffers are allocated */ if (gst_buffer_pool_set_active (vpudec->pool, TRUE) == FALSE) goto error_activate_pool; codec_data = vpudec->input_state->codec_data; if (codec_data) { gst_buffer_ref (codec_data); } else { codec_data = frame->input_buffer; frame->input_buffer = NULL; } memset (&access_unit, 0, sizeof (VideoPacket_t)); gst_buffer_map (codec_data, &mapinfo, GST_MAP_READ); access_unit.data = mapinfo.data; access_unit.size = mapinfo.size; access_unit.nFlags = VPU_API_DEC_INPUT_SYNC; gst_buffer_unmap (codec_data, &mapinfo); GST_VIDEO_DECODER_STREAM_UNLOCK (decoder); if (vpu_codec_ctx->decode_sendstream (vpu_codec_ctx, &access_unit) != 0) goto send_stream_error; GST_VIDEO_DECODER_STREAM_LOCK (decoder); gst_buffer_unref (codec_data); } /* Start the output thread if it is not started before */ if (g_atomic_int_get (&vpudec->processing) == FALSE) { /* It's possible that the processing thread stopped due to an error */ if (vpudec->output_flow != GST_FLOW_OK && vpudec->output_flow != GST_FLOW_FLUSHING) { GST_DEBUG_OBJECT (vpudec, "Processing loop stopped with error, leaving"); ret = vpudec->output_flow; goto drop; } GST_DEBUG_OBJECT (vpudec, "Starting decoding thread"); g_atomic_int_set (&vpudec->processing, TRUE); if (!gst_pad_start_task (decoder->srcpad, (GstTaskFunction) gst_vpudec_dec_loop, vpudec, (GDestroyNotify) gst_vpudec_dec_loop_stopped)) goto start_task_failed; } if (frame->input_buffer) { /* send access unit to VPU */ vpu_codec_ctx = vpudec->vpu_codec_ctx; memset (&access_unit, 0, sizeof (VideoPacket_t)); gst_buffer_map (frame->input_buffer, &mapinfo, GST_MAP_READ); access_unit.data = mapinfo.data; access_unit.size = mapinfo.size; access_unit.nFlags = VPU_API_DEC_INPUT_SYNC; gst_buffer_unmap (frame->input_buffer, &mapinfo); /* Unlock decoder before decode_sendstream call: * decode_sendstream must block till frames * recycled, so decode_task must execute lock free.. */ GST_VIDEO_DECODER_STREAM_UNLOCK (decoder); if (vpu_codec_ctx->decode_sendstream (vpu_codec_ctx, &access_unit) != 0) goto send_stream_error; GST_VIDEO_DECODER_STREAM_LOCK (decoder); /* No need to keep input arround */ gst_buffer_replace (&frame->input_buffer, NULL); } gst_video_codec_frame_unref (frame); return ret; /* ERRORS */ error_activate_pool: { GST_ERROR_OBJECT (vpudec, "Unable to activate the pool"); ret = GST_FLOW_ERROR; goto drop; } start_task_failed: { GST_ELEMENT_ERROR (vpudec, RESOURCE, FAILED, ("Failed to start decoding thread."), (NULL)); g_atomic_int_set (&vpudec->processing, FALSE); ret = GST_FLOW_ERROR; goto drop; } not_negotiated: { GST_ERROR_OBJECT (vpudec, "not negotiated"); gst_video_decoder_drop_frame (decoder, frame); return GST_FLOW_NOT_NEGOTIATED; } send_stream_error: { GST_ERROR_OBJECT (vpudec, "send packet failed"); return GST_FLOW_ERROR; } drop: { gst_video_decoder_drop_frame (decoder, frame); return ret; } } static gboolean gst_vpudec_flush (GstVideoDecoder * decoder) { GstVpuDec *vpudec = GST_VPUDEC (decoder); VpuCodecContext_t *vpu_codec_ctx; /* Ensure the processing thread has stopped for the reverse playback * discount case */ if (g_atomic_int_get (&vpudec->processing)) { GST_VIDEO_DECODER_STREAM_UNLOCK (decoder); gst_pad_stop_task (decoder->srcpad); GST_VIDEO_DECODER_STREAM_LOCK (decoder); } vpudec->output_flow = GST_FLOW_OK; vpu_codec_ctx = vpudec->vpu_codec_ctx; return !vpu_codec_ctx->flush (vpu_codec_ctx); } static GstStateChangeReturn gst_vpudec_change_state (GstElement * element, GstStateChange transition) { GstVpuDec *self = GST_VPUDEC (element); GstVideoDecoder *decoder = GST_VIDEO_DECODER (element); if (transition == GST_STATE_CHANGE_PAUSED_TO_READY) { g_atomic_int_set (&self->active, FALSE); gst_vpudec_sendeos (self); gst_pad_stop_task (decoder->srcpad); } return GST_ELEMENT_CLASS (parent_class)->change_state (element, transition); } static void gst_vpudec_class_init (GstVpuDecClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); GstVideoDecoderClass *video_decoder_class = GST_VIDEO_DECODER_CLASS (klass); GObjectClass *gobject_class = G_OBJECT_CLASS (klass); gobject_class->finalize = gst_vpudec_finalize; gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_vpudec_src_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_vpudec_sink_template)); video_decoder_class->start = GST_DEBUG_FUNCPTR (gst_vpudec_start); video_decoder_class->stop = GST_DEBUG_FUNCPTR (gst_vpudec_stop); video_decoder_class->set_format = GST_DEBUG_FUNCPTR (gst_vpudec_set_format); video_decoder_class->handle_frame = GST_DEBUG_FUNCPTR (gst_vpudec_handle_frame); video_decoder_class->flush = GST_DEBUG_FUNCPTR (gst_vpudec_flush); element_class->change_state = GST_DEBUG_FUNCPTR (gst_vpudec_change_state); GST_DEBUG_CATEGORY_INIT (gst_vpudec_debug, "vpudec", 0, "vpu video decoder"); gst_element_class_set_static_metadata (element_class, "Rockchip's VPU video decoder", "Decoder/Video", "Multicodec (MPEG-2/4 / AVC / VP8 / HEVC) hardware decoder", "Sudip Jain <sudip.jain@@intel.com>, " "Jun Zhao <jung.zhao@rock-chips.com>, " "Herman Chen <herman.chen@rock-chips.com>, " "Randy Li <randy.li@rock-chips.com>"); } /* Init the vpudec structure */ static void gst_vpudec_init (GstVpuDec * vpudec) { GstVideoDecoder *decoder = (GstVideoDecoder *) vpudec; gst_video_decoder_set_packetized (decoder, TRUE); vpudec->vpu_codec_ctx = NULL; vpudec->active = FALSE; vpudec->input_state = NULL; vpudec->output_state = NULL; }
28.30112
105
0.708913
[ "object" ]
e9c709442f0840ebbbe3c8437d6bd7bb37751a05
1,765
h
C
src/plugins/legacy/medN4BiasCorrection/medN4BiasCorrectionToolBox.h
dmargery/medInria-public
c232dbdf9353e14ec6e5184349ef1e523def0b76
[ "BSD-4-Clause" ]
61
2015-04-14T13:00:50.000Z
2022-03-09T22:22:18.000Z
src/plugins/legacy/medN4BiasCorrection/medN4BiasCorrectionToolBox.h
dmargery/medInria-public
c232dbdf9353e14ec6e5184349ef1e523def0b76
[ "BSD-4-Clause" ]
510
2016-02-03T13:28:18.000Z
2022-03-23T10:23:44.000Z
src/plugins/legacy/medN4BiasCorrection/medN4BiasCorrectionToolBox.h
mathildemerle/medInria-public
e8c517ef6263c1d98a62b79ca7aad30a21b61094
[ "BSD-4-Clause", "BSD-1-Clause" ]
36
2015-03-03T22:58:19.000Z
2021-12-28T18:19:23.000Z
#pragma once /*========================================================================= medInria Copyright (c) INRIA 2013 - 2020. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =========================================================================*/ #include <medAbstractSelectableToolBox.h> class medN4BiasCorrectionToolBoxPrivate; /*! \brief Toolbox to apply a N4 bias field correction algorithm to a volume. * * This toolbox has several named widgets which can be accessed in python pipelines:\n\n * "runButton" : QPushButton\n * "splineDistanceLayout" : QHBoxLayout\n * "widthLayout" : QHBoxLayout\n * "nbOfIterationsLayout" : QHBoxLayout\n * "convThresholdLayout" : QHBoxLayout\n * "bsplineOrderLayout" : QHBoxLayout\n * "shrinkFactorLayout" : QHBoxLayout\n * "nbHistogramBinsLayout" : QHBoxLayout\n * "wienerNoiseLayout" : QHBoxLayout\n * "saveBiasLayout" : QHBoxLayout */ class medN4BiasCorrectionToolBox : public medAbstractSelectableToolBox { Q_OBJECT MED_TOOLBOX_INTERFACE("N4 Bias Correction", "Apply the N4 bias field correction algorithm.", <<"Filtering") public: medN4BiasCorrectionToolBox(QWidget *parent = nullptr); ~medN4BiasCorrectionToolBox(); medAbstractData *processOutput(); static bool registered(); dtkPlugin * plugin(); std::vector<int> extractValue(QString text); public slots: void update(medAbstractData*){} signals: void success(); void failure(); public slots: void run(); private: medN4BiasCorrectionToolBoxPrivate *d; };
28.015873
88
0.649292
[ "vector" ]
e9c947859bd13387af488aeed509eb3461d43337
8,214
h
C
inetcore/outlookexpress/mailnews/common/outbar.h
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/outlookexpress/mailnews/common/outbar.h
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/outlookexpress/mailnews/common/outbar.h
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
///////////////////////////////////////////////////////////////////////////// // Copyright (C) 1993-1998 Microsoft Corporation. All Rights Reserved. // // MODULE: outbar.h // // PURPOSE: Defines the class that implements the Outlook Bar // #pragma once interface IAthenaBrowser; interface INotify; typedef struct tagFOLDERNOTIFY FOLDERNOTIFY; class CDropTarget; ///////////////////////////////////////////////////////////////////////////// // // Types // #define OUTLOOK_BAR_VERSION 0x0001 #define OUTLOOK_BAR_NEWSONLY_VERSION 0X0001 typedef struct tagBAR_PERSIST_INFO { DWORD dwVersion; DWORD cxWidth; BOOL fSmall; DWORD cItems; FILETIME ftSaved; FOLDERID rgFolders[1]; } BAR_PERSIST_INFO; HRESULT OutlookBar_AddShortcut(FOLDERID idFolder); ///////////////////////////////////////////////////////////////////////////// // class COutBar // class COutBar : public IDockingWindow, public IObjectWithSite, public IOleCommandTarget, public IDropTarget, public IDropSource, public IDatabaseNotify { public: ///////////////////////////////////////////////////////////////////////// // Construction and Initialization // COutBar(); ~COutBar(); HRESULT HrInit(LPSHELLFOLDER psf, IAthenaBrowser *psb); ///////////////////////////////////////////////////////////////////////// // IUnknown // STDMETHODIMP QueryInterface(REFIID riid, LPVOID * ppvObj); STDMETHODIMP_(ULONG) AddRef(void); STDMETHODIMP_(ULONG) Release(void); ///////////////////////////////////////////////////////////////////////// // IOleWindow // STDMETHODIMP GetWindow(HWND * lphwnd); STDMETHODIMP ContextSensitiveHelp(BOOL fEnterMode); ///////////////////////////////////////////////////////////////////////// // IDockingWindow // STDMETHODIMP ShowDW(BOOL fShow); STDMETHODIMP CloseDW(DWORD dwReserved); STDMETHODIMP ResizeBorderDW(LPCRECT prcBorder, IUnknown* punkToolbarSite, BOOL fReserved); ///////////////////////////////////////////////////////////////////////// // IObjectWithSite // STDMETHODIMP SetSite(IUnknown* punkSite); STDMETHODIMP GetSite(REFIID riid, LPVOID * ppvSite); ///////////////////////////////////////////////////////////////////////// // IOleCommandTarget // STDMETHODIMP QueryStatus(const GUID *pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[], OLECMDTEXT *pCmdText); STDMETHODIMP Exec(const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdExecOpt, VARIANTARG *pvaIn, VARIANTARG *pvaOut); ///////////////////////////////////////////////////////////////////////// // IDropTarget // STDMETHODIMP DragEnter(IDataObject* pDataObject, DWORD grfKeyState, POINTL pt, DWORD* pdwEffect); STDMETHODIMP DragOver(DWORD grfKeyState, POINTL pt, DWORD* pdwEffect); STDMETHODIMP DragLeave(void); STDMETHODIMP Drop(IDataObject* pDataObject, DWORD grfKeyState, POINTL pt, DWORD* pdwEffect); ///////////////////////////////////////////////////////////////////////// // IDropSource // STDMETHODIMP QueryContinueDrag(BOOL fEscapePressed, DWORD grfKeyState); STDMETHODIMP GiveFeedback(DWORD dwEffect); ///////////////////////////////////////////////////////////////////////// // IDatabaseNotify // STDMETHODIMP OnTransaction(HTRANSACTION hTransaction, DWORD_PTR dwCookie, IDatabase *pDB); //News only mode static LPCTSTR GetRegKey(); static DWORD GetOutlookBarVersion(); ///////////////////////////////////////////////////////////////////////// // Window Procedure Goo // protected: static LRESULT CALLBACK OutBarWndProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp); static LRESULT CALLBACK ExtFrameWndProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp); LRESULT WndProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp); LRESULT FrameWndProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp); // Main window Handlers void OnDestroy(HWND hwnd); void OnLButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags); void OnMouseMove(HWND hwnd, int x, int y, UINT keyFlags); void OnLButtonUp(HWND hwnd, int x, int y, UINT keyFlags); // Frame Window void Frame_OnNCDestroy(HWND hwnd); void Frame_OnSize(HWND hwnd, UINT state, int cx, int cy); void Frame_OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify); LRESULT Frame_OnNotify(HWND hwnd, int idFrom, NMHDR *pnmhdr); ///////////////////////////////////////////////////////////////////////// // Utility Functions // HRESULT _CreateToolbar(); void _FillToolbar(); void _EmptyToolbar(BOOL fDelete); BOOL _FindButton(int *piBtn, LPITEMIDLIST pidl); BOOL _InsertButton(int iBtn, FOLDERINFO *pInfo); BOOL _InsertButton(int iBtn, FOLDERID id); BOOL _DeleteButton(int iBtn); BOOL _UpdateButton(int iBtn, LPITEMIDLIST pidl); void _OnFolderNotify(FOLDERNOTIFY *pnotify); void _OnContextMenu(int x, int y); HRESULT _CreateDefaultButtons(void); HRESULT _LoadSettings(void); HRESULT _SaveSettings(void); BOOL _SetButtonStyle(BOOL fSmall); HRESULT _AddShortcut(IDataObject *pObject); void _UpdateDragDropHilite(LPPOINT ppt); int _GetItemFromPoint(POINT pt); FOLDERID _FolderIdFromCmd(int idCmd); BOOL _IsTempNewsgroup(IDataObject *pDataObject); ///////////////////////////////////////////////////////////////////////// // Member Variables // protected: ULONG m_cRef; // Reference Count // Groovy window handles HWND m_hwndParent; // Parent window handle HWND m_hwnd; // Main window handle HWND m_hwndFrame; // Inner window handle HWND m_hwndPager; // Pager window handle HWND m_hwndTools; // Toolbar window handle // Lovely interface pointers IAthenaBrowser *m_pBrowser; // Browser pointer IDockingWindowSite *m_ptbSite; // Site pointer INotify *m_pStNotify; // Notification interface INotify *m_pOutBarNotify; // Outlook Bar notification interface // State BOOL m_fShow; // TRUE if we're visible BOOL m_fLarge; // TRUE if we're showing large icons BOOL m_fResizing; // TRUE if we're in the process of resizing int m_idCommand; // Number of buttons on the button bar int m_idSel; // ID of the item that is selected when a context menu is visible. int m_cxWidth; // Width of our window BOOL m_fOnce; // TRUE until we call _LoadSettings the first time // Images HIMAGELIST m_himlLarge; // Large folder image list HIMAGELIST m_himlSmall; // Small folder image list // Drag Drop Stuff IDataObject *m_pDataObject; // What's being dragged over us DWORD m_grfKeyState; // Keyboard state last time we checked DWORD m_dwEffectCur; // Current drop effect DWORD m_idCur; // Currently selected button CDropTarget *m_pTargetCur; // Current drop target pointer DWORD m_idDropHilite; // Currently selected drop area TBINSERTMARK m_tbim; BOOL m_fInsertMark; // TRUE if we've drawn an insertion mark BOOL m_fDropShortcut; // TRUE if the data object over us contains CF_OEFOLDER };
38.92891
111
0.52447
[ "object" ]
e9cae9119ebddb8f6e7c39538d0a53007ba29f94
1,535
h
C
src/poly/schedule_pass/sink_c0.h
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
286
2020-06-23T06:40:44.000Z
2022-03-30T01:27:49.000Z
src/poly/schedule_pass/sink_c0.h
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
10
2020-07-31T03:26:59.000Z
2021-12-27T15:00:54.000Z
src/poly/schedule_pass/sink_c0.h
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
30
2020-07-17T01:04:14.000Z
2021-12-27T14:05:19.000Z
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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. */ #ifndef POLY_SINK_C0_H_ #define POLY_SINK_C0_H_ #include "poly/schedule_pass.h" namespace akg { namespace ir { namespace poly { /* * For each band node in schedule tree, get multi_union_pw_aff from the current band node. Then, move the last axis C0 * schedule to the end of this multi_union_pw_aff and add the updated multi_union_pw_aff to the current band node. */ class SinkC0 : public SchedulePass { public: SinkC0() { pass_name_ = __FUNCTION__; } ~SinkC0() {} virtual isl::schedule Run(isl::schedule sch); private: bool FindC0Schedule(const isl::pw_aff_list &paList); void ExchangeCoincident(std::vector<int> &coincident, const isl::schedule_node &node, const std::unordered_map<int, bool> lastIdxSchedule, const int &n); isl::schedule_node SinkC0Schedule(isl::schedule_node &node); }; } // namespace poly } // namespace ir } // namespace akg #endif // POLY_SINK_C0_H_
32.659574
118
0.731596
[ "vector" ]
e9cb006be7fe05bdb93b6c25764e2745253deb9a
1,530
h
C
Player.h
Magneseus/Heli
c0da0ff9c1c3bd27e9bf1150134b50de0a24949a
[ "MIT" ]
null
null
null
Player.h
Magneseus/Heli
c0da0ff9c1c3bd27e9bf1150134b50de0a24949a
[ "MIT" ]
null
null
null
Player.h
Magneseus/Heli
c0da0ff9c1c3bd27e9bf1150134b50de0a24949a
[ "MIT" ]
null
null
null
#pragma once #define _PI 3.14159 #include "GameEntity.h" #include "OGRE/OgreMath.h" #include "OIS/OIS.h" class Player : public GameEntity { public: Player(Ogre::SceneManager*, Ogre::SceneNode*); ~Player(); void update(Ogre::Real& deltaTime); void fireLaser(const Ogre::Real& deltaTime); virtual void onCollide(GameEntity* otherEnt, Ogre::String tag); Ogre::MovableObject* otherMovEnt; Ogre::Vector3 aimLocation; std::vector<GameEntity*> *otherEntities; Ogre::SceneNode* getFPCameraNode(); Ogre::SceneNode* getTPCameraNode(); // Movement instructions int YawDir; int PitchDir; int RollDir; int LiftDir; // Health int hp; private: // Movement vectors Ogre::Vector3 velocity; Ogre::Real acceleration; Ogre::Real rotAcceleration; Ogre::Quaternion orientationQ; // Movement binding values Ogre::Radian maxPitch = Ogre::Radian(Ogre::Real(_PI / 8.0)); Ogre::Radian minPitch = Ogre::Radian(Ogre::Real(-_PI / 4.0)); Ogre::Radian maxRoll = Ogre::Radian(Ogre::Real(_PI / 2.1)); Ogre::Radian minRoll = Ogre::Radian(Ogre::Real(-_PI / 2.1)); Ogre::Real maxLift = Ogre::Real(10.0); Ogre::Real minLift = Ogre::Real(-10.0); // Scene nodes for sub-objects Ogre::SceneNode* FPcameraNode; Ogre::SceneNode* TPcameraNode; enum CameraMode { FirstPerson, ThirdPerson, COUNT }; // This is bad design CameraMode curCamMode; Ogre::SceneNode* mainRotor; Ogre::SceneNode* rearRotor; Ogre::SceneNode* minigunNode; Ogre::Real minigunRotation; };
24.285714
76
0.691503
[ "vector" ]
e9ccf62c6e010b2407c506ff7dbd27c1aaaf04c6
7,215
h
C
tensorflow/compiler/xla/service/call_graph.h
zhaojunz/tensorflow
d1415bdc03fcdb090752ab0c91ee529dc09eb4ee
[ "Apache-2.0" ]
2
2021-01-25T05:47:28.000Z
2021-01-25T05:47:30.000Z
tensorflow/compiler/xla/service/call_graph.h
zhaojunz/tensorflow
d1415bdc03fcdb090752ab0c91ee529dc09eb4ee
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xla/service/call_graph.h
zhaojunz/tensorflow
d1415bdc03fcdb090752ab0c91ee529dc09eb4ee
[ "Apache-2.0" ]
1
2018-02-01T09:02:28.000Z
2018-02-01T09:02:28.000Z
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. 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. ==============================================================================*/ // Call graph for an HLO module. #ifndef TENSORFLOW_COMPILER_XLA_SERVICE_HLO_CALL_GRAPH_H_ #define TENSORFLOW_COMPILER_XLA_SERVICE_HLO_CALL_GRAPH_H_ #include <ostream> #include "tensorflow/compiler/xla/service/hlo_computation.h" #include "tensorflow/compiler/xla/service/hlo_instruction.h" #include "tensorflow/compiler/xla/service/hlo_module.h" #include "tensorflow/compiler/xla/statusor.h" namespace xla { // The context in which a computation is called by another computation. enum class CallContext { // In a parallel contex the computation is applied to each element of the // array argument(s). kMap and kReduce instructions call computations in // parallel context. kParallel, // In a sequential context the computation is applied to the entire argument // shape(s). kCall and kWhile (body and condition) call computations in // sequential context. kSequential, // A computation is called from both a parallel and sequential context. kBoth, // During call graph construction kNone is used to indicate that the context // has not been determined. This is the top value for the context // lattice. After construction, no call sites or call graph nodes should have // this value. kNone }; string CallContextToString(CallContext context); std::ostream& operator<<(std::ostream& out, const CallContext& context); // Represents an instruction calling a particular computation in an HLO // module. Some instructions such as kWhile can call more than one computation // and may be represented with more than one CallSite, one for each computation // called. struct CallSite { // The calling instruction. HloInstruction* instruction; // The computation the instruction is calling. HloComputation* called_computation; // The context in which the computation is called. CallContext context; string ToString() const; }; // A node in the call graph representing an HLO computation. class CallGraphNode { public: CallGraphNode(HloComputation* computation); // Return the computation represented by this call graph node. HloComputation* computation() const { return computation_; } // Return the call sites in this computation. These are the instructions in // this computation which call other computations. const std::vector<CallSite>& callsites() const { return callsites_; } // Return the computations called by this computation. const std::vector<HloComputation*>& callees() const { return callees_; } // Return the call sites in other computations which call this computation. const std::vector<CallSite>& caller_callsites() const { return caller_callsites_; } // Return the computations which call this computation. const std::vector<HloComputation*>& callers() const { return callers_; } // Return or set the context in which this computation is called. CallContext context() const { return context_; } void set_context(CallContext value) { context_ = value; } // Add a callsite which calls this computation. Updates callers to include the // calling computation. void AddCallerCallSite(const CallSite& caller_callsite); // Add a call site to this computation. Updates callees to include the called // computation. void AddCallSite(const CallSite& callsite); // Add all the call sites (if any) for this instruction. Instruction must be // an instruction in this node's computation. void AddCallSitesInInstruction(HloInstruction* instruction); string ToString() const; private: // Computation represented by this call graph node. HloComputation* computation_; // The computations called by this computation. The vector is used for a // stable ordering and the set enables fast membership testing. std::vector<HloComputation*> callees_; std::unordered_set<HloComputation*> callee_set_; // The computations which call this computation. The vector is used for a // stable ordering and the set enables fast membership testing. std::vector<HloComputation*> callers_; std::unordered_set<HloComputation*> caller_set_; // The call sites in this computation std::vector<CallSite> callsites_; // The call sites in other computations which call this computation. std::vector<CallSite> caller_callsites_; // The context in which this computation is called. CallContext context_ = CallContext::kNone; }; // The call graph for an HLO module. The graph includes a node for each // computation in the module. class CallGraph { public: using VisitorFunction = std::function<Status(const CallGraphNode&)>; // Build and return a call graph for the given HLO module. static StatusOr<std::unique_ptr<CallGraph>> Build(const HloModule* module); // Public default constructor required for StatusOr<CallGraph>. CallGraph() = default; // Return the node associated with the given computation. StatusOr<const CallGraphNode*> GetNode( const HloComputation* computation) const; StatusOr<CallGraphNode*> GetNode(const HloComputation* computation); // Return the vector of all nodes in the call graph. const std::vector<CallGraphNode>& nodes() const { return nodes_; } // Call the given function on each node in the call graph. Nodes are visited // in post order (callees before callers). If visit_unreachable_nodes is true // then all nodes in the call graph are visited. Otherwise only those nodes // reachable from the entry computation are visited. Status VisitNodes(const VisitorFunction& visitor_func, bool visit_unreachable_nodes = true) const; string ToString() const; private: CallGraph(const HloModule* module); // Sets the call contexts for every node in the graph. Status SetCallContexts(); // Helper method for VisitNodes(). Traverses the call graph from 'node' in DFS // post order (callee before caller) calling visitor_func on each node. Adds // nodes to 'visited' as each node is visited. Skips nodes already in // 'visited'. Status VisitNodesInternal( const VisitorFunction& visitor_func, const CallGraphNode* node, std::unordered_set<const CallGraphNode*>* visited) const; // The HLO module represented by this call graph. const HloModule* module_ = nullptr; // Vector of all nodes in the call graph. std::vector<CallGraphNode> nodes_; // Map from HLO computation to the index of the corresponding call graph node // in nodes_. std::unordered_map<const HloComputation*, int64> node_indices_; }; } // namespace xla #endif // TENSORFLOW_COMPILER_XLA_SERVICE_HLO_CALL_GRAPH_H_
37.190722
80
0.749827
[ "shape", "vector" ]
e9d7b607bde02677cf32f34097a007dcc41a4e56
3,323
h
C
_FRAMEWORK/source/framework/EliteMath/EMat22.h
PaulineVandenHeede/NavigationMeshGeneration
efb1fad3f89d1bd671e3de992bcb3a51d1f6ed1f
[ "MIT" ]
null
null
null
_FRAMEWORK/source/framework/EliteMath/EMat22.h
PaulineVandenHeede/NavigationMeshGeneration
efb1fad3f89d1bd671e3de992bcb3a51d1f6ed1f
[ "MIT" ]
1
2022-01-17T08:56:12.000Z
2022-01-17T09:22:23.000Z
_FRAMEWORK/source/framework/EliteMath/EMat22.h
PaulineVandenHeede/NavigationMeshGeneration
efb1fad3f89d1bd671e3de992bcb3a51d1f6ed1f
[ "MIT" ]
null
null
null
/*=============================================================================*/ // Copyright 2021-2022 Elite Engine // Authors: Matthieu Delaere /*=============================================================================*/ // EMat22.h: Row Major Matrix 2x2 struct // | x1 , y1 | // | x2 , y2 | // Info: Row Major Matrix for cache coherency, even though this is a small piece of data, // it is a good practice. /*=============================================================================*/ #ifndef ELITE_MATH_MATRIX22 #define ELITE_MATH_MATRIX22 namespace Elite { #define IdentityMat22 Mat22(); //Matrix 2x2 struct Mat22 { //=== Datamembers === Vector2 r[2] = { {1.f,0.f},{0.f, 1.f} }; //=== Constructors === Mat22() {}; Mat22(float x1, float y1, float x2, float y2) { r[0] = Vector2(x1, y1); r[1] = Vector2(x2, y2); }; Mat22(const Vector2& r1, const Vector2& r2) { r[0] = r1; r[1] = r2; }; //=== Matrix Conversions Functions === #ifdef USE_BOX2D //From row-major to column-major Mat22& operator=(const b2Mat22& m) { r[0][0] = m.ex.x; r[0][1] = m.ex.y; r[1][0] = m.ey.x; r[1][1] = m.ey.y; return *this; } operator b2Mat22() const { return b2Mat22(r[0][0], r[1][0], r[0][1], r[1][1]); } #endif //=== Arithmetic Operators === inline auto operator+(const Mat22& m) const { return Mat22(r[0] + m.r[0], r[1] + m.r[1]); } inline auto operator-(const Mat22& m) const { return Mat22(r[0] - m.r[0], r[1] - m.r[1]); } inline auto operator*(float scale) const { return Mat22(r[0] * scale, r[1] * scale); } inline auto operator*(const Mat22& m) const { //The rows of the first matrix are multiplied by the columns of the second one Mat22 res = {}; for(auto row = 0; row < 2; ++row) { for(auto col = 0; col < 2; ++col) { res.r[row][col] = r[row][0] * m.r[0][col] + r[row][1] * m.r[1][col]; } } return res; } inline auto operator*(const Vector2& v) const { //Same principle as mat22 * mat22, but with a "column" Vector2... return Vector2( r[0][0] * v.x + r[0][1] * v.y, r[1][0] * v.x + r[1][1] * v.y); } //=== Compound Assignment Operators === inline auto& operator+=(const Mat22& m) { r[0] += m.r[0]; r[1] += m.r[1]; return *this; } inline auto& operator-=(const Mat22& m) { r[0] -= m.r[0]; r[1] -= m.r[1]; return *this; } inline auto& operator*=(float scale) { r[0] *= scale; r[1] *= scale; return *this; } inline auto& operator*=(const Mat22& m) { auto result = *this * m; return *this = result; } //=== Internal Vector Functions === void SetIdentity() { r[0] = Vector2( 1.f, 0.f); r[1] = Vector2(0.f, 1.f); } auto Determinant() const //Formula: x1*y2 - y1*x2 { return r[0][0] * r[1][1] - r[0][1] * r[1][0]; } auto Inverse() const { auto det = Determinant(); if (AreEqual(det, 0.f)) //We cannot get inverse because determinant is zero, return identity matrix instead return IdentityMat22; det = 1.f / det; auto m00 = det * r[1][1], m01 = det * (-r[0][1]); auto m10 = det * (-r[1][0]), m11 = det * r[0][0]; return Mat22(m00, m01, m10, m11); } }; //=== Global Matrix Functions === inline auto GetDeterminant(const Mat22& m) { return m.Determinant(); } inline auto GetInverse(const Mat22& m) { return m.Inverse(); } } #endif
29.936937
110
0.535059
[ "vector" ]
e9ddc686033a003b898fe3f529f6f58875c2c026
1,364
h
C
(V2)CANFestival-ZXZ-CAN-Final[hardfault handler]/CanFestival/driver/TestMaster.h
ZXZCNPOWER/STM32F103-CANBus-
95d5b43990591d2aa049cea388ee89b2ac319235
[ "Unlicense" ]
null
null
null
(V2)CANFestival-ZXZ-CAN-Final[hardfault handler]/CanFestival/driver/TestMaster.h
ZXZCNPOWER/STM32F103-CANBus-
95d5b43990591d2aa049cea388ee89b2ac319235
[ "Unlicense" ]
null
null
null
(V2)CANFestival-ZXZ-CAN-Final[hardfault handler]/CanFestival/driver/TestMaster.h
ZXZCNPOWER/STM32F103-CANBus-
95d5b43990591d2aa049cea388ee89b2ac319235
[ "Unlicense" ]
1
2019-11-10T15:18:24.000Z
2019-11-10T15:18:24.000Z
/* File generated by gen_cfile.py. Should not be modified. */ #ifndef TESTMASTER_H #define TESTMASTER_H #include "data.h" /* Prototypes of function provided by object dictionnary */ UNS32 TestMaster_valueRangeTest (UNS8 typeValue, void * value); const indextable * TestMaster_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks); /* Master node data struct */ extern CO_Data TestMaster_Data; extern UNS32 MasterMap1; /* Mapped at index 0x2000, subindex 0x00*/ extern UNS32 MasterMap2; /* Mapped at index 0x2001, subindex 0x00*/ //extern UNS8 MasterMap3; /* Mapped at index 0x2002, subindex 0x00*/ //extern UNS8 MasterMap4; /* Mapped at index 0x2003, subindex 0x00*/ //extern UNS8 MasterMap5; /* Mapped at index 0x2004, subindex 0x00*/ //extern UNS8 MasterMap6; /* Mapped at index 0x2005, subindex 0x00*/ //extern UNS8 MasterMap7; /* Mapped at index 0x2006, subindex 0x00*/ //extern UNS8 MasterMap8; /* Mapped at index 0x2007, subindex 0x00*/ //extern UNS8 MasterMap9; /* Mapped at index 0x2008, subindex 0x00*/ //extern UNS32 MasterMap10; /* Mapped at index 0x2009, subindex 0x00*/ //extern UNS16 MasterMap11; /* Mapped at index 0x200A, subindex 0x00*/ //extern INTEGER16 MasterMap12; /* Mapped at index 0x200B, subindex 0x00*/ //extern INTEGER16 MasterMap13; /* Mapped at index 0x200C, subindex 0x00*/ #endif // TESTMASTER_H
45.466667
102
0.748534
[ "object" ]
e9e1626e7b7d22985141c1f0a4f6c36c85e42a23
5,910
h
C
oneEngine/oneGame/source/after/entities/menu/front/C_RMainMenu.h
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
8
2017-12-08T02:59:31.000Z
2022-02-02T04:30:03.000Z
oneEngine/oneGame/source/after/entities/menu/front/C_RMainMenu.h
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
2
2021-04-16T03:44:42.000Z
2021-08-30T06:48:44.000Z
oneEngine/oneGame/source/after/entities/menu/front/C_RMainMenu.h
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
1
2021-04-16T02:09:54.000Z
2021-04-16T02:09:54.000Z
// // -- C_RMainMenu -- // Class for the main menu // Manages camera angles, time of day in the background // CMainMenu is outclassed by this class. Not that CMainMenu ever worked in the first place. // #ifndef _C_R_MAIN_MENU_H_ #define _C_R_MAIN_MENU_H_ #include "core/types/types.h" #include "engine/behavior/CGameBehavior.h" #include "engine-common/dusk/CDuskGUI.h" #include "C_RCharacterCreator.h" #include "C_RMainMenuTitle.h" #include "after/interfaces/world/CWorldCartographer.h" class CCamera; class Daycycle; class Mooncycle; class CloudSphere; class CPlayerStats; class CRenderTarget; class CSprite; class COctreePauseloader; class CGameType; namespace NPC { class CNpcBase; } class C_RMainMenu : public CGameBehavior { ClassName( "C_RMainMenu" ); public: C_RMainMenu ( CGameType* ); ~C_RMainMenu ( void ); void Update ( void ); private: // Menu Object for bg (todo, move these to environment effects. Maybe. Or just pass them to the environment.) CCamera* pCamera; Daycycle* pDaycycle; Mooncycle* pMooncycle; CloudSphere* pCloudcycle; // Menu object for external stops COctreePauseloader* pPauseLoader; // Menu states enum eMenuState { M_load, M_intro, M_mainmenu, M_options, M_realmselect, M_blendtocharselect, M_charselect, M_blendtogameplay, M_blendtocharcreation, M_charcreation, M_blendtogameplaystart } iMenuState; // Menu lerp values ftype fTimer; Real fLerpValue; FORCE_INLINE void BlendWithSpeed ( const Real speed ); bool bSubstateBlend; /*ftype fTimeOfDay; ftype fSpaceEffect; Vector3d vCamPosPrev; Quaternion vCamRotPrev; Vector3d vCamPosNext; Quaternion vCamRotNext; ftype fCamFovPrev; ftype fCamFovNext; ftype fCameraLerp; ftype fTimeOfDayPrev; ftype fTimeOfDayNext; ftype fSpaceEffectPrev; ftype fSpaceEffectNext;*/ struct MenuEnvState { Real timeOfDay; Real spaceEffect; Vector3d cameraPos; Quaternion cameraRot; Real cameraRoll; Real cameraFoV; }; MenuEnvState stateCurrent; MenuEnvState stateTarget; MenuEnvState statePrevious; private: eMenuState stateLoad ( void ); eMenuState stateIntro ( void ); eMenuState stateMainMenu ( void ); eMenuState stateOptions ( void ); eMenuState stateRealmSelect ( void ); eMenuState stateCharSelect ( void ); eMenuState stateCharCreation ( void ); eMenuState stateBlendToCharSelect ( void ); eMenuState stateBlendToGameplay ( void ); eMenuState stateBlendToCharCreation ( void ); eMenuState stateBlendToGameplayNewChar ( void ); private: // Now, GUI elements typedef CDuskGUI::Handle Handle; // Pointer to GUI object CDuskGUI* gui; struct sMainMenuElements_t { C_RMainMenuTitle* title; Handle container; Handle btnrealm; Handle btnoptions; Handle btnquit; } tMainMenu; struct sOptionsMenuElements_t { Handle container; Handle btnback; // dropdown menu for the fullscreen resolution Handle lbl_fullscreen_choice; Handle ddl_fullscreen_choice; // label saying fullscreen enabled Handle lbl_fullscreen_info; // toggle for shadows Handle chk_shadow_enabled; // shadow resolution dropdown Handle ddl_shadow_resolution; } tOptions; struct sRealmSelectElements_t { static const int S_SELECT_REALM = 0; static const int S_CREATE_REALM = 1; int state; Handle container; Handle cont_selection; Handle lblheader; Handle btnback; Handle btnnewrealm; Handle btnselectrealm; Handle btndeleterealm; Handle btn_refresh; Handle slsListview; Handle lblinfo; Handle dlgdeleteconfirm; Handle cont_creation; Handle lbl_creation_header; Handle lbl_realmname; Handle fld_realmname; string cur_realmname; Handle lbl_seed; Handle fld_seed; string cur_seed; Handle btn_confirmnew; CRenderTexture* terra_rt; CSprite* terra_sprite; CWorldCartographer* cartographer; bool renderMap; CWorldCartographer::sRenderProgressState mapRenderState; Terrain::CWorldGenerator* generator; CModel* main_planetoid; std::vector<string> list_realms; int selection; void CreateRealmList ( void ); CDuskGUI* gui; // Needs the GUI } tRealmSelect; struct sCharacterSelectElements_t { Handle container; Handle btnback; Handle lblheader; Handle btnselectchar; Handle btnnewchar; Handle btndeletechar; Handle pghinfo; Handle dlgdeleteconfirm; //Handle* list_chars; //string* list_strs; Handle slsCharacterList; std::vector<string> list_chars; uint char_num; int selection; void CreateCharList ( void ); void FreeCharList ( void ); arstring<256> last_selected; CDuskGUI* gui; // Needs the GUI } tCharSelect; struct sNewCharacterElements_t { int state; Handle container; Handle btnback; //Handle dlg_soulname; Handle pgh_soulname; Handle fld_soulname; Handle btn_soulnamecontinue; string cur_soulname; /*Handle btncontinue; Handle fld_character_name; Handle lbl_race; Handle lbl_race_choice; Handle btn_race_left; Handle btn_race_right; eCharacterRace race; Handle lbl_gender; Handle lbl_gender_choice; Handle btn_gender_left; Handle btn_gender_right; Handle lbl_gametype; Handle lbl_gametype_choice; Handle btn_gametype_left; Handle btn_gametype_right;*/ } tCharCreation; CPlayerStats* pl_stats; C_RCharacterCreator* p_char_creator; CMccCharacterModel* p_model; struct sCharacterModelState_t { ftype glanceShiftTime; Vector3d glanceAngle; Vector3d glanceFinalAngle; Vector3d lookatCameraOffset; Vector3d lookatCameraFinalOffset; } tCharModel; CGameType* m_gametype; NPC::CNpcBase* m_playercharacter; arstring<128> m_environment; arstring<128> m_behavior; Vector3d_d m_next_spawnpoint; // Function to handle all these elements (this class is so massive T_T) void CreateGUIElements ( void ); // Sets the terrain placement position based on character stats void SetTerrainPlacementFromStats ( void ); }; #endif
20.102041
110
0.76379
[ "object", "vector" ]
e9e2f9a00cd626d01a06d3d995db32e9bf47a267
2,213
h
C
Descending Europa/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_T1963209857MethodDeclarations.h
screwylightbulb/europa
3dcc98369c8066cb2310143329535206751c8846
[ "MIT" ]
11
2016-07-22T19:58:09.000Z
2021-09-21T12:51:40.000Z
Descending Europa/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_T1963209857MethodDeclarations.h
screwylightbulb/europa
3dcc98369c8066cb2310143329535206751c8846
[ "MIT" ]
1
2018-05-07T14:32:13.000Z
2018-05-08T09:15:30.000Z
iOS/Classes/Native/mscorlib_System_Collections_Generic_Dictionary_2_T1963209857MethodDeclarations.h
mopsicus/unity-share-plugin-ios-android
3ee99aef36034a1e4d7b156172953f9b4dfa696f
[ "MIT" ]
null
null
null
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <assert.h> #include <exception> #include "codegen/il2cpp-codegen.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_T1643741485MethodDeclarations.h" // System.Void System.Collections.Generic.Dictionary`2/Transform`1<System.Int32,UnityEngine.EventSystems.PointerEventData,System.Collections.DictionaryEntry>::.ctor(System.Object,System.IntPtr) #define Transform_1__ctor_m2315780396(__this, ___object0, ___method1, method) (( void (*) (Transform_1_t1963209857 *, Il2CppObject *, IntPtr_t, const MethodInfo*))Transform_1__ctor_m3355330134_gshared)(__this, ___object0, ___method1, method) // TRet System.Collections.Generic.Dictionary`2/Transform`1<System.Int32,UnityEngine.EventSystems.PointerEventData,System.Collections.DictionaryEntry>::Invoke(TKey,TValue) #define Transform_1_Invoke_m1147354000(__this, ___key0, ___value1, method) (( DictionaryEntry_t1751606614 (*) (Transform_1_t1963209857 *, int32_t, PointerEventData_t1848751023 *, const MethodInfo*))Transform_1_Invoke_m4168400550_gshared)(__this, ___key0, ___value1, method) // System.IAsyncResult System.Collections.Generic.Dictionary`2/Transform`1<System.Int32,UnityEngine.EventSystems.PointerEventData,System.Collections.DictionaryEntry>::BeginInvoke(TKey,TValue,System.AsyncCallback,System.Object) #define Transform_1_BeginInvoke_m3050822639(__this, ___key0, ___value1, ___callback2, ___object3, method) (( Il2CppObject * (*) (Transform_1_t1963209857 *, int32_t, PointerEventData_t1848751023 *, AsyncCallback_t1369114871 *, Il2CppObject *, const MethodInfo*))Transform_1_BeginInvoke_m1630268421_gshared)(__this, ___key0, ___value1, ___callback2, ___object3, method) // TRet System.Collections.Generic.Dictionary`2/Transform`1<System.Int32,UnityEngine.EventSystems.PointerEventData,System.Collections.DictionaryEntry>::EndInvoke(System.IAsyncResult) #define Transform_1_EndInvoke_m2138147578(__this, ___result0, method) (( DictionaryEntry_t1751606614 (*) (Transform_1_t1963209857 *, Il2CppObject *, const MethodInfo*))Transform_1_EndInvoke_m3617873444_gshared)(__this, ___result0, method)
81.962963
368
0.831902
[ "object", "transform" ]
f5dc95bb47e971795b7c3b6186519f1093693973
4,384
c
C
ext/mvc/view/engine.c
stecman/cphalcon
33e85f551c253ddff58e594e2bace5c2e55f12ef
[ "BSD-3-Clause" ]
13
2015-01-10T23:34:25.000Z
2017-08-25T15:16:29.000Z
ext/mvc/view/engine.c
stecman/cphalcon
33e85f551c253ddff58e594e2bace5c2e55f12ef
[ "BSD-3-Clause" ]
1
2015-04-14T06:47:20.000Z
2015-10-02T04:07:34.000Z
ext/mvc/view/engine.c
stecman/cphalcon
33e85f551c253ddff58e594e2bace5c2e55f12ef
[ "BSD-3-Clause" ]
null
null
null
/* +------------------------------------------------------------------------+ | Phalcon Framework | +------------------------------------------------------------------------+ | Copyright (c) 2011-2014 Phalcon Team (http://www.phalconphp.com) | +------------------------------------------------------------------------+ | This source file is subject to the New BSD License that is bundled | | with this package in the file docs/LICENSE.txt. | | | | If you did not receive a copy of the license and are unable to | | obtain it through the world-wide-web, please send an email | | to license@phalconphp.com so we can send you a copy immediately. | +------------------------------------------------------------------------+ | Authors: Andres Gutierrez <andres@phalconphp.com> | | Eduar Carvajal <eduar@phalconphp.com> | +------------------------------------------------------------------------+ */ #include "mvc/view/engine.h" #include "mvc/view/engineinterface.h" #include "di/injectable.h" #include "kernel/main.h" #include "kernel/memory.h" #include "kernel/object.h" #include "kernel/fcall.h" /** * Phalcon\Mvc\View\Engine * * All the template engine adapters must inherit this class. This provides * basic interfacing between the engine and the Phalcon\Mvc\View component. */ zend_class_entry *phalcon_mvc_view_engine_ce; PHP_METHOD(Phalcon_Mvc_View_Engine, __construct); PHP_METHOD(Phalcon_Mvc_View_Engine, getContent); PHP_METHOD(Phalcon_Mvc_View_Engine, partial); PHP_METHOD(Phalcon_Mvc_View_Engine, getView); ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_engine___construct, 0, 0, 1) ZEND_ARG_INFO(0, view) ZEND_ARG_INFO(0, dependencyInjector) ZEND_END_ARG_INFO() static const zend_function_entry phalcon_mvc_view_engine_method_entry[] = { PHP_ME(Phalcon_Mvc_View_Engine, __construct, arginfo_phalcon_mvc_view_engine___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) PHP_ME(Phalcon_Mvc_View_Engine, getContent, NULL, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Mvc_View_Engine, partial, arginfo_phalcon_mvc_view_engineinterface_partial, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Mvc_View_Engine, getView, NULL, ZEND_ACC_PUBLIC) PHP_FE_END }; /** * Phalcon\Mvc\View\Engine initializer */ PHALCON_INIT_CLASS(Phalcon_Mvc_View_Engine){ PHALCON_REGISTER_CLASS_EX(Phalcon\\Mvc\\View, Engine, mvc_view_engine, phalcon_di_injectable_ce, phalcon_mvc_view_engine_method_entry, ZEND_ACC_EXPLICIT_ABSTRACT_CLASS); zend_declare_property_null(phalcon_mvc_view_engine_ce, SL("_view"), ZEND_ACC_PROTECTED TSRMLS_CC); zend_class_implements(phalcon_mvc_view_engine_ce TSRMLS_CC, 1, phalcon_mvc_view_engineinterface_ce); return SUCCESS; } /** * Phalcon\Mvc\View\Engine constructor * * @param Phalcon\Mvc\ViewInterface $view * @param Phalcon\DiInterface $dependencyInjector */ PHP_METHOD(Phalcon_Mvc_View_Engine, __construct){ zval *view, *dependency_injector = NULL; phalcon_fetch_params(0, 1, 1, &view, &dependency_injector); if (!dependency_injector) { dependency_injector = PHALCON_GLOBAL(z_null); } phalcon_update_property_this(this_ptr, SL("_view"), view TSRMLS_CC); phalcon_update_property_this(this_ptr, SL("_dependencyInjector"), dependency_injector TSRMLS_CC); } /** * Returns cached ouput on another view stage * * @return array */ PHP_METHOD(Phalcon_Mvc_View_Engine, getContent) { zval *view = phalcon_fetch_nproperty_this(this_ptr, SL("_view"), PH_NOISY TSRMLS_CC); PHALCON_RETURN_CALL_METHODW(view, "getcontent"); } /** * Renders a partial inside another view * * @param string $partialPath * @param array $params * @return string */ PHP_METHOD(Phalcon_Mvc_View_Engine, partial){ zval *partial_path, *params = NULL, *view; phalcon_fetch_params(0, 1, 1, &partial_path, &params); if (!params) { params = PHALCON_GLOBAL(z_null); } view = phalcon_fetch_nproperty_this(this_ptr, SL("_view"), PH_NOISY TSRMLS_CC); PHALCON_RETURN_CALL_METHODW(view, "partial", partial_path, params); } /** * Returns the view component related to the adapter * * @return Phalcon\Mvc\ViewInterface */ PHP_METHOD(Phalcon_Mvc_View_Engine, getView){ RETURN_MEMBER(this_ptr, "_view"); }
33.212121
170
0.669024
[ "object" ]
f5e7451dd8945995f90705f477701c277bdc2475
6,039
h
C
WalletKitCore/src/tezos/BRTezosTransaction.h
JingInTK/walletkit
41efcf8f2cee4b22152ed957b09220ac2f6cf847
[ "MIT" ]
null
null
null
WalletKitCore/src/tezos/BRTezosTransaction.h
JingInTK/walletkit
41efcf8f2cee4b22152ed957b09220ac2f6cf847
[ "MIT" ]
null
null
null
WalletKitCore/src/tezos/BRTezosTransaction.h
JingInTK/walletkit
41efcf8f2cee4b22152ed957b09220ac2f6cf847
[ "MIT" ]
null
null
null
// // BRTezosTransaction.h // WalletKitCore // // Created by Ehsan Rezaie on 2020-06-17. // Copyright © 2020 Breadwinner AG. All rights reserved. // // See the LICENSE file at the project root for license information. // See the CONTRIBUTORS file at the project root for a list of contributors. // #ifndef BRTezosTransaction_h #define BRTezosTransaction_h #include "support/BRInt.h" #include "support/BRKey.h" #include "BRTezosAccount.h" #include "BRTezosAddress.h" #include "BRTezosFeeBasis.h" #include "BRTezosBase.h" #ifdef __cplusplus extern "C" { #endif typedef struct BRTezosTransactionRecord *BRTezosTransaction; typedef struct BRTezosSerializedOperationRecord *BRTezosSerializedOperation; typedef struct BRTezosSignatureRecord *BRTezosSignature; typedef struct { BRTezosOperationKind kind; union { struct { BRTezosAddress target; BRTezosUnitMutez amount; } transaction; struct { BRTezosAddress target; } delegation; struct { uint8_t publicKey[TEZOS_PUBLIC_KEY_SIZE]; } reveal; } u; } BRTezosOperationData; /** * Create a new Tezos transaction for sending a transfer * * @param source - account sending (or that sent) the amount * @param target - account receiving the amount * @param amount - amount that was (or will be) transferred * @param feeBasis - * @param counter - * * @return transaction */ extern BRTezosTransaction /* caller owns memory and must call "tezosTransactionFree" function */ tezosTransactionCreateTransaction (BRTezosAddress source, BRTezosAddress target, BRTezosUnitMutez amount, BRTezosFeeBasis feeBasis, int64_t counter); /** * Create a new Tezos delegation operation * * @param source - account that is delegating its balance * @param target - baker address or self * @param amount - amount that was (or will be) transferred * @param feeBasis - * @param counter - * * @return transaction */ extern BRTezosTransaction tezosTransactionCreateDelegation (BRTezosAddress source, BRTezosAddress target, BRTezosFeeBasis feeBasis, int64_t counter); extern BRTezosTransaction tezosTransactionCreateReveal (BRTezosAddress source, uint8_t * pubKey, BRTezosFeeBasis feeBasis, int64_t counter); /** * Create a copy of a Tezos transaction. Caller must free with tezosTrasactionFree. * * @param transaction - the transaction to clone. * * @return transaction copy */ extern BRTezosTransaction tezosTransactionClone (BRTezosTransaction transaction); /** * Free (destroy) a Tezos transaction object * * @param transaction * * @return void */ extern void tezosTransactionFree (BRTezosTransaction transaction); /** * Serializes (forges) a Tezos operation with an empty signature and stores the bytes in the transaction. * If a reveal operation is required it will be prepended to the serialized operation list. * * @param transaction * @param account - the source account * @param lastBlockHash - hash of the network's most recent block, needed for serialization payload * * @return size - number of bytes in the serialization */ extern size_t tezosTransactionSerializeForFeeEstimation (BRTezosTransaction transaction, BRTezosAccount account, BRTezosHash lastBlockHash, bool needsReveal); /** * Serializes (forges) and signs a Tezos operation and stores the signed bytes in the transaction. * If a reveal operation is required it will be prepended to the serialized operation list. * * @param transaction * @param account - the source account * @param seed - seed for this account, used to create private key * @param lastBlockHash - hash of the network's most recent block, needed for serialization payload * * @return size - number of bytes in the signed transaction */ extern size_t tezosTransactionSerializeAndSign (BRTezosTransaction transaction, BRTezosAccount account, UInt512 seed, BRTezosHash lastBlockHash, bool needsReveal); /** * Get serialiezd bytes for the specified transaction * * @param transaction * @param size - pointer to variable to hold the size * * @return bytes - pointer to serialized bytes */ extern uint8_t * /* caller owns and must free using normal "free" function */ tezosTransactionGetSignedBytes (BRTezosTransaction transaction, size_t *size); extern BRTezosHash tezosTransactionGetHash(BRTezosTransaction transaction); extern int64_t tezosTransactionGetCounter(BRTezosTransaction transaction); extern BRTezosUnitMutez tezosTransactionGetFee(BRTezosTransaction transaction); extern BRTezosFeeBasis tezosTransactionGetFeeBasis(BRTezosTransaction transaction); extern void tezosTransactionSetFeeBasis(BRTezosTransaction transaction, BRTezosFeeBasis feeBasis); extern BRTezosUnitMutez tezosTransactionGetAmount(BRTezosTransaction transaction); extern BRTezosAddress tezosTransactionGetSource(BRTezosTransaction transaction); extern BRTezosAddress tezosTransactionGetTarget(BRTezosTransaction transaction); extern BRTezosOperationKind tezosTransactionGetOperationKind(BRTezosTransaction transaction); extern BRTezosOperationData tezosTransactionGetOperationData(BRTezosTransaction transaction); extern void tezosTransactionFreeOperationData(BRTezosOperationData opData); extern bool tezosTransactionEqual (BRTezosTransaction t1, BRTezosTransaction t2); #ifdef __cplusplus } #endif #endif // BRTezosTransaction_h
30.969231
104
0.693823
[ "object" ]
f5e74e02a8c48acb701dbe964284b3c6b96a8e1e
3,051
h
C
XNIM/Classes/NTalkerIMCore.framework/Headers/NSObject+NTalkerProperty.h
hwxue/XNIM
d0c529e351c5e55346d01a248feaa75828540155
[ "MIT" ]
null
null
null
XNIM/Classes/NTalkerIMCore.framework/Headers/NSObject+NTalkerProperty.h
hwxue/XNIM
d0c529e351c5e55346d01a248feaa75828540155
[ "MIT" ]
null
null
null
XNIM/Classes/NTalkerIMCore.framework/Headers/NSObject+NTalkerProperty.h
hwxue/XNIM
d0c529e351c5e55346d01a248feaa75828540155
[ "MIT" ]
null
null
null
// // NSObject+MJProperty.h // MJExtensionExample // // Created by MJ Lee on 15/4/17. // Copyright (c) 2015年 小码哥. All rights reserved. // #import <Foundation/Foundation.h> #import "NTalkerExtensionConst.h" @class NTalkerProperty; /** * 遍历成员变量用的block * * @param property 成员的包装对象 * @param stop YES代表停止遍历,NO代表继续遍历 */ typedef void (^NTalkerPropertiesEnumeration)(NTalkerProperty *property, BOOL *stop); /** 将属性名换为其他key去字典中取值 */ typedef NSDictionary * (^NTalkerReplacedKeyFromPropertyName)(); typedef id (^NTalkerReplacedKeyFromPropertyName121)(NSString *propertyName); /** 数组中需要转换的模型类 */ typedef NSDictionary * (^NTalkerObjectClassInArray)(); /** 用于过滤字典中的值 */ typedef id (^NTalkerNewValueFromOldValue)(id object, id oldValue, NTalkerProperty *property); /** * 成员属性相关的扩展 */ @interface NSObject (NTalkerProperty) #pragma mark - 遍历 /** * 遍历所有的成员 */ + (void)Ntalker_enumerateProperties:(NTalkerPropertiesEnumeration)enumeration; #pragma mark - 新值配置 /** * 用于过滤字典中的值 * * @param newValueFormOldValue 用于过滤字典中的值 */ + (void)Ntalker_setupNewValueFromOldValue:(NTalkerNewValueFromOldValue)newValueFormOldValue; + (id)Ntalker_getNewValueFromObject:(__unsafe_unretained id)object oldValue:(__unsafe_unretained id)oldValue property:(__unsafe_unretained NTalkerProperty *)property; #pragma mark - key配置 /** * 将属性名换为其他key去字典中取值 * * @param replacedKeyFromPropertyName 将属性名换为其他key去字典中取值 */ + (void)Ntalker_setupReplacedKeyFromPropertyName:(NTalkerReplacedKeyFromPropertyName)replacedKeyFromPropertyName; /** * 将属性名换为其他key去字典中取值 * * @param replacedKeyFromPropertyName121 将属性名换为其他key去字典中取值 */ + (void)Ntalker_setupReplacedKeyFromPropertyName121:(NTalkerReplacedKeyFromPropertyName121)replacedKeyFromPropertyName121; #pragma mark - array model class配置 /** * 数组中需要转换的模型类 * * @param objectClassInArray 数组中需要转换的模型类 */ + (void)Ntalker_setupObjectClassInArray:(NTalkerObjectClassInArray)objectClassInArray; @end @interface NSObject (NTalkerPropertyDeprecated_v_2_5_16) + (void)NTalker_enumerateProperties:(NTalkerPropertiesEnumeration)enumeration NTalkerExtensionDeprecated("请在方法名前面加上Ntalker_前缀,使用Ntalker_***"); + (void)NTalker_setupNewValueFromOldValue:(NTalkerNewValueFromOldValue)newValueFormOldValue NTalkerExtensionDeprecated("请在方法名前面加上Ntalker_前缀,使用Ntalker_***"); + (id)NTalker_getNewValueFromObject:(__unsafe_unretained id)object oldValue:(__unsafe_unretained id)oldValue property:(__unsafe_unretained NTalkerProperty *)property NTalkerExtensionDeprecated("请在方法名前面加上Ntalker_前缀,使用Ntalker_***"); + (void)NTalker_setupReplacedKeyFromPropertyName:(NTalkerReplacedKeyFromPropertyName)replacedKeyFromPropertyName NTalkerExtensionDeprecated("请在方法名前面加上Ntalker_前缀,使用Ntalker_***"); + (void)NTalker_setupReplacedKeyFromPropertyName121:(NTalkerReplacedKeyFromPropertyName121)replacedKeyFromPropertyName121 NTalkerExtensionDeprecated("请在方法名前面加上Ntalker_前缀,使用Ntalker_***"); + (void)NTalker_setupObjectClassInArray:(NTalkerObjectClassInArray)objectClassInArray NTalkerExtensionDeprecated("请在方法名前面加上Ntalker_前缀,使用Ntalker_***"); @end
38.1375
230
0.816781
[ "object", "model" ]
f5eb597177214c270906c2bb6e24361be0e9e856
2,850
h
C
src/simulator.h
tgstoecker/CAFE5
bfc745ef7cf3ca8b11cfe984b4aadf4a90795868
[ "ECL-2.0" ]
33
2020-11-23T02:15:17.000Z
2022-03-17T17:12:57.000Z
src/simulator.h
tgstoecker/CAFE5
bfc745ef7cf3ca8b11cfe984b4aadf4a90795868
[ "ECL-2.0" ]
33
2020-11-11T18:58:38.000Z
2022-03-28T14:04:13.000Z
src/simulator.h
tgstoecker/CAFE5
bfc745ef7cf3ca8b11cfe984b4aadf4a90795868
[ "ECL-2.0" ]
11
2021-03-11T21:15:28.000Z
2022-03-24T20:44:37.000Z
#ifndef SIMULATOR_H #define SIMULATOR_H #include "execute.h" #include "clade.h" class root_distribution; struct simulated_family { clademap<int> values; double lambda; simulated_family() : lambda(0) { } ~simulated_family() { } simulated_family(simulated_family&& other) { *this = std::move(other); } // this is the move assignment operator simulated_family& operator=(simulated_family&& other) { values = std::move(other.values); lambda = other.lambda; return *this; } }; /*! @brief Build simulated families based on the user's input The user asks for a simulation given a lambda. We generate a multiplier m from a normal distribution with a standard deviation of .3. If the user also specifies an alpha, A, we generate m from a gamma distribution described by alpha=A, beta = 1/A If the user also specifies a number of clusters, K, we do the following: * Discretize the gamma value so we have a multiplier for each cluster. * Randomly select a multiplier and use that as the mean of a normal distribution. The standard deviation is calculated as a percentage of the distance between the clusters. * We choose a final multiplier by selecting randomly from this normal distribution. We generate 50 families by taking the user's lambda and multiplying it by m. We repeat this process until we have the number of families requested by the user. */ /// The root distribution is specified by the user. If they provide a rootdist file, the number of families is taken directly /// from this distribution and it matches the distribution exactly. /// If they request more simulations than are in the distribution, random values are drawn from the distribution to match /// the count. If they request fewer simulations, random values are deleted from the distribution. /// If they do not specify a distribution, random family sizes are selected between 1 and 100. class simulator : public action { void simulate(std::vector<model *>& models, const input_parameters &my_input_parameters); public: simulator(user_data& d, const input_parameters& ui); simulated_family create_trial(const lambda *p_lambda, int family_number, const matrix_cache& cache); virtual void execute(std::vector<model *>& models); void print_simulations(std::ostream& ost, bool include_internal_nodes, const std::vector<simulated_family>& results); //! Does the actual work of simulation. Calls the given model to load simulation parameters, //! and places the simulations in results. Every fifty simulations, the model's \ref model::perturb_lambda //! is called in order to provide a bit of additional randomness in the simulation. void simulate_processes(model *p_model, std::vector<simulated_family>& results); }; #endif
35.185185
125
0.738596
[ "vector", "model" ]
f5fa48abd2169b8be772c7b3ef1adbe3337df702
5,333
c
C
sfmt-extstate-misc.c
jj1bdx/sfmt-extstate
0aeb9ee7dc3385be1b8289089855d9453d0713cd
[ "BSD-3-Clause" ]
1
2015-10-30T13:53:49.000Z
2015-10-30T13:53:49.000Z
sfmt-extstate-misc.c
jj1bdx/sfmt-extstate
0aeb9ee7dc3385be1b8289089855d9453d0713cd
[ "BSD-3-Clause" ]
null
null
null
sfmt-extstate-misc.c
jj1bdx/sfmt-extstate
0aeb9ee7dc3385be1b8289089855d9453d0713cd
[ "BSD-3-Clause" ]
null
null
null
/* This file is a part of sfmt-extstate */ /** * @file sfmt-extstate-misc.c * @brief SFMT table manipulation functions for miscellaneous operations * * @author Mutsuo Saito (Hiroshima University) * @author Makoto Matsumoto (Hiroshima University) * @author Kenji Rikitake * * Copyright (C) 2006,2007 Mutsuo Saito, Makoto Matsumoto and Hiroshima * University. All rights reserved. * * Copyright (C) 2010 Kenji Rikitake. All rights reserved. * * The new BSD License is applied to this software, see LICENSE.txt */ #include <string.h> #include <assert.h> #include "sfmt-extstate.h" /* public functions for the state tables */ void period_certification(w128_t *intstate); const char *get_idstring(void); int get_min_array_size32(void); void init_gen_rand(uint32_t seed, w128_t *intstate); void init_by_array(uint32_t *init_key, int key_length, w128_t *intstate); /* static function prototypes */ inline static uint32_t func1(uint32_t x); inline static uint32_t func2(uint32_t x); /** a parity check vector which certificate the period of 2^{MEXP} */ static uint32_t parity[4] = {PARITY1, PARITY2, PARITY3, PARITY4}; /** * This function certificate the period of 2^{MEXP} * @param intstate internal state array */ void period_certification(w128_t *intstate) { int inner = 0; int i, j; uint32_t work; uint32_t *intstate32; intstate32 = &intstate[0].u[0]; for (i = 0; i < 4; i++) { inner ^= intstate32[i] & parity[i]; } for (i = 16; i > 0; i >>= 1) { inner ^= inner >> i; } inner &= 1; /* check OK */ if (inner == 1) { return; } /* check NG, and modification */ for (i = 0; i < 4; i++) { work = 1; for (j = 0; j < 32; j++) { if ((work & parity[i]) != 0) { intstate32[i] ^= work; return; } work = work << 1; } } } /** * This function returns the identification string. * The string shows the word size, the Mersenne exponent, * and all parameters of this generator. */ const char *get_idstring(void) { return IDSTR; } /** * This function returns the minimum size of array used for \b * fill_array32() function. * @return minimum size of array used for fill_array32() function. */ int get_min_array_size32(void) { return N32; } /** * This function represents a function used in the initialization * by init_by_array * @param x 32-bit integer * @return 32-bit integer */ inline static uint32_t func1(uint32_t x) { return (x ^ (x >> 27)) * (uint32_t)1664525UL; } /** * This function represents a function used in the initialization * by init_by_array * @param x 32-bit integer * @return 32-bit integer */ inline static uint32_t func2(uint32_t x) { return (x ^ (x >> 27)) * (uint32_t)1566083941UL; } /** * This function initializes the internal state array with a 32-bit * integer seed. * Execution of this function guarantees that the internal state * array is correctly initialized. * * @param seed a 32-bit integer used as the seed. * @param intstate internal state array */ void init_gen_rand(uint32_t seed, w128_t *intstate) { int i; uint32_t *intstate32; intstate32 = &intstate[0].u[0]; intstate32[0] = seed; for (i = 1; i < N32; i++) { intstate32[i] = 1812433253UL * (intstate32[i - 1] ^ (intstate32[i - 1] >> 30)) + i; } period_certification(&intstate[0]); } /** * This function initializes the internal state array, * with an array of 32-bit integers used as the seeds * * Execution of this function guarantees that the internal state * array is correctly initialized. * * @param init_key the array of 32-bit integers, used as a seed. * @param key_length the length of init_key. * @param intstate internal state array */ void init_by_array(uint32_t *init_key, int key_length, w128_t *intstate) { int i, j, count; uint32_t r; int lag; int mid; int size = N32; uint32_t *intstate32; intstate32 = &intstate[0].u[0]; if (size >= 623) { lag = 11; } else if (size >= 68) { lag = 7; } else if (size >= 39) { lag = 5; } else { lag = 3; } mid = (size - lag) / 2; memset(&intstate[0], 0x8b, (N32 * 4)); if (key_length + 1 > N32) { count = key_length + 1; } else { count = N32; } r = func1(intstate32[0] ^ intstate32[mid] ^ intstate32[N32 - 1]); intstate32[mid] += r; r += key_length; intstate32[mid + lag] += r; intstate32[0] = r; count--; for (i = 1, j = 0; (j < count) && (j < key_length); j++) { r = func1(intstate32[i] ^ intstate32[(i + mid) % N32] ^ intstate32[(i + N32 - 1) % N32]); intstate32[(i + mid) % N32] += r; r += init_key[j] + i; intstate32[(i + mid + lag) % N32] += r; intstate32[i] = r; i = (i + 1) % N32; } for (; j < count; j++) { r = func1(intstate32[i] ^ intstate32[(i + mid) % N32] ^ intstate32[(i + N32 - 1) % N32]); intstate32[(i + mid) % N32] += r; r += i; intstate32[(i + mid + lag) % N32] += r; intstate32[i] = r; i = (i + 1) % N32; } for (j = 0; j < N32; j++) { r = func2(intstate32[i] + intstate32[(i + mid) % N32] + intstate32[(i + N32 - 1) % N32]); intstate32[(i + mid) % N32] ^= r; r -= i; intstate32[(i + mid + lag) % N32] ^= r; intstate32[i] = r; i = (i + 1) % N32; } period_certification(&intstate[0]); }
25.15566
74
0.618789
[ "vector" ]
eb015215e9271483d5022b3e215439d43a983ed2
17,172
h
C
DirectMappedFile/dmf.h
LaudateCorpus1/nvm-direct
af0efd2e2c325c2171d059a59b6f8c1c31b344ed
[ "UPL-1.0" ]
46
2016-06-16T23:51:56.000Z
2021-09-05T20:58:29.000Z
DirectMappedFile/dmf.h
LaudateCorpus1/nvm-direct
af0efd2e2c325c2171d059a59b6f8c1c31b344ed
[ "UPL-1.0" ]
null
null
null
DirectMappedFile/dmf.h
LaudateCorpus1/nvm-direct
af0efd2e2c325c2171d059a59b6f8c1c31b344ed
[ "UPL-1.0" ]
15
2016-08-08T02:24:09.000Z
2022-02-18T04:45:02.000Z
/* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. The Universal Permissive License (UPL), Version 1.0 Subject to the condition set forth below, permission is hereby granted to any person obtaining a copy of this software, associated documentation and/or data (collectively the "Software"), free of charge and under any and all copyright rights in the Software, and any and all patent rights owned or freely licensable by each licensor hereunder covering either (i) the unmodified Software as contributed to or provided by such licensor, or (ii) the Larger Works (as defined below), to deal in both (a) the Software, and (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if one is included with the Software (each a "Larger Work" to which the Software is contributed by such licensors), without restriction, including without limitation the rights to copy, create derivative works of, display, perform, and distribute the Software and make, use, sell, offer for sale, import, export, have made, and have sold the Software and the Larger Work(s), and to sublicense the foregoing rights on either these or other terms. This license is subject to the following condition: The above copyright notice and either this complete permission notice or at a minimum a reference to the UPL must 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. */ /* * dmf.h - Interface to Direct Mapped File * * Created on: Dec 17, 2015 * Author: bbridge */ #ifndef DMF_H_ #define DMF_H_ /* Standard Oracle types */ typedef unsigned char ub1; typedef unsigned short ub2; typedef unsigned int ub4; typedef unsigned long long ub8; typedef short sb2; typedef int sb4; typedef long long sb8; #define FALSE 0 #define TRUE 1 /** * dmf_file is an opaque pointer to a file that the dmf module has open. * Most calls pass this handle as the first argument. This is a DRAM address. */ typedef struct dmf_file dmf_file; /** * This struct contains statistics about the file. An instance of this is * passed to dmf_query to return data about an open file. */ struct dmf_stat { /** * Name of the file passed to create/open. This will be undefined if * the file is closed. */ const char *name; /** * Block size in bytes. All I/O is in terms of this block size. This is * set at creation and cannot be changed. */ size_t blksz; /** * File size in blocks. Blocks 0 through filesz-1 are available for I/O. * This can be changed by resizing the file. */ ub8 filesz; /** * This is the maximum that filessz can ever become. It is set at creation * and cannot be changed. This is used to to determine how much virtual * address space the file consumes when mapped into a process. A process * may run out of virtual address space if this is too large, but it does * not affect the amount of NVM consumed. */ ub8 maxsz; /** * This is the maximum number of simultaneous writes that the file can * support. If more writes are in flight at the same time, then some will * block until others complete. Note that a write of multiple blocks only * counts as a single write since they are all done one at a time by the * same thread. There are no limitations on the number of concurrent reads. * This many spare physical block of NVM are allocated for doing out of * place writes, so it is best to make this pretty small. */ ub2 writes; /** * This is the amount of physical NVM bytes consumed by the file. This * includes the metadata used to track the blocks, spare blocks for out of * place writes, and space consumed by rounding up to a page boundary. It * does not include any NVM the file system consumes for managing the file. */ size_t psize; /** * This is the amount of virtual address space consumed by the file in * bytes. */ size_t vsize; /** * This is the virtual address where the file is mapped in. */ void *addr; }; typedef struct dmf_stat dmf_stat; /** * Get information about the file shape and return it in a dmf_stat. * * @param[in] dmf * A handle to an open Direct Mapped File returned by dmf_create or dmf_open. * * @param[in] dstat * point to struct to fill with results. * * @return * Zero is returned on success. If there is an error then errno is set and * -1 is returned. */ int dmf_query(dmf_file *dmf, dmf_stat *dstat); /** * Check the self consistency of the file. This will block any new writes or * resizing while it is checking. Inconsistencies are reported on stderr * via error(3) in libc. * * @param[in] dmf * A handle to an open Direct Mapped File returned by dmf_create or dmf_open. * * @param[in] maxerrs * Maximum number of errors to report on stderr before returning. * * @return * The return value is the number of problems found. Thus a return of 0 * indicates a good file. */ ub8 dmf_check(dmf_file *dmf, int maxerrs); /** * Create a Direct Mapped File and map it into the process. The file must not * exist already. The file is open on return. * * @param[in] name * This is the name of the new file to create. If creation is successful a * copy of this is made so the caller can release the space. * * @param[in] blksz * Block size in bytes. All I/O is in multiples of the block size. This cannot * be changed. * * @param[in] filesz * Initial file size in blocks. Blocks 0 through filesz-1 are available for I/O. * This can be changed by resizing the file. This determines how much NVM the * file consumes. * * @param[in] maxsz * The maximum size in blocks that file can ever become. It cannot be * changed. This is used to to determine how much virtual address space * the file consumes when mapped into a process. A process may run out of * virtual address space if this is too large, but it does not affect the * amount of NVM consumed. * * @param[in] addr * This is the virtual address where the new file should be mapped. Usually * this is zero to let the OS pick an address. * * param[in] writes * This is the maximum number of simultaneous writes that the file can * support. If more writes are in flight at the same time, then some will * block until others complete. If the application might read a block while * it is being written then this should be a bit larger than the expected * number of simultaneous writes so that there will be fewer reads that need * to be restarted due to a read/write collision. Note that a write of multiple * blocks only counts as a single write since they are all done one at a time * by the same thread. There are no limitations on the number of concurrent * reads. This many spare physical block of NVM are allocated for doing out of * place writes, so it is best to make this pretty small. It must be at least * two, and no more than 4 times the number of processors. * * @param[in] mode * This is the mode to pass to the system call that creates the NVM file. * * @return * A successful creation returns a handle to use with subsequent calls. If * creation fails then errno is set and a null handle is returned */ dmf_file *dmf_create( const char *name, // file name size_t blksz, // block size in bytes ub8 filesz, // initial file size in blocks ub8 maxsz, // maximum file size void *addr, // map address ub2 writes, // max simultaneous writes mode_t mode); // permissions /** * Open a Direct Mapped File and map it into this process. The file must have * been previously created by dmf_create. * * @param[in] name * This is the name of the existing file to open. If open is successful a * copy of this is made so the caller can release the space. * * @param[in] addr * This is the virtual address where the file should be mapped. Usually * this is zero to let the OS pick an address. * * @return * A successful creation returns a handle to use with subsequent calls. If * open fails then errno is set and a null handle is returned. */ dmf_file *dmf_open(const char *name, void *addr); /** * Close an open file unmapping it from the process. There must not be any I/O * in progress when this is called. After this is called the handle cannot be * used. The DRAM data structures pointed to by the handle are no longer * allocated. * * Note the warnings about ignoring the return value from close do not apply * to Direct Mapped Files since they are never cached and the write system * call is never used. * * @param[in] dmf * A handle to an open Direct Mapped File returned by dmf_create or dmf_open. */ void dmf_close(dmf_file *dmf); /** * Unlink a Direct Mapped File. The file must not be mapped into any process. * This is really nothing but a call to unlink with a different return value * to indicate failure. It is only here for completeness. * * @param[in] name * This is the name of the file to unlink. * * @return * Zero is returned on success. If there is an error then errno is set and * -1 is returned. */ int dmf_delete(const char *name); /** * Read a sequence of blocks from a Direct Mapped File into a DRAM buffer. * Blocks beyond the end of file are not returned. The count of blocks * actually read is returned. This could be zero if the first block to read * is past the EOF. A partial read indicates the read extends beyond the EOF. * Reading a block that was never written returns a block of all zero. A read * that is concurrent with a write to the same block might return either the * previous or new version of the block, but never a mixture of them. * Resize an open Direct Mapped File. The new size may be larger or smaller * than the current size. The file may be in active use during the resize. * Two simultaneous resizes of the same file will be serialized so that one * is done before the other begins. The final size could be either of the * two sizes. * * It is expected that this will not be called in an NVM transaction. However * it would work fine. * * This cannot be called in an on-abort, on-commit, or on-unlock callback. * These callbacks are called to make the make the NVM region file consistent * before it is opened. Thus there is no dmf_file struct to pass to the * dmf entry points. The dmf_file handle available when the on-abort, * on-commit, or on-unlock operation is created will not exist when the * operation is called in recovery. Thus it cannot be saved in the callback * context. It would be possible to create a version of this library that does * support for rollback of write and doing read/write in a callback, but * it would require a different API and incur additional overhead. * * @param dmf[in] * A handle to an open Direct Mapped File returned by dmf_create or dmf_open. * * @param blkno[in] * The number of the first block to read. The first block in a file is block * zero. The last block is file size minus one. No data is returned for blocks * beyond the last block. * * @param buffer[out] * The address of a buffer in DRAM which is large enough to hold count blocks. * Reading into NVM does not work because the data is not flushed out of the * processor cache. * * @param count[in] * The number of blocks to read. If blkno+count is greater than the file size * then only the blocks up to the file size are returned. * * @return * If successful the number of blocks read is returned. This may be less than * the number requested if reading past the file size. * If there is an error then -1 is returned and errno is set. */ ub4 dmf_read(dmf_file *dmf, ub8 blkno, void *buffer, ub4 count); /** * write a sequence of blocks to a Direct Mapped File from a DRAM or NVM buffer. * When the write returns, all data written has been flushed to its NVM DIMM. * Blocks beyond the end of file are not written. The count of blocks * actually written is returned. This could be zero if the first block to write * is past the EOF. A partial write indicates the write extends beyond the EOF. * * A write that is concurrent with another write to the same block might * persist either version of the block, but never a mixture of them. A * concurrent read with two concurrent writes might return either version. * * Process death during a write might write some blocks but not others. The * blocks are written in ascending order, and each block written is atomically * committed to be persistent before the next block write begins. No partial * block writes will ever be returned by a read. * * It is expected that this will not be called in an NVM transaction. However * there is no problem in doing so except that the write will be committed * before this returns even if the caller's transaction does not commit. The * committed write will be visible to other threads immediately. * * This cannot be called in an on-abort, on-commit, or on-unlock callback. * These callbacks are called to make the make the NVM region file consistent * before it is opened. Thus there is no dmf_file struct to pass to the * dmf entry points. The dmf_file handle available when the on-abort, * on-commit, or on-unlock operation is created will not exist when the * operation is called in recovery. Thus it cannot be saved in the callback * context. It would be possible to create a version of this library that does * support for rollback of writes and doing reads/writes in a callback, but * it would require a different API and incur additional overhead. * * @param dmf[in] * A handle to an open Direct Mapped File returned by dmf_create or dmf_open. * * @param blkno[in] * The number of the first block to write. The first block in a file is block * zero. The last block is file size minus one. No data is written for blocks * beyond the file size. * * @param buffer[in] * The address of a buffer in DRAM or NVM which contains count blocks of data * to be written. * * @param count[in] * The number of blocks to write. If blkno+count is greater than the file size * then only the blocks up to the file size are written. * * @return * If successful the number of blocks written is returned. This may be less * than the number requested if writing past the file size. If there is an * error then -1 is returned and errno is set. */ ub4 dmf_write(dmf_file *dmf, ub8 blkno, const void *buffer, ub4 count); /** * Resize an open Direct Mapped File. The new size may be larger or smaller * than the current size. The file may be in active use during the resize. * Two simultaneous resizes of the same file will be serialized so that one * is done before the other begins. The final size could be either of the * two sizes. * * If shrinking a file, the old blocks after the new size will have their * contents discarded. If growing a file the new blocks after the old size * will read as all zero unless they are written. * * Resize is atomic. A failure during file resize will either complete the * resize or or leave the file at the same size. * * The new size must be less than or equal to the maximum size specified at * creation. There is not enough virtual address space to make the file larger * than the maximum size. * * It is expected that this will not be called in an NVM transaction. However * there is no problem in doing so except that the resize will be committed * before this returns even if the caller's transaction does not commit. The * committed resize will be visible to other threads immediately. * * This cannot be called in an on-abort, on-commit, or on-unlock callback. * These callbacks are called to make the make the NVM region file consistent * before it is opened. Thus there is no dmf_file struct to pass to the * dmf entry points. The dmf_file handle available when the on-abort, * on-commit, or on-unlock operation is created will not exist when the * operation is called in recovery. Thus it cannot be saved in the callback * context. It would be possible to create a version of this library that does * support for rollback of resize and doing resize in a callback, but * it would require a different API and incur additional overhead. * * @param dmf[in] * A handle to an open Direct Mapped File returned by dmf_create or dmf_open. * * @param filesz[in] * This is the new file size in blocks. It may be larger or smaller than the * current file size. * * @return * Zero is returned on success. If there is an error then errno is set and * -1 is returned. */ int dmf_resize(dmf_file *dmf, ub8 filesz); #endif /* DMF_H_ */
40.983294
80
0.729851
[ "shape" ]
eb02fe7132680189171302d2cf127c477e70a813
1,713
h
C
SpatialGDK/Source/Public/Utils/ComponentReader.h
kevinimprobable/UnrealGDK
9dc0ac6a7fa21ca2b96deff9a2721c0ae1a03d49
[ "FTL", "OGTSL" ]
null
null
null
SpatialGDK/Source/Public/Utils/ComponentReader.h
kevinimprobable/UnrealGDK
9dc0ac6a7fa21ca2b96deff9a2721c0ae1a03d49
[ "FTL", "OGTSL" ]
null
null
null
SpatialGDK/Source/Public/Utils/ComponentReader.h
kevinimprobable/UnrealGDK
9dc0ac6a7fa21ca2b96deff9a2721c0ae1a03d49
[ "FTL", "OGTSL" ]
null
null
null
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved #pragma once #include "EngineClasses/SpatialNetBitReader.h" #include "Interop/SpatialReceiver.h" namespace improbable { class ComponentReader { public: ComponentReader(class USpatialNetDriver* InNetDriver, FObjectReferencesMap& InObjectReferencesMap, TSet<FUnrealObjectRef>& InUnresolvedRefs); void ApplyComponentData(const Worker_ComponentData& ComponentData, UObject* Object, USpatialActorChannel* Channel, bool bIsHandover); void ApplyComponentUpdate(const Worker_ComponentUpdate& ComponentUpdate, UObject* Object, USpatialActorChannel* Channel, bool bIsHandover); private: void ApplySchemaObject(Schema_Object* ComponentObject, UObject* Object, USpatialActorChannel* Channel, bool bIsInitialData, TArray<Schema_FieldId>* ClearedIds = nullptr); void ApplyHandoverSchemaObject(Schema_Object* ComponentObject, UObject* Object, USpatialActorChannel* Channel, bool bIsInitialData, TArray<Schema_FieldId>* ClearedIds = nullptr); void ApplyProperty(Schema_Object* Object, Schema_FieldId FieldId, FObjectReferencesMap& InObjectReferencesMap, uint32 Index, UProperty* Property, uint8* Data, int32 Offset, int32 ParentIndex); void ApplyArray(Schema_Object* Object, Schema_FieldId FieldId, FObjectReferencesMap& InObjectReferencesMap, UArrayProperty* Property, uint8* Data, int32 Offset, int32 ParentIndex); uint32 GetPropertyCount(const Schema_Object* Object, Schema_FieldId Id, UProperty* Property); private: class USpatialPackageMapClient* PackageMap; class USpatialNetDriver* NetDriver; class USpatialTypebindingManager* TypebindingManager; FObjectReferencesMap& RootObjectReferencesMap; TSet<FUnrealObjectRef>& UnresolvedRefs; }; }
46.297297
193
0.83596
[ "object" ]
eb24983b77b3ea0afa83669e3933c5dbe937bf95
2,898
h
C
P2PKit.framework/Headers/PPKPeer.h
virustracker/vt-ios
ab532d4d131a28a20eb2dd798482a8156aad3e54
[ "MIT" ]
4
2020-05-03T04:45:35.000Z
2020-08-09T08:14:27.000Z
P2PKit.framework/Headers/PPKPeer.h
virustracker/vt-ios
ab532d4d131a28a20eb2dd798482a8156aad3e54
[ "MIT" ]
12
2020-05-14T03:49:01.000Z
2020-05-19T03:50:49.000Z
P2PKit.framework/Headers/PPKPeer.h
virustracker/vt-ios
ab532d4d131a28a20eb2dd798482a8156aad3e54
[ "MIT" ]
null
null
null
/** * PPKPeer.h * P2PKit * * Copyright (c) 2017 by Uepaa AG, Zürich, Switzerland. * All rights reserved. * * We reserve all rights in this document and in the information contained therein. * Reproduction, use, transmission, dissemination or disclosure of this document and/or * the information contained herein to third parties in part or in whole by any means * is strictly prohibited, unless prior written permission is obtained from Uepaa AG. * */ #import <Foundation/Foundation.h> /*! * @abstract The Proximity Strength of a peer. * * @discussion Proximity Ranging adds context to the discovery events by providing 5 levels of proximity strength (from “immediate” to “extremely weak”). You could associate "proximity strength" with distance, but due to the unreliable nature of signal strength (different hardware, environmental conditions, etc.) we preferred not to associate the two. Nevertheless, in many cases you will be able to determine who is the closest peer to you (if he is significantly closer than others).<br/><br/><strong>Note:</strong> Proximity ranging only works in the foreground. Not all Android devices have the capability to be ranged by other peers.<br/><br/><strong>Note:</strong> Proximity strength relies on the signal strength and can be affected by various factors in the environment. * * @see <code> PPKPeer.proximityStrength </code> */ typedef NS_ENUM(NSInteger, PPKProximityStrength) { /*! Proximity strength cannot be determined and is not known. */ PPKProximityStrengthUnknown, /*! Proximity strength is extremely weak. */ PPKProximityStrengthExtremelyWeak, /*! Proximity strength is weak. */ PPKProximityStrengthWeak, /*! Proximity strength is medium. */ PPKProximityStrengthMedium, /*! Proximity strength is strong. */ PPKProximityStrengthStrong, /*! Proximity strength is immediate. */ PPKProximityStrengthImmediate }; /*! * <code>PPKPeer</code> represents an instance of a nearby peer. */ @interface PPKPeer : NSObject /*! * @abstract A unique identifier for the peer. P2PKit generates this ID when you enable <code> PPKController </code> for the first time. When the app is re-installed a new ID is generated. */ @property (readonly, nonnull) NSString *peerID; /*! * @abstract A <code>NSData</code> object containing the discovery info of the peer (can be nil if the peer does not provide a discovery info). */ @property (readonly, nullable) NSData *discoveryInfo; /*! * @abstract Indicates the current Proximity Strength of the peer. * * @warning Please note that the proximity strength relies on the signal strength and can be affected by various factors in the environment. * * @see PPKProximityStrength */ @property (readonly) PPKProximityStrength proximityStrength; @end
40.25
785
0.726018
[ "object" ]
eb3402cc9210e6bbae6b5e2a5a2d244cbd2eba53
695
h
C
YareEngine/Source/Core/DataStructures.h
Resoona/Yare
fc94403575285099ce93ef556f68c77b815577d9
[ "MIT" ]
2
2020-03-01T13:56:45.000Z
2020-03-06T01:41:00.000Z
YareEngine/Source/Core/DataStructures.h
Riyusuna/Yare
fc94403575285099ce93ef556f68c77b815577d9
[ "MIT" ]
null
null
null
YareEngine/Source/Core/DataStructures.h
Riyusuna/Yare
fc94403575285099ce93ef556f68c77b815577d9
[ "MIT" ]
null
null
null
#ifndef YARE_DATASTRUCTURES_H #define YARE_DATASTRUCTURES_H #include <glm/glm.hpp> namespace Yare { struct Vertex { glm::vec3 pos; glm::vec3 color; glm::vec3 normal; glm::vec2 uv; bool operator==(const Vertex& other) const { return pos == other.pos && uv == other.uv && normal == other.normal && color == other.normal; } }; struct UniformBufferObject { glm::mat4 model; glm::mat4 view; glm::mat4 proj; }; struct UboDataDynamic { glm::mat4* model = nullptr; }; struct UniformVS { glm::mat4 view; glm::mat4 projection; }; } // namespace Yare #endif
19.857143
105
0.561151
[ "model" ]
eb38f9d259da0437ae28dad1e81b1c60ee8976f7
4,486
h
C
src/video/webm_video.h
DeadZoneLuna/csso-src
6c978ea304ee2df3796bc9c0d2916bac550050d5
[ "Unlicense" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/video/webm_video.h
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/video/webm_video.h
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //============================================================================= #ifndef WEBM_VIDEO_H #define WEBM_VIDEO_H #ifdef _WIN32 #pragma once #endif //----------------------------------------------------------------------------- // Forward declarations //----------------------------------------------------------------------------- class IFileSystem; class IMaterialSystem; class CQuickTimeMaterial; //----------------------------------------------------------------------------- // Global interfaces - you already did the needed includes, right? //----------------------------------------------------------------------------- extern IFileSystem *g_pFileSystem; extern IMaterialSystem *materials; //----------------------------------------------------------------------------- // WebM Header files, anything that seems strange here is to make it so their headers // can mesh with ours //----------------------------------------------------------------------------- #define VPX_CODEC_DISABLE_COMPAT 1 #include "vpx/vpx_codec.h" #include "vpx/vpx_encoder.h" #include "vpx/vpx_image.h" #include "vpx/vp8cx.h" #ifdef UNUSED #undef UNUSED #endif // libwebm, support for reading/writing webm files #include "mkvreader.hpp" #include "mkvparser.hpp" #include "mkvmuxer.hpp" #include "mkvwriter.hpp" #include "mkvmuxerutil.hpp" #include "vorbis/vorbisenc.h" #include "vorbis/codec.h" #include "video/ivideoservices.h" #include "videosubsystem.h" #include "utlvector.h" #include "tier1/KeyValues.h" #include "tier0/platform.h" // ----------------------------------------------------------------------------- // CQuickTimeVideoSubSystem - Implementation of IVideoSubSystem // ----------------------------------------------------------------------------- class CWebMVideoSubSystem : public CTier2AppSystem< IVideoSubSystem > { typedef CTier2AppSystem< IVideoSubSystem > BaseClass; public: CWebMVideoSubSystem(); ~CWebMVideoSubSystem(); // Inherited from IAppSystem virtual bool Connect( CreateInterfaceFn factory ); virtual void Disconnect(); virtual void *QueryInterface( const char *pInterfaceName ); virtual InitReturnVal_t Init(); virtual void Shutdown(); // Inherited from IVideoSubSystem // SubSystem Identification functions virtual VideoSystem_t GetSystemID(); virtual VideoSystemStatus_t GetSystemStatus(); virtual VideoSystemFeature_t GetSupportedFeatures(); virtual const char *GetVideoSystemName(); // Setup & Shutdown Services virtual bool InitializeVideoSystem( IVideoCommonServices *pCommonServices ); virtual bool ShutdownVideoSystem(); virtual VideoResult_t VideoSoundDeviceCMD( VideoSoundDeviceOperation_t operation, void *pDevice = nullptr, void *pData = nullptr ); // get list of file extensions and features we support virtual int GetSupportedFileExtensionCount(); virtual const char *GetSupportedFileExtension( int num ); virtual VideoSystemFeature_t GetSupportedFileExtensionFeatures( int num ); // Video Playback and Recording Services virtual VideoResult_t PlayVideoFileFullScreen( const char *filename, void *mainWindow, int windowWidth, int windowHeight, int desktopWidth, int desktopHeight, bool windowed, float forcedMinTime, VideoPlaybackFlags_t playbackFlags ); // Create/destroy a video material virtual IVideoMaterial *CreateVideoMaterial( const char *pMaterialName, const char *pVideoFileName, VideoPlaybackFlags_t flags ); virtual VideoResult_t DestroyVideoMaterial( IVideoMaterial *pVideoMaterial ); // Create/destroy a video encoder virtual IVideoRecorder *CreateVideoRecorder(); virtual VideoResult_t DestroyVideoRecorder( IVideoRecorder *pRecorder ); virtual VideoResult_t CheckCodecAvailability( VideoEncodeCodec_t codec ); virtual VideoResult_t GetLastResult(); private: bool SetupWebM(); bool ShutdownWebM(); VideoResult_t SetResult( VideoResult_t status ); bool m_bWebMInitialized; VideoResult_t m_LastResult; VideoSystemStatus_t m_CurrentStatus; VideoSystemFeature_t m_AvailableFeatures; IVideoCommonServices *m_pCommonServices; CUtlVector< IVideoMaterial* > m_MaterialList; CUtlVector< IVideoRecorder* > m_RecorderList; static const VideoSystemFeature_t DEFAULT_FEATURE_SET; }; #endif // WEBM_VIDEO_H
33.477612
236
0.638654
[ "mesh" ]
eb3a7fd6946230103cbc145f4662a4110939400c
5,007
h
C
modeling-framework/include/ModelingFramework.h
nscooling/peripheral-template
cc9b3194c8991066536bb5e2881d34ab0fca6767
[ "Apache-2.0" ]
2
2018-03-13T22:07:42.000Z
2018-04-09T08:47:34.000Z
modeling-framework/include/ModelingFramework.h
Jumperr-labs/mcp23s08
dcb5debc1826d4dc9f020b1551f150d7957c2d88
[ "Apache-2.0" ]
1
2020-04-06T14:08:05.000Z
2020-04-06T14:08:05.000Z
modeling-framework/include/ModelingFramework.h
Jumperr-labs/mcp23s08
dcb5debc1826d4dc9f020b1551f150d7957c2d88
[ "Apache-2.0" ]
10
2018-03-18T11:28:02.000Z
2020-04-06T14:22:20.000Z
#pragma once #include <string> #include <functional> #include "iSpiSlave.h" #include "iI2cSlave.h" #include "WireManagerTypes.h" #ifdef _WINDOWS #define DLL_EXPORT extern "C" __declspec(dllexport) #else #define DLL_EXPORT extern "C" #endif /** * This function returns the pin number that the pin name is connected to according to board.json file * @param pin_name (as it appears on board.json file) * @return pin number */ int GetPinNumber(const std::string &pin_name); /** * This function returns an instance of SPI slave * @param spi_config that configure the spi slave * @return SPI slave */ iSpiSlave* CreateSpiSlave(SpiSlaveConfig &spi_config); /** * This function returns an instance of I2C slave * @return I2C slave */ iI2cSlave* CreateI2cSlave(); /** * This function returns the current level of a given pin name * @param pin_name (as it appears on board.json file), that his level returns * @return true, if pin level is high, otherwise false */ bool GetPinLevel(int pin_number); /** * This function returns the current level of a given pin name * @param pin_name (as it appears on board.json file), that his level returns * @return true, if pin level is high, otherwise false */ bool GetPinLevel(const std::string &pin_name); /** * This function sets the level of a given pin number * @param pin_number to set his level * @param pin_level true, in order to set the level to high, otherwise false */ void SetPinLevel(int pin_number, bool pin_level); /** * This function returns the current level of a given pin name * @param pin_name (as it appears on board.json file), to set his level * @param pin_level true, in order to set the level to high, otherwise false */ void SetPinLevel(const std::string &pin_name, bool pin_level); /* Peripheral Timed Callback */ typedef std::function<void ()> callback_t; /** * This function calls the callback function after ns of emulation time * @param ns number of nanoseconds in emulation time that will pass until the callback will be called * @param callback function that will be called after times up (this function has no input and no outputs) * @param run_once true, if the function should be called more then once * @return time request id */ int AddTimedCallback(uint64_t ns, const callback_t &callback, bool run_once = false); /*** * This function cancel the callback. * @param id request id that returned from AddTimedCallback function */ void CancelTimedCallback(int id); /** * This function updates time request, change the time until the callback function will called * @param id request id that returned from AddTimedCallback function * @param ns number of nanoseconds in emulation time that will pass until the callback will be called */ void UpdateTimedCallback(int id, uint64_t ns); /** * This function returns next int32 value from a given data generator name * @param name data generator name, to read from * @return the value that was read from data generator */ int32_t GetNextInt32FromDataGenerator(std::string name); /** * This function returns next double value from a given data generator name * @param name data generator name, to read from * @return the value that was read from data generator */ double GetNextDoubleFromDataGenerator(std::string name); /** * This function returns next int32 value from a given data generator name * @param name data generator name, to read from * @return the value that was read from data generator */ int16_t GetNextInt16FromDataGenerator(std::string name); /** * This function returns next uint8 value from a given data generator name * @param name data generator name, to read from * @return the value that was read from data generator */ uint8_t GetNextUInt8FromDataGenerator(std::string name); /** * This function returns the last double value that was read from a given data generator name * @param name data generator name, to read from * @return the value that was cached from data generator */ double GetCachedValueFromDataGenerator(std::string name); /** * This function sets multiple pins levels * @param pin_changes vector of pin change */ void SetMultiplePinsLevel(const pin_level_changes_t& pin_changes); /** * This function set pin direction (input/output) * @param pin_id to change his direction * @param direction the direction of the pin * @param pullup set true, if the pin set to high, otherwise false */ void SetPinDirection(uint32_t pin_id, pin_direction_t direction, bool pullup); /** * This function set callback on pin level change event * @param pin_id that change in his level will call the the callback * @param pin_change_level_callback callback function to be called on change level event * @return callback id */ int SetPinChangeLevelEventCallback(uint32_t pin_id, const pin_change_level_callback_t &callback); class ExternalPeripheral { public: virtual void Main() = 0; virtual void Stop() = 0; }; typedef ExternalPeripheral* peripheral_factory_t();
33.15894
106
0.753745
[ "vector" ]
eb40f61a2a8f45bb5e617c29c7888000167713cb
10,787
h
C
aws-cpp-sdk-amplifybackend/include/aws/amplifybackend/model/UpdateBackendAuthUserPoolConfig.h
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-amplifybackend/include/aws/amplifybackend/model/UpdateBackendAuthUserPoolConfig.h
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-amplifybackend/include/aws/amplifybackend/model/UpdateBackendAuthUserPoolConfig.h
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/amplifybackend/AmplifyBackend_EXPORTS.h> #include <aws/amplifybackend/model/UpdateBackendAuthForgotPasswordConfig.h> #include <aws/amplifybackend/model/UpdateBackendAuthMFAConfig.h> #include <aws/amplifybackend/model/UpdateBackendAuthOAuthConfig.h> #include <aws/amplifybackend/model/UpdateBackendAuthPasswordPolicyConfig.h> #include <aws/amplifybackend/model/UpdateBackendAuthVerificationMessageConfig.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AmplifyBackend { namespace Model { /** * <p>Describes the Amazon Cognito user pool configuration for the authorization * resource to be configured for your Amplify project on an update.</p><p><h3>See * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuthUserPoolConfig">AWS * API Reference</a></p> */ class AWS_AMPLIFYBACKEND_API UpdateBackendAuthUserPoolConfig { public: UpdateBackendAuthUserPoolConfig(); UpdateBackendAuthUserPoolConfig(Aws::Utils::Json::JsonView jsonValue); UpdateBackendAuthUserPoolConfig& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * <p><b>(DEPRECATED)</b> Describes the forgot password policy for your Amazon * Cognito user pool, configured as a part of your Amplify project.</p> */ inline const UpdateBackendAuthForgotPasswordConfig& GetForgotPassword() const{ return m_forgotPassword; } /** * <p><b>(DEPRECATED)</b> Describes the forgot password policy for your Amazon * Cognito user pool, configured as a part of your Amplify project.</p> */ inline bool ForgotPasswordHasBeenSet() const { return m_forgotPasswordHasBeenSet; } /** * <p><b>(DEPRECATED)</b> Describes the forgot password policy for your Amazon * Cognito user pool, configured as a part of your Amplify project.</p> */ inline void SetForgotPassword(const UpdateBackendAuthForgotPasswordConfig& value) { m_forgotPasswordHasBeenSet = true; m_forgotPassword = value; } /** * <p><b>(DEPRECATED)</b> Describes the forgot password policy for your Amazon * Cognito user pool, configured as a part of your Amplify project.</p> */ inline void SetForgotPassword(UpdateBackendAuthForgotPasswordConfig&& value) { m_forgotPasswordHasBeenSet = true; m_forgotPassword = std::move(value); } /** * <p><b>(DEPRECATED)</b> Describes the forgot password policy for your Amazon * Cognito user pool, configured as a part of your Amplify project.</p> */ inline UpdateBackendAuthUserPoolConfig& WithForgotPassword(const UpdateBackendAuthForgotPasswordConfig& value) { SetForgotPassword(value); return *this;} /** * <p><b>(DEPRECATED)</b> Describes the forgot password policy for your Amazon * Cognito user pool, configured as a part of your Amplify project.</p> */ inline UpdateBackendAuthUserPoolConfig& WithForgotPassword(UpdateBackendAuthForgotPasswordConfig&& value) { SetForgotPassword(std::move(value)); return *this;} /** * <p>Describes whether to apply multi-factor authentication policies for your * Amazon Cognito user pool configured as a part of your Amplify project.</p> */ inline const UpdateBackendAuthMFAConfig& GetMfa() const{ return m_mfa; } /** * <p>Describes whether to apply multi-factor authentication policies for your * Amazon Cognito user pool configured as a part of your Amplify project.</p> */ inline bool MfaHasBeenSet() const { return m_mfaHasBeenSet; } /** * <p>Describes whether to apply multi-factor authentication policies for your * Amazon Cognito user pool configured as a part of your Amplify project.</p> */ inline void SetMfa(const UpdateBackendAuthMFAConfig& value) { m_mfaHasBeenSet = true; m_mfa = value; } /** * <p>Describes whether to apply multi-factor authentication policies for your * Amazon Cognito user pool configured as a part of your Amplify project.</p> */ inline void SetMfa(UpdateBackendAuthMFAConfig&& value) { m_mfaHasBeenSet = true; m_mfa = std::move(value); } /** * <p>Describes whether to apply multi-factor authentication policies for your * Amazon Cognito user pool configured as a part of your Amplify project.</p> */ inline UpdateBackendAuthUserPoolConfig& WithMfa(const UpdateBackendAuthMFAConfig& value) { SetMfa(value); return *this;} /** * <p>Describes whether to apply multi-factor authentication policies for your * Amazon Cognito user pool configured as a part of your Amplify project.</p> */ inline UpdateBackendAuthUserPoolConfig& WithMfa(UpdateBackendAuthMFAConfig&& value) { SetMfa(std::move(value)); return *this;} /** * <p>Describes the OAuth policy and rules for your Amazon Cognito user pool, * configured as a part of your Amplify project.</p> */ inline const UpdateBackendAuthOAuthConfig& GetOAuth() const{ return m_oAuth; } /** * <p>Describes the OAuth policy and rules for your Amazon Cognito user pool, * configured as a part of your Amplify project.</p> */ inline bool OAuthHasBeenSet() const { return m_oAuthHasBeenSet; } /** * <p>Describes the OAuth policy and rules for your Amazon Cognito user pool, * configured as a part of your Amplify project.</p> */ inline void SetOAuth(const UpdateBackendAuthOAuthConfig& value) { m_oAuthHasBeenSet = true; m_oAuth = value; } /** * <p>Describes the OAuth policy and rules for your Amazon Cognito user pool, * configured as a part of your Amplify project.</p> */ inline void SetOAuth(UpdateBackendAuthOAuthConfig&& value) { m_oAuthHasBeenSet = true; m_oAuth = std::move(value); } /** * <p>Describes the OAuth policy and rules for your Amazon Cognito user pool, * configured as a part of your Amplify project.</p> */ inline UpdateBackendAuthUserPoolConfig& WithOAuth(const UpdateBackendAuthOAuthConfig& value) { SetOAuth(value); return *this;} /** * <p>Describes the OAuth policy and rules for your Amazon Cognito user pool, * configured as a part of your Amplify project.</p> */ inline UpdateBackendAuthUserPoolConfig& WithOAuth(UpdateBackendAuthOAuthConfig&& value) { SetOAuth(std::move(value)); return *this;} /** * <p>Describes the password policy for your Amazon Cognito user pool, configured * as a part of your Amplify project.</p> */ inline const UpdateBackendAuthPasswordPolicyConfig& GetPasswordPolicy() const{ return m_passwordPolicy; } /** * <p>Describes the password policy for your Amazon Cognito user pool, configured * as a part of your Amplify project.</p> */ inline bool PasswordPolicyHasBeenSet() const { return m_passwordPolicyHasBeenSet; } /** * <p>Describes the password policy for your Amazon Cognito user pool, configured * as a part of your Amplify project.</p> */ inline void SetPasswordPolicy(const UpdateBackendAuthPasswordPolicyConfig& value) { m_passwordPolicyHasBeenSet = true; m_passwordPolicy = value; } /** * <p>Describes the password policy for your Amazon Cognito user pool, configured * as a part of your Amplify project.</p> */ inline void SetPasswordPolicy(UpdateBackendAuthPasswordPolicyConfig&& value) { m_passwordPolicyHasBeenSet = true; m_passwordPolicy = std::move(value); } /** * <p>Describes the password policy for your Amazon Cognito user pool, configured * as a part of your Amplify project.</p> */ inline UpdateBackendAuthUserPoolConfig& WithPasswordPolicy(const UpdateBackendAuthPasswordPolicyConfig& value) { SetPasswordPolicy(value); return *this;} /** * <p>Describes the password policy for your Amazon Cognito user pool, configured * as a part of your Amplify project.</p> */ inline UpdateBackendAuthUserPoolConfig& WithPasswordPolicy(UpdateBackendAuthPasswordPolicyConfig&& value) { SetPasswordPolicy(std::move(value)); return *this;} /** * <p>Describes the email or SMS verification message for your Amazon Cognito user * pool, configured as a part of your Amplify project.</p> */ inline const UpdateBackendAuthVerificationMessageConfig& GetVerificationMessage() const{ return m_verificationMessage; } /** * <p>Describes the email or SMS verification message for your Amazon Cognito user * pool, configured as a part of your Amplify project.</p> */ inline bool VerificationMessageHasBeenSet() const { return m_verificationMessageHasBeenSet; } /** * <p>Describes the email or SMS verification message for your Amazon Cognito user * pool, configured as a part of your Amplify project.</p> */ inline void SetVerificationMessage(const UpdateBackendAuthVerificationMessageConfig& value) { m_verificationMessageHasBeenSet = true; m_verificationMessage = value; } /** * <p>Describes the email or SMS verification message for your Amazon Cognito user * pool, configured as a part of your Amplify project.</p> */ inline void SetVerificationMessage(UpdateBackendAuthVerificationMessageConfig&& value) { m_verificationMessageHasBeenSet = true; m_verificationMessage = std::move(value); } /** * <p>Describes the email or SMS verification message for your Amazon Cognito user * pool, configured as a part of your Amplify project.</p> */ inline UpdateBackendAuthUserPoolConfig& WithVerificationMessage(const UpdateBackendAuthVerificationMessageConfig& value) { SetVerificationMessage(value); return *this;} /** * <p>Describes the email or SMS verification message for your Amazon Cognito user * pool, configured as a part of your Amplify project.</p> */ inline UpdateBackendAuthUserPoolConfig& WithVerificationMessage(UpdateBackendAuthVerificationMessageConfig&& value) { SetVerificationMessage(std::move(value)); return *this;} private: UpdateBackendAuthForgotPasswordConfig m_forgotPassword; bool m_forgotPasswordHasBeenSet; UpdateBackendAuthMFAConfig m_mfa; bool m_mfaHasBeenSet; UpdateBackendAuthOAuthConfig m_oAuth; bool m_oAuthHasBeenSet; UpdateBackendAuthPasswordPolicyConfig m_passwordPolicy; bool m_passwordPolicyHasBeenSet; UpdateBackendAuthVerificationMessageConfig m_verificationMessage; bool m_verificationMessageHasBeenSet; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws
42.976096
178
0.728655
[ "model" ]
eb4b784bc16414a082f24c02475713ab58f74611
564,846
h
C
ua_nodeset/AnsiC/opcua_identifiers.h
jupiterbak/OPCUA2Vec
b80d6ebaa4fb62c2b2b3b5ac0510c714e93b2f99
[ "MIT" ]
1
2020-12-13T02:44:47.000Z
2020-12-13T02:44:47.000Z
ua_nodeset/AnsiC/opcua_identifiers.h
jupiterbak/OPCUA2Vec
b80d6ebaa4fb62c2b2b3b5ac0510c714e93b2f99
[ "MIT" ]
2
2021-08-25T16:07:57.000Z
2022-02-10T01:59:38.000Z
ua_nodeset/AnsiC/opcua_identifiers.h
jupiterbak/OPCUA2Vec
b80d6ebaa4fb62c2b2b3b5ac0510c714e93b2f99
[ "MIT" ]
null
null
null
/* ======================================================================== * Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved. * * OPC Foundation MIT License 1.00 * * 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. * * The complete license agreement can be found here: * http://opcfoundation.org/License/MIT/1.00/ * ======================================================================*/ #ifndef _OpcUa_Identifiers_H_ #define _OpcUa_Identifiers_H_ 1 /*============================================================================ * DataType Identifiers *===========================================================================*/ #define OpcUaId_BaseDataType 24 #define OpcUaId_Number 26 #define OpcUaId_Integer 27 #define OpcUaId_UInteger 28 #define OpcUaId_Enumeration 29 #define OpcUaId_Boolean 1 #define OpcUaId_SByte 2 #define OpcUaId_Byte 3 #define OpcUaId_Int16 4 #define OpcUaId_UInt16 5 #define OpcUaId_Int32 6 #define OpcUaId_UInt32 7 #define OpcUaId_Int64 8 #define OpcUaId_UInt64 9 #define OpcUaId_Float 10 #define OpcUaId_Double 11 #define OpcUaId_String 12 #define OpcUaId_DateTime 13 #define OpcUaId_Guid 14 #define OpcUaId_ByteString 15 #define OpcUaId_XmlElement 16 #define OpcUaId_NodeId 17 #define OpcUaId_ExpandedNodeId 18 #define OpcUaId_StatusCode 19 #define OpcUaId_QualifiedName 20 #define OpcUaId_LocalizedText 21 #define OpcUaId_Structure 22 #define OpcUaId_DataValue 23 #define OpcUaId_DiagnosticInfo 25 #define OpcUaId_Image 30 #define OpcUaId_Decimal 50 #define OpcUaId_NamingRuleType 120 #define OpcUaId_ImageBMP 2000 #define OpcUaId_ImageGIF 2001 #define OpcUaId_ImageJPG 2002 #define OpcUaId_ImagePNG 2003 #define OpcUaId_AudioDataType 16307 #define OpcUaId_CurrencyUnitType 23498 #define OpcUaId_CurrencyUnit 23501 #define OpcUaId_BitFieldMaskDataType 11737 #define OpcUaId_KeyValuePair 14533 #define OpcUaId_AdditionalParametersType 16313 #define OpcUaId_EphemeralKeyType 17548 #define OpcUaId_EndpointType 15528 #define OpcUaId_RationalNumber 18806 #define OpcUaId_Vector 18807 #define OpcUaId_ThreeDVector 18808 #define OpcUaId_CartesianCoordinates 18809 #define OpcUaId_ThreeDCartesianCoordinates 18810 #define OpcUaId_Orientation 18811 #define OpcUaId_ThreeDOrientation 18812 #define OpcUaId_Frame 18813 #define OpcUaId_ThreeDFrame 18814 #define OpcUaId_OpenFileMode 11939 #define OpcUaId_IdentityCriteriaType 15632 #define OpcUaId_IdentityMappingRuleType 15634 #define OpcUaId_TrustListMasks 12552 #define OpcUaId_TrustListDataType 12554 #define OpcUaId_DecimalDataType 17861 #define OpcUaId_DataTypeSchemaHeader 15534 #define OpcUaId_DataTypeDescription 14525 #define OpcUaId_StructureDescription 15487 #define OpcUaId_EnumDescription 15488 #define OpcUaId_SimpleTypeDescription 15005 #define OpcUaId_UABinaryFileDataType 15006 #define OpcUaId_PubSubState 14647 #define OpcUaId_DataSetMetaDataType 14523 #define OpcUaId_FieldMetaData 14524 #define OpcUaId_DataSetFieldFlags 15904 #define OpcUaId_ConfigurationVersionDataType 14593 #define OpcUaId_PublishedDataSetDataType 15578 #define OpcUaId_PublishedDataSetSourceDataType 15580 #define OpcUaId_PublishedVariableDataType 14273 #define OpcUaId_PublishedDataItemsDataType 15581 #define OpcUaId_PublishedEventsDataType 15582 #define OpcUaId_DataSetFieldContentMask 15583 #define OpcUaId_DataSetWriterDataType 15597 #define OpcUaId_DataSetWriterTransportDataType 15598 #define OpcUaId_DataSetWriterMessageDataType 15605 #define OpcUaId_PubSubGroupDataType 15609 #define OpcUaId_WriterGroupDataType 15480 #define OpcUaId_WriterGroupTransportDataType 15611 #define OpcUaId_WriterGroupMessageDataType 15616 #define OpcUaId_PubSubConnectionDataType 15617 #define OpcUaId_ConnectionTransportDataType 15618 #define OpcUaId_NetworkAddressDataType 15502 #define OpcUaId_NetworkAddressUrlDataType 15510 #define OpcUaId_ReaderGroupDataType 15520 #define OpcUaId_ReaderGroupTransportDataType 15621 #define OpcUaId_ReaderGroupMessageDataType 15622 #define OpcUaId_DataSetReaderDataType 15623 #define OpcUaId_DataSetReaderTransportDataType 15628 #define OpcUaId_DataSetReaderMessageDataType 15629 #define OpcUaId_SubscribedDataSetDataType 15630 #define OpcUaId_TargetVariablesDataType 15631 #define OpcUaId_FieldTargetDataType 14744 #define OpcUaId_OverrideValueHandling 15874 #define OpcUaId_SubscribedDataSetMirrorDataType 15635 #define OpcUaId_PubSubConfigurationDataType 15530 #define OpcUaId_DataSetOrderingType 20408 #define OpcUaId_UadpNetworkMessageContentMask 15642 #define OpcUaId_UadpWriterGroupMessageDataType 15645 #define OpcUaId_UadpDataSetMessageContentMask 15646 #define OpcUaId_UadpDataSetWriterMessageDataType 15652 #define OpcUaId_UadpDataSetReaderMessageDataType 15653 #define OpcUaId_JsonNetworkMessageContentMask 15654 #define OpcUaId_JsonWriterGroupMessageDataType 15657 #define OpcUaId_JsonDataSetMessageContentMask 15658 #define OpcUaId_JsonDataSetWriterMessageDataType 15664 #define OpcUaId_JsonDataSetReaderMessageDataType 15665 #define OpcUaId_DatagramConnectionTransportDataType 17467 #define OpcUaId_DatagramWriterGroupTransportDataType 15532 #define OpcUaId_BrokerConnectionTransportDataType 15007 #define OpcUaId_BrokerTransportQualityOfService 15008 #define OpcUaId_BrokerWriterGroupTransportDataType 15667 #define OpcUaId_BrokerDataSetWriterTransportDataType 15669 #define OpcUaId_BrokerDataSetReaderTransportDataType 15670 #define OpcUaId_DiagnosticsLevel 19723 #define OpcUaId_PubSubDiagnosticsCounterClassification 19730 #define OpcUaId_AliasNameDataType 23468 #define OpcUaId_IdType 256 #define OpcUaId_NodeClass 257 #define OpcUaId_PermissionType 94 #define OpcUaId_AccessLevelType 15031 #define OpcUaId_AccessLevelExType 15406 #define OpcUaId_EventNotifierType 15033 #define OpcUaId_AccessRestrictionType 95 #define OpcUaId_RolePermissionType 96 #define OpcUaId_DataTypeDefinition 97 #define OpcUaId_StructureType 98 #define OpcUaId_StructureField 101 #define OpcUaId_StructureDefinition 99 #define OpcUaId_EnumDefinition 100 #define OpcUaId_Node 258 #define OpcUaId_InstanceNode 11879 #define OpcUaId_TypeNode 11880 #define OpcUaId_ObjectNode 261 #define OpcUaId_ObjectTypeNode 264 #define OpcUaId_VariableNode 267 #define OpcUaId_VariableTypeNode 270 #define OpcUaId_ReferenceTypeNode 273 #define OpcUaId_MethodNode 276 #define OpcUaId_ViewNode 279 #define OpcUaId_DataTypeNode 282 #define OpcUaId_ReferenceNode 285 #define OpcUaId_Argument 296 #define OpcUaId_EnumValueType 7594 #define OpcUaId_EnumField 102 #define OpcUaId_OptionSet 12755 #define OpcUaId_Union 12756 #define OpcUaId_NormalizedString 12877 #define OpcUaId_DecimalString 12878 #define OpcUaId_DurationString 12879 #define OpcUaId_TimeString 12880 #define OpcUaId_DateString 12881 #define OpcUaId_Duration 290 #define OpcUaId_UtcTime 294 #define OpcUaId_LocaleId 295 #define OpcUaId_TimeZoneDataType 8912 #define OpcUaId_Index 17588 #define OpcUaId_IntegerId 288 #define OpcUaId_ApplicationType 307 #define OpcUaId_ApplicationDescription 308 #define OpcUaId_RequestHeader 389 #define OpcUaId_ResponseHeader 392 #define OpcUaId_VersionTime 20998 #define OpcUaId_ServiceFault 395 #define OpcUaId_SessionlessInvokeRequestType 15901 #define OpcUaId_SessionlessInvokeResponseType 20999 #define OpcUaId_FindServersRequest 420 #define OpcUaId_FindServersResponse 423 #define OpcUaId_ServerOnNetwork 12189 #define OpcUaId_FindServersOnNetworkRequest 12190 #define OpcUaId_FindServersOnNetworkResponse 12191 #define OpcUaId_ApplicationInstanceCertificate 311 #define OpcUaId_MessageSecurityMode 302 #define OpcUaId_UserTokenType 303 #define OpcUaId_UserTokenPolicy 304 #define OpcUaId_EndpointDescription 312 #define OpcUaId_GetEndpointsRequest 426 #define OpcUaId_GetEndpointsResponse 429 #define OpcUaId_RegisteredServer 432 #define OpcUaId_RegisterServerRequest 435 #define OpcUaId_RegisterServerResponse 438 #define OpcUaId_DiscoveryConfiguration 12890 #define OpcUaId_MdnsDiscoveryConfiguration 12891 #define OpcUaId_RegisterServer2Request 12193 #define OpcUaId_RegisterServer2Response 12194 #define OpcUaId_SecurityTokenRequestType 315 #define OpcUaId_ChannelSecurityToken 441 #define OpcUaId_OpenSecureChannelRequest 444 #define OpcUaId_OpenSecureChannelResponse 447 #define OpcUaId_CloseSecureChannelRequest 450 #define OpcUaId_CloseSecureChannelResponse 453 #define OpcUaId_SignedSoftwareCertificate 344 #define OpcUaId_SessionAuthenticationToken 388 #define OpcUaId_SignatureData 456 #define OpcUaId_CreateSessionRequest 459 #define OpcUaId_CreateSessionResponse 462 #define OpcUaId_UserIdentityToken 316 #define OpcUaId_AnonymousIdentityToken 319 #define OpcUaId_UserNameIdentityToken 322 #define OpcUaId_X509IdentityToken 325 #define OpcUaId_IssuedIdentityToken 938 #define OpcUaId_RsaEncryptedSecret 17545 #define OpcUaId_EccEncryptedSecret 17546 #define OpcUaId_ActivateSessionRequest 465 #define OpcUaId_ActivateSessionResponse 468 #define OpcUaId_CloseSessionRequest 471 #define OpcUaId_CloseSessionResponse 474 #define OpcUaId_CancelRequest 477 #define OpcUaId_CancelResponse 480 #define OpcUaId_NodeAttributesMask 348 #define OpcUaId_NodeAttributes 349 #define OpcUaId_ObjectAttributes 352 #define OpcUaId_VariableAttributes 355 #define OpcUaId_MethodAttributes 358 #define OpcUaId_ObjectTypeAttributes 361 #define OpcUaId_VariableTypeAttributes 364 #define OpcUaId_ReferenceTypeAttributes 367 #define OpcUaId_DataTypeAttributes 370 #define OpcUaId_ViewAttributes 373 #define OpcUaId_GenericAttributeValue 17606 #define OpcUaId_GenericAttributes 17607 #define OpcUaId_AddNodesItem 376 #define OpcUaId_AddNodesResult 483 #define OpcUaId_AddNodesRequest 486 #define OpcUaId_AddNodesResponse 489 #define OpcUaId_AddReferencesItem 379 #define OpcUaId_AddReferencesRequest 492 #define OpcUaId_AddReferencesResponse 495 #define OpcUaId_DeleteNodesItem 382 #define OpcUaId_DeleteNodesRequest 498 #define OpcUaId_DeleteNodesResponse 501 #define OpcUaId_DeleteReferencesItem 385 #define OpcUaId_DeleteReferencesRequest 504 #define OpcUaId_DeleteReferencesResponse 507 #define OpcUaId_AttributeWriteMask 347 #define OpcUaId_BrowseDirection 510 #define OpcUaId_ViewDescription 511 #define OpcUaId_BrowseDescription 514 #define OpcUaId_BrowseResultMask 517 #define OpcUaId_ReferenceDescription 518 #define OpcUaId_ContinuationPoint 521 #define OpcUaId_BrowseResult 522 #define OpcUaId_BrowseRequest 525 #define OpcUaId_BrowseResponse 528 #define OpcUaId_BrowseNextRequest 531 #define OpcUaId_BrowseNextResponse 534 #define OpcUaId_RelativePathElement 537 #define OpcUaId_RelativePath 540 #define OpcUaId_BrowsePath 543 #define OpcUaId_BrowsePathTarget 546 #define OpcUaId_BrowsePathResult 549 #define OpcUaId_TranslateBrowsePathsToNodeIdsRequest 552 #define OpcUaId_TranslateBrowsePathsToNodeIdsResponse 555 #define OpcUaId_RegisterNodesRequest 558 #define OpcUaId_RegisterNodesResponse 561 #define OpcUaId_UnregisterNodesRequest 564 #define OpcUaId_UnregisterNodesResponse 567 #define OpcUaId_Counter 289 #define OpcUaId_NumericRange 291 #define OpcUaId_Time 292 #define OpcUaId_Date 293 #define OpcUaId_EndpointConfiguration 331 #define OpcUaId_QueryDataDescription 570 #define OpcUaId_NodeTypeDescription 573 #define OpcUaId_FilterOperator 576 #define OpcUaId_QueryDataSet 577 #define OpcUaId_NodeReference 580 #define OpcUaId_ContentFilterElement 583 #define OpcUaId_ContentFilter 586 #define OpcUaId_FilterOperand 589 #define OpcUaId_ElementOperand 592 #define OpcUaId_LiteralOperand 595 #define OpcUaId_AttributeOperand 598 #define OpcUaId_SimpleAttributeOperand 601 #define OpcUaId_ContentFilterElementResult 604 #define OpcUaId_ContentFilterResult 607 #define OpcUaId_ParsingResult 610 #define OpcUaId_QueryFirstRequest 613 #define OpcUaId_QueryFirstResponse 616 #define OpcUaId_QueryNextRequest 619 #define OpcUaId_QueryNextResponse 622 #define OpcUaId_TimestampsToReturn 625 #define OpcUaId_ReadValueId 626 #define OpcUaId_ReadRequest 629 #define OpcUaId_ReadResponse 632 #define OpcUaId_HistoryReadValueId 635 #define OpcUaId_HistoryReadResult 638 #define OpcUaId_HistoryReadDetails 641 #define OpcUaId_ReadEventDetails 644 #define OpcUaId_ReadRawModifiedDetails 647 #define OpcUaId_ReadProcessedDetails 650 #define OpcUaId_ReadAtTimeDetails 653 #define OpcUaId_ReadAnnotationDataDetails 23497 #define OpcUaId_HistoryData 656 #define OpcUaId_ModificationInfo 11216 #define OpcUaId_HistoryModifiedData 11217 #define OpcUaId_HistoryEvent 659 #define OpcUaId_HistoryReadRequest 662 #define OpcUaId_HistoryReadResponse 665 #define OpcUaId_WriteValue 668 #define OpcUaId_WriteRequest 671 #define OpcUaId_WriteResponse 674 #define OpcUaId_HistoryUpdateDetails 677 #define OpcUaId_HistoryUpdateType 11234 #define OpcUaId_PerformUpdateType 11293 #define OpcUaId_UpdateDataDetails 680 #define OpcUaId_UpdateStructureDataDetails 11295 #define OpcUaId_UpdateEventDetails 683 #define OpcUaId_DeleteRawModifiedDetails 686 #define OpcUaId_DeleteAtTimeDetails 689 #define OpcUaId_DeleteEventDetails 692 #define OpcUaId_HistoryUpdateResult 695 #define OpcUaId_HistoryUpdateRequest 698 #define OpcUaId_HistoryUpdateResponse 701 #define OpcUaId_CallMethodRequest 704 #define OpcUaId_CallMethodResult 707 #define OpcUaId_CallRequest 710 #define OpcUaId_CallResponse 713 #define OpcUaId_MonitoringMode 716 #define OpcUaId_DataChangeTrigger 717 #define OpcUaId_DeadbandType 718 #define OpcUaId_MonitoringFilter 719 #define OpcUaId_DataChangeFilter 722 #define OpcUaId_EventFilter 725 #define OpcUaId_AggregateConfiguration 948 #define OpcUaId_AggregateFilter 728 #define OpcUaId_MonitoringFilterResult 731 #define OpcUaId_EventFilterResult 734 #define OpcUaId_AggregateFilterResult 737 #define OpcUaId_MonitoringParameters 740 #define OpcUaId_MonitoredItemCreateRequest 743 #define OpcUaId_MonitoredItemCreateResult 746 #define OpcUaId_CreateMonitoredItemsRequest 749 #define OpcUaId_CreateMonitoredItemsResponse 752 #define OpcUaId_MonitoredItemModifyRequest 755 #define OpcUaId_MonitoredItemModifyResult 758 #define OpcUaId_ModifyMonitoredItemsRequest 761 #define OpcUaId_ModifyMonitoredItemsResponse 764 #define OpcUaId_SetMonitoringModeRequest 767 #define OpcUaId_SetMonitoringModeResponse 770 #define OpcUaId_SetTriggeringRequest 773 #define OpcUaId_SetTriggeringResponse 776 #define OpcUaId_DeleteMonitoredItemsRequest 779 #define OpcUaId_DeleteMonitoredItemsResponse 782 #define OpcUaId_CreateSubscriptionRequest 785 #define OpcUaId_CreateSubscriptionResponse 788 #define OpcUaId_ModifySubscriptionRequest 791 #define OpcUaId_ModifySubscriptionResponse 794 #define OpcUaId_SetPublishingModeRequest 797 #define OpcUaId_SetPublishingModeResponse 800 #define OpcUaId_NotificationMessage 803 #define OpcUaId_NotificationData 945 #define OpcUaId_DataChangeNotification 809 #define OpcUaId_MonitoredItemNotification 806 #define OpcUaId_EventNotificationList 914 #define OpcUaId_EventFieldList 917 #define OpcUaId_HistoryEventFieldList 920 #define OpcUaId_StatusChangeNotification 818 #define OpcUaId_SubscriptionAcknowledgement 821 #define OpcUaId_PublishRequest 824 #define OpcUaId_PublishResponse 827 #define OpcUaId_RepublishRequest 830 #define OpcUaId_RepublishResponse 833 #define OpcUaId_TransferResult 836 #define OpcUaId_TransferSubscriptionsRequest 839 #define OpcUaId_TransferSubscriptionsResponse 842 #define OpcUaId_DeleteSubscriptionsRequest 845 #define OpcUaId_DeleteSubscriptionsResponse 848 #define OpcUaId_BuildInfo 338 #define OpcUaId_RedundancySupport 851 #define OpcUaId_ServerState 852 #define OpcUaId_RedundantServerDataType 853 #define OpcUaId_EndpointUrlListDataType 11943 #define OpcUaId_NetworkGroupDataType 11944 #define OpcUaId_SamplingIntervalDiagnosticsDataType 856 #define OpcUaId_ServerDiagnosticsSummaryDataType 859 #define OpcUaId_ServerStatusDataType 862 #define OpcUaId_SessionDiagnosticsDataType 865 #define OpcUaId_SessionSecurityDiagnosticsDataType 868 #define OpcUaId_ServiceCounterDataType 871 #define OpcUaId_StatusResult 299 #define OpcUaId_SubscriptionDiagnosticsDataType 874 #define OpcUaId_ModelChangeStructureVerbMask 11941 #define OpcUaId_ModelChangeStructureDataType 877 #define OpcUaId_SemanticChangeStructureDataType 897 #define OpcUaId_Range 884 #define OpcUaId_EUInformation 887 #define OpcUaId_AxisScaleEnumeration 12077 #define OpcUaId_ComplexNumberType 12171 #define OpcUaId_DoubleComplexNumberType 12172 #define OpcUaId_AxisInformation 12079 #define OpcUaId_XVType 12080 #define OpcUaId_ProgramDiagnosticDataType 894 #define OpcUaId_ProgramDiagnostic2DataType 15396 #define OpcUaId_Annotation 891 #define OpcUaId_ExceptionDeviationFormat 890 /*============================================================================ * Method Identifiers *===========================================================================*/ #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Open 15971 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Close 15974 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Read 15976 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Write 15979 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_GetPosition 15981 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_SetPosition 15984 #define OpcUaId_ServerType_ServerCapabilities_RoleSet_AddRole 16290 #define OpcUaId_ServerType_ServerCapabilities_RoleSet_RemoveRole 16293 #define OpcUaId_ServerType_GetMonitoredItems 11489 #define OpcUaId_ServerType_ResendData 12871 #define OpcUaId_ServerType_SetSubscriptionDurable 12746 #define OpcUaId_ServerType_RequestServerStateChange 12883 #define OpcUaId_ServerCapabilitiesType_RoleSet_AddRole 16296 #define OpcUaId_ServerCapabilitiesType_RoleSet_RemoveRole 16299 #define OpcUaId_FileType_Open 11580 #define OpcUaId_FileType_Close 11583 #define OpcUaId_FileType_Read 11585 #define OpcUaId_FileType_Write 11588 #define OpcUaId_FileType_GetPosition 11590 #define OpcUaId_FileType_SetPosition 11593 #define OpcUaId_AddressSpaceFileType_ExportNamespace 11615 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Open 11629 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Close 11632 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Read 11634 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Write 11637 #define OpcUaId_NamespaceMetadataType_NamespaceFile_GetPosition 11639 #define OpcUaId_NamespaceMetadataType_NamespaceFile_SetPosition 11642 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Open 11659 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Close 11662 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Read 11664 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Write 11667 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_GetPosition 11669 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_SetPosition 11672 #define OpcUaId_Server_ServerCapabilities_RoleSet_AddRole 16301 #define OpcUaId_Server_ServerCapabilities_RoleSet_RemoveRole 16304 #define OpcUaId_Server_GetMonitoredItems 11492 #define OpcUaId_Server_ResendData 12873 #define OpcUaId_Server_SetSubscriptionDurable 12749 #define OpcUaId_Server_RequestServerStateChange 12886 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder_CreateDirectory 13355 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder_CreateFile 13358 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder_DeleteFileSystemObject 17718 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder_MoveOrCopy 13363 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Open 13372 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Close 13375 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Read 13377 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Write 13380 #define OpcUaId_FileDirectoryType_FileName_Placeholder_GetPosition 13382 #define OpcUaId_FileDirectoryType_FileName_Placeholder_SetPosition 13385 #define OpcUaId_FileDirectoryType_CreateDirectory 13387 #define OpcUaId_FileDirectoryType_CreateFile 13390 #define OpcUaId_FileDirectoryType_DeleteFileSystemObject 13393 #define OpcUaId_FileDirectoryType_MoveOrCopy 13395 #define OpcUaId_FileSystem_FileDirectoryName_Placeholder_CreateDirectory 16316 #define OpcUaId_FileSystem_FileDirectoryName_Placeholder_CreateFile 16319 #define OpcUaId_FileSystem_FileDirectoryName_Placeholder_DeleteFileSystemObject 17722 #define OpcUaId_FileSystem_FileDirectoryName_Placeholder_MoveOrCopy 16324 #define OpcUaId_FileSystem_FileName_Placeholder_Open 16333 #define OpcUaId_FileSystem_FileName_Placeholder_Close 16336 #define OpcUaId_FileSystem_FileName_Placeholder_Read 16338 #define OpcUaId_FileSystem_FileName_Placeholder_Write 16341 #define OpcUaId_FileSystem_FileName_Placeholder_GetPosition 16343 #define OpcUaId_FileSystem_FileName_Placeholder_SetPosition 16346 #define OpcUaId_FileSystem_CreateDirectory 16348 #define OpcUaId_FileSystem_CreateFile 16351 #define OpcUaId_FileSystem_DeleteFileSystemObject 16354 #define OpcUaId_FileSystem_MoveOrCopy 16356 #define OpcUaId_TemporaryFileTransferType_GenerateFileForRead 15746 #define OpcUaId_TemporaryFileTransferType_GenerateFileForWrite 15749 #define OpcUaId_TemporaryFileTransferType_CloseAndCommit 15751 #define OpcUaId_TemporaryFileTransferType_TransferState_Placeholder_Reset 15794 #define OpcUaId_FileTransferStateMachineType_Reset 15843 #define OpcUaId_RoleSetType_AddRole 15997 #define OpcUaId_RoleSetType_RemoveRole 16000 #define OpcUaId_RoleType_AddIdentity 15624 #define OpcUaId_RoleType_RemoveIdentity 15626 #define OpcUaId_RoleType_AddApplication 16176 #define OpcUaId_RoleType_RemoveApplication 16178 #define OpcUaId_RoleType_AddEndpoint 16180 #define OpcUaId_RoleType_RemoveEndpoint 16182 #define OpcUaId_WellKnownRole_Anonymous_AddIdentity 15648 #define OpcUaId_WellKnownRole_Anonymous_RemoveIdentity 15650 #define OpcUaId_WellKnownRole_Anonymous_AddApplication 16195 #define OpcUaId_WellKnownRole_Anonymous_RemoveApplication 16197 #define OpcUaId_WellKnownRole_Anonymous_AddEndpoint 16199 #define OpcUaId_WellKnownRole_Anonymous_RemoveEndpoint 16201 #define OpcUaId_WellKnownRole_AuthenticatedUser_AddIdentity 15660 #define OpcUaId_WellKnownRole_AuthenticatedUser_RemoveIdentity 15662 #define OpcUaId_WellKnownRole_AuthenticatedUser_AddApplication 16206 #define OpcUaId_WellKnownRole_AuthenticatedUser_RemoveApplication 16208 #define OpcUaId_WellKnownRole_AuthenticatedUser_AddEndpoint 16210 #define OpcUaId_WellKnownRole_AuthenticatedUser_RemoveEndpoint 16212 #define OpcUaId_WellKnownRole_Observer_AddIdentity 15672 #define OpcUaId_WellKnownRole_Observer_RemoveIdentity 15674 #define OpcUaId_WellKnownRole_Observer_AddApplication 16217 #define OpcUaId_WellKnownRole_Observer_RemoveApplication 16219 #define OpcUaId_WellKnownRole_Observer_AddEndpoint 16221 #define OpcUaId_WellKnownRole_Observer_RemoveEndpoint 16223 #define OpcUaId_WellKnownRole_Operator_AddIdentity 15684 #define OpcUaId_WellKnownRole_Operator_RemoveIdentity 15686 #define OpcUaId_WellKnownRole_Operator_AddApplication 16228 #define OpcUaId_WellKnownRole_Operator_RemoveApplication 16230 #define OpcUaId_WellKnownRole_Operator_AddEndpoint 16232 #define OpcUaId_WellKnownRole_Operator_RemoveEndpoint 16234 #define OpcUaId_WellKnownRole_Engineer_AddIdentity 16041 #define OpcUaId_WellKnownRole_Engineer_RemoveIdentity 16043 #define OpcUaId_WellKnownRole_Engineer_AddApplication 16239 #define OpcUaId_WellKnownRole_Engineer_RemoveApplication 16241 #define OpcUaId_WellKnownRole_Engineer_AddEndpoint 16243 #define OpcUaId_WellKnownRole_Engineer_RemoveEndpoint 16245 #define OpcUaId_WellKnownRole_Supervisor_AddIdentity 15696 #define OpcUaId_WellKnownRole_Supervisor_RemoveIdentity 15698 #define OpcUaId_WellKnownRole_Supervisor_AddApplication 16250 #define OpcUaId_WellKnownRole_Supervisor_RemoveApplication 16252 #define OpcUaId_WellKnownRole_Supervisor_AddEndpoint 16254 #define OpcUaId_WellKnownRole_Supervisor_RemoveEndpoint 16256 #define OpcUaId_WellKnownRole_ConfigureAdmin_AddIdentity 15720 #define OpcUaId_WellKnownRole_ConfigureAdmin_RemoveIdentity 15722 #define OpcUaId_WellKnownRole_ConfigureAdmin_AddApplication 16272 #define OpcUaId_WellKnownRole_ConfigureAdmin_RemoveApplication 16274 #define OpcUaId_WellKnownRole_ConfigureAdmin_AddEndpoint 16276 #define OpcUaId_WellKnownRole_ConfigureAdmin_RemoveEndpoint 16278 #define OpcUaId_WellKnownRole_SecurityAdmin_AddIdentity 15708 #define OpcUaId_WellKnownRole_SecurityAdmin_RemoveIdentity 15710 #define OpcUaId_WellKnownRole_SecurityAdmin_AddApplication 16261 #define OpcUaId_WellKnownRole_SecurityAdmin_RemoveApplication 16263 #define OpcUaId_WellKnownRole_SecurityAdmin_AddEndpoint 16265 #define OpcUaId_WellKnownRole_SecurityAdmin_RemoveEndpoint 16267 #define OpcUaId_ConditionType_Disable 9028 #define OpcUaId_ConditionType_Enable 9027 #define OpcUaId_ConditionType_AddComment 9029 #define OpcUaId_ConditionType_ConditionRefresh 3875 #define OpcUaId_ConditionType_ConditionRefresh2 12912 #define OpcUaId_DialogConditionType_Respond 9069 #define OpcUaId_AcknowledgeableConditionType_Acknowledge 9111 #define OpcUaId_AcknowledgeableConditionType_Confirm 9113 #define OpcUaId_AlarmConditionType_ShelvingState_TimedShelve 9213 #define OpcUaId_AlarmConditionType_ShelvingState_Unshelve 9211 #define OpcUaId_AlarmConditionType_ShelvingState_OneShotShelve 9212 #define OpcUaId_AlarmConditionType_Silence 16402 #define OpcUaId_AlarmConditionType_Suppress 16403 #define OpcUaId_AlarmConditionType_Unsuppress 17868 #define OpcUaId_AlarmConditionType_RemoveFromService 17869 #define OpcUaId_AlarmConditionType_PlaceInService 17870 #define OpcUaId_AlarmConditionType_Reset 18199 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Disable 16439 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Enable 16440 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_AddComment 16441 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Acknowledge 16461 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ShelvingState_TimedShelve 16517 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ShelvingState_Unshelve 16515 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ShelvingState_OneShotShelve 16516 #define OpcUaId_ShelvedStateMachineType_TimedShelve 2949 #define OpcUaId_ShelvedStateMachineType_Unshelve 2947 #define OpcUaId_ShelvedStateMachineType_OneShotShelve 2948 #define OpcUaId_LimitAlarmType_ShelvingState_TimedShelve 9314 #define OpcUaId_LimitAlarmType_ShelvingState_Unshelve 9312 #define OpcUaId_LimitAlarmType_ShelvingState_OneShotShelve 9313 #define OpcUaId_ExclusiveLimitAlarmType_ShelvingState_TimedShelve 9451 #define OpcUaId_ExclusiveLimitAlarmType_ShelvingState_Unshelve 9449 #define OpcUaId_ExclusiveLimitAlarmType_ShelvingState_OneShotShelve 9450 #define OpcUaId_NonExclusiveLimitAlarmType_ShelvingState_TimedShelve 10016 #define OpcUaId_NonExclusiveLimitAlarmType_ShelvingState_Unshelve 10014 #define OpcUaId_NonExclusiveLimitAlarmType_ShelvingState_OneShotShelve 10015 #define OpcUaId_NonExclusiveLevelAlarmType_ShelvingState_TimedShelve 10170 #define OpcUaId_NonExclusiveLevelAlarmType_ShelvingState_Unshelve 10168 #define OpcUaId_NonExclusiveLevelAlarmType_ShelvingState_OneShotShelve 10169 #define OpcUaId_ExclusiveLevelAlarmType_ShelvingState_TimedShelve 9592 #define OpcUaId_ExclusiveLevelAlarmType_ShelvingState_Unshelve 9590 #define OpcUaId_ExclusiveLevelAlarmType_ShelvingState_OneShotShelve 9591 #define OpcUaId_NonExclusiveDeviationAlarmType_ShelvingState_TimedShelve 10478 #define OpcUaId_NonExclusiveDeviationAlarmType_ShelvingState_Unshelve 10476 #define OpcUaId_NonExclusiveDeviationAlarmType_ShelvingState_OneShotShelve 10477 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ShelvingState_TimedShelve 10324 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ShelvingState_Unshelve 10322 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ShelvingState_OneShotShelve 10323 #define OpcUaId_ExclusiveDeviationAlarmType_ShelvingState_TimedShelve 9874 #define OpcUaId_ExclusiveDeviationAlarmType_ShelvingState_Unshelve 9872 #define OpcUaId_ExclusiveDeviationAlarmType_ShelvingState_OneShotShelve 9873 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ShelvingState_TimedShelve 9733 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ShelvingState_Unshelve 9731 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ShelvingState_OneShotShelve 9732 #define OpcUaId_DiscreteAlarmType_ShelvingState_TimedShelve 10633 #define OpcUaId_DiscreteAlarmType_ShelvingState_Unshelve 10631 #define OpcUaId_DiscreteAlarmType_ShelvingState_OneShotShelve 10632 #define OpcUaId_OffNormalAlarmType_ShelvingState_TimedShelve 10747 #define OpcUaId_OffNormalAlarmType_ShelvingState_Unshelve 10745 #define OpcUaId_OffNormalAlarmType_ShelvingState_OneShotShelve 10746 #define OpcUaId_SystemOffNormalAlarmType_ShelvingState_TimedShelve 11846 #define OpcUaId_SystemOffNormalAlarmType_ShelvingState_Unshelve 11844 #define OpcUaId_SystemOffNormalAlarmType_ShelvingState_OneShotShelve 11845 #define OpcUaId_TripAlarmType_ShelvingState_TimedShelve 10861 #define OpcUaId_TripAlarmType_ShelvingState_Unshelve 10859 #define OpcUaId_TripAlarmType_ShelvingState_OneShotShelve 10860 #define OpcUaId_InstrumentDiagnosticAlarmType_ShelvingState_TimedShelve 18453 #define OpcUaId_InstrumentDiagnosticAlarmType_ShelvingState_Unshelve 18455 #define OpcUaId_InstrumentDiagnosticAlarmType_ShelvingState_OneShotShelve 18456 #define OpcUaId_SystemDiagnosticAlarmType_ShelvingState_TimedShelve 18602 #define OpcUaId_SystemDiagnosticAlarmType_ShelvingState_Unshelve 18604 #define OpcUaId_SystemDiagnosticAlarmType_ShelvingState_OneShotShelve 18605 #define OpcUaId_CertificateExpirationAlarmType_ShelvingState_TimedShelve 13320 #define OpcUaId_CertificateExpirationAlarmType_ShelvingState_Unshelve 13318 #define OpcUaId_CertificateExpirationAlarmType_ShelvingState_OneShotShelve 13319 #define OpcUaId_DiscrepancyAlarmType_ShelvingState_TimedShelve 17195 #define OpcUaId_DiscrepancyAlarmType_ShelvingState_Unshelve 17193 #define OpcUaId_DiscrepancyAlarmType_ShelvingState_OneShotShelve 17194 #define OpcUaId_AlarmMetricsType_Reset 18666 #define OpcUaId_ProgramStateMachineType_Start 2426 #define OpcUaId_ProgramStateMachineType_Suspend 2427 #define OpcUaId_ProgramStateMachineType_Resume 2428 #define OpcUaId_ProgramStateMachineType_Halt 2429 #define OpcUaId_ProgramStateMachineType_Reset 2430 #define OpcUaId_TrustListType_OpenWithMasks 12543 #define OpcUaId_TrustListType_CloseAndUpdate 12546 #define OpcUaId_TrustListType_AddCertificate 12548 #define OpcUaId_TrustListType_RemoveCertificate 12550 #define OpcUaId_TrustListOutOfDateAlarmType_ShelvingState_TimedShelve 19403 #define OpcUaId_TrustListOutOfDateAlarmType_ShelvingState_Unshelve 19405 #define OpcUaId_TrustListOutOfDateAlarmType_ShelvingState_OneShotShelve 19406 #define OpcUaId_CertificateGroupType_TrustList_Open 13605 #define OpcUaId_CertificateGroupType_TrustList_Close 13608 #define OpcUaId_CertificateGroupType_TrustList_Read 13610 #define OpcUaId_CertificateGroupType_TrustList_Write 13613 #define OpcUaId_CertificateGroupType_TrustList_GetPosition 13615 #define OpcUaId_CertificateGroupType_TrustList_SetPosition 13618 #define OpcUaId_CertificateGroupType_TrustList_OpenWithMasks 13621 #define OpcUaId_CertificateGroupType_CertificateExpired_Disable 19483 #define OpcUaId_CertificateGroupType_CertificateExpired_Enable 19484 #define OpcUaId_CertificateGroupType_CertificateExpired_AddComment 19485 #define OpcUaId_CertificateGroupType_CertificateExpired_Acknowledge 19505 #define OpcUaId_CertificateGroupType_CertificateExpired_ShelvingState_TimedShelve 20097 #define OpcUaId_CertificateGroupType_CertificateExpired_ShelvingState_Unshelve 20099 #define OpcUaId_CertificateGroupType_CertificateExpired_ShelvingState_OneShotShelve 20100 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Disable 20176 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Enable 20177 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_AddComment 20178 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Acknowledge 20198 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ShelvingState_TimedShelve 20245 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ShelvingState_Unshelve 20247 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ShelvingState_OneShotShelve 20248 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Open 13821 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Close 13824 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Read 13826 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Write 13829 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_GetPosition 13831 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_SetPosition 13834 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_OpenWithMasks 13837 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Disable 20324 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Enable 20325 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_AddComment 20326 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Acknowledge 20346 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ShelvingState_TimedShelve 20393 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ShelvingState_Unshelve 20395 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ShelvingState_OneShotShelve 20396 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Disable 20474 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Enable 20475 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_AddComment 20476 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Acknowledge 20496 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_TimedShelve 20543 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_Unshelve 20545 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_OneShotShelve 20546 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Open 13855 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Close 13858 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Read 13860 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Write 13863 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_GetPosition 13865 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_SetPosition 13868 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_OpenWithMasks 13871 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Disable 20622 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Enable 20623 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_AddComment 20624 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Acknowledge 20644 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ShelvingState_TimedShelve 20691 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ShelvingState_Unshelve 20693 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ShelvingState_OneShotShelve 20694 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Disable 20770 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Enable 20771 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_AddComment 20772 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Acknowledge 20792 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_TimedShelve 20839 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_Unshelve 20841 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_OneShotShelve 20842 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Open 13889 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Close 13892 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Read 13894 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Write 13897 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_GetPosition 13899 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_SetPosition 13902 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_OpenWithMasks 13905 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Disable 20918 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Enable 20919 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_AddComment 20920 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Acknowledge 20940 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ShelvingState_TimedShelve 20987 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ShelvingState_Unshelve 20989 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ShelvingState_OneShotShelve 20990 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Disable 21269 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Enable 21270 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_AddComment 21271 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Acknowledge 21291 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_TimedShelve 21338 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_Unshelve 21340 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_OneShotShelve 21341 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Open 13923 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Close 13926 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Read 13928 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Write 13931 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_GetPosition 13933 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_SetPosition 13936 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_OpenWithMasks 13939 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Disable 21417 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Enable 21418 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_AddComment 21419 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Acknowledge 21439 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ShelvingState_TimedShelve 21486 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ShelvingState_Unshelve 21488 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ShelvingState_OneShotShelve 21489 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Disable 21565 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Enable 21566 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_AddComment 21567 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Acknowledge 21587 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ShelvingState_TimedShelve 21634 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ShelvingState_Unshelve 21636 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ShelvingState_OneShotShelve 21637 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Open 13958 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Close 13961 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Read 13963 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Write 13966 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_GetPosition 13968 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_SetPosition 13971 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_OpenWithMasks 13974 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Disable 21713 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Enable 21714 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_AddComment 21715 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Acknowledge 21735 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_TimedShelve 21782 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_Unshelve 21784 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_OneShotShelve 21785 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Disable 21861 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Enable 21862 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_AddComment 21863 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Acknowledge 21883 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_TimedShelve 21930 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_Unshelve 21932 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_OneShotShelve 21933 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Open 13992 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Close 13995 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Read 13997 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Write 14000 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_GetPosition 14002 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_SetPosition 14005 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_OpenWithMasks 14008 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Disable 22009 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Enable 22010 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_AddComment 22011 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Acknowledge 22031 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_TimedShelve 22078 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_Unshelve 22080 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_OneShotShelve 22081 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Disable 22157 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Enable 22158 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_AddComment 22159 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Acknowledge 22179 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_TimedShelve 22226 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_Unshelve 22228 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_OneShotShelve 22229 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Open 14026 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Close 14029 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Read 14031 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Write 14034 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_GetPosition 14036 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_SetPosition 14039 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_OpenWithMasks 14042 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Disable 22305 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Enable 22306 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_AddComment 22307 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Acknowledge 22327 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_TimedShelve 22374 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_Unshelve 22376 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_OneShotShelve 22377 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Disable 22453 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Enable 22454 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_AddComment 22455 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Acknowledge 22475 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_TimedShelve 22522 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_Unshelve 22524 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_OneShotShelve 22525 #define OpcUaId_ServerConfigurationType_UpdateCertificate 12616 #define OpcUaId_ServerConfigurationType_ApplyChanges 12734 #define OpcUaId_ServerConfigurationType_CreateSigningRequest 12731 #define OpcUaId_ServerConfigurationType_GetRejectedList 12775 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Open 12647 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Close 12650 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Read 12652 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Write 12655 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_GetPosition 12657 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_SetPosition 12660 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_OpenWithMasks 12663 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_CloseAndUpdate 12666 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_AddCertificate 12668 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_RemoveCertificate 12670 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Disable 22601 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Enable 22602 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_AddComment 22603 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Acknowledge 22623 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_TimedShelve 22670 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_Unshelve 22672 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_OneShotShelve 22673 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Disable 22749 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Enable 22750 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_AddComment 22751 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Acknowledge 22771 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_TimedShelve 22818 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_Unshelve 22820 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_OneShotShelve 22821 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Open 14095 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Close 14098 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Read 14100 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Write 14103 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_GetPosition 14105 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_SetPosition 14108 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_OpenWithMasks 14111 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_CloseAndUpdate 14114 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_AddCertificate 14117 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_RemoveCertificate 14119 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Disable 22897 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Enable 22898 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_AddComment 22899 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Acknowledge 22919 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_TimedShelve 22966 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_Unshelve 22968 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_OneShotShelve 22969 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Disable 23045 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Enable 23046 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_AddComment 23047 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Acknowledge 23067 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_TimedShelve 23114 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_Unshelve 23116 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_OneShotShelve 23117 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Open 14129 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Close 14132 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Read 14134 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Write 14137 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_GetPosition 14139 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_SetPosition 14142 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_OpenWithMasks 14145 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_CloseAndUpdate 14148 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_AddCertificate 14151 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_RemoveCertificate 14153 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Disable 23193 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Enable 23194 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_AddComment 23195 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Acknowledge 23215 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_TimedShelve 23262 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_Unshelve 23264 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_OneShotShelve 23265 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Disable 23341 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Enable 23342 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_AddComment 23343 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Acknowledge 23363 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_TimedShelve 23410 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_Unshelve 23412 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_OneShotShelve 23413 #define OpcUaId_ServerConfiguration_UpdateCertificate 13737 #define OpcUaId_ServerConfiguration_ApplyChanges 12740 #define OpcUaId_ServerConfiguration_CreateSigningRequest 12737 #define OpcUaId_ServerConfiguration_GetRejectedList 12777 #define OpcUaId_KeyCredentialConfigurationFolderType_CreateCredential 17522 #define OpcUaId_KeyCredentialConfigurationType_GetEncryptingKey 17534 #define OpcUaId_KeyCredentialConfigurationType_UpdateCredential 18006 #define OpcUaId_KeyCredentialConfigurationType_DeleteCredential 18008 #define OpcUaId_PubSubKeyServiceType_GetSecurityKeys 15907 #define OpcUaId_PubSubKeyServiceType_GetSecurityGroup 15910 #define OpcUaId_PubSubKeyServiceType_SecurityGroups_AddSecurityGroup 15914 #define OpcUaId_PubSubKeyServiceType_SecurityGroups_RemoveSecurityGroup 15917 #define OpcUaId_SecurityGroupFolderType_SecurityGroupFolderName_Placeholder_AddSecurityGroup 15454 #define OpcUaId_SecurityGroupFolderType_SecurityGroupFolderName_Placeholder_RemoveSecurityGroup 15457 #define OpcUaId_SecurityGroupFolderType_AddSecurityGroup 15461 #define OpcUaId_SecurityGroupFolderType_RemoveSecurityGroup 15464 #define OpcUaId_PublishSubscribeType_SecurityGroups_AddSecurityGroup 15435 #define OpcUaId_PublishSubscribeType_SecurityGroups_RemoveSecurityGroup 15438 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Reset 18679 #define OpcUaId_PublishSubscribeType_SetSecurityKeys 17296 #define OpcUaId_PublishSubscribeType_AddConnection 16598 #define OpcUaId_PublishSubscribeType_RemoveConnection 14432 #define OpcUaId_PublishSubscribeType_Diagnostics_Reset 18727 #define OpcUaId_PublishSubscribe_GetSecurityKeys 15215 #define OpcUaId_PublishSubscribe_GetSecurityGroup 15440 #define OpcUaId_PublishSubscribe_SecurityGroups_AddSecurityGroup 15444 #define OpcUaId_PublishSubscribe_SecurityGroups_RemoveSecurityGroup 15447 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Reset 16076 #define OpcUaId_PublishSubscribe_AddConnection 17366 #define OpcUaId_PublishSubscribe_RemoveConnection 17369 #define OpcUaId_PublishSubscribe_Diagnostics_Reset 17421 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Reset 18883 #define OpcUaId_PublishedDataSetType_ExtensionFields_AddExtensionField 15482 #define OpcUaId_PublishedDataSetType_ExtensionFields_RemoveExtensionField 15485 #define OpcUaId_ExtensionFieldsType_AddExtensionField 15491 #define OpcUaId_ExtensionFieldsType_RemoveExtensionField 15494 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Reset 18942 #define OpcUaId_PublishedDataItemsType_ExtensionFields_AddExtensionField 15504 #define OpcUaId_PublishedDataItemsType_ExtensionFields_RemoveExtensionField 15507 #define OpcUaId_PublishedDataItemsType_AddVariables 14555 #define OpcUaId_PublishedDataItemsType_RemoveVariables 14558 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Reset 19001 #define OpcUaId_PublishedEventsType_ExtensionFields_AddExtensionField 15512 #define OpcUaId_PublishedEventsType_ExtensionFields_RemoveExtensionField 15515 #define OpcUaId_PublishedEventsType_ModifyFieldSelection 15052 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedDataItems 14479 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedEvents 14482 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedDataItemsTemplate 16842 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedEventsTemplate 16881 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_RemovePublishedDataSet 14485 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddDataSetFolder 16884 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_RemoveDataSetFolder 16923 #define OpcUaId_DataSetFolderType_PublishedDataSetName_Placeholder_ExtensionFields_AddExtensionField 15474 #define OpcUaId_DataSetFolderType_PublishedDataSetName_Placeholder_ExtensionFields_RemoveExtensionField 15477 #define OpcUaId_DataSetFolderType_AddPublishedDataItems 14493 #define OpcUaId_DataSetFolderType_AddPublishedEvents 14496 #define OpcUaId_DataSetFolderType_AddPublishedDataItemsTemplate 16935 #define OpcUaId_DataSetFolderType_AddPublishedEventsTemplate 16960 #define OpcUaId_DataSetFolderType_RemovePublishedDataSet 14499 #define OpcUaId_DataSetFolderType_AddDataSetFolder 16994 #define OpcUaId_DataSetFolderType_RemoveDataSetFolder 16997 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Reset 19119 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Reset 19188 #define OpcUaId_PubSubConnectionType_Diagnostics_Reset 19253 #define OpcUaId_PubSubConnectionType_AddWriterGroup 17427 #define OpcUaId_PubSubConnectionType_AddReaderGroup 17465 #define OpcUaId_PubSubConnectionType_RemoveGroup 14225 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Reset 17765 #define OpcUaId_WriterGroupType_Diagnostics_Reset 17824 #define OpcUaId_WriterGroupType_AddDataSetWriter 17969 #define OpcUaId_WriterGroupType_RemoveDataSetWriter 17992 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Reset 18104 #define OpcUaId_ReaderGroupType_Diagnostics_Reset 21027 #define OpcUaId_ReaderGroupType_AddDataSetReader 21082 #define OpcUaId_ReaderGroupType_RemoveDataSetReader 21085 #define OpcUaId_DataSetWriterType_Diagnostics_Reset 19562 #define OpcUaId_DataSetReaderType_Diagnostics_Reset 19621 #define OpcUaId_DataSetReaderType_CreateTargetVariables 17386 #define OpcUaId_DataSetReaderType_CreateDataSetMirror 17389 #define OpcUaId_TargetVariablesType_AddTargetVariables 15115 #define OpcUaId_TargetVariablesType_RemoveTargetVariables 15118 #define OpcUaId_PubSubStatusType_Enable 14645 #define OpcUaId_PubSubStatusType_Disable 14646 #define OpcUaId_PubSubDiagnosticsType_Reset 19689 #define OpcUaId_AliasNameCategoryType_SubAliasNameCategories_Placeholder_FindAlias 23459 #define OpcUaId_AliasNameCategoryType_FindAlias 23462 #define OpcUaId_Aliases_SubAliasNameCategories_Placeholder_FindAlias 23473 #define OpcUaId_Aliases_FindAlias 23476 #define OpcUaId_Tags_SubAliasNameCategories_Placeholder_FindAlias 23482 #define OpcUaId_Tags_FindAlias 23485 #define OpcUaId_Topics_SubAliasNameCategories_Placeholder_FindAlias 23491 #define OpcUaId_Topics_FindAlias 23494 /*============================================================================ * Object Identifiers *===========================================================================*/ #define OpcUaId_DefaultBinary 3062 #define OpcUaId_DefaultXml 3063 #define OpcUaId_ModellingRule_Mandatory 78 #define OpcUaId_ModellingRule_Optional 80 #define OpcUaId_ModellingRule_ExposesItsArray 83 #define OpcUaId_ModellingRule_OptionalPlaceholder 11508 #define OpcUaId_ModellingRule_MandatoryPlaceholder 11510 #define OpcUaId_RootFolder 84 #define OpcUaId_ObjectsFolder 85 #define OpcUaId_TypesFolder 86 #define OpcUaId_ViewsFolder 87 #define OpcUaId_ObjectTypesFolder 88 #define OpcUaId_VariableTypesFolder 89 #define OpcUaId_DataTypesFolder 90 #define OpcUaId_ReferenceTypesFolder 91 #define OpcUaId_XmlSchema_TypeSystem 92 #define OpcUaId_OPCBinarySchema_TypeSystem 93 #define OpcUaId_OPCUANamespaceMetadata 15957 #define OpcUaId_ServerType_ServerCapabilities 2009 #define OpcUaId_ServerType_ServerCapabilities_ModellingRules 3093 #define OpcUaId_ServerType_ServerCapabilities_AggregateFunctions 3094 #define OpcUaId_ServerType_ServerDiagnostics 2010 #define OpcUaId_ServerType_ServerDiagnostics_SessionsDiagnosticsSummary 3111 #define OpcUaId_ServerType_VendorServerInfo 2011 #define OpcUaId_ServerType_ServerRedundancy 2012 #define OpcUaId_ServerType_Namespaces 11527 #define OpcUaId_ServerCapabilitiesType_OperationLimits 11551 #define OpcUaId_ServerCapabilitiesType_ModellingRules 2019 #define OpcUaId_ServerCapabilitiesType_AggregateFunctions 2754 #define OpcUaId_ServerCapabilitiesType_RoleSet 16295 #define OpcUaId_ServerDiagnosticsType_SessionsDiagnosticsSummary 2744 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder 12097 #define OpcUaId_NamespaceMetadataType_NamespaceFile 11624 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder 11646 #define OpcUaId_EventTypesFolder 3048 #define OpcUaId_Server 2253 #define OpcUaId_Server_ServerCapabilities 2268 #define OpcUaId_Server_ServerCapabilities_OperationLimits 11704 #define OpcUaId_Server_ServerCapabilities_ModellingRules 2996 #define OpcUaId_Server_ServerCapabilities_AggregateFunctions 2997 #define OpcUaId_Server_ServerCapabilities_RoleSet 15606 #define OpcUaId_Server_ServerDiagnostics 2274 #define OpcUaId_Server_ServerDiagnostics_SessionsDiagnosticsSummary 3706 #define OpcUaId_Server_VendorServerInfo 2295 #define OpcUaId_Server_ServerRedundancy 2296 #define OpcUaId_Server_Namespaces 11715 #define OpcUaId_HistoryServerCapabilities 11192 #define OpcUaId_HistoryServerCapabilities_AggregateFunctions 11201 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder 13354 #define OpcUaId_FileDirectoryType_FileName_Placeholder 13366 #define OpcUaId_FileSystem 16314 #define OpcUaId_TemporaryFileTransferType_TransferState_Placeholder 15754 #define OpcUaId_FileTransferStateMachineType_Idle 15815 #define OpcUaId_FileTransferStateMachineType_ReadPrepare 15817 #define OpcUaId_FileTransferStateMachineType_ReadTransfer 15819 #define OpcUaId_FileTransferStateMachineType_ApplyWrite 15821 #define OpcUaId_FileTransferStateMachineType_Error 15823 #define OpcUaId_FileTransferStateMachineType_IdleToReadPrepare 15825 #define OpcUaId_FileTransferStateMachineType_ReadPrepareToReadTransfer 15827 #define OpcUaId_FileTransferStateMachineType_ReadTransferToIdle 15829 #define OpcUaId_FileTransferStateMachineType_IdleToApplyWrite 15831 #define OpcUaId_FileTransferStateMachineType_ApplyWriteToIdle 15833 #define OpcUaId_FileTransferStateMachineType_ReadPrepareToError 15835 #define OpcUaId_FileTransferStateMachineType_ReadTransferToError 15837 #define OpcUaId_FileTransferStateMachineType_ApplyWriteToError 15839 #define OpcUaId_FileTransferStateMachineType_ErrorToIdle 15841 #define OpcUaId_RoleSetType_RoleName_Placeholder 15608 #define OpcUaId_WellKnownRole_Anonymous 15644 #define OpcUaId_WellKnownRole_AuthenticatedUser 15656 #define OpcUaId_WellKnownRole_Observer 15668 #define OpcUaId_WellKnownRole_Operator 15680 #define OpcUaId_WellKnownRole_Engineer 16036 #define OpcUaId_WellKnownRole_Supervisor 15692 #define OpcUaId_WellKnownRole_ConfigureAdmin 15716 #define OpcUaId_WellKnownRole_SecurityAdmin 15704 #define OpcUaId_DictionaryEntryType_DictionaryEntryName_Placeholder 17590 #define OpcUaId_DictionaryFolderType_DictionaryFolderName_Placeholder 17592 #define OpcUaId_DictionaryFolderType_DictionaryEntryName_Placeholder 17593 #define OpcUaId_Dictionaries 17594 #define OpcUaId_InterfaceTypes 17708 #define OpcUaId_AlarmConditionType_ShelvingState 9178 #define OpcUaId_AlarmConditionType_FirstInGroup 16398 #define OpcUaId_AlarmConditionType_AlarmGroup_Placeholder 16399 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder 16406 #define OpcUaId_ShelvedStateMachineType_Unshelved 2930 #define OpcUaId_ShelvedStateMachineType_TimedShelved 2932 #define OpcUaId_ShelvedStateMachineType_OneShotShelved 2933 #define OpcUaId_ShelvedStateMachineType_UnshelvedToTimedShelved 2935 #define OpcUaId_ShelvedStateMachineType_UnshelvedToOneShotShelved 2936 #define OpcUaId_ShelvedStateMachineType_TimedShelvedToUnshelved 2940 #define OpcUaId_ShelvedStateMachineType_TimedShelvedToOneShotShelved 2942 #define OpcUaId_ShelvedStateMachineType_OneShotShelvedToUnshelved 2943 #define OpcUaId_ShelvedStateMachineType_OneShotShelvedToTimedShelved 2945 #define OpcUaId_ExclusiveLimitStateMachineType_HighHigh 9329 #define OpcUaId_ExclusiveLimitStateMachineType_High 9331 #define OpcUaId_ExclusiveLimitStateMachineType_Low 9333 #define OpcUaId_ExclusiveLimitStateMachineType_LowLow 9335 #define OpcUaId_ExclusiveLimitStateMachineType_LowLowToLow 9337 #define OpcUaId_ExclusiveLimitStateMachineType_LowToLowLow 9338 #define OpcUaId_ExclusiveLimitStateMachineType_HighHighToHigh 9339 #define OpcUaId_ExclusiveLimitStateMachineType_HighToHighHigh 9340 #define OpcUaId_ExclusiveLimitAlarmType_LimitState 9455 #define OpcUaId_ProgramStateMachineType_FinalResultData 3850 #define OpcUaId_ProgramStateMachineType_Halted 2406 #define OpcUaId_ProgramStateMachineType_Ready 2400 #define OpcUaId_ProgramStateMachineType_Running 2402 #define OpcUaId_ProgramStateMachineType_Suspended 2404 #define OpcUaId_ProgramStateMachineType_HaltedToReady 2408 #define OpcUaId_ProgramStateMachineType_ReadyToRunning 2410 #define OpcUaId_ProgramStateMachineType_RunningToHalted 2412 #define OpcUaId_ProgramStateMachineType_RunningToReady 2414 #define OpcUaId_ProgramStateMachineType_RunningToSuspended 2416 #define OpcUaId_ProgramStateMachineType_SuspendedToRunning 2418 #define OpcUaId_ProgramStateMachineType_SuspendedToHalted 2420 #define OpcUaId_ProgramStateMachineType_SuspendedToReady 2422 #define OpcUaId_ProgramStateMachineType_ReadyToHalted 2424 #define OpcUaId_HistoricalDataConfigurationType_AggregateConfiguration 3059 #define OpcUaId_HistoricalDataConfigurationType_AggregateFunctions 11876 #define OpcUaId_HAConfiguration 11202 #define OpcUaId_HAConfiguration_AggregateConfiguration 11203 #define OpcUaId_HistoryServerCapabilitiesType_AggregateFunctions 11172 #define OpcUaId_CertificateGroupType_TrustList 13599 #define OpcUaId_CertificateGroupType_CertificateExpired 19450 #define OpcUaId_CertificateGroupType_TrustListOutOfDate 20143 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup 13814 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList 13815 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup 13848 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList 13849 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup 13882 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList 13883 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder 13916 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList 13917 #define OpcUaId_ServerConfigurationType_CertificateGroups 13950 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup 13951 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList 13952 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList 13986 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList 14020 #define OpcUaId_ServerConfiguration 12637 #define OpcUaId_ServerConfiguration_CertificateGroups 14053 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup 14156 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList 12642 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup 14088 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList 14089 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup 14122 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList 14123 #define OpcUaId_KeyCredentialConfigurationFolderType_ServiceName_Placeholder 17511 #define OpcUaId_KeyCredentialConfiguration 18155 #define OpcUaId_AuthorizationServices 17732 #define OpcUaId_AggregateFunction_Interpolative 2341 #define OpcUaId_AggregateFunction_Average 2342 #define OpcUaId_AggregateFunction_TimeAverage 2343 #define OpcUaId_AggregateFunction_TimeAverage2 11285 #define OpcUaId_AggregateFunction_Total 2344 #define OpcUaId_AggregateFunction_Total2 11304 #define OpcUaId_AggregateFunction_Minimum 2346 #define OpcUaId_AggregateFunction_Maximum 2347 #define OpcUaId_AggregateFunction_MinimumActualTime 2348 #define OpcUaId_AggregateFunction_MaximumActualTime 2349 #define OpcUaId_AggregateFunction_Range 2350 #define OpcUaId_AggregateFunction_Minimum2 11286 #define OpcUaId_AggregateFunction_Maximum2 11287 #define OpcUaId_AggregateFunction_MinimumActualTime2 11305 #define OpcUaId_AggregateFunction_MaximumActualTime2 11306 #define OpcUaId_AggregateFunction_Range2 11288 #define OpcUaId_AggregateFunction_AnnotationCount 2351 #define OpcUaId_AggregateFunction_Count 2352 #define OpcUaId_AggregateFunction_DurationInStateZero 11307 #define OpcUaId_AggregateFunction_DurationInStateNonZero 11308 #define OpcUaId_AggregateFunction_NumberOfTransitions 2355 #define OpcUaId_AggregateFunction_Start 2357 #define OpcUaId_AggregateFunction_End 2358 #define OpcUaId_AggregateFunction_Delta 2359 #define OpcUaId_AggregateFunction_StartBound 11505 #define OpcUaId_AggregateFunction_EndBound 11506 #define OpcUaId_AggregateFunction_DeltaBounds 11507 #define OpcUaId_AggregateFunction_DurationGood 2360 #define OpcUaId_AggregateFunction_DurationBad 2361 #define OpcUaId_AggregateFunction_PercentGood 2362 #define OpcUaId_AggregateFunction_PercentBad 2363 #define OpcUaId_AggregateFunction_WorstQuality 2364 #define OpcUaId_AggregateFunction_WorstQuality2 11292 #define OpcUaId_AggregateFunction_StandardDeviationSample 11426 #define OpcUaId_AggregateFunction_StandardDeviationPopulation 11427 #define OpcUaId_AggregateFunction_VarianceSample 11428 #define OpcUaId_AggregateFunction_VariancePopulation 11429 #define OpcUaId_PubSubKeyServiceType_SecurityGroups 15913 #define OpcUaId_SecurityGroupFolderType_SecurityGroupFolderName_Placeholder 15453 #define OpcUaId_SecurityGroupFolderType_SecurityGroupName_Placeholder 15459 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder 14417 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Address 14423 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Status 14419 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters 18681 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_LiveValues 18712 #define OpcUaId_PublishSubscribeType_PublishedDataSets 14434 #define OpcUaId_PublishSubscribeType_Status 15844 #define OpcUaId_PublishSubscribeType_Diagnostics 18715 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters 18729 #define OpcUaId_PublishSubscribeType_Diagnostics_LiveValues 18760 #define OpcUaId_PublishSubscribe 14443 #define OpcUaId_PublishSubscribe_SecurityGroups 15443 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Address 15851 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Status 15865 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters 16102 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_LiveValues 17352 #define OpcUaId_PublishSubscribe_PublishedDataSets 17371 #define OpcUaId_PublishSubscribe_Status 17405 #define OpcUaId_PublishSubscribe_Diagnostics 17409 #define OpcUaId_PublishSubscribe_Diagnostics_Counters 17423 #define OpcUaId_PublishSubscribe_Diagnostics_LiveValues 17457 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder 15222 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Status 15223 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters 18885 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_LiveValues 18916 #define OpcUaId_PublishedDataSetType_ExtensionFields 15481 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Status 15231 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters 18944 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_LiveValues 18975 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Status 15239 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters 19003 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_LiveValues 19034 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder 14478 #define OpcUaId_DataSetFolderType_PublishedDataSetName_Placeholder 14487 #define OpcUaId_PubSubConnectionType_Address 14221 #define OpcUaId_PubSubConnectionType_TransportSettings 17203 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder 17310 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Status 17314 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters 19121 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_LiveValues 19152 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder 17325 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Status 17329 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters 19190 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_LiveValues 19221 #define OpcUaId_PubSubConnectionType_Status 14600 #define OpcUaId_PubSubConnectionType_Diagnostics 19241 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters 19255 #define OpcUaId_PubSubConnectionType_Diagnostics_LiveValues 19286 #define OpcUaId_PubSubGroupType_Status 15265 #define OpcUaId_WriterGroupType_TransportSettings 17741 #define OpcUaId_WriterGroupType_MessageSettings 17742 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder 17743 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Status 17749 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters 17767 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_LiveValues 17798 #define OpcUaId_WriterGroupType_Diagnostics 17812 #define OpcUaId_WriterGroupType_Diagnostics_Counters 17826 #define OpcUaId_WriterGroupType_Diagnostics_LiveValues 17858 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder 18076 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Status 18088 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters 18106 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_LiveValues 18137 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_SubscribedDataSet 21006 #define OpcUaId_ReaderGroupType_Diagnostics 21015 #define OpcUaId_ReaderGroupType_Diagnostics_Counters 21029 #define OpcUaId_ReaderGroupType_Diagnostics_LiveValues 21060 #define OpcUaId_ReaderGroupType_TransportSettings 21080 #define OpcUaId_ReaderGroupType_MessageSettings 21081 #define OpcUaId_DataSetWriterType_TransportSettings 15303 #define OpcUaId_DataSetWriterType_MessageSettings 21095 #define OpcUaId_DataSetWriterType_Status 15299 #define OpcUaId_DataSetWriterType_Diagnostics 19550 #define OpcUaId_DataSetWriterType_Diagnostics_Counters 19564 #define OpcUaId_DataSetWriterType_Diagnostics_LiveValues 19595 #define OpcUaId_DataSetReaderType_TransportSettings 15311 #define OpcUaId_DataSetReaderType_MessageSettings 21103 #define OpcUaId_DataSetReaderType_Status 15307 #define OpcUaId_DataSetReaderType_Diagnostics 19609 #define OpcUaId_DataSetReaderType_Diagnostics_Counters 19623 #define OpcUaId_DataSetReaderType_Diagnostics_LiveValues 19654 #define OpcUaId_DataSetReaderType_SubscribedDataSet 15316 #define OpcUaId_PubSubDiagnosticsType_Counters 19691 #define OpcUaId_PubSubDiagnosticsType_LiveValues 19722 #define OpcUaId_PubSubDiagnosticsRootType_LiveValues 19777 #define OpcUaId_PubSubDiagnosticsConnectionType_LiveValues 19831 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters 19848 #define OpcUaId_PubSubDiagnosticsWriterGroupType_LiveValues 19879 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters 19917 #define OpcUaId_PubSubDiagnosticsReaderGroupType_LiveValues 19948 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters 19982 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_LiveValues 20013 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters 20041 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues 20072 #define OpcUaId_DatagramConnectionTransportType_DiscoveryAddress 15072 #define OpcUaId_AliasNameCategoryType_Alias_Placeholder 23457 #define OpcUaId_AliasNameCategoryType_SubAliasNameCategories_Placeholder 23458 #define OpcUaId_Aliases 23470 #define OpcUaId_Tags 23479 #define OpcUaId_Topics 23488 #define OpcUaId_CurrencyUnitType_Encoding_DefaultBinary 23507 #define OpcUaId_CurrencyUnit_Encoding_DefaultBinary 23513 #define OpcUaId_KeyValuePair_Encoding_DefaultBinary 14846 #define OpcUaId_AdditionalParametersType_Encoding_DefaultBinary 17537 #define OpcUaId_EphemeralKeyType_Encoding_DefaultBinary 17549 #define OpcUaId_EndpointType_Encoding_DefaultBinary 15671 #define OpcUaId_RationalNumber_Encoding_DefaultBinary 18815 #define OpcUaId_Vector_Encoding_DefaultBinary 18816 #define OpcUaId_ThreeDVector_Encoding_DefaultBinary 18817 #define OpcUaId_CartesianCoordinates_Encoding_DefaultBinary 18818 #define OpcUaId_ThreeDCartesianCoordinates_Encoding_DefaultBinary 18819 #define OpcUaId_Orientation_Encoding_DefaultBinary 18820 #define OpcUaId_ThreeDOrientation_Encoding_DefaultBinary 18821 #define OpcUaId_Frame_Encoding_DefaultBinary 18822 #define OpcUaId_ThreeDFrame_Encoding_DefaultBinary 18823 #define OpcUaId_IdentityMappingRuleType_Encoding_DefaultBinary 15736 #define OpcUaId_TrustListDataType_Encoding_DefaultBinary 12680 #define OpcUaId_DecimalDataType_Encoding_DefaultBinary 17863 #define OpcUaId_DataTypeSchemaHeader_Encoding_DefaultBinary 15676 #define OpcUaId_DataTypeDescription_Encoding_DefaultBinary 125 #define OpcUaId_StructureDescription_Encoding_DefaultBinary 126 #define OpcUaId_EnumDescription_Encoding_DefaultBinary 127 #define OpcUaId_SimpleTypeDescription_Encoding_DefaultBinary 15421 #define OpcUaId_UABinaryFileDataType_Encoding_DefaultBinary 15422 #define OpcUaId_DataSetMetaDataType_Encoding_DefaultBinary 124 #define OpcUaId_FieldMetaData_Encoding_DefaultBinary 14839 #define OpcUaId_ConfigurationVersionDataType_Encoding_DefaultBinary 14847 #define OpcUaId_PublishedDataSetDataType_Encoding_DefaultBinary 15677 #define OpcUaId_PublishedDataSetSourceDataType_Encoding_DefaultBinary 15678 #define OpcUaId_PublishedVariableDataType_Encoding_DefaultBinary 14323 #define OpcUaId_PublishedDataItemsDataType_Encoding_DefaultBinary 15679 #define OpcUaId_PublishedEventsDataType_Encoding_DefaultBinary 15681 #define OpcUaId_DataSetWriterDataType_Encoding_DefaultBinary 15682 #define OpcUaId_DataSetWriterTransportDataType_Encoding_DefaultBinary 15683 #define OpcUaId_DataSetWriterMessageDataType_Encoding_DefaultBinary 15688 #define OpcUaId_PubSubGroupDataType_Encoding_DefaultBinary 15689 #define OpcUaId_WriterGroupDataType_Encoding_DefaultBinary 21150 #define OpcUaId_WriterGroupTransportDataType_Encoding_DefaultBinary 15691 #define OpcUaId_WriterGroupMessageDataType_Encoding_DefaultBinary 15693 #define OpcUaId_PubSubConnectionDataType_Encoding_DefaultBinary 15694 #define OpcUaId_ConnectionTransportDataType_Encoding_DefaultBinary 15695 #define OpcUaId_NetworkAddressDataType_Encoding_DefaultBinary 21151 #define OpcUaId_NetworkAddressUrlDataType_Encoding_DefaultBinary 21152 #define OpcUaId_ReaderGroupDataType_Encoding_DefaultBinary 21153 #define OpcUaId_ReaderGroupTransportDataType_Encoding_DefaultBinary 15701 #define OpcUaId_ReaderGroupMessageDataType_Encoding_DefaultBinary 15702 #define OpcUaId_DataSetReaderDataType_Encoding_DefaultBinary 15703 #define OpcUaId_DataSetReaderTransportDataType_Encoding_DefaultBinary 15705 #define OpcUaId_DataSetReaderMessageDataType_Encoding_DefaultBinary 15706 #define OpcUaId_SubscribedDataSetDataType_Encoding_DefaultBinary 15707 #define OpcUaId_TargetVariablesDataType_Encoding_DefaultBinary 15712 #define OpcUaId_FieldTargetDataType_Encoding_DefaultBinary 14848 #define OpcUaId_SubscribedDataSetMirrorDataType_Encoding_DefaultBinary 15713 #define OpcUaId_PubSubConfigurationDataType_Encoding_DefaultBinary 21154 #define OpcUaId_UadpWriterGroupMessageDataType_Encoding_DefaultBinary 15715 #define OpcUaId_UadpDataSetWriterMessageDataType_Encoding_DefaultBinary 15717 #define OpcUaId_UadpDataSetReaderMessageDataType_Encoding_DefaultBinary 15718 #define OpcUaId_JsonWriterGroupMessageDataType_Encoding_DefaultBinary 15719 #define OpcUaId_JsonDataSetWriterMessageDataType_Encoding_DefaultBinary 15724 #define OpcUaId_JsonDataSetReaderMessageDataType_Encoding_DefaultBinary 15725 #define OpcUaId_DatagramConnectionTransportDataType_Encoding_DefaultBinary 17468 #define OpcUaId_DatagramWriterGroupTransportDataType_Encoding_DefaultBinary 21155 #define OpcUaId_BrokerConnectionTransportDataType_Encoding_DefaultBinary 15479 #define OpcUaId_BrokerWriterGroupTransportDataType_Encoding_DefaultBinary 15727 #define OpcUaId_BrokerDataSetWriterTransportDataType_Encoding_DefaultBinary 15729 #define OpcUaId_BrokerDataSetReaderTransportDataType_Encoding_DefaultBinary 15733 #define OpcUaId_AliasNameDataType_Encoding_DefaultBinary 23499 #define OpcUaId_RolePermissionType_Encoding_DefaultBinary 128 #define OpcUaId_DataTypeDefinition_Encoding_DefaultBinary 121 #define OpcUaId_StructureField_Encoding_DefaultBinary 14844 #define OpcUaId_StructureDefinition_Encoding_DefaultBinary 122 #define OpcUaId_EnumDefinition_Encoding_DefaultBinary 123 #define OpcUaId_Node_Encoding_DefaultBinary 260 #define OpcUaId_InstanceNode_Encoding_DefaultBinary 11889 #define OpcUaId_TypeNode_Encoding_DefaultBinary 11890 #define OpcUaId_ObjectNode_Encoding_DefaultBinary 263 #define OpcUaId_ObjectTypeNode_Encoding_DefaultBinary 266 #define OpcUaId_VariableNode_Encoding_DefaultBinary 269 #define OpcUaId_VariableTypeNode_Encoding_DefaultBinary 272 #define OpcUaId_ReferenceTypeNode_Encoding_DefaultBinary 275 #define OpcUaId_MethodNode_Encoding_DefaultBinary 278 #define OpcUaId_ViewNode_Encoding_DefaultBinary 281 #define OpcUaId_DataTypeNode_Encoding_DefaultBinary 284 #define OpcUaId_ReferenceNode_Encoding_DefaultBinary 287 #define OpcUaId_Argument_Encoding_DefaultBinary 298 #define OpcUaId_EnumValueType_Encoding_DefaultBinary 8251 #define OpcUaId_EnumField_Encoding_DefaultBinary 14845 #define OpcUaId_OptionSet_Encoding_DefaultBinary 12765 #define OpcUaId_Union_Encoding_DefaultBinary 12766 #define OpcUaId_TimeZoneDataType_Encoding_DefaultBinary 8917 #define OpcUaId_ApplicationDescription_Encoding_DefaultBinary 310 #define OpcUaId_RequestHeader_Encoding_DefaultBinary 391 #define OpcUaId_ResponseHeader_Encoding_DefaultBinary 394 #define OpcUaId_ServiceFault_Encoding_DefaultBinary 397 #define OpcUaId_SessionlessInvokeRequestType_Encoding_DefaultBinary 15903 #define OpcUaId_SessionlessInvokeResponseType_Encoding_DefaultBinary 21001 #define OpcUaId_FindServersRequest_Encoding_DefaultBinary 422 #define OpcUaId_FindServersResponse_Encoding_DefaultBinary 425 #define OpcUaId_ServerOnNetwork_Encoding_DefaultBinary 12207 #define OpcUaId_FindServersOnNetworkRequest_Encoding_DefaultBinary 12208 #define OpcUaId_FindServersOnNetworkResponse_Encoding_DefaultBinary 12209 #define OpcUaId_UserTokenPolicy_Encoding_DefaultBinary 306 #define OpcUaId_EndpointDescription_Encoding_DefaultBinary 314 #define OpcUaId_GetEndpointsRequest_Encoding_DefaultBinary 428 #define OpcUaId_GetEndpointsResponse_Encoding_DefaultBinary 431 #define OpcUaId_RegisteredServer_Encoding_DefaultBinary 434 #define OpcUaId_RegisterServerRequest_Encoding_DefaultBinary 437 #define OpcUaId_RegisterServerResponse_Encoding_DefaultBinary 440 #define OpcUaId_DiscoveryConfiguration_Encoding_DefaultBinary 12900 #define OpcUaId_MdnsDiscoveryConfiguration_Encoding_DefaultBinary 12901 #define OpcUaId_RegisterServer2Request_Encoding_DefaultBinary 12211 #define OpcUaId_RegisterServer2Response_Encoding_DefaultBinary 12212 #define OpcUaId_ChannelSecurityToken_Encoding_DefaultBinary 443 #define OpcUaId_OpenSecureChannelRequest_Encoding_DefaultBinary 446 #define OpcUaId_OpenSecureChannelResponse_Encoding_DefaultBinary 449 #define OpcUaId_CloseSecureChannelRequest_Encoding_DefaultBinary 452 #define OpcUaId_CloseSecureChannelResponse_Encoding_DefaultBinary 455 #define OpcUaId_SignedSoftwareCertificate_Encoding_DefaultBinary 346 #define OpcUaId_SignatureData_Encoding_DefaultBinary 458 #define OpcUaId_CreateSessionRequest_Encoding_DefaultBinary 461 #define OpcUaId_CreateSessionResponse_Encoding_DefaultBinary 464 #define OpcUaId_UserIdentityToken_Encoding_DefaultBinary 318 #define OpcUaId_AnonymousIdentityToken_Encoding_DefaultBinary 321 #define OpcUaId_UserNameIdentityToken_Encoding_DefaultBinary 324 #define OpcUaId_X509IdentityToken_Encoding_DefaultBinary 327 #define OpcUaId_IssuedIdentityToken_Encoding_DefaultBinary 940 #define OpcUaId_ActivateSessionRequest_Encoding_DefaultBinary 467 #define OpcUaId_ActivateSessionResponse_Encoding_DefaultBinary 470 #define OpcUaId_CloseSessionRequest_Encoding_DefaultBinary 473 #define OpcUaId_CloseSessionResponse_Encoding_DefaultBinary 476 #define OpcUaId_CancelRequest_Encoding_DefaultBinary 479 #define OpcUaId_CancelResponse_Encoding_DefaultBinary 482 #define OpcUaId_NodeAttributes_Encoding_DefaultBinary 351 #define OpcUaId_ObjectAttributes_Encoding_DefaultBinary 354 #define OpcUaId_VariableAttributes_Encoding_DefaultBinary 357 #define OpcUaId_MethodAttributes_Encoding_DefaultBinary 360 #define OpcUaId_ObjectTypeAttributes_Encoding_DefaultBinary 363 #define OpcUaId_VariableTypeAttributes_Encoding_DefaultBinary 366 #define OpcUaId_ReferenceTypeAttributes_Encoding_DefaultBinary 369 #define OpcUaId_DataTypeAttributes_Encoding_DefaultBinary 372 #define OpcUaId_ViewAttributes_Encoding_DefaultBinary 375 #define OpcUaId_GenericAttributeValue_Encoding_DefaultBinary 17610 #define OpcUaId_GenericAttributes_Encoding_DefaultBinary 17611 #define OpcUaId_AddNodesItem_Encoding_DefaultBinary 378 #define OpcUaId_AddNodesResult_Encoding_DefaultBinary 485 #define OpcUaId_AddNodesRequest_Encoding_DefaultBinary 488 #define OpcUaId_AddNodesResponse_Encoding_DefaultBinary 491 #define OpcUaId_AddReferencesItem_Encoding_DefaultBinary 381 #define OpcUaId_AddReferencesRequest_Encoding_DefaultBinary 494 #define OpcUaId_AddReferencesResponse_Encoding_DefaultBinary 497 #define OpcUaId_DeleteNodesItem_Encoding_DefaultBinary 384 #define OpcUaId_DeleteNodesRequest_Encoding_DefaultBinary 500 #define OpcUaId_DeleteNodesResponse_Encoding_DefaultBinary 503 #define OpcUaId_DeleteReferencesItem_Encoding_DefaultBinary 387 #define OpcUaId_DeleteReferencesRequest_Encoding_DefaultBinary 506 #define OpcUaId_DeleteReferencesResponse_Encoding_DefaultBinary 509 #define OpcUaId_ViewDescription_Encoding_DefaultBinary 513 #define OpcUaId_BrowseDescription_Encoding_DefaultBinary 516 #define OpcUaId_ReferenceDescription_Encoding_DefaultBinary 520 #define OpcUaId_BrowseResult_Encoding_DefaultBinary 524 #define OpcUaId_BrowseRequest_Encoding_DefaultBinary 527 #define OpcUaId_BrowseResponse_Encoding_DefaultBinary 530 #define OpcUaId_BrowseNextRequest_Encoding_DefaultBinary 533 #define OpcUaId_BrowseNextResponse_Encoding_DefaultBinary 536 #define OpcUaId_RelativePathElement_Encoding_DefaultBinary 539 #define OpcUaId_RelativePath_Encoding_DefaultBinary 542 #define OpcUaId_BrowsePath_Encoding_DefaultBinary 545 #define OpcUaId_BrowsePathTarget_Encoding_DefaultBinary 548 #define OpcUaId_BrowsePathResult_Encoding_DefaultBinary 551 #define OpcUaId_TranslateBrowsePathsToNodeIdsRequest_Encoding_DefaultBinary 554 #define OpcUaId_TranslateBrowsePathsToNodeIdsResponse_Encoding_DefaultBinary 557 #define OpcUaId_RegisterNodesRequest_Encoding_DefaultBinary 560 #define OpcUaId_RegisterNodesResponse_Encoding_DefaultBinary 563 #define OpcUaId_UnregisterNodesRequest_Encoding_DefaultBinary 566 #define OpcUaId_UnregisterNodesResponse_Encoding_DefaultBinary 569 #define OpcUaId_EndpointConfiguration_Encoding_DefaultBinary 333 #define OpcUaId_QueryDataDescription_Encoding_DefaultBinary 572 #define OpcUaId_NodeTypeDescription_Encoding_DefaultBinary 575 #define OpcUaId_QueryDataSet_Encoding_DefaultBinary 579 #define OpcUaId_NodeReference_Encoding_DefaultBinary 582 #define OpcUaId_ContentFilterElement_Encoding_DefaultBinary 585 #define OpcUaId_ContentFilter_Encoding_DefaultBinary 588 #define OpcUaId_FilterOperand_Encoding_DefaultBinary 591 #define OpcUaId_ElementOperand_Encoding_DefaultBinary 594 #define OpcUaId_LiteralOperand_Encoding_DefaultBinary 597 #define OpcUaId_AttributeOperand_Encoding_DefaultBinary 600 #define OpcUaId_SimpleAttributeOperand_Encoding_DefaultBinary 603 #define OpcUaId_ContentFilterElementResult_Encoding_DefaultBinary 606 #define OpcUaId_ContentFilterResult_Encoding_DefaultBinary 609 #define OpcUaId_ParsingResult_Encoding_DefaultBinary 612 #define OpcUaId_QueryFirstRequest_Encoding_DefaultBinary 615 #define OpcUaId_QueryFirstResponse_Encoding_DefaultBinary 618 #define OpcUaId_QueryNextRequest_Encoding_DefaultBinary 621 #define OpcUaId_QueryNextResponse_Encoding_DefaultBinary 624 #define OpcUaId_ReadValueId_Encoding_DefaultBinary 628 #define OpcUaId_ReadRequest_Encoding_DefaultBinary 631 #define OpcUaId_ReadResponse_Encoding_DefaultBinary 634 #define OpcUaId_HistoryReadValueId_Encoding_DefaultBinary 637 #define OpcUaId_HistoryReadResult_Encoding_DefaultBinary 640 #define OpcUaId_HistoryReadDetails_Encoding_DefaultBinary 643 #define OpcUaId_ReadEventDetails_Encoding_DefaultBinary 646 #define OpcUaId_ReadRawModifiedDetails_Encoding_DefaultBinary 649 #define OpcUaId_ReadProcessedDetails_Encoding_DefaultBinary 652 #define OpcUaId_ReadAtTimeDetails_Encoding_DefaultBinary 655 #define OpcUaId_ReadAnnotationDataDetails_Encoding_DefaultBinary 23500 #define OpcUaId_HistoryData_Encoding_DefaultBinary 658 #define OpcUaId_ModificationInfo_Encoding_DefaultBinary 11226 #define OpcUaId_HistoryModifiedData_Encoding_DefaultBinary 11227 #define OpcUaId_HistoryEvent_Encoding_DefaultBinary 661 #define OpcUaId_HistoryReadRequest_Encoding_DefaultBinary 664 #define OpcUaId_HistoryReadResponse_Encoding_DefaultBinary 667 #define OpcUaId_WriteValue_Encoding_DefaultBinary 670 #define OpcUaId_WriteRequest_Encoding_DefaultBinary 673 #define OpcUaId_WriteResponse_Encoding_DefaultBinary 676 #define OpcUaId_HistoryUpdateDetails_Encoding_DefaultBinary 679 #define OpcUaId_UpdateDataDetails_Encoding_DefaultBinary 682 #define OpcUaId_UpdateStructureDataDetails_Encoding_DefaultBinary 11300 #define OpcUaId_UpdateEventDetails_Encoding_DefaultBinary 685 #define OpcUaId_DeleteRawModifiedDetails_Encoding_DefaultBinary 688 #define OpcUaId_DeleteAtTimeDetails_Encoding_DefaultBinary 691 #define OpcUaId_DeleteEventDetails_Encoding_DefaultBinary 694 #define OpcUaId_HistoryUpdateResult_Encoding_DefaultBinary 697 #define OpcUaId_HistoryUpdateRequest_Encoding_DefaultBinary 700 #define OpcUaId_HistoryUpdateResponse_Encoding_DefaultBinary 703 #define OpcUaId_CallMethodRequest_Encoding_DefaultBinary 706 #define OpcUaId_CallMethodResult_Encoding_DefaultBinary 709 #define OpcUaId_CallRequest_Encoding_DefaultBinary 712 #define OpcUaId_CallResponse_Encoding_DefaultBinary 715 #define OpcUaId_MonitoringFilter_Encoding_DefaultBinary 721 #define OpcUaId_DataChangeFilter_Encoding_DefaultBinary 724 #define OpcUaId_EventFilter_Encoding_DefaultBinary 727 #define OpcUaId_AggregateConfiguration_Encoding_DefaultBinary 950 #define OpcUaId_AggregateFilter_Encoding_DefaultBinary 730 #define OpcUaId_MonitoringFilterResult_Encoding_DefaultBinary 733 #define OpcUaId_EventFilterResult_Encoding_DefaultBinary 736 #define OpcUaId_AggregateFilterResult_Encoding_DefaultBinary 739 #define OpcUaId_MonitoringParameters_Encoding_DefaultBinary 742 #define OpcUaId_MonitoredItemCreateRequest_Encoding_DefaultBinary 745 #define OpcUaId_MonitoredItemCreateResult_Encoding_DefaultBinary 748 #define OpcUaId_CreateMonitoredItemsRequest_Encoding_DefaultBinary 751 #define OpcUaId_CreateMonitoredItemsResponse_Encoding_DefaultBinary 754 #define OpcUaId_MonitoredItemModifyRequest_Encoding_DefaultBinary 757 #define OpcUaId_MonitoredItemModifyResult_Encoding_DefaultBinary 760 #define OpcUaId_ModifyMonitoredItemsRequest_Encoding_DefaultBinary 763 #define OpcUaId_ModifyMonitoredItemsResponse_Encoding_DefaultBinary 766 #define OpcUaId_SetMonitoringModeRequest_Encoding_DefaultBinary 769 #define OpcUaId_SetMonitoringModeResponse_Encoding_DefaultBinary 772 #define OpcUaId_SetTriggeringRequest_Encoding_DefaultBinary 775 #define OpcUaId_SetTriggeringResponse_Encoding_DefaultBinary 778 #define OpcUaId_DeleteMonitoredItemsRequest_Encoding_DefaultBinary 781 #define OpcUaId_DeleteMonitoredItemsResponse_Encoding_DefaultBinary 784 #define OpcUaId_CreateSubscriptionRequest_Encoding_DefaultBinary 787 #define OpcUaId_CreateSubscriptionResponse_Encoding_DefaultBinary 790 #define OpcUaId_ModifySubscriptionRequest_Encoding_DefaultBinary 793 #define OpcUaId_ModifySubscriptionResponse_Encoding_DefaultBinary 796 #define OpcUaId_SetPublishingModeRequest_Encoding_DefaultBinary 799 #define OpcUaId_SetPublishingModeResponse_Encoding_DefaultBinary 802 #define OpcUaId_NotificationMessage_Encoding_DefaultBinary 805 #define OpcUaId_NotificationData_Encoding_DefaultBinary 947 #define OpcUaId_DataChangeNotification_Encoding_DefaultBinary 811 #define OpcUaId_MonitoredItemNotification_Encoding_DefaultBinary 808 #define OpcUaId_EventNotificationList_Encoding_DefaultBinary 916 #define OpcUaId_EventFieldList_Encoding_DefaultBinary 919 #define OpcUaId_HistoryEventFieldList_Encoding_DefaultBinary 922 #define OpcUaId_StatusChangeNotification_Encoding_DefaultBinary 820 #define OpcUaId_SubscriptionAcknowledgement_Encoding_DefaultBinary 823 #define OpcUaId_PublishRequest_Encoding_DefaultBinary 826 #define OpcUaId_PublishResponse_Encoding_DefaultBinary 829 #define OpcUaId_RepublishRequest_Encoding_DefaultBinary 832 #define OpcUaId_RepublishResponse_Encoding_DefaultBinary 835 #define OpcUaId_TransferResult_Encoding_DefaultBinary 838 #define OpcUaId_TransferSubscriptionsRequest_Encoding_DefaultBinary 841 #define OpcUaId_TransferSubscriptionsResponse_Encoding_DefaultBinary 844 #define OpcUaId_DeleteSubscriptionsRequest_Encoding_DefaultBinary 847 #define OpcUaId_DeleteSubscriptionsResponse_Encoding_DefaultBinary 850 #define OpcUaId_BuildInfo_Encoding_DefaultBinary 340 #define OpcUaId_RedundantServerDataType_Encoding_DefaultBinary 855 #define OpcUaId_EndpointUrlListDataType_Encoding_DefaultBinary 11957 #define OpcUaId_NetworkGroupDataType_Encoding_DefaultBinary 11958 #define OpcUaId_SamplingIntervalDiagnosticsDataType_Encoding_DefaultBinary 858 #define OpcUaId_ServerDiagnosticsSummaryDataType_Encoding_DefaultBinary 861 #define OpcUaId_ServerStatusDataType_Encoding_DefaultBinary 864 #define OpcUaId_SessionDiagnosticsDataType_Encoding_DefaultBinary 867 #define OpcUaId_SessionSecurityDiagnosticsDataType_Encoding_DefaultBinary 870 #define OpcUaId_ServiceCounterDataType_Encoding_DefaultBinary 873 #define OpcUaId_StatusResult_Encoding_DefaultBinary 301 #define OpcUaId_SubscriptionDiagnosticsDataType_Encoding_DefaultBinary 876 #define OpcUaId_ModelChangeStructureDataType_Encoding_DefaultBinary 879 #define OpcUaId_SemanticChangeStructureDataType_Encoding_DefaultBinary 899 #define OpcUaId_Range_Encoding_DefaultBinary 886 #define OpcUaId_EUInformation_Encoding_DefaultBinary 889 #define OpcUaId_ComplexNumberType_Encoding_DefaultBinary 12181 #define OpcUaId_DoubleComplexNumberType_Encoding_DefaultBinary 12182 #define OpcUaId_AxisInformation_Encoding_DefaultBinary 12089 #define OpcUaId_XVType_Encoding_DefaultBinary 12090 #define OpcUaId_ProgramDiagnosticDataType_Encoding_DefaultBinary 896 #define OpcUaId_ProgramDiagnostic2DataType_Encoding_DefaultBinary 15397 #define OpcUaId_Annotation_Encoding_DefaultBinary 893 #define OpcUaId_CurrencyUnitType_Encoding_DefaultXml 23520 #define OpcUaId_CurrencyUnit_Encoding_DefaultXml 23521 #define OpcUaId_KeyValuePair_Encoding_DefaultXml 14802 #define OpcUaId_AdditionalParametersType_Encoding_DefaultXml 17541 #define OpcUaId_EphemeralKeyType_Encoding_DefaultXml 17553 #define OpcUaId_EndpointType_Encoding_DefaultXml 15949 #define OpcUaId_RationalNumber_Encoding_DefaultXml 18851 #define OpcUaId_Vector_Encoding_DefaultXml 18852 #define OpcUaId_ThreeDVector_Encoding_DefaultXml 18853 #define OpcUaId_CartesianCoordinates_Encoding_DefaultXml 18854 #define OpcUaId_ThreeDCartesianCoordinates_Encoding_DefaultXml 18855 #define OpcUaId_Orientation_Encoding_DefaultXml 18856 #define OpcUaId_ThreeDOrientation_Encoding_DefaultXml 18857 #define OpcUaId_Frame_Encoding_DefaultXml 18858 #define OpcUaId_ThreeDFrame_Encoding_DefaultXml 18859 #define OpcUaId_IdentityMappingRuleType_Encoding_DefaultXml 15728 #define OpcUaId_TrustListDataType_Encoding_DefaultXml 12676 #define OpcUaId_DecimalDataType_Encoding_DefaultXml 17862 #define OpcUaId_DataTypeSchemaHeader_Encoding_DefaultXml 15950 #define OpcUaId_DataTypeDescription_Encoding_DefaultXml 14796 #define OpcUaId_StructureDescription_Encoding_DefaultXml 15589 #define OpcUaId_EnumDescription_Encoding_DefaultXml 15590 #define OpcUaId_SimpleTypeDescription_Encoding_DefaultXml 15529 #define OpcUaId_UABinaryFileDataType_Encoding_DefaultXml 15531 #define OpcUaId_DataSetMetaDataType_Encoding_DefaultXml 14794 #define OpcUaId_FieldMetaData_Encoding_DefaultXml 14795 #define OpcUaId_ConfigurationVersionDataType_Encoding_DefaultXml 14803 #define OpcUaId_PublishedDataSetDataType_Encoding_DefaultXml 15951 #define OpcUaId_PublishedDataSetSourceDataType_Encoding_DefaultXml 15952 #define OpcUaId_PublishedVariableDataType_Encoding_DefaultXml 14319 #define OpcUaId_PublishedDataItemsDataType_Encoding_DefaultXml 15953 #define OpcUaId_PublishedEventsDataType_Encoding_DefaultXml 15954 #define OpcUaId_DataSetWriterDataType_Encoding_DefaultXml 15955 #define OpcUaId_DataSetWriterTransportDataType_Encoding_DefaultXml 15956 #define OpcUaId_DataSetWriterMessageDataType_Encoding_DefaultXml 15987 #define OpcUaId_PubSubGroupDataType_Encoding_DefaultXml 15988 #define OpcUaId_WriterGroupDataType_Encoding_DefaultXml 21174 #define OpcUaId_WriterGroupTransportDataType_Encoding_DefaultXml 15990 #define OpcUaId_WriterGroupMessageDataType_Encoding_DefaultXml 15991 #define OpcUaId_PubSubConnectionDataType_Encoding_DefaultXml 15992 #define OpcUaId_ConnectionTransportDataType_Encoding_DefaultXml 15993 #define OpcUaId_NetworkAddressDataType_Encoding_DefaultXml 21175 #define OpcUaId_NetworkAddressUrlDataType_Encoding_DefaultXml 21176 #define OpcUaId_ReaderGroupDataType_Encoding_DefaultXml 21177 #define OpcUaId_ReaderGroupTransportDataType_Encoding_DefaultXml 15995 #define OpcUaId_ReaderGroupMessageDataType_Encoding_DefaultXml 15996 #define OpcUaId_DataSetReaderDataType_Encoding_DefaultXml 16007 #define OpcUaId_DataSetReaderTransportDataType_Encoding_DefaultXml 16008 #define OpcUaId_DataSetReaderMessageDataType_Encoding_DefaultXml 16009 #define OpcUaId_SubscribedDataSetDataType_Encoding_DefaultXml 16010 #define OpcUaId_TargetVariablesDataType_Encoding_DefaultXml 16011 #define OpcUaId_FieldTargetDataType_Encoding_DefaultXml 14804 #define OpcUaId_SubscribedDataSetMirrorDataType_Encoding_DefaultXml 16012 #define OpcUaId_PubSubConfigurationDataType_Encoding_DefaultXml 21178 #define OpcUaId_UadpWriterGroupMessageDataType_Encoding_DefaultXml 16014 #define OpcUaId_UadpDataSetWriterMessageDataType_Encoding_DefaultXml 16015 #define OpcUaId_UadpDataSetReaderMessageDataType_Encoding_DefaultXml 16016 #define OpcUaId_JsonWriterGroupMessageDataType_Encoding_DefaultXml 16017 #define OpcUaId_JsonDataSetWriterMessageDataType_Encoding_DefaultXml 16018 #define OpcUaId_JsonDataSetReaderMessageDataType_Encoding_DefaultXml 16019 #define OpcUaId_DatagramConnectionTransportDataType_Encoding_DefaultXml 17472 #define OpcUaId_DatagramWriterGroupTransportDataType_Encoding_DefaultXml 21179 #define OpcUaId_BrokerConnectionTransportDataType_Encoding_DefaultXml 15579 #define OpcUaId_BrokerWriterGroupTransportDataType_Encoding_DefaultXml 16021 #define OpcUaId_BrokerDataSetWriterTransportDataType_Encoding_DefaultXml 16022 #define OpcUaId_BrokerDataSetReaderTransportDataType_Encoding_DefaultXml 16023 #define OpcUaId_AliasNameDataType_Encoding_DefaultXml 23505 #define OpcUaId_RolePermissionType_Encoding_DefaultXml 16126 #define OpcUaId_DataTypeDefinition_Encoding_DefaultXml 14797 #define OpcUaId_StructureField_Encoding_DefaultXml 14800 #define OpcUaId_StructureDefinition_Encoding_DefaultXml 14798 #define OpcUaId_EnumDefinition_Encoding_DefaultXml 14799 #define OpcUaId_Node_Encoding_DefaultXml 259 #define OpcUaId_InstanceNode_Encoding_DefaultXml 11887 #define OpcUaId_TypeNode_Encoding_DefaultXml 11888 #define OpcUaId_ObjectNode_Encoding_DefaultXml 262 #define OpcUaId_ObjectTypeNode_Encoding_DefaultXml 265 #define OpcUaId_VariableNode_Encoding_DefaultXml 268 #define OpcUaId_VariableTypeNode_Encoding_DefaultXml 271 #define OpcUaId_ReferenceTypeNode_Encoding_DefaultXml 274 #define OpcUaId_MethodNode_Encoding_DefaultXml 277 #define OpcUaId_ViewNode_Encoding_DefaultXml 280 #define OpcUaId_DataTypeNode_Encoding_DefaultXml 283 #define OpcUaId_ReferenceNode_Encoding_DefaultXml 286 #define OpcUaId_Argument_Encoding_DefaultXml 297 #define OpcUaId_EnumValueType_Encoding_DefaultXml 7616 #define OpcUaId_EnumField_Encoding_DefaultXml 14801 #define OpcUaId_OptionSet_Encoding_DefaultXml 12757 #define OpcUaId_Union_Encoding_DefaultXml 12758 #define OpcUaId_TimeZoneDataType_Encoding_DefaultXml 8913 #define OpcUaId_ApplicationDescription_Encoding_DefaultXml 309 #define OpcUaId_RequestHeader_Encoding_DefaultXml 390 #define OpcUaId_ResponseHeader_Encoding_DefaultXml 393 #define OpcUaId_ServiceFault_Encoding_DefaultXml 396 #define OpcUaId_SessionlessInvokeRequestType_Encoding_DefaultXml 15902 #define OpcUaId_SessionlessInvokeResponseType_Encoding_DefaultXml 21000 #define OpcUaId_FindServersRequest_Encoding_DefaultXml 421 #define OpcUaId_FindServersResponse_Encoding_DefaultXml 424 #define OpcUaId_ServerOnNetwork_Encoding_DefaultXml 12195 #define OpcUaId_FindServersOnNetworkRequest_Encoding_DefaultXml 12196 #define OpcUaId_FindServersOnNetworkResponse_Encoding_DefaultXml 12197 #define OpcUaId_UserTokenPolicy_Encoding_DefaultXml 305 #define OpcUaId_EndpointDescription_Encoding_DefaultXml 313 #define OpcUaId_GetEndpointsRequest_Encoding_DefaultXml 427 #define OpcUaId_GetEndpointsResponse_Encoding_DefaultXml 430 #define OpcUaId_RegisteredServer_Encoding_DefaultXml 433 #define OpcUaId_RegisterServerRequest_Encoding_DefaultXml 436 #define OpcUaId_RegisterServerResponse_Encoding_DefaultXml 439 #define OpcUaId_DiscoveryConfiguration_Encoding_DefaultXml 12892 #define OpcUaId_MdnsDiscoveryConfiguration_Encoding_DefaultXml 12893 #define OpcUaId_RegisterServer2Request_Encoding_DefaultXml 12199 #define OpcUaId_RegisterServer2Response_Encoding_DefaultXml 12200 #define OpcUaId_ChannelSecurityToken_Encoding_DefaultXml 442 #define OpcUaId_OpenSecureChannelRequest_Encoding_DefaultXml 445 #define OpcUaId_OpenSecureChannelResponse_Encoding_DefaultXml 448 #define OpcUaId_CloseSecureChannelRequest_Encoding_DefaultXml 451 #define OpcUaId_CloseSecureChannelResponse_Encoding_DefaultXml 454 #define OpcUaId_SignedSoftwareCertificate_Encoding_DefaultXml 345 #define OpcUaId_SignatureData_Encoding_DefaultXml 457 #define OpcUaId_CreateSessionRequest_Encoding_DefaultXml 460 #define OpcUaId_CreateSessionResponse_Encoding_DefaultXml 463 #define OpcUaId_UserIdentityToken_Encoding_DefaultXml 317 #define OpcUaId_AnonymousIdentityToken_Encoding_DefaultXml 320 #define OpcUaId_UserNameIdentityToken_Encoding_DefaultXml 323 #define OpcUaId_X509IdentityToken_Encoding_DefaultXml 326 #define OpcUaId_IssuedIdentityToken_Encoding_DefaultXml 939 #define OpcUaId_ActivateSessionRequest_Encoding_DefaultXml 466 #define OpcUaId_ActivateSessionResponse_Encoding_DefaultXml 469 #define OpcUaId_CloseSessionRequest_Encoding_DefaultXml 472 #define OpcUaId_CloseSessionResponse_Encoding_DefaultXml 475 #define OpcUaId_CancelRequest_Encoding_DefaultXml 478 #define OpcUaId_CancelResponse_Encoding_DefaultXml 481 #define OpcUaId_NodeAttributes_Encoding_DefaultXml 350 #define OpcUaId_ObjectAttributes_Encoding_DefaultXml 353 #define OpcUaId_VariableAttributes_Encoding_DefaultXml 356 #define OpcUaId_MethodAttributes_Encoding_DefaultXml 359 #define OpcUaId_ObjectTypeAttributes_Encoding_DefaultXml 362 #define OpcUaId_VariableTypeAttributes_Encoding_DefaultXml 365 #define OpcUaId_ReferenceTypeAttributes_Encoding_DefaultXml 368 #define OpcUaId_DataTypeAttributes_Encoding_DefaultXml 371 #define OpcUaId_ViewAttributes_Encoding_DefaultXml 374 #define OpcUaId_GenericAttributeValue_Encoding_DefaultXml 17608 #define OpcUaId_GenericAttributes_Encoding_DefaultXml 17609 #define OpcUaId_AddNodesItem_Encoding_DefaultXml 377 #define OpcUaId_AddNodesResult_Encoding_DefaultXml 484 #define OpcUaId_AddNodesRequest_Encoding_DefaultXml 487 #define OpcUaId_AddNodesResponse_Encoding_DefaultXml 490 #define OpcUaId_AddReferencesItem_Encoding_DefaultXml 380 #define OpcUaId_AddReferencesRequest_Encoding_DefaultXml 493 #define OpcUaId_AddReferencesResponse_Encoding_DefaultXml 496 #define OpcUaId_DeleteNodesItem_Encoding_DefaultXml 383 #define OpcUaId_DeleteNodesRequest_Encoding_DefaultXml 499 #define OpcUaId_DeleteNodesResponse_Encoding_DefaultXml 502 #define OpcUaId_DeleteReferencesItem_Encoding_DefaultXml 386 #define OpcUaId_DeleteReferencesRequest_Encoding_DefaultXml 505 #define OpcUaId_DeleteReferencesResponse_Encoding_DefaultXml 508 #define OpcUaId_ViewDescription_Encoding_DefaultXml 512 #define OpcUaId_BrowseDescription_Encoding_DefaultXml 515 #define OpcUaId_ReferenceDescription_Encoding_DefaultXml 519 #define OpcUaId_BrowseResult_Encoding_DefaultXml 523 #define OpcUaId_BrowseRequest_Encoding_DefaultXml 526 #define OpcUaId_BrowseResponse_Encoding_DefaultXml 529 #define OpcUaId_BrowseNextRequest_Encoding_DefaultXml 532 #define OpcUaId_BrowseNextResponse_Encoding_DefaultXml 535 #define OpcUaId_RelativePathElement_Encoding_DefaultXml 538 #define OpcUaId_RelativePath_Encoding_DefaultXml 541 #define OpcUaId_BrowsePath_Encoding_DefaultXml 544 #define OpcUaId_BrowsePathTarget_Encoding_DefaultXml 547 #define OpcUaId_BrowsePathResult_Encoding_DefaultXml 550 #define OpcUaId_TranslateBrowsePathsToNodeIdsRequest_Encoding_DefaultXml 553 #define OpcUaId_TranslateBrowsePathsToNodeIdsResponse_Encoding_DefaultXml 556 #define OpcUaId_RegisterNodesRequest_Encoding_DefaultXml 559 #define OpcUaId_RegisterNodesResponse_Encoding_DefaultXml 562 #define OpcUaId_UnregisterNodesRequest_Encoding_DefaultXml 565 #define OpcUaId_UnregisterNodesResponse_Encoding_DefaultXml 568 #define OpcUaId_EndpointConfiguration_Encoding_DefaultXml 332 #define OpcUaId_QueryDataDescription_Encoding_DefaultXml 571 #define OpcUaId_NodeTypeDescription_Encoding_DefaultXml 574 #define OpcUaId_QueryDataSet_Encoding_DefaultXml 578 #define OpcUaId_NodeReference_Encoding_DefaultXml 581 #define OpcUaId_ContentFilterElement_Encoding_DefaultXml 584 #define OpcUaId_ContentFilter_Encoding_DefaultXml 587 #define OpcUaId_FilterOperand_Encoding_DefaultXml 590 #define OpcUaId_ElementOperand_Encoding_DefaultXml 593 #define OpcUaId_LiteralOperand_Encoding_DefaultXml 596 #define OpcUaId_AttributeOperand_Encoding_DefaultXml 599 #define OpcUaId_SimpleAttributeOperand_Encoding_DefaultXml 602 #define OpcUaId_ContentFilterElementResult_Encoding_DefaultXml 605 #define OpcUaId_ContentFilterResult_Encoding_DefaultXml 608 #define OpcUaId_ParsingResult_Encoding_DefaultXml 611 #define OpcUaId_QueryFirstRequest_Encoding_DefaultXml 614 #define OpcUaId_QueryFirstResponse_Encoding_DefaultXml 617 #define OpcUaId_QueryNextRequest_Encoding_DefaultXml 620 #define OpcUaId_QueryNextResponse_Encoding_DefaultXml 623 #define OpcUaId_ReadValueId_Encoding_DefaultXml 627 #define OpcUaId_ReadRequest_Encoding_DefaultXml 630 #define OpcUaId_ReadResponse_Encoding_DefaultXml 633 #define OpcUaId_HistoryReadValueId_Encoding_DefaultXml 636 #define OpcUaId_HistoryReadResult_Encoding_DefaultXml 639 #define OpcUaId_HistoryReadDetails_Encoding_DefaultXml 642 #define OpcUaId_ReadEventDetails_Encoding_DefaultXml 645 #define OpcUaId_ReadRawModifiedDetails_Encoding_DefaultXml 648 #define OpcUaId_ReadProcessedDetails_Encoding_DefaultXml 651 #define OpcUaId_ReadAtTimeDetails_Encoding_DefaultXml 654 #define OpcUaId_ReadAnnotationDataDetails_Encoding_DefaultXml 23506 #define OpcUaId_HistoryData_Encoding_DefaultXml 657 #define OpcUaId_ModificationInfo_Encoding_DefaultXml 11218 #define OpcUaId_HistoryModifiedData_Encoding_DefaultXml 11219 #define OpcUaId_HistoryEvent_Encoding_DefaultXml 660 #define OpcUaId_HistoryReadRequest_Encoding_DefaultXml 663 #define OpcUaId_HistoryReadResponse_Encoding_DefaultXml 666 #define OpcUaId_WriteValue_Encoding_DefaultXml 669 #define OpcUaId_WriteRequest_Encoding_DefaultXml 672 #define OpcUaId_WriteResponse_Encoding_DefaultXml 675 #define OpcUaId_HistoryUpdateDetails_Encoding_DefaultXml 678 #define OpcUaId_UpdateDataDetails_Encoding_DefaultXml 681 #define OpcUaId_UpdateStructureDataDetails_Encoding_DefaultXml 11296 #define OpcUaId_UpdateEventDetails_Encoding_DefaultXml 684 #define OpcUaId_DeleteRawModifiedDetails_Encoding_DefaultXml 687 #define OpcUaId_DeleteAtTimeDetails_Encoding_DefaultXml 690 #define OpcUaId_DeleteEventDetails_Encoding_DefaultXml 693 #define OpcUaId_HistoryUpdateResult_Encoding_DefaultXml 696 #define OpcUaId_HistoryUpdateRequest_Encoding_DefaultXml 699 #define OpcUaId_HistoryUpdateResponse_Encoding_DefaultXml 702 #define OpcUaId_CallMethodRequest_Encoding_DefaultXml 705 #define OpcUaId_CallMethodResult_Encoding_DefaultXml 708 #define OpcUaId_CallRequest_Encoding_DefaultXml 711 #define OpcUaId_CallResponse_Encoding_DefaultXml 714 #define OpcUaId_MonitoringFilter_Encoding_DefaultXml 720 #define OpcUaId_DataChangeFilter_Encoding_DefaultXml 723 #define OpcUaId_EventFilter_Encoding_DefaultXml 726 #define OpcUaId_AggregateConfiguration_Encoding_DefaultXml 949 #define OpcUaId_AggregateFilter_Encoding_DefaultXml 729 #define OpcUaId_MonitoringFilterResult_Encoding_DefaultXml 732 #define OpcUaId_EventFilterResult_Encoding_DefaultXml 735 #define OpcUaId_AggregateFilterResult_Encoding_DefaultXml 738 #define OpcUaId_MonitoringParameters_Encoding_DefaultXml 741 #define OpcUaId_MonitoredItemCreateRequest_Encoding_DefaultXml 744 #define OpcUaId_MonitoredItemCreateResult_Encoding_DefaultXml 747 #define OpcUaId_CreateMonitoredItemsRequest_Encoding_DefaultXml 750 #define OpcUaId_CreateMonitoredItemsResponse_Encoding_DefaultXml 753 #define OpcUaId_MonitoredItemModifyRequest_Encoding_DefaultXml 756 #define OpcUaId_MonitoredItemModifyResult_Encoding_DefaultXml 759 #define OpcUaId_ModifyMonitoredItemsRequest_Encoding_DefaultXml 762 #define OpcUaId_ModifyMonitoredItemsResponse_Encoding_DefaultXml 765 #define OpcUaId_SetMonitoringModeRequest_Encoding_DefaultXml 768 #define OpcUaId_SetMonitoringModeResponse_Encoding_DefaultXml 771 #define OpcUaId_SetTriggeringRequest_Encoding_DefaultXml 774 #define OpcUaId_SetTriggeringResponse_Encoding_DefaultXml 777 #define OpcUaId_DeleteMonitoredItemsRequest_Encoding_DefaultXml 780 #define OpcUaId_DeleteMonitoredItemsResponse_Encoding_DefaultXml 783 #define OpcUaId_CreateSubscriptionRequest_Encoding_DefaultXml 786 #define OpcUaId_CreateSubscriptionResponse_Encoding_DefaultXml 789 #define OpcUaId_ModifySubscriptionRequest_Encoding_DefaultXml 792 #define OpcUaId_ModifySubscriptionResponse_Encoding_DefaultXml 795 #define OpcUaId_SetPublishingModeRequest_Encoding_DefaultXml 798 #define OpcUaId_SetPublishingModeResponse_Encoding_DefaultXml 801 #define OpcUaId_NotificationMessage_Encoding_DefaultXml 804 #define OpcUaId_NotificationData_Encoding_DefaultXml 946 #define OpcUaId_DataChangeNotification_Encoding_DefaultXml 810 #define OpcUaId_MonitoredItemNotification_Encoding_DefaultXml 807 #define OpcUaId_EventNotificationList_Encoding_DefaultXml 915 #define OpcUaId_EventFieldList_Encoding_DefaultXml 918 #define OpcUaId_HistoryEventFieldList_Encoding_DefaultXml 921 #define OpcUaId_StatusChangeNotification_Encoding_DefaultXml 819 #define OpcUaId_SubscriptionAcknowledgement_Encoding_DefaultXml 822 #define OpcUaId_PublishRequest_Encoding_DefaultXml 825 #define OpcUaId_PublishResponse_Encoding_DefaultXml 828 #define OpcUaId_RepublishRequest_Encoding_DefaultXml 831 #define OpcUaId_RepublishResponse_Encoding_DefaultXml 834 #define OpcUaId_TransferResult_Encoding_DefaultXml 837 #define OpcUaId_TransferSubscriptionsRequest_Encoding_DefaultXml 840 #define OpcUaId_TransferSubscriptionsResponse_Encoding_DefaultXml 843 #define OpcUaId_DeleteSubscriptionsRequest_Encoding_DefaultXml 846 #define OpcUaId_DeleteSubscriptionsResponse_Encoding_DefaultXml 849 #define OpcUaId_BuildInfo_Encoding_DefaultXml 339 #define OpcUaId_RedundantServerDataType_Encoding_DefaultXml 854 #define OpcUaId_EndpointUrlListDataType_Encoding_DefaultXml 11949 #define OpcUaId_NetworkGroupDataType_Encoding_DefaultXml 11950 #define OpcUaId_SamplingIntervalDiagnosticsDataType_Encoding_DefaultXml 857 #define OpcUaId_ServerDiagnosticsSummaryDataType_Encoding_DefaultXml 860 #define OpcUaId_ServerStatusDataType_Encoding_DefaultXml 863 #define OpcUaId_SessionDiagnosticsDataType_Encoding_DefaultXml 866 #define OpcUaId_SessionSecurityDiagnosticsDataType_Encoding_DefaultXml 869 #define OpcUaId_ServiceCounterDataType_Encoding_DefaultXml 872 #define OpcUaId_StatusResult_Encoding_DefaultXml 300 #define OpcUaId_SubscriptionDiagnosticsDataType_Encoding_DefaultXml 875 #define OpcUaId_ModelChangeStructureDataType_Encoding_DefaultXml 878 #define OpcUaId_SemanticChangeStructureDataType_Encoding_DefaultXml 898 #define OpcUaId_Range_Encoding_DefaultXml 885 #define OpcUaId_EUInformation_Encoding_DefaultXml 888 #define OpcUaId_ComplexNumberType_Encoding_DefaultXml 12173 #define OpcUaId_DoubleComplexNumberType_Encoding_DefaultXml 12174 #define OpcUaId_AxisInformation_Encoding_DefaultXml 12081 #define OpcUaId_XVType_Encoding_DefaultXml 12082 #define OpcUaId_ProgramDiagnosticDataType_Encoding_DefaultXml 895 #define OpcUaId_ProgramDiagnostic2DataType_Encoding_DefaultXml 15401 #define OpcUaId_Annotation_Encoding_DefaultXml 892 #define OpcUaId_CurrencyUnitType_Encoding_DefaultJson 23528 #define OpcUaId_CurrencyUnit_Encoding_DefaultJson 23529 #define OpcUaId_KeyValuePair_Encoding_DefaultJson 15041 #define OpcUaId_AdditionalParametersType_Encoding_DefaultJson 17547 #define OpcUaId_EphemeralKeyType_Encoding_DefaultJson 17557 #define OpcUaId_EndpointType_Encoding_DefaultJson 16150 #define OpcUaId_RationalNumber_Encoding_DefaultJson 19064 #define OpcUaId_Vector_Encoding_DefaultJson 19065 #define OpcUaId_ThreeDVector_Encoding_DefaultJson 19066 #define OpcUaId_CartesianCoordinates_Encoding_DefaultJson 19067 #define OpcUaId_ThreeDCartesianCoordinates_Encoding_DefaultJson 19068 #define OpcUaId_Orientation_Encoding_DefaultJson 19069 #define OpcUaId_ThreeDOrientation_Encoding_DefaultJson 19070 #define OpcUaId_Frame_Encoding_DefaultJson 19071 #define OpcUaId_ThreeDFrame_Encoding_DefaultJson 19072 #define OpcUaId_IdentityMappingRuleType_Encoding_DefaultJson 15042 #define OpcUaId_TrustListDataType_Encoding_DefaultJson 15044 #define OpcUaId_DecimalDataType_Encoding_DefaultJson 15045 #define OpcUaId_DataTypeSchemaHeader_Encoding_DefaultJson 16151 #define OpcUaId_DataTypeDescription_Encoding_DefaultJson 15057 #define OpcUaId_StructureDescription_Encoding_DefaultJson 15058 #define OpcUaId_EnumDescription_Encoding_DefaultJson 15059 #define OpcUaId_SimpleTypeDescription_Encoding_DefaultJson 15700 #define OpcUaId_UABinaryFileDataType_Encoding_DefaultJson 15714 #define OpcUaId_DataSetMetaDataType_Encoding_DefaultJson 15050 #define OpcUaId_FieldMetaData_Encoding_DefaultJson 15051 #define OpcUaId_ConfigurationVersionDataType_Encoding_DefaultJson 15049 #define OpcUaId_PublishedDataSetDataType_Encoding_DefaultJson 16152 #define OpcUaId_PublishedDataSetSourceDataType_Encoding_DefaultJson 16153 #define OpcUaId_PublishedVariableDataType_Encoding_DefaultJson 15060 #define OpcUaId_PublishedDataItemsDataType_Encoding_DefaultJson 16154 #define OpcUaId_PublishedEventsDataType_Encoding_DefaultJson 16155 #define OpcUaId_DataSetWriterDataType_Encoding_DefaultJson 16156 #define OpcUaId_DataSetWriterTransportDataType_Encoding_DefaultJson 16157 #define OpcUaId_DataSetWriterMessageDataType_Encoding_DefaultJson 16158 #define OpcUaId_PubSubGroupDataType_Encoding_DefaultJson 16159 #define OpcUaId_WriterGroupDataType_Encoding_DefaultJson 21198 #define OpcUaId_WriterGroupTransportDataType_Encoding_DefaultJson 16161 #define OpcUaId_WriterGroupMessageDataType_Encoding_DefaultJson 16280 #define OpcUaId_PubSubConnectionDataType_Encoding_DefaultJson 16281 #define OpcUaId_ConnectionTransportDataType_Encoding_DefaultJson 16282 #define OpcUaId_NetworkAddressDataType_Encoding_DefaultJson 21199 #define OpcUaId_NetworkAddressUrlDataType_Encoding_DefaultJson 21200 #define OpcUaId_ReaderGroupDataType_Encoding_DefaultJson 21201 #define OpcUaId_ReaderGroupTransportDataType_Encoding_DefaultJson 16284 #define OpcUaId_ReaderGroupMessageDataType_Encoding_DefaultJson 16285 #define OpcUaId_DataSetReaderDataType_Encoding_DefaultJson 16286 #define OpcUaId_DataSetReaderTransportDataType_Encoding_DefaultJson 16287 #define OpcUaId_DataSetReaderMessageDataType_Encoding_DefaultJson 16288 #define OpcUaId_SubscribedDataSetDataType_Encoding_DefaultJson 16308 #define OpcUaId_TargetVariablesDataType_Encoding_DefaultJson 16310 #define OpcUaId_FieldTargetDataType_Encoding_DefaultJson 15061 #define OpcUaId_SubscribedDataSetMirrorDataType_Encoding_DefaultJson 16311 #define OpcUaId_PubSubConfigurationDataType_Encoding_DefaultJson 21202 #define OpcUaId_UadpWriterGroupMessageDataType_Encoding_DefaultJson 16323 #define OpcUaId_UadpDataSetWriterMessageDataType_Encoding_DefaultJson 16391 #define OpcUaId_UadpDataSetReaderMessageDataType_Encoding_DefaultJson 16392 #define OpcUaId_JsonWriterGroupMessageDataType_Encoding_DefaultJson 16393 #define OpcUaId_JsonDataSetWriterMessageDataType_Encoding_DefaultJson 16394 #define OpcUaId_JsonDataSetReaderMessageDataType_Encoding_DefaultJson 16404 #define OpcUaId_DatagramConnectionTransportDataType_Encoding_DefaultJson 17476 #define OpcUaId_DatagramWriterGroupTransportDataType_Encoding_DefaultJson 21203 #define OpcUaId_BrokerConnectionTransportDataType_Encoding_DefaultJson 15726 #define OpcUaId_BrokerWriterGroupTransportDataType_Encoding_DefaultJson 16524 #define OpcUaId_BrokerDataSetWriterTransportDataType_Encoding_DefaultJson 16525 #define OpcUaId_BrokerDataSetReaderTransportDataType_Encoding_DefaultJson 16526 #define OpcUaId_AliasNameDataType_Encoding_DefaultJson 23511 #define OpcUaId_RolePermissionType_Encoding_DefaultJson 15062 #define OpcUaId_DataTypeDefinition_Encoding_DefaultJson 15063 #define OpcUaId_StructureField_Encoding_DefaultJson 15065 #define OpcUaId_StructureDefinition_Encoding_DefaultJson 15066 #define OpcUaId_EnumDefinition_Encoding_DefaultJson 15067 #define OpcUaId_Node_Encoding_DefaultJson 15068 #define OpcUaId_InstanceNode_Encoding_DefaultJson 15069 #define OpcUaId_TypeNode_Encoding_DefaultJson 15070 #define OpcUaId_ObjectNode_Encoding_DefaultJson 15071 #define OpcUaId_ObjectTypeNode_Encoding_DefaultJson 15073 #define OpcUaId_VariableNode_Encoding_DefaultJson 15074 #define OpcUaId_VariableTypeNode_Encoding_DefaultJson 15075 #define OpcUaId_ReferenceTypeNode_Encoding_DefaultJson 15076 #define OpcUaId_MethodNode_Encoding_DefaultJson 15077 #define OpcUaId_ViewNode_Encoding_DefaultJson 15078 #define OpcUaId_DataTypeNode_Encoding_DefaultJson 15079 #define OpcUaId_ReferenceNode_Encoding_DefaultJson 15080 #define OpcUaId_Argument_Encoding_DefaultJson 15081 #define OpcUaId_EnumValueType_Encoding_DefaultJson 15082 #define OpcUaId_EnumField_Encoding_DefaultJson 15083 #define OpcUaId_OptionSet_Encoding_DefaultJson 15084 #define OpcUaId_Union_Encoding_DefaultJson 15085 #define OpcUaId_TimeZoneDataType_Encoding_DefaultJson 15086 #define OpcUaId_ApplicationDescription_Encoding_DefaultJson 15087 #define OpcUaId_RequestHeader_Encoding_DefaultJson 15088 #define OpcUaId_ResponseHeader_Encoding_DefaultJson 15089 #define OpcUaId_ServiceFault_Encoding_DefaultJson 15090 #define OpcUaId_SessionlessInvokeRequestType_Encoding_DefaultJson 15091 #define OpcUaId_SessionlessInvokeResponseType_Encoding_DefaultJson 15092 #define OpcUaId_FindServersRequest_Encoding_DefaultJson 15093 #define OpcUaId_FindServersResponse_Encoding_DefaultJson 15094 #define OpcUaId_ServerOnNetwork_Encoding_DefaultJson 15095 #define OpcUaId_FindServersOnNetworkRequest_Encoding_DefaultJson 15096 #define OpcUaId_FindServersOnNetworkResponse_Encoding_DefaultJson 15097 #define OpcUaId_UserTokenPolicy_Encoding_DefaultJson 15098 #define OpcUaId_EndpointDescription_Encoding_DefaultJson 15099 #define OpcUaId_GetEndpointsRequest_Encoding_DefaultJson 15100 #define OpcUaId_GetEndpointsResponse_Encoding_DefaultJson 15101 #define OpcUaId_RegisteredServer_Encoding_DefaultJson 15102 #define OpcUaId_RegisterServerRequest_Encoding_DefaultJson 15103 #define OpcUaId_RegisterServerResponse_Encoding_DefaultJson 15104 #define OpcUaId_DiscoveryConfiguration_Encoding_DefaultJson 15105 #define OpcUaId_MdnsDiscoveryConfiguration_Encoding_DefaultJson 15106 #define OpcUaId_RegisterServer2Request_Encoding_DefaultJson 15107 #define OpcUaId_RegisterServer2Response_Encoding_DefaultJson 15130 #define OpcUaId_ChannelSecurityToken_Encoding_DefaultJson 15131 #define OpcUaId_OpenSecureChannelRequest_Encoding_DefaultJson 15132 #define OpcUaId_OpenSecureChannelResponse_Encoding_DefaultJson 15133 #define OpcUaId_CloseSecureChannelRequest_Encoding_DefaultJson 15134 #define OpcUaId_CloseSecureChannelResponse_Encoding_DefaultJson 15135 #define OpcUaId_SignedSoftwareCertificate_Encoding_DefaultJson 15136 #define OpcUaId_SignatureData_Encoding_DefaultJson 15137 #define OpcUaId_CreateSessionRequest_Encoding_DefaultJson 15138 #define OpcUaId_CreateSessionResponse_Encoding_DefaultJson 15139 #define OpcUaId_UserIdentityToken_Encoding_DefaultJson 15140 #define OpcUaId_AnonymousIdentityToken_Encoding_DefaultJson 15141 #define OpcUaId_UserNameIdentityToken_Encoding_DefaultJson 15142 #define OpcUaId_X509IdentityToken_Encoding_DefaultJson 15143 #define OpcUaId_IssuedIdentityToken_Encoding_DefaultJson 15144 #define OpcUaId_ActivateSessionRequest_Encoding_DefaultJson 15145 #define OpcUaId_ActivateSessionResponse_Encoding_DefaultJson 15146 #define OpcUaId_CloseSessionRequest_Encoding_DefaultJson 15147 #define OpcUaId_CloseSessionResponse_Encoding_DefaultJson 15148 #define OpcUaId_CancelRequest_Encoding_DefaultJson 15149 #define OpcUaId_CancelResponse_Encoding_DefaultJson 15150 #define OpcUaId_NodeAttributes_Encoding_DefaultJson 15151 #define OpcUaId_ObjectAttributes_Encoding_DefaultJson 15152 #define OpcUaId_VariableAttributes_Encoding_DefaultJson 15153 #define OpcUaId_MethodAttributes_Encoding_DefaultJson 15157 #define OpcUaId_ObjectTypeAttributes_Encoding_DefaultJson 15158 #define OpcUaId_VariableTypeAttributes_Encoding_DefaultJson 15159 #define OpcUaId_ReferenceTypeAttributes_Encoding_DefaultJson 15160 #define OpcUaId_DataTypeAttributes_Encoding_DefaultJson 15161 #define OpcUaId_ViewAttributes_Encoding_DefaultJson 15162 #define OpcUaId_GenericAttributeValue_Encoding_DefaultJson 15163 #define OpcUaId_GenericAttributes_Encoding_DefaultJson 15164 #define OpcUaId_AddNodesItem_Encoding_DefaultJson 15165 #define OpcUaId_AddNodesResult_Encoding_DefaultJson 15166 #define OpcUaId_AddNodesRequest_Encoding_DefaultJson 15167 #define OpcUaId_AddNodesResponse_Encoding_DefaultJson 15168 #define OpcUaId_AddReferencesItem_Encoding_DefaultJson 15169 #define OpcUaId_AddReferencesRequest_Encoding_DefaultJson 15170 #define OpcUaId_AddReferencesResponse_Encoding_DefaultJson 15171 #define OpcUaId_DeleteNodesItem_Encoding_DefaultJson 15172 #define OpcUaId_DeleteNodesRequest_Encoding_DefaultJson 15173 #define OpcUaId_DeleteNodesResponse_Encoding_DefaultJson 15174 #define OpcUaId_DeleteReferencesItem_Encoding_DefaultJson 15175 #define OpcUaId_DeleteReferencesRequest_Encoding_DefaultJson 15176 #define OpcUaId_DeleteReferencesResponse_Encoding_DefaultJson 15177 #define OpcUaId_ViewDescription_Encoding_DefaultJson 15179 #define OpcUaId_BrowseDescription_Encoding_DefaultJson 15180 #define OpcUaId_ReferenceDescription_Encoding_DefaultJson 15182 #define OpcUaId_BrowseResult_Encoding_DefaultJson 15183 #define OpcUaId_BrowseRequest_Encoding_DefaultJson 15184 #define OpcUaId_BrowseResponse_Encoding_DefaultJson 15185 #define OpcUaId_BrowseNextRequest_Encoding_DefaultJson 15186 #define OpcUaId_BrowseNextResponse_Encoding_DefaultJson 15187 #define OpcUaId_RelativePathElement_Encoding_DefaultJson 15188 #define OpcUaId_RelativePath_Encoding_DefaultJson 15189 #define OpcUaId_BrowsePath_Encoding_DefaultJson 15190 #define OpcUaId_BrowsePathTarget_Encoding_DefaultJson 15191 #define OpcUaId_BrowsePathResult_Encoding_DefaultJson 15192 #define OpcUaId_TranslateBrowsePathsToNodeIdsRequest_Encoding_DefaultJson 15193 #define OpcUaId_TranslateBrowsePathsToNodeIdsResponse_Encoding_DefaultJson 15194 #define OpcUaId_RegisterNodesRequest_Encoding_DefaultJson 15195 #define OpcUaId_RegisterNodesResponse_Encoding_DefaultJson 15196 #define OpcUaId_UnregisterNodesRequest_Encoding_DefaultJson 15197 #define OpcUaId_UnregisterNodesResponse_Encoding_DefaultJson 15198 #define OpcUaId_EndpointConfiguration_Encoding_DefaultJson 15199 #define OpcUaId_QueryDataDescription_Encoding_DefaultJson 15200 #define OpcUaId_NodeTypeDescription_Encoding_DefaultJson 15201 #define OpcUaId_QueryDataSet_Encoding_DefaultJson 15202 #define OpcUaId_NodeReference_Encoding_DefaultJson 15203 #define OpcUaId_ContentFilterElement_Encoding_DefaultJson 15204 #define OpcUaId_ContentFilter_Encoding_DefaultJson 15205 #define OpcUaId_FilterOperand_Encoding_DefaultJson 15206 #define OpcUaId_ElementOperand_Encoding_DefaultJson 15207 #define OpcUaId_LiteralOperand_Encoding_DefaultJson 15208 #define OpcUaId_AttributeOperand_Encoding_DefaultJson 15209 #define OpcUaId_SimpleAttributeOperand_Encoding_DefaultJson 15210 #define OpcUaId_ContentFilterElementResult_Encoding_DefaultJson 15211 #define OpcUaId_ContentFilterResult_Encoding_DefaultJson 15228 #define OpcUaId_ParsingResult_Encoding_DefaultJson 15236 #define OpcUaId_QueryFirstRequest_Encoding_DefaultJson 15244 #define OpcUaId_QueryFirstResponse_Encoding_DefaultJson 15252 #define OpcUaId_QueryNextRequest_Encoding_DefaultJson 15254 #define OpcUaId_QueryNextResponse_Encoding_DefaultJson 15255 #define OpcUaId_ReadValueId_Encoding_DefaultJson 15256 #define OpcUaId_ReadRequest_Encoding_DefaultJson 15257 #define OpcUaId_ReadResponse_Encoding_DefaultJson 15258 #define OpcUaId_HistoryReadValueId_Encoding_DefaultJson 15259 #define OpcUaId_HistoryReadResult_Encoding_DefaultJson 15260 #define OpcUaId_HistoryReadDetails_Encoding_DefaultJson 15261 #define OpcUaId_ReadEventDetails_Encoding_DefaultJson 15262 #define OpcUaId_ReadRawModifiedDetails_Encoding_DefaultJson 15263 #define OpcUaId_ReadProcessedDetails_Encoding_DefaultJson 15264 #define OpcUaId_ReadAtTimeDetails_Encoding_DefaultJson 15269 #define OpcUaId_ReadAnnotationDataDetails_Encoding_DefaultJson 23512 #define OpcUaId_HistoryData_Encoding_DefaultJson 15270 #define OpcUaId_ModificationInfo_Encoding_DefaultJson 15271 #define OpcUaId_HistoryModifiedData_Encoding_DefaultJson 15272 #define OpcUaId_HistoryEvent_Encoding_DefaultJson 15273 #define OpcUaId_HistoryReadRequest_Encoding_DefaultJson 15274 #define OpcUaId_HistoryReadResponse_Encoding_DefaultJson 15275 #define OpcUaId_WriteValue_Encoding_DefaultJson 15276 #define OpcUaId_WriteRequest_Encoding_DefaultJson 15277 #define OpcUaId_WriteResponse_Encoding_DefaultJson 15278 #define OpcUaId_HistoryUpdateDetails_Encoding_DefaultJson 15279 #define OpcUaId_UpdateDataDetails_Encoding_DefaultJson 15280 #define OpcUaId_UpdateStructureDataDetails_Encoding_DefaultJson 15281 #define OpcUaId_UpdateEventDetails_Encoding_DefaultJson 15282 #define OpcUaId_DeleteRawModifiedDetails_Encoding_DefaultJson 15283 #define OpcUaId_DeleteAtTimeDetails_Encoding_DefaultJson 15284 #define OpcUaId_DeleteEventDetails_Encoding_DefaultJson 15285 #define OpcUaId_HistoryUpdateResult_Encoding_DefaultJson 15286 #define OpcUaId_HistoryUpdateRequest_Encoding_DefaultJson 15287 #define OpcUaId_HistoryUpdateResponse_Encoding_DefaultJson 15288 #define OpcUaId_CallMethodRequest_Encoding_DefaultJson 15289 #define OpcUaId_CallMethodResult_Encoding_DefaultJson 15290 #define OpcUaId_CallRequest_Encoding_DefaultJson 15291 #define OpcUaId_CallResponse_Encoding_DefaultJson 15292 #define OpcUaId_MonitoringFilter_Encoding_DefaultJson 15293 #define OpcUaId_DataChangeFilter_Encoding_DefaultJson 15294 #define OpcUaId_EventFilter_Encoding_DefaultJson 15295 #define OpcUaId_AggregateConfiguration_Encoding_DefaultJson 15304 #define OpcUaId_AggregateFilter_Encoding_DefaultJson 15312 #define OpcUaId_MonitoringFilterResult_Encoding_DefaultJson 15313 #define OpcUaId_EventFilterResult_Encoding_DefaultJson 15314 #define OpcUaId_AggregateFilterResult_Encoding_DefaultJson 15315 #define OpcUaId_MonitoringParameters_Encoding_DefaultJson 15320 #define OpcUaId_MonitoredItemCreateRequest_Encoding_DefaultJson 15321 #define OpcUaId_MonitoredItemCreateResult_Encoding_DefaultJson 15322 #define OpcUaId_CreateMonitoredItemsRequest_Encoding_DefaultJson 15323 #define OpcUaId_CreateMonitoredItemsResponse_Encoding_DefaultJson 15324 #define OpcUaId_MonitoredItemModifyRequest_Encoding_DefaultJson 15325 #define OpcUaId_MonitoredItemModifyResult_Encoding_DefaultJson 15326 #define OpcUaId_ModifyMonitoredItemsRequest_Encoding_DefaultJson 15327 #define OpcUaId_ModifyMonitoredItemsResponse_Encoding_DefaultJson 15328 #define OpcUaId_SetMonitoringModeRequest_Encoding_DefaultJson 15329 #define OpcUaId_SetMonitoringModeResponse_Encoding_DefaultJson 15331 #define OpcUaId_SetTriggeringRequest_Encoding_DefaultJson 15332 #define OpcUaId_SetTriggeringResponse_Encoding_DefaultJson 15333 #define OpcUaId_DeleteMonitoredItemsRequest_Encoding_DefaultJson 15335 #define OpcUaId_DeleteMonitoredItemsResponse_Encoding_DefaultJson 15336 #define OpcUaId_CreateSubscriptionRequest_Encoding_DefaultJson 15337 #define OpcUaId_CreateSubscriptionResponse_Encoding_DefaultJson 15338 #define OpcUaId_ModifySubscriptionRequest_Encoding_DefaultJson 15339 #define OpcUaId_ModifySubscriptionResponse_Encoding_DefaultJson 15340 #define OpcUaId_SetPublishingModeRequest_Encoding_DefaultJson 15341 #define OpcUaId_SetPublishingModeResponse_Encoding_DefaultJson 15342 #define OpcUaId_NotificationMessage_Encoding_DefaultJson 15343 #define OpcUaId_NotificationData_Encoding_DefaultJson 15344 #define OpcUaId_DataChangeNotification_Encoding_DefaultJson 15345 #define OpcUaId_MonitoredItemNotification_Encoding_DefaultJson 15346 #define OpcUaId_EventNotificationList_Encoding_DefaultJson 15347 #define OpcUaId_EventFieldList_Encoding_DefaultJson 15348 #define OpcUaId_HistoryEventFieldList_Encoding_DefaultJson 15349 #define OpcUaId_StatusChangeNotification_Encoding_DefaultJson 15350 #define OpcUaId_SubscriptionAcknowledgement_Encoding_DefaultJson 15351 #define OpcUaId_PublishRequest_Encoding_DefaultJson 15352 #define OpcUaId_PublishResponse_Encoding_DefaultJson 15353 #define OpcUaId_RepublishRequest_Encoding_DefaultJson 15354 #define OpcUaId_RepublishResponse_Encoding_DefaultJson 15355 #define OpcUaId_TransferResult_Encoding_DefaultJson 15356 #define OpcUaId_TransferSubscriptionsRequest_Encoding_DefaultJson 15357 #define OpcUaId_TransferSubscriptionsResponse_Encoding_DefaultJson 15358 #define OpcUaId_DeleteSubscriptionsRequest_Encoding_DefaultJson 15359 #define OpcUaId_DeleteSubscriptionsResponse_Encoding_DefaultJson 15360 #define OpcUaId_BuildInfo_Encoding_DefaultJson 15361 #define OpcUaId_RedundantServerDataType_Encoding_DefaultJson 15362 #define OpcUaId_EndpointUrlListDataType_Encoding_DefaultJson 15363 #define OpcUaId_NetworkGroupDataType_Encoding_DefaultJson 15364 #define OpcUaId_SamplingIntervalDiagnosticsDataType_Encoding_DefaultJson 15365 #define OpcUaId_ServerDiagnosticsSummaryDataType_Encoding_DefaultJson 15366 #define OpcUaId_ServerStatusDataType_Encoding_DefaultJson 15367 #define OpcUaId_SessionDiagnosticsDataType_Encoding_DefaultJson 15368 #define OpcUaId_SessionSecurityDiagnosticsDataType_Encoding_DefaultJson 15369 #define OpcUaId_ServiceCounterDataType_Encoding_DefaultJson 15370 #define OpcUaId_StatusResult_Encoding_DefaultJson 15371 #define OpcUaId_SubscriptionDiagnosticsDataType_Encoding_DefaultJson 15372 #define OpcUaId_ModelChangeStructureDataType_Encoding_DefaultJson 15373 #define OpcUaId_SemanticChangeStructureDataType_Encoding_DefaultJson 15374 #define OpcUaId_Range_Encoding_DefaultJson 15375 #define OpcUaId_EUInformation_Encoding_DefaultJson 15376 #define OpcUaId_ComplexNumberType_Encoding_DefaultJson 15377 #define OpcUaId_DoubleComplexNumberType_Encoding_DefaultJson 15378 #define OpcUaId_AxisInformation_Encoding_DefaultJson 15379 #define OpcUaId_XVType_Encoding_DefaultJson 15380 #define OpcUaId_ProgramDiagnosticDataType_Encoding_DefaultJson 15381 #define OpcUaId_ProgramDiagnostic2DataType_Encoding_DefaultJson 15405 #define OpcUaId_Annotation_Encoding_DefaultJson 15382 /*============================================================================ * ObjectType Identifiers *===========================================================================*/ #define OpcUaId_BaseObjectType 58 #define OpcUaId_FolderType 61 #define OpcUaId_DataTypeSystemType 75 #define OpcUaId_DataTypeEncodingType 76 #define OpcUaId_ModellingRuleType 77 #define OpcUaId_ServerType 2004 #define OpcUaId_ServerCapabilitiesType 2013 #define OpcUaId_ServerDiagnosticsType 2020 #define OpcUaId_SessionsDiagnosticsSummaryType 2026 #define OpcUaId_SessionDiagnosticsObjectType 2029 #define OpcUaId_VendorServerInfoType 2033 #define OpcUaId_ServerRedundancyType 2034 #define OpcUaId_TransparentRedundancyType 2036 #define OpcUaId_NonTransparentRedundancyType 2039 #define OpcUaId_NonTransparentNetworkRedundancyType 11945 #define OpcUaId_OperationLimitsType 11564 #define OpcUaId_FileType 11575 #define OpcUaId_AddressSpaceFileType 11595 #define OpcUaId_NamespaceMetadataType 11616 #define OpcUaId_NamespacesType 11645 #define OpcUaId_BaseEventType 2041 #define OpcUaId_AuditEventType 2052 #define OpcUaId_AuditSecurityEventType 2058 #define OpcUaId_AuditChannelEventType 2059 #define OpcUaId_AuditOpenSecureChannelEventType 2060 #define OpcUaId_AuditSessionEventType 2069 #define OpcUaId_AuditCreateSessionEventType 2071 #define OpcUaId_AuditUrlMismatchEventType 2748 #define OpcUaId_AuditActivateSessionEventType 2075 #define OpcUaId_AuditCancelEventType 2078 #define OpcUaId_AuditCertificateEventType 2080 #define OpcUaId_AuditCertificateDataMismatchEventType 2082 #define OpcUaId_AuditCertificateExpiredEventType 2085 #define OpcUaId_AuditCertificateInvalidEventType 2086 #define OpcUaId_AuditCertificateUntrustedEventType 2087 #define OpcUaId_AuditCertificateRevokedEventType 2088 #define OpcUaId_AuditCertificateMismatchEventType 2089 #define OpcUaId_AuditNodeManagementEventType 2090 #define OpcUaId_AuditAddNodesEventType 2091 #define OpcUaId_AuditDeleteNodesEventType 2093 #define OpcUaId_AuditAddReferencesEventType 2095 #define OpcUaId_AuditDeleteReferencesEventType 2097 #define OpcUaId_AuditUpdateEventType 2099 #define OpcUaId_AuditWriteUpdateEventType 2100 #define OpcUaId_AuditHistoryUpdateEventType 2104 #define OpcUaId_AuditUpdateMethodEventType 2127 #define OpcUaId_SystemEventType 2130 #define OpcUaId_DeviceFailureEventType 2131 #define OpcUaId_SystemStatusChangeEventType 11446 #define OpcUaId_BaseModelChangeEventType 2132 #define OpcUaId_GeneralModelChangeEventType 2133 #define OpcUaId_SemanticChangeEventType 2738 #define OpcUaId_EventQueueOverflowEventType 3035 #define OpcUaId_ProgressEventType 11436 #define OpcUaId_AggregateFunctionType 2340 #define OpcUaId_StateMachineType 2299 #define OpcUaId_FiniteStateMachineType 2771 #define OpcUaId_StateType 2307 #define OpcUaId_InitialStateType 2309 #define OpcUaId_TransitionType 2310 #define OpcUaId_ChoiceStateType 15109 #define OpcUaId_TransitionEventType 2311 #define OpcUaId_AuditUpdateStateEventType 2315 #define OpcUaId_FileDirectoryType 13353 #define OpcUaId_TemporaryFileTransferType 15744 #define OpcUaId_FileTransferStateMachineType 15803 #define OpcUaId_RoleSetType 15607 #define OpcUaId_RoleType 15620 #define OpcUaId_RoleMappingRuleChangedAuditEventType 17641 #define OpcUaId_DictionaryEntryType 17589 #define OpcUaId_DictionaryFolderType 17591 #define OpcUaId_IrdiDictionaryEntryType 17598 #define OpcUaId_UriDictionaryEntryType 17600 #define OpcUaId_BaseInterfaceType 17602 #define OpcUaId_ConditionType 2782 #define OpcUaId_DialogConditionType 2830 #define OpcUaId_AcknowledgeableConditionType 2881 #define OpcUaId_AlarmConditionType 2915 #define OpcUaId_AlarmGroupType 16405 #define OpcUaId_ShelvedStateMachineType 2929 #define OpcUaId_LimitAlarmType 2955 #define OpcUaId_ExclusiveLimitStateMachineType 9318 #define OpcUaId_ExclusiveLimitAlarmType 9341 #define OpcUaId_NonExclusiveLimitAlarmType 9906 #define OpcUaId_NonExclusiveLevelAlarmType 10060 #define OpcUaId_ExclusiveLevelAlarmType 9482 #define OpcUaId_NonExclusiveDeviationAlarmType 10368 #define OpcUaId_NonExclusiveRateOfChangeAlarmType 10214 #define OpcUaId_ExclusiveDeviationAlarmType 9764 #define OpcUaId_ExclusiveRateOfChangeAlarmType 9623 #define OpcUaId_DiscreteAlarmType 10523 #define OpcUaId_OffNormalAlarmType 10637 #define OpcUaId_SystemOffNormalAlarmType 11753 #define OpcUaId_TripAlarmType 10751 #define OpcUaId_InstrumentDiagnosticAlarmType 18347 #define OpcUaId_SystemDiagnosticAlarmType 18496 #define OpcUaId_CertificateExpirationAlarmType 13225 #define OpcUaId_DiscrepancyAlarmType 17080 #define OpcUaId_BaseConditionClassType 11163 #define OpcUaId_ProcessConditionClassType 11164 #define OpcUaId_MaintenanceConditionClassType 11165 #define OpcUaId_SystemConditionClassType 11166 #define OpcUaId_SafetyConditionClassType 17218 #define OpcUaId_HighlyManagedAlarmConditionClassType 17219 #define OpcUaId_TrainingConditionClassType 17220 #define OpcUaId_StatisticalConditionClassType 18665 #define OpcUaId_TestingConditionSubClassType 17221 #define OpcUaId_AuditConditionEventType 2790 #define OpcUaId_AuditConditionEnableEventType 2803 #define OpcUaId_AuditConditionCommentEventType 2829 #define OpcUaId_AuditConditionRespondEventType 8927 #define OpcUaId_AuditConditionAcknowledgeEventType 8944 #define OpcUaId_AuditConditionConfirmEventType 8961 #define OpcUaId_AuditConditionShelvingEventType 11093 #define OpcUaId_AuditConditionSuppressionEventType 17225 #define OpcUaId_AuditConditionSilenceEventType 17242 #define OpcUaId_AuditConditionResetEventType 15013 #define OpcUaId_AuditConditionOutOfServiceEventType 17259 #define OpcUaId_RefreshStartEventType 2787 #define OpcUaId_RefreshEndEventType 2788 #define OpcUaId_RefreshRequiredEventType 2789 #define OpcUaId_AlarmMetricsType 17279 #define OpcUaId_ProgramStateMachineType 2391 #define OpcUaId_ProgramTransitionEventType 2378 #define OpcUaId_AuditProgramTransitionEventType 11856 #define OpcUaId_ProgramTransitionAuditEventType 3806 #define OpcUaId_HistoricalDataConfigurationType 2318 #define OpcUaId_HistoryServerCapabilitiesType 2330 #define OpcUaId_AuditHistoryEventUpdateEventType 2999 #define OpcUaId_AuditHistoryValueUpdateEventType 3006 #define OpcUaId_AuditHistoryAnnotationUpdateEventType 19095 #define OpcUaId_AuditHistoryDeleteEventType 3012 #define OpcUaId_AuditHistoryRawModifyDeleteEventType 3014 #define OpcUaId_AuditHistoryAtTimeDeleteEventType 3019 #define OpcUaId_AuditHistoryEventDeleteEventType 3022 #define OpcUaId_TrustListType 12522 #define OpcUaId_TrustListOutOfDateAlarmType 19297 #define OpcUaId_CertificateGroupType 12555 #define OpcUaId_CertificateGroupFolderType 13813 #define OpcUaId_CertificateType 12556 #define OpcUaId_ApplicationCertificateType 12557 #define OpcUaId_HttpsCertificateType 12558 #define OpcUaId_UserCredentialCertificateType 15181 #define OpcUaId_RsaMinApplicationCertificateType 12559 #define OpcUaId_RsaSha256ApplicationCertificateType 12560 #define OpcUaId_TrustListUpdatedAuditEventType 12561 #define OpcUaId_ServerConfigurationType 12581 #define OpcUaId_CertificateUpdatedAuditEventType 12620 #define OpcUaId_KeyCredentialConfigurationFolderType 17496 #define OpcUaId_KeyCredentialConfigurationType 18001 #define OpcUaId_KeyCredentialAuditEventType 18011 #define OpcUaId_KeyCredentialUpdatedAuditEventType 18029 #define OpcUaId_KeyCredentialDeletedAuditEventType 18047 #define OpcUaId_AuthorizationServiceConfigurationType 17852 #define OpcUaId_AggregateConfigurationType 11187 #define OpcUaId_PubSubKeyServiceType 15906 #define OpcUaId_SecurityGroupFolderType 15452 #define OpcUaId_SecurityGroupType 15471 #define OpcUaId_PublishSubscribeType 14416 #define OpcUaId_PublishedDataSetType 14509 #define OpcUaId_ExtensionFieldsType 15489 #define OpcUaId_PublishedDataItemsType 14534 #define OpcUaId_PublishedEventsType 14572 #define OpcUaId_DataSetFolderType 14477 #define OpcUaId_PubSubConnectionType 14209 #define OpcUaId_ConnectionTransportType 17721 #define OpcUaId_PubSubGroupType 14232 #define OpcUaId_WriterGroupType 17725 #define OpcUaId_WriterGroupTransportType 17997 #define OpcUaId_WriterGroupMessageType 17998 #define OpcUaId_ReaderGroupType 17999 #define OpcUaId_ReaderGroupTransportType 21090 #define OpcUaId_ReaderGroupMessageType 21091 #define OpcUaId_DataSetWriterType 15298 #define OpcUaId_DataSetWriterTransportType 15305 #define OpcUaId_DataSetWriterMessageType 21096 #define OpcUaId_DataSetReaderType 15306 #define OpcUaId_DataSetReaderTransportType 15319 #define OpcUaId_DataSetReaderMessageType 21104 #define OpcUaId_SubscribedDataSetType 15108 #define OpcUaId_TargetVariablesType 15111 #define OpcUaId_SubscribedDataSetMirrorType 15127 #define OpcUaId_PubSubStatusType 14643 #define OpcUaId_PubSubDiagnosticsType 19677 #define OpcUaId_PubSubDiagnosticsRootType 19732 #define OpcUaId_PubSubDiagnosticsConnectionType 19786 #define OpcUaId_PubSubDiagnosticsWriterGroupType 19834 #define OpcUaId_PubSubDiagnosticsReaderGroupType 19903 #define OpcUaId_PubSubDiagnosticsDataSetWriterType 19968 #define OpcUaId_PubSubDiagnosticsDataSetReaderType 20027 #define OpcUaId_PubSubStatusEventType 15535 #define OpcUaId_PubSubTransportLimitsExceedEventType 15548 #define OpcUaId_PubSubCommunicationFailureEventType 15563 #define OpcUaId_UadpWriterGroupMessageType 21105 #define OpcUaId_UadpDataSetWriterMessageType 21111 #define OpcUaId_UadpDataSetReaderMessageType 21116 #define OpcUaId_JsonWriterGroupMessageType 21126 #define OpcUaId_JsonDataSetWriterMessageType 21128 #define OpcUaId_JsonDataSetReaderMessageType 21130 #define OpcUaId_DatagramConnectionTransportType 15064 #define OpcUaId_DatagramWriterGroupTransportType 21133 #define OpcUaId_BrokerConnectionTransportType 15155 #define OpcUaId_BrokerWriterGroupTransportType 21136 #define OpcUaId_BrokerDataSetWriterTransportType 21138 #define OpcUaId_BrokerDataSetReaderTransportType 21142 #define OpcUaId_NetworkAddressType 21145 #define OpcUaId_NetworkAddressUrlType 21147 #define OpcUaId_AliasNameType 23455 #define OpcUaId_AliasNameCategoryType 23456 /*============================================================================ * ReferenceType Identifiers *===========================================================================*/ #define OpcUaId_References 31 #define OpcUaId_NonHierarchicalReferences 32 #define OpcUaId_HierarchicalReferences 33 #define OpcUaId_HasChild 34 #define OpcUaId_Organizes 35 #define OpcUaId_HasEventSource 36 #define OpcUaId_HasModellingRule 37 #define OpcUaId_HasEncoding 38 #define OpcUaId_HasDescription 39 #define OpcUaId_HasTypeDefinition 40 #define OpcUaId_GeneratesEvent 41 #define OpcUaId_AlwaysGeneratesEvent 3065 #define OpcUaId_Aggregates 44 #define OpcUaId_HasSubtype 45 #define OpcUaId_HasProperty 46 #define OpcUaId_HasComponent 47 #define OpcUaId_HasNotifier 48 #define OpcUaId_HasOrderedComponent 49 #define OpcUaId_FromState 51 #define OpcUaId_ToState 52 #define OpcUaId_HasCause 53 #define OpcUaId_HasEffect 54 #define OpcUaId_HasSubStateMachine 117 #define OpcUaId_HasHistoricalConfiguration 56 #define OpcUaId_HasArgumentDescription 129 #define OpcUaId_HasOptionalInputArgumentDescription 131 #define OpcUaId_HasGuard 15112 #define OpcUaId_HasDictionaryEntry 17597 #define OpcUaId_HasInterface 17603 #define OpcUaId_HasAddIn 17604 #define OpcUaId_HasTrueSubState 9004 #define OpcUaId_HasFalseSubState 9005 #define OpcUaId_HasAlarmSuppressionGroup 16361 #define OpcUaId_AlarmGroupMember 16362 #define OpcUaId_HasCondition 9006 #define OpcUaId_HasEffectDisable 17276 #define OpcUaId_HasEffectEnable 17983 #define OpcUaId_HasEffectSuppressed 17984 #define OpcUaId_HasEffectUnsuppressed 17985 #define OpcUaId_HasPubSubConnection 14476 #define OpcUaId_DataSetToWriter 14936 #define OpcUaId_HasDataSetWriter 15296 #define OpcUaId_HasWriterGroup 18804 #define OpcUaId_HasDataSetReader 15297 #define OpcUaId_HasReaderGroup 18805 #define OpcUaId_AliasFor 23469 /*============================================================================ * Variable Identifiers *===========================================================================*/ #define OpcUaId_DataTypeDescriptionType_DataTypeVersion 104 #define OpcUaId_DataTypeDescriptionType_DictionaryFragment 105 #define OpcUaId_DataTypeDictionaryType_DataTypeVersion 106 #define OpcUaId_DataTypeDictionaryType_NamespaceUri 107 #define OpcUaId_DataTypeDictionaryType_Deprecated 15001 #define OpcUaId_NamingRuleType_EnumValues 12169 #define OpcUaId_ModellingRuleType_NamingRule 111 #define OpcUaId_ModellingRule_Mandatory_NamingRule 112 #define OpcUaId_ModellingRule_Optional_NamingRule 113 #define OpcUaId_ModellingRule_ExposesItsArray_NamingRule 114 #define OpcUaId_ModellingRule_OptionalPlaceholder_NamingRule 11509 #define OpcUaId_ModellingRule_MandatoryPlaceholder_NamingRule 11511 #define OpcUaId_OPCUANamespaceMetadata_NamespaceUri 15958 #define OpcUaId_OPCUANamespaceMetadata_NamespaceVersion 15959 #define OpcUaId_OPCUANamespaceMetadata_NamespacePublicationDate 15960 #define OpcUaId_OPCUANamespaceMetadata_IsNamespaceSubset 15961 #define OpcUaId_OPCUANamespaceMetadata_StaticNodeIdTypes 15962 #define OpcUaId_OPCUANamespaceMetadata_StaticNumericNodeIdRange 15963 #define OpcUaId_OPCUANamespaceMetadata_StaticStringNodeIdPattern 15964 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Size 15966 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Writable 15967 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_UserWritable 15968 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_OpenCount 15969 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Open_InputArguments 15972 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Open_OutputArguments 15973 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Close_InputArguments 15975 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Read_InputArguments 15977 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Read_OutputArguments 15978 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_Write_InputArguments 15980 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_GetPosition_InputArguments 15982 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_GetPosition_OutputArguments 15983 #define OpcUaId_OPCUANamespaceMetadata_NamespaceFile_SetPosition_InputArguments 15985 #define OpcUaId_OPCUANamespaceMetadata_DefaultRolePermissions 16134 #define OpcUaId_OPCUANamespaceMetadata_DefaultUserRolePermissions 16135 #define OpcUaId_OPCUANamespaceMetadata_DefaultAccessRestrictions 16136 #define OpcUaId_NodeVersion 3068 #define OpcUaId_ViewVersion 12170 #define OpcUaId_Icon 3067 #define OpcUaId_LocalTime 3069 #define OpcUaId_AllowNulls 3070 #define OpcUaId_ValueAsText 11433 #define OpcUaId_MaxStringLength 11498 #define OpcUaId_MaxCharacters 15002 #define OpcUaId_MaxByteStringLength 12908 #define OpcUaId_MaxArrayLength 11512 #define OpcUaId_EngineeringUnits 11513 #define OpcUaId_EnumStrings 11432 #define OpcUaId_EnumValues 3071 #define OpcUaId_OptionSetValues 12745 #define OpcUaId_InputArguments 3072 #define OpcUaId_OutputArguments 3073 #define OpcUaId_DefaultInputValues 16306 #define OpcUaId_DefaultInstanceBrowseName 17605 #define OpcUaId_ServerType_ServerArray 2005 #define OpcUaId_ServerType_NamespaceArray 2006 #define OpcUaId_ServerType_UrisVersion 15003 #define OpcUaId_ServerType_ServerStatus 2007 #define OpcUaId_ServerType_ServerStatus_StartTime 3074 #define OpcUaId_ServerType_ServerStatus_CurrentTime 3075 #define OpcUaId_ServerType_ServerStatus_State 3076 #define OpcUaId_ServerType_ServerStatus_BuildInfo 3077 #define OpcUaId_ServerType_ServerStatus_BuildInfo_ProductUri 3078 #define OpcUaId_ServerType_ServerStatus_BuildInfo_ManufacturerName 3079 #define OpcUaId_ServerType_ServerStatus_BuildInfo_ProductName 3080 #define OpcUaId_ServerType_ServerStatus_BuildInfo_SoftwareVersion 3081 #define OpcUaId_ServerType_ServerStatus_BuildInfo_BuildNumber 3082 #define OpcUaId_ServerType_ServerStatus_BuildInfo_BuildDate 3083 #define OpcUaId_ServerType_ServerStatus_SecondsTillShutdown 3084 #define OpcUaId_ServerType_ServerStatus_ShutdownReason 3085 #define OpcUaId_ServerType_ServiceLevel 2008 #define OpcUaId_ServerType_Auditing 2742 #define OpcUaId_ServerType_EstimatedReturnTime 12882 #define OpcUaId_ServerType_LocalTime 17612 #define OpcUaId_ServerType_ServerCapabilities_ServerProfileArray 3086 #define OpcUaId_ServerType_ServerCapabilities_LocaleIdArray 3087 #define OpcUaId_ServerType_ServerCapabilities_MinSupportedSampleRate 3088 #define OpcUaId_ServerType_ServerCapabilities_MaxBrowseContinuationPoints 3089 #define OpcUaId_ServerType_ServerCapabilities_MaxQueryContinuationPoints 3090 #define OpcUaId_ServerType_ServerCapabilities_MaxHistoryContinuationPoints 3091 #define OpcUaId_ServerType_ServerCapabilities_SoftwareCertificates 3092 #define OpcUaId_ServerType_ServerCapabilities_RoleSet_AddRole_InputArguments 16291 #define OpcUaId_ServerType_ServerCapabilities_RoleSet_AddRole_OutputArguments 16292 #define OpcUaId_ServerType_ServerCapabilities_RoleSet_RemoveRole_InputArguments 16294 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary 3095 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_ServerViewCount 3096 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_CurrentSessionCount 3097 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_CumulatedSessionCount 3098 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_SecurityRejectedSessionCount 3099 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_RejectedSessionCount 3100 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_SessionTimeoutCount 3101 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_SessionAbortCount 3102 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_PublishingIntervalCount 3104 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_CurrentSubscriptionCount 3105 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_CumulatedSubscriptionCount 3106 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_SecurityRejectedRequestsCount 3107 #define OpcUaId_ServerType_ServerDiagnostics_ServerDiagnosticsSummary_RejectedRequestsCount 3108 #define OpcUaId_ServerType_ServerDiagnostics_SubscriptionDiagnosticsArray 3110 #define OpcUaId_ServerType_ServerDiagnostics_SessionsDiagnosticsSummary_SessionDiagnosticsArray 3112 #define OpcUaId_ServerType_ServerDiagnostics_SessionsDiagnosticsSummary_SessionSecurityDiagnosticsArray 3113 #define OpcUaId_ServerType_ServerDiagnostics_EnabledFlag 3114 #define OpcUaId_ServerType_ServerRedundancy_RedundancySupport 3115 #define OpcUaId_ServerType_GetMonitoredItems_InputArguments 11490 #define OpcUaId_ServerType_GetMonitoredItems_OutputArguments 11491 #define OpcUaId_ServerType_ResendData_InputArguments 12872 #define OpcUaId_ServerType_SetSubscriptionDurable_InputArguments 12747 #define OpcUaId_ServerType_SetSubscriptionDurable_OutputArguments 12748 #define OpcUaId_ServerType_RequestServerStateChange_InputArguments 12884 #define OpcUaId_ServerCapabilitiesType_ServerProfileArray 2014 #define OpcUaId_ServerCapabilitiesType_LocaleIdArray 2016 #define OpcUaId_ServerCapabilitiesType_MinSupportedSampleRate 2017 #define OpcUaId_ServerCapabilitiesType_MaxBrowseContinuationPoints 2732 #define OpcUaId_ServerCapabilitiesType_MaxQueryContinuationPoints 2733 #define OpcUaId_ServerCapabilitiesType_MaxHistoryContinuationPoints 2734 #define OpcUaId_ServerCapabilitiesType_SoftwareCertificates 3049 #define OpcUaId_ServerCapabilitiesType_MaxArrayLength 11549 #define OpcUaId_ServerCapabilitiesType_MaxStringLength 11550 #define OpcUaId_ServerCapabilitiesType_MaxByteStringLength 12910 #define OpcUaId_ServerCapabilitiesType_VendorCapability_Placeholder 11562 #define OpcUaId_ServerCapabilitiesType_RoleSet_AddRole_InputArguments 16297 #define OpcUaId_ServerCapabilitiesType_RoleSet_AddRole_OutputArguments 16298 #define OpcUaId_ServerCapabilitiesType_RoleSet_RemoveRole_InputArguments 16300 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary 2021 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_ServerViewCount 3116 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_CurrentSessionCount 3117 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_CumulatedSessionCount 3118 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_SecurityRejectedSessionCount 3119 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_RejectedSessionCount 3120 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_SessionTimeoutCount 3121 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_SessionAbortCount 3122 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_PublishingIntervalCount 3124 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_CurrentSubscriptionCount 3125 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_CumulatedSubscriptionCount 3126 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_SecurityRejectedRequestsCount 3127 #define OpcUaId_ServerDiagnosticsType_ServerDiagnosticsSummary_RejectedRequestsCount 3128 #define OpcUaId_ServerDiagnosticsType_SamplingIntervalDiagnosticsArray 2022 #define OpcUaId_ServerDiagnosticsType_SubscriptionDiagnosticsArray 2023 #define OpcUaId_ServerDiagnosticsType_SessionsDiagnosticsSummary_SessionDiagnosticsArray 3129 #define OpcUaId_ServerDiagnosticsType_SessionsDiagnosticsSummary_SessionSecurityDiagnosticsArray 3130 #define OpcUaId_ServerDiagnosticsType_EnabledFlag 2025 #define OpcUaId_SessionsDiagnosticsSummaryType_SessionDiagnosticsArray 2027 #define OpcUaId_SessionsDiagnosticsSummaryType_SessionSecurityDiagnosticsArray 2028 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics 12098 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_SessionId 12099 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_SessionName 12100 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_ClientDescription 12101 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_ServerUri 12102 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_EndpointUrl 12103 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_LocaleIds 12104 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_ActualSessionTimeout 12105 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_MaxResponseMessageSize 12106 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_ClientConnectionTime 12107 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_ClientLastContactTime 12108 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_CurrentSubscriptionsCount 12109 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_CurrentMonitoredItemsCount 12110 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_CurrentPublishRequestsInQueue 12111 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_TotalRequestCount 12112 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_UnauthorizedRequestCount 12113 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_ReadCount 12114 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_HistoryReadCount 12115 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_WriteCount 12116 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_HistoryUpdateCount 12117 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_CallCount 12118 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_CreateMonitoredItemsCount 12119 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_ModifyMonitoredItemsCount 12120 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_SetMonitoringModeCount 12121 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_SetTriggeringCount 12122 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_DeleteMonitoredItemsCount 12123 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_CreateSubscriptionCount 12124 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_ModifySubscriptionCount 12125 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_SetPublishingModeCount 12126 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_PublishCount 12127 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_RepublishCount 12128 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_TransferSubscriptionsCount 12129 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_DeleteSubscriptionsCount 12130 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_AddNodesCount 12131 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_AddReferencesCount 12132 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_DeleteNodesCount 12133 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_DeleteReferencesCount 12134 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_BrowseCount 12135 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_BrowseNextCount 12136 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_TranslateBrowsePathsToNodeIdsCount 12137 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_QueryFirstCount 12138 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_QueryNextCount 12139 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_RegisterNodesCount 12140 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionDiagnostics_UnregisterNodesCount 12141 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionSecurityDiagnostics 12142 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionSecurityDiagnostics_SessionId 12143 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionSecurityDiagnostics_ClientUserIdOfSession 12144 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionSecurityDiagnostics_ClientUserIdHistory 12145 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionSecurityDiagnostics_AuthenticationMechanism 12146 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionSecurityDiagnostics_Encoding 12147 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionSecurityDiagnostics_TransportProtocol 12148 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionSecurityDiagnostics_SecurityMode 12149 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionSecurityDiagnostics_SecurityPolicyUri 12150 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SessionSecurityDiagnostics_ClientCertificate 12151 #define OpcUaId_SessionsDiagnosticsSummaryType_ClientName_Placeholder_SubscriptionDiagnosticsArray 12152 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics 2030 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_SessionId 3131 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_SessionName 3132 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_ClientDescription 3133 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_ServerUri 3134 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_EndpointUrl 3135 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_LocaleIds 3136 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_ActualSessionTimeout 3137 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_MaxResponseMessageSize 3138 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_ClientConnectionTime 3139 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_ClientLastContactTime 3140 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_CurrentSubscriptionsCount 3141 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_CurrentMonitoredItemsCount 3142 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_CurrentPublishRequestsInQueue 3143 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_TotalRequestCount 8898 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_UnauthorizedRequestCount 11891 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_ReadCount 3151 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_HistoryReadCount 3152 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_WriteCount 3153 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_HistoryUpdateCount 3154 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_CallCount 3155 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_CreateMonitoredItemsCount 3156 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_ModifyMonitoredItemsCount 3157 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_SetMonitoringModeCount 3158 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_SetTriggeringCount 3159 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_DeleteMonitoredItemsCount 3160 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_CreateSubscriptionCount 3161 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_ModifySubscriptionCount 3162 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_SetPublishingModeCount 3163 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_PublishCount 3164 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_RepublishCount 3165 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_TransferSubscriptionsCount 3166 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_DeleteSubscriptionsCount 3167 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_AddNodesCount 3168 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_AddReferencesCount 3169 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_DeleteNodesCount 3170 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_DeleteReferencesCount 3171 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_BrowseCount 3172 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_BrowseNextCount 3173 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_TranslateBrowsePathsToNodeIdsCount 3174 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_QueryFirstCount 3175 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_QueryNextCount 3176 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_RegisterNodesCount 3177 #define OpcUaId_SessionDiagnosticsObjectType_SessionDiagnostics_UnregisterNodesCount 3178 #define OpcUaId_SessionDiagnosticsObjectType_SessionSecurityDiagnostics 2031 #define OpcUaId_SessionDiagnosticsObjectType_SessionSecurityDiagnostics_SessionId 3179 #define OpcUaId_SessionDiagnosticsObjectType_SessionSecurityDiagnostics_ClientUserIdOfSession 3180 #define OpcUaId_SessionDiagnosticsObjectType_SessionSecurityDiagnostics_ClientUserIdHistory 3181 #define OpcUaId_SessionDiagnosticsObjectType_SessionSecurityDiagnostics_AuthenticationMechanism 3182 #define OpcUaId_SessionDiagnosticsObjectType_SessionSecurityDiagnostics_Encoding 3183 #define OpcUaId_SessionDiagnosticsObjectType_SessionSecurityDiagnostics_TransportProtocol 3184 #define OpcUaId_SessionDiagnosticsObjectType_SessionSecurityDiagnostics_SecurityMode 3185 #define OpcUaId_SessionDiagnosticsObjectType_SessionSecurityDiagnostics_SecurityPolicyUri 3186 #define OpcUaId_SessionDiagnosticsObjectType_SessionSecurityDiagnostics_ClientCertificate 3187 #define OpcUaId_SessionDiagnosticsObjectType_SubscriptionDiagnosticsArray 2032 #define OpcUaId_ServerRedundancyType_RedundancySupport 2035 #define OpcUaId_TransparentRedundancyType_CurrentServerId 2037 #define OpcUaId_TransparentRedundancyType_RedundantServerArray 2038 #define OpcUaId_NonTransparentRedundancyType_ServerUriArray 2040 #define OpcUaId_NonTransparentNetworkRedundancyType_ServerNetworkGroups 11948 #define OpcUaId_OperationLimitsType_MaxNodesPerRead 11565 #define OpcUaId_OperationLimitsType_MaxNodesPerHistoryReadData 12161 #define OpcUaId_OperationLimitsType_MaxNodesPerHistoryReadEvents 12162 #define OpcUaId_OperationLimitsType_MaxNodesPerWrite 11567 #define OpcUaId_OperationLimitsType_MaxNodesPerHistoryUpdateData 12163 #define OpcUaId_OperationLimitsType_MaxNodesPerHistoryUpdateEvents 12164 #define OpcUaId_OperationLimitsType_MaxNodesPerMethodCall 11569 #define OpcUaId_OperationLimitsType_MaxNodesPerBrowse 11570 #define OpcUaId_OperationLimitsType_MaxNodesPerRegisterNodes 11571 #define OpcUaId_OperationLimitsType_MaxNodesPerTranslateBrowsePathsToNodeIds 11572 #define OpcUaId_OperationLimitsType_MaxNodesPerNodeManagement 11573 #define OpcUaId_OperationLimitsType_MaxMonitoredItemsPerCall 11574 #define OpcUaId_FileType_Size 11576 #define OpcUaId_FileType_Writable 12686 #define OpcUaId_FileType_UserWritable 12687 #define OpcUaId_FileType_OpenCount 11579 #define OpcUaId_FileType_MimeType 13341 #define OpcUaId_FileType_Open_InputArguments 11581 #define OpcUaId_FileType_Open_OutputArguments 11582 #define OpcUaId_FileType_Close_InputArguments 11584 #define OpcUaId_FileType_Read_InputArguments 11586 #define OpcUaId_FileType_Read_OutputArguments 11587 #define OpcUaId_FileType_Write_InputArguments 11589 #define OpcUaId_FileType_GetPosition_InputArguments 11591 #define OpcUaId_FileType_GetPosition_OutputArguments 11592 #define OpcUaId_FileType_SetPosition_InputArguments 11594 #define OpcUaId_AddressSpaceFileType_Open_InputArguments 11601 #define OpcUaId_AddressSpaceFileType_Open_OutputArguments 11602 #define OpcUaId_AddressSpaceFileType_Close_InputArguments 11604 #define OpcUaId_AddressSpaceFileType_Read_InputArguments 11606 #define OpcUaId_AddressSpaceFileType_Read_OutputArguments 11607 #define OpcUaId_AddressSpaceFileType_Write_InputArguments 11609 #define OpcUaId_AddressSpaceFileType_GetPosition_InputArguments 11611 #define OpcUaId_AddressSpaceFileType_GetPosition_OutputArguments 11612 #define OpcUaId_AddressSpaceFileType_SetPosition_InputArguments 11614 #define OpcUaId_NamespaceMetadataType_NamespaceUri 11617 #define OpcUaId_NamespaceMetadataType_NamespaceVersion 11618 #define OpcUaId_NamespaceMetadataType_NamespacePublicationDate 11619 #define OpcUaId_NamespaceMetadataType_IsNamespaceSubset 11620 #define OpcUaId_NamespaceMetadataType_StaticNodeIdTypes 11621 #define OpcUaId_NamespaceMetadataType_StaticNumericNodeIdRange 11622 #define OpcUaId_NamespaceMetadataType_StaticStringNodeIdPattern 11623 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Size 11625 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Writable 12690 #define OpcUaId_NamespaceMetadataType_NamespaceFile_UserWritable 12691 #define OpcUaId_NamespaceMetadataType_NamespaceFile_OpenCount 11628 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Open_InputArguments 11630 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Open_OutputArguments 11631 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Close_InputArguments 11633 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Read_InputArguments 11635 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Read_OutputArguments 11636 #define OpcUaId_NamespaceMetadataType_NamespaceFile_Write_InputArguments 11638 #define OpcUaId_NamespaceMetadataType_NamespaceFile_GetPosition_InputArguments 11640 #define OpcUaId_NamespaceMetadataType_NamespaceFile_GetPosition_OutputArguments 11641 #define OpcUaId_NamespaceMetadataType_NamespaceFile_SetPosition_InputArguments 11643 #define OpcUaId_NamespaceMetadataType_DefaultRolePermissions 16137 #define OpcUaId_NamespaceMetadataType_DefaultUserRolePermissions 16138 #define OpcUaId_NamespaceMetadataType_DefaultAccessRestrictions 16139 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceUri 11647 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceVersion 11648 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespacePublicationDate 11649 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_IsNamespaceSubset 11650 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_StaticNodeIdTypes 11651 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_StaticNumericNodeIdRange 11652 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_StaticStringNodeIdPattern 11653 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Size 11655 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Writable 12692 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_UserWritable 12693 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_OpenCount 11658 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Open_InputArguments 11660 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Open_OutputArguments 11661 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Close_InputArguments 11663 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Read_InputArguments 11665 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Read_OutputArguments 11666 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_Write_InputArguments 11668 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_GetPosition_InputArguments 11670 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_GetPosition_OutputArguments 11671 #define OpcUaId_NamespacesType_NamespaceIdentifier_Placeholder_NamespaceFile_SetPosition_InputArguments 11673 #define OpcUaId_BaseEventType_EventId 2042 #define OpcUaId_BaseEventType_EventType 2043 #define OpcUaId_BaseEventType_SourceNode 2044 #define OpcUaId_BaseEventType_SourceName 2045 #define OpcUaId_BaseEventType_Time 2046 #define OpcUaId_BaseEventType_ReceiveTime 2047 #define OpcUaId_BaseEventType_LocalTime 3190 #define OpcUaId_BaseEventType_Message 2050 #define OpcUaId_BaseEventType_Severity 2051 #define OpcUaId_AuditEventType_ActionTimeStamp 2053 #define OpcUaId_AuditEventType_Status 2054 #define OpcUaId_AuditEventType_ServerId 2055 #define OpcUaId_AuditEventType_ClientAuditEntryId 2056 #define OpcUaId_AuditEventType_ClientUserId 2057 #define OpcUaId_AuditSecurityEventType_StatusCodeId 17615 #define OpcUaId_AuditChannelEventType_SecureChannelId 2745 #define OpcUaId_AuditOpenSecureChannelEventType_ClientCertificate 2061 #define OpcUaId_AuditOpenSecureChannelEventType_ClientCertificateThumbprint 2746 #define OpcUaId_AuditOpenSecureChannelEventType_RequestType 2062 #define OpcUaId_AuditOpenSecureChannelEventType_SecurityPolicyUri 2063 #define OpcUaId_AuditOpenSecureChannelEventType_SecurityMode 2065 #define OpcUaId_AuditOpenSecureChannelEventType_RequestedLifetime 2066 #define OpcUaId_AuditSessionEventType_SessionId 2070 #define OpcUaId_AuditCreateSessionEventType_SecureChannelId 2072 #define OpcUaId_AuditCreateSessionEventType_ClientCertificate 2073 #define OpcUaId_AuditCreateSessionEventType_ClientCertificateThumbprint 2747 #define OpcUaId_AuditCreateSessionEventType_RevisedSessionTimeout 2074 #define OpcUaId_AuditUrlMismatchEventType_EndpointUrl 2749 #define OpcUaId_AuditActivateSessionEventType_ClientSoftwareCertificates 2076 #define OpcUaId_AuditActivateSessionEventType_UserIdentityToken 2077 #define OpcUaId_AuditActivateSessionEventType_SecureChannelId 11485 #define OpcUaId_AuditCancelEventType_RequestHandle 2079 #define OpcUaId_AuditCertificateEventType_Certificate 2081 #define OpcUaId_AuditCertificateDataMismatchEventType_InvalidHostname 2083 #define OpcUaId_AuditCertificateDataMismatchEventType_InvalidUri 2084 #define OpcUaId_AuditAddNodesEventType_NodesToAdd 2092 #define OpcUaId_AuditDeleteNodesEventType_NodesToDelete 2094 #define OpcUaId_AuditAddReferencesEventType_ReferencesToAdd 2096 #define OpcUaId_AuditDeleteReferencesEventType_ReferencesToDelete 2098 #define OpcUaId_AuditWriteUpdateEventType_AttributeId 2750 #define OpcUaId_AuditWriteUpdateEventType_IndexRange 2101 #define OpcUaId_AuditWriteUpdateEventType_OldValue 2102 #define OpcUaId_AuditWriteUpdateEventType_NewValue 2103 #define OpcUaId_AuditHistoryUpdateEventType_ParameterDataTypeId 2751 #define OpcUaId_AuditUpdateMethodEventType_MethodId 2128 #define OpcUaId_AuditUpdateMethodEventType_InputArguments 2129 #define OpcUaId_SystemStatusChangeEventType_SystemState 11696 #define OpcUaId_GeneralModelChangeEventType_Changes 2134 #define OpcUaId_SemanticChangeEventType_Changes 2739 #define OpcUaId_ProgressEventType_Context 12502 #define OpcUaId_ProgressEventType_Progress 12503 #define OpcUaId_ServerStatusType_StartTime 2139 #define OpcUaId_ServerStatusType_CurrentTime 2140 #define OpcUaId_ServerStatusType_State 2141 #define OpcUaId_ServerStatusType_BuildInfo 2142 #define OpcUaId_ServerStatusType_BuildInfo_ProductUri 3698 #define OpcUaId_ServerStatusType_BuildInfo_ManufacturerName 3699 #define OpcUaId_ServerStatusType_BuildInfo_ProductName 3700 #define OpcUaId_ServerStatusType_BuildInfo_SoftwareVersion 3701 #define OpcUaId_ServerStatusType_BuildInfo_BuildNumber 3702 #define OpcUaId_ServerStatusType_BuildInfo_BuildDate 3703 #define OpcUaId_ServerStatusType_SecondsTillShutdown 2752 #define OpcUaId_ServerStatusType_ShutdownReason 2753 #define OpcUaId_BuildInfoType_ProductUri 3052 #define OpcUaId_BuildInfoType_ManufacturerName 3053 #define OpcUaId_BuildInfoType_ProductName 3054 #define OpcUaId_BuildInfoType_SoftwareVersion 3055 #define OpcUaId_BuildInfoType_BuildNumber 3056 #define OpcUaId_BuildInfoType_BuildDate 3057 #define OpcUaId_ServerDiagnosticsSummaryType_ServerViewCount 2151 #define OpcUaId_ServerDiagnosticsSummaryType_CurrentSessionCount 2152 #define OpcUaId_ServerDiagnosticsSummaryType_CumulatedSessionCount 2153 #define OpcUaId_ServerDiagnosticsSummaryType_SecurityRejectedSessionCount 2154 #define OpcUaId_ServerDiagnosticsSummaryType_RejectedSessionCount 2155 #define OpcUaId_ServerDiagnosticsSummaryType_SessionTimeoutCount 2156 #define OpcUaId_ServerDiagnosticsSummaryType_SessionAbortCount 2157 #define OpcUaId_ServerDiagnosticsSummaryType_PublishingIntervalCount 2159 #define OpcUaId_ServerDiagnosticsSummaryType_CurrentSubscriptionCount 2160 #define OpcUaId_ServerDiagnosticsSummaryType_CumulatedSubscriptionCount 2161 #define OpcUaId_ServerDiagnosticsSummaryType_SecurityRejectedRequestsCount 2162 #define OpcUaId_ServerDiagnosticsSummaryType_RejectedRequestsCount 2163 #define OpcUaId_SamplingIntervalDiagnosticsArrayType_SamplingIntervalDiagnostics 12779 #define OpcUaId_SamplingIntervalDiagnosticsArrayType_SamplingIntervalDiagnostics_SamplingInterval 12780 #define OpcUaId_SamplingIntervalDiagnosticsArrayType_SamplingIntervalDiagnostics_SampledMonitoredItemsCount 12781 #define OpcUaId_SamplingIntervalDiagnosticsArrayType_SamplingIntervalDiagnostics_MaxSampledMonitoredItemsCount 12782 #define OpcUaId_SamplingIntervalDiagnosticsArrayType_SamplingIntervalDiagnostics_DisabledMonitoredItemsSamplingCount 12783 #define OpcUaId_SamplingIntervalDiagnosticsType_SamplingInterval 2166 #define OpcUaId_SamplingIntervalDiagnosticsType_SampledMonitoredItemsCount 11697 #define OpcUaId_SamplingIntervalDiagnosticsType_MaxSampledMonitoredItemsCount 11698 #define OpcUaId_SamplingIntervalDiagnosticsType_DisabledMonitoredItemsSamplingCount 11699 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics 12784 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_SessionId 12785 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_SubscriptionId 12786 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_Priority 12787 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_PublishingInterval 12788 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_MaxKeepAliveCount 12789 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_MaxLifetimeCount 12790 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_MaxNotificationsPerPublish 12791 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_PublishingEnabled 12792 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_ModifyCount 12793 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_EnableCount 12794 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_DisableCount 12795 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_RepublishRequestCount 12796 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_RepublishMessageRequestCount 12797 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_RepublishMessageCount 12798 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_TransferRequestCount 12799 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_TransferredToAltClientCount 12800 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_TransferredToSameClientCount 12801 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_PublishRequestCount 12802 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_DataChangeNotificationsCount 12803 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_EventNotificationsCount 12804 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_NotificationsCount 12805 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_LatePublishRequestCount 12806 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_CurrentKeepAliveCount 12807 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_CurrentLifetimeCount 12808 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_UnacknowledgedMessageCount 12809 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_DiscardedMessageCount 12810 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_MonitoredItemCount 12811 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_DisabledMonitoredItemCount 12812 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_MonitoringQueueOverflowCount 12813 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_NextSequenceNumber 12814 #define OpcUaId_SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_EventQueueOverflowCount 12815 #define OpcUaId_SubscriptionDiagnosticsType_SessionId 2173 #define OpcUaId_SubscriptionDiagnosticsType_SubscriptionId 2174 #define OpcUaId_SubscriptionDiagnosticsType_Priority 2175 #define OpcUaId_SubscriptionDiagnosticsType_PublishingInterval 2176 #define OpcUaId_SubscriptionDiagnosticsType_MaxKeepAliveCount 2177 #define OpcUaId_SubscriptionDiagnosticsType_MaxLifetimeCount 8888 #define OpcUaId_SubscriptionDiagnosticsType_MaxNotificationsPerPublish 2179 #define OpcUaId_SubscriptionDiagnosticsType_PublishingEnabled 2180 #define OpcUaId_SubscriptionDiagnosticsType_ModifyCount 2181 #define OpcUaId_SubscriptionDiagnosticsType_EnableCount 2182 #define OpcUaId_SubscriptionDiagnosticsType_DisableCount 2183 #define OpcUaId_SubscriptionDiagnosticsType_RepublishRequestCount 2184 #define OpcUaId_SubscriptionDiagnosticsType_RepublishMessageRequestCount 2185 #define OpcUaId_SubscriptionDiagnosticsType_RepublishMessageCount 2186 #define OpcUaId_SubscriptionDiagnosticsType_TransferRequestCount 2187 #define OpcUaId_SubscriptionDiagnosticsType_TransferredToAltClientCount 2188 #define OpcUaId_SubscriptionDiagnosticsType_TransferredToSameClientCount 2189 #define OpcUaId_SubscriptionDiagnosticsType_PublishRequestCount 2190 #define OpcUaId_SubscriptionDiagnosticsType_DataChangeNotificationsCount 2191 #define OpcUaId_SubscriptionDiagnosticsType_EventNotificationsCount 2998 #define OpcUaId_SubscriptionDiagnosticsType_NotificationsCount 2193 #define OpcUaId_SubscriptionDiagnosticsType_LatePublishRequestCount 8889 #define OpcUaId_SubscriptionDiagnosticsType_CurrentKeepAliveCount 8890 #define OpcUaId_SubscriptionDiagnosticsType_CurrentLifetimeCount 8891 #define OpcUaId_SubscriptionDiagnosticsType_UnacknowledgedMessageCount 8892 #define OpcUaId_SubscriptionDiagnosticsType_DiscardedMessageCount 8893 #define OpcUaId_SubscriptionDiagnosticsType_MonitoredItemCount 8894 #define OpcUaId_SubscriptionDiagnosticsType_DisabledMonitoredItemCount 8895 #define OpcUaId_SubscriptionDiagnosticsType_MonitoringQueueOverflowCount 8896 #define OpcUaId_SubscriptionDiagnosticsType_NextSequenceNumber 8897 #define OpcUaId_SubscriptionDiagnosticsType_EventQueueOverflowCount 8902 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics 12816 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_SessionId 12817 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_SessionName 12818 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_ClientDescription 12819 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_ServerUri 12820 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_EndpointUrl 12821 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_LocaleIds 12822 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_ActualSessionTimeout 12823 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_MaxResponseMessageSize 12824 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_ClientConnectionTime 12825 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_ClientLastContactTime 12826 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_CurrentSubscriptionsCount 12827 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_CurrentMonitoredItemsCount 12828 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_CurrentPublishRequestsInQueue 12829 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_TotalRequestCount 12830 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_UnauthorizedRequestCount 12831 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_ReadCount 12832 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_HistoryReadCount 12833 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_WriteCount 12834 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_HistoryUpdateCount 12835 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_CallCount 12836 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_CreateMonitoredItemsCount 12837 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_ModifyMonitoredItemsCount 12838 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_SetMonitoringModeCount 12839 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_SetTriggeringCount 12840 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_DeleteMonitoredItemsCount 12841 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_CreateSubscriptionCount 12842 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_ModifySubscriptionCount 12843 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_SetPublishingModeCount 12844 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_PublishCount 12845 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_RepublishCount 12846 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_TransferSubscriptionsCount 12847 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_DeleteSubscriptionsCount 12848 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_AddNodesCount 12849 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_AddReferencesCount 12850 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_DeleteNodesCount 12851 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_DeleteReferencesCount 12852 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_BrowseCount 12853 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_BrowseNextCount 12854 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_TranslateBrowsePathsToNodeIdsCount 12855 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_QueryFirstCount 12856 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_QueryNextCount 12857 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_RegisterNodesCount 12858 #define OpcUaId_SessionDiagnosticsArrayType_SessionDiagnostics_UnregisterNodesCount 12859 #define OpcUaId_SessionDiagnosticsVariableType_SessionId 2198 #define OpcUaId_SessionDiagnosticsVariableType_SessionName 2199 #define OpcUaId_SessionDiagnosticsVariableType_ClientDescription 2200 #define OpcUaId_SessionDiagnosticsVariableType_ServerUri 2201 #define OpcUaId_SessionDiagnosticsVariableType_EndpointUrl 2202 #define OpcUaId_SessionDiagnosticsVariableType_LocaleIds 2203 #define OpcUaId_SessionDiagnosticsVariableType_ActualSessionTimeout 2204 #define OpcUaId_SessionDiagnosticsVariableType_MaxResponseMessageSize 3050 #define OpcUaId_SessionDiagnosticsVariableType_ClientConnectionTime 2205 #define OpcUaId_SessionDiagnosticsVariableType_ClientLastContactTime 2206 #define OpcUaId_SessionDiagnosticsVariableType_CurrentSubscriptionsCount 2207 #define OpcUaId_SessionDiagnosticsVariableType_CurrentMonitoredItemsCount 2208 #define OpcUaId_SessionDiagnosticsVariableType_CurrentPublishRequestsInQueue 2209 #define OpcUaId_SessionDiagnosticsVariableType_TotalRequestCount 8900 #define OpcUaId_SessionDiagnosticsVariableType_UnauthorizedRequestCount 11892 #define OpcUaId_SessionDiagnosticsVariableType_ReadCount 2217 #define OpcUaId_SessionDiagnosticsVariableType_HistoryReadCount 2218 #define OpcUaId_SessionDiagnosticsVariableType_WriteCount 2219 #define OpcUaId_SessionDiagnosticsVariableType_HistoryUpdateCount 2220 #define OpcUaId_SessionDiagnosticsVariableType_CallCount 2221 #define OpcUaId_SessionDiagnosticsVariableType_CreateMonitoredItemsCount 2222 #define OpcUaId_SessionDiagnosticsVariableType_ModifyMonitoredItemsCount 2223 #define OpcUaId_SessionDiagnosticsVariableType_SetMonitoringModeCount 2224 #define OpcUaId_SessionDiagnosticsVariableType_SetTriggeringCount 2225 #define OpcUaId_SessionDiagnosticsVariableType_DeleteMonitoredItemsCount 2226 #define OpcUaId_SessionDiagnosticsVariableType_CreateSubscriptionCount 2227 #define OpcUaId_SessionDiagnosticsVariableType_ModifySubscriptionCount 2228 #define OpcUaId_SessionDiagnosticsVariableType_SetPublishingModeCount 2229 #define OpcUaId_SessionDiagnosticsVariableType_PublishCount 2230 #define OpcUaId_SessionDiagnosticsVariableType_RepublishCount 2231 #define OpcUaId_SessionDiagnosticsVariableType_TransferSubscriptionsCount 2232 #define OpcUaId_SessionDiagnosticsVariableType_DeleteSubscriptionsCount 2233 #define OpcUaId_SessionDiagnosticsVariableType_AddNodesCount 2234 #define OpcUaId_SessionDiagnosticsVariableType_AddReferencesCount 2235 #define OpcUaId_SessionDiagnosticsVariableType_DeleteNodesCount 2236 #define OpcUaId_SessionDiagnosticsVariableType_DeleteReferencesCount 2237 #define OpcUaId_SessionDiagnosticsVariableType_BrowseCount 2238 #define OpcUaId_SessionDiagnosticsVariableType_BrowseNextCount 2239 #define OpcUaId_SessionDiagnosticsVariableType_TranslateBrowsePathsToNodeIdsCount 2240 #define OpcUaId_SessionDiagnosticsVariableType_QueryFirstCount 2241 #define OpcUaId_SessionDiagnosticsVariableType_QueryNextCount 2242 #define OpcUaId_SessionDiagnosticsVariableType_RegisterNodesCount 2730 #define OpcUaId_SessionDiagnosticsVariableType_UnregisterNodesCount 2731 #define OpcUaId_SessionSecurityDiagnosticsArrayType_SessionSecurityDiagnostics 12860 #define OpcUaId_SessionSecurityDiagnosticsArrayType_SessionSecurityDiagnostics_SessionId 12861 #define OpcUaId_SessionSecurityDiagnosticsArrayType_SessionSecurityDiagnostics_ClientUserIdOfSession 12862 #define OpcUaId_SessionSecurityDiagnosticsArrayType_SessionSecurityDiagnostics_ClientUserIdHistory 12863 #define OpcUaId_SessionSecurityDiagnosticsArrayType_SessionSecurityDiagnostics_AuthenticationMechanism 12864 #define OpcUaId_SessionSecurityDiagnosticsArrayType_SessionSecurityDiagnostics_Encoding 12865 #define OpcUaId_SessionSecurityDiagnosticsArrayType_SessionSecurityDiagnostics_TransportProtocol 12866 #define OpcUaId_SessionSecurityDiagnosticsArrayType_SessionSecurityDiagnostics_SecurityMode 12867 #define OpcUaId_SessionSecurityDiagnosticsArrayType_SessionSecurityDiagnostics_SecurityPolicyUri 12868 #define OpcUaId_SessionSecurityDiagnosticsArrayType_SessionSecurityDiagnostics_ClientCertificate 12869 #define OpcUaId_SessionSecurityDiagnosticsType_SessionId 2245 #define OpcUaId_SessionSecurityDiagnosticsType_ClientUserIdOfSession 2246 #define OpcUaId_SessionSecurityDiagnosticsType_ClientUserIdHistory 2247 #define OpcUaId_SessionSecurityDiagnosticsType_AuthenticationMechanism 2248 #define OpcUaId_SessionSecurityDiagnosticsType_Encoding 2249 #define OpcUaId_SessionSecurityDiagnosticsType_TransportProtocol 2250 #define OpcUaId_SessionSecurityDiagnosticsType_SecurityMode 2251 #define OpcUaId_SessionSecurityDiagnosticsType_SecurityPolicyUri 2252 #define OpcUaId_SessionSecurityDiagnosticsType_ClientCertificate 3058 #define OpcUaId_OptionSetType_OptionSetValues 11488 #define OpcUaId_OptionSetType_BitMask 11701 #define OpcUaId_SelectionListType_Selections 17632 #define OpcUaId_SelectionListType_SelectionDescriptions 17633 #define OpcUaId_SelectionListType_RestrictToList 16312 #define OpcUaId_AudioVariableType_ListId 17988 #define OpcUaId_AudioVariableType_AgencyId 17989 #define OpcUaId_AudioVariableType_VersionId 17990 #define OpcUaId_Server_ServerArray 2254 #define OpcUaId_Server_NamespaceArray 2255 #define OpcUaId_Server_ServerStatus 2256 #define OpcUaId_Server_ServerStatus_StartTime 2257 #define OpcUaId_Server_ServerStatus_CurrentTime 2258 #define OpcUaId_Server_ServerStatus_State 2259 #define OpcUaId_Server_ServerStatus_BuildInfo 2260 #define OpcUaId_Server_ServerStatus_BuildInfo_ProductUri 2262 #define OpcUaId_Server_ServerStatus_BuildInfo_ManufacturerName 2263 #define OpcUaId_Server_ServerStatus_BuildInfo_ProductName 2261 #define OpcUaId_Server_ServerStatus_BuildInfo_SoftwareVersion 2264 #define OpcUaId_Server_ServerStatus_BuildInfo_BuildNumber 2265 #define OpcUaId_Server_ServerStatus_BuildInfo_BuildDate 2266 #define OpcUaId_Server_ServerStatus_SecondsTillShutdown 2992 #define OpcUaId_Server_ServerStatus_ShutdownReason 2993 #define OpcUaId_Server_ServiceLevel 2267 #define OpcUaId_Server_Auditing 2994 #define OpcUaId_Server_EstimatedReturnTime 12885 #define OpcUaId_Server_LocalTime 17634 #define OpcUaId_Server_ServerCapabilities_ServerProfileArray 2269 #define OpcUaId_Server_ServerCapabilities_LocaleIdArray 2271 #define OpcUaId_Server_ServerCapabilities_MinSupportedSampleRate 2272 #define OpcUaId_Server_ServerCapabilities_MaxBrowseContinuationPoints 2735 #define OpcUaId_Server_ServerCapabilities_MaxQueryContinuationPoints 2736 #define OpcUaId_Server_ServerCapabilities_MaxHistoryContinuationPoints 2737 #define OpcUaId_Server_ServerCapabilities_SoftwareCertificates 3704 #define OpcUaId_Server_ServerCapabilities_MaxArrayLength 11702 #define OpcUaId_Server_ServerCapabilities_MaxStringLength 11703 #define OpcUaId_Server_ServerCapabilities_MaxByteStringLength 12911 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxNodesPerRead 11705 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxNodesPerHistoryReadData 12165 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxNodesPerHistoryReadEvents 12166 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxNodesPerWrite 11707 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxNodesPerHistoryUpdateData 12167 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxNodesPerHistoryUpdateEvents 12168 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxNodesPerMethodCall 11709 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxNodesPerBrowse 11710 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxNodesPerRegisterNodes 11711 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxNodesPerTranslateBrowsePathsToNodeIds 11712 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxNodesPerNodeManagement 11713 #define OpcUaId_Server_ServerCapabilities_OperationLimits_MaxMonitoredItemsPerCall 11714 #define OpcUaId_Server_ServerCapabilities_RoleSet_AddRole_InputArguments 16302 #define OpcUaId_Server_ServerCapabilities_RoleSet_AddRole_OutputArguments 16303 #define OpcUaId_Server_ServerCapabilities_RoleSet_RemoveRole_InputArguments 16305 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary 2275 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_ServerViewCount 2276 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_CurrentSessionCount 2277 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_CumulatedSessionCount 2278 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_SecurityRejectedSessionCount 2279 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_RejectedSessionCount 3705 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_SessionTimeoutCount 2281 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_SessionAbortCount 2282 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_PublishingIntervalCount 2284 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_CurrentSubscriptionCount 2285 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_CumulatedSubscriptionCount 2286 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_SecurityRejectedRequestsCount 2287 #define OpcUaId_Server_ServerDiagnostics_ServerDiagnosticsSummary_RejectedRequestsCount 2288 #define OpcUaId_Server_ServerDiagnostics_SamplingIntervalDiagnosticsArray 2289 #define OpcUaId_Server_ServerDiagnostics_SubscriptionDiagnosticsArray 2290 #define OpcUaId_Server_ServerDiagnostics_SessionsDiagnosticsSummary_SessionDiagnosticsArray 3707 #define OpcUaId_Server_ServerDiagnostics_SessionsDiagnosticsSummary_SessionSecurityDiagnosticsArray 3708 #define OpcUaId_Server_ServerDiagnostics_EnabledFlag 2294 #define OpcUaId_Server_ServerRedundancy_RedundancySupport 3709 #define OpcUaId_Server_GetMonitoredItems_InputArguments 11493 #define OpcUaId_Server_GetMonitoredItems_OutputArguments 11494 #define OpcUaId_Server_ResendData_InputArguments 12874 #define OpcUaId_Server_SetSubscriptionDurable_InputArguments 12750 #define OpcUaId_Server_SetSubscriptionDurable_OutputArguments 12751 #define OpcUaId_Server_RequestServerStateChange_InputArguments 12887 #define OpcUaId_Server_ServerRedundancy_CurrentServerId 11312 #define OpcUaId_Server_ServerRedundancy_RedundantServerArray 11313 #define OpcUaId_Server_ServerRedundancy_ServerUriArray 11314 #define OpcUaId_Server_ServerRedundancy_ServerNetworkGroups 14415 #define OpcUaId_HistoryServerCapabilities_AccessHistoryDataCapability 11193 #define OpcUaId_HistoryServerCapabilities_AccessHistoryEventsCapability 11242 #define OpcUaId_HistoryServerCapabilities_MaxReturnDataValues 11273 #define OpcUaId_HistoryServerCapabilities_MaxReturnEventValues 11274 #define OpcUaId_HistoryServerCapabilities_InsertDataCapability 11196 #define OpcUaId_HistoryServerCapabilities_ReplaceDataCapability 11197 #define OpcUaId_HistoryServerCapabilities_UpdateDataCapability 11198 #define OpcUaId_HistoryServerCapabilities_DeleteRawCapability 11199 #define OpcUaId_HistoryServerCapabilities_DeleteAtTimeCapability 11200 #define OpcUaId_HistoryServerCapabilities_InsertEventCapability 11281 #define OpcUaId_HistoryServerCapabilities_ReplaceEventCapability 11282 #define OpcUaId_HistoryServerCapabilities_UpdateEventCapability 11283 #define OpcUaId_HistoryServerCapabilities_DeleteEventCapability 11502 #define OpcUaId_HistoryServerCapabilities_InsertAnnotationCapability 11275 #define OpcUaId_HistoryServerCapabilities_ServerTimestampSupported 19091 #define OpcUaId_StateMachineType_CurrentState 2769 #define OpcUaId_StateMachineType_CurrentState_Id 3720 #define OpcUaId_StateMachineType_LastTransition 2770 #define OpcUaId_StateMachineType_LastTransition_Id 3724 #define OpcUaId_StateVariableType_Id 2756 #define OpcUaId_StateVariableType_Name 2757 #define OpcUaId_StateVariableType_Number 2758 #define OpcUaId_StateVariableType_EffectiveDisplayName 2759 #define OpcUaId_TransitionVariableType_Id 2763 #define OpcUaId_TransitionVariableType_Name 2764 #define OpcUaId_TransitionVariableType_Number 2765 #define OpcUaId_TransitionVariableType_TransitionTime 2766 #define OpcUaId_TransitionVariableType_EffectiveTransitionTime 11456 #define OpcUaId_FiniteStateMachineType_CurrentState 2772 #define OpcUaId_FiniteStateMachineType_CurrentState_Id 3728 #define OpcUaId_FiniteStateMachineType_LastTransition 2773 #define OpcUaId_FiniteStateMachineType_LastTransition_Id 3732 #define OpcUaId_FiniteStateMachineType_AvailableStates 17635 #define OpcUaId_FiniteStateMachineType_AvailableTransitions 17636 #define OpcUaId_FiniteStateVariableType_Id 2761 #define OpcUaId_FiniteTransitionVariableType_Id 2768 #define OpcUaId_StateType_StateNumber 2308 #define OpcUaId_TransitionType_TransitionNumber 2312 #define OpcUaId_ExpressionGuardVariableType_Expression 15129 #define OpcUaId_RationalNumberType_Numerator 17712 #define OpcUaId_RationalNumberType_Denominator 17713 #define OpcUaId_VectorType_VectorUnit 17715 #define OpcUaId_ThreeDVectorType_X 18769 #define OpcUaId_ThreeDVectorType_Y 18770 #define OpcUaId_ThreeDVectorType_Z 18771 #define OpcUaId_CartesianCoordinatesType_LengthUnit 18773 #define OpcUaId_ThreeDCartesianCoordinatesType_X 18776 #define OpcUaId_ThreeDCartesianCoordinatesType_Y 18777 #define OpcUaId_ThreeDCartesianCoordinatesType_Z 18778 #define OpcUaId_OrientationType_AngleUnit 18780 #define OpcUaId_ThreeDOrientationType_A 18783 #define OpcUaId_ThreeDOrientationType_B 18784 #define OpcUaId_ThreeDOrientationType_C 18785 #define OpcUaId_FrameType_CartesianCoordinates 18801 #define OpcUaId_FrameType_Orientation 18787 #define OpcUaId_FrameType_Constant 18788 #define OpcUaId_FrameType_BaseFrame 18789 #define OpcUaId_FrameType_FixedBase 18790 #define OpcUaId_ThreeDFrameType_CartesianCoordinates 18796 #define OpcUaId_ThreeDFrameType_Orientation 18792 #define OpcUaId_ThreeDFrameType_CartesianCoordinates_X 18798 #define OpcUaId_ThreeDFrameType_CartesianCoordinates_Y 18799 #define OpcUaId_ThreeDFrameType_CartesianCoordinates_Z 18800 #define OpcUaId_ThreeDFrameType_Orientation_A 19074 #define OpcUaId_ThreeDFrameType_Orientation_B 19075 #define OpcUaId_ThreeDFrameType_Orientation_C 19076 #define OpcUaId_TransitionEventType_Transition 2774 #define OpcUaId_TransitionEventType_Transition_Id 3754 #define OpcUaId_TransitionEventType_FromState 2775 #define OpcUaId_TransitionEventType_FromState_Id 3746 #define OpcUaId_TransitionEventType_ToState 2776 #define OpcUaId_TransitionEventType_ToState_Id 3750 #define OpcUaId_AuditUpdateStateEventType_OldStateId 2777 #define OpcUaId_AuditUpdateStateEventType_NewStateId 2778 #define OpcUaId_OpenFileMode_EnumValues 11940 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder_CreateDirectory_InputArguments 13356 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder_CreateDirectory_OutputArguments 13357 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder_CreateFile_InputArguments 13359 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder_CreateFile_OutputArguments 13360 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder_DeleteFileSystemObject_InputArguments 17719 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder_MoveOrCopy_InputArguments 13364 #define OpcUaId_FileDirectoryType_FileDirectoryName_Placeholder_MoveOrCopy_OutputArguments 13365 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Size 13367 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Writable 13368 #define OpcUaId_FileDirectoryType_FileName_Placeholder_UserWritable 13369 #define OpcUaId_FileDirectoryType_FileName_Placeholder_OpenCount 13370 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Open_InputArguments 13373 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Open_OutputArguments 13374 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Close_InputArguments 13376 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Read_InputArguments 13378 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Read_OutputArguments 13379 #define OpcUaId_FileDirectoryType_FileName_Placeholder_Write_InputArguments 13381 #define OpcUaId_FileDirectoryType_FileName_Placeholder_GetPosition_InputArguments 13383 #define OpcUaId_FileDirectoryType_FileName_Placeholder_GetPosition_OutputArguments 13384 #define OpcUaId_FileDirectoryType_FileName_Placeholder_SetPosition_InputArguments 13386 #define OpcUaId_FileDirectoryType_CreateDirectory_InputArguments 13388 #define OpcUaId_FileDirectoryType_CreateDirectory_OutputArguments 13389 #define OpcUaId_FileDirectoryType_CreateFile_InputArguments 13391 #define OpcUaId_FileDirectoryType_CreateFile_OutputArguments 13392 #define OpcUaId_FileDirectoryType_DeleteFileSystemObject_InputArguments 13394 #define OpcUaId_FileDirectoryType_MoveOrCopy_InputArguments 13396 #define OpcUaId_FileDirectoryType_MoveOrCopy_OutputArguments 13397 #define OpcUaId_FileSystem_FileDirectoryName_Placeholder_CreateDirectory_InputArguments 16317 #define OpcUaId_FileSystem_FileDirectoryName_Placeholder_CreateDirectory_OutputArguments 16318 #define OpcUaId_FileSystem_FileDirectoryName_Placeholder_CreateFile_InputArguments 16320 #define OpcUaId_FileSystem_FileDirectoryName_Placeholder_CreateFile_OutputArguments 16321 #define OpcUaId_FileSystem_FileDirectoryName_Placeholder_DeleteFileSystemObject_InputArguments 17723 #define OpcUaId_FileSystem_FileDirectoryName_Placeholder_MoveOrCopy_InputArguments 16325 #define OpcUaId_FileSystem_FileDirectoryName_Placeholder_MoveOrCopy_OutputArguments 16326 #define OpcUaId_FileSystem_FileName_Placeholder_Size 16328 #define OpcUaId_FileSystem_FileName_Placeholder_Writable 16329 #define OpcUaId_FileSystem_FileName_Placeholder_UserWritable 16330 #define OpcUaId_FileSystem_FileName_Placeholder_OpenCount 16331 #define OpcUaId_FileSystem_FileName_Placeholder_Open_InputArguments 16334 #define OpcUaId_FileSystem_FileName_Placeholder_Open_OutputArguments 16335 #define OpcUaId_FileSystem_FileName_Placeholder_Close_InputArguments 16337 #define OpcUaId_FileSystem_FileName_Placeholder_Read_InputArguments 16339 #define OpcUaId_FileSystem_FileName_Placeholder_Read_OutputArguments 16340 #define OpcUaId_FileSystem_FileName_Placeholder_Write_InputArguments 16342 #define OpcUaId_FileSystem_FileName_Placeholder_GetPosition_InputArguments 16344 #define OpcUaId_FileSystem_FileName_Placeholder_GetPosition_OutputArguments 16345 #define OpcUaId_FileSystem_FileName_Placeholder_SetPosition_InputArguments 16347 #define OpcUaId_FileSystem_CreateDirectory_InputArguments 16349 #define OpcUaId_FileSystem_CreateDirectory_OutputArguments 16350 #define OpcUaId_FileSystem_CreateFile_InputArguments 16352 #define OpcUaId_FileSystem_CreateFile_OutputArguments 16353 #define OpcUaId_FileSystem_DeleteFileSystemObject_InputArguments 16355 #define OpcUaId_FileSystem_MoveOrCopy_InputArguments 16357 #define OpcUaId_FileSystem_MoveOrCopy_OutputArguments 16358 #define OpcUaId_TemporaryFileTransferType_ClientProcessingTimeout 15745 #define OpcUaId_TemporaryFileTransferType_GenerateFileForRead_InputArguments 15747 #define OpcUaId_TemporaryFileTransferType_GenerateFileForRead_OutputArguments 15748 #define OpcUaId_TemporaryFileTransferType_GenerateFileForWrite_InputArguments 16359 #define OpcUaId_TemporaryFileTransferType_GenerateFileForWrite_OutputArguments 15750 #define OpcUaId_TemporaryFileTransferType_CloseAndCommit_InputArguments 15752 #define OpcUaId_TemporaryFileTransferType_CloseAndCommit_OutputArguments 15753 #define OpcUaId_TemporaryFileTransferType_TransferState_Placeholder_CurrentState 15755 #define OpcUaId_TemporaryFileTransferType_TransferState_Placeholder_CurrentState_Id 15756 #define OpcUaId_TemporaryFileTransferType_TransferState_Placeholder_LastTransition_Id 15761 #define OpcUaId_FileTransferStateMachineType_CurrentState_Id 15805 #define OpcUaId_FileTransferStateMachineType_LastTransition_Id 15810 #define OpcUaId_FileTransferStateMachineType_Idle_StateNumber 15816 #define OpcUaId_FileTransferStateMachineType_ReadPrepare_StateNumber 15818 #define OpcUaId_FileTransferStateMachineType_ReadTransfer_StateNumber 15820 #define OpcUaId_FileTransferStateMachineType_ApplyWrite_StateNumber 15822 #define OpcUaId_FileTransferStateMachineType_Error_StateNumber 15824 #define OpcUaId_FileTransferStateMachineType_IdleToReadPrepare_TransitionNumber 15826 #define OpcUaId_FileTransferStateMachineType_ReadPrepareToReadTransfer_TransitionNumber 15828 #define OpcUaId_FileTransferStateMachineType_ReadTransferToIdle_TransitionNumber 15830 #define OpcUaId_FileTransferStateMachineType_IdleToApplyWrite_TransitionNumber 15832 #define OpcUaId_FileTransferStateMachineType_ApplyWriteToIdle_TransitionNumber 15834 #define OpcUaId_FileTransferStateMachineType_ReadPrepareToError_TransitionNumber 15836 #define OpcUaId_FileTransferStateMachineType_ReadTransferToError_TransitionNumber 15838 #define OpcUaId_FileTransferStateMachineType_ApplyWriteToError_TransitionNumber 15840 #define OpcUaId_FileTransferStateMachineType_ErrorToIdle_TransitionNumber 15842 #define OpcUaId_RoleSetType_RoleName_Placeholder_Identities 16162 #define OpcUaId_RoleSetType_RoleName_Placeholder_AddIdentity_InputArguments 15613 #define OpcUaId_RoleSetType_RoleName_Placeholder_RemoveIdentity_InputArguments 15615 #define OpcUaId_RoleSetType_RoleName_Placeholder_AddApplication_InputArguments 16166 #define OpcUaId_RoleSetType_RoleName_Placeholder_RemoveApplication_InputArguments 16168 #define OpcUaId_RoleSetType_RoleName_Placeholder_AddEndpoint_InputArguments 16170 #define OpcUaId_RoleSetType_RoleName_Placeholder_RemoveEndpoint_InputArguments 16172 #define OpcUaId_RoleSetType_AddRole_InputArguments 15998 #define OpcUaId_RoleSetType_AddRole_OutputArguments 15999 #define OpcUaId_RoleSetType_RemoveRole_InputArguments 16001 #define OpcUaId_RoleType_Identities 16173 #define OpcUaId_RoleType_Applications 16174 #define OpcUaId_RoleType_ApplicationsExclude 15410 #define OpcUaId_RoleType_Endpoints 16175 #define OpcUaId_RoleType_EndpointsExclude 15411 #define OpcUaId_RoleType_AddIdentity_InputArguments 15625 #define OpcUaId_RoleType_RemoveIdentity_InputArguments 15627 #define OpcUaId_RoleType_AddApplication_InputArguments 16177 #define OpcUaId_RoleType_RemoveApplication_InputArguments 16179 #define OpcUaId_RoleType_AddEndpoint_InputArguments 16181 #define OpcUaId_RoleType_RemoveEndpoint_InputArguments 16183 #define OpcUaId_IdentityCriteriaType_EnumValues 15633 #define OpcUaId_WellKnownRole_Anonymous_Identities 16192 #define OpcUaId_WellKnownRole_Anonymous_Applications 16193 #define OpcUaId_WellKnownRole_Anonymous_ApplicationsExclude 15412 #define OpcUaId_WellKnownRole_Anonymous_Endpoints 16194 #define OpcUaId_WellKnownRole_Anonymous_EndpointsExclude 15413 #define OpcUaId_WellKnownRole_Anonymous_AddIdentity_InputArguments 15649 #define OpcUaId_WellKnownRole_Anonymous_RemoveIdentity_InputArguments 15651 #define OpcUaId_WellKnownRole_Anonymous_AddApplication_InputArguments 16196 #define OpcUaId_WellKnownRole_Anonymous_RemoveApplication_InputArguments 16198 #define OpcUaId_WellKnownRole_Anonymous_AddEndpoint_InputArguments 16200 #define OpcUaId_WellKnownRole_Anonymous_RemoveEndpoint_InputArguments 16202 #define OpcUaId_WellKnownRole_AuthenticatedUser_Identities 16203 #define OpcUaId_WellKnownRole_AuthenticatedUser_Applications 16204 #define OpcUaId_WellKnownRole_AuthenticatedUser_ApplicationsExclude 15414 #define OpcUaId_WellKnownRole_AuthenticatedUser_Endpoints 16205 #define OpcUaId_WellKnownRole_AuthenticatedUser_EndpointsExclude 15415 #define OpcUaId_WellKnownRole_AuthenticatedUser_AddIdentity_InputArguments 15661 #define OpcUaId_WellKnownRole_AuthenticatedUser_RemoveIdentity_InputArguments 15663 #define OpcUaId_WellKnownRole_AuthenticatedUser_AddApplication_InputArguments 16207 #define OpcUaId_WellKnownRole_AuthenticatedUser_RemoveApplication_InputArguments 16209 #define OpcUaId_WellKnownRole_AuthenticatedUser_AddEndpoint_InputArguments 16211 #define OpcUaId_WellKnownRole_AuthenticatedUser_RemoveEndpoint_InputArguments 16213 #define OpcUaId_WellKnownRole_Observer_Identities 16214 #define OpcUaId_WellKnownRole_Observer_Applications 16215 #define OpcUaId_WellKnownRole_Observer_ApplicationsExclude 15416 #define OpcUaId_WellKnownRole_Observer_Endpoints 16216 #define OpcUaId_WellKnownRole_Observer_EndpointsExclude 15417 #define OpcUaId_WellKnownRole_Observer_AddIdentity_InputArguments 15673 #define OpcUaId_WellKnownRole_Observer_RemoveIdentity_InputArguments 15675 #define OpcUaId_WellKnownRole_Observer_AddApplication_InputArguments 16218 #define OpcUaId_WellKnownRole_Observer_RemoveApplication_InputArguments 16220 #define OpcUaId_WellKnownRole_Observer_AddEndpoint_InputArguments 16222 #define OpcUaId_WellKnownRole_Observer_RemoveEndpoint_InputArguments 16224 #define OpcUaId_WellKnownRole_Operator_Identities 16225 #define OpcUaId_WellKnownRole_Operator_Applications 16226 #define OpcUaId_WellKnownRole_Operator_ApplicationsExclude 15418 #define OpcUaId_WellKnownRole_Operator_Endpoints 16227 #define OpcUaId_WellKnownRole_Operator_EndpointsExclude 15423 #define OpcUaId_WellKnownRole_Operator_AddIdentity_InputArguments 15685 #define OpcUaId_WellKnownRole_Operator_RemoveIdentity_InputArguments 15687 #define OpcUaId_WellKnownRole_Operator_AddApplication_InputArguments 16229 #define OpcUaId_WellKnownRole_Operator_RemoveApplication_InputArguments 16231 #define OpcUaId_WellKnownRole_Operator_AddEndpoint_InputArguments 16233 #define OpcUaId_WellKnownRole_Operator_RemoveEndpoint_InputArguments 16235 #define OpcUaId_WellKnownRole_Engineer_Identities 16236 #define OpcUaId_WellKnownRole_Engineer_Applications 16237 #define OpcUaId_WellKnownRole_Engineer_ApplicationsExclude 15424 #define OpcUaId_WellKnownRole_Engineer_Endpoints 16238 #define OpcUaId_WellKnownRole_Engineer_EndpointsExclude 15425 #define OpcUaId_WellKnownRole_Engineer_AddIdentity_InputArguments 16042 #define OpcUaId_WellKnownRole_Engineer_RemoveIdentity_InputArguments 16044 #define OpcUaId_WellKnownRole_Engineer_AddApplication_InputArguments 16240 #define OpcUaId_WellKnownRole_Engineer_RemoveApplication_InputArguments 16242 #define OpcUaId_WellKnownRole_Engineer_AddEndpoint_InputArguments 16244 #define OpcUaId_WellKnownRole_Engineer_RemoveEndpoint_InputArguments 16246 #define OpcUaId_WellKnownRole_Supervisor_Identities 16247 #define OpcUaId_WellKnownRole_Supervisor_Applications 16248 #define OpcUaId_WellKnownRole_Supervisor_ApplicationsExclude 15426 #define OpcUaId_WellKnownRole_Supervisor_Endpoints 16249 #define OpcUaId_WellKnownRole_Supervisor_EndpointsExclude 15427 #define OpcUaId_WellKnownRole_Supervisor_AddIdentity_InputArguments 15697 #define OpcUaId_WellKnownRole_Supervisor_RemoveIdentity_InputArguments 15699 #define OpcUaId_WellKnownRole_Supervisor_AddApplication_InputArguments 16251 #define OpcUaId_WellKnownRole_Supervisor_RemoveApplication_InputArguments 16253 #define OpcUaId_WellKnownRole_Supervisor_AddEndpoint_InputArguments 16255 #define OpcUaId_WellKnownRole_Supervisor_RemoveEndpoint_InputArguments 16257 #define OpcUaId_WellKnownRole_ConfigureAdmin_Identities 16269 #define OpcUaId_WellKnownRole_ConfigureAdmin_Applications 16270 #define OpcUaId_WellKnownRole_ConfigureAdmin_ApplicationsExclude 15428 #define OpcUaId_WellKnownRole_ConfigureAdmin_Endpoints 16271 #define OpcUaId_WellKnownRole_ConfigureAdmin_EndpointsExclude 15429 #define OpcUaId_WellKnownRole_ConfigureAdmin_AddIdentity_InputArguments 15721 #define OpcUaId_WellKnownRole_ConfigureAdmin_RemoveIdentity_InputArguments 15723 #define OpcUaId_WellKnownRole_ConfigureAdmin_AddApplication_InputArguments 16273 #define OpcUaId_WellKnownRole_ConfigureAdmin_RemoveApplication_InputArguments 16275 #define OpcUaId_WellKnownRole_ConfigureAdmin_AddEndpoint_InputArguments 16277 #define OpcUaId_WellKnownRole_ConfigureAdmin_RemoveEndpoint_InputArguments 16279 #define OpcUaId_WellKnownRole_SecurityAdmin_Identities 16258 #define OpcUaId_WellKnownRole_SecurityAdmin_Applications 16259 #define OpcUaId_WellKnownRole_SecurityAdmin_ApplicationsExclude 15430 #define OpcUaId_WellKnownRole_SecurityAdmin_Endpoints 16260 #define OpcUaId_WellKnownRole_SecurityAdmin_EndpointsExclude 15527 #define OpcUaId_WellKnownRole_SecurityAdmin_AddIdentity_InputArguments 15709 #define OpcUaId_WellKnownRole_SecurityAdmin_RemoveIdentity_InputArguments 15711 #define OpcUaId_WellKnownRole_SecurityAdmin_AddApplication_InputArguments 16262 #define OpcUaId_WellKnownRole_SecurityAdmin_RemoveApplication_InputArguments 16264 #define OpcUaId_WellKnownRole_SecurityAdmin_AddEndpoint_InputArguments 16266 #define OpcUaId_WellKnownRole_SecurityAdmin_RemoveEndpoint_InputArguments 16268 #define OpcUaId_DataItemType_Definition 2366 #define OpcUaId_DataItemType_ValuePrecision 2367 #define OpcUaId_BaseAnalogType_InstrumentRange 17567 #define OpcUaId_BaseAnalogType_EURange 17568 #define OpcUaId_BaseAnalogType_EngineeringUnits 17569 #define OpcUaId_AnalogItemType_EURange 2369 #define OpcUaId_AnalogUnitType_EngineeringUnits 17502 #define OpcUaId_AnalogUnitRangeType_EngineeringUnits 17575 #define OpcUaId_TwoStateDiscreteType_FalseState 2374 #define OpcUaId_TwoStateDiscreteType_TrueState 2375 #define OpcUaId_MultiStateDiscreteType_EnumStrings 2377 #define OpcUaId_MultiStateValueDiscreteType_EnumValues 11241 #define OpcUaId_MultiStateValueDiscreteType_ValueAsText 11461 #define OpcUaId_ArrayItemType_InstrumentRange 12024 #define OpcUaId_ArrayItemType_EURange 12025 #define OpcUaId_ArrayItemType_EngineeringUnits 12026 #define OpcUaId_ArrayItemType_Title 12027 #define OpcUaId_ArrayItemType_AxisScaleType 12028 #define OpcUaId_YArrayItemType_XAxisDefinition 12037 #define OpcUaId_XYArrayItemType_XAxisDefinition 12046 #define OpcUaId_ImageItemType_XAxisDefinition 12055 #define OpcUaId_ImageItemType_YAxisDefinition 12056 #define OpcUaId_CubeItemType_XAxisDefinition 12065 #define OpcUaId_CubeItemType_YAxisDefinition 12066 #define OpcUaId_CubeItemType_ZAxisDefinition 12067 #define OpcUaId_NDimensionArrayItemType_AxisDefinition 12076 #define OpcUaId_TwoStateVariableType_Id 8996 #define OpcUaId_TwoStateVariableType_TransitionTime 9000 #define OpcUaId_TwoStateVariableType_EffectiveTransitionTime 9001 #define OpcUaId_TwoStateVariableType_TrueState 11110 #define OpcUaId_TwoStateVariableType_FalseState 11111 #define OpcUaId_ConditionVariableType_SourceTimestamp 9003 #define OpcUaId_ConditionType_ConditionClassId 11112 #define OpcUaId_ConditionType_ConditionClassName 11113 #define OpcUaId_ConditionType_ConditionSubClassId 16363 #define OpcUaId_ConditionType_ConditionSubClassName 16364 #define OpcUaId_ConditionType_ConditionName 9009 #define OpcUaId_ConditionType_BranchId 9010 #define OpcUaId_ConditionType_Retain 3874 #define OpcUaId_ConditionType_EnabledState 9011 #define OpcUaId_ConditionType_EnabledState_Id 9012 #define OpcUaId_ConditionType_EnabledState_EffectiveDisplayName 9015 #define OpcUaId_ConditionType_EnabledState_TransitionTime 9016 #define OpcUaId_ConditionType_EnabledState_EffectiveTransitionTime 9017 #define OpcUaId_ConditionType_EnabledState_TrueState 9018 #define OpcUaId_ConditionType_EnabledState_FalseState 9019 #define OpcUaId_ConditionType_Quality 9020 #define OpcUaId_ConditionType_Quality_SourceTimestamp 9021 #define OpcUaId_ConditionType_LastSeverity 9022 #define OpcUaId_ConditionType_LastSeverity_SourceTimestamp 9023 #define OpcUaId_ConditionType_Comment 9024 #define OpcUaId_ConditionType_Comment_SourceTimestamp 9025 #define OpcUaId_ConditionType_ClientUserId 9026 #define OpcUaId_ConditionType_AddComment_InputArguments 9030 #define OpcUaId_ConditionType_ConditionRefresh_InputArguments 3876 #define OpcUaId_ConditionType_ConditionRefresh2_InputArguments 12913 #define OpcUaId_DialogConditionType_EnabledState 9035 #define OpcUaId_DialogConditionType_EnabledState_Id 9036 #define OpcUaId_DialogConditionType_Quality_SourceTimestamp 9045 #define OpcUaId_DialogConditionType_LastSeverity_SourceTimestamp 9047 #define OpcUaId_DialogConditionType_Comment_SourceTimestamp 9049 #define OpcUaId_DialogConditionType_AddComment_InputArguments 9054 #define OpcUaId_DialogConditionType_ConditionRefresh_InputArguments 4199 #define OpcUaId_DialogConditionType_ConditionRefresh2_InputArguments 12917 #define OpcUaId_DialogConditionType_DialogState 9055 #define OpcUaId_DialogConditionType_DialogState_Id 9056 #define OpcUaId_DialogConditionType_DialogState_TransitionTime 9060 #define OpcUaId_DialogConditionType_DialogState_TrueState 9062 #define OpcUaId_DialogConditionType_DialogState_FalseState 9063 #define OpcUaId_DialogConditionType_Prompt 2831 #define OpcUaId_DialogConditionType_ResponseOptionSet 9064 #define OpcUaId_DialogConditionType_DefaultResponse 9065 #define OpcUaId_DialogConditionType_OkResponse 9066 #define OpcUaId_DialogConditionType_CancelResponse 9067 #define OpcUaId_DialogConditionType_LastResponse 9068 #define OpcUaId_DialogConditionType_Respond_InputArguments 9070 #define OpcUaId_AcknowledgeableConditionType_EnabledState 9073 #define OpcUaId_AcknowledgeableConditionType_EnabledState_Id 9074 #define OpcUaId_AcknowledgeableConditionType_Quality_SourceTimestamp 9083 #define OpcUaId_AcknowledgeableConditionType_LastSeverity_SourceTimestamp 9085 #define OpcUaId_AcknowledgeableConditionType_Comment_SourceTimestamp 9087 #define OpcUaId_AcknowledgeableConditionType_AddComment_InputArguments 9092 #define OpcUaId_AcknowledgeableConditionType_ConditionRefresh_InputArguments 5124 #define OpcUaId_AcknowledgeableConditionType_ConditionRefresh2_InputArguments 12919 #define OpcUaId_AcknowledgeableConditionType_AckedState 9093 #define OpcUaId_AcknowledgeableConditionType_AckedState_Id 9094 #define OpcUaId_AcknowledgeableConditionType_AckedState_TransitionTime 9098 #define OpcUaId_AcknowledgeableConditionType_AckedState_TrueState 9100 #define OpcUaId_AcknowledgeableConditionType_AckedState_FalseState 9101 #define OpcUaId_AcknowledgeableConditionType_ConfirmedState 9102 #define OpcUaId_AcknowledgeableConditionType_ConfirmedState_Id 9103 #define OpcUaId_AcknowledgeableConditionType_ConfirmedState_TransitionTime 9107 #define OpcUaId_AcknowledgeableConditionType_ConfirmedState_TrueState 9109 #define OpcUaId_AcknowledgeableConditionType_ConfirmedState_FalseState 9110 #define OpcUaId_AcknowledgeableConditionType_Acknowledge_InputArguments 9112 #define OpcUaId_AcknowledgeableConditionType_Confirm_InputArguments 9114 #define OpcUaId_AlarmConditionType_EnabledState 9118 #define OpcUaId_AlarmConditionType_EnabledState_Id 9119 #define OpcUaId_AlarmConditionType_Quality_SourceTimestamp 9128 #define OpcUaId_AlarmConditionType_LastSeverity_SourceTimestamp 9130 #define OpcUaId_AlarmConditionType_Comment_SourceTimestamp 9132 #define OpcUaId_AlarmConditionType_AddComment_InputArguments 9137 #define OpcUaId_AlarmConditionType_ConditionRefresh_InputArguments 5551 #define OpcUaId_AlarmConditionType_ConditionRefresh2_InputArguments 12985 #define OpcUaId_AlarmConditionType_AckedState_Id 9139 #define OpcUaId_AlarmConditionType_ConfirmedState_Id 9148 #define OpcUaId_AlarmConditionType_Acknowledge_InputArguments 9157 #define OpcUaId_AlarmConditionType_Confirm_InputArguments 9159 #define OpcUaId_AlarmConditionType_ActiveState 9160 #define OpcUaId_AlarmConditionType_ActiveState_Id 9161 #define OpcUaId_AlarmConditionType_ActiveState_EffectiveDisplayName 9164 #define OpcUaId_AlarmConditionType_ActiveState_TransitionTime 9165 #define OpcUaId_AlarmConditionType_ActiveState_EffectiveTransitionTime 9166 #define OpcUaId_AlarmConditionType_ActiveState_TrueState 9167 #define OpcUaId_AlarmConditionType_ActiveState_FalseState 9168 #define OpcUaId_AlarmConditionType_InputNode 11120 #define OpcUaId_AlarmConditionType_SuppressedState 9169 #define OpcUaId_AlarmConditionType_SuppressedState_Id 9170 #define OpcUaId_AlarmConditionType_SuppressedState_TransitionTime 9174 #define OpcUaId_AlarmConditionType_SuppressedState_TrueState 9176 #define OpcUaId_AlarmConditionType_SuppressedState_FalseState 9177 #define OpcUaId_AlarmConditionType_OutOfServiceState 16371 #define OpcUaId_AlarmConditionType_OutOfServiceState_Id 16372 #define OpcUaId_AlarmConditionType_OutOfServiceState_TransitionTime 16376 #define OpcUaId_AlarmConditionType_OutOfServiceState_TrueState 16378 #define OpcUaId_AlarmConditionType_OutOfServiceState_FalseState 16379 #define OpcUaId_AlarmConditionType_ShelvingState_CurrentState 9179 #define OpcUaId_AlarmConditionType_ShelvingState_CurrentState_Id 9180 #define OpcUaId_AlarmConditionType_ShelvingState_LastTransition 9184 #define OpcUaId_AlarmConditionType_ShelvingState_LastTransition_Id 9185 #define OpcUaId_AlarmConditionType_ShelvingState_LastTransition_TransitionTime 9188 #define OpcUaId_AlarmConditionType_ShelvingState_UnshelveTime 9189 #define OpcUaId_AlarmConditionType_ShelvingState_TimedShelve_InputArguments 9214 #define OpcUaId_AlarmConditionType_SuppressedOrShelved 9215 #define OpcUaId_AlarmConditionType_MaxTimeShelved 9216 #define OpcUaId_AlarmConditionType_AudibleEnabled 16389 #define OpcUaId_AlarmConditionType_AudibleSound 16390 #define OpcUaId_AlarmConditionType_SilenceState 16380 #define OpcUaId_AlarmConditionType_SilenceState_Id 16381 #define OpcUaId_AlarmConditionType_SilenceState_TransitionTime 16385 #define OpcUaId_AlarmConditionType_SilenceState_TrueState 16387 #define OpcUaId_AlarmConditionType_SilenceState_FalseState 16388 #define OpcUaId_AlarmConditionType_OnDelay 16395 #define OpcUaId_AlarmConditionType_OffDelay 16396 #define OpcUaId_AlarmConditionType_FirstInGroupFlag 16397 #define OpcUaId_AlarmConditionType_LatchedState 18190 #define OpcUaId_AlarmConditionType_LatchedState_Id 18191 #define OpcUaId_AlarmConditionType_LatchedState_TransitionTime 18195 #define OpcUaId_AlarmConditionType_LatchedState_TrueState 18197 #define OpcUaId_AlarmConditionType_LatchedState_FalseState 18198 #define OpcUaId_AlarmConditionType_ReAlarmTime 16400 #define OpcUaId_AlarmConditionType_ReAlarmRepeatCount 16401 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_EventId 16407 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_EventType 16408 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_SourceNode 16409 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_SourceName 16410 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Time 16411 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ReceiveTime 16412 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Message 16414 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Severity 16415 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ConditionClassId 16416 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ConditionClassName 16417 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ConditionName 16420 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_BranchId 16421 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Retain 16422 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_EnabledState 16423 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_EnabledState_Id 16424 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Quality 16432 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Quality_SourceTimestamp 16433 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_LastSeverity 16434 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_LastSeverity_SourceTimestamp 16435 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Comment 16436 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Comment_SourceTimestamp 16437 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ClientUserId 16438 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_AddComment_InputArguments 16442 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_AckedState 16443 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_AckedState_Id 16444 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ConfirmedState_Id 16453 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Acknowledge_InputArguments 16462 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_Confirm_InputArguments 16464 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ActiveState 16465 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ActiveState_Id 16466 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_InputNode 16474 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_SuppressedState_Id 16476 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_OutOfServiceState_Id 16485 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ShelvingState_CurrentState 16503 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ShelvingState_CurrentState_Id 16504 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ShelvingState_LastTransition_Id 16509 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ShelvingState_UnshelveTime 16514 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_ShelvingState_TimedShelve_InputArguments 16518 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_SuppressedOrShelved 16519 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_SilenceState_Id 16494 #define OpcUaId_AlarmGroupType_AlarmConditionInstance_Placeholder_LatchedState_Id 18204 #define OpcUaId_ShelvedStateMachineType_CurrentState_Id 6089 #define OpcUaId_ShelvedStateMachineType_LastTransition_Id 6094 #define OpcUaId_ShelvedStateMachineType_UnshelveTime 9115 #define OpcUaId_ShelvedStateMachineType_Unshelved_StateNumber 6098 #define OpcUaId_ShelvedStateMachineType_TimedShelved_StateNumber 6100 #define OpcUaId_ShelvedStateMachineType_OneShotShelved_StateNumber 6101 #define OpcUaId_ShelvedStateMachineType_UnshelvedToTimedShelved_TransitionNumber 11322 #define OpcUaId_ShelvedStateMachineType_UnshelvedToOneShotShelved_TransitionNumber 11323 #define OpcUaId_ShelvedStateMachineType_TimedShelvedToUnshelved_TransitionNumber 11324 #define OpcUaId_ShelvedStateMachineType_TimedShelvedToOneShotShelved_TransitionNumber 11325 #define OpcUaId_ShelvedStateMachineType_OneShotShelvedToUnshelved_TransitionNumber 11326 #define OpcUaId_ShelvedStateMachineType_OneShotShelvedToTimedShelved_TransitionNumber 11327 #define OpcUaId_ShelvedStateMachineType_TimedShelve_InputArguments 2991 #define OpcUaId_LimitAlarmType_EnabledState_Id 9220 #define OpcUaId_LimitAlarmType_Quality_SourceTimestamp 9229 #define OpcUaId_LimitAlarmType_LastSeverity_SourceTimestamp 9231 #define OpcUaId_LimitAlarmType_Comment_SourceTimestamp 9233 #define OpcUaId_LimitAlarmType_AddComment_InputArguments 9238 #define OpcUaId_LimitAlarmType_ConditionRefresh_InputArguments 6127 #define OpcUaId_LimitAlarmType_ConditionRefresh2_InputArguments 12987 #define OpcUaId_LimitAlarmType_AckedState_Id 9240 #define OpcUaId_LimitAlarmType_ConfirmedState_Id 9249 #define OpcUaId_LimitAlarmType_Acknowledge_InputArguments 9258 #define OpcUaId_LimitAlarmType_Confirm_InputArguments 9260 #define OpcUaId_LimitAlarmType_ActiveState_Id 9262 #define OpcUaId_LimitAlarmType_SuppressedState_Id 9271 #define OpcUaId_LimitAlarmType_OutOfServiceState_Id 16539 #define OpcUaId_LimitAlarmType_ShelvingState_CurrentState 9280 #define OpcUaId_LimitAlarmType_ShelvingState_CurrentState_Id 9281 #define OpcUaId_LimitAlarmType_ShelvingState_LastTransition_Id 9286 #define OpcUaId_LimitAlarmType_ShelvingState_UnshelveTime 9290 #define OpcUaId_LimitAlarmType_ShelvingState_TimedShelve_InputArguments 9315 #define OpcUaId_LimitAlarmType_SilenceState_Id 16548 #define OpcUaId_LimitAlarmType_LatchedState_Id 18214 #define OpcUaId_LimitAlarmType_HighHighLimit 11124 #define OpcUaId_LimitAlarmType_HighLimit 11125 #define OpcUaId_LimitAlarmType_LowLimit 11126 #define OpcUaId_LimitAlarmType_LowLowLimit 11127 #define OpcUaId_LimitAlarmType_BaseHighHighLimit 16572 #define OpcUaId_LimitAlarmType_BaseHighLimit 16573 #define OpcUaId_LimitAlarmType_BaseLowLimit 16574 #define OpcUaId_LimitAlarmType_BaseLowLowLimit 16575 #define OpcUaId_ExclusiveLimitStateMachineType_CurrentState_Id 9320 #define OpcUaId_ExclusiveLimitStateMachineType_LastTransition_Id 9325 #define OpcUaId_ExclusiveLimitStateMachineType_HighHigh_StateNumber 9330 #define OpcUaId_ExclusiveLimitStateMachineType_High_StateNumber 9332 #define OpcUaId_ExclusiveLimitStateMachineType_Low_StateNumber 9334 #define OpcUaId_ExclusiveLimitStateMachineType_LowLow_StateNumber 9336 #define OpcUaId_ExclusiveLimitStateMachineType_LowLowToLow_TransitionNumber 11340 #define OpcUaId_ExclusiveLimitStateMachineType_LowToLowLow_TransitionNumber 11341 #define OpcUaId_ExclusiveLimitStateMachineType_HighHighToHigh_TransitionNumber 11342 #define OpcUaId_ExclusiveLimitStateMachineType_HighToHighHigh_TransitionNumber 11343 #define OpcUaId_ExclusiveLimitAlarmType_EnabledState_Id 9355 #define OpcUaId_ExclusiveLimitAlarmType_Quality_SourceTimestamp 9364 #define OpcUaId_ExclusiveLimitAlarmType_LastSeverity_SourceTimestamp 9366 #define OpcUaId_ExclusiveLimitAlarmType_Comment_SourceTimestamp 9368 #define OpcUaId_ExclusiveLimitAlarmType_AddComment_InputArguments 9373 #define OpcUaId_ExclusiveLimitAlarmType_ConditionRefresh_InputArguments 9375 #define OpcUaId_ExclusiveLimitAlarmType_ConditionRefresh2_InputArguments 12989 #define OpcUaId_ExclusiveLimitAlarmType_AckedState_Id 9377 #define OpcUaId_ExclusiveLimitAlarmType_ConfirmedState_Id 9386 #define OpcUaId_ExclusiveLimitAlarmType_Acknowledge_InputArguments 9395 #define OpcUaId_ExclusiveLimitAlarmType_Confirm_InputArguments 9397 #define OpcUaId_ExclusiveLimitAlarmType_ActiveState 9398 #define OpcUaId_ExclusiveLimitAlarmType_ActiveState_Id 9399 #define OpcUaId_ExclusiveLimitAlarmType_SuppressedState_Id 9408 #define OpcUaId_ExclusiveLimitAlarmType_OutOfServiceState_Id 16579 #define OpcUaId_ExclusiveLimitAlarmType_ShelvingState_CurrentState 9417 #define OpcUaId_ExclusiveLimitAlarmType_ShelvingState_CurrentState_Id 9418 #define OpcUaId_ExclusiveLimitAlarmType_ShelvingState_LastTransition_Id 9423 #define OpcUaId_ExclusiveLimitAlarmType_ShelvingState_UnshelveTime 9427 #define OpcUaId_ExclusiveLimitAlarmType_ShelvingState_TimedShelve_InputArguments 9452 #define OpcUaId_ExclusiveLimitAlarmType_SilenceState_Id 16588 #define OpcUaId_ExclusiveLimitAlarmType_LatchedState_Id 18224 #define OpcUaId_ExclusiveLimitAlarmType_LimitState_CurrentState 9456 #define OpcUaId_ExclusiveLimitAlarmType_LimitState_CurrentState_Id 9457 #define OpcUaId_ExclusiveLimitAlarmType_LimitState_LastTransition 9461 #define OpcUaId_ExclusiveLimitAlarmType_LimitState_LastTransition_Id 9462 #define OpcUaId_ExclusiveLimitAlarmType_LimitState_LastTransition_TransitionTime 9465 #define OpcUaId_NonExclusiveLimitAlarmType_EnabledState_Id 9920 #define OpcUaId_NonExclusiveLimitAlarmType_Quality_SourceTimestamp 9929 #define OpcUaId_NonExclusiveLimitAlarmType_LastSeverity_SourceTimestamp 9931 #define OpcUaId_NonExclusiveLimitAlarmType_Comment_SourceTimestamp 9933 #define OpcUaId_NonExclusiveLimitAlarmType_AddComment_InputArguments 9938 #define OpcUaId_NonExclusiveLimitAlarmType_ConditionRefresh_InputArguments 9940 #define OpcUaId_NonExclusiveLimitAlarmType_ConditionRefresh2_InputArguments 12991 #define OpcUaId_NonExclusiveLimitAlarmType_AckedState_Id 9942 #define OpcUaId_NonExclusiveLimitAlarmType_ConfirmedState_Id 9951 #define OpcUaId_NonExclusiveLimitAlarmType_Acknowledge_InputArguments 9960 #define OpcUaId_NonExclusiveLimitAlarmType_Confirm_InputArguments 9962 #define OpcUaId_NonExclusiveLimitAlarmType_ActiveState 9963 #define OpcUaId_NonExclusiveLimitAlarmType_ActiveState_Id 9964 #define OpcUaId_NonExclusiveLimitAlarmType_SuppressedState_Id 9973 #define OpcUaId_NonExclusiveLimitAlarmType_OutOfServiceState_Id 16619 #define OpcUaId_NonExclusiveLimitAlarmType_ShelvingState_CurrentState 9982 #define OpcUaId_NonExclusiveLimitAlarmType_ShelvingState_CurrentState_Id 9983 #define OpcUaId_NonExclusiveLimitAlarmType_ShelvingState_LastTransition_Id 9988 #define OpcUaId_NonExclusiveLimitAlarmType_ShelvingState_UnshelveTime 9992 #define OpcUaId_NonExclusiveLimitAlarmType_ShelvingState_TimedShelve_InputArguments 10017 #define OpcUaId_NonExclusiveLimitAlarmType_SilenceState_Id 16628 #define OpcUaId_NonExclusiveLimitAlarmType_LatchedState_Id 18234 #define OpcUaId_NonExclusiveLimitAlarmType_HighHighState 10020 #define OpcUaId_NonExclusiveLimitAlarmType_HighHighState_Id 10021 #define OpcUaId_NonExclusiveLimitAlarmType_HighHighState_TransitionTime 10025 #define OpcUaId_NonExclusiveLimitAlarmType_HighHighState_TrueState 10027 #define OpcUaId_NonExclusiveLimitAlarmType_HighHighState_FalseState 10028 #define OpcUaId_NonExclusiveLimitAlarmType_HighState 10029 #define OpcUaId_NonExclusiveLimitAlarmType_HighState_Id 10030 #define OpcUaId_NonExclusiveLimitAlarmType_HighState_TransitionTime 10034 #define OpcUaId_NonExclusiveLimitAlarmType_HighState_TrueState 10036 #define OpcUaId_NonExclusiveLimitAlarmType_HighState_FalseState 10037 #define OpcUaId_NonExclusiveLimitAlarmType_LowState 10038 #define OpcUaId_NonExclusiveLimitAlarmType_LowState_Id 10039 #define OpcUaId_NonExclusiveLimitAlarmType_LowState_TransitionTime 10043 #define OpcUaId_NonExclusiveLimitAlarmType_LowState_TrueState 10045 #define OpcUaId_NonExclusiveLimitAlarmType_LowState_FalseState 10046 #define OpcUaId_NonExclusiveLimitAlarmType_LowLowState 10047 #define OpcUaId_NonExclusiveLimitAlarmType_LowLowState_Id 10048 #define OpcUaId_NonExclusiveLimitAlarmType_LowLowState_TransitionTime 10052 #define OpcUaId_NonExclusiveLimitAlarmType_LowLowState_TrueState 10054 #define OpcUaId_NonExclusiveLimitAlarmType_LowLowState_FalseState 10055 #define OpcUaId_NonExclusiveLevelAlarmType_EnabledState_Id 10074 #define OpcUaId_NonExclusiveLevelAlarmType_Quality_SourceTimestamp 10083 #define OpcUaId_NonExclusiveLevelAlarmType_LastSeverity_SourceTimestamp 10085 #define OpcUaId_NonExclusiveLevelAlarmType_Comment_SourceTimestamp 10087 #define OpcUaId_NonExclusiveLevelAlarmType_AddComment_InputArguments 10092 #define OpcUaId_NonExclusiveLevelAlarmType_ConditionRefresh_InputArguments 10094 #define OpcUaId_NonExclusiveLevelAlarmType_ConditionRefresh2_InputArguments 12993 #define OpcUaId_NonExclusiveLevelAlarmType_AckedState_Id 10096 #define OpcUaId_NonExclusiveLevelAlarmType_ConfirmedState_Id 10105 #define OpcUaId_NonExclusiveLevelAlarmType_Acknowledge_InputArguments 10114 #define OpcUaId_NonExclusiveLevelAlarmType_Confirm_InputArguments 10116 #define OpcUaId_NonExclusiveLevelAlarmType_ActiveState_Id 10118 #define OpcUaId_NonExclusiveLevelAlarmType_SuppressedState_Id 10127 #define OpcUaId_NonExclusiveLevelAlarmType_OutOfServiceState_Id 16659 #define OpcUaId_NonExclusiveLevelAlarmType_ShelvingState_CurrentState 10136 #define OpcUaId_NonExclusiveLevelAlarmType_ShelvingState_CurrentState_Id 10137 #define OpcUaId_NonExclusiveLevelAlarmType_ShelvingState_LastTransition_Id 10142 #define OpcUaId_NonExclusiveLevelAlarmType_ShelvingState_UnshelveTime 10146 #define OpcUaId_NonExclusiveLevelAlarmType_ShelvingState_TimedShelve_InputArguments 10171 #define OpcUaId_NonExclusiveLevelAlarmType_SilenceState_Id 16668 #define OpcUaId_NonExclusiveLevelAlarmType_LatchedState_Id 18247 #define OpcUaId_NonExclusiveLevelAlarmType_HighHighState_Id 10175 #define OpcUaId_NonExclusiveLevelAlarmType_HighState_Id 10184 #define OpcUaId_NonExclusiveLevelAlarmType_LowState_Id 10193 #define OpcUaId_NonExclusiveLevelAlarmType_LowLowState_Id 10202 #define OpcUaId_ExclusiveLevelAlarmType_EnabledState_Id 9496 #define OpcUaId_ExclusiveLevelAlarmType_Quality_SourceTimestamp 9505 #define OpcUaId_ExclusiveLevelAlarmType_LastSeverity_SourceTimestamp 9507 #define OpcUaId_ExclusiveLevelAlarmType_Comment_SourceTimestamp 9509 #define OpcUaId_ExclusiveLevelAlarmType_AddComment_InputArguments 9514 #define OpcUaId_ExclusiveLevelAlarmType_ConditionRefresh_InputArguments 9516 #define OpcUaId_ExclusiveLevelAlarmType_ConditionRefresh2_InputArguments 12995 #define OpcUaId_ExclusiveLevelAlarmType_AckedState_Id 9518 #define OpcUaId_ExclusiveLevelAlarmType_ConfirmedState_Id 9527 #define OpcUaId_ExclusiveLevelAlarmType_Acknowledge_InputArguments 9536 #define OpcUaId_ExclusiveLevelAlarmType_Confirm_InputArguments 9538 #define OpcUaId_ExclusiveLevelAlarmType_ActiveState_Id 9540 #define OpcUaId_ExclusiveLevelAlarmType_SuppressedState_Id 9549 #define OpcUaId_ExclusiveLevelAlarmType_OutOfServiceState_Id 16699 #define OpcUaId_ExclusiveLevelAlarmType_ShelvingState_CurrentState 9558 #define OpcUaId_ExclusiveLevelAlarmType_ShelvingState_CurrentState_Id 9559 #define OpcUaId_ExclusiveLevelAlarmType_ShelvingState_LastTransition_Id 9564 #define OpcUaId_ExclusiveLevelAlarmType_ShelvingState_UnshelveTime 9568 #define OpcUaId_ExclusiveLevelAlarmType_ShelvingState_TimedShelve_InputArguments 9593 #define OpcUaId_ExclusiveLevelAlarmType_SilenceState_Id 16708 #define OpcUaId_ExclusiveLevelAlarmType_LatchedState_Id 18258 #define OpcUaId_ExclusiveLevelAlarmType_LimitState_CurrentState 9597 #define OpcUaId_ExclusiveLevelAlarmType_LimitState_CurrentState_Id 9598 #define OpcUaId_ExclusiveLevelAlarmType_LimitState_LastTransition_Id 9603 #define OpcUaId_NonExclusiveDeviationAlarmType_EnabledState_Id 10382 #define OpcUaId_NonExclusiveDeviationAlarmType_Quality_SourceTimestamp 10391 #define OpcUaId_NonExclusiveDeviationAlarmType_LastSeverity_SourceTimestamp 10393 #define OpcUaId_NonExclusiveDeviationAlarmType_Comment_SourceTimestamp 10395 #define OpcUaId_NonExclusiveDeviationAlarmType_AddComment_InputArguments 10400 #define OpcUaId_NonExclusiveDeviationAlarmType_ConditionRefresh_InputArguments 10402 #define OpcUaId_NonExclusiveDeviationAlarmType_ConditionRefresh2_InputArguments 12997 #define OpcUaId_NonExclusiveDeviationAlarmType_AckedState_Id 10404 #define OpcUaId_NonExclusiveDeviationAlarmType_ConfirmedState_Id 10413 #define OpcUaId_NonExclusiveDeviationAlarmType_Acknowledge_InputArguments 10422 #define OpcUaId_NonExclusiveDeviationAlarmType_Confirm_InputArguments 10424 #define OpcUaId_NonExclusiveDeviationAlarmType_ActiveState_Id 10426 #define OpcUaId_NonExclusiveDeviationAlarmType_SuppressedState_Id 10435 #define OpcUaId_NonExclusiveDeviationAlarmType_OutOfServiceState_Id 16739 #define OpcUaId_NonExclusiveDeviationAlarmType_ShelvingState_CurrentState 10444 #define OpcUaId_NonExclusiveDeviationAlarmType_ShelvingState_CurrentState_Id 10445 #define OpcUaId_NonExclusiveDeviationAlarmType_ShelvingState_LastTransition_Id 10450 #define OpcUaId_NonExclusiveDeviationAlarmType_ShelvingState_UnshelveTime 10454 #define OpcUaId_NonExclusiveDeviationAlarmType_ShelvingState_TimedShelve_InputArguments 10479 #define OpcUaId_NonExclusiveDeviationAlarmType_SilenceState_Id 16748 #define OpcUaId_NonExclusiveDeviationAlarmType_LatchedState_Id 18268 #define OpcUaId_NonExclusiveDeviationAlarmType_HighHighState_Id 10483 #define OpcUaId_NonExclusiveDeviationAlarmType_HighState_Id 10492 #define OpcUaId_NonExclusiveDeviationAlarmType_LowState_Id 10501 #define OpcUaId_NonExclusiveDeviationAlarmType_LowLowState_Id 10510 #define OpcUaId_NonExclusiveDeviationAlarmType_SetpointNode 10522 #define OpcUaId_NonExclusiveDeviationAlarmType_BaseSetpointNode 16776 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_EnabledState_Id 10228 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_Quality_SourceTimestamp 10237 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_LastSeverity_SourceTimestamp 10239 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_Comment_SourceTimestamp 10241 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_AddComment_InputArguments 10246 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ConditionRefresh_InputArguments 10248 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ConditionRefresh2_InputArguments 13001 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_AckedState_Id 10250 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ConfirmedState_Id 10259 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_Acknowledge_InputArguments 10268 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_Confirm_InputArguments 10270 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ActiveState_Id 10272 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_SuppressedState_Id 10281 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_OutOfServiceState_Id 16821 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ShelvingState_CurrentState 10290 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ShelvingState_CurrentState_Id 10291 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ShelvingState_LastTransition_Id 10296 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ShelvingState_UnshelveTime 10300 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_ShelvingState_TimedShelve_InputArguments 10325 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_SilenceState_Id 16830 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_LatchedState_Id 18278 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_HighHighState_Id 10329 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_HighState_Id 10338 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_LowState_Id 10347 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_LowLowState_Id 10356 #define OpcUaId_NonExclusiveRateOfChangeAlarmType_EngineeringUnits 16858 #define OpcUaId_ExclusiveDeviationAlarmType_EnabledState_Id 9778 #define OpcUaId_ExclusiveDeviationAlarmType_Quality_SourceTimestamp 9787 #define OpcUaId_ExclusiveDeviationAlarmType_LastSeverity_SourceTimestamp 9789 #define OpcUaId_ExclusiveDeviationAlarmType_Comment_SourceTimestamp 9791 #define OpcUaId_ExclusiveDeviationAlarmType_AddComment_InputArguments 9796 #define OpcUaId_ExclusiveDeviationAlarmType_ConditionRefresh_InputArguments 9798 #define OpcUaId_ExclusiveDeviationAlarmType_ConditionRefresh2_InputArguments 12999 #define OpcUaId_ExclusiveDeviationAlarmType_AckedState_Id 9800 #define OpcUaId_ExclusiveDeviationAlarmType_ConfirmedState_Id 9809 #define OpcUaId_ExclusiveDeviationAlarmType_Acknowledge_InputArguments 9818 #define OpcUaId_ExclusiveDeviationAlarmType_Confirm_InputArguments 9820 #define OpcUaId_ExclusiveDeviationAlarmType_ActiveState_Id 9822 #define OpcUaId_ExclusiveDeviationAlarmType_SuppressedState_Id 9831 #define OpcUaId_ExclusiveDeviationAlarmType_OutOfServiceState_Id 16780 #define OpcUaId_ExclusiveDeviationAlarmType_ShelvingState_CurrentState 9840 #define OpcUaId_ExclusiveDeviationAlarmType_ShelvingState_CurrentState_Id 9841 #define OpcUaId_ExclusiveDeviationAlarmType_ShelvingState_LastTransition_Id 9846 #define OpcUaId_ExclusiveDeviationAlarmType_ShelvingState_UnshelveTime 9850 #define OpcUaId_ExclusiveDeviationAlarmType_ShelvingState_TimedShelve_InputArguments 9875 #define OpcUaId_ExclusiveDeviationAlarmType_SilenceState_Id 16789 #define OpcUaId_ExclusiveDeviationAlarmType_LatchedState_Id 18288 #define OpcUaId_ExclusiveDeviationAlarmType_LimitState_CurrentState 9879 #define OpcUaId_ExclusiveDeviationAlarmType_LimitState_CurrentState_Id 9880 #define OpcUaId_ExclusiveDeviationAlarmType_LimitState_LastTransition_Id 9885 #define OpcUaId_ExclusiveDeviationAlarmType_SetpointNode 9905 #define OpcUaId_ExclusiveDeviationAlarmType_BaseSetpointNode 16817 #define OpcUaId_ExclusiveRateOfChangeAlarmType_EnabledState_Id 9637 #define OpcUaId_ExclusiveRateOfChangeAlarmType_Quality_SourceTimestamp 9646 #define OpcUaId_ExclusiveRateOfChangeAlarmType_LastSeverity_SourceTimestamp 9648 #define OpcUaId_ExclusiveRateOfChangeAlarmType_Comment_SourceTimestamp 9650 #define OpcUaId_ExclusiveRateOfChangeAlarmType_AddComment_InputArguments 9655 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ConditionRefresh_InputArguments 9657 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ConditionRefresh2_InputArguments 13003 #define OpcUaId_ExclusiveRateOfChangeAlarmType_AckedState_Id 9659 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ConfirmedState_Id 9668 #define OpcUaId_ExclusiveRateOfChangeAlarmType_Acknowledge_InputArguments 9677 #define OpcUaId_ExclusiveRateOfChangeAlarmType_Confirm_InputArguments 9679 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ActiveState_Id 9681 #define OpcUaId_ExclusiveRateOfChangeAlarmType_SuppressedState_Id 9690 #define OpcUaId_ExclusiveRateOfChangeAlarmType_OutOfServiceState_Id 16862 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ShelvingState_CurrentState 9699 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ShelvingState_CurrentState_Id 9700 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ShelvingState_LastTransition_Id 9705 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ShelvingState_UnshelveTime 9709 #define OpcUaId_ExclusiveRateOfChangeAlarmType_ShelvingState_TimedShelve_InputArguments 9734 #define OpcUaId_ExclusiveRateOfChangeAlarmType_SilenceState_Id 16871 #define OpcUaId_ExclusiveRateOfChangeAlarmType_LatchedState_Id 18298 #define OpcUaId_ExclusiveRateOfChangeAlarmType_LimitState_CurrentState 9738 #define OpcUaId_ExclusiveRateOfChangeAlarmType_LimitState_CurrentState_Id 9739 #define OpcUaId_ExclusiveRateOfChangeAlarmType_LimitState_LastTransition_Id 9744 #define OpcUaId_ExclusiveRateOfChangeAlarmType_EngineeringUnits 16899 #define OpcUaId_DiscreteAlarmType_EnabledState_Id 10537 #define OpcUaId_DiscreteAlarmType_Quality_SourceTimestamp 10546 #define OpcUaId_DiscreteAlarmType_LastSeverity_SourceTimestamp 10548 #define OpcUaId_DiscreteAlarmType_Comment_SourceTimestamp 10550 #define OpcUaId_DiscreteAlarmType_AddComment_InputArguments 10555 #define OpcUaId_DiscreteAlarmType_ConditionRefresh_InputArguments 10557 #define OpcUaId_DiscreteAlarmType_ConditionRefresh2_InputArguments 13005 #define OpcUaId_DiscreteAlarmType_AckedState_Id 10559 #define OpcUaId_DiscreteAlarmType_ConfirmedState_Id 10568 #define OpcUaId_DiscreteAlarmType_Acknowledge_InputArguments 10577 #define OpcUaId_DiscreteAlarmType_Confirm_InputArguments 10579 #define OpcUaId_DiscreteAlarmType_ActiveState_Id 10581 #define OpcUaId_DiscreteAlarmType_SuppressedState_Id 10590 #define OpcUaId_DiscreteAlarmType_OutOfServiceState_Id 16903 #define OpcUaId_DiscreteAlarmType_ShelvingState_CurrentState 10599 #define OpcUaId_DiscreteAlarmType_ShelvingState_CurrentState_Id 10600 #define OpcUaId_DiscreteAlarmType_ShelvingState_LastTransition_Id 10605 #define OpcUaId_DiscreteAlarmType_ShelvingState_UnshelveTime 10609 #define OpcUaId_DiscreteAlarmType_ShelvingState_TimedShelve_InputArguments 10634 #define OpcUaId_DiscreteAlarmType_SilenceState_Id 16912 #define OpcUaId_DiscreteAlarmType_LatchedState_Id 18308 #define OpcUaId_OffNormalAlarmType_EnabledState_Id 10651 #define OpcUaId_OffNormalAlarmType_Quality_SourceTimestamp 10660 #define OpcUaId_OffNormalAlarmType_LastSeverity_SourceTimestamp 10662 #define OpcUaId_OffNormalAlarmType_Comment_SourceTimestamp 10664 #define OpcUaId_OffNormalAlarmType_AddComment_InputArguments 10669 #define OpcUaId_OffNormalAlarmType_ConditionRefresh_InputArguments 10671 #define OpcUaId_OffNormalAlarmType_ConditionRefresh2_InputArguments 13007 #define OpcUaId_OffNormalAlarmType_AckedState_Id 10673 #define OpcUaId_OffNormalAlarmType_ConfirmedState_Id 10682 #define OpcUaId_OffNormalAlarmType_Acknowledge_InputArguments 10691 #define OpcUaId_OffNormalAlarmType_Confirm_InputArguments 10693 #define OpcUaId_OffNormalAlarmType_ActiveState_Id 10695 #define OpcUaId_OffNormalAlarmType_SuppressedState_Id 10704 #define OpcUaId_OffNormalAlarmType_OutOfServiceState_Id 16939 #define OpcUaId_OffNormalAlarmType_ShelvingState_CurrentState 10713 #define OpcUaId_OffNormalAlarmType_ShelvingState_CurrentState_Id 10714 #define OpcUaId_OffNormalAlarmType_ShelvingState_LastTransition_Id 10719 #define OpcUaId_OffNormalAlarmType_ShelvingState_UnshelveTime 10723 #define OpcUaId_OffNormalAlarmType_ShelvingState_TimedShelve_InputArguments 10748 #define OpcUaId_OffNormalAlarmType_SilenceState_Id 16948 #define OpcUaId_OffNormalAlarmType_LatchedState_Id 18318 #define OpcUaId_OffNormalAlarmType_NormalState 11158 #define OpcUaId_SystemOffNormalAlarmType_EnabledState_Id 11769 #define OpcUaId_SystemOffNormalAlarmType_Quality_SourceTimestamp 11778 #define OpcUaId_SystemOffNormalAlarmType_LastSeverity_SourceTimestamp 11780 #define OpcUaId_SystemOffNormalAlarmType_Comment_SourceTimestamp 11782 #define OpcUaId_SystemOffNormalAlarmType_AddComment_InputArguments 11787 #define OpcUaId_SystemOffNormalAlarmType_ConditionRefresh_InputArguments 11789 #define OpcUaId_SystemOffNormalAlarmType_ConditionRefresh2_InputArguments 13009 #define OpcUaId_SystemOffNormalAlarmType_AckedState_Id 11791 #define OpcUaId_SystemOffNormalAlarmType_ConfirmedState_Id 11800 #define OpcUaId_SystemOffNormalAlarmType_Acknowledge_InputArguments 11809 #define OpcUaId_SystemOffNormalAlarmType_Confirm_InputArguments 11811 #define OpcUaId_SystemOffNormalAlarmType_ActiveState_Id 11813 #define OpcUaId_SystemOffNormalAlarmType_SuppressedState_Id 11823 #define OpcUaId_SystemOffNormalAlarmType_OutOfServiceState_Id 16975 #define OpcUaId_SystemOffNormalAlarmType_ShelvingState_CurrentState 11832 #define OpcUaId_SystemOffNormalAlarmType_ShelvingState_CurrentState_Id 11833 #define OpcUaId_SystemOffNormalAlarmType_ShelvingState_LastTransition_Id 11838 #define OpcUaId_SystemOffNormalAlarmType_ShelvingState_UnshelveTime 11843 #define OpcUaId_SystemOffNormalAlarmType_ShelvingState_TimedShelve_InputArguments 11847 #define OpcUaId_SystemOffNormalAlarmType_SilenceState_Id 16984 #define OpcUaId_SystemOffNormalAlarmType_LatchedState_Id 18328 #define OpcUaId_TripAlarmType_EnabledState_Id 10765 #define OpcUaId_TripAlarmType_Quality_SourceTimestamp 10774 #define OpcUaId_TripAlarmType_LastSeverity_SourceTimestamp 10776 #define OpcUaId_TripAlarmType_Comment_SourceTimestamp 10778 #define OpcUaId_TripAlarmType_AddComment_InputArguments 10783 #define OpcUaId_TripAlarmType_ConditionRefresh_InputArguments 10785 #define OpcUaId_TripAlarmType_ConditionRefresh2_InputArguments 13011 #define OpcUaId_TripAlarmType_AckedState_Id 10787 #define OpcUaId_TripAlarmType_ConfirmedState_Id 10796 #define OpcUaId_TripAlarmType_Acknowledge_InputArguments 10805 #define OpcUaId_TripAlarmType_Confirm_InputArguments 10807 #define OpcUaId_TripAlarmType_ActiveState_Id 10809 #define OpcUaId_TripAlarmType_SuppressedState_Id 10818 #define OpcUaId_TripAlarmType_OutOfServiceState_Id 17011 #define OpcUaId_TripAlarmType_ShelvingState_CurrentState 10827 #define OpcUaId_TripAlarmType_ShelvingState_CurrentState_Id 10828 #define OpcUaId_TripAlarmType_ShelvingState_LastTransition_Id 10833 #define OpcUaId_TripAlarmType_ShelvingState_UnshelveTime 10837 #define OpcUaId_TripAlarmType_ShelvingState_TimedShelve_InputArguments 10862 #define OpcUaId_TripAlarmType_SilenceState_Id 17020 #define OpcUaId_TripAlarmType_LatchedState_Id 18338 #define OpcUaId_InstrumentDiagnosticAlarmType_EnabledState_Id 18365 #define OpcUaId_InstrumentDiagnosticAlarmType_Quality_SourceTimestamp 18374 #define OpcUaId_InstrumentDiagnosticAlarmType_LastSeverity_SourceTimestamp 18376 #define OpcUaId_InstrumentDiagnosticAlarmType_Comment_SourceTimestamp 18378 #define OpcUaId_InstrumentDiagnosticAlarmType_AddComment_InputArguments 18383 #define OpcUaId_InstrumentDiagnosticAlarmType_ConditionRefresh_InputArguments 18385 #define OpcUaId_InstrumentDiagnosticAlarmType_ConditionRefresh2_InputArguments 18387 #define OpcUaId_InstrumentDiagnosticAlarmType_AckedState_Id 18389 #define OpcUaId_InstrumentDiagnosticAlarmType_ConfirmedState_Id 18398 #define OpcUaId_InstrumentDiagnosticAlarmType_Acknowledge_InputArguments 18407 #define OpcUaId_InstrumentDiagnosticAlarmType_Confirm_InputArguments 18409 #define OpcUaId_InstrumentDiagnosticAlarmType_ActiveState_Id 18411 #define OpcUaId_InstrumentDiagnosticAlarmType_SuppressedState_Id 18421 #define OpcUaId_InstrumentDiagnosticAlarmType_OutOfServiceState_Id 18430 #define OpcUaId_InstrumentDiagnosticAlarmType_ShelvingState_CurrentState 18439 #define OpcUaId_InstrumentDiagnosticAlarmType_ShelvingState_CurrentState_Id 18440 #define OpcUaId_InstrumentDiagnosticAlarmType_ShelvingState_LastTransition_Id 18445 #define OpcUaId_InstrumentDiagnosticAlarmType_ShelvingState_UnshelveTime 18452 #define OpcUaId_InstrumentDiagnosticAlarmType_ShelvingState_TimedShelve_InputArguments 18454 #define OpcUaId_InstrumentDiagnosticAlarmType_SilenceState_Id 18465 #define OpcUaId_InstrumentDiagnosticAlarmType_LatchedState_Id 18478 #define OpcUaId_SystemDiagnosticAlarmType_EnabledState_Id 18514 #define OpcUaId_SystemDiagnosticAlarmType_Quality_SourceTimestamp 18523 #define OpcUaId_SystemDiagnosticAlarmType_LastSeverity_SourceTimestamp 18525 #define OpcUaId_SystemDiagnosticAlarmType_Comment_SourceTimestamp 18527 #define OpcUaId_SystemDiagnosticAlarmType_AddComment_InputArguments 18532 #define OpcUaId_SystemDiagnosticAlarmType_ConditionRefresh_InputArguments 18534 #define OpcUaId_SystemDiagnosticAlarmType_ConditionRefresh2_InputArguments 18536 #define OpcUaId_SystemDiagnosticAlarmType_AckedState_Id 18538 #define OpcUaId_SystemDiagnosticAlarmType_ConfirmedState_Id 18547 #define OpcUaId_SystemDiagnosticAlarmType_Acknowledge_InputArguments 18556 #define OpcUaId_SystemDiagnosticAlarmType_Confirm_InputArguments 18558 #define OpcUaId_SystemDiagnosticAlarmType_ActiveState_Id 18560 #define OpcUaId_SystemDiagnosticAlarmType_SuppressedState_Id 18570 #define OpcUaId_SystemDiagnosticAlarmType_OutOfServiceState_Id 18579 #define OpcUaId_SystemDiagnosticAlarmType_ShelvingState_CurrentState 18588 #define OpcUaId_SystemDiagnosticAlarmType_ShelvingState_CurrentState_Id 18589 #define OpcUaId_SystemDiagnosticAlarmType_ShelvingState_LastTransition_Id 18594 #define OpcUaId_SystemDiagnosticAlarmType_ShelvingState_UnshelveTime 18601 #define OpcUaId_SystemDiagnosticAlarmType_ShelvingState_TimedShelve_InputArguments 18603 #define OpcUaId_SystemDiagnosticAlarmType_SilenceState_Id 18614 #define OpcUaId_SystemDiagnosticAlarmType_LatchedState_Id 18627 #define OpcUaId_CertificateExpirationAlarmType_EnabledState_Id 13241 #define OpcUaId_CertificateExpirationAlarmType_Quality_SourceTimestamp 13250 #define OpcUaId_CertificateExpirationAlarmType_LastSeverity_SourceTimestamp 13252 #define OpcUaId_CertificateExpirationAlarmType_Comment_SourceTimestamp 13254 #define OpcUaId_CertificateExpirationAlarmType_AddComment_InputArguments 13259 #define OpcUaId_CertificateExpirationAlarmType_ConditionRefresh_InputArguments 13261 #define OpcUaId_CertificateExpirationAlarmType_ConditionRefresh2_InputArguments 13263 #define OpcUaId_CertificateExpirationAlarmType_AckedState_Id 13265 #define OpcUaId_CertificateExpirationAlarmType_ConfirmedState_Id 13274 #define OpcUaId_CertificateExpirationAlarmType_Acknowledge_InputArguments 13283 #define OpcUaId_CertificateExpirationAlarmType_Confirm_InputArguments 13285 #define OpcUaId_CertificateExpirationAlarmType_ActiveState_Id 13287 #define OpcUaId_CertificateExpirationAlarmType_SuppressedState_Id 13297 #define OpcUaId_CertificateExpirationAlarmType_OutOfServiceState_Id 17047 #define OpcUaId_CertificateExpirationAlarmType_ShelvingState_CurrentState 13306 #define OpcUaId_CertificateExpirationAlarmType_ShelvingState_CurrentState_Id 13307 #define OpcUaId_CertificateExpirationAlarmType_ShelvingState_LastTransition_Id 13312 #define OpcUaId_CertificateExpirationAlarmType_ShelvingState_UnshelveTime 13317 #define OpcUaId_CertificateExpirationAlarmType_ShelvingState_TimedShelve_InputArguments 13321 #define OpcUaId_CertificateExpirationAlarmType_SilenceState_Id 17056 #define OpcUaId_CertificateExpirationAlarmType_LatchedState_Id 18646 #define OpcUaId_CertificateExpirationAlarmType_ExpirationDate 13325 #define OpcUaId_CertificateExpirationAlarmType_ExpirationLimit 14900 #define OpcUaId_CertificateExpirationAlarmType_CertificateType 13326 #define OpcUaId_CertificateExpirationAlarmType_Certificate 13327 #define OpcUaId_DiscrepancyAlarmType_EnabledState_Id 17098 #define OpcUaId_DiscrepancyAlarmType_Quality_SourceTimestamp 17107 #define OpcUaId_DiscrepancyAlarmType_LastSeverity_SourceTimestamp 17109 #define OpcUaId_DiscrepancyAlarmType_Comment_SourceTimestamp 17111 #define OpcUaId_DiscrepancyAlarmType_AddComment_InputArguments 17116 #define OpcUaId_DiscrepancyAlarmType_ConditionRefresh_InputArguments 17118 #define OpcUaId_DiscrepancyAlarmType_ConditionRefresh2_InputArguments 17120 #define OpcUaId_DiscrepancyAlarmType_AckedState_Id 17122 #define OpcUaId_DiscrepancyAlarmType_ConfirmedState_Id 17131 #define OpcUaId_DiscrepancyAlarmType_Acknowledge_InputArguments 17140 #define OpcUaId_DiscrepancyAlarmType_Confirm_InputArguments 17142 #define OpcUaId_DiscrepancyAlarmType_ActiveState_Id 17144 #define OpcUaId_DiscrepancyAlarmType_SuppressedState_Id 17154 #define OpcUaId_DiscrepancyAlarmType_OutOfServiceState_Id 17163 #define OpcUaId_DiscrepancyAlarmType_ShelvingState_CurrentState 17181 #define OpcUaId_DiscrepancyAlarmType_ShelvingState_CurrentState_Id 17182 #define OpcUaId_DiscrepancyAlarmType_ShelvingState_LastTransition_Id 17187 #define OpcUaId_DiscrepancyAlarmType_ShelvingState_UnshelveTime 17192 #define OpcUaId_DiscrepancyAlarmType_ShelvingState_TimedShelve_InputArguments 17196 #define OpcUaId_DiscrepancyAlarmType_SilenceState_Id 17172 #define OpcUaId_DiscrepancyAlarmType_LatchedState_Id 18656 #define OpcUaId_DiscrepancyAlarmType_TargetValueNode 17215 #define OpcUaId_DiscrepancyAlarmType_ExpectedTime 17216 #define OpcUaId_DiscrepancyAlarmType_Tolerance 17217 #define OpcUaId_AuditConditionCommentEventType_ConditionEventId 17222 #define OpcUaId_AuditConditionCommentEventType_Comment 11851 #define OpcUaId_AuditConditionRespondEventType_SelectedResponse 11852 #define OpcUaId_AuditConditionAcknowledgeEventType_ConditionEventId 17223 #define OpcUaId_AuditConditionAcknowledgeEventType_Comment 11853 #define OpcUaId_AuditConditionConfirmEventType_ConditionEventId 17224 #define OpcUaId_AuditConditionConfirmEventType_Comment 11854 #define OpcUaId_AuditConditionShelvingEventType_ShelvingTime 11855 #define OpcUaId_AlarmMetricsType_AlarmCount 17280 #define OpcUaId_AlarmMetricsType_StartTime 17991 #define OpcUaId_AlarmMetricsType_MaximumActiveState 17281 #define OpcUaId_AlarmMetricsType_MaximumUnAck 17282 #define OpcUaId_AlarmMetricsType_CurrentAlarmRate 17284 #define OpcUaId_AlarmMetricsType_CurrentAlarmRate_Rate 17285 #define OpcUaId_AlarmMetricsType_MaximumAlarmRate 17286 #define OpcUaId_AlarmMetricsType_MaximumAlarmRate_Rate 17287 #define OpcUaId_AlarmMetricsType_MaximumReAlarmCount 17283 #define OpcUaId_AlarmMetricsType_AverageAlarmRate 17288 #define OpcUaId_AlarmMetricsType_AverageAlarmRate_Rate 17289 #define OpcUaId_AlarmRateVariableType_Rate 17278 #define OpcUaId_ProgramStateMachineType_CurrentState 3830 #define OpcUaId_ProgramStateMachineType_CurrentState_Id 3831 #define OpcUaId_ProgramStateMachineType_CurrentState_Number 3833 #define OpcUaId_ProgramStateMachineType_LastTransition 3835 #define OpcUaId_ProgramStateMachineType_LastTransition_Id 3836 #define OpcUaId_ProgramStateMachineType_LastTransition_Number 3838 #define OpcUaId_ProgramStateMachineType_LastTransition_TransitionTime 3839 #define OpcUaId_ProgramStateMachineType_Creatable 2392 #define OpcUaId_ProgramStateMachineType_Deletable 2393 #define OpcUaId_ProgramStateMachineType_AutoDelete 2394 #define OpcUaId_ProgramStateMachineType_RecycleCount 2395 #define OpcUaId_ProgramStateMachineType_InstanceCount 2396 #define OpcUaId_ProgramStateMachineType_MaxInstanceCount 2397 #define OpcUaId_ProgramStateMachineType_MaxRecycleCount 2398 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic 2399 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_CreateSessionId 3840 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_CreateClientName 3841 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_InvocationCreationTime 3842 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_LastTransitionTime 3843 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_LastMethodCall 3844 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_LastMethodSessionId 3845 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_LastMethodInputArguments 3846 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_LastMethodOutputArguments 3847 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_LastMethodInputValues 15038 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_LastMethodOutputValues 15040 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_LastMethodCallTime 3848 #define OpcUaId_ProgramStateMachineType_ProgramDiagnostic_LastMethodReturnStatus 3849 #define OpcUaId_ProgramStateMachineType_Halted_StateNumber 2407 #define OpcUaId_ProgramStateMachineType_Ready_StateNumber 2401 #define OpcUaId_ProgramStateMachineType_Running_StateNumber 2403 #define OpcUaId_ProgramStateMachineType_Suspended_StateNumber 2405 #define OpcUaId_ProgramStateMachineType_HaltedToReady_TransitionNumber 2409 #define OpcUaId_ProgramStateMachineType_ReadyToRunning_TransitionNumber 2411 #define OpcUaId_ProgramStateMachineType_RunningToHalted_TransitionNumber 2413 #define OpcUaId_ProgramStateMachineType_RunningToReady_TransitionNumber 2415 #define OpcUaId_ProgramStateMachineType_RunningToSuspended_TransitionNumber 2417 #define OpcUaId_ProgramStateMachineType_SuspendedToRunning_TransitionNumber 2419 #define OpcUaId_ProgramStateMachineType_SuspendedToHalted_TransitionNumber 2421 #define OpcUaId_ProgramStateMachineType_SuspendedToReady_TransitionNumber 2423 #define OpcUaId_ProgramStateMachineType_ReadyToHalted_TransitionNumber 2425 #define OpcUaId_ProgramTransitionEventType_Transition_Id 3802 #define OpcUaId_ProgramTransitionEventType_FromState_Id 3792 #define OpcUaId_ProgramTransitionEventType_ToState_Id 3797 #define OpcUaId_ProgramTransitionEventType_IntermediateResult 2379 #define OpcUaId_AuditProgramTransitionEventType_TransitionNumber 11875 #define OpcUaId_ProgramTransitionAuditEventType_Transition 3825 #define OpcUaId_ProgramTransitionAuditEventType_Transition_Id 3826 #define OpcUaId_ProgramDiagnosticType_CreateSessionId 2381 #define OpcUaId_ProgramDiagnosticType_CreateClientName 2382 #define OpcUaId_ProgramDiagnosticType_InvocationCreationTime 2383 #define OpcUaId_ProgramDiagnosticType_LastTransitionTime 2384 #define OpcUaId_ProgramDiagnosticType_LastMethodCall 2385 #define OpcUaId_ProgramDiagnosticType_LastMethodSessionId 2386 #define OpcUaId_ProgramDiagnosticType_LastMethodInputArguments 2387 #define OpcUaId_ProgramDiagnosticType_LastMethodOutputArguments 2388 #define OpcUaId_ProgramDiagnosticType_LastMethodCallTime 2389 #define OpcUaId_ProgramDiagnosticType_LastMethodReturnStatus 2390 #define OpcUaId_ProgramDiagnostic2Type_CreateSessionId 15384 #define OpcUaId_ProgramDiagnostic2Type_CreateClientName 15385 #define OpcUaId_ProgramDiagnostic2Type_InvocationCreationTime 15386 #define OpcUaId_ProgramDiagnostic2Type_LastTransitionTime 15387 #define OpcUaId_ProgramDiagnostic2Type_LastMethodCall 15388 #define OpcUaId_ProgramDiagnostic2Type_LastMethodSessionId 15389 #define OpcUaId_ProgramDiagnostic2Type_LastMethodInputArguments 15390 #define OpcUaId_ProgramDiagnostic2Type_LastMethodOutputArguments 15391 #define OpcUaId_ProgramDiagnostic2Type_LastMethodInputValues 15392 #define OpcUaId_ProgramDiagnostic2Type_LastMethodOutputValues 15393 #define OpcUaId_ProgramDiagnostic2Type_LastMethodCallTime 15394 #define OpcUaId_ProgramDiagnostic2Type_LastMethodReturnStatus 15395 #define OpcUaId_Annotations 11214 #define OpcUaId_HistoricalDataConfigurationType_AggregateConfiguration_TreatUncertainAsBad 11168 #define OpcUaId_HistoricalDataConfigurationType_AggregateConfiguration_PercentDataBad 11169 #define OpcUaId_HistoricalDataConfigurationType_AggregateConfiguration_PercentDataGood 11170 #define OpcUaId_HistoricalDataConfigurationType_AggregateConfiguration_UseSlopedExtrapolation 11171 #define OpcUaId_HistoricalDataConfigurationType_Stepped 2323 #define OpcUaId_HistoricalDataConfigurationType_Definition 2324 #define OpcUaId_HistoricalDataConfigurationType_MaxTimeInterval 2325 #define OpcUaId_HistoricalDataConfigurationType_MinTimeInterval 2326 #define OpcUaId_HistoricalDataConfigurationType_ExceptionDeviation 2327 #define OpcUaId_HistoricalDataConfigurationType_ExceptionDeviationFormat 2328 #define OpcUaId_HistoricalDataConfigurationType_StartOfArchive 11499 #define OpcUaId_HistoricalDataConfigurationType_StartOfOnlineArchive 11500 #define OpcUaId_HistoricalDataConfigurationType_ServerTimestampSupported 19092 #define OpcUaId_HAConfiguration_AggregateConfiguration_TreatUncertainAsBad 11204 #define OpcUaId_HAConfiguration_AggregateConfiguration_PercentDataBad 11205 #define OpcUaId_HAConfiguration_AggregateConfiguration_PercentDataGood 11206 #define OpcUaId_HAConfiguration_AggregateConfiguration_UseSlopedExtrapolation 11207 #define OpcUaId_HAConfiguration_Stepped 11208 #define OpcUaId_HistoricalEventFilter 11215 #define OpcUaId_HistoryServerCapabilitiesType_AccessHistoryDataCapability 2331 #define OpcUaId_HistoryServerCapabilitiesType_AccessHistoryEventsCapability 2332 #define OpcUaId_HistoryServerCapabilitiesType_MaxReturnDataValues 11268 #define OpcUaId_HistoryServerCapabilitiesType_MaxReturnEventValues 11269 #define OpcUaId_HistoryServerCapabilitiesType_InsertDataCapability 2334 #define OpcUaId_HistoryServerCapabilitiesType_ReplaceDataCapability 2335 #define OpcUaId_HistoryServerCapabilitiesType_UpdateDataCapability 2336 #define OpcUaId_HistoryServerCapabilitiesType_DeleteRawCapability 2337 #define OpcUaId_HistoryServerCapabilitiesType_DeleteAtTimeCapability 2338 #define OpcUaId_HistoryServerCapabilitiesType_InsertEventCapability 11278 #define OpcUaId_HistoryServerCapabilitiesType_ReplaceEventCapability 11279 #define OpcUaId_HistoryServerCapabilitiesType_UpdateEventCapability 11280 #define OpcUaId_HistoryServerCapabilitiesType_DeleteEventCapability 11501 #define OpcUaId_HistoryServerCapabilitiesType_InsertAnnotationCapability 11270 #define OpcUaId_HistoryServerCapabilitiesType_ServerTimestampSupported 19094 #define OpcUaId_AuditHistoryEventUpdateEventType_UpdatedNode 3025 #define OpcUaId_AuditHistoryEventUpdateEventType_PerformInsertReplace 3028 #define OpcUaId_AuditHistoryEventUpdateEventType_Filter 3003 #define OpcUaId_AuditHistoryEventUpdateEventType_NewValues 3029 #define OpcUaId_AuditHistoryEventUpdateEventType_OldValues 3030 #define OpcUaId_AuditHistoryValueUpdateEventType_UpdatedNode 3026 #define OpcUaId_AuditHistoryValueUpdateEventType_PerformInsertReplace 3031 #define OpcUaId_AuditHistoryValueUpdateEventType_NewValues 3032 #define OpcUaId_AuditHistoryValueUpdateEventType_OldValues 3033 #define OpcUaId_AuditHistoryAnnotationUpdateEventType_PerformInsertReplace 19293 #define OpcUaId_AuditHistoryAnnotationUpdateEventType_NewValues 19294 #define OpcUaId_AuditHistoryAnnotationUpdateEventType_OldValues 19295 #define OpcUaId_AuditHistoryDeleteEventType_UpdatedNode 3027 #define OpcUaId_AuditHistoryRawModifyDeleteEventType_IsDeleteModified 3015 #define OpcUaId_AuditHistoryRawModifyDeleteEventType_StartTime 3016 #define OpcUaId_AuditHistoryRawModifyDeleteEventType_EndTime 3017 #define OpcUaId_AuditHistoryRawModifyDeleteEventType_OldValues 3034 #define OpcUaId_AuditHistoryAtTimeDeleteEventType_ReqTimes 3020 #define OpcUaId_AuditHistoryAtTimeDeleteEventType_OldValues 3021 #define OpcUaId_AuditHistoryEventDeleteEventType_EventIds 3023 #define OpcUaId_AuditHistoryEventDeleteEventType_OldValues 3024 #define OpcUaId_TrustListType_Open_InputArguments 12528 #define OpcUaId_TrustListType_Open_OutputArguments 12529 #define OpcUaId_TrustListType_Close_InputArguments 12531 #define OpcUaId_TrustListType_Read_InputArguments 12533 #define OpcUaId_TrustListType_Read_OutputArguments 12534 #define OpcUaId_TrustListType_Write_InputArguments 12536 #define OpcUaId_TrustListType_GetPosition_InputArguments 12538 #define OpcUaId_TrustListType_GetPosition_OutputArguments 12539 #define OpcUaId_TrustListType_SetPosition_InputArguments 12541 #define OpcUaId_TrustListType_LastUpdateTime 12542 #define OpcUaId_TrustListType_UpdateFrequency 19296 #define OpcUaId_TrustListType_OpenWithMasks_InputArguments 12544 #define OpcUaId_TrustListType_OpenWithMasks_OutputArguments 12545 #define OpcUaId_TrustListType_CloseAndUpdate_InputArguments 12705 #define OpcUaId_TrustListType_CloseAndUpdate_OutputArguments 12547 #define OpcUaId_TrustListType_AddCertificate_InputArguments 12549 #define OpcUaId_TrustListType_RemoveCertificate_InputArguments 12551 #define OpcUaId_TrustListMasks_EnumValues 12553 #define OpcUaId_TrustListOutOfDateAlarmType_EnabledState_Id 19315 #define OpcUaId_TrustListOutOfDateAlarmType_Quality_SourceTimestamp 19324 #define OpcUaId_TrustListOutOfDateAlarmType_LastSeverity_SourceTimestamp 19326 #define OpcUaId_TrustListOutOfDateAlarmType_Comment_SourceTimestamp 19328 #define OpcUaId_TrustListOutOfDateAlarmType_AddComment_InputArguments 19333 #define OpcUaId_TrustListOutOfDateAlarmType_ConditionRefresh_InputArguments 19335 #define OpcUaId_TrustListOutOfDateAlarmType_ConditionRefresh2_InputArguments 19337 #define OpcUaId_TrustListOutOfDateAlarmType_AckedState_Id 19339 #define OpcUaId_TrustListOutOfDateAlarmType_ConfirmedState_Id 19348 #define OpcUaId_TrustListOutOfDateAlarmType_Acknowledge_InputArguments 19357 #define OpcUaId_TrustListOutOfDateAlarmType_Confirm_InputArguments 19359 #define OpcUaId_TrustListOutOfDateAlarmType_ActiveState_Id 19361 #define OpcUaId_TrustListOutOfDateAlarmType_SuppressedState_Id 19371 #define OpcUaId_TrustListOutOfDateAlarmType_OutOfServiceState_Id 19380 #define OpcUaId_TrustListOutOfDateAlarmType_ShelvingState_CurrentState 19389 #define OpcUaId_TrustListOutOfDateAlarmType_ShelvingState_CurrentState_Id 19390 #define OpcUaId_TrustListOutOfDateAlarmType_ShelvingState_LastTransition_Id 19395 #define OpcUaId_TrustListOutOfDateAlarmType_ShelvingState_UnshelveTime 19402 #define OpcUaId_TrustListOutOfDateAlarmType_ShelvingState_TimedShelve_InputArguments 19404 #define OpcUaId_TrustListOutOfDateAlarmType_SilenceState_Id 19415 #define OpcUaId_TrustListOutOfDateAlarmType_LatchedState_Id 19428 #define OpcUaId_TrustListOutOfDateAlarmType_TrustListId 19446 #define OpcUaId_TrustListOutOfDateAlarmType_LastUpdateTime 19447 #define OpcUaId_TrustListOutOfDateAlarmType_UpdateFrequency 19448 #define OpcUaId_CertificateGroupType_TrustList_Size 13600 #define OpcUaId_CertificateGroupType_TrustList_Writable 13601 #define OpcUaId_CertificateGroupType_TrustList_UserWritable 13602 #define OpcUaId_CertificateGroupType_TrustList_OpenCount 13603 #define OpcUaId_CertificateGroupType_TrustList_Open_InputArguments 13606 #define OpcUaId_CertificateGroupType_TrustList_Open_OutputArguments 13607 #define OpcUaId_CertificateGroupType_TrustList_Close_InputArguments 13609 #define OpcUaId_CertificateGroupType_TrustList_Read_InputArguments 13611 #define OpcUaId_CertificateGroupType_TrustList_Read_OutputArguments 13612 #define OpcUaId_CertificateGroupType_TrustList_Write_InputArguments 13614 #define OpcUaId_CertificateGroupType_TrustList_GetPosition_InputArguments 13616 #define OpcUaId_CertificateGroupType_TrustList_GetPosition_OutputArguments 13617 #define OpcUaId_CertificateGroupType_TrustList_SetPosition_InputArguments 13619 #define OpcUaId_CertificateGroupType_TrustList_LastUpdateTime 13620 #define OpcUaId_CertificateGroupType_TrustList_OpenWithMasks_InputArguments 13622 #define OpcUaId_CertificateGroupType_TrustList_OpenWithMasks_OutputArguments 13623 #define OpcUaId_CertificateGroupType_TrustList_CloseAndUpdate_InputArguments 13625 #define OpcUaId_CertificateGroupType_TrustList_CloseAndUpdate_OutputArguments 13626 #define OpcUaId_CertificateGroupType_TrustList_AddCertificate_InputArguments 13628 #define OpcUaId_CertificateGroupType_TrustList_RemoveCertificate_InputArguments 13630 #define OpcUaId_CertificateGroupType_CertificateTypes 13631 #define OpcUaId_CertificateGroupType_CertificateExpired_EventId 19451 #define OpcUaId_CertificateGroupType_CertificateExpired_EventType 19452 #define OpcUaId_CertificateGroupType_CertificateExpired_SourceNode 19453 #define OpcUaId_CertificateGroupType_CertificateExpired_SourceName 19454 #define OpcUaId_CertificateGroupType_CertificateExpired_Time 19455 #define OpcUaId_CertificateGroupType_CertificateExpired_ReceiveTime 19456 #define OpcUaId_CertificateGroupType_CertificateExpired_Message 19458 #define OpcUaId_CertificateGroupType_CertificateExpired_Severity 19459 #define OpcUaId_CertificateGroupType_CertificateExpired_ConditionClassId 19460 #define OpcUaId_CertificateGroupType_CertificateExpired_ConditionClassName 19461 #define OpcUaId_CertificateGroupType_CertificateExpired_ConditionName 19464 #define OpcUaId_CertificateGroupType_CertificateExpired_BranchId 19465 #define OpcUaId_CertificateGroupType_CertificateExpired_Retain 19466 #define OpcUaId_CertificateGroupType_CertificateExpired_EnabledState 19467 #define OpcUaId_CertificateGroupType_CertificateExpired_EnabledState_Id 19468 #define OpcUaId_CertificateGroupType_CertificateExpired_Quality 19476 #define OpcUaId_CertificateGroupType_CertificateExpired_Quality_SourceTimestamp 19477 #define OpcUaId_CertificateGroupType_CertificateExpired_LastSeverity 19478 #define OpcUaId_CertificateGroupType_CertificateExpired_LastSeverity_SourceTimestamp 19479 #define OpcUaId_CertificateGroupType_CertificateExpired_Comment 19480 #define OpcUaId_CertificateGroupType_CertificateExpired_Comment_SourceTimestamp 19481 #define OpcUaId_CertificateGroupType_CertificateExpired_ClientUserId 19482 #define OpcUaId_CertificateGroupType_CertificateExpired_AddComment_InputArguments 19486 #define OpcUaId_CertificateGroupType_CertificateExpired_AckedState 19487 #define OpcUaId_CertificateGroupType_CertificateExpired_AckedState_Id 19488 #define OpcUaId_CertificateGroupType_CertificateExpired_ConfirmedState_Id 19497 #define OpcUaId_CertificateGroupType_CertificateExpired_Acknowledge_InputArguments 19506 #define OpcUaId_CertificateGroupType_CertificateExpired_Confirm_InputArguments 19508 #define OpcUaId_CertificateGroupType_CertificateExpired_ActiveState 19509 #define OpcUaId_CertificateGroupType_CertificateExpired_ActiveState_Id 19510 #define OpcUaId_CertificateGroupType_CertificateExpired_InputNode 19518 #define OpcUaId_CertificateGroupType_CertificateExpired_SuppressedState_Id 19520 #define OpcUaId_CertificateGroupType_CertificateExpired_OutOfServiceState_Id 19529 #define OpcUaId_CertificateGroupType_CertificateExpired_ShelvingState_CurrentState 19538 #define OpcUaId_CertificateGroupType_CertificateExpired_ShelvingState_CurrentState_Id 19539 #define OpcUaId_CertificateGroupType_CertificateExpired_ShelvingState_LastTransition_Id 19544 #define OpcUaId_CertificateGroupType_CertificateExpired_ShelvingState_UnshelveTime 20096 #define OpcUaId_CertificateGroupType_CertificateExpired_ShelvingState_TimedShelve_InputArguments 20098 #define OpcUaId_CertificateGroupType_CertificateExpired_SuppressedOrShelved 20101 #define OpcUaId_CertificateGroupType_CertificateExpired_SilenceState_Id 20109 #define OpcUaId_CertificateGroupType_CertificateExpired_LatchedState_Id 20122 #define OpcUaId_CertificateGroupType_CertificateExpired_NormalState 20138 #define OpcUaId_CertificateGroupType_CertificateExpired_ExpirationDate 20139 #define OpcUaId_CertificateGroupType_CertificateExpired_CertificateType 20141 #define OpcUaId_CertificateGroupType_CertificateExpired_Certificate 20142 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_EventId 20144 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_EventType 20145 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_SourceNode 20146 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_SourceName 20147 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Time 20148 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ReceiveTime 20149 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Message 20151 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Severity 20152 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ConditionClassId 20153 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ConditionClassName 20154 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ConditionName 20157 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_BranchId 20158 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Retain 20159 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_EnabledState 20160 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_EnabledState_Id 20161 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Quality 20169 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Quality_SourceTimestamp 20170 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_LastSeverity 20171 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_LastSeverity_SourceTimestamp 20172 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Comment 20173 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Comment_SourceTimestamp 20174 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ClientUserId 20175 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_AddComment_InputArguments 20179 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_AckedState 20180 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_AckedState_Id 20181 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ConfirmedState_Id 20190 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Acknowledge_InputArguments 20199 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_Confirm_InputArguments 20201 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ActiveState 20202 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ActiveState_Id 20203 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_InputNode 20211 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_SuppressedState_Id 20213 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_OutOfServiceState_Id 20222 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ShelvingState_CurrentState 20231 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ShelvingState_CurrentState_Id 20232 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ShelvingState_LastTransition_Id 20237 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ShelvingState_UnshelveTime 20244 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_ShelvingState_TimedShelve_InputArguments 20246 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_SuppressedOrShelved 20249 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_SilenceState_Id 20257 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_LatchedState_Id 20270 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_NormalState 20286 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_TrustListId 20287 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_LastUpdateTime 20288 #define OpcUaId_CertificateGroupType_TrustListOutOfDate_UpdateFrequency 20289 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Size 13816 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Writable 13817 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_UserWritable 13818 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_OpenCount 13819 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Open_InputArguments 13822 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Open_OutputArguments 13823 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Close_InputArguments 13825 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Read_InputArguments 13827 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Read_OutputArguments 13828 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_Write_InputArguments 13830 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_GetPosition_InputArguments 13832 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_GetPosition_OutputArguments 13833 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_SetPosition_InputArguments 13835 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_LastUpdateTime 13836 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_OpenWithMasks_InputArguments 13838 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_OpenWithMasks_OutputArguments 13839 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_CloseAndUpdate_InputArguments 13841 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_CloseAndUpdate_OutputArguments 13842 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_AddCertificate_InputArguments 13844 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustList_RemoveCertificate_InputArguments 13846 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateTypes 13847 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_EventId 20292 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_EventType 20293 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_SourceNode 20294 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_SourceName 20295 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Time 20296 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ReceiveTime 20297 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Message 20299 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Severity 20300 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ConditionClassId 20301 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ConditionClassName 20302 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ConditionName 20305 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_BranchId 20306 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Retain 20307 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_EnabledState 20308 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_EnabledState_Id 20309 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Quality 20317 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Quality_SourceTimestamp 20318 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_LastSeverity 20319 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_LastSeverity_SourceTimestamp 20320 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Comment 20321 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Comment_SourceTimestamp 20322 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ClientUserId 20323 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_AddComment_InputArguments 20327 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_AckedState 20328 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_AckedState_Id 20329 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ConfirmedState_Id 20338 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Acknowledge_InputArguments 20347 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Confirm_InputArguments 20349 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ActiveState 20350 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ActiveState_Id 20351 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_InputNode 20359 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_SuppressedState_Id 20361 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_OutOfServiceState_Id 20370 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ShelvingState_CurrentState 20379 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ShelvingState_CurrentState_Id 20380 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ShelvingState_LastTransition_Id 20385 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ShelvingState_UnshelveTime 20392 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ShelvingState_TimedShelve_InputArguments 20394 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_SuppressedOrShelved 20397 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_SilenceState_Id 20405 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_LatchedState_Id 20420 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_NormalState 20436 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_ExpirationDate 20437 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_CertificateType 20439 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_CertificateExpired_Certificate 20440 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_EventId 20442 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_EventType 20443 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_SourceNode 20444 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_SourceName 20445 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Time 20446 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ReceiveTime 20447 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Message 20449 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Severity 20450 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ConditionClassId 20451 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ConditionClassName 20452 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ConditionName 20455 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_BranchId 20456 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Retain 20457 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_EnabledState 20458 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_EnabledState_Id 20459 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Quality 20467 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Quality_SourceTimestamp 20468 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_LastSeverity 20469 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_LastSeverity_SourceTimestamp 20470 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Comment 20471 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Comment_SourceTimestamp 20472 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ClientUserId 20473 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_AddComment_InputArguments 20477 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_AckedState 20478 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_AckedState_Id 20479 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ConfirmedState_Id 20488 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Acknowledge_InputArguments 20497 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_Confirm_InputArguments 20499 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ActiveState 20500 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ActiveState_Id 20501 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_InputNode 20509 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_SuppressedState_Id 20511 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_OutOfServiceState_Id 20520 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_CurrentState 20529 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_CurrentState_Id 20530 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_LastTransition_Id 20535 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_UnshelveTime 20542 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_TimedShelve_InputArguments 20544 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_SuppressedOrShelved 20547 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_SilenceState_Id 20555 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_LatchedState_Id 20568 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_NormalState 20584 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_TrustListId 20585 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_LastUpdateTime 20586 #define OpcUaId_CertificateGroupFolderType_DefaultApplicationGroup_TrustListOutOfDate_UpdateFrequency 20587 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Size 13850 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Writable 13851 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_UserWritable 13852 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_OpenCount 13853 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Open_InputArguments 13856 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Open_OutputArguments 13857 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Close_InputArguments 13859 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Read_InputArguments 13861 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Read_OutputArguments 13862 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_Write_InputArguments 13864 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_GetPosition_InputArguments 13866 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_GetPosition_OutputArguments 13867 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_SetPosition_InputArguments 13869 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_LastUpdateTime 13870 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_OpenWithMasks_InputArguments 13872 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_OpenWithMasks_OutputArguments 13873 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_CloseAndUpdate_InputArguments 13875 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_CloseAndUpdate_OutputArguments 13876 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_AddCertificate_InputArguments 13878 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustList_RemoveCertificate_InputArguments 13880 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateTypes 13881 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_EventId 20590 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_EventType 20591 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_SourceNode 20592 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_SourceName 20593 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Time 20594 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ReceiveTime 20595 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Message 20597 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Severity 20598 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ConditionClassId 20599 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ConditionClassName 20600 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ConditionName 20603 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_BranchId 20604 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Retain 20605 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_EnabledState 20606 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_EnabledState_Id 20607 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Quality 20615 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Quality_SourceTimestamp 20616 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_LastSeverity 20617 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_LastSeverity_SourceTimestamp 20618 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Comment 20619 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Comment_SourceTimestamp 20620 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ClientUserId 20621 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_AddComment_InputArguments 20625 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_AckedState 20626 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_AckedState_Id 20627 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ConfirmedState_Id 20636 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Acknowledge_InputArguments 20645 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Confirm_InputArguments 20647 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ActiveState 20648 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ActiveState_Id 20649 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_InputNode 20657 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_SuppressedState_Id 20659 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_OutOfServiceState_Id 20668 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ShelvingState_CurrentState 20677 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ShelvingState_CurrentState_Id 20678 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ShelvingState_LastTransition_Id 20683 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ShelvingState_UnshelveTime 20690 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ShelvingState_TimedShelve_InputArguments 20692 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_SuppressedOrShelved 20695 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_SilenceState_Id 20703 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_LatchedState_Id 20716 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_NormalState 20732 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_ExpirationDate 20733 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_CertificateType 20735 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_CertificateExpired_Certificate 20736 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_EventId 20738 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_EventType 20739 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_SourceNode 20740 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_SourceName 20741 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Time 20742 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ReceiveTime 20743 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Message 20745 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Severity 20746 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ConditionClassId 20747 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ConditionClassName 20748 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ConditionName 20751 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_BranchId 20752 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Retain 20753 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_EnabledState 20754 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_EnabledState_Id 20755 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Quality 20763 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Quality_SourceTimestamp 20764 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_LastSeverity 20765 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_LastSeverity_SourceTimestamp 20766 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Comment 20767 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Comment_SourceTimestamp 20768 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ClientUserId 20769 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_AddComment_InputArguments 20773 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_AckedState 20774 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_AckedState_Id 20775 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ConfirmedState_Id 20784 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Acknowledge_InputArguments 20793 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_Confirm_InputArguments 20795 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ActiveState 20796 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ActiveState_Id 20797 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_InputNode 20805 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_SuppressedState_Id 20807 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_OutOfServiceState_Id 20816 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_CurrentState 20825 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_CurrentState_Id 20826 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_LastTransition_Id 20831 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_UnshelveTime 20838 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_TimedShelve_InputArguments 20840 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_SuppressedOrShelved 20843 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_SilenceState_Id 20851 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_LatchedState_Id 20864 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_NormalState 20880 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_TrustListId 20881 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_LastUpdateTime 20882 #define OpcUaId_CertificateGroupFolderType_DefaultHttpsGroup_TrustListOutOfDate_UpdateFrequency 20883 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Size 13884 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Writable 13885 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_UserWritable 13886 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_OpenCount 13887 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Open_InputArguments 13890 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Open_OutputArguments 13891 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Close_InputArguments 13893 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Read_InputArguments 13895 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Read_OutputArguments 13896 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_Write_InputArguments 13898 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_GetPosition_InputArguments 13900 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_GetPosition_OutputArguments 13901 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_SetPosition_InputArguments 13903 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_LastUpdateTime 13904 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_OpenWithMasks_InputArguments 13906 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_OpenWithMasks_OutputArguments 13907 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_CloseAndUpdate_InputArguments 13909 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_CloseAndUpdate_OutputArguments 13910 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_AddCertificate_InputArguments 13912 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustList_RemoveCertificate_InputArguments 13914 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateTypes 13915 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_EventId 20886 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_EventType 20887 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_SourceNode 20888 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_SourceName 20889 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Time 20890 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ReceiveTime 20891 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Message 20893 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Severity 20894 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ConditionClassId 20895 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ConditionClassName 20896 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ConditionName 20899 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_BranchId 20900 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Retain 20901 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_EnabledState 20902 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_EnabledState_Id 20903 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Quality 20911 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Quality_SourceTimestamp 20912 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_LastSeverity 20913 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_LastSeverity_SourceTimestamp 20914 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Comment 20915 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Comment_SourceTimestamp 20916 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ClientUserId 20917 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_AddComment_InputArguments 20921 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_AckedState 20922 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_AckedState_Id 20923 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ConfirmedState_Id 20932 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Acknowledge_InputArguments 20941 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Confirm_InputArguments 20943 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ActiveState 20944 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ActiveState_Id 20945 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_InputNode 20953 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_SuppressedState_Id 20955 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_OutOfServiceState_Id 20964 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ShelvingState_CurrentState 20973 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ShelvingState_CurrentState_Id 20974 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ShelvingState_LastTransition_Id 20979 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ShelvingState_UnshelveTime 20986 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ShelvingState_TimedShelve_InputArguments 20988 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_SuppressedOrShelved 20991 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_SilenceState_Id 21008 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_LatchedState_Id 21215 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_NormalState 21231 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_ExpirationDate 21232 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_CertificateType 21234 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_CertificateExpired_Certificate 21235 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_EventId 21237 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_EventType 21238 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_SourceNode 21239 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_SourceName 21240 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Time 21241 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ReceiveTime 21242 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Message 21244 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Severity 21245 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ConditionClassId 21246 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ConditionClassName 21247 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ConditionName 21250 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_BranchId 21251 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Retain 21252 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_EnabledState 21253 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_EnabledState_Id 21254 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Quality 21262 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Quality_SourceTimestamp 21263 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_LastSeverity 21264 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_LastSeverity_SourceTimestamp 21265 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Comment 21266 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Comment_SourceTimestamp 21267 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ClientUserId 21268 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_AddComment_InputArguments 21272 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_AckedState 21273 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_AckedState_Id 21274 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ConfirmedState_Id 21283 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Acknowledge_InputArguments 21292 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_Confirm_InputArguments 21294 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ActiveState 21295 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ActiveState_Id 21296 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_InputNode 21304 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_SuppressedState_Id 21306 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_OutOfServiceState_Id 21315 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_CurrentState 21324 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_CurrentState_Id 21325 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_LastTransition_Id 21330 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_UnshelveTime 21337 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_TimedShelve_InputArguments 21339 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_SuppressedOrShelved 21342 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_SilenceState_Id 21350 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_LatchedState_Id 21363 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_NormalState 21379 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_TrustListId 21380 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_LastUpdateTime 21381 #define OpcUaId_CertificateGroupFolderType_DefaultUserTokenGroup_TrustListOutOfDate_UpdateFrequency 21382 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Size 13918 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Writable 13919 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_UserWritable 13920 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_OpenCount 13921 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Open_InputArguments 13924 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Open_OutputArguments 13925 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Close_InputArguments 13927 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Read_InputArguments 13929 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Read_OutputArguments 13930 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_Write_InputArguments 13932 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_GetPosition_InputArguments 13934 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_GetPosition_OutputArguments 13935 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_SetPosition_InputArguments 13937 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_LastUpdateTime 13938 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_OpenWithMasks_InputArguments 13940 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_OpenWithMasks_OutputArguments 13941 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_CloseAndUpdate_InputArguments 13943 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_CloseAndUpdate_OutputArguments 13944 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_AddCertificate_InputArguments 13946 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustList_RemoveCertificate_InputArguments 13948 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateTypes 13949 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_EventId 21385 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_EventType 21386 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_SourceNode 21387 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_SourceName 21388 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Time 21389 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ReceiveTime 21390 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Message 21392 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Severity 21393 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ConditionClassId 21394 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ConditionClassName 21395 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ConditionName 21398 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_BranchId 21399 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Retain 21400 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_EnabledState 21401 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_EnabledState_Id 21402 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Quality 21410 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Quality_SourceTimestamp 21411 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_LastSeverity 21412 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_LastSeverity_SourceTimestamp 21413 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Comment 21414 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Comment_SourceTimestamp 21415 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ClientUserId 21416 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_AddComment_InputArguments 21420 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_AckedState 21421 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_AckedState_Id 21422 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ConfirmedState_Id 21431 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Acknowledge_InputArguments 21440 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Confirm_InputArguments 21442 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ActiveState 21443 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ActiveState_Id 21444 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_InputNode 21452 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_SuppressedState_Id 21454 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_OutOfServiceState_Id 21463 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ShelvingState_CurrentState 21472 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ShelvingState_CurrentState_Id 21473 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ShelvingState_LastTransition_Id 21478 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ShelvingState_UnshelveTime 21485 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ShelvingState_TimedShelve_InputArguments 21487 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_SuppressedOrShelved 21490 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_SilenceState_Id 21498 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_LatchedState_Id 21511 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_NormalState 21527 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_ExpirationDate 21528 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_CertificateType 21530 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_CertificateExpired_Certificate 21531 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_EventId 21533 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_EventType 21534 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_SourceNode 21535 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_SourceName 21536 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Time 21537 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ReceiveTime 21538 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Message 21540 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Severity 21541 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ConditionClassId 21542 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ConditionClassName 21543 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ConditionName 21546 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_BranchId 21547 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Retain 21548 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_EnabledState 21549 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_EnabledState_Id 21550 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Quality 21558 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Quality_SourceTimestamp 21559 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_LastSeverity 21560 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_LastSeverity_SourceTimestamp 21561 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Comment 21562 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Comment_SourceTimestamp 21563 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ClientUserId 21564 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_AddComment_InputArguments 21568 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_AckedState 21569 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_AckedState_Id 21570 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ConfirmedState_Id 21579 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Acknowledge_InputArguments 21588 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_Confirm_InputArguments 21590 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ActiveState 21591 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ActiveState_Id 21592 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_InputNode 21600 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_SuppressedState_Id 21602 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_OutOfServiceState_Id 21611 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ShelvingState_CurrentState 21620 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ShelvingState_CurrentState_Id 21621 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ShelvingState_LastTransition_Id 21626 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ShelvingState_UnshelveTime 21633 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_ShelvingState_TimedShelve_InputArguments 21635 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_SuppressedOrShelved 21638 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_SilenceState_Id 21646 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_LatchedState_Id 21659 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_NormalState 21675 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_TrustListId 21676 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_LastUpdateTime 21677 #define OpcUaId_CertificateGroupFolderType_AdditionalGroup_Placeholder_TrustListOutOfDate_UpdateFrequency 21678 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Size 13953 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Writable 13954 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_UserWritable 13955 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_OpenCount 13956 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Open_InputArguments 13959 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Open_OutputArguments 13960 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Close_InputArguments 13962 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Read_InputArguments 13964 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Read_OutputArguments 13965 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_Write_InputArguments 13967 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_GetPosition_InputArguments 13969 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_GetPosition_OutputArguments 13970 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_SetPosition_InputArguments 13972 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_LastUpdateTime 13973 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_OpenWithMasks_InputArguments 13975 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_OpenWithMasks_OutputArguments 13976 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_CloseAndUpdate_InputArguments 13978 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_CloseAndUpdate_OutputArguments 13979 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_AddCertificate_InputArguments 13981 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustList_RemoveCertificate_InputArguments 13983 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateTypes 13984 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_EventId 21681 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_EventType 21682 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_SourceNode 21683 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_SourceName 21684 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Time 21685 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ReceiveTime 21686 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Message 21688 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Severity 21689 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ConditionClassId 21690 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ConditionClassName 21691 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ConditionName 21694 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_BranchId 21695 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Retain 21696 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_EnabledState 21697 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_EnabledState_Id 21698 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Quality 21706 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Quality_SourceTimestamp 21707 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_LastSeverity 21708 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_LastSeverity_SourceTimestamp 21709 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Comment 21710 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Comment_SourceTimestamp 21711 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ClientUserId 21712 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_AddComment_InputArguments 21716 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_AckedState 21717 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_AckedState_Id 21718 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ConfirmedState_Id 21727 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Acknowledge_InputArguments 21736 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Confirm_InputArguments 21738 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ActiveState 21739 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ActiveState_Id 21740 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_InputNode 21748 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_SuppressedState_Id 21750 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_OutOfServiceState_Id 21759 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_CurrentState 21768 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_CurrentState_Id 21769 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_LastTransition_Id 21774 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_UnshelveTime 21781 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_TimedShelve_InputArguments 21783 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_SuppressedOrShelved 21786 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_SilenceState_Id 21794 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_LatchedState_Id 21807 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_NormalState 21823 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ExpirationDate 21824 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_CertificateType 21826 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Certificate 21827 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_EventId 21829 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_EventType 21830 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_SourceNode 21831 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_SourceName 21832 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Time 21833 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ReceiveTime 21834 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Message 21836 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Severity 21837 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ConditionClassId 21838 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ConditionClassName 21839 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ConditionName 21842 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_BranchId 21843 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Retain 21844 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_EnabledState 21845 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_EnabledState_Id 21846 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Quality 21854 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Quality_SourceTimestamp 21855 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_LastSeverity 21856 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_LastSeverity_SourceTimestamp 21857 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Comment 21858 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Comment_SourceTimestamp 21859 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ClientUserId 21860 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_AddComment_InputArguments 21864 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_AckedState 21865 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_AckedState_Id 21866 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ConfirmedState_Id 21875 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Acknowledge_InputArguments 21884 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Confirm_InputArguments 21886 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ActiveState 21887 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ActiveState_Id 21888 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_InputNode 21896 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_SuppressedState_Id 21898 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_OutOfServiceState_Id 21907 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_CurrentState 21916 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_CurrentState_Id 21917 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_LastTransition_Id 21922 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_UnshelveTime 21929 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_TimedShelve_InputArguments 21931 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_SuppressedOrShelved 21934 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_SilenceState_Id 21942 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_LatchedState_Id 21955 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_NormalState 21971 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_TrustListId 21972 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_LastUpdateTime 21973 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_UpdateFrequency 21974 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Size 13987 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Writable 13988 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_UserWritable 13989 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_OpenCount 13990 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Open_InputArguments 13993 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Open_OutputArguments 13994 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Close_InputArguments 13996 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Read_InputArguments 13998 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Read_OutputArguments 13999 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_Write_InputArguments 14001 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_GetPosition_InputArguments 14003 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_GetPosition_OutputArguments 14004 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_SetPosition_InputArguments 14006 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_LastUpdateTime 14007 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_OpenWithMasks_InputArguments 14009 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_OpenWithMasks_OutputArguments 14010 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_CloseAndUpdate_InputArguments 14012 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_CloseAndUpdate_OutputArguments 14013 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_AddCertificate_InputArguments 14015 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustList_RemoveCertificate_InputArguments 14017 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateTypes 14018 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_EventId 21977 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_EventType 21978 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_SourceNode 21979 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_SourceName 21980 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Time 21981 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ReceiveTime 21982 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Message 21984 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Severity 21985 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ConditionClassId 21986 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ConditionClassName 21987 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ConditionName 21990 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_BranchId 21991 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Retain 21992 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_EnabledState 21993 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_EnabledState_Id 21994 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Quality 22002 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Quality_SourceTimestamp 22003 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_LastSeverity 22004 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_LastSeverity_SourceTimestamp 22005 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Comment 22006 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Comment_SourceTimestamp 22007 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ClientUserId 22008 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_AddComment_InputArguments 22012 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_AckedState 22013 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_AckedState_Id 22014 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ConfirmedState_Id 22023 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Acknowledge_InputArguments 22032 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Confirm_InputArguments 22034 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ActiveState 22035 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ActiveState_Id 22036 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_InputNode 22044 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_SuppressedState_Id 22046 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_OutOfServiceState_Id 22055 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_CurrentState 22064 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_CurrentState_Id 22065 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_LastTransition_Id 22070 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_UnshelveTime 22077 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_TimedShelve_InputArguments 22079 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_SuppressedOrShelved 22082 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_SilenceState_Id 22090 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_LatchedState_Id 22103 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_NormalState 22119 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ExpirationDate 22120 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_CertificateType 22122 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Certificate 22123 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_EventId 22125 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_EventType 22126 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_SourceNode 22127 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_SourceName 22128 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Time 22129 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ReceiveTime 22130 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Message 22132 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Severity 22133 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ConditionClassId 22134 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ConditionClassName 22135 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ConditionName 22138 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_BranchId 22139 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Retain 22140 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_EnabledState 22141 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_EnabledState_Id 22142 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Quality 22150 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Quality_SourceTimestamp 22151 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_LastSeverity 22152 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_LastSeverity_SourceTimestamp 22153 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Comment 22154 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Comment_SourceTimestamp 22155 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ClientUserId 22156 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_AddComment_InputArguments 22160 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_AckedState 22161 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_AckedState_Id 22162 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ConfirmedState_Id 22171 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Acknowledge_InputArguments 22180 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Confirm_InputArguments 22182 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ActiveState 22183 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ActiveState_Id 22184 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_InputNode 22192 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_SuppressedState_Id 22194 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_OutOfServiceState_Id 22203 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_CurrentState 22212 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_CurrentState_Id 22213 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_LastTransition_Id 22218 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_UnshelveTime 22225 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_TimedShelve_InputArguments 22227 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_SuppressedOrShelved 22230 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_SilenceState_Id 22238 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_LatchedState_Id 22251 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_NormalState 22267 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_TrustListId 22268 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_LastUpdateTime 22269 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_UpdateFrequency 22270 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Size 14021 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Writable 14022 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_UserWritable 14023 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_OpenCount 14024 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Open_InputArguments 14027 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Open_OutputArguments 14028 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Close_InputArguments 14030 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Read_InputArguments 14032 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Read_OutputArguments 14033 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_Write_InputArguments 14035 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_GetPosition_InputArguments 14037 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_GetPosition_OutputArguments 14038 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_SetPosition_InputArguments 14040 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_LastUpdateTime 14041 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_OpenWithMasks_InputArguments 14043 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_OpenWithMasks_OutputArguments 14044 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_CloseAndUpdate_InputArguments 14046 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_CloseAndUpdate_OutputArguments 14047 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_AddCertificate_InputArguments 14049 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustList_RemoveCertificate_InputArguments 14051 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateTypes 14052 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_EventId 22273 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_EventType 22274 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_SourceNode 22275 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_SourceName 22276 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Time 22277 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ReceiveTime 22278 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Message 22280 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Severity 22281 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ConditionClassId 22282 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ConditionClassName 22283 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ConditionName 22286 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_BranchId 22287 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Retain 22288 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_EnabledState 22289 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_EnabledState_Id 22290 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Quality 22298 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Quality_SourceTimestamp 22299 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_LastSeverity 22300 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_LastSeverity_SourceTimestamp 22301 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Comment 22302 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Comment_SourceTimestamp 22303 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ClientUserId 22304 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_AddComment_InputArguments 22308 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_AckedState 22309 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_AckedState_Id 22310 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ConfirmedState_Id 22319 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Acknowledge_InputArguments 22328 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Confirm_InputArguments 22330 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ActiveState 22331 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ActiveState_Id 22332 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_InputNode 22340 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_SuppressedState_Id 22342 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_OutOfServiceState_Id 22351 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_CurrentState 22360 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_CurrentState_Id 22361 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_LastTransition_Id 22366 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_UnshelveTime 22373 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_TimedShelve_InputArguments 22375 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_SuppressedOrShelved 22378 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_SilenceState_Id 22386 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_LatchedState_Id 22399 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_NormalState 22415 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ExpirationDate 22416 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_CertificateType 22418 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Certificate 22419 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_EventId 22421 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_EventType 22422 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_SourceNode 22423 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_SourceName 22424 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Time 22425 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ReceiveTime 22426 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Message 22428 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Severity 22429 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ConditionClassId 22430 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ConditionClassName 22431 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ConditionName 22434 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_BranchId 22435 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Retain 22436 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_EnabledState 22437 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_EnabledState_Id 22438 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Quality 22446 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Quality_SourceTimestamp 22447 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_LastSeverity 22448 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_LastSeverity_SourceTimestamp 22449 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Comment 22450 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Comment_SourceTimestamp 22451 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ClientUserId 22452 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_AddComment_InputArguments 22456 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_AckedState 22457 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_AckedState_Id 22458 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ConfirmedState_Id 22467 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Acknowledge_InputArguments 22476 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Confirm_InputArguments 22478 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ActiveState 22479 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ActiveState_Id 22480 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_InputNode 22488 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_SuppressedState_Id 22490 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_OutOfServiceState_Id 22499 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_CurrentState 22508 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_CurrentState_Id 22509 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_LastTransition_Id 22514 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_UnshelveTime 22521 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_TimedShelve_InputArguments 22523 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_SuppressedOrShelved 22526 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_SilenceState_Id 22534 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_LatchedState_Id 22547 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_NormalState 22563 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_TrustListId 22564 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_LastUpdateTime 22565 #define OpcUaId_ServerConfigurationType_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_UpdateFrequency 22566 #define OpcUaId_ServerConfigurationType_ServerCapabilities 12708 #define OpcUaId_ServerConfigurationType_SupportedPrivateKeyFormats 12583 #define OpcUaId_ServerConfigurationType_MaxTrustListSize 12584 #define OpcUaId_ServerConfigurationType_MulticastDnsEnabled 12585 #define OpcUaId_ServerConfigurationType_UpdateCertificate_InputArguments 12617 #define OpcUaId_ServerConfigurationType_UpdateCertificate_OutputArguments 12618 #define OpcUaId_ServerConfigurationType_CreateSigningRequest_InputArguments 12732 #define OpcUaId_ServerConfigurationType_CreateSigningRequest_OutputArguments 12733 #define OpcUaId_ServerConfigurationType_GetRejectedList_OutputArguments 12776 #define OpcUaId_CertificateUpdatedAuditEventType_CertificateGroup 13735 #define OpcUaId_CertificateUpdatedAuditEventType_CertificateType 13736 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Size 12643 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Writable 14157 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_UserWritable 14158 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_OpenCount 12646 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Open_InputArguments 12648 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Open_OutputArguments 12649 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Close_InputArguments 12651 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Read_InputArguments 12653 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Read_OutputArguments 12654 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_Write_InputArguments 12656 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_GetPosition_InputArguments 12658 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_GetPosition_OutputArguments 12659 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_SetPosition_InputArguments 12661 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_LastUpdateTime 12662 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_OpenWithMasks_InputArguments 12664 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_OpenWithMasks_OutputArguments 12665 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_CloseAndUpdate_InputArguments 14160 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_CloseAndUpdate_OutputArguments 12667 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_AddCertificate_InputArguments 12669 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustList_RemoveCertificate_InputArguments 12671 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateTypes 14161 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_EventId 22569 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_EventType 22570 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_SourceNode 22571 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_SourceName 22572 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Time 22573 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ReceiveTime 22574 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Message 22576 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Severity 22577 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ConditionClassId 22578 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ConditionClassName 22579 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ConditionName 22582 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_BranchId 22583 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Retain 22584 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_EnabledState 22585 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_EnabledState_Id 22586 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Quality 22594 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Quality_SourceTimestamp 22595 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_LastSeverity 22596 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_LastSeverity_SourceTimestamp 22597 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Comment 22598 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Comment_SourceTimestamp 22599 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ClientUserId 22600 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_AddComment_InputArguments 22604 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_AckedState 22605 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_AckedState_Id 22606 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ConfirmedState_Id 22615 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Acknowledge_InputArguments 22624 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Confirm_InputArguments 22626 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ActiveState 22627 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ActiveState_Id 22628 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_InputNode 22636 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_SuppressedState_Id 22638 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_OutOfServiceState_Id 22647 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_CurrentState 22656 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_CurrentState_Id 22657 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_LastTransition_Id 22662 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_UnshelveTime 22669 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ShelvingState_TimedShelve_InputArguments 22671 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_SuppressedOrShelved 22674 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_SilenceState_Id 22682 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_LatchedState_Id 22695 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_NormalState 22711 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_ExpirationDate 22712 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_CertificateType 22714 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_CertificateExpired_Certificate 22715 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_EventId 22717 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_EventType 22718 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_SourceNode 22719 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_SourceName 22720 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Time 22721 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ReceiveTime 22722 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Message 22724 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Severity 22725 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ConditionClassId 22726 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ConditionClassName 22727 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ConditionName 22730 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_BranchId 22731 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Retain 22732 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_EnabledState 22733 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_EnabledState_Id 22734 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Quality 22742 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Quality_SourceTimestamp 22743 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_LastSeverity 22744 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_LastSeverity_SourceTimestamp 22745 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Comment 22746 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Comment_SourceTimestamp 22747 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ClientUserId 22748 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_AddComment_InputArguments 22752 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_AckedState 22753 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_AckedState_Id 22754 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ConfirmedState_Id 22763 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Acknowledge_InputArguments 22772 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_Confirm_InputArguments 22774 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ActiveState 22775 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ActiveState_Id 22776 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_InputNode 22784 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_SuppressedState_Id 22786 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_OutOfServiceState_Id 22795 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_CurrentState 22804 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_CurrentState_Id 22805 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_LastTransition_Id 22810 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_UnshelveTime 22817 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_ShelvingState_TimedShelve_InputArguments 22819 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_SuppressedOrShelved 22822 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_SilenceState_Id 22830 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_LatchedState_Id 22843 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_NormalState 22859 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_TrustListId 22860 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_LastUpdateTime 22861 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultApplicationGroup_TrustListOutOfDate_UpdateFrequency 22862 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Size 14090 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Writable 14091 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_UserWritable 14092 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_OpenCount 14093 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Open_InputArguments 14096 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Open_OutputArguments 14097 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Close_InputArguments 14099 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Read_InputArguments 14101 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Read_OutputArguments 14102 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_Write_InputArguments 14104 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_GetPosition_InputArguments 14106 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_GetPosition_OutputArguments 14107 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_SetPosition_InputArguments 14109 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_LastUpdateTime 14110 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_OpenWithMasks_InputArguments 14112 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_OpenWithMasks_OutputArguments 14113 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_CloseAndUpdate_InputArguments 14115 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_CloseAndUpdate_OutputArguments 14116 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_AddCertificate_InputArguments 14118 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustList_RemoveCertificate_InputArguments 14120 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateTypes 14121 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_EventId 22865 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_EventType 22866 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_SourceNode 22867 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_SourceName 22868 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Time 22869 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ReceiveTime 22870 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Message 22872 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Severity 22873 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ConditionClassId 22874 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ConditionClassName 22875 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ConditionName 22878 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_BranchId 22879 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Retain 22880 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_EnabledState 22881 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_EnabledState_Id 22882 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Quality 22890 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Quality_SourceTimestamp 22891 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_LastSeverity 22892 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_LastSeverity_SourceTimestamp 22893 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Comment 22894 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Comment_SourceTimestamp 22895 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ClientUserId 22896 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_AddComment_InputArguments 22900 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_AckedState 22901 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_AckedState_Id 22902 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ConfirmedState_Id 22911 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Acknowledge_InputArguments 22920 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Confirm_InputArguments 22922 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ActiveState 22923 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ActiveState_Id 22924 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_InputNode 22932 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_SuppressedState_Id 22934 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_OutOfServiceState_Id 22943 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_CurrentState 22952 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_CurrentState_Id 22953 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_LastTransition_Id 22958 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_UnshelveTime 22965 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ShelvingState_TimedShelve_InputArguments 22967 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_SuppressedOrShelved 22970 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_SilenceState_Id 22978 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_LatchedState_Id 22991 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_NormalState 23007 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_ExpirationDate 23008 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_CertificateType 23010 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_CertificateExpired_Certificate 23011 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_EventId 23013 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_EventType 23014 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_SourceNode 23015 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_SourceName 23016 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Time 23017 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ReceiveTime 23018 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Message 23020 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Severity 23021 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ConditionClassId 23022 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ConditionClassName 23023 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ConditionName 23026 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_BranchId 23027 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Retain 23028 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_EnabledState 23029 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_EnabledState_Id 23030 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Quality 23038 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Quality_SourceTimestamp 23039 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_LastSeverity 23040 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_LastSeverity_SourceTimestamp 23041 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Comment 23042 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Comment_SourceTimestamp 23043 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ClientUserId 23044 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_AddComment_InputArguments 23048 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_AckedState 23049 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_AckedState_Id 23050 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ConfirmedState_Id 23059 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Acknowledge_InputArguments 23068 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_Confirm_InputArguments 23070 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ActiveState 23071 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ActiveState_Id 23072 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_InputNode 23080 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_SuppressedState_Id 23082 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_OutOfServiceState_Id 23091 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_CurrentState 23100 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_CurrentState_Id 23101 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_LastTransition_Id 23106 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_UnshelveTime 23113 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_ShelvingState_TimedShelve_InputArguments 23115 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_SuppressedOrShelved 23118 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_SilenceState_Id 23126 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_LatchedState_Id 23139 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_NormalState 23155 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_TrustListId 23156 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_LastUpdateTime 23157 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultHttpsGroup_TrustListOutOfDate_UpdateFrequency 23158 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Size 14124 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Writable 14125 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_UserWritable 14126 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_OpenCount 14127 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Open_InputArguments 14130 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Open_OutputArguments 14131 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Close_InputArguments 14133 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Read_InputArguments 14135 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Read_OutputArguments 14136 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_Write_InputArguments 14138 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_GetPosition_InputArguments 14140 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_GetPosition_OutputArguments 14141 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_SetPosition_InputArguments 14143 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_LastUpdateTime 14144 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_OpenWithMasks_InputArguments 14146 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_OpenWithMasks_OutputArguments 14147 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_CloseAndUpdate_InputArguments 14149 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_CloseAndUpdate_OutputArguments 14150 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_AddCertificate_InputArguments 14152 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustList_RemoveCertificate_InputArguments 14154 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateTypes 14155 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_EventId 23161 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_EventType 23162 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_SourceNode 23163 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_SourceName 23164 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Time 23165 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ReceiveTime 23166 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Message 23168 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Severity 23169 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ConditionClassId 23170 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ConditionClassName 23171 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ConditionName 23174 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_BranchId 23175 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Retain 23176 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_EnabledState 23177 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_EnabledState_Id 23178 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Quality 23186 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Quality_SourceTimestamp 23187 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_LastSeverity 23188 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_LastSeverity_SourceTimestamp 23189 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Comment 23190 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Comment_SourceTimestamp 23191 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ClientUserId 23192 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_AddComment_InputArguments 23196 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_AckedState 23197 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_AckedState_Id 23198 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ConfirmedState_Id 23207 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Acknowledge_InputArguments 23216 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Confirm_InputArguments 23218 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ActiveState 23219 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ActiveState_Id 23220 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_InputNode 23228 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_SuppressedState_Id 23230 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_OutOfServiceState_Id 23239 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_CurrentState 23248 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_CurrentState_Id 23249 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_LastTransition_Id 23254 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_UnshelveTime 23261 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ShelvingState_TimedShelve_InputArguments 23263 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_SuppressedOrShelved 23266 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_SilenceState_Id 23274 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_LatchedState_Id 23287 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_NormalState 23303 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_ExpirationDate 23304 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_CertificateType 23306 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_CertificateExpired_Certificate 23307 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_EventId 23309 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_EventType 23310 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_SourceNode 23311 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_SourceName 23312 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Time 23313 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ReceiveTime 23314 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Message 23316 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Severity 23317 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ConditionClassId 23318 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ConditionClassName 23319 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ConditionName 23322 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_BranchId 23323 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Retain 23324 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_EnabledState 23325 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_EnabledState_Id 23326 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Quality 23334 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Quality_SourceTimestamp 23335 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_LastSeverity 23336 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_LastSeverity_SourceTimestamp 23337 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Comment 23338 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Comment_SourceTimestamp 23339 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ClientUserId 23340 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_AddComment_InputArguments 23344 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_AckedState 23345 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_AckedState_Id 23346 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ConfirmedState_Id 23355 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Acknowledge_InputArguments 23364 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_Confirm_InputArguments 23366 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ActiveState 23367 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ActiveState_Id 23368 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_InputNode 23376 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_SuppressedState_Id 23378 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_OutOfServiceState_Id 23387 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_CurrentState 23396 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_CurrentState_Id 23397 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_LastTransition_Id 23402 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_UnshelveTime 23409 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_ShelvingState_TimedShelve_InputArguments 23411 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_SuppressedOrShelved 23414 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_SilenceState_Id 23422 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_LatchedState_Id 23435 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_NormalState 23451 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_TrustListId 23452 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_LastUpdateTime 23453 #define OpcUaId_ServerConfiguration_CertificateGroups_DefaultUserTokenGroup_TrustListOutOfDate_UpdateFrequency 23454 #define OpcUaId_ServerConfiguration_ServerCapabilities 12710 #define OpcUaId_ServerConfiguration_SupportedPrivateKeyFormats 12639 #define OpcUaId_ServerConfiguration_MaxTrustListSize 12640 #define OpcUaId_ServerConfiguration_MulticastDnsEnabled 12641 #define OpcUaId_ServerConfiguration_UpdateCertificate_InputArguments 13738 #define OpcUaId_ServerConfiguration_UpdateCertificate_OutputArguments 13739 #define OpcUaId_ServerConfiguration_CreateSigningRequest_InputArguments 12738 #define OpcUaId_ServerConfiguration_CreateSigningRequest_OutputArguments 12739 #define OpcUaId_ServerConfiguration_GetRejectedList_OutputArguments 12778 #define OpcUaId_KeyCredentialConfigurationFolderType_ServiceName_Placeholder_ResourceUri 17512 #define OpcUaId_KeyCredentialConfigurationFolderType_ServiceName_Placeholder_ProfileUri 17513 #define OpcUaId_KeyCredentialConfigurationFolderType_ServiceName_Placeholder_GetEncryptingKey_InputArguments 17517 #define OpcUaId_KeyCredentialConfigurationFolderType_ServiceName_Placeholder_GetEncryptingKey_OutputArguments 17518 #define OpcUaId_KeyCredentialConfigurationFolderType_ServiceName_Placeholder_UpdateCredential_InputArguments 17520 #define OpcUaId_KeyCredentialConfigurationFolderType_CreateCredential_InputArguments 17523 #define OpcUaId_KeyCredentialConfigurationFolderType_CreateCredential_OutputArguments 17524 #define OpcUaId_KeyCredentialConfiguration_ServiceName_Placeholder_ResourceUri 18157 #define OpcUaId_KeyCredentialConfiguration_ServiceName_Placeholder_ProfileUri 18164 #define OpcUaId_KeyCredentialConfiguration_ServiceName_Placeholder_GetEncryptingKey_InputArguments 17526 #define OpcUaId_KeyCredentialConfiguration_ServiceName_Placeholder_GetEncryptingKey_OutputArguments 17527 #define OpcUaId_KeyCredentialConfiguration_ServiceName_Placeholder_UpdateCredential_InputArguments 18162 #define OpcUaId_KeyCredentialConfiguration_CreateCredential_InputArguments 17529 #define OpcUaId_KeyCredentialConfiguration_CreateCredential_OutputArguments 17530 #define OpcUaId_KeyCredentialConfigurationType_ResourceUri 18069 #define OpcUaId_KeyCredentialConfigurationType_ProfileUri 18165 #define OpcUaId_KeyCredentialConfigurationType_EndpointUrls 18004 #define OpcUaId_KeyCredentialConfigurationType_ServiceStatus 18005 #define OpcUaId_KeyCredentialConfigurationType_GetEncryptingKey_InputArguments 17535 #define OpcUaId_KeyCredentialConfigurationType_GetEncryptingKey_OutputArguments 17536 #define OpcUaId_KeyCredentialConfigurationType_UpdateCredential_InputArguments 18007 #define OpcUaId_KeyCredentialAuditEventType_ResourceUri 18028 #define OpcUaId_AuthorizationServices_ServiceName_Placeholder_ServiceUri 18070 #define OpcUaId_AuthorizationServices_ServiceName_Placeholder_ServiceCertificate 18066 #define OpcUaId_AuthorizationServices_ServiceName_Placeholder_IssuerEndpointUrl 18071 #define OpcUaId_AuthorizationServiceConfigurationType_ServiceUri 18072 #define OpcUaId_AuthorizationServiceConfigurationType_ServiceCertificate 17860 #define OpcUaId_AuthorizationServiceConfigurationType_IssuerEndpointUrl 18073 #define OpcUaId_AggregateConfigurationType_TreatUncertainAsBad 11188 #define OpcUaId_AggregateConfigurationType_PercentDataBad 11189 #define OpcUaId_AggregateConfigurationType_PercentDataGood 11190 #define OpcUaId_AggregateConfigurationType_UseSlopedExtrapolation 11191 #define OpcUaId_PubSubState_EnumStrings 14648 #define OpcUaId_DataSetFieldFlags_OptionSetValues 15577 #define OpcUaId_DataSetFieldContentMask_OptionSetValues 15584 #define OpcUaId_OverrideValueHandling_EnumStrings 15875 #define OpcUaId_DataSetOrderingType_EnumStrings 15641 #define OpcUaId_UadpNetworkMessageContentMask_OptionSetValues 15643 #define OpcUaId_UadpDataSetMessageContentMask_OptionSetValues 15647 #define OpcUaId_JsonNetworkMessageContentMask_OptionSetValues 15655 #define OpcUaId_JsonDataSetMessageContentMask_OptionSetValues 15659 #define OpcUaId_BrokerTransportQualityOfService_EnumStrings 15009 #define OpcUaId_PubSubKeyServiceType_GetSecurityKeys_InputArguments 15908 #define OpcUaId_PubSubKeyServiceType_GetSecurityKeys_OutputArguments 15909 #define OpcUaId_PubSubKeyServiceType_GetSecurityGroup_InputArguments 15911 #define OpcUaId_PubSubKeyServiceType_GetSecurityGroup_OutputArguments 15912 #define OpcUaId_PubSubKeyServiceType_SecurityGroups_AddSecurityGroup_InputArguments 15915 #define OpcUaId_PubSubKeyServiceType_SecurityGroups_AddSecurityGroup_OutputArguments 15916 #define OpcUaId_PubSubKeyServiceType_SecurityGroups_RemoveSecurityGroup_InputArguments 15918 #define OpcUaId_SecurityGroupFolderType_SecurityGroupFolderName_Placeholder_AddSecurityGroup_InputArguments 15455 #define OpcUaId_SecurityGroupFolderType_SecurityGroupFolderName_Placeholder_AddSecurityGroup_OutputArguments 15456 #define OpcUaId_SecurityGroupFolderType_SecurityGroupFolderName_Placeholder_RemoveSecurityGroup_InputArguments 15458 #define OpcUaId_SecurityGroupFolderType_SecurityGroupName_Placeholder_SecurityGroupId 15460 #define OpcUaId_SecurityGroupFolderType_SecurityGroupName_Placeholder_KeyLifetime 15010 #define OpcUaId_SecurityGroupFolderType_SecurityGroupName_Placeholder_SecurityPolicyUri 15011 #define OpcUaId_SecurityGroupFolderType_SecurityGroupName_Placeholder_MaxFutureKeyCount 15012 #define OpcUaId_SecurityGroupFolderType_SecurityGroupName_Placeholder_MaxPastKeyCount 15043 #define OpcUaId_SecurityGroupFolderType_AddSecurityGroup_InputArguments 15462 #define OpcUaId_SecurityGroupFolderType_AddSecurityGroup_OutputArguments 15463 #define OpcUaId_SecurityGroupFolderType_RemoveSecurityGroup_InputArguments 15465 #define OpcUaId_SecurityGroupType_SecurityGroupId 15472 #define OpcUaId_SecurityGroupType_KeyLifetime 15046 #define OpcUaId_SecurityGroupType_SecurityPolicyUri 15047 #define OpcUaId_SecurityGroupType_MaxFutureKeyCount 15048 #define OpcUaId_SecurityGroupType_MaxPastKeyCount 15056 #define OpcUaId_PublishSubscribeType_GetSecurityKeys_InputArguments 15213 #define OpcUaId_PublishSubscribeType_GetSecurityKeys_OutputArguments 15214 #define OpcUaId_PublishSubscribeType_GetSecurityGroup_InputArguments 15432 #define OpcUaId_PublishSubscribeType_GetSecurityGroup_OutputArguments 15433 #define OpcUaId_PublishSubscribeType_SecurityGroups_AddSecurityGroup_InputArguments 15436 #define OpcUaId_PublishSubscribeType_SecurityGroups_AddSecurityGroup_OutputArguments 15437 #define OpcUaId_PublishSubscribeType_SecurityGroups_RemoveSecurityGroup_InputArguments 15439 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_PublisherId 14418 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_TransportProfileUri 17292 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_TransportProfileUri_Selections 17706 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_ConnectionProperties 17478 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Address_NetworkInterface 15533 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Address_NetworkInterface_Selections 17503 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Status_State 14420 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_DiagnosticsLevel 18668 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_TotalInformation 18669 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_TotalInformation_Active 18670 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_TotalInformation_Classification 18671 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_TotalInformation_DiagnosticsLevel 18672 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_TotalError 18674 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_TotalError_Active 18675 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_TotalError_Classification 18676 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_TotalError_DiagnosticsLevel 18677 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_SubError 18680 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateError 18682 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateError_Active 18683 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateError_Classification 18684 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateError_DiagnosticsLevel 18685 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByMethod 18687 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Active 18688 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Classification 18689 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 18690 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByParent 18692 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Active 18693 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Classification 18694 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 18695 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalFromError 18697 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Active 18698 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Classification 18699 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 18700 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StatePausedByParent 18702 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StatePausedByParent_Active 18703 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StatePausedByParent_Classification 18704 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 18705 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateDisabledByMethod 18707 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Active 18708 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Classification 18709 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 18710 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_LiveValues_ResolvedAddress 18713 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_Diagnostics_LiveValues_ResolvedAddress_DiagnosticsLevel 18714 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_AddWriterGroup_InputArguments 16558 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_AddWriterGroup_OutputArguments 16559 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_AddReaderGroup_InputArguments 16561 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_AddReaderGroup_OutputArguments 16571 #define OpcUaId_PublishSubscribeType_ConnectionName_Placeholder_RemoveGroup_InputArguments 14425 #define OpcUaId_PublishSubscribeType_SetSecurityKeys_InputArguments 17297 #define OpcUaId_PublishSubscribeType_AddConnection_InputArguments 16599 #define OpcUaId_PublishSubscribeType_AddConnection_OutputArguments 16600 #define OpcUaId_PublishSubscribeType_RemoveConnection_InputArguments 14433 #define OpcUaId_PublishSubscribeType_PublishedDataSets_AddPublishedDataItems_InputArguments 14436 #define OpcUaId_PublishSubscribeType_PublishedDataSets_AddPublishedDataItems_OutputArguments 14437 #define OpcUaId_PublishSubscribeType_PublishedDataSets_AddPublishedEvents_InputArguments 14439 #define OpcUaId_PublishSubscribeType_PublishedDataSets_AddPublishedEvents_OutputArguments 14440 #define OpcUaId_PublishSubscribeType_PublishedDataSets_AddPublishedDataItemsTemplate_InputArguments 16611 #define OpcUaId_PublishSubscribeType_PublishedDataSets_AddPublishedDataItemsTemplate_OutputArguments 16638 #define OpcUaId_PublishSubscribeType_PublishedDataSets_AddPublishedEventsTemplate_InputArguments 16640 #define OpcUaId_PublishSubscribeType_PublishedDataSets_AddPublishedEventsTemplate_OutputArguments 16641 #define OpcUaId_PublishSubscribeType_PublishedDataSets_RemovePublishedDataSet_InputArguments 14442 #define OpcUaId_PublishSubscribeType_PublishedDataSets_AddDataSetFolder_InputArguments 16678 #define OpcUaId_PublishSubscribeType_PublishedDataSets_AddDataSetFolder_OutputArguments 16679 #define OpcUaId_PublishSubscribeType_PublishedDataSets_RemoveDataSetFolder_InputArguments 16681 #define OpcUaId_PublishSubscribeType_Status_State 15845 #define OpcUaId_PublishSubscribeType_Diagnostics_DiagnosticsLevel 18716 #define OpcUaId_PublishSubscribeType_Diagnostics_TotalInformation 18717 #define OpcUaId_PublishSubscribeType_Diagnostics_TotalInformation_Active 18718 #define OpcUaId_PublishSubscribeType_Diagnostics_TotalInformation_Classification 18719 #define OpcUaId_PublishSubscribeType_Diagnostics_TotalInformation_DiagnosticsLevel 18720 #define OpcUaId_PublishSubscribeType_Diagnostics_TotalError 18722 #define OpcUaId_PublishSubscribeType_Diagnostics_TotalError_Active 18723 #define OpcUaId_PublishSubscribeType_Diagnostics_TotalError_Classification 18724 #define OpcUaId_PublishSubscribeType_Diagnostics_TotalError_DiagnosticsLevel 18725 #define OpcUaId_PublishSubscribeType_Diagnostics_SubError 18728 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateError 18730 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateError_Active 18731 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateError_Classification 18732 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateError_DiagnosticsLevel 18733 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalByMethod 18735 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalByMethod_Active 18736 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalByMethod_Classification 18737 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 18738 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalByParent 18740 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalByParent_Active 18741 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalByParent_Classification 18742 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 18743 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalFromError 18745 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalFromError_Active 18746 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalFromError_Classification 18747 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 18748 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StatePausedByParent 18750 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StatePausedByParent_Active 18751 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StatePausedByParent_Classification 18752 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 18753 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateDisabledByMethod 18755 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateDisabledByMethod_Active 18756 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateDisabledByMethod_Classification 18757 #define OpcUaId_PublishSubscribeType_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 18758 #define OpcUaId_PublishSubscribeType_Diagnostics_LiveValues_ConfiguredDataSetWriters 18761 #define OpcUaId_PublishSubscribeType_Diagnostics_LiveValues_ConfiguredDataSetWriters_DiagnosticsLevel 18762 #define OpcUaId_PublishSubscribeType_Diagnostics_LiveValues_ConfiguredDataSetReaders 18763 #define OpcUaId_PublishSubscribeType_Diagnostics_LiveValues_ConfiguredDataSetReaders_DiagnosticsLevel 18764 #define OpcUaId_PublishSubscribeType_Diagnostics_LiveValues_OperationalDataSetWriters 18765 #define OpcUaId_PublishSubscribeType_Diagnostics_LiveValues_OperationalDataSetWriters_DiagnosticsLevel 18766 #define OpcUaId_PublishSubscribeType_Diagnostics_LiveValues_OperationalDataSetReaders 18767 #define OpcUaId_PublishSubscribeType_Diagnostics_LiveValues_OperationalDataSetReaders_DiagnosticsLevel 18768 #define OpcUaId_PublishSubscribeType_SupportedTransportProfiles 17479 #define OpcUaId_PublishSubscribe_GetSecurityKeys_InputArguments 15216 #define OpcUaId_PublishSubscribe_GetSecurityKeys_OutputArguments 15217 #define OpcUaId_PublishSubscribe_GetSecurityGroup_InputArguments 15441 #define OpcUaId_PublishSubscribe_GetSecurityGroup_OutputArguments 15442 #define OpcUaId_PublishSubscribe_SecurityGroups_AddSecurityGroup_InputArguments 15445 #define OpcUaId_PublishSubscribe_SecurityGroups_AddSecurityGroup_OutputArguments 15446 #define OpcUaId_PublishSubscribe_SecurityGroups_RemoveSecurityGroup_InputArguments 15448 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_PublisherId 15791 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_TransportProfileUri 15792 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_TransportProfileUri_Selections 15848 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_ConnectionProperties 17480 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Address_NetworkInterface 15863 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Address_NetworkInterface_Selections 17506 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Status_State 15892 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_DiagnosticsLevel 15938 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_TotalInformation 15939 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_TotalInformation_Active 15989 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_TotalInformation_Classification 15994 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_TotalInformation_DiagnosticsLevel 16013 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_TotalError 16059 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_TotalError_Active 16060 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_TotalError_Classification 16061 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_TotalError_DiagnosticsLevel 16074 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_SubError 16101 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateError 16103 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateError_Active 16122 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateError_Classification 16123 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateError_DiagnosticsLevel 16124 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByMethod 16283 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Active 16322 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Classification 16523 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 17300 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByParent 17304 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Active 17305 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Classification 17320 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 17335 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalFromError 17337 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Active 17338 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Classification 17339 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 17340 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StatePausedByParent 17342 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StatePausedByParent_Active 17343 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StatePausedByParent_Classification 17344 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 17345 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateDisabledByMethod 17347 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Active 17348 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Classification 17349 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 17350 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_LiveValues_ResolvedAddress 17353 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_Diagnostics_LiveValues_ResolvedAddress_DiagnosticsLevel 17354 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_AddWriterGroup_InputArguments 17357 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_AddWriterGroup_OutputArguments 17358 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_AddReaderGroup_InputArguments 17360 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_AddReaderGroup_OutputArguments 17361 #define OpcUaId_PublishSubscribe_ConnectionName_Placeholder_RemoveGroup_InputArguments 17363 #define OpcUaId_PublishSubscribe_SetSecurityKeys_InputArguments 17365 #define OpcUaId_PublishSubscribe_AddConnection_InputArguments 17367 #define OpcUaId_PublishSubscribe_AddConnection_OutputArguments 17368 #define OpcUaId_PublishSubscribe_RemoveConnection_InputArguments 17370 #define OpcUaId_PublishSubscribe_PublishedDataSets_AddPublishedDataItems_InputArguments 17373 #define OpcUaId_PublishSubscribe_PublishedDataSets_AddPublishedDataItems_OutputArguments 17374 #define OpcUaId_PublishSubscribe_PublishedDataSets_AddPublishedEvents_InputArguments 17376 #define OpcUaId_PublishSubscribe_PublishedDataSets_AddPublishedEvents_OutputArguments 17377 #define OpcUaId_PublishSubscribe_PublishedDataSets_AddPublishedDataItemsTemplate_InputArguments 17379 #define OpcUaId_PublishSubscribe_PublishedDataSets_AddPublishedDataItemsTemplate_OutputArguments 17380 #define OpcUaId_PublishSubscribe_PublishedDataSets_AddPublishedEventsTemplate_InputArguments 17382 #define OpcUaId_PublishSubscribe_PublishedDataSets_AddPublishedEventsTemplate_OutputArguments 17383 #define OpcUaId_PublishSubscribe_PublishedDataSets_RemovePublishedDataSet_InputArguments 17385 #define OpcUaId_PublishSubscribe_PublishedDataSets_AddDataSetFolder_InputArguments 17401 #define OpcUaId_PublishSubscribe_PublishedDataSets_AddDataSetFolder_OutputArguments 17402 #define OpcUaId_PublishSubscribe_PublishedDataSets_RemoveDataSetFolder_InputArguments 17404 #define OpcUaId_PublishSubscribe_Status_State 17406 #define OpcUaId_PublishSubscribe_Diagnostics_DiagnosticsLevel 17410 #define OpcUaId_PublishSubscribe_Diagnostics_TotalInformation 17411 #define OpcUaId_PublishSubscribe_Diagnostics_TotalInformation_Active 17412 #define OpcUaId_PublishSubscribe_Diagnostics_TotalInformation_Classification 17413 #define OpcUaId_PublishSubscribe_Diagnostics_TotalInformation_DiagnosticsLevel 17414 #define OpcUaId_PublishSubscribe_Diagnostics_TotalError 17416 #define OpcUaId_PublishSubscribe_Diagnostics_TotalError_Active 17417 #define OpcUaId_PublishSubscribe_Diagnostics_TotalError_Classification 17418 #define OpcUaId_PublishSubscribe_Diagnostics_TotalError_DiagnosticsLevel 17419 #define OpcUaId_PublishSubscribe_Diagnostics_SubError 17422 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateError 17424 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateError_Active 17425 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateError_Classification 17426 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateError_DiagnosticsLevel 17429 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalByMethod 17431 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalByMethod_Active 17432 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalByMethod_Classification 17433 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 17434 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalByParent 17436 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalByParent_Active 17437 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalByParent_Classification 17438 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 17439 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalFromError 17441 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalFromError_Active 17442 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalFromError_Classification 17443 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 17444 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StatePausedByParent 17446 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StatePausedByParent_Active 17447 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StatePausedByParent_Classification 17448 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 17449 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateDisabledByMethod 17451 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateDisabledByMethod_Active 17452 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateDisabledByMethod_Classification 17453 #define OpcUaId_PublishSubscribe_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 17454 #define OpcUaId_PublishSubscribe_Diagnostics_LiveValues_ConfiguredDataSetWriters 17458 #define OpcUaId_PublishSubscribe_Diagnostics_LiveValues_ConfiguredDataSetWriters_DiagnosticsLevel 17459 #define OpcUaId_PublishSubscribe_Diagnostics_LiveValues_ConfiguredDataSetReaders 17460 #define OpcUaId_PublishSubscribe_Diagnostics_LiveValues_ConfiguredDataSetReaders_DiagnosticsLevel 17461 #define OpcUaId_PublishSubscribe_Diagnostics_LiveValues_OperationalDataSetWriters 17462 #define OpcUaId_PublishSubscribe_Diagnostics_LiveValues_OperationalDataSetWriters_DiagnosticsLevel 17463 #define OpcUaId_PublishSubscribe_Diagnostics_LiveValues_OperationalDataSetReaders 17464 #define OpcUaId_PublishSubscribe_Diagnostics_LiveValues_OperationalDataSetReaders_DiagnosticsLevel 17466 #define OpcUaId_PublishSubscribe_SupportedTransportProfiles 17481 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_DataSetWriterId 16720 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_DataSetFieldContentMask 16721 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_DataSetWriterProperties 17482 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Status_State 15224 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_DiagnosticsLevel 18872 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation 18873 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_Active 18874 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_Classification 18875 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_DiagnosticsLevel 18876 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_TotalError 18878 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_TotalError_Active 18879 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_TotalError_Classification 18880 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_TotalError_DiagnosticsLevel 18881 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_SubError 18884 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError 18886 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_Active 18887 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_Classification 18888 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_DiagnosticsLevel 18889 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod 18891 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Active 18892 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Classification 18893 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 18894 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent 18896 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Active 18897 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Classification 18898 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 18899 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError 18901 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Active 18902 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Classification 18903 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 18904 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent 18906 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_Active 18907 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_Classification 18908 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 18909 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod 18911 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Active 18912 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Classification 18913 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 18914 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages 18917 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_Active 18918 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_Classification 18919 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_DiagnosticsLevel 18920 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MessageSequenceNumber_DiagnosticsLevel 18923 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_StatusCode_DiagnosticsLevel 18925 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MajorVersion_DiagnosticsLevel 18927 #define OpcUaId_PublishedDataSetType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MinorVersion_DiagnosticsLevel 18929 #define OpcUaId_PublishedDataSetType_ConfigurationVersion 14519 #define OpcUaId_PublishedDataSetType_DataSetMetaData 15229 #define OpcUaId_PublishedDataSetType_DataSetClassId 16759 #define OpcUaId_PublishedDataSetType_ExtensionFields_AddExtensionField_InputArguments 15483 #define OpcUaId_PublishedDataSetType_ExtensionFields_AddExtensionField_OutputArguments 15484 #define OpcUaId_PublishedDataSetType_ExtensionFields_RemoveExtensionField_InputArguments 15486 #define OpcUaId_ExtensionFieldsType_ExtensionFieldName_Placeholder 15490 #define OpcUaId_ExtensionFieldsType_AddExtensionField_InputArguments 15492 #define OpcUaId_ExtensionFieldsType_AddExtensionField_OutputArguments 15493 #define OpcUaId_ExtensionFieldsType_RemoveExtensionField_InputArguments 15495 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_DataSetWriterId 16760 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_DataSetFieldContentMask 16761 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_DataSetWriterProperties 17483 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Status_State 15232 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_DiagnosticsLevel 18931 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation 18932 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_Active 18933 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_Classification 18934 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_DiagnosticsLevel 18935 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_TotalError 18937 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_TotalError_Active 18938 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_TotalError_Classification 18939 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_TotalError_DiagnosticsLevel 18940 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_SubError 18943 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError 18945 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_Active 18946 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_Classification 18947 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_DiagnosticsLevel 18948 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod 18950 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Active 18951 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Classification 18952 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 18953 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent 18955 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Active 18956 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Classification 18957 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 18958 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError 18960 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Active 18961 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Classification 18962 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 18963 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent 18965 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_Active 18966 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_Classification 18967 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 18968 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod 18970 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Active 18971 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Classification 18972 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 18973 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages 18976 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_Active 18977 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_Classification 18978 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_DiagnosticsLevel 18979 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MessageSequenceNumber_DiagnosticsLevel 18982 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_StatusCode_DiagnosticsLevel 18984 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MajorVersion_DiagnosticsLevel 18986 #define OpcUaId_PublishedDataItemsType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MinorVersion_DiagnosticsLevel 18988 #define OpcUaId_PublishedDataItemsType_ExtensionFields_AddExtensionField_InputArguments 15505 #define OpcUaId_PublishedDataItemsType_ExtensionFields_AddExtensionField_OutputArguments 15506 #define OpcUaId_PublishedDataItemsType_ExtensionFields_RemoveExtensionField_InputArguments 15508 #define OpcUaId_PublishedDataItemsType_PublishedData 14548 #define OpcUaId_PublishedDataItemsType_AddVariables_InputArguments 14556 #define OpcUaId_PublishedDataItemsType_AddVariables_OutputArguments 14557 #define OpcUaId_PublishedDataItemsType_RemoveVariables_InputArguments 14559 #define OpcUaId_PublishedDataItemsType_RemoveVariables_OutputArguments 14560 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_DataSetWriterId 16801 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_DataSetFieldContentMask 16802 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_DataSetWriterProperties 17484 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Status_State 15240 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_DiagnosticsLevel 18990 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation 18991 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_Active 18992 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_Classification 18993 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_DiagnosticsLevel 18994 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_TotalError 18996 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_TotalError_Active 18997 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_TotalError_Classification 18998 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_TotalError_DiagnosticsLevel 18999 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_SubError 19002 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError 19004 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_Active 19005 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_Classification 19006 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_DiagnosticsLevel 19007 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod 19009 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Active 19010 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Classification 19011 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 19012 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent 19014 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Active 19015 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Classification 19016 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 19017 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError 19019 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Active 19020 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Classification 19021 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 19022 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent 19024 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_Active 19025 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_Classification 19026 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 19027 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod 19029 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Active 19030 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Classification 19031 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 19032 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages 19035 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_Active 19036 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_Classification 19037 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_DiagnosticsLevel 19038 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MessageSequenceNumber_DiagnosticsLevel 19041 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_StatusCode_DiagnosticsLevel 19043 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MajorVersion_DiagnosticsLevel 19045 #define OpcUaId_PublishedEventsType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MinorVersion_DiagnosticsLevel 19047 #define OpcUaId_PublishedEventsType_ExtensionFields_AddExtensionField_InputArguments 15513 #define OpcUaId_PublishedEventsType_ExtensionFields_AddExtensionField_OutputArguments 15514 #define OpcUaId_PublishedEventsType_ExtensionFields_RemoveExtensionField_InputArguments 15516 #define OpcUaId_PublishedEventsType_PubSubEventNotifier 14586 #define OpcUaId_PublishedEventsType_SelectedFields 14587 #define OpcUaId_PublishedEventsType_Filter 14588 #define OpcUaId_PublishedEventsType_ModifyFieldSelection_InputArguments 15053 #define OpcUaId_PublishedEventsType_ModifyFieldSelection_OutputArguments 15517 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedDataItems_InputArguments 14480 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedDataItems_OutputArguments 14481 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedEvents_InputArguments 14483 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedEvents_OutputArguments 14484 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedDataItemsTemplate_InputArguments 16843 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedDataItemsTemplate_OutputArguments 16853 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedEventsTemplate_InputArguments 16882 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddPublishedEventsTemplate_OutputArguments 16883 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_RemovePublishedDataSet_InputArguments 14486 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddDataSetFolder_InputArguments 16894 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_AddDataSetFolder_OutputArguments 16922 #define OpcUaId_DataSetFolderType_DataSetFolderName_Placeholder_RemoveDataSetFolder_InputArguments 16924 #define OpcUaId_DataSetFolderType_PublishedDataSetName_Placeholder_ConfigurationVersion 14489 #define OpcUaId_DataSetFolderType_PublishedDataSetName_Placeholder_DataSetMetaData 15221 #define OpcUaId_DataSetFolderType_PublishedDataSetName_Placeholder_ExtensionFields_AddExtensionField_InputArguments 15475 #define OpcUaId_DataSetFolderType_PublishedDataSetName_Placeholder_ExtensionFields_AddExtensionField_OutputArguments 15476 #define OpcUaId_DataSetFolderType_PublishedDataSetName_Placeholder_ExtensionFields_RemoveExtensionField_InputArguments 15478 #define OpcUaId_DataSetFolderType_AddPublishedDataItems_InputArguments 14494 #define OpcUaId_DataSetFolderType_AddPublishedDataItems_OutputArguments 14495 #define OpcUaId_DataSetFolderType_AddPublishedEvents_InputArguments 14497 #define OpcUaId_DataSetFolderType_AddPublishedEvents_OutputArguments 14498 #define OpcUaId_DataSetFolderType_AddPublishedDataItemsTemplate_InputArguments 16958 #define OpcUaId_DataSetFolderType_AddPublishedDataItemsTemplate_OutputArguments 16959 #define OpcUaId_DataSetFolderType_AddPublishedEventsTemplate_InputArguments 16961 #define OpcUaId_DataSetFolderType_AddPublishedEventsTemplate_OutputArguments 16971 #define OpcUaId_DataSetFolderType_RemovePublishedDataSet_InputArguments 14500 #define OpcUaId_DataSetFolderType_AddDataSetFolder_InputArguments 16995 #define OpcUaId_DataSetFolderType_AddDataSetFolder_OutputArguments 16996 #define OpcUaId_DataSetFolderType_RemoveDataSetFolder_InputArguments 17007 #define OpcUaId_PubSubConnectionType_PublisherId 14595 #define OpcUaId_PubSubConnectionType_TransportProfileUri 17306 #define OpcUaId_PubSubConnectionType_TransportProfileUri_Selections 17710 #define OpcUaId_PubSubConnectionType_ConnectionProperties 17485 #define OpcUaId_PubSubConnectionType_Address_NetworkInterface 17202 #define OpcUaId_PubSubConnectionType_Address_NetworkInterface_Selections 17576 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_SecurityMode 17311 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_MaxNetworkMessageSize 17204 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_GroupProperties 17486 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Status_State 17315 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_WriterGroupId 17214 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_PublishingInterval 17318 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_KeepAliveTime 17319 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Priority 17321 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_LocaleIds 17322 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_HeaderLayoutUri 17558 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_DiagnosticsLevel 19108 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_TotalInformation 19109 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_TotalInformation_Active 19110 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_TotalInformation_Classification 19111 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_TotalInformation_DiagnosticsLevel 19112 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_TotalError 19114 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_TotalError_Active 19115 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_TotalError_Classification 19116 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_TotalError_DiagnosticsLevel 19117 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_SubError 19120 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateError 19122 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateError_Active 19123 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateError_Classification 19124 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateError_DiagnosticsLevel 19125 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalByMethod 19127 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Active 19128 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Classification 19129 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 19130 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalByParent 19132 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Active 19133 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Classification 19134 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 19135 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalFromError 19137 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Active 19138 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Classification 19139 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 19140 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StatePausedByParent 19142 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StatePausedByParent_Active 19143 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StatePausedByParent_Classification 19144 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 19145 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateDisabledByMethod 19147 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Active 19148 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Classification 19149 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 19150 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_SentNetworkMessages 19153 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_SentNetworkMessages_Active 19154 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_SentNetworkMessages_Classification 19155 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_SentNetworkMessages_DiagnosticsLevel 19156 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_FailedTransmissions 19158 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_FailedTransmissions_Active 19159 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_FailedTransmissions_Classification 19160 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_FailedTransmissions_DiagnosticsLevel 19161 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_EncryptionErrors 19163 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_EncryptionErrors_Active 19164 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_EncryptionErrors_Classification 19165 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_Counters_EncryptionErrors_DiagnosticsLevel 19166 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_LiveValues_ConfiguredDataSetWriters 19168 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_LiveValues_ConfiguredDataSetWriters_DiagnosticsLevel 19169 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_LiveValues_OperationalDataSetWriters 19170 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_LiveValues_OperationalDataSetWriters_DiagnosticsLevel 19171 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_LiveValues_SecurityTokenID_DiagnosticsLevel 19173 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_Diagnostics_LiveValues_TimeToNextTokenID_DiagnosticsLevel 19175 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_AddDataSetWriter_InputArguments 17294 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_AddDataSetWriter_OutputArguments 17301 #define OpcUaId_PubSubConnectionType_WriterGroupName_Placeholder_RemoveDataSetWriter_InputArguments 17324 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_SecurityMode 17326 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_MaxNetworkMessageSize 17302 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_GroupProperties 17487 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Status_State 17330 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_DiagnosticsLevel 19177 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_TotalInformation 19178 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_TotalInformation_Active 19179 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_TotalInformation_Classification 19180 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_TotalInformation_DiagnosticsLevel 19181 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_TotalError 19183 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_TotalError_Active 19184 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_TotalError_Classification 19185 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_TotalError_DiagnosticsLevel 19186 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_SubError 19189 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateError 19191 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateError_Active 19192 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateError_Classification 19193 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateError_DiagnosticsLevel 19194 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalByMethod 19196 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Active 19197 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Classification 19198 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 19199 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalByParent 19201 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Active 19202 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Classification 19203 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 19204 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalFromError 19206 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Active 19207 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Classification 19208 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 19209 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StatePausedByParent 19211 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StatePausedByParent_Active 19212 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StatePausedByParent_Classification 19213 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 19214 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateDisabledByMethod 19216 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Active 19217 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Classification 19218 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 19219 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_ReceivedNetworkMessages 19222 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_ReceivedNetworkMessages_Active 19223 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_ReceivedNetworkMessages_Classification 19224 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_ReceivedNetworkMessages_DiagnosticsLevel 19225 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_ReceivedInvalidNetworkMessages_Active 19228 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_ReceivedInvalidNetworkMessages_Classification 19229 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_ReceivedInvalidNetworkMessages_DiagnosticsLevel 19230 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_DecryptionErrors_Active 19233 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_DecryptionErrors_Classification 19234 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_Counters_DecryptionErrors_DiagnosticsLevel 19235 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_LiveValues_ConfiguredDataSetReaders 19237 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_LiveValues_ConfiguredDataSetReaders_DiagnosticsLevel 19238 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_LiveValues_OperationalDataSetReaders 19239 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_Diagnostics_LiveValues_OperationalDataSetReaders_DiagnosticsLevel 19240 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_AddDataSetReader_InputArguments 17399 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_AddDataSetReader_OutputArguments 17400 #define OpcUaId_PubSubConnectionType_ReaderGroupName_Placeholder_RemoveDataSetReader_InputArguments 17334 #define OpcUaId_PubSubConnectionType_Status_State 14601 #define OpcUaId_PubSubConnectionType_Diagnostics_DiagnosticsLevel 19242 #define OpcUaId_PubSubConnectionType_Diagnostics_TotalInformation 19243 #define OpcUaId_PubSubConnectionType_Diagnostics_TotalInformation_Active 19244 #define OpcUaId_PubSubConnectionType_Diagnostics_TotalInformation_Classification 19245 #define OpcUaId_PubSubConnectionType_Diagnostics_TotalInformation_DiagnosticsLevel 19246 #define OpcUaId_PubSubConnectionType_Diagnostics_TotalError 19248 #define OpcUaId_PubSubConnectionType_Diagnostics_TotalError_Active 19249 #define OpcUaId_PubSubConnectionType_Diagnostics_TotalError_Classification 19250 #define OpcUaId_PubSubConnectionType_Diagnostics_TotalError_DiagnosticsLevel 19251 #define OpcUaId_PubSubConnectionType_Diagnostics_SubError 19254 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateError 19256 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateError_Active 19257 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateError_Classification 19258 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateError_DiagnosticsLevel 19259 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalByMethod 19261 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalByMethod_Active 19262 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalByMethod_Classification 19263 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 19264 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalByParent 19266 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalByParent_Active 19267 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalByParent_Classification 19268 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 19269 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalFromError 19271 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalFromError_Active 19272 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalFromError_Classification 19273 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 19274 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StatePausedByParent 19276 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StatePausedByParent_Active 19277 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StatePausedByParent_Classification 19278 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 19279 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateDisabledByMethod 19281 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateDisabledByMethod_Active 19282 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateDisabledByMethod_Classification 19283 #define OpcUaId_PubSubConnectionType_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 19284 #define OpcUaId_PubSubConnectionType_Diagnostics_LiveValues_ResolvedAddress 19287 #define OpcUaId_PubSubConnectionType_Diagnostics_LiveValues_ResolvedAddress_DiagnosticsLevel 19288 #define OpcUaId_PubSubConnectionType_AddWriterGroup_InputArguments 17428 #define OpcUaId_PubSubConnectionType_AddWriterGroup_OutputArguments 17456 #define OpcUaId_PubSubConnectionType_AddReaderGroup_InputArguments 17507 #define OpcUaId_PubSubConnectionType_AddReaderGroup_OutputArguments 17508 #define OpcUaId_PubSubConnectionType_RemoveGroup_InputArguments 14226 #define OpcUaId_PubSubGroupType_SecurityMode 15926 #define OpcUaId_PubSubGroupType_SecurityGroupId 15927 #define OpcUaId_PubSubGroupType_SecurityKeyServices 15928 #define OpcUaId_PubSubGroupType_MaxNetworkMessageSize 17724 #define OpcUaId_PubSubGroupType_GroupProperties 17488 #define OpcUaId_PubSubGroupType_Status_State 15266 #define OpcUaId_WriterGroupType_Status_State 17731 #define OpcUaId_WriterGroupType_WriterGroupId 17736 #define OpcUaId_WriterGroupType_PublishingInterval 17737 #define OpcUaId_WriterGroupType_KeepAliveTime 17738 #define OpcUaId_WriterGroupType_Priority 17739 #define OpcUaId_WriterGroupType_LocaleIds 17740 #define OpcUaId_WriterGroupType_HeaderLayoutUri 17559 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_DataSetWriterId 17744 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_DataSetFieldContentMask 17745 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_DataSetWriterProperties 17490 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Status_State 17750 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_DiagnosticsLevel 17754 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation 17755 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_Active 17756 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_Classification 17757 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_TotalInformation_DiagnosticsLevel 17758 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_TotalError 17760 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_TotalError_Active 17761 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_TotalError_Classification 17762 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_TotalError_DiagnosticsLevel 17763 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_SubError 17766 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError 17768 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_Active 17769 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_Classification 17770 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateError_DiagnosticsLevel 17771 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod 17773 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Active 17774 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Classification 17775 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 17776 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent 17778 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Active 17779 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Classification 17780 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 17781 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError 17783 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Active 17784 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Classification 17785 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 17786 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent 17788 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_Active 17789 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_Classification 17790 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 17791 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod 17793 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Active 17794 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Classification 17795 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 17796 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages 17799 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_Active 17800 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_Classification 17801 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_DiagnosticsLevel 17802 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MessageSequenceNumber_DiagnosticsLevel 17805 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_StatusCode_DiagnosticsLevel 17807 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MajorVersion_DiagnosticsLevel 17809 #define OpcUaId_WriterGroupType_DataSetWriterName_Placeholder_Diagnostics_LiveValues_MinorVersion_DiagnosticsLevel 17811 #define OpcUaId_WriterGroupType_Diagnostics_DiagnosticsLevel 17813 #define OpcUaId_WriterGroupType_Diagnostics_TotalInformation 17814 #define OpcUaId_WriterGroupType_Diagnostics_TotalInformation_Active 17815 #define OpcUaId_WriterGroupType_Diagnostics_TotalInformation_Classification 17816 #define OpcUaId_WriterGroupType_Diagnostics_TotalInformation_DiagnosticsLevel 17817 #define OpcUaId_WriterGroupType_Diagnostics_TotalError 17819 #define OpcUaId_WriterGroupType_Diagnostics_TotalError_Active 17820 #define OpcUaId_WriterGroupType_Diagnostics_TotalError_Classification 17821 #define OpcUaId_WriterGroupType_Diagnostics_TotalError_DiagnosticsLevel 17822 #define OpcUaId_WriterGroupType_Diagnostics_SubError 17825 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateError 17827 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateError_Active 17828 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateError_Classification 17829 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateError_DiagnosticsLevel 17830 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalByMethod 17832 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalByMethod_Active 17833 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalByMethod_Classification 17834 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 17835 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalByParent 17837 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalByParent_Active 17838 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalByParent_Classification 17839 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 17840 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalFromError 17842 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalFromError_Active 17843 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalFromError_Classification 17844 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 17845 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StatePausedByParent 17847 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StatePausedByParent_Active 17848 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StatePausedByParent_Classification 17849 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 17850 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateDisabledByMethod 17853 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateDisabledByMethod_Active 17854 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateDisabledByMethod_Classification 17855 #define OpcUaId_WriterGroupType_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 17856 #define OpcUaId_WriterGroupType_Diagnostics_Counters_SentNetworkMessages 17859 #define OpcUaId_WriterGroupType_Diagnostics_Counters_SentNetworkMessages_Active 17864 #define OpcUaId_WriterGroupType_Diagnostics_Counters_SentNetworkMessages_Classification 17871 #define OpcUaId_WriterGroupType_Diagnostics_Counters_SentNetworkMessages_DiagnosticsLevel 17872 #define OpcUaId_WriterGroupType_Diagnostics_Counters_FailedTransmissions 17874 #define OpcUaId_WriterGroupType_Diagnostics_Counters_FailedTransmissions_Active 17878 #define OpcUaId_WriterGroupType_Diagnostics_Counters_FailedTransmissions_Classification 17885 #define OpcUaId_WriterGroupType_Diagnostics_Counters_FailedTransmissions_DiagnosticsLevel 17892 #define OpcUaId_WriterGroupType_Diagnostics_Counters_EncryptionErrors 17900 #define OpcUaId_WriterGroupType_Diagnostics_Counters_EncryptionErrors_Active 17901 #define OpcUaId_WriterGroupType_Diagnostics_Counters_EncryptionErrors_Classification 17902 #define OpcUaId_WriterGroupType_Diagnostics_Counters_EncryptionErrors_DiagnosticsLevel 17903 #define OpcUaId_WriterGroupType_Diagnostics_LiveValues_ConfiguredDataSetWriters 17913 #define OpcUaId_WriterGroupType_Diagnostics_LiveValues_ConfiguredDataSetWriters_DiagnosticsLevel 17920 #define OpcUaId_WriterGroupType_Diagnostics_LiveValues_OperationalDataSetWriters 17927 #define OpcUaId_WriterGroupType_Diagnostics_LiveValues_OperationalDataSetWriters_DiagnosticsLevel 17934 #define OpcUaId_WriterGroupType_Diagnostics_LiveValues_SecurityTokenID_DiagnosticsLevel 17948 #define OpcUaId_WriterGroupType_Diagnostics_LiveValues_TimeToNextTokenID_DiagnosticsLevel 17962 #define OpcUaId_WriterGroupType_AddDataSetWriter_InputArguments 17976 #define OpcUaId_WriterGroupType_AddDataSetWriter_OutputArguments 17987 #define OpcUaId_WriterGroupType_RemoveDataSetWriter_InputArguments 17993 #define OpcUaId_ReaderGroupType_Status_State 18068 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_PublisherId 18077 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_WriterGroupId 18078 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_DataSetWriterId 18079 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_DataSetMetaData 18080 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_DataSetFieldContentMask 18081 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_MessageReceiveTimeout 18082 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_KeyFrameCount 17560 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_HeaderLayoutUri 17562 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_DataSetReaderProperties 17492 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Status_State 18089 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_DiagnosticsLevel 18093 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_TotalInformation 18094 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_TotalInformation_Active 18095 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_TotalInformation_Classification 18096 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_TotalInformation_DiagnosticsLevel 18097 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_TotalError 18099 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_TotalError_Active 18100 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_TotalError_Classification 18101 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_TotalError_DiagnosticsLevel 18102 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_SubError 18105 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateError 18107 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateError_Active 18108 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateError_Classification 18109 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateError_DiagnosticsLevel 18110 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalByMethod 18112 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Active 18113 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_Classification 18114 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 18115 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalByParent 18117 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Active 18118 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalByParent_Classification 18119 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 18120 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalFromError 18122 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Active 18123 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalFromError_Classification 18124 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 18125 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StatePausedByParent 18127 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StatePausedByParent_Active 18128 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StatePausedByParent_Classification 18129 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 18130 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateDisabledByMethod 18132 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Active 18133 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_Classification 18134 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 18135 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_FailedDataSetMessages 18138 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_Active 18139 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_Classification 18140 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_FailedDataSetMessages_DiagnosticsLevel 18141 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_DecryptionErrors_Active 18144 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_DecryptionErrors_Classification 18145 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_Counters_DecryptionErrors_DiagnosticsLevel 18146 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_LiveValues_MessageSequenceNumber_DiagnosticsLevel 18149 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_LiveValues_StatusCode_DiagnosticsLevel 18151 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_LiveValues_MajorVersion_DiagnosticsLevel 18153 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_LiveValues_MinorVersion_DiagnosticsLevel 18158 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_LiveValues_SecurityTokenID_DiagnosticsLevel 21003 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_Diagnostics_LiveValues_TimeToNextTokenID_DiagnosticsLevel 21005 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_CreateTargetVariables_InputArguments 21010 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_CreateTargetVariables_OutputArguments 21011 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_CreateDataSetMirror_InputArguments 21013 #define OpcUaId_ReaderGroupType_DataSetReaderName_Placeholder_CreateDataSetMirror_OutputArguments 21014 #define OpcUaId_ReaderGroupType_Diagnostics_DiagnosticsLevel 21016 #define OpcUaId_ReaderGroupType_Diagnostics_TotalInformation 21017 #define OpcUaId_ReaderGroupType_Diagnostics_TotalInformation_Active 21018 #define OpcUaId_ReaderGroupType_Diagnostics_TotalInformation_Classification 21019 #define OpcUaId_ReaderGroupType_Diagnostics_TotalInformation_DiagnosticsLevel 21020 #define OpcUaId_ReaderGroupType_Diagnostics_TotalError 21022 #define OpcUaId_ReaderGroupType_Diagnostics_TotalError_Active 21023 #define OpcUaId_ReaderGroupType_Diagnostics_TotalError_Classification 21024 #define OpcUaId_ReaderGroupType_Diagnostics_TotalError_DiagnosticsLevel 21025 #define OpcUaId_ReaderGroupType_Diagnostics_SubError 21028 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateError 21030 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateError_Active 21031 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateError_Classification 21032 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateError_DiagnosticsLevel 21033 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalByMethod 21035 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalByMethod_Active 21036 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalByMethod_Classification 21037 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 21038 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalByParent 21040 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalByParent_Active 21041 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalByParent_Classification 21042 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 21043 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalFromError 21045 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalFromError_Active 21046 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalFromError_Classification 21047 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 21048 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StatePausedByParent 21050 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StatePausedByParent_Active 21051 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StatePausedByParent_Classification 21052 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 21053 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateDisabledByMethod 21055 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateDisabledByMethod_Active 21056 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateDisabledByMethod_Classification 21057 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 21058 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_ReceivedNetworkMessages 21061 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_ReceivedNetworkMessages_Active 21062 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_ReceivedNetworkMessages_Classification 21063 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_ReceivedNetworkMessages_DiagnosticsLevel 21064 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_ReceivedInvalidNetworkMessages_Active 21067 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_ReceivedInvalidNetworkMessages_Classification 21068 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_ReceivedInvalidNetworkMessages_DiagnosticsLevel 21069 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_DecryptionErrors_Active 21072 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_DecryptionErrors_Classification 21073 #define OpcUaId_ReaderGroupType_Diagnostics_Counters_DecryptionErrors_DiagnosticsLevel 21074 #define OpcUaId_ReaderGroupType_Diagnostics_LiveValues_ConfiguredDataSetReaders 21076 #define OpcUaId_ReaderGroupType_Diagnostics_LiveValues_ConfiguredDataSetReaders_DiagnosticsLevel 21077 #define OpcUaId_ReaderGroupType_Diagnostics_LiveValues_OperationalDataSetReaders 21078 #define OpcUaId_ReaderGroupType_Diagnostics_LiveValues_OperationalDataSetReaders_DiagnosticsLevel 21079 #define OpcUaId_ReaderGroupType_AddDataSetReader_InputArguments 21083 #define OpcUaId_ReaderGroupType_AddDataSetReader_OutputArguments 21084 #define OpcUaId_ReaderGroupType_RemoveDataSetReader_InputArguments 21086 #define OpcUaId_DataSetWriterType_DataSetWriterId 21092 #define OpcUaId_DataSetWriterType_DataSetFieldContentMask 21093 #define OpcUaId_DataSetWriterType_KeyFrameCount 21094 #define OpcUaId_DataSetWriterType_DataSetWriterProperties 17493 #define OpcUaId_DataSetWriterType_Status_State 15300 #define OpcUaId_DataSetWriterType_Diagnostics_DiagnosticsLevel 19551 #define OpcUaId_DataSetWriterType_Diagnostics_TotalInformation 19552 #define OpcUaId_DataSetWriterType_Diagnostics_TotalInformation_Active 19553 #define OpcUaId_DataSetWriterType_Diagnostics_TotalInformation_Classification 19554 #define OpcUaId_DataSetWriterType_Diagnostics_TotalInformation_DiagnosticsLevel 19555 #define OpcUaId_DataSetWriterType_Diagnostics_TotalError 19557 #define OpcUaId_DataSetWriterType_Diagnostics_TotalError_Active 19558 #define OpcUaId_DataSetWriterType_Diagnostics_TotalError_Classification 19559 #define OpcUaId_DataSetWriterType_Diagnostics_TotalError_DiagnosticsLevel 19560 #define OpcUaId_DataSetWriterType_Diagnostics_SubError 19563 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateError 19565 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateError_Active 19566 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateError_Classification 19567 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateError_DiagnosticsLevel 19568 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalByMethod 19570 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalByMethod_Active 19571 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalByMethod_Classification 19572 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 19573 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalByParent 19575 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalByParent_Active 19576 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalByParent_Classification 19577 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 19578 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalFromError 19580 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalFromError_Active 19581 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalFromError_Classification 19582 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 19583 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StatePausedByParent 19585 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StatePausedByParent_Active 19586 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StatePausedByParent_Classification 19587 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 19588 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateDisabledByMethod 19590 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateDisabledByMethod_Active 19591 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateDisabledByMethod_Classification 19592 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 19593 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_FailedDataSetMessages 19596 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_FailedDataSetMessages_Active 19597 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_FailedDataSetMessages_Classification 19598 #define OpcUaId_DataSetWriterType_Diagnostics_Counters_FailedDataSetMessages_DiagnosticsLevel 19599 #define OpcUaId_DataSetWriterType_Diagnostics_LiveValues_MessageSequenceNumber_DiagnosticsLevel 19602 #define OpcUaId_DataSetWriterType_Diagnostics_LiveValues_StatusCode_DiagnosticsLevel 19604 #define OpcUaId_DataSetWriterType_Diagnostics_LiveValues_MajorVersion_DiagnosticsLevel 19606 #define OpcUaId_DataSetWriterType_Diagnostics_LiveValues_MinorVersion_DiagnosticsLevel 19608 #define OpcUaId_DataSetReaderType_PublisherId 21097 #define OpcUaId_DataSetReaderType_WriterGroupId 21098 #define OpcUaId_DataSetReaderType_DataSetWriterId 21099 #define OpcUaId_DataSetReaderType_DataSetMetaData 21100 #define OpcUaId_DataSetReaderType_DataSetFieldContentMask 21101 #define OpcUaId_DataSetReaderType_MessageReceiveTimeout 21102 #define OpcUaId_DataSetReaderType_KeyFrameCount 17563 #define OpcUaId_DataSetReaderType_HeaderLayoutUri 17564 #define OpcUaId_DataSetReaderType_SecurityMode 15932 #define OpcUaId_DataSetReaderType_SecurityGroupId 15933 #define OpcUaId_DataSetReaderType_SecurityKeyServices 15934 #define OpcUaId_DataSetReaderType_DataSetReaderProperties 17494 #define OpcUaId_DataSetReaderType_Status_State 15308 #define OpcUaId_DataSetReaderType_Diagnostics_DiagnosticsLevel 19610 #define OpcUaId_DataSetReaderType_Diagnostics_TotalInformation 19611 #define OpcUaId_DataSetReaderType_Diagnostics_TotalInformation_Active 19612 #define OpcUaId_DataSetReaderType_Diagnostics_TotalInformation_Classification 19613 #define OpcUaId_DataSetReaderType_Diagnostics_TotalInformation_DiagnosticsLevel 19614 #define OpcUaId_DataSetReaderType_Diagnostics_TotalError 19616 #define OpcUaId_DataSetReaderType_Diagnostics_TotalError_Active 19617 #define OpcUaId_DataSetReaderType_Diagnostics_TotalError_Classification 19618 #define OpcUaId_DataSetReaderType_Diagnostics_TotalError_DiagnosticsLevel 19619 #define OpcUaId_DataSetReaderType_Diagnostics_SubError 19622 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateError 19624 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateError_Active 19625 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateError_Classification 19626 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateError_DiagnosticsLevel 19627 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalByMethod 19629 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalByMethod_Active 19630 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalByMethod_Classification 19631 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalByMethod_DiagnosticsLevel 19632 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalByParent 19634 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalByParent_Active 19635 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalByParent_Classification 19636 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalByParent_DiagnosticsLevel 19637 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalFromError 19639 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalFromError_Active 19640 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalFromError_Classification 19641 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateOperationalFromError_DiagnosticsLevel 19642 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StatePausedByParent 19644 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StatePausedByParent_Active 19645 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StatePausedByParent_Classification 19646 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StatePausedByParent_DiagnosticsLevel 19647 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateDisabledByMethod 19649 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateDisabledByMethod_Active 19650 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateDisabledByMethod_Classification 19651 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_StateDisabledByMethod_DiagnosticsLevel 19652 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_FailedDataSetMessages 19655 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_FailedDataSetMessages_Active 19656 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_FailedDataSetMessages_Classification 19657 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_FailedDataSetMessages_DiagnosticsLevel 19658 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_DecryptionErrors_Active 19661 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_DecryptionErrors_Classification 19662 #define OpcUaId_DataSetReaderType_Diagnostics_Counters_DecryptionErrors_DiagnosticsLevel 19663 #define OpcUaId_DataSetReaderType_Diagnostics_LiveValues_MessageSequenceNumber_DiagnosticsLevel 19666 #define OpcUaId_DataSetReaderType_Diagnostics_LiveValues_StatusCode_DiagnosticsLevel 19668 #define OpcUaId_DataSetReaderType_Diagnostics_LiveValues_MajorVersion_DiagnosticsLevel 19670 #define OpcUaId_DataSetReaderType_Diagnostics_LiveValues_MinorVersion_DiagnosticsLevel 19672 #define OpcUaId_DataSetReaderType_Diagnostics_LiveValues_SecurityTokenID_DiagnosticsLevel 19674 #define OpcUaId_DataSetReaderType_Diagnostics_LiveValues_TimeToNextTokenID_DiagnosticsLevel 19676 #define OpcUaId_DataSetReaderType_CreateTargetVariables_InputArguments 17387 #define OpcUaId_DataSetReaderType_CreateTargetVariables_OutputArguments 17388 #define OpcUaId_DataSetReaderType_CreateDataSetMirror_InputArguments 17390 #define OpcUaId_DataSetReaderType_CreateDataSetMirror_OutputArguments 17391 #define OpcUaId_TargetVariablesType_TargetVariables 15114 #define OpcUaId_TargetVariablesType_AddTargetVariables_InputArguments 15116 #define OpcUaId_TargetVariablesType_AddTargetVariables_OutputArguments 15117 #define OpcUaId_TargetVariablesType_RemoveTargetVariables_InputArguments 15119 #define OpcUaId_TargetVariablesType_RemoveTargetVariables_OutputArguments 15120 #define OpcUaId_PubSubStatusType_State 14644 #define OpcUaId_PubSubDiagnosticsType_DiagnosticsLevel 19678 #define OpcUaId_PubSubDiagnosticsType_TotalInformation 19679 #define OpcUaId_PubSubDiagnosticsType_TotalInformation_Active 19680 #define OpcUaId_PubSubDiagnosticsType_TotalInformation_Classification 19681 #define OpcUaId_PubSubDiagnosticsType_TotalInformation_DiagnosticsLevel 19682 #define OpcUaId_PubSubDiagnosticsType_TotalError 19684 #define OpcUaId_PubSubDiagnosticsType_TotalError_Active 19685 #define OpcUaId_PubSubDiagnosticsType_TotalError_Classification 19686 #define OpcUaId_PubSubDiagnosticsType_TotalError_DiagnosticsLevel 19687 #define OpcUaId_PubSubDiagnosticsType_SubError 19690 #define OpcUaId_PubSubDiagnosticsType_Counters_StateError 19692 #define OpcUaId_PubSubDiagnosticsType_Counters_StateError_Active 19693 #define OpcUaId_PubSubDiagnosticsType_Counters_StateError_Classification 19694 #define OpcUaId_PubSubDiagnosticsType_Counters_StateError_DiagnosticsLevel 19695 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalByMethod 19697 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalByMethod_Active 19698 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalByMethod_Classification 19699 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalByMethod_DiagnosticsLevel 19700 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalByParent 19702 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalByParent_Active 19703 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalByParent_Classification 19704 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalByParent_DiagnosticsLevel 19705 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalFromError 19707 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalFromError_Active 19708 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalFromError_Classification 19709 #define OpcUaId_PubSubDiagnosticsType_Counters_StateOperationalFromError_DiagnosticsLevel 19710 #define OpcUaId_PubSubDiagnosticsType_Counters_StatePausedByParent 19712 #define OpcUaId_PubSubDiagnosticsType_Counters_StatePausedByParent_Active 19713 #define OpcUaId_PubSubDiagnosticsType_Counters_StatePausedByParent_Classification 19714 #define OpcUaId_PubSubDiagnosticsType_Counters_StatePausedByParent_DiagnosticsLevel 19715 #define OpcUaId_PubSubDiagnosticsType_Counters_StateDisabledByMethod 19717 #define OpcUaId_PubSubDiagnosticsType_Counters_StateDisabledByMethod_Active 19718 #define OpcUaId_PubSubDiagnosticsType_Counters_StateDisabledByMethod_Classification 19719 #define OpcUaId_PubSubDiagnosticsType_Counters_StateDisabledByMethod_DiagnosticsLevel 19720 #define OpcUaId_DiagnosticsLevel_EnumStrings 19724 #define OpcUaId_PubSubDiagnosticsCounterType_Active 19726 #define OpcUaId_PubSubDiagnosticsCounterType_Classification 19727 #define OpcUaId_PubSubDiagnosticsCounterType_DiagnosticsLevel 19728 #define OpcUaId_PubSubDiagnosticsCounterType_TimeFirstChange 19729 #define OpcUaId_PubSubDiagnosticsCounterClassification_EnumStrings 19731 #define OpcUaId_PubSubDiagnosticsRootType_TotalInformation_Active 19735 #define OpcUaId_PubSubDiagnosticsRootType_TotalInformation_Classification 19736 #define OpcUaId_PubSubDiagnosticsRootType_TotalInformation_DiagnosticsLevel 19737 #define OpcUaId_PubSubDiagnosticsRootType_TotalError_Active 19740 #define OpcUaId_PubSubDiagnosticsRootType_TotalError_Classification 19741 #define OpcUaId_PubSubDiagnosticsRootType_TotalError_DiagnosticsLevel 19742 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateError 19747 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateError_Active 19748 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateError_Classification 19749 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateError_DiagnosticsLevel 19750 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalByMethod 19752 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalByMethod_Active 19753 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalByMethod_Classification 19754 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalByMethod_DiagnosticsLevel 19755 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalByParent 19757 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalByParent_Active 19758 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalByParent_Classification 19759 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalByParent_DiagnosticsLevel 19760 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalFromError 19762 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalFromError_Active 19763 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalFromError_Classification 19764 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateOperationalFromError_DiagnosticsLevel 19765 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StatePausedByParent 19767 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StatePausedByParent_Active 19768 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StatePausedByParent_Classification 19769 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StatePausedByParent_DiagnosticsLevel 19770 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateDisabledByMethod 19772 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateDisabledByMethod_Active 19773 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateDisabledByMethod_Classification 19774 #define OpcUaId_PubSubDiagnosticsRootType_Counters_StateDisabledByMethod_DiagnosticsLevel 19775 #define OpcUaId_PubSubDiagnosticsRootType_LiveValues_ConfiguredDataSetWriters 19778 #define OpcUaId_PubSubDiagnosticsRootType_LiveValues_ConfiguredDataSetWriters_DiagnosticsLevel 19779 #define OpcUaId_PubSubDiagnosticsRootType_LiveValues_ConfiguredDataSetReaders 19780 #define OpcUaId_PubSubDiagnosticsRootType_LiveValues_ConfiguredDataSetReaders_DiagnosticsLevel 19781 #define OpcUaId_PubSubDiagnosticsRootType_LiveValues_OperationalDataSetWriters 19782 #define OpcUaId_PubSubDiagnosticsRootType_LiveValues_OperationalDataSetWriters_DiagnosticsLevel 19783 #define OpcUaId_PubSubDiagnosticsRootType_LiveValues_OperationalDataSetReaders 19784 #define OpcUaId_PubSubDiagnosticsRootType_LiveValues_OperationalDataSetReaders_DiagnosticsLevel 19785 #define OpcUaId_PubSubDiagnosticsConnectionType_TotalInformation_Active 19789 #define OpcUaId_PubSubDiagnosticsConnectionType_TotalInformation_Classification 19790 #define OpcUaId_PubSubDiagnosticsConnectionType_TotalInformation_DiagnosticsLevel 19791 #define OpcUaId_PubSubDiagnosticsConnectionType_TotalError_Active 19794 #define OpcUaId_PubSubDiagnosticsConnectionType_TotalError_Classification 19795 #define OpcUaId_PubSubDiagnosticsConnectionType_TotalError_DiagnosticsLevel 19796 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateError 19801 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateError_Active 19802 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateError_Classification 19803 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateError_DiagnosticsLevel 19804 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalByMethod 19806 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalByMethod_Active 19807 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalByMethod_Classification 19808 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalByMethod_DiagnosticsLevel 19809 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalByParent 19811 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalByParent_Active 19812 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalByParent_Classification 19813 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalByParent_DiagnosticsLevel 19814 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalFromError 19816 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalFromError_Active 19817 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalFromError_Classification 19818 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateOperationalFromError_DiagnosticsLevel 19819 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StatePausedByParent 19821 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StatePausedByParent_Active 19822 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StatePausedByParent_Classification 19823 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StatePausedByParent_DiagnosticsLevel 19824 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateDisabledByMethod 19826 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateDisabledByMethod_Active 19827 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateDisabledByMethod_Classification 19828 #define OpcUaId_PubSubDiagnosticsConnectionType_Counters_StateDisabledByMethod_DiagnosticsLevel 19829 #define OpcUaId_PubSubDiagnosticsConnectionType_LiveValues_ResolvedAddress 19832 #define OpcUaId_PubSubDiagnosticsConnectionType_LiveValues_ResolvedAddress_DiagnosticsLevel 19833 #define OpcUaId_PubSubDiagnosticsWriterGroupType_TotalInformation_Active 19837 #define OpcUaId_PubSubDiagnosticsWriterGroupType_TotalInformation_Classification 19838 #define OpcUaId_PubSubDiagnosticsWriterGroupType_TotalInformation_DiagnosticsLevel 19839 #define OpcUaId_PubSubDiagnosticsWriterGroupType_TotalError_Active 19842 #define OpcUaId_PubSubDiagnosticsWriterGroupType_TotalError_Classification 19843 #define OpcUaId_PubSubDiagnosticsWriterGroupType_TotalError_DiagnosticsLevel 19844 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateError 19849 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateError_Active 19850 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateError_Classification 19851 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateError_DiagnosticsLevel 19852 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalByMethod 19854 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalByMethod_Active 19855 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalByMethod_Classification 19856 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalByMethod_DiagnosticsLevel 19857 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalByParent 19859 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalByParent_Active 19860 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalByParent_Classification 19861 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalByParent_DiagnosticsLevel 19862 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalFromError 19864 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalFromError_Active 19865 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalFromError_Classification 19866 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateOperationalFromError_DiagnosticsLevel 19867 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StatePausedByParent 19869 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StatePausedByParent_Active 19870 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StatePausedByParent_Classification 19871 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StatePausedByParent_DiagnosticsLevel 19872 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateDisabledByMethod 19874 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateDisabledByMethod_Active 19875 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateDisabledByMethod_Classification 19876 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_StateDisabledByMethod_DiagnosticsLevel 19877 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_SentNetworkMessages 19880 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_SentNetworkMessages_Active 19881 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_SentNetworkMessages_Classification 19882 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_SentNetworkMessages_DiagnosticsLevel 19883 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_FailedTransmissions 19885 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_FailedTransmissions_Active 19886 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_FailedTransmissions_Classification 19887 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_FailedTransmissions_DiagnosticsLevel 19888 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_EncryptionErrors 19890 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_EncryptionErrors_Active 19891 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_EncryptionErrors_Classification 19892 #define OpcUaId_PubSubDiagnosticsWriterGroupType_Counters_EncryptionErrors_DiagnosticsLevel 19893 #define OpcUaId_PubSubDiagnosticsWriterGroupType_LiveValues_ConfiguredDataSetWriters 19895 #define OpcUaId_PubSubDiagnosticsWriterGroupType_LiveValues_ConfiguredDataSetWriters_DiagnosticsLevel 19896 #define OpcUaId_PubSubDiagnosticsWriterGroupType_LiveValues_OperationalDataSetWriters 19897 #define OpcUaId_PubSubDiagnosticsWriterGroupType_LiveValues_OperationalDataSetWriters_DiagnosticsLevel 19898 #define OpcUaId_PubSubDiagnosticsWriterGroupType_LiveValues_SecurityTokenID 19899 #define OpcUaId_PubSubDiagnosticsWriterGroupType_LiveValues_SecurityTokenID_DiagnosticsLevel 19900 #define OpcUaId_PubSubDiagnosticsWriterGroupType_LiveValues_TimeToNextTokenID 19901 #define OpcUaId_PubSubDiagnosticsWriterGroupType_LiveValues_TimeToNextTokenID_DiagnosticsLevel 19902 #define OpcUaId_PubSubDiagnosticsReaderGroupType_TotalInformation_Active 19906 #define OpcUaId_PubSubDiagnosticsReaderGroupType_TotalInformation_Classification 19907 #define OpcUaId_PubSubDiagnosticsReaderGroupType_TotalInformation_DiagnosticsLevel 19908 #define OpcUaId_PubSubDiagnosticsReaderGroupType_TotalError_Active 19911 #define OpcUaId_PubSubDiagnosticsReaderGroupType_TotalError_Classification 19912 #define OpcUaId_PubSubDiagnosticsReaderGroupType_TotalError_DiagnosticsLevel 19913 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateError 19918 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateError_Active 19919 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateError_Classification 19920 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateError_DiagnosticsLevel 19921 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalByMethod 19923 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalByMethod_Active 19924 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalByMethod_Classification 19925 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalByMethod_DiagnosticsLevel 19926 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalByParent 19928 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalByParent_Active 19929 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalByParent_Classification 19930 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalByParent_DiagnosticsLevel 19931 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalFromError 19933 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalFromError_Active 19934 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalFromError_Classification 19935 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateOperationalFromError_DiagnosticsLevel 19936 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StatePausedByParent 19938 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StatePausedByParent_Active 19939 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StatePausedByParent_Classification 19940 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StatePausedByParent_DiagnosticsLevel 19941 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateDisabledByMethod 19943 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateDisabledByMethod_Active 19944 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateDisabledByMethod_Classification 19945 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_StateDisabledByMethod_DiagnosticsLevel 19946 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_ReceivedNetworkMessages 19949 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_ReceivedNetworkMessages_Active 19950 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_ReceivedNetworkMessages_Classification 19951 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_ReceivedNetworkMessages_DiagnosticsLevel 19952 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_ReceivedInvalidNetworkMessages 19954 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_ReceivedInvalidNetworkMessages_Active 19955 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_ReceivedInvalidNetworkMessages_Classification 19956 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_ReceivedInvalidNetworkMessages_DiagnosticsLevel 19957 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_DecryptionErrors 19959 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_DecryptionErrors_Active 19960 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_DecryptionErrors_Classification 19961 #define OpcUaId_PubSubDiagnosticsReaderGroupType_Counters_DecryptionErrors_DiagnosticsLevel 19962 #define OpcUaId_PubSubDiagnosticsReaderGroupType_LiveValues_ConfiguredDataSetReaders 19964 #define OpcUaId_PubSubDiagnosticsReaderGroupType_LiveValues_ConfiguredDataSetReaders_DiagnosticsLevel 19965 #define OpcUaId_PubSubDiagnosticsReaderGroupType_LiveValues_OperationalDataSetReaders 19966 #define OpcUaId_PubSubDiagnosticsReaderGroupType_LiveValues_OperationalDataSetReaders_DiagnosticsLevel 19967 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_TotalInformation_Active 19971 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_TotalInformation_Classification 19972 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_TotalInformation_DiagnosticsLevel 19973 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_TotalError_Active 19976 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_TotalError_Classification 19977 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_TotalError_DiagnosticsLevel 19978 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateError 19983 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateError_Active 19984 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateError_Classification 19985 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateError_DiagnosticsLevel 19986 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalByMethod 19988 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalByMethod_Active 19989 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalByMethod_Classification 19990 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalByMethod_DiagnosticsLevel 19991 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalByParent 19993 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalByParent_Active 19994 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalByParent_Classification 19995 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalByParent_DiagnosticsLevel 19996 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalFromError 19998 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalFromError_Active 19999 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalFromError_Classification 20000 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateOperationalFromError_DiagnosticsLevel 20001 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StatePausedByParent 20003 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StatePausedByParent_Active 20004 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StatePausedByParent_Classification 20005 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StatePausedByParent_DiagnosticsLevel 20006 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateDisabledByMethod 20008 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateDisabledByMethod_Active 20009 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateDisabledByMethod_Classification 20010 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_StateDisabledByMethod_DiagnosticsLevel 20011 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_FailedDataSetMessages 20014 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_FailedDataSetMessages_Active 20015 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_FailedDataSetMessages_Classification 20016 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_Counters_FailedDataSetMessages_DiagnosticsLevel 20017 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_LiveValues_MessageSequenceNumber 20019 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_LiveValues_MessageSequenceNumber_DiagnosticsLevel 20020 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_LiveValues_StatusCode 20021 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_LiveValues_StatusCode_DiagnosticsLevel 20022 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_LiveValues_MajorVersion 20023 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_LiveValues_MajorVersion_DiagnosticsLevel 20024 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_LiveValues_MinorVersion 20025 #define OpcUaId_PubSubDiagnosticsDataSetWriterType_LiveValues_MinorVersion_DiagnosticsLevel 20026 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_TotalInformation_Active 20030 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_TotalInformation_Classification 20031 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_TotalInformation_DiagnosticsLevel 20032 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_TotalError_Active 20035 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_TotalError_Classification 20036 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_TotalError_DiagnosticsLevel 20037 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateError 20042 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateError_Active 20043 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateError_Classification 20044 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateError_DiagnosticsLevel 20045 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalByMethod 20047 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalByMethod_Active 20048 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalByMethod_Classification 20049 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalByMethod_DiagnosticsLevel 20050 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalByParent 20052 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalByParent_Active 20053 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalByParent_Classification 20054 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalByParent_DiagnosticsLevel 20055 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalFromError 20057 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalFromError_Active 20058 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalFromError_Classification 20059 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateOperationalFromError_DiagnosticsLevel 20060 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StatePausedByParent 20062 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StatePausedByParent_Active 20063 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StatePausedByParent_Classification 20064 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StatePausedByParent_DiagnosticsLevel 20065 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateDisabledByMethod 20067 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateDisabledByMethod_Active 20068 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateDisabledByMethod_Classification 20069 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_StateDisabledByMethod_DiagnosticsLevel 20070 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_FailedDataSetMessages 20073 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_FailedDataSetMessages_Active 20074 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_FailedDataSetMessages_Classification 20075 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_FailedDataSetMessages_DiagnosticsLevel 20076 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_DecryptionErrors 20078 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_DecryptionErrors_Active 20079 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_DecryptionErrors_Classification 20080 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_Counters_DecryptionErrors_DiagnosticsLevel 20081 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_MessageSequenceNumber 20083 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_MessageSequenceNumber_DiagnosticsLevel 20084 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_StatusCode 20085 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_StatusCode_DiagnosticsLevel 20086 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_MajorVersion 20087 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_MajorVersion_DiagnosticsLevel 20088 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_MinorVersion 20089 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_MinorVersion_DiagnosticsLevel 20090 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_SecurityTokenID 20091 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_SecurityTokenID_DiagnosticsLevel 20092 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_TimeToNextTokenID 20093 #define OpcUaId_PubSubDiagnosticsDataSetReaderType_LiveValues_TimeToNextTokenID_DiagnosticsLevel 20094 #define OpcUaId_PubSubStatusEventType_ConnectionId 15545 #define OpcUaId_PubSubStatusEventType_GroupId 15546 #define OpcUaId_PubSubStatusEventType_State 15547 #define OpcUaId_PubSubTransportLimitsExceedEventType_Actual 15561 #define OpcUaId_PubSubTransportLimitsExceedEventType_Maximum 15562 #define OpcUaId_PubSubCommunicationFailureEventType_Error 15576 #define OpcUaId_UadpWriterGroupMessageType_GroupVersion 21106 #define OpcUaId_UadpWriterGroupMessageType_DataSetOrdering 21107 #define OpcUaId_UadpWriterGroupMessageType_NetworkMessageContentMask 21108 #define OpcUaId_UadpWriterGroupMessageType_SamplingOffset 21109 #define OpcUaId_UadpWriterGroupMessageType_PublishingOffset 21110 #define OpcUaId_UadpDataSetWriterMessageType_DataSetMessageContentMask 21112 #define OpcUaId_UadpDataSetWriterMessageType_ConfiguredSize 21113 #define OpcUaId_UadpDataSetWriterMessageType_NetworkMessageNumber 21114 #define OpcUaId_UadpDataSetWriterMessageType_DataSetOffset 21115 #define OpcUaId_UadpDataSetReaderMessageType_GroupVersion 21117 #define OpcUaId_UadpDataSetReaderMessageType_NetworkMessageNumber 21119 #define OpcUaId_UadpDataSetReaderMessageType_DataSetOffset 17477 #define OpcUaId_UadpDataSetReaderMessageType_DataSetClassId 21120 #define OpcUaId_UadpDataSetReaderMessageType_NetworkMessageContentMask 21121 #define OpcUaId_UadpDataSetReaderMessageType_DataSetMessageContentMask 21122 #define OpcUaId_UadpDataSetReaderMessageType_PublishingInterval 21123 #define OpcUaId_UadpDataSetReaderMessageType_ProcessingOffset 21124 #define OpcUaId_UadpDataSetReaderMessageType_ReceiveOffset 21125 #define OpcUaId_JsonWriterGroupMessageType_NetworkMessageContentMask 21127 #define OpcUaId_JsonDataSetWriterMessageType_DataSetMessageContentMask 21129 #define OpcUaId_JsonDataSetReaderMessageType_NetworkMessageContentMask 21131 #define OpcUaId_JsonDataSetReaderMessageType_DataSetMessageContentMask 21132 #define OpcUaId_DatagramConnectionTransportType_DiscoveryAddress_NetworkInterface 15154 #define OpcUaId_DatagramConnectionTransportType_DiscoveryAddress_NetworkInterface_Selections 17579 #define OpcUaId_DatagramWriterGroupTransportType_MessageRepeatCount 21134 #define OpcUaId_DatagramWriterGroupTransportType_MessageRepeatDelay 21135 #define OpcUaId_BrokerConnectionTransportType_ResourceUri 15156 #define OpcUaId_BrokerConnectionTransportType_AuthenticationProfileUri 15178 #define OpcUaId_BrokerWriterGroupTransportType_QueueName 21137 #define OpcUaId_BrokerWriterGroupTransportType_ResourceUri 15246 #define OpcUaId_BrokerWriterGroupTransportType_AuthenticationProfileUri 15247 #define OpcUaId_BrokerWriterGroupTransportType_RequestedDeliveryGuarantee 15249 #define OpcUaId_BrokerDataSetWriterTransportType_QueueName 21139 #define OpcUaId_BrokerDataSetWriterTransportType_MetaDataQueueName 21140 #define OpcUaId_BrokerDataSetWriterTransportType_ResourceUri 15250 #define OpcUaId_BrokerDataSetWriterTransportType_AuthenticationProfileUri 15251 #define OpcUaId_BrokerDataSetWriterTransportType_RequestedDeliveryGuarantee 15330 #define OpcUaId_BrokerDataSetWriterTransportType_MetaDataUpdateTime 21141 #define OpcUaId_BrokerDataSetReaderTransportType_QueueName 21143 #define OpcUaId_BrokerDataSetReaderTransportType_ResourceUri 15334 #define OpcUaId_BrokerDataSetReaderTransportType_AuthenticationProfileUri 15419 #define OpcUaId_BrokerDataSetReaderTransportType_RequestedDeliveryGuarantee 15420 #define OpcUaId_BrokerDataSetReaderTransportType_MetaDataQueueName 21144 #define OpcUaId_NetworkAddressType_NetworkInterface 21146 #define OpcUaId_NetworkAddressType_NetworkInterface_Selections 17582 #define OpcUaId_NetworkAddressUrlType_NetworkInterface_Selections 17585 #define OpcUaId_NetworkAddressUrlType_Url 21149 #define OpcUaId_AliasNameCategoryType_SubAliasNameCategories_Placeholder_FindAlias_InputArguments 23460 #define OpcUaId_AliasNameCategoryType_SubAliasNameCategories_Placeholder_FindAlias_OutputArguments 23461 #define OpcUaId_AliasNameCategoryType_FindAlias_InputArguments 23463 #define OpcUaId_AliasNameCategoryType_FindAlias_OutputArguments 23464 #define OpcUaId_Aliases_SubAliasNameCategories_Placeholder_FindAlias_InputArguments 23474 #define OpcUaId_Aliases_SubAliasNameCategories_Placeholder_FindAlias_OutputArguments 23475 #define OpcUaId_Aliases_FindAlias_InputArguments 23477 #define OpcUaId_Aliases_FindAlias_OutputArguments 23478 #define OpcUaId_Tags_SubAliasNameCategories_Placeholder_FindAlias_InputArguments 23483 #define OpcUaId_Tags_SubAliasNameCategories_Placeholder_FindAlias_OutputArguments 23484 #define OpcUaId_Tags_FindAlias_InputArguments 23486 #define OpcUaId_Tags_FindAlias_OutputArguments 23487 #define OpcUaId_Topics_SubAliasNameCategories_Placeholder_FindAlias_InputArguments 23492 #define OpcUaId_Topics_SubAliasNameCategories_Placeholder_FindAlias_OutputArguments 23493 #define OpcUaId_Topics_FindAlias_InputArguments 23495 #define OpcUaId_Topics_FindAlias_OutputArguments 23496 #define OpcUaId_MultiStateDictionaryEntryDiscreteBaseType_EnumDictionaryEntries 19082 #define OpcUaId_MultiStateDictionaryEntryDiscreteBaseType_ValueAsDictionaryEntries 19083 #define OpcUaId_MultiStateDictionaryEntryDiscreteType_ValueAsDictionaryEntries 19090 #define OpcUaId_IdType_EnumStrings 7591 #define OpcUaId_NodeClass_EnumValues 11878 #define OpcUaId_PermissionType_OptionSetValues 15030 #define OpcUaId_AccessLevelType_OptionSetValues 15032 #define OpcUaId_AccessLevelExType_OptionSetValues 15407 #define OpcUaId_EventNotifierType_OptionSetValues 15034 #define OpcUaId_AccessRestrictionType_OptionSetValues 15035 #define OpcUaId_StructureType_EnumStrings 14528 #define OpcUaId_ApplicationType_EnumStrings 7597 #define OpcUaId_MessageSecurityMode_EnumStrings 7595 #define OpcUaId_UserTokenType_EnumStrings 7596 #define OpcUaId_SecurityTokenRequestType_EnumStrings 7598 #define OpcUaId_NodeAttributesMask_EnumValues 11881 #define OpcUaId_AttributeWriteMask_OptionSetValues 15036 #define OpcUaId_BrowseDirection_EnumStrings 7603 #define OpcUaId_BrowseResultMask_EnumValues 11883 #define OpcUaId_FilterOperator_EnumStrings 7605 #define OpcUaId_TimestampsToReturn_EnumStrings 7606 #define OpcUaId_HistoryUpdateType_EnumValues 11884 #define OpcUaId_PerformUpdateType_EnumValues 11885 #define OpcUaId_MonitoringMode_EnumStrings 7608 #define OpcUaId_DataChangeTrigger_EnumStrings 7609 #define OpcUaId_DeadbandType_EnumStrings 7610 #define OpcUaId_RedundancySupport_EnumStrings 7611 #define OpcUaId_ServerState_EnumStrings 7612 #define OpcUaId_ModelChangeStructureVerbMask_EnumValues 11942 #define OpcUaId_AxisScaleEnumeration_EnumStrings 12078 #define OpcUaId_ExceptionDeviationFormat_EnumStrings 7614 #define OpcUaId_OpcUa_BinarySchema 7617 #define OpcUaId_OpcUa_BinarySchema_NamespaceUri 7619 #define OpcUaId_OpcUa_BinarySchema_Deprecated 15037 #define OpcUaId_OpcUa_BinarySchema_CurrencyUnitType 23514 #define OpcUaId_OpcUa_BinarySchema_CurrencyUnit 23517 #define OpcUaId_OpcUa_BinarySchema_KeyValuePair 14873 #define OpcUaId_OpcUa_BinarySchema_AdditionalParametersType 17538 #define OpcUaId_OpcUa_BinarySchema_EphemeralKeyType 17550 #define OpcUaId_OpcUa_BinarySchema_EndpointType 15734 #define OpcUaId_OpcUa_BinarySchema_RationalNumber 18824 #define OpcUaId_OpcUa_BinarySchema_Vector 18827 #define OpcUaId_OpcUa_BinarySchema_ThreeDVector 18830 #define OpcUaId_OpcUa_BinarySchema_CartesianCoordinates 18833 #define OpcUaId_OpcUa_BinarySchema_ThreeDCartesianCoordinates 18836 #define OpcUaId_OpcUa_BinarySchema_Orientation 18839 #define OpcUaId_OpcUa_BinarySchema_ThreeDOrientation 18842 #define OpcUaId_OpcUa_BinarySchema_Frame 18845 #define OpcUaId_OpcUa_BinarySchema_ThreeDFrame 18848 #define OpcUaId_OpcUa_BinarySchema_IdentityMappingRuleType 15738 #define OpcUaId_OpcUa_BinarySchema_TrustListDataType 12681 #define OpcUaId_OpcUa_BinarySchema_DataTypeSchemaHeader 15741 #define OpcUaId_OpcUa_BinarySchema_DataTypeDescription 14855 #define OpcUaId_OpcUa_BinarySchema_StructureDescription 15599 #define OpcUaId_OpcUa_BinarySchema_EnumDescription 15602 #define OpcUaId_OpcUa_BinarySchema_SimpleTypeDescription 15501 #define OpcUaId_OpcUa_BinarySchema_UABinaryFileDataType 15521 #define OpcUaId_OpcUa_BinarySchema_DataSetMetaDataType 14849 #define OpcUaId_OpcUa_BinarySchema_FieldMetaData 14852 #define OpcUaId_OpcUa_BinarySchema_ConfigurationVersionDataType 14876 #define OpcUaId_OpcUa_BinarySchema_PublishedDataSetDataType 15766 #define OpcUaId_OpcUa_BinarySchema_PublishedDataSetSourceDataType 15769 #define OpcUaId_OpcUa_BinarySchema_PublishedVariableDataType 14324 #define OpcUaId_OpcUa_BinarySchema_PublishedDataItemsDataType 15772 #define OpcUaId_OpcUa_BinarySchema_PublishedEventsDataType 15775 #define OpcUaId_OpcUa_BinarySchema_DataSetWriterDataType 15778 #define OpcUaId_OpcUa_BinarySchema_DataSetWriterTransportDataType 15781 #define OpcUaId_OpcUa_BinarySchema_DataSetWriterMessageDataType 15784 #define OpcUaId_OpcUa_BinarySchema_PubSubGroupDataType 15787 #define OpcUaId_OpcUa_BinarySchema_WriterGroupDataType 21156 #define OpcUaId_OpcUa_BinarySchema_WriterGroupTransportDataType 15793 #define OpcUaId_OpcUa_BinarySchema_WriterGroupMessageDataType 15854 #define OpcUaId_OpcUa_BinarySchema_PubSubConnectionDataType 15857 #define OpcUaId_OpcUa_BinarySchema_ConnectionTransportDataType 15860 #define OpcUaId_OpcUa_BinarySchema_NetworkAddressDataType 21159 #define OpcUaId_OpcUa_BinarySchema_NetworkAddressUrlDataType 21162 #define OpcUaId_OpcUa_BinarySchema_ReaderGroupDataType 21165 #define OpcUaId_OpcUa_BinarySchema_ReaderGroupTransportDataType 15866 #define OpcUaId_OpcUa_BinarySchema_ReaderGroupMessageDataType 15869 #define OpcUaId_OpcUa_BinarySchema_DataSetReaderDataType 15872 #define OpcUaId_OpcUa_BinarySchema_DataSetReaderTransportDataType 15877 #define OpcUaId_OpcUa_BinarySchema_DataSetReaderMessageDataType 15880 #define OpcUaId_OpcUa_BinarySchema_SubscribedDataSetDataType 15883 #define OpcUaId_OpcUa_BinarySchema_TargetVariablesDataType 15886 #define OpcUaId_OpcUa_BinarySchema_FieldTargetDataType 21002 #define OpcUaId_OpcUa_BinarySchema_SubscribedDataSetMirrorDataType 15889 #define OpcUaId_OpcUa_BinarySchema_PubSubConfigurationDataType 21168 #define OpcUaId_OpcUa_BinarySchema_UadpWriterGroupMessageDataType 15895 #define OpcUaId_OpcUa_BinarySchema_UadpDataSetWriterMessageDataType 15898 #define OpcUaId_OpcUa_BinarySchema_UadpDataSetReaderMessageDataType 15919 #define OpcUaId_OpcUa_BinarySchema_JsonWriterGroupMessageDataType 15922 #define OpcUaId_OpcUa_BinarySchema_JsonDataSetWriterMessageDataType 15925 #define OpcUaId_OpcUa_BinarySchema_JsonDataSetReaderMessageDataType 15931 #define OpcUaId_OpcUa_BinarySchema_DatagramConnectionTransportDataType 17469 #define OpcUaId_OpcUa_BinarySchema_DatagramWriterGroupTransportDataType 21171 #define OpcUaId_OpcUa_BinarySchema_BrokerConnectionTransportDataType 15524 #define OpcUaId_OpcUa_BinarySchema_BrokerWriterGroupTransportDataType 15940 #define OpcUaId_OpcUa_BinarySchema_BrokerDataSetWriterTransportDataType 15943 #define OpcUaId_OpcUa_BinarySchema_BrokerDataSetReaderTransportDataType 15946 #define OpcUaId_OpcUa_BinarySchema_AliasNameDataType 23502 #define OpcUaId_OpcUa_BinarySchema_RolePermissionType 16131 #define OpcUaId_OpcUa_BinarySchema_DataTypeDefinition 18178 #define OpcUaId_OpcUa_BinarySchema_StructureField 18181 #define OpcUaId_OpcUa_BinarySchema_StructureDefinition 18184 #define OpcUaId_OpcUa_BinarySchema_EnumDefinition 18187 #define OpcUaId_OpcUa_BinarySchema_Argument 7650 #define OpcUaId_OpcUa_BinarySchema_EnumValueType 7656 #define OpcUaId_OpcUa_BinarySchema_EnumField 14870 #define OpcUaId_OpcUa_BinarySchema_OptionSet 12767 #define OpcUaId_OpcUa_BinarySchema_Union 12770 #define OpcUaId_OpcUa_BinarySchema_TimeZoneDataType 8914 #define OpcUaId_OpcUa_BinarySchema_ApplicationDescription 7665 #define OpcUaId_OpcUa_BinarySchema_ServerOnNetwork 12213 #define OpcUaId_OpcUa_BinarySchema_UserTokenPolicy 7662 #define OpcUaId_OpcUa_BinarySchema_EndpointDescription 7668 #define OpcUaId_OpcUa_BinarySchema_RegisteredServer 7782 #define OpcUaId_OpcUa_BinarySchema_DiscoveryConfiguration 12902 #define OpcUaId_OpcUa_BinarySchema_MdnsDiscoveryConfiguration 12905 #define OpcUaId_OpcUa_BinarySchema_SignedSoftwareCertificate 7698 #define OpcUaId_OpcUa_BinarySchema_UserIdentityToken 7671 #define OpcUaId_OpcUa_BinarySchema_AnonymousIdentityToken 7674 #define OpcUaId_OpcUa_BinarySchema_UserNameIdentityToken 7677 #define OpcUaId_OpcUa_BinarySchema_X509IdentityToken 7680 #define OpcUaId_OpcUa_BinarySchema_IssuedIdentityToken 7683 #define OpcUaId_OpcUa_BinarySchema_AddNodesItem 7728 #define OpcUaId_OpcUa_BinarySchema_AddReferencesItem 7731 #define OpcUaId_OpcUa_BinarySchema_DeleteNodesItem 7734 #define OpcUaId_OpcUa_BinarySchema_DeleteReferencesItem 7737 #define OpcUaId_OpcUa_BinarySchema_RelativePathElement 12718 #define OpcUaId_OpcUa_BinarySchema_RelativePath 12721 #define OpcUaId_OpcUa_BinarySchema_EndpointConfiguration 7686 #define OpcUaId_OpcUa_BinarySchema_ContentFilterElement 7929 #define OpcUaId_OpcUa_BinarySchema_ContentFilter 7932 #define OpcUaId_OpcUa_BinarySchema_FilterOperand 7935 #define OpcUaId_OpcUa_BinarySchema_ElementOperand 7938 #define OpcUaId_OpcUa_BinarySchema_LiteralOperand 7941 #define OpcUaId_OpcUa_BinarySchema_AttributeOperand 7944 #define OpcUaId_OpcUa_BinarySchema_SimpleAttributeOperand 7947 #define OpcUaId_OpcUa_BinarySchema_HistoryEvent 8004 #define OpcUaId_OpcUa_BinarySchema_MonitoringFilter 8067 #define OpcUaId_OpcUa_BinarySchema_EventFilter 8073 #define OpcUaId_OpcUa_BinarySchema_AggregateConfiguration 8076 #define OpcUaId_OpcUa_BinarySchema_HistoryEventFieldList 8172 #define OpcUaId_OpcUa_BinarySchema_BuildInfo 7692 #define OpcUaId_OpcUa_BinarySchema_RedundantServerDataType 8208 #define OpcUaId_OpcUa_BinarySchema_EndpointUrlListDataType 11959 #define OpcUaId_OpcUa_BinarySchema_NetworkGroupDataType 11962 #define OpcUaId_OpcUa_BinarySchema_SamplingIntervalDiagnosticsDataType 8211 #define OpcUaId_OpcUa_BinarySchema_ServerDiagnosticsSummaryDataType 8214 #define OpcUaId_OpcUa_BinarySchema_ServerStatusDataType 8217 #define OpcUaId_OpcUa_BinarySchema_SessionDiagnosticsDataType 8220 #define OpcUaId_OpcUa_BinarySchema_SessionSecurityDiagnosticsDataType 8223 #define OpcUaId_OpcUa_BinarySchema_ServiceCounterDataType 8226 #define OpcUaId_OpcUa_BinarySchema_StatusResult 7659 #define OpcUaId_OpcUa_BinarySchema_SubscriptionDiagnosticsDataType 8229 #define OpcUaId_OpcUa_BinarySchema_ModelChangeStructureDataType 8232 #define OpcUaId_OpcUa_BinarySchema_SemanticChangeStructureDataType 8235 #define OpcUaId_OpcUa_BinarySchema_Range 8238 #define OpcUaId_OpcUa_BinarySchema_EUInformation 8241 #define OpcUaId_OpcUa_BinarySchema_ComplexNumberType 12183 #define OpcUaId_OpcUa_BinarySchema_DoubleComplexNumberType 12186 #define OpcUaId_OpcUa_BinarySchema_AxisInformation 12091 #define OpcUaId_OpcUa_BinarySchema_XVType 12094 #define OpcUaId_OpcUa_BinarySchema_ProgramDiagnosticDataType 8247 #define OpcUaId_OpcUa_BinarySchema_ProgramDiagnostic2DataType 15398 #define OpcUaId_OpcUa_BinarySchema_Annotation 8244 #define OpcUaId_OpcUa_XmlSchema 8252 #define OpcUaId_OpcUa_XmlSchema_NamespaceUri 8254 #define OpcUaId_OpcUa_XmlSchema_Deprecated 15039 #define OpcUaId_OpcUa_XmlSchema_CurrencyUnitType 23522 #define OpcUaId_OpcUa_XmlSchema_CurrencyUnit 23525 #define OpcUaId_OpcUa_XmlSchema_KeyValuePair 14829 #define OpcUaId_OpcUa_XmlSchema_AdditionalParametersType 17542 #define OpcUaId_OpcUa_XmlSchema_EphemeralKeyType 17554 #define OpcUaId_OpcUa_XmlSchema_EndpointType 16024 #define OpcUaId_OpcUa_XmlSchema_RationalNumber 18860 #define OpcUaId_OpcUa_XmlSchema_Vector 18863 #define OpcUaId_OpcUa_XmlSchema_ThreeDVector 18866 #define OpcUaId_OpcUa_XmlSchema_CartesianCoordinates 18869 #define OpcUaId_OpcUa_XmlSchema_ThreeDCartesianCoordinates 19049 #define OpcUaId_OpcUa_XmlSchema_Orientation 19052 #define OpcUaId_OpcUa_XmlSchema_ThreeDOrientation 19055 #define OpcUaId_OpcUa_XmlSchema_Frame 19058 #define OpcUaId_OpcUa_XmlSchema_ThreeDFrame 19061 #define OpcUaId_OpcUa_XmlSchema_IdentityMappingRuleType 15730 #define OpcUaId_OpcUa_XmlSchema_TrustListDataType 12677 #define OpcUaId_OpcUa_XmlSchema_DataTypeSchemaHeader 16027 #define OpcUaId_OpcUa_XmlSchema_DataTypeDescription 14811 #define OpcUaId_OpcUa_XmlSchema_StructureDescription 15591 #define OpcUaId_OpcUa_XmlSchema_EnumDescription 15594 #define OpcUaId_OpcUa_XmlSchema_SimpleTypeDescription 15585 #define OpcUaId_OpcUa_XmlSchema_UABinaryFileDataType 15588 #define OpcUaId_OpcUa_XmlSchema_DataSetMetaDataType 14805 #define OpcUaId_OpcUa_XmlSchema_FieldMetaData 14808 #define OpcUaId_OpcUa_XmlSchema_ConfigurationVersionDataType 14832 #define OpcUaId_OpcUa_XmlSchema_PublishedDataSetDataType 16030 #define OpcUaId_OpcUa_XmlSchema_PublishedDataSetSourceDataType 16033 #define OpcUaId_OpcUa_XmlSchema_PublishedVariableDataType 14320 #define OpcUaId_OpcUa_XmlSchema_PublishedDataItemsDataType 16037 #define OpcUaId_OpcUa_XmlSchema_PublishedEventsDataType 16040 #define OpcUaId_OpcUa_XmlSchema_DataSetWriterDataType 16047 #define OpcUaId_OpcUa_XmlSchema_DataSetWriterTransportDataType 16050 #define OpcUaId_OpcUa_XmlSchema_DataSetWriterMessageDataType 16053 #define OpcUaId_OpcUa_XmlSchema_PubSubGroupDataType 16056 #define OpcUaId_OpcUa_XmlSchema_WriterGroupDataType 21180 #define OpcUaId_OpcUa_XmlSchema_WriterGroupTransportDataType 16062 #define OpcUaId_OpcUa_XmlSchema_WriterGroupMessageDataType 16065 #define OpcUaId_OpcUa_XmlSchema_PubSubConnectionDataType 16068 #define OpcUaId_OpcUa_XmlSchema_ConnectionTransportDataType 16071 #define OpcUaId_OpcUa_XmlSchema_NetworkAddressDataType 21183 #define OpcUaId_OpcUa_XmlSchema_NetworkAddressUrlDataType 21186 #define OpcUaId_OpcUa_XmlSchema_ReaderGroupDataType 21189 #define OpcUaId_OpcUa_XmlSchema_ReaderGroupTransportDataType 16077 #define OpcUaId_OpcUa_XmlSchema_ReaderGroupMessageDataType 16080 #define OpcUaId_OpcUa_XmlSchema_DataSetReaderDataType 16083 #define OpcUaId_OpcUa_XmlSchema_DataSetReaderTransportDataType 16086 #define OpcUaId_OpcUa_XmlSchema_DataSetReaderMessageDataType 16089 #define OpcUaId_OpcUa_XmlSchema_SubscribedDataSetDataType 16092 #define OpcUaId_OpcUa_XmlSchema_TargetVariablesDataType 16095 #define OpcUaId_OpcUa_XmlSchema_FieldTargetDataType 14835 #define OpcUaId_OpcUa_XmlSchema_SubscribedDataSetMirrorDataType 16098 #define OpcUaId_OpcUa_XmlSchema_PubSubConfigurationDataType 21192 #define OpcUaId_OpcUa_XmlSchema_UadpWriterGroupMessageDataType 16104 #define OpcUaId_OpcUa_XmlSchema_UadpDataSetWriterMessageDataType 16107 #define OpcUaId_OpcUa_XmlSchema_UadpDataSetReaderMessageDataType 16110 #define OpcUaId_OpcUa_XmlSchema_JsonWriterGroupMessageDataType 16113 #define OpcUaId_OpcUa_XmlSchema_JsonDataSetWriterMessageDataType 16116 #define OpcUaId_OpcUa_XmlSchema_JsonDataSetReaderMessageDataType 16119 #define OpcUaId_OpcUa_XmlSchema_DatagramConnectionTransportDataType 17473 #define OpcUaId_OpcUa_XmlSchema_DatagramWriterGroupTransportDataType 21195 #define OpcUaId_OpcUa_XmlSchema_BrokerConnectionTransportDataType 15640 #define OpcUaId_OpcUa_XmlSchema_BrokerWriterGroupTransportDataType 16125 #define OpcUaId_OpcUa_XmlSchema_BrokerDataSetWriterTransportDataType 16144 #define OpcUaId_OpcUa_XmlSchema_BrokerDataSetReaderTransportDataType 16147 #define OpcUaId_OpcUa_XmlSchema_AliasNameDataType 23508 #define OpcUaId_OpcUa_XmlSchema_RolePermissionType 16127 #define OpcUaId_OpcUa_XmlSchema_DataTypeDefinition 18166 #define OpcUaId_OpcUa_XmlSchema_StructureField 18169 #define OpcUaId_OpcUa_XmlSchema_StructureDefinition 18172 #define OpcUaId_OpcUa_XmlSchema_EnumDefinition 18175 #define OpcUaId_OpcUa_XmlSchema_Argument 8285 #define OpcUaId_OpcUa_XmlSchema_EnumValueType 8291 #define OpcUaId_OpcUa_XmlSchema_EnumField 14826 #define OpcUaId_OpcUa_XmlSchema_OptionSet 12759 #define OpcUaId_OpcUa_XmlSchema_Union 12762 #define OpcUaId_OpcUa_XmlSchema_TimeZoneDataType 8918 #define OpcUaId_OpcUa_XmlSchema_ApplicationDescription 8300 #define OpcUaId_OpcUa_XmlSchema_ServerOnNetwork 12201 #define OpcUaId_OpcUa_XmlSchema_UserTokenPolicy 8297 #define OpcUaId_OpcUa_XmlSchema_EndpointDescription 8303 #define OpcUaId_OpcUa_XmlSchema_RegisteredServer 8417 #define OpcUaId_OpcUa_XmlSchema_DiscoveryConfiguration 12894 #define OpcUaId_OpcUa_XmlSchema_MdnsDiscoveryConfiguration 12897 #define OpcUaId_OpcUa_XmlSchema_SignedSoftwareCertificate 8333 #define OpcUaId_OpcUa_XmlSchema_UserIdentityToken 8306 #define OpcUaId_OpcUa_XmlSchema_AnonymousIdentityToken 8309 #define OpcUaId_OpcUa_XmlSchema_UserNameIdentityToken 8312 #define OpcUaId_OpcUa_XmlSchema_X509IdentityToken 8315 #define OpcUaId_OpcUa_XmlSchema_IssuedIdentityToken 8318 #define OpcUaId_OpcUa_XmlSchema_AddNodesItem 8363 #define OpcUaId_OpcUa_XmlSchema_AddReferencesItem 8366 #define OpcUaId_OpcUa_XmlSchema_DeleteNodesItem 8369 #define OpcUaId_OpcUa_XmlSchema_DeleteReferencesItem 8372 #define OpcUaId_OpcUa_XmlSchema_RelativePathElement 12712 #define OpcUaId_OpcUa_XmlSchema_RelativePath 12715 #define OpcUaId_OpcUa_XmlSchema_EndpointConfiguration 8321 #define OpcUaId_OpcUa_XmlSchema_ContentFilterElement 8564 #define OpcUaId_OpcUa_XmlSchema_ContentFilter 8567 #define OpcUaId_OpcUa_XmlSchema_FilterOperand 8570 #define OpcUaId_OpcUa_XmlSchema_ElementOperand 8573 #define OpcUaId_OpcUa_XmlSchema_LiteralOperand 8576 #define OpcUaId_OpcUa_XmlSchema_AttributeOperand 8579 #define OpcUaId_OpcUa_XmlSchema_SimpleAttributeOperand 8582 #define OpcUaId_OpcUa_XmlSchema_HistoryEvent 8639 #define OpcUaId_OpcUa_XmlSchema_MonitoringFilter 8702 #define OpcUaId_OpcUa_XmlSchema_EventFilter 8708 #define OpcUaId_OpcUa_XmlSchema_AggregateConfiguration 8711 #define OpcUaId_OpcUa_XmlSchema_HistoryEventFieldList 8807 #define OpcUaId_OpcUa_XmlSchema_BuildInfo 8327 #define OpcUaId_OpcUa_XmlSchema_RedundantServerDataType 8843 #define OpcUaId_OpcUa_XmlSchema_EndpointUrlListDataType 11951 #define OpcUaId_OpcUa_XmlSchema_NetworkGroupDataType 11954 #define OpcUaId_OpcUa_XmlSchema_SamplingIntervalDiagnosticsDataType 8846 #define OpcUaId_OpcUa_XmlSchema_ServerDiagnosticsSummaryDataType 8849 #define OpcUaId_OpcUa_XmlSchema_ServerStatusDataType 8852 #define OpcUaId_OpcUa_XmlSchema_SessionDiagnosticsDataType 8855 #define OpcUaId_OpcUa_XmlSchema_SessionSecurityDiagnosticsDataType 8858 #define OpcUaId_OpcUa_XmlSchema_ServiceCounterDataType 8861 #define OpcUaId_OpcUa_XmlSchema_StatusResult 8294 #define OpcUaId_OpcUa_XmlSchema_SubscriptionDiagnosticsDataType 8864 #define OpcUaId_OpcUa_XmlSchema_ModelChangeStructureDataType 8867 #define OpcUaId_OpcUa_XmlSchema_SemanticChangeStructureDataType 8870 #define OpcUaId_OpcUa_XmlSchema_Range 8873 #define OpcUaId_OpcUa_XmlSchema_EUInformation 8876 #define OpcUaId_OpcUa_XmlSchema_ComplexNumberType 12175 #define OpcUaId_OpcUa_XmlSchema_DoubleComplexNumberType 12178 #define OpcUaId_OpcUa_XmlSchema_AxisInformation 12083 #define OpcUaId_OpcUa_XmlSchema_XVType 12086 #define OpcUaId_OpcUa_XmlSchema_ProgramDiagnosticDataType 8882 #define OpcUaId_OpcUa_XmlSchema_ProgramDiagnostic2DataType 15402 #define OpcUaId_OpcUa_XmlSchema_Annotation 8879 /*============================================================================ * VariableType Identifiers *===========================================================================*/ #define OpcUaId_BaseVariableType 62 #define OpcUaId_BaseDataVariableType 63 #define OpcUaId_PropertyType 68 #define OpcUaId_DataTypeDescriptionType 69 #define OpcUaId_DataTypeDictionaryType 72 #define OpcUaId_ServerVendorCapabilityType 2137 #define OpcUaId_ServerStatusType 2138 #define OpcUaId_BuildInfoType 3051 #define OpcUaId_ServerDiagnosticsSummaryType 2150 #define OpcUaId_SamplingIntervalDiagnosticsArrayType 2164 #define OpcUaId_SamplingIntervalDiagnosticsType 2165 #define OpcUaId_SubscriptionDiagnosticsArrayType 2171 #define OpcUaId_SubscriptionDiagnosticsType 2172 #define OpcUaId_SessionDiagnosticsArrayType 2196 #define OpcUaId_SessionDiagnosticsVariableType 2197 #define OpcUaId_SessionSecurityDiagnosticsArrayType 2243 #define OpcUaId_SessionSecurityDiagnosticsType 2244 #define OpcUaId_OptionSetType 11487 #define OpcUaId_SelectionListType 16309 #define OpcUaId_AudioVariableType 17986 #define OpcUaId_StateVariableType 2755 #define OpcUaId_TransitionVariableType 2762 #define OpcUaId_FiniteStateVariableType 2760 #define OpcUaId_FiniteTransitionVariableType 2767 #define OpcUaId_GuardVariableType 15113 #define OpcUaId_ExpressionGuardVariableType 15128 #define OpcUaId_ElseGuardVariableType 15317 #define OpcUaId_RationalNumberType 17709 #define OpcUaId_VectorType 17714 #define OpcUaId_ThreeDVectorType 17716 #define OpcUaId_CartesianCoordinatesType 18772 #define OpcUaId_ThreeDCartesianCoordinatesType 18774 #define OpcUaId_OrientationType 18779 #define OpcUaId_ThreeDOrientationType 18781 #define OpcUaId_FrameType 18786 #define OpcUaId_ThreeDFrameType 18791 #define OpcUaId_DataItemType 2365 #define OpcUaId_BaseAnalogType 15318 #define OpcUaId_AnalogItemType 2368 #define OpcUaId_AnalogUnitType 17497 #define OpcUaId_AnalogUnitRangeType 17570 #define OpcUaId_DiscreteItemType 2372 #define OpcUaId_TwoStateDiscreteType 2373 #define OpcUaId_MultiStateDiscreteType 2376 #define OpcUaId_MultiStateValueDiscreteType 11238 #define OpcUaId_ArrayItemType 12021 #define OpcUaId_YArrayItemType 12029 #define OpcUaId_XYArrayItemType 12038 #define OpcUaId_ImageItemType 12047 #define OpcUaId_CubeItemType 12057 #define OpcUaId_NDimensionArrayItemType 12068 #define OpcUaId_TwoStateVariableType 8995 #define OpcUaId_ConditionVariableType 9002 #define OpcUaId_AlarmRateVariableType 17277 #define OpcUaId_ProgramDiagnosticType 2380 #define OpcUaId_ProgramDiagnostic2Type 15383 #define OpcUaId_PubSubDiagnosticsCounterType 19725 #define OpcUaId_MultiStateDictionaryEntryDiscreteBaseType 19077 #define OpcUaId_MultiStateDictionaryEntryDiscreteType 19084 #endif /* _OpcUa_Identifiers_H_ */ /* This is the last line of an autogenerated file. */
78.54902
147
0.946607
[ "object" ]
eb4d790143d41f33ca6123c64b6437d4801b03c8
3,509
h
C
Modules/Segmentation/Blox/include/itkUnaryMedialNodeMetric.h
itkvideo/ITK
5882452373df23463c2e9410c50bc9882ca1e8de
[ "Apache-2.0" ]
1
2015-10-12T00:14:09.000Z
2015-10-12T00:14:09.000Z
Modules/Segmentation/Blox/include/itkUnaryMedialNodeMetric.h
itkvideo/ITK
5882452373df23463c2e9410c50bc9882ca1e8de
[ "Apache-2.0" ]
null
null
null
Modules/Segmentation/Blox/include/itkUnaryMedialNodeMetric.h
itkvideo/ITK
5882452373df23463c2e9410c50bc9882ca1e8de
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright Insight Software Consortium * * 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.txt * * 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. * *=========================================================================*/ #ifndef __itkUnaryMedialNodeMetric_h #define __itkUnaryMedialNodeMetric_h #include "itkLightObject.h" #include "vnl/vnl_vector_fixed.h" #include "itkBloxCoreAtomPixel.h" namespace itk { /** \class UnaryMedialNodeMetric * \brief Compares the scale and dimensionality of two medial nodes. * * The class is templated over image dimension. The metric * measures the similarity of two medial nodes based on * their eigenvalues and scales. The unary metric is * calculated by u = sum(L^2 * S), where L is the difference in * eigenvalues and S is the ratio of the difference in * medial node scales and sum of the medial node scales. * The metric is normalized such that a value of 0 * means that the nodes are perfectly similar and that * a value of 1 means that the nodes are not similar. * * Reference: Tamburo, Cois, Shelton, Stetten. Medial Node * Correspondences Towards Automated Registration, Lecture * Notes in Computer Science (in press), 2003. * * \ingroup ImageFeatureSimilarityMetrics * \ingroup ITK-Blox */ template< int VDimensions = 3 > class ITK_EXPORT UnaryMedialNodeMetric:public LightObject { public: /** Standard class typedefs. */ typedef UnaryMedialNodeMetric Self; typedef LightObject Superclass; typedef SmartPointer< Self > Pointer; typedef SmartPointer< const Self > ConstPointer; /** Method for creation through the object factory. */ itkNewMacro(Self); /** Run-time type information (and related methods). */ itkTypeMacro(UnaryMedialNodeMetric, LightObject); /** Pixel typedef. */ typedef BloxCoreAtomPixel< VDimensions > MedialNodeType; typedef typename BloxCoreAtomPixel< VDimensions >::Pointer MedialNodePointerType; typedef typename MedialNodeType::EigenvalueType EigenvalueType; /** Initialize and compute the Unary Metric. */ void Initialize(void); /** Set the two medial nodes to compute a unary metric for. */ void SetMedialNodes(MedialNodeType *medialNodeA, MedialNodeType *medialNodeB); /** Return the resulting unary metric value for a * given two medial nodes. */ double GetResult(){ return m_MetricResult; } protected: /** Default Constructor. */ UnaryMedialNodeMetric(); /** Default Destructor. */ ~UnaryMedialNodeMetric(){} void operator=(const Self &); //purposely not implemented void PrintSelf(std::ostream & os, Indent indent) const; private: /** The two medial nodes to compute the unary metric for. */ MedialNodeType *m_MedialNodeA; MedialNodeType *m_MedialNodeB; /** Resulting metric value. */ double m_MetricResult; }; } // end namespace itk #ifndef ITK_MANUAL_INSTANTIATION #include "itkUnaryMedialNodeMetric.txx" #endif #endif
32.794393
83
0.702764
[ "object" ]
eb4ddb08fb8e74d66378dad67caccba861bdf232
2,786
h
C
core/vulkan/vk_virtual_swapchain/cc/base_swapchain.h
pau-baiget/gapid
2dfd022b605665dbe8fee3b888e5018c1a606ff1
[ "Apache-2.0" ]
1
2019-04-22T09:27:44.000Z
2019-04-22T09:27:44.000Z
core/vulkan/vk_virtual_swapchain/cc/base_swapchain.h
pau-baiget/gapid
2dfd022b605665dbe8fee3b888e5018c1a606ff1
[ "Apache-2.0" ]
1
2021-01-21T12:42:08.000Z
2021-01-21T12:42:08.000Z
core/vulkan/vk_virtual_swapchain/cc/base_swapchain.h
pau-baiget/gapid
2dfd022b605665dbe8fee3b888e5018c1a606ff1
[ "Apache-2.0" ]
1
2019-10-10T00:51:29.000Z
2019-10-10T00:51:29.000Z
/* * Copyright (C) 2018 Google Inc. * * 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. */ #ifndef VK_BASE_SWAPCHAIN_VIRTUAL_SWAPCHAIN_H_ #define VK_BASE_SWAPCHAIN_VIRTUAL_SWAPCHAIN_H_ #include <vulkan/vulkan.h> #include <mutex> #include <vector> #include "layer.h" namespace swapchain { // The BaseSwapchain handles blitting presenting images to the original surface class BaseSwapchain { public: BaseSwapchain(VkInstance instance, VkDevice device, uint32_t queue, VkCommandPool command_pool, uint32_t num_images, const InstanceData *instance_functions, const DeviceData *device_functions, const VkSwapchainCreateInfoKHR *swapchain_info, const VkAllocationCallbacks *pAllocator, const void *platform_info); void Destroy(const VkAllocationCallbacks *pAllocator); bool Valid() const; VkResult PresentFrom(VkQueue queue, size_t index, VkImage image); VkSemaphore BlitWaitSemaphore(size_t index); private: VkInstance instance_; VkDevice device_; const InstanceData *instance_functions_; const DeviceData *device_functions_; VkSwapchainCreateInfoKHR swapchain_info_; threading::mutex present_lock_; // The real surface to present to. VkSurfaceKHR surface_; // The real swapchain to present to. VkSwapchainKHR swapchain_; // The swapchain images to blit to. std::vector<VkImage> images_; // The semaphores to signal when the acquire is completed. VkSemaphore acquire_semaphore_; // The semaphores to signal when the blit is completed. std::vector<VkSemaphore> blit_semaphores_; // The semaphores that will be signaled when the blit is complete and will be // waited on by the queue present std::vector<VkSemaphore> present_semaphores_; // Whether the semaphores at a given index are currently pending and should // have their blit semaphore waited on before acquiring. std::vector<bool> is_pending_; // The command buffers to use to blit. We need several in case someone // submits while a previous one is still pending. std::vector<VkCommandBuffer> command_buffers_; // Whether we completed construction successfully bool valid_; }; } // namespace swapchain #endif // VK_BASE_SWAPCHAIN_VIRTUAL_SWAPCHAIN_H_
36.181818
79
0.750179
[ "vector" ]
eb525689913ec9164c48971bf6bd00ebfcd3c625
1,585
h
C
adagucserverEC/CDPPInterface.h
ernstdevreede/adaguc-server
3516bf1a2ea6abb4f2e85e72944589dfcc990f7c
[ "Apache-2.0" ]
1
2019-08-21T11:03:09.000Z
2019-08-21T11:03:09.000Z
adagucserverEC/CDPPInterface.h
ernstdevreede/adaguc-server
3516bf1a2ea6abb4f2e85e72944589dfcc990f7c
[ "Apache-2.0" ]
null
null
null
adagucserverEC/CDPPInterface.h
ernstdevreede/adaguc-server
3516bf1a2ea6abb4f2e85e72944589dfcc990f7c
[ "Apache-2.0" ]
null
null
null
#include "CDataSource.h" #ifndef CDPPInterface_H #define CDPPInterface_H #define CDATAPOSTPROCESSOR_NOTAPPLICABLE 1 #define CDATAPOSTPROCESSOR_CONSTRAINTSNOTMET 2 #define CDATAPOSTPROCESSOR_RUNBEFOREREADING 4 #define CDATAPOSTPROCESSOR_RUNAFTERREADING 8 class CDPPInterface{ public: virtual ~CDPPInterface(){} virtual const char *getId() = 0; /** * Checks the proc configuration element whether this processor should be executed * @params CServerConfig::XMLE_DataPostProc* the configuration object * @params CDataSource* the datasource to apply to * @returns |CDATAPOSTPROCESSOR_RUNBEFOREREADING if is applicable, execute can be called before reading data. * @returns |CDATAPOSTPROCESSOR_RUNAFTERREADING if is applicable, execute can be called after reading data. * @returns CDATAPOSTPROCESSOR_NOTAPPLICABLE if not applicable, e.g. the configuration does not match the processor * @returns CDATAPOSTPROCESSOR_CONSTRAINTSNOTMET if applicable but constraints are not met, e.g. datasource properties do not match */ virtual int isApplicable(CServerConfig::XMLE_DataPostProc* proc, CDataSource* dataSource) = 0; /** * Executes the data postprocessor on a datasource, on the full grid */ virtual int execute(CServerConfig::XMLE_DataPostProc* proc, CDataSource* dataSource,int mode) = 0; /** * Executes the data postprocessor for a given array */ virtual int execute(CServerConfig::XMLE_DataPostProc* proc, CDataSource* dataSource,int mode, double *data, size_t numItems) = 0; }; #endif
40.641026
134
0.761514
[ "object" ]