Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
StringUtils.cpp File Reference
#include <guid.h>
#include "CharsetConverter.h"
#include "LangInfo.h"
#include "StringUtils.h"
#include "XBDateTime.h"
#include <algorithm>
#include <array>
#include <assert.h>
#include <functional>
#include <inttypes.h>
#include <iomanip>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <fstrcmp.h>
#include <memory.h>
#include "utils/RegExp.h"

Macros

#define FORMAT_BLOCK_SIZE   512
 

Functions

int compareWchar (const void *a, const void *b)
 
wchar_t tolowerUnicode (const wchar_t &c)
 
wchar_t toupperUnicode (const wchar_t &c)
 
template<typename Str , typename Fn >
void transformString (const Str &input, Str &output, Fn fn)
 
int IsUTF8Letter (const unsigned char *str)
 

Macro Definition Documentation

◆ FORMAT_BLOCK_SIZE

#define FORMAT_BLOCK_SIZE   512

Function Documentation

◆ compareWchar()

int compareWchar ( const void * a,
const void * b )

◆ IsUTF8Letter()

int IsUTF8Letter ( const unsigned char * str)

◆ tolowerUnicode()

wchar_t tolowerUnicode ( const wchar_t & c)

◆ toupperUnicode()

wchar_t toupperUnicode ( const wchar_t & c)

◆ transformString()

template<typename Str , typename Fn >
void transformString ( const Str & input,
Str & output,
Fn fn )