ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

str.cpp File Reference

#include "common/hash-str.h"
#include "common/list.h"
#include "common/memorypool.h"
#include "common/str.h"
#include "common/util.h"
#include "common/mutex.h"
Include dependency graph for str.cpp:

Go to the source code of this file.


namespace  Common

Internal interface to the QuickTime audio decoder.


void Common::lockMemoryPoolMutex ()
void Common::unlockMemoryPoolMutex ()
static uint32 Common::computeCapacity (uint32 len)
bool Common::operator== (const char *y, const String &x)
bool Common::operator!= (const char *y, const String &x)
String Common::operator+ (const String &x, const String &y)
String Common::operator+ (const char *x, const String &y)
String Common::operator+ (const String &x, const char *y)
String Common::operator+ (char x, const String &y)
String Common::operator+ (const String &x, char y)
char * Common::ltrim (char *t)
char * Common::rtrim (char *t)
char * Common::trim (char *t)
String Common::lastPathComponent (const String &path, const char sep)
 Returns the last component of a given path.
String Common::normalizePath (const String &path, const char sep)
 Normalize a given path to a canonical form.
bool Common::matchString (const char *str, const char *pat, bool ignoreCase=false, bool pathMode=false)
 Simple DOS-style pattern matching function (understands * and ? like used in DOS).
void Common::replace (Common::String &source, const Common::String &what, const Common::String &with)
 Function which replaces substring with the other.
String Common::tag2string (uint32 tag)
 Take a 32 bit value and turn it into a four character string, where each of the four bytes is turned into one character.
size_t Common::strlcpy (char *dst, const char *src, size_t size)
 Copy up to size - 1 characters from src to dst and also zero terminate the result.
size_t Common::strlcat (char *dst, const char *src, size_t size)
 Append the string src to the string dst.
size_t Common::strnlen (const char *src, size_t maxSize)
 Determine the length of a string up to a maximum of `maxSize` characters.
int scumm_stricmp (const char *s1, const char *s2)
int scumm_strnicmp (const char *s1, const char *s2, uint n)
char * scumm_strdup (const char *in)


MemoryPool * Common::g_refCountPool = nullptr
MutexRef Common::g_refCountPoolMutex = nullptr

Function Documentation

char* scumm_strdup ( const char *  in  ) 

Definition at line 1108 of file str.cpp.

int scumm_stricmp ( const char *  s1,
const char *  s2 

Definition at line 1076 of file str.cpp.

int scumm_strnicmp ( const char *  s1,
const char *  s2,
uint  n 

Definition at line 1091 of file str.cpp.

Generated on Sat Jul 13 2019 05:01:46 for ResidualVM by doxygen 1.7.1
curved edge   curved edge