Home | History | Annotate | Download | only in core

Lines Matching full: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];
117 if (fArray) {
118 sk_free(fArray);
119 fArray = NULL;
153 memmove(fArray + 1, fArray, (fCount - 1) * sizeof(T));
154 return fArray;
163 SkASSERT(src == NULL || fArray == NULL ||
164 src + count <= fArray || fArray + oldCount <= src);
168 memcpy(fArray + oldCount, src, sizeof(T) * count);
171 return fArray + oldCount;
188 T* dst = fArray + index;
199 memmove(fArray + index, fArray + index + count, sizeof(T) * (fCount - index));
207 memcpy(fArray + index, fArray + newCount, sizeof(T));
212 const T* iter = fArray;
213 const T* stop = fArray + fCount;
217 return (int) (iter - fArray);
224 const T* iter = fArray + fCount;
225 const T* stop = fArray;
253 memcpy(dst, fArray + index, sizeof(T) * count);
270 T* iter = fArray;
271 T* stop = fArray + fCount;
280 T* iter = fArray;
281 T* stop = fArray + fCount;
290 T* iter = fArray;
291 T* stop = fArray + fCount;
300 T* iter = fArray;
301 T* stop = fArray + fCount;
320 SkASSERT((fReserve == 0 && fArray == NULL) ||
321 (fReserve > 0 && fArray != NULL));
323 SkASSERT(fData == (ArrayT*)fArray);
335 T* fArray;
345 fArray = (T*)sk_realloc_throw(fArray, size * sizeof(T));
347 fData = (ArrayT*)fArray;