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)));
77 SkTSwap(fArray, other.fArray);
89 T* array = fArray;
90 fArray = NULL;
108 T* begin() { return fArray; }
109 const T* begin() const { return fArray; }
110 T* end() { return fArray ? fArray + fCount : NULL; }
111 const T* end() const { return fArray ? fArray + fCount : NULL; }
115 return fArray[index];
119 return fArray[index];
130 if (fArray) {
131 sk_free(fArray);
132 fArray = NULL;
166 memmove(fArray + 1, fArray, (fCount - 1) * sizeof(T));
167 return fArray;
176 SkASSERT(src == NULL || fArray == NULL ||
177 src + count <= fArray || fArray + oldCount <= src);
181 memcpy(fArray + oldCount, src, sizeof(T) * count);
184 return fArray + oldCount;
201 T* dst = fArray + index;
212 memmove(fArray + index, fArray + index + count, sizeof(T) * (fCount - index));
220 memcpy(fArray + index, fArray + newCount, sizeof(T));
225 const T* iter = fArray;
226 const T* stop = fArray + fCount;
230 return (int) (iter - fArray);
237 const T* iter = fArray + fCount;
238 const T* stop = fArray;
266 memcpy(dst, fArray + index, sizeof(T) * count);
283 T* iter = fArray;
284 T* stop = fArray + fCount;
293 T* iter = fArray;
294 T* stop = fArray + fCount;
303 T* iter = fArray;
304 T* stop = fArray + fCount;
313 T* iter = fArray;
314 T* stop = fArray + fCount;
333 SkASSERT((fReserve == 0 && fArray == NULL) ||
334 (fReserve > 0 && fArray != NULL));
336 SkASSERT(fData == (ArrayT*)fArray);
348 T* fArray;
359 fArray = (T*)sk_realloc_throw(fArray, size * sizeof(T));
361 fData = (ArrayT*)fArray;