Home | History | Annotate | Download | only in core

Lines Matching refs: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;
115 T* begin() { return fArray; }
116 const T* begin() const { return fArray; }
117 T* end() { return fArray ? fArray + fCount : NULL; }
118 const T* end() const { return fArray ? fArray + fCount : NULL; }
122 return fArray[index];
126 return fArray[index];
137 if (fArray) {
138 sk_free(fArray);
139 fArray = NULL;
176 memmove(fArray + 1, fArray, (fCount - 1) * sizeof(T));
177 return fArray;
186 SkASSERT(src == NULL || fArray == NULL ||
187 src + count <= fArray || fArray + oldCount <= src);
191 memcpy(fArray + oldCount, src, sizeof(T) * count);
194 return fArray + oldCount;
211 T* dst = fArray + index;
222 memmove(fArray + index, fArray + index + count, sizeof(T) * (fCount - index));
230 memcpy(fArray + index, fArray + newCount, sizeof(T));
235 const T* iter = fArray;
236 const T* stop = fArray + fCount;
240 return (int) (iter - fArray);
247 const T* iter = fArray + fCount;
248 const T* stop = fArray;
276 memcpy(dst, fArray + index, sizeof(T) * count);
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;
323 T* iter = fArray;
324 T* stop = fArray + fCount;
343 SkASSERT((fReserve == 0 && fArray == NULL) ||
344 (fReserve > 0 && fArray != NULL));
346 SkASSERT(fData == (ArrayT*)fArray);
358 T* fArray;
382 fArray = (T*)sk_realloc_throw(fArray, fReserve * sizeof(T));
384 fData = (ArrayT*)fArray;