Lines Matching defs:count
39 int SkTSearch(const T base[], int count, const K& key, size_t elemSize, const LESS& less)
41 SkASSERT(count >= 0);
42 if (count <= 0) {
46 SkASSERT(base != nullptr); // base may be nullptr if count is zero
49 int hi = count - 1;
73 int SkTSearch(const T base[], int count, const T& target, size_t elemSize) {
74 return SkTSearch(base, count, target, elemSize,
80 int SkTSearch(const T base[], int count, const T& target, size_t elemSize) {
81 return SkTSearch(base, count, target, elemSize, [](const T& a, const T& b) { return a < b; });
87 int SkTSearch(T* base[], int count, T* target, size_t elemSize) {
88 return SkTSearch(base, count, target, elemSize,
92 int SkStrSearch(const char*const* base, int count, const char target[],
94 int SkStrSearch(const char*const* base, int count, const char target[],
100 int SkStrLCSearch(const char*const* base, int count, const char target[],
102 int SkStrLCSearch(const char*const* base, int count, const char target[],