CMS 3D CMS Logo

Functions | Variables
LzmaFile.cc File Reference
#include "LzmaFile.h"
#include "LzmaDec.h"
#include "Alloc.h"
#include "Types.h"
#include "7zFile.h"
#include <cmath>
#include <iostream>
#include <queue>
#include <cstdlib>

Go to the source code of this file.

Functions

static void * SzAlloc (void *p, size_t size)
 
static void SzFree (void *p, void *address)
 

Variables

static ISzAlloc g_Alloc = { SzAlloc, SzFree }
 
const char * kCantAllocateMessage = "Can not allocate memory"
 
const char * kCantReadMessage = "Can not read input file"
 
const char * kCantWriteMessage = "Can not write output file"
 
const char * kDataErrorMessage = "Data error"
 

Function Documentation

static void* SzAlloc ( void *  p,
size_t  size 
)
static

Definition at line 21 of file LzmaFile.cc.

References MyAlloc(), and AlCaHLTBitMon_ParallelJobs::p.

21 { p = p; return MyAlloc(size); }
size
Write out results.
void * MyAlloc(size_t size)
Definition: Alloc.cc:23
static void SzFree ( void *  p,
void *  address 
)
static

Definition at line 22 of file LzmaFile.cc.

References MyFree(), and AlCaHLTBitMon_ParallelJobs::p.

22 { p = p; MyFree(address); }
void MyFree(void *address)
Definition: Alloc.cc:38

Variable Documentation

ISzAlloc g_Alloc = { SzAlloc, SzFree }
static

Definition at line 23 of file LzmaFile.cc.

const char* kCantAllocateMessage = "Can not allocate memory"

Definition at line 18 of file LzmaFile.cc.

const char* kCantReadMessage = "Can not read input file"

Definition at line 16 of file LzmaFile.cc.

const char* kCantWriteMessage = "Can not write output file"

Definition at line 17 of file LzmaFile.cc.

const char* kDataErrorMessage = "Data error"

Definition at line 19 of file LzmaFile.cc.