DDraceNetwork Docs
str.cpp File Reference
#include <gtest/gtest.h>
#include <base/system.h>
#include <game/gamecore.h>
Include dependency graph for str.cpp:

Functions

 TEST (Str, StrDelim)
 
 TEST (Str, StrIsNum)
 
 TEST (Str, StrIsAllNum)
 
 TEST (Str, Dist)
 
 TEST (Str, Utf8Isspace)
 
 TEST (Str, Utf8SkipWhitespaces)
 
 TEST (Str, Utf8TrimRight)
 
 TEST (Str, Utf8CompConfusables)
 
 TEST (Str, Utf8ToSkeleton)
 
 TEST (Str, Utf8ToLower)
 
 TEST (Str, Utf8FindNocase)
 
 TEST (Str, Utf8FixTruncation)
 
 TEST (Str, Startswith)
 
 TEST (Str, StartswithNocase)
 
 TEST (Str, Endswith)
 
 TEST (StrFormat, Positional)
 
 TEST (Str, EndswithNocase)
 
 TEST (Str, HexEncode)
 
 TEST (Str, HexEncodeCstyle)
 
 TEST (Str, HexDecode)
 
void StrBase64Str (char *pBuffer, int BufferSize, const char *pString)
 
 TEST (Str, Base64)
 
 TEST (Str, Base64Decode)
 
 TEST (Str, Base64DecodeError)
 
 TEST (Str, Tokenize)
 
 TEST (Str, InList)
 
 TEST (Str, Format)
 
 TEST (Str, FormatTruncate)
 
 TEST (Str, TrimWords)
 
 TEST (Str, CopyNum)
 
 TEST (Str, Copy)
 
 TEST (Str, Append)
 
 TEST (Str, Utf8Stats)
 
 TEST (Str, Utf8OffsetBytesToChars)
 
 TEST (Str, Utf8OffsetCharsToBytes)
 
 TEST (Str, Time)
 
 TEST (Str, TimeFloat)
 
 TEST (Str, HasCc)
 
 TEST (Str, SanitizeCc)
 
 TEST (Str, Sanitize)
 
 TEST (Str, CleanWhitespaces)
 
 TEST (Str, SkipToWhitespace)
 
 TEST (Str, SkipWhitespaces)
 
 TEST (Str, CompFilename)
 
 TEST (Str, RightChar)
 
 TEST (Str, CountChar)
 
 TEST (Str, StrToInts)
 
 TEST (Str, IntsToStr)
 

Function Documentation

◆ StrBase64Str()

void StrBase64Str ( char *  pBuffer,
int  BufferSize,
const char *  pString 
)

◆ TEST() [1/47]

TEST ( Str  ,
Append   
)

◆ TEST() [2/47]

TEST ( Str  ,
Base64   
)

◆ TEST() [3/47]

TEST ( Str  ,
Base64Decode   
)

◆ TEST() [4/47]

TEST ( Str  ,
Base64DecodeError   
)

◆ TEST() [5/47]

TEST ( Str  ,
CleanWhitespaces   
)

◆ TEST() [6/47]

TEST ( Str  ,
CompFilename   
)

◆ TEST() [7/47]

TEST ( Str  ,
Copy   
)

◆ TEST() [8/47]

TEST ( Str  ,
CopyNum   
)

◆ TEST() [9/47]

TEST ( Str  ,
CountChar   
)

◆ TEST() [10/47]

TEST ( Str  ,
Dist   
)

◆ TEST() [11/47]

TEST ( Str  ,
Endswith   
)

◆ TEST() [12/47]

TEST ( Str  ,
EndswithNocase   
)

◆ TEST() [13/47]

TEST ( Str  ,
Format   
)

◆ TEST() [14/47]

TEST ( Str  ,
FormatTruncate   
)

◆ TEST() [15/47]

TEST ( Str  ,
HasCc   
)

◆ TEST() [16/47]

TEST ( Str  ,
HexDecode   
)

◆ TEST() [17/47]

TEST ( Str  ,
HexEncode   
)

◆ TEST() [18/47]

TEST ( Str  ,
HexEncodeCstyle   
)

◆ TEST() [19/47]

TEST ( Str  ,
InList   
)

◆ TEST() [20/47]

TEST ( Str  ,
IntsToStr   
)

◆ TEST() [21/47]

TEST ( Str  ,
RightChar   
)

◆ TEST() [22/47]

TEST ( Str  ,
Sanitize   
)

◆ TEST() [23/47]

TEST ( Str  ,
SanitizeCc   
)

◆ TEST() [24/47]

TEST ( Str  ,
SkipToWhitespace   
)

◆ TEST() [25/47]

TEST ( Str  ,
SkipWhitespaces   
)

◆ TEST() [26/47]

TEST ( Str  ,
Startswith   
)

◆ TEST() [27/47]

TEST ( Str  ,
StartswithNocase   
)

◆ TEST() [28/47]

TEST ( Str  ,
StrDelim   
)

◆ TEST() [29/47]

TEST ( Str  ,
StrIsAllNum   
)

◆ TEST() [30/47]

TEST ( Str  ,
StrIsNum   
)

◆ TEST() [31/47]

TEST ( Str  ,
StrToInts   
)

◆ TEST() [32/47]

TEST ( Str  ,
Time   
)

◆ TEST() [33/47]

TEST ( Str  ,
TimeFloat   
)

◆ TEST() [34/47]

TEST ( Str  ,
Tokenize   
)

◆ TEST() [35/47]

TEST ( Str  ,
TrimWords   
)

◆ TEST() [36/47]

TEST ( Str  ,
Utf8CompConfusables   
)

◆ TEST() [37/47]

TEST ( Str  ,
Utf8FindNocase   
)

◆ TEST() [38/47]

TEST ( Str  ,
Utf8FixTruncation   
)

◆ TEST() [39/47]

TEST ( Str  ,
Utf8Isspace   
)

◆ TEST() [40/47]

TEST ( Str  ,
Utf8OffsetBytesToChars   
)

◆ TEST() [41/47]

TEST ( Str  ,
Utf8OffsetCharsToBytes   
)

◆ TEST() [42/47]

TEST ( Str  ,
Utf8SkipWhitespaces   
)

◆ TEST() [43/47]

TEST ( Str  ,
Utf8Stats   
)

◆ TEST() [44/47]

TEST ( Str  ,
Utf8ToLower   
)

◆ TEST() [45/47]

TEST ( Str  ,
Utf8ToSkeleton   
)

◆ TEST() [46/47]

TEST ( Str  ,
Utf8TrimRight   
)

◆ TEST() [47/47]

TEST ( StrFormat  ,
Positional   
)