MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / AddString

Method AddString

Libraries/unrar/strlist.cpp:26–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26void StringList::AddString(const wchar *Str)
27{
28 if (Str==NULL)
29 Str=L"";
30
31 size_t PrevSize=StringData.Size();
32 StringData.Add(wcslen(Str)+1);
33 wcscpy(&StringData[PrevSize],Str);
34
35 StringsCount++;
36}
37
38
39bool StringList::GetStringA(char *Str,size_t MaxLength)

Callers 10

ParseArgMethod · 0.80
ParseDoneMethod · 0.80
ProcessSwitchMethod · 0.80
ProcessCommandMethod · 0.80
AddArcNameMethod · 0.80
RAROpenArchiveExFunction · 0.80
ReadTextFileFunction · 0.80
ExpandFolderMaskMethod · 0.80
GetFilteredMaskMethod · 0.80
ScanErrorMethod · 0.80

Calls 2

AddMethod · 0.80
SizeMethod · 0.45

Tested by

no test coverage detected