Public Member Functions | |
string | decode (int64_t x) const |
string | decode (__int64 x) const |
int64_t | encode (const string &str) |
__int64 | encode (const string &str) |
StringTable (const set< string > &strings) | |
StringTable (rstream_t &f) | |
StringTable (const set< string > &strings) | |
StringTable (rstream &f) | |
void | write (ostream &os) |
void | write (ostream &os) |
~StringTable () | |
~StringTable () | |
Private Member Functions | |
void | init (const char *_data) |
void | init (const char *_data) |
void | makeDirectory (void) |
void | makeDirectory (void) |
Private Attributes | |
char * | data |
map< string, unsigned > | directory |
size_t | length |
Definition at line 144 of file extractExternal.cpp.
StringTable::StringTable | ( | rstream & | f | ) | [inline] |
Definition at line 178 of file extractExternal.cpp.
StringTable::StringTable | ( | const set< string > & | strings | ) | [inline] |
StringTable::~StringTable | ( | ) | [inline] |
Definition at line 232 of file extractExternal.cpp.
References data.
StringTable::StringTable | ( | rstream_t & | f | ) | [inline] |
Definition at line 217 of file objcopy.cpp.
StringTable::StringTable | ( | const set< string > & | strings | ) | [inline] |
StringTable::~StringTable | ( | ) | [inline] |
Definition at line 271 of file objcopy.cpp.
References data.
string StringTable::decode | ( | int64_t | x | ) | const [inline] |
string StringTable::decode | ( | __int64 | x | ) | const [inline] |
Definition at line 261 of file extractExternal.cpp.
References data, i, length, and stop().
Referenced by computeExternalSymbols(), hideSymbols(), and obj_copy().
int64_t StringTable::encode | ( | const string & | str | ) | [inline] |
Definition at line 278 of file objcopy.cpp.
__int64 StringTable::encode | ( | const string & | str | ) | [inline] |
Definition at line 239 of file extractExternal.cpp.
References directory, and stop().
Referenced by hideSymbols(), and obj_copy().
void StringTable::init | ( | const char * | _data | ) | [inline, private] |
Definition at line 200 of file objcopy.cpp.
References data, length, makeDirectory(), and stop().
void StringTable::init | ( | const char * | _data | ) | [inline, private] |
Definition at line 160 of file extractExternal.cpp.
References data, length, makeDirectory(), and stop().
Referenced by StringTable().
void StringTable::makeDirectory | ( | void | ) | [inline, private] |
void StringTable::makeDirectory | ( | void | ) | [inline, private] |
void StringTable::write | ( | ostream & | os | ) | [inline] |
Definition at line 316 of file objcopy.cpp.
void StringTable::write | ( | ostream & | os | ) | [inline] |
Definition at line 277 of file extractExternal.cpp.
Referenced by hideSymbols(), and obj_copy().
char * StringTable::data [private] |
Definition at line 148 of file extractExternal.cpp.
Referenced by decode(), init(), makeDirectory(), StringTable(), write(), and ~StringTable().
map< string, unsigned > StringTable::directory [private] |
Definition at line 146 of file extractExternal.cpp.
Referenced by encode(), makeDirectory(), and StringTable().
size_t StringTable::length [private] |
Definition at line 147 of file extractExternal.cpp.
Referenced by decode(), init(), makeDirectory(), StringTable(), and write().