Home
last modified time | relevance | path

Searched refs:CachedString (Results 1 – 5 of 5) sorted by relevance

/haiku/headers/private/package/hpkg/
H A DStrings.h22 struct CachedString { struct
26 CachedString* next; // hash table link argument
28 CachedString() in CachedString() function
36 ~CachedString() in ~CachedString() argument
54 typedef CachedString ValueType; argument
61 size_t Hash(const CachedString* value) const in Hash()
66 bool Compare(const char* key, const CachedString* value) const in Compare()
71 CachedString*& GetLink(CachedString* value) const in GetLink()
82 bool operator()(const CachedString* a, const CachedString* b) in operator()
93 CachedString* Get(const char* value);
[all …]
H A DWriterImplBase.h52 CachedString* string;
75 void SetTo(CachedString* value);
/haiku/src/kits/package/hpkg/
H A DStrings.cpp24 CachedString* cachedString = Clear(true); in ~StringCache()
26 CachedString* next = cachedString->next; in ~StringCache()
33 CachedString*
36 CachedString* string = Lookup(value); in Get()
42 string = new CachedString; in Get()
54 StringCache::Put(CachedString* string) in Put()
H A DWriterImplBase.cpp119 WriterImplBase::AttributeValue::SetTo(CachedString* value) in SetTo()
644 CachedString** cachedStrings = new CachedString*[count]; in WriteCachedStrings()
645 ArrayDeleter<CachedString*> cachedStringsDeleter(cachedStrings); in WriteCachedStrings()
649 CachedString* string = it.Next();) { in WriteCachedStrings()
659 CachedString* cachedString = cachedStrings[i]; in WriteCachedStrings()
H A DPackageWriterImpl.cpp202 CachedString* string = fStringCache.Get(value.string); in HandleAttribute()