Searched refs:fCount (Results 1 - 25 of 159) sorted by relevance

1234567

/external/chromium_org/third_party/skia/src/utils/
H A DSkCountdown.cpp12 : fCount(count) {}
15 fCount = count;
19 if (sk_atomic_dec(&fCount) == 1) {
28 while (fCount > 0) {
/external/skia/src/utils/
H A DSkCountdown.cpp12 : fCount(count) {}
15 fCount = count;
19 if (sk_atomic_dec(&fCount) == 1) {
28 while (fCount > 0) {
/external/chromium_org/third_party/skia/include/core/
H A DSkTDStack.h17 SkTDStack() : fCount(0), fTotalCount(0) {
21 // fCount = kSlotCount;
38 SkASSERT(fCount <= kSlotCount);
39 if (fCount == kSlotCount) {
43 fCount = 0;
46 return &fRec->fSlots[fCount++];
52 SkASSERT(fRec && fCount > idx);
53 return fRec->fSlots[fCount - idx - 1];
57 SkASSERT(fRec && fCount > idx);
58 return fRec->fSlots[fCount
107 int fCount, fTotalCount; member in class:SkTDStack
[all...]
H A DSkTDArray.h18 fReserve = fCount = 0;
27 fReserve = fCount = 0;
38 fReserve = fCount = count;
42 fReserve = fCount = 0;
47 SkTDArray<T> tmp(src.fArray, src.fCount);
56 if (src.fCount > fReserve) {
57 SkTDArray<T> tmp(src.fArray, src.fCount);
60 memcpy(fArray, src.fArray, sizeof(T) * src.fCount);
61 fCount = src.fCount;
350 int fCount; variable
[all...]
H A DSkTArray.h21 memcpy(self->fMemArray, array, self->fCount * sizeof(T));
25 memcpy(newMemArray, self->fMemArray, self->fCount * sizeof(T));
30 for (int i = 0; i < self->fCount; ++i) {
36 for (int i = 0; i < self->fCount; ++i) {
57 fCount = 0;
76 this->init(array.fItemArray, array.fCount, NULL, 0);
92 for (int i = 0; i < fCount; ++i) {
95 fCount = 0;
97 fCount = array.count();
103 for (int i = 0; i < fCount;
437 int fCount; member in class:SkTArray
[all...]
H A DSkColorTable.h41 int count() const { return fCount; }
47 SkASSERT(fColors != NULL && (unsigned)index < fCount);
84 uint16_t fCount; member in class:SkColorTable
/external/skia/include/core/
H A DSkTDStack.h17 SkTDStack() : fCount(0), fTotalCount(0) {
21 // fCount = kSlotCount;
38 SkASSERT(fCount <= kSlotCount);
39 if (fCount == kSlotCount) {
43 fCount = 0;
46 return &fRec->fSlots[fCount++];
52 SkASSERT(fRec && fCount > idx);
53 return fRec->fSlots[fCount - idx - 1];
57 SkASSERT(fRec && fCount > idx);
58 return fRec->fSlots[fCount
107 int fCount, fTotalCount; member in class:SkTDStack
[all...]
H A DSkTDArray.h18 fReserve = fCount = 0;
27 fReserve = fCount = 0;
38 fReserve = fCount = count;
42 fReserve = fCount = 0;
47 SkTDArray<T> tmp(src.fArray, src.fCount);
56 if (src.fCount > fReserve) {
57 SkTDArray<T> tmp(src.fArray, src.fCount);
60 memcpy(fArray, src.fArray, sizeof(T) * src.fCount);
61 fCount = src.fCount;
350 int fCount; variable
[all...]
H A DSkTArray.h21 memcpy(self->fMemArray, array, self->fCount * sizeof(T));
25 memcpy(newMemArray, self->fMemArray, self->fCount * sizeof(T));
30 for (int i = 0; i < self->fCount; ++i) {
36 for (int i = 0; i < self->fCount; ++i) {
57 fCount = 0;
76 this->init(array.fItemArray, array.fCount, NULL, 0);
92 for (int i = 0; i < fCount; ++i) {
95 fCount = 0;
97 fCount = array.count();
103 for (int i = 0; i < fCount;
437 int fCount; member in class:SkTArray
[all...]
H A DSkColorTable.h41 int count() const { return fCount; }
47 SkASSERT(fColors != NULL && (unsigned)index < fCount);
84 uint16_t fCount; member in class:SkColorTable
/external/chromium_org/third_party/icu/source/i18n/
H A Dnfrlist.h36 uint32_t fCount; member in class:NFRuleList
41 , fCount(0)
45 for(uint32_t i = 0; i < fCount; ++i) {
57 fCount -= 1;
58 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays
64 if (fCount == fCapacity) {
69 fStuff[fCount++] = thing;
72 fCount = 0;
75 uint32_t size() const { return fCount; }
76 NFRule* last() const { return (fCount >
[all...]
H A Dsortkey.cpp49 : UObject(), fBogus(FALSE), fCount(0), fCapacity(0),
56 : UObject(), fBogus(FALSE), fCount(count), fCapacity(count),
67 uprv_memcpy(fBytes, newValues, fCount);
71 : UObject(other), fBogus(FALSE), fCount(other.fCount), fCapacity(other.fCapacity),
88 uprv_memcpy(fBytes, other.fBytes, other.fCount);
89 if(fCapacity>fCount) {
90 uprv_memset(fBytes+fCount, 0, fCapacity-fCount);
105 fCount
[all...]
/external/chromium_org/third_party/skia/src/animator/
H A DSkTypedArray.cpp31 fReserve = fCount = 0;
40 fReserve = fCount = 0;
45 SkDS32Array tmp(src.fArray, src.fCount);
53 fReserve = fCount = 0;
65 fReserve = fCount = SkToU16(count);
73 if (src.fCount > fReserve)
75 SkDS32Array tmp(src.fArray, src.fCount);
80 memcpy(fArray, src.fArray, sizeof(int32_t) * src.fCount);
81 fCount = src.fCount;
[all...]
H A DSkTDArray_Experimental.h53 bool isEmpty() const { return fCount == 0; }
54 int count() const { return fCount; }
58 SkASSERT(index + count <= fCount);
59 fCount = SkToU16(fCount - count);
60 memmove(fArray + index, fArray + index + count, sizeof(int32_t) * (fCount - index));
72 fReserve = fCount = 0;
76 SkASSERT(fReserve == 0 && fCount == 0);
83 this->growBy(count - fCount);
85 fCount
95 uint16_t fReserve, fCount; member in class:SkDS32Array
[all...]
/external/skia/src/animator/
H A DSkTypedArray.cpp31 fReserve = fCount = 0;
40 fReserve = fCount = 0;
45 SkDS32Array tmp(src.fArray, src.fCount);
53 fReserve = fCount = 0;
65 fReserve = fCount = SkToU16(count);
73 if (src.fCount > fReserve)
75 SkDS32Array tmp(src.fArray, src.fCount);
80 memcpy(fArray, src.fArray, sizeof(int32_t) * src.fCount);
81 fCount = src.fCount;
[all...]
H A DSkTDArray_Experimental.h53 bool isEmpty() const { return fCount == 0; }
54 int count() const { return fCount; }
58 SkASSERT(index + count <= fCount);
59 fCount = SkToU16(fCount - count);
60 memmove(fArray + index, fArray + index + count, sizeof(int32_t) * (fCount - index));
72 fReserve = fCount = 0;
76 SkASSERT(fReserve == 0 && fCount == 0);
83 this->growBy(count - fCount);
85 fCount
95 uint16_t fReserve, fCount; member in class:SkDS32Array
[all...]
/external/icu4c/i18n/
H A Dnfrlist.h36 uint32_t fCount; member in class:NFRuleList
41 , fCount(0)
45 for(uint32_t i = 0; i < fCount; ++i) {
57 fCount -= 1;
58 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays
64 if (fCount == fCapacity) {
69 fStuff[fCount++] = thing;
72 fCount = 0;
75 uint32_t size() const { return fCount; }
76 NFRule* last() const { return (fCount >
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkColorTable.cpp21 fCount = SkToU16(count);
41 fCount = SkToU16(count);
76 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t));
77 build_16bitcache(f16BitCache, fColors, fCount);
92 fCount = buffer.getArrayCount();
93 fColors = (SkPMColor*)sk_malloc_throw(fCount * sizeof(SkPMColor));
94 SkDEBUGCODE(bool success =) buffer.readColorArray(fColors, fCount);
96 SkASSERT((unsigned)fCount <= 256);
103 buffer.writeColorArray(fColors, fCount);
H A DSkTRefArray.h31 obj->fCount = count;
64 int count() const { return fCount; }
66 const T* end() const { return this->begin() + fCount; }
68 SkASSERT((unsigned)index < (unsigned)fCount);
81 return this->writableBegin() + fCount;
84 SkASSERT((unsigned)index < (unsigned)fCount);
91 int n = fCount;
104 int fCount; member in class:SkTRefArray
H A DSkPictureFlat.cpp21 SkTypefacePlayback::SkTypefacePlayback() : fCount(0), fArray(NULL) {}
28 for (int i = 0; i < fCount; i++) {
35 fCount = rec->count();
36 fArray = SkNEW_ARRAY(SkRefCnt*, fCount);
38 for (int i = 0; i < fCount; i++) {
42 fCount = 0;
50 fCount = count;
56 SkASSERT((unsigned)index < (unsigned)fCount);
/external/skia/src/core/
H A DSkColorTable.cpp21 fCount = SkToU16(count);
41 fCount = SkToU16(count);
76 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t));
77 build_16bitcache(f16BitCache, fColors, fCount);
92 fCount = buffer.getArrayCount();
93 fColors = (SkPMColor*)sk_malloc_throw(fCount * sizeof(SkPMColor));
94 SkDEBUGCODE(bool success =) buffer.readColorArray(fColors, fCount);
96 SkASSERT((unsigned)fCount <= 256);
103 buffer.writeColorArray(fColors, fCount);
H A DSkTRefArray.h31 obj->fCount = count;
64 int count() const { return fCount; }
66 const T* end() const { return this->begin() + fCount; }
68 SkASSERT((unsigned)index < (unsigned)fCount);
81 return this->writableBegin() + fCount;
84 SkASSERT((unsigned)index < (unsigned)fCount);
91 int n = fCount;
104 int fCount; member in class:SkTRefArray
H A DSkPictureFlat.cpp21 SkTypefacePlayback::SkTypefacePlayback() : fCount(0), fArray(NULL) {}
28 for (int i = 0; i < fCount; i++) {
35 fCount = rec->count();
36 fArray = SkNEW_ARRAY(SkRefCnt*, fCount);
38 for (int i = 0; i < fCount; i++) {
42 fCount = 0;
50 fCount = count;
56 SkASSERT((unsigned)index < (unsigned)fCount);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrAllocator.h35 fCount(0) {
51 SkASSERT(0 == fCount);
64 int indexInBlock = fCount % fItemsPerBlock;
67 if (0 != fCount) {
73 void* ret = (char*)fBlocks[fCount/fItemsPerBlock] +
75 ++fCount;
84 GrUIDivRoundUp(fCount, fItemsPerBlock));
93 fCount = 0;
100 return fCount;
106 bool empty() const { return fCount
150 int fCount; member in class:GrAllocator
[all...]
/external/skia/src/gpu/
H A DGrAllocator.h35 fCount(0) {
51 SkASSERT(0 == fCount);
64 int indexInBlock = fCount % fItemsPerBlock;
67 if (0 != fCount) {
73 void* ret = (char*)fBlocks[fCount/fItemsPerBlock] +
75 ++fCount;
84 GrUIDivRoundUp(fCount, fItemsPerBlock));
93 fCount = 0;
100 return fCount;
106 bool empty() const { return fCount
150 int fCount; member in class:GrAllocator
[all...]

Completed in 1433 milliseconds

1234567