Lines Matching refs:len
64 size_t len, size_t elemSize)
68 SkAutoAsciiToLC tolc(target, len);
70 return SkStrSearch(base, count, tolc.lc(), len, elemSize);
81 SkAutoAsciiToLC::SkAutoAsciiToLC(const char str[], size_t len)
84 if ((long)len < 0) {
85 len = strlen(str);
87 fLength = len;
89 // assign lc to our preallocated storage if len is small enough, or allocate
92 if (len <= STORAGE) {
95 lc = (char*)sk_malloc_throw(len + 1);
101 for (int i = (int)(len - 1); i >= 0; --i) {
108 lc[len] = 0;