include/core/SkTSearch.h File Reference
#include "SkTypes.h"
Go to the source code of this file.
Classes |
class | SkAutoAsciiToLC |
Typedefs |
typedef int(* | SkQSortCompareProc )(const void *, const void *) |
Functions |
template<typename T > |
int | SkTSearch (const T *base, int count, const T &target, size_t elemSize) |
template<typename T > |
int | SkTSearch (const T *base, int count, const T &target, size_t elemSize, int(*compare)(const T &, const T &)) |
template<typename T > |
int | SkTSearch (const T **base, int count, const T *target, size_t elemSize, int(*compare)(const T *, const T *)) |
int | SkStrSearch (const char *const *base, int count, const char target[], size_t target_len, size_t elemSize) |
int | SkStrSearch (const char *const *base, int count, const char target[], size_t elemSize) |
int | SkStrLCSearch (const char *const *base, int count, const char target[], size_t target_len, size_t elemSize) |
int | SkStrLCSearch (const char *const *base, int count, const char target[], size_t elemSize) |
void | SkQSort (void *base, size_t count, size_t elemSize, SkQSortCompareProc) |
Typedef Documentation
Function Documentation
int SkStrLCSearch |
( |
const char *const * |
base, |
|
|
int |
count, |
|
|
const char |
target[], |
|
|
size_t |
elemSize | |
|
) |
| | |
int SkStrLCSearch |
( |
const char *const * |
base, |
|
|
int |
count, |
|
|
const char |
target[], |
|
|
size_t |
target_len, |
|
|
size_t |
elemSize | |
|
) |
| | |
Like SkStrSearch, but treats target as if it were all lower-case. Assumes that base points to a table of lower-case strings.
int SkStrSearch |
( |
const char *const * |
base, |
|
|
int |
count, |
|
|
const char |
target[], |
|
|
size_t |
elemSize | |
|
) |
| | |
int SkStrSearch |
( |
const char *const * |
base, |
|
|
int |
count, |
|
|
const char |
target[], |
|
|
size_t |
target_len, |
|
|
size_t |
elemSize | |
|
) |
| | |
template<typename T >
int SkTSearch |
( |
const T ** |
base, |
|
|
int |
count, |
|
|
const T * |
target, |
|
|
size_t |
elemSize, |
|
|
int(*)(const T *, const T *) |
compare | |
|
) |
| | [inline] |
template<typename T >
int SkTSearch |
( |
const T * |
base, |
|
|
int |
count, |
|
|
const T & |
target, |
|
|
size_t |
elemSize, |
|
|
int(*)(const T &, const T &) |
compare | |
|
) |
| | [inline] |
template<typename T >
int SkTSearch |
( |
const T * |
base, |
|
|
int |
count, |
|
|
const T & |
target, |
|
|
size_t |
elemSize | |
|
) |
| | [inline] |