text
stringlengths
1
24.5M
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_scrol.h // Purpose: XML resource handler for wxScrollBar // Author: Brian Gavin // Created: 2000/09/09 // Copyright: (c) 2000 Brian Gavin // Licence: wxWindows licence /////////////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_scwin.h // Purpose: XML resource handler for wxScrolledWindow // Author: Vaclav Slavik // Created: 2002/10/18 // Copyright: (c) 2002 Vaclav Slavik // Licence: wxWindows licence ////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_simplebook.h // Purpose: XML resource handler for wxSimplebook // Author: Vadim Zeitlin // Created: 2014-08-05 // Copyright: (c) 2014 Vadim Zeitlin // Licence: wxWindows licence ///////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_sizer.h // Purpose: XML resource handler for wxBoxSizer // Author: Vaclav Slavik // Created: 2000/04/24 // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence //////////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_slidr.h // Purpose: XML resource handler for wxSlider // Author: Bob Mitchell // Created: 2000/03/21 // Copyright: (c) 2000 Bob Mitchell and Verant Interactive // Licence: wxWindows licence ///////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_spin.h // Purpose: XML resource handler for wxSpinButton and wxSpinCtrl // Author: Bob Mitchell // Created: 2000/03/21 // Copyright: (c) 2000 Bob Mitchell and Verant Interactive // Licence: wxWindo...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_split.h // Purpose: XRC resource for wxSplitterWindow // Author: panga@freemail.hu, Vaclav Slavik // Created: 2003/01/26 // Copyright: (c) 2003 panga@freemail.hu, Vaclav Slavik // Licence: wxWindow...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_srchctl.h // Purpose: XRC resource handler for wxSearchCtrl // Author: Sander Berents // Created: 2007/07/12 // Copyright: (c) 2007 Sander Berents // Licence: wxWindows licence ////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_statbar.h // Purpose: XML resource handler for wxStatusBar // Author: Brian Ravnsgaard Riis // Created: 2004/01/21 // Copyright: (c) 2004 Brian Ravnsgaard Riis // Licence: wxWindows licence ///////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_stbmp.h // Purpose: XML resource handler for wxStaticBitmap // Author: Vaclav Slavik // Created: 2000/04/22 // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence //////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_stbox.h // Purpose: XML resource handler for wxStaticBox // Author: Brian Gavin // Created: 2000/09/00 // Copyright: (c) 2000 Brian Gavin // Licence: wxWindows licence /////////////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_stlin.h // Purpose: XML resource handler for wxStaticLine // Author: Vaclav Slavik // Created: 2000/09/00 // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ////////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_sttxt.h // Purpose: XML resource handler for wxStaticText // Author: Bob Mitchell // Created: 2000/03/21 // Copyright: (c) 2000 Bob Mitchell // Licence: wxWindows licence //////////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_text.h // Purpose: XML resource handler for wxTextCtrl // Author: Aleksandras Gluchovas // Created: 2000/03/21 // Copyright: (c) 2000 Aleksandras Gluchovas // Licence: wxWindows licence ///////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_tglbtn.h // Purpose: XML resource handler for wxToggleButton // Author: Julian Smart // Created: 2004-08-30 // Copyright: (c) 2004 Julian Smart // Licence: wxWindows licence ///////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_timectrl.h // Purpose: XML resource handler for wxTimePickerCtrl // Author: Vadim Zeitlin // Created: 2011-09-22 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org> // Licence: wxWindows lic...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_toolb.h // Purpose: XML resource handler for wxToolBar // Author: Vaclav Slavik // Created: 2000/08/11 // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_toolbk.h // Purpose: XML resource handler for wxToolbook // Author: Andrea Zanellato // Created: 2009/12/12 // Copyright: (c) 2010 wxWidgets development team // Licence: wxWindows licence /////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_tree.h // Purpose: XML resource handler for wxTreeCtrl // Author: Brian Gavin // Created: 2000/09/09 // Copyright: (c) 2000 Brian Gavin // Licence: wxWindows licence ///////////////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_treebk.h // Purpose: XML resource handler for wxTreebook // Author: Evgeniy Tarassov // Created: 2005/09/28 // Copyright: (c) 2005 TT-Solutions <vadim@tt-solutions.com> // Licence: wxWindows licenc...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_unkwn.h // Purpose: XML resource handler for unknown widget // Author: Vaclav Slavik // Created: 2000/03/05 // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence //////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_wizrd.h // Purpose: XML resource handler for wxWizard // Author: Vaclav Slavik // Created: 2003/03/02 // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ////////////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xmlres.h // Purpose: XML resources // Author: Vaclav Slavik // Created: 2000/03/05 // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence //////////////////////////////////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xmlreshandler.cpp // Purpose: XML resource handler // Author: Steven Lamerton // Created: 2011/01/26 // Copyright: (c) 2011 Steven Lamerton // Licence: wxWindows licence //////////////////////////////...
///////////////////////////////////////////////////////////////////////////// // Name: wx/msw/setup.h // Purpose: Configuration for the library // Author: Julian Smart // Modified by: // Created: 01/02/97 // Copyright: (c) Julian Smart // Licence: wxWindows licence ////////////////////////////...
#ifndef _WX_RCDEFS_H #define _WX_RCDEFS_H #define WX_CPU_AMD64 #endif
///////////////////////////////////////////////////////////////////////////// // Name: wx/msw/setup.h // Purpose: Configuration for the library // Author: Julian Smart // Modified by: // Created: 01/02/97 // Copyright: (c) Julian Smart // Licence: wxWindows licence ////////////////////////////...
#ifndef _WX_RCDEFS_H #define _WX_RCDEFS_H #define WX_CPU_AMD64 #endif
#include "build.h" #include "bitset.h" namespace utils { BitSet::BitSet(const uint32 numBits /*= 0*/) : m_numBits(0) { Resize(numBits); } void BitSet::Resize(const uint32 numBits /*= 0*/) { if (m_numBits != numBits) { const auto oldBitCount = m_numBits; const auto numWords = (numBits + 31) / 32; ...
#pragma once namespace utils { class LAUNCHER_API BitSet { public: BitSet(const uint32 numBits = 0); BitSet(const BitSet& other) = default; BitSet(BitSet&& other) = default; BitSet& operator=(const BitSet& other) = default; BitSet& operator=(BitSet&& other) = default; inline uint32 GetSize() const { r...
#include "build.h" #include "blockAllocator.h" //#pragma optimize("",off) namespace utils { BlockAllocator::BlockAllocator() : m_blockPool(NULL) , m_numFreePages(0) , m_freeBlocks(NULL) {} void BlockAllocator::Initialize(const uint32 numPages) { // create page tables m_blockTable.resize(numPages*2 - 1...
#pragma once #include "bitset.h" namespace utils { class LAUNCHER_API BlockAllocator { public: BlockAllocator(); // initialize memory range void Initialize(const uint32 numPages); // is the given memory range allocated ? const bool IsAllocated(const uint32 firstPage, const uint32 numPages) const; /...
#include "build.h"
#pragma once #define NO_MINMAX #include <stdlib.h> #include <stdio.h> #include <math.h> #include <float.h> #include <winsock2.h> //#include <Windows.h> #include <vector> #include <string> #include <deque> #include <map> #include <set> #include <algorithm> #include <atomic> #include <thread> #include <chrono> #includ...
#pragma once #include <stdio.h> #include <stdlib.h> #include <emmintrin.h> #include <intrin.h> #include <float.h> #include <Windows.h> #define LAUNCHER_API #pragma warning( disable:4251 ) // dll interface typedef unsigned char uint8; typedef unsigned short uint16; typedef unsigned int uint32; typedef unsigned __in...
#include "build.h" #include "launcherCommandline.h" #include "launcherUtils.h" namespace launcher { Commandline::Commandline() { } Commandline::Commandline(const wchar_t* cmd) { Parse(cmd); } Commandline::Commandline(const wchar_t** argv, const int argc) { std::wstring fullCommandLine; for (int i = 1...
#pragma once namespace launcher { // commandline wrapper class LAUNCHER_API Commandline { public: Commandline(); Commandline(const char** argv, const int argc); Commandline(const wchar_t** argv, const int argc); Commandline(const wchar_t* cmd); /// do we have an option specified ? const bool HasOption...
#include "build.h" #include "launcherOutputTTY.h" namespace launcher { OutputTTY::OutputTTY() : m_bVerboseMode(false) { if (!AttachConsole( GetCurrentProcessId() )) AllocConsole(); m_hStdOut = GetStdHandle(STD_OUTPUT_HANDLE); m_hStdErr = GetStdHandle(STD_ERROR_HANDLE); m_bDebugerAttached = (TRUE == IsD...
#pragma once namespace launcher { /// Generic output interface (global) class LAUNCHER_API OutputTTY { public: OutputTTY(); ~OutputTTY(); // global instance static OutputTTY& GetInstance(); // toggle the verbose mode (displays non-exe messageS) void SetVerboseMode(const bool bVerboseMode); // logg...
#include "build.h" #include "launcherUtils.h" #include "zlib\zlib.h" static const uint32 ZLIB_CHUNK = 4096; namespace launcher { //--------------------------------------------------------------------------- BinaryConsumer::BinaryConsumer(const void* data, const uint32 size) : m_data((const uint8*)data) , m_siz...
#pragma once #include "launcherBase.h" namespace launcher { //--------------------------------------------------------------------------- class LAUNCHER_API BinaryConsumer { public: BinaryConsumer(const void* data, const uint32 size); inline const uint32 GetSize() const { return m_size; } inline const uin...
#include "build.h" #include "nativeFileSystem.h" #include "nativeKernel.h" #include "nativeMemory.h" #include "native.h" namespace native { //--- IFile::~IFile() {} FileInfo::FileInfo() : m_creationTime(0) , m_lastAccessTime(0) , m_lastWriteTime(0) , m_changeTime(0) , m_allocationSize(0) , m_fileLeng...
#pragma once namespace native { class IFileSystem; class IMemory; class IKernel; struct LAUNCHER_API Systems { IFileSystem* m_fileSystem; IMemory* m_memory; IKernel* m_kernel; Systems(); }; } // native
#pragma once namespace native { enum FileMode : uint8 { FileMode_ReadOnly = 1, FileMode_ReadWrite = 2, FileMode_Append = 4, }; enum FileAttributes : uint32 { eFileAttribute_ReadOnly = 0x0001, eFileAttribute_Hidden = 0x0002, eFileAttribute_System = 0x0004, eFileAttribute_Directory = 0x0010, eFileA...
#pragma once namespace native { class IThread; enum { TimeoutInfinite = 0xFFFFFFFF, }; enum class WaitResult { Success, IOCompletion, Timeout, Failed, Abandoned, }; enum class ThreadPriority { Lowest, BelowNormal, Normal, AboveNormal, Highest, }; class LAUNCHER_API IRunnable { pu...
#pragma once namespace native { /// native memory allocator class LAUNCHER_API IMemory { public: virtual ~IMemory(); /// allocate and commit memory block virtual void* AllocVirtualMemory(const uint64_t prefferedBaseAddres, const uint64_t size) = 0; /// free virtual memory virtual void FreeVirtualMemory...
#include "build.h" #include "networkAddress.h" #include <ws2tcpip.h> namespace net { Address::Address() { memset( &m_data, 0, sizeof(m_data) ); } Address::Address( const sockaddr_in& addr ) { memcpy( &m_data, &addr, sizeof(addr) ); m_data.ss_family = AF_INET; } Address::Address( const sockaddr_in6& ad...
#pragma once #include <WinSock2.h> #include <ws2ipdef.h> namespace net { /// Raw network address - debug only class Address { public: Address(); Address( const sockaddr_in& addr ); Address( const sockaddr_in6& addr ); // is valid address ? bool IsValid() const; // change port void SetPort( unsigne...
#pragma once namespace net { class Address; class Socket; typedef int TConnectionID; typedef int TListenerID; // raw connection interface class IConnectionInterface { public: virtual ~IConnectionInterface() {}; //! Called when connection is dropped, not called if that's us that closed the connection, no...
#include "build.h" #include "networkAddress.h" #include "networkManagerImpl.h" #pragma comment ( lib, "Ws2_32.lib" ) namespace net { ManagerImpl::ManagerImpl() : m_initializedFlag( false ) , m_shutdownFlag( false ) , m_idAllocator( 100 ) , m_hThread( NULL ) { } void ManagerImpl::Initialize() { // ini...
#pragma once #include <atomic> #include <mutex> #include "networkManager.h" #include "networkAddress.h" #include "networkSocket.h" namespace net { class Address; /// Manager for RAW network - implementation class ManagerImpl : public Manager { public: ManagerImpl(); // Initialize raw network void Initia...
#include "build.h" #include "networkAddress.h" #include "networkSocket.h" namespace net { Socket::Socket() : m_socket( INVALID_SOCKET ) , m_connected( false ) {} Socket::Socket( const Socket& other ) : m_socket( other.m_socket ) , m_connected( other.m_connected ) {} void Socket::Close() { if ( m_soc...
#pragma once namespace net { class Address; // simple class wrapper class Socket { public: Socket(); Socket( const Socket& other ); void Close(); bool CreateTCP(); // waits bool CreateUDP(); // waits bool Bind( const unsigned short port, Address& outBoundAddress ); bool Listen(); bool Connect...
#include "build.h" #include "runtimeCodeTable.h" #include "runtimeCodeExecutor.h" #include "runtimeRegisterBank.h" #include "runtimeTraceWriter.h" #include "runtimeTraceFile.h" namespace runtime { CodeExecutor::CodeExecutor(RegisterBank* regs, const CodeTable* code, const uint64 ip) : m_regs(regs) , m_code(code)...
#pragma once #include "launcherBase.h" namespace runtime { class CodeTable; class RegisterBank; class TraceWriter; /// executes the code class LAUNCHER_API CodeExecutor { public: CodeExecutor(RegisterBank* regs, const CodeTable* code, const uint64 ip); ~CodeExecutor(); /// get register bank inline Re...
#include "build.h" #include "runtimeCodeTable.h" #include "runtimeRegisterBank.h" namespace runtime { CodeTable::CodeTable(const uint64 startCodeAddress, const uint64 endCodeAddress) : m_startCodeAddress(startCodeAddress) , m_endCodeAddress(endCodeAddress) { // create code table m_codeTableLength = (uint32)...
#pragma once #include "launcherBase.h" #include "runtimeImageInfo.h" namespace runtime { class RegisterBank; /// Executable code class CodeTable { public: inline const uint64 GetCodeStartAddress() const { return m_startCodeAddress; } inline const uint64 GetCodeEndAddress() const { return m_endCodeAddress; }...
#include "build.h" #include "runtimeCPU.h" namespace runtime { //---- RegisterInfo::RegisterInfo(RegisterType type, const char* name, const uint32 index, const uint32 bitSize, const uint32 dataOffset) : m_type(type) , m_name(name) , m_index(index) , m_bitOffset(0) , m_bitSize(bitSize) , m_dataOffset(dat...
#pragma once #include "launcherBase.h" #include "runtimeDevice.h" namespace runtime { class RegisterBank; class RegisterInfo; /// cpu register description class LAUNCHER_API RegisterInfo { public: /// type of register enum RegisterType { Fixed, // integer Float, // floating point Flags, // fla...
#include "build.h" #include "runtimeDevice.h" namespace runtime { IDevice::IDevice() { } IDevice::~IDevice() { } } // runtime
#pragma once #include "launcherBase.h" namespace runtime { enum class DeviceType { None = 0, CPU = 1, GPU = 5, }; /// basic hardware device class LAUNCHER_API IDevice { public: /// get device type virtual DeviceType GetType() const = 0; /// get device name virtual const char* GetName() const = ...
#include "build.h" #include "runtimeEnvironment.h" #include "runtimePlatform.h" #include "runtimeImage.h" #include "runtimeSymbols.h" #include "runtimeDevice.h" #include "launcherCommandline.h" namespace runtime { Environment::Environment(const native::Systems& nativeSystems) : m_platform(nullptr) , m_image(nul...
#pragma once #include "launcherBase.h" #include "runtimeSymbols.h" #include "native.h" namespace launcher { class Commandline; } namespace runtime { class IPlatform; class Image; /// runtime environment - image + platform class LAUNCHER_API Environment { public: Environment(const native::Systems& nativeSys...
#include "build.h" #include "runtimeExceptions.h" //--- namespace runtime { } // runtime
#pragma once #include <exception> #define USE_EXCEPTIONS namespace runtime { //------------ class RegisterBank; //------------ // base runtime exception class Exception : public std::exception { public: inline Exception(const uint64_t ip, const char* message) : std::exception(message) , m_ip(ip) ...
#include "build.h" #include "runtimeImageInfo.h" #include "runtimeImage.h" #include "runtimeCodeTable.h" #include "runtimeSymbols.h" #include "launcherUtils.h" namespace runtime { Image::Image() : m_imageData(NULL) , m_imageSize(0) , m_codeLibrary(NULL) , m_codeTable(NULL) { } Image::~Image() { del...
#pragma once #include "launcherBase.h" #include "runtimeImageInfo.h" namespace runtime { class CodeTable; class Symbols; /// image wrapper class LAUNCHER_API Image { public: // Get the code table inline const CodeTable* GetCodeTable() const { return m_codeTable; } // Get the entry point inline const u...
#pragma once #include "launcherBase.h" namespace runtime { class RegisterBank; typedef void(*TGlobalMemReadFunc)(const uint64_t ip, const uint64_t address, const uint64_t size, void* outPtr); typedef void(*TGlobalMemWriteFunc)(const uint64_t ip, const uint64_t address, const uint64_t size, const void* inPtr); ty...
#include "build.h" #include "runtimePlatform.h" namespace runtime { IPlatform::IPlatform() { } IPlatform::~IPlatform() { } } // runtime
#pragma once #include "launcherBase.h" namespace launcher { class Commandline; } namespace native { struct Systems; } namespace runtime { class Symbols; class Image; /// devices class IDevice; class IDeviceCPU; /// execution platform interface class LAUNCHER_API IPlatform { public: IPlatform(); //...
#include "build.h" #include "runtimeRegisterBank.h" namespace runtime { RegisterBank::RegisterBank(const RegisterBankInfo* desc) : m_desc(desc) {} RegisterBank::~RegisterBank() { } } // runtime
#pragma once #include "launcherBase.h" namespace runtime { class RegisterBankInfo; /// bank of registers, used by CPU emulation /// note, the actual size depends on the cpu, always allocated by the platform class LAUNCHER_API RegisterBank { public: RegisterBank(const RegisterBankInfo* desc); virtual ~Regis...
#include "build.h" #include "runtimeSymbols.h" #include "runtimeRegisterBank.h" #include "runtimeExceptions.h" namespace runtime { Symbols::Symbols() { m_defaultMemReaderFunc = &UnhandledGlobalRead; m_defaultMemWriterFunc = &UnhandledGlobalWrite; m_defaultPortReaderFunc = &UnhandledPortRead; m_defaultPortWr...
#pragma once #include "launcherBase.h" #include "runtimeImageInfo.h" namespace runtime { /// lookup table template< typename Num, typename Func > class FastLookupTable { public: inline FastLookupTable() : m_numEntries(0) {} inline void Add(Num addr, Func func) { for (uint32 i = 0; i < m_numEntries...
#include "build.h" #include "runtimeTraceFile.h" #include "runtimeTraceWriter.h" #include "runtimeCPU.h" #include "../recompiler_core/traceCommon.h" #include "../xenon_launcher/xenonUtils.h" namespace runtime { ///--- TraceFile::TraceFile(const runtime::RegisterBankInfo& bankInfo, std::unique_ptr<std::ofstream>& o...
#pragma once #include <mutex> #include <iosfwd> #include <atomic> namespace runtime { class TraceWriter; class RegisterBank; class RegisterBankInfo; /// trace file class LAUNCHER_API TraceFile { public: ~TraceFile(); // flush all pending writes void Flush(); // create a writer for a thread TraceWr...
#include "build.h" #include "runtimeRegisterBank.h" #include "runtimeTraceWriter.h" #include "runtimeTraceFile.h" #include "runtimeCPU.h" #include "../recompiler_core/traceCommon.h" namespace runtime { TraceWriter::TraceWriter(TraceFile* owner, const uint32_t threadId, std::atomic<uint32_t>& sequenceNumber, std::at...
#pragma once #include <mutex> #include <iosfwd> namespace runtime { class TraceFile; /// writes instruction + register trace into the file class LAUNCHER_API TraceWriter { public: TraceWriter(TraceFile* owner, const uint32_t threadId, std::atomic<uint32_t>& sequenceNumber, std::atomic<bool>& pausedFlag, cons...
/* adler32.c -- compute the Adler-32 checksum of a data stream * Copyright (C) 1995-2011 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ #include "zutil.h" #define local static local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2)); #...
/* compress.c -- compress a memory buffer * Copyright (C) 1995-2005 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ #define ZLIB_INTERNAL #include "zlib.h" /* =========================================================================== Compresses t...
/* crc32.c -- compute the CRC-32 of a data stream * Copyright (C) 1995-2006, 2010, 2011, 2012 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h * * Thanks to Rodney Brown <rbrown64@csc.com.au> for his contribution of faster * CRC methods: exclusive-oring 32 bits of data at a time,...
/* crc32.h -- tables for rapid CRC calculation * Generated automatically by crc32.c */ local const z_crc_t FAR crc_table[TBLS][256] = { { 0x00000000UL, 0x77073096UL, 0xee0e612cUL, 0x990951baUL, 0x076dc419UL, 0x706af48fUL, 0xe963a535UL, 0x9e6495a3UL, 0x0edb8832UL, 0x79dcb8a4UL, 0xe0d5e91eUL, 0x97d2d988U...
/* deflate.c -- compress data using the deflation algorithm * Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* * ALGORITHM * * The "deflation" process depends on being able to identify portions * of the input text w...
/* deflate.h -- internal compression state * Copyright (C) 1995-2012 Jean-loup Gailly * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the compression library and is subject to change. Ap...
/* infback.c -- inflate using a call-back interface * Copyright (C) 1995-2011 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* This code is largely copied from inflate.c. Normally either infback.o or inflate.o would be linked into an application--not both. The interf...
/* inffast.c -- fast decoding * Copyright (C) 1995-2008, 2010, 2013 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ #include "zutil.h" #include "inftrees.h" #include "inflate.h" #include "inffast.h" #ifndef ASMINF /* Allow machine dependent optimization for post-increment or...
/* inffast.h -- header to use inffast.c * Copyright (C) 1995-2003, 2010 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the compression library and is subject to change. Appli...
/* inffixed.h -- table for decoding fixed codes * Generated automatically by makefixed(). */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of this library and is subject to change. Applications should only use zlib.h. */ static co...
/* inflate.c -- zlib decompression * Copyright (C) 1995-2012 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* * Change history: * * 1.2.beta0 24 Nov 2002 * - First version -- complete rewrite of inflate to simplify code, avoid * creation of window when not needed, ...
/* inflate.h -- internal inflate state definition * Copyright (C) 1995-2009 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the compression library and is subject to change. A...
/* inftrees.c -- generate Huffman trees for efficient decoding * Copyright (C) 1995-2013 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ #include "zutil.h" #include "inftrees.h" #define MAXBITS 15 const char inflate_copyright[] = " inflate 1.2.8 Copyright 1995-2013 Mark A...
/* inftrees.h -- header to use inftrees.c * Copyright (C) 1995-2005, 2010 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the compression library and is subject to change. App...
/* trees.c -- output deflated data using Huffman coding * Copyright (C) 1995-2012 Jean-loup Gailly * detect_data_type() function provided freely by Cosmin Truta, 2006 * For conditions of distribution and use, see copyright notice in zlib.h */ /* * ALGORITHM * * The "deflation" process uses several Huffman...
/* header created automatically with -DGEN_TREES_H */ local const ct_data static_ltree[L_CODES+2] = { {{ 12},{ 8}}, {{140},{ 8}}, {{ 76},{ 8}}, {{204},{ 8}}, {{ 44},{ 8}}, {{172},{ 8}}, {{108},{ 8}}, {{236},{ 8}}, {{ 28},{ 8}}, {{156},{ 8}}, {{ 92},{ 8}}, {{220},{ 8}}, {{ 60},{ 8}}, {{188},{ 8}}, {{124},...
/* uncompr.c -- decompress a memory buffer * Copyright (C) 1995-2003, 2010 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ #define ZLIB_INTERNAL #include "zlib.h" /* =========================================================================== Decom...
/* zconf.h -- configuration of the zlib compression library * Copyright (C) 1995-2013 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ #ifndef ZCONF_H #define ZCONF_H #define Z_SOLO /* * If you *really* need a unique prefix for all types and library f...
/* zlib.h -- interface of the 'zlib' general purpose compression library version 1.2.8, April 28th, 2013 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising fr...
/* zutil.c -- target dependent utility functions for the compression library * Copyright (C) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ #include "zutil.h" #ifndef Z_SOLO # include "gzguts.h" #endif #ifndef NO_DUMMY_DEC...
/* zutil.h -- internal interface and configuration of the compression library * Copyright (C) 1995-2013 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the compression lib...
#include "build.h"