
Classes | |
| class | EqStringHashKey |
| class | ExtractStringBufferFromStringTable |
| class | HashStringHashKey |
| struct | StringHashKey |
Public Types | |
| typedef HashTable < StringHashKey, STR_INDEX, HashStringHashKey, EqStringHashKey > | HASHTABLE |
Public Member Functions | |
| STR_TAB (UINT bucket_size) | |
| void | reserve (UINT32 size) |
| void | init_hash () |
| UINT32 | insert (const char *str, UINT32 size) |
| UINT32 | insert (const char *str) |
| void | copy_str (const char *str, UINT32 size) |
| void | dump (FILE *fout) |
Public Attributes | |
| char * | buffer |
| STR_IDX | last_idx |
| UINT32 | buffer_size |
| ExtractStringBufferFromStringTable | extractStringBufferFromStringTable |
| HASHTABLE | hash_table |
Definition at line 214 of file strtab.cxx.
| typedef HashTable<StringHashKey, STR_INDEX, HashStringHashKey, EqStringHashKey> STR_TAB< STR >::HASHTABLE |
Definition at line 319 of file strtab.cxx.
Definition at line 322 of file strtab.cxx.
References stlCompatibility::HashTable< Key, Value, KeyHash, KeyEq >::eqClass(), STR_TAB< STR >::hash_table, stlCompatibility::HashTable< Key, Value, KeyHash, KeyEq >::hashClass(), STR_TAB< STR >::EqStringHashKey::thisEnclosing, and STR_TAB< STR >::HashStringHashKey::thisEnclosing.

Definition at line 395 of file strtab.cxx.
References STR_TAB< STR >::buffer, STR_TAB< STR >::buffer_size, STR_TAB< STR >::last_idx, and STR_TAB< STR >::reserve().
Referenced by STR_TAB< STR >::insert().

| void STR_TAB< STR >::dump | ( | FILE * | fout | ) | [inline] |
Definition at line 355 of file strtab.cxx.
| void STR_TAB< STR >::init_hash | ( | ) | [inline] |
Definition at line 404 of file strtab.cxx.
References STR_TAB< STR >::buffer, STR_TAB< STR >::hash_table, idx, stlCompatibility::HashTable< Key, Value, KeyHash, KeyEq >::insert(), STR_TAB< STR >::last_idx, and make_STR_INDEX().

Definition at line 349 of file strtab.cxx.
References STR_TAB< STR >::insert().

Definition at line 369 of file strtab.cxx.
References STR_TAB< STR >::copy_str(), STR_TAB< STR >::hash_table, stlCompatibility::HashTable< Key, Value, KeyHash, KeyEq >::insert(), STR_TAB< STR >::last_idx, make_STR_INDEX(), and STR_INDEX_index().
Referenced by STR_TAB< STR >::insert(), and merge_strtab().

Definition at line 331 of file strtab.cxx.
References STR_TAB< STR >::buffer, STR_TAB< STR >::buffer_size, STR_TAB< STR >::last_idx, Malloc_Mem_Pool, and MEM_POOL_Realloc.
Referenced by STR_TAB< STR >::copy_str().
Definition at line 216 of file strtab.cxx.
Referenced by STR_TAB< STR >::copy_str(), STR_TAB< STR >::init_hash(), and STR_TAB< STR >::reserve().
| UINT32 STR_TAB< STR >::buffer_size |
Definition at line 218 of file strtab.cxx.
Referenced by STR_TAB< STR >::copy_str(), and STR_TAB< STR >::reserve().
| ExtractStringBufferFromStringTable STR_TAB< STR >::extractStringBufferFromStringTable |
Definition at line 276 of file strtab.cxx.
| HASHTABLE STR_TAB< STR >::hash_table |
Definition at line 320 of file strtab.cxx.
Referenced by STR_TAB< STR >::init_hash(), STR_TAB< STR >::insert(), and STR_TAB< STR >::STR_TAB().
Definition at line 217 of file strtab.cxx.
Referenced by STR_TAB< STR >::copy_str(), STR_TAB< STR >::init_hash(), STR_TAB< STR >::insert(), and STR_TAB< STR >::reserve().
1.6.1