| /third_party/skia/src/core/ |
| D | SkTDPQueue.h | 33 SkTDPQueue(int reserve) { fArray.setReserve(reserve); } in SkTDPQueue() 42 int count() const { return fArray.count(); } in count() 45 const T& peek() const { return fArray[0]; } in peek() 46 T& peek() { return fArray[0]; } in peek() 51 SkDEBUGCODE(if (SkToBool(INDEX)) { *INDEX(fArray[0]) = -1; }) in pop() 52 if (1 == fArray.count()) { in pop() 53 fArray.pop(); in pop() 57 fArray[0] = fArray[fArray.count() - 1]; in pop() 59 fArray.pop(); in pop() 68 int index = fArray.count(); in insert() [all …]
|
| D | SkPictureFlat.h | 183 SkTypefacePlayback() : fCount(0), fArray(nullptr) {} in SkTypefacePlayback() 192 return fArray[index]; 196 buffer.setTypefaceArray(fArray.get(), fCount); in setupBuffer() 201 std::unique_ptr<sk_sp<SkTypeface>[]> fArray; variable 206 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; } in SkFactoryPlayback() 208 ~SkFactoryPlayback() { delete[] fArray; } in ~SkFactoryPlayback() 210 SkFlattenable::Factory* base() const { return fArray; } in base() 213 buffer.setFactoryPlayback(fArray, fCount); in setupBuffer() 218 SkFlattenable::Factory* fArray; variable
|
| D | SkRecorder.h | 26 int count() const { return fArray.count(); } in count() 27 SkDrawable* const* begin() const { return fArray.begin(); } in begin() 35 SkTDArray<SkDrawable*> fArray;
|
| D | SkRegion.cpp | 836 , fArray(array) in RgnOper() 845 int stop = operate_on_span(a_runs, b_runs, fArray, start, fMin, fMax); in addSpan() 848 SkASSERT(SkRegion_kRunTypeSentinel == (*fArray)[stop - 1]); in addSpan() 851 SkASSERT(fArray->count() >= SkToInt(start + len - 1)); in addSpan() 853 (1 == len || !memcmp(&(*fArray)[fPrevDst], in addSpan() 854 &(*fArray)[start], in addSpan() 857 (*fArray)[fPrevDst - 2] = (SkRegionPriv::RunType)bottom; in addSpan() 862 (*fArray)[start - 2] = (SkRegionPriv::RunType)bottom; in addSpan() 863 (*fArray)[start - 1] = SkToS32(len >> 1); in addSpan() 871 (*fArray)[fStartDst] = fTop; in flush() [all …]
|
| /third_party/skia/include/private/ |
| D | SkTDArray.h | 29 SkTDArray() : fArray(nullptr), fReserve(0), fCount(0) {} in SkTDArray() 34 fArray = nullptr; in SkTDArray() 36 fArray = (T*)sk_malloc_throw(SkToSizeT(count) * sizeof(T)); in SkTDArray() 37 memcpy(fArray, src, sizeof(T) * SkToSizeT(count)); in SkTDArray() 42 SkTDArray(const SkTDArray<T>& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 43 SkTDArray<T> tmp(src.fArray, src.fCount); in SkTDArray() 46 SkTDArray(SkTDArray<T>&& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 50 sk_free(fArray); in ~SkTDArray() 56 SkTDArray<T> tmp(src.fArray, src.fCount); 59 sk_careful_memcpy(fArray, src.fArray, sizeof(T) * SkToSizeT(src.fCount)); [all …]
|
| D | SkTemplates.h | 88 fArray.reset(new T[count]); in SkAutoTArray() 93 SkAutoTArray(SkAutoTArray&& other) : fArray(std::move(other.fArray)) { in SkAutoTArray() 98 fArray = std::move(other.fArray); 110 T* get() const { return fArray.get(); } in get() 116 return fArray[index]; 120 const T* data() const { return fArray.get(); } in data() 121 T* data() { return fArray.get(); } in data() 124 std::unique_ptr<T[]> fArray; 139 fArray = nullptr; in SkAutoSTArray() 146 fArray = nullptr; in SkAutoSTArray() [all …]
|
| /third_party/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 …]
|
| /third_party/skia/experimental/xform/ |
| D | SkShape.h | 65 SkTDArray<Shape*> fArray; variable 81 fArray.unrefAll(); in ~GroupShape() 84 int count() const { return fArray.count(); } in count() 85 Shape* get(int index) const { return fArray[index]; } in get() 87 fArray[index] = s.release(); in set() 91 *fArray.append() = s.release(); in append() 94 *fArray.insert(index) = s.release(); in insert() 97 SkSafeUnref(fArray[index]); in remove() 98 fArray.remove(index); in remove()
|
| D | SkShape.cpp | 17 if (fArray.count() == 0) { in draw() 22 for (auto s : fArray) { in draw()
|
| /third_party/glslang/Test/ |
| D | structDeref.frag | 47 float[6] fArray; 54 fArray = float[6]( 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); 61 fArray = float[6]( 0.0, 1.0, 2.0, 3.0, 4.0, 5.0); 70 …gl_FragColor = (float(locals0.i) + locals1Array[6].f + fArray[3] + locals2.s1_1.f) * texture2D(sam…
|
| D | spv.structDeref.frag | 47 float[6] fArray; 54 fArray = float[6]( 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); 61 fArray = float[6]( 0.0, 1.0, 2.0, 3.0, 4.0, 5.0); 70 …gl_FragColor = (float(locals0.i) + locals1Array[6].f + fArray[3] + locals2.s1_1.f) * texture(samp2…
|
| /third_party/skia/src/gpu/effects/ |
| D | GrMatrixConvolutionEffect.h | 63 new (&fArray) std::array<float, kMaxUniformSize>(that.fArray); in KernelWrapper() 72 return fArray; in array() 89 std::array<float, kMaxUniformSize> fArray; member
|
| /third_party/skia/tests/ |
| D | SerialProcsTest.cpp | 107 SkTDArray<SkPicture*> fArray; member 116 *c->fArray.append() = pic; in array_serial_proc() 127 int index = c->fArray.find(pic); in array_deserial_proc() 129 c->fArray.removeShuffle(index); in array_deserial_proc() 143 REPORTER_ASSERT(reporter, ctx.fArray.count() == count); in test_pictures() 146 REPORTER_ASSERT(reporter, ctx.fArray.count() == 0); in test_pictures()
|
| /third_party/glslang/Test/baseResults/ |
| D | spv.structDeref.frag.out | 30 Name 40 "fArray" 117 40(fArray): 39(ptr) Variable Function 131 Store 40(fArray) 42 149 Store 40(fArray) 79 178 107: 30(ptr) AccessChain 40(fArray) 106
|
| /third_party/skia/src/ports/ |
| D | SkFontMgr_mac_ct.cpp | 302 : fArray(CTFontDescriptorCreateMatchingFontDescriptors(desc, nullptr)) in SkFontStyleSet_Mac() 305 if (!fArray) { in SkFontStyleSet_Mac() 306 fArray.reset(CFArrayCreate(nullptr, nullptr, 0, nullptr)); in SkFontStyleSet_Mac() 308 fCount = SkToInt(CFArrayGetCount(fArray.get())); in SkFontStyleSet_Mac() 317 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), index); in getStyle() 329 SkASSERT((unsigned)index < (unsigned)CFArrayGetCount(fArray.get())); in createTypeface() 330 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), index); in createTypeface() 343 SkUniqueCFRef<CFArrayRef> fArray; member in __anonc43a8c4a0211::SkFontStyleSet_Mac 351 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), i); in findMatchingDesc()
|
| /third_party/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 …]
|
| /third_party/skia/third_party/externals/icu/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() 388 fUnion.fFields.fArray = (UChar *)array; in allocate() 395 fUnion.fFields.fArray = 0; in allocate() 531 fUnion.fFields.fArray = src.fUnion.fFields.fArray; in copyFrom() 541 fUnion.fFields.fArray = src.fUnion.fFields.fArray; in copyFrom() 566 fUnion.fFields.fArray = 0; in copyFrom() 595 fUnion.fFields.fArray = src.fUnion.fFields.fArray; in copyFieldsFrom() [all …]
|
| /third_party/node/deps/icu-small/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 = (char16_t *)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 …]
|
| /third_party/icu/icu4c/source/i18n/ |
| D | fmtable.cpp | 203 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count); in Formattable() 236 fValue.fArrayAndCount.fArray = createArrayCopy(source.fValue.fArrayAndCount.fArray, in operator =() 311 if (fValue.fArrayAndCount.fArray[i] != that.fValue.fArrayAndCount.fArray[i]) { in operator ==() 347 delete[] fValue.fArrayAndCount.fArray; in dispose() 591 fValue.fArrayAndCount.fArray = createArrayCopy(array, count); in setArray() 614 fValue.fArrayAndCount.fArray = array; in adoptArray() 682 return fValue.fArrayAndCount.fArray; in getArray()
|
| /third_party/node/deps/icu-small/source/i18n/ |
| D | fmtable.cpp | 203 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count); in Formattable() 236 fValue.fArrayAndCount.fArray = createArrayCopy(source.fValue.fArrayAndCount.fArray, in operator =() 311 if (fValue.fArrayAndCount.fArray[i] != that.fValue.fArrayAndCount.fArray[i]) { in operator ==() 347 delete[] fValue.fArrayAndCount.fArray; in dispose() 591 fValue.fArrayAndCount.fArray = createArrayCopy(array, count); in setArray() 614 fValue.fArrayAndCount.fArray = array; in adoptArray() 682 return fValue.fArrayAndCount.fArray; in getArray()
|
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| D | fmtable.cpp | 203 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count); in Formattable() 236 fValue.fArrayAndCount.fArray = createArrayCopy(source.fValue.fArrayAndCount.fArray, in operator =() 311 if (fValue.fArrayAndCount.fArray[i] != that.fValue.fArrayAndCount.fArray[i]) { in operator ==() 347 delete[] fValue.fArrayAndCount.fArray; in dispose() 591 fValue.fArrayAndCount.fArray = createArrayCopy(array, count); in setArray() 614 fValue.fArrayAndCount.fArray = array; in adoptArray() 682 return fValue.fArrayAndCount.fArray; in getArray()
|
| /third_party/skia/third_party/externals/icu/source/tools/gennorm2/ |
| D | norms.h | 39 UChar32 charAt(int32_t i) const { return fArray[i]>>8; } in charAt() 40 uint8_t ccAt(int32_t i) const { return (uint8_t)fArray[i]; } in ccAt() 47 int32_t fArray[Normalizer2Impl::MAPPING_LENGTH_MASK];
|
| D | norms.cpp | 30 fArray[fLength++]=(c<<8)|cc; in append() 41 fArray[j]=fArray[j-1]; in append() 43 fArray[i]=(c<<8)|cc; in append()
|
| /third_party/icu/icu4c/source/tools/gennorm2/ |
| D | norms.h | 39 UChar32 charAt(int32_t i) const { return fArray[i]>>8; } in charAt() 40 uint8_t ccAt(int32_t i) const { return (uint8_t)fArray[i]; } in ccAt() 47 int32_t fArray[Normalizer2Impl::MAPPING_LENGTH_MASK];
|