Home | History | Annotate | Download | only in core

Lines Matching defs:fArray

19         fArray = NULL;
28 fArray = NULL;
33 fArray = (T*)sk_malloc_throw(count * sizeof(T));
35 fData = (ArrayT*)fArray;
37 memcpy(fArray, src, sizeof(T) * count);
43 fArray = NULL;
47 SkTDArray<T> tmp(src.fArray, src.fCount);
51 sk_free(fArray);
57 SkTDArray<T> tmp(src.fArray, src.fCount);
60 memcpy(fArray, src.fArray, sizeof(T) * src.fCount);
70 !memcmp(a.fArray, b.fArray, a.fCount * sizeof(T)));
74 SkTSwap(fArray, other.fArray);
86 T* array = fArray;
87 fArray = NULL;
105 T* begin() const { return fArray; }
106 T* end() const { return fArray ? fArray + fCount : NULL; }
109 return fArray[index];
113 if (fArray) {
114 sk_free(fArray);
115 fArray = NULL;
149 memmove(fArray + 1, fArray, (fCount - 1) * sizeof(T));
150 return fArray;
159 SkASSERT(src == NULL || fArray == NULL ||
160 src + count <= fArray || fArray + oldCount <= src);
164 memcpy(fArray + oldCount, src, sizeof(T) * count);
167 return fArray + oldCount;
184 T* dst = fArray + index;
195 memmove(fArray + index, fArray + index + count, sizeof(T) * (fCount - index));
203 memcpy(fArray + index, fArray + newCount, sizeof(T));
208 const T* iter = fArray;
209 const T* stop = fArray + fCount;
213 return (int) (iter - fArray);
220 const T* iter = fArray + fCount;
221 const T* stop = fArray;
240 T* iter = fArray;
241 T* stop = fArray + fCount;
250 T* iter = fArray;
251 T* stop = fArray + fCount;
260 T* iter = fArray;
261 T* stop = fArray + fCount;
270 T* iter = fArray;
271 T* stop = fArray + fCount;
281 SkASSERT((fReserve == 0 && fArray == NULL) ||
282 (fReserve > 0 && fArray != NULL));
284 SkASSERT(fData == (ArrayT*)fArray);
296 T* fArray;
306 fArray = (T*)sk_realloc_throw(fArray, size * sizeof(T));
308 fData = (ArrayT*)fArray;