/external/skia/src/core/ |
D | SkTDPQueue.h | 39 int count() const { return fArray.count(); } in count() 42 const T& peek() const { return fArray[0]; } in peek() 43 T& peek() { return fArray[0]; } in peek() 48 SkDEBUGCODE(if (SkToBool(INDEX)) { *INDEX(fArray[0]) = -1; }) in pop() 49 if (1 == fArray.count()) { in pop() 50 fArray.pop(); in pop() 54 fArray[0] = fArray[fArray.count() - 1]; in pop() 56 fArray.pop(); in pop() 65 int index = fArray.count(); in insert() 66 *fArray.append() = entry; in insert() [all …]
|
D | SkTDynamicHash.h | 25 SkTDynamicHash() : fCount(0), fDeleted(0), fCapacity(0), fArray(nullptr) { in SkTDynamicHash() 30 sk_free(fArray); in ~SkTDynamicHash() 54 T* current() const { return fHash->fArray[fCurrentIndex]; } in current() 81 const T* current() const { return fHash->fArray[fCurrentIndex]; } in current() 94 T* candidate = fArray[index]; in find() 123 if (fArray) { in rewind() 124 sk_bzero(fArray, sizeof(T*)* fCapacity); in rewind() 134 sk_free(fArray); in reset() 135 fArray = nullptr; in reset() 148 const T* candidate = fArray[index]; in countCollisions() [all …]
|
D | SkPictureFlat.cpp | 19 SkTypefacePlayback::SkTypefacePlayback() : fCount(0), fArray(nullptr) {} in SkTypefacePlayback() 27 SkASSERT(fArray[i]); in reset() 28 fArray[i]->unref(); in reset() 30 delete[] fArray; in reset() 34 fArray = new SkRefCnt* [fCount]; in reset() 35 rec->copyToArray(fArray); in reset() 37 fArray[i]->ref(); in reset() 41 fArray = nullptr; in reset() 49 fArray = new SkRefCnt* [count]; in setCount() 50 sk_bzero(fArray, count * sizeof(SkRefCnt*)); in setCount() [all …]
|
D | SkPictureFlat.h | 170 buffer.setTypefaceArray((SkTypeface**)fArray, fCount); in setupBuffer() 175 SkRefCnt** fArray; variable 180 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; } in SkFactoryPlayback() 182 ~SkFactoryPlayback() { delete[] fArray; } in ~SkFactoryPlayback() 184 SkFlattenable::Factory* base() const { return fArray; } in base() 187 buffer.setFactoryPlayback(fArray, fCount); in setupBuffer() 192 SkFlattenable::Factory* fArray; variable
|
D | SkRecorder.h | 25 int count() const { return fArray.count(); } in count() 26 SkDrawable* const* begin() const { return fArray.begin(); } in begin() 34 SkTDArray<SkDrawable*> fArray;
|
D | SkRecorder.cpp | 17 fArray.unrefAll(); in ~SkDrawableList() 21 const int count = fArray.count(); in newDrawableSnapshot() 27 pics[i] = fArray[i]->newPictureSnapshot(); in newDrawableSnapshot() 33 *fArray.append() = SkRef(drawable); in append()
|
/external/skia/include/private/ |
D | SkTDArray.h | 18 SkTDArray() : fArray(nullptr), fReserve(0), fCount(0) {} in SkTDArray() 23 fArray = NULL; in SkTDArray() 25 fArray = (T*)sk_malloc_throw(count * sizeof(T)); in SkTDArray() 26 memcpy(fArray, src, sizeof(T) * count); in SkTDArray() 30 SkTDArray(const SkTDArray<T>& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 31 SkTDArray<T> tmp(src.fArray, src.fCount); in SkTDArray() 34 SkTDArray(SkTDArray<T>&& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 38 sk_free(fArray); in ~SkTDArray() 44 SkTDArray<T> tmp(src.fArray, src.fCount); 47 sk_careful_memcpy(fArray, src.fArray, sizeof(T) * src.fCount); [all …]
|
D | SkTemplates.h | 90 fArray = NULL; in SkAutoTArray() 97 fArray = NULL; in SkAutoTArray() 99 fArray = new T[count]; in SkAutoTArray() 107 delete[] fArray; in reset() 109 fArray = NULL; in reset() 111 fArray = new T[count]; in reset() 116 ~SkAutoTArray() { delete[] fArray; } in ~SkAutoTArray() 120 T* get() const { return fArray; } in get() 126 return fArray[index]; 130 SkTSwap(fArray, other.fArray); in swap() [all …]
|
/external/skia/bench/ |
D | ScalarBench.cpp | 56 init9(fArray); in FloatComparisonBench() 63 junk ^= (fArray[6] != 0.0f || fArray[7] != 0.0f || fArray[8] != 1.0f); in performTest() 64 junk ^= (fArray[2] != 0.0f || fArray[5] != 0.0f); in performTest() 67 float fArray[9]; member in FloatComparisonBench 75 init9(fArray); in ForcedIntComparisonBench() 82 junk ^= (SkScalarAs2sCompliment(fArray[6]) | in performTest() 83 SkScalarAs2sCompliment(fArray[7]) | in performTest() 84 (SkScalarAs2sCompliment(fArray[8]) - kPersp1Int)); in performTest() 85 junk ^= (SkScalarAs2sCompliment(fArray[2]) | in performTest() 86 SkScalarAs2sCompliment(fArray[5])); in performTest() [all …]
|
D | MatrixBench.cpp | 100 fArray[0] = (float) fRnd.nextS(); in GetTypeMatrixBench() 101 fArray[1] = (float) fRnd.nextS(); in GetTypeMatrixBench() 102 fArray[2] = (float) fRnd.nextS(); in GetTypeMatrixBench() 103 fArray[3] = (float) fRnd.nextS(); in GetTypeMatrixBench() 104 fArray[4] = (float) fRnd.nextS(); in GetTypeMatrixBench() 105 fArray[5] = (float) fRnd.nextS(); in GetTypeMatrixBench() 106 fArray[6] = (float) fRnd.nextS(); in GetTypeMatrixBench() 107 fArray[7] = (float) fRnd.nextS(); in GetTypeMatrixBench() 108 fArray[8] = (float) fRnd.nextS(); in GetTypeMatrixBench() 115 fMatrix.setAll(fArray[0], fArray[1], fArray[2], in performTest() [all …]
|
/external/skia/src/pipe/ |
D | SkRefSet.h | 16 ~SkRefSet() { fArray.unrefAll(); } in ~SkRefSet() 19 SkASSERT((unsigned)index < (unsigned)fArray.count()); in get() 20 return fArray[index]; in get() 24 if ((unsigned)index < (unsigned)fArray.count()) { in set() 25 SkRefCnt_SafeAssign(fArray[index], value); in set() 28 if (fArray.count() == index && value) { in set() 29 *fArray.append() = SkRef(value); in set() 32 SkDebugf("SkRefSet: index [%d] out of range %d\n", index, fArray.count()); in set() 37 SkTDArray<T*> fArray;
|
D | SkPipeCanvas.h | 23 void reset() { fArray.reset(); } in reset() 27 const Rec* stop = fArray.end(); in find() 28 for (const Rec* curr = fArray.begin(); curr < stop; ++curr) { in find() 38 Rec* rec = fArray.append(); in add() 50 SkTDArray<Rec> fArray; variable
|
/external/skia/samplecode/ |
D | SampleHT.cpp | 127 Rec fArray[N]; member in HTView 137 fArray[i].fDrawable = new HTDrawable(rand); in HTView() 138 canvas->drawDrawable(fArray[i].fDrawable); in HTView() 139 fArray[i].fDrawable->unref(); in HTView() 160 fArray[i].fDrawable->setTime(fTime); in onAnimate() 168 if (fArray[i].fDrawable->hitTest(x, y)) { in onFindClickHandler() 169 fArray[i].fDrawable->spawnAnimation(fTime); in onFindClickHandler()
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
D | BindingsVersioningTest.java | 39 struct.fArray = new byte[] {10, 9, 8}; in newStruct() 97 v5.fArray = new byte[] {10, 9, 8}; in testOldToNew() 102 expected.fArray = new byte[] {10, 9, 8}; in testOldToNew() 116 v7.fArray = new byte[] {10, 9, 8}; in testOldToNew() 125 expected.fArray = new byte[] {10, 9, 8}; in testOldToNew() 181 expected.fArray = new byte[] {10, 9, 8}; in testNewToOld() 194 expected.fArray = new byte[] {10, 9, 8}; in testNewToOld()
|
/external/skia/src/shaders/gradients/ |
D | SkLinearGradient.h | 15 float fArray[4]; member 18 return Sk4f::Load(fArray); in Sk4f() 22 src.store(fArray);
|
/external/icu/icu4c/source/common/ |
D | unistr.cpp | 123 umtx_atomic_inc((u_atomic_int32_t *)fUnion.fFields.fArray - 1); in addRef() 128 return umtx_atomic_dec((u_atomic_int32_t *)fUnion.fFields.fArray - 1); in removeRef() 133 return umtx_loadAcquire(*((u_atomic_int32_t *)fUnion.fFields.fArray - 1)); in refCount() 139 uprv_free((int32_t *)fUnion.fFields.fArray - 1); in releaseArray() 389 fUnion.fFields.fArray = (UChar *)array; in allocate() 396 fUnion.fFields.fArray = 0; in allocate() 532 fUnion.fFields.fArray = src.fUnion.fFields.fArray; in copyFrom() 542 fUnion.fFields.fArray = src.fUnion.fFields.fArray; in copyFrom() 567 fUnion.fFields.fArray = 0; in copyFrom() 596 fUnion.fFields.fArray = src.fUnion.fFields.fArray; in copyFieldsFrom() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | fmtable.cpp | 201 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count); in Formattable() 234 fValue.fArrayAndCount.fArray = createArrayCopy(source.fValue.fArrayAndCount.fArray, in operator =() 309 if (fValue.fArrayAndCount.fArray[i] != that.fValue.fArrayAndCount.fArray[i]) { in operator ==() 345 delete[] fValue.fArrayAndCount.fArray; in dispose() 594 fValue.fArrayAndCount.fArray = createArrayCopy(array, count); in setArray() 617 fValue.fArrayAndCount.fArray = array; in adoptArray() 685 return fValue.fArrayAndCount.fArray; in getArray()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | fmtable.h | 448 { count=fValue.fArrayAndCount.fCount; return fValue.fArrayAndCount.fArray; } in getArray() 469 Formattable& operator[](int32_t index) { return fValue.fArrayAndCount.fArray[index]; } 702 Formattable* fArray; member
|
/external/icu/icu4c/source/tools/gennorm2/ |
D | n2builder.cpp | 556 UChar32 charAt(int32_t i) const { return fArray[i]>>8; } in charAt() 557 uint8_t ccAt(int32_t i) const { return (uint8_t)fArray[i]; } in ccAt() 564 fArray[fLength++]=(c<<8)|cc; in append() 575 fArray[j]=fArray[j-1]; in append() 577 fArray[i]=(c<<8)|cc; in append() 588 fArray[fLastStarterIndex]=composite<<8; in setComposite() 592 fArray[combMarkIndex]=fArray[combMarkIndex+1]; in setComposite() 597 int32_t fArray[Normalizer2Impl::MAPPING_LENGTH_MASK]; member in BuilderReorderingBuffer
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 2236 : fArray(CTFontDescriptorCreateMatchingFontDescriptors(desc, nullptr)) in SkFontStyleSet_Mac() 2239 if (!fArray) { in SkFontStyleSet_Mac() 2240 fArray.reset(CFArrayCreate(nullptr, nullptr, 0, nullptr)); in SkFontStyleSet_Mac() 2242 fCount = SkToInt(CFArrayGetCount(fArray.get())); in SkFontStyleSet_Mac() 2251 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), index); in getStyle() 2263 SkASSERT((unsigned)index < (unsigned)CFArrayGetCount(fArray.get())); in createTypeface() 2264 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), index); in createTypeface() 2277 UniqueCFRef<CFArrayRef> fArray; member in SkFontStyleSet_Mac 2285 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), i); in findMatchingDesc()
|
D | SkFontHost_win.cpp | 2358 ::EnumFontFamiliesEx(hdc, &lf, enum_family_proc, (LPARAM)&fArray, 0); in SkFontStyleSetGDI() 2363 return fArray.count(); in count() 2368 *fs = get_style(fArray[index].elfLogFont); in getStyle() 2371 const ENUMLOGFONTEX& ref = fArray[index]; in getStyle() 2384 return SkCreateTypefaceFromLOGFONT(fArray[index].elfLogFont); in createTypeface() 2392 SkTDArray<ENUMLOGFONTEX> fArray; member in SkFontStyleSetGDI
|
/external/icu/icu4c/source/tools/genrb/ |
D | wrtjava.cpp | 393 len=itostr(buf,res->fArray[i],10,0); in intvector_write_java() 405 len=itostr(buf,res->fArray[i],10,0); in intvector_write_java()
|
D | reslist.cpp | 336 fCount(0), fArray(new uint32_t[RESLIST_MAX_INT_VECTOR]) { in IntVectorResource() 337 if (fArray == NULL) { in IntVectorResource() 344 delete[] fArray; in ~IntVectorResource() 349 fArray[fCount++] = value; in add() 764 udata_write32(mem, fArray[i]); in handleWrite()
|
D | reslist.h | 387 uint32_t *fArray; variable
|
/external/icu/icu4c/source/common/unicode/ |
D | unistr.h | 3702 UChar *fArray; // the Unicode data member 3758 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart() 3764 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart() 3829 return fUnion.fFields.fArray; in getBuffer() 4465 fUnion.fFields.fArray = array; in setArray()
|