├── acelite ├── pch.cpp ├── ace │ ├── Basic_Types.cpp │ ├── ace.mwc │ ├── ace_message_table.bin │ ├── uuid.mpb │ ├── codecs.mpb │ ├── filecache.mpb │ ├── Dirent.cpp │ ├── OS_NS_devctl.cpp │ ├── IO_Cntl_Msg.cpp │ ├── config-windows.h │ ├── OS_TLI.cpp │ ├── Active_Map_Manager.cpp │ ├── Functor_String.cpp │ ├── OS_NS_math.cpp │ ├── OS_NS_poll.cpp │ ├── OS_NS_pwd.cpp │ ├── Date_Time.cpp │ ├── Lock.inl │ ├── OS_NS_regex.cpp │ ├── Monotonic_Time_Policy.cpp │ ├── OS_NS_sys_msg.cpp │ ├── OS_NS_sys_shm.cpp │ ├── OS_NS_sys_wait.cpp │ ├── OS_NS_dlfcn.cpp │ ├── OS_NS_sys_mman.cpp │ ├── OS_NS_sys_stat.cpp │ ├── OS_NS_sys_time.cpp │ ├── Obchunk.inl │ ├── OS_NS_sys_select.cpp │ ├── config-macosx-sierra.h │ ├── Containers.cpp │ ├── OS_NS_ctype.cpp │ ├── OS_NS_sys_resource.cpp │ ├── OS_NS_wctype.cpp │ ├── config-macosx-yosemite.h │ ├── Shared_Object.inl │ ├── config-macosx-elcapitan.h │ ├── config-macosx-highsierra.h │ ├── OS_Log_Msg_Attributes.cpp │ ├── Obstack.cpp │ ├── Event_Handler.inl │ ├── Hashable.inl │ ├── Message_Queue.inl │ ├── Thread_Semaphore.inl │ ├── Shared_Memory.cpp │ ├── Configuration.inl │ ├── Log_Msg_Backend.cpp │ ├── Ping_Socket.inl │ ├── Process_Manager.inl │ ├── Auto_Event.inl │ ├── Reactor_Timer_Interface.cpp │ ├── Thread_Adapter.inl │ ├── Manual_Event.inl │ ├── Obstack_T.inl │ ├── Reactor_Impl.cpp │ ├── SOCK_Acceptor.inl │ ├── ACE.pc.in │ ├── POSIX_Proactor.inl │ ├── Env_Value_T.cpp │ ├── OS_NS_math.inl │ ├── Sig_Handler.inl │ ├── Encoding_Converter.cpp │ ├── Log_Msg_Callback.cpp │ ├── Timeprobe.cpp │ ├── SPIPE_Connector.inl │ ├── UPIPE_Acceptor.inl │ ├── SOCK_SEQPACK_Acceptor.inl │ ├── UPIPE_Stream.inl │ ├── XML_Svc_Conf.cpp │ ├── Multihomed_INET_Addr.inl │ ├── Copy_Disabled.cpp │ ├── token.mpb │ ├── other.mpb │ ├── Token_Collection.inl │ ├── config-macosx-iOS.h │ ├── config-macosx-snowleopard.h │ ├── Timeprobe.inl │ ├── OS_NS_signal.cpp │ ├── Pair_T.cpp │ ├── Barrier.inl │ ├── Event_Base.inl │ ├── Dirent_Selector.inl │ ├── MMAP_Memory_Pool.inl │ ├── ATM_Params.cpp │ ├── DEV.inl │ ├── FILE.inl │ ├── ace_wchar.cpp │ ├── Connection_Recycling_Strategy.cpp │ ├── Malloc_Allocator.inl │ ├── SPIPE.inl │ ├── config.h │ ├── config-macosx-mojave.h │ ├── Reactor_Notification_Strategy.inl │ ├── SOCK_CODgram.inl │ ├── Version.h │ ├── config-macosx-mountainlion.h │ ├── Proactor_Impl.cpp │ ├── Condition_Attributes.cpp │ ├── Bound_Ptr.cpp │ ├── Null_Mutex.cpp │ ├── RW_Thread_Mutex.inl │ ├── Atomic_Op_Sparc.h │ ├── Recyclable.cpp │ ├── Unbounded_Set.cpp │ ├── Event.inl │ ├── Recyclable.inl │ ├── MEM_Connector.inl │ ├── config-sunos5.11.h │ ├── Reverse_Lock_T.inl │ ├── TLI_Stream.inl │ ├── Refcountable_T.cpp │ ├── config-macosx-mavericks.h │ ├── Containers.inl │ ├── Message_Queue.cpp │ ├── Token_Manager.inl │ ├── LSOCK_Dgram.inl │ ├── Cleanup.inl │ ├── Managed_Object.inl │ ├── OS_NS_wctype.inl │ ├── ATM_QoS.inl │ ├── Malloc.inl │ ├── Method_Request.cpp │ ├── OS_NS_fcntl.inl │ ├── OS_Log_Msg_Attributes.inl │ ├── Auto_Ptr.cpp │ ├── FIFO.inl │ ├── FIFO_Recv.inl │ ├── Active_Map_Manager_T.cpp │ ├── Intrusive_Auto_Ptr.cpp │ ├── Notification_Strategy.cpp │ ├── FIFO_Send.inl │ ├── Refcounted_Auto_Ptr.cpp │ ├── SV_Message.cpp │ ├── config-sunos5.9.h │ ├── Activation_Queue.inl │ ├── LSOCK_Stream.inl │ ├── Notification_Strategy.inl │ ├── Unbounded_Set_Ex.inl │ ├── config-vxworks6.8.h │ ├── Intrusive_List_Node.inl │ ├── Countdown_Time_T.inl │ ├── Intrusive_List_Node.cpp │ ├── Lock_Adapter_T.inl │ ├── Atomic_Op_GCC_T.cpp │ ├── Flag_Manip.inl │ ├── config-vxworks6.7.h │ ├── post.h │ ├── Dynamic.inl │ ├── OS_NS_sys_sendfile.inl │ ├── Managed_Object.cpp │ ├── config-vxworks6.5.h │ ├── Read_Buffer.inl │ ├── Thread_Hook.cpp │ ├── Unbounded_Queue.inl │ ├── LSOCK_CODgram.inl │ ├── Auto_IncDec_T.inl │ ├── svcconf.mpb │ ├── Intrusive_List.inl │ ├── Abstract_Timer_Queue.cpp │ ├── Typed_SV_Message.cpp │ ├── UPIPE_Addr.h │ ├── SV_Message.inl │ ├── Time_Policy_T.cpp │ ├── Refcountable_T.inl │ ├── os_include │ │ ├── os_typeinfo.h │ │ ├── sys │ │ │ ├── os_sysinfo.h │ │ │ ├── os_loadavg.h │ │ │ ├── os_pstat.h │ │ │ ├── os_utsname.h │ │ │ ├── os_statvfs.h │ │ │ ├── os_timeb.h │ │ │ └── os_times.h │ │ ├── os_byteswap.h │ │ ├── os_ifaddrs.h │ │ ├── os_kstat.h │ │ ├── os_cpio.h │ │ ├── os_pdhmsg.h │ │ ├── os_tar.h │ │ ├── os_float.h │ │ ├── os_fenv.h │ │ ├── os_glob.h │ │ ├── os_poll.h │ │ ├── os_ulimit.h │ │ ├── os_assert.h │ │ ├── os_iso646.h │ │ ├── os_complex.h │ │ ├── os_fmtmsg.h │ │ ├── os_nl_types.h │ │ ├── os_fnmatch.h │ │ ├── os_setjmp.h │ │ ├── os_stdbool.h │ │ ├── os_syslog.h │ │ ├── os_libgen.h │ │ ├── os_ftw.h │ │ ├── os_pwd.h │ │ ├── os_trace.h │ │ ├── os_grp.h │ │ ├── os_local.h │ │ ├── os_math.h │ │ ├── os_search.h │ │ ├── os_string.h │ │ ├── os_iconv.h │ │ ├── os_mqueue.h │ │ ├── os_ndbm.h │ │ ├── os_monetary.h │ │ ├── os_utime.h │ │ ├── os_utmpx.h │ │ ├── os_wordexp.h │ │ ├── os_inttypes.h │ │ ├── os_pdh.h │ │ ├── os_langinfo.h │ │ ├── os_tgmath.h │ │ ├── os_termios.h │ │ ├── os_spawn.h │ │ └── os_wctype.h │ ├── FILE_Addr.inl │ ├── Sample_History.inl │ ├── Dynamic.cpp │ ├── Hash_Map_Manager.h │ ├── Obstack.h │ ├── String_Base_Const.cpp │ ├── PI_Malloc.inl │ ├── Hashable.cpp │ ├── Assert.cpp │ ├── Shared_Memory_SV.inl │ ├── Auto_Functor.cpp │ ├── Timer_Queue_Adapters.inl │ ├── Svc_Conf_Tokens.h │ ├── Time_Policy_T.inl │ ├── config-aix-7.h │ ├── Memory_Pool.h │ ├── Pair_T.inl │ ├── config-macosx-lion.h │ ├── Timer_Queuefwd.h │ ├── IPC_SAP.inl │ ├── Msg_WFMO_Reactor.inl │ ├── config-vxworks7.0.h │ ├── LSOCK.inl │ ├── config-vxworks6.6.h │ ├── Argv_Type_Converter.inl │ ├── IO_SAP.inl │ ├── Time_Policy.cpp │ ├── Monitor_Control_Action.cpp │ ├── pre.h │ ├── Init_ACE.cpp │ ├── DEV.cpp │ ├── Capabilities.inl │ ├── Obchunk.cpp │ ├── Service_Types.inl │ ├── OS_NS_devctl.h │ ├── OS_NS_regex.inl │ ├── Countdown_Time.h │ ├── Message_Block_T.inl │ ├── config-win32-msvc-142.h │ ├── TLI.inl │ ├── Condition_Attributes.inl │ ├── Naming_Context.inl │ └── SOCK_Connector.inl ├── THANKS ├── pch.h ├── VERSION.txt ├── AUTHORS └── ACE.mwc ├── StormLib ├── src │ ├── lzma │ │ └── info.txt │ ├── wdk │ │ ├── sources-wdk-ltc.c │ │ ├── sources-wdk-misc.c │ │ ├── sources-wdk-lzma.c │ │ ├── sources-wdk-bzip2.c │ │ ├── sources-wdk-zlib.c │ │ └── sources-cpp.cpp │ ├── zlib │ │ ├── compress_zlib.c │ │ └── inffast.h │ ├── resource.h │ ├── libtomcrypt │ │ └── src │ │ │ ├── misc │ │ │ ├── crypt_ltc_mp_descriptor.c │ │ │ ├── crypt_prng_descriptor.c │ │ │ ├── crypt_hash_descriptor.c │ │ │ ├── crypt_argchk.c │ │ │ └── zeromem.c │ │ │ ├── headers │ │ │ └── tomcrypt_misc.h │ │ │ └── pk │ │ │ └── rsa │ │ │ └── rsa_free.c │ ├── jenkins │ │ └── lookup.h │ └── libtommath │ │ ├── bn_mp_mod_d.c │ │ ├── bn_mp_radix_smap.c │ │ ├── bn_mp_set.c │ │ ├── bn_mp_signed_bin_size.c │ │ ├── bn_mp_init_set.c │ │ ├── bn_mp_unsigned_bin_size.c │ │ ├── bn_mp_init_copy.c │ │ └── bn_mp_init_set_int.c ├── README └── README.md ├── icons ├── FORUM.gif ├── WIKI.gif ├── TRACKER.gif └── ACTIVITY.gif ├── zlib ├── zlib.3.pdf ├── Makefile ├── zlib.pc.in ├── zlib.pc.cmakein ├── inffast.h └── gzclose.c ├── g3dlite └── G3D │ ├── Ray.h │ ├── Matrix3.h │ ├── Intersect.h │ ├── CollisionDetection.cpp │ ├── PositionTrait.h │ ├── constants.cpp │ ├── BoundsTrait.h │ ├── netheaders.h │ ├── G3DAll.h │ ├── EqualsTrait.h │ ├── serialize.h │ ├── filter.cpp │ ├── Color1uint8.cpp │ └── filter.h ├── lualib ├── lua │ └── lua.hpp └── CMakeLists.txt ├── recastnavigation ├── Detour │ └── Include │ │ └── DetourMath.h ├── License.txt └── CMakeLists.txt └── utf8cpp └── doc └── ReleaseNotes /acelite/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" -------------------------------------------------------------------------------- /StormLib/src/lzma/info.txt: -------------------------------------------------------------------------------- 1 | Taken from LZMA SDK v 9.11 -------------------------------------------------------------------------------- /acelite/ace/Basic_Types.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Basic_Types.h" 2 | -------------------------------------------------------------------------------- /acelite/ace/ace.mwc: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | workspace { 3 | } 4 | 5 | -------------------------------------------------------------------------------- /acelite/ace/ace_message_table.bin: -------------------------------------------------------------------------------- 1 |  %1 2 | -------------------------------------------------------------------------------- /acelite/THANKS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mangos/mangosDeps/HEAD/acelite/THANKS -------------------------------------------------------------------------------- /icons/FORUM.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mangos/mangosDeps/HEAD/icons/FORUM.gif -------------------------------------------------------------------------------- /icons/WIKI.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mangos/mangosDeps/HEAD/icons/WIKI.gif -------------------------------------------------------------------------------- /zlib/zlib.3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mangos/mangosDeps/HEAD/zlib/zlib.3.pdf -------------------------------------------------------------------------------- /g3dlite/G3D/Ray.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mangos/mangosDeps/HEAD/g3dlite/G3D/Ray.h -------------------------------------------------------------------------------- /icons/TRACKER.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mangos/mangosDeps/HEAD/icons/TRACKER.gif -------------------------------------------------------------------------------- /icons/ACTIVITY.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mangos/mangosDeps/HEAD/icons/ACTIVITY.gif -------------------------------------------------------------------------------- /g3dlite/G3D/Matrix3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mangos/mangosDeps/HEAD/g3dlite/G3D/Matrix3.h -------------------------------------------------------------------------------- /g3dlite/G3D/Intersect.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mangos/mangosDeps/HEAD/g3dlite/G3D/Intersect.h -------------------------------------------------------------------------------- /g3dlite/G3D/CollisionDetection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mangos/mangosDeps/HEAD/g3dlite/G3D/CollisionDetection.cpp -------------------------------------------------------------------------------- /StormLib/README: -------------------------------------------------------------------------------- 1 | This is official repository for the StomLib library, an open-source project that can work with Blizzard MPQ archives. -------------------------------------------------------------------------------- /acelite/ace/uuid.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(ace_uuid) { 3 | Source_Files(ACE_COMPONENTS) { 4 | UUID.cpp 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /zlib/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | -@echo "Please use ./configure first. Thank you." 3 | 4 | distclean: 5 | make -f Makefile.in distclean 6 | -------------------------------------------------------------------------------- /acelite/ace/codecs.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(ace_codecs) { 3 | Source_Files(ACE_COMPONENTS) { 4 | Codecs.cpp 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /acelite/ace/filecache.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(ace_filecache) { 3 | Source_Files(ACE_COMPONENTS) { 4 | Filecache.cpp 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /acelite/ace/Dirent.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Dirent.h" 2 | 3 | #if !defined (__ACE_INLINE__) 4 | #include "ace/Dirent.inl" 5 | #endif /* __ACE_INLINE__ */ 6 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_devctl.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_devctl.h" 2 | 3 | #ifndef ACE_HAS_INLINED_OSCALLS 4 | # include "ace/OS_NS_devctl.inl" 5 | #endif 6 | -------------------------------------------------------------------------------- /acelite/ace/IO_Cntl_Msg.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/IO_Cntl_Msg.h" 2 | 3 | #if !defined (__ACE_INLINE__) 4 | #include "ace/IO_Cntl_Msg.inl" 5 | #endif /* __ACE_INLINE__ */ 6 | -------------------------------------------------------------------------------- /acelite/ace/config-windows.h: -------------------------------------------------------------------------------- 1 | /* -*- C++ -*- */ 2 | // This is all we need to do to build ACE on a Windows platform (32bit or 64bit) 3 | #include "config-win32.h" 4 | -------------------------------------------------------------------------------- /g3dlite/G3D/PositionTrait.h: -------------------------------------------------------------------------------- 1 | #ifndef G3D_POSITIONTRAIT_H 2 | #define G3D_POSITIONTRAIT_H 3 | 4 | template 5 | struct PositionTrait{}; 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /acelite/ace/OS_TLI.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_TLI.h" 2 | 3 | 4 | 5 | #if !defined (ACE_HAS_INLINED_OSCALLS) 6 | # include "ace/OS_TLI.inl" 7 | #endif /* !ACE_HAS_INLINED_OSCALLS */ 8 | -------------------------------------------------------------------------------- /acelite/ace/Active_Map_Manager.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Active_Map_Manager.h" 2 | 3 | #if !defined (__ACE_INLINE__) 4 | #include "ace/Active_Map_Manager.inl" 5 | #endif /* __ACE_INLINE__ */ 6 | -------------------------------------------------------------------------------- /acelite/ace/Functor_String.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Functor_String.h" 2 | 3 | #if !defined (__ACE_INLINE__) 4 | #include "ace/Functor_String.inl" 5 | #endif /* __ACE_INLINE__ */ 6 | 7 | 8 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_math.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_math.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_math.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_poll.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_poll.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_poll.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_pwd.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_pwd.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_pwd.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | -------------------------------------------------------------------------------- /acelite/ace/Date_Time.cpp: -------------------------------------------------------------------------------- 1 | // Date_Time.cpp 2 | #include "ace/Date_Time.h" 3 | 4 | #if !defined (__ACE_INLINE__) 5 | #include "ace/Date_Time.inl" 6 | #endif /* __ACE_INLINE__ */ 7 | 8 | 9 | -------------------------------------------------------------------------------- /acelite/ace/Lock.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Lock::ACE_Lock (void) 6 | { 7 | } 8 | 9 | ACE_END_VERSIONED_NAMESPACE_DECL 10 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_regex.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_regex.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_regex.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | -------------------------------------------------------------------------------- /acelite/ace/Monotonic_Time_Policy.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Monotonic_Time_Policy.h" 2 | 3 | #if !defined(__ACE_INLINE__) 4 | # include "ace/Monotonic_Time_Policy.inl" 5 | #endif /* __ACE_INLINE__ */ 6 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_sys_msg.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_sys_msg.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_sys_msg.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_sys_shm.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_sys_shm.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_sys_shm.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_sys_wait.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_sys_wait.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_sys_wait.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_dlfcn.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_dlfcn.h" 2 | 3 | 4 | 5 | #if !defined (ACE_HAS_INLINED_OSCALLS) 6 | # include "ace/OS_NS_dlfcn.inl" 7 | #endif /* ACE_HAS_INLINED_OSCALLS */ 8 | 9 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_sys_mman.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_sys_mman.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_sys_mman.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_sys_stat.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_sys_stat.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_sys_stat.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_sys_time.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_sys_time.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_sys_time.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | -------------------------------------------------------------------------------- /acelite/ace/Obchunk.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Obchunk::~ACE_Obchunk (void) 6 | { 7 | } 8 | 9 | ACE_END_VERSIONED_NAMESPACE_DECL 10 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_sys_select.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_sys_select.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_sys_select.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | -------------------------------------------------------------------------------- /acelite/ace/config-macosx-sierra.h: -------------------------------------------------------------------------------- 1 | #ifndef ACE_CONFIG_MACOSX_SIERRA_H 2 | #define ACE_CONFIG_MACOSX_SIERRA_H 3 | 4 | #include "ace/config-macosx-elcapitan.h" 5 | 6 | #endif // ACE_CONFIG_MACOSX_SIERRA_H 7 | -------------------------------------------------------------------------------- /StormLib/src/wdk/sources-wdk-ltc.c: -------------------------------------------------------------------------------- 1 | // This is a source file for WDK build of StormLib 2 | // It is copied to the root folder during the build process 3 | 4 | #include "src\libtomcrypt\src\math\ltm_desc.c" 5 | -------------------------------------------------------------------------------- /acelite/ace/Containers.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Containers.h" 2 | 3 | #if !defined (__ACE_INLINE__) 4 | #include "ace/Containers.inl" 5 | #endif /* __ACE_INLINE__ */ 6 | 7 | ACE_ALLOC_HOOK_DEFINE (ACE_DLList_Node) 8 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_ctype.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/OS_NS_ctype.h" 3 | 4 | #if !defined (ACE_HAS_INLINED_OSCALLS) 5 | # include "ace/OS_NS_ctype.inl" 6 | #endif /* ACE_HAS_INLINED_OSCALLS */ 7 | 8 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_sys_resource.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_sys_resource.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_sys_resource.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_wctype.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/OS_NS_wctype.h" 3 | 4 | #if !defined (ACE_HAS_INLINED_OSCALLS) 5 | # include "ace/OS_NS_wctype.inl" 6 | #endif /* ACE_HAS_INLINED_OSCALLS */ 7 | 8 | -------------------------------------------------------------------------------- /acelite/ace/config-macosx-yosemite.h: -------------------------------------------------------------------------------- 1 | #ifndef ACE_CONFIG_MACOSX_YOSEMITE_H 2 | #define ACE_CONFIG_MACOSX_YOSEMITE_H 3 | 4 | #include "ace/config-macosx-mavericks.h" 5 | 6 | #endif // ACE_CONFIG_MACOSX_YOSEMITE_H 7 | -------------------------------------------------------------------------------- /acelite/ace/Shared_Object.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Shared_Object::ACE_Shared_Object (void) 6 | { 7 | } 8 | 9 | ACE_END_VERSIONED_NAMESPACE_DECL 10 | -------------------------------------------------------------------------------- /acelite/ace/config-macosx-elcapitan.h: -------------------------------------------------------------------------------- 1 | #ifndef ACE_CONFIG_MACOSX_ELCAPITAN_H 2 | #define ACE_CONFIG_MACOSX_ELCAPITAN_H 3 | 4 | #include "ace/config-macosx-yosemite.h" 5 | 6 | #endif // ACE_CONFIG_MACOSX_ELCAPITAN_H 7 | -------------------------------------------------------------------------------- /acelite/ace/config-macosx-highsierra.h: -------------------------------------------------------------------------------- 1 | #ifndef ACE_CONFIG_MACOSX_HIGHSIERRA_H 2 | #define ACE_CONFIG_MACOSX_HIGHSIERRA_H 3 | 4 | #include "ace/config-macosx-sierra.h" 5 | 6 | #endif // ACE_CONFIG_MACOSX_HIGHSIERRA_H 7 | -------------------------------------------------------------------------------- /acelite/ace/OS_Log_Msg_Attributes.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_Log_Msg_Attributes.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_Log_Msg_Attributes.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | 8 | -------------------------------------------------------------------------------- /acelite/ace/Obstack.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/Obstack.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_SINGLETON_TEMPLATE_INSTANTIATION(ACE_Obstack_T ;); 7 | 8 | ACE_END_VERSIONED_NAMESPACE_DECL 9 | -------------------------------------------------------------------------------- /acelite/ace/Event_Handler.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Notification_Buffer::~ACE_Notification_Buffer (void) 6 | { 7 | } 8 | 9 | ACE_END_VERSIONED_NAMESPACE_DECL 10 | -------------------------------------------------------------------------------- /acelite/ace/Hashable.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Hashable::ACE_Hashable (void) 6 | : hash_value_ (0) 7 | { 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | -------------------------------------------------------------------------------- /acelite/ace/Message_Queue.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Message_Queue_Base::ACE_Message_Queue_Base (void) 6 | { 7 | } 8 | 9 | ACE_END_VERSIONED_NAMESPACE_DECL 10 | -------------------------------------------------------------------------------- /acelite/ace/Thread_Semaphore.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Thread_Semaphore::~ACE_Thread_Semaphore (void) 6 | { 7 | } 8 | 9 | ACE_END_VERSIONED_NAMESPACE_DECL 10 | -------------------------------------------------------------------------------- /acelite/ace/Shared_Memory.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Shared_Memory.h" 2 | 3 | 4 | 5 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 6 | 7 | ACE_Shared_Memory::~ACE_Shared_Memory (void) 8 | { 9 | } 10 | 11 | ACE_END_VERSIONED_NAMESPACE_DECL 12 | -------------------------------------------------------------------------------- /acelite/ace/Configuration.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE const ACE_TCHAR* 5 | ACE_Configuration_ExtId::name (void) 6 | { 7 | return name_; 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | -------------------------------------------------------------------------------- /acelite/ace/Log_Msg_Backend.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Log_Msg_Backend.h" 2 | 3 | 4 | 5 | 6 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 7 | 8 | ACE_Log_Msg_Backend::~ACE_Log_Msg_Backend (void) 9 | { 10 | } 11 | 12 | ACE_END_VERSIONED_NAMESPACE_DECL 13 | -------------------------------------------------------------------------------- /acelite/ace/Ping_Socket.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE char * 5 | ACE_Ping_Socket::icmp_recv_buff (void) 6 | { 7 | return this->icmp_recv_buff_; 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | -------------------------------------------------------------------------------- /acelite/ace/Process_Manager.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE size_t 5 | ACE_Process_Manager::managed (void) const 6 | { 7 | return current_count_; 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | -------------------------------------------------------------------------------- /acelite/ace/Auto_Event.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template 5 | ACE_INLINE 6 | ACE_Auto_Event_T::~ACE_Auto_Event_T (void) 7 | { 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | -------------------------------------------------------------------------------- /acelite/ace/Reactor_Timer_Interface.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Reactor_Timer_Interface.h" 2 | 3 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 4 | 5 | ACE_Reactor_Timer_Interface::~ACE_Reactor_Timer_Interface() 6 | { 7 | } 8 | 9 | ACE_END_VERSIONED_NAMESPACE_DECL 10 | -------------------------------------------------------------------------------- /acelite/ace/Thread_Adapter.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE ACE_Thread_Manager * 5 | ACE_Thread_Adapter::thr_mgr (void) 6 | { 7 | return this->thr_mgr_; 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | -------------------------------------------------------------------------------- /StormLib/src/wdk/sources-wdk-misc.c: -------------------------------------------------------------------------------- 1 | // This is a source file for WDK build of StormLib 2 | // It is copied to the root folder during the build process 3 | 4 | #include "src\jenkins\lookup3.c" 5 | #include "src\pklib\explode.c" 6 | #include "src\pklib\implode.c" 7 | -------------------------------------------------------------------------------- /acelite/ace/Manual_Event.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template 5 | ACE_INLINE 6 | ACE_Manual_Event_T::~ACE_Manual_Event_T (void) 7 | { 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | -------------------------------------------------------------------------------- /acelite/ace/Obstack_T.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template ACE_INLINE size_t 5 | ACE_Obstack_T::size () const 6 | { 7 | return this->size_; 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | -------------------------------------------------------------------------------- /acelite/ace/Reactor_Impl.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Reactor_Impl.h" 2 | 3 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 4 | 5 | ACE_ALLOC_HOOK_DEFINE (ACE_Reactor_Impl) 6 | 7 | ACE_Reactor_Impl::~ACE_Reactor_Impl (void) 8 | { 9 | } 10 | 11 | ACE_END_VERSIONED_NAMESPACE_DECL 12 | -------------------------------------------------------------------------------- /acelite/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef __ACE_PCH__ 2 | #define __ACE_PCH__ 3 | 4 | #include "ace/ACE.h" 5 | #include "ace/OS_NS_Thread.h" 6 | #include "ace/Reactor.h" 7 | #include "ace/Proactor.h" 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | #endif -------------------------------------------------------------------------------- /acelite/ace/SOCK_Acceptor.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_SOCK_Acceptor::~ACE_SOCK_Acceptor (void) 6 | { 7 | ACE_TRACE ("ACE_SOCK_Acceptor::~ACE_SOCK_Acceptor"); 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | -------------------------------------------------------------------------------- /acelite/ace/ACE.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: ACE 7 | Description: ADAPTIVE Communication Environment 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lACE @LIBS@ 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /acelite/ace/POSIX_Proactor.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Asynch_Pseudo_Task& ACE_POSIX_Proactor::get_asynch_pseudo_task (void) 6 | { 7 | return this->pseudo_task_; 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | -------------------------------------------------------------------------------- /acelite/ace/Env_Value_T.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_ENV_VALUE_T_CPP 2 | #define ACE_ENV_VALUE_T_CPP 3 | 4 | #include "ace/Env_Value_T.h" 5 | 6 | #if ! defined (__ACE_INLINE__) 7 | #include "ace/Env_Value_T.inl" 8 | #endif /* __ACE_INLINE__ */ 9 | 10 | #endif /* ACE_ENV_VALUE_T_CPP */ 11 | -------------------------------------------------------------------------------- /StormLib/src/zlib/compress_zlib.c: -------------------------------------------------------------------------------- 1 | // Some compilers (e.g. Visual Studio 2012) don't like the name conflict between 2 | // zlib\compress.c and bzip2\compress.c. This file is plain wrapper for compress.c 3 | // in order to create obj file with a different name. 4 | 5 | #include "compress.c" 6 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_math.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | namespace ACE_OS { 5 | 6 | ACE_INLINE double 7 | log2 (double x) 8 | { 9 | return ace_log2_helper (x); 10 | } 11 | 12 | } // ACE_OS namespace 13 | 14 | ACE_END_VERSIONED_NAMESPACE_DECL 15 | -------------------------------------------------------------------------------- /acelite/ace/Sig_Handler.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_INLINE 3 | ACE_Sig_Handler::ACE_Sig_Handler (void) 4 | { 5 | } 6 | 7 | ACE_INLINE int 8 | ACE_Sig_Handler::in_range (int signum) 9 | { 10 | ACE_TRACE ("ACE_Sig_Handler::in_range"); 11 | return signum > 0 && signum < ACE_NSIG; 12 | } 13 | -------------------------------------------------------------------------------- /lualib/lua/lua.hpp: -------------------------------------------------------------------------------- 1 | // Some lua sources include this file and some do not, 2 | // so here is the file to be used with all lua sources as some libraries expect it to exist. 3 | 4 | #pragma once 5 | 6 | extern "C" { 7 | #include "lua.h" 8 | #include "lualib.h" 9 | #include "lauxlib.h" 10 | } 11 | -------------------------------------------------------------------------------- /acelite/ace/Encoding_Converter.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Encoding_Converter.h" 2 | 3 | #if defined (ACE_USES_WCHAR) 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_Encoding_Converter::~ACE_Encoding_Converter (void) 7 | { 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | #endif /* ACE_USES_WCHAR */ 12 | -------------------------------------------------------------------------------- /acelite/ace/Log_Msg_Callback.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Log_Msg_Callback.h" 2 | 3 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 4 | 5 | ACE_Log_Msg_Callback::ACE_Log_Msg_Callback (void) 6 | { 7 | } 8 | 9 | ACE_Log_Msg_Callback::~ACE_Log_Msg_Callback (void) 10 | { 11 | } 12 | 13 | ACE_END_VERSIONED_NAMESPACE_DECL 14 | -------------------------------------------------------------------------------- /acelite/ace/Timeprobe.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/config-all.h" 2 | 3 | 4 | 5 | #if defined (ACE_COMPILE_TIMEPROBES) 6 | 7 | #include "ace/Timeprobe.h" 8 | 9 | #if !defined (__ACE_INLINE__) 10 | #include "ace/Timeprobe.inl" 11 | #endif /* __ACE_INLINE__ */ 12 | 13 | #endif /* ACE_COMPILE_TIMEPROBES */ 14 | -------------------------------------------------------------------------------- /acelite/ace/SPIPE_Connector.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE bool 5 | ACE_SPIPE_Connector::reset_new_handle (ACE_HANDLE) 6 | { 7 | // Nothing to do here since the handle is not a socket 8 | return false; 9 | } 10 | 11 | ACE_END_VERSIONED_NAMESPACE_DECL 12 | -------------------------------------------------------------------------------- /acelite/ace/UPIPE_Acceptor.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE int 5 | ACE_UPIPE_Acceptor::remove (void) 6 | { 7 | ACE_TRACE ("ACE_UPIPE_Acceptor::remove"); 8 | return this->ACE_SPIPE_Acceptor::remove (); 9 | } 10 | 11 | ACE_END_VERSIONED_NAMESPACE_DECL 12 | -------------------------------------------------------------------------------- /acelite/ace/SOCK_SEQPACK_Acceptor.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_SOCK_SEQPACK_Acceptor::~ACE_SOCK_SEQPACK_Acceptor (void) 6 | { 7 | ACE_TRACE ("ACE_SOCK_SEQPACK_Acceptor::~ACE_SOCK_SEQPACK_Acceptor"); 8 | } 9 | 10 | ACE_END_VERSIONED_NAMESPACE_DECL 11 | -------------------------------------------------------------------------------- /acelite/ace/UPIPE_Stream.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE ACE_HANDLE 5 | ACE_UPIPE_Stream::get_handle (void) const 6 | { 7 | ACE_TRACE ("ACE_UPIPE_Stream::get_handle"); 8 | return this->ACE_SPIPE::get_handle (); 9 | } 10 | 11 | ACE_END_VERSIONED_NAMESPACE_DECL 12 | -------------------------------------------------------------------------------- /acelite/ace/XML_Svc_Conf.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/XML_Svc_Conf.h" 2 | 3 | #if (ACE_USES_CLASSIC_SVC_CONF == 0) 4 | 5 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 6 | 7 | ACE_XML_Svc_Conf::~ACE_XML_Svc_Conf (void) 8 | { 9 | } 10 | 11 | ACE_END_VERSIONED_NAMESPACE_DECL 12 | 13 | #endif /* ACE_USES_CLASSIC_SVC_CONF == 0 */ 14 | -------------------------------------------------------------------------------- /acelite/ace/Multihomed_INET_Addr.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | // Accessor implementations 5 | ACE_INLINE 6 | size_t 7 | ACE_Multihomed_INET_Addr::get_num_secondary_addresses() const 8 | { 9 | return this->secondaries_.size(); 10 | } 11 | 12 | ACE_END_VERSIONED_NAMESPACE_DECL 13 | -------------------------------------------------------------------------------- /acelite/ace/Copy_Disabled.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * @file Copy_Disabled.cpp 3 | * 4 | * @author Carlos O'Ryan 5 | */ 6 | 7 | #include "ace/Copy_Disabled.h" 8 | 9 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 10 | 11 | ACE_Copy_Disabled::ACE_Copy_Disabled (void) 12 | { 13 | } 14 | 15 | ACE_END_VERSIONED_NAMESPACE_DECL 16 | -------------------------------------------------------------------------------- /acelite/ace/token.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(ace_token) { 3 | macros -= ACE_LACKS_ACE_TOKEN 4 | 5 | Source_Files(ACE_COMPONENTS) { 6 | Local_Tokens.cpp 7 | Remote_Tokens.cpp 8 | Token_Collection.cpp 9 | Token_Invariants.cpp 10 | Token_Manager.cpp 11 | Token_Request_Reply.cpp 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /zlib/zlib.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | sharedlibdir=@sharedlibdir@ 5 | includedir=@includedir@ 6 | 7 | Name: zlib 8 | Description: zlib compression library 9 | Version: @VERSION@ 10 | 11 | Requires: 12 | Libs: -L${libdir} -L${sharedlibdir} -lz 13 | Cflags: -I${includedir} 14 | -------------------------------------------------------------------------------- /StormLib/src/wdk/sources-wdk-lzma.c: -------------------------------------------------------------------------------- 1 | // This is a source file for WDK build of StormLib 2 | // It is copied to the root folder during the build process 3 | 4 | #include "src\lzma\C\LzFind.c" 5 | #include "src\lzma\C\LzFindMt.c" 6 | #include "src\lzma\C\LzmaDec.c" 7 | #include "src\lzma\C\LzmaEnc.c" 8 | #include "src\lzma\C\Threads.c" 9 | -------------------------------------------------------------------------------- /acelite/ace/other.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(ace_other) { 3 | Source_Files(ACE_COMPONENTS) { 4 | Local_Name_Space.cpp 5 | Name_Proxy.cpp 6 | Name_Request_Reply.cpp 7 | Name_Space.cpp 8 | Naming_Context.cpp 9 | Registry_Name_Space.cpp 10 | Remote_Name_Space.cpp 11 | NT_Service.cpp 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /g3dlite/G3D/constants.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | @file constants.cpp 3 | 4 | @maintainer Morgan McGuire, http://graphics.cs.williams.edu 5 | @created 2009-05-20 6 | @edited 2010-01-29 7 | */ 8 | #include "G3D/constants.h" 9 | #include "G3D/Any.h" 10 | #include "G3D/stringutils.h" 11 | 12 | namespace G3D { 13 | 14 | 15 | 16 | } // G3D 17 | -------------------------------------------------------------------------------- /acelite/ace/Token_Collection.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #if defined (ACE_HAS_TOKENS_LIBRARY) 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE const ACE_TCHAR * 7 | ACE_Token_Collection::name (void) const 8 | { 9 | return name_; 10 | } 11 | 12 | ACE_END_VERSIONED_NAMESPACE_DECL 13 | 14 | #endif /* ACE_HAS_TOKENS_LIBRARY */ 15 | -------------------------------------------------------------------------------- /acelite/ace/config-macosx-iOS.h: -------------------------------------------------------------------------------- 1 | #ifndef ACE_CONFIG_MACOSX_IPHONE_H 2 | #define ACE_CONFIG_MACOSX_IPHONE_H 3 | 4 | #define ACE_HAS_IPHONE 5 | #define ACE_LACKS_SYSTEM 6 | 7 | #include "ace/config-macosx-mojave.h" 8 | 9 | #ifdef ACE_HAS_SYSV_IPC 10 | #undef ACE_HAS_SYSV_IPC 11 | #endif 12 | 13 | #endif /* ACE_CONFIG_MACOSX_IPHONE_H */ 14 | -------------------------------------------------------------------------------- /acelite/ace/config-macosx-snowleopard.h: -------------------------------------------------------------------------------- 1 | #ifndef ACE_CONFIG_MACOSX_SNOWLEOPARD_H 2 | #define ACE_CONFIG_MACOSX_SNOWLEOPARD_H 3 | 4 | #include "ace/config-macosx-leopard.h" 5 | 6 | #ifdef __clang__ 7 | #define ACE_ANY_OPS_USE_NAMESPACE 8 | #endif 9 | 10 | #define ACE_LACKS_UCONTEXT_H 11 | 12 | #endif // ACE_CONFIG_MACOSX_SNOWLEOPARD_H 13 | -------------------------------------------------------------------------------- /acelite/ace/Timeprobe.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE bool 5 | ACE_Event_Descriptions::operator== (const ACE_Event_Descriptions &rhs) const 6 | { 7 | return this->minimum_id_ == rhs.minimum_id_ && 8 | this->descriptions_ == rhs.descriptions_; 9 | } 10 | 11 | ACE_END_VERSIONED_NAMESPACE_DECL 12 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_signal.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_signal.h" 2 | 3 | #if !defined (ACE_HAS_INLINED_OSCALLS) 4 | # include "ace/OS_NS_signal.inl" 5 | #endif /* ACE_HAS_INLINED_OSCALLS */ 6 | 7 | #if !defined (ACE_HAS_SIGINFO_T) 8 | siginfo_t::siginfo_t (ACE_HANDLE handle) 9 | : si_handle_ (handle) 10 | { 11 | } 12 | #endif /* ACE_HAS_SIGINFO_T */ 13 | -------------------------------------------------------------------------------- /acelite/ace/Pair_T.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_PAIR_T_CPP 2 | #define ACE_PAIR_T_CPP 3 | 4 | #include "ace/Pair_T.h" 5 | 6 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 7 | # pragma once 8 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 9 | 10 | #if !defined (__ACE_INLINE__) 11 | #include "ace/Pair_T.inl" 12 | #endif /* __ACE_INLINE__ */ 13 | 14 | #endif /* ACE_PAIR_T_CPP */ 15 | -------------------------------------------------------------------------------- /acelite/ace/Barrier.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Sub_Barrier::~ACE_Sub_Barrier (void) 6 | { 7 | } 8 | 9 | ACE_INLINE 10 | ACE_Barrier::~ACE_Barrier (void) 11 | { 12 | } 13 | 14 | ACE_INLINE 15 | ACE_Thread_Barrier::~ACE_Thread_Barrier (void) 16 | { 17 | } 18 | 19 | ACE_END_VERSIONED_NAMESPACE_DECL 20 | -------------------------------------------------------------------------------- /acelite/ace/Event_Base.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE ACE_event_t 5 | ACE_Event_Base::handle (void) const 6 | { 7 | return this->handle_; 8 | } 9 | 10 | ACE_INLINE void 11 | ACE_Event_Base::handle (ACE_event_t new_handle) 12 | { 13 | this->handle_ = new_handle; 14 | } 15 | 16 | ACE_END_VERSIONED_NAMESPACE_DECL 17 | -------------------------------------------------------------------------------- /acelite/ace/Dirent_Selector.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE int 5 | ACE_Dirent_Selector::length (void) const 6 | { 7 | return n_; 8 | } 9 | 10 | ACE_INLINE ACE_DIRENT * 11 | ACE_Dirent_Selector::operator[] (const int n) const 12 | { 13 | return this->namelist_[n]; 14 | } 15 | 16 | ACE_END_VERSIONED_NAMESPACE_DECL 17 | -------------------------------------------------------------------------------- /acelite/ace/MMAP_Memory_Pool.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Mem_Map const & 6 | ACE_MMAP_Memory_Pool::mmap (void) const 7 | { 8 | return mmap_; 9 | } 10 | 11 | ACE_INLINE 12 | ACE_Mem_Map & 13 | ACE_MMAP_Memory_Pool::mmap (void) 14 | { 15 | return mmap_; 16 | } 17 | 18 | ACE_END_VERSIONED_NAMESPACE_DECL 19 | -------------------------------------------------------------------------------- /zlib/zlib.pc.cmakein: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=@CMAKE_INSTALL_PREFIX@ 3 | libdir=@INSTALL_LIB_DIR@ 4 | sharedlibdir=@INSTALL_LIB_DIR@ 5 | includedir=@INSTALL_INC_DIR@ 6 | 7 | Name: zlib 8 | Description: zlib compression library 9 | Version: @VERSION@ 10 | 11 | Requires: 12 | Libs: -L${libdir} -L${sharedlibdir} -lz 13 | Cflags: -I${includedir} 14 | -------------------------------------------------------------------------------- /acelite/ace/ATM_Params.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/ATM_Params.h" 2 | 3 | #if defined (ACE_HAS_ATM) 4 | 5 | #if !defined (__ACE_INLINE__) 6 | #include "ace/ATM_Params.inl" 7 | #endif /* __ACE_INLINE__ */ 8 | 9 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 10 | 11 | ACE_ALLOC_HOOK_DEFINE(ACE_ATM_Params) 12 | 13 | ACE_END_VERSIONED_NAMESPACE_DECL 14 | 15 | #endif /* ACE_HAS_ATM */ 16 | 17 | -------------------------------------------------------------------------------- /acelite/ace/DEV.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE int 5 | ACE_DEV::disable (int signum) const 6 | { 7 | #if defined (ACE_WIN32) 8 | ACE_UNUSED_ARG (signum) ; 9 | return 0 ; 10 | #else /* ACE_WIN32 */ 11 | return ACE_IO_SAP::disable (signum) ; 12 | #endif /* ACE_WIN32 */ 13 | } 14 | 15 | ACE_END_VERSIONED_NAMESPACE_DECL 16 | -------------------------------------------------------------------------------- /acelite/ace/FILE.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE int 5 | ACE_FILE::disable (int signum) const 6 | { 7 | #if defined (ACE_WIN32) 8 | ACE_UNUSED_ARG (signum) ; 9 | return 0 ; 10 | #else /* ACE_WIN32 */ 11 | return ACE_IO_SAP::disable (signum) ; 12 | #endif /* ACE_WIN32 */ 13 | } 14 | 15 | ACE_END_VERSIONED_NAMESPACE_DECL 16 | -------------------------------------------------------------------------------- /acelite/ace/ace_wchar.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/config-macros.h" 3 | #include "ace/ace_wchar.h" 4 | 5 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 6 | 7 | #if defined(ACE_HAS_ICONV) 8 | iconv_t ACE_Wide_To_Ascii::ACE_Wide_To_Ascii_iconv_env = 0; 9 | iconv_t ACE_Ascii_To_Wide::ACE_Ascii_To_Wide_iconv_env = 0; 10 | #endif 11 | 12 | ACE_END_VERSIONED_NAMESPACE_DECL 13 | -------------------------------------------------------------------------------- /acelite/ace/Connection_Recycling_Strategy.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Connection_Recycling_Strategy.h" 2 | 3 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 4 | 5 | ACE_Connection_Recycling_Strategy::ACE_Connection_Recycling_Strategy (void) 6 | { 7 | } 8 | 9 | ACE_Connection_Recycling_Strategy::~ACE_Connection_Recycling_Strategy (void) 10 | { 11 | } 12 | 13 | ACE_END_VERSIONED_NAMESPACE_DECL 14 | -------------------------------------------------------------------------------- /acelite/ace/Malloc_Allocator.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Static_Allocator_Base::ACE_Static_Allocator_Base (char * buffer, 6 | size_t size) 7 | : buffer_ (buffer), 8 | size_ (size), 9 | offset_ (0) 10 | { 11 | } 12 | 13 | ACE_END_VERSIONED_NAMESPACE_DECL 14 | -------------------------------------------------------------------------------- /acelite/ace/SPIPE.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE int 5 | ACE_SPIPE::disable (int signum) const 6 | { 7 | #if defined (ACE_WIN32) 8 | ACE_UNUSED_ARG (signum) ; 9 | return 0 ; 10 | #else /* ACE_WIN32 */ 11 | return ACE_IPC_SAP::disable (signum) ; 12 | #endif /* ACE_WIN32 */ 13 | } 14 | 15 | ACE_END_VERSIONED_NAMESPACE_DECL 16 | -------------------------------------------------------------------------------- /acelite/ace/config.h: -------------------------------------------------------------------------------- 1 | #ifndef __ACE_CONFIG_H__ 2 | #define __ACE_CONFIG_H__ 3 | 4 | #if defined(_WIN32) 5 | # include "ace/config-win32.h" 6 | #elif defined(__linux) || defined(__linux__) 7 | # include "ace/config-linux.h" 8 | #elif defined(__FreeBSD__) 9 | # include "ace/config-freebsd.h" 10 | #elif defined(__APPLE__) 11 | # include "ace/config-macosx.h" 12 | #endif 13 | 14 | #endif -------------------------------------------------------------------------------- /acelite/ace/config-macosx-mojave.h: -------------------------------------------------------------------------------- 1 | #ifndef ACE_CONFIG_MACOSX_MOJAVE_H 2 | #define ACE_CONFIG_MACOSX_MOJAVE_H 3 | 4 | // Get access to IPV6_RECVPKTINFO 5 | // See http://lxr.nginx.org/ident?_i=__APPLE_USE_RFC_3542 6 | #ifndef __APPLE_USE_RFC_3542 7 | #define __APPLE_USE_RFC_3542 8 | #endif 9 | 10 | #include "ace/config-macosx-highsierra.h" 11 | 12 | #endif // ACE_CONFIG_MACOSX_MOJAVE_H 13 | -------------------------------------------------------------------------------- /acelite/ace/Reactor_Notification_Strategy.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE ACE_Reactor * 5 | ACE_Reactor_Notification_Strategy::reactor (void) 6 | { 7 | return this->reactor_; 8 | } 9 | 10 | ACE_INLINE void 11 | ACE_Reactor_Notification_Strategy::reactor (ACE_Reactor *r) 12 | { 13 | this->reactor_ = r; 14 | } 15 | 16 | ACE_END_VERSIONED_NAMESPACE_DECL 17 | -------------------------------------------------------------------------------- /acelite/ace/SOCK_CODgram.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_SOCK_CODgram::ACE_SOCK_CODgram (void) 6 | { 7 | ACE_TRACE ("ACE_SOCK_CODgram::ACE_SOCK_CODgram"); 8 | } 9 | 10 | ACE_INLINE 11 | ACE_SOCK_CODgram::~ACE_SOCK_CODgram (void) 12 | { 13 | ACE_TRACE ("ACE_SOCK_CODgram::~ACE_SOCK_CODgram"); 14 | } 15 | 16 | ACE_END_VERSIONED_NAMESPACE_DECL 17 | -------------------------------------------------------------------------------- /acelite/ace/Version.h: -------------------------------------------------------------------------------- 1 | 2 | // -*- C++ -*- 3 | // This is file was automatically generated by $ACE_ROOT/bin/make_release.py 4 | 5 | #define ACE_MAJOR_VERSION 6 6 | #define ACE_MINOR_VERSION 5 7 | #define ACE_MICRO_VERSION 9 8 | #define ACE_BETA_VERSION 9 9 | #define ACE_VERSION "6.5.9" 10 | #define ACE_VERSION_CODE 394505 11 | #define ACE_MAKE_VERSION_CODE(a,b,c) (((a) << 16) + ((b) << 8) + (c)) 12 | 13 | -------------------------------------------------------------------------------- /acelite/VERSION.txt: -------------------------------------------------------------------------------- 1 | This is ACE version 6.5.9, released Fri May 01 09:57:51 CEST 2020 2 | 3 | If you have any problems with or questions about ACE, please send 4 | e-mail to the ACE mailing list (ace-bugs@list.isis.vanderbilt.edu), 5 | using the form found in the file PROBLEM-REPORT-FORM. In order 6 | to post to the list you must subscribe to it. 7 | 8 | See http://www.dre.vanderbilt.edu/~schmidt/ACE-mail.html 9 | -------------------------------------------------------------------------------- /acelite/ace/config-macosx-mountainlion.h: -------------------------------------------------------------------------------- 1 | #ifndef ACE_CONFIG_MACOSX_MOUNTAINLION_H 2 | #define ACE_CONFIG_MACOSX_MOUNTAINLION_H 3 | 4 | // Deprecated 5 | #ifndef ACE_LACKS_SBRK 6 | #define ACE_LACKS_SBRK 7 | #endif 8 | 9 | // Deprecated 10 | #ifndef ACE_LACKS_TEMPNAM 11 | #define ACE_LACKS_TEMPNAM 12 | #endif 13 | 14 | #include "ace/config-macosx-lion.h" 15 | 16 | #endif // ACE_CONFIG_MACOSX_MOUNTAIN_LION_H 17 | -------------------------------------------------------------------------------- /acelite/ace/Proactor_Impl.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Proactor_Impl.h" 2 | 3 | #if defined (ACE_HAS_WIN32_OVERLAPPED_IO) || defined (ACE_HAS_AIO_CALLS) 4 | // This only works on standard Win32 platforms and on Unix platforms supporting 5 | // aio calls. 6 | 7 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 8 | 9 | ACE_Proactor_Impl::~ACE_Proactor_Impl (void) 10 | { 11 | } 12 | 13 | ACE_END_VERSIONED_NAMESPACE_DECL 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /acelite/ace/Condition_Attributes.cpp: -------------------------------------------------------------------------------- 1 | /* -*- C++ -*- */ 2 | /** 3 | * @file Condition_Attributes.cpp 4 | * 5 | * Originally in Synch.cpp 6 | * 7 | * @author Douglas C. Schmidt 8 | */ 9 | 10 | #include "ace/Condition_Thread_Mutex.h" 11 | #include "ace/Condition_Attributes.h" 12 | 13 | #if !defined (__ACE_INLINE__) 14 | #include "ace/Condition_Attributes.inl" 15 | #endif /* __ACE_INLINE__ */ 16 | -------------------------------------------------------------------------------- /acelite/ace/Bound_Ptr.cpp: -------------------------------------------------------------------------------- 1 | /* -*- C++ -*- */ 2 | #ifndef ACE_BOUND_PTR_CPP 3 | #define ACE_BOUND_PTR_CPP 4 | 5 | #include "ace/Bound_Ptr.h" 6 | 7 | #if !defined (__ACE_INLINE__) 8 | #include "ace/Bound_Ptr.inl" 9 | #endif /* __ACE_INLINE__ */ 10 | 11 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 12 | 13 | ACE_ALLOC_HOOK_DEFINE_Tc(ACE_Bound_Ptr_Counter) 14 | 15 | ACE_END_VERSIONED_NAMESPACE_DECL 16 | 17 | #endif /* ACE_BOUND_PTR_CPP */ 18 | -------------------------------------------------------------------------------- /acelite/ace/Null_Mutex.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * @file Null_Mutex.cpp 3 | * 4 | * 5 | * 6 | * @author Justin Wilson 7 | */ 8 | 9 | #include "ace/Null_Mutex.h" 10 | 11 | #if defined (ACE_HAS_ALLOC_HOOKS) 12 | # include "ace/Malloc_Base.h" 13 | #endif /* ACE_HAS_ALLOC_HOOKS */ 14 | 15 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 16 | 17 | ACE_ALLOC_HOOK_DEFINE(ACE_Null_Mutex) 18 | 19 | ACE_END_VERSIONED_NAMESPACE_DECL 20 | -------------------------------------------------------------------------------- /acelite/ace/RW_Thread_Mutex.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE int 5 | ACE_RW_Thread_Mutex::tryacquire_write_upgrade (void) 6 | { 7 | // ACE_TRACE ("ACE_RW_Thread_Mutex::tryacquire_write_upgrade"); 8 | return ACE_OS::rw_trywrlock_upgrade (&this->lock_); 9 | } 10 | 11 | ACE_INLINE 12 | ACE_RW_Thread_Mutex::~ACE_RW_Thread_Mutex (void) 13 | { 14 | } 15 | 16 | ACE_END_VERSIONED_NAMESPACE_DECL 17 | -------------------------------------------------------------------------------- /acelite/AUTHORS: -------------------------------------------------------------------------------- 1 | Douglas C. Schmidt 2 | d.schmidt@vanderbilt.edu 3 | 4 | Professor of Computer Science 5 | Associate Chair of Computer Science and Engineering 6 | Department of Electrical Engineering and Computer Science 7 | Senior Researcher at the Institute for Software Integrated Systems (ISIS) 8 | Vanderbilt University 9 | Nashville, TN 37203 10 | 11 | www.dre.vanderbilt.edu/~schmidt 12 | TEL: (615) 343-8197 13 | FAX: (615) 343-7440 14 | -------------------------------------------------------------------------------- /g3dlite/G3D/BoundsTrait.h: -------------------------------------------------------------------------------- 1 | /** 2 | @file BoundsTrait.h 3 | 4 | @maintainer Morgan McGuire, http://graphics.cs.williams.edu 5 | @created 2008-10-01 6 | @edited 2008-10-01 7 | Copyright 2000-2009, Morgan McGuire. 8 | All rights reserved. 9 | */ 10 | 11 | #ifndef G3D_BOUNDSTRAIT_H 12 | #define G3D_BOUNDSTRAIT_H 13 | 14 | #include "G3D/platform.h" 15 | 16 | template 17 | struct BoundsTrait{}; 18 | 19 | #endif 20 | 21 | -------------------------------------------------------------------------------- /acelite/ace/Atomic_Op_Sparc.h: -------------------------------------------------------------------------------- 1 | /* -*- C++ -*- */ 2 | #ifndef ACE_ATOMIC_OP_SPARC_H 3 | #define ACE_ATOMIC_OP_SPARC_H 4 | 5 | extern "C" 6 | { 7 | unsigned long ace_atomic_add_long (volatile unsigned long *dest, long rhs); 8 | unsigned long ace_atomic_swap_long (volatile unsigned long *dest, unsigned long rhs); 9 | unsigned long ace_atomic_swap_add_long (volatile unsigned long *dest, long rhs); 10 | } 11 | 12 | #endif /* ACE_ATOMIC_OP_SPARC_H */ 13 | -------------------------------------------------------------------------------- /acelite/ace/Recyclable.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Recyclable.h" 2 | 3 | 4 | #if !defined (__ACE_INLINE__) 5 | #include "ace/Recyclable.inl" 6 | #endif /* __ACE_INLINE __ */ 7 | 8 | 9 | 10 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 11 | 12 | ACE_Recyclable::ACE_Recyclable (ACE_Recyclable_State initial_state) 13 | : recycle_state_ (initial_state) 14 | { 15 | } 16 | 17 | ACE_Recyclable::~ACE_Recyclable (void) 18 | { 19 | } 20 | 21 | ACE_END_VERSIONED_NAMESPACE_DECL 22 | -------------------------------------------------------------------------------- /acelite/ace/Unbounded_Set.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_UNBOUNDED_SET_CPP 2 | #define ACE_UNBOUNDED_SET_CPP 3 | 4 | #include "ace/Unbounded_Set.h" 5 | #include "ace/Malloc_Base.h" 6 | #include "ace/Log_Category.h" 7 | 8 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 9 | # pragma once 10 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 11 | 12 | #if !defined (__ACE_INLINE__) 13 | #include "ace/Unbounded_Set.inl" 14 | #endif /* __ACE_INLINE__ */ 15 | 16 | #endif /* ACE_UNBOUNDED_SET_CPP */ 17 | -------------------------------------------------------------------------------- /acelite/ace/Event.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template 5 | ACE_Time_Value_T 6 | ACE_Event_T::gettimeofday (void) const 7 | { 8 | return this->time_policy_ (); 9 | } 10 | 11 | template 12 | void 13 | ACE_Event_T::set_time_policy (TIME_POLICY const & rhs) 14 | { 15 | this->time_policy_ = rhs; 16 | } 17 | 18 | ACE_END_VERSIONED_NAMESPACE_DECL 19 | -------------------------------------------------------------------------------- /StormLib/src/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by DllMain.rc 4 | // 5 | 6 | // Next default values for new objects 7 | // 8 | #ifdef APSTUDIO_INVOKED 9 | #ifndef APSTUDIO_READONLY_SYMBOLS 10 | #define _APS_NEXT_RESOURCE_VALUE 101 11 | #define _APS_NEXT_COMMAND_VALUE 40001 12 | #define _APS_NEXT_CONTROL_VALUE 1000 13 | #define _APS_NEXT_SYMED_VALUE 101 14 | #endif 15 | #endif 16 | -------------------------------------------------------------------------------- /acelite/ace/Recyclable.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 4 | 5 | ACE_INLINE ACE_Recyclable_State 6 | ACE_Recyclable::recycle_state (void) const 7 | { 8 | return this->recycle_state_; 9 | } 10 | 11 | ACE_INLINE void 12 | ACE_Recyclable::recycle_state (ACE_Recyclable_State new_state) 13 | { 14 | if (this->recycle_state_ != ACE_RECYCLABLE_CLOSED) 15 | this->recycle_state_ = new_state; 16 | } 17 | 18 | ACE_END_VERSIONED_NAMESPACE_DECL 19 | -------------------------------------------------------------------------------- /zlib/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start)); 12 | -------------------------------------------------------------------------------- /acelite/ace/MEM_Connector.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // Establish a connection. 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE ACE_MEM_IO::Signal_Strategy 7 | ACE_MEM_Connector::preferred_strategy (void) const 8 | { 9 | return this->preferred_strategy_; 10 | } 11 | 12 | ACE_INLINE void 13 | ACE_MEM_Connector::preferred_strategy (ACE_MEM_IO::Signal_Strategy strategy) 14 | { 15 | this->preferred_strategy_ = strategy; 16 | } 17 | 18 | ACE_END_VERSIONED_NAMESPACE_DECL 19 | -------------------------------------------------------------------------------- /acelite/ace/config-sunos5.11.h: -------------------------------------------------------------------------------- 1 | /* -*- C++ -*- */ 2 | // The following configuration file is designed to work for SunOS 5.11 3 | // (Solaris 11) platforms using the SunC++ 5.x (Sun Studio 10-12), or g++ 4 | // compilers. 5 | 6 | #ifndef ACE_CONFIG_H 7 | 8 | // ACE_CONFIG_H is defined by one of the following #included headers. 9 | 10 | // #include the SunOS 5.10 config, then add any SunOS 5.11 updates below. 11 | #include "ace/config-sunos5.10.h" 12 | 13 | #endif /* ACE_CONFIG_H */ 14 | -------------------------------------------------------------------------------- /acelite/ace/Reverse_Lock_T.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/config-all.h" 3 | #include "ace/OS_NS_errno.h" 4 | 5 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 6 | 7 | template ACE_INLINE 8 | ACE_Reverse_Lock::ACE_Reverse_Lock ( 9 | ACE_LOCKING_MECHANISM &lock, 10 | ACE_Acquire_Method::METHOD_TYPE acquire_method) 11 | : lock_ (lock), 12 | acquire_method_ (acquire_method) 13 | { 14 | } 15 | 16 | ACE_END_VERSIONED_NAMESPACE_DECL 17 | -------------------------------------------------------------------------------- /acelite/ace/TLI_Stream.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/TLI_Stream.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE 7 | void 8 | ACE_TLI_Stream::set_rwflag (int value) 9 | { 10 | ACE_TRACE ("ACE_TLI_Stream::set_rwflag"); 11 | this->rwflag_ = value; 12 | } 13 | 14 | ACE_INLINE 15 | int 16 | ACE_TLI_Stream::get_rwflag (void) const 17 | { 18 | ACE_TRACE ("ACE_TLI_Stream::get_rwflag"); 19 | return this->rwflag_; 20 | } 21 | 22 | ACE_END_VERSIONED_NAMESPACE_DECL 23 | -------------------------------------------------------------------------------- /StormLib/src/zlib/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start)); 12 | -------------------------------------------------------------------------------- /acelite/ace/Refcountable_T.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_REFCOUNTABLE_T_CPP 2 | #define ACE_REFCOUNTABLE_T_CPP 3 | 4 | #include "ace/Refcountable_T.h" 5 | 6 | #if !defined (__ACE_INLINE__) 7 | #include "ace/Refcountable_T.inl" 8 | #endif /* __ACE_INLINE__ */ 9 | 10 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 11 | 12 | template 13 | ACE_Refcountable_T::~ACE_Refcountable_T (void) 14 | { 15 | } 16 | 17 | ACE_END_VERSIONED_NAMESPACE_DECL 18 | 19 | #endif /* !ACE_REFCOUNTABLE_T_CPP */ 20 | -------------------------------------------------------------------------------- /acelite/ace/config-macosx-mavericks.h: -------------------------------------------------------------------------------- 1 | #ifndef ACE_CONFIG_MACOSX_MAVERICKS_H 2 | #define ACE_CONFIG_MACOSX_MAVERICKS_H 3 | 4 | // Mac OS X has broken symbol visibility. Unless we're told otherwise, 5 | // disable it by default. 6 | #ifndef ACE_HAS_CUSTOM_EXPORT_MACROS 7 | #define ACE_HAS_CUSTOM_EXPORT_MACROS 0 8 | #endif 9 | 10 | #ifndef ACE_HAS_SSIZE_T 11 | #define ACE_HAS_SSIZE_T 12 | #endif 13 | 14 | #include "ace/config-macosx-mountainlion.h" 15 | 16 | #endif // ACE_CONFIG_MAVERICKS_H 17 | -------------------------------------------------------------------------------- /StormLib/README.md: -------------------------------------------------------------------------------- 1 | # StormLib 2 | 3 | This is official repository for the StomLib library, an open-source project that can work with Blizzard MPQ archives. 4 | 5 | ## Installation and basic usage 6 | ### Linux 7 | 1. Download latest release 8 | 2. Install StormLib: 9 | ``` 10 | $ cd 11 | $ cmake CMakeLists.txt 12 | $ make 13 | $ make install 14 | ``` 15 | 3. Include StormLib in your project: `#include ` 16 | 4. Make sure you compile your project with `-lstorm -lz -lbz2` 17 | 18 | -------------------------------------------------------------------------------- /StormLib/src/libtomcrypt/src/misc/crypt_ltc_mp_descriptor.c: -------------------------------------------------------------------------------- 1 | /* LibTomCrypt, modular cryptographic library -- Tom St Denis 2 | * 3 | * LibTomCrypt is a library that provides various cryptographic 4 | * algorithms in a highly modular and flexible manner. 5 | * 6 | * The library is free for all purposes without any express 7 | * guarantee it works. 8 | * 9 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 10 | */ 11 | #include "../headers/tomcrypt.h" 12 | 13 | ltc_math_descriptor ltc_mp = {0}; 14 | -------------------------------------------------------------------------------- /acelite/ace/Containers.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_DLList_Node::ACE_DLList_Node (void) 6 | : item_ (0), 7 | next_ (0), 8 | prev_ (0) 9 | { 10 | } 11 | 12 | ACE_INLINE 13 | ACE_DLList_Node::ACE_DLList_Node (void *i, 14 | ACE_DLList_Node *n, 15 | ACE_DLList_Node *p) 16 | : item_ (i), 17 | next_ (n), 18 | prev_ (p) 19 | { 20 | } 21 | 22 | ACE_END_VERSIONED_NAMESPACE_DECL 23 | -------------------------------------------------------------------------------- /acelite/ace/Message_Queue.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Message_Queue.h" 2 | #include "ace/Log_Category.h" 3 | 4 | #if !defined (__ACE_INLINE__) 5 | #include "ace/Message_Queue.inl" 6 | #endif /* __ACE_INLINE__ */ 7 | 8 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 9 | 10 | ACE_Message_Queue_Base::~ACE_Message_Queue_Base (void) 11 | { 12 | } 13 | 14 | int 15 | ACE_Message_Queue_Base::state (void) 16 | { 17 | ACE_TRACE ("ACE_Message_Queue_Base::state"); 18 | 19 | return this->state_; 20 | } 21 | 22 | ACE_END_VERSIONED_NAMESPACE_DECL 23 | -------------------------------------------------------------------------------- /acelite/ace/Token_Manager.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #if defined (ACE_HAS_TOKENS_LIBRARY) 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE ACE_TOKEN_CONST::MUTEX & 7 | ACE_Token_Manager::mutex (void) 8 | { 9 | ACE_TRACE ("ACE_Token_Manager::mutex"); 10 | return lock_; 11 | } 12 | 13 | ACE_INLINE void 14 | ACE_Token_Manager::debug (bool d) 15 | { 16 | ACE_TRACE ("ACE_Token_Manager::debug"); 17 | debug_ = d; 18 | } 19 | 20 | ACE_END_VERSIONED_NAMESPACE_DECL 21 | 22 | #endif /* ACE_HAS_TOKENS_LIBRARY */ 23 | -------------------------------------------------------------------------------- /acelite/ace/LSOCK_Dgram.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE void 5 | ACE_LSOCK_Dgram::set_handle (ACE_HANDLE h) 6 | { 7 | ACE_TRACE ("ACE_LSOCK_Dgram::set_handle"); 8 | this->ACE_SOCK_Dgram::set_handle (h); 9 | this->ACE_LSOCK::set_handle (h); 10 | } 11 | 12 | ACE_INLINE ACE_HANDLE 13 | ACE_LSOCK_Dgram::get_handle (void) const 14 | { 15 | ACE_TRACE ("ACE_LSOCK_Dgram::get_handle"); 16 | return this->ACE_SOCK_Dgram::get_handle (); 17 | } 18 | 19 | ACE_END_VERSIONED_NAMESPACE_DECL 20 | -------------------------------------------------------------------------------- /acelite/ace/Cleanup.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Cleanup::ACE_Cleanup (void) 6 | { 7 | } 8 | 9 | ACE_INLINE void* 10 | ACE_Cleanup_Info_Node::object(void) 11 | { 12 | return this->object_; 13 | } 14 | 15 | ACE_INLINE ACE_CLEANUP_FUNC 16 | ACE_Cleanup_Info_Node::cleanup_hook (void) 17 | { 18 | return this->cleanup_hook_; 19 | } 20 | 21 | ACE_INLINE void * 22 | ACE_Cleanup_Info_Node::param (void) 23 | { 24 | return this->param_; 25 | } 26 | 27 | ACE_END_VERSIONED_NAMESPACE_DECL 28 | -------------------------------------------------------------------------------- /acelite/ace/Managed_Object.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template 5 | ACE_INLINE 6 | ACE_Cleanup_Adapter::ACE_Cleanup_Adapter (void) 7 | // Note: don't explicitly initialize "object_", because TYPE may not 8 | // have a default constructor. Let the compiler figure it out . . . 9 | { 10 | } 11 | 12 | template 13 | ACE_INLINE 14 | TYPE & 15 | ACE_Cleanup_Adapter::object (void) 16 | { 17 | return this->object_; 18 | } 19 | 20 | ACE_END_VERSIONED_NAMESPACE_DECL 21 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_wctype.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #if defined (ACE_LACKS_ISWCTYPE) 3 | #include "ace/OS_NS_errno.h" 4 | #endif 5 | 6 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 7 | 8 | #if defined (ACE_HAS_WCHAR) 9 | ACE_INLINE int 10 | ACE_OS::ace_iswctype(wint_t c, wctype_t desc) 11 | { 12 | #if !defined (ACE_LACKS_ISWCTYPE) 13 | return iswctype (c, desc); 14 | #else 15 | ACE_UNUSED_ARG (c); 16 | ACE_UNUSED_ARG (desc); 17 | ACE_NOTSUP_RETURN (-1); 18 | #endif 19 | } 20 | #endif /* ACE_HAS_WCHAR */ 21 | 22 | ACE_END_VERSIONED_NAMESPACE_DECL 23 | -------------------------------------------------------------------------------- /acelite/ace/ATM_QoS.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE void 5 | ACE_ATM_QoS::dump (void) const 6 | { 7 | #if defined (ACE_HAS_DUMP) 8 | ACE_TRACE ("ACE_ATM_QoS::dump"); 9 | #endif /* ACE_HAS_DUMP */ 10 | } 11 | 12 | ACE_INLINE 13 | ACE_ATM_QoS::~ACE_ATM_QoS () 14 | { 15 | ACE_TRACE ("ACE_ATM_QoS::~ACE_ATM_QoS"); 16 | } 17 | 18 | ACE_INLINE 19 | ATM_QoS 20 | ACE_ATM_QoS::get_qos (void) 21 | { 22 | ACE_TRACE ("ACE_ATM_QoS::get_qos"); 23 | return qos_; 24 | } 25 | 26 | ACE_END_VERSIONED_NAMESPACE_DECL 27 | -------------------------------------------------------------------------------- /acelite/ace/Malloc.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Control_Block::ACE_Name_Node::~ACE_Name_Node (void) 6 | { 7 | } 8 | 9 | ACE_INLINE void 10 | ACE_Control_Block::ACE_Malloc_Header::init_ptr 11 | (ACE_Malloc_Header **ptr, ACE_Malloc_Header *init, void *) 12 | { 13 | *ptr = init; 14 | } 15 | 16 | ACE_INLINE void 17 | ACE_Control_Block::ACE_Name_Node::init_ptr 18 | (ACE_Name_Node **ptr, ACE_Name_Node *init, void *) 19 | { 20 | *ptr = init; 21 | } 22 | 23 | ACE_END_VERSIONED_NAMESPACE_DECL 24 | -------------------------------------------------------------------------------- /acelite/ace/Method_Request.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Method_Request.h" 2 | 3 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 4 | 5 | ACE_Method_Request::ACE_Method_Request (unsigned long prio) 6 | : priority_ (prio) 7 | { 8 | } 9 | 10 | ACE_Method_Request::~ACE_Method_Request (void) 11 | { 12 | } 13 | 14 | unsigned long 15 | ACE_Method_Request::priority (void) const 16 | { 17 | return this->priority_; 18 | } 19 | 20 | void 21 | ACE_Method_Request::priority (unsigned long prio) 22 | { 23 | this->priority_ = prio; 24 | } 25 | 26 | ACE_END_VERSIONED_NAMESPACE_DECL 27 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_fcntl.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/OS_NS_errno.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE int 7 | ACE_OS::fcntl (ACE_HANDLE handle, int cmd, long arg) 8 | { 9 | ACE_OS_TRACE ("ACE_OS::fcntl"); 10 | # if defined (ACE_LACKS_FCNTL) 11 | ACE_UNUSED_ARG (handle); 12 | ACE_UNUSED_ARG (cmd); 13 | ACE_UNUSED_ARG (arg); 14 | ACE_NOTSUP_RETURN (-1); 15 | # else 16 | ACE_OSCALL_RETURN (::fcntl (handle, cmd, arg), int, -1); 17 | # endif /* ACE_LACKS_FCNTL */ 18 | } 19 | 20 | ACE_END_VERSIONED_NAMESPACE_DECL 21 | -------------------------------------------------------------------------------- /acelite/ace/OS_Log_Msg_Attributes.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_OS_Log_Msg_Attributes::ACE_OS_Log_Msg_Attributes (void) : 6 | ostream_ (0), 7 | ostream_refcount_ (0), 8 | priority_mask_ (0), 9 | tracing_enabled_ (0), 10 | restart_ (true), 11 | trace_depth_ (0) 12 | # if defined (ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS) 13 | , seh_except_selector_ (0), 14 | seh_except_handler_ (0) 15 | # endif /* ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS */ 16 | { 17 | } 18 | 19 | ACE_END_VERSIONED_NAMESPACE_DECL 20 | -------------------------------------------------------------------------------- /acelite/ace/Auto_Ptr.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_AUTO_PTR_CPP 2 | #define ACE_AUTO_PTR_CPP 3 | 4 | #include "ace/Auto_Ptr.h" 5 | 6 | #if defined (ACE_HAS_ALLOC_HOOKS) 7 | # include "ace/Malloc_Base.h" 8 | #endif /* ACE_HAS_ALLOC_HOOKS */ 9 | 10 | #if !defined (__ACE_INLINE__) 11 | #include "ace/Auto_Ptr.inl" 12 | #endif /* __ACE_INLINE__ */ 13 | 14 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 15 | 16 | ACE_ALLOC_HOOK_DEFINE_Tt(ACE_Auto_Basic_Ptr) 17 | ACE_ALLOC_HOOK_DEFINE_Tt(ACE_Auto_Basic_Array_Ptr) 18 | 19 | ACE_END_VERSIONED_NAMESPACE_DECL 20 | 21 | #endif /* ACE_AUTO_PTR_CPP */ 22 | -------------------------------------------------------------------------------- /acelite/ace/FIFO.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/OS_NS_unistd.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE int 7 | ACE_FIFO::get_local_addr (const ACE_TCHAR *&r) const 8 | { 9 | ACE_TRACE ("ACE_FIFO::get_local_addr"); 10 | r = this->rendezvous_; 11 | return 0; 12 | } 13 | 14 | ACE_INLINE int 15 | ACE_FIFO::remove (void) 16 | { 17 | ACE_TRACE ("ACE_FIFO::remove"); 18 | int const result = this->close (); 19 | return ACE_OS::unlink (this->rendezvous_) == -1 || result == -1 ? -1 : 0; 20 | } 21 | 22 | ACE_END_VERSIONED_NAMESPACE_DECL 23 | -------------------------------------------------------------------------------- /acelite/ace/FIFO_Recv.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/ACE.h" 3 | #include "ace/OS_NS_unistd.h" 4 | 5 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 6 | 7 | ACE_INLINE ssize_t 8 | ACE_FIFO_Recv::recv (void *buf, size_t len) 9 | { 10 | ACE_TRACE ("ACE_FIFO_Recv::recv"); 11 | return ACE_OS::read (this->get_handle (), (char *) buf, len); 12 | } 13 | 14 | ACE_INLINE ssize_t 15 | ACE_FIFO_Recv::recv_n (void *buf, size_t n) 16 | { 17 | ACE_TRACE ("ACE_FIFO_Recv::recv_n"); 18 | return ACE::recv_n (this->get_handle (), buf, n); 19 | } 20 | 21 | ACE_END_VERSIONED_NAMESPACE_DECL 22 | -------------------------------------------------------------------------------- /acelite/ace/Active_Map_Manager_T.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_ACTIVE_MAP_MANAGER_T_CPP 2 | #define ACE_ACTIVE_MAP_MANAGER_T_CPP 3 | 4 | #include "ace/Active_Map_Manager_T.h" 5 | 6 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 7 | # pragma once 8 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 9 | 10 | #if !defined (__ACE_INLINE__) 11 | #include "ace/Active_Map_Manager_T.inl" 12 | #endif /* __ACE_INLINE__ */ 13 | 14 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 15 | 16 | ACE_ALLOC_HOOK_DEFINE_Tc(ACE_Active_Map_Manager) 17 | 18 | ACE_END_VERSIONED_NAMESPACE_DECL 19 | 20 | #endif /* ACE_ACTIVE_MAP_MANAGER_T_CPP */ 21 | -------------------------------------------------------------------------------- /acelite/ace/Intrusive_Auto_Ptr.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_INTRUSIVE_AUTO_PTR_CPP 2 | #define ACE_INTRUSIVE_AUTO_PTR_CPP 3 | 4 | #include "ace/Intrusive_Auto_Ptr.h" 5 | 6 | #if !defined (__ACE_INLINE__) 7 | #include "ace/Intrusive_Auto_Ptr.inl" 8 | #endif /* __ACE_INLINE __ */ 9 | 10 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 11 | 12 | ACE_ALLOC_HOOK_DEFINE_Tc(ACE_Intrusive_Auto_Ptr) 13 | 14 | template 15 | ACE_Intrusive_Auto_Ptr::~ACE_Intrusive_Auto_Ptr (void) 16 | { 17 | reset (0); 18 | } 19 | 20 | ACE_END_VERSIONED_NAMESPACE_DECL 21 | 22 | #endif /* !ACE_INTRUSIVE_AUTO_PTR_CPP */ 23 | -------------------------------------------------------------------------------- /acelite/ace/Notification_Strategy.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Notification_Strategy.h" 2 | 3 | #if !defined (__ACE_INLINE__) 4 | #include "ace/Notification_Strategy.inl" 5 | #endif /* __ACE_INLINE __ */ 6 | 7 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 8 | 9 | ACE_Notification_Strategy::ACE_Notification_Strategy (ACE_Event_Handler *eh, 10 | ACE_Reactor_Mask mask) 11 | : eh_ (eh), 12 | mask_ (mask) 13 | { 14 | } 15 | 16 | ACE_Notification_Strategy::~ACE_Notification_Strategy (void) 17 | { 18 | } 19 | 20 | ACE_END_VERSIONED_NAMESPACE_DECL 21 | -------------------------------------------------------------------------------- /StormLib/src/jenkins/lookup.h: -------------------------------------------------------------------------------- 1 | #ifndef __LOOKUP3_H__ 2 | #define __LOOKUP3_H__ 3 | 4 | #ifdef WIN32 5 | typedef unsigned char uint8_t; 6 | typedef unsigned short uint16_t; 7 | typedef unsigned int uint32_t; 8 | #else 9 | #include /* defines uint32_t etc */ 10 | #endif 11 | 12 | #ifdef __cplusplus 13 | extern "C" 14 | { 15 | #endif 16 | 17 | uint32_t hashlittle(const void *key, size_t length, uint32_t initval); 18 | void hashlittle2(const void *key, size_t length, uint32_t *pc, uint32_t *pb); 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | 24 | #endif // __LOOKUP3_H__ 25 | -------------------------------------------------------------------------------- /acelite/ace/FIFO_Send.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/ACE.h" 3 | #include "ace/OS_NS_unistd.h" 4 | 5 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 6 | 7 | ACE_INLINE ssize_t 8 | ACE_FIFO_Send::send (const void *buf, size_t len) 9 | { 10 | ACE_TRACE ("ACE_FIFO_Send::send"); 11 | return ACE_OS::write (this->get_handle (), (const char *) buf, len); 12 | } 13 | 14 | ACE_INLINE ssize_t 15 | ACE_FIFO_Send::send_n (const void *buf, size_t n) 16 | { 17 | ACE_TRACE ("ACE_FIFO_Send::send_n"); 18 | return ACE::send_n (this->get_handle (), buf, n); 19 | } 20 | 21 | ACE_END_VERSIONED_NAMESPACE_DECL 22 | -------------------------------------------------------------------------------- /acelite/ace/Refcounted_Auto_Ptr.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_REFCOUNTED_AUTO_PTR_CPP 2 | #define ACE_REFCOUNTED_AUTO_PTR_CPP 3 | 4 | #include "ace/Refcounted_Auto_Ptr.h" 5 | 6 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 7 | 8 | ACE_ALLOC_HOOK_DEFINE_Tcc(ACE_Refcounted_Auto_Ptr) 9 | ACE_ALLOC_HOOK_DEFINE_Tcc(ACE_Refcounted_Auto_Ptr_Rep) 10 | 11 | template 12 | ACE_Refcounted_Auto_Ptr::~ACE_Refcounted_Auto_Ptr (void) 13 | { 14 | AUTO_REFCOUNTED_PTR_REP::detach (rep_); 15 | } 16 | 17 | ACE_END_VERSIONED_NAMESPACE_DECL 18 | 19 | #endif /* !ACE_REFCOUNTED_AUTO_PTR_CPP */ 20 | -------------------------------------------------------------------------------- /g3dlite/G3D/netheaders.h: -------------------------------------------------------------------------------- 1 | #ifndef G3D_netheaders_h 2 | #define G3D_netheaders_h 3 | 4 | #include "G3D/platform.h" 5 | 6 | #ifdef G3D_WIN32 7 | # if (G3D_WINSOCK_MAJOR_VERSION == 2) 8 | # include 9 | # elif (G3D_WINSOCK_MAJOR_VERSION == 1) 10 | # include 11 | # endif 12 | #else 13 | # include 14 | # include 15 | # include 16 | # ifndef SOCKADDR_IN 17 | # define SOCKADDR_IN struct sockaddr_in 18 | # endif 19 | # ifndef SOCKET 20 | # define SOCKET int 21 | # endif 22 | #endif 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /acelite/ace/SV_Message.cpp: -------------------------------------------------------------------------------- 1 | // SV_Message.cpp 2 | #include "ace/SV_Message.h" 3 | 4 | #if defined (ACE_HAS_ALLOC_HOOKS) 5 | # include "ace/Malloc_Base.h" 6 | #endif /* ACE_HAS_ALLOC_HOOKS */ 7 | 8 | #if !defined (__ACE_INLINE__) 9 | #include "ace/SV_Message.inl" 10 | #endif /* __ACE_INLINE__ */ 11 | 12 | 13 | 14 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 15 | 16 | ACE_ALLOC_HOOK_DEFINE(ACE_SV_Message) 17 | 18 | void 19 | ACE_SV_Message::dump (void) const 20 | { 21 | #if defined (ACE_HAS_DUMP) 22 | ACE_TRACE ("ACE_SV_Message::dump"); 23 | #endif /* ACE_HAS_DUMP */ 24 | } 25 | 26 | ACE_END_VERSIONED_NAMESPACE_DECL 27 | -------------------------------------------------------------------------------- /g3dlite/G3D/G3DAll.h: -------------------------------------------------------------------------------- 1 | /** 2 | @file G3DAll.h 3 | 4 | Includes all G3D and GLG3D files and uses the G3D namespace. 5 | 6 | This requires OpenGL and SDL headers. If you don't want all of this, 7 | \#include separately. 8 | 9 | @maintainer Morgan McGuire, http://graphics.cs.williams.edu 10 | 11 | @created 2002-01-01 12 | @edited 2006-08-13 13 | 14 | Copyright 2000-2006, Morgan McGuire. 15 | All rights reserved. 16 | */ 17 | 18 | #ifndef G3D_G3DALL_H 19 | #define G3D_G3DALL_H 20 | 21 | #include "G3D/G3D.h" 22 | #include "GLG3D/GLG3D.h" 23 | 24 | using namespace G3D; 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /acelite/ace/config-sunos5.9.h: -------------------------------------------------------------------------------- 1 | /* -*- C++ -*- */ 2 | // The following configuration file is designed to work for SunOS 5.9 3 | // (Solaris 9) platforms using the SunC++ 5.x (Forte 6 and 7), or g++ 4 | // compilers. 5 | 6 | #ifndef ACE_CONFIG_H 7 | 8 | // ACE_CONFIG_H is defined by one of the following #included headers. 9 | 10 | // #include the SunOS 5.8 config, then add any SunOS 5.9 updates below. 11 | #include "ace/config-sunos5.8.h" 12 | 13 | #define ACE_HAS_SENDFILE 1 14 | #define ACE_LACKS_GETADDRINFO 15 | #define ACE_LACKS_GETNAMEINFO 16 | #define ACE_LACKS_THR_CONCURRENCY_FUNCS 17 | 18 | #endif /* ACE_CONFIG_H */ 19 | -------------------------------------------------------------------------------- /acelite/ace/Activation_Queue.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE size_t 5 | ACE_Activation_Queue::method_count (void) const 6 | { 7 | return queue_->message_count (); 8 | } 9 | 10 | ACE_INLINE int 11 | ACE_Activation_Queue::is_full (void) const 12 | { 13 | return queue_->is_full (); 14 | } 15 | 16 | ACE_INLINE int 17 | ACE_Activation_Queue::is_empty (void) const 18 | { 19 | return queue_->is_empty (); 20 | } 21 | 22 | ACE_INLINE ACE_Message_Queue * 23 | ACE_Activation_Queue::queue (void) const 24 | { 25 | return queue_; 26 | } 27 | 28 | ACE_END_VERSIONED_NAMESPACE_DECL 29 | -------------------------------------------------------------------------------- /acelite/ace/LSOCK_Stream.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | // Sets both the file descriptors... Overrides handle from the base 5 | // classes. 6 | 7 | ACE_INLINE void 8 | ACE_LSOCK_Stream::set_handle (ACE_HANDLE fd) 9 | { 10 | ACE_TRACE ("ACE_LSOCK_Stream::set_handle"); 11 | this->ACE_SOCK_Stream::set_handle (fd); 12 | this->ACE_LSOCK::set_handle (fd); 13 | } 14 | 15 | ACE_INLINE ACE_HANDLE 16 | ACE_LSOCK_Stream::get_handle (void) const 17 | { 18 | ACE_TRACE ("ACE_LSOCK_Stream::get_handle"); 19 | return this->ACE_SOCK_Stream::get_handle (); 20 | } 21 | 22 | ACE_END_VERSIONED_NAMESPACE_DECL 23 | -------------------------------------------------------------------------------- /acelite/ace/Notification_Strategy.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 4 | 5 | ACE_INLINE ACE_Event_Handler * 6 | ACE_Notification_Strategy::event_handler (void) 7 | { 8 | return eh_; 9 | } 10 | 11 | ACE_INLINE void 12 | ACE_Notification_Strategy::event_handler (ACE_Event_Handler *eh) 13 | { 14 | this->eh_ = eh; 15 | } 16 | 17 | ACE_INLINE ACE_Reactor_Mask 18 | ACE_Notification_Strategy::mask (void) const 19 | { 20 | return mask_; 21 | } 22 | 23 | ACE_INLINE void 24 | ACE_Notification_Strategy::mask (ACE_Reactor_Mask m) 25 | { 26 | this->mask_ = m; 27 | } 28 | 29 | ACE_END_VERSIONED_NAMESPACE_DECL 30 | -------------------------------------------------------------------------------- /acelite/ace/Unbounded_Set_Ex.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/Global_Macros.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | template ACE_INLINE bool 7 | ACE_Unbounded_Set_Ex::is_empty (void) const 8 | { 9 | ACE_TRACE ("ACE_Unbounded_Set_Ex::is_empty"); 10 | return this->head_ == this->head_->next_; 11 | } 12 | 13 | template ACE_INLINE bool 14 | ACE_Unbounded_Set_Ex::is_full (void) const 15 | { 16 | ACE_TRACE ("ACE_Unbounded_Set_Ex::is_full"); 17 | return 0; // We should implement a "node of last resort for this..." 18 | } 19 | 20 | ACE_END_VERSIONED_NAMESPACE_DECL 21 | -------------------------------------------------------------------------------- /acelite/ace/config-vxworks6.8.h: -------------------------------------------------------------------------------- 1 | //* -*- C++ -*- */ 2 | // The following configuration file is designed to work for VxWorks 3 | // 6.8 platforms using one of these compilers: 4 | // 1) The GNU g++ compiler that is shipped with VxWorks 6.8 5 | // 2) The Diab compiler that is shipped with VxWorks 6.8 6 | 7 | #ifndef ACE_CONFIG_VXWORKS_6_8_H 8 | #define ACE_CONFIG_VXWORKS_6_8_H 9 | #include /**/ "ace/pre.h" 10 | 11 | #if !defined (ACE_VXWORKS) 12 | # define ACE_VXWORKS 0x680 13 | #endif /* ! ACE_VXWORKS */ 14 | 15 | #include "ace/config-vxworks6.7.h" 16 | 17 | 18 | #include /**/ "ace/post.h" 19 | #endif /* ACE_CONFIG_VXWORKS_6_8_H */ 20 | 21 | -------------------------------------------------------------------------------- /acelite/ace/Intrusive_List_Node.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template ACE_INLINE T* 5 | ACE_Intrusive_List_Node::prev (void) const 6 | { 7 | return this->prev_; 8 | } 9 | 10 | template ACE_INLINE void 11 | ACE_Intrusive_List_Node::prev (T *x) 12 | { 13 | this->prev_ = x; 14 | } 15 | 16 | template ACE_INLINE T* 17 | ACE_Intrusive_List_Node::next (void) const 18 | { 19 | return this->next_; 20 | } 21 | 22 | template ACE_INLINE void 23 | ACE_Intrusive_List_Node::next (T *x) 24 | { 25 | this->next_ = x; 26 | } 27 | 28 | ACE_END_VERSIONED_NAMESPACE_DECL 29 | -------------------------------------------------------------------------------- /acelite/ACE.mwc: -------------------------------------------------------------------------------- 1 | workspace { 2 | exclude { 3 | TAO 4 | } 5 | 6 | // The associate scope does not add directories to the workspace; 7 | // it only associates a name with one or more directories. 8 | associate(examples) { 9 | examples 10 | } 11 | associate(tests) { 12 | performance-tests 13 | tests 14 | } 15 | associate(gperf) { 16 | gperf 17 | } 18 | 19 | // The '--' is a special key that indicates that the associated 20 | // projects should be of the form @NAME@ in the generated Makefile.am. 21 | associate(--) { 22 | ACEXML 23 | ASNMP 24 | protocols 25 | KOKYU 26 | TAO 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /acelite/ace/Countdown_Time_T.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template ACE_INLINE bool 5 | ACE_Countdown_Time_T::stopped (void) const 6 | { 7 | return stopped_; 8 | } 9 | 10 | template ACE_INLINE void 11 | ACE_Countdown_Time_T::update (void) 12 | { 13 | this->stop (); 14 | this->start (); 15 | } 16 | 17 | template ACE_INLINE void 18 | ACE_Countdown_Time_T::set_time_policy(TIME_POLICY const & time_policy) 19 | { 20 | this->time_policy_ = time_policy; 21 | } 22 | 23 | ACE_END_VERSIONED_NAMESPACE_DECL 24 | -------------------------------------------------------------------------------- /g3dlite/G3D/EqualsTrait.h: -------------------------------------------------------------------------------- 1 | /** 2 | @file EqualsTrait.h 3 | 4 | @maintainer Morgan McGuire, http://graphics.cs.williams.edu 5 | @created 2008-10-01 6 | @edited 2008-10-01 7 | Copyright 2000-2009, Morgan McGuire. 8 | All rights reserved. 9 | */ 10 | 11 | #ifndef G3D_EQUALSTRAIT_H 12 | #define G3D_EQUALSTRAIT_H 13 | 14 | #include "G3D/platform.h" 15 | 16 | /** Default implementation of EqualsTrait. 17 | @see G3D::Table for specialization requirements. 18 | */ 19 | template struct EqualsTrait { 20 | static bool equals(const Key& a, const Key& b) { 21 | return a == b; 22 | } 23 | }; 24 | 25 | #endif 26 | 27 | -------------------------------------------------------------------------------- /acelite/ace/Intrusive_List_Node.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_INTRUSIVE_LIST_NODE_CPP 2 | #define ACE_INTRUSIVE_LIST_NODE_CPP 3 | 4 | #include "ace/Intrusive_List_Node.h" 5 | 6 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 7 | # pragma once 8 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 9 | 10 | #if !defined (__ACE_INLINE__) 11 | #include "ace/Intrusive_List_Node.inl" 12 | #endif /* __ACE_INLINE__ */ 13 | 14 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 15 | 16 | template 17 | ACE_Intrusive_List_Node::ACE_Intrusive_List_Node (void) 18 | : prev_ (0) 19 | , next_ (0) 20 | { 21 | } 22 | 23 | ACE_END_VERSIONED_NAMESPACE_DECL 24 | 25 | #endif /* ACE_INTRUSIVE_LIST_NODE_CPP */ 26 | -------------------------------------------------------------------------------- /acelite/ace/Lock_Adapter_T.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/OS_Memory.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | template 7 | ACE_INLINE 8 | ACE_Lock_Adapter::ACE_Lock_Adapter ( 9 | ACE_LOCKING_MECHANISM &lock) 10 | : lock_ (&lock), 11 | delete_lock_ (false) 12 | { 13 | } 14 | 15 | template 16 | ACE_INLINE 17 | ACE_Lock_Adapter::ACE_Lock_Adapter (void) 18 | : lock_ (0), 19 | delete_lock_ (true) 20 | { 21 | ACE_NEW (this->lock_, 22 | ACE_LOCKING_MECHANISM); 23 | } 24 | 25 | ACE_END_VERSIONED_NAMESPACE_DECL 26 | -------------------------------------------------------------------------------- /StormLib/src/wdk/sources-wdk-bzip2.c: -------------------------------------------------------------------------------- 1 | // This is a source file for WDK build of StormLib 2 | // It is copied to the root folder during the build process 3 | 4 | #pragma warning(disable: 4242) // '=' : conversion from 'Int32' to 'UChar', possible loss of data 5 | #pragma warning(disable: 4244) // '=' : conversion from '__int64' to 'Int32', possible loss of data 6 | 7 | #include "src\bzip2\blocksort.c" 8 | #include "src\bzip2\bzlib.c" 9 | #include "src\bzip2\compress.c" 10 | #include "src\bzip2\crctable.c" 11 | #include "src\bzip2\decompress.c" 12 | #include "src\bzip2\huffman.c" 13 | #include "src\bzip2\randtable.c" 14 | -------------------------------------------------------------------------------- /acelite/ace/Atomic_Op_GCC_T.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/OS_NS_unistd.h" 2 | 3 | #if defined (ACE_HAS_GCC_ATOMIC_BUILTINS) && (ACE_HAS_GCC_ATOMIC_BUILTINS == 1) 4 | 5 | #if !defined (__ACE_INLINE__) 6 | #include "ace/Atomic_Op_GCC_T.inl" 7 | #endif /* __ACE_INLINE__ */ 8 | 9 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 10 | 11 | template 12 | void 13 | ACE_Atomic_Op_GCC::dump (void) const 14 | { 15 | #if defined (ACE_HAS_DUMP) 16 | ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); 17 | ACELIB_DEBUG ((LM_DEBUG, ACE_END_DUMP)); 18 | #endif /* ACE_HAS_DUMP */ 19 | } 20 | 21 | ACE_END_VERSIONED_NAMESPACE_DECL 22 | 23 | #endif /* ACE_HAS_GCC_ATOMIC_BUILTINS */ 24 | -------------------------------------------------------------------------------- /acelite/ace/Flag_Manip.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/OS_NS_fcntl.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | // Return flags currently associated with handle. 7 | ACE_INLINE int 8 | ACE::get_flags (ACE_HANDLE handle) 9 | { 10 | ACE_TRACE ("ACE::get_flags"); 11 | 12 | #if defined (ACE_LACKS_FCNTL) 13 | // ACE_OS::fcntl is not supported. It 14 | // would be better to store ACE's notion of the flags 15 | // associated with the handle, but this works for now. 16 | ACE_UNUSED_ARG (handle); 17 | return 0; 18 | #else 19 | return ACE_OS::fcntl (handle, F_GETFL, 0); 20 | #endif /* ACE_LACKS_FCNTL */ 21 | } 22 | 23 | ACE_END_VERSIONED_NAMESPACE_DECL 24 | -------------------------------------------------------------------------------- /acelite/ace/config-vxworks6.7.h: -------------------------------------------------------------------------------- 1 | //* -*- C++ -*- */ 2 | // The following configuration file is designed to work for VxWorks 3 | // 6.7 platforms using one of these compilers: 4 | // 1) The GNU g++ compiler that is shipped with VxWorks 6.7 5 | // 2) The Diab compiler that is shipped with VxWorks 6.7 6 | 7 | #ifndef ACE_CONFIG_VXWORKS_6_7_H 8 | #define ACE_CONFIG_VXWORKS_6_7_H 9 | #include /**/ "ace/pre.h" 10 | 11 | #if !defined (ACE_VXWORKS) 12 | # define ACE_VXWORKS 0x670 13 | #endif /* ! ACE_VXWORKS */ 14 | 15 | #include "ace/config-vxworks6.6.h" 16 | 17 | #undef ACE_HAS_NONCONST_INET_ADDR 18 | 19 | #include /**/ "ace/post.h" 20 | #endif /* ACE_CONFIG_VXWORKS_6_7_H */ 21 | 22 | -------------------------------------------------------------------------------- /acelite/ace/post.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file post.h 6 | * 7 | * @author Christopher Kohlhoff 8 | * 9 | * This file restores the original alignment rules. 10 | */ 11 | //============================================================================= 12 | 13 | // No header guard 14 | #if defined (_MSC_VER) 15 | # pragma pack (pop) 16 | #elif defined (__BORLANDC__) 17 | # pragma option pop 18 | # if (__BORLANDC__ >= 0x660) && (__BORLANDC__ <= 0x730) 19 | # pragma option pop 20 | # endif 21 | # pragma nopushoptwarn 22 | # pragma nopackwarning 23 | #endif 24 | -------------------------------------------------------------------------------- /acelite/ace/Dynamic.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Dynamic::~ACE_Dynamic (void) 6 | { 7 | // ACE_TRACE ("ACE_Dynamic::~ACE_Dynamic"); 8 | } 9 | 10 | ACE_INLINE void 11 | ACE_Dynamic::set (void) 12 | { 13 | // ACE_TRACE ("ACE_Dynamic::set"); 14 | this->is_dynamic_ = true; 15 | } 16 | 17 | ACE_INLINE bool 18 | ACE_Dynamic::is_dynamic (void) 19 | { 20 | // ACE_TRACE ("ACE_Dynamic::is_dynamic"); 21 | return this->is_dynamic_; 22 | } 23 | 24 | ACE_INLINE void 25 | ACE_Dynamic::reset (void) 26 | { 27 | // ACE_TRACE ("ACE_Dynamic::reset"); 28 | this->is_dynamic_ = false; 29 | } 30 | 31 | ACE_END_VERSIONED_NAMESPACE_DECL 32 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_sys_sendfile.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #if defined ACE_HAS_SENDFILE && ACE_HAS_SENDFILE == 1 3 | # include 4 | #endif /* ACE_HAS_SENDFILE==1 */ 5 | 6 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 7 | 8 | ACE_INLINE ssize_t 9 | ACE_OS::sendfile (ACE_HANDLE out_fd, 10 | ACE_HANDLE in_fd, 11 | off_t * offset, 12 | size_t count) 13 | { 14 | #if defined ACE_HAS_SENDFILE && ACE_HAS_SENDFILE == 1 15 | return ::sendfile (out_fd, in_fd, offset, count); 16 | #else 17 | return ACE_OS::sendfile_emulation (out_fd, in_fd, offset, count); 18 | #endif /* ACE_HAS_SENDFILE==1 */ 19 | } 20 | 21 | ACE_END_VERSIONED_NAMESPACE_DECL 22 | -------------------------------------------------------------------------------- /acelite/ace/Managed_Object.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_MANAGED_OBJECT_CPP 2 | #define ACE_MANAGED_OBJECT_CPP 3 | 4 | #include "ace/Managed_Object.h" 5 | 6 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 7 | # pragma once 8 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 9 | 10 | #if !defined (__ACE_INLINE__) 11 | #include "ace/Managed_Object.inl" 12 | #endif /* __ACE_INLINE__ */ 13 | 14 | #if defined (ACE_HAS_ALLOC_HOOKS) 15 | # include "ace/Malloc_Base.h" 16 | #endif /* ACE_HAS_ALLOC_HOOKS */ 17 | 18 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 19 | 20 | template 21 | ACE_Cleanup_Adapter::~ACE_Cleanup_Adapter (void) 22 | { 23 | } 24 | 25 | ACE_END_VERSIONED_NAMESPACE_DECL 26 | 27 | #endif /* ACE_MANAGED_OBJECT_CPP */ 28 | -------------------------------------------------------------------------------- /lualib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(LUA_VERSION "lua52" CACHE STRING "Lua version to use") 2 | set_property(CACHE LUA_VERSION PROPERTY STRINGS luajit lua51 lua52 lua53 lua54) 3 | MESSAGE(STATUS "Lua version: ${LUA_VERSION}") 4 | 5 | # Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24: 6 | if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0") 7 | cmake_policy(SET CMP0135 NEW) 8 | endif() 9 | 10 | option(LUA_STATIC "link lua statically" OFF) 11 | if (LUA_STATIC) 12 | MESSAGE(STATUS "Lua linking: static") 13 | else() 14 | MESSAGE(STATUS "Lua linking: dynamic") 15 | endif() 16 | 17 | if (LUA_VERSION MATCHES "luajit") 18 | add_subdirectory(luajit) 19 | else() 20 | add_subdirectory(lua) 21 | endif() 22 | -------------------------------------------------------------------------------- /acelite/ace/config-vxworks6.5.h: -------------------------------------------------------------------------------- 1 | //* -*- C++ -*- */ 2 | // The following configuration file is designed to work for VxWorks 3 | // 6.5 platforms using one of these compilers: 4 | // 1) The GNU g++ compiler that is shipped with VxWorks 6.5 5 | // 2) The Diab compiler that is shipped with VxWorks 6.5 6 | 7 | #ifndef ACE_CONFIG_VXWORKS_6_5_H 8 | #define ACE_CONFIG_VXWORKS_6_5_H 9 | #include /**/ "ace/pre.h" 10 | 11 | #if !defined (ACE_VXWORKS) 12 | # define ACE_VXWORKS 0x650 13 | #endif /* ! ACE_VXWORKS */ 14 | 15 | #include "ace/config-vxworks6.4.h" 16 | 17 | #if defined (__RTP__) 18 | # undef ACE_HAS_GETIFADDRS 19 | #endif 20 | 21 | #include /**/ "ace/post.h" 22 | #endif /* ACE_CONFIG_VXWORKS_6_5_H */ 23 | 24 | -------------------------------------------------------------------------------- /acelite/ace/Read_Buffer.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | // Accessor to the number of bytes in the buffer. 5 | 6 | ACE_INLINE size_t 7 | ACE_Read_Buffer::size (void) const 8 | { 9 | ACE_TRACE ("ACE_Read_Buffer::size"); 10 | return this->size_; 11 | } 12 | 13 | // The total number of characters replaced. 14 | 15 | ACE_INLINE size_t 16 | ACE_Read_Buffer::replaced (void) const 17 | { 18 | ACE_TRACE ("ACE_Read_Buffer::replaced"); 19 | return this->occurrences_; 20 | } 21 | 22 | ACE_INLINE ACE_Allocator * 23 | ACE_Read_Buffer::alloc (void) const 24 | { 25 | ACE_TRACE ("ACE_Read_Buffer::alloc"); 26 | return this->allocator_; 27 | } 28 | 29 | ACE_END_VERSIONED_NAMESPACE_DECL 30 | -------------------------------------------------------------------------------- /acelite/ace/Thread_Hook.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Thread_Hook.h" 2 | #include "ace/Object_Manager_Base.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_Thread_Hook::ACE_Thread_Hook() 7 | { 8 | } 9 | 10 | ACE_Thread_Hook::~ACE_Thread_Hook () 11 | { 12 | } 13 | 14 | ACE_THR_FUNC_RETURN 15 | ACE_Thread_Hook::start (ACE_THR_FUNC func, void *arg) 16 | { 17 | return (func) (arg); 18 | } 19 | 20 | ACE_Thread_Hook * 21 | ACE_Thread_Hook::thread_hook (ACE_Thread_Hook *hook) 22 | { 23 | return ACE_OS_Object_Manager::thread_hook (hook); 24 | } 25 | 26 | ACE_Thread_Hook * 27 | ACE_Thread_Hook::thread_hook (void) 28 | { 29 | return ACE_OS_Object_Manager::thread_hook (); 30 | } 31 | 32 | ACE_END_VERSIONED_NAMESPACE_DECL 33 | -------------------------------------------------------------------------------- /acelite/ace/Unbounded_Queue.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template ACE_INLINE size_t 5 | ACE_Unbounded_Queue::size (void) const 6 | { 7 | return this->cur_size_; 8 | } 9 | 10 | template ACE_INLINE bool 11 | ACE_Unbounded_Queue::is_empty (void) const 12 | { 13 | // ACE_TRACE ("ACE_Unbounded_Queue::is_empty"); 14 | return this->head_ == this->head_->next_; 15 | } 16 | 17 | template ACE_INLINE bool 18 | ACE_Unbounded_Queue::is_full (void) const 19 | { 20 | // ACE_TRACE ("ACE_Unbounded_Queue::is_full"); 21 | return false; // We should implement a "node of last resort for this..." 22 | } 23 | 24 | ACE_END_VERSIONED_NAMESPACE_DECL 25 | -------------------------------------------------------------------------------- /acelite/ace/LSOCK_CODgram.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | // Do nothing constructor. 5 | 6 | ACE_INLINE 7 | ACE_LSOCK_CODgram::ACE_LSOCK_CODgram (void) 8 | { 9 | ACE_TRACE ("ACE_LSOCK_CODgram::ACE_LSOCK_CODgram"); 10 | } 11 | 12 | ACE_INLINE void 13 | ACE_LSOCK_CODgram::set_handle (ACE_HANDLE h) 14 | { 15 | ACE_TRACE ("ACE_LSOCK_CODgram::set_handle"); 16 | this->ACE_SOCK_CODgram::set_handle (h); 17 | this->ACE_LSOCK::set_handle (h); 18 | } 19 | 20 | ACE_INLINE ACE_HANDLE 21 | ACE_LSOCK_CODgram::get_handle (void) const 22 | { 23 | ACE_TRACE ("ACE_LSOCK_CODgram::get_handle"); 24 | return this->ACE_SOCK_CODgram::get_handle (); 25 | } 26 | 27 | ACE_END_VERSIONED_NAMESPACE_DECL 28 | -------------------------------------------------------------------------------- /g3dlite/G3D/serialize.h: -------------------------------------------------------------------------------- 1 | #ifndef G3D_SERIALIZE_H 2 | #define G3D_SERIALIZE_H 3 | 4 | #include "G3D/BinaryInput.h" 5 | #include "G3D/BinaryOutput.h" 6 | #include "G3D/Array.h" 7 | 8 | namespace G3D { 9 | 10 | 11 | template 12 | void serialize(const Array& array, BinaryOutput& b) { 13 | b.writeInt32(array.size()); 14 | for (int i = 0; i < array.size(); ++i) { 15 | serialize(array[i], b); 16 | } 17 | } 18 | 19 | template 20 | void deserialize(Array& array, BinaryInput& b) { 21 | int N = b.readInt32(); 22 | array.resize(N); 23 | for (int i = 0; i < array.size(); ++i) { 24 | deserialize(array[i], b); 25 | } 26 | } 27 | 28 | } 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /acelite/ace/Auto_IncDec_T.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | // Implicitly and automatically increment the counter. 5 | 6 | template ACE_INLINE 7 | ACE_Auto_IncDec::ACE_Auto_IncDec 8 | (ACE_SAFELY_INCREMENTABLE_DECREMENTABLE &counter) 9 | : counter_ (counter) 10 | { 11 | ++this->counter_; 12 | } 13 | 14 | // Implicitly and automatically decrement the counter. 15 | 16 | template ACE_INLINE 17 | ACE_Auto_IncDec::~ACE_Auto_IncDec (void) 18 | { 19 | --this->counter_; 20 | } 21 | 22 | ACE_END_VERSIONED_NAMESPACE_DECL 23 | -------------------------------------------------------------------------------- /acelite/ace/svcconf.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(ace_svcconf) { 3 | macros -= ACE_LACKS_ACE_SVCCONF 4 | 5 | Source_Files(ACE_COMPONENTS) { 6 | DLL.cpp 7 | Dynamic_Service_Base.cpp 8 | Dynamic_Service_Dependency.cpp 9 | Parse_Node.cpp 10 | Service_Config.cpp 11 | Service_Gestalt.cpp 12 | Service_Manager.cpp 13 | Service_Object.cpp 14 | Service_Repository.cpp 15 | Service_Types.cpp 16 | Shared_Object.cpp 17 | Svc_Conf_Lexer.cpp 18 | Svc_Conf_y.cpp 19 | Encoding_Converter.cpp 20 | Encoding_Converter_Factory.cpp 21 | UTF8_Encoding_Converter.cpp 22 | UTF16_Encoding_Converter.cpp 23 | UTF32_Encoding_Converter.cpp 24 | XML_Svc_Conf.cpp 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /acelite/ace/Intrusive_List.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | template ACE_INLINE bool 7 | ACE_Intrusive_List::is_empty (void) const 8 | { 9 | return this->head_ == 0; 10 | } 11 | 12 | template ACE_INLINE T * 13 | ACE_Intrusive_List::head (void) const 14 | { 15 | return this->head_; 16 | } 17 | 18 | template ACE_INLINE T * 19 | ACE_Intrusive_List::tail (void) const 20 | { 21 | return this->tail_; 22 | } 23 | 24 | template ACE_INLINE void 25 | ACE_Intrusive_List::swap(ACE_Intrusive_List & rhs) 26 | { 27 | std::swap(head_, rhs.head_); 28 | std::swap(tail_, rhs.tail_); 29 | } 30 | 31 | ACE_END_VERSIONED_NAMESPACE_DECL 32 | -------------------------------------------------------------------------------- /acelite/ace/Abstract_Timer_Queue.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_ABSTRACT_TIMER_QUEUE_CPP 2 | #define ACE_ABSTRACT_TIMER_QUEUE_CPP 3 | #include "ace/config-all.h" 4 | 5 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 6 | # pragma once 7 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 8 | 9 | #include "ace/Abstract_Timer_Queue.h" 10 | 11 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 12 | 13 | // Even though the destructor is pure virtual you must provide an 14 | // implementation. Most people know this, but sometimes we all 15 | // forget, and we might be tempted to remove this code. 16 | template 17 | ACE_Abstract_Timer_Queue:: 18 | ~ACE_Abstract_Timer_Queue () 19 | { 20 | } 21 | 22 | ACE_END_VERSIONED_NAMESPACE_DECL 23 | 24 | #endif /* ACE_ABSTRACT_TIMER_QUEUE_CPP */ 25 | -------------------------------------------------------------------------------- /acelite/ace/Typed_SV_Message.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_TYPED_SV_MESSAGE_CPP 2 | #define ACE_TYPED_SV_MESSAGE_CPP 3 | 4 | #include "ace/Typed_SV_Message.h" 5 | 6 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 7 | # pragma once 8 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 9 | 10 | #if !defined (__ACE_INLINE__) 11 | #include "ace/Typed_SV_Message.inl" 12 | #endif /* __ACE_INLINE__ */ 13 | 14 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 15 | 16 | ACE_ALLOC_HOOK_DEFINE(ACE_Typed_SV_Message) 17 | 18 | template void 19 | ACE_Typed_SV_Message::dump (void) const 20 | { 21 | #if defined (ACE_HAS_DUMP) 22 | ACE_TRACE ("ACE_Typed_SV_Message::dump"); 23 | #endif /* ACE_HAS_DUMP */ 24 | } 25 | 26 | ACE_END_VERSIONED_NAMESPACE_DECL 27 | 28 | #endif /* ACE_TYPED_SV_MESSAGE_CPP */ 29 | -------------------------------------------------------------------------------- /acelite/ace/UPIPE_Addr.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file UPIPE_Addr.h 6 | * 7 | * @author Doug Schmidt 8 | */ 9 | //============================================================================= 10 | 11 | 12 | #ifndef ACE_UPIPE_ADDR_H 13 | #define ACE_UPIPE_ADDR_H 14 | 15 | #include /**/ "ace/pre.h" 16 | 17 | #include "ace/SPIPE_Addr.h" 18 | 19 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 20 | # pragma once 21 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 22 | 23 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 24 | 25 | typedef ACE_SPIPE_Addr ACE_UPIPE_Addr; 26 | 27 | ACE_END_VERSIONED_NAMESPACE_DECL 28 | 29 | #include /**/ "ace/post.h" 30 | 31 | #endif /* ACE_UPIPE_ADDR_H */ 32 | -------------------------------------------------------------------------------- /acelite/ace/SV_Message.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/Global_Macros.h" 3 | #include "ace/config-all.h" 4 | 5 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 6 | 7 | ACE_INLINE 8 | ACE_SV_Message::ACE_SV_Message (long t) 9 | : type_ (t) 10 | { 11 | ACE_TRACE ("ACE_SV_Message::ACE_SV_Message"); 12 | } 13 | 14 | ACE_INLINE 15 | ACE_SV_Message::~ACE_SV_Message (void) 16 | { 17 | ACE_TRACE ("ACE_SV_Message::~ACE_SV_Message"); 18 | } 19 | 20 | ACE_INLINE long 21 | ACE_SV_Message::type (void) const 22 | { 23 | ACE_TRACE ("ACE_SV_Message::type"); 24 | return this->type_; 25 | } 26 | 27 | ACE_INLINE void 28 | ACE_SV_Message::type (long t) 29 | { 30 | ACE_TRACE ("ACE_SV_Message::type"); 31 | this->type_ = t; 32 | } 33 | 34 | ACE_END_VERSIONED_NAMESPACE_DECL 35 | -------------------------------------------------------------------------------- /acelite/ace/Time_Policy_T.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_TIME_POLICY_T_CPP 2 | #define ACE_TIME_POLICY_T_CPP 3 | 4 | #include "ace/Time_Policy_T.h" 5 | 6 | #if !defined (__ACE_INLINE__) 7 | #include "ace/Time_Policy_T.inl" 8 | #endif /* __ACE_INLINE__ */ 9 | 10 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 11 | 12 | template 13 | ACE_Time_Policy_T::~ACE_Time_Policy_T () 14 | { 15 | } 16 | 17 | template ACE_Time_Value_T 18 | ACE_Time_Policy_T::gettimeofday () const 19 | { 20 | return ACE_Time_Value_T (this->time_policy_ (), ACE_Delegating_Time_Policy (this)); 21 | } 22 | 23 | ACE_END_VERSIONED_NAMESPACE_DECL 24 | 25 | #endif /* ACE_TIME_POLICY_T_CPP */ 26 | -------------------------------------------------------------------------------- /acelite/ace/Refcountable_T.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 4 | 5 | template 6 | ACE_INLINE 7 | ACE_Refcountable_T::ACE_Refcountable_T (long refcount) 8 | : refcount_ (refcount) 9 | { 10 | } 11 | 12 | template 13 | ACE_INLINE long 14 | ACE_Refcountable_T::increment (void) 15 | { 16 | return ++this->refcount_; 17 | } 18 | 19 | template 20 | ACE_INLINE long 21 | ACE_Refcountable_T::decrement (void) 22 | { 23 | return --this->refcount_; 24 | } 25 | 26 | template 27 | ACE_INLINE long 28 | ACE_Refcountable_T::refcount (void) const 29 | { 30 | return this->refcount_.value (); 31 | } 32 | 33 | ACE_END_VERSIONED_NAMESPACE_DECL 34 | -------------------------------------------------------------------------------- /g3dlite/G3D/filter.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | @file filter.cpp 3 | 4 | @author Morgan McGuire, http://graphics.cs.williams.edu 5 | @created 2007-03-01 6 | @edited 2007-03-01 7 | 8 | Copyright 2000-2007, Morgan McGuire. 9 | All rights reserved. 10 | */ 11 | #include "G3D/filter.h" 12 | 13 | namespace G3D { 14 | 15 | void gaussian1D(Array& coeff, int N, float std) { 16 | coeff.resize(N); 17 | float sum = 0.0f; 18 | for (int i = 0; i < N; ++i) { 19 | float x = i - (N - 1) / 2.0f; 20 | float p = -square(x / std) / 2.0f; 21 | float y = exp(p); 22 | coeff[i] = y; 23 | sum += y; 24 | } 25 | 26 | for (int i = 0; i < N; ++i) { 27 | coeff[i] /= sum; 28 | } 29 | } 30 | 31 | 32 | } // namespace 33 | -------------------------------------------------------------------------------- /StormLib/src/wdk/sources-wdk-zlib.c: -------------------------------------------------------------------------------- 1 | // This is a source file for WDK build of StormLib 2 | // It is copied to the root folder during the build process 3 | 4 | #pragma warning(disable:4242) // deflate.c(1693) : warning C4242: '=' : conversion from 'unsigned int' to 'Bytef', possible loss of data 5 | 6 | #define NO_DUMMY_DECL 7 | #define NO_GZIP 8 | #include "src\zlib\adler32.c" 9 | #undef DO1 10 | #undef DO8 11 | #undef MIN 12 | #include "src\zlib\compress.c" 13 | #include "src\zlib\crc32.c" 14 | #include "src\zlib\deflate.c" 15 | #include "src\zlib\trees.c" 16 | #include "src\zlib\zutil.c" 17 | 18 | #undef COPY // Conflicting definition 19 | #include "src\zlib\inflate.c" 20 | #include "src\zlib\inffast.c" 21 | #include "src\zlib\inftrees.c" 22 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_typeinfo.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_typeinfo.h 6 | * 7 | * definitions for the typeinfo file 8 | * 9 | * @author Don Hinton Johnny Willemsen 10 | */ 11 | //============================================================================= 12 | 13 | #ifndef ACE_OS_INCLUDE_OS_TYPEINFO_H 14 | #define ACE_OS_INCLUDE_OS_TYPEINFO_H 15 | 16 | #include /**/ "ace/pre.h" 17 | 18 | #include /**/ "ace/config-all.h" 19 | 20 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 21 | # pragma once 22 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 23 | 24 | # include /**/ 25 | 26 | #include /**/ "ace/post.h" 27 | #endif /* ACE_OS_INCLUDE_OS_TYPEINFO_H */ 28 | -------------------------------------------------------------------------------- /zlib/gzclose.c: -------------------------------------------------------------------------------- 1 | /* gzclose.c -- zlib gzclose() function 2 | * Copyright (C) 2004, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | #include "gzguts.h" 7 | 8 | /* gzclose() is in a separate file so that it is linked in only if it is used. 9 | That way the other gzclose functions can be used instead to avoid linking in 10 | unneeded compression or decompression routines. */ 11 | int ZEXPORT gzclose(file) 12 | gzFile file; 13 | { 14 | #ifndef NO_GZCOMPRESS 15 | gz_statep state; 16 | 17 | if (file == NULL) 18 | return Z_STREAM_ERROR; 19 | state = (gz_statep)file; 20 | 21 | return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); 22 | #else 23 | return gzclose_r(file); 24 | #endif 25 | } 26 | -------------------------------------------------------------------------------- /acelite/ace/FILE_Addr.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | #include "ace/SString.h" 4 | 5 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 6 | 7 | // Compare two addresses for equality. 8 | 9 | ACE_INLINE bool 10 | ACE_FILE_Addr::operator == (const ACE_FILE_Addr &sap) const 11 | { 12 | return ACE_OS::strcmp (this->filename_, sap.filename_) == 0; 13 | } 14 | 15 | // Compare two addresses for inequality. 16 | 17 | ACE_INLINE bool 18 | ACE_FILE_Addr::operator != (const ACE_FILE_Addr &sap) const 19 | { 20 | return !((*this) == sap); // This is lazy, of course... ;-) 21 | } 22 | 23 | // Return the path name used for the rendezvous point. 24 | 25 | ACE_INLINE const ACE_TCHAR * 26 | ACE_FILE_Addr::get_path_name (void) const 27 | { 28 | return this->filename_; 29 | } 30 | 31 | ACE_END_VERSIONED_NAMESPACE_DECL 32 | -------------------------------------------------------------------------------- /acelite/ace/Sample_History.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE int 5 | ACE_Sample_History::sample (ACE_UINT64 value) 6 | { 7 | if (this->sample_count_ >= this->max_samples_) 8 | return -1; 9 | 10 | this->samples_[this->sample_count_++] = value; 11 | return 0; 12 | } 13 | 14 | ACE_INLINE ACE_UINT64 15 | ACE_Sample_History::get_sample (size_t i) const 16 | { 17 | if (this->sample_count_ <= i) 18 | return 0; 19 | 20 | return this->samples_[i]; 21 | } 22 | 23 | ACE_INLINE size_t 24 | ACE_Sample_History::max_samples (void) const 25 | { 26 | return this->max_samples_; 27 | } 28 | 29 | ACE_INLINE size_t 30 | ACE_Sample_History::sample_count (void) const 31 | { 32 | return this->sample_count_; 33 | } 34 | 35 | ACE_END_VERSIONED_NAMESPACE_DECL 36 | -------------------------------------------------------------------------------- /acelite/ace/Dynamic.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Dynamic.h" 2 | #include "ace/Singleton.h" 3 | #include "ace/TSS_T.h" 4 | #include "ace/Synch_Traits.h" 5 | #include "ace/Null_Mutex.h" 6 | 7 | #if !defined (__ACE_INLINE__) 8 | #include "ace/Dynamic.inl" 9 | #endif /* __ACE_INLINE__ */ 10 | 11 | 12 | 13 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 14 | 15 | ACE_Dynamic::ACE_Dynamic (void) 16 | : is_dynamic_ (false) 17 | { 18 | ACE_TRACE ("ACE_Dynamic::ACE_Dynamic"); 19 | } 20 | 21 | ACE_ALLOC_HOOK_DEFINE(ACE_Dynamic) 22 | 23 | /* static */ ACE_Dynamic * 24 | ACE_Dynamic::instance (void) 25 | { 26 | return ACE_TSS_Singleton::instance (); 27 | } 28 | 29 | ACE_SINGLETON_TEMPLATE_INSTANTIATE(ACE_TSS_Singleton, ACE_Dynamic, ACE_Null_Mutex); 30 | 31 | 32 | ACE_END_VERSIONED_NAMESPACE_DECL 33 | -------------------------------------------------------------------------------- /acelite/ace/Hash_Map_Manager.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file Hash_Map_Manager.h 6 | * 7 | * Backward compatibility header. 8 | * 9 | * @author Douglas C. Schmidt 10 | */ 11 | //============================================================================= 12 | 13 | #ifndef ACE_HASH_MAP_MANAGER_H 14 | #define ACE_HASH_MAP_MANAGER_H 15 | 16 | #include /**/ "ace/pre.h" 17 | 18 | #include /**/ "ace/config-all.h" 19 | 20 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 21 | # pragma once 22 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 23 | 24 | // Include the templates here. 25 | #include "ace/Hash_Map_Manager_T.h" 26 | 27 | #include /**/ "ace/post.h" 28 | 29 | #endif /* ACE_HASH_MAP_MANAGER_H */ 30 | -------------------------------------------------------------------------------- /acelite/ace/Obstack.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | //============================================================================= 3 | /** 4 | * @file Obstack.h 5 | * 6 | * @author Douglas C. Schmidt 7 | */ 8 | //============================================================================= 9 | 10 | #ifndef ACE_OBSTACK_H 11 | #define ACE_OBSTACK_H 12 | #include /**/ "ace/pre.h" 13 | 14 | #include "ace/Obstack_T.h" 15 | 16 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 17 | # pragma once 18 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 19 | 20 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 21 | 22 | ACE_SINGLETON_DECLARATION (ACE_Obstack_T ;) 23 | 24 | typedef ACE_Obstack_T ACE_Obstack; 25 | 26 | ACE_END_VERSIONED_NAMESPACE_DECL 27 | 28 | #include /**/ "ace/post.h" 29 | #endif /* ACE_OBSTACK_H */ 30 | -------------------------------------------------------------------------------- /acelite/ace/String_Base_Const.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/String_Base_Const.h" 2 | #include "ace/Numeric_Limits.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_String_Base_Const::size_type const ACE_String_Base_Const::npos = 7 | #if defined (AIX) //&& (defined (__xlC__) || defined (__IBMCPP__)) 8 | // Under some mixed shared/static linking conditions, this constant 9 | // will not be initialized at run-time if the 10 | // std::numeric_limits<>::max() trait is used on AIX/XLC++. 11 | // Workaround that problem by making it easier for the compiler to 12 | // realize it can set the constant at compile-time. 13 | static_cast (-1); 14 | #else 15 | ACE_Numeric_Limits::max (); 16 | #endif /* AIX */ 17 | 18 | ACE_END_VERSIONED_NAMESPACE_DECL 19 | -------------------------------------------------------------------------------- /acelite/ace/PI_Malloc.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1) 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE 7 | ACE_PI_Control_Block::ACE_Name_Node::~ACE_Name_Node (void) 8 | { 9 | } 10 | 11 | ACE_INLINE void 12 | ACE_PI_Control_Block::ACE_Malloc_Header::init_ptr 13 | (MALLOC_HEADER_PTR *ptr, ACE_Malloc_Header *init, void *base_addr) 14 | { 15 | new ((void *) ptr) MALLOC_HEADER_PTR (base_addr, 0); 16 | *ptr = init; 17 | } 18 | 19 | ACE_INLINE void 20 | ACE_PI_Control_Block::ACE_Name_Node::init_ptr 21 | (NAME_NODE_PTR *ptr, ACE_Name_Node *init, void *base_addr) 22 | { 23 | new ((void *) ptr) NAME_NODE_PTR (base_addr, 0); 24 | *ptr = init; 25 | } 26 | 27 | ACE_END_VERSIONED_NAMESPACE_DECL 28 | 29 | #endif /* ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1 */ 30 | 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/sys/os_sysinfo.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_sysinfo.h 6 | * 7 | * @author Johnny Willemsen 8 | */ 9 | //============================================================================= 10 | 11 | #ifndef ACE_OS_INCLUDE_SYS_OS_SYSINFO_H 12 | #define ACE_OS_INCLUDE_SYS_OS_SYSINFO_H 13 | 14 | #include /**/ "ace/pre.h" 15 | 16 | #include /**/ "ace/config-lite.h" 17 | 18 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 19 | # pragma once 20 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 21 | 22 | #if defined (ACE_HAS_SYS_SYSINFO_H) 23 | # include /**/ 24 | #endif /* ACE_HAS_SYS_SYSINFO_H */ 25 | 26 | #include /**/ "ace/post.h" 27 | #endif /* ACE_OS_INCLUDE_SYS_OS_SYSINFO_H */ 28 | -------------------------------------------------------------------------------- /acelite/ace/Hashable.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Hashable.h" 2 | 3 | #if !defined (__ACE_INLINE__) 4 | #include "ace/Hashable.inl" 5 | #endif /* __ACE_INLINE __ */ 6 | 7 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 8 | 9 | ACE_Hashable::~ACE_Hashable (void) 10 | { 11 | } 12 | 13 | unsigned long 14 | ACE_Hashable::hash (void) const 15 | { 16 | // In doing the check below, we take chance of paying a performance 17 | // price when the hash value is zero. But, that will (hopefully) 18 | // happen far less often than a non-zero value, so this caching 19 | // strategy should pay off, esp. if hash computation is expensive 20 | // relative to the simple comparison. 21 | 22 | if (this->hash_value_ == 0) 23 | this->hash_value_ = this->hash_i (); 24 | 25 | return this->hash_value_; 26 | } 27 | 28 | ACE_END_VERSIONED_NAMESPACE_DECL 29 | -------------------------------------------------------------------------------- /acelite/ace/Assert.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Assert.h" 2 | #include "ace/Log_Category.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | // The following ASSERT macro is courtesy of Alexandre Karev 7 | // . 8 | void 9 | __ace_assert(const char *file, int line, const ACE_TCHAR *expression) 10 | { 11 | int error = ACE_Log_Msg::last_error_adapter (); 12 | ACE_Log_Msg *log = ACE_Log_Msg::instance (); 13 | 14 | log->set (file, line, -1, error, log->restart (), 15 | log->msg_ostream (), log->msg_callback ()); 16 | 17 | #ifdef ACE_LACKS_VA_FUNCTIONS 18 | #define LOG_ARGS 19 | #else 20 | #define LOG_ARGS(X) X 21 | #endif 22 | log->log LOG_ARGS ((LM_ERROR, ACE_TEXT ("ACE_ASSERT: file %N, line %l assertion failed for '%s'.%a\n"), expression, -1)); 23 | } 24 | 25 | ACE_END_VERSIONED_NAMESPACE_DECL 26 | -------------------------------------------------------------------------------- /StormLib/src/libtomcrypt/src/headers/tomcrypt_misc.h: -------------------------------------------------------------------------------- 1 | /* ---- LTC_BASE64 Routines ---- */ 2 | #ifdef LTC_BASE64 3 | int base64_encode(const unsigned char *in, unsigned long len, 4 | unsigned char *out, unsigned long *outlen); 5 | 6 | int base64_decode(const unsigned char *in, unsigned long len, 7 | unsigned char *out, unsigned long *outlen); 8 | #endif 9 | 10 | /* ---- MEM routines ---- */ 11 | void zeromem(void *dst, size_t len); 12 | void burn_stack(unsigned long len); 13 | 14 | const char *error_to_string(int err); 15 | 16 | extern const char *crypt_build_settings; 17 | 18 | /* ---- HMM ---- */ 19 | int crypt_fsa(void *mp, ...); 20 | 21 | /* $Source: /cvs/libtom/libtomcrypt/src/headers/tomcrypt_misc.h,v $ */ 22 | /* $Revision: 1.5 $ */ 23 | /* $Date: 2007/05/12 14:32:35 $ */ 24 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_byteswap.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_byteswap.h 6 | * 7 | * Byteswap methods 8 | * 9 | * @author Johnny Willemsen 10 | */ 11 | //============================================================================= 12 | 13 | #ifndef ACE_OS_INCLUDE_OS_BYTESWAP_H 14 | #define ACE_OS_INCLUDE_OS_BYTESWAP_H 15 | 16 | #include /**/ "ace/pre.h" 17 | 18 | #include /**/ "ace/config-all.h" 19 | 20 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 21 | # pragma once 22 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 23 | 24 | #if defined (ACE_HAS_BYTESWAP_H) 25 | # include /**/ 26 | #endif /* !ACE_HAS_INTRIN_H */ 27 | 28 | #include /**/ "ace/post.h" 29 | #endif /* ACE_OS_INCLUDE_OS_BYTESWAP_H */ 30 | -------------------------------------------------------------------------------- /acelite/ace/Shared_Memory_SV.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/Global_Macros.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE int 7 | ACE_Shared_Memory_SV::open (key_t id, 8 | size_t length, 9 | int create, 10 | int perms, 11 | void *addr, 12 | int flags) 13 | { 14 | ACE_TRACE ("ACE_Shared_Memory_SV::open"); 15 | return shared_memory_.open_and_attach (id, length, create, 16 | perms, addr, flags); 17 | } 18 | 19 | // The "do-nothing" constructor. 20 | 21 | ACE_INLINE 22 | ACE_Shared_Memory_SV::ACE_Shared_Memory_SV (void) 23 | { 24 | ACE_TRACE ("ACE_Shared_Memory_SV::ACE_Shared_Memory_SV"); 25 | } 26 | 27 | ACE_END_VERSIONED_NAMESPACE_DECL 28 | -------------------------------------------------------------------------------- /acelite/ace/Auto_Functor.cpp: -------------------------------------------------------------------------------- 1 | #ifndef ACE_AUTO_FUNCTOR_CPP 2 | #define ACE_AUTO_FUNCTOR_CPP 3 | 4 | #include "ace/Auto_Functor.h" 5 | 6 | #if !defined(__ACE_INLINE__) 7 | # include "ace/Auto_Functor.inl" 8 | #endif /* __ACE_INLINE__ */ 9 | 10 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 11 | 12 | template 13 | ACE_Utils::Auto_Functor::~Auto_Functor() 14 | { 15 | reset(0); 16 | } 17 | 18 | template void 19 | ACE_Utils::Auto_Functor::reset(X * p) 20 | { 21 | if(p_ != 0) 22 | { 23 | f_(p_); 24 | } 25 | p_ = p; 26 | } 27 | 28 | templatevoid 29 | ACE_Utils::Auto_Functor::reset(X * p, Functor f) 30 | { 31 | reset(p); 32 | f_ = f; 33 | } 34 | 35 | ACE_END_VERSIONED_NAMESPACE_DECL 36 | 37 | #endif /*ACE_AUTO_FUNCTOR_CPP*/ 38 | -------------------------------------------------------------------------------- /acelite/ace/Timer_Queue_Adapters.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template ACE_INLINE TQ * 5 | ACE_Thread_Timer_Queue_Adapter::timer_queue (void) const 6 | { 7 | return this->timer_queue_; 8 | } 9 | 10 | template ACE_INLINE int 11 | ACE_Thread_Timer_Queue_Adapter::timer_queue (TQ *tq) 12 | { 13 | if (this->delete_timer_queue_) 14 | delete this->timer_queue_; 15 | else if (this->timer_queue_) 16 | this->timer_queue_->close (); 17 | this->timer_queue_ = tq; 18 | this->delete_timer_queue_ = false; 19 | return 0; 20 | } 21 | 22 | template ACE_INLINE ACE_thread_t 23 | ACE_Thread_Timer_Queue_Adapter::thr_id (void) const 24 | { 25 | return this->thr_id_; 26 | } 27 | 28 | ACE_END_VERSIONED_NAMESPACE_DECL 29 | -------------------------------------------------------------------------------- /acelite/ace/os_include/sys/os_loadavg.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_loadavg.h 6 | * 7 | * loadavg functions 8 | * 9 | * @author Johnny Willemsen 10 | */ 11 | //============================================================================= 12 | 13 | #ifndef ACE_OS_INCLUDE_SYS_OS_LOADAVG_H 14 | #define ACE_OS_INCLUDE_SYS_OS_LOADAVG_H 15 | 16 | #include /**/ "ace/pre.h" 17 | 18 | #include /**/ "ace/config-all.h" 19 | 20 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 21 | # pragma once 22 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 23 | 24 | #if defined (ACE_HAS_SYS_LOADAVG_H) 25 | # include /**/ 26 | #endif /* ACE_HAS_SYS_LOADAVG_H */ 27 | 28 | #include /**/ "ace/post.h" 29 | #endif /* ACE_OS_INCLUDE_SYS_OS_LOADAVG_H */ 30 | -------------------------------------------------------------------------------- /acelite/ace/Svc_Conf_Tokens.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | //==================================================================== 3 | /** 4 | * @file Svc_Conf_Tokens.h 5 | * 6 | * @author Iliyan Jeliazkov 7 | */ 8 | //==================================================================== 9 | 10 | 11 | #ifndef BISON_SVC_CONF_TAB_H 12 | # define BISON_SVC_CONF_TAB_H 13 | 14 | /// This file "wraps" around the one produced by yacc(1) and ensures 15 | /// that various symbols do not polute the global namespace. This 16 | /// allows ACE-based applications to incorporate other yacc(1)-derived 17 | /// parsers. 18 | 19 | # if !defined (YYSTYPE_IS_DECLARED) 20 | # define YYSTYPE_IS_DECLARED 1 21 | # endif 22 | 23 | # include "ace/Svc_Conf_Token_Table.h" 24 | 25 | # undef YYSTYPE_IS_DECLARED 26 | 27 | #endif /* ifndef BISON_SVC_CONF_TAB_H */ 28 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_ifaddrs.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_ifaddrs.h 6 | * 7 | * os_ifaddrs.h include 8 | * 9 | * @author Johnny Willemsen 10 | */ 11 | //============================================================================= 12 | 13 | #ifndef ACE_OS_INCLUDE_OS_IFADDRS_H 14 | #define ACE_OS_INCLUDE_OS_IFADDRS_H 15 | 16 | #include /**/ "ace/pre.h" 17 | 18 | #include /**/ "ace/config-all.h" 19 | 20 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 21 | # pragma once 22 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 23 | 24 | #if defined (ACE_VXWORKS) 25 | # include /**/ 26 | #else 27 | # include /**/ 28 | #endif /*ACE_VXWORKS */ 29 | 30 | #include /**/ "ace/post.h" 31 | #endif /* ACE_OS_INCLUDE_OS_IFADDRS_H */ 32 | -------------------------------------------------------------------------------- /g3dlite/G3D/Color1uint8.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | @file Color1uint8.cpp 3 | 4 | @author Morgan McGuire, http://graphics.cs.williams.edu 5 | 6 | @created 2007-01-30 7 | @edited 2007-01-30 8 | */ 9 | 10 | #include "G3D/platform.h" 11 | #include "G3D/g3dmath.h" 12 | #include "G3D/Color1uint8.h" 13 | #include "G3D/Color1.h" 14 | #include "G3D/BinaryInput.h" 15 | #include "G3D/BinaryOutput.h" 16 | 17 | namespace G3D { 18 | 19 | Color1uint8::Color1uint8(const class Color1& c) : value(iClamp(iFloor(c.value * 256), 0, 255)) { 20 | } 21 | 22 | 23 | Color1uint8::Color1uint8(class BinaryInput& bi) { 24 | deserialize(bi); 25 | } 26 | 27 | 28 | void Color1uint8::serialize(class BinaryOutput& bo) const { 29 | bo.writeUInt8(value); 30 | } 31 | 32 | 33 | void Color1uint8::deserialize(class BinaryInput& bi) { 34 | value = bi.readUInt8(); 35 | } 36 | 37 | 38 | } 39 | -------------------------------------------------------------------------------- /acelite/ace/Time_Policy_T.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template 5 | ACE_INLINE 6 | ACE_Time_Policy_T::ACE_Time_Policy_T (TIME_POLICY const & time_policy) 7 | : time_policy_ (time_policy) 8 | { 9 | } 10 | 11 | template 12 | ACE_INLINE ACE_Time_Value_T 13 | ACE_Time_Policy_T::operator() () const 14 | { 15 | return this->gettimeofday (); 16 | } 17 | 18 | template ACE_INLINE void 19 | ACE_Time_Policy_T::set_gettimeofday (ACE_Time_Value (*)(void)) 20 | { 21 | } 22 | 23 | template ACE_INLINE void 24 | ACE_Time_Policy_T::set_time_policy(TIME_POLICY const & time_policy) 25 | { 26 | this->time_policy_ = time_policy; 27 | } 28 | 29 | ACE_END_VERSIONED_NAMESPACE_DECL 30 | -------------------------------------------------------------------------------- /acelite/ace/config-aix-7.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file config-aix-7.h 6 | * 7 | * This is the config file for AIX 7 and higher. 8 | * 9 | * @author Steve Huston 10 | */ 11 | //============================================================================= 12 | 13 | #ifndef ACE_CONFIG_AIX_7_H 14 | #define ACE_CONFIG_AIX_7_H 15 | 16 | // Diffs from prior AIX versions are related to scandir() arguments. 17 | #include "ace/config-aix-5.x.h" 18 | 19 | #ifdef ACE_SCANDIR_CMP_USES_VOIDPTR 20 | # undef ACE_SCANDIR_CMP_USES_VOIDPTR 21 | #endif /* ACE_SCANDIR_CMP_USES_VOIDPTR */ 22 | 23 | #ifdef ACE_SCANDIR_SEL_LACKS_CONST 24 | # undef ACE_SCANDIR_SEL_LACKS_CONST 25 | #endif /* ACE_SCANDIR_SEL_LACKS_CONST */ 26 | 27 | #endif /* ACE_CONFIG_AIX_7_H */ 28 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_kstat.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_kstat.h 6 | * 7 | * @author Johnny Willemsen 8 | */ 9 | //============================================================================= 10 | 11 | #ifndef ACE_OS_INCLUDE_OS_KSTAT_H 12 | #define ACE_OS_INCLUDE_OS_KSTAT_H 13 | 14 | #include /**/ "ace/pre.h" 15 | 16 | #include /**/ "ace/config-all.h" 17 | 18 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 19 | # pragma once 20 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 21 | 22 | #if defined (ACE_HAS_KSTAT) 23 | # define ACE_HAS_KSTAT_H 24 | #endif /* ACE_HAS_KSTAT */ 25 | 26 | #if defined (ACE_HAS_KSTAT_H) 27 | # include 28 | #endif /* ACE_HAS_KSTAT_H */ 29 | 30 | #include /**/ "ace/post.h" 31 | #endif /* ACE_OS_INCLUDE_OS_KSTAT_H */ 32 | -------------------------------------------------------------------------------- /g3dlite/G3D/filter.h: -------------------------------------------------------------------------------- 1 | /** 2 | @file G3D/filter.h 3 | 4 | @author Morgan McGuire, http://graphics.cs.williams.edu 5 | @created 2007-03-01 6 | @edited 2007-03-01 7 | 8 | Copyright 2000-2007, Morgan McGuire. 9 | All rights reserved. 10 | */ 11 | #ifndef G3D_FILTER_H 12 | #define G3D_FILTER_H 13 | 14 | #include "G3D/platform.h" 15 | #include "G3D/Array.h" 16 | #include "G3D/g3dmath.h" 17 | 18 | namespace G3D { 19 | /** 20 | Generates a set of 1D gaussian filter coefficients of size N. The coefficients 21 | are centered on element (N-1)/2 and have standard deviation given by std. The coefficients 22 | are normalized such that the sum across coeff is 1.0. 23 | 24 | Matches the results returned by Matlab fspecial('gaussian', [1, N], std) 25 | */ 26 | void gaussian1D(Array& coeff, int N = 5, float std = 0.5f); 27 | } 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /acelite/ace/os_include/sys/os_pstat.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_pstat.h 6 | * 7 | * pstat functions 8 | * 9 | * @author Johnny Willemsen 10 | */ 11 | //============================================================================= 12 | 13 | #ifndef ACE_OS_INCLUDE_SYS_OS_PSTAT_H 14 | #define ACE_OS_INCLUDE_SYS_OS_PSTAT_H 15 | 16 | #include /**/ "ace/pre.h" 17 | 18 | #include /**/ "ace/config-all.h" 19 | 20 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 21 | # pragma once 22 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 23 | 24 | #if defined (ACE_HAS_SYS_PSTAT_H) 25 | # include /**/ 26 | # include /**/ 27 | #endif /* ACE_HAS_SYS_PSTAT_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_SYS_OS_PSTAT_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_cpio.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_cpio.h 6 | * 7 | * cpio archive values 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_CPIO_H 15 | #define ACE_OS_INCLUDE_OS_CPIO_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_CPIO_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_CPIO_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_CPIO_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_pdhmsg.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_pdhmsg.h 6 | * 7 | * definitions for the windows pdh API 8 | * 9 | * @author Johnny Willemsen 10 | */ 11 | //============================================================================= 12 | 13 | #ifndef ACE_OS_INCLUDE_OS_PDHMSG_H 14 | #define ACE_OS_INCLUDE_OS_PDHMSG_H 15 | 16 | #include /**/ "ace/pre.h" 17 | 18 | #include /**/ "ace/config-all.h" 19 | 20 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 21 | # pragma once 22 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 23 | 24 | #if defined (ACE_HAS_PDHMSG_H) && !defined (ACE_LACKS_PDHMSG_H) 25 | # include /**/ 26 | #endif /* ACE_HAS_PDH_H && !ACE_LACKS_PDH_H */ 27 | 28 | #include /**/ "ace/post.h" 29 | #endif /* ACE_OS_INCLUDE_OS_PDHMSG_H */ 30 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_tar.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_tar.h 6 | * 7 | * extended tar definitions 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_TAR_H 15 | #define ACE_OS_INCLUDE_OS_TAR_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_TAR_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_TAR_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_TAR_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/Memory_Pool.h: -------------------------------------------------------------------------------- 1 | /* -*- C++ -*- */ 2 | 3 | //============================================================================= 4 | /** 5 | * @file Memory_Pool.h 6 | * 7 | * @author Dougls C. Schmidt 8 | * @author Prashant Jain 9 | */ 10 | //============================================================================= 11 | 12 | #ifndef ACE_MEMORY_POOL_H 13 | #define ACE_MEMORY_POOL_H 14 | #include /**/ "ace/pre.h" 15 | 16 | #include "ace/ACE.h" 17 | 18 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 19 | # pragma once 20 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 21 | 22 | #include "ace/Local_Memory_Pool.h" 23 | #include "ace/MMAP_Memory_Pool.h" 24 | #include "ace/Sbrk_Memory_Pool.h" 25 | #include "ace/Shared_Memory_Pool.h" 26 | #include "ace/Pagefile_Memory_Pool.h" 27 | 28 | #include /**/ "ace/post.h" 29 | #endif /* ACE_MEMORY_POOL_H */ 30 | -------------------------------------------------------------------------------- /acelite/ace/Pair_T.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template ACE_INLINE 5 | ACE_Reference_Pair::ACE_Reference_Pair (T1 &t1, 6 | T2 &t2) 7 | : first_ (t1), 8 | second_ (t2) 9 | { 10 | } 11 | 12 | template ACE_INLINE T1 & 13 | ACE_Reference_Pair::first (void) const 14 | { 15 | return this->first_; 16 | } 17 | 18 | template ACE_INLINE T2 & 19 | ACE_Reference_Pair::second (void) const 20 | { 21 | return this->second_; 22 | } 23 | 24 | template ACE_INLINE bool 25 | ACE_Reference_Pair::operator== (const ACE_Reference_Pair &rhs) const 26 | { 27 | return (this->first_ == rhs.first_ && 28 | this->second_ == rhs.second_); 29 | } 30 | 31 | ACE_END_VERSIONED_NAMESPACE_DECL 32 | -------------------------------------------------------------------------------- /acelite/ace/config-macosx-lion.h: -------------------------------------------------------------------------------- 1 | #ifndef ACE_CONFIG_MACOSX_LION_H 2 | #define ACE_CONFIG_MACOSX_LION_H 3 | 4 | #include "ace/config-macosx-leopard.h" 5 | 6 | #ifdef __clang__ 7 | # define ACE_ANY_OPS_USE_NAMESPACE 8 | #endif /* __clang__ */ 9 | 10 | #if defined (__x86_64__) 11 | // On 64 bit platforms, the "long" type is 64-bits. Override the 12 | // default 32-bit platform-specific format specifiers appropriately. 13 | # define ACE_INT64_FORMAT_SPECIFIER_ASCII "%ld" 14 | # define ACE_INT64_FORMAT_SPECIFIER "%ld" 15 | # define ACE_UINT64_FORMAT_SPECIFIER_ASCII "%lu" 16 | # define ACE_UINT64_FORMAT_SPECIFIER "%lu" 17 | # define ACE_UINT64_FORMAT_SPECIFIER_ASCII "%lu" 18 | # define ACE_SSIZE_T_FORMAT_SPECIFIER_ASCII "%ld" 19 | # define ACE_SIZE_T_FORMAT_SPECIFIER_ASCII "%lu" 20 | #endif /* __x86_64__ */ 21 | 22 | #define ACE_LACKS_UCONTEXT_H 23 | 24 | #endif // ACE_CONFIG_MACOSX_LION_H 25 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_float.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_float.h 6 | * 7 | * floating types 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_FLOAT_H 15 | #define ACE_OS_INCLUDE_OS_FLOAT_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-lite.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_FLOAT_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_FLOAT_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_FLOAT_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/Timer_Queuefwd.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file Timer_Queuefwd.h 6 | * 7 | * Forward declarations and typedefs of ACE_Timer_Queue class. 8 | * 9 | * @author Ossama Othman 10 | */ 11 | //============================================================================= 12 | 13 | #ifndef ACE_TIMER_QUEUE_FWD_H 14 | #define ACE_TIMER_QUEUE_FWD_H 15 | 16 | #include /**/ "ace/pre.h" 17 | 18 | #include "ace/config-all.h" 19 | 20 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 21 | 22 | class ACE_Event_Handler; 23 | template class ACE_Abstract_Timer_Queue; 24 | typedef ACE_Abstract_Timer_Queue ACE_Timer_Queue; 25 | 26 | ACE_END_VERSIONED_NAMESPACE_DECL 27 | 28 | #include /**/ "ace/post.h" 29 | 30 | #endif /* ACE_TIMER_QUEUE_FWD_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_fenv.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_fenv.h 6 | * 7 | * floating-point environment 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_FENV_H 15 | #define ACE_OS_INCLUDE_OS_FENV_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_FENV_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_FENV_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_FENV_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_glob.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_glob.h 6 | * 7 | * pathname pattern-matching types 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_GLOB_H 15 | #define ACE_OS_INCLUDE_OS_GLOB_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_GLOB_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_GLOB_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_GLOB_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_poll.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_poll.h 6 | * 7 | * definitions for the poll() function 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_POLL_H 15 | #define ACE_OS_INCLUDE_OS_POLL_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_POLL_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_POLL_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_POLL_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_ulimit.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_ulimit.h 6 | * 7 | * ulimit commands 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_ULIMIT_H 15 | #define ACE_OS_INCLUDE_OS_ULIMIT_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_ULIMIT_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_ULIMIT_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_ULIMIT_H */ 31 | -------------------------------------------------------------------------------- /recastnavigation/Detour/Include/DetourMath.h: -------------------------------------------------------------------------------- 1 | /** 2 | @defgroup detour Detour 3 | 4 | Members in this module are wrappers around the standard math library 5 | */ 6 | 7 | #ifndef DETOURMATH_H 8 | #define DETOURMATH_H 9 | 10 | #include 11 | // This include is required because libstdc++ has problems with isfinite 12 | // if cmath is included before math.h. 13 | #include 14 | 15 | inline float dtMathFabsf(float x) { return fabsf(x); } 16 | inline float dtMathSqrtf(float x) { return sqrtf(x); } 17 | inline float dtMathFloorf(float x) { return floorf(x); } 18 | inline float dtMathCeilf(float x) { return ceilf(x); } 19 | inline float dtMathCosf(float x) { return cosf(x); } 20 | inline float dtMathSinf(float x) { return sinf(x); } 21 | inline float dtMathAtan2f(float y, float x) { return atan2f(y, x); } 22 | inline bool dtMathIsfinite(float x) { return std::isfinite(x); } 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /acelite/ace/IPC_SAP.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/OS_NS_stropts.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE 7 | ACE_IPC_SAP::~ACE_IPC_SAP (void) 8 | { 9 | // ACE_TRACE ("ACE_IPC_SAP::~ACE_IPC_SAP"); 10 | } 11 | 12 | ACE_INLINE ACE_HANDLE 13 | ACE_IPC_SAP::get_handle (void) const 14 | { 15 | ACE_TRACE ("ACE_IPC_SAP::get_handle"); 16 | return this->handle_; 17 | } 18 | 19 | // Used to set the underlying handle_. 20 | 21 | ACE_INLINE void 22 | ACE_IPC_SAP::set_handle (ACE_HANDLE handle) 23 | { 24 | ACE_TRACE ("ACE_IPC_SAP::set_handle"); 25 | this->handle_ = handle; 26 | } 27 | 28 | // Provides access to the ACE_OS::ioctl system call. 29 | 30 | ACE_INLINE int 31 | ACE_IPC_SAP::control (int cmd, void *arg) const 32 | { 33 | ACE_TRACE ("ACE_IPC_SAP::control"); 34 | return ACE_OS::ioctl (this->handle_, cmd, arg); 35 | } 36 | 37 | ACE_END_VERSIONED_NAMESPACE_DECL 38 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_assert.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_assert.h 6 | * 7 | * verify program assertion 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_ASSERT_H 15 | #define ACE_OS_INCLUDE_OS_ASSERT_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_ASSERT_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_ASSERT_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_ASSERT_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_iso646.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_iso646.h 6 | * 7 | * alternative spellings 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_ISO646_H 15 | #define ACE_OS_INCLUDE_OS_ISO646_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_ISO646_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_ISO646_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_ISO646_H */ 31 | -------------------------------------------------------------------------------- /StormLib/src/libtomcrypt/src/misc/crypt_prng_descriptor.c: -------------------------------------------------------------------------------- 1 | /* LibTomCrypt, modular cryptographic library -- Tom St Denis 2 | * 3 | * LibTomCrypt is a library that provides various cryptographic 4 | * algorithms in a highly modular and flexible manner. 5 | * 6 | * The library is free for all purposes without any express 7 | * guarantee it works. 8 | * 9 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 10 | */ 11 | #include "../headers/tomcrypt.h" 12 | 13 | /** 14 | @file crypt_prng_descriptor.c 15 | Stores the PRNG descriptors, Tom St Denis 16 | */ 17 | struct ltc_prng_descriptor prng_descriptor[TAB_SIZE] = { 18 | { NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } 19 | }; 20 | 21 | LTC_MUTEX_GLOBAL(ltc_prng_mutex) 22 | 23 | 24 | /* $Source: /cvs/libtom/libtomcrypt/src/misc/crypt/crypt_prng_descriptor.c,v $ */ 25 | /* $Revision: 1.8 $ */ 26 | /* $Date: 2006/12/28 01:27:24 $ */ 27 | -------------------------------------------------------------------------------- /StormLib/src/libtommath/bn_mp_mod_d.c: -------------------------------------------------------------------------------- 1 | #include "tommath.h" 2 | #ifdef BN_MP_MOD_D_C 3 | /* LibTomMath, multiple-precision integer library -- Tom St Denis 4 | * 5 | * LibTomMath is a library that provides multiple-precision 6 | * integer arithmetic as well as number theoretic functionality. 7 | * 8 | * The library was designed directly after the MPI library by 9 | * Michael Fromberger but has been written from scratch with 10 | * additional optimizations in place. 11 | * 12 | * The library is free for all purposes without any express 13 | * guarantee it works. 14 | * 15 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 16 | */ 17 | 18 | int 19 | mp_mod_d (mp_int * a, mp_digit b, mp_digit * c) 20 | { 21 | return mp_div_d(a, b, NULL, c); 22 | } 23 | #endif 24 | 25 | /* $Source: /cvs/libtom/libtommath/bn_mp_mod_d.c,v $ */ 26 | /* $Revision: 1.4 $ */ 27 | /* $Date: 2006/12/28 01:25:13 $ */ 28 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_complex.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_complex.h 6 | * 7 | * complex arithmetic 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_COMPLEX_H 15 | #define ACE_OS_INCLUDE_OS_COMPLEX_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_COMPLEX_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_COMPLEX_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_COMPLEX_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_fmtmsg.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_fmtmsg.h 6 | * 7 | * message display structures 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_FMTMSG_H 15 | #define ACE_OS_INCLUDE_OS_FMTMSG_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_FMTMSG_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_FMTMSG_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_FMTMSG_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_nl_types.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_nl_types.h 6 | * 7 | * data types 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_NL_TYPES_H 15 | #define ACE_OS_INCLUDE_OS_NL_TYPES_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_NL_TYPES_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_nl_types_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_NL_TYPES_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/Msg_WFMO_Reactor.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #if defined (ACE_WIN32) && !defined (ACE_LACKS_MSG_WFMO) 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE int 7 | ACE_Msg_WFMO_Reactor::handle_events (ACE_Time_Value &how_long) 8 | { 9 | return this->event_handling (&how_long, 0); 10 | } 11 | 12 | ACE_INLINE int 13 | ACE_Msg_WFMO_Reactor::alertable_handle_events (ACE_Time_Value &how_long) 14 | { 15 | return this->event_handling (&how_long, MWMO_ALERTABLE); 16 | } 17 | 18 | ACE_INLINE int 19 | ACE_Msg_WFMO_Reactor::handle_events (ACE_Time_Value *how_long) 20 | { 21 | return this->event_handling (how_long, 0); 22 | } 23 | 24 | ACE_INLINE int 25 | ACE_Msg_WFMO_Reactor::alertable_handle_events (ACE_Time_Value *how_long) 26 | { 27 | return this->event_handling (how_long, MWMO_ALERTABLE); 28 | } 29 | 30 | ACE_END_VERSIONED_NAMESPACE_DECL 31 | 32 | #endif /* ACE_WIN32 && !ACE_LACKS_MSG_WFMO */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_fnmatch.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_fnmatch.h 6 | * 7 | * filename-matching types 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_FNMATCH_H 15 | #define ACE_OS_INCLUDE_OS_FNMATCH_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_FNMATCH_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_FNMATCH_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_FNMATCH_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_setjmp.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_setjmp.h 6 | * 7 | * stack environment declarations 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_SETJMP_H 15 | #define ACE_OS_INCLUDE_OS_SETJMP_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_SETJMP_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_SETJMP_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_SETJMP_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_stdbool.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_stdbool.h 6 | * 7 | * boolean type and values 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_STDBOOL_H 15 | #define ACE_OS_INCLUDE_OS_STDBOOL_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_STDBOOL_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_STDBOOL_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_STDBOOL_H */ 31 | -------------------------------------------------------------------------------- /StormLib/src/libtomcrypt/src/misc/crypt_hash_descriptor.c: -------------------------------------------------------------------------------- 1 | /* LibTomCrypt, modular cryptographic library -- Tom St Denis 2 | * 3 | * LibTomCrypt is a library that provides various cryptographic 4 | * algorithms in a highly modular and flexible manner. 5 | * 6 | * The library is free for all purposes without any express 7 | * guarantee it works. 8 | * 9 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 10 | */ 11 | #include "../headers/tomcrypt.h" 12 | 13 | /** 14 | @file crypt_hash_descriptor.c 15 | Stores the hash descriptor table, Tom St Denis 16 | */ 17 | 18 | struct ltc_hash_descriptor hash_descriptor[TAB_SIZE] = { 19 | { NULL, 0, 0, 0, { 0 }, 0, NULL, NULL, NULL, NULL, NULL } 20 | }; 21 | 22 | LTC_MUTEX_GLOBAL(ltc_hash_mutex) 23 | 24 | 25 | /* $Source: /cvs/libtom/libtomcrypt/src/misc/crypt/crypt_hash_descriptor.c,v $ */ 26 | /* $Revision: 1.10 $ */ 27 | /* $Date: 2006/12/28 01:27:24 $ */ 28 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_syslog.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_syslog.h 6 | * 7 | * definitions for system error logging 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_SYSLOG_H 15 | #define ACE_OS_INCLUDE_OS_SYSLOG_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_SYSLOG_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_SYSLOG_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_SYSLOG_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_libgen.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_libgen.h 6 | * 7 | * definitions for pattern matching functions 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_LIBGEN_H 15 | #define ACE_OS_INCLUDE_OS_LIBGEN_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_LIBGEN_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_LIBGEN_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_OS_LIBGEN_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/config-vxworks7.0.h: -------------------------------------------------------------------------------- 1 | /* -*- C++ -*- */ 2 | // The following configuration file is designed to work for VxWorks 3 | // 7.0 platforms using one of these compilers: 4 | // 1) The GNU g++ compiler that is shipped with VxWorks 7.0 5 | // (other compilers not yet tested) 6 | 7 | #ifndef ACE_CONFIG_VXWORKS_7_0_H 8 | #define ACE_CONFIG_VXWORKS_7_0_H 9 | #include /**/ "ace/pre.h" 10 | 11 | #if !defined (ACE_VXWORKS) 12 | # define ACE_VXWORKS 0x700 13 | #endif /* ! ACE_VXWORKS */ 14 | 15 | #include "ace/config-vxworks6.9.h" 16 | 17 | #define ACE_HAS_AUTOMATIC_INIT_FINI 18 | 19 | #if defined ACE_HAS_PTHREADS && !defined __RTP__ 20 | # define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS 21 | #endif 22 | 23 | #ifndef ACE_LACKS_REGEX_H 24 | # define ACE_LACKS_REGEX_H 25 | #endif 26 | 27 | #ifndef __RTP__ 28 | # define ACE_LACKS_ALARM 29 | #endif 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_CONFIG_VXWORKS_7_0_H */ 33 | 34 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_ftw.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_ftw.h 6 | * 7 | * file tree traversal 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_FTW_H 15 | #define ACE_OS_INCLUDE_OS_FTW_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_stat.h" 26 | 27 | #if !defined (ACE_LACKS_FTW_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_FTW_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_FTW_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_pwd.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_pwd.h 6 | * 7 | * password structure 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_PWD_H 15 | #define ACE_OS_INCLUDE_OS_PWD_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_types.h" 26 | 27 | #if !defined (ACE_LACKS_PWD_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_PWD_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_PWD_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/LSOCK.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | // Simple-minded constructor. 5 | 6 | ACE_INLINE 7 | ACE_LSOCK::ACE_LSOCK (void) 8 | : aux_handle_ (ACE_INVALID_HANDLE) 9 | { 10 | ACE_TRACE ("ACE_LSOCK::ACE_LSOCK"); 11 | } 12 | 13 | // Sets the underlying file descriptor. 14 | 15 | ACE_INLINE void 16 | ACE_LSOCK::set_handle (ACE_HANDLE handle) 17 | { 18 | ACE_TRACE ("ACE_LSOCK::set_handle"); 19 | this->aux_handle_ = handle; 20 | } 21 | 22 | // Gets the underlying file descriptor. 23 | 24 | ACE_INLINE ACE_HANDLE 25 | ACE_LSOCK::get_handle (void) const 26 | { 27 | ACE_TRACE ("ACE_LSOCK::get_handle"); 28 | return this->aux_handle_; 29 | } 30 | 31 | // Sets the underlying file descriptor. 32 | 33 | ACE_INLINE 34 | ACE_LSOCK::ACE_LSOCK (ACE_HANDLE handle) 35 | : aux_handle_ (handle) 36 | { 37 | ACE_TRACE ("ACE_LSOCK::ACE_LSOCK"); 38 | } 39 | 40 | ACE_END_VERSIONED_NAMESPACE_DECL 41 | -------------------------------------------------------------------------------- /acelite/ace/config-vxworks6.6.h: -------------------------------------------------------------------------------- 1 | //* -*- C++ -*- */ 2 | // The following configuration file is designed to work for VxWorks 3 | // 6.6 platforms using one of these compilers: 4 | // 1) The GNU g++ compiler that is shipped with VxWorks 6.6 5 | // 2) The Diab compiler that is shipped with VxWorks 6.6 6 | 7 | #ifndef ACE_CONFIG_VXWORKS_6_6_H 8 | #define ACE_CONFIG_VXWORKS_6_6_H 9 | #include /**/ "ace/pre.h" 10 | 11 | #if !defined (ACE_VXWORKS) 12 | # define ACE_VXWORKS 0x660 13 | #endif /* ! ACE_VXWORKS */ 14 | 15 | #include "ace/config-vxworks6.5.h" 16 | 17 | #if defined (ACE_HAS_PENTIUM) 18 | # define ACE_LACKS_LOG2 19 | #endif 20 | 21 | #if !defined (__RTP__) 22 | # undef ACE_HAS_IOCTL_INT_3_PARAM 23 | # define ACE_HAS_TASKCPUAFFINITYSET 24 | #endif 25 | 26 | #define ACE_HAS_VXATOMICLIB 27 | #define ACE_HAS_CPUSET_T 28 | #define ACE_HAS_VXCPULIB 29 | 30 | #include /**/ "ace/post.h" 31 | #endif /* ACE_CONFIG_VXWORKS_6_6_H */ 32 | 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_trace.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_trace.h 6 | * 7 | * tracing 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_TRACE_H 15 | #define ACE_OS_INCLUDE_OS_TRACE_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_types.h" 26 | 27 | #if !defined (ACE_LACKS_TRACE_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_TRACE_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_TRACE_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_grp.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_grp.h 6 | * 7 | * group structure 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_GRP_H 15 | #define ACE_OS_INCLUDE_OS_GRP_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_types.h" // for gid_t 26 | 27 | #if !defined (ACE_LACKS_GRP_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_GRP_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_GRP_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_local.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_local.h 6 | * 7 | * category macros 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_LOCAL_H 15 | #define ACE_OS_INCLUDE_OS_LOCAL_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/os_stddef.h" 26 | 27 | #if !defined (ACE_LACKS_LOCAL_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_LOCAL_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_LOCAL_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/sys/os_utsname.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_utsname.h 6 | * 7 | * system name structure 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_SYS_OS_UTSNAME_H 15 | #define ACE_OS_INCLUDE_SYS_OS_UTSNAME_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-lite.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_SYS_UTSNAME_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_SYS_UTSNAME_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_SYS_OS_UTSNAME_H */ 31 | -------------------------------------------------------------------------------- /acelite/ace/Argv_Type_Converter.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE ACE_TCHAR** 5 | ACE_Argv_Type_Converter::get_TCHAR_argv (void) 6 | { 7 | #if defined (ACE_USES_WCHAR) 8 | if (this->char_passed_) 9 | { 10 | this->align_wchar_with_char (); 11 | } 12 | 13 | this->wchar_passed_ = true; 14 | return this->wchar_argv_; 15 | #else 16 | return this->char_argv_; 17 | #endif // ACE_USES_WCHAR 18 | } 19 | 20 | ACE_INLINE char** 21 | ACE_Argv_Type_Converter::get_ASCII_argv (void) 22 | { 23 | #if defined (ACE_USES_WCHAR) 24 | if (this->wchar_passed_) 25 | { 26 | this->align_char_with_wchar (); 27 | } 28 | 29 | this->char_passed_ = true; 30 | #endif // ACE_USES_WCHAR 31 | 32 | return this->char_argv_; 33 | } 34 | 35 | ACE_INLINE int& 36 | ACE_Argv_Type_Converter::get_argc (void) 37 | { 38 | return this->saved_argc_; 39 | } 40 | 41 | ACE_END_VERSIONED_NAMESPACE_DECL 42 | -------------------------------------------------------------------------------- /acelite/ace/IO_SAP.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/OS_NS_stropts.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE 7 | ACE_IO_SAP::~ACE_IO_SAP (void) 8 | { 9 | ACE_TRACE ("ACE_IO_SAP::~ACE_IO_SAP"); 10 | } 11 | 12 | // Used to return the underlying handle_. 13 | 14 | ACE_INLINE ACE_HANDLE 15 | ACE_IO_SAP::get_handle (void) const 16 | { 17 | ACE_TRACE ("ACE_IO_SAP::get_handle"); 18 | return this->handle_; 19 | } 20 | 21 | // Used to set the underlying handle_. 22 | 23 | ACE_INLINE void 24 | ACE_IO_SAP::set_handle (ACE_HANDLE handle) 25 | { 26 | ACE_TRACE ("ACE_IO_SAP::set_handle"); 27 | this->handle_ = handle; 28 | } 29 | 30 | // Provides access to the ACE_OS::ioctl system call. 31 | 32 | ACE_INLINE int 33 | ACE_IO_SAP::control (int cmd, void *arg) const 34 | { 35 | ACE_TRACE ("ACE_IO_SAP::control"); 36 | return ACE_OS::ioctl (this->handle_, cmd, arg); 37 | } 38 | 39 | ACE_END_VERSIONED_NAMESPACE_DECL 40 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_math.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_math.h 6 | * 7 | * mathematical declarations 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_MATH_H 15 | #define ACE_OS_INCLUDE_OS_MATH_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | // FUZZ: disable check_for_math_include 26 | 27 | #if !defined (ACE_LACKS_MATH_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_MATH_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_MATH_H */ 33 | -------------------------------------------------------------------------------- /StormLib/src/libtomcrypt/src/misc/crypt_argchk.c: -------------------------------------------------------------------------------- 1 | /* LibTomCrypt, modular cryptographic library -- Tom St Denis 2 | * 3 | * LibTomCrypt is a library that provides various cryptographic 4 | * algorithms in a highly modular and flexible manner. 5 | * 6 | * The library is free for all purposes without any express 7 | * guarantee it works. 8 | * 9 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 10 | */ 11 | #include "../headers/tomcrypt.h" 12 | #include 13 | 14 | /** 15 | @file crypt_argchk.c 16 | Perform argument checking, Tom St Denis 17 | */ 18 | 19 | #if (ARGTYPE == 0) 20 | void crypt_argchk(char *v, char *s, int d) 21 | { 22 | fprintf(stderr, "LTC_ARGCHK '%s' failure on line %d of file %s\n", 23 | v, d, s); 24 | (void)raise(SIGABRT); 25 | } 26 | #endif 27 | 28 | /* $Source: /cvs/libtom/libtomcrypt/src/misc/crypt/crypt_argchk.c,v $ */ 29 | /* $Revision: 1.5 $ */ 30 | /* $Date: 2006/12/28 01:27:24 $ */ 31 | -------------------------------------------------------------------------------- /StormLib/src/libtommath/bn_mp_radix_smap.c: -------------------------------------------------------------------------------- 1 | #include "tommath.h" 2 | #ifdef BN_MP_RADIX_SMAP_C 3 | /* LibTomMath, multiple-precision integer library -- Tom St Denis 4 | * 5 | * LibTomMath is a library that provides multiple-precision 6 | * integer arithmetic as well as number theoretic functionality. 7 | * 8 | * The library was designed directly after the MPI library by 9 | * Michael Fromberger but has been written from scratch with 10 | * additional optimizations in place. 11 | * 12 | * The library is free for all purposes without any express 13 | * guarantee it works. 14 | * 15 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 16 | */ 17 | 18 | /* chars used in radix conversions */ 19 | const char *mp_s_rmap = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/"; 20 | #endif 21 | 22 | /* $Source: /cvs/libtom/libtommath/bn_mp_radix_smap.c,v $ */ 23 | /* $Revision: 1.4 $ */ 24 | /* $Date: 2006/12/28 01:25:13 $ */ 25 | -------------------------------------------------------------------------------- /acelite/ace/Time_Policy.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Time_Policy.h" 2 | 3 | #if !defined(__ACE_INLINE__) 4 | # include "ace/Time_Policy.inl" 5 | #endif /* __ACE_INLINE__ */ 6 | 7 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 8 | 9 | ACE_Dynamic_Time_Policy_Base::~ACE_Dynamic_Time_Policy_Base () 10 | { 11 | } 12 | 13 | 14 | class NULL_Time_Policy : public ACE_Dynamic_Time_Policy_Base 15 | { 16 | protected: 17 | virtual ACE_Time_Value_T gettimeofday () const; 18 | }; 19 | 20 | ACE_Time_Value_T NULL_Time_Policy::gettimeofday () const 21 | { 22 | return ACE_Time_Value_T (ACE_Time_Value::zero); 23 | } 24 | 25 | static NULL_Time_Policy null_policy_; 26 | 27 | ACE_Delegating_Time_Policy::ACE_Delegating_Time_Policy (ACE_Dynamic_Time_Policy_Base const * delegate) 28 | : delegate_ (delegate != 0 ? delegate : &null_policy_) 29 | { 30 | } 31 | 32 | ACE_END_VERSIONED_NAMESPACE_DECL 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_search.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_search.h 6 | * 7 | * search tables 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_SEARCH_H 15 | #define ACE_OS_INCLUDE_OS_SEARCH_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_types.h" 26 | 27 | #if !defined (ACE_LACKS_SEARCH_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_SEARCH_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_SEARCH_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_string.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_string.h 6 | * 7 | * string operations 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_STRING_H 15 | #define ACE_OS_INCLUDE_OS_STRING_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/os_stddef.h" 26 | 27 | #if !defined (ACE_LACKS_STRING_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_STRING_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_STRING_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_iconv.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_iconv.h 6 | * 7 | * codeset conversion facility 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_ICONV_H 15 | #define ACE_OS_INCLUDE_OS_ICONV_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_types.h" 26 | 27 | #if !defined (ACE_LACKS_ICONV_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_ICONV_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_ICONV_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_mqueue.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_mqueue.h 6 | * 7 | * message queues (REALTIME) 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_MQUEUE_H 15 | #define ACE_OS_INCLUDE_OS_MQUEUE_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/os_signal.h" 26 | 27 | #if !defined (ACE_LACKS_MQUEUE_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_MQUEUE_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_MQUEUE_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/Monitor_Control_Action.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Monitor_Control_Action.h" 2 | 3 | #if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1) 4 | 5 | #include "ace/Guard_T.h" 6 | 7 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 8 | 9 | namespace ACE 10 | { 11 | namespace Monitor_Control 12 | { 13 | Control_Action::Control_Action (void) 14 | : ACE_Refcountable_T (1) 15 | {} 16 | 17 | Control_Action::~Control_Action (void) 18 | {} 19 | 20 | void 21 | Control_Action::add_ref (void) 22 | { 23 | (void) this->increment (); 24 | } 25 | 26 | void 27 | Control_Action::remove_ref (void) 28 | { 29 | const long new_count = this->decrement (); 30 | 31 | if (new_count == 0) 32 | { 33 | delete this; 34 | } 35 | } 36 | } 37 | } 38 | 39 | ACE_END_VERSIONED_NAMESPACE_DECL 40 | 41 | #endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */ 42 | 43 | 44 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_ndbm.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_ndbm.h 6 | * 7 | * definitions for ndbm database operations 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_NDBM_H 15 | #define ACE_OS_INCLUDE_OS_NDBM_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_types.h" 26 | 27 | #if !defined (ACE_LACKS_NDBM_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_NDBM_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_NDBM_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/sys/os_statvfs.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_statvfs.h 6 | * 7 | * VFS File System information structure 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_SYS_OS_STATVFS_H 15 | #define ACE_OS_INCLUDE_SYS_OS_STATVFS_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-lite.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_SYS_STATVFS_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_SYS_STATVFS_H */ 28 | 29 | #include /**/ "ace/post.h" 30 | #endif /* ACE_OS_INCLUDE_SYS_OS_STATVFS_H */ 31 | -------------------------------------------------------------------------------- /StormLib/src/libtommath/bn_mp_set.c: -------------------------------------------------------------------------------- 1 | #include "tommath.h" 2 | #ifdef BN_MP_SET_C 3 | /* LibTomMath, multiple-precision integer library -- Tom St Denis 4 | * 5 | * LibTomMath is a library that provides multiple-precision 6 | * integer arithmetic as well as number theoretic functionality. 7 | * 8 | * The library was designed directly after the MPI library by 9 | * Michael Fromberger but has been written from scratch with 10 | * additional optimizations in place. 11 | * 12 | * The library is free for all purposes without any express 13 | * guarantee it works. 14 | * 15 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 16 | */ 17 | 18 | /* set to a digit */ 19 | void mp_set (mp_int * a, mp_digit b) 20 | { 21 | mp_zero (a); 22 | a->dp[0] = b & MP_MASK; 23 | a->used = (a->dp[0] != 0) ? 1 : 0; 24 | } 25 | #endif 26 | 27 | /* $Source: /cvs/libtom/libtommath/bn_mp_set.c,v $ */ 28 | /* $Revision: 1.4 $ */ 29 | /* $Date: 2006/12/28 01:25:13 $ */ 30 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_monetary.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_monetary.h 6 | * 7 | * monetary types 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_MONETARY_H 15 | #define ACE_OS_INCLUDE_OS_MONETARY_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_types.h" 26 | 27 | #if !defined (ACE_LACKS_MONETARY_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_MONETARY_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_MONETARY_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_utime.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_utime.h 6 | * 7 | * access and modification times structure 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_UTIME_H 15 | #define ACE_OS_INCLUDE_OS_UTIME_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_types.h" 26 | 27 | #if !defined (ACE_LACKS_UTIME_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_UTIME_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_UTIME_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_utmpx.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_utmpx.h 6 | * 7 | * user accounting database definitions 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_UTMPX_H 15 | #define ACE_OS_INCLUDE_OS_UTMPX_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_time.h" 26 | 27 | #if !defined (ACE_LACKS_UTMPX_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_UTMPX_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_UTMPX_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/pre.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file pre.h 6 | * 7 | * @author Christopher Kohlhoff 8 | * 9 | * This file saves the original alignment rules and changes the alignment 10 | * boundary to ACE's default. 11 | */ 12 | //============================================================================= 13 | 14 | // No header guard 15 | #if defined (_MSC_VER) 16 | # pragma warning (disable:4103) 17 | # pragma pack (push, 8) 18 | #elif defined (__BORLANDC__) 19 | # pragma option push -a8 -b -Ve- -Vx- -w-rvl -w-rch -w-ccc -w-obs -w-aus -w-pia -w-inl -w-sig 20 | # if (__BORLANDC__ >= 0x660) && (__BORLANDC__ <= 0x730) 21 | // False warning: Function defined with different linkage, reported to 22 | // Embarcadero as QC 117740 23 | # pragma option push -w-8127 24 | # endif 25 | # pragma nopushoptwarn 26 | # pragma nopackwarning 27 | #endif 28 | -------------------------------------------------------------------------------- /acelite/ace/Init_ACE.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Init_ACE.h" 2 | 3 | #include "ace/Object_Manager.h" 4 | 5 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 6 | 7 | unsigned int ACE::init_fini_count_ = 0; 8 | 9 | int 10 | ACE::init (void) 11 | { 12 | // Don't use ACE_TRACE, because Object_Manager might not have been 13 | // instantiated yet. 14 | // ACE_TRACE ("ACE::init"); 15 | 16 | ++ACE::init_fini_count_; 17 | 18 | return ACE_Object_Manager::instance ()->init (); 19 | } 20 | 21 | int 22 | ACE::fini (void) 23 | { 24 | ACE_TRACE ("ACE::fini"); 25 | 26 | if (ACE::init_fini_count_ > 0) 27 | { 28 | if (--ACE::init_fini_count_ == 0) 29 | return ACE_Object_Manager::instance ()->fini (); 30 | else 31 | // Wait for remaining fini () calls. 32 | return 1; 33 | } 34 | else 35 | // More ACE::fini () calls than ACE::init () calls. Bad 36 | // application! 37 | return -1; 38 | } 39 | 40 | ACE_END_VERSIONED_NAMESPACE_DECL 41 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_wordexp.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_wordexp.h 6 | * 7 | * word-expansion types 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_WORDEXP_H 15 | #define ACE_OS_INCLUDE_OS_WORDEXP_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/os_stddef.h" // size_t 26 | 27 | #if !defined (ACE_LACKS_WORDEXP_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_WORDEXP_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_WORDEXP_H */ 33 | -------------------------------------------------------------------------------- /recastnavigation/License.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009 Mikko Mononen memon@inside.org 2 | 3 | This software is provided 'as-is', without any express or implied 4 | warranty. In no event will the authors be held liable for any damages 5 | arising from the use of this software. 6 | 7 | Permission is granted to anyone to use this software for any purpose, 8 | including commercial applications, and to alter it and redistribute it 9 | freely, subject to the following restrictions: 10 | 11 | 1. The origin of this software must not be misrepresented; you must not 12 | claim that you wrote the original software. If you use this software 13 | in a product, an acknowledgment in the product documentation would be 14 | appreciated but is not required. 15 | 2. Altered source versions must be plainly marked as such, and must not be 16 | misrepresented as being the original software. 17 | 3. This notice may not be removed or altered from any source distribution. 18 | 19 | -------------------------------------------------------------------------------- /StormLib/src/libtommath/bn_mp_signed_bin_size.c: -------------------------------------------------------------------------------- 1 | #include "tommath.h" 2 | #ifdef BN_MP_SIGNED_BIN_SIZE_C 3 | /* LibTomMath, multiple-precision integer library -- Tom St Denis 4 | * 5 | * LibTomMath is a library that provides multiple-precision 6 | * integer arithmetic as well as number theoretic functionality. 7 | * 8 | * The library was designed directly after the MPI library by 9 | * Michael Fromberger but has been written from scratch with 10 | * additional optimizations in place. 11 | * 12 | * The library is free for all purposes without any express 13 | * guarantee it works. 14 | * 15 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 16 | */ 17 | 18 | /* get the size for an signed equivalent */ 19 | int mp_signed_bin_size (mp_int * a) 20 | { 21 | return 1 + mp_unsigned_bin_size (a); 22 | } 23 | #endif 24 | 25 | /* $Source: /cvs/libtom/libtommath/bn_mp_signed_bin_size.c,v $ */ 26 | /* $Revision: 1.4 $ */ 27 | /* $Date: 2006/12/28 01:25:13 $ */ 28 | -------------------------------------------------------------------------------- /acelite/ace/DEV.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/DEV.h" 2 | 3 | #include "ace/OS_NS_unistd.h" 4 | 5 | #if defined (ACE_HAS_ALLOC_HOOKS) 6 | # include "ace/Malloc_Base.h" 7 | #endif /* ACE_HAS_ALLOC_HOOKS */ 8 | 9 | #if !defined (__ACE_INLINE__) 10 | #include "ace/DEV.inl" 11 | #endif /* __ACE_INLINE__ */ 12 | 13 | 14 | 15 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 16 | 17 | ACE_ALLOC_HOOK_DEFINE(ACE_DEV) 18 | 19 | void 20 | ACE_DEV::dump (void) const 21 | { 22 | #if defined (ACE_HAS_DUMP) 23 | ACE_TRACE ("ACE_DEV::dump"); 24 | #endif /* ACE_HAS_DUMP */ 25 | } 26 | 27 | // This is the do-nothing constructor. 28 | 29 | ACE_DEV::ACE_DEV (void) 30 | { 31 | ACE_TRACE ("ACE_DEV::ACE_DEV"); 32 | } 33 | 34 | // Close the device 35 | 36 | int 37 | ACE_DEV::close (void) 38 | { 39 | ACE_TRACE ("ACE_DEV::close"); 40 | int result = ACE_OS::close (this->get_handle ()); 41 | this->set_handle (ACE_INVALID_HANDLE); 42 | return result; 43 | } 44 | 45 | ACE_END_VERSIONED_NAMESPACE_DECL 46 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_inttypes.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_inttypes.h 6 | * 7 | * fixed size integer types 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_INTTYPES_H 15 | #define ACE_OS_INCLUDE_OS_INTTYPES_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-lite.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/os_stdint.h" 26 | 27 | #if !defined (ACE_LACKS_INTTYPES_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_INTTYPES_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_INTTYPES_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_pdh.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_pdh.h 6 | * 7 | * definitions for the windows pdh API 8 | * 9 | * @author Johnny Willemsen 10 | */ 11 | //============================================================================= 12 | 13 | #ifndef ACE_OS_INCLUDE_OS_PDH_H 14 | #define ACE_OS_INCLUDE_OS_PDH_H 15 | 16 | #include /**/ "ace/pre.h" 17 | 18 | #include /**/ "ace/config-all.h" 19 | 20 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 21 | # pragma once 22 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 23 | 24 | #if defined (ACE_HAS_PDH_H) && !defined (ACE_LACKS_PDH_H) 25 | # include /**/ 26 | #endif /* ACE_HAS_PDH_H && !ACE_LACKS_PDH_H */ 27 | 28 | #if defined (ACE_HAS_PDH_H) && !defined (ACE_LACKS_PDH_H) 29 | # define ACE_HAS_WIN32_PDH 30 | #endif 31 | 32 | #include /**/ "ace/post.h" 33 | #endif /* ACE_OS_INCLUDE_OS_PDH_H */ 34 | -------------------------------------------------------------------------------- /acelite/ace/Capabilities.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_CapEntry::ACE_CapEntry (int captype) 6 | : captype_ (captype) 7 | { 8 | } 9 | 10 | ACE_INLINE 11 | ACE_IntCapEntry::ACE_IntCapEntry (int val) 12 | : ACE_CapEntry (ACE_INTCAP), 13 | val_ (val) 14 | { 15 | } 16 | 17 | ACE_INLINE int 18 | ACE_IntCapEntry::getval (void) const 19 | { 20 | return val_; 21 | } 22 | 23 | ACE_INLINE 24 | ACE_StringCapEntry::ACE_StringCapEntry (const ACE_TString &val) 25 | : ACE_CapEntry (ACE_STRINGCAP), 26 | val_ (val) 27 | { 28 | } 29 | 30 | ACE_INLINE ACE_TString 31 | ACE_StringCapEntry::getval (void) const 32 | { 33 | return val_; 34 | } 35 | 36 | ACE_INLINE 37 | ACE_BoolCapEntry::ACE_BoolCapEntry (int val) 38 | : ACE_CapEntry (ACE_BOOLCAP), 39 | val_(val) 40 | { 41 | } 42 | 43 | ACE_INLINE int 44 | ACE_BoolCapEntry::getval (void) const 45 | { 46 | return val_; 47 | } 48 | 49 | ACE_END_VERSIONED_NAMESPACE_DECL 50 | -------------------------------------------------------------------------------- /acelite/ace/Obchunk.cpp: -------------------------------------------------------------------------------- 1 | #include "ace/Obchunk.h" 2 | #if defined (ACE_HAS_ALLOC_HOOKS) 3 | # include "ace/Malloc_Base.h" 4 | #endif /* ACE_HAS_ALLOC_HOOKS */ 5 | 6 | #if !defined (__ACE_INLINE__) 7 | #include "ace/Obchunk.inl" 8 | #endif /* __ACE_INLINE__ */ 9 | 10 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 11 | 12 | ACE_ALLOC_HOOK_DEFINE(ACE_Obchunk) 13 | 14 | void 15 | ACE_Obchunk::dump (void) const 16 | { 17 | #if defined (ACE_HAS_DUMP) 18 | ACE_TRACE ("ACE_Obchunk::dump"); 19 | 20 | ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); 21 | ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("end_ = %x\n"), this->end_)); 22 | ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("cur_ = %x\n"), this->cur_)); 23 | ACELIB_DEBUG ((LM_DEBUG, ACE_END_DUMP)); 24 | #endif /* ACE_HAS_DUMP */ 25 | } 26 | 27 | ACE_Obchunk::ACE_Obchunk (size_t size) 28 | : end_ (contents_ + size), 29 | block_ (contents_), 30 | cur_ (contents_), 31 | next_ (0) 32 | { 33 | } 34 | 35 | ACE_END_VERSIONED_NAMESPACE_DECL 36 | -------------------------------------------------------------------------------- /acelite/ace/Service_Types.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/ACE.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE void * 7 | ACE_Service_Type_Impl::object (void) const 8 | { 9 | ACE_TRACE ("ACE_Service_Type_Impl::object"); 10 | return this->obj_; 11 | } 12 | 13 | ACE_INLINE const ACE_TCHAR * 14 | ACE_Service_Type_Impl::name (void) const 15 | { 16 | ACE_TRACE ("ACE_Service_Type_Impl::name"); 17 | return this->name_; 18 | } 19 | 20 | ACE_INLINE void 21 | ACE_Service_Type_Impl::name (const ACE_TCHAR *n) 22 | { 23 | ACE_TRACE ("ACE_Service_Type_Impl::name"); 24 | 25 | ACE::strdelete (const_cast (this->name_)); 26 | this->name_ = ACE::strnew (n); 27 | } 28 | 29 | ACE_INLINE int 30 | ACE_Service_Type_Impl::service_type (void) const 31 | { 32 | return service_type_; 33 | } 34 | 35 | ACE_INLINE void 36 | ACE_Service_Type_Impl::service_type (int stype) 37 | { 38 | service_type_ = stype; 39 | } 40 | ACE_END_VERSIONED_NAMESPACE_DECL 41 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_langinfo.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_langinfo.h 6 | * 7 | * language information constants 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_LANGINFO_H 15 | #define ACE_OS_INCLUDE_OS_LANGINFO_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/os_nl_types.h" 26 | 27 | #if !defined (ACE_LACKS_LANGINFO_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_LANGINFO_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_OS_LANGINFO_H */ 33 | -------------------------------------------------------------------------------- /utf8cpp/doc/ReleaseNotes: -------------------------------------------------------------------------------- 1 | utf8 cpp library 2 | Release 2.3.4 3 | 4 | A minor bug fix release. Thanks to all who reported bugs. 5 | 6 | Note: Version 2.3.3 contained a regression, and therefore was removed. 7 | 8 | Changes from version 2.3 9 | - Bug fix [3025042]: is_bom documentation issue. 10 | - Bug fix [3083640]: is_code_point_valid incorrectly returns false. 11 | - Bug fix [3167987]: prior moves it before start. 12 | - Bug fix [3185087]: utf8::prior and utf8::previous documentation issue. 13 | 14 | Changes from version 2.3.1 15 | - Bug fix [3506114]: potential crash in replace_invalid 16 | - Bug fix [3426789]: documentation typo 17 | - Bug fix [3215839]: name clash with std::next 18 | 19 | Changes from version 2.3.2 20 | - Bug fix [39]: checked.h Line 273 and unchecked.h Line 182 have an extra ';' 21 | - Bug fix [36]: replace_invalid() only works with back_inserter 22 | 23 | Files included in the release: utf8.h, core.h, checked.h, unchecked.h, utf8cpp.html, ReleaseNotes 24 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_devctl.h: -------------------------------------------------------------------------------- 1 | #ifndef ACE_OS_NS_DEVCTL_H 2 | #define ACE_OS_NS_DEVCTL_H 3 | 4 | #include /**/ "ace/pre.h" 5 | #include "ace/config-all.h" 6 | 7 | #ifndef ACE_LACKS_PRAGMA_ONCE 8 | #pragma once 9 | #endif 10 | 11 | #include "ace/os_include/sys/os_types.h" 12 | 13 | #include "ace/ACE_export.h" 14 | 15 | #ifdef ACE_EXPORT_MACRO 16 | # undef ACE_EXPORT_MACRO 17 | #endif 18 | #define ACE_EXPORT_MACRO ACE_Export 19 | 20 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 21 | namespace ACE_OS { 22 | 23 | ACE_NAMESPACE_INLINE_FUNCTION 24 | int posix_devctl (int filedes, int dcmd, 25 | void *dev_data_ptr, size_t nbyte, 26 | int *dev_info_ptr); 27 | 28 | } 29 | ACE_END_VERSIONED_NAMESPACE_DECL 30 | 31 | #ifdef ACE_HAS_INLINED_OSCALLS 32 | # ifdef ACE_INLINE 33 | # undef ACE_INLINE 34 | # endif 35 | # define ACE_INLINE inline 36 | # include "ace/OS_NS_devctl.inl" 37 | #endif 38 | 39 | #include /**/ "ace/post.h" 40 | #endif // ACE_OS_NS_DEVCTL_H 41 | -------------------------------------------------------------------------------- /acelite/ace/OS_NS_regex.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/OS_NS_errno.h" 3 | #include "ace/os_include/os_regex.h" 4 | 5 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 6 | 7 | ACE_INLINE char * 8 | ACE_OS::compile (const char *instring, char *expbuf, char *endbuf) 9 | { 10 | ACE_OS_TRACE ("ACE_OS::compile"); 11 | #if defined (ACE_HAS_REGEX) 12 | ACE_OSCALL_RETURN (::compile (instring, expbuf, endbuf), char *, 0); 13 | #else 14 | ACE_UNUSED_ARG (instring); 15 | ACE_UNUSED_ARG (expbuf); 16 | ACE_UNUSED_ARG (endbuf); 17 | 18 | ACE_NOTSUP_RETURN (0); 19 | #endif /* ACE_HAS_REGEX */ 20 | } 21 | 22 | ACE_INLINE int 23 | ACE_OS::step (const char *str, char *expbuf) 24 | { 25 | ACE_OS_TRACE ("ACE_OS::step"); 26 | #if defined (ACE_HAS_REGEX) 27 | ACE_OSCALL_RETURN (::step (str, expbuf), int, -1); 28 | #else 29 | ACE_UNUSED_ARG (str); 30 | ACE_UNUSED_ARG (expbuf); 31 | 32 | ACE_NOTSUP_RETURN (-1); 33 | #endif /* ACE_HAS_REGEX */ 34 | } 35 | 36 | ACE_END_VERSIONED_NAMESPACE_DECL 37 | -------------------------------------------------------------------------------- /recastnavigation/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This code is part of MaNGOS. Contributor & Copyright details are in AUTHORS/THANKS. 3 | # 4 | # This program is free software; you can redistribute it and/or modify 5 | # it under the terms of the GNU General Public License as published by 6 | # the Free Software Foundation; either version 2 of the License, or 7 | # (at your option) any later version. 8 | # 9 | # This program is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | # GNU General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU General Public License 15 | # along with this program; if not, write to the Free Software 16 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | # 18 | 19 | project(RecastNavigation) 20 | 21 | add_subdirectory(Detour) 22 | add_subdirectory(Recast) 23 | 24 | -------------------------------------------------------------------------------- /StormLib/src/wdk/sources-cpp.cpp: -------------------------------------------------------------------------------- 1 | // This is a source file for WDK build of StormLib 2 | // It is copied to the root folder during the build process 3 | 4 | #include "src\adpcm\adpcm.cpp" 5 | #include "src\huffman\huff.cpp" 6 | #include "src\sparse\sparse.cpp" 7 | 8 | #include "src\FileStream.cpp" 9 | #include "src\SBaseCommon.cpp" 10 | #include "src\SBaseDumpData.cpp" 11 | #include "src\SBaseFileTable.cpp" 12 | #include "src\SBaseSubTypes.cpp" 13 | #include "src\SCompression.cpp" 14 | #include "src\SFileAddFile.cpp" 15 | #include "src\SFileAttributes.cpp" 16 | #include "src\SFileCompactArchive.cpp" 17 | #include "src\SFileCreateArchive.cpp" 18 | #include "src\SFileExtractFile.cpp" 19 | #include "src\SFileFindFile.cpp" 20 | #include "src\SFileGetFileInfo.cpp" 21 | #include "src\SFileListFile.cpp" 22 | #include "src\SFileOpenArchive.cpp" 23 | #include "src\SFileOpenFileEx.cpp" 24 | #include "src\SFilePatchArchives.cpp" 25 | #include "src\SFileReadFile.cpp" 26 | #include "src\SFileVerify.cpp" 27 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_tgmath.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_tgmath.h 6 | * 7 | * type-generic macros 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_TGMATH_H 15 | #define ACE_OS_INCLUDE_OS_TGMATH_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/os_math.h" 26 | #include "ace/os_include/os_complex.h" 27 | 28 | #if !defined (ACE_LACKS_TGMATH_H) 29 | # include /**/ 30 | #endif /* !ACE_LACKS_TGMATH_H */ 31 | 32 | #include /**/ "ace/post.h" 33 | #endif /* ACE_OS_INCLUDE_OS_TGMATH_H */ 34 | -------------------------------------------------------------------------------- /acelite/ace/os_include/sys/os_timeb.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_timeb.h 6 | * 7 | * additional definitions for date and time 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_SYS_OS_TIMEB_H 15 | #define ACE_OS_INCLUDE_SYS_OS_TIMEB_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-lite.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_types.h" 26 | 27 | #if !defined (ACE_LACKS_SYS_TIMEB_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_SYS_TIMEB_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_SYS_OS_TIMEB_H */ 33 | -------------------------------------------------------------------------------- /StormLib/src/libtomcrypt/src/pk/rsa/rsa_free.c: -------------------------------------------------------------------------------- 1 | /* LibTomCrypt, modular cryptographic library -- Tom St Denis 2 | * 3 | * LibTomCrypt is a library that provides various cryptographic 4 | * algorithms in a highly modular and flexible manner. 5 | * 6 | * The library is free for all purposes without any express 7 | * guarantee it works. 8 | * 9 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 10 | */ 11 | #include "../../headers/tomcrypt.h" 12 | 13 | /** 14 | @file rsa_free.c 15 | Free an RSA key, Tom St Denis 16 | */ 17 | 18 | #ifdef LTC_MRSA 19 | 20 | /** 21 | Free an RSA key from memory 22 | @param key The RSA key to free 23 | */ 24 | void rsa_free(rsa_key *key) 25 | { 26 | LTC_ARGCHKVD(key != NULL); 27 | mp_clear_multi(key->e, key->d, key->N, key->dQ, key->dP, key->qP, key->p, key->q, NULL); 28 | } 29 | 30 | #endif 31 | 32 | /* $Source: /cvs/libtom/libtomcrypt/src/pk/rsa/rsa_free.c,v $ */ 33 | /* $Revision: 1.10 $ */ 34 | /* $Date: 2007/05/12 14:32:35 $ */ 35 | -------------------------------------------------------------------------------- /acelite/ace/Countdown_Time.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file Countdown_Time.h 6 | * 7 | * @author Douglas C. Schmidt 8 | * @author Irfan Pyarali 9 | */ 10 | //============================================================================= 11 | 12 | #ifndef ACE_COUNTDOWN_TIME_H 13 | #define ACE_COUNTDOWN_TIME_H 14 | 15 | #include /**/ "ace/pre.h" 16 | 17 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 18 | # pragma once 19 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 20 | 21 | #include "ace/Countdown_Time_T.h" 22 | 23 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 24 | 25 | // The following typedef is here for ease of use and backward 26 | // compatibility. 27 | typedef ACE_Countdown_Time_T 28 | ACE_Countdown_Time; 29 | 30 | ACE_END_VERSIONED_NAMESPACE_DECL 31 | 32 | #include /**/ "ace/post.h" 33 | 34 | #endif /* ACE_COUNTDOWN_TIME_H */ 35 | -------------------------------------------------------------------------------- /acelite/ace/os_include/sys/os_times.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_times.h 6 | * 7 | * file access and modification times structure 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_SYS_OS_TIMES_H 15 | #define ACE_OS_INCLUDE_SYS_OS_TIMES_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-lite.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/sys/os_types.h" 26 | 27 | #if !defined (ACE_LACKS_SYS_TIMES_H) 28 | # include /**/ 29 | #endif /* !ACE_LACKS_SYS_TIMES_H */ 30 | 31 | #include /**/ "ace/post.h" 32 | #endif /* ACE_OS_INCLUDE_SYS_OS_TIMES_H */ 33 | -------------------------------------------------------------------------------- /acelite/ace/Message_Block_T.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | template ACE_INLINE 5 | ACE_Locked_Data_Block::ACE_Locked_Data_Block (void) 6 | { 7 | this->locking_strategy_ = &this->lock_; 8 | } 9 | 10 | template ACE_INLINE 11 | ACE_Locked_Data_Block:: 12 | ACE_Locked_Data_Block (size_t size, 13 | ACE_Message_Block::ACE_Message_Type msg_type, 14 | const char *msg_data, 15 | ACE_Allocator *allocator_strategy, 16 | ACE_Message_Block::Message_Flags flags, 17 | ACE_Allocator *data_block_allocator) 18 | : ACE_Data_Block (size, 19 | msg_type, 20 | msg_data, 21 | allocator_strategy, 22 | &lock_, 23 | flags, 24 | data_block_allocator) 25 | { 26 | } 27 | 28 | ACE_END_VERSIONED_NAMESPACE_DECL 29 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_termios.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_termios.h 6 | * 7 | * define values for termios 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_TERMIOS_H 15 | #define ACE_OS_INCLUDE_OS_TERMIOS_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #if !defined (ACE_LACKS_TERMIOS_H) 26 | # include /**/ 27 | #endif /* !ACE_LACKS_TERMIOS_H */ 28 | 29 | #if defined (HPUX) 30 | # include /**/ 31 | #endif /* HPUX */ 32 | 33 | #include /**/ "ace/post.h" 34 | #endif /* ACE_OS_INCLUDE_OS_TERMIOS_H */ 35 | -------------------------------------------------------------------------------- /acelite/ace/config-win32-msvc-142.h: -------------------------------------------------------------------------------- 1 | /* -*- C++ -*- */ 2 | //============================================================================= 3 | /** 4 | * @file config-win32-msvc-142.h 5 | * 6 | * @brief Microsoft Visual C++ 14.2 configuration file. 7 | * 8 | * This file is the ACE configuration file for Microsoft Visual C++ 14.2 (as released with Visual Studio 2019). 9 | * 10 | * @note Do not include this file directly, include config-win32.h instead. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_CONFIG_WIN32_MSVC_142_H 15 | #define ACE_CONFIG_WIN32_MSVC_142_H 16 | #include /**/ "ace/pre.h" 17 | 18 | #ifndef ACE_CONFIG_WIN32_H 19 | #error Use config-win32.h in config.h instead of this header 20 | #endif /* ACE_CONFIG_WIN32_H */ 21 | 22 | #ifndef ACE_WIN32_VC142 23 | # define ACE_WIN32_VC142 24 | #endif 25 | 26 | #include "ace/config-win32-msvc-141.h" 27 | 28 | #include /**/ "ace/post.h" 29 | #endif /* ACE_CONFIG_WIN32_MSVC_142_H */ 30 | -------------------------------------------------------------------------------- /acelite/ace/TLI.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | #include "ace/TLI.h" 3 | 4 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 5 | 6 | ACE_INLINE 7 | int 8 | ACE_TLI::look (void) const 9 | { 10 | ACE_TRACE ("ACE_TLI::look"); 11 | return ACE_OS::t_look (this->get_handle ()); 12 | } 13 | 14 | ACE_INLINE 15 | int 16 | ACE_TLI::rcvdis (struct t_discon *discon) const 17 | { 18 | ACE_TRACE ("ACE_TLI::rcvdis"); 19 | return ACE_OS::t_rcvdis (this->get_handle (), discon); 20 | } 21 | 22 | ACE_INLINE 23 | int 24 | ACE_TLI::snddis (struct t_call *call) const 25 | { 26 | ACE_TRACE ("ACE_TLI::snddis"); 27 | return ACE_OS::t_snddis (this->get_handle (), call); 28 | } 29 | 30 | ACE_INLINE 31 | int 32 | ACE_TLI::rcvrel (void) const 33 | { 34 | ACE_TRACE ("ACE_TLI::rcvrel"); 35 | return ACE_OS::t_rcvrel (this->get_handle ()); 36 | } 37 | 38 | ACE_INLINE 39 | int 40 | ACE_TLI::sndrel (void) const 41 | { 42 | ACE_TRACE ("ACE_TLI::sndrel"); 43 | return ACE_OS::t_sndrel (this->get_handle ()); 44 | } 45 | 46 | ACE_END_VERSIONED_NAMESPACE_DECL 47 | -------------------------------------------------------------------------------- /StormLib/src/libtommath/bn_mp_init_set.c: -------------------------------------------------------------------------------- 1 | #include "tommath.h" 2 | #ifdef BN_MP_INIT_SET_C 3 | /* LibTomMath, multiple-precision integer library -- Tom St Denis 4 | * 5 | * LibTomMath is a library that provides multiple-precision 6 | * integer arithmetic as well as number theoretic functionality. 7 | * 8 | * The library was designed directly after the MPI library by 9 | * Michael Fromberger but has been written from scratch with 10 | * additional optimizations in place. 11 | * 12 | * The library is free for all purposes without any express 13 | * guarantee it works. 14 | * 15 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 16 | */ 17 | 18 | /* initialize and set a digit */ 19 | int mp_init_set (mp_int * a, mp_digit b) 20 | { 21 | int err; 22 | if ((err = mp_init(a)) != MP_OKAY) { 23 | return err; 24 | } 25 | mp_set(a, b); 26 | return err; 27 | } 28 | #endif 29 | 30 | /* $Source: /cvs/libtom/libtommath/bn_mp_init_set.c,v $ */ 31 | /* $Revision: 1.4 $ */ 32 | /* $Date: 2006/12/28 01:25:13 $ */ 33 | -------------------------------------------------------------------------------- /StormLib/src/libtommath/bn_mp_unsigned_bin_size.c: -------------------------------------------------------------------------------- 1 | #include "tommath.h" 2 | #ifdef BN_MP_UNSIGNED_BIN_SIZE_C 3 | /* LibTomMath, multiple-precision integer library -- Tom St Denis 4 | * 5 | * LibTomMath is a library that provides multiple-precision 6 | * integer arithmetic as well as number theoretic functionality. 7 | * 8 | * The library was designed directly after the MPI library by 9 | * Michael Fromberger but has been written from scratch with 10 | * additional optimizations in place. 11 | * 12 | * The library is free for all purposes without any express 13 | * guarantee it works. 14 | * 15 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 16 | */ 17 | 18 | /* get the size for an unsigned equivalent */ 19 | int mp_unsigned_bin_size (mp_int * a) 20 | { 21 | int size = mp_count_bits (a); 22 | return (size / 8 + ((size & 7) != 0 ? 1 : 0)); 23 | } 24 | #endif 25 | 26 | /* $Source: /cvs/libtom/libtommath/bn_mp_unsigned_bin_size.c,v $ */ 27 | /* $Revision: 1.4 $ */ 28 | /* $Date: 2006/12/28 01:25:13 $ */ 29 | -------------------------------------------------------------------------------- /acelite/ace/Condition_Attributes.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | ACE_INLINE 5 | ACE_Condition_Attributes::ACE_Condition_Attributes (int type) 6 | { 7 | (void) ACE_OS::condattr_init (this->attributes_, type); 8 | } 9 | 10 | ACE_INLINE 11 | ACE_Condition_Attributes::~ACE_Condition_Attributes (void) 12 | { 13 | ACE_OS::condattr_destroy (this->attributes_); 14 | } 15 | 16 | ACE_INLINE 17 | const ACE_condattr_t& 18 | ACE_Condition_Attributes::attributes (void) const 19 | { 20 | return this->attributes_; 21 | } 22 | 23 | ACE_INLINE 24 | ACE_Condition_Attributes_T::ACE_Condition_Attributes_T (int type) 25 | : ACE_Condition_Attributes (type) 26 | { 27 | #if defined (ACE_HAS_POSIX_MONOTONIC_CONDITIONS) 28 | (void) ACE_OS::condattr_setclock (this->attributes_, CLOCK_MONOTONIC); 29 | #endif 30 | } 31 | 32 | ACE_INLINE 33 | ACE_Condition_Attributes_T::~ACE_Condition_Attributes_T (void) 34 | { 35 | } 36 | 37 | ACE_END_VERSIONED_NAMESPACE_DECL 38 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_spawn.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_spawn.h 6 | * 7 | * spawn (ADVANCED REALTIME) 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_SPAWN_H 15 | #define ACE_OS_INCLUDE_OS_SPAWN_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | #include "ace/os_include/os_signal.h" 26 | #include "ace/os_include/sys/os_types.h" 27 | #include "ace/os_include/os_sched.h" 28 | 29 | #if !defined (ACE_LACKS_SPAWN_H) 30 | # include /**/ 31 | #endif /* !ACE_LACKS_SPAWN_H */ 32 | 33 | #include /**/ "ace/post.h" 34 | #endif /* ACE_OS_INCLUDE_OS_SPAWN_H */ 35 | -------------------------------------------------------------------------------- /StormLib/src/libtomcrypt/src/misc/zeromem.c: -------------------------------------------------------------------------------- 1 | /* LibTomCrypt, modular cryptographic library -- Tom St Denis 2 | * 3 | * LibTomCrypt is a library that provides various cryptographic 4 | * algorithms in a highly modular and flexible manner. 5 | * 6 | * The library is free for all purposes without any express 7 | * guarantee it works. 8 | * 9 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 10 | */ 11 | #include "../headers/tomcrypt.h" 12 | 13 | /** 14 | @file zeromem.c 15 | Zero a block of memory, Tom St Denis 16 | */ 17 | 18 | /** 19 | Zero a block of memory 20 | @param out The destination of the area to zero 21 | @param outlen The length of the area to zero (octets) 22 | */ 23 | void zeromem(void *out, size_t outlen) 24 | { 25 | unsigned char *mem = out; 26 | LTC_ARGCHKVD(out != NULL); 27 | while (outlen-- > 0) { 28 | *mem++ = 0; 29 | } 30 | } 31 | 32 | /* $Source: /cvs/libtom/libtomcrypt/src/misc/zeromem.c,v $ */ 33 | /* $Revision: 1.7 $ */ 34 | /* $Date: 2006/12/28 01:27:24 $ */ 35 | -------------------------------------------------------------------------------- /acelite/ace/Naming_Context.inl: -------------------------------------------------------------------------------- 1 | ACE_INLINE bool 2 | ACE_Name_Options::use_registry (void) const 3 | { 4 | ACE_TRACE ("ACE_Name_Options::use_registry"); 5 | return this->use_registry_; 6 | } 7 | 8 | ACE_INLINE void 9 | ACE_Name_Options::use_registry (bool x) 10 | { 11 | ACE_TRACE ("ACE_Name_Options::use_registry"); 12 | this->use_registry_ = x; 13 | } 14 | 15 | ACE_INLINE bool 16 | ACE_Name_Options::verbose (void) 17 | { 18 | ACE_TRACE ("ACE_Name_Options::verbose"); 19 | return this->verbosity_; 20 | } 21 | 22 | ACE_INLINE const ACE_TCHAR * 23 | ACE_Name_Options::process_name (void) 24 | { 25 | ACE_TRACE ("ACE_Name_Options::process_name"); 26 | return this->process_name_; 27 | } 28 | 29 | ACE_INLINE const ACE_TCHAR * 30 | ACE_Name_Options::namespace_dir (void) 31 | { 32 | ACE_TRACE ("ACE_Name_Options::namespace_dir"); 33 | return this->namespace_dir_; 34 | } 35 | 36 | ACE_INLINE bool 37 | ACE_Name_Options::debug (void) 38 | { 39 | ACE_TRACE ("ACE_Name_Options::debug"); 40 | return this->debugging_; 41 | } 42 | 43 | -------------------------------------------------------------------------------- /acelite/ace/SOCK_Connector.inl: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | ACE_BEGIN_VERSIONED_NAMESPACE_DECL 3 | 4 | // This constructor is used by a client when it wants to connect to 5 | // the specified REMOTE_SAP address using a blocking open. 6 | 7 | ACE_INLINE 8 | ACE_SOCK_Connector::~ACE_SOCK_Connector (void) 9 | { 10 | ACE_TRACE ("ACE_SOCK_Connector::~ACE_SOCK_Connector"); 11 | } 12 | 13 | // Do-nothing constructor... 14 | 15 | ACE_INLINE 16 | ACE_SOCK_Connector::ACE_SOCK_Connector (void) 17 | { 18 | ACE_TRACE ("ACE_SOCK_Connector::ACE_SOCK_Connector"); 19 | } 20 | 21 | ACE_INLINE bool 22 | ACE_SOCK_Connector::reset_new_handle (ACE_HANDLE handle) 23 | { 24 | #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) 25 | // Reset the event association 26 | return ::WSAEventSelect ((SOCKET) handle, 27 | 0, 28 | 0); 29 | #else /* !defined ACE_HAS_WINSOCK2 */ 30 | ACE_UNUSED_ARG (handle); 31 | return false; 32 | #endif /* ACE_WIN32 */ 33 | } 34 | 35 | ACE_END_VERSIONED_NAMESPACE_DECL 36 | -------------------------------------------------------------------------------- /StormLib/src/libtommath/bn_mp_init_copy.c: -------------------------------------------------------------------------------- 1 | #include "tommath.h" 2 | #ifdef BN_MP_INIT_COPY_C 3 | /* LibTomMath, multiple-precision integer library -- Tom St Denis 4 | * 5 | * LibTomMath is a library that provides multiple-precision 6 | * integer arithmetic as well as number theoretic functionality. 7 | * 8 | * The library was designed directly after the MPI library by 9 | * Michael Fromberger but has been written from scratch with 10 | * additional optimizations in place. 11 | * 12 | * The library is free for all purposes without any express 13 | * guarantee it works. 14 | * 15 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 16 | */ 17 | 18 | /* creates "a" then copies b into it */ 19 | int mp_init_copy (mp_int * a, mp_int * b) 20 | { 21 | int res; 22 | 23 | if ((res = mp_init (a)) != MP_OKAY) { 24 | return res; 25 | } 26 | return mp_copy (b, a); 27 | } 28 | #endif 29 | 30 | /* $Source: /cvs/libtom/libtommath/bn_mp_init_copy.c,v $ */ 31 | /* $Revision: 1.4 $ */ 32 | /* $Date: 2006/12/28 01:25:13 $ */ 33 | -------------------------------------------------------------------------------- /StormLib/src/libtommath/bn_mp_init_set_int.c: -------------------------------------------------------------------------------- 1 | #include "tommath.h" 2 | #ifdef BN_MP_INIT_SET_INT_C 3 | /* LibTomMath, multiple-precision integer library -- Tom St Denis 4 | * 5 | * LibTomMath is a library that provides multiple-precision 6 | * integer arithmetic as well as number theoretic functionality. 7 | * 8 | * The library was designed directly after the MPI library by 9 | * Michael Fromberger but has been written from scratch with 10 | * additional optimizations in place. 11 | * 12 | * The library is free for all purposes without any express 13 | * guarantee it works. 14 | * 15 | * Tom St Denis, tomstdenis@gmail.com, http://libtom.org 16 | */ 17 | 18 | /* initialize and set a digit */ 19 | int mp_init_set_int (mp_int * a, unsigned long b) 20 | { 21 | int err; 22 | if ((err = mp_init(a)) != MP_OKAY) { 23 | return err; 24 | } 25 | return mp_set_int(a, b); 26 | } 27 | #endif 28 | 29 | /* $Source: /cvs/libtom/libtommath/bn_mp_init_set_int.c,v $ */ 30 | /* $Revision: 1.4 $ */ 31 | /* $Date: 2006/12/28 01:25:13 $ */ 32 | -------------------------------------------------------------------------------- /acelite/ace/os_include/os_wctype.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | //============================================================================= 4 | /** 5 | * @file os_wctype.h 6 | * 7 | * wide-character classification and mapping utilities 8 | * 9 | * @author Don Hinton 10 | * @author This code was originally in various places including ace/OS.h. 11 | */ 12 | //============================================================================= 13 | 14 | #ifndef ACE_OS_INCLUDE_OS_WCTYPE_H 15 | #define ACE_OS_INCLUDE_OS_WCTYPE_H 16 | 17 | #include /**/ "ace/pre.h" 18 | 19 | #include /**/ "ace/config-all.h" 20 | 21 | #if !defined (ACE_LACKS_PRAGMA_ONCE) 22 | # pragma once 23 | #endif /* ACE_LACKS_PRAGMA_ONCE */ 24 | 25 | // ctype.h, string.h, stdarg.h, stdio.h, stdlib.h, time.h 26 | #include "ace/os_include/os_wchar.h" 27 | 28 | #if !defined (ACE_LACKS_WCTYPE_H) 29 | # include /**/ 30 | #endif /* !ACE_LACKS_WCTYPE_H */ 31 | 32 | #include /**/ "ace/post.h" 33 | #endif /* ACE_OS_INCLUDE_OS_WCTYPE_H */ 34 | --------------------------------------------------------------------------------