Searched refs:StringData (Results 1 – 19 of 19) sorted by relevance
/haiku/src/add-ons/kernel/file_systems/packagefs/util/ |
H A D | StringPool.h | 21 class StringData; variable 65 static StringData* Get(const char* string, size_t length); 66 static void LastReferenceReleased(StringData* data); 71 static StringData* _GetLocked(const StringDataKey& key); 79 class StringData { 83 static StringData* Create(const StringDataKey& key) in Create() 85 void* data = malloc(sizeof(StringData) + key.Length() + 1); in Create() 89 return new(data) StringData(key); in Create() 92 static StringData* Empty() in Empty() 97 static StringData* GetEmpty() in GetEmpty() [all …]
|
H A D | StringPool.cpp | 15 static char sEmptyStringBuffer[sizeof(StringData) + 1]; 17 StringData* StringData::fEmptyString; 27 StringData::Init() in Init() 29 fEmptyString = new(sEmptyStringBuffer) StringData(StringDataKey("", 0)); in Init() 49 StringData::Init(); in Init() 50 sStrings->Insert(StringData::Empty()); in Init() 59 sStrings->Remove(StringData::Empty()); in Cleanup() 68 /*static*/ inline StringData* 71 if (StringData* string = sStrings->Lookup(key)) { in _GetLocked() 84 /*static*/ StringData* [all …]
|
H A D | String.h | 36 StringData* fData; 43 fData(StringData::GetEmpty()) in String() 95 return fData == StringData::Empty(); in IsEmpty()
|
H A D | String.cpp | 13 StringData* data = StringPool::Get(string, length); in SetToExactLength()
|
/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/ |
H A D | Requests.h | 339 StringData share; 340 StringData user; // can be NULL, if the connection supports 341 StringData password; // authentication; otherwise NULL means anonymous 453 StringData name; 611 StringData name; 639 StringData name; 667 StringData name; 668 StringData target; 729 StringData oldName; 731 StringData newName; [all …]
|
H A D | EntryInfo.h | 13 StringData name;
|
H A D | AttrDirInfo.h | 14 StringData name;
|
H A D | Request.h | 42 struct StringData : Data { struct 129 StringData& data) = 0;
|
H A D | RequestDumper.h | 27 virtual void Visit(RequestMember* member, StringData& data);
|
H A D | RequestUnflattener.h | 41 virtual void Visit(RequestMember* member, StringData& data);
|
H A D | RequestFlattener.h | 59 virtual void Visit(RequestMember* member, StringData& data);
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | RequestBufferReplacer.h | 26 virtual void Visit(RequestMember* member, StringData& data);
|
H A D | RequestBufferReplacer.cpp | 122 RequestBufferReplacer::Visit(RequestMember* member, StringData& data) in Visit()
|
H A D | ClientConnection.cpp | 1842 StringData* names = request->names.GetElements(); in VisitMultiWalkRequest()
|
/haiku/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | RequestDumper.cpp | 106 RequestDumper::Visit(RequestMember* member, StringData& data) in Visit()
|
H A D | ServerInfo.cpp | 13 StringData stringData; in VisitString()
|
H A D | RequestFlattener.cpp | 185 RequestFlattener::Visit(RequestMember* member, StringData& data) in Visit()
|
H A D | RequestUnflattener.cpp | 186 RequestUnflattener::Visit(RequestMember* member, StringData& data) in Visit()
|
/haiku/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | ShareVolume.cpp | 2930 StringData name; in _MultiWalk()
|